Bug 11419 - [Test Case 1565] Test bitbake-selftest
Summary: [Test Case 1565] Test bitbake-selftest
Status: RESOLVED WORKSFORME
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 2.3
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-04-26 17:13 UTC by oscar lopez arandas
Modified: 2017-04-27 15:12 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description oscar lopez arandas 2017-04-26 17:13:23 UTC
STATUS: IDLE
BUILD: 2.3 M4: rc2-7a0e795373653886452a7a2992ced10080711c26
ENVIRONMENT:  "x86_64-linux"
STEPS TO REPRODUCE: 
1- $ clone poky
2- $ cd poky
3- $ source oe-init-build-env
4- $ bitbake-selftest


EXPECTED OUTCOME:   All test cases are executed and no errors are reported.

ACTUAL OUTCOME: FAILED (failures=2)

NOTES: results

oscar@oscar-ThinkPad-T540p:~/1565/build$ bitbake-selftest
............................................................................................................................................................FF................................................................
======================================================================
FAIL: test_wget_checkstatus (bb.tests.fetch.FetchCheckStatusTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/oscar/1565/bitbake/lib/bb/tests/fetch.py", line 838, in test_wget_checkstatus
    self.assertTrue(ret, msg="URI %s, can't check status" % (u))
AssertionError: False is not true : URI ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz, can't check status

======================================================================
FAIL: test_wget_checkstatus_connection_cache (bb.tests.fetch.FetchCheckStatusTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/oscar/1565/bitbake/lib/bb/tests/fetch.py", line 852, in test_wget_checkstatus_connection_cache
    self.assertTrue(ret, msg="URI %s, can't check status" % (u))
AssertionError: False is not true : URI ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz, can't check status

----------------------------------------------------------------------
Ran 222 tests in 826.251s

FAILED (failures=2)
Comment 1 Richard Purdie 2017-04-27 14:52:37 UTC
I tested this myself:

$ bitbake-selftest
..............................................................................................................................................................................................................................
----------------------------------------------------------------------
Ran 222 tests in 204.095s

OK

I therefore believe either you have a local network issue, or there was a problem with the remote server when you ran the test. I don't believe there is any issue within bitbake which is what we'd be concerned about.
Comment 2 Jose Perez C 2017-04-27 15:12:17 UTC
Seems like yesterday the site was down, I ran it today in 3 different networks and everything worked correctly.