See 
<https://ci-beam.apache.org/job/beam_PostCommit_PortableJar_Flink/3833/display/redirect>

Changes:


------------------------------------------
[...truncated 173.51 KB...]
INFO:apache_beam.runners.portability.abstract_job_service:Artifact server 
started on port 36387
INFO:apache_beam.runners.portability.abstract_job_service:Running job 
'job-ee88d0ba-e3b5-4d93-8ba4-6375a6ca08ab'
Traceback (most recent call last):
  File 
"<https://ci-beam.apache.org/job/beam_PostCommit_PortableJar_Flink/ws/src/build/gradleenv/2022703441/lib/python3.7/site-packages/urllib3/connection.py";,>
 line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File 
"<https://ci-beam.apache.org/job/beam_PostCommit_PortableJar_Flink/ws/src/build/gradleenv/2022703441/lib/python3.7/site-packages/urllib3/util/connection.py";,>
 line 96, in create_connection
    raise err
  File 
"<https://ci-beam.apache.org/job/beam_PostCommit_PortableJar_Flink/ws/src/build/gradleenv/2022703441/lib/python3.7/site-packages/urllib3/util/connection.py";,>
 line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File 
"<https://ci-beam.apache.org/job/beam_PostCommit_PortableJar_Flink/ws/src/build/gradleenv/2022703441/lib/python3.7/site-packages/urllib3/connectionpool.py";,>
 line 706, in urlopen
    chunked=chunked,
  File 
"<https://ci-beam.apache.org/job/beam_PostCommit_PortableJar_Flink/ws/src/build/gradleenv/2022703441/lib/python3.7/site-packages/urllib3/connectionpool.py";,>
 line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File 
"<https://ci-beam.apache.org/job/beam_PostCommit_PortableJar_Flink/ws/src/build/gradleenv/2022703441/lib/python3.7/site-packages/urllib3/connection.py";,>
 line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.7/http/client.py", line 1229, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1275, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1224, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1016, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 956, in send
    self.connect()
  File 
"<https://ci-beam.apache.org/job/beam_PostCommit_PortableJar_Flink/ws/src/build/gradleenv/2022703441/lib/python3.7/site-packages/urllib3/connection.py";,>
 line 200, in connect
    conn = self._new_conn()
  File 
"<https://ci-beam.apache.org/job/beam_PostCommit_PortableJar_Flink/ws/src/build/gradleenv/2022703441/lib/python3.7/site-packages/urllib3/connection.py";,>
 line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection 
object at 0x7f8140ed5a20>: Failed to establish a new connection: [Errno 111] 
Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File 
"<https://ci-beam.apache.org/job/beam_PostCommit_PortableJar_Flink/ws/src/build/gradleenv/2022703441/lib/python3.7/site-packages/requests/adapters.py";,>
 line 449, in send
    timeout=timeout
  File 
"<https://ci-beam.apache.org/job/beam_PostCommit_PortableJar_Flink/ws/src/build/gradleenv/2022703441/lib/python3.7/site-packages/urllib3/connectionpool.py";,>
 line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File 
"<https://ci-beam.apache.org/job/beam_PostCommit_PortableJar_Flink/ws/src/build/gradleenv/2022703441/lib/python3.7/site-packages/urllib3/util/retry.py";,>
 line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', 
port=36263): Max retries exceeded with url: /v1/jars/upload (Caused by 
NewConnectionError('<urllib3.connection.HTTPConnection object at 
0x7f8140ed5a20>: Failed to establish a new connection: [Errno 111] Connection 
refused'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 31, in <module>
  File 
"<https://ci-beam.apache.org/job/beam_PostCommit_PortableJar_Flink/ws/src/sdks/python/apache_beam/pipeline.py";,>
 line 564, in run
    return self.runner.run_pipeline(self, self._options)
  File 
"<https://ci-beam.apache.org/job/beam_PostCommit_PortableJar_Flink/ws/src/sdks/python/apache_beam/runners/portability/flink_runner.py";,>
 line 45, in run_pipeline
    return super(FlinkRunner, self).run_pipeline(pipeline, options)
  File 
"<https://ci-beam.apache.org/job/beam_PostCommit_PortableJar_Flink/ws/src/sdks/python/apache_beam/runners/portability/portable_runner.py";,>
 line 440, in run_pipeline
    job_service_handle.submit(proto_pipeline)
  File 
"<https://ci-beam.apache.org/job/beam_PostCommit_PortableJar_Flink/ws/src/sdks/python/apache_beam/runners/portability/portable_runner.py";,>
 line 115, in submit
    return self.run(prepare_response.preparation_id)
  File 
"<https://ci-beam.apache.org/job/beam_PostCommit_PortableJar_Flink/ws/src/sdks/python/apache_beam/runners/portability/portable_runner.py";,>
 line 242, in run
    beam_job_api_pb2.RunJobRequest(preparation_id=preparation_id))
  File 
"<https://ci-beam.apache.org/job/beam_PostCommit_PortableJar_Flink/ws/src/sdks/python/apache_beam/runners/portability/abstract_job_service.py";,>
 line 120, in Run
    self._jobs[job_id].run()
  File 
"<https://ci-beam.apache.org/job/beam_PostCommit_PortableJar_Flink/ws/src/sdks/python/apache_beam/runners/portability/flink_uber_jar_job_server.py";,>
 line 150, in run
    files={'jarfile': ('beam.jar', jar_file)})['filename'].split('/')[-1]
  File 
"<https://ci-beam.apache.org/job/beam_PostCommit_PortableJar_Flink/ws/src/sdks/python/apache_beam/runners/portability/flink_uber_jar_job_server.py";,>
 line 138, in post
    return self.request(requests.post, path, **kwargs)
  File 
"<https://ci-beam.apache.org/job/beam_PostCommit_PortableJar_Flink/ws/src/sdks/python/apache_beam/runners/portability/flink_uber_jar_job_server.py";,>
 line 126, in request
    response = method(url, **kwargs)
  File 
"<https://ci-beam.apache.org/job/beam_PostCommit_PortableJar_Flink/ws/src/build/gradleenv/2022703441/lib/python3.7/site-packages/requests/api.py";,>
 line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File 
"<https://ci-beam.apache.org/job/beam_PostCommit_PortableJar_Flink/ws/src/build/gradleenv/2022703441/lib/python3.7/site-packages/requests/api.py";,>
 line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File 
"<https://ci-beam.apache.org/job/beam_PostCommit_PortableJar_Flink/ws/src/build/gradleenv/2022703441/lib/python3.7/site-packages/requests/sessions.py";,>
 line 542, in request
    resp = self.send(prep, **send_kwargs)
  File 
"<https://ci-beam.apache.org/job/beam_PostCommit_PortableJar_Flink/ws/src/build/gradleenv/2022703441/lib/python3.7/site-packages/requests/sessions.py";,>
 line 655, in send
    r = adapter.send(request, **kwargs)
  File 
"<https://ci-beam.apache.org/job/beam_PostCommit_PortableJar_Flink/ws/src/build/gradleenv/2022703441/lib/python3.7/site-packages/requests/adapters.py";,>
 line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', 
port=36263): Max retries exceeded with url: /v1/jars/upload (Caused by 
NewConnectionError('<urllib3.connection.HTTPConnection object at 
0x7f8140ed5a20>: Failed to establish a new connection: [Errno 111] Connection 
refused'))
Jul 12, 2021 12:27:09 PM 
org.apache.flink.runtime.webmonitor.WebMonitorUtils$LogFileLocation find
WARNING: Log file environment variable 'log.file' is not set.
Jul 12, 2021 12:27:09 PM 
org.apache.flink.runtime.webmonitor.WebMonitorUtils$LogFileLocation find
WARNING: JobManager log files are unavailable in the web dashboard. Log file 
location not found in environment variable 'log.file' or configuration key 
'web.log.path'.

kill %1 || echo "Failed to shut down Flink mini cluster"

rm -rf "$ENV_DIR"
Jul 12, 2021 12:27:09 PM org.apache.flink.runtime.blob.AbstractBlobCache close
INFO: Shutting down BLOB cache
Jul 12, 2021 12:27:09 PM 
org.apache.flink.runtime.state.TaskExecutorLocalStateStoresManager shutdown
INFO: Shutting down TaskExecutorLocalStateStoresManager.

if [[ "$TEST_EXIT_CODE" -eq 0 ]]; then
  echo ">>> SUCCESS"
else
  echo ">>> FAILURE"
fi
exit $TEST_EXIT_CODE

> Task 
> :sdks:python:test-suites:portable:py36:testUberJarFlinkRunnerSaveMainSession 
> FAILED
Jul 12, 2021 12:27:09 PM 
org.apache.flink.runtime.highavailability.nonha.embedded.EmbeddedLeaderService 
updateLeader
INFO: Proposing leadership to contender http://127.0.0.1:46261
Jul 12, 2021 12:27:09 PM org.apache.flink.runtime.webmonitor.WebMonitorEndpoint 
startInternal
INFO: Web frontend listening at http://127.0.0.1:46261.
Jul 12, 2021 12:27:09 PM org.apache.flink.runtime.webmonitor.WebMonitorEndpoint 
grantLeadership
INFO: http://127.0.0.1:46261 was granted leadership with 
leaderSessionID=5f1426ae-419f-473a-9782-7c22ae3bd2cf
Jul 12, 2021 12:27:09 PM 
org.apache.flink.runtime.highavailability.nonha.embedded.EmbeddedLeaderService 
confirmLeader
INFO: Received confirmation of leadership for leader http://127.0.0.1:46261 , 
session=5f1426ae-419f-473a-9782-7c22ae3bd2cf
Jul 12, 2021 12:27:09 PM org.apache.flink.runtime.rpc.akka.AkkaRpcService 
startServer
INFO: Starting RPC endpoint for 
org.apache.flink.runtime.resourcemanager.StandaloneResourceManager at 
akka://flink/user/rpc/resourcemanager_1 .
Jul 12, 2021 12:27:09 PM 
org.apache.flink.runtime.highavailability.nonha.embedded.EmbeddedLeaderService 
updateLeader
INFO: Proposing leadership to contender LeaderContender: DefaultDispatcherRunner
Jul 12, 2021 12:27:09 PM 
org.apache.flink.runtime.resourcemanager.ResourceManager onStart
INFO: Starting the resource manager.
Jul 12, 2021 12:27:09 PM 
org.apache.flink.runtime.highavailability.nonha.embedded.EmbeddedLeaderService 
updateLeader
INFO: Proposing leadership to contender LeaderContender: 
StandaloneResourceManager
Jul 12, 2021 12:27:09 PM 
org.apache.flink.runtime.resourcemanager.ResourceManager tryAcceptLeadership
INFO: ResourceManager akka://flink/user/rpc/resourcemanager_1 was granted 
leadership with fencing token 8c57fbbbea7e23436a370f5b5acd43fe
Jul 12, 2021 12:27:09 PM org.apache.flink.runtime.minicluster.MiniCluster start
INFO: Flink Mini Cluster started successfully
Jul 12, 2021 12:27:09 PM 
org.apache.flink.runtime.dispatcher.runner.AbstractDispatcherLeaderProcess 
startInternal
INFO: Start SessionDispatcherLeaderProcess.
Jul 12, 2021 12:27:09 PM 
org.apache.flink.runtime.dispatcher.runner.SessionDispatcherLeaderProcess 
recoverJobs
INFO: Recover all persisted job graphs.
Jul 12, 2021 12:27:09 PM 
org.apache.flink.runtime.dispatcher.runner.SessionDispatcherLeaderProcess 
recoverJobs
INFO: Successfully recovered 0 persisted job graphs.
Jul 12, 2021 12:27:09 PM 
org.apache.flink.runtime.highavailability.nonha.embedded.EmbeddedLeaderService 
confirmLeader
INFO: Received confirmation of leadership for leader 
akka://flink/user/rpc/resourcemanager_1 , 
session=6a370f5b-5acd-43fe-8c57-fbbbea7e2343
Jul 12, 2021 12:27:10 PM org.apache.flink.runtime.taskexecutor.TaskExecutor 
connectToResourceManager
INFO: Connecting to ResourceManager 
akka://flink/user/rpc/resourcemanager_1(8c57fbbbea7e23436a370f5b5acd43fe).
Jul 12, 2021 12:27:10 PM org.apache.flink.runtime.rpc.akka.AkkaRpcService 
startServer
INFO: Starting RPC endpoint for 
org.apache.flink.runtime.dispatcher.StandaloneDispatcher at 
akka://flink/user/rpc/dispatcher_2 .
Jul 12, 2021 12:27:10 PM 
org.apache.flink.runtime.highavailability.nonha.embedded.EmbeddedLeaderService 
confirmLeader
INFO: Received confirmation of leadership for leader 
akka://flink/user/rpc/dispatcher_2 , 
session=d757d09c-a817-4071-9d90-c15c3eb6d83f
Jul 12, 2021 12:27:10 PM 
org.apache.flink.runtime.registration.RetryingRegistration 
lambda$startRegistration$0
INFO: Resolved ResourceManager address, beginning registration

kill %1 || echo "Failed to shut down Flink mini cluster"

rm -rf "$ENV_DIR"
Jul 12, 2021 12:27:10 PM org.apache.flink.runtime.blob.AbstractBlobCache close
INFO: Shutting down BLOB cache
Jul 12, 2021 12:27:10 PM 
org.apache.flink.runtime.state.TaskExecutorLocalStateStoresManager shutdown
INFO: Shutting down TaskExecutorLocalStateStoresManager.
Jul 12, 2021 12:27:10 PM 
org.apache.flink.runtime.resourcemanager.ResourceManager 
registerTaskExecutorInternal
INFO: Registering TaskManager with ResourceID 
9837c9df-5bf4-4d32-9630-0e2b061b43b1 (akka://flink/user/rpc/taskmanager_0) at 
ResourceManager

if [[ "$TEST_EXIT_CODE" -eq 0 ]]; then
  echo ">>> SUCCESS"
else
  echo ">>> FAILURE"
fi
exit $TEST_EXIT_CODE

FAILURE: Build completed with 6 failures.

1: Task failed with an exception.
-----------
* Where:
Script 
'<https://ci-beam.apache.org/job/beam_PostCommit_PortableJar_Flink/ws/src/sdks/python/test-suites/portable/common.gradle'>
 line: 213

* What went wrong:
Execution failed for task 
':sdks:python:test-suites:portable:py37:testJavaJarCreatorFlinkRunner'.
> Process 'command 'sh'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug 
option to get more log output. Run with --scan to get full insights.
==============================================================================

2: Task failed with an exception.
-----------
* Where:
Script 
'<https://ci-beam.apache.org/job/beam_PostCommit_PortableJar_Flink/ws/src/sdks/python/test-suites/portable/common.gradle'>
 line: 213

* What went wrong:
Execution failed for task 
':sdks:python:test-suites:portable:py36:testJavaJarCreatorFlinkRunner'.
> Process 'command 'sh'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug 
option to get more log output. Run with --scan to get full insights.
==============================================================================

3: Task failed with an exception.
-----------
* Where:
Script 
'<https://ci-beam.apache.org/job/beam_PostCommit_PortableJar_Flink/ws/src/sdks/python/test-suites/portable/common.gradle'>
 line: 241

* What went wrong:
Execution failed for task 
':sdks:python:test-suites:portable:py36:testUberJarFlinkRunner'.
> Process 'command 'sh'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug 
option to get more log output. Run with --scan to get full insights.
==============================================================================

4: Task failed with an exception.
-----------
* Where:
Script 
'<https://ci-beam.apache.org/job/beam_PostCommit_PortableJar_Flink/ws/src/sdks/python/test-suites/portable/common.gradle'>
 line: 241

* What went wrong:
Execution failed for task 
':sdks:python:test-suites:portable:py37:testUberJarFlinkRunner'.
> Process 'command 'sh'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug 
option to get more log output. Run with --scan to get full insights.
==============================================================================

5: Task failed with an exception.
-----------
* Where:
Script 
'<https://ci-beam.apache.org/job/beam_PostCommit_PortableJar_Flink/ws/src/sdks/python/test-suites/portable/common.gradle'>
 line: 241

* What went wrong:
Execution failed for task 
':sdks:python:test-suites:portable:py37:testUberJarFlinkRunnerSaveMainSession'.
> Process 'command 'sh'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug 
option to get more log output. Run with --scan to get full insights.
==============================================================================

6: Task failed with an exception.
-----------
* Where:
Script 
'<https://ci-beam.apache.org/job/beam_PostCommit_PortableJar_Flink/ws/src/sdks/python/test-suites/portable/common.gradle'>
 line: 241

* What went wrong:
Execution failed for task 
':sdks:python:test-suites:portable:py36:testUberJarFlinkRunnerSaveMainSession'.
> Process 'command 'sh'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug 
option to get more log output. Run with --scan to get full insights.
==============================================================================

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with 
Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See 
https://docs.gradle.org/6.8.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 26m 39s
154 actionable tasks: 111 executed, 40 from cache, 3 up-to-date

Publishing build scan...
https://gradle.com/s/g6etn6yjoybmm

Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to