Skip to content

Apache DataFusion SQL Query Engine

ARROW-9260: [CI] Fix non amd64 job failures with Ubuntu 14.04 and 20.04

Sutou Kouhei3720a9205201
diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.yml
index 01edf4d708..d8eab59590 100644
--- a/.github/workflows/cpp.yml
+++ b/.github/workflows/cpp.yml
@@ -102,8 +102,7 @@ jobs:
# hosted machines
name: ${{ matrix.title }}
runs-on: ${{ matrix.runner }}
- # ARROW-9260: Disable self-hosted builds util ARM64v8 build can be fixed
- if: false # github.event_name == 'push'
+ if: github.event_name == 'push'
defaults:
# to use certain environment variables are set by .bashrc an interactive
# bash shell must be used
diff --git a/.travis.yml b/.travis.yml
index a066393ead..608fb11126 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -56,9 +56,6 @@ jobs:
UBUNTU: "20.04"
cares_SOURCE: "BUNDLED"
gRPC_SOURCE: "BUNDLED"
- allow_failures:
- - arch: arm64
- - arch: s390x
env:
DOCKER_BUILDKIT: 0
diff --git a/ci/docker/ubuntu-14.04-cpp.dockerfile b/ci/docker/ubuntu-14.04-cpp.dockerfile
index 2316b6ed0d..116973e6c8 100644
--- a/ci/docker/ubuntu-14.04-cpp.dockerfile
+++ b/ci/docker/ubuntu-14.04-cpp.dockerfile
@@ -15,8 +15,8 @@
# specific language governing permissions and limitations
# under the License.
-ARG arch=amd64
-FROM ${arch}/ubuntu:14.04
+ARG base=amd64/ubuntu:14.04
+FROM ${base}
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
diff --git a/ci/docker/ubuntu-18.04-cpp.dockerfile b/ci/docker/ubuntu-18.04-cpp.dockerfile
index 8d3afaa922..a0fe1b3f6b 100644
--- a/ci/docker/ubuntu-18.04-cpp.dockerfile
+++ b/ci/docker/ubuntu-18.04-cpp.dockerfile
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
-ARG base="amd64/ubuntu:18.04"
+ARG base=amd64/ubuntu:18.04
FROM ${base}
# pipefail is enabled for proper error detection in the `wget | apt-key add`
diff --git a/ci/docker/ubuntu-20.04-cpp.dockerfile b/ci/docker/ubuntu-20.04-cpp.dockerfile
index 2b0e32c1e8..ce738f5e55 100644
--- a/ci/docker/ubuntu-20.04-cpp.dockerfile
+++ b/ci/docker/ubuntu-20.04-cpp.dockerfile
@@ -15,8 +15,8 @@
# specific language governing permissions and limitations
# under the License.
-ARG arch=amd64
-FROM ${arch}/ubuntu:20.04
+ARG base=amd64/ubuntu:20.04
+FROM ${base}
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
diff --git a/dev/archery/archery/cli.py b/dev/archery/archery/cli.py
index 7a947df133..7cb2ed2c5f 100644
--- a/dev/archery/archery/cli.py
+++ b/dev/archery/archery/cli.py
@@ -784,7 +784,7 @@ def docker_compose_run(obj, image, command, *, env, user, force_pull,
command = ' '.join(params + ['docker-compose'] + list(args))
click.echo(command)
- compose._execute = MethodType(_print_command, compose)
+ compose._execute_compose = MethodType(_print_command, compose)
env = dict(kv.split('=', 1) for kv in env)
try: