| Summary: | [2.6 M1 RC1] busybox ptest failed | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Manish Das <manish.das> | ||||||
| Component: | core | Assignee: | Manish Das <manish.das> | ||||||
| Status: | RESOLVED NOTABUG | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | Medium+ | CC: | andrej.v, meta.mr.watcher, meta.watcher, ross.burton | ||||||
| Version: | 2.6 | ||||||||
| Target Milestone: | 2.6 M2 | ||||||||
| Hardware: | x86 | ||||||||
| OS: | Multiple | ||||||||
| Whiteboard: | |||||||||
| OS type for building Yocto: | --- | Type of Regression: | Regression (Found by QA test) | ||||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||||
| Attachments: |
|
||||||||
|
Description
Manish Das
2018-07-02 05:58:25 UTC
Andrej, will you be able to look at this? That it is solely wget tests all failing suggests to me that either: 1) the QA had a transient network failure or 2) we're missing some dependency, or maybe the real wget is/was being used First step would be running the busybox ptest in a core-image-minimal to see what happens with current master. (In reply to comment #1) > Andrej, will you be able to look at this? That it is solely wget tests all > failing suggests to me that either: > > 1) the QA had a transient network failure or > 2) we're missing some dependency, or maybe the real wget is/was being used > > First step would be running the busybox ptest in a core-image-minimal to see > what happens with current master. Yes, I will take a look on it. First I will build the mentioned core-image-minimal and run ptest there. I have tested it with core-image-minimal. FAIL: wget--O-overrides--P + test x '!=' x + mkdir foo + busybox wget -q -O index.html -P foo http://www.google.com/ wget: bad address 'www.google.com' FAIL: wget-handles-empty-path + test x '!=' x + busybox wget http://www.google.com wget: bad address 'www.google.com' FAIL: wget-retrieves-google-index + test x '!=' x + busybox wget -q -O foo http://www.google.com/ wget: bad address 'www.google.com' FAIL: wget-supports--P + test x '!=' x + mkdir foo + busybox wget -q -P foo http://www.google.com/ wget: bad address 'www.google.com' It failed, because of missing connection/routing to internet. So I have added proxy routing via http/s_proxy variables. After that, it works, without any problems. PASS: wget--O-overrides--P PASS: wget-handles-empty-path PASS: wget-retrieves-google-index PASS: wget-supports--P So the questions is, how the connection is set-up on testing machine. The connection is set up following the steps in the wiki: https://wiki.yoctoproject.org/wiki/BSP_Test_Plan#Test_Process_2 I can run the ptest again if a network issue has caused this failure and update the result of the re-run. Manish: please do rerun the test, as it appears that this was due to either a transient network problem, or bad configuration. Created attachment 4343 [details]
ptest rerun for 2.6M1 RC1
ptest rerun for 2.6M1 RC1 (10-Jul-18)
Hi Ross, as suggested, we ran the ptest for 2.6 m1 rc1 without any intervention. The issue is reproducible. Logs are attached from today's run. ***************************************************************** FAIL: wget--O-overrides--P + test x '!=' x + mkdir foo + busybox wget -q -O index.html -P foo http://www.google.com/ wget: can't connect to remote host (172.217.31.196): Connection timed out FAIL: wget-handles-empty-path + test x '!=' x + busybox wget http://www.google.com Connecting to www.google.com (172.217.31.196:80) wget: can't connect to remote host (172.217.31.196): Connection timed out FAIL: wget-retrieves-google-index + test x '!=' x + busybox wget -q -O foo http://www.google.com/ wget: can't connect to remote host (172.217.31.196): Connection timed out FAIL: wget-supports--P + test x '!=' x + mkdir foo + busybox wget -q -P foo http://www.google.com/ wget: can't connect to remote host (216.58.196.4): Connection timed out PASS: which-uses-default-path PASS: xargs-works ***************************************************************** And Andrej has just demonstrated that it works for him. Please verify that connectivity works normally in the image before blaming the test. I have checkout tag '2.6_M1' today. It works without any problems. So, please verify your connection before ptest running. $ export http_proxy="proxy":"port" $ wget http://google.com If the google server is not resolved, you have to set-up a dns server (/etc/resolv.conf). When you successfully download a index.html, you can try to run ptest. You don't need to wait for whole ptest. You can run only the busybox, $ ptest-runner busybox Created attachment 4345 [details]
ptest result for busybox failure in 2.6M1RC1
Hi Andrej, after setting up the proxy (export http_proxy=http://proxy.png.intel.com:911) and running only the ptest for busybox ($ ptest-runner busybox), the issue got resolved. PASS: wget--O-overrides--P PASS: wget-handles-empty-path PASS: wget-retrieves-google-index PASS: wget-supports--P Logs attached for reference. Closing the bug. Workaround suggested resolved the issue. |