See 
<https://ci-beam.apache.org/job/beam_PostCommit_TransformService_Direct/15/display/redirect>

Changes:


------------------------------------------
[...truncated 712.08 KB...]
INFO     
apache_beam.io.gcp.bigtableio_it_test:bigtableio_it_test.py:186 Created table 
[test-table-1692226701-3cf794]
INFO     
apache_beam.io.gcp.bigtableio_it_test:bigtableio_it_test.py:190 Deleting table 
[test-table-1692226701-3cf794]
_____________ TestWriteToBigtableXlangIT.test_delete_row_mutation 
______________

self = <apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT 
testMethod=test_delete_row_mutation>

    def test_delete_row_mutation(self):
      write_row1: DirectRow = DirectRow('key-1', self.table)
      write_row2: DirectRow = DirectRow('key-2', self.table)
      col_fam = self.table.column_family('col_fam')
      col_fam.create()
      # write a couple of rows to the table beforehand
      write_row1.set_cell('col_fam', b'col', b'val-1')
      write_row1.commit()
      write_row2.set_cell('col_fam', b'col', b'val-2')
      write_row2.commit()
    
      # prepare a row that will delete itself
      delete_row: DirectRow = DirectRow('key-1')
      delete_row.delete()
    
>     self.run_pipeline([delete_row])

apache_beam/io/gcp/bigtableio_it_test.py:364: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
apache_beam/io/gcp/bigtableio_it_test.py:209: in run_pipeline
    | bigtableio.WriteToBigTable(
apache_beam/io/gcp/bigtableio.py:219: in __init__
    SchemaAwareExternalTransform.discover_config(
apache_beam/transforms/external.py:430: in discover_config
    for st in schematransforms:
apache_beam/transforms/external.py:402: in discover
    discover_response = service.DiscoverSchemaTransform(
../../build/gradleenv/1922375555/lib/python3.8/site-packages/grpc/_channel.py:1161:
 in __call__
    return _end_unary_response_blocking(state, call, False, None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

state = <grpc._channel._RPCState object at 0x7f600703d130>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7f600730e780>
with_call = False, deadline = None

    def _end_unary_response_blocking(
        state: _RPCState,
        call: cygrpc.SegregatedCall,
        with_call: bool,
        deadline: Optional[float],
    ) -> Union[ResponseType, Tuple[ResponseType, grpc.Call]]:
        if state.code is grpc.StatusCode.OK:
            if with_call:
                rendezvous = _MultiThreadedRendezvous(state, call, None, 
deadline)
                return state.response, rendezvous
            else:
                return state.response
        else:
>           raise _InactiveRpcError(state)  # pytype: disable=not-instantiable
E           grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC 
that terminated with:
E              status = StatusCode.UNAVAILABLE
E              details = "failed to connect to all addresses; last 
error: UNKNOWN: ipv4:127.0.0.1:44133: Failed to connect to remote host: 
Connection refused"
E              debug_error_string = "UNKNOWN:failed to connect to all 
addresses; last error: UNKNOWN: ipv4:127.0.0.1:44133: Failed to connect to 
remote host: Connection refused {grpc_status:14, 
created_time:"2023-08-16T22:58:36.996111653+00:00"}"
E           >

../../build/gradleenv/1922375555/lib/python3.8/site-packages/grpc/_channel.py:1004:
 _InactiveRpcError
------------------------------ Captured log call -------------------------------
INFO     
apache_beam.io.gcp.bigtableio_it_test:bigtableio_it_test.py:186 Created table 
[test-table-1692226708-794f9e]
INFO     
apache_beam.io.gcp.bigtableio_it_test:bigtableio_it_test.py:190 Deleting table 
[test-table-1692226708-794f9e]
_________________ TestWriteToBigtableXlangIT.test_set_mutation 
_________________

self = <apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT 
testMethod=test_set_mutation>

    def test_set_mutation(self):
      row1: DirectRow = DirectRow('key-1')
      row2: DirectRow = DirectRow('key-2')
      col_fam = self.table.column_family('col_fam')
      col_fam.create()
      # expected cells
      row1_col1_cell = Cell(b'val1-1', 100_000_000)
      row1_col2_cell = Cell(b'val1-2', 200_000_000)
      row2_col1_cell = Cell(b'val2-1', 100_000_000)
      row2_col2_cell = Cell(b'val2-2', 200_000_000)
      # rows sent to write transform
      row1.set_cell(
          'col_fam', b'col-1', row1_col1_cell.value, row1_col1_cell.timestamp)
      row1.set_cell(
          'col_fam', b'col-2', row1_col2_cell.value, row1_col2_cell.timestamp)
      row2.set_cell(
          'col_fam', b'col-1', row2_col1_cell.value, row2_col1_cell.timestamp)
      row2.set_cell(
          'col_fam', b'col-2', row2_col2_cell.value, row2_col2_cell.timestamp)
    
>     self.run_pipeline([row1, row2])

apache_beam/io/gcp/bigtableio_it_test.py:236: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
apache_beam/io/gcp/bigtableio_it_test.py:209: in run_pipeline
    | bigtableio.WriteToBigTable(
apache_beam/io/gcp/bigtableio.py:219: in __init__
    SchemaAwareExternalTransform.discover_config(
apache_beam/transforms/external.py:430: in discover_config
    for st in schematransforms:
apache_beam/transforms/external.py:402: in discover
    discover_response = service.DiscoverSchemaTransform(
../../build/gradleenv/1922375555/lib/python3.8/site-packages/grpc/_channel.py:1161:
 in __call__
    return _end_unary_response_blocking(state, call, False, None)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

state = <grpc._channel._RPCState object at 0x7f60071abf10>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7f6007512cc0>
with_call = False, deadline = None

    def _end_unary_response_blocking(
        state: _RPCState,
        call: cygrpc.SegregatedCall,
        with_call: bool,
        deadline: Optional[float],
    ) -> Union[ResponseType, Tuple[ResponseType, grpc.Call]]:
        if state.code is grpc.StatusCode.OK:
            if with_call:
                rendezvous = _MultiThreadedRendezvous(state, call, None, 
deadline)
                return state.response, rendezvous
            else:
                return state.response
        else:
>           raise _InactiveRpcError(state)  # pytype: disable=not-instantiable
E           grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC 
that terminated with:
E              status = StatusCode.UNAVAILABLE
E              details = "failed to connect to all addresses; last 
error: UNKNOWN: ipv4:127.0.0.1:44133: Failed to connect to remote host: 
Connection refused"
E              debug_error_string = "UNKNOWN:failed to connect to all 
addresses; last error: UNKNOWN: ipv4:127.0.0.1:44133: Failed to connect to 
remote host: Connection refused 
{created_time:"2023-08-16T22:58:41.199380985+00:00", grpc_status:14}"
E           >

../../build/gradleenv/1922375555/lib/python3.8/site-packages/grpc/_channel.py:1004:
 _InactiveRpcError
------------------------------ Captured log call -------------------------------
INFO     
apache_beam.io.gcp.bigtableio_it_test:bigtableio_it_test.py:186 Created table 
[test-table-1692226717-ba798e]
INFO     
apache_beam.io.gcp.bigtableio_it_test:bigtableio_it_test.py:190 Deleting table 
[test-table-1692226717-ba798e]
---------------------------- Captured log teardown -----------------------------
INFO     
apache_beam.io.gcp.bigtableio_it_test:bigtableio_it_test.py:198 Deleting 
instance [bt-write-xlang-1692226688-c9e791]
=============================== warnings summary 
===============================
apache_beam/runners/portability/stager.py:63
  
<https://ci-beam.apache.org/job/beam_PostCommit_TransformService_Direct/ws/src/sdks/python/apache_beam/runners/portability/stager.py>:63:
 DeprecationWarning: pkg_resources is deprecated as an API. See 
https://setuptools.pypa.io/en/latest/pkg_resources.html
    import pkg_resources

../../build/gradleenv/1922375555/lib/python3.8/site-packages/pkg_resources/__init__.py:2871:
 20 warnings
  
<https://ci-beam.apache.org/job/beam_PostCommit_TransformService_Direct/ws/src/build/gradleenv/1922375555/lib/python3.8/site-packages/pkg_resources/__init__.py>:2871:
 DeprecationWarning: Deprecated call to 
`pkg_resources.declare_namespace('google')`.
  Implementing implicit namespace packages (as specified in PEP 420) is 
preferred to `pkg_resources.declare_namespace`. See 
https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)

../../build/gradleenv/1922375555/lib/python3.8/site-packages/pkg_resources/__init__.py:2871:
 16 warnings
  
<https://ci-beam.apache.org/job/beam_PostCommit_TransformService_Direct/ws/src/build/gradleenv/1922375555/lib/python3.8/site-packages/pkg_resources/__init__.py>:2871:
 DeprecationWarning: Deprecated call to 
`pkg_resources.declare_namespace('google.cloud')`.
  Implementing implicit namespace packages (as specified in PEP 420) is 
preferred to `pkg_resources.declare_namespace`. See 
https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)

../../build/gradleenv/1922375555/lib/python3.8/site-packages/pkg_resources/__init__.py:2350
../../build/gradleenv/1922375555/lib/python3.8/site-packages/pkg_resources/__init__.py:2350
../../build/gradleenv/1922375555/lib/python3.8/site-packages/pkg_resources/__init__.py:2350
../../build/gradleenv/1922375555/lib/python3.8/site-packages/pkg_resources/__init__.py:2350
  
<https://ci-beam.apache.org/job/beam_PostCommit_TransformService_Direct/ws/src/build/gradleenv/1922375555/lib/python3.8/site-packages/pkg_resources/__init__.py>:2350:
 DeprecationWarning: Deprecated call to 
`pkg_resources.declare_namespace('google')`.
  Implementing implicit namespace packages (as specified in PEP 420) is 
preferred to `pkg_resources.declare_namespace`. See 
https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(parent)

../../build/gradleenv/1922375555/lib/python3.8/site-packages/pkg_resources/__init__.py:2871
  
<https://ci-beam.apache.org/job/beam_PostCommit_TransformService_Direct/ws/src/build/gradleenv/1922375555/lib/python3.8/site-packages/pkg_resources/__init__.py>:2871:
 DeprecationWarning: Deprecated call to 
`pkg_resources.declare_namespace('google.logging')`.
  Implementing implicit namespace packages (as specified in PEP 420) is 
preferred to `pkg_resources.declare_namespace`. See 
https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)

../../build/gradleenv/1922375555/lib/python3.8/site-packages/pkg_resources/__init__.py:2871
  
<https://ci-beam.apache.org/job/beam_PostCommit_TransformService_Direct/ws/src/build/gradleenv/1922375555/lib/python3.8/site-packages/pkg_resources/__init__.py>:2871:
 DeprecationWarning: Deprecated call to 
`pkg_resources.declare_namespace('google.iam')`.
  Implementing implicit namespace packages (as specified in PEP 420) is 
preferred to `pkg_resources.declare_namespace`. See 
https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)

../../build/gradleenv/1922375555/lib/python3.8/site-packages/hdfs/config.py:28
  
<https://ci-beam.apache.org/job/beam_PostCommit_TransformService_Direct/ws/src/build/gradleenv/1922375555/lib/python3.8/site-packages/hdfs/config.py>:28:
 DeprecationWarning: the imp module is deprecated in favour of importlib; see 
the module's documentation for alternative uses
    from imp import load_source

../../build/gradleenv/1922375555/lib/python3.8/site-packages/google/rpc/__init__.py:20
  
<https://ci-beam.apache.org/job/beam_PostCommit_TransformService_Direct/ws/src/build/gradleenv/1922375555/lib/python3.8/site-packages/google/rpc/__init__.py>:20:
 DeprecationWarning: Deprecated call to 
`pkg_resources.declare_namespace('google.rpc')`.
  Implementing implicit namespace packages (as specified in PEP 420) is 
preferred to `pkg_resources.declare_namespace`. See 
https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    pkg_resources.declare_namespace(__name__)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: 
<https://ci-beam.apache.org/job/beam_PostCommit_TransformService_Direct/ws/src/sdks/python/pytest_transformService.xml>
 -
=========================== short test summary info 
============================
FAILED 
apache_beam/io/gcp/bigtableio_it_test.py::TestReadFromBigTableIT::test_read_xlang
 - grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated 
with:
        status = StatusCode.UNAVAILABLE
        details = "failed to connect to all addresses; last error: UNKNOWN: 
ipv4:127.0.0.1:44133: Failed to connect to remote host: Connection refused"
        debug_error_string = "UNKNOWN:failed to connect to all addresses; last 
error: UNKNOWN: ipv4:127.0.0.1:44133: Failed to connect to remote host: 
Connection refused {created_time:"2023-08-16T22:58:06.375159492+00:00", 
grpc_status:14}"
>
FAILED 
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_mutation
 - grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated 
with:
        status = StatusCode.UNAVAILABLE
        details = "failed to connect to all addresses; last error: UNKNOWN: 
ipv4:127.0.0.1:44133: Failed to connect to remote host: Connection refused"
        debug_error_string = "UNKNOWN:failed to connect to all addresses; last 
error: UNKNOWN: ipv4:127.0.0.1:44133: Failed to connect to remote host: 
Connection refused {created_time:"2023-08-16T22:58:16.87219418+00:00", 
grpc_status:14}"
>
FAILED 
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_with_timerange_mutation
 - grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated 
with:
        status = StatusCode.UNAVAILABLE
        details = "failed to connect to all addresses; last error: UNKNOWN: 
ipv4:127.0.0.1:44133: Failed to connect to remote host: Connection refused"
        debug_error_string = "UNKNOWN:failed to connect to all addresses; last 
error: UNKNOWN: ipv4:127.0.0.1:44133: Failed to connect to remote host: 
Connection refused {created_time:"2023-08-16T22:58:21.123657587+00:00", 
grpc_status:14}"
>
FAILED 
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_column_family_mutation
 - grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated 
with:
        status = StatusCode.UNAVAILABLE
        details = "failed to connect to all addresses; last error: UNKNOWN: 
ipv4:127.0.0.1:44133: Failed to connect to remote host: Connection refused"
        debug_error_string = "UNKNOWN:failed to connect to all addresses; last 
error: UNKNOWN: ipv4:127.0.0.1:44133: Failed to connect to remote host: 
Connection refused {grpc_status:14, 
created_time:"2023-08-16T22:58:27.90304583+00:00"}"
>
FAILED 
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_row_mutation
 - grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated 
with:
        status = StatusCode.UNAVAILABLE
        details = "failed to connect to all addresses; last error: UNKNOWN: 
ipv4:127.0.0.1:44133: Failed to connect to remote host: Connection refused"
        debug_error_string = "UNKNOWN:failed to connect to all addresses; last 
error: UNKNOWN: ipv4:127.0.0.1:44133: Failed to connect to remote host: 
Connection refused {grpc_status:14, 
created_time:"2023-08-16T22:58:36.996111653+00:00"}"
>
FAILED 
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_set_mutation
 - grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated 
with:
        status = StatusCode.UNAVAILABLE
        details = "failed to connect to all addresses; last error: UNKNOWN: 
ipv4:127.0.0.1:44133: Failed to connect to remote host: Connection refused"
        debug_error_string = "UNKNOWN:failed to connect to all addresses; last 
error: UNKNOWN: ipv4:127.0.0.1:44133: Failed to connect to remote host: 
Connection refused {created_time:"2023-08-16T22:58:41.199380985+00:00", 
grpc_status:14}"
>
==== 6 failed, 15 skipped, 6954 deselected, 
45 warnings in 90.11s (0:01:30) ====

> Task :sdks:python:test-suites:direct:xlang:transformServicePythonUsingJava 
> FAILED

> Task :sdks:python:test-suites:direct:xlang:fnApiJobServerCleanup
Killing process at 3139541

> Task :sdks:python:test-suites:direct:xlang:transformServiceCleanup
Stopping the transform service for project xlang at port 44133 for Beam version 
2.51.0.dev  transform service startup jar is 
<https://ci-beam.apache.org/job/beam_PostCommit_TransformService_Direct/ws/src/sdks/java/transform-service/launcher/build/libs/beam-sdks-java-transform-service-launcher-2.51.0-SNAPSHOT.jar>

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task 
':sdks:python:test-suites:direct:xlang:transformServicePythonUsingJava'.
> 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.

* 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.6.2/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 14m 40s
159 actionable tasks: 112 executed, 38 from cache, 9 up-to-date

Publishing build scan...
https://ge.apache.org/s/lbgixaej4vek4

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