Pull request #419 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 001ca08ee2ceac7ca276134c2cb88381025d2d71+ad55e0170029eafafb831d92a6ace1a8c5806c28 (225d5f25c7a425d2a65124bccd43292478000f7f) 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-ssh6800613660624475716.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4718574883147937982.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-419/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-419/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6672828015313110273.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9159190515322718720.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-419/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-419/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2324117506014060954.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-47802 in /w/workspace/_app-service-configurable_PR-419 [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-419 # 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 ad55e0170029eafafb831d92a6ace1a8c5806c28 into PR head commit 001ca08ee2ceac7ca276134c2cb88381025d2d71 Merge succeeded, producing 001ca08ee2ceac7ca276134c2cb88381025d2d71 Checking out Revision 001ca08ee2ceac7ca276134c2cb88381025d2d71 (PR-419) > 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/419/head:refs/remotes/origin/PR-419 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 001ca08ee2ceac7ca276134c2cb88381025d2d71 # 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 ad55e0170029eafafb831d92a6ace1a8c5806c28 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 001ca08ee2ceac7ca276134c2cb88381025d2d71 # timeout=10 Commit message: "Merge branch 'main' into use-released-sdk" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:28:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:28:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:28:30 ========================================================= 17:28:30 EdgeX Global Pipelines Version Info 17:28:30 ========================================================= [Pipeline] libraryResource > git rev-list --no-walk 65ae36b2b60e3ee6c6282d4b0d41770fb3d7ec59 # timeout=10 [Pipeline] sh 17:28:31 ------------------- 17:28:31 stable info: 17:28:31 ------------------- 17:28:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:28:31 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 17:28:31 Message: update stable to v1.0.227 17:28:32 ------------------- 17:28:32 experimental info: 17:28:32 ------------------- 17:28:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:28:32 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 17:28:32 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:28:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 17:28:32 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 17:28:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:28:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:28:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:28:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 17:28:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:28:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:28:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:28:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:28:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:28:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 17:28:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:28:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:28:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:28:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:28:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:28:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:28:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:28:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:28:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:28:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:28:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:28:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:28:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:28:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:28:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-419 [Pipeline] echo 17:28:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-419 [Pipeline] echo 17:28:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-419 [Pipeline] echo 17:28:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 001ca08ee2ceac7ca276134c2cb88381025d2d71 [Pipeline] echo 17:28:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 001ca08 [Pipeline] echo 17:28:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:28:32 provisioning config files... 17:28:32 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-419@tmp/config5625666403399463766tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:28:33 ---> docker-login.sh 17:28:33 nexus3.edgexfoundry.org:10001 17:28:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:33 Configure a credential helper to remove this warning. See 17:28:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:33 17:28:33 Login Succeeded 17:28:33 nexus3.edgexfoundry.org:10002 17:28:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:33 Configure a credential helper to remove this warning. See 17:28:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:33 17:28:33 Login Succeeded 17:28:33 nexus3.edgexfoundry.org:10003 17:28:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:33 Configure a credential helper to remove this warning. See 17:28:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:33 17:28:33 Login Succeeded 17:28:33 nexus3.edgexfoundry.org:10004 17:28:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:33 Configure a credential helper to remove this warning. See 17:28:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:33 17:28:33 Login Succeeded 17:28:33 docker.io 17:28:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:34 Configure a credential helper to remove this warning. See 17:28:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:34 17:28:34 Login Succeeded 17:28:34 ---> docker-login.sh ends [Pipeline] } 17:28:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:28:34 + git rev-list -1 --merges 001ca08ee2ceac7ca276134c2cb88381025d2d71~1..001ca08ee2ceac7ca276134c2cb88381025d2d71 [Pipeline] echo 17:28:34 -----------> git rev-list -1 --merges 001ca08ee2ceac7ca276134c2cb88381025d2d71~1..001ca08ee2ceac7ca276134c2cb88381025d2d71 001ca08ee2ceac7ca276134c2cb88381025d2d71 17:28:34 001ca08ee2ceac7ca276134c2cb88381025d2d71 [false] [Pipeline] sh 17:28:35 + git log --format=format:%s -1 001ca08ee2ceac7ca276134c2cb88381025d2d71 [Pipeline] echo 17:28:35 ========================================================= 17:28:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:28:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:28:35 + git log --format=format:%s -1 001ca08ee2ceac7ca276134c2cb88381025d2d71 [Pipeline] echo 17:28:35 [semverPrep] GIT_COMMIT: 001ca08ee2ceac7ca276134c2cb88381025d2d71, Commit Message: Merge branch 'main' into use-released-sdk [Pipeline] echo 17:28:35 [semverPrep] This is not a build commit. [Pipeline] sh 17:28:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:28:35 + grep -v github /etc/ssh/ssh_known_hosts 17:28:35 + [ -e /tmp/ssh_known_hosts ] 17:28:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:28:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:28:35 + sudo tee -a /etc/ssh/ssh_known_hosts 17:28:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 17:28:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:28:36 17:28:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:28:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:28:36 latest: Pulling from edgex-devops/py-git-semver 17:28:36 1fe172e4850f: Pulling fs layer 17:28:36 caf521ccaac6: Pulling fs layer 17:28:36 3ead6fa29328: Pulling fs layer 17:28:36 5c2a1cbceb83: Pulling fs layer 17:28:36 a8d5f1318db7: Pulling fs layer 17:28:36 c427282e49a2: Pulling fs layer 17:28:36 1827001aaf11: Pulling fs layer 17:28:36 0714d37db230: Pulling fs layer 17:28:36 ac28cf19c067: Pulling fs layer 17:28:36 ca983d60f3e2: Pulling fs layer 17:28:36 9f894cec8388: Pulling fs layer 17:28:36 c427282e49a2: Waiting 17:28:36 1827001aaf11: Waiting 17:28:36 0714d37db230: Waiting 17:28:36 ac28cf19c067: Waiting 17:28:36 ca983d60f3e2: Waiting 17:28:36 9f894cec8388: Waiting 17:28:36 5c2a1cbceb83: Waiting 17:28:36 a8d5f1318db7: Waiting 17:28:36 caf521ccaac6: Verifying Checksum 17:28:36 caf521ccaac6: Download complete 17:28:36 5c2a1cbceb83: Download complete 17:28:36 a8d5f1318db7: Verifying Checksum 17:28:36 a8d5f1318db7: Download complete 17:28:36 3ead6fa29328: Verifying Checksum 17:28:36 3ead6fa29328: Download complete 17:28:36 c427282e49a2: Verifying Checksum 17:28:36 c427282e49a2: Download complete 17:28:36 0714d37db230: Download complete 17:28:36 ac28cf19c067: Download complete 17:28:36 ca983d60f3e2: Verifying Checksum 17:28:36 ca983d60f3e2: Download complete 17:28:36 9f894cec8388: Verifying Checksum 17:28:36 9f894cec8388: Download complete 17:28:36 1fe172e4850f: Download complete 17:28:37 1827001aaf11: Verifying Checksum 17:28:37 1827001aaf11: Download complete 17:28:38 1fe172e4850f: Pull complete 17:28:38 caf521ccaac6: Pull complete 17:28:39 3ead6fa29328: Pull complete 17:28:39 5c2a1cbceb83: Pull complete 17:28:39 a8d5f1318db7: Pull complete 17:28:39 c427282e49a2: Pull complete 17:28:41 1827001aaf11: Pull complete 17:28:41 0714d37db230: Pull complete 17:28:41 ac28cf19c067: Pull complete 17:28:41 ca983d60f3e2: Pull complete 17:28:42 9f894cec8388: Pull complete 17:28:42 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 17:28:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:28:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 17:28:42 prd-ubuntu20.04-docker-8c-8g-47802 does not seem to be running inside a container 17:28:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-419 -v /w/workspace/_app-service-configurable_PR-419:/w/workspace/_app-service-configurable_PR-419:rw,z -v /w/workspace/_app-service-configurable_PR-419@tmp:/w/workspace/_app-service-configurable_PR-419@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 17:28:44 $ docker top 324886d91b7c2f490ccc1299cf91e3db35c0248367f38ec356b04c421f3e2e4b -eo pid,comm 17:28:44 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). 17:28:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:28:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:28:44 [ssh-agent] Looking for ssh-agent implementation... 17:28:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:28:44 $ docker exec 324886d91b7c2f490ccc1299cf91e3db35c0248367f38ec356b04c421f3e2e4b ssh-agent 17:28:44 SSH_AUTH_SOCK=/tmp/ssh-iQlicqGFv2xW/agent.32 17:28:44 SSH_AGENT_PID=38 17:28:44 Running ssh-add (command line suppressed) 17:28:44 Identity added: /w/workspace/_app-service-configurable_PR-419@tmp/private_key_1704927197297561473.key (/w/workspace/_app-service-configurable_PR-419@tmp/private_key_1704927197297561473.key) 17:28:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:28:44 + git tag --points-at HEAD [Pipeline] } 17:28:44 $ docker exec --env ******** --env ******** 324886d91b7c2f490ccc1299cf91e3db35c0248367f38ec356b04c421f3e2e4b ssh-agent -k 17:28:45 unset SSH_AUTH_SOCK; 17:28:45 unset SSH_AGENT_PID; 17:28:45 echo Agent pid 38 killed; 17:28:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:28:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:28:45 [ssh-agent] Looking for ssh-agent implementation... 17:28:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:28:45 $ docker exec 324886d91b7c2f490ccc1299cf91e3db35c0248367f38ec356b04c421f3e2e4b ssh-agent 17:28:45 SSH_AUTH_SOCK=/tmp/ssh-R24hqNtSVvja/agent.72 17:28:45 SSH_AGENT_PID=78 17:28:45 Running ssh-add (command line suppressed) 17:28:45 Identity added: /w/workspace/_app-service-configurable_PR-419@tmp/private_key_7533484071434512943.key (/w/workspace/_app-service-configurable_PR-419@tmp/private_key_7533484071434512943.key) 17:28:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:28:45 + git semver init 17:28:46 2022-05-10 17:28:45,971 [run_init] DEBUG init version:0.0.0 force:False 17:28:46 2022-05-10 17:28:45,971 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-419/.semver 17:28:46 2022-05-10 17:28:45,972 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-419/.semver 17:28:46 2022-05-10 17:28:45,972 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-419/.semver'], cwd=/w/workspace/_app-service-configurable_PR-419, universal_newlines=False, shell=None, istream=None) 17:28:46 2022-05-10 17:28:46,761 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-419/.git/info/exclude 17:28:46 2022-05-10 17:28:46,762 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-419/.semver/PR-419 with force:False 17:28:46 2022-05-10 17:28:46,762 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-419/.semver/PR-419 17:28:46 2022-05-10 17:28:46,764 [execute] INFO git cat-file --batch-check 17:28:46 2022-05-10 17:28:46,765 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-419/.semver, universal_newlines=False, shell=None, istream=) 17:28:46 2022-05-10 17:28:46,773 [execute] INFO git cat-file --batch 17:28:46 2022-05-10 17:28:46,773 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-419/.semver, universal_newlines=False, shell=None, istream=) 17:28:46 2022-05-10 17:28:46,779 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-419/.semver/PR-419 17:28:46 0.0.0 [Pipeline] } 17:28:46 $ docker exec --env ******** --env ******** 324886d91b7c2f490ccc1299cf91e3db35c0248367f38ec356b04c421f3e2e4b ssh-agent -k 17:28:47 unset SSH_AUTH_SOCK; 17:28:47 unset SSH_AGENT_PID; 17:28:47 echo Agent pid 78 killed; 17:28:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:28:47 + git semver [Pipeline] } 17:28:47 $ docker stop --time=1 324886d91b7c2f490ccc1299cf91e3db35c0248367f38ec356b04c421f3e2e4b 17:28:49 $ docker rm -f 324886d91b7c2f490ccc1299cf91e3db35c0248367f38ec356b04c421f3e2e4b [Pipeline] // withDockerContainer [Pipeline] sh 17:28:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:28:49 Stashed 1 file(s) [Pipeline] echo 17:28:49 [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 17:28:49 provisioning config files... 17:28:49 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-419@tmp/config8481377151930817193tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:28:50 ---> docker-login.sh 17:28:50 nexus3.edgexfoundry.org:10001 17:28:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:50 Configure a credential helper to remove this warning. See 17:28:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:50 17:28:50 Login Succeeded 17:28:50 nexus3.edgexfoundry.org:10002 17:28:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:50 Configure a credential helper to remove this warning. See 17:28:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:50 17:28:50 Login Succeeded 17:28:50 nexus3.edgexfoundry.org:10003 17:28:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:50 Configure a credential helper to remove this warning. See 17:28:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:50 17:28:50 Login Succeeded 17:28:50 nexus3.edgexfoundry.org:10004 17:28:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:50 Configure a credential helper to remove this warning. See 17:28:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:50 17:28:50 Login Succeeded 17:28:50 docker.io 17:28:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:50 Configure a credential helper to remove this warning. See 17:28:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:50 17:28:50 Login Succeeded 17:28:50 ---> docker-login.sh ends [Pipeline] } 17:28:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:28:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:28:51 ========================================================= 17:28:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 17:28:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:28:51 + 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 . 17:28:51 Sending build context to Docker daemon 3.057MB 17:28:51 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 17:28:51 Step 2/13 : FROM ${BASE} AS builder 17:28:51 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 17:28:51 59bf1c3509f3: Pulling fs layer 17:28:51 666ba61612fd: Pulling fs layer 17:28:51 8ed8ca486205: Pulling fs layer 17:28:51 4fe6c5a15a65: Pulling fs layer 17:28:51 22a0e8bec74d: Pulling fs layer 17:28:51 ca2b28591e48: Pulling fs layer 17:28:51 a51346096db8: Pulling fs layer 17:28:51 daebc70d1ce1: Pulling fs layer 17:28:51 0e18a0eac166: Pulling fs layer 17:28:51 4fe6c5a15a65: Waiting 17:28:51 22a0e8bec74d: Waiting 17:28:51 ca2b28591e48: Waiting 17:28:51 a51346096db8: Waiting 17:28:51 daebc70d1ce1: Waiting 17:28:51 0e18a0eac166: Waiting 17:28:51 8ed8ca486205: Download complete 17:28:51 666ba61612fd: Download complete 17:28:51 22a0e8bec74d: Verifying Checksum 17:28:51 22a0e8bec74d: Download complete 17:28:51 ca2b28591e48: Verifying Checksum 17:28:51 ca2b28591e48: Download complete 17:28:51 59bf1c3509f3: Verifying Checksum 17:28:51 59bf1c3509f3: Download complete 17:28:51 a51346096db8: Verifying Checksum 17:28:51 a51346096db8: Download complete 17:28:51 daebc70d1ce1: Verifying Checksum 17:28:51 daebc70d1ce1: Download complete 17:28:51 59bf1c3509f3: Pull complete 17:28:51 666ba61612fd: Pull complete 17:28:51 8ed8ca486205: Pull complete 17:28:52 0e18a0eac166: Verifying Checksum 17:28:52 0e18a0eac166: Download complete 17:28:52 4fe6c5a15a65: Verifying Checksum 17:28:52 4fe6c5a15a65: Download complete 17:28:56 4fe6c5a15a65: Pull complete 17:28:56 22a0e8bec74d: Pull complete 17:28:56 ca2b28591e48: Pull complete 17:28:56 a51346096db8: Pull complete 17:28:57 daebc70d1ce1: Pull complete 17:28:59 0e18a0eac166: Pull complete 17:28:59 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 17:28:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:28:59 ---> f018257e8ee9 17:28:59 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:29:01 ---> Running in 1b31cf40924a 17:29:01 Removing intermediate container 1b31cf40924a 17:29:01 ---> c909812a7d58 17:29:01 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 17:29:01 ---> Running in 6f3e097d9bc7 17:29:01 Removing intermediate container 6f3e097d9bc7 17:29:01 ---> 92abff9ab89c 17:29:01 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 17:29:01 ---> Running in 2c55db425275 17:29:01 Removing intermediate container 2c55db425275 17:29:01 ---> 2e8a861bf00c 17:29:01 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:29:01 ---> Running in 52ff91f12652 17:29:02 Removing intermediate container 52ff91f12652 17:29:02 ---> 98ad1e35f269 17:29:02 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:29:02 ---> Running in d7a07347f996 17:29:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:29:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:29:04 OK: 221 MiB in 52 packages 17:29:04 Removing intermediate container d7a07347f996 17:29:04 ---> b940ee7615d5 17:29:04 Step 8/13 : WORKDIR /app 17:29:04 ---> Running in 65042ac4e9d0 17:29:04 Removing intermediate container 65042ac4e9d0 17:29:04 ---> 8dedb4c3c99a 17:29:04 Step 9/13 : COPY go.mod vendor* ./ 17:29:04 ---> 235b85e3bcba 17:29:04 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:29:04 ---> Running in 10d91d6edf93 17:29:04 Still waiting to schedule task 17:29:04 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 17:29:22 Removing intermediate container 10d91d6edf93 17:29:22 ---> 7892b71b30d5 17:29:22 Step 11/13 : COPY . . 17:29:22 ---> b957fca540a4 17:29:22 Step 12/13 : ARG MAKE="make build" 17:29:22 ---> Running in 8b3f30e4f38a 17:29:22 Removing intermediate container 8b3f30e4f38a 17:29:22 ---> 917533838279 17:29:22 Step 13/13 : RUN $MAKE 17:29:22 ---> Running in 75cad1541cfe 17:29:22 noop 17:29:22 Removing intermediate container 75cad1541cfe 17:29:22 ---> 4e715680023a 17:29:22 Successfully built 4e715680023a 17:29:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:29:23 + docker inspect -f . ci-base-image-x86_64 17:29:23 . [Pipeline] withDockerContainer 17:29:23 prd-ubuntu20.04-docker-8c-8g-47802 does not seem to be running inside a container 17:29:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-419 -v /w/workspace/_app-service-configurable_PR-419:/w/workspace/_app-service-configurable_PR-419:rw,z -v /w/workspace/_app-service-configurable_PR-419@tmp:/w/workspace/_app-service-configurable_PR-419@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:29:23 $ docker top 4f09e5630ed9e9104b6b1c2e83947e1ca87c252bde29cf6df387ba1baec73789 -eo pid,comm [Pipeline] { [Pipeline] sh 17:29:24 + go version 17:29:24 go version go1.17.6 linux/amd64 [Pipeline] } 17:29:24 $ docker stop --time=1 4f09e5630ed9e9104b6b1c2e83947e1ca87c252bde29cf6df387ba1baec73789 17:29:25 $ docker rm -f 4f09e5630ed9e9104b6b1c2e83947e1ca87c252bde29cf6df387ba1baec73789 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:29:25 + docker inspect -f . ci-base-image-x86_64 17:29:25 . [Pipeline] withDockerContainer 17:29:26 prd-ubuntu20.04-docker-8c-8g-47802 does not seem to be running inside a container 17:29:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-419 -v /w/workspace/_app-service-configurable_PR-419:/w/workspace/_app-service-configurable_PR-419:rw,z -v /w/workspace/_app-service-configurable_PR-419@tmp:/w/workspace/_app-service-configurable_PR-419@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:29:26 $ docker top 5afdca316dc33976bc02eb78a8e932365d320014f6243a5ebcc70d647d267f56 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:29:26 + make test 17:29:26 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 17:29:39 ? github.com/edgexfoundry/app-service-configurable [no test files] 17:29:39 CGO_ENABLED=1 go vet ./... 17:29:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:29:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:29:42 ./bin/test-attribution-txt.sh [Pipeline] echo 17:29:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:29:42 $ docker stop --time=1 5afdca316dc33976bc02eb78a8e932365d320014f6243a5ebcc70d647d267f56 17:29:44 $ docker rm -f 5afdca316dc33976bc02eb78a8e932365d320014f6243a5ebcc70d647d267f56 [Pipeline] // withDockerContainer [Pipeline] sh 17:29:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:29:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:29:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:29:46 + ls -al . 17:29:46 total 164 17:29:46 drwxrwxr-x 8 jenkins jenkins 4096 May 10 17:29 . 17:29:46 drwxrwxr-x 4 jenkins jenkins 4096 May 10 17:28 .. 17:29:46 -rw-rw-r-- 1 jenkins jenkins 119 May 10 17:28 .dockerignore 17:29:46 drwxrwxr-x 8 jenkins jenkins 4096 May 10 17:28 .git 17:29:46 drwxrwxr-x 3 jenkins jenkins 4096 May 10 17:28 .github 17:29:46 -rw-rw-r-- 1 jenkins jenkins 104 May 10 17:28 .gitignore 17:29:46 drwxr-xr-x 3 jenkins jenkins 4096 May 10 17:28 .semver 17:29:46 -rw-rw-r-- 1 jenkins jenkins 8695 May 10 17:28 Attribution.txt 17:29:46 -rw-rw-r-- 1 jenkins jenkins 23791 May 10 17:28 CHANGELOG.md 17:29:46 -rw-rw-r-- 1 jenkins jenkins 2087 May 10 17:28 Dockerfile 17:29:46 -rw-rw-r-- 1 jenkins jenkins 677 May 10 17:28 GOVERNANCE.md 17:29:46 -rw-rw-r-- 1 jenkins jenkins 688 May 10 17:28 Jenkinsfile 17:29:46 -rw-rw-r-- 1 jenkins jenkins 10174 May 10 17:28 LICENSE 17:29:46 -rw-rw-r-- 1 jenkins jenkins 618 May 10 17:28 OWNERS.md 17:29:46 -rw-rw-r-- 1 jenkins jenkins 3718 May 10 17:28 README.md 17:29:46 -rw-rw-r-- 1 jenkins jenkins 5 May 10 17:28 VERSION 17:29:46 drwxrwxr-x 2 jenkins jenkins 4096 May 10 17:28 bin 17:29:46 -rw-r--r-- 1 jenkins jenkins 10 May 10 17:29 coverage.out 17:29:46 -rw-rw-r-- 1 jenkins jenkins 3222 May 10 17:28 go.mod 17:29:46 -rw-rw-r-- 1 jenkins jenkins 34558 May 10 17:28 go.sum 17:29:46 -rw-rw-r-- 1 jenkins jenkins 1949 May 10 17:28 main.go 17:29:46 -rw-rw-r-- 1 jenkins jenkins 2007 May 10 17:28 makefile 17:29:46 drwxrwxr-x 10 jenkins jenkins 4096 May 10 17:28 res 17:29:46 drwxrwxr-x 3 jenkins jenkins 4096 May 10 17:28 snap [Pipeline] isUnix [Pipeline] sh 17:29:46 + 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=001ca08ee2ceac7ca276134c2cb88381025d2d71 --label arch=amd64 --label version=0.0.0 . 17:29:46 Sending build context to Docker daemon 3.058MB 17:29:46 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 17:29:46 Step 2/27 : FROM ${BASE} AS builder 17:29:46 ---> 4e715680023a 17:29:46 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:29:46 ---> Running in be1d43c48eea 17:29:46 Removing intermediate container be1d43c48eea 17:29:46 ---> f5b093504635 17:29:46 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 17:29:46 ---> Running in d6d0db74d9e8 17:29:46 Removing intermediate container d6d0db74d9e8 17:29:46 ---> cc646bfbd720 17:29:46 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 17:29:47 ---> Running in 325a4a3b4ad6 17:29:47 Removing intermediate container 325a4a3b4ad6 17:29:47 ---> 0b49ae7f842b 17:29:47 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:29:47 ---> Running in d338d3fcd8a5 17:29:47 Removing intermediate container d338d3fcd8a5 17:29:47 ---> 4fb44a3817c4 17:29:47 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:29:47 ---> Running in 1b13b9d301b0 17:29:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:29:48 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:29:49 OK: 221 MiB in 52 packages 17:29:49 Removing intermediate container 1b13b9d301b0 17:29:49 ---> 78c35f889932 17:29:49 Step 8/27 : WORKDIR /app 17:29:49 ---> Running in c42c3b6e2516 17:29:49 Removing intermediate container c42c3b6e2516 17:29:49 ---> 68516ebd99dd 17:29:49 Step 9/27 : COPY go.mod vendor* ./ 17:29:50 ---> 29951884fa4b 17:29:50 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:29:50 ---> Running in d2b5c50999e4 17:29:50 Removing intermediate container d2b5c50999e4 17:29:50 ---> 8739453b2a3b 17:29:50 Step 11/27 : COPY . . 17:29:50 ---> 0b778bc2c7b0 17:29:50 Step 12/27 : ARG MAKE="make build" 17:29:50 ---> Running in 3bbb6be8fa57 17:29:51 Removing intermediate container 3bbb6be8fa57 17:29:51 ---> dcff853044fc 17:29:51 Step 13/27 : RUN $MAKE 17:29:51 ---> Running in d93de1d375bb 17:29:51 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 17:30:13 Removing intermediate container d93de1d375bb 17:30:13 ---> 9eb7151ca4d5 17:30:13 Step 14/27 : FROM alpine:3.14 17:30:13 3.14: Pulling from library/alpine 17:30:13 8663204ce13b: Pulling fs layer 17:30:13 8663204ce13b: Verifying Checksum 17:30:13 8663204ce13b: Download complete 17:30:13 8663204ce13b: Pull complete 17:30:13 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 17:30:13 Status: Downloaded newer image for alpine:3.14 17:30:13 ---> e04c818066af 17:30:13 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 17:30:14 ---> Running in 3b9b87a022d7 17:30:14 Removing intermediate container 3b9b87a022d7 17:30:14 ---> 1b3c72c9a58c 17:30:14 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 17:30:14 ---> Running in 04748a13fd8e 17:30:14 Removing intermediate container 04748a13fd8e 17:30:14 ---> ef32b5f77a8b 17:30:14 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 17:30:14 ---> Running in 9255e451fe1b 17:30:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 17:30:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 17:30:14 (1/7) Installing ca-certificates (20211220-r0) 17:30:14 (2/7) Installing dumb-init (1.2.5-r1) 17:30:14 (3/7) Installing libgcc (10.3.1_git20210424-r2) 17:30:14 (4/7) Installing libsodium (1.0.18-r0) 17:30:14 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 17:30:14 (6/7) Installing libzmq (4.3.4-r0) 17:30:14 (7/7) Installing zeromq (4.3.4-r0) 17:30:14 Executing busybox-1.33.1-r7.trigger 17:30:14 Executing ca-certificates-20211220-r0.trigger 17:30:14 OK: 9 MiB in 21 packages 17:30:15 Removing intermediate container 9255e451fe1b 17:30:15 ---> 093d1e0baf30 17:30:15 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:30:15 ---> c21f1100d602 17:30:15 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 17:30:15 ---> 51ec7a948a2d 17:30:15 Step 20/27 : COPY --from=builder /app/res/ /res/ 17:30:15 ---> 891a5b20081b 17:30:15 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 17:30:16 ---> b1c451d0456d 17:30:16 Step 22/27 : EXPOSE 48095 17:30:16 ---> Running in c5a23321ee99 17:30:16 Removing intermediate container c5a23321ee99 17:30:16 ---> 3ebf4afbcdcd 17:30:16 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 17:30:16 ---> Running in 866f7db98c44 17:30:17 Removing intermediate container 866f7db98c44 17:30:17 ---> 0c15d51f3956 17:30:17 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:30:17 ---> Running in edf8eaefe5d3 17:30:17 Removing intermediate container edf8eaefe5d3 17:30:17 ---> 81c8a678d75c 17:30:17 Step 25/27 : LABEL arch=amd64 17:30:17 ---> Running in e648f2d55090 17:30:17 Removing intermediate container e648f2d55090 17:30:17 ---> 5d0fdf630fbb 17:30:17 Step 26/27 : LABEL git_sha=001ca08ee2ceac7ca276134c2cb88381025d2d71 17:30:17 ---> Running in cc84641d8b8a 17:30:17 Removing intermediate container cc84641d8b8a 17:30:17 ---> c6bf467a57c9 17:30:17 Step 27/27 : LABEL version=0.0.0 17:30:17 ---> Running in 9bfafe19abfd 17:30:17 Removing intermediate container 9bfafe19abfd 17:30:17 ---> 1813df3c5847 17:30:17 [Warning] One or more build-args [ARCH] were not consumed 17:30:17 Successfully built 1813df3c5847 17:30:17 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 17:30:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:30:18 17:30:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:30:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:30:18 latest: Pulling from edgex-lftools-log-publisher 17:30:18 5eb5b503b376: Pulling fs layer 17:30:18 5c69ac0246d0: Pulling fs layer 17:30:18 ec43610c2a17: Pulling fs layer 17:30:18 3a2ae6a8a46f: Pulling fs layer 17:30:18 33b1e0a273af: Pulling fs layer 17:30:18 5d3b04190fa2: Pulling fs layer 17:30:18 2f39f015ded8: Pulling fs layer 17:30:18 3a2ae6a8a46f: Waiting 17:30:18 2f39f015ded8: Waiting 17:30:18 33b1e0a273af: Waiting 17:30:18 5d3b04190fa2: Waiting 17:30:18 5c69ac0246d0: Verifying Checksum 17:30:18 5c69ac0246d0: Download complete 17:30:18 3a2ae6a8a46f: Verifying Checksum 17:30:18 3a2ae6a8a46f: Download complete 17:30:18 33b1e0a273af: Verifying Checksum 17:30:18 33b1e0a273af: Download complete 17:30:18 5d3b04190fa2: Verifying Checksum 17:30:18 5d3b04190fa2: Download complete 17:30:18 ec43610c2a17: Verifying Checksum 17:30:18 ec43610c2a17: Download complete 17:30:18 5eb5b503b376: Verifying Checksum 17:30:18 5eb5b503b376: Download complete 17:30:19 2f39f015ded8: Download complete 17:30:20 5eb5b503b376: Pull complete 17:30:20 5c69ac0246d0: Pull complete 17:30:20 ec43610c2a17: Pull complete 17:30:20 3a2ae6a8a46f: Pull complete 17:30:20 33b1e0a273af: Pull complete 17:30:20 5d3b04190fa2: Pull complete 17:30:25 2f39f015ded8: Pull complete 17:30:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:30:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:30:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:30:25 prd-ubuntu20.04-docker-8c-8g-47802 does not seem to be running inside a container 17:30:25 $ 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-419 -v /w/workspace/_app-service-configurable_PR-419:/w/workspace/_app-service-configurable_PR-419:rw,z -v /w/workspace/_app-service-configurable_PR-419@tmp:/w/workspace/_app-service-configurable_PR-419@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:30:27 $ docker top 072ef1eb0623cb7bd2f43f579188eb84f8fbd5d34688dc9cd33ef9640dde2aba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:30:27 ---> job-cost.sh 17:30:27 lf-activate-venv: SKIPPING 17:30:27 INFO: No Stack... 17:30:28 INFO: Retrieving Pricing Info for: v3-standard-8 17:30:28 INFO: Archiving Costs [Pipeline] sh 17:30:29 + cat /w/workspace/_app-service-configurable_PR-419/archives/cost.csv 17:30:29 + cut -d, -f6 [Pipeline] lock 17:30:29 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-419-2-stack-cost] 17:30:29 Resource [jenkins-edgexfoundry-app-service-configurable-PR-419-2-stack-cost] did not exist. Created. 17:30:29 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-419-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:30:29 + echo total: 0.2199999988079071 [Pipeline] stash 17:30:29 Stashed 1 file(s) [Pipeline] } 17:30:29 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-419-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:30:29 $ docker stop --time=1 072ef1eb0623cb7bd2f43f579188eb84f8fbd5d34688dc9cd33ef9640dde2aba 17:30:30 $ docker rm -f 072ef1eb0623cb7bd2f43f579188eb84f8fbd5d34688dc9cd33ef9640dde2aba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:32:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-47804 in /w/workspace/_app-service-configurable_PR-419 [Pipeline] { [Pipeline] ws 17:32:05 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 17:32:05 Selected Git installation does not exist. Using Default 17:32:05 The recommended git tool is: NONE 17:32:11 using credential edgex-jenkins-ssh 17:32:11 Cloning the remote Git repository 17:32:11 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 17:32:11 > git init /w/workspace/app-service-configurable/2 # timeout=10 17:32:11 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 17:32:11 > git --version # timeout=10 17:32:12 > git --version # 'git version 2.25.1' 17:32:12 using GIT_SSH to set credentials SSH Credentials for GitHub 17:32:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:32:14 Merging remotes/origin/main commit ad55e0170029eafafb831d92a6ace1a8c5806c28 into PR head commit 001ca08ee2ceac7ca276134c2cb88381025d2d71 17:32:14 Merge succeeded, producing 001ca08ee2ceac7ca276134c2cb88381025d2d71 17:32:14 Checking out Revision 001ca08ee2ceac7ca276134c2cb88381025d2d71 (PR-419) 17:32:13 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 17:32:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:32:13 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 17:32:13 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 17:32:13 using GIT_SSH to set credentials SSH Credentials for GitHub 17:32:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/419/head:refs/remotes/origin/PR-419 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:32:14 > git config core.sparsecheckout # timeout=10 17:32:14 > git checkout -f 001ca08ee2ceac7ca276134c2cb88381025d2d71 # timeout=10 17:32:14 > git remote # timeout=10 17:32:14 > git config --get remote.origin.url # timeout=10 17:32:14 using GIT_SSH to set credentials SSH Credentials for GitHub 17:32:14 > git merge ad55e0170029eafafb831d92a6ace1a8c5806c28 # timeout=10 17:32:14 > git rev-parse HEAD^{commit} # timeout=10 17:32:14 > git config core.sparsecheckout # timeout=10 17:32:14 > git checkout -f 001ca08ee2ceac7ca276134c2cb88381025d2d71 # timeout=10 17:32:18 Commit message: "Merge branch 'main' into use-released-sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:32:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:32:19 % Total % Received % Xferd Average Speed Time Time Time Current 17:32:19 Dload Upload Total Spent Left Speed 17:32:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 82243 0 --:--:-- --:--:-- --:--:-- 82243 [Pipeline] sh 17:32:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:32:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:32:20 + sudo tee /etc/docker/daemon.new 17:32:20 { 17:32:20 "registry-mirrors": [ 17:32:20 "https://nexus3.edgexfoundry.org:10001" 17:32:20 ], 17:32:20 "bip": "10.250.0.254/24", 17:32:20 "hosts": [ 17:32:20 "tcp://0.0.0.0:5555", 17:32:20 "unix:///var/run/docker.sock" 17:32:20 ], 17:32:20 "mtu": 1458, 17:32:20 "selinux-enabled": true, 17:32:20 "seccomp-profile": "/etc/docker/seccomp.json" 17:32:20 } [Pipeline] sh 17:32:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:32:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:32:39 provisioning config files... 17:32:39 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config4291460088003620591tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:32:39 ---> docker-login.sh 17:32:39 nexus3.edgexfoundry.org:10001 17:32:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:41 Configure a credential helper to remove this warning. See 17:32:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:41 17:32:41 Login Succeeded 17:32:41 nexus3.edgexfoundry.org:10002 17:32:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:41 Configure a credential helper to remove this warning. See 17:32:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:41 17:32:41 Login Succeeded 17:32:41 nexus3.edgexfoundry.org:10003 17:32:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:42 Configure a credential helper to remove this warning. See 17:32:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:42 17:32:42 Login Succeeded 17:32:42 nexus3.edgexfoundry.org:10004 17:32:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:42 Configure a credential helper to remove this warning. See 17:32:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:42 17:32:42 Login Succeeded 17:32:42 docker.io 17:32:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:43 Configure a credential helper to remove this warning. See 17:32:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:43 17:32:43 Login Succeeded 17:32:43 ---> docker-login.sh ends [Pipeline] } 17:32:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:32:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:32:43 ========================================================= 17:32:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 17:32:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:32:44 + 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 . 17:32:44 Sending build context to Docker daemon 199.7kB 17:32:44 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 17:32:44 Step 2/13 : FROM ${BASE} AS builder 17:32:44 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:32:44 9b3977197b4f: Pulling fs layer 17:32:44 1a89e8eeedd5: Pulling fs layer 17:32:44 94645a83ff95: Pulling fs layer 17:32:44 3f3a8bcf1eab: Pulling fs layer 17:32:44 0c92f367c5e7: Pulling fs layer 17:32:44 3096ccb668a1: Pulling fs layer 17:32:44 e8cf19c19ddd: Pulling fs layer 17:32:44 a4caa8a26152: Pulling fs layer 17:32:44 3f3a8bcf1eab: Waiting 17:32:44 0c92f367c5e7: Waiting 17:32:44 3096ccb668a1: Waiting 17:32:44 e8cf19c19ddd: Waiting 17:32:44 a4caa8a26152: Waiting 17:32:44 94645a83ff95: Verifying Checksum 17:32:44 1a89e8eeedd5: Download complete 17:32:44 0c92f367c5e7: Verifying Checksum 17:32:44 0c92f367c5e7: Download complete 17:32:44 3096ccb668a1: Verifying Checksum 17:32:44 3096ccb668a1: Download complete 17:32:44 9b3977197b4f: Download complete 17:32:44 e8cf19c19ddd: Verifying Checksum 17:32:44 e8cf19c19ddd: Download complete 17:32:45 9b3977197b4f: Pull complete 17:32:45 1a89e8eeedd5: Pull complete 17:32:46 94645a83ff95: Pull complete 17:32:46 a4caa8a26152: Verifying Checksum 17:32:46 a4caa8a26152: Download complete 17:32:47 3f3a8bcf1eab: Verifying Checksum 17:32:47 3f3a8bcf1eab: Download complete 17:32:59 3f3a8bcf1eab: Pull complete 17:32:59 0c92f367c5e7: Pull complete 17:32:59 3096ccb668a1: Pull complete 17:32:59 e8cf19c19ddd: Pull complete 17:33:05 a4caa8a26152: Pull complete 17:33:05 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 17:33:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:33:05 ---> 725f1c02e7f9 17:33:05 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:33:06 ---> Running in 21104c211688 17:33:06 Removing intermediate container 21104c211688 17:33:06 ---> 1d357532a687 17:33:06 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 17:33:06 ---> Running in b4c9dfd8ff5d 17:33:07 Removing intermediate container b4c9dfd8ff5d 17:33:07 ---> abac558c62cd 17:33:07 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 17:33:07 ---> Running in 7e6b1c651ffc 17:33:07 Removing intermediate container 7e6b1c651ffc 17:33:07 ---> e25b45d6c681 17:33:07 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:33:07 ---> Running in 5ffd9ab8aa61 17:33:09 Removing intermediate container 5ffd9ab8aa61 17:33:09 ---> c4a41432bdb4 17:33:09 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:33:09 ---> Running in 73d2cb2398bd 17:33:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:33:12 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:33:13 OK: 220 MiB in 52 packages 17:33:14 Removing intermediate container 73d2cb2398bd 17:33:14 ---> 465207b0b770 17:33:14 Step 8/13 : WORKDIR /app 17:33:14 ---> Running in f69ab5a7bc11 17:33:14 Removing intermediate container f69ab5a7bc11 17:33:14 ---> cd5fdddd6f5a 17:33:14 Step 9/13 : COPY go.mod vendor* ./ 17:33:15 ---> c2165d7f58fc 17:33:15 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:33:15 ---> Running in f722b7a9b350 17:34:02 Removing intermediate container f722b7a9b350 17:34:02 ---> 77bf02a22024 17:34:02 Step 11/13 : COPY . . 17:34:02 ---> 05fc00ac0923 17:34:02 Step 12/13 : ARG MAKE="make build" 17:34:02 ---> Running in 204c35fab1ec 17:34:02 Removing intermediate container 204c35fab1ec 17:34:02 ---> 89a3972dd78b 17:34:02 Step 13/13 : RUN $MAKE 17:34:02 ---> Running in 7c81d836502b 17:34:02 noop 17:34:02 Removing intermediate container 7c81d836502b 17:34:02 ---> 73039f80bd35 17:34:02 Successfully built 73039f80bd35 17:34:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:34:03 + docker inspect -f . ci-base-image-arm64 17:34:03 . [Pipeline] withDockerContainer 17:34:03 prd-ubuntu20.04-docker-arm64-4c-16g-47804 does not seem to be running inside a container 17:34:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:34:05 $ docker top 250408b5d98e8b77331508b4a4d2e80099c8fad99231bb5491627e41bb953f61 -eo pid,comm [Pipeline] { [Pipeline] sh 17:34:06 + go version 17:34:06 go version go1.17.6 linux/arm64 [Pipeline] } 17:34:06 $ docker stop --time=1 250408b5d98e8b77331508b4a4d2e80099c8fad99231bb5491627e41bb953f61 17:34:07 $ docker rm -f 250408b5d98e8b77331508b4a4d2e80099c8fad99231bb5491627e41bb953f61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:34:08 + docker inspect -f . ci-base-image-arm64 17:34:08 . [Pipeline] withDockerContainer 17:34:08 prd-ubuntu20.04-docker-arm64-4c-16g-47804 does not seem to be running inside a container 17:34:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:34:10 $ docker top fc28c05e8139d58920c31a04932ab3723ba0fc0b319e521bb5d360676c8f6f97 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:34:11 + make test 17:34:11 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 17:35:33 ? github.com/edgexfoundry/app-service-configurable [no test files] 17:35:33 CGO_ENABLED=1 go vet ./... 17:35:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:35:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:35:59 ./bin/test-attribution-txt.sh [Pipeline] echo 17:35:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:35:59 $ docker stop --time=1 fc28c05e8139d58920c31a04932ab3723ba0fc0b319e521bb5d360676c8f6f97 17:36:01 $ docker rm -f fc28c05e8139d58920c31a04932ab3723ba0fc0b319e521bb5d360676c8f6f97 [Pipeline] // withDockerContainer [Pipeline] sh 17:36:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:36:02 Warning: overwriting stash ‘coverage-report’ 17:36:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:36:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:36:03 + ls -al . 17:36:03 total 160 17:36:03 drwxrwxr-x 7 jenkins jenkins 4096 May 10 17:35 . 17:36:03 drwxrwxr-x 4 jenkins jenkins 4096 May 10 17:32 .. 17:36:03 -rw-rw-r-- 1 jenkins jenkins 119 May 10 17:32 .dockerignore 17:36:03 drwxrwxr-x 8 jenkins jenkins 4096 May 10 17:32 .git 17:36:03 drwxrwxr-x 3 jenkins jenkins 4096 May 10 17:32 .github 17:36:03 -rw-rw-r-- 1 jenkins jenkins 104 May 10 17:32 .gitignore 17:36:03 -rw-rw-r-- 1 jenkins jenkins 8695 May 10 17:32 Attribution.txt 17:36:03 -rw-rw-r-- 1 jenkins jenkins 23791 May 10 17:32 CHANGELOG.md 17:36:03 -rw-rw-r-- 1 jenkins jenkins 2087 May 10 17:32 Dockerfile 17:36:03 -rw-rw-r-- 1 jenkins jenkins 677 May 10 17:32 GOVERNANCE.md 17:36:03 -rw-rw-r-- 1 jenkins jenkins 688 May 10 17:32 Jenkinsfile 17:36:03 -rw-rw-r-- 1 jenkins jenkins 10174 May 10 17:32 LICENSE 17:36:03 -rw-rw-r-- 1 jenkins jenkins 618 May 10 17:32 OWNERS.md 17:36:03 -rw-rw-r-- 1 jenkins jenkins 3718 May 10 17:32 README.md 17:36:03 -rw-rw-r-- 1 jenkins jenkins 5 May 10 17:28 VERSION 17:36:03 drwxrwxr-x 2 jenkins jenkins 4096 May 10 17:32 bin 17:36:03 -rw-r--r-- 1 jenkins jenkins 10 May 10 17:34 coverage.out 17:36:03 -rw-rw-r-- 1 jenkins jenkins 3222 May 10 17:32 go.mod 17:36:03 -rw-rw-r-- 1 jenkins jenkins 34558 May 10 17:32 go.sum 17:36:03 -rw-rw-r-- 1 jenkins jenkins 1949 May 10 17:32 main.go 17:36:03 -rw-rw-r-- 1 jenkins jenkins 2007 May 10 17:32 makefile 17:36:03 drwxrwxr-x 10 jenkins jenkins 4096 May 10 17:32 res 17:36:03 drwxrwxr-x 3 jenkins jenkins 4096 May 10 17:32 snap [Pipeline] isUnix [Pipeline] sh 17:36:04 + docker build -t app-service-configurable-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=001ca08ee2ceac7ca276134c2cb88381025d2d71 --label arch=arm64 --label version=0.0.0 . 17:36:04 Sending build context to Docker daemon 200.7kB 17:36:04 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 17:36:04 Step 2/27 : FROM ${BASE} AS builder 17:36:04 ---> 73039f80bd35 17:36:04 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:36:04 ---> Running in e75fb3cbc5af 17:36:04 Removing intermediate container e75fb3cbc5af 17:36:04 ---> 42643150b9ea 17:36:04 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 17:36:05 ---> Running in b10ef8d9511e 17:36:05 Removing intermediate container b10ef8d9511e 17:36:05 ---> f7f45726e0cc 17:36:05 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 17:36:05 ---> Running in bb36dbff19bb 17:36:05 Removing intermediate container bb36dbff19bb 17:36:05 ---> 5ad0c9c051f1 17:36:05 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:36:05 ---> Running in 73230f7cad20 17:36:08 Removing intermediate container 73230f7cad20 17:36:08 ---> 86664b5b8c0e 17:36:08 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:36:08 ---> Running in a187774696af 17:36:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:36:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:36:10 OK: 220 MiB in 52 packages 17:36:11 Removing intermediate container a187774696af 17:36:11 ---> fb1fef549d5d 17:36:11 Step 8/27 : WORKDIR /app 17:36:11 ---> Running in b6646e95a3fc 17:36:11 Removing intermediate container b6646e95a3fc 17:36:11 ---> 1c12dd187e77 17:36:11 Step 9/27 : COPY go.mod vendor* ./ 17:36:12 ---> 461e0537c1ad 17:36:12 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:36:12 ---> Running in 57850114b1af 17:36:14 Removing intermediate container 57850114b1af 17:36:14 ---> 5d529d31222e 17:36:14 Step 11/27 : COPY . . 17:36:15 ---> b5653512a352 17:36:15 Step 12/27 : ARG MAKE="make build" 17:36:15 ---> Running in d4ed365fbee5 17:36:15 Removing intermediate container d4ed365fbee5 17:36:15 ---> e451e832a852 17:36:15 Step 13/27 : RUN $MAKE 17:36:15 ---> Running in e88abbc59b1a 17:36:16 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 17:38:23 Removing intermediate container e88abbc59b1a 17:38:23 ---> 2290a3808cea 17:38:23 Step 14/27 : FROM alpine:3.14 17:38:23 3.14: Pulling from library/alpine 17:38:23 455c02918c45: Pulling fs layer 17:38:23 455c02918c45: Verifying Checksum 17:38:23 455c02918c45: Download complete 17:38:23 455c02918c45: Pull complete 17:38:23 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 17:38:23 Status: Downloaded newer image for alpine:3.14 17:38:23 ---> ac73e934f311 17:38:23 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 17:38:23 ---> Running in 90a094e39f08 17:38:23 Removing intermediate container 90a094e39f08 17:38:23 ---> a6b21fd40b98 17:38:23 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 17:38:23 ---> Running in b49a93cc7b91 17:38:23 Removing intermediate container b49a93cc7b91 17:38:23 ---> b9358866e7d2 17:38:23 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 17:38:23 ---> Running in 8304f8321900 17:38:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 17:38:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 17:38:25 (1/7) Installing ca-certificates (20211220-r0) 17:38:25 (2/7) Installing dumb-init (1.2.5-r1) 17:38:25 (3/7) Installing libgcc (10.3.1_git20210424-r2) 17:38:25 (4/7) Installing libsodium (1.0.18-r0) 17:38:25 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 17:38:25 (6/7) Installing libzmq (4.3.4-r0) 17:38:25 (7/7) Installing zeromq (4.3.4-r0) 17:38:25 Executing busybox-1.33.1-r7.trigger 17:38:25 Executing ca-certificates-20211220-r0.trigger 17:38:26 OK: 9 MiB in 21 packages 17:38:27 Removing intermediate container 8304f8321900 17:38:27 ---> 6d0ee4b31796 17:38:27 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:38:27 ---> 8b7eaf25e1b7 17:38:27 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 17:38:28 ---> fbf1d45b5c23 17:38:28 Step 20/27 : COPY --from=builder /app/res/ /res/ 17:38:29 ---> d323ee56d5c8 17:38:29 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 17:38:30 ---> 2861a3d3f1f9 17:38:30 Step 22/27 : EXPOSE 48095 17:38:30 ---> Running in 6823238232d8 17:38:31 Removing intermediate container 6823238232d8 17:38:31 ---> f86bc86bf43c 17:38:31 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 17:38:31 ---> Running in 717f8bda1b2f 17:38:31 Removing intermediate container 717f8bda1b2f 17:38:31 ---> 5b3c8a50be5b 17:38:31 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:38:31 ---> Running in d7b033a7f355 17:38:31 Removing intermediate container d7b033a7f355 17:38:31 ---> 7c8188934e49 17:38:31 Step 25/27 : LABEL arch=arm64 17:38:31 ---> Running in c96538a9e14a 17:38:32 Removing intermediate container c96538a9e14a 17:38:32 ---> c2d243a20027 17:38:32 Step 26/27 : LABEL git_sha=001ca08ee2ceac7ca276134c2cb88381025d2d71 17:38:32 ---> Running in d00227ed4d9b 17:38:32 Removing intermediate container d00227ed4d9b 17:38:32 ---> 32155087fb0c 17:38:32 Step 27/27 : LABEL version=0.0.0 17:38:32 ---> Running in 71c231892ceb 17:38:33 Removing intermediate container 71c231892ceb 17:38:33 ---> d3c7772e887d 17:38:33 [Warning] One or more build-args [ARCH] were not consumed 17:38:33 Successfully built d3c7772e887d 17:38:33 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 17:38:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:38:33 17:38:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 17:38:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:38:34 arm64: Pulling from edgex-lftools-log-publisher 17:38:34 8998bd30e6a1: Pulling fs layer 17:38:34 04944245beec: Pulling fs layer 17:38:34 699f458cf7ca: Pulling fs layer 17:38:34 765212b225bb: Pulling fs layer 17:38:34 f23df028b6ca: Pulling fs layer 17:38:34 d65c8cfc05b1: Pulling fs layer 17:38:34 2437ff75d9bd: Pulling fs layer 17:38:34 f23df028b6ca: Waiting 17:38:34 d65c8cfc05b1: Waiting 17:38:34 2437ff75d9bd: Waiting 17:38:34 765212b225bb: Waiting 17:38:34 04944245beec: Verifying Checksum 17:38:34 04944245beec: Download complete 17:38:34 765212b225bb: Download complete 17:38:34 f23df028b6ca: Verifying Checksum 17:38:34 f23df028b6ca: Download complete 17:38:34 d65c8cfc05b1: Verifying Checksum 17:38:34 d65c8cfc05b1: Download complete 17:38:34 699f458cf7ca: Verifying Checksum 17:38:34 699f458cf7ca: Download complete 17:38:34 8998bd30e6a1: Download complete 17:38:37 2437ff75d9bd: Verifying Checksum 17:38:37 2437ff75d9bd: Download complete 17:38:39 8998bd30e6a1: Pull complete 17:38:39 04944245beec: Pull complete 17:38:40 699f458cf7ca: Pull complete 17:38:41 765212b225bb: Pull complete 17:38:42 f23df028b6ca: Pull complete 17:38:42 d65c8cfc05b1: Pull complete 17:38:57 2437ff75d9bd: Pull complete 17:38:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:38:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:38:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 17:38:57 prd-ubuntu20.04-docker-arm64-4c-16g-47804 does not seem to be running inside a container 17:38:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:39:00 $ docker top 38c6877225917e1142e7551fdcb5d917757b51781b950db27dfd0dd1e84b6bd7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:39:01 ---> job-cost.sh 17:39:01 lf-activate-venv: SKIPPING 17:39:01 INFO: No Stack... 17:39:02 INFO: Retrieving Pricing Info for: v3-standard-4 17:39:02 INFO: Archiving Costs [Pipeline] sh 17:39:03 + cat /w/workspace/app-service-configurable/2/archives/cost.csv 17:39:03 + cut -d, -f6 [Pipeline] lock 17:39:03 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-419-2-stack-cost] 17:39:03 Resource [jenkins-edgexfoundry-app-service-configurable-PR-419-2-stack-cost] did not exist. Created. 17:39:03 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-419-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:39:04 /w/workspace/app-service-configurable/2@tmp/durable-8e383af5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:39:04 + echo total: 0.10999999940395355 [Pipeline] stash 17:39:04 Warning: overwriting stash ‘stack-cost’ 17:39:04 Stashed 1 file(s) [Pipeline] } 17:39:04 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-419-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:39:04 $ docker stop --time=1 38c6877225917e1142e7551fdcb5d917757b51781b950db27dfd0dd1e84b6bd7 17:39:06 $ docker rm -f 38c6877225917e1142e7551fdcb5d917757b51781b950db27dfd0dd1e84b6bd7 [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 17:39:07 provisioning config files... 17:39:07 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-419@tmp/config2157905942107571764tmp [Pipeline] { [Pipeline] sh 17:39:07 + set +x 17:39:07 + curl -s https://codecov.io/bash 17:39:07 + bash -s -- 17:39:07 17:39:07 _____ _ 17:39:07 / ____| | | 17:39:07 | | ___ __| | ___ ___ _____ __ 17:39:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:39:07 | |___| (_) | (_| | __/ (_| (_) \ V / 17:39:07 \_____\___/ \__,_|\___|\___\___/ \_/ 17:39:07 Bash-1.0.6 17:39:07 17:39:07 17:39:07 ==> git version 2.25.1 found 17:39:07 ==> 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 17:39:07 Release-Date: 2020-01-08 17:39:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:39:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:39:07 ==> Jenkins CI detected. 17:39:07 current dir:  /w/workspace/_app-service-configurable_PR-419 17:39:07 project root: . 17:39:07 --> token set from env 17:39:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:39:07 ==> Running gcov in . (disable via -X gcov) 17:39:07 ==> Python coveragepy not found 17:39:07 ==> Searching for coverage reports in: 17:39:07 + . 17:39:07 -> Found 1 reports 17:39:07 ==> Detecting git/mercurial file structure 17:39:07 ==> Reading reports 17:39:07 + ./coverage.out bytes=10 17:39:07 ==> Appending adjustments 17:39:07 https://docs.codecov.io/docs/fixing-reports 17:39:07 + Found adjustments 17:39:07 ==> Gzipping contents 17:39:07 4.0K /tmp/codecov.oKORN6.gz 17:39:07 ==> Uploading reports 17:39:07 url: https://codecov.io 17:39:07 query: branch=PR-419&commit=001ca08ee2ceac7ca276134c2cb88381025d2d71&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-419%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=419&job=&cmd_args= 17:39:07 -> Pinging Codecov 17:39:07 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-419&commit=001ca08ee2ceac7ca276134c2cb88381025d2d71&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-419%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=419&job=&cmd_args= 17:39:07 -> Uploading to 17:39:07 https://storage.googleapis.com/codecov/v4/raw/2022-05-10/A97CA9966030D2A3747ED39772930CCE/001ca08ee2ceac7ca276134c2cb88381025d2d71/46fc5538-8570-4369-b044-c630422b38ec.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T173907Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=66cc85044c3ed9e076393044dbb27042af107567b0320d6fa48c82f122f3ab5a 17:39:07 % Total % Received % Xferd Average Speed Time Time Time Current 17:39:07 Dload Upload Total Spent Left Speed 17:39:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 592 0 0 100 592 0 2916 --:--:-- --:--:-- --:--:-- 2916 100 592 0 0 100 592 0 2678 --:--:-- --:--:-- --:--:-- 2666 17:39:08 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/001ca08ee2ceac7ca276134c2cb88381025d2d71 [Pipeline] } 17:39:08 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 17:39:08 + [ -d /w/workspace/_app-service-configurable_PR-419/archives ] 17:39:08 + ls -al /w/workspace/_app-service-configurable_PR-419/archives 17:39:08 total 16 17:39:08 drwxr-xr-x 3 root root 4096 May 10 17:30 . 17:39:08 drwxrwxr-x 9 jenkins jenkins 4096 May 10 17:30 .. 17:39:08 drwxr-xr-x 2 root root 4096 May 10 17:30 cost 17:39:08 -rw-r--r-- 1 root root 95 May 10 17:30 cost.csv 17:39:08 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-419/archives 17:39:08 + ls -al /w/workspace/_app-service-configurable_PR-419/archives 17:39:08 total 16 17:39:08 drwxr-xr-x 3 jenkins jenkins 4096 May 10 17:30 . 17:39:08 drwxrwxr-x 9 jenkins jenkins 4096 May 10 17:30 .. 17:39:08 drwxr-xr-x 2 jenkins jenkins 4096 May 10 17:30 cost 17:39:08 -rw-r--r-- 1 jenkins jenkins 95 May 10 17:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:39:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:39:10 ---> package-listing.sh 17:39:10 ++ facter osfamily 17:39:10 ++ tr '[:upper:]' '[:lower:]' 17:39:10 + OS_FAMILY=debian 17:39:10 + workspace=/w/workspace/_app-service-configurable_PR-419 17:39:10 + START_PACKAGES=/tmp/packages_start.txt 17:39:10 + END_PACKAGES=/tmp/packages_end.txt 17:39:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:39:10 + PACKAGES=/tmp/packages_start.txt 17:39:10 + '[' /w/workspace/_app-service-configurable_PR-419 ']' 17:39:10 + PACKAGES=/tmp/packages_end.txt 17:39:10 + case "${OS_FAMILY}" in 17:39:10 + dpkg -l 17:39:10 + grep '^ii' 17:39:10 + '[' -f /tmp/packages_start.txt ']' 17:39:10 + '[' -f /tmp/packages_end.txt ']' 17:39:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:39:10 + '[' /w/workspace/_app-service-configurable_PR-419 ']' 17:39:10 + mkdir -p /w/workspace/_app-service-configurable_PR-419/archives/ 17:39:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-419/archives/ [Pipeline] echo 17:39:10 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-419/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:39:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:39:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:39:11 . [Pipeline] withDockerContainer 17:39:11 prd-ubuntu20.04-docker-8c-8g-47802 does not seem to be running inside a container 17:39:11 $ 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-419/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-419 -v /w/workspace/_app-service-configurable_PR-419:/w/workspace/_app-service-configurable_PR-419:rw,z -v /w/workspace/_app-service-configurable_PR-419@tmp:/w/workspace/_app-service-configurable_PR-419@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:39:11 $ docker top cb9f474eb9828fa3b8bd5e88358131a1bc0ffbfd1afe8877870f4735da5f86b9 -eo pid,comm [Pipeline] { [Pipeline] sh 17:39:11 + touch /tmp/pre-build-complete [Pipeline] sh 17:39:12 + mkdir -p /var/log/sysstat [Pipeline] sh 17:39:12 + ls /var/log/sa-host 17:39:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:39:12 provisioning config files... 17:39:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-419@tmp/config827924788075635765tmp [Pipeline] { [Pipeline] echo 17:39:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:39:12 ---> create-netrc.sh [Pipeline] } 17:39:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:39:13 ---> python-tools-install.sh [Pipeline] echo 17:39:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:39:13 ---> sudo-logs.sh 17:39:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:39:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:39:13 ---> job-cost.sh 17:39:13 lf-activate-venv: SKIPPING 17:39:13 DEBUG: total: 0.2199999988079071 17:39:13 INFO: Retrieving Stack Cost... 17:39:14 INFO: Retrieving Pricing Info for: v3-standard-8 17:39:14 INFO: Archiving Costs [Pipeline] echo 17:39:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:39:14 ---> logs-deploy.sh 17:39:14 lf-activate-venv: SKIPPING 17:39:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-419/2 17:39:14 INFO: archiving workspace using pattern(s): 17:39:15 Archives upload complete. 17:39:16 INFO: archiving logs to Nexus