Pull request #416 updated 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 farshidtz for edgexfoundry/app-service-configurable Obtained Jenkinsfile from d6bbe904d93ed783ae717cf966c42faf9450abf9+a669bdb4f1e2d7cd4e5cba464327739a597f1457 (808c1a4b1dabdbbf9169bed9c3e8b3dc71af6cbc) 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-ssh16546706228309814334.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh12506228210421826761.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-416/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-416/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17534030625680388630.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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-ssh13963821947357865797.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-416/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-416/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1406195981025726852.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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.17 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-40437’ Running on prd-ubuntu20.04-docker-8c-8g-40439 in /w/workspace/_app-service-configurable_PR-416 [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-416 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit a669bdb4f1e2d7cd4e5cba464327739a597f1457 into PR head commit d6bbe904d93ed783ae717cf966c42faf9450abf9 Merge succeeded, producing d6bbe904d93ed783ae717cf966c42faf9450abf9 Checking out Revision d6bbe904d93ed783ae717cf966c42faf9450abf9 (PR-416) > 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/416/head:refs/remotes/origin/PR-416 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d6bbe904d93ed783ae717cf966c42faf9450abf9 # 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 a669bdb4f1e2d7cd4e5cba464327739a597f1457 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d6bbe904d93ed783ae717cf966c42faf9450abf9 # timeout=10 Commit message: "docs: cleanup references" > git rev-list --no-walk becc84409fb8c882c3937b343ba8459a886daa78 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:19:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:19:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:19:09 ========================================================= 13:19:09 EdgeX Global Pipelines Version Info 13:19:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:19:10 ------------------- 13:19:10 stable info: 13:19:10 ------------------- 13:19:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:19:10 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 13:19:10 Message: update stable to v1.0.227 13:19:10 ------------------- 13:19:10 experimental info: 13:19:10 ------------------- 13:19:10 Commited By: **** collab-it+edgex@linuxfoundation.org 13:19:10 Commit SHA: 602d0728ebfd21a5b975e02ac0465e47e5fef8c7 13:19:10 Message: update experimental to v1.0.228 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:19:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 13:19:10 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 13:19:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:19:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:19:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:19:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 13:19:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:19:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:19:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:19:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:19:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:19:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 13:19:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:19:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:19:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:19:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:19:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:19:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:19:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:19:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:19:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:19:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:19:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:19:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:19:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:19:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:19:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-416 [Pipeline] echo 13:19:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-416 [Pipeline] echo 13:19:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-416 [Pipeline] echo 13:19:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d6bbe904d93ed783ae717cf966c42faf9450abf9 [Pipeline] echo 13:19:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d6bbe90 [Pipeline] echo 13:19:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:19:11 provisioning config files... 13:19:11 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-416@tmp/config4800829648186114965tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:19:11 ---> docker-login.sh 13:19:11 nexus3.edgexfoundry.org:10001 13:19:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:19:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:19:12 Configure a credential helper to remove this warning. See 13:19:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:19:12 13:19:12 Login Succeeded 13:19:12 nexus3.edgexfoundry.org:10002 13:19:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:19:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:19:12 Configure a credential helper to remove this warning. See 13:19:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:19:12 13:19:12 Login Succeeded 13:19:12 nexus3.edgexfoundry.org:10003 13:19:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:19:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:19:12 Configure a credential helper to remove this warning. See 13:19:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:19:12 13:19:12 Login Succeeded 13:19:12 nexus3.edgexfoundry.org:10004 13:19:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:19:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:19:12 Configure a credential helper to remove this warning. See 13:19:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:19:12 13:19:12 Login Succeeded 13:19:12 docker.io 13:19:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:19:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:19:12 Configure a credential helper to remove this warning. See 13:19:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:19:12 13:19:12 Login Succeeded 13:19:12 ---> docker-login.sh ends [Pipeline] } 13:19:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:19:13 + git rev-list -1 --merges d6bbe904d93ed783ae717cf966c42faf9450abf9~1..d6bbe904d93ed783ae717cf966c42faf9450abf9 [Pipeline] echo 13:19:13 -----------> git rev-list -1 --merges d6bbe904d93ed783ae717cf966c42faf9450abf9~1..d6bbe904d93ed783ae717cf966c42faf9450abf9 d6bbe904d93ed783ae717cf966c42faf9450abf9 [false] [Pipeline] sh 13:19:13 + git log --format=format:%s -1 d6bbe904d93ed783ae717cf966c42faf9450abf9 [Pipeline] echo 13:19:13 ========================================================= 13:19:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:19:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:19:13 + git log --format=format:%s -1 d6bbe904d93ed783ae717cf966c42faf9450abf9 [Pipeline] echo 13:19:13 [semverPrep] GIT_COMMIT: d6bbe904d93ed783ae717cf966c42faf9450abf9, Commit Message: docs: cleanup references [Pipeline] echo 13:19:14 [semverPrep] This is not a build commit. [Pipeline] sh 13:19:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:19:14 + grep -v github /etc/ssh/ssh_known_hosts 13:19:14 + [ -e /tmp/ssh_known_hosts ] 13:19:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:19:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:19:14 + sudo tee -a /etc/ssh/ssh_known_hosts 13:19:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:19:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:19:14 13:19:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:19:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:19:15 latest: Pulling from edgex-devops/py-git-semver 13:19:15 1fe172e4850f: Pulling fs layer 13:19:15 caf521ccaac6: Pulling fs layer 13:19:15 3ead6fa29328: Pulling fs layer 13:19:15 5c2a1cbceb83: Pulling fs layer 13:19:15 a8d5f1318db7: Pulling fs layer 13:19:15 c427282e49a2: Pulling fs layer 13:19:15 1827001aaf11: Pulling fs layer 13:19:15 0714d37db230: Pulling fs layer 13:19:15 ac28cf19c067: Pulling fs layer 13:19:15 ca983d60f3e2: Pulling fs layer 13:19:15 9f894cec8388: Pulling fs layer 13:19:15 a8d5f1318db7: Waiting 13:19:15 c427282e49a2: Waiting 13:19:15 9f894cec8388: Waiting 13:19:15 1827001aaf11: Waiting 13:19:15 0714d37db230: Waiting 13:19:15 ca983d60f3e2: Waiting 13:19:15 ac28cf19c067: Waiting 13:19:15 caf521ccaac6: Download complete 13:19:15 5c2a1cbceb83: Download complete 13:19:15 a8d5f1318db7: Verifying Checksum 13:19:15 a8d5f1318db7: Download complete 13:19:15 3ead6fa29328: Verifying Checksum 13:19:15 3ead6fa29328: Download complete 13:19:15 c427282e49a2: Verifying Checksum 13:19:15 c427282e49a2: Download complete 13:19:15 0714d37db230: Download complete 13:19:15 ac28cf19c067: Verifying Checksum 13:19:15 ac28cf19c067: Download complete 13:19:15 ca983d60f3e2: Download complete 13:19:15 9f894cec8388: Verifying Checksum 13:19:15 9f894cec8388: Download complete 13:19:15 1fe172e4850f: Verifying Checksum 13:19:15 1fe172e4850f: Download complete 13:19:15 1827001aaf11: Verifying Checksum 13:19:15 1827001aaf11: Download complete 13:19:16 1fe172e4850f: Pull complete 13:19:16 caf521ccaac6: Pull complete 13:19:17 3ead6fa29328: Pull complete 13:19:17 5c2a1cbceb83: Pull complete 13:19:18 a8d5f1318db7: Pull complete 13:19:18 c427282e49a2: Pull complete 13:19:20 1827001aaf11: Pull complete 13:19:20 0714d37db230: Pull complete 13:19:20 ac28cf19c067: Pull complete 13:19:20 ca983d60f3e2: Pull complete 13:19:20 9f894cec8388: Pull complete 13:19:20 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 13:19:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:19:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 13:19:20 prd-ubuntu20.04-docker-8c-8g-40439 does not seem to be running inside a container 13:19:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-416 -v /w/workspace/_app-service-configurable_PR-416:/w/workspace/_app-service-configurable_PR-416:rw,z -v /w/workspace/_app-service-configurable_PR-416@tmp:/w/workspace/_app-service-configurable_PR-416@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-devops/py-git-semver:latest cat 13:19:21 $ docker top 3bb7cacecf413d1b3602e981adb8b2bba43693e0bfedd982762b6600b61b8eed -eo pid,comm 13:19:22 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). 13:19:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:19:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:19:22 [ssh-agent] Looking for ssh-agent implementation... 13:19:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:19:22 $ docker exec 3bb7cacecf413d1b3602e981adb8b2bba43693e0bfedd982762b6600b61b8eed ssh-agent 13:19:22 SSH_AUTH_SOCK=/tmp/ssh-RC5fvAhSnY5q/agent.32 13:19:22 SSH_AGENT_PID=39 13:19:22 Running ssh-add (command line suppressed) 13:19:22 Identity added: /w/workspace/_app-service-configurable_PR-416@tmp/private_key_3472162888712811453.key (/w/workspace/_app-service-configurable_PR-416@tmp/private_key_3472162888712811453.key) 13:19:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:19:22 + git tag --points-at HEAD [Pipeline] } 13:19:22 $ docker exec --env ******** --env ******** 3bb7cacecf413d1b3602e981adb8b2bba43693e0bfedd982762b6600b61b8eed ssh-agent -k 13:19:22 unset SSH_AUTH_SOCK; 13:19:22 unset SSH_AGENT_PID; 13:19:22 echo Agent pid 39 killed; 13:19:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:19:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:19:22 [ssh-agent] Looking for ssh-agent implementation... 13:19:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:19:23 $ docker exec 3bb7cacecf413d1b3602e981adb8b2bba43693e0bfedd982762b6600b61b8eed ssh-agent 13:19:23 SSH_AUTH_SOCK=/tmp/ssh-iAMnq5g84OKM/agent.73 13:19:23 SSH_AGENT_PID=79 13:19:23 Running ssh-add (command line suppressed) 13:19:23 Identity added: /w/workspace/_app-service-configurable_PR-416@tmp/private_key_216086369936777114.key (/w/workspace/_app-service-configurable_PR-416@tmp/private_key_216086369936777114.key) 13:19:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:19:23 + git semver init 13:19:23 2022-05-04 13:19:23,811 [run_init] DEBUG init version:0.0.0 force:False 13:19:23 2022-05-04 13:19:23,812 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-416/.semver 13:19:23 2022-05-04 13:19:23,812 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-416/.semver 13:19:23 2022-05-04 13:19:23,813 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-416/.semver'], cwd=/w/workspace/_app-service-configurable_PR-416, universal_newlines=False, shell=None, istream=None) 13:19:24 2022-05-04 13:19:24,613 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-416/.git/info/exclude 13:19:24 2022-05-04 13:19:24,614 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-416/.semver/PR-416 with force:False 13:19:24 2022-05-04 13:19:24,614 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-416/.semver/PR-416 13:19:24 2022-05-04 13:19:24,617 [execute] INFO git cat-file --batch-check 13:19:24 2022-05-04 13:19:24,618 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-416/.semver, universal_newlines=False, shell=None, istream=) 13:19:24 2022-05-04 13:19:24,624 [execute] INFO git cat-file --batch 13:19:24 2022-05-04 13:19:24,624 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-416/.semver, universal_newlines=False, shell=None, istream=) 13:19:24 2022-05-04 13:19:24,629 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-416/.semver/PR-416 13:19:24 0.0.0 [Pipeline] } 13:19:24 $ docker exec --env ******** --env ******** 3bb7cacecf413d1b3602e981adb8b2bba43693e0bfedd982762b6600b61b8eed ssh-agent -k 13:19:24 unset SSH_AUTH_SOCK; 13:19:24 unset SSH_AGENT_PID; 13:19:24 echo Agent pid 79 killed; 13:19:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:19:25 + git semver [Pipeline] } 13:19:25 $ docker stop --time=1 3bb7cacecf413d1b3602e981adb8b2bba43693e0bfedd982762b6600b61b8eed 13:19:27 $ docker rm -f 3bb7cacecf413d1b3602e981adb8b2bba43693e0bfedd982762b6600b61b8eed [Pipeline] // withDockerContainer [Pipeline] sh 13:19:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:19:27 Stashed 1 file(s) [Pipeline] echo 13:19:27 [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 13:19:27 provisioning config files... 13:19:27 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-416@tmp/config5337144028807819316tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:19:28 ---> docker-login.sh 13:19:28 nexus3.edgexfoundry.org:10001 13:19:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:19:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:19:28 Configure a credential helper to remove this warning. See 13:19:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:19:28 13:19:28 Login Succeeded 13:19:28 nexus3.edgexfoundry.org:10002 13:19:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:19:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:19:28 Configure a credential helper to remove this warning. See 13:19:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:19:28 13:19:28 Login Succeeded 13:19:28 nexus3.edgexfoundry.org:10003 13:19:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:19:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:19:28 Configure a credential helper to remove this warning. See 13:19:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:19:28 13:19:28 Login Succeeded 13:19:28 nexus3.edgexfoundry.org:10004 13:19:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:19:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:19:28 Configure a credential helper to remove this warning. See 13:19:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:19:28 13:19:28 Login Succeeded 13:19:28 docker.io 13:19:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:19:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:19:29 Configure a credential helper to remove this warning. See 13:19:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:19:29 13:19:29 Login Succeeded 13:19:29 ---> docker-login.sh ends [Pipeline] } 13:19:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:19:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:19:29 ========================================================= 13:19:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 13:19:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:19:29 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 13:19:29 Sending build context to Docker daemon 3.048MB 13:19:29 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 13:19:29 Step 2/13 : FROM ${BASE} AS builder 13:19:29 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 13:19:29 59bf1c3509f3: Pulling fs layer 13:19:29 666ba61612fd: Pulling fs layer 13:19:29 8ed8ca486205: Pulling fs layer 13:19:29 4fe6c5a15a65: Pulling fs layer 13:19:29 22a0e8bec74d: Pulling fs layer 13:19:29 ca2b28591e48: Pulling fs layer 13:19:29 a51346096db8: Pulling fs layer 13:19:29 daebc70d1ce1: Pulling fs layer 13:19:29 4fe6c5a15a65: Waiting 13:19:29 ca2b28591e48: Waiting 13:19:29 22a0e8bec74d: Waiting 13:19:29 a51346096db8: Waiting 13:19:29 0e18a0eac166: Pulling fs layer 13:19:29 daebc70d1ce1: Waiting 13:19:29 0e18a0eac166: Waiting 13:19:29 8ed8ca486205: Verifying Checksum 13:19:29 8ed8ca486205: Download complete 13:19:29 666ba61612fd: Verifying Checksum 13:19:29 666ba61612fd: Download complete 13:19:29 22a0e8bec74d: Verifying Checksum 13:19:29 22a0e8bec74d: Download complete 13:19:29 ca2b28591e48: Verifying Checksum 13:19:29 ca2b28591e48: Download complete 13:19:29 59bf1c3509f3: Verifying Checksum 13:19:29 59bf1c3509f3: Download complete 13:19:29 a51346096db8: Download complete 13:19:29 daebc70d1ce1: Verifying Checksum 13:19:29 daebc70d1ce1: Download complete 13:19:29 59bf1c3509f3: Pull complete 13:19:30 666ba61612fd: Pull complete 13:19:30 8ed8ca486205: Pull complete 13:19:30 0e18a0eac166: Verifying Checksum 13:19:30 0e18a0eac166: Download complete 13:19:30 4fe6c5a15a65: Verifying Checksum 13:19:30 4fe6c5a15a65: Download complete 13:19:34 4fe6c5a15a65: Pull complete 13:19:34 22a0e8bec74d: Pull complete 13:19:34 ca2b28591e48: Pull complete 13:19:34 a51346096db8: Pull complete 13:19:34 daebc70d1ce1: Pull complete 13:19:37 0e18a0eac166: Pull complete 13:19:37 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 13:19:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 13:19:37 ---> f018257e8ee9 13:19:37 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 13:19:38 ---> Running in 63e9c180b224 13:19:38 Removing intermediate container 63e9c180b224 13:19:38 ---> a798bf78f403 13:19:38 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 13:19:38 ---> Running in 50a2f74c0a34 13:19:38 Removing intermediate container 50a2f74c0a34 13:19:38 ---> cd517a581e59 13:19:38 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 13:19:38 ---> Running in 557345f2695b 13:19:38 Removing intermediate container 557345f2695b 13:19:38 ---> bd4ab656165b 13:19:38 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:19:39 ---> Running in 925b753b1335 13:19:39 Removing intermediate container 925b753b1335 13:19:39 ---> 057232db50dc 13:19:39 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:19:39 ---> Running in 80f55427f9c3 13:19:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:19:40 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:19:41 OK: 221 MiB in 52 packages 13:19:41 Removing intermediate container 80f55427f9c3 13:19:41 ---> 57663eb0e860 13:19:41 Step 8/13 : WORKDIR /app 13:19:41 ---> Running in e08ed6071705 13:19:41 Removing intermediate container e08ed6071705 13:19:41 ---> 92cac27b3946 13:19:41 Step 9/13 : COPY go.mod vendor* ./ 13:19:42 ---> 636e6f457856 13:19:42 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:19:42 ---> Running in 5f25eb113b98 13:19:42 Still waiting to schedule task 13:19:42 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-40438’ 13:20:04 Removing intermediate container 5f25eb113b98 13:20:04 ---> 37508c595a9d 13:20:04 Step 11/13 : COPY . . 13:20:04 ---> 68ea9f8ff059 13:20:04 Step 12/13 : ARG MAKE="make build" 13:20:04 ---> Running in e88932b25bf8 13:20:04 Removing intermediate container e88932b25bf8 13:20:04 ---> fcdfa09b52bb 13:20:04 Step 13/13 : RUN $MAKE 13:20:04 ---> Running in ba6858abe3b9 13:20:04 noop 13:20:04 Removing intermediate container ba6858abe3b9 13:20:04 ---> 7194bdc5870c 13:20:04 Successfully built 7194bdc5870c 13:20:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 13:20:04 + docker inspect -f . ci-base-image-x86_64 13:20:04 . [Pipeline] withDockerContainer 13:20:04 prd-ubuntu20.04-docker-8c-8g-40439 does not seem to be running inside a container 13:20:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-416 -v /w/workspace/_app-service-configurable_PR-416:/w/workspace/_app-service-configurable_PR-416:rw,z -v /w/workspace/_app-service-configurable_PR-416@tmp:/w/workspace/_app-service-configurable_PR-416@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 ******** -e ******** ci-base-image-x86_64 cat 13:20:04 $ docker top 5a960b880028c1672f42814458d8c55692c5d3dc0429153307ad9291b8709f04 -eo pid,comm [Pipeline] { [Pipeline] sh 13:20:05 + go version 13:20:05 go version go1.17.6 linux/amd64 [Pipeline] } 13:20:05 $ docker stop --time=1 5a960b880028c1672f42814458d8c55692c5d3dc0429153307ad9291b8709f04 13:20:06 $ docker rm -f 5a960b880028c1672f42814458d8c55692c5d3dc0429153307ad9291b8709f04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:20:07 + docker inspect -f . ci-base-image-x86_64 13:20:07 . [Pipeline] withDockerContainer 13:20:07 prd-ubuntu20.04-docker-8c-8g-40439 does not seem to be running inside a container 13:20:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-416 -v /w/workspace/_app-service-configurable_PR-416:/w/workspace/_app-service-configurable_PR-416:rw,z -v /w/workspace/_app-service-configurable_PR-416@tmp:/w/workspace/_app-service-configurable_PR-416@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 ******** -e ******** ci-base-image-x86_64 cat 13:20:07 $ docker top d887ffcc8becb919376cb8e8bd79de696f586cbf242ccb7802ce82b6b40cd773 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:20:07 + make test 13:20:07 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 13:20:17 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:20:17 CGO_ENABLED=1 go vet ./... 13:20:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:20:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:20:23 ./bin/test-attribution-txt.sh [Pipeline] echo 13:20:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:20:23 $ docker stop --time=1 d887ffcc8becb919376cb8e8bd79de696f586cbf242ccb7802ce82b6b40cd773 13:20:25 $ docker rm -f d887ffcc8becb919376cb8e8bd79de696f586cbf242ccb7802ce82b6b40cd773 [Pipeline] // withDockerContainer [Pipeline] sh 13:20:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:20:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:20:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:20:26 + ls -al . 13:20:26 total 164 13:20:26 drwxrwxr-x 8 jenkins jenkins 4096 May 4 13:20 . 13:20:26 drwxrwxr-x 4 jenkins jenkins 4096 May 4 13:19 .. 13:20:26 -rw-rw-r-- 1 jenkins jenkins 119 May 4 13:19 .dockerignore 13:20:26 drwxrwxr-x 8 jenkins jenkins 4096 May 4 13:19 .git 13:20:26 drwxrwxr-x 3 jenkins jenkins 4096 May 4 13:19 .github 13:20:26 -rw-rw-r-- 1 jenkins jenkins 104 May 4 13:19 .gitignore 13:20:26 drwxr-xr-x 3 jenkins jenkins 4096 May 4 13:19 .semver 13:20:26 -rw-rw-r-- 1 jenkins jenkins 8695 May 4 13:19 Attribution.txt 13:20:26 -rw-rw-r-- 1 jenkins jenkins 23791 May 4 13:19 CHANGELOG.md 13:20:26 -rw-rw-r-- 1 jenkins jenkins 2087 May 4 13:19 Dockerfile 13:20:26 -rw-rw-r-- 1 jenkins jenkins 677 May 4 13:19 GOVERNANCE.md 13:20:26 -rw-rw-r-- 1 jenkins jenkins 688 May 4 13:19 Jenkinsfile 13:20:26 -rw-rw-r-- 1 jenkins jenkins 10174 May 4 13:19 LICENSE 13:20:26 -rw-rw-r-- 1 jenkins jenkins 618 May 4 13:19 OWNERS.md 13:20:26 -rw-rw-r-- 1 jenkins jenkins 3718 May 4 13:19 README.md 13:20:26 -rw-rw-r-- 1 jenkins jenkins 5 May 4 13:19 VERSION 13:20:26 drwxrwxr-x 2 jenkins jenkins 4096 May 4 13:19 bin 13:20:26 -rw-r--r-- 1 jenkins jenkins 10 May 4 13:20 coverage.out 13:20:26 -rw-rw-r-- 1 jenkins jenkins 3268 May 4 13:19 go.mod 13:20:26 -rw-rw-r-- 1 jenkins jenkins 34650 May 4 13:19 go.sum 13:20:26 -rw-rw-r-- 1 jenkins jenkins 1949 May 4 13:19 main.go 13:20:26 -rw-rw-r-- 1 jenkins jenkins 2007 May 4 13:19 makefile 13:20:26 drwxrwxr-x 10 jenkins jenkins 4096 May 4 13:19 res 13:20:26 drwxrwxr-x 3 jenkins jenkins 4096 May 4 13:19 snap [Pipeline] isUnix [Pipeline] sh 13:20:26 + 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=d6bbe904d93ed783ae717cf966c42faf9450abf9 --label arch=amd64 --label version=0.0.0 . 13:20:26 Sending build context to Docker daemon 3.049MB 13:20:26 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 13:20:26 Step 2/27 : FROM ${BASE} AS builder 13:20:26 ---> 7194bdc5870c 13:20:26 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 13:20:26 ---> Running in c1e882397b00 13:20:26 Removing intermediate container c1e882397b00 13:20:26 ---> a600bb55ab61 13:20:26 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 13:20:26 ---> Running in 84b681927a7e 13:20:26 Removing intermediate container 84b681927a7e 13:20:26 ---> d7a44d7e5362 13:20:26 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 13:20:26 ---> Running in 03e6593077e6 13:20:27 Removing intermediate container 03e6593077e6 13:20:27 ---> 6afac683262b 13:20:27 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:20:27 ---> Running in f93d409b031a 13:20:27 Removing intermediate container f93d409b031a 13:20:27 ---> 6a88bdb5281e 13:20:27 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:20:27 ---> Running in fe13238dbf84 13:20:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:20:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:20:29 OK: 221 MiB in 52 packages 13:20:29 Removing intermediate container fe13238dbf84 13:20:29 ---> 6e5a7c3671c1 13:20:29 Step 8/27 : WORKDIR /app 13:20:29 ---> Running in 0517180e892a 13:20:29 Removing intermediate container 0517180e892a 13:20:29 ---> 0908d28a1916 13:20:29 Step 9/27 : COPY go.mod vendor* ./ 13:20:29 ---> 4f82cf386704 13:20:29 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:20:29 ---> Running in ac69b2f090b0 13:20:30 Removing intermediate container ac69b2f090b0 13:20:30 ---> 6e61723db7fe 13:20:30 Step 11/27 : COPY . . 13:20:30 ---> 0c6abd379bda 13:20:30 Step 12/27 : ARG MAKE="make build" 13:20:30 ---> Running in 45942d851248 13:20:31 Removing intermediate container 45942d851248 13:20:31 ---> ecef14251205 13:20:31 Step 13/27 : RUN $MAKE 13:20:31 ---> Running in 9cc8e8127ffe 13:20:31 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 13:20:53 Removing intermediate container 9cc8e8127ffe 13:20:53 ---> 31f000c9c9b3 13:20:53 Step 14/27 : FROM alpine:3.14 13:20:53 3.14: Pulling from library/alpine 13:20:53 8663204ce13b: Pulling fs layer 13:20:53 8663204ce13b: Verifying Checksum 13:20:53 8663204ce13b: Download complete 13:20:53 8663204ce13b: Pull complete 13:20:53 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 13:20:53 Status: Downloaded newer image for alpine:3.14 13:20:53 ---> e04c818066af 13:20:53 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 13:20:53 ---> Running in d478f97b406e 13:20:53 Removing intermediate container d478f97b406e 13:20:53 ---> 7d7ee07ffc27 13:20:53 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 13:20:53 ---> Running in 3a1c35a090c2 13:20:53 Removing intermediate container 3a1c35a090c2 13:20:53 ---> be0803095c82 13:20:53 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 13:20:53 ---> Running in 0dea5c7a2049 13:20:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 13:20:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 13:20:53 (1/7) Installing ca-certificates (20211220-r0) 13:20:53 (2/7) Installing dumb-init (1.2.5-r1) 13:20:53 (3/7) Installing libgcc (10.3.1_git20210424-r2) 13:20:53 (4/7) Installing libsodium (1.0.18-r0) 13:20:53 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 13:20:53 (6/7) Installing libzmq (4.3.4-r0) 13:20:53 (7/7) Installing zeromq (4.3.4-r0) 13:20:53 Executing busybox-1.33.1-r7.trigger 13:20:53 Executing ca-certificates-20211220-r0.trigger 13:20:53 OK: 9 MiB in 21 packages 13:20:53 Removing intermediate container 0dea5c7a2049 13:20:53 ---> 67280192c6e7 13:20:53 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:20:53 ---> ba128f0b0095 13:20:53 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 13:20:53 ---> a44375077ecc 13:20:53 Step 20/27 : COPY --from=builder /app/res/ /res/ 13:20:53 ---> 1148fcd60542 13:20:53 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:20:54 ---> c2fce76a1727 13:20:54 Step 22/27 : EXPOSE 48095 13:20:54 ---> Running in df953dccd55e 13:20:54 Removing intermediate container df953dccd55e 13:20:54 ---> 2c2c47b0c0a2 13:20:54 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 13:20:54 ---> Running in 6904c4e49985 13:20:54 Removing intermediate container 6904c4e49985 13:20:54 ---> 4a91e65e8c5d 13:20:54 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:20:54 ---> Running in bcd222ec46e5 13:20:54 Removing intermediate container bcd222ec46e5 13:20:54 ---> 3eec48ea69dd 13:20:54 Step 25/27 : LABEL arch=amd64 13:20:55 ---> Running in 7f77d9e1cc8b 13:20:55 Removing intermediate container 7f77d9e1cc8b 13:20:55 ---> cb5e181faaeb 13:20:55 Step 26/27 : LABEL git_sha=d6bbe904d93ed783ae717cf966c42faf9450abf9 13:20:55 ---> Running in 9dd63276399c 13:20:55 Removing intermediate container 9dd63276399c 13:20:55 ---> 94c34d4ce588 13:20:55 Step 27/27 : LABEL version=0.0.0 13:20:55 ---> Running in bf9c90948a0d 13:20:55 Removing intermediate container bf9c90948a0d 13:20:55 ---> 4d2613c3060c 13:20:55 [Warning] One or more build-args [ARCH] were not consumed 13:20:55 Successfully built 4d2613c3060c 13:20:55 Successfully tagged app-service-configurable:latest [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] sh 13:20:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:20:55 13:20:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 13:20:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:20:55 latest: Pulling from edgex-lftools-log-publisher 13:20:55 5eb5b503b376: Pulling fs layer 13:20:55 5c69ac0246d0: Pulling fs layer 13:20:55 ec43610c2a17: Pulling fs layer 13:20:55 3a2ae6a8a46f: Pulling fs layer 13:20:55 33b1e0a273af: Pulling fs layer 13:20:55 3a2ae6a8a46f: Waiting 13:20:55 5d3b04190fa2: Pulling fs layer 13:20:55 2f39f015ded8: Pulling fs layer 13:20:55 2f39f015ded8: Waiting 13:20:55 5d3b04190fa2: Waiting 13:20:55 33b1e0a273af: Waiting 13:20:55 5c69ac0246d0: Verifying Checksum 13:20:55 5c69ac0246d0: Download complete 13:20:55 3a2ae6a8a46f: Verifying Checksum 13:20:55 3a2ae6a8a46f: Download complete 13:20:55 33b1e0a273af: Verifying Checksum 13:20:55 33b1e0a273af: Download complete 13:20:55 5d3b04190fa2: Download complete 13:20:56 ec43610c2a17: Verifying Checksum 13:20:56 ec43610c2a17: Download complete 13:20:56 5eb5b503b376: Verifying Checksum 13:20:56 5eb5b503b376: Download complete 13:20:56 2f39f015ded8: Download complete 13:20:57 5eb5b503b376: Pull complete 13:20:57 5c69ac0246d0: Pull complete 13:20:57 ec43610c2a17: Pull complete 13:20:57 3a2ae6a8a46f: Pull complete 13:20:58 33b1e0a273af: Pull complete 13:20:58 5d3b04190fa2: Pull complete 13:21:02 2f39f015ded8: Pull complete 13:21:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:21:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:21:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 13:21:02 prd-ubuntu20.04-docker-8c-8g-40439 does not seem to be running inside a container 13:21:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-416 -v /w/workspace/_app-service-configurable_PR-416:/w/workspace/_app-service-configurable_PR-416:rw,z -v /w/workspace/_app-service-configurable_PR-416@tmp:/w/workspace/_app-service-configurable_PR-416@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:21:04 $ docker top 7519b8cf19e1ecf34dfb700da8f1b5191143ba02b573cb0ad6348d18fd08eb5a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:21:04 ---> job-cost.sh 13:21:04 lf-activate-venv: SKIPPING 13:21:04 INFO: No Stack... 13:21:05 INFO: Retrieving Pricing Info for: v3-standard-8 13:21:06 INFO: Archiving Costs [Pipeline] sh 13:21:06 + cat /w/workspace/_app-service-configurable_PR-416/archives/cost.csv 13:21:06 + cut -d, -f6 [Pipeline] lock 13:21:06 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-416-4-stack-cost] 13:21:06 Resource [jenkins-edgexfoundry-app-service-configurable-PR-416-4-stack-cost] did not exist. Created. 13:21:06 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-416-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:21:06 + echo total: 0.2199999988079071 [Pipeline] stash 13:21:06 Stashed 1 file(s) [Pipeline] } 13:21:06 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-416-4-stack-cost] [Pipeline] // lock [Pipeline] } 13:21:06 $ docker stop --time=1 7519b8cf19e1ecf34dfb700da8f1b5191143ba02b573cb0ad6348d18fd08eb5a 13:21:07 $ docker rm -f 7519b8cf19e1ecf34dfb700da8f1b5191143ba02b573cb0ad6348d18fd08eb5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:23:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-40440 in /w/workspace/_app-service-configurable_PR-416 [Pipeline] { [Pipeline] ws 13:23:09 Running in /w/workspace/app-service-configurable/4 [Pipeline] { [Pipeline] checkout 13:23:10 Selected Git installation does not exist. Using Default 13:23:10 The recommended git tool is: NONE 13:23:17 using credential edgex-jenkins-ssh 13:23:17 Cloning the remote Git repository 13:23:17 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 13:23:17 > git init /w/workspace/app-service-configurable/4 # timeout=10 13:23:17 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:23:17 > git --version # timeout=10 13:23:18 > git --version # 'git version 2.25.1' 13:23:18 using GIT_SSH to set credentials SSH Credentials for GitHub 13:23:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:23:19 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:23:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:23:19 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:23:19 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:23:19 using GIT_SSH to set credentials SSH Credentials for GitHub 13:23:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/416/head:refs/remotes/origin/PR-416 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:23:20 Merging remotes/origin/main commit a669bdb4f1e2d7cd4e5cba464327739a597f1457 into PR head commit d6bbe904d93ed783ae717cf966c42faf9450abf9 13:23:20 Merge succeeded, producing d6bbe904d93ed783ae717cf966c42faf9450abf9 13:23:20 Checking out Revision d6bbe904d93ed783ae717cf966c42faf9450abf9 (PR-416) 13:23:20 > git config core.sparsecheckout # timeout=10 13:23:20 > git checkout -f d6bbe904d93ed783ae717cf966c42faf9450abf9 # timeout=10 13:23:20 > git remote # timeout=10 13:23:20 > git config --get remote.origin.url # timeout=10 13:23:20 using GIT_SSH to set credentials SSH Credentials for GitHub 13:23:20 > git merge a669bdb4f1e2d7cd4e5cba464327739a597f1457 # timeout=10 13:23:20 > git rev-parse HEAD^{commit} # timeout=10 13:23:20 > git config core.sparsecheckout # timeout=10 13:23:20 > git checkout -f d6bbe904d93ed783ae717cf966c42faf9450abf9 # timeout=10 13:23:24 Commit message: "docs: cleanup references" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:23:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:23:25 % Total % Received % Xferd Average Speed Time Time Time Current 13:23:25 Dload Upload Total Spent Left Speed 13:23:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 13:23:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:23:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:23:26 + sudo tee /etc/docker/daemon.new 13:23:26 { 13:23:26 "registry-mirrors": [ 13:23:26 "https://nexus3.edgexfoundry.org:10001" 13:23:26 ], 13:23:26 "bip": "10.250.0.254/24", 13:23:26 "hosts": [ 13:23:26 "tcp://0.0.0.0:5555", 13:23:26 "unix:///var/run/docker.sock" 13:23:26 ], 13:23:26 "mtu": 1458, 13:23:26 "selinux-enabled": true, 13:23:26 "seccomp-profile": "/etc/docker/seccomp.json" 13:23:26 } [Pipeline] sh 13:23:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:23:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:23:45 provisioning config files... 13:23:45 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/4@tmp/config7326554696612074169tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:23:46 ---> docker-login.sh 13:23:46 nexus3.edgexfoundry.org:10001 13:23:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:23:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:23:46 Configure a credential helper to remove this warning. See 13:23:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:23:46 13:23:46 Login Succeeded 13:23:46 nexus3.edgexfoundry.org:10002 13:23:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:23:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:23:47 Configure a credential helper to remove this warning. See 13:23:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:23:47 13:23:47 Login Succeeded 13:23:47 nexus3.edgexfoundry.org:10003 13:23:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:23:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:23:47 Configure a credential helper to remove this warning. See 13:23:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:23:47 13:23:47 Login Succeeded 13:23:47 nexus3.edgexfoundry.org:10004 13:23:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:23:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:23:48 Configure a credential helper to remove this warning. See 13:23:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:23:48 13:23:48 Login Succeeded 13:23:48 docker.io 13:23:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:23:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:23:49 Configure a credential helper to remove this warning. See 13:23:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:23:49 13:23:49 Login Succeeded 13:23:49 ---> docker-login.sh ends [Pipeline] } 13:23:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:23:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:23:49 ========================================================= 13:23:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 13:23:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:23:50 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 13:23:50 Sending build context to Docker daemon 199.7kB 13:23:50 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 13:23:50 Step 2/13 : FROM ${BASE} AS builder 13:23:50 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:23:50 9b3977197b4f: Pulling fs layer 13:23:50 1a89e8eeedd5: Pulling fs layer 13:23:50 94645a83ff95: Pulling fs layer 13:23:50 3f3a8bcf1eab: Pulling fs layer 13:23:50 0c92f367c5e7: Pulling fs layer 13:23:50 3096ccb668a1: Pulling fs layer 13:23:50 e8cf19c19ddd: Pulling fs layer 13:23:50 a4caa8a26152: Pulling fs layer 13:23:50 3f3a8bcf1eab: Waiting 13:23:50 e8cf19c19ddd: Waiting 13:23:50 0c92f367c5e7: Waiting 13:23:50 3096ccb668a1: Waiting 13:23:50 a4caa8a26152: Waiting 13:23:50 94645a83ff95: Download complete 13:23:50 1a89e8eeedd5: Verifying Checksum 13:23:50 1a89e8eeedd5: Download complete 13:23:50 0c92f367c5e7: Verifying Checksum 13:23:50 0c92f367c5e7: Download complete 13:23:50 3096ccb668a1: Verifying Checksum 13:23:50 3096ccb668a1: Download complete 13:23:50 e8cf19c19ddd: Verifying Checksum 13:23:50 e8cf19c19ddd: Download complete 13:23:50 9b3977197b4f: Verifying Checksum 13:23:50 9b3977197b4f: Download complete 13:23:51 9b3977197b4f: Pull complete 13:23:51 1a89e8eeedd5: Pull complete 13:23:52 94645a83ff95: Pull complete 13:23:52 a4caa8a26152: Verifying Checksum 13:23:52 a4caa8a26152: Download complete 13:23:53 3f3a8bcf1eab: Verifying Checksum 13:23:53 3f3a8bcf1eab: Download complete 13:24:05 3f3a8bcf1eab: Pull complete 13:24:05 0c92f367c5e7: Pull complete 13:24:05 3096ccb668a1: Pull complete 13:24:05 e8cf19c19ddd: Pull complete 13:24:12 a4caa8a26152: Pull complete 13:24:12 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 13:24:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 13:24:12 ---> 725f1c02e7f9 13:24:12 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 13:24:13 ---> Running in 50d1b6d8c5dd 13:24:13 Removing intermediate container 50d1b6d8c5dd 13:24:13 ---> 3c4727932b66 13:24:13 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 13:24:13 ---> Running in da67c6bd5d41 13:24:14 Removing intermediate container da67c6bd5d41 13:24:14 ---> f0fc0612e069 13:24:14 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 13:24:14 ---> Running in 4acce288b476 13:24:14 Removing intermediate container 4acce288b476 13:24:14 ---> fcaefe97e849 13:24:14 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:24:14 ---> Running in fbe3298a1f88 13:24:16 Removing intermediate container fbe3298a1f88 13:24:16 ---> 2bfad7622dd6 13:24:16 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:24:16 ---> Running in e351df245a4c 13:24:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:24:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:24:19 OK: 220 MiB in 52 packages 13:24:19 Removing intermediate container e351df245a4c 13:24:19 ---> 93c7e790c1af 13:24:19 Step 8/13 : WORKDIR /app 13:24:19 ---> Running in 9837f9483bb9 13:24:20 Removing intermediate container 9837f9483bb9 13:24:20 ---> f9e7f7c5f062 13:24:20 Step 9/13 : COPY go.mod vendor* ./ 13:24:20 ---> c83229766064 13:24:20 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:24:20 ---> Running in 3c946122bc8d 13:25:07 Removing intermediate container 3c946122bc8d 13:25:07 ---> 42a0e62f612d 13:25:07 Step 11/13 : COPY . . 13:25:07 ---> b39151891746 13:25:07 Step 12/13 : ARG MAKE="make build" 13:25:07 ---> Running in c6c1bae22414 13:25:08 Removing intermediate container c6c1bae22414 13:25:08 ---> 300de20e2dec 13:25:08 Step 13/13 : RUN $MAKE 13:25:08 ---> Running in 9547548cbeae 13:25:09 noop 13:25:09 Removing intermediate container 9547548cbeae 13:25:09 ---> 47106d7c7324 13:25:09 Successfully built 47106d7c7324 13:25:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 13:25:09 + docker inspect -f . ci-base-image-arm64 13:25:09 . [Pipeline] withDockerContainer 13:25:10 prd-ubuntu20.04-docker-arm64-4c-16g-40440 does not seem to be running inside a container 13:25:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/4 -v /w/workspace/app-service-configurable/4:/w/workspace/app-service-configurable/4:rw,z -v /w/workspace/app-service-configurable/4@tmp:/w/workspace/app-service-configurable/4@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 13:25:11 $ docker top b2f3894bf633d6e8f584f15576cf2666e74c694599f52a1ff96f84a1676c59b1 -eo pid,comm [Pipeline] { [Pipeline] sh 13:25:12 + go version 13:25:12 go version go1.17.6 linux/arm64 [Pipeline] } 13:25:12 $ docker stop --time=1 b2f3894bf633d6e8f584f15576cf2666e74c694599f52a1ff96f84a1676c59b1 13:25:14 $ docker rm -f b2f3894bf633d6e8f584f15576cf2666e74c694599f52a1ff96f84a1676c59b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:25:14 + docker inspect -f . ci-base-image-arm64 13:25:14 . [Pipeline] withDockerContainer 13:25:14 prd-ubuntu20.04-docker-arm64-4c-16g-40440 does not seem to be running inside a container 13:25:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/4 -v /w/workspace/app-service-configurable/4:/w/workspace/app-service-configurable/4:rw,z -v /w/workspace/app-service-configurable/4@tmp:/w/workspace/app-service-configurable/4@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 13:25:16 $ docker top 23a04eb974c3a0ec7f9471bb6b14fdd04c562c1c3153dfb069921a13dd5743da -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:25:17 + make test 13:25:17 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 13:26:38 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:26:38 CGO_ENABLED=1 go vet ./... 13:26:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:26:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:26:57 ./bin/test-attribution-txt.sh [Pipeline] echo 13:27:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:27:00 $ docker stop --time=1 23a04eb974c3a0ec7f9471bb6b14fdd04c562c1c3153dfb069921a13dd5743da 13:27:01 $ docker rm -f 23a04eb974c3a0ec7f9471bb6b14fdd04c562c1c3153dfb069921a13dd5743da [Pipeline] // withDockerContainer [Pipeline] sh 13:27:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:27:02 Warning: overwriting stash ‘coverage-report’ 13:27:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:27:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:27:03 + ls -al . 13:27:03 total 160 13:27:03 drwxrwxr-x 7 jenkins jenkins 4096 May 4 13:26 . 13:27:03 drwxrwxr-x 4 jenkins jenkins 4096 May 4 13:23 .. 13:27:03 -rw-rw-r-- 1 jenkins jenkins 119 May 4 13:23 .dockerignore 13:27:03 drwxrwxr-x 8 jenkins jenkins 4096 May 4 13:23 .git 13:27:03 drwxrwxr-x 3 jenkins jenkins 4096 May 4 13:23 .github 13:27:03 -rw-rw-r-- 1 jenkins jenkins 104 May 4 13:23 .gitignore 13:27:03 -rw-rw-r-- 1 jenkins jenkins 8695 May 4 13:23 Attribution.txt 13:27:03 -rw-rw-r-- 1 jenkins jenkins 23791 May 4 13:23 CHANGELOG.md 13:27:03 -rw-rw-r-- 1 jenkins jenkins 2087 May 4 13:23 Dockerfile 13:27:03 -rw-rw-r-- 1 jenkins jenkins 677 May 4 13:23 GOVERNANCE.md 13:27:03 -rw-rw-r-- 1 jenkins jenkins 688 May 4 13:23 Jenkinsfile 13:27:03 -rw-rw-r-- 1 jenkins jenkins 10174 May 4 13:23 LICENSE 13:27:03 -rw-rw-r-- 1 jenkins jenkins 618 May 4 13:23 OWNERS.md 13:27:03 -rw-rw-r-- 1 jenkins jenkins 3718 May 4 13:23 README.md 13:27:03 -rw-rw-r-- 1 jenkins jenkins 5 May 4 13:19 VERSION 13:27:03 drwxrwxr-x 2 jenkins jenkins 4096 May 4 13:23 bin 13:27:03 -rw-r--r-- 1 jenkins jenkins 10 May 4 13:25 coverage.out 13:27:03 -rw-rw-r-- 1 jenkins jenkins 3268 May 4 13:23 go.mod 13:27:03 -rw-rw-r-- 1 jenkins jenkins 34650 May 4 13:23 go.sum 13:27:03 -rw-rw-r-- 1 jenkins jenkins 1949 May 4 13:23 main.go 13:27:03 -rw-rw-r-- 1 jenkins jenkins 2007 May 4 13:23 makefile 13:27:03 drwxrwxr-x 10 jenkins jenkins 4096 May 4 13:23 res 13:27:03 drwxrwxr-x 3 jenkins jenkins 4096 May 4 13:23 snap [Pipeline] isUnix [Pipeline] sh 13:27:04 + 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=d6bbe904d93ed783ae717cf966c42faf9450abf9 --label arch=arm64 --label version=0.0.0 . 13:27:04 Sending build context to Docker daemon 200.7kB 13:27:04 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 13:27:04 Step 2/27 : FROM ${BASE} AS builder 13:27:04 ---> 47106d7c7324 13:27:04 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 13:27:04 ---> Running in b880526b7f70 13:27:04 Removing intermediate container b880526b7f70 13:27:04 ---> f239ce4772f7 13:27:04 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 13:27:05 ---> Running in 6432fa03920e 13:27:05 Removing intermediate container 6432fa03920e 13:27:05 ---> 55ca835c129c 13:27:05 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 13:27:05 ---> Running in e60c0be63664 13:27:05 Removing intermediate container e60c0be63664 13:27:05 ---> 73e1e7fd2606 13:27:05 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:27:05 ---> Running in 895788fbaffa 13:27:07 Removing intermediate container 895788fbaffa 13:27:07 ---> 2965bb8e02e0 13:27:07 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:27:07 ---> Running in 96d2360b0b74 13:27:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:27:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:27:09 OK: 220 MiB in 52 packages 13:27:10 Removing intermediate container 96d2360b0b74 13:27:10 ---> 1332a1d13579 13:27:10 Step 8/27 : WORKDIR /app 13:27:10 ---> Running in 06897f9bd434 13:27:11 Removing intermediate container 06897f9bd434 13:27:11 ---> 7205c5897000 13:27:11 Step 9/27 : COPY go.mod vendor* ./ 13:27:11 ---> 9257f8824c5a 13:27:11 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:27:11 ---> Running in 3a8c90784c68 13:27:13 Removing intermediate container 3a8c90784c68 13:27:13 ---> 8ebfbc46af74 13:27:13 Step 11/27 : COPY . . 13:27:14 ---> d9b0380fb2df 13:27:14 Step 12/27 : ARG MAKE="make build" 13:27:14 ---> Running in 8466bd11edf2 13:27:14 Removing intermediate container 8466bd11edf2 13:27:14 ---> b9ee97454636 13:27:14 Step 13/27 : RUN $MAKE 13:27:14 ---> Running in 61b08d3f38a2 13:27:15 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 13:29:22 Removing intermediate container 61b08d3f38a2 13:29:22 ---> 012174fbaf7f 13:29:22 Step 14/27 : FROM alpine:3.14 13:29:22 3.14: Pulling from library/alpine 13:29:22 455c02918c45: Pulling fs layer 13:29:22 455c02918c45: Verifying Checksum 13:29:22 455c02918c45: Download complete 13:29:22 455c02918c45: Pull complete 13:29:22 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 13:29:22 Status: Downloaded newer image for alpine:3.14 13:29:22 ---> ac73e934f311 13:29:22 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 13:29:22 ---> Running in 3f7ed389473a 13:29:22 Removing intermediate container 3f7ed389473a 13:29:22 ---> 31f6708d59cb 13:29:22 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 13:29:22 ---> Running in 05726c7663ac 13:29:22 Removing intermediate container 05726c7663ac 13:29:22 ---> a03b3e7dcb86 13:29:22 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 13:29:22 ---> Running in 99dcca5c6814 13:29:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 13:29:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 13:29:22 (1/7) Installing ca-certificates (20211220-r0) 13:29:22 (2/7) Installing dumb-init (1.2.5-r1) 13:29:22 (3/7) Installing libgcc (10.3.1_git20210424-r2) 13:29:22 (4/7) Installing libsodium (1.0.18-r0) 13:29:22 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 13:29:22 (6/7) Installing libzmq (4.3.4-r0) 13:29:22 (7/7) Installing zeromq (4.3.4-r0) 13:29:22 Executing busybox-1.33.1-r7.trigger 13:29:22 Executing ca-certificates-20211220-r0.trigger 13:29:22 OK: 9 MiB in 21 packages 13:29:22 Removing intermediate container 99dcca5c6814 13:29:22 ---> af6897015161 13:29:22 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:29:22 ---> d84f1acc5cbc 13:29:22 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 13:29:22 ---> 30e7591caab1 13:29:22 Step 20/27 : COPY --from=builder /app/res/ /res/ 13:29:22 ---> 46403a53d5b3 13:29:22 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:29:22 ---> 470602e3901d 13:29:22 Step 22/27 : EXPOSE 48095 13:29:22 ---> Running in f21718750022 13:29:22 Removing intermediate container f21718750022 13:29:22 ---> ba8f97d53b4c 13:29:22 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 13:29:22 ---> Running in 47f198eeeb3b 13:29:22 Removing intermediate container 47f198eeeb3b 13:29:22 ---> 4c34d551440b 13:29:22 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:29:22 ---> Running in c3b3be8b453e 13:29:22 Removing intermediate container c3b3be8b453e 13:29:22 ---> 601183cbb756 13:29:22 Step 25/27 : LABEL arch=arm64 13:29:22 ---> Running in debc1592a1ce 13:29:22 Removing intermediate container debc1592a1ce 13:29:22 ---> 7ad395dd25c4 13:29:22 Step 26/27 : LABEL git_sha=d6bbe904d93ed783ae717cf966c42faf9450abf9 13:29:22 ---> Running in 245bf1c61afb 13:29:22 Removing intermediate container 245bf1c61afb 13:29:22 ---> fd3ceb663cda 13:29:22 Step 27/27 : LABEL version=0.0.0 13:29:22 ---> Running in 1037af725591 13:29:22 Removing intermediate container 1037af725591 13:29:22 ---> 31faa0490e8f 13:29:22 [Warning] One or more build-args [ARCH] were not consumed 13:29:22 Successfully built 31faa0490e8f 13:29:22 Successfully tagged app-service-configurable-arm64:latest [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] sh 13:29:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:29:22 13:29:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 13:29:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:29:23 arm64: Pulling from edgex-lftools-log-publisher 13:29:23 8998bd30e6a1: Pulling fs layer 13:29:23 04944245beec: Pulling fs layer 13:29:23 699f458cf7ca: Pulling fs layer 13:29:23 765212b225bb: Pulling fs layer 13:29:23 f23df028b6ca: Pulling fs layer 13:29:23 d65c8cfc05b1: Pulling fs layer 13:29:23 2437ff75d9bd: Pulling fs layer 13:29:23 765212b225bb: Waiting 13:29:23 f23df028b6ca: Waiting 13:29:23 d65c8cfc05b1: Waiting 13:29:23 2437ff75d9bd: Waiting 13:29:23 04944245beec: Verifying Checksum 13:29:23 04944245beec: Download complete 13:29:23 765212b225bb: Verifying Checksum 13:29:23 765212b225bb: Download complete 13:29:23 f23df028b6ca: Verifying Checksum 13:29:23 f23df028b6ca: Download complete 13:29:23 d65c8cfc05b1: Verifying Checksum 13:29:23 d65c8cfc05b1: Download complete 13:29:23 699f458cf7ca: Verifying Checksum 13:29:23 699f458cf7ca: Download complete 13:29:23 8998bd30e6a1: Verifying Checksum 13:29:23 8998bd30e6a1: Download complete 13:29:26 2437ff75d9bd: Verifying Checksum 13:29:26 2437ff75d9bd: Download complete 13:29:28 8998bd30e6a1: Pull complete 13:29:28 04944245beec: Pull complete 13:29:30 699f458cf7ca: Pull complete 13:29:30 765212b225bb: Pull complete 13:29:31 f23df028b6ca: Pull complete 13:29:31 d65c8cfc05b1: Pull complete 13:29:46 2437ff75d9bd: Pull complete 13:29:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:29:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:29:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 13:29:46 prd-ubuntu20.04-docker-arm64-4c-16g-40440 does not seem to be running inside a container 13:29:46 $ 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/4 -v /w/workspace/app-service-configurable/4:/w/workspace/app-service-configurable/4:rw,z -v /w/workspace/app-service-configurable/4@tmp:/w/workspace/app-service-configurable/4@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:29:49 $ docker top 42943e2ea810e668c190aaecfca9f78c676be1826670402b9b8a0ec490f60c75 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:29:50 ---> job-cost.sh 13:29:50 lf-activate-venv: SKIPPING 13:29:50 INFO: No Stack... 13:29:51 INFO: Retrieving Pricing Info for: v3-standard-4 13:29:51 INFO: Archiving Costs [Pipeline] sh 13:29:52 + cat /w/workspace/app-service-configurable/4/archives/cost.csv 13:29:52 + cut -d, -f6 [Pipeline] lock 13:29:52 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-416-4-stack-cost] 13:29:52 Resource [jenkins-edgexfoundry-app-service-configurable-PR-416-4-stack-cost] did not exist. Created. 13:29:52 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-416-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:29:53 /w/workspace/app-service-configurable/4@tmp/durable-86920d82/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:29:53 + echo total: 0.10999999940395355 [Pipeline] stash 13:29:53 Warning: overwriting stash ‘stack-cost’ 13:29:53 Stashed 1 file(s) [Pipeline] } 13:29:53 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-416-4-stack-cost] [Pipeline] // lock [Pipeline] } 13:29:53 $ docker stop --time=1 42943e2ea810e668c190aaecfca9f78c676be1826670402b9b8a0ec490f60c75 13:29:55 $ docker rm -f 42943e2ea810e668c190aaecfca9f78c676be1826670402b9b8a0ec490f60c75 [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 13:29:55 provisioning config files... 13:29:55 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-416@tmp/config1025838545485840383tmp [Pipeline] { [Pipeline] sh 13:29:56 + set +x 13:29:56 + curl -s https://codecov.io/bash 13:29:56 + bash -s -- 13:29:56 13:29:56 _____ _ 13:29:56 / ____| | | 13:29:56 | | ___ __| | ___ ___ _____ __ 13:29:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:29:56 | |___| (_) | (_| | __/ (_| (_) \ V / 13:29:56 \_____\___/ \__,_|\___|\___\___/ \_/ 13:29:56 Bash-1.0.6 13:29:56 13:29:56 13:29:56 ==> git version 2.25.1 found 13:29:56 ==> 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 13:29:56 Release-Date: 2020-01-08 13:29:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:29:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:29:56 ==> Jenkins CI detected. 13:29:56 current dir:  /w/workspace/_app-service-configurable_PR-416 13:29:56 project root: . 13:29:56 --> token set from env 13:29:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:29:56 ==> Running gcov in . (disable via -X gcov) 13:29:56 ==> Python coveragepy not found 13:29:56 ==> Searching for coverage reports in: 13:29:56 + . 13:29:56 -> Found 1 reports 13:29:56 ==> Detecting git/mercurial file structure 13:29:56 ==> Reading reports 13:29:56 + ./coverage.out bytes=10 13:29:56 ==> Appending adjustments 13:29:56 https://docs.codecov.io/docs/fixing-reports 13:29:56 + Found adjustments 13:29:56 ==> Gzipping contents 13:29:56 4.0K /tmp/codecov.aVRCIz.gz 13:29:56 ==> Uploading reports 13:29:56 url: https://codecov.io 13:29:56 query: branch=PR-416&commit=d6bbe904d93ed783ae717cf966c42faf9450abf9&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-416%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=416&job=&cmd_args= 13:29:56 -> Pinging Codecov 13:29:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-416&commit=d6bbe904d93ed783ae717cf966c42faf9450abf9&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-416%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=416&job=&cmd_args= 13:29:56 -> Uploading to 13:29:56 https://storage.googleapis.com/codecov/v4/raw/2022-05-04/A97CA9966030D2A3747ED39772930CCE/d6bbe904d93ed783ae717cf966c42faf9450abf9/d6b85a80-c9c3-4a26-98a2-738e457cd6a8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220504%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220504T132956Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dac0a0f80edd1a5b0075c63f64a00aaa517deaa41d0fc64ddddbc537b0d5553d 13:29:56 % Total % Received % Xferd Average Speed Time Time Time Current 13:29:56 Dload Upload Total Spent Left Speed 13:29:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 592 0 0 100 592 0 2456 --:--:-- --:--:-- --:--:-- 2456 13:29:57 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/d6bbe904d93ed783ae717cf966c42faf9450abf9 [Pipeline] } 13:29:57 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 13:29:57 + [ -d /w/workspace/_app-service-configurable_PR-416/archives ] 13:29:57 + ls -al /w/workspace/_app-service-configurable_PR-416/archives 13:29:57 total 16 13:29:57 drwxr-xr-x 3 root root 4096 May 4 13:21 . 13:29:57 drwxrwxr-x 9 jenkins jenkins 4096 May 4 13:21 .. 13:29:57 drwxr-xr-x 2 root root 4096 May 4 13:21 cost 13:29:57 -rw-r--r-- 1 root root 95 May 4 13:21 cost.csv 13:29:57 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-416/archives 13:29:57 + ls -al /w/workspace/_app-service-configurable_PR-416/archives 13:29:57 total 16 13:29:57 drwxr-xr-x 3 jenkins jenkins 4096 May 4 13:21 . 13:29:57 drwxrwxr-x 9 jenkins jenkins 4096 May 4 13:21 .. 13:29:57 drwxr-xr-x 2 jenkins jenkins 4096 May 4 13:21 cost 13:29:57 -rw-r--r-- 1 jenkins jenkins 95 May 4 13:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:29:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:29:58 ---> package-listing.sh 13:29:58 ++ facter osfamily 13:29:58 ++ tr '[:upper:]' '[:lower:]' 13:29:59 + OS_FAMILY=debian 13:29:59 + workspace=/w/workspace/_app-service-configurable_PR-416 13:29:59 + START_PACKAGES=/tmp/packages_start.txt 13:29:59 + END_PACKAGES=/tmp/packages_end.txt 13:29:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:29:59 + PACKAGES=/tmp/packages_start.txt 13:29:59 + '[' /w/workspace/_app-service-configurable_PR-416 ']' 13:29:59 + PACKAGES=/tmp/packages_end.txt 13:29:59 + case "${OS_FAMILY}" in 13:29:59 + dpkg -l 13:29:59 + grep '^ii' 13:29:59 + '[' -f /tmp/packages_start.txt ']' 13:29:59 + '[' -f /tmp/packages_end.txt ']' 13:29:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:29:59 + '[' /w/workspace/_app-service-configurable_PR-416 ']' 13:29:59 + mkdir -p /w/workspace/_app-service-configurable_PR-416/archives/ 13:29:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-416/archives/ [Pipeline] echo 13:29:59 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-416/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:29:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 13:30:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:30:00 . [Pipeline] withDockerContainer 13:30:00 prd-ubuntu20.04-docker-8c-8g-40439 does not seem to be running inside a container 13:30:00 $ 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-416/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-416 -v /w/workspace/_app-service-configurable_PR-416:/w/workspace/_app-service-configurable_PR-416:rw,z -v /w/workspace/_app-service-configurable_PR-416@tmp:/w/workspace/_app-service-configurable_PR-416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:30:00 $ docker top 8d58d21caa60fa70a3e1aee096d97d287d400a38bc592049b8d6c8ccb2acd858 -eo pid,comm [Pipeline] { [Pipeline] sh 13:30:00 + touch /tmp/pre-build-complete [Pipeline] sh 13:30:01 + mkdir -p /var/log/sysstat [Pipeline] sh 13:30:01 + ls /var/log/sa-host 13:30:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:30:01 provisioning config files... 13:30:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-416@tmp/config7454068233519376616tmp [Pipeline] { [Pipeline] echo 13:30:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:30:01 ---> create-netrc.sh [Pipeline] } 13:30:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:30:02 ---> python-tools-install.sh [Pipeline] echo 13:30:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:30:02 ---> sudo-logs.sh 13:30:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:30:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:30:02 ---> job-cost.sh 13:30:02 lf-activate-venv: SKIPPING 13:30:02 DEBUG: total: 0.2199999988079071 13:30:02 INFO: Retrieving Stack Cost... 13:30:02 INFO: Retrieving Pricing Info for: v3-standard-8 13:30:03 INFO: Archiving Costs [Pipeline] echo 13:30:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:30:03 ---> logs-deploy.sh 13:30:03 lf-activate-venv: SKIPPING 13:30:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-416/4 13:30:03 INFO: archiving workspace using pattern(s): 13:30:04 Archives upload complete. 13:30:04 INFO: archiving logs to Nexus