See 
<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/10496/display/redirect>

Changes:


------------------------------------------
[...truncated 2.01 MB...]
5c563cc8b216: Waiting
d4514f8b2aac: Waiting
a90e3914fb92: Preparing
053a1f71007e: Preparing
5ab567b9150b: Waiting
ec09eb83ea03: Preparing
053a1f71007e: Waiting
a90e3914fb92: Waiting
ec09eb83ea03: Waiting

> Task :sdks:python:test-suites:dataflow:py37:validatesContainer

function cleanup_container {
  # Delete the container locally and remotely
  docker rmi $CONTAINER:$TAG || echo "Failed to remove container image"
  for image in $(docker images --format '{{.Repository}}:{{.Tag}}' | grep 
$PREBUILD_SDK_CONTAINER_REGISTRY_PATH)
    do docker rmi $image || echo "Failed to remove prebuilt sdk container image"
  done
  gcloud --quiet container images delete $CONTAINER:$TAG || echo "Failed to 
delete container"
  for digest in $(gcloud container images list-tags 
$PREBUILD_SDK_CONTAINER_REGISTRY_PATH/beam_python_prebuilt_sdk  
--format="get(digest)")
    do gcloud container images delete 
$PREBUILD_SDK_CONTAINER_REGISTRY_PATH/beam_python_prebuilt_sdk@$digest 
--force-delete-tags --quiet || echo "Failed to remove prebuilt sdk container 
image"
  done

  echo "Removed the container"
}
trap cleanup_container EXIT

echo ">>> Successfully built and push container $CONTAINER"

cd sdks/python
SDK_LOCATION=$2

# Run ValidatesRunner tests on Google Cloud Dataflow service
echo ">>> RUNNING DATAFLOW RUNNER VALIDATESCONTAINER TEST"
pytest -o junit_suite_name=$IMAGE_NAME \
  -m="it_validatescontainer" \
  --show-capture=no \
  --numprocesses=1 \
  --timeout=1800 \
  --junitxml=$XUNIT_FILE \
  --ignore-glob '.*py3\d?\.py$' \
  --log-cli-level=INFO \
  --test-pipeline-options=" \
    --runner=TestDataflowRunner \
    --project=$PROJECT \
    --region=$REGION \
    --sdk_container_image=$CONTAINER:$TAG \
    --staging_location=$GCS_LOCATION/staging-validatesrunner-test \
    --temp_location=$GCS_LOCATION/temp-validatesrunner-test \
    --output=$GCS_LOCATION/output \
    --sdk_location=$SDK_LOCATION \
    --num_workers=1 \
    --docker_registry_push_url=$PREBUILD_SDK_CONTAINER_REGISTRY_PATH"

> Task :sdks:python:test-suites:dataflow:py310:validatesContainer

function cleanup_container {
  # Delete the container locally and remotely
  docker rmi $CONTAINER:$TAG || echo "Failed to remove container image"
  for image in $(docker images --format '{{.Repository}}:{{.Tag}}' | grep 
$PREBUILD_SDK_CONTAINER_REGISTRY_PATH)
    do docker rmi $image || echo "Failed to remove prebuilt sdk container image"
  done
  gcloud --quiet container images delete $CONTAINER:$TAG || echo "Failed to 
delete container"
  for digest in $(gcloud container images list-tags 
$PREBUILD_SDK_CONTAINER_REGISTRY_PATH/beam_python_prebuilt_sdk  
--format="get(digest)")
    do gcloud container images delete 
$PREBUILD_SDK_CONTAINER_REGISTRY_PATH/beam_python_prebuilt_sdk@$digest 
--force-delete-tags --quiet || echo "Failed to remove prebuilt sdk container 
image"
  done

  echo "Removed the container"
}
trap cleanup_container EXIT

echo ">>> Successfully built and push container $CONTAINER"

cd sdks/python
SDK_LOCATION=$2

# Run ValidatesRunner tests on Google Cloud Dataflow service
echo ">>> RUNNING DATAFLOW RUNNER VALIDATESCONTAINER TEST"
pytest -o junit_suite_name=$IMAGE_NAME \
  -m="it_validatescontainer" \
  --show-capture=no \
  --numprocesses=1 \
  --timeout=1800 \
  --junitxml=$XUNIT_FILE \
  --ignore-glob '.*py3\d?\.py$' \
  --log-cli-level=INFO \
  --test-pipeline-options=" \
    --runner=TestDataflowRunner \
    --project=$PROJECT \
    --region=$REGION \
    --sdk_container_image=$CONTAINER:$TAG \
    --staging_location=$GCS_LOCATION/staging-validatesrunner-test \
    --temp_location=$GCS_LOCATION/temp-validatesrunner-test \
    --output=$GCS_LOCATION/output \
    --sdk_location=$SDK_LOCATION \
    --num_workers=1 \
    --docker_registry_push_url=$PREBUILD_SDK_CONTAINER_REGISTRY_PATH"

> Task :sdks:python:test-suites:dataflow:py39:validatesContainer

function cleanup_container {
  # Delete the container locally and remotely
  docker rmi $CONTAINER:$TAG || echo "Failed to remove container image"
  for image in $(docker images --format '{{.Repository}}:{{.Tag}}' | grep 
$PREBUILD_SDK_CONTAINER_REGISTRY_PATH)
    do docker rmi $image || echo "Failed to remove prebuilt sdk container image"
  done
  gcloud --quiet container images delete $CONTAINER:$TAG || echo "Failed to 
delete container"
  for digest in $(gcloud container images list-tags 
$PREBUILD_SDK_CONTAINER_REGISTRY_PATH/beam_python_prebuilt_sdk  
--format="get(digest)")
    do gcloud container images delete 
$PREBUILD_SDK_CONTAINER_REGISTRY_PATH/beam_python_prebuilt_sdk@$digest 
--force-delete-tags --quiet || echo "Failed to remove prebuilt sdk container 
image"
  done

  echo "Removed the container"
}
trap cleanup_container EXIT

echo ">>> Successfully built and push container $CONTAINER"

cd sdks/python
SDK_LOCATION=$2

# Run ValidatesRunner tests on Google Cloud Dataflow service
echo ">>> RUNNING DATAFLOW RUNNER VALIDATESCONTAINER TEST"
pytest -o junit_suite_name=$IMAGE_NAME \
  -m="it_validatescontainer" \
  --show-capture=no \
  --numprocesses=1 \
  --timeout=1800 \
  --junitxml=$XUNIT_FILE \
  --ignore-glob '.*py3\d?\.py$' \
  --log-cli-level=INFO \
  --test-pipeline-options=" \
    --runner=TestDataflowRunner \
    --project=$PROJECT \
    --region=$REGION \
    --sdk_container_image=$CONTAINER:$TAG \
    --staging_location=$GCS_LOCATION/staging-validatesrunner-test \
    --temp_location=$GCS_LOCATION/temp-validatesrunner-test \
    --output=$GCS_LOCATION/output \
    --sdk_location=$SDK_LOCATION \
    --num_workers=1 \
    --docker_registry_push_url=$PREBUILD_SDK_CONTAINER_REGISTRY_PATH"

> Task :sdks:python:test-suites:dataflow:py37:validatesContainer

echo ">>> SUCCESS DATAFLOW RUNNER VALIDATESCONTAINER TEST"
cleanup_container
WARNING: Successfully resolved tag to sha256, but it is recommended to use 
sha256 directly.
Digests:
- 
us.gcr.io/apache-beam-testing/jenkins/beam_python3.7_sdk@sha256:9d325ad0c521f511d2c0dff9ec1bb606e4100643e3d0dbb9ecb5b1553c202ff4
  Associated tags:
 - 20230403-045056958977237
Tags:
- 
us.gcr.io/apache-beam-testing/jenkins/beam_python3.7_sdk:20230403-045056958977237
Deleted 
[us.gcr.io/apache-beam-testing/jenkins/beam_python3.7_sdk:20230403-045056958977237].
Deleted 
[us.gcr.io/apache-beam-testing/jenkins/beam_python3.7_sdk@sha256:9d325ad0c521f511d2c0dff9ec1bb606e4100643e3d0dbb9ecb5b1553c202ff4].
Digests:
- 
us.gcr.io/apache-beam-testing/jenkins/prebuild_python37_sdk/beam_python_prebuilt_sdk@sha256:5db792b84f44f6ef745877c2ef2a317d3a48c43bcb961441d9501a23486e4a58
  Associated tags:
 - d4960747-4f27-4119-b91a-16b74fc0bf66
Deleted 
[us.gcr.io/apache-beam-testing/jenkins/prebuild_python37_sdk/beam_python_prebuilt_sdk:d4960747-4f27-4119-b91a-16b74fc0bf66].
Deleted 
[us.gcr.io/apache-beam-testing/jenkins/prebuild_python37_sdk/beam_python_prebuilt_sdk@sha256:5db792b84f44f6ef745877c2ef2a317d3a48c43bcb961441d9501a23486e4a58].
Digests:
- 
us.gcr.io/apache-beam-testing/jenkins/prebuild_python37_sdk/beam_python_prebuilt_sdk@sha256:67d9cec26c857456e48c98fd108e03fd00fccb1b75c6ca5255f160c57060d820
  Associated tags:
 - 49e26a3b-ea36-4771-8aba-0bd047293f1e
Deleted 
[us.gcr.io/apache-beam-testing/jenkins/prebuild_python37_sdk/beam_python_prebuilt_sdk:49e26a3b-ea36-4771-8aba-0bd047293f1e].
Deleted 
[us.gcr.io/apache-beam-testing/jenkins/prebuild_python37_sdk/beam_python_prebuilt_sdk@sha256:67d9cec26c857456e48c98fd108e03fd00fccb1b75c6ca5255f160c57060d820].

> Task :sdks:python:test-suites:dataflow:py310:validatesContainer

echo ">>> SUCCESS DATAFLOW RUNNER VALIDATESCONTAINER TEST"
cleanup_container
WARNING: Successfully resolved tag to sha256, but it is recommended to use 
sha256 directly.
Digests:
- 
us.gcr.io/apache-beam-testing/jenkins/beam_python3.10_sdk@sha256:2946b0537e17944368e13804e094df8c95f7c135a22392c2b010581f98617f03
  Associated tags:
 - 20230403-045102907648305
Tags:
- 
us.gcr.io/apache-beam-testing/jenkins/beam_python3.10_sdk:20230403-045102907648305
Deleted 
[us.gcr.io/apache-beam-testing/jenkins/beam_python3.10_sdk:20230403-045102907648305].
Deleted 
[us.gcr.io/apache-beam-testing/jenkins/beam_python3.10_sdk@sha256:2946b0537e17944368e13804e094df8c95f7c135a22392c2b010581f98617f03].
Digests:
- 
us.gcr.io/apache-beam-testing/jenkins/prebuild_python310_sdk/beam_python_prebuilt_sdk@sha256:fdaea10f3b6265c4ab644bd6492d6bbe0fa872d4442f74898ea823365c3490b6
  Associated tags:
 - e936c6b2-2dff-4997-9408-adfcedcf95f5
Deleted 
[us.gcr.io/apache-beam-testing/jenkins/prebuild_python310_sdk/beam_python_prebuilt_sdk:e936c6b2-2dff-4997-9408-adfcedcf95f5].
Deleted 
[us.gcr.io/apache-beam-testing/jenkins/prebuild_python310_sdk/beam_python_prebuilt_sdk@sha256:fdaea10f3b6265c4ab644bd6492d6bbe0fa872d4442f74898ea823365c3490b6].
Digests:
- 
us.gcr.io/apache-beam-testing/jenkins/prebuild_python310_sdk/beam_python_prebuilt_sdk@sha256:06b065236a1b786cb02942dd9b701cec15de775958d4c79679b51c26709876e0
  Associated tags:
 - 2d4cf6ab-2b0d-4647-9d7b-418f8983a134
Deleted 
[us.gcr.io/apache-beam-testing/jenkins/prebuild_python310_sdk/beam_python_prebuilt_sdk:2d4cf6ab-2b0d-4647-9d7b-418f8983a134].
Deleted 
[us.gcr.io/apache-beam-testing/jenkins/prebuild_python310_sdk/beam_python_prebuilt_sdk@sha256:06b065236a1b786cb02942dd9b701cec15de775958d4c79679b51c26709876e0].

> Task :sdks:python:test-suites:dataflow:py39:validatesContainer

echo ">>> SUCCESS DATAFLOW RUNNER VALIDATESCONTAINER TEST"
cleanup_container
WARNING: Successfully resolved tag to sha256, but it is recommended to use 
sha256 directly.
Digests:
- 
us.gcr.io/apache-beam-testing/jenkins/beam_python3.9_sdk@sha256:65ad1bdb47926622ba0a7ee354cf63b4058dc1f3674019fc749ccda773ce4dda
  Associated tags:
 - 20230403-045103275078977
Tags:
- 
us.gcr.io/apache-beam-testing/jenkins/beam_python3.9_sdk:20230403-045103275078977
Deleted 
[us.gcr.io/apache-beam-testing/jenkins/beam_python3.9_sdk:20230403-045103275078977].
Deleted 
[us.gcr.io/apache-beam-testing/jenkins/beam_python3.9_sdk@sha256:65ad1bdb47926622ba0a7ee354cf63b4058dc1f3674019fc749ccda773ce4dda].
Digests:
- 
us.gcr.io/apache-beam-testing/jenkins/prebuild_python39_sdk/beam_python_prebuilt_sdk@sha256:a62aff88edffc7af402f8a8cc9c5d2d5d9e2a004803d684bae6c8b16e3bec75a
  Associated tags:
 - 126e2552-6ca8-4803-a9ec-55817fdd6f7c
Deleted 
[us.gcr.io/apache-beam-testing/jenkins/prebuild_python39_sdk/beam_python_prebuilt_sdk:126e2552-6ca8-4803-a9ec-55817fdd6f7c].
Deleted 
[us.gcr.io/apache-beam-testing/jenkins/prebuild_python39_sdk/beam_python_prebuilt_sdk@sha256:a62aff88edffc7af402f8a8cc9c5d2d5d9e2a004803d684bae6c8b16e3bec75a].
Digests:
- 
us.gcr.io/apache-beam-testing/jenkins/prebuild_python39_sdk/beam_python_prebuilt_sdk@sha256:d6d8cb09395eec349316c6ecc3c2f6c2187629b4177d41555d50646c2074d8b5
  Associated tags:
 - 57dc332b-79e8-440e-bd23-84c44784e00b
Deleted 
[us.gcr.io/apache-beam-testing/jenkins/prebuild_python39_sdk/beam_python_prebuilt_sdk:57dc332b-79e8-440e-bd23-84c44784e00b].
Deleted 
[us.gcr.io/apache-beam-testing/jenkins/prebuild_python39_sdk/beam_python_prebuilt_sdk@sha256:d6d8cb09395eec349316c6ecc3c2f6c2187629b4177d41555d50646c2074d8b5].

FAILURE: Build failed with an exception.

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

* What went wrong:
Execution failed for task 
':sdks:python:test-suites:dataflow:py38:validatesContainer'.
> 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 50m 14s
62 actionable tasks: 51 executed, 4 from cache, 7 up-to-date

Publishing build scan...
https://gradle.com/s/2q2oeyo2gsfws

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