*** locallycompact has joined #baserock | 06:09 | |
*** locallycompact has quit IRC | 06:12 | |
*** locallycompact has joined #baserock | 06:13 | |
*** locallycompact has quit IRC | 06:14 | |
*** rdale has joined #baserock | 07:41 | |
*** jonathanmaw has joined #baserock | 07:51 | |
*** jonathanmaw has quit IRC | 08:03 | |
*** jonathanmaw has joined #baserock | 08:04 | |
*** gtristan has joined #baserock | 08:04 | |
*** toscalix has joined #baserock | 08:09 | |
*** bruce has joined #baserock | 08:12 | |
*** bruce is now known as Guest55254 | 08:12 | |
*** Guest55254 has quit IRC | 08:14 | |
*** ctbruce has joined #baserock | 08:14 | |
benbrown_ | ironfoot: :) | 08:20 |
---|---|---|
ironfoot | hm... I'm curious about this failure: https://gitlab.com/baserock/definitions/-/jobs/22399284 | 08:44 |
ironfoot | caused by $TARGET being now $(gcc -dumpmachine), and not working for core/libffi | 08:45 |
*** ssam2 has joined #baserock | 09:13 | |
*** ChanServ sets mode: +v ssam2 | 09:13 | |
gitlab-br-bot | infrastructure: merge request (sam/cleanup->master: Clean up some unused infrastructure definitions) #4 changed state ("closed"): https://gitlab.com/baserock/infrastructure/merge_requests/4 | 09:22 |
gitlab-br-bot | definitions: merge request (tristan/bst_colors->jjardon/bst_test: .gitlab-ci.yml: Enable colors on the CI) #45 changed state ("opened"): https://gitlab.com/baserock/definitions/merge_requests/45 | 09:27 |
gtristan | jjardon, because I find it so obnoxious... https://gitlab.com/baserock/definitions/merge_requests/45 :) | 09:27 |
ssam2 | it's pretty annoying that the CI takes 4 1/2 minutes pulling the Docker image | 09:30 |
ssam2 | I got really excited about my build possibly working for the first time and then it failed because I spelled '--colours' with a u | 09:30 |
benbrown_ | :D | 09:34 |
ironfoot | tsk! | 09:35 |
paulsher1ood | lol | 09:48 |
ironfoot | I've noticed that gitlab workers install packages needed very very very quick | 09:49 |
ironfoot | they might some caching in place for them, so that you don't endup downloading them all the time | 09:50 |
ssam2 | is there a way to embed config file snippets in .gitlab-ci.yml ? my initial attempt has failed spectacularly | 09:51 |
ssam2 | https://gitlab.com/baserock/definitions/-/jobs/22480040 | 09:51 |
ssam2 | that's the result of https://gitlab.com/baserock/definitions/blob/81f8edacfddf595101b158bc2da37e6a9f1dc584/.gitlab-ci.yml#L40 | 09:51 |
ironfoot | .... "echo"... ??!?!?! | 09:54 |
ssam2 | yeah wtf | 09:54 |
ssam2 | I guess I could try echoing each line of my config individually | 09:54 |
ironfoot | yeah, that could work, but this error is... | 09:55 |
ironfoot | wow | 09:55 |
ssam2 | but finally... a build on gitlab CI using the artifact cache ! https://gitlab.com/baserock/definitions/-/jobs/22481024 | 10:02 |
gtristan | https://gitlab.com/baserock/definitions/-/jobs/22478435 ... looks like the cache needs to be setup | 10:03 |
gtristan | unless you want to download all the sources every time | 10:03 |
gtristan | but that's just a fork of jjardon's test so probably unfinished, anyway we setup a source cache for buildstream's CI | 10:04 |
ssam2 | jjardon's and my work is separate so far | 10:05 |
gtristan | yeah | 10:05 |
ssam2 | local caching is apparently difficult to do with the way the current runners are set up | 10:05 |
ssam2 | yeah it sucks that we have to download sources each time | 10:05 |
ssam2 | but I think we have to set up an S3 bucket or something if we want those runners to have a cache | 10:06 |
gtristan | ssam2, you also need the cache :) | 10:06 |
gtristan | ssam2, look at buildstream-tests repo for some prior art, I dont personally know how it works, tlater would | 10:06 |
ssam2 | those use the default gitlab-ci runners, which can have a cache easily | 10:06 |
ssam2 | the Baserock runners are transient on-demand thingies and so it's much harder | 10:06 |
ssam2 | that's my understanding of the problem | 10:07 |
ssam2 | but the default runners are slow, that's why we don't use them | 10:07 |
gtristan | right | 10:07 |
jjardon | ssam2: you are rigth | 10:07 |
jjardon | we need https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/blob/master/docs/install/autoscaling.md#install-the-cache-server or similar | 10:08 |
jjardon | ssam2: I hope we are not duplicating work here? | 10:08 |
ssam2 | jjardon: me too :-) | 10:09 |
jjardon | I'm basically try to fo the first point from https://gitlab.com/baserock/definitions/issues/11 | 10:09 |
ssam2 | right | 10:09 |
jjardon | so having a pipeline that convert to buildstream a and build the same in ybd and bst | 10:10 |
ssam2 | I'll leave you to it :-) | 10:10 |
ssam2 | i just need a local conversion of things for now, which I already have | 10:10 |
ssam2 | i'm going to clean it up a bit and document it | 10:10 |
jjardon | ah, ok; different then :) | 10:11 |
ssam2 | but we will hit the same issues, so be sure to keep an eye on my branch | 10:11 |
jjardon | I will try to cherry pick from your branch so maybe I can fix the problem Im currently hitting with libffi | 10:11 |
jjardon | sure, thanks | 10:11 |
ssam2 | you can start using the cache server too | 10:12 |
ssam2 | the only catch is you have to be on a protected branch to be able to access the ssh private key | 10:13 |
jjardon | gtristan: you know I will not be able to merge that branch, rigth? :) | 10:13 |
jjardon | I will cherry pick instead, thanks for the patch! | 10:13 |
gtristan | jjardon, I dont know that you will not be able to merge it, actually | 10:14 |
gtristan | jjardon, but do how you like :) | 10:14 |
jjardon | gtristan: its a dev branch: it doesnt even compile now, so the CI will not pass | 10:14 |
gtristan | jjardon, how does CI not passing prevent you from merging ? | 10:15 |
jjardon | Its how the project is configured | 10:16 |
gtristan | in any case, cherry pick, or whichever :) | 10:16 |
jjardon | CI needs to pass | 10:16 |
gtristan | oh, you mean if you like to use fancy buttons on a web page | 10:16 |
gtristan | that is another story | 10:16 |
jjardon | gtristan: you used the fancy UI for your MR | 10:17 |
SotK | gating on CI passing is the most sensible way to configure a project :) | 10:17 |
jjardon | no one can push to master though, It has to go through the MR process | 10:18 |
gitlab-br-bot | definitions: merge request (tristan/bst_colors->jjardon/bst_test: .gitlab-ci.yml: Enable colors on the CI) #45 changed state ("closed"): https://gitlab.com/baserock/definitions/merge_requests/45 | 10:18 |
*** locallycompact has joined #baserock | 10:21 | |
*** locallycompact has quit IRC | 10:27 | |
*** locallycompact has joined #baserock | 10:28 | |
ssam2 | it does seem like baserock.org infra has just died | 10:30 |
ssam2 | I can't ping naything | 10:30 |
ssam2 | http://status.datacentred.io/ suggests no issues though | 10:32 |
ssam2 | ok, the frontend machine was turned off | 10:34 |
ssam2 | wtf | 10:34 |
ironfoot | I think VMs have a log for that | 10:34 |
ssam2 | req-830de377-d9a9-49c9-a23f-3ef8597667eb Stop July 14, 2017, 3:08 a.m. - | 10:34 |
ssam2 | indeed it does, but there's not much useful info :-) | 10:34 |
ironfoot | there is an user id | 10:35 |
ssam2 | there is for other entries, but not for this one | 10:35 |
ironfoot | ah no | 10:35 |
ironfoot | then, it wasn't done clicking horizon buttons | 10:36 |
ironfoot | but something like a `poweroff` in the vm itself | 10:36 |
ironfoot | at 04:08 .. :S | 10:37 |
ssam2 | yeah | 10:37 |
* ironfoot goes to see the journal | 10:38 | |
ssam2 | all I see is `dnf makecache` | 10:39 |
ssam2 | maybe that ruined things for us | 10:39 |
ssam2 | i don't get why it won't respond to ping anymore either ... | 10:41 |
ironfoot | "ping" needed some extra rules, I don't know if the firewall has them in place | 10:42 |
ssam2 | i just checked, it does | 10:42 |
ironfoot | odd :S | 10:43 |
jjardon | ssam2: only curious, where did you setup the cache server? digitalocean? | 10:53 |
ssam2 | datacentred | 10:54 |
paulsher1ood | benbrown_: https://gitlab.com/baserock/ybd/pipelines/9820997 ? | 10:58 |
benbrown_ | one for jjardon I think | 10:59 |
benbrown_ | all report lack of disk space | 10:59 |
benbrown_ | nothing to do with the changes merged | 11:01 |
gitlab-br-bot | ybd: merge request (jjardon/cache_location->master: .gitlab-ci.yml: Use /cache to put all contents) #373 changed state ("opened"): https://gitlab.com/baserock/ybd/merge_requests/373 | 11:02 |
jjardon | benbrown_: that should fix it | 11:03 |
ssam2 | is there a browser that can view long logs on gitlab CI without requiring 100% CPU ? | 11:04 |
ssam2 | firefox is definitely not that browser | 11:04 |
benbrown_ | jjardon: fix formatting of description please :) | 11:04 |
ssam2 | and I can't find a way to view the logs without JavaScript | 11:04 |
benbrown_ | chromium seems to manage ok | 11:04 |
jjardon | sorry, done | 11:05 |
gitlab-br-bot | ybd: merge request (jjardon/cache_location->master: .gitlab-ci.yml: Use /cache to put all contents) #373 changed state ("opened"): https://gitlab.com/baserock/ybd/merge_requests/373 | 11:05 |
ssam2 | oh yeah actually Epiphany is doing ok too | 11:06 |
ssam2 | i wish firefox would stop being rubbish at everything :/ | 11:06 |
gitlab-br-bot | ybd: merge request (jjardon/cache_location->master: .gitlab-ci.yml: Use /cache to put all contents) #373 changed state ("merged"): https://gitlab.com/baserock/ybd/merge_requests/373 | 11:34 |
ironfoot | ssam2: there are 3 buttons at the top of each job, one of them is to see the raw output without javascript | 11:36 |
ironfoot | for example: https://gitlab.com/baserock/ybd/-/jobs/22493647/raw | 11:36 |
ssam2 | oh! much better | 11:36 |
ssam2 | ah, except now it has ANSI color codes in | 11:36 |
ssam2 | that's the downside to --color I guess | 11:36 |
* ironfoot nods | 11:37 | |
ssam2 | I can just download it through `curl | tail` though and get pretty output in my terminal :-) | 11:37 |
ironfoot | much better than using a browser :D | 11:38 |
ssam2 | watch -c -d "curl --get https://gitlab.com/baserock/definitions/-/jobs/22498569/raw | tail" | 11:39 |
ssam2 | oh that doesn't work very well, the codes get all messed up | 11:39 |
ironfoot | works with my "tail" | 11:41 |
ironfoot | (without watch) | 11:41 |
ssam2 | yeah watch is the issue, but also what would have made it nice | 11:41 |
ironfoot | does not work with my "less" | 11:41 |
* ironfoot kills cygwin | 11:42 | |
ssam2 | :c | 11:42 |
ironfoot | ssam2: watch --color | 11:42 |
ironfoot | (if available, source: random stackoverflow post) | 11:43 |
ssam2 | that's -c, but the colours go a bit weird for me | 11:43 |
ssam2 | probably because 'tail' means we start printing midway through a random code sequence | 11:44 |
ironfoot | xD, next suggestion, while loop, with the clear, curl, sleep | 11:46 |
ssam2 | no cigar | 11:48 |
ssam2 | needs a version of 'tail' that understands ANSI codes really, but that's going a bit far | 11:48 |
ironfoot | :) | 11:49 |
ssam2 | back to business though,https://gitlab.com/baserock/definitions/-/jobs/22498569 just pushed an artifact to the cache \o/ | 11:49 |
ironfoot | yay! | 11:54 |
ironfoot | it's happening in parallel to other jobs, right? | 11:55 |
ssam2 | yeah | 11:55 |
ironfoot | <3 | 11:55 |
ssam2 | one small issue I've noticed is that all pull attempts say "success" even when there was no cached artifact found | 11:56 |
ironfoot | yeah, it shouldn't fail | 11:57 |
ironfoot | but the "success" is confusing | 11:57 |
gtristan | I agree | 12:06 |
gtristan | Care to file a bug ? | 12:07 |
gtristan | success is confusing there, it was originally FAILURE, which was much worse | 12:07 |
ssam2 | oof | 12:07 |
ssam2 | sure, will file a bug | 12:07 |
gtristan | Now it's SUCCESS and INFO appears only if something was downloaded | 12:07 |
gtristan | queue status is good to show this in interactive build modes, though | 12:08 |
gitlab-br-bot | infrastructure: issue #1 ("Set up cache for GitLab CI runners") changed state ("opened") https://gitlab.com/baserock/infrastructure/issues/1 | 12:59 |
gitlab-br-bot | infrastructure: issue #2 ("Investigate how to improve job start time on GitLab CI runners") changed state ("opened") https://gitlab.com/baserock/infrastructure/issues/2 | 13:05 |
*** ctbruce has quit IRC | 13:14 | |
*** gtristan has quit IRC | 13:41 | |
*** bjdooks has left #baserock | 13:47 | |
ssam2 | full build of build-system all pushed to the cache : https://gitlab.com/baserock/definitions/pipelines/9876935 | 14:46 |
ssam2 | 200 minutes to build from scratch .. seems a bit slow | 14:47 |
ssam2 | oh, seems to take 503 minutes with ybd. https://gitlab.com/baserock/definitions/-/jobs/15140388 | 14:50 |
* ssam2 a bit suspicious about those numbers though | 14:50 | |
ssam2 | since the runners always pull all sources, a lot depends on bandwidth | 14:50 |
ironfoot | ssam2: wooo!!! | 14:58 |
benbrown_ | how does morph-cache-server actually work for tree queries? | 15:27 |
benbrown_ | is name the path relative to the gits repo on the trove? | 15:27 |
benbrown_ | e.g. 'repo=delta/git' | 15:28 |
ssam2 | not sure | 15:28 |
ssam2 | it's a simple script: http://git.baserock.org/cgit/baserock/baserock/morph.git/tree/morph-cache-server | 15:28 |
ssam2 | I think path is indeed relative | 15:29 |
ssam2 | http://git.baserock.org/cgit/baserock/baserock/morph.git/tree/morphcacheserver/repocache.py#n54 | 15:29 |
ssam2 | so depends on the config (in /etc/morph-cache-server.conf) | 15:30 |
*** CTtpollard has quit IRC | 15:57 | |
*** jonathanmaw has quit IRC | 16:02 | |
*** locallycompact has quit IRC | 16:30 | |
*** toscalix has quit IRC | 16:42 | |
*** ssam2 has quit IRC | 17:46 | |
*** rdale has quit IRC | 17:52 | |
*** gtristan has joined #baserock | 18:39 | |
*** gtristan has quit IRC | 22:08 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!