Pull request #594 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 5e650dceb2ca69956c8b828eb1956a7b4941fe22+2dfbea18d8fd50f319a4f8dabfb631835ad63cd4 (d6be360ede6df494e4f0e5b57c471ff8f8cc92ee) 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-ssh11640595674782300171.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh4376721204683138498.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 e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-594/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-594/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9773796014632125047.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-594/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1291016385748598521.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8562132485206708529.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-594/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-594/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16845040491451900348.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 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-5978 in /w/workspace/_app-service-configurable_PR-594 [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-594 # 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/594/head:refs/remotes/origin/PR-594 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2dfbea18d8fd50f319a4f8dabfb631835ad63cd4 into PR head commit 5e650dceb2ca69956c8b828eb1956a7b4941fe22 Merge succeeded, producing 5e650dceb2ca69956c8b828eb1956a7b4941fe22 Checking out Revision 5e650dceb2ca69956c8b828eb1956a7b4941fe22 (PR-594) > git config core.sparsecheckout # timeout=10 > git checkout -f 5e650dceb2ca69956c8b828eb1956a7b4941fe22 # 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 2dfbea18d8fd50f319a4f8dabfb631835ad63cd4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5e650dceb2ca69956c8b828eb1956a7b4941fe22 # timeout=10 Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:45:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:45:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:45:35 ========================================================= 20:45:35 EdgeX Global Pipelines Version Info 20:45:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:45:35 ------------------- 20:45:35 stable info: 20:45:35 ------------------- 20:45:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:45:35 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:45:35 Message: update stable to v1.0.254 20:45:36 ------------------- 20:45:36 experimental info: 20:45:36 ------------------- 20:45:36 Commited By: **** collab-it+edgex@linuxfoundation.org 20:45:36 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:45:36 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:45:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 20:45:36 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 20:45:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:45:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:45:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:45:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:45:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:45:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:45:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:45:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:45:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:45:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 20:45:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:45:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:45:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:45:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:45:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:45:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:45:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:45:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:45:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:45:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:45:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:45:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:45:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:45:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:45:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:45:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-594 [Pipeline] echo 20:45:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-594 [Pipeline] echo 20:45:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-594 [Pipeline] echo 20:45:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5e650dceb2ca69956c8b828eb1956a7b4941fe22 [Pipeline] echo 20:45:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5e650dc [Pipeline] echo 20:45:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:45:38 provisioning config files... 20:45:38 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-594@tmp/config6582799552975215676tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:45:38 ---> docker-login.sh 20:45:38 nexus3.edgexfoundry.org:10001 20:45:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:39 Configure a credential helper to remove this warning. See 20:45:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:39 20:45:39 Login Succeeded 20:45:39 nexus3.edgexfoundry.org:10002 20:45:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:39 Configure a credential helper to remove this warning. See 20:45:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:39 20:45:39 Login Succeeded 20:45:39 nexus3.edgexfoundry.org:10003 20:45:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:39 Configure a credential helper to remove this warning. See 20:45:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:39 20:45:39 Login Succeeded 20:45:39 nexus3.edgexfoundry.org:10004 20:45:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:39 Configure a credential helper to remove this warning. See 20:45:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:39 20:45:39 Login Succeeded 20:45:39 docker.io 20:45:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:39 Configure a credential helper to remove this warning. See 20:45:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:39 20:45:39 Login Succeeded 20:45:39 ---> docker-login.sh ends [Pipeline] } 20:45:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:45:40 + git rev-list -1 --merges 5e650dceb2ca69956c8b828eb1956a7b4941fe22~1..5e650dceb2ca69956c8b828eb1956a7b4941fe22 [Pipeline] echo 20:45:40 -----------> git rev-list -1 --merges 5e650dceb2ca69956c8b828eb1956a7b4941fe22~1..5e650dceb2ca69956c8b828eb1956a7b4941fe22 5e650dceb2ca69956c8b828eb1956a7b4941fe22 [false] [Pipeline] sh 20:45:40 + git log --format=format:%s -1 5e650dceb2ca69956c8b828eb1956a7b4941fe22 [Pipeline] echo 20:45:40 ========================================================= 20:45:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:45:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:45:41 + git log --format=format:%s -1 5e650dceb2ca69956c8b828eb1956a7b4941fe22 [Pipeline] echo 20:45:41 [semverPrep] GIT_COMMIT: 5e650dceb2ca69956c8b828eb1956a7b4941fe22, Commit Message: build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 [Pipeline] echo 20:45:41 [semverPrep] This is not a build commit. [Pipeline] sh 20:45:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:45:41 + grep -v github /etc/ssh/ssh_known_hosts 20:45:41 + [ -e /tmp/ssh_known_hosts ] 20:45:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:45:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 20:45:41 sudo tee -a /etc/ssh/ssh_known_hosts 20:45:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:45:42 20:45:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:45:42 0.1.4: Pulling from edgex-devops/py-git-semver 20:45:42 b85a868b505f: Pulling fs layer 20:45:42 e2be974225ed: Pulling fs layer 20:45:42 339a4e72a1f5: Pulling fs layer 20:45:42 988bab9f4d93: Pulling fs layer 20:45:42 1469e6f7b9e6: Pulling fs layer 20:45:42 eaf3925da568: Pulling fs layer 20:45:42 bab4dde63d76: Pulling fs layer 20:45:42 bde34c3a00c8: Pulling fs layer 20:45:42 b352a97aabf1: Pulling fs layer 20:45:42 4872d77fe225: Pulling fs layer 20:45:42 5851b861e8e6: Pulling fs layer 20:45:42 4872d77fe225: Waiting 20:45:42 bab4dde63d76: Waiting 20:45:42 bde34c3a00c8: Waiting 20:45:42 5851b861e8e6: Waiting 20:45:42 b352a97aabf1: Waiting 20:45:42 988bab9f4d93: Waiting 20:45:42 eaf3925da568: Waiting 20:45:42 e2be974225ed: Verifying Checksum 20:45:42 e2be974225ed: Download complete 20:45:42 988bab9f4d93: Verifying Checksum 20:45:42 988bab9f4d93: Download complete 20:45:42 1469e6f7b9e6: Verifying Checksum 20:45:42 1469e6f7b9e6: Download complete 20:45:42 eaf3925da568: Verifying Checksum 20:45:42 eaf3925da568: Download complete 20:45:42 339a4e72a1f5: Verifying Checksum 20:45:42 339a4e72a1f5: Download complete 20:45:42 bde34c3a00c8: Download complete 20:45:42 b352a97aabf1: Verifying Checksum 20:45:42 b352a97aabf1: Download complete 20:45:42 4872d77fe225: Verifying Checksum 20:45:42 4872d77fe225: Download complete 20:45:42 5851b861e8e6: Download complete 20:45:42 b85a868b505f: Download complete 20:45:42 bab4dde63d76: Verifying Checksum 20:45:42 bab4dde63d76: Download complete 20:45:43 b85a868b505f: Pull complete 20:45:43 e2be974225ed: Pull complete 20:45:44 339a4e72a1f5: Pull complete 20:45:44 988bab9f4d93: Pull complete 20:45:44 1469e6f7b9e6: Pull complete 20:45:44 eaf3925da568: Pull complete 20:45:46 bab4dde63d76: Pull complete 20:45:46 bde34c3a00c8: Pull complete 20:45:46 b352a97aabf1: Pull complete 20:45:46 4872d77fe225: Pull complete 20:45:46 5851b861e8e6: Pull complete 20:45:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:45:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:45:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:45:46 prd-ubuntu20.04-docker-8c-8g-5978 does not seem to be running inside a container 20:45:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-594 -v /w/workspace/_app-service-configurable_PR-594:/w/workspace/_app-service-configurable_PR-594:rw,z -v /w/workspace/_app-service-configurable_PR-594@tmp:/w/workspace/_app-service-configurable_PR-594@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:45:50 $ docker top 51278394eb66e943f3ee9bffbf007876c03e3b38274294af009c504c1c66587e -eo pid,comm 20:45: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). 20:45:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:45:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:45:50 [ssh-agent] Looking for ssh-agent implementation... 20:45:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:45:50 $ docker exec 51278394eb66e943f3ee9bffbf007876c03e3b38274294af009c504c1c66587e ssh-agent 20:45:50 SSH_AUTH_SOCK=/tmp/ssh-q78baEiUd035/agent.33 20:45:50 SSH_AGENT_PID=39 20:45:50 Running ssh-add (command line suppressed) 20:45:50 Identity added: /w/workspace/_app-service-configurable_PR-594@tmp/private_key_4280734362583484580.key (/w/workspace/_app-service-configurable_PR-594@tmp/private_key_4280734362583484580.key) 20:45:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:45:51 + git tag --points-at HEAD [Pipeline] } 20:45:51 $ docker exec --env ******** --env ******** 51278394eb66e943f3ee9bffbf007876c03e3b38274294af009c504c1c66587e ssh-agent -k 20:45:51 unset SSH_AUTH_SOCK; 20:45:51 unset SSH_AGENT_PID; 20:45:51 echo Agent pid 39 killed; 20:45:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:45:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:45:51 [ssh-agent] Looking for ssh-agent implementation... 20:45:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:45:51 $ docker exec 51278394eb66e943f3ee9bffbf007876c03e3b38274294af009c504c1c66587e ssh-agent 20:45:51 SSH_AUTH_SOCK=/tmp/ssh-DNJvvGgki6Ta/agent.71 20:45:51 SSH_AGENT_PID=77 20:45:51 Running ssh-add (command line suppressed) 20:45:51 Identity added: /w/workspace/_app-service-configurable_PR-594@tmp/private_key_8800253390413528317.key (/w/workspace/_app-service-configurable_PR-594@tmp/private_key_8800253390413528317.key) 20:45:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:45:52 + git semver init 20:45:52 2023-09-12 20:45:52,455 [run_init] DEBUG init version:0.0.0 force:False 20:45:52 2023-09-12 20:45:52,456 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-594/.semver 20:45:52 2023-09-12 20:45:52,457 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-594/.semver 20:45:52 2023-09-12 20:45:52,457 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-594/.semver'], cwd=/w/workspace/_app-service-configurable_PR-594, universal_newlines=False, shell=None, istream=None) 20:45:53 2023-09-12 20:45:53,258 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-594/.git/info/exclude 20:45:53 2023-09-12 20:45:53,259 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-594/.semver/PR-594 with force:False 20:45:53 2023-09-12 20:45:53,259 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-594/.semver/PR-594 20:45:53 2023-09-12 20:45:53,263 [execute] INFO git cat-file --batch-check 20:45:53 2023-09-12 20:45:53,264 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-594/.semver, universal_newlines=False, shell=None, istream=) 20:45:53 2023-09-12 20:45:53,269 [execute] INFO git cat-file --batch 20:45:53 2023-09-12 20:45:53,270 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-594/.semver, universal_newlines=False, shell=None, istream=) 20:45:53 2023-09-12 20:45:53,276 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-594/.semver/PR-594 20:45:53 0.0.0 [Pipeline] } 20:45:53 $ docker exec --env ******** --env ******** 51278394eb66e943f3ee9bffbf007876c03e3b38274294af009c504c1c66587e ssh-agent -k 20:45:53 unset SSH_AUTH_SOCK; 20:45:53 unset SSH_AGENT_PID; 20:45:53 echo Agent pid 77 killed; 20:45:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:45:54 + git semver [Pipeline] } 20:45:54 $ docker stop --time=1 51278394eb66e943f3ee9bffbf007876c03e3b38274294af009c504c1c66587e 20:45:55 $ docker rm -f --volumes 51278394eb66e943f3ee9bffbf007876c03e3b38274294af009c504c1c66587e [Pipeline] // withDockerContainer [Pipeline] sh 20:45:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:45:56 Stashed 1 file(s) [Pipeline] echo 20:45: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 20:45:56 provisioning config files... 20:45:56 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-594@tmp/config13504145972267754554tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:45:57 ---> docker-login.sh 20:45:57 nexus3.edgexfoundry.org:10001 20:45:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:57 Configure a credential helper to remove this warning. See 20:45:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:57 20:45:57 Login Succeeded 20:45:57 nexus3.edgexfoundry.org:10002 20:45:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:57 Configure a credential helper to remove this warning. See 20:45:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:57 20:45:57 Login Succeeded 20:45:57 nexus3.edgexfoundry.org:10003 20:45:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:57 Configure a credential helper to remove this warning. See 20:45:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:57 20:45:57 Login Succeeded 20:45:57 nexus3.edgexfoundry.org:10004 20:45:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:57 Configure a credential helper to remove this warning. See 20:45:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:57 20:45:57 Login Succeeded 20:45:57 docker.io 20:45:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:57 Configure a credential helper to remove this warning. See 20:45:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:57 20:45:57 Login Succeeded 20:45:57 ---> docker-login.sh ends [Pipeline] } 20:45:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:45:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:45:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:45:58 ========================================================= 20:45:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:45:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:58 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 20:45:58 Sending build context to Docker daemon 3.344MB 20:45:58 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:45:58 Step 2/12 : FROM ${BASE} AS builder 20:45:58 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:45:58 7264a8db6415: Pulling fs layer 20:45:58 c4d48a809fc2: Pulling fs layer 20:45:58 4f1c88b9dad5: Pulling fs layer 20:45:58 ad3a456e5733: Pulling fs layer 20:45:58 9e4f439ed901: Pulling fs layer 20:45:58 feaf6a47b606: Pulling fs layer 20:45:58 5e8b037d7d82: Pulling fs layer 20:45:58 8ac70367396e: Pulling fs layer 20:45:58 6db16350a2e2: Pulling fs layer 20:45:58 9250d5d63582: Pulling fs layer 20:45:58 feaf6a47b606: Waiting 20:45:58 5e8b037d7d82: Waiting 20:45:58 8ac70367396e: Waiting 20:45:58 6db16350a2e2: Waiting 20:45:58 9250d5d63582: Waiting 20:45:58 ad3a456e5733: Waiting 20:45:58 9e4f439ed901: Waiting 20:45:58 ad3a456e5733: Verifying Checksum 20:45:58 ad3a456e5733: Download complete 20:45:58 9e4f439ed901: Verifying Checksum 20:45:58 9e4f439ed901: Download complete 20:45:58 7264a8db6415: Verifying Checksum 20:45:58 7264a8db6415: Download complete 20:45:58 feaf6a47b606: Verifying Checksum 20:45:58 feaf6a47b606: Download complete 20:45:58 7264a8db6415: Pull complete 20:45:58 8ac70367396e: Verifying Checksum 20:45:58 8ac70367396e: Download complete 20:45:59 c4d48a809fc2: Pull complete 20:45:59 4f1c88b9dad5: Download complete 20:45:59 6db16350a2e2: Verifying Checksum 20:45:59 6db16350a2e2: Download complete 20:45:59 5e8b037d7d82: Verifying Checksum 20:45:59 5e8b037d7d82: Download complete 20:45:59 9250d5d63582: Verifying Checksum 20:45:59 9250d5d63582: Download complete 20:46:01 4f1c88b9dad5: Pull complete 20:46:02 ad3a456e5733: Pull complete 20:46:02 9e4f439ed901: Pull complete 20:46:02 feaf6a47b606: Pull complete 20:46:04 5e8b037d7d82: Pull complete 20:46:04 8ac70367396e: Pull complete 20:46:05 6db16350a2e2: Pull complete 20:46:05 9250d5d63582: Pull complete 20:46:05 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 20:46:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:46:05 ---> fa269f55d9b9 20:46:05 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 20:46:11 Still waiting to schedule task 20:46:11 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:46:12 ---> Running in c503ec9d0718 20:46:12 Removing intermediate container c503ec9d0718 20:46:12 ---> b81123498069 20:46:12 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:46:12 ---> Running in 872188c9d75f 20:46:12 Removing intermediate container 872188c9d75f 20:46:12 ---> 5711fc9117b0 20:46:12 Step 5/12 : ARG ADD_BUILD_TAGS="" 20:46:12 ---> Running in f48d2c241a8b 20:46:12 Removing intermediate container f48d2c241a8b 20:46:12 ---> f2adef20d07e 20:46:12 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:46:12 ---> Running in 048054a45d03 20:46:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:46:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:46:12 OK: 265 MiB in 56 packages 20:46:12 Removing intermediate container 048054a45d03 20:46:12 ---> 92c2578ec0db 20:46:12 Step 7/12 : WORKDIR /app 20:46:12 ---> Running in 3ec45ce2f5b8 20:46:12 Removing intermediate container 3ec45ce2f5b8 20:46:12 ---> 29ca06b1d703 20:46:12 Step 8/12 : COPY go.mod vendor* ./ 20:46:12 ---> e4bd19bbcf11 20:46:12 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:46:12 ---> Running in 15b2713d38bc 20:46:51 Removing intermediate container 15b2713d38bc 20:46:51 ---> 911f05450190 20:46:51 Step 10/12 : COPY . . 20:46:51 ---> 5b5ec5d54b55 20:46:51 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:46:51 ---> Running in b962dbcdba0b 20:46:51 Removing intermediate container b962dbcdba0b 20:46:51 ---> 868eb50a62c1 20:46:51 Step 12/12 : RUN $MAKE 20:46:51 ---> Running in 02ed3620fe2a 20:46:51 noop 20:46:51 Removing intermediate container 02ed3620fe2a 20:46:51 ---> 113d4c15d04f 20:46:51 Successfully built 113d4c15d04f 20:46:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:52 + docker inspect -f . ci-base-image-x86_64 20:46:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:52 prd-ubuntu20.04-docker-8c-8g-5978 does not seem to be running inside a container 20:46:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-594 -v /w/workspace/_app-service-configurable_PR-594:/w/workspace/_app-service-configurable_PR-594:rw,z -v /w/workspace/_app-service-configurable_PR-594@tmp:/w/workspace/_app-service-configurable_PR-594@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 ******** ci-base-image-x86_64 cat 20:46:52 $ docker top 6238b6f983c7145e5f06635f0cdb1d6d944e604437b8d03fcb6d881416868bbc -eo pid,comm [Pipeline] { [Pipeline] sh 20:46:52 + go version 20:46:52 go version go1.21.0 linux/amd64 [Pipeline] } 20:46:52 $ docker stop --time=1 6238b6f983c7145e5f06635f0cdb1d6d944e604437b8d03fcb6d881416868bbc 20:46:54 $ docker rm -f --volumes 6238b6f983c7145e5f06635f0cdb1d6d944e604437b8d03fcb6d881416868bbc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:54 + docker inspect -f . ci-base-image-x86_64 20:46:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:55 prd-ubuntu20.04-docker-8c-8g-5978 does not seem to be running inside a container 20:46:55 $ 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-594 -v /w/workspace/_app-service-configurable_PR-594:/w/workspace/_app-service-configurable_PR-594:rw,z -v /w/workspace/_app-service-configurable_PR-594@tmp:/w/workspace/_app-service-configurable_PR-594@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 ******** ci-base-image-x86_64 cat 20:46:55 $ docker top ed8b4e2da799126822ef5df123b9fa7f179012e89a0937805f97f99579e037f3 -eo pid,comm [Pipeline] { [Pipeline] sh 20:46:55 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-594 [Pipeline] fileExists [Pipeline] sh 20:46:56 + make test 20:46:56 go test -race -coverprofile=coverage.out ./... 20:47:14 ? github.com/edgexfoundry/app-service-configurable [no test files] 20:47:29 go vet ./... 20:47:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:47:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:47:32 ./bin/test-attribution-txt.sh [Pipeline] echo 20:47:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:47:32 $ docker stop --time=1 ed8b4e2da799126822ef5df123b9fa7f179012e89a0937805f97f99579e037f3 20:47:38 $ docker rm -f --volumes ed8b4e2da799126822ef5df123b9fa7f179012e89a0937805f97f99579e037f3 [Pipeline] // withDockerContainer [Pipeline] sh 20:47:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:47:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:47:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:47:39 + ls -al . 20:47:39 total 184 20:47:39 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 20:46 . 20:47:39 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 20:45 .. 20:47:39 -rw-rw-r-- 1 jenkins jenkins 119 Sep 12 20:45 .dockerignore 20:47:39 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 20:47 .git 20:47:39 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 20:45 .github 20:47:39 -rw-rw-r-- 1 jenkins jenkins 171 Sep 12 20:45 .gitignore 20:47:39 -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 20:45 .golangci.yml 20:47:39 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 20:45 .semver 20:47:39 -rw-rw-r-- 1 jenkins jenkins 10394 Sep 12 20:45 Attribution.txt 20:47:39 -rw-rw-r-- 1 jenkins jenkins 35039 Sep 12 20:45 CHANGELOG.md 20:47:39 -rw-rw-r-- 1 jenkins jenkins 1898 Sep 12 20:45 Dockerfile 20:47:39 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 20:45 GOVERNANCE.md 20:47:39 -rw-rw-r-- 1 jenkins jenkins 688 Sep 12 20:45 Jenkinsfile 20:47:39 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 12 20:45 LICENSE 20:47:39 -rw-rw-r-- 1 jenkins jenkins 618 Sep 12 20:45 OWNERS.md 20:47:39 -rw-rw-r-- 1 jenkins jenkins 4619 Sep 12 20:45 README.md 20:47:39 -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 20:45 VERSION 20:47:39 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 20:45 bin 20:47:39 -rw-r--r-- 1 jenkins jenkins 13 Sep 12 20:46 coverage.out 20:47:39 -rw-rw-r-- 1 jenkins jenkins 3729 Sep 12 20:45 go.mod 20:47:39 -rw-rw-r-- 1 jenkins jenkins 33854 Sep 12 20:45 go.sum 20:47:39 -rw-rw-r-- 1 jenkins jenkins 1937 Sep 12 20:45 main.go 20:47:39 -rw-rw-r-- 1 jenkins jenkins 2569 Sep 12 20:45 makefile 20:47:39 drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 20:45 res 20:47:39 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 20:45 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:40 + 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=5e650dceb2ca69956c8b828eb1956a7b4941fe22 --label arch=amd64 --label version=0.0.0 . 20:47:40 Sending build context to Docker daemon 3.345MB 20:47:40 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 20:47:40 Step 2/26 : FROM ${BASE} AS builder 20:47:40 ---> 113d4c15d04f 20:47:40 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 20:47:40 ---> Running in a80c630c642c 20:47:40 Removing intermediate container a80c630c642c 20:47:40 ---> 0133c2b8d04c 20:47:40 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 20:47:40 ---> Running in 92e00101eb91 20:47:40 Removing intermediate container 92e00101eb91 20:47:40 ---> 970629613c5c 20:47:40 Step 5/26 : ARG ADD_BUILD_TAGS="" 20:47:40 ---> Running in e7e1f1828d58 20:47:40 Removing intermediate container e7e1f1828d58 20:47:40 ---> 86dcd5c93c51 20:47:40 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:47:40 ---> Running in 5b7f9e0fc936 20:47:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:47:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:47:41 OK: 265 MiB in 56 packages 20:47:41 Removing intermediate container 5b7f9e0fc936 20:47:41 ---> cd095bbc7d10 20:47:41 Step 7/26 : WORKDIR /app 20:47:41 ---> Running in 7b2a94215a23 20:47:41 Removing intermediate container 7b2a94215a23 20:47:41 ---> a27cf66ec8b6 20:47:41 Step 8/26 : COPY go.mod vendor* ./ 20:47:41 ---> 631a8dcd27a8 20:47:41 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:47:41 ---> Running in 680d94fadd67 20:47:42 Removing intermediate container 680d94fadd67 20:47:42 ---> ba228e191fd5 20:47:42 Step 10/26 : COPY . . 20:47:42 ---> 1a2a29dc4064 20:47:42 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:47:42 ---> Running in d425abb87974 20:47:43 Removing intermediate container d425abb87974 20:47:43 ---> ace64b4f8f9d 20:47:43 Step 12/26 : RUN $MAKE 20:47:43 ---> Running in f82c1eac0396 20:47:43 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.26 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 20:48:05 Removing intermediate container f82c1eac0396 20:48:05 ---> 3c8aea41933d 20:48:05 Step 13/26 : FROM alpine:3.18 20:48:05 3.18: Pulling from library/alpine 20:48:05 7264a8db6415: Already exists 20:48:05 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 20:48:05 Status: Downloaded newer image for alpine:3.18 20:48:05 ---> 7e01a0d0a1dc 20:48:05 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:48:05 ---> Running in 3082da4d904a 20:48:05 Removing intermediate container 3082da4d904a 20:48:05 ---> be2745672b72 20:48:05 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 20:48:05 ---> Running in 4bc1fb4eee65 20:48:05 Removing intermediate container 4bc1fb4eee65 20:48:05 ---> a5cead5d4585 20:48:05 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 20:48:05 ---> Running in 94baf44b4ee2 20:48:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:48:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:48:05 (1/2) Installing ca-certificates (20230506-r0) 20:48:05 (2/2) Installing dumb-init (1.2.5-r2) 20:48:05 Executing busybox-1.36.1-r2.trigger 20:48:05 Executing ca-certificates-20230506-r0.trigger 20:48:05 OK: 8 MiB in 17 packages 20:48:05 Removing intermediate container 94baf44b4ee2 20:48:05 ---> 77b1abc5c079 20:48:05 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 20:48:05 ---> ed4e6dca259c 20:48:05 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 20:48:05 ---> 6b43eedad1dc 20:48:05 Step 19/26 : COPY --from=builder /app/res/ /res/ 20:48:05 ---> 403a3e330300 20:48:05 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 20:48:06 ---> d15b15ee852f 20:48:06 Step 21/26 : EXPOSE 48095 20:48:06 ---> Running in 280650a2e22a 20:48:06 Removing intermediate container 280650a2e22a 20:48:06 ---> a75e8f9760ab 20:48:06 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 20:48:06 ---> Running in 843a3c9d3770 20:48:06 Removing intermediate container 843a3c9d3770 20:48:06 ---> a00e907200de 20:48:06 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 20:48:06 ---> Running in e2276630f8b5 20:48:06 Removing intermediate container e2276630f8b5 20:48:06 ---> 904423dc8acb 20:48:06 Step 24/26 : LABEL arch=amd64 20:48:06 ---> Running in 24c7285bc6f8 20:48:06 Removing intermediate container 24c7285bc6f8 20:48:06 ---> b2e1d4ea8f4d 20:48:06 Step 25/26 : LABEL git_sha=5e650dceb2ca69956c8b828eb1956a7b4941fe22 20:48:06 ---> Running in d31833bbd1de 20:48:06 Removing intermediate container d31833bbd1de 20:48:06 ---> 63e2515210bd 20:48:06 Step 26/26 : LABEL version=0.0.0 20:48:06 ---> Running in c9e8802cdeab 20:48:06 Removing intermediate container c9e8802cdeab 20:48:06 ---> 0f7005b08569 20:48:06 [Warning] One or more build-args [ARCH] were not consumed 20:48:06 Successfully built 0f7005b08569 20:48:06 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:48:07 20:48:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:48:08 latest: Pulling from edgex-lftools-log-publisher 20:48:08 5eb5b503b376: Pulling fs layer 20:48:08 5c69ac0246d0: Pulling fs layer 20:48:08 ec43610c2a17: Pulling fs layer 20:48:08 3a2ae6a8a46f: Pulling fs layer 20:48:08 33b1e0a273af: Pulling fs layer 20:48:08 5d3b04190fa2: Pulling fs layer 20:48:08 2f39f015ded8: Pulling fs layer 20:48:08 3a2ae6a8a46f: Waiting 20:48:08 33b1e0a273af: Waiting 20:48:08 5d3b04190fa2: Waiting 20:48:08 2f39f015ded8: Waiting 20:48:08 5c69ac0246d0: Verifying Checksum 20:48:08 5c69ac0246d0: Download complete 20:48:08 3a2ae6a8a46f: Verifying Checksum 20:48:08 3a2ae6a8a46f: Download complete 20:48:08 ec43610c2a17: Verifying Checksum 20:48:08 ec43610c2a17: Download complete 20:48:08 33b1e0a273af: Verifying Checksum 20:48:08 33b1e0a273af: Download complete 20:48:08 5d3b04190fa2: Verifying Checksum 20:48:08 5d3b04190fa2: Download complete 20:48:08 5eb5b503b376: Verifying Checksum 20:48:08 5eb5b503b376: Download complete 20:48:08 2f39f015ded8: Download complete 20:48:09 5eb5b503b376: Pull complete 20:48:09 5c69ac0246d0: Pull complete 20:48:10 ec43610c2a17: Pull complete 20:48:10 3a2ae6a8a46f: Pull complete 20:48:10 33b1e0a273af: Pull complete 20:48:10 5d3b04190fa2: Pull complete 20:48:14 2f39f015ded8: Pull complete 20:48:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:48:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:48:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:48:14 prd-ubuntu20.04-docker-8c-8g-5978 does not seem to be running inside a container 20:48:14 $ 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-594 -v /w/workspace/_app-service-configurable_PR-594:/w/workspace/_app-service-configurable_PR-594:rw,z -v /w/workspace/_app-service-configurable_PR-594@tmp:/w/workspace/_app-service-configurable_PR-594@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 20:48:19 $ docker top 5394a748356270b6f4312c999d3e95907075ee6929092afe31df63937fa4a1c9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:48:20 ---> job-cost.sh 20:48:20 lf-activate-venv: SKIPPING 20:48:20 INFO: No Stack... 20:48:20 INFO: Retrieving Pricing Info for: v3-standard-8 20:48:20 INFO: Archiving Costs [Pipeline] sh 20:48:21 + cat /w/workspace/_app-service-configurable_PR-594/archives/cost.csv 20:48:21 + cut -d, -f6 [Pipeline] lock 20:48:21 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-594-1-stack-cost] 20:48:21 Resource [jenkins-edgexfoundry-app-service-configurable-PR-594-1-stack-cost] did not exist. Created. 20:48:21 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-594-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:48:21 + echo total: 0.2199999988079071 [Pipeline] stash 20:48:21 Stashed 1 file(s) [Pipeline] } 20:48:21 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-594-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:48:21 $ docker stop --time=1 5394a748356270b6f4312c999d3e95907075ee6929092afe31df63937fa4a1c9 20:48:23 $ docker rm -f --volumes 5394a748356270b6f4312c999d3e95907075ee6929092afe31df63937fa4a1c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:49:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5980 in /w/workspace/_app-service-configurable_PR-594 [Pipeline] { [Pipeline] ws 20:49:29 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 20:49:29 Selected Git installation does not exist. Using Default 20:49:29 The recommended git tool is: NONE 20:49:35 using credential edgex-jenkins-ssh 20:49:35 Cloning the remote Git repository 20:49:35 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 20:49:35 > git init /w/workspace/app-service-configurable/1 # timeout=10 20:49:35 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 20:49:35 > git --version # timeout=10 20:49:35 > git --version # 'git version 2.25.1' 20:49:35 using GIT_SSH to set credentials SSH Credentials for GitHub 20:49:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:49:36 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 20:49:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:49:38 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 20:49:38 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 20:49:38 using GIT_SSH to set credentials SSH Credentials for GitHub 20:49:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/594/head:refs/remotes/origin/PR-594 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:49:38 Merging remotes/origin/main commit 2dfbea18d8fd50f319a4f8dabfb631835ad63cd4 into PR head commit 5e650dceb2ca69956c8b828eb1956a7b4941fe22 20:49:38 Merge succeeded, producing 5e650dceb2ca69956c8b828eb1956a7b4941fe22 20:49:38 Checking out Revision 5e650dceb2ca69956c8b828eb1956a7b4941fe22 (PR-594) 20:49:38 > git config core.sparsecheckout # timeout=10 20:49:38 > git checkout -f 5e650dceb2ca69956c8b828eb1956a7b4941fe22 # timeout=10 20:49:38 > git remote # timeout=10 20:49:38 > git config --get remote.origin.url # timeout=10 20:49:38 using GIT_SSH to set credentials SSH Credentials for GitHub 20:49:38 > git merge 2dfbea18d8fd50f319a4f8dabfb631835ad63cd4 # timeout=10 20:49:38 > git rev-parse HEAD^{commit} # timeout=10 20:49:38 > git config core.sparsecheckout # timeout=10 20:49:39 > git checkout -f 5e650dceb2ca69956c8b828eb1956a7b4941fe22 # timeout=10 20:49:42 Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18" 20:49:42 > git --version # timeout=10 20:49:42 > git --version # 'git version 2.25.1' 20:49:42 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:49:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:49:43 % Total % Received % Xferd Average Speed Time Time Time Current 20:49:43 Dload Upload Total Spent Left Speed 20:49:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh 20:49:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:49:44 + sudo tee /etc/docker/daemon.new 20:49:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:49:44 { 20:49:44 "registry-mirrors": [ 20:49:44 "https://nexus3.edgexfoundry.org:10001" 20:49:44 ], 20:49:44 "bip": "10.250.0.254/24", 20:49:44 "hosts": [ 20:49:44 "tcp://0.0.0.0:5555", 20:49:44 "unix:///var/run/docker.sock" 20:49:44 ], 20:49:44 "mtu": 1458, 20:49:44 "selinux-enabled": true, 20:49:44 "seccomp-profile": "/etc/docker/seccomp.json" 20:49:44 } [Pipeline] sh 20:49:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:49:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:50:03 provisioning config files... 20:50:03 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config8181132749524197668tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:50:04 ---> docker-login.sh 20:50:04 nexus3.edgexfoundry.org:10001 20:50:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:04 Configure a credential helper to remove this warning. See 20:50:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:04 20:50:04 Login Succeeded 20:50:04 nexus3.edgexfoundry.org:10002 20:50:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:05 Configure a credential helper to remove this warning. See 20:50:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:05 20:50:05 Login Succeeded 20:50:05 nexus3.edgexfoundry.org:10003 20:50:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:05 Configure a credential helper to remove this warning. See 20:50:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:05 20:50:05 Login Succeeded 20:50:05 nexus3.edgexfoundry.org:10004 20:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:06 Configure a credential helper to remove this warning. See 20:50:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:06 20:50:06 Login Succeeded 20:50:06 docker.io 20:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:07 Configure a credential helper to remove this warning. See 20:50:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:07 20:50:07 Login Succeeded 20:50:07 ---> docker-login.sh ends [Pipeline] } 20:50:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:50:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:50:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:50:07 ========================================================= 20:50:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:50:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:08 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 20:50:09 Sending build context to Docker daemon 179.2kB 20:50:09 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:50:09 Step 2/12 : FROM ${BASE} AS builder 20:50:09 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:50:09 9fda8d8052c6: Pulling fs layer 20:50:09 5d54e960e981: Pulling fs layer 20:50:09 c4a7e357bf2a: Pulling fs layer 20:50:09 f0e02332f6b5: Pulling fs layer 20:50:09 66412af1f25a: Pulling fs layer 20:50:09 1baf3a5c0e64: Pulling fs layer 20:50:09 9a37bb91b891: Pulling fs layer 20:50:09 a29adfc67d43: Pulling fs layer 20:50:09 d5de9f91c1a4: Pulling fs layer 20:50:09 1baf3a5c0e64: Waiting 20:50:09 9a37bb91b891: Waiting 20:50:09 a29adfc67d43: Waiting 20:50:09 d5de9f91c1a4: Waiting 20:50:09 66412af1f25a: Waiting 20:50:09 f0e02332f6b5: Waiting 20:50:09 5d54e960e981: Verifying Checksum 20:50:09 5d54e960e981: Download complete 20:50:09 f0e02332f6b5: Verifying Checksum 20:50:09 f0e02332f6b5: Download complete 20:50:09 66412af1f25a: Verifying Checksum 20:50:09 66412af1f25a: Download complete 20:50:09 9fda8d8052c6: Verifying Checksum 20:50:09 9fda8d8052c6: Download complete 20:50:09 9a37bb91b891: Verifying Checksum 20:50:09 9a37bb91b891: Download complete 20:50:10 9fda8d8052c6: Pull complete 20:50:10 a29adfc67d43: Download complete 20:50:11 5d54e960e981: Pull complete 20:50:11 d5de9f91c1a4: Verifying Checksum 20:50:11 d5de9f91c1a4: Download complete 20:50:11 c4a7e357bf2a: Verifying Checksum 20:50:11 c4a7e357bf2a: Download complete 20:50:12 1baf3a5c0e64: Verifying Checksum 20:50:12 1baf3a5c0e64: Download complete 20:50:24 c4a7e357bf2a: Pull complete 20:50:24 f0e02332f6b5: Pull complete 20:50:24 66412af1f25a: Pull complete 20:50:31 1baf3a5c0e64: Pull complete 20:50:32 9a37bb91b891: Pull complete 20:50:33 a29adfc67d43: Pull complete 20:50:35 d5de9f91c1a4: Pull complete 20:50:35 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 20:50:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:50:35 ---> 746ca1b523b5 20:50:35 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 20:50:37 ---> Running in 6dd38246a36f 20:50:37 Removing intermediate container 6dd38246a36f 20:50:37 ---> bc2a17c82502 20:50:37 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:50:37 ---> Running in eb2fcf8add3a 20:50:37 Removing intermediate container eb2fcf8add3a 20:50:37 ---> 73c57352822a 20:50:37 Step 5/12 : ARG ADD_BUILD_TAGS="" 20:50:37 ---> Running in 2c105deeb389 20:50:38 Removing intermediate container 2c105deeb389 20:50:38 ---> 5bfe4b15af24 20:50:38 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:50:38 ---> Running in 0646afe04eeb 20:50:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:50:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:50:41 OK: 267 MiB in 56 packages 20:50:42 Removing intermediate container 0646afe04eeb 20:50:42 ---> f9b00d3539d1 20:50:42 Step 7/12 : WORKDIR /app 20:50:42 ---> Running in c3dc5f06aac3 20:50:43 Removing intermediate container c3dc5f06aac3 20:50:43 ---> 4787664cca31 20:50:43 Step 8/12 : COPY go.mod vendor* ./ 20:50:43 ---> ff0ba7a30ad7 20:50:43 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:50:43 ---> Running in 655fab791eed 20:52:05 Removing intermediate container 655fab791eed 20:52:05 ---> 6db2d3bc6c46 20:52:05 Step 10/12 : COPY . . 20:52:05 ---> e471c3f85a07 20:52:05 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:52:05 ---> Running in af3a9397b318 20:52:05 Removing intermediate container af3a9397b318 20:52:05 ---> d28c31442ee8 20:52:05 Step 12/12 : RUN $MAKE 20:52:05 ---> Running in c5a1a2476cb1 20:52:05 noop 20:52:05 Removing intermediate container c5a1a2476cb1 20:52:05 ---> acb978003292 20:52:05 Successfully built acb978003292 20:52:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:05 + docker inspect -f . ci-base-image-arm64 20:52:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:06 prd-ubuntu20.04-docker-arm64-4c-16g-5980 does not seem to be running inside a container 20:52:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:52:07 $ docker top db0b1bb4de5a7387101af878698120494accbefddeaed6b4df2626675cd49cce -eo pid,comm [Pipeline] { [Pipeline] sh 20:52:08 + go version 20:52:08 go version go1.21.0 linux/arm64 [Pipeline] } 20:52:08 $ docker stop --time=1 db0b1bb4de5a7387101af878698120494accbefddeaed6b4df2626675cd49cce 20:52:10 $ docker rm -f --volumes db0b1bb4de5a7387101af878698120494accbefddeaed6b4df2626675cd49cce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:10 + docker inspect -f . ci-base-image-arm64 20:52:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:11 prd-ubuntu20.04-docker-arm64-4c-16g-5980 does not seem to be running inside a container 20:52:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:52:12 $ docker top d6c4940a36bd1ca2a3d46290895e62e1967d8ed420aea89b4d63885e7f2d89a0 -eo pid,comm [Pipeline] { [Pipeline] sh 20:52:13 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 20:52:13 + make test 20:52:13 go test -race -coverprofile=coverage.out ./... 20:54:50 ? github.com/edgexfoundry/app-service-configurable [no test files] 20:54:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:54:50 go vet ./... 20:56:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:56:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:56:11 ./bin/test-attribution-txt.sh [Pipeline] echo 20:56:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:56:11 $ docker stop --time=1 d6c4940a36bd1ca2a3d46290895e62e1967d8ed420aea89b4d63885e7f2d89a0 20:56:14 $ docker rm -f --volumes d6c4940a36bd1ca2a3d46290895e62e1967d8ed420aea89b4d63885e7f2d89a0 [Pipeline] // withDockerContainer [Pipeline] sh 20:56:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:56:16 Warning: overwriting stash ‘coverage-report’ 20:56:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:56:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:56:17 + ls -al . 20:56:17 total 180 20:56:17 drwxrwxr-x 7 jenkins jenkins 4096 Sep 12 20:52 . 20:56:17 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 20:49 .. 20:56:17 -rw-rw-r-- 1 jenkins jenkins 119 Sep 12 20:49 .dockerignore 20:56:17 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 20:49 .git 20:56:17 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 20:49 .github 20:56:17 -rw-rw-r-- 1 jenkins jenkins 171 Sep 12 20:49 .gitignore 20:56:17 -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 20:49 .golangci.yml 20:56:17 -rw-rw-r-- 1 jenkins jenkins 10394 Sep 12 20:49 Attribution.txt 20:56:17 -rw-rw-r-- 1 jenkins jenkins 35039 Sep 12 20:49 CHANGELOG.md 20:56:17 -rw-rw-r-- 1 jenkins jenkins 1898 Sep 12 20:49 Dockerfile 20:56:17 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 20:49 GOVERNANCE.md 20:56:17 -rw-rw-r-- 1 jenkins jenkins 688 Sep 12 20:49 Jenkinsfile 20:56:17 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 12 20:49 LICENSE 20:56:17 -rw-rw-r-- 1 jenkins jenkins 618 Sep 12 20:49 OWNERS.md 20:56:17 -rw-rw-r-- 1 jenkins jenkins 4619 Sep 12 20:49 README.md 20:56:17 -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 20:45 VERSION 20:56:17 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 20:49 bin 20:56:17 -rw-r--r-- 1 jenkins jenkins 13 Sep 12 20:52 coverage.out 20:56:17 -rw-rw-r-- 1 jenkins jenkins 3729 Sep 12 20:49 go.mod 20:56:17 -rw-rw-r-- 1 jenkins jenkins 33854 Sep 12 20:49 go.sum 20:56:17 -rw-rw-r-- 1 jenkins jenkins 1937 Sep 12 20:49 main.go 20:56:17 -rw-rw-r-- 1 jenkins jenkins 2569 Sep 12 20:49 makefile 20:56:17 drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 20:49 res 20:56:17 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 20:49 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:18 + 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=5e650dceb2ca69956c8b828eb1956a7b4941fe22 --label arch=arm64 --label version=0.0.0 . 20:56:18 Sending build context to Docker daemon 180.2kB 20:56:18 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 20:56:18 Step 2/26 : FROM ${BASE} AS builder 20:56:18 ---> acb978003292 20:56:18 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 20:56:18 ---> Running in a82a7089033e 20:56:18 Removing intermediate container a82a7089033e 20:56:18 ---> 8cc9331479bd 20:56:18 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 20:56:19 ---> Running in bb88e81012a9 20:56:19 Removing intermediate container bb88e81012a9 20:56:19 ---> 27fda9ae4066 20:56:19 Step 5/26 : ARG ADD_BUILD_TAGS="" 20:56:19 ---> Running in ba74bc832a3a 20:56:19 Removing intermediate container ba74bc832a3a 20:56:19 ---> 1ecff1e8ba79 20:56:19 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:56:20 ---> Running in a491339ee9e5 20:56:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:56:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:56:22 OK: 267 MiB in 56 packages 20:56:23 Removing intermediate container a491339ee9e5 20:56:23 ---> bc8c51babba7 20:56:23 Step 7/26 : WORKDIR /app 20:56:23 ---> Running in 35a08ac37007 20:56:23 Removing intermediate container 35a08ac37007 20:56:23 ---> 669598f5d68f 20:56:23 Step 8/26 : COPY go.mod vendor* ./ 20:56:24 ---> ada7a9d4065e 20:56:24 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:56:24 ---> Running in 55a8b4921ce6 20:56:28 Removing intermediate container 55a8b4921ce6 20:56:28 ---> a600262eec42 20:56:28 Step 10/26 : COPY . . 20:56:28 ---> eaa5e6b5354e 20:56:28 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:56:28 ---> Running in 788f695e3dcb 20:56:29 Removing intermediate container 788f695e3dcb 20:56:29 ---> 99c3a0664ef9 20:56:29 Step 12/26 : RUN $MAKE 20:56:29 ---> Running in cf304b00ebf5 20:56:30 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.26 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 20:58:21 Removing intermediate container cf304b00ebf5 20:58:21 ---> 02be56887bca 20:58:21 Step 13/26 : FROM alpine:3.18 20:58:21 3.18: Pulling from library/alpine 20:58:21 9fda8d8052c6: Already exists 20:58:21 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 20:58:21 Status: Downloaded newer image for alpine:3.18 20:58:21 ---> f6648c04cd6c 20:58:21 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:58:21 ---> Running in afe96fda7c99 20:58:21 Removing intermediate container afe96fda7c99 20:58:21 ---> bd92a4227296 20:58:21 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 20:58:21 ---> Running in dc399aa476f9 20:58:21 Removing intermediate container dc399aa476f9 20:58:21 ---> 7771a4c8d39c 20:58:21 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 20:58:21 ---> Running in d98112585d33 20:58:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:58:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:58:21 (1/2) Installing ca-certificates (20230506-r0) 20:58:21 (2/2) Installing dumb-init (1.2.5-r2) 20:58:21 Executing busybox-1.36.1-r2.trigger 20:58:21 Executing ca-certificates-20230506-r0.trigger 20:58:21 OK: 9 MiB in 17 packages 20:58:22 Removing intermediate container d98112585d33 20:58:22 ---> 2d0adb986a2b 20:58:22 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 20:58:22 ---> 586bc63c1b03 20:58:22 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 20:58:23 ---> 57fb0dfa4840 20:58:23 Step 19/26 : COPY --from=builder /app/res/ /res/ 20:58:23 ---> 2b00d475553a 20:58:23 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 20:58:25 ---> fb12e9859aff 20:58:25 Step 21/26 : EXPOSE 48095 20:58:25 ---> Running in bccded33f4ec 20:58:25 Removing intermediate container bccded33f4ec 20:58:25 ---> cbcf5ac320c4 20:58:25 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 20:58:25 ---> Running in a07961a38242 20:58:25 Removing intermediate container a07961a38242 20:58:25 ---> e6e56bff2a5a 20:58:25 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 20:58:26 ---> Running in 9c62d86774ff 20:58:26 Removing intermediate container 9c62d86774ff 20:58:26 ---> a82ab546f2df 20:58:26 Step 24/26 : LABEL arch=arm64 20:58:26 ---> Running in 68139c507379 20:58:26 Removing intermediate container 68139c507379 20:58:26 ---> 09a92a344208 20:58:26 Step 25/26 : LABEL git_sha=5e650dceb2ca69956c8b828eb1956a7b4941fe22 20:58:26 ---> Running in 66c104104a11 20:58:26 Removing intermediate container 66c104104a11 20:58:26 ---> 6abe9adbe951 20:58:26 Step 26/26 : LABEL version=0.0.0 20:58:27 ---> Running in c643ff1a5ab1 20:58:27 Removing intermediate container c643ff1a5ab1 20:58:27 ---> 96ac98327650 20:58:27 [Warning] One or more build-args [ARCH] were not consumed 20:58:27 Successfully built 96ac98327650 20:58:27 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:58:28 20:58:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:58:28 arm64: Pulling from edgex-lftools-log-publisher 20:58:28 8998bd30e6a1: Pulling fs layer 20:58:28 04944245beec: Pulling fs layer 20:58:28 699f458cf7ca: Pulling fs layer 20:58:28 765212b225bb: Pulling fs layer 20:58:28 f23df028b6ca: Pulling fs layer 20:58:28 d65c8cfc05b1: Pulling fs layer 20:58:28 2437ff75d9bd: Pulling fs layer 20:58:28 765212b225bb: Waiting 20:58:28 f23df028b6ca: Waiting 20:58:28 d65c8cfc05b1: Waiting 20:58:28 2437ff75d9bd: Waiting 20:58:28 04944245beec: Verifying Checksum 20:58:28 04944245beec: Download complete 20:58:28 765212b225bb: Verifying Checksum 20:58:28 765212b225bb: Download complete 20:58:28 f23df028b6ca: Verifying Checksum 20:58:28 f23df028b6ca: Download complete 20:58:28 d65c8cfc05b1: Verifying Checksum 20:58:28 d65c8cfc05b1: Download complete 20:58:29 699f458cf7ca: Verifying Checksum 20:58:29 699f458cf7ca: Download complete 20:58:29 8998bd30e6a1: Verifying Checksum 20:58:29 8998bd30e6a1: Download complete 20:58:31 2437ff75d9bd: Verifying Checksum 20:58:31 2437ff75d9bd: Download complete 20:58:32 8998bd30e6a1: Pull complete 20:58:33 04944245beec: Pull complete 20:58:34 699f458cf7ca: Pull complete 20:58:34 765212b225bb: Pull complete 20:58:35 f23df028b6ca: Pull complete 20:58:35 d65c8cfc05b1: Pull complete 20:58:50 2437ff75d9bd: Pull complete 20:58:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:58:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:58:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:51 prd-ubuntu20.04-docker-arm64-4c-16g-5980 does not seem to be running inside a container 20:58:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:58:54 $ docker top a550233309d498f9c5fb08a21fb02cf6f9b340ebe215f152d1ebc83deb1b85fb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:54 ---> job-cost.sh 20:58:55 lf-activate-venv: SKIPPING 20:58:55 INFO: No Stack... 20:58:55 INFO: Retrieving Pricing Info for: v3-standard-4 20:58:56 INFO: Archiving Costs [Pipeline] sh 20:58:57 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 20:58:57 + cut -d, -f6 [Pipeline] lock 20:58:57 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-594-1-stack-cost] 20:58:57 Resource [jenkins-edgexfoundry-app-service-configurable-PR-594-1-stack-cost] did not exist. Created. 20:58:57 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-594-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:58:57 /w/workspace/app-service-configurable/1@tmp/durable-b152b2cd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:58:58 + echo total: 0.10999999940395355 [Pipeline] stash 20:58:58 Warning: overwriting stash ‘stack-cost’ 20:58:58 Stashed 1 file(s) [Pipeline] } 20:58:58 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-594-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:58:58 $ docker stop --time=1 a550233309d498f9c5fb08a21fb02cf6f9b340ebe215f152d1ebc83deb1b85fb 20:59:00 $ docker rm -f --volumes a550233309d498f9c5fb08a21fb02cf6f9b340ebe215f152d1ebc83deb1b85fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 20:59:01 provisioning config files... 20:59:01 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-594@tmp/config5058062531590877568tmp [Pipeline] { [Pipeline] sh 20:59:01 + set +x 20:59:01 + curl -s https://codecov.io/bash 20:59:01 + bash -s -- 20:59:01 20:59:01 _____ _ 20:59:01 / ____| | | 20:59:01 | | ___ __| | ___ ___ _____ __ 20:59:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:59:01 | |___| (_) | (_| | __/ (_| (_) \ V / 20:59:01 \_____\___/ \__,_|\___|\___\___/ \_/ 20:59:01 Bash-1.0.6 20:59:01 20:59:01 20:59:01 ==> git version 2.25.1 found 20:59:01 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 20:59:01 Release-Date: 2020-01-08 20:59:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:59:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:59:01 ==> Jenkins CI detected. 20:59:01 current dir:  /w/workspace/_app-service-configurable_PR-594 20:59:01 project root: . 20:59:01 --> token set from env 20:59:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:59:01 ==> Running gcov in . (disable via -X gcov) 20:59:01 ==> Python coveragepy not found 20:59:01 ==> Searching for coverage reports in: 20:59:01 + . 20:59:01 -> Found 1 reports 20:59:01 ==> Detecting git/mercurial file structure 20:59:01 ==> Reading reports 20:59:01 + ./coverage.out bytes=13 20:59:01 ==> Appending adjustments 20:59:01 https://docs.codecov.io/docs/fixing-reports 20:59:01 + Found adjustments 20:59:01 ==> Gzipping contents 20:59:01 4.0K /tmp/codecov.1lLBRZ.gz 20:59:01 ==> Uploading reports 20:59:01 url: https://codecov.io 20:59:01 query: branch=PR-594&commit=5e650dceb2ca69956c8b828eb1956a7b4941fe22&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-594%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=594&job=&cmd_args= 20:59:01 -> Pinging Codecov 20:59:01 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-594&commit=5e650dceb2ca69956c8b828eb1956a7b4941fe22&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-594%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=594&job=&cmd_args= 20:59:01 -> Uploading to 20:59:01 https://storage.googleapis.com/codecov/v4/raw/2023-09-12/A97CA9966030D2A3747ED39772930CCE/5e650dceb2ca69956c8b828eb1956a7b4941fe22/6c18ff22-338f-494c-93bb-0cc6b43a311e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230912T205901Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5d6725eefb809351a451ecfbb53e8ef10e4544103423a4fa6914adc9714695cf 20:59:01 % Total % Received % Xferd Average Speed Time Time Time Current 20:59:01 Dload Upload Total Spent Left Speed 20:59:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 2257 --:--:-- --:--:-- --:--:-- 2257 20:59:02 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/5e650dceb2ca69956c8b828eb1956a7b4941fe22 [Pipeline] } 20:59:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:59:03 + [ -d /w/workspace/_app-service-configurable_PR-594/archives ] 20:59:03 + ls -al /w/workspace/_app-service-configurable_PR-594/archives 20:59:03 total 16 20:59:03 drwxr-xr-x 3 root root 4096 Sep 12 20:48 . 20:59:03 drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 20:48 .. 20:59:03 drwxr-xr-x 2 root root 4096 Sep 12 20:48 cost 20:59:03 -rw-r--r-- 1 root root 96 Sep 12 20:48 cost.csv 20:59:03 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-594/archives 20:59:03 + ls -al /w/workspace/_app-service-configurable_PR-594/archives 20:59:03 total 16 20:59:03 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 20:48 . 20:59:03 drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 20:48 .. 20:59:03 drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 20:48 cost 20:59:03 -rw-r--r-- 1 jenkins jenkins 96 Sep 12 20:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:59:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:59:05 ---> package-listing.sh 20:59:05 ++ facter osfamily 20:59:05 ++ tr '[:upper:]' '[:lower:]' 20:59:05 + OS_FAMILY=debian 20:59:05 + workspace=/w/workspace/_app-service-configurable_PR-594 20:59:05 + START_PACKAGES=/tmp/packages_start.txt 20:59:05 + END_PACKAGES=/tmp/packages_end.txt 20:59:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:59:05 + PACKAGES=/tmp/packages_start.txt 20:59:05 + '[' /w/workspace/_app-service-configurable_PR-594 ']' 20:59:05 + PACKAGES=/tmp/packages_end.txt 20:59:05 + case "${OS_FAMILY}" in 20:59:05 + dpkg -l 20:59:05 + grep '^ii' 20:59:05 + '[' -f /tmp/packages_start.txt ']' 20:59:05 + '[' -f /tmp/packages_end.txt ']' 20:59:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:59:05 + '[' /w/workspace/_app-service-configurable_PR-594 ']' 20:59:05 + mkdir -p /w/workspace/_app-service-configurable_PR-594/archives/ 20:59:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-594/archives/ [Pipeline] echo 20:59:05 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-594/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:59:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:59:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:06 prd-ubuntu20.04-docker-8c-8g-5978 does not seem to be running inside a container 20:59:06 $ 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-594/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-594 -v /w/workspace/_app-service-configurable_PR-594:/w/workspace/_app-service-configurable_PR-594:rw,z -v /w/workspace/_app-service-configurable_PR-594@tmp:/w/workspace/_app-service-configurable_PR-594@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:59:06 $ docker top d6614acb191e75dc1458ebfc2871ee6d2fbfead01a134a5213396fb56f493238 -eo pid,comm [Pipeline] { [Pipeline] sh 20:59:07 + touch /tmp/pre-build-complete [Pipeline] sh 20:59:07 + mkdir -p /var/log/sysstat [Pipeline] sh 20:59:07 + ls /var/log/sa-host 20:59:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:59:07 provisioning config files... 20:59:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-594@tmp/config6036529050376939160tmp [Pipeline] { [Pipeline] echo 20:59:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:59:08 ---> create-netrc.sh [Pipeline] } 20:59:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:59:08 ---> python-tools-install.sh [Pipeline] echo 20:59:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:59:09 ---> sudo-logs.sh 20:59:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:59:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:59:09 ---> job-cost.sh 20:59:09 lf-activate-venv: SKIPPING 20:59:09 DEBUG: total: 0.2199999988079071 20:59:09 INFO: Retrieving Stack Cost... 20:59:10 INFO: Retrieving Pricing Info for: v3-standard-8 20:59:10 INFO: Archiving Costs [Pipeline] echo 20:59:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:59:10 ---> logs-deploy.sh 20:59:10 lf-activate-venv: SKIPPING 20:59:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-594/1 20:59:10 INFO: archiving workspace using pattern(s): 20:59:11 Archives upload complete. 20:59:11 INFO: archiving logs to Nexus