IRC logs for #buildstream for Tuesday, 2019-11-26

*** slaf has joined #buildstream00:04
*** slaf has joined #buildstream00:06
*** slaf has joined #buildstream00:08
*** dylan-m_ has quit IRC00:59
*** dylan-m_ has joined #buildstream02:32
*** dylan-m_ has quit IRC02:37
*** misterwhatever has quit IRC02:45
*** kapip has joined #buildstream02:53
*** dylan-m_ has joined #buildstream04:53
*** dylan-m_ has quit IRC05:08
*** traveltissues has joined #buildstream08:50
*** rdale has joined #buildstream09:01
coldtomanyone seen push errors like this before? the remote is a bst-artifact-server https://gitlab.com/celduin/burn-sdk/-/jobs/36071584609:05
coldtomit's consistently those artifacts that have trouble too09:08
KinnisonDo you have anything visible in logs on the server?09:13
coldtomafaict there aren't any logs for that job....09:17
*** bochecha has joined #buildstream09:18
KinnisonA brief googling points the finger for "Unexpected error in RPC handling" at potentially bad error handling server-side09:19
benschubertare the server and client on the same version?09:24
coldtomboth are using master, but i doubt it's the same commit /o\09:25
coldtomthat could be it, i'll try and run with the same bst version09:26
KinnisonAlso check that buildbox-casd is consistent09:28
benschubertand do you have a proxy between both? (Like nginx on the server machine?)09:28
coldtomi think that the client is talking directly to bst-artifact-server running inside of docker09:30
KinnisonSo your build system has a server and the client in the same docker instance?09:31
coldtomthe server has a bst-artifact-server running inside docker, the client is on an entirely different machine, sorry, i should have been clearer there09:33
*** SotK has quit IRC09:35
benschubertOk, then it's probably not somet4hing due to the size of requests, I had this error for that some times ago09:35
gitlab-br-botjuergbi opened issue #1218 (Source files are read-only hard links with buildbox-run) on buildstream https://gitlab.com/BuildStream/buildstream/issues/121809:36
*** SotK has joined #buildstream09:46
KinnisonIs there a page/repo/wiki/whatever which carries the project's official images and rights of re-use etc?10:00
benschubertIs marge having problems again: https://gitlab.com/BuildStream/buildstream/merge_requests/1733#note_250442070 ?10:04
Kinnisongitlab itself is being super-slow for me today10:05
Kinnisoncould it be related?10:05
benschubertthat could yes10:05
gitlab-br-bottraveltissues opened issue #1219 (SAST not detecting correct analyzer) on buildstream https://gitlab.com/BuildStream/buildstream/issues/121910:11
*** jonathanmaw has joined #buildstream10:15
benschubertjuergbi: tlater[m] : is there a reason the sourcecache is on the element and not the source?10:20
coldtomhmm so using the same commit of bst doesn't help me, and i'm *fairly* sure that i'm using the same version of buildbox-casd10:20
benschubertcoldtom: can you reproduce locally? like spin up a docker locally and try it?10:21
juergbibenschubert: for elements with multiple sources, the combined source is (also) cached10:22
benschubertI see, thanks, that will complexify refactoring all of this, oh well :)10:22
*** narispo has quit IRC10:24
*** narispo has joined #buildstream10:24
benschubertjuergbi: also, '_source_cached' on element is specifically about sources being in the source cache right?10:24
juergbiyes10:28
*** lachlan has joined #buildstream10:32
gitlab-br-bottraveltissues opened (was WIP) MR !1734 (traveltissues/tmp->master: .gitlab-ci.yml: define repo language as python) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/173410:33
gitlab-br-botBenjaminSchubert approved MR !1734 (traveltissues/tmp->master: .gitlab-ci.yml: define repo language as python) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/173410:34
benschubertShould we start merging manually since nothing is working?10:48
traveltissueswhat's wrong with marge?10:50
*** akvilebirgelyte__ has quit IRC10:51
benschubertgitlab is timing out on the API10:51
benschubertso marge is just giving us back an error10:51
traveltissuesright10:53
traveltissuesmerging is fine by me in this case10:53
*** lachlan has quit IRC10:55
benschubertOk, I'll merge mine and then feel free to do yours :)10:55
gitlab-br-botBenjaminSchubert merged MR !1733 (bschubert/track-cleanup->master: _stream.py: Remove dead code and comments about tracking) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/173310:55
*** lachlan has joined #buildstream10:59
*** cs-shadow has joined #buildstream11:01
traveltissuesthe windows runner is down11:02
*** lachlan has quit IRC11:14
traveltissuesshould be unstuck now11:14
*** lachlan has joined #buildstream11:23
*** phildawson_ has joined #buildstream11:30
*** phildawson has quit IRC11:32
*** lachlan has quit IRC11:35
coldtomaha, reproduced locally, but only using an old docker image for the artifact server11:38
coldtomi think an update should do it11:38
gitlab-br-bottraveltissues closed issue #1219 (SAST not detecting correct analyzer) on buildstream https://gitlab.com/BuildStream/buildstream/issues/121911:39
gitlab-br-bottraveltissues merged MR !1734 (traveltissues/tmp->master: .gitlab-ci.yml: define repo language as python) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/173411:39
*** lachlan has joined #buildstream11:45
*** lachlan has quit IRC11:51
*** lachlan has joined #buildstream11:53
*** phildawson_ has quit IRC11:54
*** lachlan has quit IRC12:00
*** phildawson_ has joined #buildstream12:02
*** phildawson_ has quit IRC12:04
*** phildawson_ has joined #buildstream12:04
tlater[m]> FAILURE hello-junction.bst:hello.bst: tar source at hello-junction.bst:hello.bst [line 16 column 2]: Error mirroring https://ftpmirror.gnu.org/gnu/automake/automake-1.16.1.tar.gz: <urlopen error [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:720)>12:08
* tlater[m] wonders what's going on with ftpmirror.gnu.org12:08
tlater[m]I can happily download locally12:10
juergbimaybe at least one mirror is still flaky and handshake failure is sporadic?12:10
*** lachlan has joined #buildstream12:14
coldtom...well updating the server got me a different error message, so that's progress12:34
juergbicoldtom: a useful error message?12:36
coldtomit's just the number 1312:37
Kinnisonsomniloquy% errno 1312:37
KinnisonEACCES 13 Permission denied12:37
KinnisonMaybe something wrong with where the cas is vs. what user it's running as?12:37
*** lachlan has quit IRC12:52
coldtomhttps://paste.gnome.org/pxotjzssw server logs suggest there's a digest mismatch?12:53
Kinnison611 megs vs 268 megs12:56
Kinnisonthose are some big files12:56
KinnisonI wonder if the stream dies midway12:56
coldtomi'm pushing an artifact of openjdk which would explain the large files12:56
* coldtom wonders if it is related to artifact size12:57
coldtomi think the problem in the failed pipeline was gcc, which i suspect also has some big files12:58
juergbiit seems individual blobs are fairly large: 611.7 MB12:59
juergbinot just the whole artifact12:59
juergbiand only 268.4 MB are processed13:00
Kinnisoncoldtom: OOI does that container have enough disk space?13:00
Kinnisoncoldtom: in /data/tmp13:00
coldtom /data should be big enough (300G, so i'd hope so), and i think /data/tmp is just a directory13:04
*** phildawson_ has quit IRC13:06
*** phildawson_ has joined #buildstream13:06
juergbicoldtom: have you also checked the currently available disk space? expiry/cleanup might be triggered too late with large files13:10
coldtomthere's 298G free13:11
juergbias this is the server side, https://gitlab.com/BuildStream/buildstream/merge_requests/1645 probably affects the behavior13:11
coldtomthe failure seems to happen on multiples of megabytes if that helps13:11
*** lachlan has joined #buildstream13:12
juergbihm, the failing size is exactly 0x1000000013:12
juergbisuspicious13:12
*** phildawson_ has quit IRC13:13
coldtomthere are other failures at 64M and 128M13:13
juergbitlater[m]: as you've been working on the server side, maybe you could look into this issue?13:14
juergbiit might even already be fixed by your branch, but trying to reproduce this with master and a large file would be good13:15
tlater[m]juergbi/coldtom: I'll take a look13:16
juergbita13:16
*** lachlan has quit IRC13:19
coldtomi can't seem to reproduce on my host machine (although i'm using http not https)13:27
* coldtom will try locally with https after lunch13:28
benschubertcoldtom: how much ram?13:31
benschubertI used to be able to push files >40Go/file13:31
*** phildawson_ has joined #buildstream14:05
coldtomahh, server has 1G of ram14:07
coldtomthat could be the issue14:07
juergbicoldtom: it might indeed. we fixed a few issues with excessive memory consumption but it's possible that we still require more RAM than we should for large files14:09
tlater[m]Would explain the failing size being exactly 1G :D14:10
juergbimight be memory allocation failures that we don't handle well at all14:11
juergbimight be more an issue on the casd side than buildstream14:12
tlater[m]coldtom: Can you reproduce it if you set a memory limit on the artifact server process?14:13
tlater[m]Locally, that is14:13
tlater[m](since you apparently already have everything in place to test :))14:14
*** lachlan has joined #buildstream14:35
*** lachlan has quit IRC14:41
tlater[m]juergbi: Hm, it looks like the request we get from old clients contains only a key, which we can't forward as a digest, because we don't have the size_bytes14:49
tlater[m]Any idea how to convert between a key and a digest when we potentially don't have the proto locally, in the case of GetReference?14:50
juergbitlater[m]: hm, didn't we store the whole digest in the old format?14:50
juergbiin what method/line do you see an issue?14:51
tlater[m]We probably stored it in the old format, but the old client doesn't use the full digest when talking to GetReference14:51
tlater[m]One sec14:51
tlater[m]juergbi: In this instance request.key is just a key, without the size_bytes: https://gitlab.com/BuildStream/buildstream/blob/master/src/buildstream/_cas/casserver.py#L40514:52
tlater[m]Ah, I see, we used to resolve_ref there14:52
tlater[m]I suppose we still need to do that, can't get around it with FetchTree14:52
juergbithat's the buildstream cache key, that never has a size14:53
juergbiright, resolve_ref is still needed14:53
tlater[m]Oh o\14:53
* tlater[m] thought that would be an artifact digest, but of course it isn't14:54
tlater[m]Yeah, shame14:54
valentindI suppose the monthly IRC team meeting for buildstream  is not a thing anymore.15:01
coldtomwould you like me to raise an issue for the server-side issues i've been having? if so, in buildstream or buildbox-casd?15:04
*** lachlan has joined #buildstream15:05
*** akvilebirgelyte__ has joined #buildstream15:08
tlater[m]coldtom: On buildstream is probably more appropriate, given that we don't actually *know* whether it's a memory issue.15:09
tlater[m](Nor where it really occurs)15:09
gitlab-br-botcs-shadow opened (was WIP) MR !1700 (chandan/refactor-default-target->master: tests/frontend: Refactor tests for default targets) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/170015:13
Kinnisonvalentind: I imagine that if people had things to discuss and were prepared to organise a meeting, then others would attend15:14
traveltissuesanymore on !1682?15:15
gitlab-br-botMR !1682: Support RE workspaces (non-incremental) https://gitlab.com/BuildStream/buildstream/merge_requests/168215:15
gitlab-br-bottraveltissues merged MR !1721 (traveltissues/incrementaltest->master: Enable the incremental workspace test in integration) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/172115:15
*** lachlan has quit IRC15:16
coldtomgiving the server more ram fixed the issue15:19
gitlab-br-bottraveltissues opened issue #1220 (Review results of bandit on master) on buildstream https://gitlab.com/BuildStream/buildstream/issues/122015:19
KinnisonOh dear15:19
Kinnisonstreaming is, in part, meant to solve that kind of thing15:19
* coldtom gets that pipeline going again, and hopes he doesn't need to make the server even bigger15:20
tlater[m]benschubert: Any final comments on !1645?15:22
gitlab-br-botMR !1645: Refactor casserver.py: Stop relying on the buildstream-internal `CASCache` implementation https://gitlab.com/BuildStream/buildstream/merge_requests/164515:22
gitlab-br-bottraveltissues approved MR !1700 (chandan/refactor-default-target->master: tests/frontend: Refactor tests for default targets) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/170015:30
benschuberttraveltissues: let me have a look :)15:35
benschubertoups I mean tlater[m] sorry15:36
benschubert Code quality improved on 13 points and degraded on 3 points  that's pretty sweet!15:37
benschuberttlater[m]: any benchmarks run?15:39
tlater[m]benschubert: No, but I doubt we have any benchmarks that actually cover the artifact server15:40
benschubertfair :)15:40
* tlater[m] doesn't expect performance to change much anyway, this just removes a layer of indirection :)15:41
gitlab-br-botcoldtom opened issue #1221 (bst-artifact-server fails on blobs that are "too large") on buildstream https://gitlab.com/BuildStream/buildstream/issues/122115:49
gitlab-br-botcoldtom opened issue #1222 (Frequent failures  with"timeout waiting for buildbox-casd") on buildstream https://gitlab.com/BuildStream/buildstream/issues/122215:49
*** lachlan has joined #buildstream15:50
benschuberttlater[m]: first round, let me know once you have addressed/answered and i'll give a second round :)16:02
*** lachlan has quit IRC16:04
tlater[m]benschubert: Will do - a couple of those are on moved code, but I suppose I might as well patch that up.16:06
*** lachlan has joined #buildstream16:13
benschubertah sorry, didn't realize. Well as you wish :)16:14
* tlater[m] wishes magit forge was usable on large repositories16:26
tlater[m]It'd be so convenient to see people's comments in my editor...16:26
tlater[m]Or well, maybe my wish is that gitlab's API for these things was nearly as fast as github's16:27
*** bochecha has quit IRC16:30
gitlab-br-bottraveltissues closed issue #1213 (Compose elements cannot run integration commands) on buildstream https://gitlab.com/BuildStream/buildstream/issues/121316:35
gitlab-br-bottraveltissues merged MR !1722 (valentindavid/compose-integration-commands->master: compose: Allow compose elements to run integration commands) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/172216:35
*** narispo has quit IRC16:44
*** phildawson has joined #buildstream17:31
*** phildawson_ has quit IRC17:32
*** traveltissues has quit IRC17:40
*** jonathanmaw has quit IRC18:04
*** lachlan has quit IRC18:06
gitlab-br-botcs-shadow opened (was WIP) MR !1716 (chandan/glossary->master: doc: Add glossary of common terms) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/171618:54
*** rdale has quit IRC19:02
gitlab-br-botcs-shadow opened MR !1735 (chandan/hacking/drop-line-length->master: doc/coding_guidelines: Drop section about line lengths) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/173519:15
*** phildawson has quit IRC19:23
*** bochecha has joined #buildstream21:45
*** bochecha has joined #buildstream21:56
*** kapip has quit IRC22:02

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!