Bug 13076 - [2.5.2 RC1] python ptest failure
Summary: [2.5.2 RC1] python ptest failure
Status: RESOLVED WORKSFORME
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.5.2
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2018-12-12 08:03 UTC by Sudhir Sharma
Modified: 2018-12-14 10:27 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
Full log for 2.5.2 rc1 (4.03 MB, text/plain)
2018-12-12 08:03 UTC, Sudhir Sharma
no flags Details
ptest_python_log (1.80 MB, text/plain)
2018-12-14 10:27 UTC, Sudhir Sharma
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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