Bug 13076

Summary: [2.5.2 RC1] python ptest failure
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Sudhir Sharma <sharmasudhir>
Component: coreAssignee: Ross Burton <ross.burton>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Undecided CC: meta.mr.watcher, meta.watcher
Version: 2.5.2   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
Full log for 2.5.2 rc1
none
ptest_python_log none

Description Sudhir Sharma 2018-12-12 08:03:51 UTC
Created attachment 4404 [details]
Full log for 2.5.2 rc1

On running the ptest on 2.5.2 rc1,  it is seen that a new python test is getting failed:

----------------------
Package Name:  python
----------------------
-PASS: test_load_dh_params (test.test_ssl.ContextTests)

+FAIL: test_load_dh_params (test.test_ssl.ContextTests)

-PASS: test_redirect_no_path (test.test_urllib2.HandlerTests)

+FAIL: test_redirect_no_path (test.test_urllib2.HandlerTests)

-PASS: test_basic_auth_success (test.test_urllib2_localnet.BasicAuthTests)

+FAIL: test_basic_auth_success (test.test_urllib2_localnet.BasicAuthTests)

-PASS: test_load_dh_params (test.test_ssl.ContextTests)

+FAIL: test_load_dh_params (test.test_ssl.ContextTests)

-PASS: test_redirect_no_path (test.test_urllib2.HandlerTests)

+FAIL: test_redirect_no_path (test.test_urllib2.HandlerTests)

-PASS: test_basic_auth_success (test.test_urllib2_localnet.BasicAuthTests)

+FAIL: test_basic_auth_success (test.test_urllib2_localnet.BasicAuthTests)

------------------------
Total number of test cases passing in Previous release but failing in Current release:  6
------------------------

The full log for the ptest is attached for reference.
Comment 1 Ross Burton 2018-12-12 11:22:05 UTC
Works for me:

2 tests failed:
    test_distutils test_sysconfig

Those tests are expected to fail.

Note that all of your failures are network/SSL related, so I suspect your proxy and/or network configuration is bad.
Comment 2 Sudhir Sharma 2018-12-14 10:27:13 UTC
Created attachment 4411 [details]
ptest_python_log

Issue still persist even though we have set proxy.

Please find the proxy information below:

export http_proxy=http://proxy.png.intel.com:911
export https_proxy=https://proxy.png.intel.com:912