*** catonano has quit IRC | 00:38 | |
*** tristan has quit IRC | 02:12 | |
*** Prince781 has joined #buildstream | 02:21 | |
*** catonano has joined #buildstream | 05:54 | |
*** mohan43u has quit IRC | 06:20 | |
*** abderrahim has quit IRC | 06:22 | |
*** abderrahim has joined #buildstream | 06:22 | |
*** catonano has quit IRC | 06:26 | |
*** Prince781 has quit IRC | 06:28 | |
*** mohan43u has joined #buildstream | 06:48 | |
*** bochecha has joined #buildstream | 07:07 | |
*** catonano has joined #buildstream | 07:16 | |
gitlab-br-bot | buildstream: merge request (willsalmon/outOfSourecBuild->master: Out of source builds) #776 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/776 | 08:20 |
---|---|---|
gitlab-br-bot | buildstream: merge request (willsalmon/outOfSourecBuild->master: Out of source builds) #776 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/776 | 08:21 |
*** tristan has joined #buildstream | 08:26 | |
*** ChanServ sets mode: +o tristan | 08:26 | |
*** toscalix has joined #buildstream | 08:40 | |
*** abderrahim has quit IRC | 08:55 | |
*** jonathanmaw has joined #buildstream | 08:55 | |
*** abderrahim has joined #buildstream | 08:57 | |
gitlab-br-bot | buildstream: merge request (aevri/contributing_fixups->master: Minor fixups to contributing.rst) #866 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/866 | 09:12 |
*** lachlan has joined #buildstream | 09:30 | |
*** rdale has joined #buildstream | 09:31 | |
gitlab-br-bot | buildstream: merge request (aevri/contributing_fixups->master: Minor fixups to contributing.rst) #866 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/866 | 09:36 |
*** abderrahim has quit IRC | 09:40 | |
gitlab-br-bot | buildstream: issue #700 ("Document how to cleanup the bst cache: locally and in the server side") changed state ("opened") https://gitlab.com/BuildStream/buildstream/issues/700 | 09:45 |
*** tristan has quit IRC | 09:50 | |
*** catonano has quit IRC | 09:52 | |
gitlab-br-bot | buildstream: merge request (lachlan/pickle-yaml-test-list-composite->master: WIP - Add YAM cache testing to yaml tests and further YAML cache refinements) #836 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/836 | 09:57 |
gitlab-br-bot | buildstream: issue #701 ("bst2html doc's") changed state ("opened") https://gitlab.com/BuildStream/buildstream/issues/701 | 10:00 |
gitlab-br-bot | buildstream: merge request (lachlan/pickle-yaml-test-list-composite->master: WIP - Add YAM cache testing to yaml tests and further YAML cache refinements) #836 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/836 | 10:00 |
*** alatiera_ has joined #buildstream | 10:02 | |
*** tristan has joined #buildstream | 11:00 | |
gitlab-br-bot | buildstream: merge request (lachlan/pickle-yaml-test-list-composite->master: WIP - Add YAM cache testing to yaml tests and further YAML cache refinements) #836 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/836 | 11:05 |
*** dtf has joined #buildstream | 11:24 | |
*** mohan43u has quit IRC | 11:29 | |
*** mohan43u has joined #buildstream | 11:44 | |
*** lachlan has quit IRC | 11:48 | |
*** lachlan has joined #buildstream | 11:53 | |
*** dtf has joined #buildstream | 11:57 | |
*** lachlan has quit IRC | 12:03 | |
Nexus | I'm having some issues finding an answer for one of the fixes i'm attempting. It seems like, if the cascache manages to reach a server during a request, but never gets back a response, it hangs forever. Does anyone have an idea of how i can add a timeout to it? | 12:28 |
Nexus | code in question is buildstream/_artifactcache/cascache.py +1129 | 12:28 |
Nexus | `remote_execution_pb2_grpc.CapabilitiesStub(self.channel).GetCapabilities(request)` | 12:29 |
skullman | https://grpc.io/blog/deadlines suggests there should be a method for setting a deadline | 12:31 |
* skullman would grep the API to see if there's anything with deadline in the name | 12:32 | |
Nexus | not that i could find | 12:33 |
*** ChanServ sets mode: +o tristan | 12:34 | |
tristan | It might be that it needs to be implemented with the protobufs and that | 12:34 |
Nexus | protobufs? | 12:35 |
tristan | if I understand correctly, remote_execution_pb2_grpc is generated code right ? | 12:35 |
tristan | And the server and local cas needs to support (implement) all of the APIs | 12:35 |
tristan | https://docs.buildstream.build/CONTRIBUTING.html#protocol-buffers | 12:36 |
tristan | Nexus, I'm not familiar yet with this area, but I believe that any aspect of the protocol needs to be implemented by us, at least if we intend to use it | 12:37 |
Nexus | i know about as much about this area as you do tbh, i'm just seeing what i can find that mightdo wat i think needs to be done | 12:38 |
tristan | Aha, I think https://grpc.io/blog/deadlines is not part of the CAS protocol by looking at that blog | 12:40 |
Nexus | is juergbi around? I think he wrote this bit | 12:41 |
phildawson | Nexus, I suspect he'll be busy with bazelcon | 12:41 |
Nexus | darn | 12:42 |
phildawson | Though you never know, it's possible he'll turn up at some point. | 12:42 |
tristan | Nexus, google says https://stackoverflow.com/questions/43869397/how-do-you-set-a-timeout-in-pythons-grpc-library | 12:52 |
skullman | aw, the hooks in the exception API for the purposes of testing don't retain the task exception object | 12:53 |
Nexus | yeah i foudn that one, i've been trying to translate it to our usecase but i'm not sure how | 12:53 |
tristan | skullman, In which case ? | 12:54 |
tristan | Ohh the object | 12:54 |
tristan | skullman, correct; we don't, because we never serialize complex objects (especially exceptions) through the IPC | 12:54 |
skullman | ok, was looking to use it to see what exit code the element that failed was, I'll look for a better interface to do that | 12:55 |
skullman | it'll probably be in result.stderr, but that's a bit flaky | 12:56 |
* skullman will look at the message output formatting | 12:56 | |
tristan | Ah... that is also clouded by another issue | 13:04 |
tristan | sec | 13:05 |
tristan | https://gitlab.com/BuildStream/buildstream/issues/286 | 13:05 |
skullman | that's the issue I'm working on | 13:06 |
tristan | I see that you commented there yeah :) | 13:06 |
skullman | I can distinguish the error code in my current version, I'm just trying to find a good way to check what it actually said. `assert "exitcode 42" in result.stderr` is what I've currently got | 13:07 |
tristan | I see, but that will also require a newer version of bwrap correct ? | 13:07 |
tristan | I guess we need a HAVE_BWRAP_WITH_EXITSTATUS or such in tests/testutils/site.py to conditionally run the test | 13:08 |
skullman | could probably make it more robust by changing the log format to "%{element}|%{message}" and check for "sandbox-bwrap/command-exit-42.bst|Command 'exit 42' failed with exitcode 42" | 13:08 |
skullman | tristan: yeah, that's what I'm doing. | 13:08 |
skullman | though it's called HAVE_BWRAP_JSON_STATUS since it's named after the new bwrap interface rather than the information provided by it | 13:09 |
jennis | Kinnison, so in addition to 'resolving elements', we also have 'resolving cached state' | 13:14 |
*** lachlan has joined #buildstream | 13:14 | |
*** bochecha has quit IRC | 13:15 | |
*** catonano has joined #buildstream | 13:23 | |
Kinnison | jennis: yeah, I'm looking through where it might be called | 13:27 |
tristan | skullman, nod - anyway I think it is not worth extending the testing framework since we probably dont need to assert exit status of sandbox commands in any other case | 13:35 |
*** lachlan has quit IRC | 13:45 | |
*** lachlan has joined #buildstream | 13:53 | |
*** tristan has quit IRC | 14:46 | |
skullman | :/ I'm currently checking for whether json-status-fd is supported by a version check, for consistency with how the rest of bwrap features are checked for, but that'll have to wait until the bubblewrap code is merged | 15:03 |
*** Prince781 has joined #buildstream | 15:06 | |
*** Prince781 has quit IRC | 15:29 | |
gitlab-br-bot | buildstream: issue #702 ("Make `bst init` take an argument") changed state ("opened") https://gitlab.com/BuildStream/buildstream/issues/702 | 15:48 |
gitlab-br-bot | buildstream: merge request (cascache_timeouts->master: Adding timeout and retries to cascache) #867 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/867 | 15:52 |
gitlab-br-bot | buildstream: merge request (cascache_timeouts->master: WIP: Adding timeout and retries to cascache) #867 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/867 | 15:52 |
gitlab-br-bot | buildstream: merge request (willsalmon/outOfSourecBuild->master: Out of source builds) #776 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/776 | 15:56 |
gitlab-br-bot | buildstream: merge request (cascache_timeouts->master: WIP: Adding timeout and retries to cascache) #867 changed state ("closed"): https://gitlab.com/BuildStream/buildstream/merge_requests/867 | 16:16 |
*** catonano has quit IRC | 16:18 | |
gitlab-br-bot | buildstream: merge request (richardmaw/distinguish-sandboxing-build-fail->master: WIP: Distinguish between bubblewrap sandboxing failure and command failure) #868 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/868 | 16:25 |
*** lachlan has quit IRC | 16:46 | |
*** lachlan has joined #buildstream | 16:47 | |
*** lachlan has quit IRC | 16:55 | |
*** lachlan has joined #buildstream | 16:59 | |
*** jonathanmaw has quit IRC | 17:01 | |
*** bochecha has joined #buildstream | 17:02 | |
*** lachlan has quit IRC | 17:03 | |
*** alatiera_ has quit IRC | 17:05 | |
*** tristan has joined #buildstream | 17:10 | |
*** tristan has quit IRC | 17:11 | |
*** lachlan has joined #buildstream | 17:12 | |
*** tristan has joined #buildstream | 17:13 | |
*** xjuan has joined #buildstream | 17:42 | |
*** xjuan has quit IRC | 17:43 | |
*** xjuan has joined #buildstream | 17:53 | |
*** ChanServ sets mode: +o tristan | 17:59 | |
*** tristan changes topic to "BuildStream 1.2.3 is out ! | https://gitlab.com/BuildStream/buildstream | Docs: https://buildstream.gitlab.io/buildstream | IRC logs: https://irclogs.baserock.org/buildstream | Mailing List: https://mail.gnome.org/mailman/listinfo/buildstream-list | Roadmap: https://wiki.gnome.org/Projects/BuildStream/Road" | 17:59 | |
*** abderrahim has joined #buildstream | 18:20 | |
*** toscalix has quit IRC | 18:22 | |
*** catonano has joined #buildstream | 18:34 | |
*** tristan has quit IRC | 18:41 | |
*** tristan has joined #buildstream | 18:42 | |
*** Prince781 has joined #buildstream | 19:28 | |
*** Prince781 has quit IRC | 19:31 | |
*** Prince781 has joined #buildstream | 19:34 | |
*** catonano has quit IRC | 20:17 | |
*** Prince781 has quit IRC | 20:33 | |
*** Prince781 has joined #buildstream | 20:39 | |
*** catonano has joined #buildstream | 20:55 | |
*** Prince781 has quit IRC | 21:55 | |
*** bochecha has quit IRC | 22:09 | |
*** xjuan has quit IRC | 22:16 | |
*** xjuan has joined #buildstream | 22:38 | |
*** catonano has quit IRC | 22:48 | |
*** tristan has quit IRC | 23:00 | |
*** Prince781 has joined #buildstream | 23:02 | |
*** rdale has quit IRC | 23:21 | |
*** Prince781 has quit IRC | 23:34 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!