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

Changes:

[noreply] [CdapIO] Add readme for CdapIO. Update readme for SparkReceiverIO.


------------------------------------------
[...truncated 306.42 KB...]
    table_ref = client.dataset(dataset_id).table(table_id)

apache_beam/examples/dataframe/wordcount_test.py::WordCountTest::test_basics
apache_beam/examples/dataframe/flight_delays_it_test.py::FlightDelaysTest::test_flight_delays
  
<https://ci-beam.apache.org/job/beam_PostCommit_Python_Examples_Dataflow/ws/src/sdks/python/apache_beam/dataframe/io.py>:659:
 FutureWarning: WriteToFiles is experimental.
    return pcoll | fileio.WriteToFiles(

apache_beam/examples/dataframe/wordcount_test.py::WordCountTest::test_basics
apache_beam/examples/dataframe/flight_delays_it_test.py::FlightDelaysTest::test_flight_delays
  
<https://ci-beam.apache.org/job/beam_PostCommit_Python_Examples_Dataflow/ws/src/sdks/python/apache_beam/io/fileio.py>:590:
 BeamDeprecationWarning: options is deprecated since First stable release. 
References to <pipeline>.options will not be supported
    p.options.view_as(GoogleCloudOptions).temp_location or

apache_beam/examples/complete/game/leader_board_it_test.py::LeaderBoardIT::test_leader_board_it
apache_beam/examples/complete/game/game_stats_it_test.py::GameStatsIT::test_game_stats_it
  
<https://ci-beam.apache.org/job/beam_PostCommit_Python_Examples_Dataflow/ws/src/sdks/python/apache_beam/io/gcp/tests/utils.py>:63:
 PendingDeprecationWarning: Client.dataset is deprecated and will be removed in 
a future version. Use a string like 'my_project.my_dataset' or a 
cloud.google.bigquery.DatasetReference object, instead.
    dataset_ref = client.dataset(unique_dataset_name, project=project)

apache_beam/examples/dataframe/flight_delays_it_test.py::FlightDelaysTest::test_flight_delays
  
<https://ci-beam.apache.org/job/beam_PostCommit_Python_Examples_Dataflow/ws/src/sdks/python/apache_beam/examples/dataframe/flight_delays.py>:47:
 FutureWarning: The default value of numeric_only in DataFrame.mean is 
deprecated. In a future version, it will default to False. In addition, 
specifying 'numeric_only=None' is deprecated. Select only valid columns or 
specify the value of numeric_only to silence this warning.
    return airline_df[at_top_airports].mean()

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: 
<https://ci-beam.apache.org/job/beam_PostCommit_Python_Examples_Dataflow/ws/src/sdks/python/pytest_postCommitIT-df-py310-xdist.xml>
 -
=========================== short test summary info 
============================
FAILED 
apache_beam/examples/dataframe/wordcount_test.py::WordCountTest::test_basics
 - apache_beam.runners.dataflow.dataflow_runner.DataflowRuntimeException: 
Dataflow pipeline failed. State: FAILED, Error:
Traceback (most recent call last):
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/internal/dill_pickler.py", 
line 285, in loads
    return dill.loads(s)
  File "/usr/local/lib/python3.10/site-packages/dill/_dill.py", line 275, in 
loads
    return load(file, ignore, **kwds)
  File "/usr/local/lib/python3.10/site-packages/dill/_dill.py", line 270, in 
load
    return Unpickler(file, ignore=ignore, **kwds).load()
  File "/usr/local/lib/python3.10/site-packages/dill/_dill.py", line 472, in 
load
    obj = StockUnpickler.load(self)
  File "/usr/local/lib/python3.10/site-packages/dill/_dill.py", line 462, in 
find_class
    return StockUnpickler.find_class(self, module, name)
AttributeError: Can't get attribute '_NoDefault' on <module 'pandas._libs.lib' 
from 
'/usr/local/lib/python3.10/site-packages/pandas/_libs/lib.cpython-310-x86_64-linux-gnu.so'>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/sdk_worker.py",
 line 287, in _execute
    response = task()
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/sdk_worker.py",
 line 360, in <lambda>
    lambda: self.create_worker().do_instruction(request), request)
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/sdk_worker.py",
 line 596, in do_instruction
    return getattr(self, request_type)(
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/sdk_worker.py",
 line 627, in process_bundle
    bundle_processor = self.bundle_processor_cache.get(
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/sdk_worker.py",
 line 459, in get
    processor = bundle_processor.BundleProcessor(
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 871, in __init__
    self.ops = self.create_execution_tree(self.process_bundle_descriptor)
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 924, in create_execution_tree
    return collections.OrderedDict([(
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 927, in <listcomp>
    get_operation(transform_id))) for transform_id in sorted(
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 814, in wrapper
    result = cache[args] = func(*args)
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 906, in get_operation
    transform_consumers = {
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 907, in <dictcomp>
    tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 907, in <listcomp>
    tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 814, in wrapper
    result = cache[args] = func(*args)
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 906, in get_operation
    transform_consumers = {
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 907, in <dictcomp>
    tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 907, in <listcomp>
    tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 814, in wrapper
    result = cache[args] = func(*args)
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 906, in get_operation
    transform_consumers = {
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 907, in <dictcomp>
    tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 907, in <listcomp>
    tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 814, in wrapper
    result = cache[args] = func(*args)
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 906, in get_operation
    transform_consumers = {
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 907, in <dictcomp>
    tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 907, in <listcomp>
    tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 814, in wrapper
    result = cache[args] = func(*args)
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 906, in get_operation
    transform_consumers = {
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 907, in <dictcomp>
    tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 907, in <listcomp>
    tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 814, in wrapper
    result = cache[args] = func(*args)
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 906, in get_operation
    transform_consumers = {
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 907, in <dictcomp>
    tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 907, in <listcomp>
    tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 814, in wrapper
    result = cache[args] = func(*args)
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 911, in get_operation
    return transform_factory.create_operation(
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 1206, in create_operation
    return creator(self, transform_id, transform_proto, payload, consumers)
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 1553, in create_par_do
    return _create_pardo_operation(
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 1596, in _create_pardo_operation
    dofn_data = pickler.loads(serialized_fn)
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/internal/pickler.py", line 
51, in loads
    return desired_pickle_lib.loads(
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/internal/dill_pickler.py", 
line 289, in loads
    return dill.loads(s)
  File "/usr/local/lib/python3.10/site-packages/dill/_dill.py", line 275, in 
loads
    return load(file, ignore, **kwds)
  File "/usr/local/lib/python3.10/site-packages/dill/_dill.py", line 270, in 
load
    return Unpickler(file, ignore=ignore, **kwds).load()
  File "/usr/local/lib/python3.10/site-packages/dill/_dill.py", line 472, in 
load
    obj = StockUnpickler.load(self)
  File "/usr/local/lib/python3.10/site-packages/dill/_dill.py", line 462, in 
find_class
    return StockUnpickler.find_class(self, module, name)
AttributeError: Can't get attribute '_NoDefault' on <module 'pandas._libs.lib' 
from 
'/usr/local/lib/python3.10/site-packages/pandas/_libs/lib.cpython-310-x86_64-linux-gnu.so'>
FAILED 
apache_beam/examples/dataframe/flight_delays_it_test.py::FlightDelaysTest::test_flight_delays
 - apache_beam.runners.dataflow.dataflow_runner.DataflowRuntimeException: 
Dataflow pipeline failed. State: FAILED, Error:
Traceback (most recent call last):
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/internal/dill_pickler.py", 
line 285, in loads
    return dill.loads(s)
  File "/usr/local/lib/python3.10/site-packages/dill/_dill.py", line 275, in 
loads
    return load(file, ignore, **kwds)
  File "/usr/local/lib/python3.10/site-packages/dill/_dill.py", line 270, in 
load
    return Unpickler(file, ignore=ignore, **kwds).load()
  File "/usr/local/lib/python3.10/site-packages/dill/_dill.py", line 472, in 
load
    obj = StockUnpickler.load(self)
  File "/usr/local/lib/python3.10/site-packages/dill/_dill.py", line 462, in 
find_class
    return StockUnpickler.find_class(self, module, name)
AttributeError: Can't get attribute '_NoDefault' on <module 'pandas._libs.lib' 
from 
'/usr/local/lib/python3.10/site-packages/pandas/_libs/lib.cpython-310-x86_64-linux-gnu.so'>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/sdk_worker.py",
 line 287, in _execute
    response = task()
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/sdk_worker.py",
 line 360, in <lambda>
    lambda: self.create_worker().do_instruction(request), request)
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/sdk_worker.py",
 line 596, in do_instruction
    return getattr(self, request_type)(
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/sdk_worker.py",
 line 627, in process_bundle
    bundle_processor = self.bundle_processor_cache.get(
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/sdk_worker.py",
 line 459, in get
    processor = bundle_processor.BundleProcessor(
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 871, in __init__
    self.ops = self.create_execution_tree(self.process_bundle_descriptor)
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 924, in create_execution_tree
    return collections.OrderedDict([(
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 927, in <listcomp>
    get_operation(transform_id))) for transform_id in sorted(
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 814, in wrapper
    result = cache[args] = func(*args)
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 906, in get_operation
    transform_consumers = {
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 907, in <dictcomp>
    tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 907, in <listcomp>
    tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 814, in wrapper
    result = cache[args] = func(*args)
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 906, in get_operation
    transform_consumers = {
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 907, in <dictcomp>
    tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 907, in <listcomp>
    tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 814, in wrapper
    result = cache[args] = func(*args)
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 906, in get_operation
    transform_consumers = {
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 907, in <dictcomp>
    tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 907, in <listcomp>
    tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 814, in wrapper
    result = cache[args] = func(*args)
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 906, in get_operation
    transform_consumers = {
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 907, in <dictcomp>
    tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 907, in <listcomp>
    tag: [get_operation(op) for op in pcoll_consumers[pcoll_id]]
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 814, in wrapper
    result = cache[args] = func(*args)
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 911, in get_operation
    return transform_factory.create_operation(
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 1206, in create_operation
    return creator(self, transform_id, transform_proto, payload, consumers)
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 1553, in create_par_do
    return _create_pardo_operation(
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/runners/worker/bundle_processor.py",
 line 1596, in _create_pardo_operation
    dofn_data = pickler.loads(serialized_fn)
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/internal/pickler.py", line 
51, in loads
    return desired_pickle_lib.loads(
  File 
"/usr/local/lib/python3.10/site-packages/apache_beam/internal/dill_pickler.py", 
line 289, in loads
    return dill.loads(s)
  File "/usr/local/lib/python3.10/site-packages/dill/_dill.py", line 275, in 
loads
    return load(file, ignore, **kwds)
  File "/usr/local/lib/python3.10/site-packages/dill/_dill.py", line 270, in 
load
    return Unpickler(file, ignore=ignore, **kwds).load()
  File "/usr/local/lib/python3.10/site-packages/dill/_dill.py", line 472, in 
load
    obj = StockUnpickler.load(self)
  File "/usr/local/lib/python3.10/site-packages/dill/_dill.py", line 462, in 
find_class
    return StockUnpickler.find_class(self, module, name)
AttributeError: Can't get attribute '_NoDefault' on <module 'pandas._libs.lib' 
from 
'/usr/local/lib/python3.10/site-packages/pandas/_libs/lib.cpython-310-x86_64-linux-gnu.so'>
====== 2 failed, 13 passed, 6 skipped, 
182 warnings in 2443.28s (0:40:43) ======

> Task :sdks:python:test-suites:dataflow:py310:examples FAILED

FAILURE: Build failed with an exception.

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

* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py310:examples'.
> 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.5.1/userguide/command_line_interface.html#sec:command_line_warnings

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

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

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