Bug 12848 - [2.3.4 rc1] glib-2.0 ptest failed
Summary: [2.3.4 rc1] glib-2.0 ptest failed
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.3.4
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2018-07-09 02:56 UTC by Manish Das
Modified: 2018-07-09 11:54 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
Ptest logs for 2.3.4rc1 and2.3.3rc1 (1.23 MB, application/zip)
2018-07-09 02:56 UTC, Manish Das
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Manish Das 2018-07-09 02:56:30 UTC
Created attachment 4342 [details]
Ptest logs for 2.3.4rc1 and2.3.3rc1

Performed diff and found that glib-2.0 tests that passed in 2.3.3 rc1 are failing in 2.3.4rc1.

Complete log files for ptest (2.3.3rc1 and 2.3.4rc1) are attached for debugging.


-BEGIN: /usr/lib/glib-2.0/ptest
-Running test: glib/giomodule.test
-# random seed: R02Sf88743c62af78a2f46b0b83c586b5fba
-1..3
-# Start of giomodule tests
-ok 1 /giomodule/extension-point
-ok 2 /giomodule/module-scan-all
-ok 3 /giomodule/module-scan-all-with-scope
-# End of giomodule tests
-PASS: glib/giomodule.test
Comment 1 yeoh ee peng 2018-07-09 03:57:07 UTC
(In reply to comment #0)
> Created attachment 4342 [details]
> Ptest logs for 2.3.4rc1 and2.3.3rc1
> 
> Performed diff and found that glib-2.0 tests that passed in 2.3.3 rc1 are
> failing in 2.3.4rc1.
> 
> Complete log files for ptest (2.3.3rc1 and 2.3.4rc1) are attached for
> debugging.
> 
> 
> -BEGIN: /usr/lib/glib-2.0/ptest
> -Running test: glib/giomodule.test
> -# random seed: R02Sf88743c62af78a2f46b0b83c586b5fba
> -1..3
> -# Start of giomodule tests
> -ok 1 /giomodule/extension-point
> -ok 2 /giomodule/module-scan-all
> -ok 3 /giomodule/module-scan-all-with-scope
> -# End of giomodule tests
> -PASS: glib/giomodule.test

Hi Manish,

Are you able to share the list of tests that passed in 2.3.3.rc1 and failed in 2.3.4.rc1?
Comment 2 Manish Das 2018-07-09 08:13:09 UTC
It is observed that some of the cases for the glib-2.0 module is not present in the 2.3.3 rc1 module but is present in the 2.3.4 rc1 module. The logs are given below. the logs are given below: 

+BEGIN: /usr/lib/glib-2.0/ptest
+Running test: glib/asyncqueue-test.test
+PASS: glib/asyncqueue-test.test
 Running test: glib/checksum.test
-# random seed: R02S910e7f698ca0735182824573fa5cffe3
+# random seed: R02S2133d9af23080dd841d7318c582781a9
 1..1481

 # Start of checksum tests
 ok 1 /checksum/unsupported
@@ -14124,131 +12982,8 @@ ok 1481 /checksum/SHA512/reset/183
 # End of SHA512 tests
 # End of checksum tests
 PASS: glib/checksum.test
-Running test: glib/g-icon.test
-# random seed: R02Sf14aeb93040d156868d44290acbf5564
-1..6

-# Start of icons tests
-ok 1 /icons/to-string
-ok 2 /icons/serialize
-ok 3 /icons/themed
-ok 4 /icons/emblemed
-ok 5 /icons/file
-ok 6 /icons/bytes
-# End of icons tests

-PASS: glib/g-icon.test

-Running test: glib/io-stream.test
-# random seed: R02S668890539ad3ccddf6b111dfaccf89ed
-1..3
-# Start of io-stream tests
-ok 1 /io-stream/copy-chunks

-# Start of close tests

-# Start of async tests
-ok 2 /io-stream/close/async/memory
-ok 3 /io-stream/close/async/file

-# End of async tests
-# End of close tests
-# End of io-stream tests

-PASS: glib/io-stream.test
-Running test: glib/unix-streams.test
-# random seed: R02Sbaceda66085fa9b3dfb753bd0da05ff9
-1..3

-# Start of unix-streams tests
-ok 1 /unix-streams/basic
-ok 2 /unix-streams/pipe-io-test
-ok 3 /unix-streams/nonblocking-io-test
-# End of unix-streams tests

-PASS: glib/unix-streams.test
-Running test: glib/contenttype.test
-# random seed: R02S169f50ca7eb57dd6cee4d3361fe678d3
-1..9

-# Start of contenttype tests
-ok 1 /contenttype/guess
-ok 2 /contenttype/unknown
-ok 3 /contenttype/subtype
-ok 4 /contenttype/list
-ok 5 /contenttype/executable
-ok 6 /contenttype/description
-ok 7 /contenttype/icon
-ok 8 /contenttype/symbolic-icon
...skipping...
 END: /usr/lib/glib-2.0/ptest
Comment 3 Ross Burton 2018-07-09 11:07:50 UTC
Unless I'm mistaken that just looks like the test suite has changed.

From looking at the log output the execution is mangled terribly, looks like the ptest-gnome integration is broken.
Comment 4 Ross Burton 2018-07-09 11:54:44 UTC
Your diffs just show the test suite changing, and I've just run the ptest in master and it was 100% pass.