IRC logs for #buildstream for Wednesday, 2018-06-13

*** Prince781 has joined #buildstream00:42
*** jsgrant has quit IRC01:37
*** Prince781 has quit IRC01:43
*** Prince781 has joined #buildstream01:44
*** tristan has joined #buildstream02:30
*** Prince781 has quit IRC03:33
tristanalbfan[m], http://buildstream.gitlab.io/buildstream/examples/flatpak-autotools.html#using-the-project05:28
tristangenerated from https://gitlab.com/BuildStream/buildstream/blob/master/doc/sessions/flatpak-autotools-build.run05:29
albfan[m]tristan: that's great, see expected output helps a lot. I'm tempted to do another example, using gnome-build-meta, is it worth to add or anyone has another idea for an example?06:10
tristanalbfan[m], I dont want to depend on external things really, I'm hoping a lot of things can reuse the same alpine image we use in integration tests06:29
tristanand we keep the projects under revision control06:29
tristanrather, concise small things which answer a "how do I" question06:29
tristanbut provide all the material to do so06:30
tristanalbfan[m], there is this: https://gitlab.com/BuildStream/buildstream/issues/32106:33
albfan[m]yes, much better, let's work on that06:42
*** tristan has quit IRC07:12
*** noisecell has joined #buildstream07:51
*** jennis has joined #buildstream07:54
*** finn has joined #buildstream07:56
*** Phil has joined #buildstream08:17
*** Sebastian has joined #buildstream08:29
*** bethw has joined #buildstream08:44
*** jonathanmaw has joined #buildstream08:53
*** bethw has quit IRC09:44
*** sstriker has joined #buildstream09:55
*** bethw has joined #buildstream09:57
*** Sebastian has quit IRC10:15
*** Sebastian has joined #buildstream10:18
*** Sebastian has quit IRC10:25
*** sstriker has quit IRC10:42
*** sstriker has joined #buildstream11:11
*** sstriker has quit IRC11:27
*** bethw has quit IRC11:39
gitlab-br-botbuildstream: merge request (valentindavid/331_include->master: WIP: Add support for include in project.conf) #471 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/47111:49
gitlab-br-botbuildstream: merge request (valentindavid/331_include->master: WIP: Add support for include in project.conf) #471 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/47111:55
*** bethw has joined #buildstream12:00
*** bethw has quit IRC12:02
*** bethw has joined #buildstream12:02
jmacSince I've started using juergbi's CAS branch, Python reports "ModuleNotFoundError: No module named 'google.devtools'" when trying to run bst12:06
jmacI think the problem is ~/.local/lib/python3.6/site-packages/google/ existing as well as the google/ directory in the repo; deleting the one from ~/.local/lib cures the problem temporarily12:06
juergbijmac: have you rerun pip3/setup.py after switching the branch?12:06
juergbito install dependencies, if missing12:07
jmacYes, `pip3 install --user -e .` puts ~/.local/lib/python3.6/site-packages/google/ back12:07
jmacBut that directory only includes protobuf12:07
juergbihm, but that's how it is here as well, .local with google/protobuf12:07
valentindIs the CI broken? 1 pending, 0 running.12:09
valentindBeen pending for 20 minutes.12:09
jmacSo in my system, it looks like python stops after finding one module called 'google'12:09
juergbiour google/__init__.py is supposed to solve this12:11
*** coldtom has joined #buildstream12:11
juergbimaybe you have a google directory also in /usr or /usr/local?12:11
juergbiand the issue starts if there are 3 google directories?12:11
jmacNope, nothing in /usr12:12
juergbiwhat Python version?12:13
jmac3.6.512:13
juergbiCI tests it back to Python 3.4, I'm using 3.6 locally12:13
juergbihm12:13
juergbiand if you delete the one from ~/.local, BuildStream actually works?12:15
juergbiI'm wondering where it takes the google library from in that case12:15
juergbimaybe you have an old grpcio package that causes problems12:15
juergbiiirc, protobuf was included in grpcio earlier12:15
juergbican you make sure that it's up-to-date? (maybe pip3 -U)12:15
jmacYes, you're right, it must get protobuf from somewhere12:16
jmacIt works well enough to test with, anyway12:22
jmacjuergbi: Will the CAS remote server work without TLS?12:23
juergbiyes, if you don't specify a server cert, it won't use TLS12:24
jmacTa12:25
*** Sebastian has joined #buildstream12:27
jmacI'm getting SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED when trying to use the remote cache now, but wget is able to fetch the artifact cache url with no problems12:52
juergbijmac: with what configuration? self-signed cert?13:06
jmacYes, self-signed as per the example in the documentation13:06
juergbiand have you also specified the cert in the clieint side config?13:07
juergbii.e., server-cert:...13:07
jmacI didn't, because it should be trusted by the system13:08
jmacBut I'll try it13:08
jmacNo, same error with server-cert specified13:09
juergbiah, maybe it doesn't integrate properly with the system-trusted certificate list13:10
jmacAha13:12
jmacCorrection, it does work with server-cert, I had two versions of server.crt around13:12
jmacSo yes, it looks like it doesn't pick up the system certificates like wget does13:12
juergbimaybe an issue with pip-installed grpc, not sure13:14
*** xjuan has joined #buildstream13:18
Nexusgetting a weird error when trying to run tests, has anyone come across this before?13:23
Nexushttps://hastebin.com/xadatadipa.swift13:23
Nexusonly happens when running all tests, i can run specific test suites13:23
gitlab-br-botbuildstream: merge request (valentindavid/331_include->master: Add support for include in project.conf) #471 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/47113:24
*** bethw has quit IRC13:30
*** bethw has joined #buildstream13:32
tlaterNexus: That looks suspiciously like you have versions of pylint/pylint-pytest/pytest that don't work together.13:40
Nexusodd, i never even installed lint, only pytest13:42
Nexuspytest (3.5.1)13:42
tlaterIf you didn't have pylint the test suite wouldn't work in the first place13:45
tlaterI believe it's in bst's dependencies, so it's installed for you if you install that13:46
gitlab-br-botbuildstream: merge request (chandan/bst-here-fixup-usage->master: Minor improvements for contrib/bst-here) #497 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/49713:58
*** finn_ has joined #buildstream14:03
*** finn has quit IRC14:04
*** Prince781 has joined #buildstream14:32
*** thomascoldrick has joined #buildstream14:47
*** coldtom has quit IRC14:47
gitlab-br-botbuildstream: issue #424 ("Python files have shebangs unnecessarily") changed state ("opened") https://gitlab.com/BuildStream/buildstream/issues/42414:55
*** toscalix has joined #buildstream15:00
*** toscalix has quit IRC15:07
*** tristan has joined #buildstream15:09
gitlab-br-botbuildstream: merge request (reduce_history_in_cache->master: Reduce history in cache) #482 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/48215:21
*** sstriker has joined #buildstream15:22
gitlab-br-botbuildstream: merge request (richardmaw/cache-fail->master: WIP: Store failed builds in the cache) #475 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/47515:36
gitlab-br-botbuildstream: merge request (richardmaw/cache-fail->master: WIP: Store failed builds in the cache) #475 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/47515:39
*** bethw has quit IRC15:40
*** bethw has joined #buildstream16:04
gitlab-br-botbuildstream: merge request (phil/migrate-alpine-demo->master: Phil/migrate alpine demo) #499 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/49916:07
gitlab-br-botbuildstream: merge request (phil/migrate-alpine-demo->master: Phil/migrate alpine demo) #499 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/49916:08
gitlab-br-botbuildstream: merge request (phil/migrate-alpine-demo->master: Phil/migrate alpine demo) #499 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/49916:08
gitlab-br-botbuildstream: merge request (phil/migrate-alpine-demo->master: Phil/migrate alpine demo) #499 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/49916:14
gitlab-br-botbuildstream: merge request (phil/migrate-alpine-demo->master: Phil/migrate alpine demo) #499 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/49916:14
*** Sebastian has quit IRC16:20
gitlab-br-botbuildstream: merge request (richardmaw/cache-fail->master: WIP: Store failed builds in the cache) #475 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/47516:23
gitlab-br-botbuildstream: merge request (phil/migrate-alpine-demo->master: Phil/migrate alpine demo) #499 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/49916:27
*** Phil has quit IRC16:37
*** tristan has quit IRC16:54
gitlab-br-botbuildstream: merge request (phil/migrate-alpine-demo->master: Phil/migrate alpine demo) #499 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/49916:55
gitlab-br-botbuildstream: merge request (phil/migrate-alpine-demo->master: WIP: Phil/migrate alpine demo) #499 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/49916:55
*** jonathanmaw has quit IRC16:57
*** Sebastian has joined #buildstream16:57
*** finn_ has quit IRC16:58
*** thomascoldrick has quit IRC16:58
*** finn has joined #buildstream16:59
*** Sebastian has quit IRC16:59
*** finn has quit IRC17:02
*** bethw has quit IRC17:10
*** Sebastian has joined #buildstream17:15
*** Prince781 has quit IRC17:16
adds68hey juergbi, i have both push and push/pull instances of the CAS running now with the lets encrypt certificates17:17
adds68juergbi, however i am unsure on how to configure  our gitlab runners to be able to push?17:18
adds68juergbi, before this we used a private ssh key, but with the new server we are now using ssl key and cert files17:18
adds68juergbi, could i put the private ssl key as private variable and add this to each runner, if so where would i store the key in the runner when it gets created so the cas server can read it?17:19
juergbiyes, you need to store the client key pair as private variables17:20
juergbiand then specify the file path as client-key / client-cert in the config17:20
juergbisee the bottom of the docu17:20
*** Prince781 has joined #buildstream17:29
*** Prince781 has quit IRC17:31
*** Prince781 has joined #buildstream17:35
*** tristan has joined #buildstream18:32
*** Sebastian has quit IRC18:59
*** Sebastian has joined #buildstream19:05
cs_shadowWhen trying to push to an artifact cache, I'm seeing "Expected reply, got none". What would be a good way to try to debug this?19:11
cs_shadowIs there a way to see more details about what's failing?19:11
tristancs_shadow, not sure off hand, did you look at the log file ?19:35
tristanI think all stderr of the remote bst-artifact-receieve process goes into the local push/pull logs19:36
cs_shadowunfortunately the log file also does not contain much more than that error message. I have a suspicion that it's a fault of our cache server as its WIP. Does artifact cache also store any logs on the server side?19:39
tristancs_shadow, not on it's own I think no19:50
tristannot sure either if it's an experimental artifact server, if it's ssh/ostree based bst-artifacts-receive then no19:51
*** Sebastian has quit IRC19:52
cs_shadowIt’s the latter19:54
cs_shadowOkay, thanks anyway. I’ll keep digging19:54
*** Sebastian has joined #buildstream20:20
*** Sebastian has quit IRC20:23
gitlab-br-botbuildstream: merge request (chandan/bst-here-fixup-usage->master: Minor improvements for contrib/bst-here) #497 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/49720:24
*** Sebastian has joined #buildstream20:24
*** xjuan has quit IRC20:29
*** tristan has quit IRC20:31
tlaterHm, I wonder if a label for low hanging fruit would make sense20:33
*** tristan has joined #buildstream20:35
*** finn has joined #buildstream21:01
gitlab-br-botbuildstream: merge request (chandan/bst-here-fixup-usage->master: Minor improvements for contrib/bst-here) #497 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/49721:03
*** finn has quit IRC21:21
*** Prince781 has quit IRC21:24
*** Sebastian has quit IRC21:58
*** Sebastian has joined #buildstream21:59
*** Sebastian has quit IRC22:03
*** sstriker has quit IRC22:39

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