Pull request #563 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ff6790d74c3de8dfe26dc9d670f9deb9e399f418+0fcc735f3799786c7aa2b33ba7099069d129dc1c (72e5b586d83c908c99e61d75ef19fbc801b6a641) 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-ssh4241293595730141046.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-ssh7057749187244163673.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-563/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-ssh15167869185849839817.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 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-ssh2309021034519282746.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-563/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-ssh500383110741038737.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-15519 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 ff6790d74c3de8dfe26dc9d670f9deb9e399f418 Merge succeeded, producing ff6790d74c3de8dfe26dc9d670f9deb9e399f418 Checking out Revision ff6790d74c3de8dfe26dc9d670f9deb9e399f418 (PR-563) Commit message: "build(snap): Bump epoch for major v3 upgrade" > git config core.sparsecheckout # timeout=10 > git checkout -f ff6790d74c3de8dfe26dc9d670f9deb9e399f418 # 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 ff6790d74c3de8dfe26dc9d670f9deb9e399f418 # timeout=10 > git rev-list --no-walk 6e2b3d10677f98df2598c38a9f46677e7fe5bf48 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:22:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:22:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:22:35 ========================================================= 08:22:35 EdgeX Global Pipelines Version Info 08:22:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:22:36 ------------------- 08:22:36 stable info: 08:22:36 ------------------- 08:22:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:22:36 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 08:22:36 Message: update stable to v1.0.249 08:22:37 ------------------- 08:22:37 experimental info: 08:22:37 ------------------- 08:22:37 Commited By: **** collab-it+edgex@linuxfoundation.org 08:22:37 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 08:22:37 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:22:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 08:22:37 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 08:22:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:22:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:22:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:22:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 08:22:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:22:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:22:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:22:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:22:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:22:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 08:22:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:22:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:22:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:22:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:22:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:22:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:22:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:22:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:22:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:22:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:22:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:22:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:22:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:22:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:22:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:22:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-563 [Pipeline] echo 08:22:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-563 [Pipeline] echo 08:22:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-563 [Pipeline] echo 08:22:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ff6790d74c3de8dfe26dc9d670f9deb9e399f418 [Pipeline] echo 08:22:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ff6790d [Pipeline] echo 08:22:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:22:37 provisioning config files... 08:22:37 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-563@tmp/config11558007066294941947tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:22:38 ---> docker-login.sh 08:22:38 nexus3.edgexfoundry.org:10001 08:22:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:38 Configure a credential helper to remove this warning. See 08:22:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:38 08:22:38 Login Succeeded 08:22:38 nexus3.edgexfoundry.org:10002 08:22:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:38 Configure a credential helper to remove this warning. See 08:22:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:38 08:22:38 Login Succeeded 08:22:38 nexus3.edgexfoundry.org:10003 08:22:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:38 Configure a credential helper to remove this warning. See 08:22:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:38 08:22:38 Login Succeeded 08:22:38 nexus3.edgexfoundry.org:10004 08:22:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:38 Configure a credential helper to remove this warning. See 08:22:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:38 08:22:38 Login Succeeded 08:22:38 docker.io 08:22:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:38 Configure a credential helper to remove this warning. See 08:22:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:38 08:22:38 Login Succeeded 08:22:38 ---> docker-login.sh ends [Pipeline] } 08:22:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:22:39 + git rev-list -1 --merges ff6790d74c3de8dfe26dc9d670f9deb9e399f418~1..ff6790d74c3de8dfe26dc9d670f9deb9e399f418 [Pipeline] echo 08:22:39 -----------> git rev-list -1 --merges ff6790d74c3de8dfe26dc9d670f9deb9e399f418~1..ff6790d74c3de8dfe26dc9d670f9deb9e399f418 ff6790d74c3de8dfe26dc9d670f9deb9e399f418 [false] [Pipeline] sh 08:22:39 + git log --format=format:%s -1 ff6790d74c3de8dfe26dc9d670f9deb9e399f418 [Pipeline] echo 08:22:39 ========================================================= 08:22:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:22:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:22:39 + git log --format=format:%s -1 ff6790d74c3de8dfe26dc9d670f9deb9e399f418 [Pipeline] echo 08:22:39 [semverPrep] GIT_COMMIT: ff6790d74c3de8dfe26dc9d670f9deb9e399f418, Commit Message: build(snap): Bump epoch for major v3 upgrade [Pipeline] echo 08:22:39 [semverPrep] This is not a build commit. [Pipeline] sh 08:22:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:22:40 + grep -v github /etc/ssh/ssh_known_hosts 08:22:40 + [ -e /tmp/ssh_known_hosts ] 08:22:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:22:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:22:40 + sudo tee -a /etc/ssh/ssh_known_hosts 08:22:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:22:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:22:40 08:22:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:22:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:22:40 0.1.4: Pulling from edgex-devops/py-git-semver 08:22:40 b85a868b505f: Pulling fs layer 08:22:40 e2be974225ed: Pulling fs layer 08:22:40 339a4e72a1f5: Pulling fs layer 08:22:40 988bab9f4d93: Pulling fs layer 08:22:40 1469e6f7b9e6: Pulling fs layer 08:22:40 eaf3925da568: Pulling fs layer 08:22:40 bab4dde63d76: Pulling fs layer 08:22:40 bde34c3a00c8: Pulling fs layer 08:22:40 b352a97aabf1: Pulling fs layer 08:22:40 4872d77fe225: Pulling fs layer 08:22:40 5851b861e8e6: Pulling fs layer 08:22:40 bde34c3a00c8: Waiting 08:22:40 988bab9f4d93: Waiting 08:22:40 b352a97aabf1: Waiting 08:22:40 1469e6f7b9e6: Waiting 08:22:40 4872d77fe225: Waiting 08:22:40 eaf3925da568: Waiting 08:22:40 5851b861e8e6: Waiting 08:22:40 bab4dde63d76: Waiting 08:22:40 e2be974225ed: Download complete 08:22:40 988bab9f4d93: Verifying Checksum 08:22:40 988bab9f4d93: Download complete 08:22:41 1469e6f7b9e6: Verifying Checksum 08:22:41 1469e6f7b9e6: Download complete 08:22:41 339a4e72a1f5: Verifying Checksum 08:22:41 339a4e72a1f5: Download complete 08:22:41 eaf3925da568: Download complete 08:22:41 bde34c3a00c8: Download complete 08:22:41 b352a97aabf1: Verifying Checksum 08:22:41 b352a97aabf1: Download complete 08:22:41 4872d77fe225: Verifying Checksum 08:22:41 4872d77fe225: Download complete 08:22:41 5851b861e8e6: Verifying Checksum 08:22:41 5851b861e8e6: Download complete 08:22:41 b85a868b505f: Verifying Checksum 08:22:41 b85a868b505f: Download complete 08:22:41 bab4dde63d76: Verifying Checksum 08:22:41 bab4dde63d76: Download complete 08:22:42 b85a868b505f: Pull complete 08:22:42 e2be974225ed: Pull complete 08:22:43 339a4e72a1f5: Pull complete 08:22:43 988bab9f4d93: Pull complete 08:22:43 1469e6f7b9e6: Pull complete 08:22:43 eaf3925da568: Pull complete 08:22:45 bab4dde63d76: Pull complete 08:22:45 bde34c3a00c8: Pull complete 08:22:45 b352a97aabf1: Pull complete 08:22:45 4872d77fe225: Pull complete 08:22:45 5851b861e8e6: Pull complete 08:22:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:22:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:22:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:22:45 prd-ubuntu20.04-docker-8c-8g-15519 does not seem to be running inside a container 08:22:45 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:22:50 $ docker top a4169f8398ef75e658ed608d6dbe65405c7e845bc98e564b02c8102b5f2fa71c -eo pid,comm 08:22:50 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:22:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:22:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:22:50 [ssh-agent] Looking for ssh-agent implementation... 08:22:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:22:51 $ docker exec a4169f8398ef75e658ed608d6dbe65405c7e845bc98e564b02c8102b5f2fa71c ssh-agent 08:22:51 SSH_AUTH_SOCK=/tmp/ssh-sZMqCzXlVS1P/agent.14 08:22:51 SSH_AGENT_PID=21 08:22:51 Running ssh-add (command line suppressed) 08:22:51 Identity added: /w/workspace/_app-service-configurable_PR-563@tmp/private_key_6032012917586574632.key (/w/workspace/_app-service-configurable_PR-563@tmp/private_key_6032012917586574632.key) 08:22:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:22:51 + git tag --points-at HEAD [Pipeline] } 08:22:51 $ docker exec --env ******** --env ******** a4169f8398ef75e658ed608d6dbe65405c7e845bc98e564b02c8102b5f2fa71c ssh-agent -k 08:22:51 unset SSH_AUTH_SOCK; 08:22:51 unset SSH_AGENT_PID; 08:22:51 echo Agent pid 21 killed; 08:22:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:22:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:22:51 [ssh-agent] Looking for ssh-agent implementation... 08:22:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:22:51 $ docker exec a4169f8398ef75e658ed608d6dbe65405c7e845bc98e564b02c8102b5f2fa71c ssh-agent 08:22:52 SSH_AUTH_SOCK=/tmp/ssh-OXwVMSngBI3t/agent.72 08:22:52 SSH_AGENT_PID=78 08:22:52 Running ssh-add (command line suppressed) 08:22:52 Identity added: /w/workspace/_app-service-configurable_PR-563@tmp/private_key_2257116851784104098.key (/w/workspace/_app-service-configurable_PR-563@tmp/private_key_2257116851784104098.key) 08:22:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:22:52 + git semver init 08:22:52 2023-05-16 08:22:52,627 [run_init] DEBUG init version:0.0.0 force:False 08:22:52 2023-05-16 08:22:52,628 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-563/.semver 08:22:52 2023-05-16 08:22:52,628 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-563/.semver 08:22:52 2023-05-16 08:22:52,628 [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:22:53 2023-05-16 08:22:53,454 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-563/.git/info/exclude 08:22:53 2023-05-16 08:22:53,454 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-563/.semver/PR-563 with force:False 08:22:53 2023-05-16 08:22:53,455 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-563/.semver/PR-563 08:22:53 2023-05-16 08:22:53,459 [execute] INFO git cat-file --batch-check 08:22:53 2023-05-16 08:22:53,460 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-563/.semver, universal_newlines=False, shell=None, istream=) 08:22:53 2023-05-16 08:22:53,464 [execute] INFO git cat-file --batch 08:22:53 2023-05-16 08:22:53,465 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-563/.semver, universal_newlines=False, shell=None, istream=) 08:22:53 2023-05-16 08:22:53,468 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-563/.semver/PR-563 08:22:53 0.0.0 [Pipeline] } 08:22:53 $ docker exec --env ******** --env ******** a4169f8398ef75e658ed608d6dbe65405c7e845bc98e564b02c8102b5f2fa71c ssh-agent -k 08:22:53 unset SSH_AUTH_SOCK; 08:22:53 unset SSH_AGENT_PID; 08:22:53 echo Agent pid 78 killed; 08:22:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:22:54 + git semver [Pipeline] } 08:22:54 $ docker stop --time=1 a4169f8398ef75e658ed608d6dbe65405c7e845bc98e564b02c8102b5f2fa71c 08:22:55 $ docker rm -f --volumes a4169f8398ef75e658ed608d6dbe65405c7e845bc98e564b02c8102b5f2fa71c [Pipeline] // withDockerContainer [Pipeline] sh 08:22:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:22:56 Stashed 1 file(s) [Pipeline] echo 08:22:56 [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:22:56 provisioning config files... 08:22:56 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-563@tmp/config4941510279598367185tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:22:56 ---> docker-login.sh 08:22:56 nexus3.edgexfoundry.org:10001 08:22:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:56 Configure a credential helper to remove this warning. See 08:22:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:56 08:22:56 Login Succeeded 08:22:56 nexus3.edgexfoundry.org:10002 08:22:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:56 Configure a credential helper to remove this warning. See 08:22:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:56 08:22:56 Login Succeeded 08:22:56 nexus3.edgexfoundry.org:10003 08:22:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:56 Configure a credential helper to remove this warning. See 08:22:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:56 08:22:56 Login Succeeded 08:22:56 nexus3.edgexfoundry.org:10004 08:22:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:56 Configure a credential helper to remove this warning. See 08:22:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:56 08:22:56 Login Succeeded 08:22:56 docker.io 08:22:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:22:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:22:57 Configure a credential helper to remove this warning. See 08:22:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:22:57 08:22:57 Login Succeeded 08:22:57 ---> docker-login.sh ends [Pipeline] } 08:22:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:22:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:22:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:22:57 ========================================================= 08:22:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 08:22:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:22:57 + 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:22:57 Sending build context to Docker daemon 3.348MB 08:22:57 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 08:22:57 Step 2/12 : FROM ${BASE} AS builder 08:22:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 08:22:57 f56be85fc22e: Pulling fs layer 08:22:57 85791d961cd3: Pulling fs layer 08:22:57 d694b5ae8c79: Pulling fs layer 08:22:57 9f32a84ed3da: Pulling fs layer 08:22:57 4d19c01a9841: Pulling fs layer 08:22:57 9325e15d5711: Pulling fs layer 08:22:57 556b6ee489ea: Pulling fs layer 08:22:57 c5a4b2cf53e6: Pulling fs layer 08:22:57 9f32a84ed3da: Waiting 08:22:57 4d19c01a9841: Waiting 08:22:57 556b6ee489ea: Waiting 08:22:57 c5a4b2cf53e6: Waiting 08:22:57 9325e15d5711: Waiting 08:22:57 85791d961cd3: Download complete 08:22:57 9f32a84ed3da: Verifying Checksum 08:22:57 9f32a84ed3da: Download complete 08:22:57 4d19c01a9841: Verifying Checksum 08:22:57 4d19c01a9841: Download complete 08:22:57 f56be85fc22e: Download complete 08:22:57 9325e15d5711: Verifying Checksum 08:22:57 9325e15d5711: Download complete 08:22:57 f56be85fc22e: Pull complete 08:22:58 85791d961cd3: Pull complete 08:22:58 c5a4b2cf53e6: Verifying Checksum 08:22:58 c5a4b2cf53e6: Download complete 08:22:58 d694b5ae8c79: Verifying Checksum 08:22:58 d694b5ae8c79: Download complete 08:22:58 556b6ee489ea: Verifying Checksum 08:22:58 556b6ee489ea: Download complete 08:23:01 d694b5ae8c79: Pull complete 08:23:01 9f32a84ed3da: Pull complete 08:23:01 4d19c01a9841: Pull complete 08:23:01 9325e15d5711: Pull complete 08:23:04 556b6ee489ea: Pull complete 08:23:05 c5a4b2cf53e6: Pull complete 08:23:05 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 08:23:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 08:23:05 ---> c4be618373d6 08:23:05 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 08:23:10 ---> Running in 03c26c8742a2 08:23:10 Removing intermediate container 03c26c8742a2 08:23:10 ---> 4edfd055e74f 08:23:10 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:23:10 ---> Running in 2ad54947b7cd 08:23:10 Removing intermediate container 2ad54947b7cd 08:23:10 ---> 201f1e2c96b9 08:23:10 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:23:10 ---> Running in 370a1ba0ffdf 08:23:11 Removing intermediate container 370a1ba0ffdf 08:23:11 ---> 8ad1439b3be0 08:23:11 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:23:11 ---> Running in 0e5c9a5e9687 08:23:11 Still waiting to schedule task 08:23:11 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:23:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:23:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:23:14 OK: 265 MiB in 53 packages 08:23:14 Removing intermediate container 0e5c9a5e9687 08:23:14 ---> b541a4f72876 08:23:14 Step 7/12 : WORKDIR /app 08:23:14 ---> Running in 1bd4611ecff0 08:23:14 Removing intermediate container 1bd4611ecff0 08:23:14 ---> e450b9b75851 08:23:14 Step 8/12 : COPY go.mod vendor* ./ 08:23:14 ---> 588de9703adf 08:23:14 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:23:14 ---> Running in 79f689b11f1b 08:23:47 Removing intermediate container 79f689b11f1b 08:23:47 ---> ba963b0faf5e 08:23:47 Step 10/12 : COPY . . 08:23:48 ---> 2dba6432bed4 08:23:48 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:23:48 ---> Running in 121deeb75512 08:23:48 Removing intermediate container 121deeb75512 08:23:48 ---> 38b2e1613233 08:23:48 Step 12/12 : RUN $MAKE 08:23:48 ---> Running in 3ef6792ca32e 08:23:49 noop 08:23:50 Removing intermediate container 3ef6792ca32e 08:23:50 ---> ad0b231982cc 08:23:50 Successfully built ad0b231982cc 08:23:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:50 + docker inspect -f . ci-base-image-x86_64 08:23:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:23:50 prd-ubuntu20.04-docker-8c-8g-15519 does not seem to be running inside a container 08:23:50 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:23:51 $ docker top 0c2a4653dae6830adf108cd59e0260673a877eb5a31b259187ef119e38afe254 -eo pid,comm [Pipeline] { [Pipeline] sh 08:23:51 + go version 08:23:51 go version go1.20.2 linux/amd64 [Pipeline] } 08:23:51 $ docker stop --time=1 0c2a4653dae6830adf108cd59e0260673a877eb5a31b259187ef119e38afe254 08:23:53 $ docker rm -f --volumes 0c2a4653dae6830adf108cd59e0260673a877eb5a31b259187ef119e38afe254 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:53 + docker inspect -f . ci-base-image-x86_64 08:23:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:23:53 prd-ubuntu20.04-docker-8c-8g-15519 does not seem to be running inside a container 08:23:53 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:23:54 $ docker top b1d62d45f605cfc8378e9ee6cf7b6baed6a6bf636701057916dd07c1a2354f61 -eo pid,comm [Pipeline] { [Pipeline] sh 08:23:54 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-563 [Pipeline] fileExists [Pipeline] sh 08:23:54 + make test 08:23:54 go test -race -coverprofile=coverage.out ./... 08:24:14 ? github.com/edgexfoundry/app-service-configurable [no test files] 08:24:36 go vet ./... 08:24:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:24:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:24:37 ./bin/test-attribution-txt.sh 08:24:37 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 08:24:37 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 08:24:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:24:37 $ docker stop --time=1 b1d62d45f605cfc8378e9ee6cf7b6baed6a6bf636701057916dd07c1a2354f61 08:24:41 $ docker rm -f --volumes b1d62d45f605cfc8378e9ee6cf7b6baed6a6bf636701057916dd07c1a2354f61 [Pipeline] // withDockerContainer [Pipeline] sh 08:24:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:24:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:24:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:24:43 + ls -al . 08:24:43 total 176 08:24:43 drwxrwxr-x 8 jenkins jenkins 4096 May 16 08:23 . 08:24:43 drwxrwxr-x 4 jenkins jenkins 4096 May 16 08:22 .. 08:24:43 -rw-rw-r-- 1 jenkins jenkins 119 May 16 08:22 .dockerignore 08:24:43 drwxrwxr-x 8 jenkins jenkins 4096 May 16 08:22 .git 08:24:43 drwxrwxr-x 3 jenkins jenkins 4096 May 16 08:22 .github 08:24:43 -rw-rw-r-- 1 jenkins jenkins 171 May 16 08:22 .gitignore 08:24:43 -rw-rw-r-- 1 jenkins jenkins 41 May 16 08:22 .golangci.yml 08:24:43 drwxr-xr-x 3 jenkins jenkins 4096 May 16 08:22 .semver 08:24:43 -rw-rw-r-- 1 jenkins jenkins 9088 May 16 08:22 Attribution.txt 08:24:43 -rw-rw-r-- 1 jenkins jenkins 29118 May 16 08:22 CHANGELOG.md 08:24:43 -rw-rw-r-- 1 jenkins jenkins 1898 May 16 08:22 Dockerfile 08:24:43 -rw-rw-r-- 1 jenkins jenkins 677 May 16 08:22 GOVERNANCE.md 08:24:43 -rw-rw-r-- 1 jenkins jenkins 688 May 16 08:22 Jenkinsfile 08:24:43 -rw-rw-r-- 1 jenkins jenkins 10174 May 16 08:22 LICENSE 08:24:43 -rw-rw-r-- 1 jenkins jenkins 618 May 16 08:22 OWNERS.md 08:24:43 -rw-rw-r-- 1 jenkins jenkins 4885 May 16 08:22 README.md 08:24:43 -rw-rw-r-- 1 jenkins jenkins 5 May 16 08:22 VERSION 08:24:43 drwxrwxr-x 2 jenkins jenkins 4096 May 16 08:22 bin 08:24:43 -rw-r--r-- 1 jenkins jenkins 13 May 16 08:23 coverage.out 08:24:43 -rw-rw-r-- 1 jenkins jenkins 3302 May 16 08:22 go.mod 08:24:43 -rw-rw-r-- 1 jenkins jenkins 31421 May 16 08:22 go.sum 08:24:43 -rw-rw-r-- 1 jenkins jenkins 1937 May 16 08:22 main.go 08:24:43 -rw-rw-r-- 1 jenkins jenkins 2569 May 16 08:22 makefile 08:24:43 drwxrwxr-x 9 jenkins jenkins 4096 May 16 08:22 res 08:24:43 drwxrwxr-x 4 jenkins jenkins 4096 May 16 08:22 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:24:43 + 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=ff6790d74c3de8dfe26dc9d670f9deb9e399f418 --label arch=amd64 --label version=0.0.0 . 08:24:43 Sending build context to Docker daemon 3.349MB 08:24:43 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 08:24:43 Step 2/26 : FROM ${BASE} AS builder 08:24:43 ---> ad0b231982cc 08:24:43 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 08:24:43 ---> Running in 19703fe0f93f 08:24:43 Removing intermediate container 19703fe0f93f 08:24:43 ---> 633d854beff9 08:24:43 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 08:24:43 ---> Running in e032ea711d07 08:24:43 Removing intermediate container e032ea711d07 08:24:43 ---> 40068451524d 08:24:43 Step 5/26 : ARG ADD_BUILD_TAGS="" 08:24:44 ---> Running in 72c770e80447 08:24:44 Removing intermediate container 72c770e80447 08:24:44 ---> e649d26b6354 08:24:44 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:24:44 ---> Running in 3493df33ae99 08:24:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:24:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:24:44 OK: 265 MiB in 53 packages 08:24:45 Removing intermediate container 3493df33ae99 08:24:45 ---> 0b28e7109cd2 08:24:45 Step 7/26 : WORKDIR /app 08:24:45 ---> Running in 97a6d530038d 08:24:45 Removing intermediate container 97a6d530038d 08:24:45 ---> 0f81a4ab80d9 08:24:45 Step 8/26 : COPY go.mod vendor* ./ 08:24:45 ---> 54c8491016f2 08:24:45 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:24:45 ---> Running in 6ffad2e07735 08:24:46 Removing intermediate container 6ffad2e07735 08:24:46 ---> 4c2c5d6e548a 08:24:46 Step 10/26 : COPY . . 08:24:46 ---> 5cac87d4010c 08:24:46 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:24:46 ---> Running in 9d7c73b0edee 08:24:46 Removing intermediate container 9d7c73b0edee 08:24:46 ---> 19174acb08c6 08:24:46 Step 12/26 : RUN $MAKE 08:24:46 ---> Running in 1b9b9245cea5 08:24:46 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:25:08 Removing intermediate container 1b9b9245cea5 08:25:08 ---> b9e0f493aa8b 08:25:08 Step 13/26 : FROM alpine:3.17 08:25:08 3.17: Pulling from library/alpine 08:25:08 f56be85fc22e: Already exists 08:25:08 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 08:25:08 Status: Downloaded newer image for alpine:3.17 08:25:08 ---> 9ed4aefc74f6 08:25:08 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:25:08 ---> Running in 2ddf346bec3f 08:25:08 Removing intermediate container 2ddf346bec3f 08:25:08 ---> 123a6136ac9a 08:25:08 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 08:25:08 ---> Running in 70c0c4013570 08:25:08 Removing intermediate container 70c0c4013570 08:25:08 ---> 437fc17fa393 08:25:08 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 08:25:08 ---> Running in 0cb83c732ed4 08:25:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:25:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:25:09 (1/2) Installing ca-certificates (20230506-r0) 08:25:09 (2/2) Installing dumb-init (1.2.5-r2) 08:25:09 Executing busybox-1.35.0-r29.trigger 08:25:09 Executing ca-certificates-20230506-r0.trigger 08:25:09 OK: 8 MiB in 17 packages 08:25:09 Removing intermediate container 0cb83c732ed4 08:25:09 ---> eb774aa5d168 08:25:09 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 08:25:09 ---> a342ffd82277 08:25:09 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 08:25:09 ---> dc4914f6aac0 08:25:09 Step 19/26 : COPY --from=builder /app/res/ /res/ 08:25:10 ---> 2a8b43c5e8c6 08:25:10 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 08:25:11 ---> cfe7d7373bcf 08:25:11 Step 21/26 : EXPOSE 48095 08:25:11 ---> Running in 61d6bc37dc2f 08:25:11 Removing intermediate container 61d6bc37dc2f 08:25:11 ---> 77a7124e08ac 08:25:11 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 08:25:11 ---> Running in ddef621dbff6 08:25:11 Removing intermediate container ddef621dbff6 08:25:11 ---> b7a070ea4556 08:25:11 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 08:25:12 ---> Running in 9ee64f03f5e9 08:25:12 Removing intermediate container 9ee64f03f5e9 08:25:12 ---> 5f6da7a3a25e 08:25:12 Step 24/26 : LABEL arch=amd64 08:25:12 ---> Running in 70f90c07807e 08:25:12 Removing intermediate container 70f90c07807e 08:25:12 ---> d8eeca37c5d4 08:25:12 Step 25/26 : LABEL git_sha=ff6790d74c3de8dfe26dc9d670f9deb9e399f418 08:25:12 ---> Running in cf70257baa32 08:25:12 Removing intermediate container cf70257baa32 08:25:12 ---> 4231f4288f98 08:25:12 Step 26/26 : LABEL version=0.0.0 08:25:12 ---> Running in 1ab7eb534aee 08:25:12 Removing intermediate container 1ab7eb534aee 08:25:12 ---> 1a5bdfd81caa 08:25:12 [Warning] One or more build-args [ARCH] were not consumed 08:25:12 Successfully built 1a5bdfd81caa 08:25:12 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:25:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:25:13 08:25:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:25:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:25:13 latest: Pulling from edgex-lftools-log-publisher 08:25:13 5eb5b503b376: Pulling fs layer 08:25:13 5c69ac0246d0: Pulling fs layer 08:25:13 ec43610c2a17: Pulling fs layer 08:25:13 3a2ae6a8a46f: Pulling fs layer 08:25:13 33b1e0a273af: Pulling fs layer 08:25:13 5d3b04190fa2: Pulling fs layer 08:25:13 2f39f015ded8: Pulling fs layer 08:25:13 5d3b04190fa2: Waiting 08:25:13 33b1e0a273af: Waiting 08:25:13 2f39f015ded8: Waiting 08:25:13 3a2ae6a8a46f: Waiting 08:25:13 5c69ac0246d0: Download complete 08:25:13 3a2ae6a8a46f: Verifying Checksum 08:25:13 3a2ae6a8a46f: Download complete 08:25:13 33b1e0a273af: Verifying Checksum 08:25:13 33b1e0a273af: Download complete 08:25:13 5d3b04190fa2: Verifying Checksum 08:25:13 5d3b04190fa2: Download complete 08:25:13 ec43610c2a17: Verifying Checksum 08:25:13 ec43610c2a17: Download complete 08:25:13 5eb5b503b376: Verifying Checksum 08:25:13 5eb5b503b376: Download complete 08:25:14 2f39f015ded8: Verifying Checksum 08:25:14 2f39f015ded8: Download complete 08:25:15 5eb5b503b376: Pull complete 08:25:15 5c69ac0246d0: Pull complete 08:25:15 ec43610c2a17: Pull complete 08:25:15 3a2ae6a8a46f: Pull complete 08:25:15 33b1e0a273af: Pull complete 08:25:16 5d3b04190fa2: Pull complete 08:25:20 2f39f015ded8: Pull complete 08:25:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:25:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:25:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:25:20 prd-ubuntu20.04-docker-8c-8g-15519 does not seem to be running inside a container 08:25:20 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:25:27 $ docker top 44069e1fc13847ed59404f8dd530a3540f14abae0df7fb56e22467e1cc88c230 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:25:28 ---> job-cost.sh 08:25:28 lf-activate-venv: SKIPPING 08:25:28 INFO: No Stack... 08:25:28 INFO: Retrieving Pricing Info for: v3-standard-8 08:25:28 INFO: Archiving Costs [Pipeline] sh 08:25:28 + cat /w/workspace/_app-service-configurable_PR-563/archives/cost.csv 08:25:28 + cut -d, -f6 [Pipeline] lock 08:25:28 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-563-2-stack-cost] 08:25:28 Resource [jenkins-edgexfoundry-app-service-configurable-PR-563-2-stack-cost] did not exist. Created. 08:25:28 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-563-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:25:29 + echo total: 0.2199999988079071 [Pipeline] stash 08:25:29 Stashed 1 file(s) [Pipeline] } 08:25:29 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-563-2-stack-cost] [Pipeline] // lock [Pipeline] } 08:25:29 $ docker stop --time=1 44069e1fc13847ed59404f8dd530a3540f14abae0df7fb56e22467e1cc88c230 08:25:30 $ docker rm -f --volumes 44069e1fc13847ed59404f8dd530a3540f14abae0df7fb56e22467e1cc88c230 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:25:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15521 in /w/workspace/_app-service-configurable_PR-563 [Pipeline] { [Pipeline] ws 08:25:40 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 08:25:40 Selected Git installation does not exist. Using Default 08:25:40 The recommended git tool is: NONE 08:25:46 using credential edgex-jenkins-ssh 08:25:46 Cloning the remote Git repository 08:25:46 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 08:25:46 > git init /w/workspace/app-service-configurable/2 # timeout=10 08:25:47 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 08:25:47 > git --version # timeout=10 08:25:47 > git --version # 'git version 2.25.1' 08:25:47 using GIT_SSH to set credentials SSH Credentials for GitHub 08:25:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:25:48 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 08:25:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:25:50 Merging remotes/origin/main commit 0fcc735f3799786c7aa2b33ba7099069d129dc1c into PR head commit ff6790d74c3de8dfe26dc9d670f9deb9e399f418 08:25:50 Merge succeeded, producing ff6790d74c3de8dfe26dc9d670f9deb9e399f418 08:25:50 Checking out Revision ff6790d74c3de8dfe26dc9d670f9deb9e399f418 (PR-563) 08:25:49 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 08:25:49 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 08:25:49 using GIT_SSH to set credentials SSH Credentials for GitHub 08:25:49 > 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:25:50 > git config core.sparsecheckout # timeout=10 08:25:50 > git checkout -f ff6790d74c3de8dfe26dc9d670f9deb9e399f418 # timeout=10 08:25:50 > git remote # timeout=10 08:25:50 > git config --get remote.origin.url # timeout=10 08:25:50 using GIT_SSH to set credentials SSH Credentials for GitHub 08:25:50 > git merge 0fcc735f3799786c7aa2b33ba7099069d129dc1c # timeout=10 08:25:50 > git rev-parse HEAD^{commit} # timeout=10 08:25:50 > git config core.sparsecheckout # timeout=10 08:25:50 > git checkout -f ff6790d74c3de8dfe26dc9d670f9deb9e399f418 # timeout=10 08:25:51 Commit message: "build(snap): Bump epoch for major v3 upgrade" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:25:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:25:51 % Total % Received % Xferd Average Speed Time Time Time Current 08:25:51 Dload Upload Total Spent Left Speed 08:25:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh 08:25:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:25:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:25:52 + sudo tee /etc/docker/daemon.new 08:25:52 { 08:25:52 "registry-mirrors": [ 08:25:52 "https://nexus3.edgexfoundry.org:10001" 08:25:52 ], 08:25:52 "bip": "10.250.0.254/24", 08:25:52 "hosts": [ 08:25:52 "tcp://0.0.0.0:5555", 08:25:52 "unix:///var/run/docker.sock" 08:25:52 ], 08:25:52 "mtu": 1458, 08:25:52 "selinux-enabled": true, 08:25:52 "seccomp-profile": "/etc/docker/seccomp.json" 08:25:52 } [Pipeline] sh 08:25:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:25:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:26:11 provisioning config files... 08:26:11 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config14878605251021406004tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:26:12 ---> docker-login.sh 08:26:12 nexus3.edgexfoundry.org:10001 08:26:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:26:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:26:13 Configure a credential helper to remove this warning. See 08:26:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:26:13 08:26:13 Login Succeeded 08:26:13 nexus3.edgexfoundry.org:10002 08:26:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:26:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:26:13 Configure a credential helper to remove this warning. See 08:26:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:26:13 08:26:13 Login Succeeded 08:26:13 nexus3.edgexfoundry.org:10003 08:26:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:26:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:26:13 Configure a credential helper to remove this warning. See 08:26:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:26:13 08:26:13 Login Succeeded 08:26:13 nexus3.edgexfoundry.org:10004 08:26:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:26:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:26:14 Configure a credential helper to remove this warning. See 08:26:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:26:14 08:26:14 Login Succeeded 08:26:14 docker.io 08:26:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:26:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:26:14 Configure a credential helper to remove this warning. See 08:26:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:26:14 08:26:14 Login Succeeded 08:26:14 ---> docker-login.sh ends [Pipeline] } 08:26:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:26:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:26:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:26:15 ========================================================= 08:26:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 08:26:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:26:15 + 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:26:15 Sending build context to Docker daemon 168.4kB 08:26:15 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 08:26:15 Step 2/12 : FROM ${BASE} AS builder 08:26:15 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:26:15 c41833b44d91: Pulling fs layer 08:26:15 ed15518f5707: Pulling fs layer 08:26:15 feae8fd75edb: Pulling fs layer 08:26:15 242c74f7c9fa: Pulling fs layer 08:26:15 3cdef696dda3: Pulling fs layer 08:26:15 2ced38df9373: Pulling fs layer 08:26:15 58f1dce35555: Pulling fs layer 08:26:15 242c74f7c9fa: Waiting 08:26:15 2ced38df9373: Waiting 08:26:15 3cdef696dda3: Waiting 08:26:15 58f1dce35555: Waiting 08:26:15 ed15518f5707: Verifying Checksum 08:26:15 ed15518f5707: Download complete 08:26:15 242c74f7c9fa: Verifying Checksum 08:26:15 242c74f7c9fa: Download complete 08:26:15 3cdef696dda3: Verifying Checksum 08:26:15 3cdef696dda3: Download complete 08:26:15 c41833b44d91: Verifying Checksum 08:26:15 c41833b44d91: Download complete 08:26:16 c41833b44d91: Pull complete 08:26:17 58f1dce35555: Verifying Checksum 08:26:17 58f1dce35555: Download complete 08:26:17 ed15518f5707: Pull complete 08:26:18 feae8fd75edb: Download complete 08:26:18 2ced38df9373: Verifying Checksum 08:26:18 2ced38df9373: Download complete 08:26:28 feae8fd75edb: Pull complete 08:26:28 242c74f7c9fa: Pull complete 08:26:28 3cdef696dda3: Pull complete 08:26:37 2ced38df9373: Pull complete 08:26:38 58f1dce35555: Pull complete 08:26:38 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 08:26:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 08:26:38 ---> fadd8f120f05 08:26:38 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 08:26:40 ---> Running in 8388de261a71 08:26:40 Removing intermediate container 8388de261a71 08:26:40 ---> b78407cb7429 08:26:40 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:26:40 ---> Running in 0f28656b821d 08:26:41 Removing intermediate container 0f28656b821d 08:26:41 ---> 32a48934ac0e 08:26:41 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:26:41 ---> Running in 26ccc7009a13 08:26:41 Removing intermediate container 26ccc7009a13 08:26:41 ---> bcf1917694af 08:26:41 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:26:41 ---> Running in b9cf3ee9243c 08:26:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:26:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:26:44 OK: 263 MiB in 53 packages 08:26:45 Removing intermediate container b9cf3ee9243c 08:26:45 ---> 6d96736a0b56 08:26:45 Step 7/12 : WORKDIR /app 08:26:45 ---> Running in cd0caa8dd528 08:26:45 Removing intermediate container cd0caa8dd528 08:26:45 ---> 6603f5e6564e 08:26:45 Step 8/12 : COPY go.mod vendor* ./ 08:26:46 ---> be602f3a2133 08:26:46 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:26:46 ---> Running in 171b00a50ae1 08:27:42 Removing intermediate container 171b00a50ae1 08:27:42 ---> a9bbbfc096f1 08:27:42 Step 10/12 : COPY . . 08:27:42 ---> e85dd4daa159 08:27:42 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:27:42 ---> Running in 6a520cf96698 08:27:42 Removing intermediate container 6a520cf96698 08:27:42 ---> 4f8714a5358f 08:27:42 Step 12/12 : RUN $MAKE 08:27:42 ---> Running in 229f22b92ccc 08:27:43 noop 08:27:44 Removing intermediate container 229f22b92ccc 08:27:44 ---> 19ab3a3963fe 08:27:44 Successfully built 19ab3a3963fe 08:27:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:27:44 + docker inspect -f . ci-base-image-arm64 08:27:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:27:44 prd-ubuntu20.04-docker-arm64-4c-16g-15521 does not seem to be running inside a container 08:27:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:27:46 $ docker top 430ff954b5690a510f738b52bd04ba1496163f80e630ba78462044efe9cc5d80 -eo pid,comm [Pipeline] { [Pipeline] sh 08:27:46 + go version 08:27:46 go version go1.20.2 linux/arm64 [Pipeline] } 08:27:46 $ docker stop --time=1 430ff954b5690a510f738b52bd04ba1496163f80e630ba78462044efe9cc5d80 08:27:48 $ docker rm -f --volumes 430ff954b5690a510f738b52bd04ba1496163f80e630ba78462044efe9cc5d80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:27:49 + docker inspect -f . ci-base-image-arm64 08:27:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:27:49 prd-ubuntu20.04-docker-arm64-4c-16g-15521 does not seem to be running inside a container 08:27:49 $ 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/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:27:52 $ docker top 1f3fac44e78622a93c40fac3afd3e354bebe3feb13e0ebae9fa8e499051351eb -eo pid,comm [Pipeline] { [Pipeline] sh 08:27:53 + git config --global --add safe.directory /w/workspace/app-service-configurable/2 [Pipeline] fileExists [Pipeline] sh 08:27:53 + make test 08:27:53 go test -race -coverprofile=coverage.out ./... 08:30:45 ? github.com/edgexfoundry/app-service-configurable [no test files] 08:30:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:30:45 go vet ./... 08:33:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:33:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:33:22 ./bin/test-attribution-txt.sh 08:33:22 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 08:33:22 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 08:33:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:33:22 $ docker stop --time=1 1f3fac44e78622a93c40fac3afd3e354bebe3feb13e0ebae9fa8e499051351eb 08:33:23 $ docker rm -f --volumes 1f3fac44e78622a93c40fac3afd3e354bebe3feb13e0ebae9fa8e499051351eb [Pipeline] // withDockerContainer [Pipeline] sh 08:33:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:33:25 Warning: overwriting stash ‘coverage-report’ 08:33:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:33:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:33:26 + ls -al . 08:33:26 total 172 08:33:26 drwxrwxr-x 7 jenkins jenkins 4096 May 16 08:27 . 08:33:26 drwxrwxr-x 4 jenkins jenkins 4096 May 16 08:25 .. 08:33:26 -rw-rw-r-- 1 jenkins jenkins 119 May 16 08:25 .dockerignore 08:33:26 drwxrwxr-x 8 jenkins jenkins 4096 May 16 08:25 .git 08:33:26 drwxrwxr-x 3 jenkins jenkins 4096 May 16 08:25 .github 08:33:26 -rw-rw-r-- 1 jenkins jenkins 171 May 16 08:25 .gitignore 08:33:26 -rw-rw-r-- 1 jenkins jenkins 41 May 16 08:25 .golangci.yml 08:33:26 -rw-rw-r-- 1 jenkins jenkins 9088 May 16 08:25 Attribution.txt 08:33:26 -rw-rw-r-- 1 jenkins jenkins 29118 May 16 08:25 CHANGELOG.md 08:33:26 -rw-rw-r-- 1 jenkins jenkins 1898 May 16 08:25 Dockerfile 08:33:26 -rw-rw-r-- 1 jenkins jenkins 677 May 16 08:25 GOVERNANCE.md 08:33:26 -rw-rw-r-- 1 jenkins jenkins 688 May 16 08:25 Jenkinsfile 08:33:26 -rw-rw-r-- 1 jenkins jenkins 10174 May 16 08:25 LICENSE 08:33:26 -rw-rw-r-- 1 jenkins jenkins 618 May 16 08:25 OWNERS.md 08:33:26 -rw-rw-r-- 1 jenkins jenkins 4885 May 16 08:25 README.md 08:33:26 -rw-rw-r-- 1 jenkins jenkins 5 May 16 08:22 VERSION 08:33:26 drwxrwxr-x 2 jenkins jenkins 4096 May 16 08:25 bin 08:33:26 -rw-r--r-- 1 jenkins jenkins 13 May 16 08:27 coverage.out 08:33:26 -rw-rw-r-- 1 jenkins jenkins 3302 May 16 08:25 go.mod 08:33:26 -rw-rw-r-- 1 jenkins jenkins 31421 May 16 08:25 go.sum 08:33:26 -rw-rw-r-- 1 jenkins jenkins 1937 May 16 08:25 main.go 08:33:26 -rw-rw-r-- 1 jenkins jenkins 2569 May 16 08:25 makefile 08:33:26 drwxrwxr-x 9 jenkins jenkins 4096 May 16 08:25 res 08:33:26 drwxrwxr-x 4 jenkins jenkins 4096 May 16 08:25 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:33:27 + 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=ff6790d74c3de8dfe26dc9d670f9deb9e399f418 --label arch=arm64 --label version=0.0.0 . 08:33:27 Sending build context to Docker daemon 169.5kB 08:33:27 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 08:33:27 Step 2/26 : FROM ${BASE} AS builder 08:33:27 ---> 19ab3a3963fe 08:33:27 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 08:33:27 ---> Running in 0567e7013307 08:33:28 Removing intermediate container 0567e7013307 08:33:28 ---> efa4ebc827e5 08:33:28 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 08:33:28 ---> Running in 1777f03593d6 08:33:28 Removing intermediate container 1777f03593d6 08:33:28 ---> d0f9973ba21a 08:33:28 Step 5/26 : ARG ADD_BUILD_TAGS="" 08:33:28 ---> Running in af604eb36cb1 08:33:28 Removing intermediate container af604eb36cb1 08:33:28 ---> f597b39a9abf 08:33:28 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:33:28 ---> Running in 133453ab9075 08:33:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:33:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:33:31 OK: 263 MiB in 53 packages 08:33:32 Removing intermediate container 133453ab9075 08:33:32 ---> 07f609d71ca3 08:33:32 Step 7/26 : WORKDIR /app 08:33:32 ---> Running in 49c80543b239 08:33:33 Removing intermediate container 49c80543b239 08:33:33 ---> 2636c1a373d7 08:33:33 Step 8/26 : COPY go.mod vendor* ./ 08:33:33 ---> 325f725672dc 08:33:33 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:33:33 ---> Running in abfe3ae20171 08:33:36 Removing intermediate container abfe3ae20171 08:33:36 ---> 33b4737fac6e 08:33:36 Step 10/26 : COPY . . 08:33:36 ---> 33fd5831c862 08:33:36 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:33:36 ---> Running in 0a59974741ae 08:33:37 Removing intermediate container 0a59974741ae 08:33:37 ---> 5d4aa1fcd5d9 08:33:37 Step 12/26 : RUN $MAKE 08:33:37 ---> Running in cd37703f27e7 08:33:38 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:36:14 Removing intermediate container cd37703f27e7 08:36:14 ---> 3070995c443f 08:36:14 Step 13/26 : FROM alpine:3.17 08:36:14 3.17: Pulling from library/alpine 08:36:14 c41833b44d91: Already exists 08:36:14 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 08:36:14 Status: Downloaded newer image for alpine:3.17 08:36:14 ---> 51e60588ff2c 08:36:14 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:36:14 ---> Running in e7a8cd5e64ab 08:36:14 Removing intermediate container e7a8cd5e64ab 08:36:14 ---> e9bf221e3d54 08:36:14 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 08:36:14 ---> Running in f366cc7a95be 08:36:14 Removing intermediate container f366cc7a95be 08:36:14 ---> ebb76309354a 08:36:14 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 08:36:14 ---> Running in 10c9f14105ab 08:36:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:36:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:36:14 (1/2) Installing ca-certificates (20230506-r0) 08:36:14 (2/2) Installing dumb-init (1.2.5-r2) 08:36:14 Executing busybox-1.35.0-r29.trigger 08:36:14 Executing ca-certificates-20230506-r0.trigger 08:36:14 OK: 8 MiB in 17 packages 08:36:14 Removing intermediate container 10c9f14105ab 08:36:14 ---> 20c2f682571b 08:36:14 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 08:36:14 ---> 6b9f8a1e082f 08:36:14 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 08:36:14 ---> 182b5b475b2f 08:36:14 Step 19/26 : COPY --from=builder /app/res/ /res/ 08:36:14 ---> ccbd55b68888 08:36:14 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 08:36:14 ---> f7e4503d01be 08:36:14 Step 21/26 : EXPOSE 48095 08:36:14 ---> Running in 0b03cb55da42 08:36:14 Removing intermediate container 0b03cb55da42 08:36:14 ---> ee8d60a72232 08:36:14 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 08:36:14 ---> Running in e335c8b36881 08:36:14 Removing intermediate container e335c8b36881 08:36:14 ---> 5907275f48c0 08:36:14 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 08:36:14 ---> Running in 2ed9fb107cd7 08:36:14 Removing intermediate container 2ed9fb107cd7 08:36:14 ---> 91661aacf4c5 08:36:14 Step 24/26 : LABEL arch=arm64 08:36:14 ---> Running in ceeb852ebaf7 08:36:14 Removing intermediate container ceeb852ebaf7 08:36:14 ---> 077f4d03c7f5 08:36:14 Step 25/26 : LABEL git_sha=ff6790d74c3de8dfe26dc9d670f9deb9e399f418 08:36:14 ---> Running in df270d8352b4 08:36:14 Removing intermediate container df270d8352b4 08:36:14 ---> fecf6bedb6d3 08:36:14 Step 26/26 : LABEL version=0.0.0 08:36:14 ---> Running in 36b0011360af 08:36:15 Removing intermediate container 36b0011360af 08:36:15 ---> cca3bbdd41c3 08:36:15 [Warning] One or more build-args [ARCH] were not consumed 08:36:15 Successfully built cca3bbdd41c3 08:36:15 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:36:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:36:16 08:36:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:36:16 arm64: Pulling from edgex-lftools-log-publisher 08:36:16 8998bd30e6a1: Pulling fs layer 08:36:16 04944245beec: Pulling fs layer 08:36:16 699f458cf7ca: Pulling fs layer 08:36:16 765212b225bb: Pulling fs layer 08:36:16 f23df028b6ca: Pulling fs layer 08:36:16 d65c8cfc05b1: Pulling fs layer 08:36:16 2437ff75d9bd: Pulling fs layer 08:36:16 f23df028b6ca: Waiting 08:36:16 765212b225bb: Waiting 08:36:16 d65c8cfc05b1: Waiting 08:36:16 2437ff75d9bd: Waiting 08:36:16 04944245beec: Verifying Checksum 08:36:16 04944245beec: Download complete 08:36:16 765212b225bb: Verifying Checksum 08:36:16 765212b225bb: Download complete 08:36:16 f23df028b6ca: Verifying Checksum 08:36:16 f23df028b6ca: Download complete 08:36:16 d65c8cfc05b1: Verifying Checksum 08:36:16 d65c8cfc05b1: Download complete 08:36:16 699f458cf7ca: Verifying Checksum 08:36:16 699f458cf7ca: Download complete 08:36:17 8998bd30e6a1: Verifying Checksum 08:36:17 8998bd30e6a1: Download complete 08:36:19 2437ff75d9bd: Verifying Checksum 08:36:19 2437ff75d9bd: Download complete 08:36:21 8998bd30e6a1: Pull complete 08:36:21 04944245beec: Pull complete 08:36:23 699f458cf7ca: Pull complete 08:36:23 765212b225bb: Pull complete 08:36:24 f23df028b6ca: Pull complete 08:36:24 d65c8cfc05b1: Pull complete 08:36:39 2437ff75d9bd: Pull complete 08:36:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:36:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:36:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:36:39 prd-ubuntu20.04-docker-arm64-4c-16g-15521 does not seem to be running inside a container 08:36:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:36:43 $ docker top 8cf6b15df90c9b766bdb48b20faecd789115293175fcab0d10e31c96f3304587 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:36:44 ---> job-cost.sh 08:36:44 lf-activate-venv: SKIPPING 08:36:44 INFO: No Stack... 08:36:44 INFO: Retrieving Pricing Info for: v3-standard-4 08:36:45 INFO: Archiving Costs [Pipeline] sh 08:36:46 + cat /w/workspace/app-service-configurable/2/archives/cost.csv 08:36:46 + cut -d, -f6 [Pipeline] lock 08:36:46 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-563-2-stack-cost] 08:36:46 Resource [jenkins-edgexfoundry-app-service-configurable-PR-563-2-stack-cost] did not exist. Created. 08:36:46 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-563-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:36:46 /w/workspace/app-service-configurable/2@tmp/durable-99cdefa6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:36:47 + echo total: 0.10999999940395355 [Pipeline] stash 08:36:47 Warning: overwriting stash ‘stack-cost’ 08:36:47 Stashed 1 file(s) [Pipeline] } 08:36:47 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-563-2-stack-cost] [Pipeline] // lock [Pipeline] } 08:36:47 $ docker stop --time=1 8cf6b15df90c9b766bdb48b20faecd789115293175fcab0d10e31c96f3304587 08:36:49 $ docker rm -f --volumes 8cf6b15df90c9b766bdb48b20faecd789115293175fcab0d10e31c96f3304587 [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:36:49 provisioning config files... 08:36:49 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-563@tmp/config2650958286269870390tmp [Pipeline] { [Pipeline] sh 08:36:50 + set +x 08:36:50 + curl -s https://codecov.io/bash 08:36:50 + bash -s -- 08:36:50 08:36:50 _____ _ 08:36:50 / ____| | | 08:36:50 | | ___ __| | ___ ___ _____ __ 08:36:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:36:50 | |___| (_) | (_| | __/ (_| (_) \ V / 08:36:50 \_____\___/ \__,_|\___|\___\___/ \_/ 08:36:50 Bash-1.0.6 08:36:50 08:36:50 08:36:50 ==> git version 2.25.1 found 08:36:50 ==> 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:36:50 Release-Date: 2020-01-08 08:36:50 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:36:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:36:50 ==> Jenkins CI detected. 08:36:50 current dir:  /w/workspace/_app-service-configurable_PR-563 08:36:50 project root: . 08:36:50 --> token set from env 08:36:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:36:50 ==> Running gcov in . (disable via -X gcov) 08:36:50 ==> Python coveragepy not found 08:36:50 ==> Searching for coverage reports in: 08:36:50 + . 08:36:50 -> Found 1 reports 08:36:50 ==> Detecting git/mercurial file structure 08:36:50 ==> Reading reports 08:36:50 + ./coverage.out bytes=13 08:36:50 ==> Appending adjustments 08:36:50 https://docs.codecov.io/docs/fixing-reports 08:36:50 + Found adjustments 08:36:50 ==> Gzipping contents 08:36:50 4.0K /tmp/codecov.8UkQGD.gz 08:36:50 ==> Uploading reports 08:36:50 url: https://codecov.io 08:36:50 query: branch=PR-563&commit=ff6790d74c3de8dfe26dc9d670f9deb9e399f418&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-563%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=563&job=&cmd_args= 08:36:50 -> Pinging Codecov 08:36:50 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=ff6790d74c3de8dfe26dc9d670f9deb9e399f418&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-563%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=563&job=&cmd_args= 08:36:50 -> Uploading to 08:36:50 https://storage.googleapis.com/codecov/v4/raw/2023-05-16/A97CA9966030D2A3747ED39772930CCE/ff6790d74c3de8dfe26dc9d670f9deb9e399f418/bd2bea05-c163-46f5-9ca3-ebc814cbc5f3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230516T083650Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d7004d229c3ead355a986160687465bdce587d556ddae8cd1cfff6638f906da9 08:36:50 % Total % Received % Xferd Average Speed Time Time Time Current 08:36:50 Dload Upload Total Spent Left Speed 08:36:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 2281 --:--:-- --:--:-- --:--:-- 2294 08:36:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/ff6790d74c3de8dfe26dc9d670f9deb9e399f418 [Pipeline] } 08:36:50 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:36:51 + [ -d /w/workspace/_app-service-configurable_PR-563/archives ] 08:36:51 + ls -al /w/workspace/_app-service-configurable_PR-563/archives 08:36:51 total 16 08:36:51 drwxr-xr-x 3 root root 4096 May 16 08:25 . 08:36:51 drwxrwxr-x 9 jenkins jenkins 4096 May 16 08:25 .. 08:36:51 drwxr-xr-x 2 root root 4096 May 16 08:25 cost 08:36:51 -rw-r--r-- 1 root root 96 May 16 08:25 cost.csv 08:36:51 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-563/archives 08:36:51 + ls -al /w/workspace/_app-service-configurable_PR-563/archives 08:36:51 total 16 08:36:51 drwxr-xr-x 3 jenkins jenkins 4096 May 16 08:25 . 08:36:51 drwxrwxr-x 9 jenkins jenkins 4096 May 16 08:25 .. 08:36:51 drwxr-xr-x 2 jenkins jenkins 4096 May 16 08:25 cost 08:36:51 -rw-r--r-- 1 jenkins jenkins 96 May 16 08:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:36:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:36:52 ---> package-listing.sh 08:36:52 ++ facter osfamily 08:36:52 ++ tr '[:upper:]' '[:lower:]' 08:36:52 + OS_FAMILY=debian 08:36:52 + workspace=/w/workspace/_app-service-configurable_PR-563 08:36:52 + START_PACKAGES=/tmp/packages_start.txt 08:36:52 + END_PACKAGES=/tmp/packages_end.txt 08:36:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:36:52 + PACKAGES=/tmp/packages_start.txt 08:36:52 + '[' /w/workspace/_app-service-configurable_PR-563 ']' 08:36:52 + PACKAGES=/tmp/packages_end.txt 08:36:52 + case "${OS_FAMILY}" in 08:36:52 + dpkg -l 08:36:52 + grep '^ii' 08:36:52 + '[' -f /tmp/packages_start.txt ']' 08:36:52 + '[' -f /tmp/packages_end.txt ']' 08:36:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:36:52 + '[' /w/workspace/_app-service-configurable_PR-563 ']' 08:36:52 + mkdir -p /w/workspace/_app-service-configurable_PR-563/archives/ 08:36:52 + 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:36:52 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:36:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:36:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:36:53 prd-ubuntu20.04-docker-8c-8g-15519 does not seem to be running inside a container 08:36:53 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:36:55 $ docker top 377377b4f42eb3310b0509be225c3705150630b27235dd35ac72d0141cc28043 -eo pid,comm [Pipeline] { [Pipeline] sh 08:36:56 + touch /tmp/pre-build-complete [Pipeline] sh 08:36:56 + mkdir -p /var/log/sysstat [Pipeline] sh 08:36:56 + ls /var/log/sa-host 08:36:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:36:57 provisioning config files... 08:36:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-563@tmp/config12744683208430758854tmp [Pipeline] { [Pipeline] echo 08:36:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:36:57 ---> create-netrc.sh [Pipeline] } 08:36:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:36:57 ---> python-tools-install.sh [Pipeline] echo 08:36:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:36:57 ---> sudo-logs.sh 08:36:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:36:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:36:58 ---> job-cost.sh 08:36:58 lf-activate-venv: SKIPPING 08:36:58 DEBUG: total: 0.2199999988079071 08:36:58 INFO: Retrieving Stack Cost... 08:36:58 INFO: Retrieving Pricing Info for: v3-standard-8 08:36:59 INFO: Archiving Costs [Pipeline] echo 08:36:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:36:59 ---> logs-deploy.sh 08:36:59 lf-activate-venv: SKIPPING 08:36:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-563/2 08:36:59 INFO: archiving workspace using pattern(s): 08:37:00 Archives upload complete. 08:37:00 INFO: archiving logs to Nexus