Started by user Bill Mahoney Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 584cca68a0538b5fde875f4068a796023fa5f5de+bee51752e52cefacc75b1e77b3765d1ad311bd56 (508f9e68bcb3ff4e6e1f5ad654cae0826bd19a09) 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-ssh16593319416995519693.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh5752363396677194529.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-421/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-421/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh18405130062001857160.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh11537204122269850975.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-421/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-421/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8371925484403796379.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-62257 in /w/workspace/_app-service-configurable_PR-421 [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-421 # 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 bee51752e52cefacc75b1e77b3765d1ad311bd56 into PR head commit 584cca68a0538b5fde875f4068a796023fa5f5de Merge succeeded, producing 584cca68a0538b5fde875f4068a796023fa5f5de Checking out Revision 584cca68a0538b5fde875f4068a796023fa5f5de (PR-421) > 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/421/head:refs/remotes/origin/PR-421 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 584cca68a0538b5fde875f4068a796023fa5f5de # 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 bee51752e52cefacc75b1e77b3765d1ad311bd56 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 584cca68a0538b5fde875f4068a796023fa5f5de # timeout=10 Commit message: "fix: Corrrect typos in comments in new profile" > git rev-list --no-walk 584cca68a0538b5fde875f4068a796023fa5f5de # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:43:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:43:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:43:56 ========================================================= 23:43:56 EdgeX Global Pipelines Version Info 23:43:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:43:57 ------------------- 23:43:57 stable info: 23:43:57 ------------------- 23:43:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:43:57 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 23:43:57 Message: update stable to v1.0.230 23:43:57 ------------------- 23:43:57 experimental info: 23:43:57 ------------------- 23:43:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:43:57 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 23:43:57 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-421 [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-421 [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-421 [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 584cca68a0538b5fde875f4068a796023fa5f5de [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 584cca6 [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:43:58 provisioning config files... 23:43:58 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-421@tmp/config4189860616885063803tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:43:58 ---> docker-login.sh 23:43:58 nexus3.edgexfoundry.org:10001 23:43:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:59 Configure a credential helper to remove this warning. See 23:43:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:59 23:43:59 Login Succeeded 23:43:59 nexus3.edgexfoundry.org:10002 23:43:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:59 Configure a credential helper to remove this warning. See 23:43:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:59 23:43:59 Login Succeeded 23:43:59 nexus3.edgexfoundry.org:10003 23:43:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:59 Configure a credential helper to remove this warning. See 23:43:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:59 23:43:59 Login Succeeded 23:43:59 nexus3.edgexfoundry.org:10004 23:43:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:59 Configure a credential helper to remove this warning. See 23:43:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:59 23:43:59 Login Succeeded 23:43:59 docker.io 23:43:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:44:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:44:00 Configure a credential helper to remove this warning. See 23:44:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:44:00 23:44:00 Login Succeeded 23:44:00 ---> docker-login.sh ends [Pipeline] } 23:44:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:44:00 + git rev-list -1 --merges 584cca68a0538b5fde875f4068a796023fa5f5de~1..584cca68a0538b5fde875f4068a796023fa5f5de [Pipeline] echo 23:44:00 -----------> git rev-list -1 --merges 584cca68a0538b5fde875f4068a796023fa5f5de~1..584cca68a0538b5fde875f4068a796023fa5f5de 584cca68a0538b5fde875f4068a796023fa5f5de [false] [Pipeline] sh 23:44:00 + git log --format=format:%s -1 584cca68a0538b5fde875f4068a796023fa5f5de [Pipeline] echo 23:44:00 ========================================================= 23:44:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:44:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:44:01 + git log --format=format:%s -1 584cca68a0538b5fde875f4068a796023fa5f5de [Pipeline] echo 23:44:01 [semverPrep] GIT_COMMIT: 584cca68a0538b5fde875f4068a796023fa5f5de, Commit Message: fix: Corrrect typos in comments in new profile [Pipeline] echo 23:44:01 [semverPrep] This is not a build commit. [Pipeline] sh 23:44:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:44:01 + grep -v github /etc/ssh/ssh_known_hosts 23:44:01 + [ -e /tmp/ssh_known_hosts ] 23:44:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:44:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:44:01 + sudo tee -a /etc/ssh/ssh_known_hosts 23:44:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 23:44:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:44:02 23:44:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:44:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:44:02 latest: Pulling from edgex-devops/py-git-semver 23:44:02 1fe172e4850f: Pulling fs layer 23:44:02 caf521ccaac6: Pulling fs layer 23:44:02 3ead6fa29328: Pulling fs layer 23:44:02 5c2a1cbceb83: Pulling fs layer 23:44:02 a8d5f1318db7: Pulling fs layer 23:44:02 c427282e49a2: Pulling fs layer 23:44:02 1827001aaf11: Pulling fs layer 23:44:02 0714d37db230: Pulling fs layer 23:44:02 ac28cf19c067: Pulling fs layer 23:44:02 ca983d60f3e2: Pulling fs layer 23:44:02 9f894cec8388: Pulling fs layer 23:44:02 1827001aaf11: Waiting 23:44:02 0714d37db230: Waiting 23:44:02 ac28cf19c067: Waiting 23:44:02 9f894cec8388: Waiting 23:44:02 ca983d60f3e2: Waiting 23:44:02 5c2a1cbceb83: Waiting 23:44:02 c427282e49a2: Waiting 23:44:02 caf521ccaac6: Download complete 23:44:02 5c2a1cbceb83: Download complete 23:44:02 3ead6fa29328: Verifying Checksum 23:44:02 3ead6fa29328: Download complete 23:44:02 a8d5f1318db7: Verifying Checksum 23:44:02 a8d5f1318db7: Download complete 23:44:02 c427282e49a2: Download complete 23:44:02 0714d37db230: Verifying Checksum 23:44:02 ac28cf19c067: Verifying Checksum 23:44:02 ac28cf19c067: Download complete 23:44:02 ca983d60f3e2: Verifying Checksum 23:44:02 ca983d60f3e2: Download complete 23:44:02 9f894cec8388: Verifying Checksum 23:44:02 9f894cec8388: Download complete 23:44:02 1fe172e4850f: Verifying Checksum 23:44:02 1fe172e4850f: Download complete 23:44:02 1827001aaf11: Verifying Checksum 23:44:02 1827001aaf11: Download complete 23:44:04 1fe172e4850f: Pull complete 23:44:04 caf521ccaac6: Pull complete 23:44:04 3ead6fa29328: Pull complete 23:44:04 5c2a1cbceb83: Pull complete 23:44:05 a8d5f1318db7: Pull complete 23:44:05 c427282e49a2: Pull complete 23:44:07 1827001aaf11: Pull complete 23:44:07 0714d37db230: Pull complete 23:44:07 ac28cf19c067: Pull complete 23:44:07 ca983d60f3e2: Pull complete 23:44:08 9f894cec8388: Pull complete 23:44:08 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 23:44:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:44:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 23:44:08 prd-ubuntu20.04-docker-8c-8g-62257 does not seem to be running inside a container 23:44:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-421 -v /w/workspace/_app-service-configurable_PR-421:/w/workspace/_app-service-configurable_PR-421:rw,z -v /w/workspace/_app-service-configurable_PR-421@tmp:/w/workspace/_app-service-configurable_PR-421@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 23:44:10 $ docker top c7804ee45133b84eaf02bf9cc299d7d518a7e53e4fe3e4d4b6fd1588dfb029c7 -eo pid,comm 23:44:10 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). 23:44:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:44:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:44:10 [ssh-agent] Looking for ssh-agent implementation... 23:44:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:44:10 $ docker exec c7804ee45133b84eaf02bf9cc299d7d518a7e53e4fe3e4d4b6fd1588dfb029c7 ssh-agent 23:44:10 SSH_AUTH_SOCK=/tmp/ssh-ghWLxxkNKovw/agent.32 23:44:10 SSH_AGENT_PID=38 23:44:10 Running ssh-add (command line suppressed) 23:44:10 Identity added: /w/workspace/_app-service-configurable_PR-421@tmp/private_key_5530348854766521700.key (/w/workspace/_app-service-configurable_PR-421@tmp/private_key_5530348854766521700.key) 23:44:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:44:10 + git tag --points-at HEAD [Pipeline] } 23:44:10 $ docker exec --env ******** --env ******** c7804ee45133b84eaf02bf9cc299d7d518a7e53e4fe3e4d4b6fd1588dfb029c7 ssh-agent -k 23:44:11 unset SSH_AUTH_SOCK; 23:44:11 unset SSH_AGENT_PID; 23:44:11 echo Agent pid 38 killed; 23:44:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:44:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:44:11 [ssh-agent] Looking for ssh-agent implementation... 23:44:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:44:11 $ docker exec c7804ee45133b84eaf02bf9cc299d7d518a7e53e4fe3e4d4b6fd1588dfb029c7 ssh-agent 23:44:11 SSH_AUTH_SOCK=/tmp/ssh-bpUHJ1RX9U22/agent.72 23:44:11 SSH_AGENT_PID=79 23:44:11 Running ssh-add (command line suppressed) 23:44:11 Identity added: /w/workspace/_app-service-configurable_PR-421@tmp/private_key_1855267324089777629.key (/w/workspace/_app-service-configurable_PR-421@tmp/private_key_1855267324089777629.key) 23:44:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:44:11 + git semver init 23:44:12 2022-05-10 23:44:12,001 [run_init] DEBUG init version:0.0.0 force:False 23:44:12 2022-05-10 23:44:12,002 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-421/.semver 23:44:12 2022-05-10 23:44:12,003 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-421/.semver 23:44:12 2022-05-10 23:44:12,003 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-421/.semver'], cwd=/w/workspace/_app-service-configurable_PR-421, universal_newlines=False, shell=None, istream=None) 23:44:12 2022-05-10 23:44:12,799 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-421/.git/info/exclude 23:44:12 2022-05-10 23:44:12,800 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-421/.semver/PR-421 with force:False 23:44:12 2022-05-10 23:44:12,800 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-421/.semver/PR-421 23:44:12 2022-05-10 23:44:12,804 [execute] INFO git cat-file --batch-check 23:44:12 2022-05-10 23:44:12,805 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-421/.semver, universal_newlines=False, shell=None, istream=) 23:44:12 2022-05-10 23:44:12,812 [execute] INFO git cat-file --batch 23:44:12 2022-05-10 23:44:12,812 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-421/.semver, universal_newlines=False, shell=None, istream=) 23:44:12 2022-05-10 23:44:12,818 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-421/.semver/PR-421 23:44:12 0.0.0 [Pipeline] } 23:44:13 $ docker exec --env ******** --env ******** c7804ee45133b84eaf02bf9cc299d7d518a7e53e4fe3e4d4b6fd1588dfb029c7 ssh-agent -k 23:44:13 unset SSH_AUTH_SOCK; 23:44:13 unset SSH_AGENT_PID; 23:44:13 echo Agent pid 79 killed; 23:44:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:44:13 + git semver [Pipeline] } 23:44:13 $ docker stop --time=1 c7804ee45133b84eaf02bf9cc299d7d518a7e53e4fe3e4d4b6fd1588dfb029c7 23:44:15 $ docker rm -f c7804ee45133b84eaf02bf9cc299d7d518a7e53e4fe3e4d4b6fd1588dfb029c7 [Pipeline] // withDockerContainer [Pipeline] sh 23:44:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:44:15 Stashed 1 file(s) [Pipeline] echo 23:44:15 [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 23:44:15 provisioning config files... 23:44:15 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-421@tmp/config8985794363908845568tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:44:16 ---> docker-login.sh 23:44:16 nexus3.edgexfoundry.org:10001 23:44:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:44:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:44:16 Configure a credential helper to remove this warning. See 23:44:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:44:16 23:44:16 Login Succeeded 23:44:16 nexus3.edgexfoundry.org:10002 23:44:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:44:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:44:16 Configure a credential helper to remove this warning. See 23:44:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:44:16 23:44:16 Login Succeeded 23:44:16 nexus3.edgexfoundry.org:10003 23:44:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:44:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:44:16 Configure a credential helper to remove this warning. See 23:44:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:44:16 23:44:16 Login Succeeded 23:44:16 nexus3.edgexfoundry.org:10004 23:44:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:44:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:44:16 Configure a credential helper to remove this warning. See 23:44:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:44:16 23:44:16 Login Succeeded 23:44:16 docker.io 23:44:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:44:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:44:17 Configure a credential helper to remove this warning. See 23:44:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:44:17 23:44:17 Login Succeeded 23:44:17 ---> docker-login.sh ends [Pipeline] } 23:44:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:44:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:44:17 ========================================================= 23:44:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 23:44:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:44:17 + 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 . 23:44:17 Sending build context to Docker daemon 3.068MB 23:44:17 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 23:44:17 Step 2/13 : FROM ${BASE} AS builder 23:44:17 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 23:44:17 59bf1c3509f3: Pulling fs layer 23:44:17 666ba61612fd: Pulling fs layer 23:44:17 8ed8ca486205: Pulling fs layer 23:44:17 4fe6c5a15a65: Pulling fs layer 23:44:17 22a0e8bec74d: Pulling fs layer 23:44:17 ca2b28591e48: Pulling fs layer 23:44:17 4fe6c5a15a65: Waiting 23:44:17 22a0e8bec74d: Waiting 23:44:17 a51346096db8: Pulling fs layer 23:44:17 daebc70d1ce1: Pulling fs layer 23:44:17 0e18a0eac166: Pulling fs layer 23:44:17 daebc70d1ce1: Waiting 23:44:17 0e18a0eac166: Waiting 23:44:17 8ed8ca486205: Verifying Checksum 23:44:17 8ed8ca486205: Download complete 23:44:17 666ba61612fd: Verifying Checksum 23:44:17 666ba61612fd: Download complete 23:44:17 22a0e8bec74d: Verifying Checksum 23:44:17 22a0e8bec74d: Download complete 23:44:17 ca2b28591e48: Download complete 23:44:17 a51346096db8: Verifying Checksum 23:44:17 a51346096db8: Download complete 23:44:17 59bf1c3509f3: Verifying Checksum 23:44:17 59bf1c3509f3: Download complete 23:44:17 daebc70d1ce1: Verifying Checksum 23:44:17 daebc70d1ce1: Download complete 23:44:17 59bf1c3509f3: Pull complete 23:44:18 666ba61612fd: Pull complete 23:44:18 8ed8ca486205: Pull complete 23:44:18 4fe6c5a15a65: Verifying Checksum 23:44:18 4fe6c5a15a65: Download complete 23:44:18 0e18a0eac166: Verifying Checksum 23:44:18 0e18a0eac166: Download complete 23:44:22 4fe6c5a15a65: Pull complete 23:44:22 22a0e8bec74d: Pull complete 23:44:22 ca2b28591e48: Pull complete 23:44:23 a51346096db8: Pull complete 23:44:23 daebc70d1ce1: Pull complete 23:44:25 0e18a0eac166: Pull complete 23:44:25 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 23:44:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 23:44:25 ---> f018257e8ee9 23:44:25 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 23:44:27 ---> Running in e4b9b5e91f69 23:44:27 Removing intermediate container e4b9b5e91f69 23:44:27 ---> f217fa333be5 23:44:27 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 23:44:27 ---> Running in 6a54a0268c3f 23:44:27 Removing intermediate container 6a54a0268c3f 23:44:27 ---> 13e95b23d670 23:44:27 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 23:44:27 ---> Running in d2fb87ad3f96 23:44:27 Removing intermediate container d2fb87ad3f96 23:44:27 ---> 1a08d5f0a764 23:44:27 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:44:27 ---> Running in dfc9cce87505 23:44:28 Removing intermediate container dfc9cce87505 23:44:28 ---> c456106df77c 23:44:28 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:44:28 ---> Running in 50a98d1a6c85 23:44:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:44:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:44:29 OK: 221 MiB in 52 packages 23:44:30 Removing intermediate container 50a98d1a6c85 23:44:30 ---> 574942af81eb 23:44:30 Step 8/13 : WORKDIR /app 23:44:30 ---> Running in 4e4215edc41a 23:44:30 Removing intermediate container 4e4215edc41a 23:44:30 ---> 60eec4563a8b 23:44:30 Step 9/13 : COPY go.mod vendor* ./ 23:44:30 ---> 8fdb69357c12 23:44:30 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:44:30 ---> Running in 6ea20d25b69c 23:44:30 Still waiting to schedule task 23:44:30 ‘prd-ubuntu20.04-docker-arm64-4c-16g-62259’ is offline 23:44:48 Removing intermediate container 6ea20d25b69c 23:44:48 ---> 39112ce257f2 23:44:48 Step 11/13 : COPY . . 23:44:48 ---> a7b35302e456 23:44:48 Step 12/13 : ARG MAKE="make build" 23:44:48 ---> Running in f9dc6a4b72e6 23:44:48 Removing intermediate container f9dc6a4b72e6 23:44:48 ---> fad53d4c8f27 23:44:48 Step 13/13 : RUN $MAKE 23:44:48 ---> Running in e6794a2bd868 23:44:48 noop 23:44:48 Removing intermediate container e6794a2bd868 23:44:48 ---> 100dcaaf4cef 23:44:48 Successfully built 100dcaaf4cef 23:44:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:44:49 + docker inspect -f . ci-base-image-x86_64 23:44:49 . [Pipeline] withDockerContainer 23:44:49 prd-ubuntu20.04-docker-8c-8g-62257 does not seem to be running inside a container 23:44:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-421 -v /w/workspace/_app-service-configurable_PR-421:/w/workspace/_app-service-configurable_PR-421:rw,z -v /w/workspace/_app-service-configurable_PR-421@tmp:/w/workspace/_app-service-configurable_PR-421@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 23:44:49 $ docker top 99bb5e72984d8155444de4722ce51e147c08b509d97c0654e4cefff94befb78a -eo pid,comm [Pipeline] { [Pipeline] sh 23:44:50 + go version 23:44:50 go version go1.17.6 linux/amd64 [Pipeline] } 23:44:50 $ docker stop --time=1 99bb5e72984d8155444de4722ce51e147c08b509d97c0654e4cefff94befb78a 23:44:51 $ docker rm -f 99bb5e72984d8155444de4722ce51e147c08b509d97c0654e4cefff94befb78a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:44:51 + docker inspect -f . ci-base-image-x86_64 23:44:51 . [Pipeline] withDockerContainer 23:44:51 prd-ubuntu20.04-docker-8c-8g-62257 does not seem to be running inside a container 23:44:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-421 -v /w/workspace/_app-service-configurable_PR-421:/w/workspace/_app-service-configurable_PR-421:rw,z -v /w/workspace/_app-service-configurable_PR-421@tmp:/w/workspace/_app-service-configurable_PR-421@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 23:44:52 $ docker top ee8b1366af9397a490b9a8207938e1be4082d3e2ec6071ad1a9e28fde6cbdb95 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:44:52 + make test 23:44:52 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 23:45:02 ? github.com/edgexfoundry/app-service-configurable [no test files] 23:45:02 CGO_ENABLED=1 go vet ./... 23:45:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:45:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:45:06 ./bin/test-attribution-txt.sh [Pipeline] echo 23:45:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:45:06 $ docker stop --time=1 ee8b1366af9397a490b9a8207938e1be4082d3e2ec6071ad1a9e28fde6cbdb95 23:45:08 $ docker rm -f ee8b1366af9397a490b9a8207938e1be4082d3e2ec6071ad1a9e28fde6cbdb95 [Pipeline] // withDockerContainer [Pipeline] sh 23:45:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:45:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:45:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:45:10 + ls -al . 23:45:10 total 168 23:45:10 drwxrwxr-x 8 jenkins jenkins 4096 May 10 23:45 . 23:45:10 drwxrwxr-x 4 jenkins jenkins 4096 May 10 23:43 .. 23:45:10 -rw-rw-r-- 1 jenkins jenkins 119 May 10 23:43 .dockerignore 23:45:10 drwxrwxr-x 8 jenkins jenkins 4096 May 10 23:44 .git 23:45:10 drwxrwxr-x 3 jenkins jenkins 4096 May 10 23:43 .github 23:45:10 -rw-rw-r-- 1 jenkins jenkins 104 May 10 23:43 .gitignore 23:45:10 drwxr-xr-x 3 jenkins jenkins 4096 May 10 23:44 .semver 23:45:10 -rw-rw-r-- 1 jenkins jenkins 8695 May 10 23:43 Attribution.txt 23:45:10 -rw-rw-r-- 1 jenkins jenkins 27269 May 10 23:43 CHANGELOG.md 23:45:10 -rw-rw-r-- 1 jenkins jenkins 2087 May 10 23:43 Dockerfile 23:45:10 -rw-rw-r-- 1 jenkins jenkins 677 May 10 23:43 GOVERNANCE.md 23:45:10 -rw-rw-r-- 1 jenkins jenkins 688 May 10 23:43 Jenkinsfile 23:45:10 -rw-rw-r-- 1 jenkins jenkins 10174 May 10 23:43 LICENSE 23:45:10 -rw-rw-r-- 1 jenkins jenkins 618 May 10 23:43 OWNERS.md 23:45:10 -rw-rw-r-- 1 jenkins jenkins 3718 May 10 23:43 README.md 23:45:10 -rw-rw-r-- 1 jenkins jenkins 5 May 10 23:44 VERSION 23:45:10 drwxrwxr-x 2 jenkins jenkins 4096 May 10 23:43 bin 23:45:10 -rw-r--r-- 1 jenkins jenkins 10 May 10 23:44 coverage.out 23:45:10 -rw-rw-r-- 1 jenkins jenkins 3222 May 10 23:43 go.mod 23:45:10 -rw-rw-r-- 1 jenkins jenkins 34558 May 10 23:43 go.sum 23:45:10 -rw-rw-r-- 1 jenkins jenkins 1949 May 10 23:43 main.go 23:45:10 -rw-rw-r-- 1 jenkins jenkins 2007 May 10 23:43 makefile 23:45:10 drwxrwxr-x 10 jenkins jenkins 4096 May 10 23:43 res 23:45:10 drwxrwxr-x 3 jenkins jenkins 4096 May 10 23:43 snap [Pipeline] isUnix [Pipeline] sh 23:45:10 + 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=584cca68a0538b5fde875f4068a796023fa5f5de --label arch=amd64 --label version=0.0.0 . 23:45:10 Sending build context to Docker daemon 3.069MB 23:45:10 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 23:45:10 Step 2/27 : FROM ${BASE} AS builder 23:45:10 ---> 100dcaaf4cef 23:45:10 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 23:45:10 ---> Running in 2c39110731c7 23:45:10 Removing intermediate container 2c39110731c7 23:45:10 ---> b937d6c13f3e 23:45:10 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 23:45:10 ---> Running in af0bb0de3936 23:45:10 Removing intermediate container af0bb0de3936 23:45:10 ---> 84e3a2975fd8 23:45:10 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 23:45:10 ---> Running in 82a684ca2789 23:45:11 Removing intermediate container 82a684ca2789 23:45:11 ---> e2a194d80dab 23:45:11 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:45:11 ---> Running in 82c6e93887b6 23:45:11 Removing intermediate container 82c6e93887b6 23:45:11 ---> 02e0ef14926b 23:45:11 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:45:11 ---> Running in 5bdcb0288ac4 23:45:11 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:45:12 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:45:13 OK: 221 MiB in 52 packages 23:45:13 Removing intermediate container 5bdcb0288ac4 23:45:13 ---> 4c8cc3785ed9 23:45:13 Step 8/27 : WORKDIR /app 23:45:13 ---> Running in bf11cff1ca02 23:45:13 Removing intermediate container bf11cff1ca02 23:45:13 ---> 84a4c7abfda9 23:45:13 Step 9/27 : COPY go.mod vendor* ./ 23:45:13 ---> 61e97ae204c8 23:45:13 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:45:13 ---> Running in 9d23d9bfcc45 23:45:14 Removing intermediate container 9d23d9bfcc45 23:45:14 ---> 2116369f54dc 23:45:14 Step 11/27 : COPY . . 23:45:14 ---> 3850e2d5b85b 23:45:14 Step 12/27 : ARG MAKE="make build" 23:45:14 ---> Running in d4b6e86dfb32 23:45:14 Removing intermediate container d4b6e86dfb32 23:45:14 ---> fa2b25bf8fcc 23:45:14 Step 13/27 : RUN $MAKE 23:45:14 ---> Running in 9ae83d236b01 23:45:14 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 23:45:36 Removing intermediate container 9ae83d236b01 23:45:36 ---> 1b95614b562a 23:45:36 Step 14/27 : FROM alpine:3.14 23:45:36 3.14: Pulling from library/alpine 23:45:36 8663204ce13b: Pulling fs layer 23:45:36 8663204ce13b: Verifying Checksum 23:45:36 8663204ce13b: Download complete 23:45:36 8663204ce13b: Pull complete 23:45:36 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 23:45:36 Status: Downloaded newer image for alpine:3.14 23:45:36 ---> e04c818066af 23:45:36 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 23:45:36 ---> Running in 690c1902b3b8 23:45:36 Removing intermediate container 690c1902b3b8 23:45:36 ---> 3b732ce2e0c7 23:45:36 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 23:45:36 ---> Running in f38def0e5c31 23:45:36 Removing intermediate container f38def0e5c31 23:45:36 ---> 24bd9b283c37 23:45:36 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 23:45:36 ---> Running in ec286a48b53d 23:45:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:45:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:45:36 (1/7) Installing ca-certificates (20211220-r0) 23:45:36 (2/7) Installing dumb-init (1.2.5-r1) 23:45:36 (3/7) Installing libgcc (10.3.1_git20210424-r2) 23:45:36 (4/7) Installing libsodium (1.0.18-r0) 23:45:36 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 23:45:36 (6/7) Installing libzmq (4.3.4-r0) 23:45:36 (7/7) Installing zeromq (4.3.4-r0) 23:45:36 Executing busybox-1.33.1-r7.trigger 23:45:36 Executing ca-certificates-20211220-r0.trigger 23:45:36 OK: 9 MiB in 21 packages 23:45:36 Removing intermediate container ec286a48b53d 23:45:36 ---> 6404bd3bae18 23:45:36 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 23:45:37 ---> 2f1d96d991b3 23:45:37 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 23:45:37 ---> 9e938943179a 23:45:37 Step 20/27 : COPY --from=builder /app/res/ /res/ 23:45:37 ---> 29589997ec11 23:45:37 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 23:45:38 ---> cb43dcabf962 23:45:38 Step 22/27 : EXPOSE 48095 23:45:38 ---> Running in 0aabfced9763 23:45:38 Removing intermediate container 0aabfced9763 23:45:38 ---> 13aaa071f61f 23:45:38 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 23:45:38 ---> Running in 6705079892fe 23:45:38 Removing intermediate container 6705079892fe 23:45:38 ---> 394323f41160 23:45:38 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:45:38 ---> Running in 2e29efbf6d7f 23:45:38 Removing intermediate container 2e29efbf6d7f 23:45:38 ---> 7c55cb708296 23:45:38 Step 25/27 : LABEL arch=amd64 23:45:38 ---> Running in 28581410970d 23:45:38 Removing intermediate container 28581410970d 23:45:38 ---> 834d7d3a1f00 23:45:38 Step 26/27 : LABEL git_sha=584cca68a0538b5fde875f4068a796023fa5f5de 23:45:38 ---> Running in c0a994d9ff82 23:45:38 Removing intermediate container c0a994d9ff82 23:45:38 ---> cd5f1cab8953 23:45:38 Step 27/27 : LABEL version=0.0.0 23:45:38 ---> Running in 12ff82bdd5c1 23:45:38 Removing intermediate container 12ff82bdd5c1 23:45:38 ---> 4f4f35136f59 23:45:38 [Warning] One or more build-args [ARCH] were not consumed 23:45:38 Successfully built 4f4f35136f59 23:45:38 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 23:45:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:45:39 23:45:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:45:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:45:39 latest: Pulling from edgex-lftools-log-publisher 23:45:39 5eb5b503b376: Pulling fs layer 23:45:39 5c69ac0246d0: Pulling fs layer 23:45:39 ec43610c2a17: Pulling fs layer 23:45:39 3a2ae6a8a46f: Pulling fs layer 23:45:39 33b1e0a273af: Pulling fs layer 23:45:39 5d3b04190fa2: Pulling fs layer 23:45:39 2f39f015ded8: Pulling fs layer 23:45:39 33b1e0a273af: Waiting 23:45:39 5d3b04190fa2: Waiting 23:45:39 3a2ae6a8a46f: Waiting 23:45:39 2f39f015ded8: Waiting 23:45:39 5c69ac0246d0: Download complete 23:45:39 3a2ae6a8a46f: Verifying Checksum 23:45:39 3a2ae6a8a46f: Download complete 23:45:39 ec43610c2a17: Verifying Checksum 23:45:39 ec43610c2a17: Download complete 23:45:39 33b1e0a273af: Verifying Checksum 23:45:39 33b1e0a273af: Download complete 23:45:39 5d3b04190fa2: Verifying Checksum 23:45:39 5d3b04190fa2: Download complete 23:45:39 5eb5b503b376: Verifying Checksum 23:45:39 5eb5b503b376: Download complete 23:45:40 2f39f015ded8: Verifying Checksum 23:45:40 2f39f015ded8: Download complete 23:45:41 5eb5b503b376: Pull complete 23:45:41 5c69ac0246d0: Pull complete 23:45:41 ec43610c2a17: Pull complete 23:45:41 3a2ae6a8a46f: Pull complete 23:45:42 33b1e0a273af: Pull complete 23:45:42 5d3b04190fa2: Pull complete 23:45:47 2f39f015ded8: Pull complete 23:45:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:45:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:45:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:45:47 prd-ubuntu20.04-docker-8c-8g-62257 does not seem to be running inside a container 23:45:47 $ 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-421 -v /w/workspace/_app-service-configurable_PR-421:/w/workspace/_app-service-configurable_PR-421:rw,z -v /w/workspace/_app-service-configurable_PR-421@tmp:/w/workspace/_app-service-configurable_PR-421@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 23:45:50 $ docker top 3728385b29c21703ecc0ae841db8013abe3d0a1ebd8e6f4ce24fd7728460833a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:45:50 ---> job-cost.sh 23:45:50 lf-activate-venv: SKIPPING 23:45:50 INFO: No Stack... 23:45:50 INFO: Retrieving Pricing Info for: v3-standard-8 23:45:51 INFO: Archiving Costs [Pipeline] sh 23:45:51 + cat /w/workspace/_app-service-configurable_PR-421/archives/cost.csv 23:45:51 + cut -d, -f6 [Pipeline] lock 23:45:51 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-421-3-stack-cost] 23:45:51 Resource [jenkins-edgexfoundry-app-service-configurable-PR-421-3-stack-cost] did not exist. Created. 23:45:51 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-421-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:45:52 + echo total: 0.2199999988079071 [Pipeline] stash 23:45:52 Stashed 1 file(s) [Pipeline] } 23:45:52 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-421-3-stack-cost] [Pipeline] // lock [Pipeline] } 23:45:52 $ docker stop --time=1 3728385b29c21703ecc0ae841db8013abe3d0a1ebd8e6f4ce24fd7728460833a 23:45:53 $ docker rm -f 3728385b29c21703ecc0ae841db8013abe3d0a1ebd8e6f4ce24fd7728460833a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:05:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-62998 in /w/workspace/_app-service-configurable_PR-421 [Pipeline] { [Pipeline] ws 00:05:06 Running in /w/workspace/app-service-configurable/3 [Pipeline] { [Pipeline] checkout 00:05:07 Selected Git installation does not exist. Using Default 00:05:07 The recommended git tool is: NONE 00:05:15 using credential edgex-jenkins-ssh 00:05:15 Cloning the remote Git repository 00:05:15 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 00:05:15 > git init /w/workspace/app-service-configurable/3 # timeout=10 00:05:16 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 00:05:16 > git --version # timeout=10 00:05:16 > git --version # 'git version 2.25.1' 00:05:16 using GIT_SSH to set credentials SSH Credentials for GitHub 00:05:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:05:18 Merging remotes/origin/main commit bee51752e52cefacc75b1e77b3765d1ad311bd56 into PR head commit 584cca68a0538b5fde875f4068a796023fa5f5de 00:05:18 Merge succeeded, producing 584cca68a0538b5fde875f4068a796023fa5f5de 00:05:18 Checking out Revision 584cca68a0538b5fde875f4068a796023fa5f5de (PR-421) 00:05:17 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 00:05:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:05:17 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 00:05:17 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 00:05:17 using GIT_SSH to set credentials SSH Credentials for GitHub 00:05:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/421/head:refs/remotes/origin/PR-421 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:05:18 > git config core.sparsecheckout # timeout=10 00:05:18 > git checkout -f 584cca68a0538b5fde875f4068a796023fa5f5de # timeout=10 00:05:18 > git remote # timeout=10 00:05:18 > git config --get remote.origin.url # timeout=10 00:05:18 using GIT_SSH to set credentials SSH Credentials for GitHub 00:05:18 > git merge bee51752e52cefacc75b1e77b3765d1ad311bd56 # timeout=10 00:05:18 > git rev-parse HEAD^{commit} # timeout=10 00:05:18 > git config core.sparsecheckout # timeout=10 00:05:18 > git checkout -f 584cca68a0538b5fde875f4068a796023fa5f5de # timeout=10 00:05:23 Commit message: "fix: Corrrect typos in comments in new profile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:05:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:05:24 % Total % Received % Xferd Average Speed Time Time Time Current 00:05:24 Dload Upload Total Spent Left Speed 00:05:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 189k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh 00:05:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:05:25 + + sudo tee /etc/docker/daemon.newsudo 00:05:25 jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:05:25 { 00:05:25 "registry-mirrors": [ 00:05:25 "https://nexus3.edgexfoundry.org:10001" 00:05:25 ], 00:05:25 "bip": "10.250.0.254/24", 00:05:25 "hosts": [ 00:05:25 "tcp://0.0.0.0:5555", 00:05:25 "unix:///var/run/docker.sock" 00:05:25 ], 00:05:25 "mtu": 1458, 00:05:25 "selinux-enabled": true, 00:05:25 "seccomp-profile": "/etc/docker/seccomp.json" 00:05:25 } [Pipeline] sh 00:05:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:05:26 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:05:44 provisioning config files... 00:05:44 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/3@tmp/config4709071492254842661tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:05:45 ---> docker-login.sh 00:05:45 nexus3.edgexfoundry.org:10001 00:05:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:05:47 Configure a credential helper to remove this warning. See 00:05:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:05:47 00:05:47 Login Succeeded 00:05:47 nexus3.edgexfoundry.org:10002 00:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:05:48 Configure a credential helper to remove this warning. See 00:05:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:05:48 00:05:48 Login Succeeded 00:05:48 nexus3.edgexfoundry.org:10003 00:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:05:48 Configure a credential helper to remove this warning. See 00:05:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:05:48 00:05:48 Login Succeeded 00:05:48 nexus3.edgexfoundry.org:10004 00:05:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:05:49 Configure a credential helper to remove this warning. See 00:05:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:05:49 00:05:49 Login Succeeded 00:05:49 docker.io 00:05:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:05:49 Configure a credential helper to remove this warning. See 00:05:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:05:49 00:05:49 Login Succeeded 00:05:49 ---> docker-login.sh ends [Pipeline] } 00:05:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:05:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:05:50 ========================================================= 00:05:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 00:05:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:05: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 . 00:05:50 Sending build context to Docker daemon 203.3kB 00:05:51 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 00:05:51 Step 2/13 : FROM ${BASE} AS builder 00:05:51 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:05:51 9b3977197b4f: Pulling fs layer 00:05:51 1a89e8eeedd5: Pulling fs layer 00:05:51 94645a83ff95: Pulling fs layer 00:05:51 3f3a8bcf1eab: Pulling fs layer 00:05:51 0c92f367c5e7: Pulling fs layer 00:05:51 3096ccb668a1: Pulling fs layer 00:05:51 e8cf19c19ddd: Pulling fs layer 00:05:51 a4caa8a26152: Pulling fs layer 00:05:51 0c92f367c5e7: Waiting 00:05:51 3096ccb668a1: Waiting 00:05:51 e8cf19c19ddd: Waiting 00:05:51 a4caa8a26152: Waiting 00:05:51 3f3a8bcf1eab: Waiting 00:05:51 94645a83ff95: Verifying Checksum 00:05:51 94645a83ff95: Download complete 00:05:51 1a89e8eeedd5: Verifying Checksum 00:05:51 1a89e8eeedd5: Download complete 00:05:51 0c92f367c5e7: Verifying Checksum 00:05:51 0c92f367c5e7: Download complete 00:05:51 9b3977197b4f: Download complete 00:05:51 3096ccb668a1: Verifying Checksum 00:05:51 3096ccb668a1: Download complete 00:05:51 e8cf19c19ddd: Verifying Checksum 00:05:51 e8cf19c19ddd: Download complete 00:05:53 9b3977197b4f: Pull complete 00:05:53 1a89e8eeedd5: Pull complete 00:05:53 94645a83ff95: Pull complete 00:05:54 a4caa8a26152: Verifying Checksum 00:05:54 a4caa8a26152: Download complete 00:05:55 3f3a8bcf1eab: Verifying Checksum 00:05:55 3f3a8bcf1eab: Download complete 00:06:10 3f3a8bcf1eab: Pull complete 00:06:10 0c92f367c5e7: Pull complete 00:06:10 3096ccb668a1: Pull complete 00:06:10 e8cf19c19ddd: Pull complete 00:06:17 a4caa8a26152: Pull complete 00:06:17 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 00:06:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 00:06:17 ---> 725f1c02e7f9 00:06:17 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 00:06:18 ---> Running in 607685dc2d75 00:06:18 Removing intermediate container 607685dc2d75 00:06:18 ---> 5eff3ca4bd93 00:06:18 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 00:06:19 ---> Running in 599d2092d64e 00:06:19 Removing intermediate container 599d2092d64e 00:06:19 ---> 4e246978a6e2 00:06:19 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 00:06:19 ---> Running in 4d99ae7d96f5 00:06:20 Removing intermediate container 4d99ae7d96f5 00:06:20 ---> 0a70542270cc 00:06:20 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:06:20 ---> Running in 360f531f68d0 00:06:22 Removing intermediate container 360f531f68d0 00:06:22 ---> 187db215598b 00:06:22 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:06:22 ---> Running in b4a6f9872345 00:06:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:06:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:06:25 OK: 220 MiB in 52 packages 00:06:26 Removing intermediate container b4a6f9872345 00:06:26 ---> 258c345cdd08 00:06:26 Step 8/13 : WORKDIR /app 00:06:26 ---> Running in e830e5d7de2a 00:06:26 Removing intermediate container e830e5d7de2a 00:06:26 ---> 008fc8b29af4 00:06:26 Step 9/13 : COPY go.mod vendor* ./ 00:06:26 ---> e4d6ead79522 00:06:26 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:06:27 ---> Running in fb11ccc2181b 00:07:23 Removing intermediate container fb11ccc2181b 00:07:23 ---> b7d34844fdd9 00:07:23 Step 11/13 : COPY . . 00:07:23 ---> 9427cba9d616 00:07:23 Step 12/13 : ARG MAKE="make build" 00:07:23 ---> Running in f44af72c7966 00:07:23 Removing intermediate container f44af72c7966 00:07:23 ---> dcc8bf8e6d2f 00:07:23 Step 13/13 : RUN $MAKE 00:07:23 ---> Running in 991bbb9e7f44 00:07:23 noop 00:07:23 Removing intermediate container 991bbb9e7f44 00:07:23 ---> 62eed964a268 00:07:23 Successfully built 62eed964a268 00:07:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:07:24 + docker inspect -f . ci-base-image-arm64 00:07:24 . [Pipeline] withDockerContainer 00:07:24 prd-ubuntu20.04-docker-arm64-4c-16g-62998 does not seem to be running inside a container 00:07:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@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-arm64 cat 00:07:25 $ docker top 9f4bdf0e90fa9c828080abaf13725fea7ab87c7a5227ef40628b8f46d6e04926 -eo pid,comm [Pipeline] { [Pipeline] sh 00:07:26 + go version 00:07:26 go version go1.17.6 linux/arm64 [Pipeline] } 00:07:26 $ docker stop --time=1 9f4bdf0e90fa9c828080abaf13725fea7ab87c7a5227ef40628b8f46d6e04926 00:07:28 $ docker rm -f 9f4bdf0e90fa9c828080abaf13725fea7ab87c7a5227ef40628b8f46d6e04926 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:07:29 + docker inspect -f . ci-base-image-arm64 00:07:29 . [Pipeline] withDockerContainer 00:07:29 prd-ubuntu20.04-docker-arm64-4c-16g-62998 does not seem to be running inside a container 00:07:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@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-arm64 cat 00:07:31 $ docker top 4989b220252c52fb950598b357eccf3d308f6748b01bf0234669ae081dec32c3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:07:32 + make test 00:07:32 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 00:09:09 ? github.com/edgexfoundry/app-service-configurable [no test files] 00:09:09 CGO_ENABLED=1 go vet ./... 00:09:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:09:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:09:36 ./bin/test-attribution-txt.sh [Pipeline] echo 00:09:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:09:39 $ docker stop --time=1 4989b220252c52fb950598b357eccf3d308f6748b01bf0234669ae081dec32c3 00:09:41 $ docker rm -f 4989b220252c52fb950598b357eccf3d308f6748b01bf0234669ae081dec32c3 [Pipeline] // withDockerContainer [Pipeline] sh 00:09:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:09:42 Warning: overwriting stash ‘coverage-report’ 00:09:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:09:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:09:43 + ls -al . 00:09:43 total 164 00:09:43 drwxrwxr-x 7 jenkins jenkins 4096 May 11 00:09 . 00:09:43 drwxrwxr-x 4 jenkins jenkins 4096 May 11 00:05 .. 00:09:43 -rw-rw-r-- 1 jenkins jenkins 119 May 11 00:05 .dockerignore 00:09:43 drwxrwxr-x 8 jenkins jenkins 4096 May 11 00:05 .git 00:09:43 drwxrwxr-x 3 jenkins jenkins 4096 May 11 00:05 .github 00:09:43 -rw-rw-r-- 1 jenkins jenkins 104 May 11 00:05 .gitignore 00:09:43 -rw-rw-r-- 1 jenkins jenkins 8695 May 11 00:05 Attribution.txt 00:09:43 -rw-rw-r-- 1 jenkins jenkins 27269 May 11 00:05 CHANGELOG.md 00:09:43 -rw-rw-r-- 1 jenkins jenkins 2087 May 11 00:05 Dockerfile 00:09:43 -rw-rw-r-- 1 jenkins jenkins 677 May 11 00:05 GOVERNANCE.md 00:09:43 -rw-rw-r-- 1 jenkins jenkins 688 May 11 00:05 Jenkinsfile 00:09:43 -rw-rw-r-- 1 jenkins jenkins 10174 May 11 00:05 LICENSE 00:09:43 -rw-rw-r-- 1 jenkins jenkins 618 May 11 00:05 OWNERS.md 00:09:43 -rw-rw-r-- 1 jenkins jenkins 3718 May 11 00:05 README.md 00:09:43 -rw-rw-r-- 1 jenkins jenkins 5 May 10 23:44 VERSION 00:09:43 drwxrwxr-x 2 jenkins jenkins 4096 May 11 00:05 bin 00:09:43 -rw-r--r-- 1 jenkins jenkins 10 May 11 00:07 coverage.out 00:09:43 -rw-rw-r-- 1 jenkins jenkins 3222 May 11 00:05 go.mod 00:09:43 -rw-rw-r-- 1 jenkins jenkins 34558 May 11 00:05 go.sum 00:09:43 -rw-rw-r-- 1 jenkins jenkins 1949 May 11 00:05 main.go 00:09:43 -rw-rw-r-- 1 jenkins jenkins 2007 May 11 00:05 makefile 00:09:43 drwxrwxr-x 10 jenkins jenkins 4096 May 11 00:05 res 00:09:43 drwxrwxr-x 3 jenkins jenkins 4096 May 11 00:05 snap [Pipeline] isUnix [Pipeline] sh 00:09:44 + 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=584cca68a0538b5fde875f4068a796023fa5f5de --label arch=arm64 --label version=0.0.0 . 00:09:44 Sending build context to Docker daemon 204.3kB 00:09:44 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 00:09:44 Step 2/27 : FROM ${BASE} AS builder 00:09:44 ---> 62eed964a268 00:09:44 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 00:09:44 ---> Running in 4b65ec948499 00:09:44 Removing intermediate container 4b65ec948499 00:09:44 ---> 4c92c97559ca 00:09:44 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 00:09:44 ---> Running in 4099376f8a94 00:09:45 Removing intermediate container 4099376f8a94 00:09:45 ---> ff8df6337eae 00:09:45 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 00:09:45 ---> Running in dac30cd97dfb 00:09:45 Removing intermediate container dac30cd97dfb 00:09:45 ---> f99d08decded 00:09:45 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:09:45 ---> Running in 661e7bd55ab5 00:09:47 Removing intermediate container 661e7bd55ab5 00:09:47 ---> 41425d71b7e4 00:09:47 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:09:47 ---> Running in 07698703a80c 00:09:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:09:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:09:51 OK: 220 MiB in 52 packages 00:09:51 Removing intermediate container 07698703a80c 00:09:51 ---> 329031686d43 00:09:51 Step 8/27 : WORKDIR /app 00:09:51 ---> Running in e8ab8c660d33 00:09:52 Removing intermediate container e8ab8c660d33 00:09:52 ---> c3ff9efefe69 00:09:52 Step 9/27 : COPY go.mod vendor* ./ 00:09:52 ---> cdd68120693f 00:09:52 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:09:53 ---> Running in 8368f0bf722a 00:09:55 Removing intermediate container 8368f0bf722a 00:09:55 ---> d09e1cf6f77c 00:09:55 Step 11/27 : COPY . . 00:09:55 ---> e726a2e40aa9 00:09:55 Step 12/27 : ARG MAKE="make build" 00:09:55 ---> Running in b980054620cd 00:09:56 Removing intermediate container b980054620cd 00:09:56 ---> 4aba5a3205db 00:09:56 Step 13/27 : RUN $MAKE 00:09:56 ---> Running in 61927c075f98 00:09:57 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 00:12:34 Removing intermediate container 61927c075f98 00:12:34 ---> 15b5e1f0c1cc 00:12:34 Step 14/27 : FROM alpine:3.14 00:12:34 3.14: Pulling from library/alpine 00:12:34 455c02918c45: Pulling fs layer 00:12:34 455c02918c45: Verifying Checksum 00:12:34 455c02918c45: Download complete 00:12:34 455c02918c45: Pull complete 00:12:34 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 00:12:34 Status: Downloaded newer image for alpine:3.14 00:12:34 ---> ac73e934f311 00:12:34 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 00:12:34 ---> Running in fa8db7933deb 00:12:34 Removing intermediate container fa8db7933deb 00:12:34 ---> 3b4059e2d2bd 00:12:34 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 00:12:34 ---> Running in 20c466988210 00:12:34 Removing intermediate container 20c466988210 00:12:34 ---> f582cdf699ae 00:12:34 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 00:12:34 ---> Running in 72be1960691c 00:12:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 00:12:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 00:12:35 (1/7) Installing ca-certificates (20211220-r0) 00:12:35 (2/7) Installing dumb-init (1.2.5-r1) 00:12:35 (3/7) Installing libgcc (10.3.1_git20210424-r2) 00:12:35 (4/7) Installing libsodium (1.0.18-r0) 00:12:35 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 00:12:35 (6/7) Installing libzmq (4.3.4-r0) 00:12:35 (7/7) Installing zeromq (4.3.4-r0) 00:12:35 Executing busybox-1.33.1-r7.trigger 00:12:35 Executing ca-certificates-20211220-r0.trigger 00:12:35 OK: 9 MiB in 21 packages 00:12:36 Removing intermediate container 72be1960691c 00:12:36 ---> 76e99a4dd2b3 00:12:36 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 00:12:37 ---> 34e0cd39df1c 00:12:37 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 00:12:38 ---> fcc23a65eb62 00:12:38 Step 20/27 : COPY --from=builder /app/res/ /res/ 00:12:38 ---> 26736bbe045f 00:12:38 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 00:12:40 ---> 9190b5890664 00:12:40 Step 22/27 : EXPOSE 48095 00:12:40 ---> Running in c37d50eebe08 00:12:40 Removing intermediate container c37d50eebe08 00:12:40 ---> 5eed62892268 00:12:40 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 00:12:40 ---> Running in 9b805cb96284 00:12:40 Removing intermediate container 9b805cb96284 00:12:40 ---> 3e51564d8910 00:12:40 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:12:41 ---> Running in 4690f18ba195 00:12:41 Removing intermediate container 4690f18ba195 00:12:41 ---> b926cf66c62f 00:12:41 Step 25/27 : LABEL arch=arm64 00:12:41 ---> Running in c249d2fc9912 00:12:41 Removing intermediate container c249d2fc9912 00:12:41 ---> cb46bb0e7ee7 00:12:41 Step 26/27 : LABEL git_sha=584cca68a0538b5fde875f4068a796023fa5f5de 00:12:42 ---> Running in fc72c3fc9baf 00:12:42 Removing intermediate container fc72c3fc9baf 00:12:42 ---> 44f446d1574e 00:12:42 Step 27/27 : LABEL version=0.0.0 00:12:42 ---> Running in 29c13fb7f3ee 00:12:42 Removing intermediate container 29c13fb7f3ee 00:12:42 ---> b07e463db55c 00:12:42 [Warning] One or more build-args [ARCH] were not consumed 00:12:42 Successfully built b07e463db55c 00:12:42 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 00:12:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:12:43 00:12:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 00:12:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:12:43 arm64: Pulling from edgex-lftools-log-publisher 00:12:43 8998bd30e6a1: Pulling fs layer 00:12:43 04944245beec: Pulling fs layer 00:12:43 699f458cf7ca: Pulling fs layer 00:12:43 765212b225bb: Pulling fs layer 00:12:43 f23df028b6ca: Pulling fs layer 00:12:43 d65c8cfc05b1: Pulling fs layer 00:12:43 765212b225bb: Waiting 00:12:43 f23df028b6ca: Waiting 00:12:43 2437ff75d9bd: Pulling fs layer 00:12:43 d65c8cfc05b1: Waiting 00:12:43 2437ff75d9bd: Waiting 00:12:43 04944245beec: Verifying Checksum 00:12:43 04944245beec: Download complete 00:12:43 765212b225bb: Download complete 00:12:44 f23df028b6ca: Verifying Checksum 00:12:44 f23df028b6ca: Download complete 00:12:44 d65c8cfc05b1: Download complete 00:12:44 699f458cf7ca: Verifying Checksum 00:12:44 699f458cf7ca: Download complete 00:12:44 8998bd30e6a1: Verifying Checksum 00:12:44 8998bd30e6a1: Download complete 00:12:47 2437ff75d9bd: Verifying Checksum 00:12:49 8998bd30e6a1: Pull complete 00:12:49 04944245beec: Pull complete 00:12:51 699f458cf7ca: Pull complete 00:12:51 765212b225bb: Pull complete 00:12:52 f23df028b6ca: Pull complete 00:12:52 d65c8cfc05b1: Pull complete 00:13:11 2437ff75d9bd: Pull complete 00:13:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:13:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:13:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 00:13:11 prd-ubuntu20.04-docker-arm64-4c-16g-62998 does not seem to be running inside a container 00:13:11 $ 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/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@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:arm64 cat 00:13:14 $ docker top 4f502cb50a421d3dfbbfee57bcc37d0aa34dbf9a62e59eb87d21e4ac1b220a6c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:13:15 ---> job-cost.sh 00:13:15 lf-activate-venv: SKIPPING 00:13:15 INFO: No Stack... 00:13:16 INFO: Retrieving Pricing Info for: v3-standard-4 00:13:17 INFO: Archiving Costs [Pipeline] sh 00:13:17 + + cut -d, -f6cat 00:13:17 /w/workspace/app-service-configurable/3/archives/cost.csv [Pipeline] lock 00:13:17 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-421-3-stack-cost] 00:13:17 Resource [jenkins-edgexfoundry-app-service-configurable-PR-421-3-stack-cost] did not exist. Created. 00:13:17 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-421-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:13:18 /w/workspace/app-service-configurable/3@tmp/durable-536e68c9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:13:19 + echo total: 0.10999999940395355 [Pipeline] stash 00:13:19 Warning: overwriting stash ‘stack-cost’ 00:13:19 Stashed 1 file(s) [Pipeline] } 00:13:19 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-421-3-stack-cost] [Pipeline] // lock [Pipeline] } 00:13:19 $ docker stop --time=1 4f502cb50a421d3dfbbfee57bcc37d0aa34dbf9a62e59eb87d21e4ac1b220a6c 00:13:21 $ docker rm -f 4f502cb50a421d3dfbbfee57bcc37d0aa34dbf9a62e59eb87d21e4ac1b220a6c [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 00:13:21 provisioning config files... 00:13:21 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-421@tmp/config5027541608416412021tmp [Pipeline] { [Pipeline] sh 00:13:21 + set +x 00:13:21 + + bash -s -- 00:13:21 curl -s https://codecov.io/bash 00:13:21 00:13:21 _____ _ 00:13:21 / ____| | | 00:13:21 | | ___ __| | ___ ___ _____ __ 00:13:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:13:21 | |___| (_) | (_| | __/ (_| (_) \ V / 00:13:21 \_____\___/ \__,_|\___|\___\___/ \_/ 00:13:21 Bash-1.0.6 00:13:21 00:13:21 00:13:21 ==> git version 2.25.1 found 00:13:21 ==> 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 00:13:21 Release-Date: 2020-01-08 00:13:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:13:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:13:21 ==> Jenkins CI detected. 00:13:21 current dir:  /w/workspace/_app-service-configurable_PR-421 00:13:21 project root: . 00:13:21 --> token set from env 00:13:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:13:21 ==> Running gcov in . (disable via -X gcov) 00:13:21 ==> Python coveragepy not found 00:13:21 ==> Searching for coverage reports in: 00:13:21 + . 00:13:21 -> Found 1 reports 00:13:21 ==> Detecting git/mercurial file structure 00:13:21 ==> Reading reports 00:13:21 + ./coverage.out bytes=10 00:13:21 ==> Appending adjustments 00:13:21 https://docs.codecov.io/docs/fixing-reports 00:13:21 + Found adjustments 00:13:21 ==> Gzipping contents 00:13:21 4.0K /tmp/codecov.sapJTg.gz 00:13:21 ==> Uploading reports 00:13:21 url: https://codecov.io 00:13:21 query: branch=PR-421&commit=584cca68a0538b5fde875f4068a796023fa5f5de&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-421%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=421&job=&cmd_args= 00:13:21 -> Pinging Codecov 00:13:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-421&commit=584cca68a0538b5fde875f4068a796023fa5f5de&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-421%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=421&job=&cmd_args= 00:13:22 -> Uploading to 00:13:22 https://storage.googleapis.com/codecov/v4/raw/2022-05-11/A97CA9966030D2A3747ED39772930CCE/584cca68a0538b5fde875f4068a796023fa5f5de/4e1306d1-63f7-42ea-a1a1-e1c09ea0722e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220511T001322Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=637b37cb6556ea7b613269aef8ec0d8c30b9ede9dff56ba92fad0f0f332a51ea 00:13:22 % Total % Received % Xferd Average Speed Time Time Time Current 00:13:22 Dload Upload Total Spent Left Speed 00:13:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 592 0 0 100 592 0 2916 --:--:-- --:--:-- --:--:-- 2901 100 592 0 0 100 592 0 1909 --:--:-- --:--:-- --:--:-- 1909 00:13:22 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/584cca68a0538b5fde875f4068a796023fa5f5de [Pipeline] } 00:13:22 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 00:13:23 + [ -d /w/workspace/_app-service-configurable_PR-421/archives ] 00:13:23 + ls -al /w/workspace/_app-service-configurable_PR-421/archives 00:13:23 total 16 00:13:23 drwxr-xr-x 3 root root 4096 May 10 23:45 . 00:13:23 drwxrwxr-x 9 jenkins jenkins 4096 May 10 23:45 .. 00:13:23 drwxr-xr-x 2 root root 4096 May 10 23:45 cost 00:13:23 -rw-r--r-- 1 root root 95 May 10 23:45 cost.csv 00:13:23 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-421/archives 00:13:23 + ls -al /w/workspace/_app-service-configurable_PR-421/archives 00:13:23 total 16 00:13:23 drwxr-xr-x 3 jenkins jenkins 4096 May 10 23:45 . 00:13:23 drwxrwxr-x 9 jenkins jenkins 4096 May 10 23:45 .. 00:13:23 drwxr-xr-x 2 jenkins jenkins 4096 May 10 23:45 cost 00:13:23 -rw-r--r-- 1 jenkins jenkins 95 May 10 23:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:13:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:13:24 ---> package-listing.sh 00:13:24 ++ facter osfamily 00:13:24 ++ tr '[:upper:]' '[:lower:]' 00:13:24 + OS_FAMILY=debian 00:13:24 + workspace=/w/workspace/_app-service-configurable_PR-421 00:13:24 + START_PACKAGES=/tmp/packages_start.txt 00:13:24 + END_PACKAGES=/tmp/packages_end.txt 00:13:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:13:24 + PACKAGES=/tmp/packages_start.txt 00:13:24 + '[' /w/workspace/_app-service-configurable_PR-421 ']' 00:13:24 + PACKAGES=/tmp/packages_end.txt 00:13:24 + case "${OS_FAMILY}" in 00:13:24 + dpkg -l 00:13:24 + grep '^ii' 00:13:24 + '[' -f /tmp/packages_start.txt ']' 00:13:24 + '[' -f /tmp/packages_end.txt ']' 00:13:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:13:24 + '[' /w/workspace/_app-service-configurable_PR-421 ']' 00:13:24 + mkdir -p /w/workspace/_app-service-configurable_PR-421/archives/ 00:13:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-421/archives/ [Pipeline] echo 00:13:24 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-421/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:13:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:13:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:13:25 . [Pipeline] withDockerContainer 00:13:25 prd-ubuntu20.04-docker-8c-8g-62257 does not seem to be running inside a container 00:13:25 $ 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-421/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-421 -v /w/workspace/_app-service-configurable_PR-421:/w/workspace/_app-service-configurable_PR-421:rw,z -v /w/workspace/_app-service-configurable_PR-421@tmp:/w/workspace/_app-service-configurable_PR-421@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 00:13:26 $ docker top 1a3557b11bf5c277edcf76c6029b6a3c51fd90f0c809f90201a0bed71a1c9605 -eo pid,comm [Pipeline] { [Pipeline] sh 00:13:26 + touch /tmp/pre-build-complete [Pipeline] sh 00:13:26 + mkdir -p /var/log/sysstat [Pipeline] sh 00:13:26 + ls /var/log/sa-host 00:13:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:13:27 provisioning config files... 00:13:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-421@tmp/config2020235340113372412tmp [Pipeline] { [Pipeline] echo 00:13:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:13:27 ---> create-netrc.sh [Pipeline] } 00:13:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:13:27 ---> python-tools-install.sh [Pipeline] echo 00:13:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:13:28 ---> sudo-logs.sh 00:13:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:13:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:13:28 ---> job-cost.sh 00:13:28 lf-activate-venv: SKIPPING 00:13:28 DEBUG: total: 0.2199999988079071 00:13:28 INFO: Retrieving Stack Cost... 00:13:28 INFO: Retrieving Pricing Info for: v3-standard-8 00:13:29 INFO: Archiving Costs [Pipeline] echo 00:13:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:13:29 ---> logs-deploy.sh 00:13:29 lf-activate-venv: SKIPPING 00:13:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-421/3 00:13:29 INFO: archiving workspace using pattern(s): 00:13:30 Archives upload complete. 00:13:30 INFO: archiving logs to Nexus