See <https://ci-beam.apache.org/job/beam_PostCommit_Sickbay_Python37/43/display/redirect?page=changes>
Changes: [kevinsijo] Setting up a basic directory [kevinsijo] Mirroring Python SDK's directory structure [kerrydc] Adds initial tests [kevinsijo] 'runners' is the correct directory name [Pablo Estrada] sketching the core API for JS SDK [jonathanlui] add .gitignore for node/ts project [Robert Bradshaw] Worker directory. [Robert Bradshaw] Fix complile errors with explicit any for callables. [Robert Bradshaw] Add worker entry point. [Robert Bradshaw] Add proto generation code. [Robert Bradshaw] Add generated proto files. [Robert Bradshaw] Attempts to get ts protos to compile. [Robert Bradshaw] Exclude ts protos for now. [Robert Bradshaw] More changes to get ts protos working. [Robert Bradshaw] Update scripts and config to get protos compiling. [Robert Bradshaw] Update geenrated files. [jonathanlui] add build and clean script to compile ts [Robert Bradshaw] Generate server for loopback worker. [Robert Bradshaw] Generated grpc servers for loopback. [Robert Bradshaw] Add typescript formatter. [Robert Bradshaw] Loopback server (that does nothing). [Robert Bradshaw] Working server. [Pablo Estrada] Starting expansion of primitive transforms [Pablo Estrada] Starting to implement and support standard coders [Robert Bradshaw] Also generate grpc clients. [Robert Bradshaw] Basic implementation of worker harness. [Pablo Estrada] fix the build [Robert Bradshaw] Add some missing files for worker harness. [Robert Bradshaw] Refactor operators to use registration. [jonathanlui] enable ts in mocha [jonathanlui] update readme [jonathanlui] --save-dev @types/mocha [jonathanlui] translate core_test.js to typescript [Robert Bradshaw] Encapsulate worker service in a class. [Kenneth Knowles] Port standard_coders_test to typescript (superficially) [Pablo Estrada] Starting the proto translation of Impulse, ParDo, GBK [Robert Bradshaw] Add some tests for the worker code. [Robert Bradshaw] Fixing old lock file error. [Pablo Estrada] Adding transform names and fixing GBK coder issue [Robert Bradshaw] npx tsfmt -r src/apache_beam/base.ts src/apache_beam/transforms/core.ts [Kenneth Knowles] switch to import style require() statements [Kenneth Knowles] Add Coder interface using protobufjs classes [Kenneth Knowles] BytesCoder with some failures [noreply] Added GeneralObjectCoder and using it as coder for most transforms (#9) [Kenneth Knowles] Fix order of arguments to deepEqual [Kenneth Knowles] Encode expected encoding as binary [Robert Bradshaw] Refactor API to allow for composites. [jrmccluskey] Initial setup for automated Java expansion startup [jrmccluskey] Update exp_service.ts [Kenneth Knowles] Fix up coder deserialization [Robert Bradshaw] Simplify GBK coder computation. [Robert Bradshaw] Remove top-level PValue. [Pablo Estrada] Make tests green [Robert Bradshaw] Rename PValueish to PValue. [jonathanlui] node runner [jonathanlui] whitespaces [Robert Bradshaw] Make Runner.run async. [jonathanlui] bson and fast-deep-equal should not be listed as devdependency [jrmccluskey] Add basic Dockerfile that starts ExternalWorkerPool [Robert Bradshaw] Direct runner. [kevinsijo] Testing expansion service communication [Robert Bradshaw] Added flatten, assertion checkers. [Pablo Estrada] progress on basic coders [Robert Bradshaw] Fixing the build. [Robert Bradshaw] Cleanup, simplify access. [Pablo Estrada] Adding limited support for KVCoder and IterableCoder [Robert Bradshaw] Introduce PipelineContext. [Robert Bradshaw] Add toProto to all coders. [Robert Bradshaw] Some work with coders. [Robert Bradshaw] Remove debug logging. [Robert Bradshaw] Use coders over data channel. [Kenneth Knowles] explicitly sequence sub-coder serializations [Kenneth Knowles] no more need to extend FakeCoder [Kenneth Knowles] actually advance reader [Kenneth Knowles] autoformat [Kenneth Knowles] protobufjs already can write and read signed varints [Kenneth Knowles] with improved test harness, kv has many more failures [Kenneth Knowles] read bytescoder from correct position [Kenneth Knowles] no more fake coders [Kenneth Knowles] varint examples all work [Kenneth Knowles] simplify coder value parsing [Kenneth Knowles] global window coder [Kenneth Knowles] fix swapEndian32 [Robert Bradshaw] Add P(...) operator. [kevinsijo] Implementing RowCoder encoding. [jrmccluskey] remove unused container dir [kevinsijo] Corrected sorting of encoded positions to reflect an argsort instead. [Robert Bradshaw] Populate environments. [kevinsijo] Implementing RowCoder decoding. [Kenneth Knowles] preliminary unbounded iterable coder [Kenneth Knowles] friendlier description of standard coder test case [Kenneth Knowles] fix test harness; iterable works [jrmccluskey] first pass at boot.go [jonathanlui] update package-lock.json [jonathanlui] make NodeRunner a subclass of Runner [jonathanlui] add waitUntilFinish interface member [Pablo Estrada] Adding double coder [Kenneth Knowles] scaffolding for windowed values [Pablo Estrada] Adding type information to PColleciton and PTransform [jonathanlui] fix direct runner [Pablo Estrada] Adding typing information for DoFns [Kenneth Knowles] add interval window [Robert Bradshaw] Export PValue. [Robert Bradshaw] Add CombineFn interface. [Robert Bradshaw] Typed flatten. [jonathanlui] add runAsync method to base.Runner [Kenneth Knowles] add Long package [Pablo Estrada] Adding more types. Making PValue typed [Kenneth Knowles] instant coder draft [Robert Bradshaw] Return job state from direct runner. [Kenneth Knowles] type instant = long [jonathanlui] implement NodeRunner.runPipeline [Kenneth Knowles] autoformat [kevinsijo] Completed implementation of basic row coder [Kenneth Knowles] Fix IntervalWindowCoder, almost [Kenneth Knowles] fix interval window coder [Kenneth Knowles] autoformat [Robert Bradshaw] loopback runner works [Kenneth Knowles] move core element types into values.ts [Kenneth Knowles] just build object directly to be cool [Robert Bradshaw] GBK working on ULR. [Robert Bradshaw] Async transforms. [Robert Bradshaw] External transform grpah splicing. [Kenneth Knowles] progress on windowed value: paneinfo encoding [Robert Bradshaw] Fix merge. [Robert Bradshaw] autoformat [Kenneth Knowles] full windowed value coder [kerrydc] Updates tests to use correct types, adds generics where needed to DoFns [Robert Bradshaw] Add serialization librarires.' [Robert Bradshaw] Add Split() PTransform, for producing multiple outputs from a single [Robert Bradshaw] Schema-encoded external payloads. [kevinsijo] Adding Schema inference from JSON [Pablo Estrada] Removing unused directories [Pablo Estrada] Support for finishBundle and improving typing annotations. [Pablo Estrada] A base implementation of combiners with GBK/ParDo [Robert Bradshaw] Fully propagate windowing information in both remote and direct runner. [Robert Bradshaw] Make args and kwargs optional for python external transform. [Robert Bradshaw] Infer schema for external transforms. [Pablo Estrada] Implementing a custom combine fn as an example. Small fixes [Robert Bradshaw] Fix missing windowing information in combiners. [Robert Bradshaw] PostShuffle needn't group by key as that's already done. [Robert Bradshaw] Guard pre-combine for global window only. [Robert Bradshaw] WindowInto [Robert Bradshaw] Fix optional kwargs. [Robert Bradshaw] A couple of tweaks for js + py [Robert Bradshaw] Add windowing file. [Robert Bradshaw] CombineBy transform, stand-alone WordCount. [Robert Bradshaw] cleanup [Robert Bradshaw] Actually fix optional external kwargs. [Robert Bradshaw] Demo2, textio read. [Robert Bradshaw] Add command lines for starting up the servers. [Robert Bradshaw] Run prettier on the full codebase. [Robert Bradshaw] Update deps. [Pablo Estrada] Adding docstrings for core.ts. Prettier dependency [Pablo Estrada] Documenting coder interfaces [Pablo Estrada] Added documentation for a few standard coders [Robert Bradshaw] Unified grouping and combining. [Robert Bradshaw] Allow PCollection ids to be lazy. [Robert Bradshaw] Reorganize module structure. [Robert Bradshaw] A couple more renames. [Robert Bradshaw] Simplify. [Robert Bradshaw] Consolidation. [Robert Bradshaw] Fix build. [Robert Bradshaw] Add optional context to ParDo. [Robert Bradshaw] fixup: iterable coder endian sign issue [Robert Bradshaw] omit context for map(console.log) [Robert Bradshaw] Fix ReadFromText coders. [Robert Bradshaw] Flesh out README with overview and current state. [noreply] Readme typo [Robert Bradshaw] Two more TODOs. [noreply] Add a pointer to the example wordcount to the readme. [Pablo Estrada] Documenting coders and implementing unknown-length method [Robert Bradshaw] UIID dependency. [Robert Bradshaw] Artifact handling. [Robert Bradshaw] Properly wait on data channel for bundle completion. [Robert Bradshaw] Automatic java expansion service startup. [Robert Bradshaw] Process promises. [Robert Bradshaw] Implement side inputs. [Robert Bradshaw] Cleanup. [Robert Bradshaw] Put complex constext stuff in its own file. [Robert Bradshaw] Rename BoundedWindow to just Window. [Robert Bradshaw] Alternative splitter class. [Pablo Estrada] Documenting internal functions [Robert Bradshaw] Take a pass clarifying the TODOs. [Robert Bradshaw] Sql transform wrapper. [Robert Bradshaw] Incorporate some feedback into the TODOs. [Robert Bradshaw] More TODOs. [Robert Bradshaw] Remove app placeholder. [Robert Bradshaw] Apache license headers. [Robert Bradshaw] More TODOs [jankuehle] Suggestions for TypeScript todos [dannymccormick] Add actions for typescript sdk [dannymccormick] Fix test command [noreply] Add missing version [dannymccormick] Fix codecovTest command [noreply] Only do prettier check on linux [noreply] Only get codecov on linux [Robert Bradshaw] Resolve some comments. [Robert Bradshaw] Fix compile errors. [Robert Bradshaw] Prettier. [Robert Bradshaw] Re-order expandInternal arguments pending unification. [Robert Bradshaw] More consistent and stricter PTransform naming. [Robert Bradshaw] Notes on explicit, if less idiomatic, use of classes. [Robert Bradshaw] Let DoFn be an interface rather than a class. [Robert Bradshaw] Provide DoFn context to start and finish bundle. [Robert Bradshaw] Optional promise code simplification. [Robert Bradshaw] Cleanup todos. [Robert Bradshaw] Avoid any type where not needed. [Robert Bradshaw] Apache RAT excludes for typescript. [Robert Bradshaw] Remove empty READMEs. [Robert Bradshaw] Add licences statement to readme files. [Robert Bradshaw] More RAT fixes. [Robert Bradshaw] Another unsupported coder. [Robert Bradshaw] Remove debugging code. [noreply] Fix automatic naming with code coverage. [Robert Bradshaw] Coders cleanup. [Robert Bradshaw] Add tests for RowCoder. [Robert Bradshaw] Normalize capitalization, comments. [Robert Bradshaw] Install typescript closure packages. [Robert Bradshaw] npm audit fix [Robert Bradshaw] Move more imports out of base. [Robert Bradshaw] Changes needed to compile with ts closure plugin. [Robert Bradshaw] Use ttsc and ts-closure-transform plugin. [Robert Bradshaw] Serialization registration to actually get serialization working. [Robert Bradshaw] Container images working on local runner. [Robert Bradshaw] Add a portable job server that proxies the Dataflow backend. (#17189) [Robert Bradshaw] Improvements to dataflow job service for non-Python jobs. [Robert Bradshaw] Get dataflow working. [Robert Bradshaw] User friendly pipeline options. [Robert Bradshaw] Less classes, more functions. [Robert Bradshaw] Add new nullable standard coder. [Robert Bradshaw] Make Apache Rat happy. [Robert Bradshaw] Disable broken codecov. [Robert Bradshaw] Remove last uses of base.ts. [Robert Bradshaw] Remove unneedd file. [Robert Bradshaw] Remove more uneeded/unused files. [Robert Bradshaw] Cleanup tests. [Robert Bradshaw] Minor cleanups to coder tests. [Robert Bradshaw] Addressing issues from the review. [noreply] Apply suggestions from code review. [Robert Bradshaw] Post-merge fixes. [dannymccormick] Delete tags.go [Robert Bradshaw] Update tests to use our actual serialization libraries. [Robert Bradshaw] Another pass at TODOs, removing finished items. [Heejong Lee] [BEAM-14146] Python Streaming job failing to drain with BigQueryIO write [noreply] [BEAM-14332] Refactored cluster management for Flink on Dataproc [noreply] [BEAM-13988] Update mtime to use time.UnixMilli() calls (#17578) [noreply] Fixing patching error on missing dependencies (#17564) ------------------------------------------ [...truncated 23.25 KB...] Using cached rsa-4.8-py3-none-any.whl (39 kB) Collecting google-resumable-media<3.0dev,>=0.6.0 Using cached google_resumable_media-2.3.2-py2.py3-none-any.whl (76 kB) Collecting google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0,<3.0.0dev,>=1.31.5 Using cached google_api_core-2.7.3-py3-none-any.whl (114 kB) Requirement already satisfied: packaging>=14.3 in <https://ci-beam.apache.org/job/beam_PostCommit_Sickbay_Python37/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages> (from google-cloud-bigquery<3,>=1.6.0->apache-beam==2.40.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_Python37/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages> (from google-auth<3,>=1.18.0->apache-beam==2.40.0.dev0) (62.1.0) Collecting grpcio-status>=1.16.0 Using cached grpcio_status-1.46.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.9.0-py2.py3-none-any.whl (112 kB) Requirement already satisfied: py>=1.5.0 in <https://ci-beam.apache.org/job/beam_PostCommit_Sickbay_Python37/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages> (from pytest<5.0,>=4.4.0->apache-beam==2.40.0.dev0) (1.11.0) Collecting more-itertools>=4.0.0 Using cached more_itertools-8.13.0-py3-none-any.whl (51 kB) Collecting atomicwrites>=1.0 Using cached atomicwrites-1.4.0-py2.py3-none-any.whl (6.8 kB) Collecting pluggy<1.0,>=0.12 Using cached pluggy-0.13.1-py2.py3-none-any.whl (18 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) Requirement already satisfied: importlib-metadata>=0.12 in <https://ci-beam.apache.org/job/beam_PostCommit_Sickbay_Python37/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages> (from pytest<5.0,>=4.4.0->apache-beam==2.40.0.dev0) (2.1.3) Collecting pytest-forked Using cached pytest_forked-1.4.0-py3-none-any.whl (4.9 kB) Collecting execnet>=1.1 Using cached execnet-1.9.0-py2.py3-none-any.whl (39 kB) Collecting urllib3<1.27,>=1.21.1 Using cached urllib3-1.26.9-py2.py3-none-any.whl (138 kB) Collecting certifi>=2017.4.17 Using cached certifi-2021.10.8-py2.py3-none-any.whl (149 kB) Collecting charset-normalizer~=2.0.0 Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB) Collecting idna<4,>=2.5 Using cached idna-3.3-py3-none-any.whl (61 kB) Collecting threadpoolctl>=2.0.0 Using cached threadpoolctl-3.1.0-py3-none-any.whl (14 kB) Collecting scipy>=1.1.0 Using cached scipy-1.7.3-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (38.1 MB) Collecting greenlet!=0.4.17 Using cached greenlet-1.1.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (150 kB) Collecting wrapt Using cached wrapt-1.14.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (75 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.2-py3-none-any.whl (114 kB) 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-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (38 kB) Requirement already satisfied: zipp>=0.5 in <https://ci-beam.apache.org/job/beam_PostCommit_Sickbay_Python37/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages> (from importlib-metadata>=0.12->pytest<5.0,>=4.4.0->apache-beam==2.40.0.dev0) (3.8.0) 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.40.0.dev0-py3-none-any.whl size=2769130 sha256=ccf17d59cdf16ac964da93465b4c2acedf174895b8b6f65dd7f840126521b8fb Stored in directory: /home/jenkins/.cache/pip/wheels/b7/38/c6/175a76cf81f0602edc398c14f1d6085b4d7ab66073a84e7f8d 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, 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, pluggy, 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.40.0.dev0 atomicwrites-1.4.0 attrs-21.4.0 azure-core-1.24.0 azure-storage-blob-12.11.0 boto3-1.22.9 botocore-1.25.9 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.2 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.46.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.13.0 msrest-0.6.21 numpy-1.21.6 oauth2client-4.1.3 oauthlib-3.2.0 orjson-3.6.8 overrides-6.1.0 pandas-1.3.5 parameterized-0.7.5 pbr-5.9.0 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.7.3 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.1 > Task :sdks:python:test-suites:dataflow:py37: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_Python37/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 [1m============================= test session starts ==============================[0m platform linux -- Python 3.7.12, pytest-4.6.11, py-1.11.0, pluggy-0.13.1 rootdir: <https://ci-beam.apache.org/job/beam_PostCommit_Sickbay_Python37/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 [1m[gw0] Python 3.7.12 (default, Jan 15 2022, 18:42:10) -- [GCC 9.3.0] [0m[1m[gw3] Python 3.7.12 (default, Jan 15 2022, 18:42:10) -- [GCC 9.3.0] [0m[1m[gw1] Python 3.7.12 (default, Jan 15 2022, 18:42:10) -- [GCC 9.3.0] [0m[1m[gw2] Python 3.7.12 (default, Jan 15 2022, 18:42:10) -- [GCC 9.3.0] [0m[1m[gw5] Python 3.7.12 (default, Jan 15 2022, 18:42:10) -- [GCC 9.3.0] [0m[1m[gw6] Python 3.7.12 (default, Jan 15 2022, 18:42:10) -- [GCC 9.3.0] [0m[1m[gw4] Python 3.7.12 (default, Jan 15 2022, 18:42:10) -- [GCC 9.3.0] [0m[1m[gw7] Python 3.7.12 (default, Jan 15 2022, 18:42:10) -- [GCC 9.3.0] [0mgw0 [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] [31mFAILED[0m 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] [31mFAILED[0m apache_beam/io/gcp/gcsio_integration_test.py::GcsIOIntegrationTest::test_copy_rewrite_token =================================== FAILURES =================================== [31m[1m______________ GcsIOIntegrationTest.test_copy_batch_rewrite_token ______________[0m [gw0] linux -- Python 3.7.12 <https://ci-beam.apache.org/job/beam_PostCommit_Sickbay_Python37/ws/src/build/gradleenv/-1734967052/bin/python3.7> self = <apache_beam.io.gcp.gcsio_integration_test.GcsIOIntegrationTest testMethod=test_copy_batch_rewrite_token> [1m @pytest.mark.it_postcommit_sickbay[0m [1m #@pytest.mark.it_postcommit BEAM-12352 maxBytesRewrittenPerCall[0m [1m def test_copy_batch_rewrite_token(self):[0m [1m # Tests a multi-part copy (rewrite) operation. This is triggered by a[0m [1m # combination of 3 conditions:[0m [1m # - a large enough src[0m [1m # - setting max_bytes_rewritten_per_call[0m [1m # - setting kms_key_name[0m [1m if self.kms_key_name is None:[0m [1m raise unittest.SkipTest('--kms_key_name not specified')[0m [1m [0m [1m rewrite_responses = [][0m [1m self.gcsio._set_rewrite_response_callback([0m [1m lambda response: rewrite_responses.append(response))[0m [1m self._test_copy_batch([0m [1m "test_copy_batch_rewrite_token",[0m [1m kms_key_name=self.kms_key_name,[0m [1m max_bytes_rewritten_per_call=50 * 1024 * 1024,[0m [1m src=self.INPUT_FILE_LARGE)[0m [1m # Verify that there was a multi-part rewrite.[0m [1m> self.assertTrue(any(not r.done for r in rewrite_responses))[0m [1m[31mE AssertionError: False is not true[0m [1m[31mapache_beam/io/gcp/gcsio_integration_test.py[0m:198: AssertionError ------------------------------ Captured log call ------------------------------- [32mINFO [0m apache_beam.internal.gcp.auth:auth.py:122 Setting socket default timeout to 60 seconds. [32mINFO [0m apache_beam.internal.gcp.auth:auth.py:125 socket default timeout is 60.0 seconds. [32mINFO [0m apache_beam.io.gcp.gcsio:gcsio.py:576 Starting the file information of the input [32mINFO [0m apache_beam.io.gcp.gcsio:gcsio.py:603 Finished listing 10 files in 0.0467524528503418 seconds. [31m[1m_________________ GcsIOIntegrationTest.test_copy_rewrite_token _________________[0m [gw0] linux -- Python 3.7.12 <https://ci-beam.apache.org/job/beam_PostCommit_Sickbay_Python37/ws/src/build/gradleenv/-1734967052/bin/python3.7> self = <apache_beam.io.gcp.gcsio_integration_test.GcsIOIntegrationTest testMethod=test_copy_rewrite_token> [1m @pytest.mark.it_postcommit_sickbay[0m [1m #@pytest.mark.it_postcommit BEAM-12352 maxBytesRewrittenPerCall '[0m [1m def test_copy_rewrite_token(self):[0m [1m # Tests a multi-part copy (rewrite) operation. This is triggered by a[0m [1m # combination of 3 conditions:[0m [1m # - a large enough src[0m [1m # - setting max_bytes_rewritten_per_call[0m [1m # - setting kms_key_name[0m [1m if self.kms_key_name is None:[0m [1m raise unittest.SkipTest('--kms_key_name not specified')[0m [1m [0m [1m rewrite_responses = [][0m [1m self.gcsio._set_rewrite_response_callback([0m [1m lambda response: rewrite_responses.append(response))[0m [1m self._test_copy([0m [1m "test_copy_rewrite_token",[0m [1m kms_key_name=self.kms_key_name,[0m [1m max_bytes_rewritten_per_call=50 * 1024 * 1024,[0m [1m src=self.INPUT_FILE_LARGE)[0m [1m # Verify that there was a multi-part rewrite.[0m [1m> self.assertTrue(any(not r.done for r in rewrite_responses))[0m [1m[31mE AssertionError: False is not true[0m [1m[31mapache_beam/io/gcp/gcsio_integration_test.py[0m:144: AssertionError ------------------------------ Captured log call ------------------------------- [32mINFO [0m apache_beam.io.gcp.gcsio:gcsio.py:576 Starting the file information of the input [32mINFO [0m apache_beam.io.gcp.gcsio:gcsio.py:603 Finished listing 1 files in 0.05414462089538574 seconds. [33m=============================== warnings summary ===============================[0m apache_beam/io/filesystems_test.py:54 apache_beam/io/filesystems_test.py:54 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_Python37/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 apache_beam/io/filesystems_test.py:62 apache_beam/io/filesystems_test.py:62 <https://ci-beam.apache.org/job/beam_PostCommit_Sickbay_Python37/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 -- Docs: https://docs.pytest.org/en/latest/warnings.html - generated xml file: <https://ci-beam.apache.org/job/beam_PostCommit_Sickbay_Python37/ws/src/sdks/python/pytest_postCommitIT-df-py37.xml> - [31m[1m============== 2 failed, 1 skipped, 10 warnings in 31.38 seconds ===============[0m > Task :sdks:python:test-suites:dataflow:py37:postCommitSickbay FAILED FAILURE: Build failed with an exception. * Where: Script '<https://ci-beam.apache.org/job/beam_PostCommit_Sickbay_Python37/ws/src/sdks/python/test-suites/dataflow/common.gradle'> line: 141 * What went wrong: Execution failed for task ':sdks:python:test-suites:dataflow:py37: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 2m 12s 15 actionable tasks: 9 executed, 4 from cache, 2 up-to-date Publishing build scan... https://gradle.com/s/rv5j75rehx5lo 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]
