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

[BugFix] Update scale down workers to handle exceptions #4417

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Add better message for auto scale workers script

4a66775
Select commit
Loading
Failed to load commit list.
Open

[BugFix] Update scale down workers to handle exceptions #4417

Add better message for auto scale workers script
4a66775
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request failed Aug 30, 2024 in 53s

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 #4417 [BugFix] Update scale down workers to handle exceptions.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.

Build Configuration

Build Option Setting
Language Python
Operating System Linux (Xenial)
Python Version 3.7.5
Build Configuration
{
  "language": "python",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "sudo": false,
  "services": [
    "docker",
    "xvfb"
  ],
  "python": [
    "3.7.5"
  ],
  "cache": {
    "directories": [
      "$HOME/.cache/pip"
    ]
  },
  "before_install": [
    "sudo rm -f /etc/boto.cfg",
    "export CHROME_BIN=chromium-browser",
    "export DISPLAY=:99.0"
  ],
  "install": [
    "pip install awscli==1.18.66 flake8==3.8.2"
  ],
  "script": [
    "flake8 ./ || travis_terminate 1;",
    "if [ \"$TRAVIS_PULL_REQUEST\" = \"false\" ]; then echo \"$DOCKER_PASSWORD\" | docker login -u \"$DOCKER_USERNAME\" --password-stdin || travis_terminate 1; fi",
    "docker-compose build || travis_terminate 1;",
    "docker-compose run nodejs bash -c \"gulp dev && karma start --single-run && gulp staging\" || travis_terminate 1;",
    "docker-compose run -e DJANGO_SETTINGS_MODULE=settings.test django pytest --cov . --cov-config .coveragerc || travis_terminate 1;"
  ],
  "before_cache": [
    "rm -f $HOME/.cache/pip/log/debug.log"
  ],
  "after_success": [
    "bash <(curl -s https://codecov.io/bash)",
    "coveralls --rcfile=.coveragerc",
    "eval \"$(ssh-agent -s)\"",
    "openssl aes-256-cbc -K $encrypted_77d2d82026f6_key -iv $encrypted_77d2d82026f6_iv -in scripts/deployment/evalai.pem.enc -out scripts/deployment/evalai.pem -d || true",
    "./scripts/deployment/push.sh",
    "./scripts/deployment/deploy.sh auto_deploy"
  ],
  "notifications": {
    "email": [
      {
        "slack": "cloudcv:gy3CGQGNXLwXOqVyzXGZfdea",
        "on_success": "change",
        "on_failure": "always"
      }
    ]
  }
}