Bug 1032468

Summary: tcl tests fails with GCC7
Product: [openSUSE] openSUSE Tumbleweed Reporter: Martin Liška <martin.liska>
Component: BasesystemAssignee: Reinhard Max <max>
Status: RESOLVED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: max, mseben
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1030236    
Attachments: Local build log

Description Martin Liška 2017-04-05 09:02:28 UTC
I noticed that following tests fail on x86_64:


[  508s] ==== thread-7.28 cancel: send async cancel nested catch inside pure bytecode loop FAILED
[  508s] ==== Contents of test case:

[  511s] ==== thread-7.31 cancel: send async thread cancel nested catch pure inside-command loop FAILED
[  511s] ==== Contents of test case:

Can be seen:
https://build.opensuse.org/package/show/openSUSE:Factory:Staging:C/tcl

I would appreciate if one can debug that.
Comment 1 Reinhard Max 2017-04-05 10:14:11 UTC
I'll have a look.
Comment 2 Reinhard Max 2017-04-05 12:12:54 UTC
I cannot reproduce the failure when building openSUSE:Factory:Staging:C/tcl locally, so maybe it was just a hickup and will work in the next build.
Comment 3 Martin Liška 2017-04-05 12:49:04 UTC
Created attachment 719947 [details]
Local build log

I can reproduce that locally, can you please take a look at the build log and suggest how to debug? Thanks.
Comment 4 Martin Liška 2017-04-05 12:49:32 UTC
Reopening.
Comment 5 Reinhard Max 2017-04-05 13:05:30 UTC
Your local build shows a completely different set of failures, all located in the http package whereas the ones in the build service are located in the thread extension.

For those http tests, the Tcl test suite tries to open a dummy server on port 8010, and the test results look like some other http server was running on that port on your machine already. Unfortunately the test suite wasn't reporting that as an error in the first place.

Before we continue debugging this, we should retrigger the build in OBS to see if it reproducable there.
Comment 6 Martin Liška 2017-04-05 13:07:38 UTC
(In reply to Reinhard Max from comment #5)
> Your local build shows a completely different set of failures, all located
> in the http package whereas the ones in the build service are located in the
> thread extension.
> 
> For those http tests, the Tcl test suite tries to open a dummy server on
> port 8010, and the test results look like some other http server was running
> on that port on your machine already. Unfortunately the test suite wasn't
> reporting that as an error in the first place.

Yep, I'm running local webserver on the port. I'll try to run obs locally with --vm-type qemu.

> 
> Before we continue debugging this, we should retrigger the build in OBS to
> see if it reproducable there.
Comment 7 Reinhard Max 2017-04-05 13:16:34 UTC
OK, and I'll change these tests to us a random unused port.
Comment 8 Reinhard Max 2017-04-05 14:19:18 UTC
It has meanwhile built successfully in openSUSE:Factory:Staging:C.