See 
<https://ci-beam.apache.org/job/beam_PostCommit_XVR_Samza/659/display/redirect>

Changes:


------------------------------------------
[...truncated 418.36 KB...]

self = <apache_beam.transforms.sql_test.SqlTransformTest 
testMethod=test_windowing_before_sql>

    def test_windowing_before_sql(self):
      with TestPipeline() as p:
        out = (
            p | beam.Create([
                SimpleRow(5, "foo", 1.),
                SimpleRow(15, "bar", 2.),
                SimpleRow(25, "baz", 3.)
            ])
            | beam.Map(lambda v: beam.window.TimestampedValue(v, v.id)).
            with_output_types(SimpleRow)
            | beam.WindowInto(
                beam.window.FixedWindows(10)).with_output_types(SimpleRow)
>           | SqlTransform("SELECT COUNT(*) as `count` FROM PCOLLECTION"))

apache_beam/transforms/sql_test.py:174: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
apache_beam/transforms/sql.py:87: in __init__
    ':sdks:java:extensions:sql:expansion-service:shadowJar')
apache_beam/transforms/external.py:733: in __init__
    gradle_target, gradle_appendix)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

cls = <class 'apache_beam.utils.subprocess_server.JavaJarServer'>
gradle_target = ':sdks:java:extensions:sql:expansion-service:shadowJar'
appendix = None, version = '2.37.0.dev'
artifact_id = 'beam-sdks-java-extensions-sql-expansion-service'

    @classmethod
    def path_to_beam_jar(
        cls,
        gradle_target,
        appendix=None,
        version=beam_version,
        artifact_id=None):
      if gradle_target in cls._BEAM_SERVICES.replacements:
        return cls._BEAM_SERVICES.replacements[gradle_target]
    
      gradle_package = gradle_target.strip(':').rsplit(':', 1)[0]
      if not artifact_id:
        artifact_id = 'beam-' + gradle_package.replace(':', '-')
      project_root = os.path.sep.join(
          os.path.abspath(__file__).split(os.path.sep)[:-5])
      local_path = os.path.join(
          project_root,
          gradle_package.replace(':', os.path.sep),
          'build',
          'libs',
          cls.jar_name(
              artifact_id,
              version.replace('.dev', ''),
              classifier='SNAPSHOT',
              appendix=appendix))
      if os.path.exists(local_path):
        _LOGGER.info('Using pre-built snapshot at %s', local_path)
        return local_path
      elif '.dev' in version:
        # TODO: Attempt to use nightly snapshots?
        raise RuntimeError(
            (
                '%s not found. '
                'Please build the server with \n  cd %s; ./gradlew %s') %
>           (local_path, os.path.abspath(project_root), gradle_target))
E       RuntimeError: 
<https://ci-beam.apache.org/job/beam_PostCommit_XVR_Samza/ws/src/sdks/java/extensions/sql/expansion-service/build/libs/beam-sdks-java-extensions-sql-expansion-service-2.37.0-SNAPSHOT.jar>
 not found. Please build the server with 
E         cd <https://ci-beam.apache.org/job/beam_PostCommit_XVR_Samza/ws/src;> 
./gradlew :sdks:java:extensions:sql:expansion-service:shadowJar

apache_beam/utils/subprocess_server.py:246: RuntimeError
_________________ SqlTransformTest.test_zetasql_generate_data __________________

self = <apache_beam.transforms.sql_test.SqlTransformTest 
testMethod=test_zetasql_generate_data>

    def test_zetasql_generate_data(self):
      with TestPipeline() as p:
        out = p | SqlTransform(
            """SELECT
              CAST(1 AS INT64) AS `int`,
              CAST('foo' AS STRING) AS `str`,
              CAST(3.14  AS FLOAT64) AS `flt`""",
>           dialect="zetasql")

apache_beam/transforms/sql_test.py:159: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
apache_beam/transforms/sql.py:87: in __init__
    ':sdks:java:extensions:sql:expansion-service:shadowJar')
apache_beam/transforms/external.py:733: in __init__
    gradle_target, gradle_appendix)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

cls = <class 'apache_beam.utils.subprocess_server.JavaJarServer'>
gradle_target = ':sdks:java:extensions:sql:expansion-service:shadowJar'
appendix = None, version = '2.37.0.dev'
artifact_id = 'beam-sdks-java-extensions-sql-expansion-service'

    @classmethod
    def path_to_beam_jar(
        cls,
        gradle_target,
        appendix=None,
        version=beam_version,
        artifact_id=None):
      if gradle_target in cls._BEAM_SERVICES.replacements:
        return cls._BEAM_SERVICES.replacements[gradle_target]
    
      gradle_package = gradle_target.strip(':').rsplit(':', 1)[0]
      if not artifact_id:
        artifact_id = 'beam-' + gradle_package.replace(':', '-')
      project_root = os.path.sep.join(
          os.path.abspath(__file__).split(os.path.sep)[:-5])
      local_path = os.path.join(
          project_root,
          gradle_package.replace(':', os.path.sep),
          'build',
          'libs',
          cls.jar_name(
              artifact_id,
              version.replace('.dev', ''),
              classifier='SNAPSHOT',
              appendix=appendix))
      if os.path.exists(local_path):
        _LOGGER.info('Using pre-built snapshot at %s', local_path)
        return local_path
      elif '.dev' in version:
        # TODO: Attempt to use nightly snapshots?
        raise RuntimeError(
            (
                '%s not found. '
                'Please build the server with \n  cd %s; ./gradlew %s') %
>           (local_path, os.path.abspath(project_root), gradle_target))
E       RuntimeError: 
<https://ci-beam.apache.org/job/beam_PostCommit_XVR_Samza/ws/src/sdks/java/extensions/sql/expansion-service/build/libs/beam-sdks-java-extensions-sql-expansion-service-2.37.0-SNAPSHOT.jar>
 not found. Please build the server with 
E         cd <https://ci-beam.apache.org/job/beam_PostCommit_XVR_Samza/ws/src;> 
./gradlew :sdks:java:extensions:sql:expansion-service:shadowJar

apache_beam/utils/subprocess_server.py:246: RuntimeError
- generated xml file: 
<https://ci-beam.apache.org/job/beam_PostCommit_XVR_Samza/ws/src/sdks/python/pytest_xlangSqlValidateRunner.xml>
 -
================== 9 failed, 5139 deselected in 10.45 seconds ==================

> Task :runners:samza:job-server:validatesCrossLanguageRunnerPythonUsingSql 
> FAILED
> Task :runners:samza:job-server:validatesCrossLanguageRunnerCleanup
> Task :runners:samza:job-server:samzaJobServerCleanup

FAILURE: Build completed with 7 failures.

1: Task 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: 170

* 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.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task 
':runners:samza:job-server:validatesCrossLanguageRunnerJavaUsingJava'.
> There were failing tests. See the report at: 
> file://<https://ci-beam.apache.org/job/beam_PostCommit_XVR_Samza/ws/src/runners/samza/job-server/build/reports/tests/validatesCrossLanguageRunnerJavaUsingJava/index.html>

* 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.
==============================================================================

3: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task 
':runners:samza:job-server:validatesCrossLanguageRunnerJavaUsingPython'.
> There were failing tests. See the report at: 
> file://<https://ci-beam.apache.org/job/beam_PostCommit_XVR_Samza/ws/src/runners/samza/job-server/build/reports/tests/validatesCrossLanguageRunnerJavaUsingPython/index.html>

* 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.
==============================================================================

4: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task 
':runners:samza:job-server:validatesCrossLanguageRunnerJavaUsingPythonOnly'.
> There were failing tests. See the report at: 
> file://<https://ci-beam.apache.org/job/beam_PostCommit_XVR_Samza/ws/src/runners/samza/job-server/build/reports/tests/validatesCrossLanguageRunnerJavaUsingPythonOnly/index.html>

* 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.
==============================================================================

5: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task 
':runners:samza:job-server:validatesCrossLanguageRunnerPythonUsingJava'.
> 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.
==============================================================================

6: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task 
':runners:samza:job-server:validatesCrossLanguageRunnerPythonUsingPython'.
> 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.
==============================================================================

7: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task 
':runners:samza:job-server:validatesCrossLanguageRunnerPythonUsingSql'.
> 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.3.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 31m 11s
180 actionable tasks: 115 executed, 56 from cache, 9 up-to-date

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

Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

---------------------------------------------------------------------
To unsubscribe, e-mail: builds-unsubscr...@beam.apache.org
For additional commands, e-mail: builds-h...@beam.apache.org

Reply via email to