Skip to content

fix: prevent 'no space left on device' errors with enhanced cleanup script #880

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

fix: prevent 'no space left on device' errors with enhanced cleanup s…

640b2ca
Select commit
Loading
Failed to load commit list.
Open

fix: prevent 'no space left on device' errors with enhanced cleanup script #880

fix: prevent 'no space left on device' errors with enhanced cleanup s…
640b2ca
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch succeeded Apr 22, 2025 in 2m 37s

Build Passed

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

Details

This is a normal build for the km-TDOC-397-V2 branch. You should be able to reproduce it by checking out the branch locally.

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 Ruby
Operating System Linux (Focal)
Build Configuration
{
  "dist": "focal",
  "services": [
    "postgresql"
  ],
  "filter_secrets": false,
  "cache": {
    "bundler": true,
    "directories": [
      "${HOME}/bin"
    ]
  },
  "env": [
    "TRAVIS_JOB_BOARD_REGISTER_YML=\"${TRAVIS_BUILD_DIR}/.example-job-board-register-sardonyx.yml\""
  ],
  "install": [
    "if [[ -f .test-branch ]]; then export TRAVIS_COOKBOOKS_TEST_BRANCH=\"$(cat .test-branch 2>/dev/null)\"; fi",
    "export GIT_DESC=\"$(git describe --always --dirty --tags)\"",
    "rvm use 3.3.5 --install --binary --fuzzy",
    "gem install bundler:2.5.21",
    "bundle install --jobs=3 --retry=2 --path=vendor/bundle",
    "./bin/packer-build-install",
    "ln -sv \"${TRAVIS_BUILD_DIR}\" \"${TRAVIS_BUILD_DIR}/tmp/packer-chef-local\""
  ],
  "script": [
    "make",
    "bundle exec make test",
    "sudo lsof | grep dpkg || true",
    "travis_retry bundle exec bash -xc 'sudo packer-scripts/run-serverspecs'"
  ],
  "after_success": [
    "if [[ $TRAVIS_JOB_BOARD_REGISTER_YML =~ sardonyx ]]; then git fetch --unshallow; bundle exec make packer-build-trigger; else echo 'no packer-build-trigger for you'; fi"
  ],
  "notifications": {
    "email": false
  },
  "global_env": [
    "DPKG_MANIFEST_JSON=\"${TRAVIS_BUILD_DIR}/.example-dpkg-manifest.json\"",
    "LANG=en_US.UTF-8",
    "NODE_ATTRIBUTES_YML=\"${TRAVIS_BUILD_DIR}/.example-node-attributes.yml\"",
    "PACKER_CHEF_PREFIX=\"${TRAVIS_BUILD_DIR}/tmp\"",
    "PATH=\"/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin:${HOME}/bin:${PATH}\"",
    "REQUEST_INTERVAL=5",
    "SKIP_CHEF_REMOVAL='1'",
    "SPEC_ARGS='--tag ~dev'",
    "SPEC_RUNNER='bash -lc'",
    "SPEC_SUITES='travis_packer_templates'",
    "SYSTEM_INFO_JSON=\"${TRAVIS_BUILD_DIR}/.example_system_info.json\"",
    "TRAVIS_SOURCE_AMI=\"ami-01eefcaf0edcc4cf0\""
  ],
  "language": "ruby",
  "os": "linux",
  "group": "stable"
}