Pull request #563 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6e2b3d10677f98df2598c38a9f46677e7fe5bf48+0fcc735f3799786c7aa2b33ba7099069d129dc1c (9ce6d9aedb6c4231b82047448b865e6af6ef30ef) 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-ssh5170409055638802249.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-ssh8152554118191659594.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-563/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-563/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh233958081890385997.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-563/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4624575922047549441.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-ssh16604681134790016183.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-563/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-563/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14171931414082625002.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15516 in /w/workspace/_app-service-configurable_PR-563 [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-563 # 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/563/head:refs/remotes/origin/PR-563 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0fcc735f3799786c7aa2b33ba7099069d129dc1c into PR head commit 6e2b3d10677f98df2598c38a9f46677e7fe5bf48 Merge succeeded, producing 6e2b3d10677f98df2598c38a9f46677e7fe5bf48 Checking out Revision 6e2b3d10677f98df2598c38a9f46677e7fe5bf48 (PR-563) Commit message: "build(deps): bump github.com/canonical/edgex-snap-hooks/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 08:07:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e2b3d10677f98df2598c38a9f46677e7fe5bf48 # 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 0fcc735f3799786c7aa2b33ba7099069d129dc1c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6e2b3d10677f98df2598c38a9f46677e7fe5bf48 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:07:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:07:04 ========================================================= 08:07:04 EdgeX Global Pipelines Version Info 08:07:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:07:05 ------------------- 08:07:05 stable info: 08:07:05 ------------------- 08:07:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:07:05 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 08:07:05 Message: update stable to v1.0.249 08:07:05 ------------------- 08:07:05 experimental info: 08:07:05 ------------------- 08:07:05 Commited By: **** collab-it+edgex@linuxfoundation.org 08:07:05 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 08:07:05 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:07:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 08:07:06 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 08:07:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:07:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:07:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:07:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 08:07:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:07:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:07:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:07:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:07:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:07:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 08:07:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:07:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:07:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:07:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:07:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:07:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:07:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:07:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:07:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:07:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:07:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:07:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:07:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:07:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:07:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:07:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-563 [Pipeline] echo 08:07:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-563 [Pipeline] echo 08:07:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-563 [Pipeline] echo 08:07:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6e2b3d10677f98df2598c38a9f46677e7fe5bf48 [Pipeline] echo 08:07:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6e2b3d1 [Pipeline] echo 08:07:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:07:07 provisioning config files... 08:07:07 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-563@tmp/config13084598057793811704tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:07:07 ---> docker-login.sh 08:07:07 nexus3.edgexfoundry.org:10001 08:07:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:07:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:07:08 Configure a credential helper to remove this warning. See 08:07:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:07:08 08:07:08 Login Succeeded 08:07:08 nexus3.edgexfoundry.org:10002 08:07:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:07:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:07:08 Configure a credential helper to remove this warning. See 08:07:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:07:08 08:07:08 Login Succeeded 08:07:08 nexus3.edgexfoundry.org:10003 08:07:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:07:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:07:08 Configure a credential helper to remove this warning. See 08:07:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:07:08 08:07:08 Login Succeeded 08:07:08 nexus3.edgexfoundry.org:10004 08:07:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:07:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:07:08 Configure a credential helper to remove this warning. See 08:07:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:07:08 08:07:08 Login Succeeded 08:07:08 docker.io 08:07:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:07:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:07:09 Configure a credential helper to remove this warning. See 08:07:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:07:09 08:07:09 Login Succeeded 08:07:09 ---> docker-login.sh ends [Pipeline] } 08:07:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:07:09 + git rev-list -1 --merges 6e2b3d10677f98df2598c38a9f46677e7fe5bf48~1..6e2b3d10677f98df2598c38a9f46677e7fe5bf48 [Pipeline] echo 08:07:09 -----------> git rev-list -1 --merges 6e2b3d10677f98df2598c38a9f46677e7fe5bf48~1..6e2b3d10677f98df2598c38a9f46677e7fe5bf48 6e2b3d10677f98df2598c38a9f46677e7fe5bf48 [false] [Pipeline] sh 08:07:10 + git log --format=format:%s -1 6e2b3d10677f98df2598c38a9f46677e7fe5bf48 [Pipeline] echo 08:07:10 ========================================================= 08:07:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:07:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:07:10 + git log --format=format:%s -1 6e2b3d10677f98df2598c38a9f46677e7fe5bf48 [Pipeline] echo 08:07:10 [semverPrep] GIT_COMMIT: 6e2b3d10677f98df2598c38a9f46677e7fe5bf48, Commit Message: build(deps): bump github.com/canonical/edgex-snap-hooks/v3 [Pipeline] echo 08:07:10 [semverPrep] This is not a build commit. [Pipeline] sh 08:07:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:07:11 + grep -v github /etc/ssh/ssh_known_hosts 08:07:11 + [ -e /tmp/ssh_known_hosts ] 08:07:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:07:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:07:11 + sudo tee -a /etc/ssh/ssh_known_hosts 08:07:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:07:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:07:11 08:07:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:07:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:07:11 0.1.4: Pulling from edgex-devops/py-git-semver 08:07:11 b85a868b505f: Pulling fs layer 08:07:11 e2be974225ed: Pulling fs layer 08:07:11 339a4e72a1f5: Pulling fs layer 08:07:11 988bab9f4d93: Pulling fs layer 08:07:11 1469e6f7b9e6: Pulling fs layer 08:07:11 eaf3925da568: Pulling fs layer 08:07:11 988bab9f4d93: Waiting 08:07:11 1469e6f7b9e6: Waiting 08:07:11 bab4dde63d76: Pulling fs layer 08:07:11 bde34c3a00c8: Pulling fs layer 08:07:11 b352a97aabf1: Pulling fs layer 08:07:11 bab4dde63d76: Waiting 08:07:11 bde34c3a00c8: Waiting 08:07:11 4872d77fe225: Pulling fs layer 08:07:11 5851b861e8e6: Pulling fs layer 08:07:11 4872d77fe225: Waiting 08:07:11 e2be974225ed: Download complete 08:07:11 988bab9f4d93: Verifying Checksum 08:07:11 988bab9f4d93: Download complete 08:07:11 1469e6f7b9e6: Verifying Checksum 08:07:11 1469e6f7b9e6: Download complete 08:07:11 eaf3925da568: Verifying Checksum 08:07:11 eaf3925da568: Download complete 08:07:12 339a4e72a1f5: Verifying Checksum 08:07:12 339a4e72a1f5: Download complete 08:07:12 b352a97aabf1: Verifying Checksum 08:07:12 b352a97aabf1: Download complete 08:07:12 4872d77fe225: Verifying Checksum 08:07:12 4872d77fe225: Download complete 08:07:12 5851b861e8e6: Verifying Checksum 08:07:12 5851b861e8e6: Download complete 08:07:12 b85a868b505f: Verifying Checksum 08:07:12 b85a868b505f: Download complete 08:07:12 bab4dde63d76: Verifying Checksum 08:07:12 bab4dde63d76: Download complete 08:07:13 b85a868b505f: Pull complete 08:07:13 e2be974225ed: Pull complete 08:07:14 339a4e72a1f5: Pull complete 08:07:14 988bab9f4d93: Pull complete 08:07:14 1469e6f7b9e6: Pull complete 08:07:14 eaf3925da568: Pull complete 08:07:16 bab4dde63d76: Pull complete 08:07:16 bde34c3a00c8: Pull complete 08:07:16 b352a97aabf1: Pull complete 08:07:17 4872d77fe225: Pull complete 08:07:17 5851b861e8e6: Pull complete 08:07:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:07:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:07:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:07:17 prd-ubuntu20.04-docker-8c-8g-15516 does not seem to be running inside a container 08:07:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-563 -v /w/workspace/_app-service-configurable_PR-563:/w/workspace/_app-service-configurable_PR-563:rw,z -v /w/workspace/_app-service-configurable_PR-563@tmp:/w/workspace/_app-service-configurable_PR-563@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:07:20 $ docker top 2089f6d7e6a74b79bec947a626356c16a7b65fb89f873751d12433dca9271da7 -eo pid,comm 08:07:20 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). 08:07:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:07:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:07:20 [ssh-agent] Looking for ssh-agent implementation... 08:07:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:07:20 $ docker exec 2089f6d7e6a74b79bec947a626356c16a7b65fb89f873751d12433dca9271da7 ssh-agent 08:07:20 SSH_AUTH_SOCK=/tmp/ssh-s8ed1BxjYJtd/agent.31 08:07:20 SSH_AGENT_PID=37 08:07:20 Running ssh-add (command line suppressed) 08:07:20 Identity added: /w/workspace/_app-service-configurable_PR-563@tmp/private_key_12079462884086103431.key (/w/workspace/_app-service-configurable_PR-563@tmp/private_key_12079462884086103431.key) 08:07:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:07:21 + git tag --points-at HEAD [Pipeline] } 08:07:21 $ docker exec --env ******** --env ******** 2089f6d7e6a74b79bec947a626356c16a7b65fb89f873751d12433dca9271da7 ssh-agent -k 08:07:21 unset SSH_AUTH_SOCK; 08:07:21 unset SSH_AGENT_PID; 08:07:21 echo Agent pid 37 killed; 08:07:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:07:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:07:21 [ssh-agent] Looking for ssh-agent implementation... 08:07:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:07:21 $ docker exec 2089f6d7e6a74b79bec947a626356c16a7b65fb89f873751d12433dca9271da7 ssh-agent 08:07:21 SSH_AUTH_SOCK=/tmp/ssh-FGPx7YGLhWg9/agent.70 08:07:21 SSH_AGENT_PID=76 08:07:21 Running ssh-add (command line suppressed) 08:07:21 Identity added: /w/workspace/_app-service-configurable_PR-563@tmp/private_key_8309425555620995183.key (/w/workspace/_app-service-configurable_PR-563@tmp/private_key_8309425555620995183.key) 08:07:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:07:21 + git semver init 08:07:22 2023-05-16 08:07:22,151 [run_init] DEBUG init version:0.0.0 force:False 08:07:22 2023-05-16 08:07:22,152 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-563/.semver 08:07:22 2023-05-16 08:07:22,152 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-563/.semver 08:07:22 2023-05-16 08:07:22,152 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-563/.semver'], cwd=/w/workspace/_app-service-configurable_PR-563, universal_newlines=False, shell=None, istream=None) 08:07:23 2023-05-16 08:07:22,962 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-563/.git/info/exclude 08:07:23 2023-05-16 08:07:22,962 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-563/.semver/PR-563 with force:False 08:07:23 2023-05-16 08:07:22,963 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-563/.semver/PR-563 08:07:23 2023-05-16 08:07:22,967 [execute] INFO git cat-file --batch-check 08:07:23 2023-05-16 08:07:22,967 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-563/.semver, universal_newlines=False, shell=None, istream=) 08:07:23 2023-05-16 08:07:22,972 [execute] INFO git cat-file --batch 08:07:23 2023-05-16 08:07:22,973 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-563/.semver, universal_newlines=False, shell=None, istream=) 08:07:23 2023-05-16 08:07:22,978 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-563/.semver/PR-563 08:07:23 0.0.0 [Pipeline] } 08:07:23 $ docker exec --env ******** --env ******** 2089f6d7e6a74b79bec947a626356c16a7b65fb89f873751d12433dca9271da7 ssh-agent -k 08:07:23 unset SSH_AUTH_SOCK; 08:07:23 unset SSH_AGENT_PID; 08:07:23 echo Agent pid 76 killed; 08:07:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:07:23 + git semver [Pipeline] } 08:07:24 $ docker stop --time=1 2089f6d7e6a74b79bec947a626356c16a7b65fb89f873751d12433dca9271da7 08:07:25 $ docker rm -f --volumes 2089f6d7e6a74b79bec947a626356c16a7b65fb89f873751d12433dca9271da7 [Pipeline] // withDockerContainer [Pipeline] sh 08:07:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:07:26 Stashed 1 file(s) [Pipeline] echo 08:07:26 [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 08:07:26 provisioning config files... 08:07:26 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-563@tmp/config6674156526839802680tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:07:27 ---> docker-login.sh 08:07:27 nexus3.edgexfoundry.org:10001 08:07:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:07:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:07:27 Configure a credential helper to remove this warning. See 08:07:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:07:27 08:07:27 Login Succeeded 08:07:27 nexus3.edgexfoundry.org:10002 08:07:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:07:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:07:27 Configure a credential helper to remove this warning. See 08:07:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:07:27 08:07:27 Login Succeeded 08:07:27 nexus3.edgexfoundry.org:10003 08:07:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:07:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:07:27 Configure a credential helper to remove this warning. See 08:07:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:07:27 08:07:27 Login Succeeded 08:07:27 nexus3.edgexfoundry.org:10004 08:07:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:07:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:07:27 Configure a credential helper to remove this warning. See 08:07:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:07:27 08:07:27 Login Succeeded 08:07:27 docker.io 08:07:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:07:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:07:27 Configure a credential helper to remove this warning. See 08:07:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:07:27 08:07:27 Login Succeeded 08:07:27 ---> docker-login.sh ends [Pipeline] } 08:07:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:07:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:07:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:07:27 ========================================================= 08:07:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 08:07:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:07:28 + 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 . 08:07:28 Sending build context to Docker daemon 3.348MB 08:07:28 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 08:07:28 Step 2/12 : FROM ${BASE} AS builder 08:07:28 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 08:07:28 f56be85fc22e: Pulling fs layer 08:07:28 85791d961cd3: Pulling fs layer 08:07:28 d694b5ae8c79: Pulling fs layer 08:07:28 9f32a84ed3da: Pulling fs layer 08:07:28 4d19c01a9841: Pulling fs layer 08:07:28 9325e15d5711: Pulling fs layer 08:07:28 556b6ee489ea: Pulling fs layer 08:07:28 c5a4b2cf53e6: Pulling fs layer 08:07:28 9325e15d5711: Waiting 08:07:28 4d19c01a9841: Waiting 08:07:28 9f32a84ed3da: Waiting 08:07:28 556b6ee489ea: Waiting 08:07:28 c5a4b2cf53e6: Waiting 08:07:28 85791d961cd3: Download complete 08:07:28 9f32a84ed3da: Download complete 08:07:28 4d19c01a9841: Download complete 08:07:28 f56be85fc22e: Verifying Checksum 08:07:28 f56be85fc22e: Download complete 08:07:28 9325e15d5711: Verifying Checksum 08:07:28 9325e15d5711: Download complete 08:07:28 f56be85fc22e: Pull complete 08:07:28 85791d961cd3: Pull complete 08:07:29 c5a4b2cf53e6: Verifying Checksum 08:07:29 c5a4b2cf53e6: Download complete 08:07:29 d694b5ae8c79: Verifying Checksum 08:07:29 d694b5ae8c79: Download complete 08:07:29 556b6ee489ea: Verifying Checksum 08:07:29 556b6ee489ea: Download complete 08:07:33 d694b5ae8c79: Pull complete 08:07:33 9f32a84ed3da: Pull complete 08:07:33 4d19c01a9841: Pull complete 08:07:33 9325e15d5711: Pull complete 08:07:35 556b6ee489ea: Pull complete 08:07:36 c5a4b2cf53e6: Pull complete 08:07:36 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 08:07:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 08:07:36 ---> c4be618373d6 08:07:36 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 08:07:41 Still waiting to schedule task 08:07:41 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15514’ 08:07:42 ---> Running in 038067d66357 08:07:42 Removing intermediate container 038067d66357 08:07:42 ---> bad90271b653 08:07:42 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:07:42 ---> Running in b2399fdb3567 08:07:42 Removing intermediate container b2399fdb3567 08:07:42 ---> 1fa1df569998 08:07:42 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:07:42 ---> Running in 092808b8aefd 08:07:42 Removing intermediate container 092808b8aefd 08:07:42 ---> 6369546bdfba 08:07:42 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:07:42 ---> Running in 708ee2e27281 08:07:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:07:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:07:42 OK: 265 MiB in 53 packages 08:07:42 Removing intermediate container 708ee2e27281 08:07:42 ---> b64c05bacf9b 08:07:42 Step 7/12 : WORKDIR /app 08:07:42 ---> Running in d2097651be1c 08:07:42 Removing intermediate container d2097651be1c 08:07:42 ---> 378b1a55b35b 08:07:42 Step 8/12 : COPY go.mod vendor* ./ 08:07:43 ---> 49d4dd79f2b7 08:07:43 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:07:43 ---> Running in 6e2ff57d02d5 08:08:29 Removing intermediate container 6e2ff57d02d5 08:08:29 ---> 7b74df6b7770 08:08:29 Step 10/12 : COPY . . 08:08:29 ---> 382dd9eb1d18 08:08:29 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:08:29 ---> Running in 58193941fb58 08:08:29 Removing intermediate container 58193941fb58 08:08:29 ---> e8bcf3581252 08:08:29 Step 12/12 : RUN $MAKE 08:08:29 ---> Running in 8524dd3ddba1 08:08:29 noop 08:08:29 Removing intermediate container 8524dd3ddba1 08:08:29 ---> 33a3c7d297ad 08:08:29 Successfully built 33a3c7d297ad 08:08:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:08:30 + docker inspect -f . ci-base-image-x86_64 08:08:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:08:30 prd-ubuntu20.04-docker-8c-8g-15516 does not seem to be running inside a container 08:08:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-563 -v /w/workspace/_app-service-configurable_PR-563:/w/workspace/_app-service-configurable_PR-563:rw,z -v /w/workspace/_app-service-configurable_PR-563@tmp:/w/workspace/_app-service-configurable_PR-563@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:08:30 $ docker top cc69093296610a05f2d71d989ad7f1cdae3b648a8cf6b3f8853bce7cffaca2fa -eo pid,comm [Pipeline] { [Pipeline] sh 08:08:31 + go version 08:08:31 go version go1.20.2 linux/amd64 [Pipeline] } 08:08:31 $ docker stop --time=1 cc69093296610a05f2d71d989ad7f1cdae3b648a8cf6b3f8853bce7cffaca2fa 08:08:32 $ docker rm -f --volumes cc69093296610a05f2d71d989ad7f1cdae3b648a8cf6b3f8853bce7cffaca2fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:08:33 + docker inspect -f . ci-base-image-x86_64 08:08:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:08:33 prd-ubuntu20.04-docker-8c-8g-15516 does not seem to be running inside a container 08:08:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/_app-service-configurable_PR-563 -v /w/workspace/_app-service-configurable_PR-563:/w/workspace/_app-service-configurable_PR-563:rw,z -v /w/workspace/_app-service-configurable_PR-563@tmp:/w/workspace/_app-service-configurable_PR-563@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:08:34 $ docker top fdaa7ddf0af5563ebb3df31ba9dbf1eb14188219f7f34c5c3a5297e8e27dc0fe -eo pid,comm [Pipeline] { [Pipeline] sh 08:08:34 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-563 [Pipeline] fileExists [Pipeline] sh 08:08:34 + make test 08:08:34 go test -race -coverprofile=coverage.out ./... 08:08:56 ? github.com/edgexfoundry/app-service-configurable [no test files] 08:09:14 go vet ./... 08:09:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:09:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:09:19 ./bin/test-attribution-txt.sh 08:09:19 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 08:09:19 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 08:09:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:09:19 $ docker stop --time=1 fdaa7ddf0af5563ebb3df31ba9dbf1eb14188219f7f34c5c3a5297e8e27dc0fe 08:09:23 $ docker rm -f --volumes fdaa7ddf0af5563ebb3df31ba9dbf1eb14188219f7f34c5c3a5297e8e27dc0fe [Pipeline] // withDockerContainer [Pipeline] sh 08:09:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:09:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:09:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:09:25 + ls -al . 08:09:25 total 176 08:09:25 drwxrwxr-x 8 jenkins jenkins 4096 May 16 08:08 . 08:09:25 drwxrwxr-x 4 jenkins jenkins 4096 May 16 08:07 .. 08:09:25 -rw-rw-r-- 1 jenkins jenkins 119 May 16 08:07 .dockerignore 08:09:25 drwxrwxr-x 8 jenkins jenkins 4096 May 16 08:07 .git 08:09:25 drwxrwxr-x 3 jenkins jenkins 4096 May 16 08:07 .github 08:09:25 -rw-rw-r-- 1 jenkins jenkins 171 May 16 08:07 .gitignore 08:09:25 -rw-rw-r-- 1 jenkins jenkins 41 May 16 08:07 .golangci.yml 08:09:25 drwxr-xr-x 3 jenkins jenkins 4096 May 16 08:07 .semver 08:09:25 -rw-rw-r-- 1 jenkins jenkins 9088 May 16 08:07 Attribution.txt 08:09:25 -rw-rw-r-- 1 jenkins jenkins 29118 May 16 08:07 CHANGELOG.md 08:09:25 -rw-rw-r-- 1 jenkins jenkins 1898 May 16 08:07 Dockerfile 08:09:25 -rw-rw-r-- 1 jenkins jenkins 677 May 16 08:07 GOVERNANCE.md 08:09:25 -rw-rw-r-- 1 jenkins jenkins 688 May 16 08:07 Jenkinsfile 08:09:25 -rw-rw-r-- 1 jenkins jenkins 10174 May 16 08:07 LICENSE 08:09:25 -rw-rw-r-- 1 jenkins jenkins 618 May 16 08:07 OWNERS.md 08:09:25 -rw-rw-r-- 1 jenkins jenkins 4885 May 16 08:07 README.md 08:09:25 -rw-rw-r-- 1 jenkins jenkins 5 May 16 08:07 VERSION 08:09:25 drwxrwxr-x 2 jenkins jenkins 4096 May 16 08:07 bin 08:09:25 -rw-r--r-- 1 jenkins jenkins 13 May 16 08:08 coverage.out 08:09:25 -rw-rw-r-- 1 jenkins jenkins 3302 May 16 08:07 go.mod 08:09:25 -rw-rw-r-- 1 jenkins jenkins 31421 May 16 08:07 go.sum 08:09:25 -rw-rw-r-- 1 jenkins jenkins 1937 May 16 08:07 main.go 08:09:25 -rw-rw-r-- 1 jenkins jenkins 2569 May 16 08:07 makefile 08:09:25 drwxrwxr-x 9 jenkins jenkins 4096 May 16 08:07 res 08:09:25 drwxrwxr-x 4 jenkins jenkins 4096 May 16 08:07 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:09:25 + 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=6e2b3d10677f98df2598c38a9f46677e7fe5bf48 --label arch=amd64 --label version=0.0.0 . 08:09:25 Sending build context to Docker daemon 3.349MB 08:09:25 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 08:09:25 Step 2/26 : FROM ${BASE} AS builder 08:09:25 ---> 33a3c7d297ad 08:09:25 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 08:09:25 ---> Running in 1aa1a0c42506 08:09:25 Removing intermediate container 1aa1a0c42506 08:09:25 ---> 780726351685 08:09:25 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 08:09:25 ---> Running in 65fc39e57286 08:09:25 Removing intermediate container 65fc39e57286 08:09:25 ---> 423473eef12a 08:09:25 Step 5/26 : ARG ADD_BUILD_TAGS="" 08:09:25 ---> Running in ad1752fa4739 08:09:26 Removing intermediate container ad1752fa4739 08:09:26 ---> a954078ef3ac 08:09:26 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:09:26 ---> Running in f287303c1933 08:09:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:09:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:09:26 OK: 265 MiB in 53 packages 08:09:26 Removing intermediate container f287303c1933 08:09:26 ---> ad7ba3aceabd 08:09:26 Step 7/26 : WORKDIR /app 08:09:27 ---> Running in 1fc1bcb43ea4 08:09:27 Removing intermediate container 1fc1bcb43ea4 08:09:27 ---> 40b2e8142c5f 08:09:27 Step 8/26 : COPY go.mod vendor* ./ 08:09:27 ---> 50fc79ed924f 08:09:27 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:09:27 ---> Running in e83ddbb1060e 08:09:27 Removing intermediate container e83ddbb1060e 08:09:27 ---> 5d5b1b8cf8c2 08:09:27 Step 10/26 : COPY . . 08:09:28 ---> 8acb023ab307 08:09:28 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:09:28 ---> Running in 817a078d77e6 08:09:28 Removing intermediate container 817a078d77e6 08:09:28 ---> cbe4e04d36ff 08:09:28 Step 12/26 : RUN $MAKE 08:09:28 ---> Running in 95c4925d5207 08:09:28 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.63 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 08:09:50 Removing intermediate container 95c4925d5207 08:09:50 ---> a633d97be52b 08:09:50 Step 13/26 : FROM alpine:3.17 08:09:50 3.17: Pulling from library/alpine 08:09:50 f56be85fc22e: Already exists 08:09:50 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 08:09:50 Status: Downloaded newer image for alpine:3.17 08:09:50 ---> 9ed4aefc74f6 08:09:50 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:09:50 ---> Running in 354da714ec6f 08:09:50 Removing intermediate container 354da714ec6f 08:09:50 ---> e6b12457d3d1 08:09:50 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 08:09:50 ---> Running in f4d709f3d864 08:09:50 Removing intermediate container f4d709f3d864 08:09:50 ---> ea98e998e27f 08:09:50 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 08:09:50 ---> Running in 174aa3a931d9 08:09:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:09:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:09:50 (1/2) Installing ca-certificates (20230506-r0) 08:09:50 (2/2) Installing dumb-init (1.2.5-r2) 08:09:50 Executing busybox-1.35.0-r29.trigger 08:09:50 Executing ca-certificates-20230506-r0.trigger 08:09:50 OK: 8 MiB in 17 packages 08:09:51 Removing intermediate container 174aa3a931d9 08:09:51 ---> c34b25c66995 08:09:51 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 08:09:51 ---> 73452f2151a9 08:09:51 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 08:09:51 ---> 19881a85c63d 08:09:51 Step 19/26 : COPY --from=builder /app/res/ /res/ 08:09:51 ---> e3ec2f3d12ab 08:09:51 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 08:09:52 ---> 78817261d9ad 08:09:52 Step 21/26 : EXPOSE 48095 08:09:52 ---> Running in e37c20bcf925 08:09:52 Removing intermediate container e37c20bcf925 08:09:52 ---> bfb41b87bc99 08:09:52 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 08:09:52 ---> Running in 3bf553dd7e15 08:09:52 Removing intermediate container 3bf553dd7e15 08:09:52 ---> eef55ea3da4c 08:09:52 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 08:09:52 ---> Running in 73f3f3aca6bd 08:09:52 Removing intermediate container 73f3f3aca6bd 08:09:52 ---> fbe918b4b2c2 08:09:52 Step 24/26 : LABEL arch=amd64 08:09:52 ---> Running in 8cdcfdf54ebe 08:09:52 Removing intermediate container 8cdcfdf54ebe 08:09:52 ---> cf40d8ccbc8f 08:09:52 Step 25/26 : LABEL git_sha=6e2b3d10677f98df2598c38a9f46677e7fe5bf48 08:09:52 ---> Running in eaa8b869adfe 08:09:52 Removing intermediate container eaa8b869adfe 08:09:52 ---> 25332c4769b2 08:09:52 Step 26/26 : LABEL version=0.0.0 08:09:52 ---> Running in 526bc1bd2df4 08:09:52 Removing intermediate container 526bc1bd2df4 08:09:52 ---> b310e5149a47 08:09:52 [Warning] One or more build-args [ARCH] were not consumed 08:09:52 Successfully built b310e5149a47 08:09:52 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 08:09:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:09:53 08:09:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:09:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:09:54 latest: Pulling from edgex-lftools-log-publisher 08:09:54 5eb5b503b376: Pulling fs layer 08:09:54 5c69ac0246d0: Pulling fs layer 08:09:54 ec43610c2a17: Pulling fs layer 08:09:54 3a2ae6a8a46f: Pulling fs layer 08:09:54 33b1e0a273af: Pulling fs layer 08:09:54 5d3b04190fa2: Pulling fs layer 08:09:54 2f39f015ded8: Pulling fs layer 08:09:54 33b1e0a273af: Waiting 08:09:54 3a2ae6a8a46f: Waiting 08:09:54 5d3b04190fa2: Waiting 08:09:54 2f39f015ded8: Waiting 08:09:54 5c69ac0246d0: Download complete 08:09:54 3a2ae6a8a46f: Verifying Checksum 08:09:54 3a2ae6a8a46f: Download complete 08:09:54 33b1e0a273af: Verifying Checksum 08:09:54 33b1e0a273af: Download complete 08:09:54 5d3b04190fa2: Download complete 08:09:54 ec43610c2a17: Verifying Checksum 08:09:54 ec43610c2a17: Download complete 08:09:54 5eb5b503b376: Verifying Checksum 08:09:54 5eb5b503b376: Download complete 08:09:54 2f39f015ded8: Download complete 08:09:55 5eb5b503b376: Pull complete 08:09:55 5c69ac0246d0: Pull complete 08:09:56 ec43610c2a17: Pull complete 08:09:56 3a2ae6a8a46f: Pull complete 08:09:56 33b1e0a273af: Pull complete 08:09:56 5d3b04190fa2: Pull complete 08:10:00 2f39f015ded8: Pull complete 08:10:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:10:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:10:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:10:01 prd-ubuntu20.04-docker-8c-8g-15516 does not seem to be running inside a container 08:10:01 $ 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-563 -v /w/workspace/_app-service-configurable_PR-563:/w/workspace/_app-service-configurable_PR-563:rw,z -v /w/workspace/_app-service-configurable_PR-563@tmp:/w/workspace/_app-service-configurable_PR-563@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:10:04 $ docker top 8132eaf6e118e60ed125b6657af35462e708053b7a500443187a3fde540c66e7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:10:05 ---> job-cost.sh 08:10:05 lf-activate-venv: SKIPPING 08:10:05 INFO: No Stack... 08:10:05 INFO: Retrieving Pricing Info for: v3-standard-8 08:10:06 INFO: Archiving Costs [Pipeline] sh 08:10:06 + cat /w/workspace/_app-service-configurable_PR-563/archives/cost.csv 08:10:06 + cut -d, -f6 [Pipeline] lock 08:10:06 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-563-1-stack-cost] 08:10:06 Resource [jenkins-edgexfoundry-app-service-configurable-PR-563-1-stack-cost] did not exist. Created. 08:10:06 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-563-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:10:06 + echo total: 0.2199999988079071 [Pipeline] stash 08:10:06 Stashed 1 file(s) [Pipeline] } 08:10:06 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-563-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:10:06 $ docker stop --time=1 8132eaf6e118e60ed125b6657af35462e708053b7a500443187a3fde540c66e7 08:10:08 $ docker rm -f --volumes 8132eaf6e118e60ed125b6657af35462e708053b7a500443187a3fde540c66e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:10:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15517 in /w/workspace/_app-service-configurable_PR-563 [Pipeline] { [Pipeline] ws 08:10:44 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 08:10:44 Selected Git installation does not exist. Using Default 08:10:44 The recommended git tool is: NONE 08:10:49 using credential edgex-jenkins-ssh 08:10:49 Cloning the remote Git repository 08:10:49 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 08:10:50 > git init /w/workspace/app-service-configurable/1 # timeout=10 08:10:50 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 08:10:50 > git --version # timeout=10 08:10:50 > git --version # 'git version 2.25.1' 08:10:50 using GIT_SSH to set credentials SSH Credentials for GitHub 08:10:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:10:51 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 08:10:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:10:53 Merging remotes/origin/main commit 0fcc735f3799786c7aa2b33ba7099069d129dc1c into PR head commit 6e2b3d10677f98df2598c38a9f46677e7fe5bf48 08:10:53 Merge succeeded, producing 6e2b3d10677f98df2598c38a9f46677e7fe5bf48 08:10:53 Checking out Revision 6e2b3d10677f98df2598c38a9f46677e7fe5bf48 (PR-563) 08:10:52 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 08:10:52 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 08:10:52 using GIT_SSH to set credentials SSH Credentials for GitHub 08:10:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/563/head:refs/remotes/origin/PR-563 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:10:53 > git config core.sparsecheckout # timeout=10 08:10:53 > git checkout -f 6e2b3d10677f98df2598c38a9f46677e7fe5bf48 # timeout=10 08:10:53 > git remote # timeout=10 08:10:53 > git config --get remote.origin.url # timeout=10 08:10:53 using GIT_SSH to set credentials SSH Credentials for GitHub 08:10:53 > git merge 0fcc735f3799786c7aa2b33ba7099069d129dc1c # timeout=10 08:10:53 > git rev-parse HEAD^{commit} # timeout=10 08:10:53 > git config core.sparsecheckout # timeout=10 08:10:53 > git checkout -f 6e2b3d10677f98df2598c38a9f46677e7fe5bf48 # timeout=10 08:10:53 Commit message: "build(deps): bump github.com/canonical/edgex-snap-hooks/v3" 08:10:53 > git --version # timeout=10 08:10:53 > git --version # 'git version 2.25.1' 08:10:53 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:10:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:10:54 % Total % Received % Xferd Average Speed Time Time Time Current 08:10:54 Dload Upload Total Spent Left Speed 08:10:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh 08:10:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:10:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:10:55 + sudo tee /etc/docker/daemon.new 08:10:55 { 08:10:55 "registry-mirrors": [ 08:10:55 "https://nexus3.edgexfoundry.org:10001" 08:10:55 ], 08:10:55 "bip": "10.250.0.254/24", 08:10:55 "hosts": [ 08:10:55 "tcp://0.0.0.0:5555", 08:10:55 "unix:///var/run/docker.sock" 08:10:55 ], 08:10:55 "mtu": 1458, 08:10:55 "selinux-enabled": true, 08:10:55 "seccomp-profile": "/etc/docker/seccomp.json" 08:10:55 } [Pipeline] sh 08:10:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:10:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:11:15 provisioning config files... 08:11:15 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config5165862509102090874tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:11:15 ---> docker-login.sh 08:11:15 nexus3.edgexfoundry.org:10001 08:11:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:11:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:11:16 Configure a credential helper to remove this warning. See 08:11:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:11:16 08:11:16 Login Succeeded 08:11:16 nexus3.edgexfoundry.org:10002 08:11:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:11:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:11:16 Configure a credential helper to remove this warning. See 08:11:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:11:16 08:11:16 Login Succeeded 08:11:16 nexus3.edgexfoundry.org:10003 08:11:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:11:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:11:16 Configure a credential helper to remove this warning. See 08:11:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:11:16 08:11:16 Login Succeeded 08:11:16 nexus3.edgexfoundry.org:10004 08:11:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:11:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:11:17 Configure a credential helper to remove this warning. See 08:11:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:11:17 08:11:17 Login Succeeded 08:11:17 docker.io 08:11:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:11:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:11:17 Configure a credential helper to remove this warning. See 08:11:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:11:17 08:11:17 Login Succeeded 08:11:17 ---> docker-login.sh ends [Pipeline] } 08:11:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:11:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:11:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:11:18 ========================================================= 08:11:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 08:11:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:11:18 + 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 . 08:11:18 Sending build context to Docker daemon 168.4kB 08:11:19 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 08:11:19 Step 2/12 : FROM ${BASE} AS builder 08:11:19 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:11:19 c41833b44d91: Pulling fs layer 08:11:19 ed15518f5707: Pulling fs layer 08:11:19 feae8fd75edb: Pulling fs layer 08:11:19 242c74f7c9fa: Pulling fs layer 08:11:19 3cdef696dda3: Pulling fs layer 08:11:19 2ced38df9373: Pulling fs layer 08:11:19 58f1dce35555: Pulling fs layer 08:11:19 242c74f7c9fa: Waiting 08:11:19 3cdef696dda3: Waiting 08:11:19 2ced38df9373: Waiting 08:11:19 58f1dce35555: Waiting 08:11:19 ed15518f5707: Verifying Checksum 08:11:19 ed15518f5707: Download complete 08:11:19 242c74f7c9fa: Download complete 08:11:19 3cdef696dda3: Verifying Checksum 08:11:19 3cdef696dda3: Download complete 08:11:19 c41833b44d91: Verifying Checksum 08:11:19 c41833b44d91: Download complete 08:11:20 c41833b44d91: Pull complete 08:11:20 58f1dce35555: Verifying Checksum 08:11:20 58f1dce35555: Download complete 08:11:20 ed15518f5707: Pull complete 08:11:21 feae8fd75edb: Verifying Checksum 08:11:21 feae8fd75edb: Download complete 08:11:21 2ced38df9373: Verifying Checksum 08:11:21 2ced38df9373: Download complete 08:11:34 feae8fd75edb: Pull complete 08:11:34 242c74f7c9fa: Pull complete 08:11:34 3cdef696dda3: Pull complete 08:11:39 2ced38df9373: Pull complete 08:11:41 58f1dce35555: Pull complete 08:11:41 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 08:11:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 08:11:41 ---> fadd8f120f05 08:11:41 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 08:11:43 ---> Running in 820eee7bb3f8 08:11:43 Removing intermediate container 820eee7bb3f8 08:11:43 ---> 29284d04b06d 08:11:43 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:11:43 ---> Running in 6e5624b503e6 08:11:44 Removing intermediate container 6e5624b503e6 08:11:44 ---> d622d3edbd9c 08:11:44 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:11:44 ---> Running in d633e45548e2 08:11:44 Removing intermediate container d633e45548e2 08:11:44 ---> 3321f4142c87 08:11:44 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:11:44 ---> Running in cfbd3c99d383 08:11:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:11:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:11:47 OK: 263 MiB in 53 packages 08:11:47 Removing intermediate container cfbd3c99d383 08:11:47 ---> fc05f26d8483 08:11:47 Step 7/12 : WORKDIR /app 08:11:47 ---> Running in ecf894b0281b 08:11:48 Removing intermediate container ecf894b0281b 08:11:48 ---> 1bcc07abcaf8 08:11:48 Step 8/12 : COPY go.mod vendor* ./ 08:11:48 ---> 88ba19f8f4c2 08:11:48 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:11:48 ---> Running in b33b9e29e7f2 08:12:56 Removing intermediate container b33b9e29e7f2 08:12:56 ---> 3fa9e01d21b2 08:12:56 Step 10/12 : COPY . . 08:12:56 ---> 940afdfe2b5a 08:12:56 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:12:56 ---> Running in 83f73cc5fe34 08:12:56 Removing intermediate container 83f73cc5fe34 08:12:56 ---> 009cd5969cf0 08:12:56 Step 12/12 : RUN $MAKE 08:12:56 ---> Running in 01e742c24cff 08:12:56 noop 08:12:56 Removing intermediate container 01e742c24cff 08:12:56 ---> 1f3c3a9ef791 08:12:56 Successfully built 1f3c3a9ef791 08:12:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:57 + docker inspect -f . ci-base-image-arm64 08:12:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:12:57 prd-ubuntu20.04-docker-arm64-4c-16g-15517 does not seem to be running inside a container 08:12:57 $ 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 08:12:58 $ docker top f9077db2a219476d07cf80bbf7154a76b039585b85980d06008dc74bffa9f67c -eo pid,comm [Pipeline] { [Pipeline] sh 08:12:59 + go version 08:12:59 go version go1.20.2 linux/arm64 [Pipeline] } 08:12:59 $ docker stop --time=1 f9077db2a219476d07cf80bbf7154a76b039585b85980d06008dc74bffa9f67c 08:13:01 $ docker rm -f --volumes f9077db2a219476d07cf80bbf7154a76b039585b85980d06008dc74bffa9f67c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:02 + docker inspect -f . ci-base-image-arm64 08:13:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:13:02 prd-ubuntu20.04-docker-arm64-4c-16g-15517 does not seem to be running inside a container 08:13:02 $ 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 08:13:03 $ docker top d480ea60b4b651df3867f66e03e146bb236a7f99672034c8431e410be4a3d5a1 -eo pid,comm [Pipeline] { [Pipeline] sh 08:13:04 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 08:13:05 + make test 08:13:05 go test -race -coverprofile=coverage.out ./... 08:15:42 ? github.com/edgexfoundry/app-service-configurable [no test files] 08:15:42 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:15:42 go vet ./... 08:18:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:18:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:18:03 ./bin/test-attribution-txt.sh 08:18:03 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 08:18:03 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 08:18:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:18:03 $ docker stop --time=1 d480ea60b4b651df3867f66e03e146bb236a7f99672034c8431e410be4a3d5a1 08:18:05 $ docker rm -f --volumes d480ea60b4b651df3867f66e03e146bb236a7f99672034c8431e410be4a3d5a1 [Pipeline] // withDockerContainer [Pipeline] sh 08:18:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:18:07 Warning: overwriting stash ‘coverage-report’ 08:18:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:18:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:18:08 + ls -al . 08:18:08 total 172 08:18:08 drwxrwxr-x 7 jenkins jenkins 4096 May 16 08:13 . 08:18:08 drwxrwxr-x 4 jenkins jenkins 4096 May 16 08:10 .. 08:18:08 -rw-rw-r-- 1 jenkins jenkins 119 May 16 08:10 .dockerignore 08:18:08 drwxrwxr-x 8 jenkins jenkins 4096 May 16 08:10 .git 08:18:08 drwxrwxr-x 3 jenkins jenkins 4096 May 16 08:10 .github 08:18:08 -rw-rw-r-- 1 jenkins jenkins 171 May 16 08:10 .gitignore 08:18:08 -rw-rw-r-- 1 jenkins jenkins 41 May 16 08:10 .golangci.yml 08:18:08 -rw-rw-r-- 1 jenkins jenkins 9088 May 16 08:10 Attribution.txt 08:18:08 -rw-rw-r-- 1 jenkins jenkins 29118 May 16 08:10 CHANGELOG.md 08:18:08 -rw-rw-r-- 1 jenkins jenkins 1898 May 16 08:10 Dockerfile 08:18:08 -rw-rw-r-- 1 jenkins jenkins 677 May 16 08:10 GOVERNANCE.md 08:18:08 -rw-rw-r-- 1 jenkins jenkins 688 May 16 08:10 Jenkinsfile 08:18:08 -rw-rw-r-- 1 jenkins jenkins 10174 May 16 08:10 LICENSE 08:18:08 -rw-rw-r-- 1 jenkins jenkins 618 May 16 08:10 OWNERS.md 08:18:08 -rw-rw-r-- 1 jenkins jenkins 4885 May 16 08:10 README.md 08:18:08 -rw-rw-r-- 1 jenkins jenkins 5 May 16 08:07 VERSION 08:18:08 drwxrwxr-x 2 jenkins jenkins 4096 May 16 08:10 bin 08:18:08 -rw-r--r-- 1 jenkins jenkins 13 May 16 08:13 coverage.out 08:18:08 -rw-rw-r-- 1 jenkins jenkins 3302 May 16 08:10 go.mod 08:18:08 -rw-rw-r-- 1 jenkins jenkins 31421 May 16 08:10 go.sum 08:18:08 -rw-rw-r-- 1 jenkins jenkins 1937 May 16 08:10 main.go 08:18:08 -rw-rw-r-- 1 jenkins jenkins 2569 May 16 08:10 makefile 08:18:08 drwxrwxr-x 9 jenkins jenkins 4096 May 16 08:10 res 08:18:08 drwxrwxr-x 4 jenkins jenkins 4096 May 16 08:10 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:18:09 + 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=6e2b3d10677f98df2598c38a9f46677e7fe5bf48 --label arch=arm64 --label version=0.0.0 . 08:18:09 Sending build context to Docker daemon 169.5kB 08:18:09 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 08:18:09 Step 2/26 : FROM ${BASE} AS builder 08:18:09 ---> 1f3c3a9ef791 08:18:09 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 08:18:09 ---> Running in d013e2c95590 08:18:09 Removing intermediate container d013e2c95590 08:18:09 ---> 00cb980a0adb 08:18:09 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 08:18:09 ---> Running in 734bbb7396f6 08:18:09 Removing intermediate container 734bbb7396f6 08:18:09 ---> 73c633296675 08:18:09 Step 5/26 : ARG ADD_BUILD_TAGS="" 08:18:10 ---> Running in 39a3a0162fe3 08:18:10 Removing intermediate container 39a3a0162fe3 08:18:10 ---> d34d2b35c2b9 08:18:10 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:18:10 ---> Running in 770b09b18f50 08:18:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:18:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:18:13 OK: 263 MiB in 53 packages 08:18:14 Removing intermediate container 770b09b18f50 08:18:14 ---> 5d3cffe9fb2e 08:18:14 Step 7/26 : WORKDIR /app 08:18:14 ---> Running in fde0add81d36 08:18:14 Removing intermediate container fde0add81d36 08:18:14 ---> efda4ce5ae6e 08:18:14 Step 8/26 : COPY go.mod vendor* ./ 08:18:14 ---> b6aabe7907f5 08:18:14 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:18:14 ---> Running in c5ffea4110a9 08:18:17 Removing intermediate container c5ffea4110a9 08:18:17 ---> af2ff6ecf970 08:18:17 Step 10/26 : COPY . . 08:18:17 ---> db926ffa2604 08:18:17 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:18:17 ---> Running in 7c2eba590b18 08:18:18 Removing intermediate container 7c2eba590b18 08:18:18 ---> f8a190a3faaa 08:18:18 Step 12/26 : RUN $MAKE 08:18:18 ---> Running in 76a1796edf58 08:18:19 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.63 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 08:20:25 Removing intermediate container 76a1796edf58 08:20:25 ---> 2425e78e94e8 08:20:25 Step 13/26 : FROM alpine:3.17 08:20:25 3.17: Pulling from library/alpine 08:20:25 c41833b44d91: Already exists 08:20:25 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 08:20:25 Status: Downloaded newer image for alpine:3.17 08:20:25 ---> 51e60588ff2c 08:20:25 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:20:25 ---> Running in 6801eac88c41 08:20:25 Removing intermediate container 6801eac88c41 08:20:25 ---> e4be0fb2cc7a 08:20:25 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 08:20:25 ---> Running in c6c2c5303436 08:20:25 Removing intermediate container c6c2c5303436 08:20:25 ---> e827736ed6f8 08:20:25 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 08:20:25 ---> Running in 967b383ce9d3 08:20:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:20:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:20:27 (1/2) Installing ca-certificates (20230506-r0) 08:20:27 (2/2) Installing dumb-init (1.2.5-r2) 08:20:27 Executing busybox-1.35.0-r29.trigger 08:20:27 Executing ca-certificates-20230506-r0.trigger 08:20:27 OK: 8 MiB in 17 packages 08:20:30 Removing intermediate container 967b383ce9d3 08:20:30 ---> 4c0a0433acec 08:20:30 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 08:20:30 ---> c04f8e7aba1c 08:20:30 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 08:20:30 ---> d8e038506be9 08:20:30 Step 19/26 : COPY --from=builder /app/res/ /res/ 08:20:31 ---> 050435f8d424 08:20:31 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 08:20:32 ---> c2515a8d765d 08:20:32 Step 21/26 : EXPOSE 48095 08:20:32 ---> Running in 0da2cdcb5861 08:20:33 Removing intermediate container 0da2cdcb5861 08:20:33 ---> e7dc61ecd619 08:20:33 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 08:20:33 ---> Running in b6f8da4a5438 08:20:33 Removing intermediate container b6f8da4a5438 08:20:33 ---> 080d3951d00f 08:20:33 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 08:20:33 ---> Running in 5abebd7fa162 08:20:33 Removing intermediate container 5abebd7fa162 08:20:33 ---> cff121f93bba 08:20:33 Step 24/26 : LABEL arch=arm64 08:20:33 ---> Running in 3994837296af 08:20:34 Removing intermediate container 3994837296af 08:20:34 ---> 9adcbfd05416 08:20:34 Step 25/26 : LABEL git_sha=6e2b3d10677f98df2598c38a9f46677e7fe5bf48 08:20:34 ---> Running in b2293879fcb1 08:20:34 Removing intermediate container b2293879fcb1 08:20:34 ---> ea8e0597d710 08:20:34 Step 26/26 : LABEL version=0.0.0 08:20:34 ---> Running in d7038548c48a 08:20:34 Removing intermediate container d7038548c48a 08:20:34 ---> 08fa9a7a82e2 08:20:34 [Warning] One or more build-args [ARCH] were not consumed 08:20:34 Successfully built 08fa9a7a82e2 08:20:34 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 08:20:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:20:35 08:20:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:20:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:20:36 arm64: Pulling from edgex-lftools-log-publisher 08:20:36 8998bd30e6a1: Pulling fs layer 08:20:36 04944245beec: Pulling fs layer 08:20:36 699f458cf7ca: Pulling fs layer 08:20:36 765212b225bb: Pulling fs layer 08:20:36 f23df028b6ca: Pulling fs layer 08:20:36 d65c8cfc05b1: Pulling fs layer 08:20:36 2437ff75d9bd: Pulling fs layer 08:20:36 765212b225bb: Waiting 08:20:36 d65c8cfc05b1: Waiting 08:20:36 2437ff75d9bd: Waiting 08:20:36 f23df028b6ca: Waiting 08:20:36 04944245beec: Verifying Checksum 08:20:36 04944245beec: Download complete 08:20:36 765212b225bb: Verifying Checksum 08:20:36 765212b225bb: Download complete 08:20:36 f23df028b6ca: Verifying Checksum 08:20:36 f23df028b6ca: Download complete 08:20:36 d65c8cfc05b1: Verifying Checksum 08:20:36 d65c8cfc05b1: Download complete 08:20:36 699f458cf7ca: Verifying Checksum 08:20:36 699f458cf7ca: Download complete 08:20:36 8998bd30e6a1: Download complete 08:20:38 2437ff75d9bd: Verifying Checksum 08:20:38 2437ff75d9bd: Download complete 08:20:40 8998bd30e6a1: Pull complete 08:20:41 04944245beec: Pull complete 08:20:42 699f458cf7ca: Pull complete 08:20:42 765212b225bb: Pull complete 08:20:43 f23df028b6ca: Pull complete 08:20:43 d65c8cfc05b1: Pull complete 08:20:55 2437ff75d9bd: Pull complete 08:20:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:20:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:20:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:20:56 prd-ubuntu20.04-docker-arm64-4c-16g-15517 does not seem to be running inside a container 08:20:56 $ 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 08:20:58 $ docker top 186b44b2ce6d77ebcee346992ef0150deab66f2e65ff3a27ce5480dcb011ae5a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:20:59 ---> job-cost.sh 08:20:59 lf-activate-venv: SKIPPING 08:20:59 INFO: No Stack... 08:21:00 INFO: Retrieving Pricing Info for: v3-standard-4 08:21:00 INFO: Archiving Costs [Pipeline] sh 08:21:01 + + cutcat -d, /w/workspace/app-service-configurable/1/archives/cost.csv 08:21:01 -f6 [Pipeline] lock 08:21:01 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-563-1-stack-cost] 08:21:01 Resource [jenkins-edgexfoundry-app-service-configurable-PR-563-1-stack-cost] did not exist. Created. 08:21:01 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-563-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:21:01 /w/workspace/app-service-configurable/1@tmp/durable-5a53e913/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:21:02 + echo total: 0.10999999940395355 [Pipeline] stash 08:21:02 Warning: overwriting stash ‘stack-cost’ 08:21:02 Stashed 1 file(s) [Pipeline] } 08:21:02 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-563-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:21:02 $ docker stop --time=1 186b44b2ce6d77ebcee346992ef0150deab66f2e65ff3a27ce5480dcb011ae5a 08:21:04 $ docker rm -f --volumes 186b44b2ce6d77ebcee346992ef0150deab66f2e65ff3a27ce5480dcb011ae5a [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 08:21:05 provisioning config files... 08:21:05 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-563@tmp/config15542527241595423680tmp [Pipeline] { [Pipeline] sh 08:21:05 + set +x 08:21:05 + curl -s https://codecov.io/bash 08:21:05 + bash -s -- 08:21:05 08:21:05 _____ _ 08:21:05 / ____| | | 08:21:05 | | ___ __| | ___ ___ _____ __ 08:21:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:21:05 | |___| (_) | (_| | __/ (_| (_) \ V / 08:21:05 \_____\___/ \__,_|\___|\___\___/ \_/ 08:21:05 Bash-1.0.6 08:21:05 08:21:05 08:21:05 ==> git version 2.25.1 found 08:21:05 ==> 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 08:21:05 Release-Date: 2020-01-08 08:21:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:21:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:21:05 ==> Jenkins CI detected. 08:21:05 current dir:  /w/workspace/_app-service-configurable_PR-563 08:21:05 project root: . 08:21:05 --> token set from env 08:21:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:21:05 ==> Running gcov in . (disable via -X gcov) 08:21:05 ==> Python coveragepy not found 08:21:05 ==> Searching for coverage reports in: 08:21:05 + . 08:21:06 -> Found 1 reports 08:21:06 ==> Detecting git/mercurial file structure 08:21:06 ==> Reading reports 08:21:06 + ./coverage.out bytes=13 08:21:06 ==> Appending adjustments 08:21:06 https://docs.codecov.io/docs/fixing-reports 08:21:06 + Found adjustments 08:21:06 ==> Gzipping contents 08:21:06 4.0K /tmp/codecov.ROjn7m.gz 08:21:06 ==> Uploading reports 08:21:06 url: https://codecov.io 08:21:06 query: branch=PR-563&commit=6e2b3d10677f98df2598c38a9f46677e7fe5bf48&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-563%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=563&job=&cmd_args= 08:21:06 -> Pinging Codecov 08:21:06 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-563&commit=6e2b3d10677f98df2598c38a9f46677e7fe5bf48&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-563%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=563&job=&cmd_args= 08:21:06 -> Uploading to 08:21:06 https://storage.googleapis.com/codecov/v4/raw/2023-05-16/A97CA9966030D2A3747ED39772930CCE/6e2b3d10677f98df2598c38a9f46677e7fe5bf48/7b51dfd6-4480-4570-935e-dd4cd40cb12c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230516T082106Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=74f5cab6feff7f34759228f0fca9fb9ddde28308b1c5883a7660552585034573 08:21:06 % Total % Received % Xferd Average Speed Time Time Time Current 08:21:06 Dload Upload Total Spent Left Speed 08:21:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 2092 --:--:-- --:--:-- --:--:-- 2092 08:21:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/6e2b3d10677f98df2598c38a9f46677e7fe5bf48 [Pipeline] } 08:21:06 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 08:21:08 + [ -d /w/workspace/_app-service-configurable_PR-563/archives ] 08:21:08 + ls -al /w/workspace/_app-service-configurable_PR-563/archives 08:21:08 total 16 08:21:08 drwxr-xr-x 3 root root 4096 May 16 08:10 . 08:21:08 drwxrwxr-x 9 jenkins jenkins 4096 May 16 08:10 .. 08:21:08 drwxr-xr-x 2 root root 4096 May 16 08:10 cost 08:21:08 -rw-r--r-- 1 root root 96 May 16 08:10 cost.csv 08:21:08 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-563/archives 08:21:08 + ls -al /w/workspace/_app-service-configurable_PR-563/archives 08:21:08 total 16 08:21:08 drwxr-xr-x 3 jenkins jenkins 4096 May 16 08:10 . 08:21:08 drwxrwxr-x 9 jenkins jenkins 4096 May 16 08:10 .. 08:21:08 drwxr-xr-x 2 jenkins jenkins 4096 May 16 08:10 cost 08:21:08 -rw-r--r-- 1 jenkins jenkins 96 May 16 08:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:21:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:21:09 ---> package-listing.sh 08:21:09 ++ facter osfamily 08:21:09 ++ tr '[:upper:]' '[:lower:]' 08:21:09 + OS_FAMILY=debian 08:21:09 + workspace=/w/workspace/_app-service-configurable_PR-563 08:21:09 + START_PACKAGES=/tmp/packages_start.txt 08:21:09 + END_PACKAGES=/tmp/packages_end.txt 08:21:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:21:09 + PACKAGES=/tmp/packages_start.txt 08:21:09 + '[' /w/workspace/_app-service-configurable_PR-563 ']' 08:21:09 + PACKAGES=/tmp/packages_end.txt 08:21:09 + case "${OS_FAMILY}" in 08:21:09 + dpkg -l 08:21:09 + grep '^ii' 08:21:09 + '[' -f /tmp/packages_start.txt ']' 08:21:09 + '[' -f /tmp/packages_end.txt ']' 08:21:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:21:09 + '[' /w/workspace/_app-service-configurable_PR-563 ']' 08:21:09 + mkdir -p /w/workspace/_app-service-configurable_PR-563/archives/ 08:21:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-563/archives/ [Pipeline] echo 08:21:09 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-563/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:21:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:21:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:21:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:21:10 prd-ubuntu20.04-docker-8c-8g-15516 does not seem to be running inside a container 08:21:10 $ 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-563/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-563 -v /w/workspace/_app-service-configurable_PR-563:/w/workspace/_app-service-configurable_PR-563:rw,z -v /w/workspace/_app-service-configurable_PR-563@tmp:/w/workspace/_app-service-configurable_PR-563@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 08:21:10 $ docker top c4246225651b8f9c3f3d7a33486de8fce540267d5a0e0533b0a906d63fbf3b44 -eo pid,comm [Pipeline] { [Pipeline] sh 08:21:11 + touch /tmp/pre-build-complete [Pipeline] sh 08:21:11 + mkdir -p /var/log/sysstat [Pipeline] sh 08:21:12 + ls /var/log/sa-host 08:21:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:21:12 provisioning config files... 08:21:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-563@tmp/config9630015912372297867tmp [Pipeline] { [Pipeline] echo 08:21:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:21:12 ---> create-netrc.sh [Pipeline] } 08:21:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:21:13 ---> python-tools-install.sh [Pipeline] echo 08:21:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:21:13 ---> sudo-logs.sh 08:21:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:21:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:21:13 ---> job-cost.sh 08:21:13 lf-activate-venv: SKIPPING 08:21:13 DEBUG: total: 0.2199999988079071 08:21:13 INFO: Retrieving Stack Cost... 08:21:14 INFO: Retrieving Pricing Info for: v3-standard-8 08:21:14 INFO: Archiving Costs [Pipeline] echo 08:21:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:21:14 ---> logs-deploy.sh 08:21:14 lf-activate-venv: SKIPPING 08:21:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-563/1 08:21:14 INFO: archiving workspace using pattern(s): 08:21:15 Archives upload complete. 08:21:15 INFO: archiving logs to Nexus