Bug 11811 - ptest-busybox cases failed
Summary: ptest-busybox cases failed
Status: RESOLVED NOTABUG
Alias: None
Product: Runtime Testing
Classification: QA/Testing
Component: general (show other bugs)
Version: 2.3.1
Hardware: NUC x86_64
: Medium normal
Target Milestone: 2.5 M4
Assignee: Juro Bystricky
QA Contact:
URL:
Whiteboard: backport 2.3 & 2.4
Depends on:
Blocks:
 
Reported: 2017-07-19 21:06 UTC by oscar lopez arandas
Modified: 2018-03-22 13:21 UTC (History)
2 users (show)

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


Attachments
ptest.log (5.33 MB, text/x-log)
2017-07-19 21:06 UTC, oscar lopez arandas
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description oscar lopez arandas 2017-07-19 21:06:09 UTC
Created attachment 3881 [details]
ptest.log

poky : 6bd890d9e011014cf323e61267f8b256949d44aa 
2.3.1 rc2
HW: NUC  6i5SYH 
image:
https://autobuilder.yocto.io/pub/releases/yocto-2.3.1.rc2/machines/genericx86-64/core-image-sato-sdk-ptest-genericx86-64.hddimg

test result
https://wiki.yoctoproject.org/wiki/Ptest_6bd890d9e011014cf323e61267f8b256949d44aa
 
tests were executed and The pass rate goes back the percentage, observing 4 failures on the results.

================failures====================
FAIL: wget-supports--P
FAIL: wget-retrieves-google-index
FAIL: wget-handles-empty-path
FAIL: wget--O-overrides--P
=====================================
full log in attachment
Comment 1 Armin Kuster 2017-12-03 16:39:34 UTC
latest in master passes:
run test multiplex.sh ...
test connection multiplexing: envpass
test connection multiplexing: transfer
test connection multiplexing: forward
test connection multiplexing: status 0
test connection multiplexing: status 1
test connection multiplexing: status 4
test connection multiplexing: status 5
test connection multiplexing: status 44
test connection multiplexing: cmd check
test connection multiplexing: cmd forward local (TCP)
test connection multiplexing: cmd forward remote (TCP)
test connection multiplexing: cmd forward local (UNIX)
test connection multiplexing: cmd forward remote (UNIX)
test connection multiplexing: cmd exit
test connection multiplexing: cmd stop
PASS: connection multiplexing
Comment 2 Armin Kuster 2017-12-03 16:43:34 UTC
(In reply to comment #1)
> latest in master passes:
> run test multiplex.sh ...
> test connection multiplexing: envpass
> test connection multiplexing: transfer
> test connection multiplexing: forward
> test connection multiplexing: status 0
> test connection multiplexing: status 1
> test connection multiplexing: status 4
> test connection multiplexing: status 5
> test connection multiplexing: status 44
> test connection multiplexing: cmd check
> test connection multiplexing: cmd forward local (TCP)
> test connection multiplexing: cmd forward remote (TCP)
> test connection multiplexing: cmd forward local (UNIX)
> test connection multiplexing: cmd forward remote (UNIX)
> test connection multiplexing: cmd exit
> test connection multiplexing: cmd stop
> PASS: connection multiplexing

wrong bug.
Comment 3 Armin Kuster 2017-12-03 16:46:53 UTC
this does pass in 1.27.2 if network is up and running.

need to check pyro
Comment 4 Juro Bystricky 2018-03-22 13:21:00 UTC
This is caused by network not configured properly (most likely running behind a proxy).

Make sure prior running any tests, you can properly execute:

# wget www.google.com

I rebuilt image core-image-sato-sdk-ptest for NUC.
After booting, I ran (behind a proxy, proxy not configured) 

# ptest-runner busybox 

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 (216.58.192.4): Connection timed out
FAIL: wget-handles-empty-path
+ test x '!=' x
+ busybox wget http://www.google.com
Connecting to www.google.com (172.217.3.196:80)
wget: can't connect to remote host (172.217.3.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.3.196): Connection timed out
FAIL: wget-supports--P

(same errors as in https://bugzilla.yoctoproject.org/attachment.cgi?id=3881 )

After I configured the proxy (export http_proxy=<proxy>, ...), I re-ran the test and got :

PASS: wget--O-overrides--P
PASS: wget-handles-empty-path
PASS: wget-retrieves-google-index
PASS: wget-supports--P