Wednesday, 2019-01-23

*** sgw has joined #starlingx00:02
*** dklyle has joined #starlingx00:21
*** david-lyle has joined #starlingx00:27
*** dklyle has quit IRC00:30
*** TxGirlGeek has joined #starlingx00:47
*** TxGirlGeek has quit IRC01:03
*** david-lyle has quit IRC01:14
*** lcastell has quit IRC01:22
*** jaewook_oh has joined #starlingx02:15
*** xxie1[m] has joined #starlingx04:30
*** vmrod25 has quit IRC05:49
*** OutBackDingo has quit IRC06:42
*** OutBackDingo has joined #starlingx06:46
*** OutBackDingo has quit IRC07:12
*** hakhande_ has joined #starlingx07:16
*** OutBackDingo has joined #starlingx07:27
*** gkadam has joined #starlingx08:22
*** niklassoderstrom has joined #starlingx09:45
*** niklassoderstrom has quit IRC09:57
*** niklassoderstrom has joined #starlingx09:58
*** yan0s has joined #starlingx11:15
*** Bhujay has joined #starlingx11:28
*** ijolliffe has quit IRC13:02
*** jaewook_oh has quit IRC13:03
*** sgw has quit IRC13:27
*** ijolliffe has joined #starlingx13:37
*** sgw has joined #starlingx13:54
*** sgw has quit IRC14:11
*** sgw has joined #starlingx14:12
*** Bhujay has quit IRC14:28
*** yan0s has left #starlingx14:59
*** sgw has quit IRC14:59
*** sgw has joined #starlingx15:03
*** dklyle has joined #starlingx15:17
*** hakhande_ has quit IRC15:19
*** TxGirlGeek has joined #starlingx15:46
*** dklyle has quit IRC16:02
*** dklyle has joined #starlingx16:24
*** Bhujay has joined #starlingx16:38
*** Bhujay has quit IRC16:39
*** Bhujay has joined #starlingx16:40
*** Bhujay has quit IRC16:41
*** Bhujay has joined #starlingx16:41
*** Bhujay has quit IRC16:42
*** Bhujay has joined #starlingx16:43
*** Bhujay has quit IRC16:44
*** Bhujay has joined #starlingx16:44
*** Bhujay has quit IRC16:45
*** Bhujay has joined #starlingx16:46
*** Bhujay has quit IRC16:50
*** lcastell has joined #starlingx16:55
*** dklyle has quit IRC16:55
*** dklyle has joined #starlingx16:56
*** dklyle has quit IRC17:01
*** dklyle has joined #starlingx17:01
*** dklyle has quit IRC17:13
*** gkadam has quit IRC17:29
*** TxGirlGeek has quit IRC17:35
*** TxGirlGeek has joined #starlingx17:36
*** dklyle has joined #starlingx17:39
*** dklyle has quit IRC17:48
*** dklyle has joined #starlingx18:24
*** dklyle has quit IRC18:29
*** TxGirlGeek has quit IRC18:29
*** TxGirlGeek has joined #starlingx18:35
*** dklyle has joined #starlingx18:48
*** dklyle has quit IRC18:54
*** mugsie has quit IRC18:55
*** mugsie has joined #starlingx18:57
sgwdpenney_: Question: Are you running the build-wheel and build-docker scripts natively or inside the docker we use to do the centos build?19:05
dpenney_I run them natively, and build natively. I'm guessing the CENGN build for the docker image runs them natively as well. I haven't tried within the docker setup you use. Are you hitting issues?19:12
sgwdpenney_: Yup!  I am working around it, but it will require some changes to the docker image and tb.sh script, since our current image does not have docker in it and we need to modify it to run docker-in-docker (using -v to map the docker.sock file)19:23
*** TxGirlGeek has quit IRC19:29
sgwdpenney_: what other assumptions are made in order to run the wheel/docker build scripts?  Do I need to be in the f/stein branches for example? I got the following failure:19:35
sgwFailed to parse name or version from /localdisk/loadbuild/swold/stx/std/build-wheels-centos-pike/base/*.whl19:35
dpenney_so it would assume the env is setup, like MY_REPO and MY_WORKSPACE, that you've done "build-pkgs" already (which would build the packages that contain any stx wheels). The build-wheel-tarball.sh tool calls build-base-wheels.sh first to build any needed upstream wheels, then get-stx-wheels.sh to retrieve the stx wheels19:39
dpenney_given that, I guess you'd need to be inside your build docker?19:40
sgwOk, so maybe my build is not current enough, I will rebuild build-pkgs, will it be possible to just rebuild one container or wheel?19:41
dpenney_the error seems odd... do you have a std/build-wheels-centos-master/base dir in your $MY_WORKSPACE?19:42
dpenney_this error comes from build-wheel-tarball.sh after it has already run build-base-wheels.sh, so that dir should contain a set of wheels19:43
dpenney_you could run  build-wheel-tarball.sh in a bash -x command for tracing and send me the output, along with maybe a "find std/build-wheels-centos-master"?19:44
sgwI think you just answered a question, I am on master not f/stien, so I have a build-wheels-centos-pike/base directory that is empty19:45
dpenney_the branch doesn't really matter... what matters is the --release arg you specify19:45
dpenney_ie. build-wheel-tarball.sh --os centos --release master19:45
*** TxGirlGeek has joined #starlingx19:46
sgwIwas going from your README in build-tools/build-docker-images that showed OPENSTACK_RELEASE=pike19:46
dpenney_since you didn't specify --release master, it defaulted to pike19:46
sgwI did specify it on the command line19:46
dpenney_all depends on what you want to build19:46
sgwI am going by the README, if I should build master, let me know, I figured the examples in the readme would work19:47
dpenney_it's fine... I just grabbed the master path from my recent builds... so swap "master" for "pike" in what I've said :)19:47
dpenney_either should work fine. so building pike, your std/build-wheels-centos-pike/base should have wheels19:48
sgwOk, and the answer is still that the base dir that you asked about is empty19:48
*** dklyle has joined #starlingx19:50
dpenney_if you can send me a trace of the build, maybe that will point us in the right direction19:51
*** dklyle has quit IRC19:53
sgwI will first try to rerun build-pkgs as I said this is an older build, so I wonder if it pre-dates added some of the wheel tooling.19:55
dpenney_that shouldn't really impact the error you're having though19:55
dpenney_you're not getting to the stage where it's accessing output from build-pkgs19:56
sgwWhat puts the *.whls in to the base directory, the build-wheels/* scripts?19:57
dpenney_well... it is... it runs both build-base-wheels.sh  and get-stx-wheels.sh by the time of your failure, but build-base-wheels.sh does not rely on any output from build-pkgs19:57
dpenney_yeah, it's the build-base-wheels.sh that populates the base dir19:57
sgwOk, let me try -x here first and read scripts.19:57
dpenney_you should also be able to run build-base-wheels.sh directly, if you want19:58
sgwActually I did that earlier and it worked19:58
dpenney_but if it fails, that failure should be caught19:58
sgwWas using it directly to test my docker enablement changes19:59
dpenney_ok, you could also do that one in a bash -x and we can see what's happening.. or not happening19:59
sgwRight, so just to confirm, it should be the script that puts the *.whls files in base?20:00
dpenney_within that script, the base output dir is BUILD_OUTPUT_PATH ... that gets passed as a bind-mount to the docker run command that launchs the builder, and that build script puts the files into that bind-mounted dir20:01
dpenney_docker files and scripts for that builder are in build-wheels/docker ... runs the docker-build-wheel.sh script, which copies the built or downloaded wheels to the mounted base output dir20:02
*** happycat68 has quit IRC20:19
*** dklyle has joined #starlingx20:20
*** happycat68 has joined #starlingx20:21
*** happycat68 is now known as tao_liu20:23
*** tao_liu has quit IRC20:27
*** dklyle has quit IRC20:29
*** tao_liu has joined #starlingx20:30
*** tao_liu has quit IRC20:32
*** tao_liu has joined #starlingx20:33
*** dklyle has joined #starlingx20:49
*** marj3 has quit IRC20:59
*** dklyle has quit IRC21:10
mariocarrilloHi dpenny_, I wonder, why most of the "output" directories in http://mirror.starlingx.cengn.ca/mirror/starlingx/master/centos/ does not include the directory wheels with the tar package21:18
*** dklyle has joined #starlingx21:22
*** dklyle has quit IRC21:28
*** ijolliffe has quit IRC21:29
*** dklyle has joined #starlingx21:42
dpenney_the docker images and wheels are built separately and on a different schedule. slittle1 added a hook to the jenkins job to create a latest_docker_image_build symlink to help finding the most recent tarball, but I only see that for the f/stein build here: http://mirror.starlingx.cengn.ca/mirror/starlingx/f/stein/centos/latest_docker_image_build/21:47
dpenney_slittle1: was the hook only added for the f/stein image build?21:48
*** dklyle has quit IRC22:01
mariocarrillodpenney_: thanks22:17
*** ijolliffe has joined #starlingx23:02
*** sgw has quit IRC23:14
*** dklyle has joined #starlingx23:34
*** dklyle has quit IRC23:40
*** dklyle has joined #starlingx23:54

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