Pull request #565 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0187e670effe769e378288907b00e0b458bd58b1+f8820f46cc4bf4e47a1527ab92c50dcdaa53b1b7 (a428bb4e6bc719b58e6eed40bdd35dceed698334) 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-ssh4763684995445522878.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh8174548596448584577.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-565/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-565/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16834834766177230239.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-565/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9302799322392054537.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh14790500365085045870.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-565/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-565/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13221445755306723001.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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.20 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 Running on prd-ubuntu20.04-docker-8c-8g-15930 in /w/workspace/_app-service-configurable_PR-565 [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-565 # 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 f8820f46cc4bf4e47a1527ab92c50dcdaa53b1b7 into PR head commit 0187e670effe769e378288907b00e0b458bd58b1 Merge succeeded, producing 0187e670effe769e378288907b00e0b458bd58b1 Checking out Revision 0187e670effe769e378288907b00e0b458bd58b1 (PR-565) > 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/565/head:refs/remotes/origin/PR-565 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0187e670effe769e378288907b00e0b458bd58b1 # 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 f8820f46cc4bf4e47a1527ab92c50dcdaa53b1b7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:16:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:16:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:16:27 ========================================================= 20:16:27 EdgeX Global Pipelines Version Info 20:16:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git checkout -f 0187e670effe769e378288907b00e0b458bd58b1 # timeout=10 20:16:28 ------------------- 20:16:28 stable info: 20:16:28 ------------------- 20:16:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:16:28 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 20:16:28 Message: update stable to v1.0.249 20:16:29 ------------------- 20:16:29 experimental info: 20:16:29 ------------------- 20:16:29 Commited By: **** collab-it+edgex@linuxfoundation.org 20:16:29 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 20:16:29 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:16:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 20:16:29 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 20:16:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:16:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:16:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:16:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:16:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:16:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:16:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:16:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:16:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:16:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 20:16:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:16:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:16:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:16:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:16:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:16:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:16:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:16:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:16:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:16:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:16:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:16:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:16:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:16:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:16:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:16:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-565 [Pipeline] echo 20:16:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-565 [Pipeline] echo 20:16:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-565 [Pipeline] echo 20:16:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0187e670effe769e378288907b00e0b458bd58b1 [Pipeline] echo 20:16:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0187e67 [Pipeline] echo 20:16:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:16:31 provisioning config files... 20:16:31 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-565@tmp/config4356348108551954514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:16:31 ---> docker-login.sh 20:16:31 nexus3.edgexfoundry.org:10001 20:16:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:31 Configure a credential helper to remove this warning. See 20:16:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:31 20:16:31 Login Succeeded 20:16:31 nexus3.edgexfoundry.org:10002 20:16:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:31 Configure a credential helper to remove this warning. See 20:16:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:31 20:16:31 Login Succeeded 20:16:31 nexus3.edgexfoundry.org:10003 20:16:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:31 Configure a credential helper to remove this warning. See 20:16:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:31 20:16:31 Login Succeeded 20:16:31 nexus3.edgexfoundry.org:10004 20:16:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:31 Configure a credential helper to remove this warning. See 20:16:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:31 20:16:31 Login Succeeded 20:16:32 docker.io 20:16:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:32 Configure a credential helper to remove this warning. See 20:16:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:32 20:16:32 Login Succeeded 20:16:32 ---> docker-login.sh ends [Pipeline] } 20:16:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:16:33 + git rev-list -1 --merges 0187e670effe769e378288907b00e0b458bd58b1~1..0187e670effe769e378288907b00e0b458bd58b1 [Pipeline] echo 20:16:33 -----------> git rev-list -1 --merges 0187e670effe769e378288907b00e0b458bd58b1~1..0187e670effe769e378288907b00e0b458bd58b1 0187e670effe769e378288907b00e0b458bd58b1 [false] [Pipeline] sh 20:16:33 + git log --format=format:%s -1 0187e670effe769e378288907b00e0b458bd58b1 [Pipeline] echo 20:16:33 ========================================================= 20:16:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:16:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:16:34 + git log --format=format:%s -1 0187e670effe769e378288907b00e0b458bd58b1 [Pipeline] echo 20:16:34 [semverPrep] GIT_COMMIT: 0187e670effe769e378288907b00e0b458bd58b1, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 20:16:34 [semverPrep] This is not a build commit. [Pipeline] sh 20:16:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:16:34 + grep -v github /etc/ssh/ssh_known_hosts 20:16:34 + [ -e /tmp/ssh_known_hosts ] 20:16:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:16:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:16:34 + sudo tee -a /etc/ssh/ssh_known_hosts 20:16:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:16:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:16:35 20:16:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:16:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:16:35 0.1.4: Pulling from edgex-devops/py-git-semver 20:16:35 b85a868b505f: Pulling fs layer 20:16:35 e2be974225ed: Pulling fs layer 20:16:35 339a4e72a1f5: Pulling fs layer 20:16:35 988bab9f4d93: Pulling fs layer 20:16:35 1469e6f7b9e6: Pulling fs layer 20:16:35 eaf3925da568: Pulling fs layer 20:16:35 bab4dde63d76: Pulling fs layer 20:16:35 bde34c3a00c8: Pulling fs layer 20:16:35 b352a97aabf1: Pulling fs layer 20:16:35 4872d77fe225: Pulling fs layer 20:16:35 5851b861e8e6: Pulling fs layer 20:16:35 988bab9f4d93: Waiting 20:16:35 1469e6f7b9e6: Waiting 20:16:35 4872d77fe225: Waiting 20:16:35 bde34c3a00c8: Waiting 20:16:35 5851b861e8e6: Waiting 20:16:35 eaf3925da568: Waiting 20:16:35 b352a97aabf1: Waiting 20:16:35 bab4dde63d76: Waiting 20:16:35 e2be974225ed: Verifying Checksum 20:16:35 e2be974225ed: Download complete 20:16:35 988bab9f4d93: Verifying Checksum 20:16:35 988bab9f4d93: Download complete 20:16:35 1469e6f7b9e6: Verifying Checksum 20:16:35 1469e6f7b9e6: Download complete 20:16:35 339a4e72a1f5: Verifying Checksum 20:16:35 339a4e72a1f5: Download complete 20:16:35 bde34c3a00c8: Verifying Checksum 20:16:35 bde34c3a00c8: Download complete 20:16:35 b352a97aabf1: Download complete 20:16:35 4872d77fe225: Verifying Checksum 20:16:35 4872d77fe225: Download complete 20:16:35 5851b861e8e6: Download complete 20:16:35 b85a868b505f: Verifying Checksum 20:16:35 b85a868b505f: Download complete 20:16:35 bab4dde63d76: Verifying Checksum 20:16:35 bab4dde63d76: Download complete 20:16:36 b85a868b505f: Pull complete 20:16:37 e2be974225ed: Pull complete 20:16:37 339a4e72a1f5: Pull complete 20:16:37 988bab9f4d93: Pull complete 20:16:37 1469e6f7b9e6: Pull complete 20:16:37 eaf3925da568: Pull complete 20:16:39 bab4dde63d76: Pull complete 20:16:39 bde34c3a00c8: Pull complete 20:16:39 b352a97aabf1: Pull complete 20:16:39 4872d77fe225: Pull complete 20:16:39 5851b861e8e6: Pull complete 20:16:39 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:16:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:16:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:16:40 prd-ubuntu20.04-docker-8c-8g-15930 does not seem to be running inside a container 20:16:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-565 -v /w/workspace/_app-service-configurable_PR-565:/w/workspace/_app-service-configurable_PR-565:rw,z -v /w/workspace/_app-service-configurable_PR-565@tmp:/w/workspace/_app-service-configurable_PR-565@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:16:42 $ docker top d5e3414d54f309e68b8b9b91722cafddcba1046565e9c1ec9cdfa5eb8ea706b4 -eo pid,comm 20:16:42 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:16:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:16:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:16:42 [ssh-agent] Looking for ssh-agent implementation... 20:16:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:16:42 $ docker exec d5e3414d54f309e68b8b9b91722cafddcba1046565e9c1ec9cdfa5eb8ea706b4 ssh-agent 20:16:42 SSH_AUTH_SOCK=/tmp/ssh-Lk2YWuJJovEs/agent.32 20:16:42 SSH_AGENT_PID=38 20:16:42 Running ssh-add (command line suppressed) 20:16:42 Identity added: /w/workspace/_app-service-configurable_PR-565@tmp/private_key_18578353404558923.key (/w/workspace/_app-service-configurable_PR-565@tmp/private_key_18578353404558923.key) 20:16:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:16:43 + git tag --points-at HEAD [Pipeline] } 20:16:43 $ docker exec --env ******** --env ******** d5e3414d54f309e68b8b9b91722cafddcba1046565e9c1ec9cdfa5eb8ea706b4 ssh-agent -k 20:16:43 unset SSH_AUTH_SOCK; 20:16:43 unset SSH_AGENT_PID; 20:16:43 echo Agent pid 38 killed; 20:16:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:16:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:16:43 [ssh-agent] Looking for ssh-agent implementation... 20:16:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:16:43 $ docker exec d5e3414d54f309e68b8b9b91722cafddcba1046565e9c1ec9cdfa5eb8ea706b4 ssh-agent 20:16:43 SSH_AUTH_SOCK=/tmp/ssh-FgVKkZG8YXYp/agent.70 20:16:43 SSH_AGENT_PID=76 20:16:43 Running ssh-add (command line suppressed) 20:16:43 Identity added: /w/workspace/_app-service-configurable_PR-565@tmp/private_key_11346422050494247417.key (/w/workspace/_app-service-configurable_PR-565@tmp/private_key_11346422050494247417.key) 20:16:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:16:43 + git semver init 20:16:44 2023-05-17 20:16:44,161 [run_init] DEBUG init version:0.0.0 force:False 20:16:44 2023-05-17 20:16:44,162 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-565/.semver 20:16:44 2023-05-17 20:16:44,163 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-565/.semver 20:16:44 2023-05-17 20:16:44,163 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-565/.semver'], cwd=/w/workspace/_app-service-configurable_PR-565, universal_newlines=False, shell=None, istream=None) 20:16:45 2023-05-17 20:16:45,058 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-565/.git/info/exclude 20:16:45 2023-05-17 20:16:45,058 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-565/.semver/PR-565 with force:False 20:16:45 2023-05-17 20:16:45,058 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-565/.semver/PR-565 20:16:45 2023-05-17 20:16:45,061 [execute] INFO git cat-file --batch-check 20:16:45 2023-05-17 20:16:45,061 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-565/.semver, universal_newlines=False, shell=None, istream=) 20:16:45 2023-05-17 20:16:45,067 [execute] INFO git cat-file --batch 20:16:45 2023-05-17 20:16:45,068 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-565/.semver, universal_newlines=False, shell=None, istream=) 20:16:45 2023-05-17 20:16:45,073 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-565/.semver/PR-565 20:16:45 0.0.0 [Pipeline] } 20:16:45 $ docker exec --env ******** --env ******** d5e3414d54f309e68b8b9b91722cafddcba1046565e9c1ec9cdfa5eb8ea706b4 ssh-agent -k 20:16:45 unset SSH_AUTH_SOCK; 20:16:45 unset SSH_AGENT_PID; 20:16:45 echo Agent pid 76 killed; 20:16:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:16:45 + git semver [Pipeline] } 20:16:46 $ docker stop --time=1 d5e3414d54f309e68b8b9b91722cafddcba1046565e9c1ec9cdfa5eb8ea706b4 20:16:47 $ docker rm -f --volumes d5e3414d54f309e68b8b9b91722cafddcba1046565e9c1ec9cdfa5eb8ea706b4 [Pipeline] // withDockerContainer [Pipeline] sh 20:16:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:16:48 Stashed 1 file(s) [Pipeline] echo 20:16:48 [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 20:16:48 provisioning config files... 20:16:48 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-565@tmp/config1036511956750331193tmp 20:16:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15937 in /w/workspace/_app-service-configurable_PR-565 [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 20:16:48 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 20:16:48 Selected Git installation does not exist. Using Default 20:16:48 The recommended git tool is: NONE 20:16:49 ---> docker-login.sh 20:16:49 nexus3.edgexfoundry.org:10001 20:16:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:49 Configure a credential helper to remove this warning. See 20:16:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:49 20:16:49 Login Succeeded 20:16:49 nexus3.edgexfoundry.org:10002 20:16:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:49 Configure a credential helper to remove this warning. See 20:16:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:49 20:16:49 Login Succeeded 20:16:49 nexus3.edgexfoundry.org:10003 20:16:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:49 Configure a credential helper to remove this warning. See 20:16:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:49 20:16:49 Login Succeeded 20:16:49 nexus3.edgexfoundry.org:10004 20:16:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:49 Configure a credential helper to remove this warning. See 20:16:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:49 20:16:49 Login Succeeded 20:16:49 docker.io 20:16:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:49 Configure a credential helper to remove this warning. See 20:16:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:49 20:16:49 Login Succeeded 20:16:49 ---> docker-login.sh ends [Pipeline] } 20:16:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:16:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:16:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:16:49 ========================================================= 20:16:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:16:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:16:50 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:16:50 Sending build context to Docker daemon 3.351MB 20:16:50 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:16:50 Step 2/12 : FROM ${BASE} AS builder 20:16:50 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:16:50 f56be85fc22e: Pulling fs layer 20:16:50 85791d961cd3: Pulling fs layer 20:16:50 d694b5ae8c79: Pulling fs layer 20:16:50 9f32a84ed3da: Pulling fs layer 20:16:50 4d19c01a9841: Pulling fs layer 20:16:50 9325e15d5711: Pulling fs layer 20:16:50 556b6ee489ea: Pulling fs layer 20:16:50 c5a4b2cf53e6: Pulling fs layer 20:16:50 9325e15d5711: Waiting 20:16:50 9f32a84ed3da: Waiting 20:16:50 4d19c01a9841: Waiting 20:16:50 556b6ee489ea: Waiting 20:16:50 c5a4b2cf53e6: Waiting 20:16:50 85791d961cd3: Verifying Checksum 20:16:50 85791d961cd3: Download complete 20:16:50 9f32a84ed3da: Verifying Checksum 20:16:50 9f32a84ed3da: Download complete 20:16:50 4d19c01a9841: Download complete 20:16:50 f56be85fc22e: Verifying Checksum 20:16:50 f56be85fc22e: Download complete 20:16:50 9325e15d5711: Verifying Checksum 20:16:50 9325e15d5711: Download complete 20:16:50 f56be85fc22e: Pull complete 20:16:50 85791d961cd3: Pull complete 20:16:51 c5a4b2cf53e6: Verifying Checksum 20:16:51 c5a4b2cf53e6: Download complete 20:16:51 d694b5ae8c79: Verifying Checksum 20:16:51 d694b5ae8c79: Download complete 20:16:51 556b6ee489ea: Verifying Checksum 20:16:51 556b6ee489ea: Download complete 20:16:53 using credential edgex-jenkins-ssh 20:16:53 Cloning the remote Git repository 20:16:53 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 20:16:54 d694b5ae8c79: Pull complete 20:16:54 9f32a84ed3da: Pull complete 20:16:54 4d19c01a9841: Pull complete 20:16:54 9325e15d5711: Pull complete 20:16:53 > git init /w/workspace/app-service-configurable/1 # timeout=10 20:16:54 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 20:16:54 > git --version # timeout=10 20:16:54 > git --version # 'git version 2.25.1' 20:16:54 using GIT_SSH to set credentials SSH Credentials for GitHub 20:16:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:16:55 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 20:16:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:16:57 Merging remotes/origin/main commit f8820f46cc4bf4e47a1527ab92c50dcdaa53b1b7 into PR head commit 0187e670effe769e378288907b00e0b458bd58b1 20:16:57 556b6ee489ea: Pull complete 20:16:57 Merge succeeded, producing 0187e670effe769e378288907b00e0b458bd58b1 20:16:57 Checking out Revision 0187e670effe769e378288907b00e0b458bd58b1 (PR-565) 20:16:57 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 20:16:56 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 20:16:56 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 20:16:56 using GIT_SSH to set credentials SSH Credentials for GitHub 20:16:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/565/head:refs/remotes/origin/PR-565 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:16:56 > git config core.sparsecheckout # timeout=10 20:16:57 > git checkout -f 0187e670effe769e378288907b00e0b458bd58b1 # timeout=10 20:16:57 > git remote # timeout=10 20:16:57 > git config --get remote.origin.url # timeout=10 20:16:57 using GIT_SSH to set credentials SSH Credentials for GitHub 20:16:57 > git merge f8820f46cc4bf4e47a1527ab92c50dcdaa53b1b7 # timeout=10 20:16:57 > git rev-parse HEAD^{commit} # timeout=10 20:16:57 > git config core.sparsecheckout # timeout=10 20:16:57 > git checkout -f 0187e670effe769e378288907b00e0b458bd58b1 # timeout=10 20:16:57 > git --version # timeout=10 20:16:57 > git --version # 'git version 2.25.1' 20:16:57 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 20:16:58 c5a4b2cf53e6: Pull complete 20:16:58 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 20:16:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:16:58 ---> c4be618373d6 20:16:58 Step 3/12 : ARG ALPINE_PKG_BASE="make git" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:16:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:16:58 % Total % Received % Xferd Average Speed Time Time Time Current 20:16:58 Dload Upload Total Spent Left Speed 20:16:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93757 [Pipeline] sh 20:16:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:16:59 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 20:16:59 /etc/docker/daemon.json 20:16:59 { 20:16:59 "registry-mirrors": [ 20:16:59 "https://nexus3.edgexfoundry.org:10001" 20:16:59 ], 20:16:59 "bip": "10.250.0.254/24", 20:16:59 "hosts": [ 20:16:59 "tcp://0.0.0.0:5555", 20:16:59 "unix:///var/run/docker.sock" 20:16:59 ], 20:16:59 "mtu": 1458, 20:16:59 "selinux-enabled": true, 20:16:59 "seccomp-profile": "/etc/docker/seccomp.json" 20:16:59 } [Pipeline] sh 20:17:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:17:00 + sudo service docker restart 20:17:01 ---> Running in 41faf70cc311 20:17:01 Removing intermediate container 41faf70cc311 20:17:01 ---> f7711823abdb 20:17:01 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:17:01 ---> Running in aa0deefb3626 20:17:01 Removing intermediate container aa0deefb3626 20:17:01 ---> 35e63d94a8d1 20:17:01 Step 5/12 : ARG ADD_BUILD_TAGS="" 20:17:01 ---> Running in d2206a83c4b1 20:17:01 Removing intermediate container d2206a83c4b1 20:17:01 ---> 55cfed624cea 20:17:01 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:17:01 ---> Running in f807137b6f2d 20:17:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:17:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:17:02 OK: 265 MiB in 53 packages 20:17:02 Removing intermediate container f807137b6f2d 20:17:02 ---> 10a5b2dc338e 20:17:02 Step 7/12 : WORKDIR /app 20:17:02 ---> Running in e23d819aa4bc 20:17:02 Removing intermediate container e23d819aa4bc 20:17:02 ---> 1f789ababeb5 20:17:02 Step 8/12 : COPY go.mod vendor* ./ 20:17:03 ---> eda5e6fe2f59 20:17:03 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:17:03 ---> Running in 438c97e592c6 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:17:18 provisioning config files... 20:17:18 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config7108119393788295643tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:17:19 ---> docker-login.sh 20:17:19 nexus3.edgexfoundry.org:10001 20:17:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:19 Configure a credential helper to remove this warning. See 20:17:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:19 20:17:19 Login Succeeded 20:17:19 nexus3.edgexfoundry.org:10002 20:17:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:20 Configure a credential helper to remove this warning. See 20:17:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:20 20:17:20 Login Succeeded 20:17:20 nexus3.edgexfoundry.org:10003 20:17:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:20 Configure a credential helper to remove this warning. See 20:17:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:20 20:17:20 Login Succeeded 20:17:20 nexus3.edgexfoundry.org:10004 20:17:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:21 Configure a credential helper to remove this warning. See 20:17:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:21 20:17:21 Login Succeeded 20:17:21 docker.io 20:17:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:21 Configure a credential helper to remove this warning. See 20:17:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:21 20:17:21 Login Succeeded 20:17:21 ---> docker-login.sh ends [Pipeline] } 20:17:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:17:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:17:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:17:22 ========================================================= 20:17:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:17:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:22 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:17:22 Sending build context to Docker daemon 168.4kB 20:17:22 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:17:22 Step 2/12 : FROM ${BASE} AS builder 20:17:22 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:17:22 c41833b44d91: Pulling fs layer 20:17:22 ed15518f5707: Pulling fs layer 20:17:22 feae8fd75edb: Pulling fs layer 20:17:22 242c74f7c9fa: Pulling fs layer 20:17:22 3cdef696dda3: Pulling fs layer 20:17:22 2ced38df9373: Pulling fs layer 20:17:22 58f1dce35555: Pulling fs layer 20:17:22 3cdef696dda3: Waiting 20:17:22 242c74f7c9fa: Waiting 20:17:22 2ced38df9373: Waiting 20:17:22 58f1dce35555: Waiting 20:17:23 ed15518f5707: Verifying Checksum 20:17:23 ed15518f5707: Download complete 20:17:23 242c74f7c9fa: Verifying Checksum 20:17:23 242c74f7c9fa: Download complete 20:17:23 3cdef696dda3: Verifying Checksum 20:17:23 3cdef696dda3: Download complete 20:17:23 c41833b44d91: Verifying Checksum 20:17:23 c41833b44d91: Download complete 20:17:24 c41833b44d91: Pull complete 20:17:24 58f1dce35555: Verifying Checksum 20:17:24 58f1dce35555: Download complete 20:17:24 ed15518f5707: Pull complete 20:17:25 feae8fd75edb: Verifying Checksum 20:17:25 feae8fd75edb: Download complete 20:17:25 2ced38df9373: Verifying Checksum 20:17:25 2ced38df9373: Download complete 20:17:29 Removing intermediate container 438c97e592c6 20:17:29 ---> 51fff6691408 20:17:29 Step 10/12 : COPY . . 20:17:29 ---> 5d5fffb8ccbb 20:17:29 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:17:29 ---> Running in d95abb2f340e 20:17:29 Removing intermediate container d95abb2f340e 20:17:29 ---> 8ea87a38516c 20:17:29 Step 12/12 : RUN $MAKE 20:17:29 ---> Running in a23efed66692 20:17:29 noop 20:17:29 Removing intermediate container a23efed66692 20:17:29 ---> 6c89685e48f4 20:17:29 Successfully built 6c89685e48f4 20:17:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:30 + docker inspect -f . ci-base-image-x86_64 20:17:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:17:30 prd-ubuntu20.04-docker-8c-8g-15930 does not seem to be running inside a container 20:17:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-565 -v /w/workspace/_app-service-configurable_PR-565:/w/workspace/_app-service-configurable_PR-565:rw,z -v /w/workspace/_app-service-configurable_PR-565@tmp:/w/workspace/_app-service-configurable_PR-565@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-x86_64 cat 20:17:30 $ docker top 01e8807f36ad3de669cb7cd6c5da529ab2ae55b5bc863af21bf71bfb9e8b1b53 -eo pid,comm [Pipeline] { [Pipeline] sh 20:17:31 + go version 20:17:31 go version go1.20.2 linux/amd64 [Pipeline] } 20:17:31 $ docker stop --time=1 01e8807f36ad3de669cb7cd6c5da529ab2ae55b5bc863af21bf71bfb9e8b1b53 20:17:32 $ docker rm -f --volumes 01e8807f36ad3de669cb7cd6c5da529ab2ae55b5bc863af21bf71bfb9e8b1b53 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:33 + docker inspect -f . ci-base-image-x86_64 20:17:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:17:33 prd-ubuntu20.04-docker-8c-8g-15930 does not seem to be running inside a container 20:17:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/_app-service-configurable_PR-565 -v /w/workspace/_app-service-configurable_PR-565:/w/workspace/_app-service-configurable_PR-565:rw,z -v /w/workspace/_app-service-configurable_PR-565@tmp:/w/workspace/_app-service-configurable_PR-565@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-x86_64 cat 20:17:33 $ docker top 4aed1c9c3f9fe3eeaba0f57caf15dd3c12ef1be3106ccdd46d3baa95e3ae75f5 -eo pid,comm [Pipeline] { [Pipeline] sh 20:17:34 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-565 [Pipeline] fileExists [Pipeline] sh 20:17:34 + make test 20:17:34 go test -race -coverprofile=coverage.out ./... 20:17:38 feae8fd75edb: Pull complete 20:17:38 242c74f7c9fa: Pull complete 20:17:38 3cdef696dda3: Pull complete 20:17:44 2ced38df9373: Pull complete 20:17:46 58f1dce35555: Pull complete 20:17:46 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 20:17:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:17:46 ---> fadd8f120f05 20:17:46 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 20:17:48 ---> Running in e345f4352254 20:17:48 Removing intermediate container e345f4352254 20:17:48 ---> 06447b9dd87d 20:17:48 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:17:48 ---> Running in 436011e064b0 20:17:48 Removing intermediate container 436011e064b0 20:17:48 ---> ead6d75a0036 20:17:48 Step 5/12 : ARG ADD_BUILD_TAGS="" 20:17:48 ---> Running in b9ea52d560b5 20:17:49 Removing intermediate container b9ea52d560b5 20:17:49 ---> 16aa977f644d 20:17:49 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:17:49 ---> Running in 57db75797066 20:17:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:17:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:17:52 OK: 263 MiB in 53 packages 20:17:52 Removing intermediate container 57db75797066 20:17:52 ---> 2fa193c33e41 20:17:52 Step 7/12 : WORKDIR /app 20:17:53 ---> Running in da70176ec5f0 20:17:53 Removing intermediate container da70176ec5f0 20:17:53 ---> 512bc9156045 20:17:53 Step 8/12 : COPY go.mod vendor* ./ 20:17:54 ---> b1d31e987ca3 20:17:54 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:17:54 ---> Running in 105dbacd643d 20:17:56 ? github.com/edgexfoundry/app-service-configurable [no test files] 20:18:14 go vet ./... 20:18:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:18:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:18:18 ./bin/test-attribution-txt.sh 20:18:18 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 20:18:18 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 20:18:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:18:18 $ docker stop --time=1 4aed1c9c3f9fe3eeaba0f57caf15dd3c12ef1be3106ccdd46d3baa95e3ae75f5 20:18:22 $ docker rm -f --volumes 4aed1c9c3f9fe3eeaba0f57caf15dd3c12ef1be3106ccdd46d3baa95e3ae75f5 [Pipeline] // withDockerContainer [Pipeline] sh 20:18:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:18:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:18:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:18:24 + ls -al . 20:18:24 total 176 20:18:24 drwxrwxr-x 8 jenkins jenkins 4096 May 17 20:17 . 20:18:24 drwxrwxr-x 4 jenkins jenkins 4096 May 17 20:16 .. 20:18:24 -rw-rw-r-- 1 jenkins jenkins 119 May 17 20:16 .dockerignore 20:18:24 drwxrwxr-x 8 jenkins jenkins 4096 May 17 20:16 .git 20:18:24 drwxrwxr-x 3 jenkins jenkins 4096 May 17 20:16 .github 20:18:24 -rw-rw-r-- 1 jenkins jenkins 171 May 17 20:16 .gitignore 20:18:24 -rw-rw-r-- 1 jenkins jenkins 41 May 17 20:16 .golangci.yml 20:18:24 drwxr-xr-x 3 jenkins jenkins 4096 May 17 20:16 .semver 20:18:24 -rw-rw-r-- 1 jenkins jenkins 9088 May 17 20:16 Attribution.txt 20:18:24 -rw-rw-r-- 1 jenkins jenkins 29118 May 17 20:16 CHANGELOG.md 20:18:24 -rw-rw-r-- 1 jenkins jenkins 1898 May 17 20:16 Dockerfile 20:18:24 -rw-rw-r-- 1 jenkins jenkins 677 May 17 20:16 GOVERNANCE.md 20:18:24 -rw-rw-r-- 1 jenkins jenkins 688 May 17 20:16 Jenkinsfile 20:18:24 -rw-rw-r-- 1 jenkins jenkins 10174 May 17 20:16 LICENSE 20:18:24 -rw-rw-r-- 1 jenkins jenkins 618 May 17 20:16 OWNERS.md 20:18:24 -rw-rw-r-- 1 jenkins jenkins 4885 May 17 20:16 README.md 20:18:24 -rw-rw-r-- 1 jenkins jenkins 5 May 17 20:16 VERSION 20:18:24 drwxrwxr-x 2 jenkins jenkins 4096 May 17 20:16 bin 20:18:24 -rw-r--r-- 1 jenkins jenkins 13 May 17 20:17 coverage.out 20:18:24 -rw-rw-r-- 1 jenkins jenkins 3302 May 17 20:16 go.mod 20:18:24 -rw-rw-r-- 1 jenkins jenkins 31421 May 17 20:16 go.sum 20:18:24 -rw-rw-r-- 1 jenkins jenkins 1937 May 17 20:16 main.go 20:18:24 -rw-rw-r-- 1 jenkins jenkins 2569 May 17 20:16 makefile 20:18:24 drwxrwxr-x 9 jenkins jenkins 4096 May 17 20:16 res 20:18:24 drwxrwxr-x 4 jenkins jenkins 4096 May 17 20:16 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:24 + docker build -t app-service-configurable -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=0187e670effe769e378288907b00e0b458bd58b1 --label arch=amd64 --label version=0.0.0 . 20:18:24 Sending build context to Docker daemon 3.352MB 20:18:24 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 20:18:24 Step 2/26 : FROM ${BASE} AS builder 20:18:24 ---> 6c89685e48f4 20:18:24 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 20:18:24 ---> Running in e61d8a30ae72 20:18:25 Removing intermediate container e61d8a30ae72 20:18:25 ---> 24f31255de0d 20:18:25 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 20:18:25 ---> Running in eca06238e5e7 20:18:25 Removing intermediate container eca06238e5e7 20:18:25 ---> 88c9d030b452 20:18:25 Step 5/26 : ARG ADD_BUILD_TAGS="" 20:18:25 ---> Running in 5717741857ee 20:18:25 Removing intermediate container 5717741857ee 20:18:25 ---> 8e8cd4e4e23f 20:18:25 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:18:25 ---> Running in 115cafb68ede 20:18:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:18:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:18:25 OK: 265 MiB in 53 packages 20:18:26 Removing intermediate container 115cafb68ede 20:18:26 ---> 2375ae667499 20:18:26 Step 7/26 : WORKDIR /app 20:18:26 ---> Running in 3a3caa09faf9 20:18:26 Removing intermediate container 3a3caa09faf9 20:18:26 ---> 3d9cd8fa19fc 20:18:26 Step 8/26 : COPY go.mod vendor* ./ 20:18:26 ---> 42f1cc352f88 20:18:26 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:18:26 ---> Running in 8400ac8851a0 20:18:26 Removing intermediate container 8400ac8851a0 20:18:26 ---> 12b46a994b97 20:18:26 Step 10/26 : COPY . . 20:18:27 ---> 8f2aed6cb0d5 20:18:27 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:18:27 ---> Running in f0a69e774a53 20:18:27 Removing intermediate container f0a69e774a53 20:18:27 ---> 3f3c7cde6b43 20:18:27 Step 12/26 : RUN $MAKE 20:18:27 ---> Running in 074d4d5d9e06 20:18:27 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.66 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 20:18:49 Removing intermediate container 074d4d5d9e06 20:18:49 ---> 9113ee97744a 20:18:49 Step 13/26 : FROM alpine:3.17 20:18:49 3.17: Pulling from library/alpine 20:18:49 f56be85fc22e: Already exists 20:18:49 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 20:18:49 Status: Downloaded newer image for alpine:3.17 20:18:49 ---> 9ed4aefc74f6 20:18:49 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:18:49 ---> Running in 3c74557eb2ce 20:18:49 Removing intermediate container 3c74557eb2ce 20:18:49 ---> 02b0e2ca5bc2 20:18:49 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 20:18:49 ---> Running in 61c637282907 20:18:49 Removing intermediate container 61c637282907 20:18:49 ---> 1117501be78c 20:18:49 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 20:18:49 ---> Running in 6f904f2fb727 20:18:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:18:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:18:49 (1/2) Installing ca-certificates (20230506-r0) 20:18:49 (2/2) Installing dumb-init (1.2.5-r2) 20:18:49 Executing busybox-1.35.0-r29.trigger 20:18:49 Executing ca-certificates-20230506-r0.trigger 20:18:49 OK: 8 MiB in 17 packages 20:18:49 Removing intermediate container 6f904f2fb727 20:18:49 ---> 9551ce54cbd8 20:18:49 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 20:18:49 ---> 68627dbd6dcf 20:18:49 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 20:18:49 ---> d874fdfb768c 20:18:49 Step 19/26 : COPY --from=builder /app/res/ /res/ 20:18:49 ---> 714692f17a46 20:18:49 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 20:18:50 ---> 80fb72a4a7f5 20:18:50 Step 21/26 : EXPOSE 48095 20:18:50 ---> Running in 0fa74000febe 20:18:50 Removing intermediate container 0fa74000febe 20:18:50 ---> f95dabc59b78 20:18:50 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 20:18:50 ---> Running in d2ab4398b87c 20:18:50 Removing intermediate container d2ab4398b87c 20:18:50 ---> 08b8a17aa37b 20:18:50 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 20:18:50 ---> Running in ed4438dba189 20:18:50 Removing intermediate container ed4438dba189 20:18:50 ---> 29b34cd4aad4 20:18:50 Step 24/26 : LABEL arch=amd64 20:18:50 ---> Running in e58d688467b1 20:18:50 Removing intermediate container e58d688467b1 20:18:50 ---> a32b37329ee3 20:18:50 Step 25/26 : LABEL git_sha=0187e670effe769e378288907b00e0b458bd58b1 20:18:50 ---> Running in 78d11c3823ff 20:18:50 Removing intermediate container 78d11c3823ff 20:18:50 ---> d60917c11777 20:18:50 Step 26/26 : LABEL version=0.0.0 20:18:50 ---> Running in 01acdaee3af1 20:18:50 Removing intermediate container 01acdaee3af1 20:18:50 ---> 514c88c25063 20:18:50 [Warning] One or more build-args [ARCH] were not consumed 20:18:50 Successfully built 514c88c25063 20:18:50 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:18:51 20:18:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:18:51 latest: Pulling from edgex-lftools-log-publisher 20:18:51 5eb5b503b376: Pulling fs layer 20:18:51 5c69ac0246d0: Pulling fs layer 20:18:51 ec43610c2a17: Pulling fs layer 20:18:51 3a2ae6a8a46f: Pulling fs layer 20:18:51 33b1e0a273af: Pulling fs layer 20:18:51 5d3b04190fa2: Pulling fs layer 20:18:51 2f39f015ded8: Pulling fs layer 20:18:51 33b1e0a273af: Waiting 20:18:51 5d3b04190fa2: Waiting 20:18:51 2f39f015ded8: Waiting 20:18:51 3a2ae6a8a46f: Waiting 20:18:51 5c69ac0246d0: Download complete 20:18:51 3a2ae6a8a46f: Verifying Checksum 20:18:51 3a2ae6a8a46f: Download complete 20:18:51 33b1e0a273af: Verifying Checksum 20:18:51 33b1e0a273af: Download complete 20:18:51 ec43610c2a17: Verifying Checksum 20:18:51 ec43610c2a17: Download complete 20:18:51 5d3b04190fa2: Download complete 20:18:52 5eb5b503b376: Verifying Checksum 20:18:52 5eb5b503b376: Download complete 20:18:52 2f39f015ded8: Download complete 20:18:53 5eb5b503b376: Pull complete 20:18:53 5c69ac0246d0: Pull complete 20:18:53 ec43610c2a17: Pull complete 20:18:53 3a2ae6a8a46f: Pull complete 20:18:54 33b1e0a273af: Pull complete 20:18:54 5d3b04190fa2: Pull complete 20:18:58 2f39f015ded8: Pull complete 20:18:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:18:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:18:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:18:58 prd-ubuntu20.04-docker-8c-8g-15930 does not seem to be running inside a container 20:18:58 $ 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-565 -v /w/workspace/_app-service-configurable_PR-565:/w/workspace/_app-service-configurable_PR-565:rw,z -v /w/workspace/_app-service-configurable_PR-565@tmp:/w/workspace/_app-service-configurable_PR-565@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 20:19:01 $ docker top d37b4d44cbfabd59e5245892a37b86ad5b4eda01f67ff9701f9735f1ef48b4e7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:19:01 ---> job-cost.sh 20:19:01 lf-activate-venv: SKIPPING 20:19:01 INFO: No Stack... 20:19:02 INFO: Retrieving Pricing Info for: v3-standard-8 20:19:02 INFO: Archiving Costs 20:19:02 Removing intermediate container 105dbacd643d 20:19:02 ---> 2c208300a413 20:19:02 Step 10/12 : COPY . . 20:19:02 ---> c41fe2687909 20:19:02 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:19:02 ---> Running in 13694b8f6222 20:19:02 Removing intermediate container 13694b8f6222 20:19:02 ---> 267bfd927ecc 20:19:02 Step 12/12 : RUN $MAKE 20:19:02 ---> Running in a1f2a9050190 20:19:02 noop 20:19:02 Removing intermediate container a1f2a9050190 20:19:02 ---> 5d3c7eaaa795 20:19:02 Successfully built 5d3c7eaaa795 20:19:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] sh [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:02 + cat /w/workspace/_app-service-configurable_PR-565/archives/cost.csv 20:19:02 + cut -d, -f6 [Pipeline] lock 20:19:02 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-565-1-stack-cost] 20:19:02 Resource [jenkins-edgexfoundry-app-service-configurable-PR-565-1-stack-cost] did not exist. Created. 20:19:02 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-565-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:19:03 + docker inspect -f . ci-base-image-arm64 20:19:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:19:03 + echo total: 0.4399999976158142 20:19:03 prd-ubuntu20.04-docker-arm64-4c-16g-15937 does not seem to be running inside a container 20:19:03 $ 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 20:19:04 $ docker top a9b10bf48b43875225ca3653d9a0c36b71cb6bc48b00a0f186a6697007c80c24 -eo pid,comm [Pipeline] { [Pipeline] stash 20:19:04 Stashed 1 file(s) [Pipeline] sh [Pipeline] } 20:19:05 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-565-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:19:05 $ docker stop --time=1 d37b4d44cbfabd59e5245892a37b86ad5b4eda01f67ff9701f9735f1ef48b4e7 20:19:05 + go version 20:19:05 go version go1.20.2 linux/arm64 20:19:06 $ docker rm -f --volumes d37b4d44cbfabd59e5245892a37b86ad5b4eda01f67ff9701f9735f1ef48b4e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 20:19:06 $ docker stop --time=1 a9b10bf48b43875225ca3653d9a0c36b71cb6bc48b00a0f186a6697007c80c24 20:19:08 $ docker rm -f --volumes a9b10bf48b43875225ca3653d9a0c36b71cb6bc48b00a0f186a6697007c80c24 [Pipeline] // script [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:09 + docker inspect -f . ci-base-image-arm64 20:19:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:19:09 prd-ubuntu20.04-docker-arm64-4c-16g-15937 does not seem to be running inside a container 20:19:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 20:19:10 $ docker top 6ebf6074124c8e096f6a04f95b702fd43e0738c07a77e63e9e0fc78c287795ea -eo pid,comm [Pipeline] { [Pipeline] sh 20:19:10 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 20:19:12 + make test 20:19:12 go test -race -coverprofile=coverage.out ./... 20:21:33 ? github.com/edgexfoundry/app-service-configurable [no test files] 20:21:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:21:33 go vet ./... 20:23:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:23:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:23:55 ./bin/test-attribution-txt.sh 20:23:55 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 20:23:55 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 20:23:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:23:55 $ docker stop --time=1 6ebf6074124c8e096f6a04f95b702fd43e0738c07a77e63e9e0fc78c287795ea 20:23:57 $ docker rm -f --volumes 6ebf6074124c8e096f6a04f95b702fd43e0738c07a77e63e9e0fc78c287795ea [Pipeline] // withDockerContainer [Pipeline] sh 20:23:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:23:59 Warning: overwriting stash ‘coverage-report’ 20:23:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:24:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:24:00 + ls -al . 20:24:00 total 172 20:24:00 drwxrwxr-x 7 jenkins jenkins 4096 May 17 20:19 . 20:24:00 drwxrwxr-x 4 jenkins jenkins 4096 May 17 20:16 .. 20:24:00 -rw-rw-r-- 1 jenkins jenkins 119 May 17 20:16 .dockerignore 20:24:00 drwxrwxr-x 8 jenkins jenkins 4096 May 17 20:16 .git 20:24:00 drwxrwxr-x 3 jenkins jenkins 4096 May 17 20:16 .github 20:24:00 -rw-rw-r-- 1 jenkins jenkins 171 May 17 20:16 .gitignore 20:24:00 -rw-rw-r-- 1 jenkins jenkins 41 May 17 20:16 .golangci.yml 20:24:00 -rw-rw-r-- 1 jenkins jenkins 9088 May 17 20:16 Attribution.txt 20:24:00 -rw-rw-r-- 1 jenkins jenkins 29118 May 17 20:16 CHANGELOG.md 20:24:00 -rw-rw-r-- 1 jenkins jenkins 1898 May 17 20:16 Dockerfile 20:24:00 -rw-rw-r-- 1 jenkins jenkins 677 May 17 20:16 GOVERNANCE.md 20:24:00 -rw-rw-r-- 1 jenkins jenkins 688 May 17 20:16 Jenkinsfile 20:24:00 -rw-rw-r-- 1 jenkins jenkins 10174 May 17 20:16 LICENSE 20:24:00 -rw-rw-r-- 1 jenkins jenkins 618 May 17 20:16 OWNERS.md 20:24:00 -rw-rw-r-- 1 jenkins jenkins 4885 May 17 20:16 README.md 20:24:00 -rw-rw-r-- 1 jenkins jenkins 5 May 17 20:16 VERSION 20:24:00 drwxrwxr-x 2 jenkins jenkins 4096 May 17 20:16 bin 20:24:00 -rw-r--r-- 1 jenkins jenkins 13 May 17 20:19 coverage.out 20:24:00 -rw-rw-r-- 1 jenkins jenkins 3302 May 17 20:16 go.mod 20:24:00 -rw-rw-r-- 1 jenkins jenkins 31421 May 17 20:16 go.sum 20:24:00 -rw-rw-r-- 1 jenkins jenkins 1937 May 17 20:16 main.go 20:24:00 -rw-rw-r-- 1 jenkins jenkins 2569 May 17 20:16 makefile 20:24:00 drwxrwxr-x 9 jenkins jenkins 4096 May 17 20:16 res 20:24:00 drwxrwxr-x 4 jenkins jenkins 4096 May 17 20:16 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:24:00 + docker build -t app-service-configurable-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=0187e670effe769e378288907b00e0b458bd58b1 --label arch=arm64 --label version=0.0.0 . 20:24:00 Sending build context to Docker daemon 169.5kB 20:24:01 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 20:24:01 Step 2/26 : FROM ${BASE} AS builder 20:24:01 ---> 5d3c7eaaa795 20:24:01 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 20:24:01 ---> Running in f1f6f9a2c81e 20:24:01 Removing intermediate container f1f6f9a2c81e 20:24:01 ---> 11e082bcb027 20:24:01 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 20:24:01 ---> Running in 1bdd1c700ca0 20:24:01 Removing intermediate container 1bdd1c700ca0 20:24:01 ---> c2c63f81faca 20:24:01 Step 5/26 : ARG ADD_BUILD_TAGS="" 20:24:01 ---> Running in 5a6cbd21c793 20:24:02 Removing intermediate container 5a6cbd21c793 20:24:02 ---> f68532e3c67e 20:24:02 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:24:02 ---> Running in 05a8a6033e7d 20:24:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:24:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:24:05 OK: 263 MiB in 53 packages 20:24:05 Removing intermediate container 05a8a6033e7d 20:24:05 ---> f160dbe417dc 20:24:05 Step 7/26 : WORKDIR /app 20:24:05 ---> Running in 143a22c88e0e 20:24:06 Removing intermediate container 143a22c88e0e 20:24:06 ---> e15cf4b7e967 20:24:06 Step 8/26 : COPY go.mod vendor* ./ 20:24:06 ---> 71dee9d87035 20:24:06 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:24:06 ---> Running in b97a14624eb3 20:24:09 Removing intermediate container b97a14624eb3 20:24:09 ---> b6ad1fc22d4b 20:24:09 Step 10/26 : COPY . . 20:24:10 ---> 7f57083f4194 20:24:10 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:24:10 ---> Running in b18cff5b4ea5 20:24:10 Removing intermediate container b18cff5b4ea5 20:24:10 ---> f35192dd371a 20:24:10 Step 12/26 : RUN $MAKE 20:24:10 ---> Running in 18b6bb4c6a1e 20:24:11 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.66 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 20:26:33 Removing intermediate container 18b6bb4c6a1e 20:26:33 ---> 8599b8fcb844 20:26:33 Step 13/26 : FROM alpine:3.17 20:26:33 3.17: Pulling from library/alpine 20:26:33 c41833b44d91: Already exists 20:26:33 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 20:26:33 Status: Downloaded newer image for alpine:3.17 20:26:33 ---> 51e60588ff2c 20:26:33 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:26:33 ---> Running in bcde7ec3f702 20:26:33 Removing intermediate container bcde7ec3f702 20:26:33 ---> b839ed9e7c7b 20:26:33 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 20:26:33 ---> Running in b93d2de20a28 20:26:33 Removing intermediate container b93d2de20a28 20:26:33 ---> 9fe3d4c79104 20:26:33 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 20:26:33 ---> Running in 2e41ba7f2a7b 20:26:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:26:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:26:33 (1/2) Installing ca-certificates (20230506-r0) 20:26:33 (2/2) Installing dumb-init (1.2.5-r2) 20:26:33 Executing busybox-1.35.0-r29.trigger 20:26:33 Executing ca-certificates-20230506-r0.trigger 20:26:33 OK: 8 MiB in 17 packages 20:26:33 Removing intermediate container 2e41ba7f2a7b 20:26:33 ---> 335d6db27c53 20:26:33 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 20:26:34 ---> f1e86c638634 20:26:34 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 20:26:34 ---> 91f97ede0796 20:26:34 Step 19/26 : COPY --from=builder /app/res/ /res/ 20:26:35 ---> 26cd03b98efb 20:26:35 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 20:26:36 ---> bb80ddfe7584 20:26:36 Step 21/26 : EXPOSE 48095 20:26:36 ---> Running in a52fdcaadc04 20:26:37 Removing intermediate container a52fdcaadc04 20:26:37 ---> c709eb26abe8 20:26:37 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 20:26:37 ---> Running in d5ce833ef001 20:26:37 Removing intermediate container d5ce833ef001 20:26:37 ---> 433bbd6d0857 20:26:37 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 20:26:37 ---> Running in beedaf2d7d36 20:26:37 Removing intermediate container beedaf2d7d36 20:26:37 ---> 4f66b0ab965d 20:26:37 Step 24/26 : LABEL arch=arm64 20:26:37 ---> Running in 32163c3d567c 20:26:38 Removing intermediate container 32163c3d567c 20:26:38 ---> bd49b902b3d2 20:26:38 Step 25/26 : LABEL git_sha=0187e670effe769e378288907b00e0b458bd58b1 20:26:38 ---> Running in 81d0ada00c93 20:26:38 Removing intermediate container 81d0ada00c93 20:26:38 ---> 437fde906a0b 20:26:38 Step 26/26 : LABEL version=0.0.0 20:26:38 ---> Running in d26837d86cbc 20:26:38 Removing intermediate container d26837d86cbc 20:26:38 ---> 8b02d8577b10 20:26:38 [Warning] One or more build-args [ARCH] were not consumed 20:26:38 Successfully built 8b02d8577b10 20:26:38 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:26:39 20:26:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:26:40 arm64: Pulling from edgex-lftools-log-publisher 20:26:40 8998bd30e6a1: Pulling fs layer 20:26:40 04944245beec: Pulling fs layer 20:26:40 699f458cf7ca: Pulling fs layer 20:26:40 765212b225bb: Pulling fs layer 20:26:40 f23df028b6ca: Pulling fs layer 20:26:40 d65c8cfc05b1: Pulling fs layer 20:26:40 2437ff75d9bd: Pulling fs layer 20:26:40 f23df028b6ca: Waiting 20:26:40 d65c8cfc05b1: Waiting 20:26:40 2437ff75d9bd: Waiting 20:26:40 04944245beec: Verifying Checksum 20:26:40 04944245beec: Download complete 20:26:40 765212b225bb: Verifying Checksum 20:26:40 765212b225bb: Download complete 20:26:40 f23df028b6ca: Verifying Checksum 20:26:40 f23df028b6ca: Download complete 20:26:40 d65c8cfc05b1: Verifying Checksum 20:26:40 d65c8cfc05b1: Download complete 20:26:40 699f458cf7ca: Verifying Checksum 20:26:40 699f458cf7ca: Download complete 20:26:41 8998bd30e6a1: Verifying Checksum 20:26:41 8998bd30e6a1: Download complete 20:26:43 2437ff75d9bd: Verifying Checksum 20:26:43 2437ff75d9bd: Download complete 20:26:45 8998bd30e6a1: Pull complete 20:26:45 04944245beec: Pull complete 20:26:46 699f458cf7ca: Pull complete 20:26:46 765212b225bb: Pull complete 20:26:47 f23df028b6ca: Pull complete 20:26:47 d65c8cfc05b1: Pull complete 20:27:02 2437ff75d9bd: Pull complete 20:27:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:27:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:27:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:27:02 prd-ubuntu20.04-docker-arm64-4c-16g-15937 does not seem to be running inside a container 20:27:02 $ 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 20:27:05 $ docker top 61d9ff87ee3f422945e0abc3c2f361d6743d996f56c6658048928b1152954894 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:27:06 ---> job-cost.sh 20:27:06 lf-activate-venv: SKIPPING 20:27:06 INFO: No Stack... 20:27:07 INFO: Retrieving Pricing Info for: v3-standard-4 20:27:07 INFO: Archiving Costs [Pipeline] sh 20:27:08 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 20:27:08 + cut -d, -f6 [Pipeline] lock 20:27:08 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-565-1-stack-cost] 20:27:08 Resource [jenkins-edgexfoundry-app-service-configurable-PR-565-1-stack-cost] did not exist. Created. 20:27:08 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-565-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:27:08 /w/workspace/app-service-configurable/1@tmp/durable-424b0583/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:27:09 + echo total: 0.2199999988079071 [Pipeline] stash 20:27:09 Warning: overwriting stash ‘stack-cost’ 20:27:09 Stashed 1 file(s) [Pipeline] } 20:27:09 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-565-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:27:09 $ docker stop --time=1 61d9ff87ee3f422945e0abc3c2f361d6743d996f56c6658048928b1152954894 20:27:10 $ docker rm -f --volumes 61d9ff87ee3f422945e0abc3c2f361d6743d996f56c6658048928b1152954894 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 20:27:11 provisioning config files... 20:27:11 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-565@tmp/config3900325832547158774tmp [Pipeline] { [Pipeline] sh 20:27:12 + set +x 20:27:12 + bash -s -- 20:27:12 + curl -s https://codecov.io/bash 20:27:12 20:27:12 _____ _ 20:27:12 / ____| | | 20:27:12 | | ___ __| | ___ ___ _____ __ 20:27:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:27:12 | |___| (_) | (_| | __/ (_| (_) \ V / 20:27:12 \_____\___/ \__,_|\___|\___\___/ \_/ 20:27:12 Bash-1.0.6 20:27:12 20:27:12 20:27:12 ==> git version 2.25.1 found 20:27:12 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 20:27:12 Release-Date: 2020-01-08 20:27:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:27:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:27:12 ==> Jenkins CI detected. 20:27:12 current dir:  /w/workspace/_app-service-configurable_PR-565 20:27:12 project root: . 20:27:12 --> token set from env 20:27:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:27:12 ==> Running gcov in . (disable via -X gcov) 20:27:12 ==> Python coveragepy not found 20:27:12 ==> Searching for coverage reports in: 20:27:12 + . 20:27:12 -> Found 1 reports 20:27:12 ==> Detecting git/mercurial file structure 20:27:12 ==> Reading reports 20:27:12 + ./coverage.out bytes=13 20:27:12 ==> Appending adjustments 20:27:12 https://docs.codecov.io/docs/fixing-reports 20:27:12 + Found adjustments 20:27:12 ==> Gzipping contents 20:27:12 4.0K /tmp/codecov.PVPH6a.gz 20:27:12 ==> Uploading reports 20:27:12 url: https://codecov.io 20:27:12 query: branch=PR-565&commit=0187e670effe769e378288907b00e0b458bd58b1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-565%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=565&job=&cmd_args= 20:27:12 -> Pinging Codecov 20:27:12 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-565&commit=0187e670effe769e378288907b00e0b458bd58b1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-565%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=565&job=&cmd_args= 20:27:12 -> Uploading to 20:27:12 https://storage.googleapis.com/codecov/v4/raw/2023-05-17/A97CA9966030D2A3747ED39772930CCE/0187e670effe769e378288907b00e0b458bd58b1/5adb38c1-a1f9-43e8-9408-f7fe03afbf2e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230517%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230517T202712Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fea68fb9143be7ed0794131863a40d3d3d9001cdb174ebda4881db94a08d487f 20:27:12 % Total % Received % Xferd Average Speed Time Time Time Current 20:27:12 Dload Upload Total Spent Left Speed 20:27:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 2014 --:--:-- --:--:-- --:--:-- 2014 20:27:12 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/0187e670effe769e378288907b00e0b458bd58b1 [Pipeline] } 20:27:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:27:14 + [ -d /w/workspace/_app-service-configurable_PR-565/archives ] 20:27:14 + ls -al /w/workspace/_app-service-configurable_PR-565/archives 20:27:14 total 16 20:27:14 drwxr-xr-x 3 root root 4096 May 17 20:19 . 20:27:14 drwxrwxr-x 9 jenkins jenkins 4096 May 17 20:19 .. 20:27:14 drwxr-xr-x 2 root root 4096 May 17 20:19 cost 20:27:14 -rw-r--r-- 1 root root 97 May 17 20:19 cost.csv 20:27:14 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-565/archives 20:27:14 + ls -al /w/workspace/_app-service-configurable_PR-565/archives 20:27:14 total 16 20:27:14 drwxr-xr-x 3 jenkins jenkins 4096 May 17 20:19 . 20:27:14 drwxrwxr-x 9 jenkins jenkins 4096 May 17 20:19 .. 20:27:14 drwxr-xr-x 2 jenkins jenkins 4096 May 17 20:19 cost 20:27:14 -rw-r--r-- 1 jenkins jenkins 97 May 17 20:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:27:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:27:15 ---> package-listing.sh 20:27:15 ++ tr '[:upper:]' '[:lower:]' 20:27:15 ++ facter osfamily 20:27:16 + OS_FAMILY=debian 20:27:16 + workspace=/w/workspace/_app-service-configurable_PR-565 20:27:16 + START_PACKAGES=/tmp/packages_start.txt 20:27:16 + END_PACKAGES=/tmp/packages_end.txt 20:27:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:27:16 + PACKAGES=/tmp/packages_start.txt 20:27:16 + '[' /w/workspace/_app-service-configurable_PR-565 ']' 20:27:16 + PACKAGES=/tmp/packages_end.txt 20:27:16 + case "${OS_FAMILY}" in 20:27:16 + dpkg -l 20:27:16 + grep '^ii' 20:27:16 + '[' -f /tmp/packages_start.txt ']' 20:27:16 + '[' -f /tmp/packages_end.txt ']' 20:27:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:27:16 + '[' /w/workspace/_app-service-configurable_PR-565 ']' 20:27:16 + mkdir -p /w/workspace/_app-service-configurable_PR-565/archives/ 20:27:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-565/archives/ [Pipeline] echo 20:27:16 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-565/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:27:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:27:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:27:17 prd-ubuntu20.04-docker-8c-8g-15930 does not seem to be running inside a container 20:27:17 $ 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-565/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-565 -v /w/workspace/_app-service-configurable_PR-565:/w/workspace/_app-service-configurable_PR-565:rw,z -v /w/workspace/_app-service-configurable_PR-565@tmp:/w/workspace/_app-service-configurable_PR-565@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:27:17 $ docker top 6a38f2893c3a460fa8c680b0bcee2a1f22f2697b2102c534555c6d2bb1296237 -eo pid,comm [Pipeline] { [Pipeline] sh 20:27:17 + touch /tmp/pre-build-complete [Pipeline] sh 20:27:18 + mkdir -p /var/log/sysstat [Pipeline] sh 20:27:18 + ls /var/log/sa-host 20:27:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:27:18 provisioning config files... 20:27:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-565@tmp/config4271646738204368417tmp [Pipeline] { [Pipeline] echo 20:27:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:27:19 ---> create-netrc.sh [Pipeline] } 20:27:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:27:19 ---> python-tools-install.sh [Pipeline] echo 20:27:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:27:19 ---> sudo-logs.sh 20:27:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:27:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:27:20 ---> job-cost.sh 20:27:20 lf-activate-venv: SKIPPING 20:27:20 DEBUG: total: 0.4399999976158142 20:27:20 INFO: Retrieving Stack Cost... 20:27:20 INFO: Retrieving Pricing Info for: v3-standard-8 20:27:21 INFO: Archiving Costs [Pipeline] echo 20:27:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:27:21 ---> logs-deploy.sh 20:27:21 lf-activate-venv: SKIPPING 20:27:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-565/1 20:27:21 INFO: archiving workspace using pattern(s): 20:27:22 Archives upload complete. 20:27:22 INFO: archiving logs to Nexus