Bug 1721931
| Summary: | py4j fails to build with Python 3.8 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
| Component: | py4j | Assignee: | Raphael Groner <projects.rg> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | projects.rg, pviktori |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-07-29 23:11:51 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1686977 | ||
> [junit] Caused by: java.net.BindException: Address already in use (Bind failed)
Did you try again? Maybe test failure happens due to a temporary network issue.
Yes, I have reproduced this multiple times. Please retry with new version 0.10.8.1 (see bug #1721931) built successfully in rawhide and within local mock with your python38 repo. Please retry with new version 0.10.8.1 (see bug #1701163) built successfully in rawhide and within local mock with your python38 repo. > Please retry with new version 0.10.8.1
Any news for a rebuild?
I can confirm this built successfully now: https://copr.fedorainfracloud.org/coprs/g/python/python3.8/build/975503/ Sorry for the delay in reporting back! It fails again now.
+ ant -f py4j-java/build.xml java-test
BUILD FAILED
/builddir/build/BUILD/py4j-0.10.8.1/py4j-java/build.xml:141: Test py4j.GatewayServerTest failed
Total time: 6 seconds
error: Bad exit status from /var/tmp/rpm-tmp.93GEBv (%check)
Buildfile: /builddir/build/BUILD/py4j-0.10.8.1/py4j-java/build.xml
init:
build:
[echo] py4j: /builddir/build/BUILD/py4j-0.10.8.1/py4j-java/build.xml
java-test:
[junit] Testsuite: py4j.BufferGatewayTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.066 sec
[junit]
[junit] Testsuite: py4j.ClientServerTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.788 sec
[junit]
[junit] Testsuite: py4j.EchoClientTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.028 sec
[junit]
[junit] ------------- Standard Output ---------------
[junit] EchoServer started...
[junit] Waiting for echo input.
[junit] Echo received: yi7
[junit] Waiting for echo input.
[junit] Echo received: x
[junit] Waiting for echo input.
[junit] Echo received: null
[junit] Reading commands
[junit] Received temp: c
[junit] Received temp: g
[junit] Received temp: getExample
[junit] Received temp: e
[junit] yi7
[junit] Reading commands
[junit] Received temp: c
[junit] Received temp: o1
[junit] Received temp: method1
[junit] Received temp: i1
[junit] Received temp: btrue
[junit] Received temp: e
[junit] x
[junit] Reading commands
[junit] Received temp: null
[junit] ------------- ---------------- ---------------
[junit] Testsuite: py4j.EchoServerTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.536 sec
[junit]
[junit] ------------- Standard Output ---------------
[junit] EchoServer started...
[junit] Waiting for echo input.
[junit] Echo received: yi7
[junit] Waiting for echo input.
[junit] Echo received: x
[junit] Waiting for echo input.
[junit] Reading commands
[junit] Echo received: null
[junit] Received temp: c
[junit] Received temp: t
[junit] Received temp: getExample
[junit] Received temp: e
[junit] yi7
[junit] Reading commands
[junit] Received temp: c
[junit] Received temp: o0
[junit] Received temp: method1
[junit] Received temp: i1
[junit] Received temp: btrue
[junit] Received temp: e
[junit] x
[junit] ------------- ---------------- ---------------
[junit] Reading commands
[junit] Received temp: null
[junit] Testsuite: py4j.GatewayServerTest
[junit] Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.817 sec
[junit]
[junit] Testcase: testListener(py4j.GatewayServerTest): Caused an ERROR
[junit] null
[junit] py4j.Py4JNetworkException
[junit] at py4j.GatewayServer.startSocket(GatewayServer.java:789)
[junit] at py4j.GatewayServer.start(GatewayServer.java:764)
[junit] at py4j.GatewayServer.start(GatewayServer.java:747)
[junit] at py4j.GatewayServerTest.testListener(GatewayServerTest.java:82)
[junit] Caused by: java.net.BindException: Address already in use (Bind failed)
[junit] at java.net.PlainSocketImpl.socketBind(Native Method)
[junit] at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
[junit] at java.net.ServerSocket.bind(ServerSocket.java:375)
[junit] at py4j.GatewayServer.startSocket(GatewayServer.java:787)
[junit]
[junit]
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.93GEBv (%check)
The build is just flaky. |
py4j fails to build with Python 3.8.0b1. + ant -f py4j-java/build.xml java-test BUILD FAILED /builddir/build/BUILD/py4j-0.10.7/py4j-java/build.xml:141: Test py4j.GatewayServerTest failed Total time: 6 seconds error: Bad exit status from /var/tmp/rpm-tmp.egHEsw (%check) Buildfile: /builddir/build/BUILD/py4j-0.10.7/py4j-java/build.xml init: build: [echo] py4j: /builddir/build/BUILD/py4j-0.10.7/py4j-java/build.xml java-test: [junit] Testsuite: py4j.BufferGatewayTest [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.074 sec [junit] [junit] Testsuite: py4j.ClientServerTest [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.791 sec [junit] [junit] Testsuite: py4j.EchoClientTest [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.028 sec [junit] [junit] ------------- Standard Output --------------- [junit] EchoServer started... [junit] Waiting for echo input. [junit] Echo received: yi7 [junit] Reading commands [junit] Waiting for echo input. [junit] Echo received: x [junit] Waiting for echo input. [junit] Echo received: null [junit] Received temp: c [junit] Received temp: g [junit] Received temp: getExample [junit] Received temp: e [junit] yi7 [junit] Reading commands [junit] Received temp: c [junit] Received temp: o1 [junit] Received temp: method1 [junit] Received temp: i1 [junit] Received temp: btrue [junit] Received temp: e [junit] x [junit] Reading commands [junit] Received temp: null [junit] ------------- ---------------- --------------- [junit] Testsuite: py4j.EchoServerTest [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.525 sec [junit] [junit] ------------- Standard Output --------------- [junit] EchoServer started... [junit] Waiting for echo input. [junit] Echo received: yi7 [junit] Waiting for echo input. [junit] Echo received: x [junit] Waiting for echo input. [junit] Reading commands [junit] Echo received: null [junit] Received temp: c [junit] Received temp: t [junit] Received temp: getExample [junit] Received temp: e [junit] yi7 [junit] Reading commands [junit] Received temp: c [junit] Received temp: o0 [junit] Received temp: method1 [junit] Received temp: i1 [junit] Received temp: btrue [junit] Received temp: e [junit] x [junit] ------------- ---------------- --------------- [junit] Reading commands [junit] Received temp: null [junit] Testsuite: py4j.GatewayServerTest [junit] Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.823 sec [junit] [junit] Testcase: testListener(py4j.GatewayServerTest): Caused an ERROR [junit] null [junit] py4j.Py4JNetworkException [junit] at py4j.GatewayServer.startSocket(GatewayServer.java:789) [junit] at py4j.GatewayServer.start(GatewayServer.java:764) [junit] at py4j.GatewayServer.start(GatewayServer.java:747) [junit] at py4j.GatewayServerTest.testListener(GatewayServerTest.java:82) [junit] Caused by: java.net.BindException: Address already in use (Bind failed) [junit] at java.net.PlainSocketImpl.socketBind(Native Method) [junit] at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387) [junit] at java.net.ServerSocket.bind(ServerSocket.java:375) [junit] at py4j.GatewayServer.startSocket(GatewayServer.java:787) [junit] [junit] RPM build errors: Bad exit status from /var/tmp/rpm-tmp.egHEsw (%check) For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.8/fedora-rawhide-x86_64/00940036-py4j/ For all our attempts to build py4j with Python 3.8, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.8/package/py4j/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.8: https://copr.fedorainfracloud.org/coprs/g/python/python3.8/ Let us know here if you have any questions.