php / php/php-src

3 fiber tests fails on ppc64le Alpinelinux

Đang mở
#10,512 6 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Bug Category: Fibers Status: Needs Triage
Ngôn ngữ chính
C
Star
40.4k
Fork
8.1k
Merge trung bình
2 ngày 13 giờ
Pull request đã merge (30 ngày)
96

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu với ba bài kiểm thử đang thất bại trong Zend/tests/fibers/ và tái hiện chúng trên builder ppc64le Alpine Linux, đồng thời so sánh đầu ra của chúng với các kiến trúc khác. Truy vết những khác biệt đã được báo cáo và xác minh rằng cả ba bài kiểm thử đều vượt qua với đầu ra mong đợi trên ppc64le Alpine Linux.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
linux, php
Lĩnh vực
ci-cd, operating-systems, testing-qa
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.