Skip to content

3 fiber tests fails on ppc64le Alpinelinux #10512

Open
@andypost

Description

@andypost

Description

The following tests are always fails at CI and builders:

Zend/tests/fibers/no-switch-force-close-finally.phpt
Zend/tests/fibers/suspend-in-force-close-fiber-after-shutdown.phpt
Zend/tests/fibers/throw-in-multiple-destroyed-fibers-after-shutdown.phpt

Resulted in this output:

TEST 2620/15985 [Zend/tests/fibers/no-switch-force-close-finally.phpt]
========DIFF========
     finally
002- 
003- Fatal error: Uncaught FiberError: Cannot switch fibers in current execution context in %sno-switch-force-close-finally.php:%d
004- Stack trace:
005- #0 %sno-switch-force-close-finally.php(%d): Fiber->start()
006- #1 [internal function]: {closure}()
007- #2 {main}
008-   thrown in %sno-switch-force-close-finally.php on line %d
========DONE========
FAIL Cannot start a new fiber in a finally block in a force-closed fiber [Zend/tests/fibers/no-switch-force-close-finally.phpt] 
...
TEST 2636/15985 [Zend/tests/fibers/suspend-in-force-close-fiber-after-shutdown.phpt]
========DIFF========
     done
002- 
003- Fatal error: Uncaught FiberError: Cannot suspend in a force-closed fiber in %ssuspend-in-force-close-fiber-after-shutdown.php:%d
004- Stack trace:
005- #0 %ssuspend-in-force-close-fiber-after-shutdown.php(%d): Fiber::suspend()
006- #1 [internal function]: {closure}()
007- #2 {main}
008-   thrown in %ssuspend-in-force-close-fiber-after-shutdown.php on line %d
========DONE========
FAIL Suspend in force-closed fiber after shutdown [Zend/tests/fibers/suspend-in-force-close-fiber-after-shutdown.phpt] 
...
TEST 2642/15985 [Zend/tests/fibers/throw-in-multiple-destroyed-fibers-after-shutdown.phpt]
========DIFF========
     done
002- 
003- Fatal error: Uncaught Exception: test1 in %sthrow-in-multiple-destroyed-fibers-after-shutdown.php:%d
004- Stack trace:
005- #0 [internal function]: {closure}()
006- #1 {main}
007- 
008- Next Exception: test2 in %sthrow-in-multiple-destroyed-fibers-after-shutdown.php:%d
009- Stack trace:
010- #0 [internal function]: {closure}()
011- #1 {main}
012-   thrown in %sthrow-in-multiple-destroyed-fibers-after-shutdown.php on line %d
========DONE========
FAIL Throw in multiple destroyed fibers after shutdown [Zend/tests/fibers/throw-in-multiple-destroyed-fibers-after-shutdown.phpt] 

But it works properly all other arches

PHP Version

PHP 8.1+

Operating System

Alpinelinux

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions