I had change dist to jammy in .travis.yml, but travis still build by foca

I had change dist to jammy in .travis.yml, but travis still build by focal. Why this happen? How to solve?

log as below:
Build system information
Build language: python
Build group: edge
Build dist: jammy
Build id: 273820197
Job id: 629649297
Runtime kernel version: 5.4.0-1021-aws
VM: default
travis-build version: 6b157a1c
Build image provisioning date and time
Tue 18 Aug 2020 12:55:32 PM UTC
Operating System Details
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal

Thank you!

Hi @chiyiliao,

Can I see your .travis.yml?

Content of .travis.yml:

arch: arm64-graviton2
virt: vm
os: linux
group: edge

language: python
dist: jammy
sudo: required
cache: pip

services:
  - docker

branches:
  only:
    - main

install:
  - ${TRAVIS_BUILD_DIR}/install.sh

jobs:
  include:
    - stage: Build
      script:
        - ${TRAVIS_BUILD_DIR}/build.sh
      deploy:
        - provider: script
          edge:
            branch: v2.0.2.beta.1
          on:
            tags: true
          script: ${TRAVIS_BUILD_DIR}/deploy.sh
      after_deploy:
        - echo "Deploy finished!"
      after_script:
        - echo "Build finished!"

PS: When I change jammy to noble, travis-ci also had the same problem.

Hi @chiyiliao,

Try changing virt: vm to virt: lxd and see if that makes the build successful.

Hi @Montana ,

The build hangs 10 minutes after change dist to lxd, log as below:

travis_fold:start:worker_info
e[0Ke[33;1mWorker informatione[0m
hostname: 0f3ccf18-5162-4011-8d89-39d94bc2c93f@836769.ip-10-67-26-202
version: ? ?
instance: travis-job-xxxxx-xxxxx-aws-216-630269713 40b75e2e39c30c25e59f911013b907c836c19ea680b3f490022dc13edf0e009b (via amqp)
startup: 1m4.654553982s
travis_fold:end:worker_info
e[0K

No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received

The build has been terminated

Hi @chiyiliao,

Can you try adding the following?

before_script:
  - rm -rf ~/.rvm/gems/*/gems/dpl*
  - gem install dpl --pre

Thank you.

Hi @Montana ,
The same problem after add before_script, log as below:


Worker information

travis_fold:start:worker_info
e[0Ke[33;1mWorker informatione[0m
hostname: c4d2c861-364a-4a1a-8130-69fb9134d52a@154673.ip-10-67-26-139
version: ? ?
instance: travis-job-xxxxx-xxxxx-aws-217-630338720 50a75e2939c30c25e59f911013a907c836c18ea680a3f490022dc132df0f019a (via amqp)
startup: 1m5.214872692s
travis_fold:end:worker_info
e[0Ktravis_time:start:123d6854
e[0K

No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received

The build has been terminated

Hi @chiyiliao,

Can you share the build link with me?

Hi @Montana ,
It’s a private project, can you visit it?