Tuesday, 2019-03-26

*** sgw has quit IRC00:50
*** sgw has joined #starlingx04:09
*** OutBackDingo has quit IRC05:16
*** changcheng has quit IRC05:43
*** changcheng has joined #starlingx05:47
*** OutBackDingo has joined #starlingx05:56
*** changcheng has quit IRC07:30
*** changcheng has joined #starlingx07:34
*** OutBackDingo has quit IRC07:50
*** OutBackDingo has joined #starlingx08:09
*** OutBackDingo has quit IRC08:12
*** sgw has quit IRC08:39
*** zhubx has quit IRC10:06
*** zhubx has joined #starlingx10:07
*** zhubx has quit IRC10:08
*** zhubx has joined #starlingx10:08
*** zhubx has quit IRC10:09
*** zhubx has joined #starlingx10:10
*** oponcea has joined #starlingx11:16
*** ijolliffe has joined #starlingx12:41
*** zhubx has quit IRC13:46
*** zhubx has joined #starlingx13:46
*** ericbarrett has joined #starlingx13:49
*** Samiam1999 has quit IRC14:28
*** Samiam1999 has joined #starlingx15:11
*** Samiam1999 has quit IRC15:14
*** sgw has joined #starlingx15:37
*** Samiam1999 has joined #starlingx15:45
*** lcastell has joined #starlingx16:06
*** lcastell has quit IRC16:08
*** jsun3 has joined #starlingx17:03
sgwMorning all19:35
dpenney:)19:36
sgwIs anyone seeing a  "NameError: global name 'FileNotFoundError' is not defined" doing a build?  I am using the Ubuntu Docker container19:36
sgwIt does not seem to be blocking the build19:37
dpenneyI haven't seen it, but I'm building on a centos host19:38
dpenneythis is during build-pkgs?19:38
*** jsun3 has quit IRC19:45
*** ericbarrett has quit IRC19:45
*** jsun3 has joined #starlingx19:45
*** jsun3 has quit IRC19:48
mthebeauexception FileNotFoundError is not available in python 2.7;19:50
sgwdpenney: yes, during build-pkgs19:53
sgwmthebeau: so this is a python3'ism, so the build tools are now supposed to use python3 by default?19:54
mthebeausgw, I don't know yet.  But, that's a theory I think is reasonable.  I do not find FileNotFoundError in the build-tools directly.  I'm not sure where it comes from.19:55
dpenneythere's not a lot of python code in the build tools, so I'm definitely curious where it's coming from19:55
mthebeaugit/kubernetes/vendor/github.com/spf13/viper/viper.go19:56
mthebeaugit/python-glanceclient/glanceclient/common/https.py19:56
sgwdpenney: I think it's coming from mock19:57
sgw19:55:41   File "/usr/lib/python2.7/site-packages/mockbuild/package_manager.py", line 162, in builddep19:58
sgw19:55:41     except (FileNotFoundError) as error:19:58
sgw19:55:41 NameError: global name 'FileNotFoundError' is not defined19:58
sgwthat's the tail end of the exception, there is more19:58
dpenneywhat version of mock are you running with?20:00
mthebeauhttps://bugzilla.redhat.com/show_bug.cgi?id=168610720:00
openstackbugzilla.redhat.com bug 1686107 in mock "Dirty exception when failing dependencies of a build" [Unspecified,New] - Assigned to msuchy20:00
dpenneymy build server has 1.3.420:00
mthebeaunew March 620:01
*** ijolliffe has quit IRC20:02
sgwdpenney: looks like 1.3.4 also here, strange that you don't see it unless your python is 3.x by default20:03
sgwmthebeau: thanks20:03
dpenneyI don't see that in the code20:03
dpenneyline 162: raise Exception("""Command {0} is not available. Either install package containing this command20:04
dpenneyNo FileNotFoundError anywhere under /usr/lib/python2.7/site-packages/mockbuild20:05
sgwdpenney: maybe centos patched it already?20:05
dpenneylooks like that FileNotFound was added in 1.4.14-1: https://github.com/rpm-software-management/mock/commit/eb6da09ea370cf6c96003922191c09735cdb6e2220:07
mthebeaurpm -qp --requires mock-1.4.14-1.fc29.noarch.rpm20:12
mthebeaupython3 <snip>20:12
mthebeaumy build host has mock mock-1.4.14-2.el7.noarch  (?) requiring python >= 2.720:14
*** kbujold has quit IRC20:15
mthebeaulol#   $ grep FileNotFound /usr/lib/python2.7/site-packages/mockbuild/package_manager.py20:23
mthebeau        except (FileNotFoundError) as error:20:23
sgwWell that's weird, the build reports Mock Version 1.3.4, but when I run mock --version I get 1.4.14!20:26
sgw20:25:01 INFO: Mock Version: 1.3.420:26
dpenneyhandy :)20:27
*** ijolliffe has joined #starlingx23:47
*** OutBackDingo has joined #starlingx23:51
*** OutBackDingo has quit IRC23:52

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