Bug 12053

Summary: nightly build failed on bitbakeselftest
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Tracy Graydon <tracy.graydon>
Component: coreAssignee: Ross Burton <ross.burton>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: Undecided CC: meta.mr.watcher, meta.watcher, mhalstead, richard.purdie
Version: unspecified   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know
Attachments:
Description Flags
bitbakeselftest error log none

Description Tracy Graydon 2017-09-06 02:17:08 UTC
Created attachment 3984 [details]
bitbakeselftest error log

nightly build 1320 on autobuilder.yoctoproject.org failed on bitbakeselftest.
Branch: master-next, rev 4df9280713fa13dd510662992966b8cc17f06e57
https://autobuilder.yoctoproject.org/main/builders/nightly/builds/1320
https://autobuilder.yoctoproject.org/main/builders/nightly/builds/1320/steps/BitbakeSelftest/logs/stdio

Network failure? Wget got unhappy.

...................................................................................................................................................................................E................................................................................................
======================================================================
ERROR: test_wget_latest_versionstring (bb.tests.fetch.FetchLatestVersionTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly/build/bitbake/lib/bb/tests/fetch.py", line 807, in test_wget_latest_versionstring
    r = bb.utils.vercmp_string(v, verstring)
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly/build/bitbake/lib/bb/utils.py", line 142, in vercmp_string
    return vercmp(ta, tb)
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly/build/bitbake/lib/bb/utils.py", line 134, in vercmp
    r = vercmp_part(va, vb)
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly/build/bitbake/lib/bb/utils.py", line 123, in vercmp_part
    elif ca < cb:
TypeError: unorderable types: int() < NoneType()

Stdout:
Fetcher accessed the network with the command /usr/bin/env wget -t 2 -T 30 --passive-ftp --no-check-certificate -O /tmp/wget-index-_ounzwk1/wget-listing-5vo0q8rc --user-agent='Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Ubuntu/9.10 (karmic) Firefox/3.6.12' 'http://xorg.freedesktop.org/releases/individual/xserver/'
Running /usr/bin/env wget -t 2 -T 30 --passive-ftp --no-check-certificate -O /tmp/wget-index-_ounzwk1/wget-listing-5vo0q8rc --user-agent='Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Ubuntu/9.10 (karmic) Firefox/3.6.12' 'http://xorg.freedesktop.org/releases/individual/xserver/' --progress=dot -v
--2017-09-05 06:52:57--  http://xorg.freedesktop.org/releases/individual/xserver/
Resolving xorg.freedesktop.org (xorg.freedesktop.org)... 131.252.210.176, 2610:10:20:722:a800:ff:feda:470f
Connecting to xorg.freedesktop.org (xorg.freedesktop.org)|131.252.210.176|:80... failed: Connection timed out.
Connecting to xorg.freedesktop.org (xorg.freedesktop.org)|2610:10:20:722:a800:ff:feda:470f|:80... failed: Network is unreachable.
Comment 1 Ross Burton 2017-09-07 09:25:00 UTC
Yes, network error.  I've a patch to improve the message when this happens.