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

Changes:

[Alexey Romanenko] [BEAM-12918] Add PostCommit_Java_Tpcds_Spark job

[johnjcasey] [BEAM-14448] add datastore test

[yathu] [BEAM-14423] Add test cases for BigtableIO.BigtableWriterFn fails due to


------------------------------------------
[...truncated 2.51 MB...]
        role_payload: 
"\n8cldrdata-YqzuKX1QnLCOo0cwjKRdBhGrip_ltIJZg-APT60tUPA.jar"
      >
      dependencies: <
        type_urn: "beam:artifact:type:file:v1"
        type_payload: 
"\nD/tmp/artifacts/dnsns-dhEp186udEF6X6chZus-RJzWRmzlccxx1_btlXWayVI.jar\022@761129d7ceae74417a5fa72166eb3e449cd6466ce571cc71d7f6ed95759ac952"
        role_urn: "beam:artifact:role:staging_to:v1"
        role_payload: "\n5dnsns-dhEp186udEF6X6chZus-RJzWRmzlccxx1_btlXWayVI.jar"
      >
      dependencies: <
        type_urn: "beam:artifact:type:file:v1"
        type_payload: 
"\n\203\001/tmp/artifacts/beam-sdks-java-extensions-schemaio-expansion-service-2.40.0-SNAPSHOT--SE2HSPzko55-RzuQq8uwyJZPkVAT1RslbDlUXk1G-Y.jar\022@f921361d23f3928e79f91cee42af2ec322593e45404f546c95b0e55179351be6"
        role_urn: "beam:artifact:role:staging_to:v1"
        role_payload: 
"\ntbeam-sdks-java-extensions-schemaio-expansion-service-2.40.0-SNAPSHOT--SE2HSPzko55-RzuQq8uwyJZPkVAT1RslbDlUXk1G-Y.jar"
      >
    >
  >
  environments: <
    key: "go"
    value: <
      urn: "beam:env:docker:v1"
      payload: "\n\026apache/beam_go_sdk:dev"
      capabilities: "beam:protocol:progress_reporting:v0"
      capabilities: "beam:protocol:multi_core_bundle_processing:v1"
      capabilities: "beam:version:sdk_base:go"
      capabilities: "beam:coder:bytes:v1"
      capabilities: "beam:coder:bool:v1"
      capabilities: "beam:coder:varint:v1"
      capabilities: "beam:coder:double:v1"
      capabilities: "beam:coder:string_utf8:v1"
      capabilities: "beam:coder:length_prefix:v1"
      capabilities: "beam:coder:kv:v1"
      capabilities: "beam:coder:iterable:v1"
      capabilities: "beam:coder:state_backed_iterable:v1"
      capabilities: "beam:coder:windowed_value:v1"
      capabilities: "beam:coder:global_window:v1"
      capabilities: "beam:coder:interval_window:v1"
      capabilities: "beam:coder:row:v1"
      capabilities: "beam:coder:nullable:v1"
      dependencies: <
        type_urn: "beam:artifact:type:file:v1"
        role_urn: "beam:artifact:role:go_worker_binary:v1"
      >
    >
  >
>
root_transform_ids: "s1"
root_transform_ids: "e2"
root_transform_ids: "e3"
root_transform_ids: "s3"
requirements: "beam:requirement:pardo:splittable_dofn:v1"
2022/05/10 18:29:44 Cross-compiling 
<https://ci-beam.apache.org/job/beam_PostCommit_XVR_Samza/ws/src/sdks/go/test/integration/io/xlang/jdbc/jdbc_test.go>
 as /tmp/worker-4-1652207384510636401
2022/05/10 18:29:49 Prepared job with id: 
go-testjdbcio_postgresreadwrite_459ae5bf-5fab-486a-90dd-6c252bf60292 and 
staging token: 
go-testjdbcio_postgresreadwrite_459ae5bf-5fab-486a-90dd-6c252bf60292
2022/05/10 18:29:49 Staged binary artifact with token: 
2022/05/10 18:29:49 Submitted job: 
go0testjdbcio0postgresreadwrite-jenkins-0510182949-41ebff87_aeeaf756-4457-47a1-8b5a-727e8bd11313
2022/05/10 18:29:49 Job state: STOPPED
2022/05/10 18:29:49 Job state: STARTING
2022/05/10 18:29:49 Job state: RUNNING
2022/05/10 18:30:04 Job state: DONE
--- PASS: TestJDBCIO_PostgresReadWrite (46.66s)
PASS
ok      github.com/apache/beam/sdks/v2/go/test/integration/io/xlang/jdbc        
101.562s
=== RUN   TestKafkaIO_BasicReadWrite
--- FAIL: TestKafkaIO_BasicReadWrite (0.01s)
panic:  tried cross-language for beam:transform:org.apache.beam:kafka_write:v1 
against localhost:32993 and failed
        expanding external transform
        expanding transform with ExpansionRequest: 
components:{pcollections:{key:"n4" value:{unique_name:"n4" 
coder_id:"c1@nNjqALNHjf" is_bounded:BOUNDED 
windowing_strategy_id:"w0@nNjqALNHjf"}} 
windowing_strategies:{key:"w0@nNjqALNHjf" 
value:{window_fn:{urn:"beam:window_fn:global_windows:v1"} 
merge_status:NON_MERGING window_coder_id:"c2@nNjqALNHjf" trigger:{default:{}} 
accumulation_mode:DISCARDING output_time:END_OF_WINDOW 
closing_behavior:EMIT_IF_NONEMPTY on_time_behavior:FIRE_IF_NONEMPTY 
environment_id:"go"}} coders:{key:"c0@nNjqALNHjf" 
value:{spec:{urn:"beam:coder:bytes:v1"}}} coders:{key:"c1@nNjqALNHjf" 
value:{spec:{urn:"beam:coder:kv:v1"} component_coder_ids:"c0@nNjqALNHjf" 
component_coder_ids:"c0@nNjqALNHjf"}} coders:{key:"c2@nNjqALNHjf" 
value:{spec:{urn:"beam:coder:global_window:v1"}}} environments:{key:"go" 
value:{}}} transform:{unique_name:"External" 
spec:{urn:"beam:transform:org.apache.beam:kafka_write:v1" 
payload:"\n}\n\x1c\n\x0eProducerConfig\x1a\n*\x08\n\x02\x10\x07\x12\x02\x10\x07\n\x0b\n\x05Topic\x1a\x02\x10\x07\n\x13\n\rKeySerializer\x1a\x02\x10\x07\n\x15\n\x0fValueSerializer\x1a\x02\x10\x07\x12$d97fbd8d-dde2-46d8-babd-f5372b6ab5e6\x12\xda\x01\x04\x00\x00\x00\x00\x01\x11bootstrap.servers\x0flocalhost:45337=xlang_kafkaio_basic_test_d9e10fd6-6da5-4c01-8a41-0c379d5914db9org.apache.kafka.common.serialization.ByteArraySerializer9org.apache.kafka.common.serialization.ByteArraySerializer"}
 inputs:{key:"i0" value:"n4"} environment_id:"go"} namespace:"nNjqALNHjf"
expansion failed
        caused by:
rpc error: code = Unavailable desc = connection error: desc = "transport: Error 
while dialing dial tcp 127.0.0.1:32993: connect: connection refused" [recovered]
        panic:  tried cross-language for 
beam:transform:org.apache.beam:kafka_write:v1 against localhost:32993 and failed
        expanding external transform
        expanding transform with ExpansionRequest: 
components:{pcollections:{key:"n4" value:{unique_name:"n4" 
coder_id:"c1@nNjqALNHjf" is_bounded:BOUNDED 
windowing_strategy_id:"w0@nNjqALNHjf"}} 
windowing_strategies:{key:"w0@nNjqALNHjf" 
value:{window_fn:{urn:"beam:window_fn:global_windows:v1"} 
merge_status:NON_MERGING window_coder_id:"c2@nNjqALNHjf" trigger:{default:{}} 
accumulation_mode:DISCARDING output_time:END_OF_WINDOW 
closing_behavior:EMIT_IF_NONEMPTY on_time_behavior:FIRE_IF_NONEMPTY 
environment_id:"go"}} coders:{key:"c0@nNjqALNHjf" 
value:{spec:{urn:"beam:coder:bytes:v1"}}} coders:{key:"c1@nNjqALNHjf" 
value:{spec:{urn:"beam:coder:kv:v1"} component_coder_ids:"c0@nNjqALNHjf" 
component_coder_ids:"c0@nNjqALNHjf"}} coders:{key:"c2@nNjqALNHjf" 
value:{spec:{urn:"beam:coder:global_window:v1"}}} environments:{key:"go" 
value:{}}} transform:{unique_name:"External" 
spec:{urn:"beam:transform:org.apache.beam:kafka_write:v1" 
payload:"\n}\n\x1c\n\x0eProducerConfig\x1a\n*\x08\n\x02\x10\x07\x12\x02\x10\x07\n\x0b\n\x05Topic\x1a\x02\x10\x07\n\x13\n\rKeySerializer\x1a\x02\x10\x07\n\x15\n\x0fValueSerializer\x1a\x02\x10\x07\x12$d97fbd8d-dde2-46d8-babd-f5372b6ab5e6\x12\xda\x01\x04\x00\x00\x00\x00\x01\x11bootstrap.servers\x0flocalhost:45337=xlang_kafkaio_basic_test_d9e10fd6-6da5-4c01-8a41-0c379d5914db9org.apache.kafka.common.serialization.ByteArraySerializer9org.apache.kafka.common.serialization.ByteArraySerializer"}
 inputs:{key:"i0" value:"n4"} environment_id:"go"} namespace:"nNjqALNHjf"
expansion failed
        caused by:
rpc error: code = Unavailable desc = connection error: desc = "transport: Error 
while dialing dial tcp 127.0.0.1:32993: connect: connection refused"

goroutine 50 [running]:
testing.tRunner.func1.2({0xc9ec00, 0xc000298240})
        /home/jenkins/sdk/go1.18.1/src/testing/testing.go:1389 +0x24e
testing.tRunner.func1()
        /home/jenkins/sdk/go1.18.1/src/testing/testing.go:1392 +0x39f
panic({0xc9ec00, 0xc000298240})
        /home/jenkins/sdk/go1.18.1/src/runtime/panic.go:838 +0x207
github.com/apache/beam/sdks/v2/go/pkg/beam.CrossLanguage({0xc0000a29e0?, 
0xc00054c870?}, {0xdc4204, 0x2d}, {0xc0000dc6e0?, 0x0?, 0x5?}, {0xc000356060, 
0xf}, 0xc000615c60, ...)
        
<https://ci-beam.apache.org/job/beam_PostCommit_XVR_Samza/ws/src/sdks/go/pkg/beam/xlang.go>:162
 +0x136
github.com/apache/beam/sdks/v2/go/pkg/beam/io/xlang/kafkaio.Write({0xc0000a26a0?,
 0xc00054c870?}, {0xc000356060, 0xf}, {0xc000356000, 0xf}, {0xc00004e640, 
0x3d}, {0xc000615e60?}, {0x0, ...})
        
<https://ci-beam.apache.org/job/beam_PostCommit_XVR_Samza/ws/src/sdks/go/pkg/beam/io/xlang/kafkaio/kafka.go>:278
 +0x4ad
github.com/apache/beam/sdks/v2/go/test/integration/io/xlang/kafka.writeInts({0xc0000a2520?,
 0xc00054c870?}, {0xc000356060, 0xf}, {0xc000356000, 0xf}, {0xc00004e640, 
0x3d}, {0xc000618000, 0x3e8, ...})
        
<https://ci-beam.apache.org/job/beam_PostCommit_XVR_Samza/ws/src/sdks/go/test/integration/io/xlang/kafka/kafka.go>:48
 +0x24b
github.com/apache/beam/sdks/v2/go/test/integration/io/xlang/kafka.WritePipeline({0xc000356060,
 0xf}, {0xc000356000, 0xf}, {0xc00004e640, 0x3d}, {0xc000618000, 0x3e8, 0x3e8})
        
<https://ci-beam.apache.org/job/beam_PostCommit_XVR_Samza/ws/src/sdks/go/test/integration/io/xlang/kafka/kafka.go>:70
 +0x157
github.com/apache/beam/sdks/v2/go/test/integration/io/xlang/kafka.TestKafkaIO_BasicReadWrite(0xc000102ea0)
        
<https://ci-beam.apache.org/job/beam_PostCommit_XVR_Samza/ws/src/sdks/go/test/integration/io/xlang/kafka/kafka_test.go>:61
 +0xed
testing.tRunner(0xc000102ea0, 0xdf86d8)
        /home/jenkins/sdk/go1.18.1/src/testing/testing.go:1439 +0x102
created by testing.(*T).Run
        /home/jenkins/sdk/go1.18.1/src/testing/testing.go:1486 +0x35f
FAIL    github.com/apache/beam/sdks/v2/go/test/integration/io/xlang/kafka       
6.127s
FAIL
$ TEST_EXIT_CODE=0
$ cd ../..
$ exit 1
$ exit 1

> Task :runners:samza:job-server:validatesCrossLanguageRunnerGoUsingJava FAILED
> Task :runners:samza:job-server:validatesCrossLanguageRunnerJavaUsingJava
> Task :runners:samza:job-server:validatesCrossLanguageRunnerJavaUsingPython
> Task :runners:samza:job-server:validatesCrossLanguageRunnerJavaUsingPythonOnly

> Task :runners:samza:job-server:validatesCrossLanguageRunnerPythonUsingJava
>>> RUNNING integration tests with pipeline options: --runner=PortableRunner 
>>> --job_endpoint=localhost:35759 --environment_cache_millis=10000 
>>> --experiments=beam_fn_api
>>>   pytest options: 
>>>   collect markers: -m=xlang_transforms
============================= test session starts ==============================
platform linux -- Python 3.9.10, pytest-4.6.11, py-1.11.0, pluggy-0.13.1
rootdir: 
<https://ci-beam.apache.org/job/beam_PostCommit_XVR_Samza/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: 600.0s
timeout method: signal
timeout func_only: False
collected 5576 items / 5566 deselected / 1 skipped / 9 selected

apache_beam/io/external/generate_sequence_test.py ...                    [ 30%]
apache_beam/transforms/validate_runner_xlang_test.py .......             [100%]

=============================== warnings summary ===============================
apache_beam/io/filesystems_test.py:54
  
<https://ci-beam.apache.org/job/beam_PostCommit_XVR_Samza/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
  
<https://ci-beam.apache.org/job/beam_PostCommit_XVR_Samza/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

<unknown>:54
  <unknown>:54: DeprecationWarning: invalid escape sequence \c

<unknown>:62
  <unknown>:62: DeprecationWarning: invalid escape sequence \d

<https://ci-beam.apache.org/job/beam_PostCommit_XVR_Samza/ws/src/build/gradleenv/1922375555/lib/python3.9/site-packages/tenacity/_asyncio.py>:42
  
<https://ci-beam.apache.org/job/beam_PostCommit_XVR_Samza/ws/src/build/gradleenv/1922375555/lib/python3.9/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_XVR_Samza/ws/src/sdks/python/pytest_xlangValidateRunner.xml>
 -
===== 10 passed, 1 skipped, 5566 deselected, 5 warnings in 128.11 seconds ======

> Task :runners:samza:job-server:validatesCrossLanguageRunnerPythonUsingPython
>>> RUNNING integration tests with pipeline options: --runner=PortableRunner 
>>> --job_endpoint=localhost:35759 --environment_cache_millis=10000 
>>> --experiments=beam_fn_api
>>>   pytest options: 
>>>   collect markers: -m=xlang_transforms
============================= test session starts ==============================
platform linux -- Python 3.9.10, pytest-4.6.11, py-1.11.0, pluggy-0.13.1
rootdir: 
<https://ci-beam.apache.org/job/beam_PostCommit_XVR_Samza/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: 600.0s
timeout method: signal
timeout func_only: False
collected 5576 items / 5566 deselected / 1 skipped / 9 selected

apache_beam/io/external/generate_sequence_test.py .ss                    [ 30%]
apache_beam/transforms/validate_runner_xlang_test.py .......             [100%]

=============================== warnings summary ===============================
<unknown>:54
  <unknown>:54: DeprecationWarning: invalid escape sequence \c

<unknown>:62
  <unknown>:62: DeprecationWarning: invalid escape sequence \d

<https://ci-beam.apache.org/job/beam_PostCommit_XVR_Samza/ws/src/build/gradleenv/1922375555/lib/python3.9/site-packages/tenacity/_asyncio.py>:42
  
<https://ci-beam.apache.org/job/beam_PostCommit_XVR_Samza/ws/src/build/gradleenv/1922375555/lib/python3.9/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_XVR_Samza/ws/src/sdks/python/pytest_xlangValidateRunner.xml>
 -
====== 8 passed, 3 skipped, 5566 deselected, 3 warnings in 90.53 seconds =======

> Task :runners:samza:job-server:validatesCrossLanguageRunnerPythonUsingSql
>>> RUNNING integration tests with pipeline options: --runner=PortableRunner 
>>> --job_endpoint=localhost:35759 --environment_cache_millis=10000 
>>> --experiments=beam_fn_api
>>>   pytest options: 
>>>   collect markers: -m=xlang_sql_expansion_service
============================= test session starts ==============================
platform linux -- Python 3.9.10, pytest-4.6.11, py-1.11.0, pluggy-0.13.1
rootdir: 
<https://ci-beam.apache.org/job/beam_PostCommit_XVR_Samza/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: 600.0s
timeout method: signal
timeout func_only: False
collected 5576 items / 5567 deselected / 1 skipped / 8 selected

apache_beam/transforms/sql_test.py .........                             [100%]

=============================== warnings summary ===============================
<unknown>:54
  <unknown>:54: DeprecationWarning: invalid escape sequence \c

<unknown>:62
  <unknown>:62: DeprecationWarning: invalid escape sequence \d

<https://ci-beam.apache.org/job/beam_PostCommit_XVR_Samza/ws/src/build/gradleenv/1922375555/lib/python3.9/site-packages/tenacity/_asyncio.py>:42
  
<https://ci-beam.apache.org/job/beam_PostCommit_XVR_Samza/ws/src/build/gradleenv/1922375555/lib/python3.9/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_XVR_Samza/ws/src/sdks/python/pytest_xlangSqlValidateRunner.xml>
 -
====== 9 passed, 1 skipped, 5567 deselected, 3 warnings in 325.71 seconds ======

> Task :runners:samza:job-server:validatesCrossLanguageRunnerCleanup
Stopping expansion service pid: 2277691.
Stopping expansion service pid: 2277694.

> Task :runners:samza:job-server:samzaJobServerCleanup
Stopping job server pid: 2259750.

FAILURE: Build failed with an exception.

* Where:
Build file 
'<https://ci-beam.apache.org/job/beam_PostCommit_XVR_Samza/ws/src/sdks/go/test/build.gradle'>
 line: 195

* What went wrong:
Execution failed for task 
':runners:samza:job-server:validatesCrossLanguageRunnerGoUsingJava'.
> 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 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings 
and determine if they come from your own scripts or plugins.

See 
https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings

Execution optimizations have been disabled for 1 invalid unit(s) of work during 
this build to ensure correctness.
Please consult deprecation warnings for more details.

BUILD FAILED in 36m 30s
231 actionable tasks: 35 executed, 196 up-to-date

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

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