See 
<https://ci-beam.apache.org/job/beam_PostCommit_Sickbay_Python38/9/display/redirect?page=changes>

Changes:

[noreply] [BEAM-14351] Inherit from Coder. (#17437)


------------------------------------------
[...truncated 23.15 KB...]
  Using cached google_api_core-2.7.2-py3-none-any.whl (114 kB)
Requirement already satisfied: packaging>=14.3 in 
<https://ci-beam.apache.org/job/beam_PostCommit_Sickbay_Python38/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages>
 (from google-cloud-bigquery<3,>=1.6.0->apache-beam==2.39.0.dev0) (21.3)
Collecting grpc-google-iam-v1<0.13dev,>=0.12.3
  Using cached grpc_google_iam_v1-0.12.4-py2.py3-none-any.whl (26 kB)
Collecting google-api-core<2.0.0dev,>=1.21.0
  Using cached google_api_core-1.31.5-py2.py3-none-any.whl (93 kB)
Collecting google-auth<3,>=1.18.0
  Using cached google_auth-1.35.0-py2.py3-none-any.whl (152 kB)
Requirement already satisfied: setuptools>=40.3.0 in 
<https://ci-beam.apache.org/job/beam_PostCommit_Sickbay_Python38/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages>
 (from google-auth<3,>=1.18.0->apache-beam==2.39.0.dev0) (62.1.0)
Collecting grpcio-status>=1.16.0
  Using cached grpcio_status-1.44.0-py3-none-any.whl (10.0 kB)
Collecting overrides<7.0.0,>=6.0.1
  Using cached overrides-6.1.0-py3-none-any.whl (14 kB)
Collecting docopt
  Using cached docopt-0.6.2-py2.py3-none-any.whl
Collecting pyparsing<3,>=2.4.2
  Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting pbr>=0.11
  Using cached pbr-5.8.1-py2.py3-none-any.whl (113 kB)
Collecting atomicwrites>=1.0
  Using cached atomicwrites-1.4.0-py2.py3-none-any.whl (6.8 kB)
Collecting attrs>=17.4.0
  Using cached attrs-21.4.0-py2.py3-none-any.whl (60 kB)
Collecting wcwidth
  Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Collecting more-itertools>=4.0.0
  Using cached more_itertools-8.12.0-py3-none-any.whl (54 kB)
Requirement already satisfied: py>=1.5.0 in 
<https://ci-beam.apache.org/job/beam_PostCommit_Sickbay_Python38/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages>
 (from pytest<5.0,>=4.4.0->apache-beam==2.39.0.dev0) (1.11.0)
Collecting pluggy<1.0,>=0.12
  Using cached pluggy-0.13.1-py2.py3-none-any.whl (18 kB)
Collecting execnet>=1.1
  Using cached execnet-1.9.0-py2.py3-none-any.whl (39 kB)
Collecting pytest-forked
  Using cached pytest_forked-1.4.0-py3-none-any.whl (4.9 kB)
Collecting urllib3<1.27,>=1.21.1
  Using cached urllib3-1.26.9-py2.py3-none-any.whl (138 kB)
Collecting charset-normalizer~=2.0.0
  Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
Collecting certifi>=2017.4.17
  Using cached certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
Collecting idna<4,>=2.5
  Using cached idna-3.3-py3-none-any.whl (61 kB)
Collecting scipy>=1.1.0
  Using cached 
scipy-1.8.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (41.6 MB)
Collecting threadpoolctl>=2.0.0
  Using cached threadpoolctl-3.1.0-py3-none-any.whl (14 kB)
Collecting greenlet!=0.4.17
  Using cached 
greenlet-1.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (156 kB)
Collecting wrapt
  Using cached 
wrapt-1.14.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
 (80 kB)
Collecting deprecation
  Using cached deprecation-2.1.0-py2.py3-none-any.whl (11 kB)
Collecting docker
  Using cached docker-5.0.3-py2.py3-none-any.whl (146 kB)
Collecting pymysql
  Using cached PyMySQL-1.0.2-py3-none-any.whl (43 kB)
Collecting pycparser
  Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Collecting googleapis-common-protos<2.0dev,>=1.6.0
  Using cached googleapis_common_protos-1.56.0-py2.py3-none-any.whl (241 kB)
Collecting 
google-api-core[grpc,grpcgcp]!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0,<3.0.0dev,>=1.31.5
  Using cached google_api_core-2.7.1-py3-none-any.whl (114 kB)
  Using cached google_api_core-2.7.0-py3-none-any.whl (114 kB)
  Using cached google_api_core-2.6.1-py3-none-any.whl (114 kB)
  Using cached google_api_core-2.6.0-py2.py3-none-any.whl (114 kB)
  Using cached google_api_core-2.5.0-py2.py3-none-any.whl (111 kB)
  Using cached google_api_core-2.4.0-py2.py3-none-any.whl (111 kB)
  Using cached google_api_core-2.3.2-py2.py3-none-any.whl (109 kB)
Collecting google-crc32c<2.0dev,>=1.0
  Using cached 
google_crc32c-1.3.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl 
(37 kB)
Collecting requests-oauthlib>=0.5.0
  Using cached requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)
Collecting isodate>=0.6.0
  Using cached isodate-0.6.1-py2.py3-none-any.whl (41 kB)
Collecting pyasn1>=0.1.7
  Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Collecting typing-utils>=0.0.3
  Using cached typing_utils-0.1.0-py3-none-any.whl (10 kB)
Collecting websocket-client>=0.32.0
  Using cached websocket_client-1.3.2-py3-none-any.whl (54 kB)
Collecting oauthlib>=3.0.0
  Using cached oauthlib-3.2.0-py3-none-any.whl (151 kB)
Building wheels for collected packages: apache-beam
  Building wheel for apache-beam (setup.py): started
  Building wheel for apache-beam (setup.py): finished with status 'done'
  Created wheel for apache-beam: 
filename=apache_beam-2.39.0.dev0-py3-none-any.whl size=2736897 
sha256=4411babdb026161c109df7434b4c04e9774d54cbe7b2934eafffb0989edddeb3
  Stored in directory: 
/home/jenkins/.cache/pip/wheels/7d/37/4c/0c7304293fde69e6afbf9dad246857452edc4251c785c2fa5a
Successfully built apache-beam
Installing collected packages: wcwidth, pytz, pyasn1, parameterized, docopt, 
crcmod, certifi, wrapt, websocket-client, urllib3, typing-utils, 
typing-extensions, threadpoolctl, tenacity, rsa, pyyaml, python-dateutil, 
pyparsing, pymysql, pymongo, pyhamcrest, pycparser, pyasn1-modules, 
psycopg2-binary, proto-plus, pluggy, pbr, orjson, oauthlib, numpy, 
more-itertools, joblib, jmespath, isodate, idna, greenlet, 
googleapis-common-protos, google-crc32c, fasteners, fastavro, execnet, dill, 
cloudpickle, charset-normalizer, cachetools, attrs, atomicwrites, sqlalchemy, 
scipy, requests, pydot, pyarrow, pandas, overrides, mock, httplib2, 
grpcio-status, grpcio-gcp, google-resumable-media, google-auth, freezegun, 
cffi, botocore, scikit-learn, s3transfer, requests-oauthlib, requests_mock, 
pytest, oauth2client, hdfs, grpc-google-iam-v1, google-auth-httplib2, 
google-api-core, docker, deprecation, cryptography, azure-core, testcontainers, 
pytest-timeout, pytest-forked, msrest, google-cloud-core, google-apitools, 
boto3, apache-beam, pytest-xdist, google-cloud-vision, 
google-cloud-videointelligence, google-cloud-spanner, 
google-cloud-recommendations-ai, google-cloud-pubsub, google-cloud-language, 
google-cloud-dlp, google-cloud-datastore, google-cloud-bigtable, 
google-cloud-bigquery-storage, google-cloud-bigquery, azure-storage-blob, 
google-cloud-pubsublite
  Attempting uninstall: pyparsing
    Found existing installation: pyparsing 3.0.8
    Uninstalling pyparsing-3.0.8:
      Successfully uninstalled pyparsing-3.0.8
  Attempting uninstall: pluggy
    Found existing installation: pluggy 1.0.0
    Uninstalling pluggy-1.0.0:
      Successfully uninstalled pluggy-1.0.0
Successfully installed apache-beam-2.39.0.dev0 atomicwrites-1.4.0 attrs-21.4.0 
azure-core-1.23.1 azure-storage-blob-12.11.0 boto3-1.22.2 botocore-1.25.2 
cachetools-4.2.4 certifi-2021.10.8 cffi-1.15.0 charset-normalizer-2.0.12 
cloudpickle-2.0.0 crcmod-1.7 cryptography-37.0.1 deprecation-2.1.0 dill-0.3.1.1 
docker-5.0.3 docopt-0.6.2 execnet-1.9.0 fastavro-1.4.11 fasteners-0.17.3 
freezegun-1.2.1 google-api-core-1.31.5 google-apitools-0.5.31 
google-auth-1.35.0 google-auth-httplib2-0.1.0 google-cloud-bigquery-2.34.3 
google-cloud-bigquery-storage-2.13.1 google-cloud-bigtable-1.7.1 
google-cloud-core-1.7.2 google-cloud-datastore-1.15.4 google-cloud-dlp-3.6.2 
google-cloud-language-1.3.1 google-cloud-pubsub-2.12.0 
google-cloud-pubsublite-1.4.2 google-cloud-recommendations-ai-0.2.0 
google-cloud-spanner-1.19.2 google-cloud-videointelligence-1.16.2 
google-cloud-vision-1.0.1 google-crc32c-1.3.0 google-resumable-media-2.3.2 
googleapis-common-protos-1.56.0 greenlet-1.1.2 grpc-google-iam-v1-0.12.4 
grpcio-gcp-0.2.2 grpcio-status-1.44.0 hdfs-2.7.0 httplib2-0.19.1 idna-3.3 
isodate-0.6.1 jmespath-1.0.0 joblib-1.1.0 mock-2.0.0 more-itertools-8.12.0 
msrest-0.6.21 numpy-1.22.3 oauth2client-4.1.3 oauthlib-3.2.0 orjson-3.6.8 
overrides-6.1.0 pandas-1.4.2 parameterized-0.7.5 pbr-5.8.1 pluggy-0.13.1 
proto-plus-1.20.3 psycopg2-binary-2.9.3 pyarrow-7.0.0 pyasn1-0.4.8 
pyasn1-modules-0.2.8 pycparser-2.21 pydot-1.4.2 pyhamcrest-1.10.1 
pymongo-3.12.3 pymysql-1.0.2 pyparsing-2.4.7 pytest-4.6.11 pytest-forked-1.4.0 
pytest-timeout-1.4.2 pytest-xdist-1.34.0 python-dateutil-2.8.2 pytz-2022.1 
pyyaml-6.0 requests-2.27.1 requests-oauthlib-1.3.1 requests_mock-1.9.3 rsa-4.8 
s3transfer-0.5.2 scikit-learn-1.0.2 scipy-1.8.0 sqlalchemy-1.4.36 
tenacity-5.1.5 testcontainers-3.5.3 threadpoolctl-3.1.0 typing-extensions-4.2.0 
typing-utils-0.1.0 urllib3-1.26.9 wcwidth-0.2.5 websocket-client-1.3.2 
wrapt-1.14.0

> Task :sdks:python:test-suites:dataflow:py38:postCommitSickbay
>>> RUNNING integration tests with pipeline options: 
>>> --runner=TestDataflowRunner --project=apache-beam-testing 
>>> --region=us-central1 
>>> --staging_location=gs://temp-storage-for-end-to-end-tests/staging-it 
>>> --temp_location=gs://temp-storage-for-end-to-end-tests/temp-it 
>>> --output=gs://temp-storage-for-end-to-end-tests/py-it-cloud/output 
>>> --sdk_location=<https://ci-beam.apache.org/job/beam_PostCommit_Sickbay_Python38/ws/src/sdks/python/build/apache-beam.tar.gz>
>>>  --requirements_file=postcommit_requirements.txt --num_workers=1 
>>> --sleep_secs=20 
>>> --kms_key_name=projects/apache-beam-testing/locations/global/keyRings/beam-it/cryptoKeys/test
>>>  
>>> --dataflow_kms_key=projects/apache-beam-testing/locations/global/keyRings/beam-it/cryptoKeys/test
>>>   pytest options: --capture=no --timeout=4500 --color=yes 
>>> --log-cli-level=INFO --numprocesses=8 --dist=loadfile
>>>   collect markers: -m=it_postcommit_sickbay
============================= test session starts 
==============================
platform linux -- Python 3.8.10, pytest-4.6.11, py-1.11.0, pluggy-0.13.1
rootdir: 
<https://ci-beam.apache.org/job/beam_PostCommit_Sickbay_Python38/ws/src/sdks/python,>
 inifile: pytest.ini
plugins: xdist-1.34.0, timeout-1.4.2, forked-1.4.0, requests-mock-1.9.3
timeout: 4500.0s
timeout method: signal
timeout func_only: False
gw0 I / gw1 I / gw2 I / gw3 I / gw4 I / gw5 I / gw6 I / gw7 I
[gw0] Python 3.8.10 (default, Mar 15 2022, 12:22:08)  -- [GCC 9.4.0]
[gw1] Python 3.8.10 (default, Mar 15 2022, 12:22:08)  -- [GCC 9.4.0]
[gw2] Python 3.8.10 (default, Mar 15 2022, 12:22:08)  -- [GCC 9.4.0]
[gw3] Python 3.8.10 (default, Mar 15 2022, 12:22:08)  -- [GCC 9.4.0]
[gw4] Python 3.8.10 (default, Mar 15 2022, 12:22:08)  -- [GCC 9.4.0]
[gw5] Python 3.8.10 (default, Mar 15 2022, 12:22:08)  -- [GCC 9.4.0]
[gw6] Python 3.8.10 (default, Mar 15 2022, 12:22:08)  -- [GCC 9.4.0]
[gw7] Python 3.8.10 (default, Mar 15 2022, 12:22:08)  -- [GCC 9.4.0]
gw0 [2] / gw1 [2] / gw2 [2] / gw3 [2] / gw4 [2] / gw5 [2] / gw6 [2] / gw7 
[2]

scheduling tests via LoadFileScheduling

apache_beam/io/gcp/gcsio_integration_test.py::GcsIOIntegrationTest::test_copy_batch_rewrite_token
 
[gw0] FAILED 
apache_beam/io/gcp/gcsio_integration_test.py::GcsIOIntegrationTest::test_copy_batch_rewrite_token
 
apache_beam/io/gcp/gcsio_integration_test.py::GcsIOIntegrationTest::test_copy_rewrite_token
 
[gw0] FAILED 
apache_beam/io/gcp/gcsio_integration_test.py::GcsIOIntegrationTest::test_copy_rewrite_token
 

=================================== FAILURES ===================================
______________ GcsIOIntegrationTest.test_copy_batch_rewrite_token 
______________
[gw0] linux -- Python 3.8.10 
<https://ci-beam.apache.org/job/beam_PostCommit_Sickbay_Python38/ws/src/build/gradleenv/-1734967051/bin/python3.8>

self = <apache_beam.io.gcp.gcsio_integration_test.GcsIOIntegrationTest 
testMethod=test_copy_batch_rewrite_token>

    @pytest.mark.it_postcommit_sickbay
    #@pytest.mark.it_postcommit BEAM-12352  maxBytesRewrittenPerCall
    def test_copy_batch_rewrite_token(self):
      # Tests a multi-part copy (rewrite) operation. This is triggered by 
a
      # combination of 3 conditions:
      #  - a large enough src
      #  - setting max_bytes_rewritten_per_call
      #  - setting kms_key_name
      if self.kms_key_name is None:
        raise unittest.SkipTest('--kms_key_name not specified')
    
      rewrite_responses = []
      self.gcsio._set_rewrite_response_callback(
          lambda response: rewrite_responses.append(response))
      self._test_copy_batch(
          "test_copy_batch_rewrite_token",
          kms_key_name=self.kms_key_name,
          max_bytes_rewritten_per_call=50 * 1024 * 1024,
          src=self.INPUT_FILE_LARGE)
      # Verify that there was a multi-part rewrite.
>     self.assertTrue(any(not r.done for r in rewrite_responses))
E     AssertionError: False is not true

apache_beam/io/gcp/gcsio_integration_test.py:198: AssertionError
------------------------------ Captured log call -------------------------------
INFO     apache_beam.internal.gcp.auth:auth.py:122 Setting socket 
default timeout to 60 seconds.
INFO     apache_beam.internal.gcp.auth:auth.py:124 socket default 
timeout is 60.0 seconds.
INFO     apache_beam.io.gcp.gcsio:gcsio.py:559 Starting the size 
estimation of the input
INFO     apache_beam.io.gcp.gcsio:gcsio.py:572 Finished listing 10 
files in 0.0490412712097168 seconds.
_________________ GcsIOIntegrationTest.test_copy_rewrite_token 
_________________
[gw0] linux -- Python 3.8.10 
<https://ci-beam.apache.org/job/beam_PostCommit_Sickbay_Python38/ws/src/build/gradleenv/-1734967051/bin/python3.8>

self = <apache_beam.io.gcp.gcsio_integration_test.GcsIOIntegrationTest 
testMethod=test_copy_rewrite_token>

    @pytest.mark.it_postcommit_sickbay
    #@pytest.mark.it_postcommit BEAM-12352 maxBytesRewrittenPerCall '
    def test_copy_rewrite_token(self):
      # Tests a multi-part copy (rewrite) operation. This is triggered by 
a
      # combination of 3 conditions:
      #  - a large enough src
      #  - setting max_bytes_rewritten_per_call
      #  - setting kms_key_name
      if self.kms_key_name is None:
        raise unittest.SkipTest('--kms_key_name not specified')
    
      rewrite_responses = []
      self.gcsio._set_rewrite_response_callback(
          lambda response: rewrite_responses.append(response))
      self._test_copy(
          "test_copy_rewrite_token",
          kms_key_name=self.kms_key_name,
          max_bytes_rewritten_per_call=50 * 1024 * 1024,
          src=self.INPUT_FILE_LARGE)
      # Verify that there was a multi-part rewrite.
>     self.assertTrue(any(not r.done for r in rewrite_responses))
E     AssertionError: False is not true

apache_beam/io/gcp/gcsio_integration_test.py:144: AssertionError
------------------------------ Captured log call -------------------------------
INFO     apache_beam.io.gcp.gcsio:gcsio.py:559 Starting the size 
estimation of the input
INFO     apache_beam.io.gcp.gcsio:gcsio.py:572 Finished listing 1 
files in 0.041623592376708984 seconds.
=============================== warnings summary 
===============================
apache_beam/io/filesystems_test.py:54
apache_beam/io/filesystems_test.py:54
apache_beam/io/filesystems_test.py:54
  
<https://ci-beam.apache.org/job/beam_PostCommit_Sickbay_Python38/ws/src/sdks/python/apache_beam/io/filesystems_test.py>:54:
 DeprecationWarning: invalid escape sequence \c
    self.assertIsNone(FileSystems.get_scheme('c:\\abc\cdf'))  # pylint: 
disable=anomalous-backslash-in-string

apache_beam/io/filesystems_test.py:62
apache_beam/io/filesystems_test.py:62
apache_beam/io/filesystems_test.py:62
  
<https://ci-beam.apache.org/job/beam_PostCommit_Sickbay_Python38/ws/src/sdks/python/apache_beam/io/filesystems_test.py>:62:
 DeprecationWarning: invalid escape sequence \d
    self.assertTrue(isinstance(FileSystems.get_filesystem('c:\\abc\def'),  # 
pylint: disable=anomalous-backslash-in-string

<https://ci-beam.apache.org/job/beam_PostCommit_Sickbay_Python38/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages/tenacity/_asyncio.py>:42
<https://ci-beam.apache.org/job/beam_PostCommit_Sickbay_Python38/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages/tenacity/_asyncio.py>:42
<https://ci-beam.apache.org/job/beam_PostCommit_Sickbay_Python38/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages/tenacity/_asyncio.py>:42
<https://ci-beam.apache.org/job/beam_PostCommit_Sickbay_Python38/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages/tenacity/_asyncio.py>:42
<https://ci-beam.apache.org/job/beam_PostCommit_Sickbay_Python38/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages/tenacity/_asyncio.py>:42
<https://ci-beam.apache.org/job/beam_PostCommit_Sickbay_Python38/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages/tenacity/_asyncio.py>:42
<https://ci-beam.apache.org/job/beam_PostCommit_Sickbay_Python38/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages/tenacity/_asyncio.py>:42
<https://ci-beam.apache.org/job/beam_PostCommit_Sickbay_Python38/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages/tenacity/_asyncio.py>:42
  
<https://ci-beam.apache.org/job/beam_PostCommit_Sickbay_Python38/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages/tenacity/_asyncio.py>:42:
 DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use 
"async def" instead
    def call(self, fn, *args, **kwargs):

-- Docs: https://docs.pytest.org/en/latest/warnings.html
- generated xml file: 
<https://ci-beam.apache.org/job/beam_PostCommit_Sickbay_Python38/ws/src/sdks/python/pytest_postCommitIT-df-py38.xml>
 -
============== 2 failed, 1 skipped, 14 warnings in 20.83 seconds 
===============

> Task :sdks:python:test-suites:dataflow:py38:postCommitSickbay FAILED

FAILURE: Build failed with an exception.

* Where:
Script 
'<https://ci-beam.apache.org/job/beam_PostCommit_Sickbay_Python38/ws/src/sdks/python/test-suites/dataflow/common.gradle'>
 line: 141

* What went wrong:
Execution failed for task 
':sdks:python:test-suites:dataflow:py38:postCommitSickbay'.
> 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

BUILD FAILED in 1m 35s
15 actionable tasks: 9 executed, 4 from cache, 2 up-to-date

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

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