Pull request #566 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c34dca418e7eed00f1b5c5821876dfbc59d3ec87+773240d7c00756d96df130f49dca2804083f7a37 (5167663dfc022f38811966908bd0c384ae7034df) 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-ssh6383521975089797615.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-ssh11447202022600908976.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-566/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-566/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2820025848403383855.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-566/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1858655352844038396.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-ssh1791011034601223667.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-566/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-566/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1486925419350907125.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 Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-16356’ Running on prd-ubuntu20.04-docker-8c-8g-16359 in /w/workspace/_app-service-configurable_PR-566 [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-566 # 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 > 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/566/head:refs/remotes/origin/PR-566 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 773240d7c00756d96df130f49dca2804083f7a37 into PR head commit c34dca418e7eed00f1b5c5821876dfbc59d3ec87 Merge succeeded, producing c34dca418e7eed00f1b5c5821876dfbc59d3ec87 Checking out Revision c34dca418e7eed00f1b5c5821876dfbc59d3ec87 (PR-566) 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 21:27:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git config core.sparsecheckout # timeout=10 > git checkout -f c34dca418e7eed00f1b5c5821876dfbc59d3ec87 # 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 773240d7c00756d96df130f49dca2804083f7a37 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c34dca418e7eed00f1b5c5821876dfbc59d3ec87 # timeout=10 21:27:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:27:12 ========================================================= 21:27:12 EdgeX Global Pipelines Version Info 21:27:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:27:13 ------------------- 21:27:13 stable info: 21:27:13 ------------------- 21:27:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:27:13 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:27:13 Message: update stable to v1.0.249 21:27:14 ------------------- 21:27:14 experimental info: 21:27:14 ------------------- 21:27:14 Commited By: **** collab-it+edgex@linuxfoundation.org 21:27:14 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:27:14 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:27:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 21:27:14 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 21:27:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:27:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:27:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:27:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:27:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:27:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:27:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:27:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:27:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:27:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 21:27:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:27:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:27:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:27:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:27:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:27:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:27:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:27:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:27:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:27:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:27:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:27:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:27:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:27:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:27:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:27:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-566 [Pipeline] echo 21:27:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-566 [Pipeline] echo 21:27:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-566 [Pipeline] echo 21:27:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c34dca418e7eed00f1b5c5821876dfbc59d3ec87 [Pipeline] echo 21:27:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c34dca4 [Pipeline] echo 21:27:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:27:15 provisioning config files... 21:27:15 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-566@tmp/config11412196400974540709tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:27:16 ---> docker-login.sh 21:27:16 nexus3.edgexfoundry.org:10001 21:27:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:16 Configure a credential helper to remove this warning. See 21:27:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:16 21:27:16 Login Succeeded 21:27:16 nexus3.edgexfoundry.org:10002 21:27:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:16 Configure a credential helper to remove this warning. See 21:27:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:16 21:27:16 Login Succeeded 21:27:16 nexus3.edgexfoundry.org:10003 21:27:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:16 Configure a credential helper to remove this warning. See 21:27:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:16 21:27:16 Login Succeeded 21:27:16 nexus3.edgexfoundry.org:10004 21:27:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:16 Configure a credential helper to remove this warning. See 21:27:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:16 21:27:16 Login Succeeded 21:27:16 docker.io 21:27:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:17 Configure a credential helper to remove this warning. See 21:27:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:17 21:27:17 Login Succeeded 21:27:17 ---> docker-login.sh ends [Pipeline] } 21:27:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:27:17 + git rev-list -1 --merges c34dca418e7eed00f1b5c5821876dfbc59d3ec87~1..c34dca418e7eed00f1b5c5821876dfbc59d3ec87 [Pipeline] echo 21:27:17 -----------> git rev-list -1 --merges c34dca418e7eed00f1b5c5821876dfbc59d3ec87~1..c34dca418e7eed00f1b5c5821876dfbc59d3ec87 c34dca418e7eed00f1b5c5821876dfbc59d3ec87 [false] [Pipeline] sh 21:27:18 + git log --format=format:%s -1 c34dca418e7eed00f1b5c5821876dfbc59d3ec87 [Pipeline] echo 21:27:18 ========================================================= 21:27:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:27:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:27:18 + git log --format=format:%s -1 c34dca418e7eed00f1b5c5821876dfbc59d3ec87 [Pipeline] echo 21:27:18 [semverPrep] GIT_COMMIT: c34dca418e7eed00f1b5c5821876dfbc59d3ec87, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 21:27:18 [semverPrep] This is not a build commit. [Pipeline] sh 21:27:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:27:19 + grep -v github /etc/ssh/ssh_known_hosts 21:27:19 + [ -e /tmp/ssh_known_hosts ] 21:27:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:27:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:27:19 + sudo tee -a /etc/ssh/ssh_known_hosts 21:27:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:27:19 21:27:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:27:20 0.1.4: Pulling from edgex-devops/py-git-semver 21:27:20 b85a868b505f: Pulling fs layer 21:27:20 e2be974225ed: Pulling fs layer 21:27:20 339a4e72a1f5: Pulling fs layer 21:27:20 988bab9f4d93: Pulling fs layer 21:27:20 1469e6f7b9e6: Pulling fs layer 21:27:20 eaf3925da568: Pulling fs layer 21:27:20 bab4dde63d76: Pulling fs layer 21:27:20 bde34c3a00c8: Pulling fs layer 21:27:20 b352a97aabf1: Pulling fs layer 21:27:20 bde34c3a00c8: Waiting 21:27:20 988bab9f4d93: Waiting 21:27:20 eaf3925da568: Waiting 21:27:20 bab4dde63d76: Waiting 21:27:20 1469e6f7b9e6: Waiting 21:27:20 b352a97aabf1: Waiting 21:27:20 4872d77fe225: Pulling fs layer 21:27:20 5851b861e8e6: Pulling fs layer 21:27:20 4872d77fe225: Waiting 21:27:20 5851b861e8e6: Waiting 21:27:20 e2be974225ed: Verifying Checksum 21:27:20 e2be974225ed: Download complete 21:27:20 988bab9f4d93: Verifying Checksum 21:27:20 988bab9f4d93: Download complete 21:27:20 1469e6f7b9e6: Verifying Checksum 21:27:20 1469e6f7b9e6: Download complete 21:27:20 eaf3925da568: Verifying Checksum 21:27:20 eaf3925da568: Download complete 21:27:20 339a4e72a1f5: Verifying Checksum 21:27:20 339a4e72a1f5: Download complete 21:27:20 bde34c3a00c8: Verifying Checksum 21:27:20 bde34c3a00c8: Download complete 21:27:20 b352a97aabf1: Verifying Checksum 21:27:20 b352a97aabf1: Download complete 21:27:20 4872d77fe225: Verifying Checksum 21:27:20 4872d77fe225: Download complete 21:27:20 5851b861e8e6: Verifying Checksum 21:27:20 5851b861e8e6: Download complete 21:27:20 b85a868b505f: Verifying Checksum 21:27:20 b85a868b505f: Download complete 21:27:20 bab4dde63d76: Verifying Checksum 21:27:20 bab4dde63d76: Download complete 21:27:21 b85a868b505f: Pull complete 21:27:21 e2be974225ed: Pull complete 21:27:22 339a4e72a1f5: Pull complete 21:27:22 988bab9f4d93: Pull complete 21:27:22 1469e6f7b9e6: Pull complete 21:27:22 eaf3925da568: Pull complete 21:27:24 bab4dde63d76: Pull complete 21:27:24 bde34c3a00c8: Pull complete 21:27:24 b352a97aabf1: Pull complete 21:27:24 4872d77fe225: Pull complete 21:27:24 5851b861e8e6: Pull complete 21:27:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:27:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:27:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:27:25 prd-ubuntu20.04-docker-8c-8g-16359 does not seem to be running inside a container 21:27:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-566 -v /w/workspace/_app-service-configurable_PR-566:/w/workspace/_app-service-configurable_PR-566:rw,z -v /w/workspace/_app-service-configurable_PR-566@tmp:/w/workspace/_app-service-configurable_PR-566@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 21:27:27 $ docker top 78bf7d21e66d66360023843bc35c8b7de959c349fe35affbce8467a3fb37b87b -eo pid,comm 21:27:27 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). 21:27:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:27:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:27:27 [ssh-agent] Looking for ssh-agent implementation... 21:27:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:27:28 $ docker exec 78bf7d21e66d66360023843bc35c8b7de959c349fe35affbce8467a3fb37b87b ssh-agent 21:27:28 SSH_AUTH_SOCK=/tmp/ssh-vITG3z0h7yUT/agent.33 21:27:28 SSH_AGENT_PID=39 21:27:28 Running ssh-add (command line suppressed) 21:27:28 Identity added: /w/workspace/_app-service-configurable_PR-566@tmp/private_key_11858249586368401454.key (/w/workspace/_app-service-configurable_PR-566@tmp/private_key_11858249586368401454.key) 21:27:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:27:28 + git tag --points-at HEAD [Pipeline] } 21:27:28 $ docker exec --env ******** --env ******** 78bf7d21e66d66360023843bc35c8b7de959c349fe35affbce8467a3fb37b87b ssh-agent -k 21:27:28 unset SSH_AUTH_SOCK; 21:27:28 unset SSH_AGENT_PID; 21:27:28 echo Agent pid 39 killed; 21:27:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:27:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:27:28 [ssh-agent] Looking for ssh-agent implementation... 21:27:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:27:28 $ docker exec 78bf7d21e66d66360023843bc35c8b7de959c349fe35affbce8467a3fb37b87b ssh-agent 21:27:29 SSH_AUTH_SOCK=/tmp/ssh-FtdnmvlHsz15/agent.71 21:27:29 SSH_AGENT_PID=77 21:27:29 Running ssh-add (command line suppressed) 21:27:29 Identity added: /w/workspace/_app-service-configurable_PR-566@tmp/private_key_17018186841679796395.key (/w/workspace/_app-service-configurable_PR-566@tmp/private_key_17018186841679796395.key) 21:27:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:27:29 + git semver init 21:27:29 2023-05-22 21:27:29,678 [run_init] DEBUG init version:0.0.0 force:False 21:27:29 2023-05-22 21:27:29,679 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-566/.semver 21:27:29 2023-05-22 21:27:29,679 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-566/.semver 21:27:29 2023-05-22 21:27:29,679 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-566/.semver'], cwd=/w/workspace/_app-service-configurable_PR-566, universal_newlines=False, shell=None, istream=None) 21:27:30 2023-05-22 21:27:30,476 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-566/.git/info/exclude 21:27:30 2023-05-22 21:27:30,477 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-566/.semver/PR-566 with force:False 21:27:30 2023-05-22 21:27:30,477 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-566/.semver/PR-566 21:27:30 2023-05-22 21:27:30,481 [execute] INFO git cat-file --batch-check 21:27:30 2023-05-22 21:27:30,482 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-566/.semver, universal_newlines=False, shell=None, istream=) 21:27:30 2023-05-22 21:27:30,488 [execute] INFO git cat-file --batch 21:27:30 2023-05-22 21:27:30,488 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-566/.semver, universal_newlines=False, shell=None, istream=) 21:27:30 2023-05-22 21:27:30,493 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-566/.semver/PR-566 21:27:30 0.0.0 [Pipeline] } 21:27:30 $ docker exec --env ******** --env ******** 78bf7d21e66d66360023843bc35c8b7de959c349fe35affbce8467a3fb37b87b ssh-agent -k 21:27:30 unset SSH_AUTH_SOCK; 21:27:30 unset SSH_AGENT_PID; 21:27:30 echo Agent pid 77 killed; 21:27:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:27:31 + git semver [Pipeline] } 21:27:31 $ docker stop --time=1 78bf7d21e66d66360023843bc35c8b7de959c349fe35affbce8467a3fb37b87b 21:27:32 $ docker rm -f --volumes 78bf7d21e66d66360023843bc35c8b7de959c349fe35affbce8467a3fb37b87b [Pipeline] // withDockerContainer [Pipeline] sh 21:27:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:27:33 Stashed 1 file(s) [Pipeline] echo 21:27:33 [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 21:27:34 provisioning config files... 21:27:34 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-566@tmp/config3222355723764091765tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:27:34 ---> docker-login.sh 21:27:34 nexus3.edgexfoundry.org:10001 21:27:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:34 Configure a credential helper to remove this warning. See 21:27:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:34 21:27:34 Login Succeeded 21:27:34 nexus3.edgexfoundry.org:10002 21:27:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:34 Configure a credential helper to remove this warning. See 21:27:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:34 21:27:34 Login Succeeded 21:27:34 nexus3.edgexfoundry.org:10003 21:27:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:34 Configure a credential helper to remove this warning. See 21:27:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:34 21:27:34 Login Succeeded 21:27:34 nexus3.edgexfoundry.org:10004 21:27:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:34 Configure a credential helper to remove this warning. See 21:27:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:34 21:27:34 Login Succeeded 21:27:34 docker.io 21:27:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:35 Configure a credential helper to remove this warning. See 21:27:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:35 21:27:35 Login Succeeded 21:27:35 ---> docker-login.sh ends [Pipeline] } 21:27:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:27:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:27:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:27:35 ========================================================= 21:27:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:27:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:35 + 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 . 21:27:35 Sending build context to Docker daemon 3.354MB 21:27:35 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:27:35 Step 2/12 : FROM ${BASE} AS builder 21:27:35 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:27:35 f56be85fc22e: Pulling fs layer 21:27:35 85791d961cd3: Pulling fs layer 21:27:35 d694b5ae8c79: Pulling fs layer 21:27:35 9f32a84ed3da: Pulling fs layer 21:27:35 4d19c01a9841: Pulling fs layer 21:27:35 9325e15d5711: Pulling fs layer 21:27:35 556b6ee489ea: Pulling fs layer 21:27:35 c5a4b2cf53e6: Pulling fs layer 21:27:35 9f32a84ed3da: Waiting 21:27:35 4d19c01a9841: Waiting 21:27:35 9325e15d5711: Waiting 21:27:35 556b6ee489ea: Waiting 21:27:35 c5a4b2cf53e6: Waiting 21:27:35 85791d961cd3: Download complete 21:27:35 9f32a84ed3da: Download complete 21:27:36 4d19c01a9841: Verifying Checksum 21:27:36 4d19c01a9841: Download complete 21:27:36 f56be85fc22e: Download complete 21:27:36 9325e15d5711: Verifying Checksum 21:27:36 9325e15d5711: Download complete 21:27:36 f56be85fc22e: Pull complete 21:27:36 85791d961cd3: Pull complete 21:27:36 c5a4b2cf53e6: Verifying Checksum 21:27:36 d694b5ae8c79: Verifying Checksum 21:27:36 d694b5ae8c79: Download complete 21:27:36 556b6ee489ea: Verifying Checksum 21:27:36 556b6ee489ea: Download complete 21:27:40 d694b5ae8c79: Pull complete 21:27:40 9f32a84ed3da: Pull complete 21:27:40 4d19c01a9841: Pull complete 21:27:40 9325e15d5711: Pull complete 21:27:42 556b6ee489ea: Pull complete 21:27:43 c5a4b2cf53e6: Pull complete 21:27:43 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:27:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:27:43 ---> c4be618373d6 21:27:43 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 21:27:46 ---> Running in 4ede65ffd998 21:27:47 Removing intermediate container 4ede65ffd998 21:27:47 ---> 98df724e2510 21:27:47 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:27:47 ---> Running in 536a62500b47 21:27:47 Removing intermediate container 536a62500b47 21:27:47 ---> d421ed356f59 21:27:47 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:27:47 ---> Running in 1789b74d3a3c 21:27:47 Removing intermediate container 1789b74d3a3c 21:27:47 ---> ac601080426e 21:27:47 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:27:47 ---> Running in ef132ee40a74 21:27:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:27:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:27:48 OK: 265 MiB in 53 packages 21:27:48 Removing intermediate container ef132ee40a74 21:27:48 ---> 720fd615dc2f 21:27:48 Step 7/12 : WORKDIR /app 21:27:48 ---> Running in 56b0dcc408ec 21:27:48 Removing intermediate container 56b0dcc408ec 21:27:48 ---> af28ac20f7cf 21:27:48 Step 8/12 : COPY go.mod vendor* ./ 21:27:48 ---> 99a3a76dcbc5 21:27:48 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:27:48 ---> Running in df57a5531b56 21:27:49 Still waiting to schedule task 21:27:49 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16357’ 21:28:15 Removing intermediate container df57a5531b56 21:28:15 ---> b241500cb4ea 21:28:15 Step 10/12 : COPY . . 21:28:15 ---> b4f70cd4c6a8 21:28:15 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:28:15 ---> Running in e243ae4ce150 21:28:15 Removing intermediate container e243ae4ce150 21:28:15 ---> 755a1e91325d 21:28:15 Step 12/12 : RUN $MAKE 21:28:15 ---> Running in cfa555340a89 21:28:15 noop 21:28:15 Removing intermediate container cfa555340a89 21:28:15 ---> 9d091485c6d0 21:28:15 Successfully built 9d091485c6d0 21:28:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:15 + docker inspect -f . ci-base-image-x86_64 21:28:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:15 prd-ubuntu20.04-docker-8c-8g-16359 does not seem to be running inside a container 21:28:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-566 -v /w/workspace/_app-service-configurable_PR-566:/w/workspace/_app-service-configurable_PR-566:rw,z -v /w/workspace/_app-service-configurable_PR-566@tmp:/w/workspace/_app-service-configurable_PR-566@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 21:28:16 $ docker top e6da644d0829b46d1f5105f26708f55062a72c0b4d6681aa9e8d407f9b3a59d0 -eo pid,comm [Pipeline] { [Pipeline] sh 21:28:16 + go version 21:28:16 go version go1.20.2 linux/amd64 [Pipeline] } 21:28:16 $ docker stop --time=1 e6da644d0829b46d1f5105f26708f55062a72c0b4d6681aa9e8d407f9b3a59d0 21:28:17 $ docker rm -f --volumes e6da644d0829b46d1f5105f26708f55062a72c0b4d6681aa9e8d407f9b3a59d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:18 + docker inspect -f . ci-base-image-x86_64 21:28:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:18 prd-ubuntu20.04-docker-8c-8g-16359 does not seem to be running inside a container 21:28:18 $ 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-566 -v /w/workspace/_app-service-configurable_PR-566:/w/workspace/_app-service-configurable_PR-566:rw,z -v /w/workspace/_app-service-configurable_PR-566@tmp:/w/workspace/_app-service-configurable_PR-566@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 21:28:19 $ docker top 6bf6003f1e6c041fee58480237c4e57fe9cd1595b157f240308fa75dee86effe -eo pid,comm [Pipeline] { [Pipeline] sh 21:28:19 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-566 [Pipeline] fileExists [Pipeline] sh 21:28:19 + make test 21:28:19 go test -race -coverprofile=coverage.out ./... 21:28:41 ? github.com/edgexfoundry/app-service-configurable [no test files] 21:28:56 go vet ./... 21:29:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:29:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:29:00 ./bin/test-attribution-txt.sh 21:29:00 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 21:29:00 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 21:29:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:29:00 $ docker stop --time=1 6bf6003f1e6c041fee58480237c4e57fe9cd1595b157f240308fa75dee86effe 21:29:04 $ docker rm -f --volumes 6bf6003f1e6c041fee58480237c4e57fe9cd1595b157f240308fa75dee86effe [Pipeline] // withDockerContainer [Pipeline] sh 21:29:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:29:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:29:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:29:06 + ls -al . 21:29:06 total 176 21:29:06 drwxrwxr-x 8 jenkins jenkins 4096 May 22 21:28 . 21:29:06 drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:27 .. 21:29:06 -rw-rw-r-- 1 jenkins jenkins 119 May 22 21:27 .dockerignore 21:29:06 drwxrwxr-x 8 jenkins jenkins 4096 May 22 21:27 .git 21:29:06 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:27 .github 21:29:06 -rw-rw-r-- 1 jenkins jenkins 171 May 22 21:27 .gitignore 21:29:06 -rw-rw-r-- 1 jenkins jenkins 41 May 22 21:27 .golangci.yml 21:29:06 drwxr-xr-x 3 jenkins jenkins 4096 May 22 21:27 .semver 21:29:06 -rw-rw-r-- 1 jenkins jenkins 9088 May 22 21:27 Attribution.txt 21:29:06 -rw-rw-r-- 1 jenkins jenkins 29118 May 22 21:27 CHANGELOG.md 21:29:06 -rw-rw-r-- 1 jenkins jenkins 1898 May 22 21:27 Dockerfile 21:29:06 -rw-rw-r-- 1 jenkins jenkins 677 May 22 21:27 GOVERNANCE.md 21:29:06 -rw-rw-r-- 1 jenkins jenkins 688 May 22 21:27 Jenkinsfile 21:29:06 -rw-rw-r-- 1 jenkins jenkins 10174 May 22 21:27 LICENSE 21:29:06 -rw-rw-r-- 1 jenkins jenkins 618 May 22 21:27 OWNERS.md 21:29:06 -rw-rw-r-- 1 jenkins jenkins 4885 May 22 21:27 README.md 21:29:06 -rw-rw-r-- 1 jenkins jenkins 5 May 22 21:27 VERSION 21:29:06 drwxrwxr-x 2 jenkins jenkins 4096 May 22 21:27 bin 21:29:06 -rw-r--r-- 1 jenkins jenkins 13 May 22 21:28 coverage.out 21:29:06 -rw-rw-r-- 1 jenkins jenkins 3302 May 22 21:27 go.mod 21:29:06 -rw-rw-r-- 1 jenkins jenkins 31421 May 22 21:27 go.sum 21:29:06 -rw-rw-r-- 1 jenkins jenkins 1937 May 22 21:27 main.go 21:29:06 -rw-rw-r-- 1 jenkins jenkins 2569 May 22 21:27 makefile 21:29:06 drwxrwxr-x 9 jenkins jenkins 4096 May 22 21:27 res 21:29:06 drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:27 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:06 + 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=c34dca418e7eed00f1b5c5821876dfbc59d3ec87 --label arch=amd64 --label version=0.0.0 . 21:29:06 Sending build context to Docker daemon 3.355MB 21:29:06 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 21:29:06 Step 2/26 : FROM ${BASE} AS builder 21:29:06 ---> 9d091485c6d0 21:29:06 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 21:29:06 ---> Running in 9f77a16bb81c 21:29:07 Removing intermediate container 9f77a16bb81c 21:29:07 ---> 7d0b393de049 21:29:07 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 21:29:07 ---> Running in cc1b4f110b92 21:29:07 Removing intermediate container cc1b4f110b92 21:29:07 ---> ab80832b8724 21:29:07 Step 5/26 : ARG ADD_BUILD_TAGS="" 21:29:07 ---> Running in dc7cf0ce09fd 21:29:07 Removing intermediate container dc7cf0ce09fd 21:29:07 ---> bc00fcc97362 21:29:07 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:29:07 ---> Running in 2d456d1e1c6b 21:29:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:29:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:29:07 OK: 265 MiB in 53 packages 21:29:08 Removing intermediate container 2d456d1e1c6b 21:29:08 ---> 933f3cf42ded 21:29:08 Step 7/26 : WORKDIR /app 21:29:08 ---> Running in 1f75d2bfb85f 21:29:08 Removing intermediate container 1f75d2bfb85f 21:29:08 ---> 5301ede195db 21:29:08 Step 8/26 : COPY go.mod vendor* ./ 21:29:08 ---> 36b2570ffadf 21:29:08 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:29:08 ---> Running in f258467578ac 21:29:09 Removing intermediate container f258467578ac 21:29:09 ---> 1c70d3b4d763 21:29:09 Step 10/26 : COPY . . 21:29:09 ---> 15cc1c7abfcc 21:29:09 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:29:09 ---> Running in 5a581605ced8 21:29:09 Removing intermediate container 5a581605ced8 21:29:09 ---> 619d480c695b 21:29:09 Step 12/26 : RUN $MAKE 21:29:09 ---> Running in c8d9e1ca869c 21:29:09 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.67 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 21:29:31 Removing intermediate container c8d9e1ca869c 21:29:31 ---> f90c73c1046b 21:29:31 Step 13/26 : FROM alpine:3.17 21:29:31 3.17: Pulling from library/alpine 21:29:31 f56be85fc22e: Already exists 21:29:31 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:29:31 Status: Downloaded newer image for alpine:3.17 21:29:31 ---> 9ed4aefc74f6 21:29:31 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:29:31 ---> Running in 0e67c40cc639 21:29:31 Removing intermediate container 0e67c40cc639 21:29:31 ---> 1aa246cbd103 21:29:31 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 21:29:31 ---> Running in 393bf4a486c1 21:29:31 Removing intermediate container 393bf4a486c1 21:29:31 ---> 60203c15afdb 21:29:31 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 21:29:31 ---> Running in 98c6fb8d2683 21:29:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:29:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:29:31 (1/2) Installing ca-certificates (20230506-r0) 21:29:31 (2/2) Installing dumb-init (1.2.5-r2) 21:29:31 Executing busybox-1.35.0-r29.trigger 21:29:31 Executing ca-certificates-20230506-r0.trigger 21:29:31 OK: 8 MiB in 17 packages 21:29:31 Removing intermediate container 98c6fb8d2683 21:29:31 ---> 00828c09ac4a 21:29:31 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:29:31 ---> dcd3d50329f2 21:29:31 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 21:29:31 ---> f233f9cf7cf3 21:29:31 Step 19/26 : COPY --from=builder /app/res/ /res/ 21:29:31 ---> b66578b4641f 21:29:31 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 21:29:31 ---> e5832f8f230a 21:29:31 Step 21/26 : EXPOSE 48095 21:29:31 ---> Running in dd451c5e9325 21:29:31 Removing intermediate container dd451c5e9325 21:29:31 ---> dbd68be33e4c 21:29:31 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 21:29:31 ---> Running in cb935f6b578e 21:29:31 Removing intermediate container cb935f6b578e 21:29:31 ---> f234689a252c 21:29:31 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:29:31 ---> Running in b1f977d47aab 21:29:31 Removing intermediate container b1f977d47aab 21:29:31 ---> 396b23000c67 21:29:31 Step 24/26 : LABEL arch=amd64 21:29:31 ---> Running in 1b762d912dbe 21:29:31 Removing intermediate container 1b762d912dbe 21:29:31 ---> d7d48b144229 21:29:31 Step 25/26 : LABEL git_sha=c34dca418e7eed00f1b5c5821876dfbc59d3ec87 21:29:31 ---> Running in f8bb53425412 21:29:31 Removing intermediate container f8bb53425412 21:29:31 ---> 120cff34605b 21:29:31 Step 26/26 : LABEL version=0.0.0 21:29:31 ---> Running in 18079cc9cf5b 21:29:31 Removing intermediate container 18079cc9cf5b 21:29:31 ---> a650026a02f0 21:29:31 [Warning] One or more build-args [ARCH] were not consumed 21:29:31 Successfully built a650026a02f0 21:29:31 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 21:29:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:29:32 21:29:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:29:33 latest: Pulling from edgex-lftools-log-publisher 21:29:33 5eb5b503b376: Pulling fs layer 21:29:33 5c69ac0246d0: Pulling fs layer 21:29:33 ec43610c2a17: Pulling fs layer 21:29:33 3a2ae6a8a46f: Pulling fs layer 21:29:33 33b1e0a273af: Pulling fs layer 21:29:33 5d3b04190fa2: Pulling fs layer 21:29:33 2f39f015ded8: Pulling fs layer 21:29:33 3a2ae6a8a46f: Waiting 21:29:33 2f39f015ded8: Waiting 21:29:33 5d3b04190fa2: Waiting 21:29:33 5c69ac0246d0: Verifying Checksum 21:29:33 5c69ac0246d0: Download complete 21:29:33 3a2ae6a8a46f: Verifying Checksum 21:29:33 3a2ae6a8a46f: Download complete 21:29:33 33b1e0a273af: Verifying Checksum 21:29:33 33b1e0a273af: Download complete 21:29:33 5d3b04190fa2: Download complete 21:29:33 ec43610c2a17: Verifying Checksum 21:29:33 ec43610c2a17: Download complete 21:29:33 5eb5b503b376: Verifying Checksum 21:29:33 5eb5b503b376: Download complete 21:29:34 2f39f015ded8: Download complete 21:29:34 5eb5b503b376: Pull complete 21:29:34 5c69ac0246d0: Pull complete 21:29:35 ec43610c2a17: Pull complete 21:29:35 3a2ae6a8a46f: Pull complete 21:29:35 33b1e0a273af: Pull complete 21:29:35 5d3b04190fa2: Pull complete 21:29:39 2f39f015ded8: Pull complete 21:29:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:29:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:29:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:29:39 prd-ubuntu20.04-docker-8c-8g-16359 does not seem to be running inside a container 21:29:39 $ 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-566 -v /w/workspace/_app-service-configurable_PR-566:/w/workspace/_app-service-configurable_PR-566:rw,z -v /w/workspace/_app-service-configurable_PR-566@tmp:/w/workspace/_app-service-configurable_PR-566@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 21:29:43 $ docker top 57d46c33a9959a21f3b86f5ff4628595eb8ee0427c7f71a8b7f5a7aed2bd3f66 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:29:44 ---> job-cost.sh 21:29:44 lf-activate-venv: SKIPPING 21:29:44 INFO: No Stack... 21:29:44 INFO: Retrieving Pricing Info for: v3-standard-8 21:29:44 INFO: Archiving Costs [Pipeline] sh 21:29:44 + cat /w/workspace/_app-service-configurable_PR-566/archives/cost.csv 21:29:44 + cut -d, -f6 [Pipeline] lock 21:29:44 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-566-1-stack-cost] 21:29:44 Resource [jenkins-edgexfoundry-app-service-configurable-PR-566-1-stack-cost] did not exist. Created. 21:29:44 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-566-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:29:45 + echo total: 0.2199999988079071 [Pipeline] stash 21:29:45 Stashed 1 file(s) [Pipeline] } 21:29:45 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-566-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:29:45 $ docker stop --time=1 57d46c33a9959a21f3b86f5ff4628595eb8ee0427c7f71a8b7f5a7aed2bd3f66 21:29:46 $ docker rm -f --volumes 57d46c33a9959a21f3b86f5ff4628595eb8ee0427c7f71a8b7f5a7aed2bd3f66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:31:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16362 in /w/workspace/_app-service-configurable_PR-566 [Pipeline] { [Pipeline] ws 21:31:15 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 21:31:15 Selected Git installation does not exist. Using Default 21:31:15 The recommended git tool is: NONE 21:31:27 using credential edgex-jenkins-ssh 21:31:27 Cloning the remote Git repository 21:31:27 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 21:31:27 > git init /w/workspace/app-service-configurable/1 # timeout=10 21:31:28 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 21:31:28 > git --version # timeout=10 21:31:28 > git --version # 'git version 2.25.1' 21:31:28 using GIT_SSH to set credentials SSH Credentials for GitHub 21:31:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:31:29 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 21:31:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:31:30 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 21:31:31 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 21:31:31 using GIT_SSH to set credentials SSH Credentials for GitHub 21:31:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/566/head:refs/remotes/origin/PR-566 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:31:31 Merging remotes/origin/main commit 773240d7c00756d96df130f49dca2804083f7a37 into PR head commit c34dca418e7eed00f1b5c5821876dfbc59d3ec87 21:31:32 Merge succeeded, producing c34dca418e7eed00f1b5c5821876dfbc59d3ec87 21:31:32 Checking out Revision c34dca418e7eed00f1b5c5821876dfbc59d3ec87 (PR-566) 21:31:32 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 21:31:32 > git --version # timeout=10 21:31:32 > git --version # 'git version 2.25.1' 21:31:33 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:31:31 > git config core.sparsecheckout # timeout=10 21:31:31 > git checkout -f c34dca418e7eed00f1b5c5821876dfbc59d3ec87 # timeout=10 21:31:31 > git remote # timeout=10 21:31:32 > git config --get remote.origin.url # timeout=10 21:31:32 using GIT_SSH to set credentials SSH Credentials for GitHub 21:31:32 > git merge 773240d7c00756d96df130f49dca2804083f7a37 # timeout=10 21:31:32 > git rev-parse HEAD^{commit} # timeout=10 21:31:32 > git config core.sparsecheckout # timeout=10 21:31:32 > git checkout -f c34dca418e7eed00f1b5c5821876dfbc59d3ec87 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:31:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:31:34 % Total % Received % Xferd Average Speed Time Time Time Current 21:31:34 Dload Upload Total Spent Left Speed 21:31:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 185k [Pipeline] sh 21:31:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:31:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:31:35 + sudo tee /etc/docker/daemon.new 21:31:35 { 21:31:35 "registry-mirrors": [ 21:31:35 "https://nexus3.edgexfoundry.org:10001" 21:31:35 ], 21:31:35 "bip": "10.250.0.254/24", 21:31:35 "hosts": [ 21:31:35 "tcp://0.0.0.0:5555", 21:31:35 "unix:///var/run/docker.sock" 21:31:35 ], 21:31:35 "mtu": 1458, 21:31:35 "selinux-enabled": true, 21:31:35 "seccomp-profile": "/etc/docker/seccomp.json" 21:31:35 } [Pipeline] sh 21:31:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:31:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:31:54 provisioning config files... 21:31:54 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config4682010567278735379tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:31:54 ---> docker-login.sh 21:31:54 nexus3.edgexfoundry.org:10001 21:31:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:55 Configure a credential helper to remove this warning. See 21:31:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:55 21:31:55 Login Succeeded 21:31:55 nexus3.edgexfoundry.org:10002 21:31:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:55 Configure a credential helper to remove this warning. See 21:31:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:55 21:31:55 Login Succeeded 21:31:55 nexus3.edgexfoundry.org:10003 21:31:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:56 Configure a credential helper to remove this warning. See 21:31:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:56 21:31:56 Login Succeeded 21:31:56 nexus3.edgexfoundry.org:10004 21:31:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:56 Configure a credential helper to remove this warning. See 21:31:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:56 21:31:56 Login Succeeded 21:31:56 docker.io 21:31:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:57 Configure a credential helper to remove this warning. See 21:31:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:57 21:31:57 Login Succeeded 21:31:57 ---> docker-login.sh ends [Pipeline] } 21:31:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:31:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:31:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:31:58 ========================================================= 21:31:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:31:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:58 + 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 . 21:31:58 Sending build context to Docker daemon 168.4kB 21:31:58 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:31:58 Step 2/12 : FROM ${BASE} AS builder 21:31:59 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:31:59 c41833b44d91: Pulling fs layer 21:31:59 ed15518f5707: Pulling fs layer 21:31:59 feae8fd75edb: Pulling fs layer 21:31:59 242c74f7c9fa: Pulling fs layer 21:31:59 3cdef696dda3: Pulling fs layer 21:31:59 2ced38df9373: Pulling fs layer 21:31:59 58f1dce35555: Pulling fs layer 21:31:59 3cdef696dda3: Waiting 21:31:59 242c74f7c9fa: Waiting 21:31:59 2ced38df9373: Waiting 21:31:59 58f1dce35555: Waiting 21:31:59 ed15518f5707: Download complete 21:31:59 242c74f7c9fa: Verifying Checksum 21:31:59 242c74f7c9fa: Download complete 21:31:59 3cdef696dda3: Verifying Checksum 21:31:59 3cdef696dda3: Download complete 21:31:59 c41833b44d91: Download complete 21:32:00 c41833b44d91: Pull complete 21:32:00 58f1dce35555: Verifying Checksum 21:32:00 58f1dce35555: Download complete 21:32:00 ed15518f5707: Pull complete 21:32:02 feae8fd75edb: Verifying Checksum 21:32:02 feae8fd75edb: Download complete 21:32:02 2ced38df9373: Verifying Checksum 21:32:02 2ced38df9373: Download complete 21:32:14 feae8fd75edb: Pull complete 21:32:14 242c74f7c9fa: Pull complete 21:32:14 3cdef696dda3: Pull complete 21:32:21 2ced38df9373: Pull complete 21:32:23 58f1dce35555: Pull complete 21:32:23 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:32:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:32:23 ---> fadd8f120f05 21:32:23 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 21:32:24 ---> Running in baf45c193af3 21:32:25 Removing intermediate container baf45c193af3 21:32:25 ---> 9c35e96790c3 21:32:25 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:32:25 ---> Running in c42366c60d70 21:32:25 Removing intermediate container c42366c60d70 21:32:25 ---> 610488506e39 21:32:25 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:32:25 ---> Running in 87385e3a1874 21:32:26 Removing intermediate container 87385e3a1874 21:32:26 ---> 67b12a52d5c7 21:32:26 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:32:26 ---> Running in 1541cbe2f1f4 21:32:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:32:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:32:29 OK: 263 MiB in 53 packages 21:32:29 Removing intermediate container 1541cbe2f1f4 21:32:29 ---> cf1461fbada8 21:32:29 Step 7/12 : WORKDIR /app 21:32:30 ---> Running in e9df3ca06db6 21:32:30 Removing intermediate container e9df3ca06db6 21:32:30 ---> 826edc3d52e9 21:32:30 Step 8/12 : COPY go.mod vendor* ./ 21:32:30 ---> a600bf06ef12 21:32:30 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:32:30 ---> Running in 5af497ee52fa 21:33:38 Removing intermediate container 5af497ee52fa 21:33:38 ---> 30df7e094fa4 21:33:38 Step 10/12 : COPY . . 21:33:38 ---> bf1717458314 21:33:38 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:33:38 ---> Running in d8029cea794b 21:33:38 Removing intermediate container d8029cea794b 21:33:38 ---> b9fee6270d9e 21:33:38 Step 12/12 : RUN $MAKE 21:33:38 ---> Running in 20793e87915a 21:33:38 noop 21:33:38 Removing intermediate container 20793e87915a 21:33:38 ---> e7789ae7732b 21:33:38 Successfully built e7789ae7732b 21:33:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:39 + docker inspect -f . ci-base-image-arm64 21:33:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:33:39 prd-ubuntu20.04-docker-arm64-4c-16g-16362 does not seem to be running inside a container 21:33:39 $ 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 ******** -e ******** ci-base-image-arm64 cat 21:33:41 $ docker top c742609c5b0176a7303e07affb62e1d693350a539026f440bc06d5d8f41f9b06 -eo pid,comm [Pipeline] { [Pipeline] sh 21:33:42 + go version 21:33:42 go version go1.20.2 linux/arm64 [Pipeline] } 21:33:42 $ docker stop --time=1 c742609c5b0176a7303e07affb62e1d693350a539026f440bc06d5d8f41f9b06 21:33:43 $ docker rm -f --volumes c742609c5b0176a7303e07affb62e1d693350a539026f440bc06d5d8f41f9b06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:44 + docker inspect -f . ci-base-image-arm64 21:33:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:33:45 prd-ubuntu20.04-docker-arm64-4c-16g-16362 does not seem to be running inside a container 21:33:45 $ 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 ******** -e ******** ci-base-image-arm64 cat 21:33:46 $ docker top 1ac17185c66773e6be09f72b656f324b6914a95d4fbb4a16e4cb95fa13bbc235 -eo pid,comm [Pipeline] { [Pipeline] sh 21:33:47 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 21:33:48 + make test 21:33:48 go test -race -coverprofile=coverage.out ./... 21:36:54 ? github.com/edgexfoundry/app-service-configurable [no test files] 21:36:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:36:54 go vet ./... 21:39:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:39:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:39:31 ./bin/test-attribution-txt.sh 21:39:31 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 21:39:32 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 21:39:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:39:32 $ docker stop --time=1 1ac17185c66773e6be09f72b656f324b6914a95d4fbb4a16e4cb95fa13bbc235 21:39:34 $ docker rm -f --volumes 1ac17185c66773e6be09f72b656f324b6914a95d4fbb4a16e4cb95fa13bbc235 [Pipeline] // withDockerContainer [Pipeline] sh 21:39:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:39:36 Warning: overwriting stash ‘coverage-report’ 21:39:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:39:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:39:37 + ls -al . 21:39:37 total 172 21:39:37 drwxrwxr-x 7 jenkins jenkins 4096 May 22 21:33 . 21:39:37 drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:31 .. 21:39:37 -rw-rw-r-- 1 jenkins jenkins 119 May 22 21:31 .dockerignore 21:39:37 drwxrwxr-x 8 jenkins jenkins 4096 May 22 21:31 .git 21:39:37 drwxrwxr-x 3 jenkins jenkins 4096 May 22 21:31 .github 21:39:37 -rw-rw-r-- 1 jenkins jenkins 171 May 22 21:31 .gitignore 21:39:37 -rw-rw-r-- 1 jenkins jenkins 41 May 22 21:31 .golangci.yml 21:39:37 -rw-rw-r-- 1 jenkins jenkins 9088 May 22 21:31 Attribution.txt 21:39:37 -rw-rw-r-- 1 jenkins jenkins 29118 May 22 21:31 CHANGELOG.md 21:39:37 -rw-rw-r-- 1 jenkins jenkins 1898 May 22 21:31 Dockerfile 21:39:37 -rw-rw-r-- 1 jenkins jenkins 677 May 22 21:31 GOVERNANCE.md 21:39:37 -rw-rw-r-- 1 jenkins jenkins 688 May 22 21:31 Jenkinsfile 21:39:37 -rw-rw-r-- 1 jenkins jenkins 10174 May 22 21:31 LICENSE 21:39:37 -rw-rw-r-- 1 jenkins jenkins 618 May 22 21:31 OWNERS.md 21:39:37 -rw-rw-r-- 1 jenkins jenkins 4885 May 22 21:31 README.md 21:39:37 -rw-rw-r-- 1 jenkins jenkins 5 May 22 21:27 VERSION 21:39:37 drwxrwxr-x 2 jenkins jenkins 4096 May 22 21:31 bin 21:39:37 -rw-r--r-- 1 jenkins jenkins 13 May 22 21:33 coverage.out 21:39:37 -rw-rw-r-- 1 jenkins jenkins 3302 May 22 21:31 go.mod 21:39:37 -rw-rw-r-- 1 jenkins jenkins 31421 May 22 21:31 go.sum 21:39:37 -rw-rw-r-- 1 jenkins jenkins 1937 May 22 21:31 main.go 21:39:37 -rw-rw-r-- 1 jenkins jenkins 2569 May 22 21:31 makefile 21:39:37 drwxrwxr-x 9 jenkins jenkins 4096 May 22 21:31 res 21:39:37 drwxrwxr-x 4 jenkins jenkins 4096 May 22 21:31 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:38 + 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=c34dca418e7eed00f1b5c5821876dfbc59d3ec87 --label arch=arm64 --label version=0.0.0 . 21:39:38 Sending build context to Docker daemon 169.5kB 21:39:38 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 21:39:38 Step 2/26 : FROM ${BASE} AS builder 21:39:38 ---> e7789ae7732b 21:39:38 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 21:39:38 ---> Running in fde5aca7d776 21:39:39 Removing intermediate container fde5aca7d776 21:39:39 ---> 83fa8a23e5d7 21:39:39 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 21:39:39 ---> Running in 0b4250921abb 21:39:39 Removing intermediate container 0b4250921abb 21:39:39 ---> b111d50114a6 21:39:39 Step 5/26 : ARG ADD_BUILD_TAGS="" 21:39:39 ---> Running in 22cab87314c6 21:39:40 Removing intermediate container 22cab87314c6 21:39:40 ---> 5275b00dee83 21:39:40 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:39:40 ---> Running in a1c84ab6d157 21:39:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:39:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:39:43 OK: 263 MiB in 53 packages 21:39:44 Removing intermediate container a1c84ab6d157 21:39:44 ---> 0650ece48be2 21:39:44 Step 7/26 : WORKDIR /app 21:39:44 ---> Running in 71c43fa3b270 21:39:45 Removing intermediate container 71c43fa3b270 21:39:45 ---> a4e9a52f866f 21:39:45 Step 8/26 : COPY go.mod vendor* ./ 21:39:45 ---> b972866db563 21:39:45 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:39:45 ---> Running in b77d777550f5 21:39:49 Removing intermediate container b77d777550f5 21:39:49 ---> baa857dbf23e 21:39:49 Step 10/26 : COPY . . 21:39:49 ---> 3287e33fb485 21:39:49 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:39:49 ---> Running in eaf0dd0121c1 21:39:49 Removing intermediate container eaf0dd0121c1 21:39:49 ---> e10e3189390f 21:39:49 Step 12/26 : RUN $MAKE 21:39:50 ---> Running in c39cf49dffd7 21:39:51 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.67 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 21:42:42 Removing intermediate container c39cf49dffd7 21:42:42 ---> c36494d874bb 21:42:42 Step 13/26 : FROM alpine:3.17 21:42:42 3.17: Pulling from library/alpine 21:42:42 c41833b44d91: Already exists 21:42:42 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:42:42 Status: Downloaded newer image for alpine:3.17 21:42:42 ---> 51e60588ff2c 21:42:42 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:42:42 ---> Running in eeccc3578513 21:42:42 Removing intermediate container eeccc3578513 21:42:42 ---> 603c801dfc72 21:42:42 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 21:42:42 ---> Running in 74946274b690 21:42:42 Removing intermediate container 74946274b690 21:42:42 ---> 27fc563ad1d4 21:42:42 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 21:42:42 ---> Running in 63690d7ed019 21:42:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:42:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:42:42 (1/2) Installing ca-certificates (20230506-r0) 21:42:42 (2/2) Installing dumb-init (1.2.5-r2) 21:42:42 Executing busybox-1.35.0-r29.trigger 21:42:42 Executing ca-certificates-20230506-r0.trigger 21:42:42 OK: 8 MiB in 17 packages 21:42:42 Removing intermediate container 63690d7ed019 21:42:42 ---> b2a4a0f52dea 21:42:42 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:42:42 ---> d38ffb367125 21:42:42 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 21:42:42 ---> 7a3ffef547d7 21:42:42 Step 19/26 : COPY --from=builder /app/res/ /res/ 21:42:42 ---> d652b292e4ea 21:42:42 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 21:42:43 ---> 061dae5a2d3f 21:42:43 Step 21/26 : EXPOSE 48095 21:42:44 ---> Running in fd5bdd9a802f 21:42:44 Removing intermediate container fd5bdd9a802f 21:42:44 ---> 918d87ae7fe7 21:42:44 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 21:42:44 ---> Running in ff1896d33eb2 21:42:45 Removing intermediate container ff1896d33eb2 21:42:45 ---> d01b162751eb 21:42:45 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:42:45 ---> Running in 0dfcb082d5a8 21:42:45 Removing intermediate container 0dfcb082d5a8 21:42:45 ---> 384be5a10933 21:42:45 Step 24/26 : LABEL arch=arm64 21:42:45 ---> Running in f97f6717fb68 21:42:45 Removing intermediate container f97f6717fb68 21:42:45 ---> 6f676dbc5912 21:42:45 Step 25/26 : LABEL git_sha=c34dca418e7eed00f1b5c5821876dfbc59d3ec87 21:42:45 ---> Running in b53eadb4ea89 21:42:46 Removing intermediate container b53eadb4ea89 21:42:46 ---> e0e047b4a294 21:42:46 Step 26/26 : LABEL version=0.0.0 21:42:46 ---> Running in 92de719866ba 21:42:46 Removing intermediate container 92de719866ba 21:42:46 ---> 24f2b189bb64 21:42:46 [Warning] One or more build-args [ARCH] were not consumed 21:42:46 Successfully built 24f2b189bb64 21:42:46 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 21:42:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:42:47 21:42:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:42:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:42:48 arm64: Pulling from edgex-lftools-log-publisher 21:42:48 8998bd30e6a1: Pulling fs layer 21:42:48 04944245beec: Pulling fs layer 21:42:48 699f458cf7ca: Pulling fs layer 21:42:48 765212b225bb: Pulling fs layer 21:42:48 f23df028b6ca: Pulling fs layer 21:42:48 d65c8cfc05b1: Pulling fs layer 21:42:48 2437ff75d9bd: Pulling fs layer 21:42:48 765212b225bb: Waiting 21:42:48 f23df028b6ca: Waiting 21:42:48 d65c8cfc05b1: Waiting 21:42:48 2437ff75d9bd: Waiting 21:42:48 04944245beec: Verifying Checksum 21:42:48 04944245beec: Download complete 21:42:48 765212b225bb: Verifying Checksum 21:42:48 765212b225bb: Download complete 21:42:48 f23df028b6ca: Download complete 21:42:48 d65c8cfc05b1: Verifying Checksum 21:42:48 d65c8cfc05b1: Download complete 21:42:48 699f458cf7ca: Verifying Checksum 21:42:48 699f458cf7ca: Download complete 21:42:48 8998bd30e6a1: Download complete 21:42:51 2437ff75d9bd: Verifying Checksum 21:42:51 2437ff75d9bd: Download complete 21:42:53 8998bd30e6a1: Pull complete 21:42:54 04944245beec: Pull complete 21:42:57 699f458cf7ca: Pull complete 21:42:57 765212b225bb: Pull complete 21:42:58 f23df028b6ca: Pull complete 21:42:58 d65c8cfc05b1: Pull complete 21:43:17 2437ff75d9bd: Pull complete 21:43:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:43:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:43:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:43:17 prd-ubuntu20.04-docker-arm64-4c-16g-16362 does not seem to be running inside a container 21:43:17 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:43:20 $ docker top cc565a75cf58875e0862227ad08c0f8afbeb2a5cb3bc939913e6adcd9b6f8e6f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:43:21 ---> job-cost.sh 21:43:21 lf-activate-venv: SKIPPING 21:43:21 INFO: No Stack... 21:43:22 INFO: Retrieving Pricing Info for: v3-standard-4 21:43:23 INFO: Archiving Costs [Pipeline] sh 21:43:23 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 21:43:23 + cut -d, -f6 [Pipeline] lock 21:43:23 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-566-1-stack-cost] 21:43:23 Resource [jenkins-edgexfoundry-app-service-configurable-PR-566-1-stack-cost] did not exist. Created. 21:43:23 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-566-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:43:24 /w/workspace/app-service-configurable/1@tmp/durable-b338c9df/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:43:25 + echo total: 0.10999999940395355 [Pipeline] stash 21:43:25 Warning: overwriting stash ‘stack-cost’ 21:43:25 Stashed 1 file(s) [Pipeline] } 21:43:25 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-566-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:43:25 $ docker stop --time=1 cc565a75cf58875e0862227ad08c0f8afbeb2a5cb3bc939913e6adcd9b6f8e6f 21:43:27 $ docker rm -f --volumes cc565a75cf58875e0862227ad08c0f8afbeb2a5cb3bc939913e6adcd9b6f8e6f [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 21:43:28 provisioning config files... 21:43:28 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-566@tmp/config11639569895459740782tmp [Pipeline] { [Pipeline] sh 21:43:28 + set +x 21:43:28 + curl -s https://codecov.io/bash 21:43:28 + bash -s -- 21:43:28 21:43:28 _____ _ 21:43:28 / ____| | | 21:43:28 | | ___ __| | ___ ___ _____ __ 21:43:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:43:28 | |___| (_) | (_| | __/ (_| (_) \ V / 21:43:28 \_____\___/ \__,_|\___|\___\___/ \_/ 21:43:28 Bash-1.0.6 21:43:28 21:43:28 21:43:28 ==> git version 2.25.1 found 21:43:28 ==> 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 21:43:28 Release-Date: 2020-01-08 21:43:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:43:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:43:28 ==> Jenkins CI detected. 21:43:28 current dir:  /w/workspace/_app-service-configurable_PR-566 21:43:28 project root: . 21:43:28 --> token set from env 21:43:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:43:28 ==> Running gcov in . (disable via -X gcov) 21:43:28 ==> Python coveragepy not found 21:43:28 ==> Searching for coverage reports in: 21:43:28 + . 21:43:28 -> Found 1 reports 21:43:28 ==> Detecting git/mercurial file structure 21:43:28 ==> Reading reports 21:43:28 + ./coverage.out bytes=13 21:43:28 ==> Appending adjustments 21:43:28 https://docs.codecov.io/docs/fixing-reports 21:43:28 + Found adjustments 21:43:28 ==> Gzipping contents 21:43:28 4.0K /tmp/codecov.SsKrDj.gz 21:43:28 ==> Uploading reports 21:43:28 url: https://codecov.io 21:43:28 query: branch=PR-566&commit=c34dca418e7eed00f1b5c5821876dfbc59d3ec87&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-566%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=566&job=&cmd_args= 21:43:28 -> Pinging Codecov 21:43:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-566&commit=c34dca418e7eed00f1b5c5821876dfbc59d3ec87&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-566%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=566&job=&cmd_args= 21:43:28 -> Uploading to 21:43:28 https://storage.googleapis.com/codecov/v4/raw/2023-05-22/A97CA9966030D2A3747ED39772930CCE/c34dca418e7eed00f1b5c5821876dfbc59d3ec87/3c6a8efa-4e1c-4424-bf27-880f52174825.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230522%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230522T214328Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=976e2bc60b31e64ee643033f296154b363ffdcf53a438dd2b13ba1a74f658776 21:43:28 % Total % Received % Xferd Average Speed Time Time Time Current 21:43:28 Dload Upload Total Spent Left Speed 21:43:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 2318 --:--:-- --:--:-- --:--:-- 2318 21:43:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/c34dca418e7eed00f1b5c5821876dfbc59d3ec87 [Pipeline] } 21:43:29 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 21:43:30 + [ -d /w/workspace/_app-service-configurable_PR-566/archives ] 21:43:30 + ls -al /w/workspace/_app-service-configurable_PR-566/archives 21:43:30 total 16 21:43:30 drwxr-xr-x 3 root root 4096 May 22 21:29 . 21:43:30 drwxrwxr-x 9 jenkins jenkins 4096 May 22 21:29 .. 21:43:30 drwxr-xr-x 2 root root 4096 May 22 21:29 cost 21:43:30 -rw-r--r-- 1 root root 96 May 22 21:29 cost.csv 21:43:30 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-566/archives 21:43:30 + ls -al /w/workspace/_app-service-configurable_PR-566/archives 21:43:30 total 16 21:43:30 drwxr-xr-x 3 jenkins jenkins 4096 May 22 21:29 . 21:43:30 drwxrwxr-x 9 jenkins jenkins 4096 May 22 21:29 .. 21:43:30 drwxr-xr-x 2 jenkins jenkins 4096 May 22 21:29 cost 21:43:30 -rw-r--r-- 1 jenkins jenkins 96 May 22 21:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:43:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:43:32 ---> package-listing.sh 21:43:32 ++ tr '[:upper:]' '[:lower:]' 21:43:32 ++ facter osfamily 21:43:32 + OS_FAMILY=debian 21:43:32 + workspace=/w/workspace/_app-service-configurable_PR-566 21:43:32 + START_PACKAGES=/tmp/packages_start.txt 21:43:32 + END_PACKAGES=/tmp/packages_end.txt 21:43:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:43:32 + PACKAGES=/tmp/packages_start.txt 21:43:32 + '[' /w/workspace/_app-service-configurable_PR-566 ']' 21:43:32 + PACKAGES=/tmp/packages_end.txt 21:43:32 + case "${OS_FAMILY}" in 21:43:32 + dpkg -l 21:43:32 + grep '^ii' 21:43:32 + '[' -f /tmp/packages_start.txt ']' 21:43:32 + '[' -f /tmp/packages_end.txt ']' 21:43:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:43:32 + '[' /w/workspace/_app-service-configurable_PR-566 ']' 21:43:32 + mkdir -p /w/workspace/_app-service-configurable_PR-566/archives/ 21:43:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-566/archives/ [Pipeline] echo 21:43:32 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-566/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:43:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:43:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:43:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:43:33 prd-ubuntu20.04-docker-8c-8g-16359 does not seem to be running inside a container 21:43:33 $ 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-566/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-566 -v /w/workspace/_app-service-configurable_PR-566:/w/workspace/_app-service-configurable_PR-566:rw,z -v /w/workspace/_app-service-configurable_PR-566@tmp:/w/workspace/_app-service-configurable_PR-566@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 21:43:33 $ docker top f800a5957ef2ecc36d7c6c5a34a70125c4c54456c844f639b7d4df4f40ff3d7c -eo pid,comm [Pipeline] { [Pipeline] sh 21:43:34 + touch /tmp/pre-build-complete [Pipeline] sh 21:43:34 + mkdir -p /var/log/sysstat [Pipeline] sh 21:43:34 + ls /var/log/sa-host 21:43:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:43:34 provisioning config files... 21:43:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-566@tmp/config14741413751818920536tmp [Pipeline] { [Pipeline] echo 21:43:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:43:35 ---> create-netrc.sh [Pipeline] } 21:43:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:43:35 ---> python-tools-install.sh [Pipeline] echo 21:43:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:43:36 ---> sudo-logs.sh 21:43:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:43:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:43:36 ---> job-cost.sh 21:43:36 lf-activate-venv: SKIPPING 21:43:36 DEBUG: total: 0.2199999988079071 21:43:36 INFO: Retrieving Stack Cost... 21:43:37 INFO: Retrieving Pricing Info for: v3-standard-8 21:43:37 INFO: Archiving Costs [Pipeline] echo 21:43:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:43:37 ---> logs-deploy.sh 21:43:37 lf-activate-venv: SKIPPING 21:43:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-566/1 21:43:37 INFO: archiving workspace using pattern(s): 21:43:38 Archives upload complete. 21:43:38 INFO: archiving logs to Nexus