Pull request #434 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 67b5ebe44866dd8b745cb0133ca996ba3cbef93e+5ce181da19694a4307a13509148c3e1aea68fdc3 (85cbf4fa463291b5f7fe95e8d1b7138498d6f9ea) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10266081310431374331.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7749161737109930839.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-434/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-434/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9164570642970880609.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-434/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2105175900890356456.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3484069446882269905.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-434/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-434/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14534351933913352778.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-15527 in /w/workspace/_app-service-configurable_PR-434 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-service-configurable.git > git init /w/workspace/_app-service-configurable_PR-434 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 5ce181da19694a4307a13509148c3e1aea68fdc3 into PR head commit 67b5ebe44866dd8b745cb0133ca996ba3cbef93e Merge succeeded, producing 67b5ebe44866dd8b745cb0133ca996ba3cbef93e Checking out Revision 67b5ebe44866dd8b745cb0133ca996ba3cbef93e (PR-434) > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/434/head:refs/remotes/origin/PR-434 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 67b5ebe44866dd8b745cb0133ca996ba3cbef93e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 5ce181da19694a4307a13509148c3e1aea68fdc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 67b5ebe44866dd8b745cb0133ca996ba3cbef93e # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:04:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:04:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:04:02 ========================================================= 12:04:02 EdgeX Global Pipelines Version Info 12:04:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:04:02 ------------------- 12:04:02 stable info: 12:04:02 ------------------- 12:04:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:04:02 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 12:04:02 Message: update stable to v1.0.234 12:04:03 ------------------- 12:04:03 experimental info: 12:04:03 ------------------- 12:04:03 Commited By: **** collab-it+edgex@linuxfoundation.org 12:04:03 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 12:04:03 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:04:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:04:03 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:04:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:04:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:04:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:04:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:04:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:04:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:04:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:04:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:04:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:04:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:04:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:04:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:04:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:04:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:04:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:04:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:04:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:04:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:04:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:04:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:04:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:04:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:04:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:04:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:04:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:04:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-434 [Pipeline] echo 12:04:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-434 [Pipeline] echo 12:04:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-434 [Pipeline] echo 12:04:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 67b5ebe44866dd8b745cb0133ca996ba3cbef93e [Pipeline] echo 12:04:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 67b5ebe [Pipeline] echo 12:04:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:04:05 provisioning config files... 12:04:05 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-434@tmp/config8980890824753636793tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:04:05 ---> docker-login.sh 12:04:05 nexus3.edgexfoundry.org:10001 12:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:05 Configure a credential helper to remove this warning. See 12:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:05 12:04:05 Login Succeeded 12:04:05 nexus3.edgexfoundry.org:10002 12:04:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:06 Configure a credential helper to remove this warning. See 12:04:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:06 12:04:06 Login Succeeded 12:04:06 nexus3.edgexfoundry.org:10003 12:04:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:06 Configure a credential helper to remove this warning. See 12:04:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:06 12:04:06 Login Succeeded 12:04:06 nexus3.edgexfoundry.org:10004 12:04:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:06 Configure a credential helper to remove this warning. See 12:04:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:06 12:04:06 Login Succeeded 12:04:06 docker.io 12:04:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:07 Configure a credential helper to remove this warning. See 12:04:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:07 12:04:07 Login Succeeded 12:04:07 ---> docker-login.sh ends [Pipeline] } 12:04:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:04:07 + git rev-list -1 --merges 67b5ebe44866dd8b745cb0133ca996ba3cbef93e~1..67b5ebe44866dd8b745cb0133ca996ba3cbef93e [Pipeline] echo 12:04:07 -----------> git rev-list -1 --merges 67b5ebe44866dd8b745cb0133ca996ba3cbef93e~1..67b5ebe44866dd8b745cb0133ca996ba3cbef93e 67b5ebe44866dd8b745cb0133ca996ba3cbef93e [false] [Pipeline] sh 12:04:08 + git log --format=format:%s -1 67b5ebe44866dd8b745cb0133ca996ba3cbef93e [Pipeline] echo 12:04:08 ========================================================= 12:04:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:04:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:04:08 + git log --format=format:%s -1 67b5ebe44866dd8b745cb0133ca996ba3cbef93e [Pipeline] echo 12:04:08 [semverPrep] GIT_COMMIT: 67b5ebe44866dd8b745cb0133ca996ba3cbef93e, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo 12:04:08 [semverPrep] This is not a build commit. [Pipeline] sh 12:04:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:04:08 + grep -v github /etc/ssh/ssh_known_hosts 12:04:08 + [ -e /tmp/ssh_known_hosts ] 12:04:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:04:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:04:08 + sudo tee -a /etc/ssh/ssh_known_hosts 12:04:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:04:09 12:04:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:04:09 0.1.4: Pulling from edgex-devops/py-git-semver 12:04:09 42c077c10790: Pulling fs layer 12:04:09 f63e77b7563a: Pulling fs layer 12:04:09 bd5fdadae976: Pulling fs layer 12:04:09 205491f53016: Pulling fs layer 12:04:09 df18705c85c3: Pulling fs layer 12:04:09 bdb3f477010e: Pulling fs layer 12:04:09 c8a8fc8e1c8f: Pulling fs layer 12:04:09 2c6e9b1d212d: Pulling fs layer 12:04:09 bdb8f0575790: Pulling fs layer 12:04:09 386e3cb2ff24: Pulling fs layer 12:04:09 2343380bae48: Pulling fs layer 12:04:09 bdb8f0575790: Waiting 12:04:09 386e3cb2ff24: Waiting 12:04:09 2c6e9b1d212d: Waiting 12:04:09 c8a8fc8e1c8f: Waiting 12:04:09 2343380bae48: Waiting 12:04:09 bdb3f477010e: Waiting 12:04:09 df18705c85c3: Waiting 12:04:09 205491f53016: Waiting 12:04:09 f63e77b7563a: Verifying Checksum 12:04:09 f63e77b7563a: Download complete 12:04:09 205491f53016: Verifying Checksum 12:04:09 205491f53016: Download complete 12:04:10 df18705c85c3: Verifying Checksum 12:04:10 df18705c85c3: Download complete 12:04:10 bdb3f477010e: Verifying Checksum 12:04:10 bd5fdadae976: Verifying Checksum 12:04:10 bd5fdadae976: Download complete 12:04:10 bdb3f477010e: Download complete 12:04:10 2c6e9b1d212d: Download complete 12:04:10 bdb8f0575790: Verifying Checksum 12:04:10 bdb8f0575790: Download complete 12:04:10 386e3cb2ff24: Verifying Checksum 12:04:10 386e3cb2ff24: Download complete 12:04:10 2343380bae48: Verifying Checksum 12:04:10 2343380bae48: Download complete 12:04:10 42c077c10790: Verifying Checksum 12:04:10 42c077c10790: Download complete 12:04:10 c8a8fc8e1c8f: Download complete 12:04:11 42c077c10790: Pull complete 12:04:11 f63e77b7563a: Pull complete 12:04:12 bd5fdadae976: Pull complete 12:04:12 205491f53016: Pull complete 12:04:12 df18705c85c3: Pull complete 12:04:12 bdb3f477010e: Pull complete 12:04:15 c8a8fc8e1c8f: Pull complete 12:04:15 2c6e9b1d212d: Pull complete 12:04:15 bdb8f0575790: Pull complete 12:04:15 386e3cb2ff24: Pull complete 12:04:15 2343380bae48: Pull complete 12:04:15 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 12:04:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:04:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:04:15 prd-ubuntu20.04-docker-8c-8g-15527 does not seem to be running inside a container 12:04:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-434 -v /w/workspace/_app-service-configurable_PR-434:/w/workspace/_app-service-configurable_PR-434:rw,z -v /w/workspace/_app-service-configurable_PR-434@tmp:/w/workspace/_app-service-configurable_PR-434@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:04:16 $ docker top 308f3f9c58fee94ff82e42b7062a4b1168d4b107a6990628a7d5ad6a49e5b98d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:04:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:04:17 [ssh-agent] Looking for ssh-agent implementation... 12:04:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:04:17 $ docker exec 308f3f9c58fee94ff82e42b7062a4b1168d4b107a6990628a7d5ad6a49e5b98d ssh-agent 12:04:17 SSH_AUTH_SOCK=/tmp/ssh-SCM6KI5cZkD8/agent.34 12:04:17 SSH_AGENT_PID=40 12:04:17 Running ssh-add (command line suppressed) 12:04:17 Identity added: /w/workspace/_app-service-configurable_PR-434@tmp/private_key_6999332091745906374.key (/w/workspace/_app-service-configurable_PR-434@tmp/private_key_6999332091745906374.key) 12:04:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:04:17 + git tag --points-at HEAD [Pipeline] } 12:04:17 $ docker exec --env ******** --env ******** 308f3f9c58fee94ff82e42b7062a4b1168d4b107a6990628a7d5ad6a49e5b98d ssh-agent -k 12:04:17 unset SSH_AUTH_SOCK; 12:04:17 unset SSH_AGENT_PID; 12:04:17 echo Agent pid 40 killed; 12:04:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:04:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:04:18 [ssh-agent] Looking for ssh-agent implementation... 12:04:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:04:18 $ docker exec 308f3f9c58fee94ff82e42b7062a4b1168d4b107a6990628a7d5ad6a49e5b98d ssh-agent 12:04:18 SSH_AUTH_SOCK=/tmp/ssh-qxpDTA5SU7jp/agent.72 12:04:18 SSH_AGENT_PID=78 12:04:18 Running ssh-add (command line suppressed) 12:04:18 Identity added: /w/workspace/_app-service-configurable_PR-434@tmp/private_key_7804197327516246869.key (/w/workspace/_app-service-configurable_PR-434@tmp/private_key_7804197327516246869.key) 12:04:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:04:18 + git semver init 12:04:19 2022-06-24 12:04:18,970 [run_init] DEBUG init version:0.0.0 force:False 12:04:19 2022-06-24 12:04:18,971 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-434/.semver 12:04:19 2022-06-24 12:04:18,972 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-434/.semver 12:04:19 2022-06-24 12:04:18,972 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-434/.semver'], cwd=/w/workspace/_app-service-configurable_PR-434, universal_newlines=False, shell=None, istream=None) 12:04:19 2022-06-24 12:04:19,715 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-434/.git/info/exclude 12:04:19 2022-06-24 12:04:19,715 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-434/.semver/PR-434 with force:False 12:04:19 2022-06-24 12:04:19,716 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-434/.semver/PR-434 12:04:19 2022-06-24 12:04:19,719 [execute] INFO git cat-file --batch-check 12:04:19 2022-06-24 12:04:19,719 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-434/.semver, universal_newlines=False, shell=None, istream=) 12:04:19 2022-06-24 12:04:19,725 [execute] INFO git cat-file --batch 12:04:19 2022-06-24 12:04:19,725 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-434/.semver, universal_newlines=False, shell=None, istream=) 12:04:19 2022-06-24 12:04:19,731 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-434/.semver/PR-434 12:04:19 0.0.0 [Pipeline] } 12:04:19 $ docker exec --env ******** --env ******** 308f3f9c58fee94ff82e42b7062a4b1168d4b107a6990628a7d5ad6a49e5b98d ssh-agent -k 12:04:20 unset SSH_AUTH_SOCK; 12:04:20 unset SSH_AGENT_PID; 12:04:20 echo Agent pid 78 killed; 12:04:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:04:20 + git semver [Pipeline] } 12:04:20 $ docker stop --time=1 308f3f9c58fee94ff82e42b7062a4b1168d4b107a6990628a7d5ad6a49e5b98d 12:04:22 $ docker rm -f 308f3f9c58fee94ff82e42b7062a4b1168d4b107a6990628a7d5ad6a49e5b98d [Pipeline] // withDockerContainer [Pipeline] sh 12:04:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:04:22 Stashed 1 file(s) [Pipeline] echo 12:04:22 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:04:23 provisioning config files... 12:04:23 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-434@tmp/config7570227639574277719tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:04:23 ---> docker-login.sh 12:04:23 nexus3.edgexfoundry.org:10001 12:04:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:23 Configure a credential helper to remove this warning. See 12:04:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:23 12:04:23 Login Succeeded 12:04:23 nexus3.edgexfoundry.org:10002 12:04:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:24 Configure a credential helper to remove this warning. See 12:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:24 12:04:24 Login Succeeded 12:04:24 nexus3.edgexfoundry.org:10003 12:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:24 Configure a credential helper to remove this warning. See 12:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:24 12:04:24 Login Succeeded 12:04:24 nexus3.edgexfoundry.org:10004 12:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:24 Configure a credential helper to remove this warning. See 12:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:24 12:04:24 Login Succeeded 12:04:24 docker.io 12:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:24 Configure a credential helper to remove this warning. See 12:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:24 12:04:24 Login Succeeded 12:04:24 ---> docker-login.sh ends [Pipeline] } 12:04:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:04:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:04:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:04:25 ========================================================= 12:04:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:04:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:25 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 12:04:25 Sending build context to Docker daemon 3.089MB 12:04:25 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 12:04:25 Step 2/13 : FROM ${BASE} AS builder 12:04:25 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:04:25 59bf1c3509f3: Pulling fs layer 12:04:25 666ba61612fd: Pulling fs layer 12:04:25 8ed8ca486205: Pulling fs layer 12:04:25 cc1cd167ecdc: Pulling fs layer 12:04:25 c516ae0d96e1: Pulling fs layer 12:04:25 684cea983483: Pulling fs layer 12:04:25 dd3240ac7de5: Pulling fs layer 12:04:25 b1e948a4e11c: Pulling fs layer 12:04:25 a8fd76ee1af6: Pulling fs layer 12:04:25 646ad004c059: Pulling fs layer 12:04:25 cc1cd167ecdc: Waiting 12:04:25 c516ae0d96e1: Waiting 12:04:25 684cea983483: Waiting 12:04:25 dd3240ac7de5: Waiting 12:04:25 a8fd76ee1af6: Waiting 12:04:25 646ad004c059: Waiting 12:04:25 b1e948a4e11c: Waiting 12:04:25 8ed8ca486205: Download complete 12:04:25 666ba61612fd: Download complete 12:04:25 c516ae0d96e1: Download complete 12:04:25 684cea983483: Download complete 12:04:25 dd3240ac7de5: Verifying Checksum 12:04:25 dd3240ac7de5: Download complete 12:04:25 59bf1c3509f3: Verifying Checksum 12:04:25 59bf1c3509f3: Download complete 12:04:25 b1e948a4e11c: Verifying Checksum 12:04:25 b1e948a4e11c: Download complete 12:04:25 59bf1c3509f3: Pull complete 12:04:25 666ba61612fd: Pull complete 12:04:25 8ed8ca486205: Pull complete 12:04:25 646ad004c059: Verifying Checksum 12:04:25 646ad004c059: Download complete 12:04:26 a8fd76ee1af6: Download complete 12:04:26 cc1cd167ecdc: Verifying Checksum 12:04:26 cc1cd167ecdc: Download complete 12:04:30 cc1cd167ecdc: Pull complete 12:04:30 c516ae0d96e1: Pull complete 12:04:30 684cea983483: Pull complete 12:04:30 dd3240ac7de5: Pull complete 12:04:30 b1e948a4e11c: Pull complete 12:04:32 a8fd76ee1af6: Pull complete 12:04:33 646ad004c059: Pull complete 12:04:33 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 12:04:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:04:33 ---> 8f69c11f6b0c 12:04:33 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:04:34 ---> Running in 68141db8cc72 12:04:34 Removing intermediate container 68141db8cc72 12:04:34 ---> d32c4e0a06ab 12:04:34 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 12:04:35 ---> Running in 39e81afd1999 12:04:35 Removing intermediate container 39e81afd1999 12:04:35 ---> 1a022431b9df 12:04:35 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:04:35 ---> Running in 019b40f92c2a 12:04:35 Removing intermediate container 019b40f92c2a 12:04:35 ---> 8fe0f707601b 12:04:35 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:04:35 ---> Running in ed7d76bddc73 12:04:36 Removing intermediate container ed7d76bddc73 12:04:36 ---> 63e394da9635 12:04:36 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:04:36 ---> Running in 0c214b097603 12:04:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:04:37 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:04:38 OK: 221 MiB in 52 packages 12:04:38 Removing intermediate container 0c214b097603 12:04:38 ---> ac2877a1fb38 12:04:38 Step 8/13 : WORKDIR /app 12:04:38 ---> Running in fdd1c2f5c0ad 12:04:38 Removing intermediate container fdd1c2f5c0ad 12:04:38 ---> ea83e9e8f7b7 12:04:38 Step 9/13 : COPY go.mod vendor* ./ 12:04:38 Still waiting to schedule task 12:04:38 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:04:38 ---> c65f2c82e6bc 12:04:38 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:04:38 ---> Running in 4c1d9a101642 12:04:56 Removing intermediate container 4c1d9a101642 12:04:56 ---> d66b2d2a1eaf 12:04:56 Step 11/13 : COPY . . 12:04:56 ---> fc55762bb62a 12:04:56 Step 12/13 : ARG MAKE="make build" 12:04:56 ---> Running in 99c1dd241202 12:04:56 Removing intermediate container 99c1dd241202 12:04:56 ---> b1bf7d61aa6f 12:04:56 Step 13/13 : RUN $MAKE 12:04:56 ---> Running in e52c98afe47c 12:04:56 noop 12:04:57 Removing intermediate container e52c98afe47c 12:04:57 ---> d5322d552763 12:04:57 Successfully built d5322d552763 12:04:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:57 + docker inspect -f . ci-base-image-x86_64 12:04:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:04:57 prd-ubuntu20.04-docker-8c-8g-15527 does not seem to be running inside a container 12:04:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-434 -v /w/workspace/_app-service-configurable_PR-434:/w/workspace/_app-service-configurable_PR-434:rw,z -v /w/workspace/_app-service-configurable_PR-434@tmp:/w/workspace/_app-service-configurable_PR-434@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:04:58 $ docker top 78182153127f88e7c4a5e84d7ae805a7840ab2f30ad6e56200cf968818c9f82c -eo pid,comm [Pipeline] { [Pipeline] sh 12:04:58 + go version 12:04:58 go version go1.17.7 linux/amd64 [Pipeline] } 12:04:58 $ docker stop --time=1 78182153127f88e7c4a5e84d7ae805a7840ab2f30ad6e56200cf968818c9f82c 12:05:00 $ docker rm -f 78182153127f88e7c4a5e84d7ae805a7840ab2f30ad6e56200cf968818c9f82c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:05:00 + docker inspect -f . ci-base-image-x86_64 12:05:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:05:00 prd-ubuntu20.04-docker-8c-8g-15527 does not seem to be running inside a container 12:05:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-434 -v /w/workspace/_app-service-configurable_PR-434:/w/workspace/_app-service-configurable_PR-434:rw,z -v /w/workspace/_app-service-configurable_PR-434@tmp:/w/workspace/_app-service-configurable_PR-434@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:05:01 $ docker top dba43803f9e4bfe3b4cbe9ced481087b1d3b5221cb2753d70e7067fd7f5564bd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:05:01 + make test 12:05:01 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 12:05:11 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:05:11 CGO_ENABLED=1 go vet ./... 12:05:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:05:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:05:15 ./bin/test-attribution-txt.sh 12:05:15 An attribution for github.com/Microsoft/go-winio is missing from in Attribution.txt, please add 12:05:15 make: *** [makefile:49: test] Error 1 [Pipeline] } 12:05:15 $ docker stop --time=1 dba43803f9e4bfe3b4cbe9ced481087b1d3b5221cb2753d70e7067fd7f5564bd 12:05:17 $ docker rm -f dba43803f9e4bfe3b4cbe9ced481087b1d3b5221cb2753d70e7067fd7f5564bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:05:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:18 12:05:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:05:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:18 latest: Pulling from edgex-lftools-log-publisher 12:05:18 5eb5b503b376: Pulling fs layer 12:05:18 5c69ac0246d0: Pulling fs layer 12:05:18 ec43610c2a17: Pulling fs layer 12:05:18 3a2ae6a8a46f: Pulling fs layer 12:05:18 33b1e0a273af: Pulling fs layer 12:05:18 5d3b04190fa2: Pulling fs layer 12:05:18 2f39f015ded8: Pulling fs layer 12:05:18 3a2ae6a8a46f: Waiting 12:05:18 2f39f015ded8: Waiting 12:05:18 33b1e0a273af: Waiting 12:05:18 5c69ac0246d0: Verifying Checksum 12:05:18 5c69ac0246d0: Download complete 12:05:18 3a2ae6a8a46f: Download complete 12:05:18 33b1e0a273af: Verifying Checksum 12:05:18 33b1e0a273af: Download complete 12:05:18 5d3b04190fa2: Verifying Checksum 12:05:18 5d3b04190fa2: Download complete 12:05:18 ec43610c2a17: Verifying Checksum 12:05:18 ec43610c2a17: Download complete 12:05:18 5eb5b503b376: Download complete 12:05:19 2f39f015ded8: Download complete 12:05:19 5eb5b503b376: Pull complete 12:05:20 5c69ac0246d0: Pull complete 12:05:20 ec43610c2a17: Pull complete 12:05:20 3a2ae6a8a46f: Pull complete 12:05:20 33b1e0a273af: Pull complete 12:05:20 5d3b04190fa2: Pull complete 12:05:25 2f39f015ded8: Pull complete 12:05:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:05:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:05:25 prd-ubuntu20.04-docker-8c-8g-15527 does not seem to be running inside a container 12:05:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-434 -v /w/workspace/_app-service-configurable_PR-434:/w/workspace/_app-service-configurable_PR-434:rw,z -v /w/workspace/_app-service-configurable_PR-434@tmp:/w/workspace/_app-service-configurable_PR-434@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:05:26 $ docker top 78f841b83ed0441c9efaa689c7a4cf6e7e40f36592539248c9fe8b5a52df15cd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:05:27 ---> job-cost.sh 12:05:27 lf-activate-venv: SKIPPING 12:05:27 INFO: No Stack... 12:05:27 INFO: Retrieving Pricing Info for: v3-standard-8 12:05:28 INFO: Archiving Costs [Pipeline] sh 12:05:28 + cut -d, -f6 12:05:28 + cat /w/workspace/_app-service-configurable_PR-434/archives/cost.csv [Pipeline] lock 12:05:28 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-434-1-stack-cost] 12:05:28 Resource [jenkins-edgexfoundry-app-service-configurable-PR-434-1-stack-cost] did not exist. Created. 12:05:28 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-434-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:05:28 + echo total: 0.2199999988079071 [Pipeline] stash 12:05:28 Stashed 1 file(s) [Pipeline] } 12:05:29 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-434-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:05:29 $ docker stop --time=1 78f841b83ed0441c9efaa689c7a4cf6e7e40f36592539248c9fe8b5a52df15cd 12:05:30 $ docker rm -f 78f841b83ed0441c9efaa689c7a4cf6e7e40f36592539248c9fe8b5a52df15cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:05:30 Failed in branch amd64 12:06:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15529 in /w/workspace/_app-service-configurable_PR-434 [Pipeline] { [Pipeline] ws 12:06:17 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:06:17 Selected Git installation does not exist. Using Default 12:06:17 The recommended git tool is: NONE 12:06:24 using credential edgex-jenkins-ssh 12:06:24 Cloning the remote Git repository 12:06:24 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:06:24 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:06:24 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:06:24 > git --version # timeout=10 12:06:24 > git --version # 'git version 2.25.1' 12:06:24 using GIT_SSH to set credentials SSH Credentials for GitHub 12:06:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:06:26 Merging remotes/origin/main commit 5ce181da19694a4307a13509148c3e1aea68fdc3 into PR head commit 67b5ebe44866dd8b745cb0133ca996ba3cbef93e 12:06:25 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:06:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:06:26 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:06:26 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:06:26 using GIT_SSH to set credentials SSH Credentials for GitHub 12:06:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/434/head:refs/remotes/origin/PR-434 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:06:26 > git config core.sparsecheckout # timeout=10 12:06:26 > git checkout -f 67b5ebe44866dd8b745cb0133ca996ba3cbef93e # timeout=10 12:06:26 Merge succeeded, producing 67b5ebe44866dd8b745cb0133ca996ba3cbef93e 12:06:26 Checking out Revision 67b5ebe44866dd8b745cb0133ca996ba3cbef93e (PR-434) 12:06:26 > git remote # timeout=10 12:06:26 > git config --get remote.origin.url # timeout=10 12:06:26 using GIT_SSH to set credentials SSH Credentials for GitHub 12:06:26 > git merge 5ce181da19694a4307a13509148c3e1aea68fdc3 # timeout=10 12:06:26 > git rev-parse HEAD^{commit} # timeout=10 12:06:26 > git config core.sparsecheckout # timeout=10 12:06:26 > git checkout -f 67b5ebe44866dd8b745cb0133ca996ba3cbef93e # timeout=10 12:06:31 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" 12:06:31 > git --version # timeout=10 12:06:31 > git --version # 'git version 2.25.1' 12:06:31 fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:06:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:06:32 % Total % Received % Xferd Average Speed Time Time Time Current 12:06:32 Dload Upload Total Spent Left Speed 12:06:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 84503 0 --:--:-- --:--:-- --:--:-- 84503 [Pipeline] sh 12:06:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:06:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:06:33 + sudo tee /etc/docker/daemon.new 12:06:33 { 12:06:33 "registry-mirrors": [ 12:06:33 "https://nexus3.edgexfoundry.org:10001" 12:06:33 ], 12:06:33 "bip": "10.250.0.254/24", 12:06:33 "hosts": [ 12:06:33 "tcp://0.0.0.0:5555", 12:06:33 "unix:///var/run/docker.sock" 12:06:33 ], 12:06:33 "mtu": 1458, 12:06:33 "selinux-enabled": true, 12:06:33 "seccomp-profile": "/etc/docker/seccomp.json" 12:06:33 } [Pipeline] sh 12:06:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:06:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:06:52 provisioning config files... 12:06:52 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config8579130561449994291tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:06:53 ---> docker-login.sh 12:06:53 nexus3.edgexfoundry.org:10001 12:06:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:54 Configure a credential helper to remove this warning. See 12:06:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:54 12:06:54 Login Succeeded 12:06:54 nexus3.edgexfoundry.org:10002 12:06:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:54 Configure a credential helper to remove this warning. See 12:06:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:54 12:06:54 Login Succeeded 12:06:54 nexus3.edgexfoundry.org:10003 12:06:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:54 Configure a credential helper to remove this warning. See 12:06:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:54 12:06:54 Login Succeeded 12:06:54 nexus3.edgexfoundry.org:10004 12:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:55 Configure a credential helper to remove this warning. See 12:06:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:55 12:06:55 Login Succeeded 12:06:55 docker.io 12:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:56 Configure a credential helper to remove this warning. See 12:06:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:56 12:06:56 Login Succeeded 12:06:56 ---> docker-login.sh ends [Pipeline] } 12:06:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:06:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:06:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:06:56 ========================================================= 12:06:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:06:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:06:56 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 12:06:56 Sending build context to Docker daemon 205.8kB 12:06:57 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 12:06:57 Step 2/13 : FROM ${BASE} AS builder 12:06:57 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:06:57 9b3977197b4f: Pulling fs layer 12:06:57 1a89e8eeedd5: Pulling fs layer 12:06:57 94645a83ff95: Pulling fs layer 12:06:57 e6fb740bc735: Pulling fs layer 12:06:57 3a77bd46dcc9: Pulling fs layer 12:06:57 355e64cbe906: Pulling fs layer 12:06:57 63ab81a10011: Pulling fs layer 12:06:57 555d1d1c4555: Pulling fs layer 12:06:57 7d9057610161: Pulling fs layer 12:06:57 e6fb740bc735: Waiting 12:06:57 3a77bd46dcc9: Waiting 12:06:57 355e64cbe906: Waiting 12:06:57 63ab81a10011: Waiting 12:06:57 7d9057610161: Waiting 12:06:57 555d1d1c4555: Waiting 12:06:57 94645a83ff95: Download complete 12:06:57 1a89e8eeedd5: Verifying Checksum 12:06:57 1a89e8eeedd5: Download complete 12:06:57 3a77bd46dcc9: Verifying Checksum 12:06:57 3a77bd46dcc9: Download complete 12:06:57 355e64cbe906: Download complete 12:06:57 63ab81a10011: Verifying Checksum 12:06:57 63ab81a10011: Download complete 12:06:57 9b3977197b4f: Verifying Checksum 12:06:57 9b3977197b4f: Download complete 12:06:58 9b3977197b4f: Pull complete 12:06:58 7d9057610161: Verifying Checksum 12:06:58 7d9057610161: Download complete 12:06:59 1a89e8eeedd5: Pull complete 12:06:59 94645a83ff95: Pull complete 12:06:59 555d1d1c4555: Verifying Checksum 12:06:59 555d1d1c4555: Download complete 12:07:00 e6fb740bc735: Verifying Checksum 12:07:00 e6fb740bc735: Download complete 12:07:12 e6fb740bc735: Pull complete 12:07:12 3a77bd46dcc9: Pull complete 12:07:12 355e64cbe906: Pull complete 12:07:12 63ab81a10011: Pull complete 12:07:19 555d1d1c4555: Pull complete 12:07:21 7d9057610161: Pull complete 12:07:21 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 12:07:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:07:21 ---> 819e984ddca1 12:07:21 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:07:22 ---> Running in a23354d8604d 12:07:22 Removing intermediate container a23354d8604d 12:07:22 ---> 31941be6d44b 12:07:22 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 12:07:23 ---> Running in 903f052fd867 12:07:23 Removing intermediate container 903f052fd867 12:07:23 ---> 37f14b74e13b 12:07:23 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:07:23 ---> Running in 202ce530f8fc 12:07:23 Removing intermediate container 202ce530f8fc 12:07:23 ---> 3675065cd662 12:07:23 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:07:23 ---> Running in 3892c63a8a29 12:07:25 Removing intermediate container 3892c63a8a29 12:07:25 ---> 97f34a0ec320 12:07:25 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:07:25 ---> Running in cab572c5bbd0 12:07:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:07:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:07:28 OK: 220 MiB in 52 packages 12:07:29 Removing intermediate container cab572c5bbd0 12:07:29 ---> c7063d024ed1 12:07:29 Step 8/13 : WORKDIR /app 12:07:29 ---> Running in 75797a71fbcc 12:07:29 Removing intermediate container 75797a71fbcc 12:07:29 ---> 2f96faf882da 12:07:29 Step 9/13 : COPY go.mod vendor* ./ 12:07:30 ---> 25c495577989 12:07:30 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:07:30 ---> Running in c7ab56c5d5a8 12:08:17 Removing intermediate container c7ab56c5d5a8 12:08:17 ---> 3e485798bd73 12:08:17 Step 11/13 : COPY . . 12:08:17 ---> e3f3a7812bbc 12:08:17 Step 12/13 : ARG MAKE="make build" 12:08:17 ---> Running in 05c2424526da 12:08:17 Removing intermediate container 05c2424526da 12:08:17 ---> 24b6613df78b 12:08:17 Step 13/13 : RUN $MAKE 12:08:17 ---> Running in 7a275d4bf98c 12:08:17 noop 12:08:17 Removing intermediate container 7a275d4bf98c 12:08:17 ---> 53b3e7687b76 12:08:17 Successfully built 53b3e7687b76 12:08:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:08:18 + docker inspect -f . ci-base-image-arm64 12:08:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:08:18 prd-ubuntu20.04-docker-arm64-4c-16g-15529 does not seem to be running inside a container 12:08:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:08:19 $ docker top 4b8fa405907b300648fb20577ebea4f2aed8ee85e1ce993fbfc5eca59c6b6051 -eo pid,comm [Pipeline] { [Pipeline] sh 12:08:20 + go version 12:08:20 go version go1.17.7 linux/arm64 [Pipeline] } 12:08:20 $ docker stop --time=1 4b8fa405907b300648fb20577ebea4f2aed8ee85e1ce993fbfc5eca59c6b6051 12:08:22 $ docker rm -f 4b8fa405907b300648fb20577ebea4f2aed8ee85e1ce993fbfc5eca59c6b6051 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:08:23 + docker inspect -f . ci-base-image-arm64 12:08:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:08:23 prd-ubuntu20.04-docker-arm64-4c-16g-15529 does not seem to be running inside a container 12:08:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:08:25 $ docker top 5aaae9a943f659cb2eb8b26e4f56edd2bc819c2e808c70afe9595c23a58c7fb7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:08:26 + make test 12:08:26 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 12:09:48 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:09:48 CGO_ENABLED=1 go vet ./... 12:10:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:10:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:10:10 ./bin/test-attribution-txt.sh 12:10:10 An attribution for github.com/Microsoft/go-winio is missing from in Attribution.txt, please add 12:10:10 make: *** [makefile:49: test] Error 1 [Pipeline] } 12:10:10 $ docker stop --time=1 5aaae9a943f659cb2eb8b26e4f56edd2bc819c2e808c70afe9595c23a58c7fb7 12:10:12 $ docker rm -f 5aaae9a943f659cb2eb8b26e4f56edd2bc819c2e808c70afe9595c23a58c7fb7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:10:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:10:13 12:10:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:10:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:10:14 arm64: Pulling from edgex-lftools-log-publisher 12:10:14 8998bd30e6a1: Pulling fs layer 12:10:14 04944245beec: Pulling fs layer 12:10:14 699f458cf7ca: Pulling fs layer 12:10:14 765212b225bb: Pulling fs layer 12:10:14 f23df028b6ca: Pulling fs layer 12:10:14 d65c8cfc05b1: Pulling fs layer 12:10:14 2437ff75d9bd: Pulling fs layer 12:10:14 f23df028b6ca: Waiting 12:10:14 d65c8cfc05b1: Waiting 12:10:14 2437ff75d9bd: Waiting 12:10:14 765212b225bb: Waiting 12:10:14 04944245beec: Verifying Checksum 12:10:14 04944245beec: Download complete 12:10:14 765212b225bb: Verifying Checksum 12:10:14 765212b225bb: Download complete 12:10:14 f23df028b6ca: Verifying Checksum 12:10:14 f23df028b6ca: Download complete 12:10:14 d65c8cfc05b1: Verifying Checksum 12:10:14 d65c8cfc05b1: Download complete 12:10:14 699f458cf7ca: Verifying Checksum 12:10:14 699f458cf7ca: Download complete 12:10:15 8998bd30e6a1: Verifying Checksum 12:10:15 8998bd30e6a1: Download complete 12:10:17 2437ff75d9bd: Verifying Checksum 12:10:19 8998bd30e6a1: Pull complete 12:10:19 04944245beec: Pull complete 12:10:21 699f458cf7ca: Pull complete 12:10:21 765212b225bb: Pull complete 12:10:22 f23df028b6ca: Pull complete 12:10:22 d65c8cfc05b1: Pull complete 12:10:37 2437ff75d9bd: Pull complete 12:10:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:10:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:10:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:10:38 prd-ubuntu20.04-docker-arm64-4c-16g-15529 does not seem to be running inside a container 12:10:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:10:40 $ docker top 2b74252aa78623c6837055c8f81f33e26ab1d38ba59a2c675b39f33224968f6d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:10:41 ---> job-cost.sh 12:10:41 lf-activate-venv: SKIPPING 12:10:41 INFO: No Stack... 12:10:41 INFO: Retrieving Pricing Info for: v3-standard-4 12:10:42 INFO: Archiving Costs [Pipeline] sh 12:10:43 + + catcut /w/workspace/app-service-configurable/1/archives/cost.csv -d, 12:10:43 -f6 [Pipeline] lock 12:10:43 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-434-1-stack-cost] 12:10:43 Resource [jenkins-edgexfoundry-app-service-configurable-PR-434-1-stack-cost] did not exist. Created. 12:10:43 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-434-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:10:44 /w/workspace/app-service-configurable/1@tmp/durable-c00cab73/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:10:44 + echo total: 0.10999999940395355 [Pipeline] stash 12:10:45 Warning: overwriting stash ‘stack-cost’ 12:10:45 Stashed 1 file(s) [Pipeline] } 12:10:45 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-434-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:10:45 $ docker stop --time=1 2b74252aa78623c6837055c8f81f33e26ab1d38ba59a2c675b39f33224968f6d 12:10:46 $ docker rm -f 2b74252aa78623c6837055c8f81f33e26ab1d38ba59a2c675b39f33224968f6d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 12:10:47 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 12:10:49 + [ -d /w/workspace/_app-service-configurable_PR-434/archives ] 12:10:49 + ls -al /w/workspace/_app-service-configurable_PR-434/archives 12:10:49 total 16 12:10:49 drwxr-xr-x 3 root root 4096 Jun 24 12:05 . 12:10:49 drwxrwxr-x 9 jenkins jenkins 4096 Jun 24 12:05 .. 12:10:49 drwxr-xr-x 2 root root 4096 Jun 24 12:05 cost 12:10:49 -rw-r--r-- 1 root root 95 Jun 24 12:05 cost.csv 12:10:49 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-434/archives 12:10:49 + ls -al /w/workspace/_app-service-configurable_PR-434/archives 12:10:49 total 16 12:10:49 drwxr-xr-x 3 jenkins jenkins 4096 Jun 24 12:05 . 12:10:49 drwxrwxr-x 9 jenkins jenkins 4096 Jun 24 12:05 .. 12:10:49 drwxr-xr-x 2 jenkins jenkins 4096 Jun 24 12:05 cost 12:10:49 -rw-r--r-- 1 jenkins jenkins 95 Jun 24 12:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:10:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:10:50 ---> package-listing.sh 12:10:50 ++ facter osfamily 12:10:50 ++ tr '[:upper:]' '[:lower:]' 12:10:51 + OS_FAMILY=debian 12:10:51 + workspace=/w/workspace/_app-service-configurable_PR-434 12:10:51 + START_PACKAGES=/tmp/packages_start.txt 12:10:51 + END_PACKAGES=/tmp/packages_end.txt 12:10:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:10:51 + PACKAGES=/tmp/packages_start.txt 12:10:51 + '[' /w/workspace/_app-service-configurable_PR-434 ']' 12:10:51 + PACKAGES=/tmp/packages_end.txt 12:10:51 + case "${OS_FAMILY}" in 12:10:51 + dpkg -l 12:10:51 + grep '^ii' 12:10:51 + '[' -f /tmp/packages_start.txt ']' 12:10:51 + '[' -f /tmp/packages_end.txt ']' 12:10:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:10:51 + '[' /w/workspace/_app-service-configurable_PR-434 ']' 12:10:51 + mkdir -p /w/workspace/_app-service-configurable_PR-434/archives/ 12:10:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-434/archives/ [Pipeline] echo 12:10:51 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-434/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:10:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:10:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:10:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:10:52 prd-ubuntu20.04-docker-8c-8g-15527 does not seem to be running inside a container 12:10:52 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-434/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-434 -v /w/workspace/_app-service-configurable_PR-434:/w/workspace/_app-service-configurable_PR-434:rw,z -v /w/workspace/_app-service-configurable_PR-434@tmp:/w/workspace/_app-service-configurable_PR-434@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:10:52 $ docker top b14d586333d01ed5cd5e814101407f7afc7bca6fcac20fae245944ff3d468476 -eo pid,comm [Pipeline] { [Pipeline] sh 12:10:52 + touch /tmp/pre-build-complete [Pipeline] sh 12:10:53 + mkdir -p /var/log/sysstat [Pipeline] sh 12:10:53 + ls /var/log/sa-host 12:10:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:10:53 provisioning config files... 12:10:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-434@tmp/config2131917201211409657tmp [Pipeline] { [Pipeline] echo 12:10:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:10:54 ---> create-netrc.sh [Pipeline] } 12:10:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:10:54 ---> python-tools-install.sh [Pipeline] echo 12:10:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:10:54 ---> sudo-logs.sh 12:10:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:10:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:10:55 ---> job-cost.sh 12:10:55 lf-activate-venv: SKIPPING 12:10:55 DEBUG: total: 0.2199999988079071 12:10:55 INFO: Retrieving Stack Cost... 12:10:55 INFO: Retrieving Pricing Info for: v3-standard-8 12:10:56 INFO: Archiving Costs [Pipeline] echo 12:10:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:10:56 ---> logs-deploy.sh 12:10:56 lf-activate-venv: SKIPPING 12:10:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-434/1 12:10:56 INFO: archiving workspace using pattern(s): 12:10:57 Archives upload complete. 12:10:57 INFO: archiving logs to Nexus