/srv/irclogs.ubuntu.com/2019/10/15/#ubuntu-devel.txt

=== ricab is now known as ricab|lunch
=== ricab|lunch is now known as ricab
jamespagesil2100: hey can we get https://bugs.launchpad.net/cloud-archive/+bug/1837905 release now? sahid_  has confirmed testing and tagged inline with process now15:44
ubottuLaunchpad bug 1837905 in horizon (Ubuntu Disco) " [SRU] stein stable releases " [High,Fix committed]15:44
sil2100jamespage: hey! Sure, let me do that once we're done with the eoan candidate images - I expect I can tackle that somewhere tomorrow16:06
jamespagesil2100: OK - I have some other updates ready for upload once those have cleared proposed16:06
ahasenackhi guys, I'm tracking down a dep8 failure in eoan and looks like the i386 test actually was run on a x86_64 host (64bits), is that expected?17:14
ahasenacktest log is https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-eoan/eoan/i386/p/python-pyeclib/20191014_092849_53aad@/log.gz17:14
ahasenackone can see the intention of running on i386, like -image adt/ubuntu-eoan-i386-server17:15
ahasenackbut at the same time we can also see apt fetching release files from amd6417:15
ahasenackand an amd64 kernel seems to be installed: linux-generic:amd64 is already the newest version (5.3.0.18.21).17:16
sarnoldahasenack: I believe there's no 32bit x86 kernel on eoan17:18
sarnoldahasenack: we're still planning on supporting some of the libraries for 32bit x86 use but the intention is to run them on 64 bit amd64 kernels17:18
ahasenackthe python code is calling platform.machine() to check the arch17:19
ahasenackthat seems to be returning x86_64 when the test is supposed to be running on i38617:19
ahasenackthen the test isn't skipped, and fails17:19
ahasenackyeah, last good run was on i386 "native"17:20
ahasenackhttp://autopkgtest.ubuntu.com/packages/p/python-pyeclib/eoan/i38617:20
ahasenackjust checked the test log from there17:20
ahasenackthen a sea of red started17:21
ahasenackmaybe the test should use dpkg-architecture17:21
cjwatsondpkg --print-architecture if you want a runtime check of the userspace architecture17:22
sarnolddpkg-dev: /usr/bin/dpkg-architecture17:22
cjwatson(dpkg-architecture is in dpkg-dev; dpkg --print-architecture doesn't require -dev)17:22
ahasenackyeah, that seems to work17:22
ahasenacklet me just check if that python platform module has nothing else I could use17:23
ahasenackplatform.architecture() maybe17:23
cjwatsonConceivably I guess17:24
cjwatsonThis all triggers my "probably testing for the wrong thing" reflex though17:25
sarnoldthat's an excellent way to describe that feeling I was getting :) thanks17:26
ahasenackit's a test that is not meant to be run on i38617:26
ahasenackdep8 doesn't have a way to express that, does it?17:26
cjwatsonOh, this is in debian/tests/17:27
cjwatsonYou should check the dpkg architecture in that case17:27
cjwatsondpkg --print-architecture would be correct17:28
cjwatsonAFAIK there is indeed no way to specify that in autopkgtest metadata17:28
cjwatsonThough could you not just put libisal2 in the test's Depends?17:29
cjwatsonNot certain but that would be the first thing I'd try17:30
cjwatsonThat's what the test is purportedly for, so let's stop using proxy properties like the current architecture?17:30
ahasenacknot my package, it just got called out in our daily triage. It's blocking python-six17:35
ahasenackI never heard of python-pyeclib before today :)17:35
ahasenacktrying to figure out the best way to unblock it17:35
ahasenacklooks like that skip was introduced in 1.5.0-1ubuntu217:36
ahasenackcjwatson: so how to run the test in amd64, if then it needs libisal2? Where would the libisal2 dep be declared?17:37
ahasenackthe other half of the tests run on all arches17:38
cjwatsonahasenack: Depends: in debian/tests/control for the particular tests in question17:38
ahasenackit is in there, but with the [amd64] flag. You mean it should be there without that flag?17:39
cjwatsonahasenack: In fact it already seems to have "libisal2 [amd64]" there.  I wonder whether just making that be "libisal2" and letting it be unresolvable on other architectures would help17:39
cjwatsonMaybe17:39
cjwatsonWorth testing (locally)17:39
cjwatsonBut failing that, check dpkg --print-architecture since this test really does care about the dpkg arch not the kernel arch17:41
cjwatsonOr even test whether the library exists, ctypes.cdll.LoadLibrary or something17:41
mwhudsonif you put unavailable depends in debian/tests/control the tests just fail, i think20:45
=== kfunk_ is now known as kfunk
=== kees__ is now known as kees

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