Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support GraalPy #1538

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

XXX: Test only graalpy in my CI

c012a0f
Select commit
Loading
Failed to load commit list.
Draft

Support GraalPy #1538

XXX: Test only graalpy in my CI
c012a0f
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request failed Sep 17, 2024 in 6m 24s

Build Failed

The build failed. This is a change from the previous build, which canceled.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #1538 Support GraalPy.
Any changes that have been made to the main branch before the build ran are also included.

Jobs and Stages

This build has five jobs, running in parallel.

Job Python ENV OS State Notes
5924.1 Linux | x86_64 + i686 | Python 3.9 3.9 PYTHON=python Linux failed
5924.2 Linux | arm64 | Python 3.9 3.9 PYTHON=python Linux failed
5924.3 Windows | x86_64 | Python 3.9 PYTHON=C:\\Python39\\python windows failed
5924.4 Linux | ppc64le | Python 3.9 3.9 PYTHON=python Linux failed This job is allowed to fail.
5924.5 Linux | s390x | Python 3.9 3.9 PYTHON=python Linux failed This job is allowed to fail.

Build Configuration

Build Option Setting
Language Python
Operating System Linux (Focal)
Build Configuration
{
  "language": "python",
  "os": [
    "linux"
  ],
  "dist": "focal",
  "branches": {
    "only": [
      "main"
    ]
  },
  "jobs": {
    "include": [
      {
        "name": "Linux | x86_64 + i686 | Python 3.9",
        "python": "3.9",
        "services": [
          "docker"
        ],
        "env": [
          {
            "PYTHON": "python"
          }
        ]
      },
      {
        "name": "Linux | arm64 | Python 3.9",
        "python": "3.9",
        "services": [
          "docker"
        ],
        "arch": "arm64-graviton2",
        "group": "edge",
        "virt": "vm",
        "env": [
          {
            "PYTHON": "python"
          }
        ],
        "addons": {
          "apt": {
            "sources": [
              {
                "sourceline": "deb https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
              }
            ],
            "packages": [
              "docker-ce docker-ce-cli containerd.io"
            ]
          }
        }
      },
      {
        "name": "Linux | ppc64le | Python 3.9",
        "python": "3.9",
        "services": [
          "docker"
        ],
        "arch": "ppc64le",
        "allow_failure": true,
        "env": [
          {
            "PYTHON": "python"
          },
          {
            "PYTEST_ADDOPTS": "'-k \"not test_manylinuxXXXX_only\"'"
          }
        ]
      },
      {
        "name": "Windows | x86_64 | Python 3.9",
        "os": "windows",
        "language": "shell",
        "before_install": [
          "choco upgrade python3 -y --version 3.9.13 --limit-output --params \"/InstallDir:C:\\\\Python39\""
        ],
        "env": [
          {
            "PYTHON": "C:\\\\Python39\\\\python"
          }
        ]
      },
      {
        "name": "Linux | s390x | Python 3.9",
        "python": "3.9",
        "services": [
          "docker"
        ],
        "arch": "s390x",
        "allow_failure": true,
        "env": [
          {
            "PYTHON": "python"
          }
        ]
      }
    ]
  },
  "install": [
    "if [ \"${TRAVIS_OS_NAME}\" == \"linux\" ]; then docker run --rm --privileged docker.io/tonistiigi/binfmt:latest --install all; fi",
    "$PYTHON -m pip install -U pip",
    "$PYTHON -m pip install -e \".[test]\" pytest-custom-exit-code"
  ],
  "script": [
    "# travis_wait disable the output while waiting\n# use the same kind of tricks as in multibuild\n(while true; do echo \"travis_keep_alive\"; sleep 300; done) &\nSPINNER_PID=$!\ndisown\nresult=0\n$PYTHON ./bin/run_tests.py --num-processes 2 || result=1\nkill -9 ${SPINNER_PID}\ntest ${result} -eq 0"
  ]
}