New notebook #682
Open
New notebook #682
Travis CI / Travis CI - Pull Request
failed
Nov 29, 2024 in 13m 30s
Build Failed
The build failed. This is a change from the previous build, which passed.
Details
This is a pull request build.
It is running a build against the merge commit, after merging #682 New notebook.
Any changes that have been made to the master branch before the build ran are also included.
Jobs and Stages
This build has four jobs, running in two sequential stages.
Stage 1: Test and lint
This stage failed.
Job | Python | ENV | OS | State |
---|---|---|---|---|
1291.1 Compile and test. Python 3.10 | 3.10 | TEST_DATASET=true | Linux | failed |
1291.2 Compile and lint. Python 3.10 | 3.10 | Linux | passed |
Stage 2: Test multiple python versions
This stage canceled.
Job | Python | OS | State |
---|---|---|---|
1291.3 Compile and test. Python 3.8 | 3.8 | Linux | canceled |
1291.4 Compile and test. Python 3.9 | 3.9 | Linux | canceled |
Build Configuration
Build Option | Setting |
---|---|
Language | Ruby |
Operating System | Linux (Xenial) |
Build Configuration
{
"job_compile_common": {
"os": "linux",
"dist": "focal",
"language": "python",
"before_install": [
"sudo apt-get -qq install -y ca-certificates",
"sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y",
"sudo apt-get update",
"sudo apt-get install -y libopenblas-dev gcc-9 g++-9",
"sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-9"
],
"install": [
"PYTHON_EXECUTABLE=~/virtualenv/python$TRAVIS_PYTHON_VERSION/bin/python$TRAVIS_PYTHON_VERSION",
"$PYTHON_EXECUTABLE -m pip install travis-wait-improved",
"travis-wait-improved --timeout 60m $PYTHON_EXECUTABLE -m pip install -r requirements.txt",
"$PYTHON_EXECUTABLE -m pip install -r requirements-dev.txt",
"$PYTHON_EXECUTABLE -m pip install -r requirements-examples.txt",
"VERBOSE=1 $PYTHON_EXECUTABLE -m pip install -v -e \".[visualization, fitting]\""
],
"script": [
"make pytest"
]
},
"build_deploy_common": {
"deploy": {
"provider": "s3",
"access_key_id": "$COS_ACCESS_KEY_ID",
"secret_access_key": "$COS_SECRET_ACCESS_KEY",
"bucket": "$COS_BUCKET",
"skip_cleanup": true,
"local_dir": "wheelhouse",
"endpoint": "https://$COS_ENDPOINT",
"on": {
"all_branches": true
}
}
},
"language": "ruby",
"os": [
"linux"
],
"dist": "xenial",
"notifications": {
"email": [
{
"enabled": false
}
]
},
"branches": {
"only": [
"master",
"/^release\\/.*$/"
]
},
"stages": [
{
"name": "Test and lint"
},
{
"name": "Test multiple python versions"
},
{
"name": "Build wheels"
}
],
"jobs": {
"include": [
{
"name": "Compile and test. Python 3.10",
"os": "linux",
"dist": "focal",
"language": "python",
"before_install": [
"sudo apt-get -qq install -y ca-certificates",
"sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y",
"sudo apt-get update",
"sudo apt-get install -y libopenblas-dev gcc-9 g++-9",
"sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-9"
],
"install": [
"PYTHON_EXECUTABLE=~/virtualenv/python$TRAVIS_PYTHON_VERSION/bin/python$TRAVIS_PYTHON_VERSION",
"$PYTHON_EXECUTABLE -m pip install travis-wait-improved",
"travis-wait-improved --timeout 60m $PYTHON_EXECUTABLE -m pip install -r requirements.txt",
"$PYTHON_EXECUTABLE -m pip install -r requirements-dev.txt",
"$PYTHON_EXECUTABLE -m pip install -r requirements-examples.txt",
"VERBOSE=1 $PYTHON_EXECUTABLE -m pip install -v -e \".[visualization, fitting]\""
],
"script": [
"make pytest"
],
"stage": "Test and lint",
"python": "3.10",
"env": [
{
"TEST_DATASET": "true"
}
]
},
{
"name": "Compile and lint. Python 3.10",
"os": "linux",
"dist": "focal",
"language": "python",
"before_install": [
"sudo apt-get -qq install -y ca-certificates",
"sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y",
"sudo apt-get update",
"sudo apt-get install -y libopenblas-dev gcc-9 g++-9",
"sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-9"
],
"install": [
"PYTHON_EXECUTABLE=~/virtualenv/python$TRAVIS_PYTHON_VERSION/bin/python$TRAVIS_PYTHON_VERSION",
"$PYTHON_EXECUTABLE -m pip install travis-wait-improved",
"travis-wait-improved --timeout 60m $PYTHON_EXECUTABLE -m pip install -r requirements.txt",
"$PYTHON_EXECUTABLE -m pip install -r requirements-dev.txt",
"$PYTHON_EXECUTABLE -m pip install -r requirements-examples.txt",
"VERBOSE=1 $PYTHON_EXECUTABLE -m pip install -v -e \".[visualization, fitting]\""
],
"script": [
"make pycodestyle",
"make pylint",
"make mypy"
],
"stage": "Test and lint",
"python": "3.10"
},
{
"name": "Compile and test. Python 3.8",
"os": "linux",
"dist": "focal",
"language": "python",
"before_install": [
"sudo apt-get -qq install -y ca-certificates",
"sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y",
"sudo apt-get update",
"sudo apt-get install -y libopenblas-dev gcc-9 g++-9",
"sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-9"
],
"install": [
"PYTHON_EXECUTABLE=~/virtualenv/python$TRAVIS_PYTHON_VERSION/bin/python$TRAVIS_PYTHON_VERSION",
"$PYTHON_EXECUTABLE -m pip install travis-wait-improved",
"travis-wait-improved --timeout 60m $PYTHON_EXECUTABLE -m pip install -r requirements.txt",
"$PYTHON_EXECUTABLE -m pip install -r requirements-dev.txt",
"$PYTHON_EXECUTABLE -m pip install -r requirements-examples.txt",
"VERBOSE=1 $PYTHON_EXECUTABLE -m pip install -v -e \".[visualization, fitting]\""
],
"script": [
"make pytest"
],
"stage": "Test multiple python versions",
"python": "3.8"
},
{
"name": "Compile and test. Python 3.9",
"os": "linux",
"dist": "focal",
"language": "python",
"before_install": [
"sudo apt-get -qq install -y ca-certificates",
"sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y",
"sudo apt-get update",
"sudo apt-get install -y libopenblas-dev gcc-9 g++-9",
"sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-9"
],
"install": [
"PYTHON_EXECUTABLE=~/virtualenv/python$TRAVIS_PYTHON_VERSION/bin/python$TRAVIS_PYTHON_VERSION",
"$PYTHON_EXECUTABLE -m pip install travis-wait-improved",
"travis-wait-improved --timeout 60m $PYTHON_EXECUTABLE -m pip install -r requirements.txt",
"$PYTHON_EXECUTABLE -m pip install -r requirements-dev.txt",
"$PYTHON_EXECUTABLE -m pip install -r requirements-examples.txt",
"VERBOSE=1 $PYTHON_EXECUTABLE -m pip install -v -e \".[visualization, fitting]\""
],
"script": [
"make pytest"
],
"stage": "Test multiple python versions",
"python": "3.9"
},
{
"name": "Build wheel for Python 3.8, 3.9, 3.10 on Linux x86_64",
"os": "linux",
"dist": "focal",
"language": "python",
"services": [
"docker"
],
"stage": "Build wheels",
"if": "branch =~ /^release\\/.*$/",
"env": [
{
"CIBW_ENVIRONMENT": "\"TORCH_VERSION_SPECIFIER='==2.4.1'\""
},
{
"CIBW_BEFORE_BUILD": "\"pip install torch==2.4.1 torchvision && pip install -r requirements.txt\""
},
{
"CIBW_MANYLINUX_X86_64_IMAGE": "\"aihwkit/manylinux2014_x86_64_aihwkit\""
},
{
"CIBW_REPAIR_WHEEL_COMMAND": "\"auditwheel repair -w {dest_dir} {wheel} --exclude libtorch_python.so\""
},
{
"CIBW_BUILD": "\"cp38-manylinux_x86_64 cp39-manylinux_x86_64 cp310-manylinux_x86_64 cp311-manylinux_x86_64\""
}
],
"before_install": [
"docker pull aihwkit/manylinux2014_x86_64_aihwkit"
],
"install": [
"python3 -m pip install cibuildwheel==2.8.1"
],
"script": [
"python3 -m cibuildwheel --output-dir wheelhouse"
],
"deploy": [
{
"provider": "s3",
"access_key_id": "$COS_ACCESS_KEY_ID",
"secret_access_key": "$COS_SECRET_ACCESS_KEY",
"bucket": "$COS_BUCKET",
"skip_cleanup": true,
"local_dir": "wheelhouse",
"endpoint": "https://$COS_ENDPOINT",
"on": {
"all_branches": true
}
}
]
},
{
"name": "Build wheel for Python 3.8, 3.9 on OS X",
"os": "osx",
"osx_image": "xcode12.4",
"stage": "Build wheels",
"if": "branch =~ /^release\\/.*$/",
"addons": {
"homebrew": {
"packages": [
"openblas"
],
"update": true
}
},
"env": [
{
"CIBW_ENVIRONMENT": "\"TORCH_VERSION_SPECIFIER='==2.0.1'\""
},
{
"CIBW_BEFORE_BUILD": "\"pip install torch==2.0.1 torchvision && pip install ./delocate && pip install -r requirements.txt\""
},
{
"CIBW_BUILD": "\"cp38-macosx_x86_64 cp39-macosx_x86_64\""
}
],
"before_install": [
"git clone -b aihwkit https://github.com/aihwkit-bot/delocate.git"
],
"install": [
"python3 -m pip install cibuildwheel==2.8.1"
],
"script": [
"python3 -m cibuildwheel --output-dir wheelhouse --platform macos"
],
"deploy": [
{
"provider": "s3",
"access_key_id": "$COS_ACCESS_KEY_ID",
"secret_access_key": "$COS_SECRET_ACCESS_KEY",
"bucket": "$COS_BUCKET",
"skip_cleanup": true,
"local_dir": "wheelhouse",
"endpoint": "https://$COS_ENDPOINT",
"on": {
"all_branches": true
}
}
]
},
{
"name": "Build wheel for Python 3.8, 3.9, 3.10 on win64",
"os": "windows",
"language": "shell",
"stage": "Build wheels",
"if": "branch =~ /^release\\/win.*$/",
"env": [
{
"CIBW_ENVIRONMENT": "\"TORCH_VERSION_SPECIFIER='==2.4.1'\""
},
{
"CIBW_BEFORE_BUILD": "\"pip install torch==2.4.1 && pip install -r requirements.txt\""
},
{
"CIBW_BUILD": "\"cp38-win_amd64 cp39-win_amd64 cp310-win_amd64\""
},
{
"OPENBLAS_ROOT": "C:\\\\BLAS"
},
{
"OPENBLAS_ROOT_DIR": "C:\\\\BLAS"
}
],
"before_install": [
"choco install python --version 3.8.6",
"export PATH=\"/c/Python38:/c/Python38/Scripts:$PATH\"",
"ln -s /c/Python38/python.exe /c/Python38/python3.exe",
"wget https://github.com/xianyi/OpenBLAS/releases/download/v0.3.12/OpenBLAS-0.3.12-x64.zip -q -O openblas.zip",
"mkdir C:\\\\BLAS",
"7z x openblas.zip -oc:\\\\BLAS"
],
"install": [
"python3 -m pip install cibuildwheel==2.8.1"
],
"script": [
"python3 -m cibuildwheel --output-dir wheelhouse"
],
"deploy": [
{
"provider": "s3",
"access_key_id": "$COS_ACCESS_KEY_ID",
"secret_access_key": "$COS_SECRET_ACCESS_KEY",
"bucket": "$COS_BUCKET",
"skip_cleanup": true,
"local_dir": "wheelhouse",
"endpoint": "https://$COS_ENDPOINT",
"on": {
"all_branches": true
}
}
]
}
]
}
}
Loading