diff options
author | Cedric Ollivier <cedric.ollivier@orange.com> | 2022-01-21 14:05:10 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2022-01-21 14:05:10 +0000 |
commit | 28a3ae9fd59a1a9ad875280f440a73987480a0d9 (patch) | |
tree | 0865a1be3eb4f153e068dc2387f2193ed066fbab /jjb | |
parent | 5bd0359742f4850a9599986f7fb2faa304d21e58 (diff) | |
parent | e4445c78b5f8ecef1369eba11752e8c27dd14031 (diff) |
Merge "Increase timout for apt locks"
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/functest/functest-kubernetes-ng.yaml | 5 | ||||
-rw-r--r-- | jjb/functest/functest-kubernetes.yaml | 17 | ||||
-rw-r--r-- | jjb/functest/functest.yaml | 17 | ||||
-rw-r--r-- | jjb/functest/xtesting.yaml | 17 |
4 files changed, 33 insertions, 23 deletions
diff --git a/jjb/functest/functest-kubernetes-ng.yaml b/jjb/functest/functest-kubernetes-ng.yaml index 19f93d690..9a868d376 100644 --- a/jjb/functest/functest-kubernetes-ng.yaml +++ b/jjb/functest/functest-kubernetes-ng.yaml @@ -305,8 +305,9 @@ name: functest-kubernetes-ng-trivy builders: - shell: | - sudo apt-get update && sudo DEBIAN_FRONTEND=noninteractive \ - apt-get install curl -y + sudo apt-get -o DPkg::Lock::Timeout=300 update && \ + sudo DEBIAN_FRONTEND=noninteractive apt-get \ + -o DPkg::Lock::Timeout=300 install curl -y curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sudo sh -s -- -b . if [ "{repo}" = "_" ]; then diff --git a/jjb/functest/functest-kubernetes.yaml b/jjb/functest/functest-kubernetes.yaml index 5bc79c104..169d1b2a6 100644 --- a/jjb/functest/functest-kubernetes.yaml +++ b/jjb/functest/functest-kubernetes.yaml @@ -752,13 +752,15 @@ builders: - shell: | set +x - apt-get update && \ - DEBIAN_FRONTEND=noninteractive apt-get dist-upgrade -y + apt-get -o DPkg::Lock::Timeout=300 update && \ + DEBIAN_FRONTEND=noninteractive apt-get \ + -o DPkg::Lock::Timeout=300 dist-upgrade -y DEBIAN_FRONTEND=noninteractive \ - apt-get install software-properties-common gpg -y + apt-get -o DPkg::Lock::Timeout=300 install software-properties-common gpg -y add-apt-repository -y ppa:deadsnakes/ppa - apt-get update && DEBIAN_FRONTEND=noninteractive \ - apt-get install \ + apt-get -o DPkg::Lock::Timeout=300 update && \ + DEBIAN_FRONTEND=noninteractive apt-get \ + -o DPkg::Lock::Timeout=300 install \ python3.9 python3.9-dev python3.9-distutils \ python3.8 python3.8-dev python3.8-distutils \ python3.7 python3.7-dev python3.6 python3.6-dev \ @@ -1198,8 +1200,9 @@ name: functest-kubernetes-trivy builders: - shell: | - apt-get update && DEBIAN_FRONTEND=noninteractive \ - apt-get install curl -y + apt-get -o DPkg::Lock::Timeout=300 update && \ + DEBIAN_FRONTEND=noninteractive apt-get \ + -o DPkg::Lock::Timeout=300 install curl -y curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b . if [ "{repo}" = "_" ]; then diff --git a/jjb/functest/functest.yaml b/jjb/functest/functest.yaml index a07a92084..cec79ea23 100644 --- a/jjb/functest/functest.yaml +++ b/jjb/functest/functest.yaml @@ -981,13 +981,15 @@ builders: - shell: | set +x - sudo apt-get update && \ - sudo DEBIAN_FRONTEND=noninteractive apt-get dist-upgrade -y + sudo apt-get -o DPkg::Lock::Timeout=300 update && \ + sudo DEBIAN_FRONTEND=noninteractive apt-get \ + -o DPkg::Lock::Timeout=300 dist-upgrade -y sudo DEBIAN_FRONTEND=noninteractive \ - apt-get install software-properties-common gpg -y + apt-get -o DPkg::Lock::Timeout=300 install software-properties-common gpg -y sudo add-apt-repository -y ppa:deadsnakes/ppa - sudo apt-get update && sudo DEBIAN_FRONTEND=noninteractive \ - apt-get install \ + sudo apt-get -o DPkg::Lock::Timeout=300 update && \ + sudo DEBIAN_FRONTEND=noninteractive apt-get \ + -o DPkg::Lock::Timeout=300 install \ python3.9 python3.9-dev python3.9-distutils \ python3.8 python3.8-dev python3.8-distutils \ python3.7 python3.7-dev python3.6 python3.6-dev \ @@ -1547,8 +1549,9 @@ name: functest-trivy builders: - shell: | - sudo apt-get update && sudo DEBIAN_FRONTEND=noninteractive \ - apt-get install curl -y + sudo apt-get -o DPkg::Lock::Timeout=300 update && \ + sudo DEBIAN_FRONTEND=noninteractive apt-get \ + -o DPkg::Lock::Timeout=300 install curl -y curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sudo sh -s -- -b . if [ "{repo}" = "_" ]; then diff --git a/jjb/functest/xtesting.yaml b/jjb/functest/xtesting.yaml index 13e60c462..f4ef35ea4 100644 --- a/jjb/functest/xtesting.yaml +++ b/jjb/functest/xtesting.yaml @@ -503,13 +503,15 @@ builders: - shell: | set +x - sudo apt-get update && \ - sudo DEBIAN_FRONTEND=noninteractive apt-get dist-upgrade -y + sudo apt-get -o DPkg::Lock::Timeout=300 update && \ + sudo DEBIAN_FRONTEND=noninteractive apt-get \ + -o DPkg::Lock::Timeout=300 dist-upgrade -y sudo DEBIAN_FRONTEND=noninteractive \ - apt-get install software-properties-common gpg -y + apt-get -o DPkg::Lock::Timeout=300 install software-properties-common gpg -y sudo add-apt-repository -y ppa:deadsnakes/ppa - sudo apt-get update && sudo DEBIAN_FRONTEND=noninteractive \ - apt-get install \ + sudo apt-get -o DPkg::Lock::Timeout=300 update && \ + sudo DEBIAN_FRONTEND=noninteractive apt-get \ + -o DPkg::Lock::Timeout=300 install \ python3.9 python3.9-dev python3.9-distutils \ python3.8 python3.8-dev python3.8-distutils \ python3.7 python3.7-dev python3.6 python3.6-dev \ @@ -793,8 +795,9 @@ name: xtesting-trivy builders: - shell: | - sudo apt-get update && sudo DEBIAN_FRONTEND=noninteractive \ - apt-get install curl -y + sudo apt-get -o DPkg::Lock::Timeout=300 update && \ + sudo DEBIAN_FRONTEND=noninteractive apt-get \ + -o DPkg::Lock::Timeout=300 install curl -y curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sudo sh -s -- -b . if [ "{repo}" = "_" ]; then |