Pull request #416 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/app-service-configurable Obtained Jenkinsfile from eef5a3bab777c045023aa8c5dcf9e9c16a413124+a669bdb4f1e2d7cd4e5cba464327739a597f1457 (35135440aab8a097602abc91abd9c61ee159a7fc) 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-ssh16408256344544238630.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-ssh7602410626634590392.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-416/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-416/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7669595385973229419.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-ssh10858944388630725737.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-416/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-416/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3546075635995542024.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-40370 in /w/workspace/_app-service-configurable_PR-416 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-service-configurable.git > git init /w/workspace/_app-service-configurable_PR-416 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit a669bdb4f1e2d7cd4e5cba464327739a597f1457 into PR head commit eef5a3bab777c045023aa8c5dcf9e9c16a413124 Merge succeeded, producing eef5a3bab777c045023aa8c5dcf9e9c16a413124 Checking out Revision eef5a3bab777c045023aa8c5dcf9e9c16a413124 (PR-416) > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/416/head:refs/remotes/origin/PR-416 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eef5a3bab777c045023aa8c5dcf9e9c16a413124 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a669bdb4f1e2d7cd4e5cba464327739a597f1457 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eef5a3bab777c045023aa8c5dcf9e9c16a413124 # timeout=10 Commit message: "docs(snap): Add local installation instructions and more refs" > git rev-list --no-walk e1307e7131d3cdea8ba6c2ae1f4ad07b0700aa88 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:12:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:12:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:12:22 ========================================================= 13:12:22 EdgeX Global Pipelines Version Info 13:12:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:12:23 ------------------- 13:12:23 stable info: 13:12:23 ------------------- 13:12:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:12:23 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 13:12:23 Message: update stable to v1.0.227 13:12:23 ------------------- 13:12:23 experimental info: 13:12:23 ------------------- 13:12:23 Commited By: **** collab-it+edgex@linuxfoundation.org 13:12:23 Commit SHA: 602d0728ebfd21a5b975e02ac0465e47e5fef8c7 13:12:23 Message: update experimental to v1.0.228 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:12:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 13:12:23 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 13:12:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:12:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:12:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:12:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 13:12:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:12:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:12:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:12:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:12:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:12:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 13:12:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:12:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:12:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:12:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:12:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:12:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:12:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:12:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:12:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:12:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:12:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:12:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:12:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:12:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:12:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-416 [Pipeline] echo 13:12:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-416 [Pipeline] echo 13:12:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-416 [Pipeline] echo 13:12:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eef5a3bab777c045023aa8c5dcf9e9c16a413124 [Pipeline] echo 13:12:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eef5a3b [Pipeline] echo 13:12:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:12:24 provisioning config files... 13:12:24 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-416@tmp/config8364284447106986929tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:12:24 ---> docker-login.sh 13:12:24 nexus3.edgexfoundry.org:10001 13:12:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:12:24 Configure a credential helper to remove this warning. See 13:12:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:12:24 13:12:24 Login Succeeded 13:12:24 nexus3.edgexfoundry.org:10002 13:12:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:12:25 Configure a credential helper to remove this warning. See 13:12:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:12:25 13:12:25 Login Succeeded 13:12:25 nexus3.edgexfoundry.org:10003 13:12:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:12:25 Configure a credential helper to remove this warning. See 13:12:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:12:25 13:12:25 Login Succeeded 13:12:25 nexus3.edgexfoundry.org:10004 13:12:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:12:25 Configure a credential helper to remove this warning. See 13:12:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:12:25 13:12:25 Login Succeeded 13:12:25 docker.io 13:12:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:12:26 Configure a credential helper to remove this warning. See 13:12:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:12:26 13:12:26 Login Succeeded 13:12:26 ---> docker-login.sh ends [Pipeline] } 13:12:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:12:26 + git rev-list -1 --merges eef5a3bab777c045023aa8c5dcf9e9c16a413124~1..eef5a3bab777c045023aa8c5dcf9e9c16a413124 [Pipeline] echo 13:12:26 -----------> git rev-list -1 --merges eef5a3bab777c045023aa8c5dcf9e9c16a413124~1..eef5a3bab777c045023aa8c5dcf9e9c16a413124 eef5a3bab777c045023aa8c5dcf9e9c16a413124 [false] [Pipeline] sh 13:12:26 + git log --format=format:%s -1 eef5a3bab777c045023aa8c5dcf9e9c16a413124 [Pipeline] echo 13:12:26 ========================================================= 13:12:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:12:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:12:27 + git log --format=format:%s -1 eef5a3bab777c045023aa8c5dcf9e9c16a413124 [Pipeline] echo 13:12:27 [semverPrep] GIT_COMMIT: eef5a3bab777c045023aa8c5dcf9e9c16a413124, Commit Message: docs(snap): Add local installation instructions and more refs [Pipeline] echo 13:12:27 [semverPrep] This is not a build commit. [Pipeline] sh 13:12:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:12:27 + grep -v github /etc/ssh/ssh_known_hosts 13:12:27 + [ -e /tmp/ssh_known_hosts ] 13:12:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:12:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:12:27 + sudo tee -a /etc/ssh/ssh_known_hosts 13:12:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:12:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:12:28 13:12:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:12:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:12:28 latest: Pulling from edgex-devops/py-git-semver 13:12:28 1fe172e4850f: Pulling fs layer 13:12:28 caf521ccaac6: Pulling fs layer 13:12:28 3ead6fa29328: Pulling fs layer 13:12:28 5c2a1cbceb83: Pulling fs layer 13:12:28 a8d5f1318db7: Pulling fs layer 13:12:28 c427282e49a2: Pulling fs layer 13:12:28 1827001aaf11: Pulling fs layer 13:12:28 0714d37db230: Pulling fs layer 13:12:28 ac28cf19c067: Pulling fs layer 13:12:28 ca983d60f3e2: Pulling fs layer 13:12:28 9f894cec8388: Pulling fs layer 13:12:28 1827001aaf11: Waiting 13:12:28 0714d37db230: Waiting 13:12:28 ac28cf19c067: Waiting 13:12:28 ca983d60f3e2: Waiting 13:12:28 9f894cec8388: Waiting 13:12:28 5c2a1cbceb83: Waiting 13:12:28 a8d5f1318db7: Waiting 13:12:28 c427282e49a2: Waiting 13:12:28 caf521ccaac6: Verifying Checksum 13:12:28 5c2a1cbceb83: Verifying Checksum 13:12:28 5c2a1cbceb83: Download complete 13:12:28 a8d5f1318db7: Verifying Checksum 13:12:28 a8d5f1318db7: Download complete 13:12:28 c427282e49a2: Download complete 13:12:28 3ead6fa29328: Verifying Checksum 13:12:28 3ead6fa29328: Download complete 13:12:28 0714d37db230: Verifying Checksum 13:12:28 0714d37db230: Download complete 13:12:28 ac28cf19c067: Download complete 13:12:28 ca983d60f3e2: Verifying Checksum 13:12:28 ca983d60f3e2: Download complete 13:12:28 9f894cec8388: Verifying Checksum 13:12:28 9f894cec8388: Download complete 13:12:28 1fe172e4850f: Verifying Checksum 13:12:28 1fe172e4850f: Download complete 13:12:29 1827001aaf11: Verifying Checksum 13:12:29 1827001aaf11: Download complete 13:12:30 1fe172e4850f: Pull complete 13:12:30 caf521ccaac6: Pull complete 13:12:30 3ead6fa29328: Pull complete 13:12:30 5c2a1cbceb83: Pull complete 13:12:31 a8d5f1318db7: Pull complete 13:12:31 c427282e49a2: Pull complete 13:12:32 1827001aaf11: Pull complete 13:12:32 0714d37db230: Pull complete 13:12:32 ac28cf19c067: Pull complete 13:12:33 ca983d60f3e2: Pull complete 13:12:33 9f894cec8388: Pull complete 13:12:33 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 13:12:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:12:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 13:12:33 prd-ubuntu20.04-docker-8c-8g-40370 does not seem to be running inside a container 13:12:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-416 -v /w/workspace/_app-service-configurable_PR-416:/w/workspace/_app-service-configurable_PR-416:rw,z -v /w/workspace/_app-service-configurable_PR-416@tmp:/w/workspace/_app-service-configurable_PR-416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 13:12:35 $ docker top af6065686a40dba15793d0570d82c48aa55201b7615796d0dc72f129280068fc -eo pid,comm 13:12:35 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 13:12:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:12:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:12:35 [ssh-agent] Looking for ssh-agent implementation... 13:12:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:12:35 $ docker exec af6065686a40dba15793d0570d82c48aa55201b7615796d0dc72f129280068fc ssh-agent 13:12:35 SSH_AUTH_SOCK=/tmp/ssh-ieDJSAXhqMez/agent.32 13:12:35 SSH_AGENT_PID=38 13:12:35 Running ssh-add (command line suppressed) 13:12:35 Identity added: /w/workspace/_app-service-configurable_PR-416@tmp/private_key_5412600503454602080.key (/w/workspace/_app-service-configurable_PR-416@tmp/private_key_5412600503454602080.key) 13:12:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:12:36 + git tag --points-at HEAD [Pipeline] } 13:12:36 $ docker exec --env ******** --env ******** af6065686a40dba15793d0570d82c48aa55201b7615796d0dc72f129280068fc ssh-agent -k 13:12:36 unset SSH_AUTH_SOCK; 13:12:36 unset SSH_AGENT_PID; 13:12:36 echo Agent pid 38 killed; 13:12:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:12:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:12:36 [ssh-agent] Looking for ssh-agent implementation... 13:12:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:12:36 $ docker exec af6065686a40dba15793d0570d82c48aa55201b7615796d0dc72f129280068fc ssh-agent 13:12:36 SSH_AUTH_SOCK=/tmp/ssh-Ge4a7ksbqdrU/agent.72 13:12:36 SSH_AGENT_PID=78 13:12:36 Running ssh-add (command line suppressed) 13:12:36 Identity added: /w/workspace/_app-service-configurable_PR-416@tmp/private_key_7827942913407384377.key (/w/workspace/_app-service-configurable_PR-416@tmp/private_key_7827942913407384377.key) 13:12:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:12:36 + git semver init 13:12:37 2022-05-03 13:12:37,188 [run_init] DEBUG init version:0.0.0 force:False 13:12:37 2022-05-03 13:12:37,188 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-416/.semver 13:12:37 2022-05-03 13:12:37,189 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-416/.semver 13:12:37 2022-05-03 13:12:37,189 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-416/.semver'], cwd=/w/workspace/_app-service-configurable_PR-416, universal_newlines=False, shell=None, istream=None) 13:12:38 2022-05-03 13:12:37,977 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-416/.git/info/exclude 13:12:38 2022-05-03 13:12:37,978 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-416/.semver/PR-416 with force:False 13:12:38 2022-05-03 13:12:37,978 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-416/.semver/PR-416 13:12:38 2022-05-03 13:12:37,982 [execute] INFO git cat-file --batch-check 13:12:38 2022-05-03 13:12:37,982 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-416/.semver, universal_newlines=False, shell=None, istream=) 13:12:38 2022-05-03 13:12:37,988 [execute] INFO git cat-file --batch 13:12:38 2022-05-03 13:12:37,988 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-416/.semver, universal_newlines=False, shell=None, istream=) 13:12:38 2022-05-03 13:12:37,995 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-416/.semver/PR-416 13:12:38 0.0.0 [Pipeline] } 13:12:38 $ docker exec --env ******** --env ******** af6065686a40dba15793d0570d82c48aa55201b7615796d0dc72f129280068fc ssh-agent -k 13:12:38 unset SSH_AUTH_SOCK; 13:12:38 unset SSH_AGENT_PID; 13:12:38 echo Agent pid 78 killed; 13:12:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:12:38 + git semver [Pipeline] } 13:12:38 $ docker stop --time=1 af6065686a40dba15793d0570d82c48aa55201b7615796d0dc72f129280068fc 13:12:40 $ docker rm -f af6065686a40dba15793d0570d82c48aa55201b7615796d0dc72f129280068fc [Pipeline] // withDockerContainer [Pipeline] sh 13:12:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:12:40 Stashed 1 file(s) [Pipeline] echo 13:12:40 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:12:41 provisioning config files... 13:12:41 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-416@tmp/config8996774525964350976tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:12:41 ---> docker-login.sh 13:12:41 nexus3.edgexfoundry.org:10001 13:12:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:12:41 Configure a credential helper to remove this warning. See 13:12:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:12:41 13:12:41 Login Succeeded 13:12:41 nexus3.edgexfoundry.org:10002 13:12:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:12:41 Configure a credential helper to remove this warning. See 13:12:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:12:41 13:12:41 Login Succeeded 13:12:41 nexus3.edgexfoundry.org:10003 13:12:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:12:41 Configure a credential helper to remove this warning. See 13:12:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:12:41 13:12:41 Login Succeeded 13:12:41 nexus3.edgexfoundry.org:10004 13:12:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:12:41 Configure a credential helper to remove this warning. See 13:12:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:12:41 13:12:41 Login Succeeded 13:12:41 docker.io 13:12:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:12:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:12:42 Configure a credential helper to remove this warning. See 13:12:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:12:42 13:12:42 Login Succeeded 13:12:42 ---> docker-login.sh ends [Pipeline] } 13:12:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:12:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:12:42 ========================================================= 13:12:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 13:12:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:12:42 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 13:12:42 Sending build context to Docker daemon 3.048MB 13:12:42 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 13:12:42 Step 2/13 : FROM ${BASE} AS builder 13:12:42 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 13:12:42 59bf1c3509f3: Pulling fs layer 13:12:42 666ba61612fd: Pulling fs layer 13:12:42 8ed8ca486205: Pulling fs layer 13:12:42 4fe6c5a15a65: Pulling fs layer 13:12:42 22a0e8bec74d: Pulling fs layer 13:12:42 ca2b28591e48: Pulling fs layer 13:12:42 a51346096db8: Pulling fs layer 13:12:42 daebc70d1ce1: Pulling fs layer 13:12:42 0e18a0eac166: Pulling fs layer 13:12:42 ca2b28591e48: Waiting 13:12:42 a51346096db8: Waiting 13:12:42 daebc70d1ce1: Waiting 13:12:42 0e18a0eac166: Waiting 13:12:42 4fe6c5a15a65: Waiting 13:12:42 22a0e8bec74d: Waiting 13:12:42 8ed8ca486205: Verifying Checksum 13:12:42 8ed8ca486205: Download complete 13:12:42 666ba61612fd: Verifying Checksum 13:12:42 666ba61612fd: Download complete 13:12:42 22a0e8bec74d: Verifying Checksum 13:12:42 22a0e8bec74d: Download complete 13:12:42 ca2b28591e48: Download complete 13:12:42 a51346096db8: Verifying Checksum 13:12:42 a51346096db8: Download complete 13:12:42 59bf1c3509f3: Verifying Checksum 13:12:42 59bf1c3509f3: Download complete 13:12:43 daebc70d1ce1: Verifying Checksum 13:12:43 daebc70d1ce1: Download complete 13:12:43 59bf1c3509f3: Pull complete 13:12:43 666ba61612fd: Pull complete 13:12:43 8ed8ca486205: Pull complete 13:12:43 0e18a0eac166: Verifying Checksum 13:12:43 0e18a0eac166: Download complete 13:12:43 4fe6c5a15a65: Verifying Checksum 13:12:43 4fe6c5a15a65: Download complete 13:12:47 4fe6c5a15a65: Pull complete 13:12:47 22a0e8bec74d: Pull complete 13:12:47 ca2b28591e48: Pull complete 13:12:47 a51346096db8: Pull complete 13:12:47 daebc70d1ce1: Pull complete 13:12:49 0e18a0eac166: Pull complete 13:12:49 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 13:12:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 13:12:49 ---> f018257e8ee9 13:12:49 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 13:12:51 ---> Running in e1e9949cec4f 13:12:51 Removing intermediate container e1e9949cec4f 13:12:51 ---> 224627182aeb 13:12:51 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 13:12:51 ---> Running in 0b396a45c9e2 13:12:51 Removing intermediate container 0b396a45c9e2 13:12:51 ---> a5be8c025e67 13:12:51 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 13:12:51 ---> Running in 2fbabd8bade8 13:12:51 Removing intermediate container 2fbabd8bade8 13:12:51 ---> 1c63eee620ea 13:12:51 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:12:51 ---> Running in 0e4b22bfc0f8 13:12:52 Removing intermediate container 0e4b22bfc0f8 13:12:52 ---> 1ffc9935c3cb 13:12:52 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:12:52 ---> Running in 4d0ee34d029e 13:12:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:12:53 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:12:53 OK: 221 MiB in 52 packages 13:12:53 Removing intermediate container 4d0ee34d029e 13:12:53 ---> ae9af865bb47 13:12:53 Step 8/13 : WORKDIR /app 13:12:53 ---> Running in c501dfe56e40 13:12:54 Removing intermediate container c501dfe56e40 13:12:54 ---> 95e7fe102e9f 13:12:54 Step 9/13 : COPY go.mod vendor* ./ 13:12:54 ---> 32359734c619 13:12:54 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:12:54 ---> Running in 9affc5c1069c 13:12:56 Still waiting to schedule task 13:12:56 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:13:12 Removing intermediate container 9affc5c1069c 13:13:12 ---> 7ec8a156005d 13:13:12 Step 11/13 : COPY . . 13:13:12 ---> dd132f0490a4 13:13:12 Step 12/13 : ARG MAKE="make build" 13:13:12 ---> Running in 6a7a74f02954 13:13:12 Removing intermediate container 6a7a74f02954 13:13:12 ---> 2a56c3f7ab5e 13:13:12 Step 13/13 : RUN $MAKE 13:13:12 ---> Running in 4e9220dbbba4 13:13:12 noop 13:13:12 Removing intermediate container 4e9220dbbba4 13:13:12 ---> 564e76d51478 13:13:12 Successfully built 564e76d51478 13:13:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 13:13:13 + docker inspect -f . ci-base-image-x86_64 13:13:13 . [Pipeline] withDockerContainer 13:13:13 prd-ubuntu20.04-docker-8c-8g-40370 does not seem to be running inside a container 13:13:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-416 -v /w/workspace/_app-service-configurable_PR-416:/w/workspace/_app-service-configurable_PR-416:rw,z -v /w/workspace/_app-service-configurable_PR-416@tmp:/w/workspace/_app-service-configurable_PR-416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:13:13 $ docker top 280a4ea90062cf9e49ebabae11a8edb41612eec14a04baa774d531a043a66fea -eo pid,comm [Pipeline] { [Pipeline] sh 13:13:14 + go version 13:13:14 go version go1.17.6 linux/amd64 [Pipeline] } 13:13:14 $ docker stop --time=1 280a4ea90062cf9e49ebabae11a8edb41612eec14a04baa774d531a043a66fea 13:13:15 $ docker rm -f 280a4ea90062cf9e49ebabae11a8edb41612eec14a04baa774d531a043a66fea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:13:15 + docker inspect -f . ci-base-image-x86_64 13:13:15 . [Pipeline] withDockerContainer 13:13:15 prd-ubuntu20.04-docker-8c-8g-40370 does not seem to be running inside a container 13:13:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-416 -v /w/workspace/_app-service-configurable_PR-416:/w/workspace/_app-service-configurable_PR-416:rw,z -v /w/workspace/_app-service-configurable_PR-416@tmp:/w/workspace/_app-service-configurable_PR-416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:13:16 $ docker top 0b4d22ba8148126fa89bdcadd6ff18a4e3fbb864a9603b4733976ed839e188cf -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:13:16 + make test 13:13:16 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 13:13:26 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:13:26 CGO_ENABLED=1 go vet ./... 13:13:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:13:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:13:29 ./bin/test-attribution-txt.sh [Pipeline] echo 13:13:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:13:30 $ docker stop --time=1 0b4d22ba8148126fa89bdcadd6ff18a4e3fbb864a9603b4733976ed839e188cf 13:13:32 $ docker rm -f 0b4d22ba8148126fa89bdcadd6ff18a4e3fbb864a9603b4733976ed839e188cf [Pipeline] // withDockerContainer [Pipeline] sh 13:13:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:13:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:13:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:13:33 + ls -al . 13:13:33 total 164 13:13:33 drwxrwxr-x 8 jenkins jenkins 4096 May 3 13:13 . 13:13:33 drwxrwxr-x 4 jenkins jenkins 4096 May 3 13:12 .. 13:13:33 -rw-rw-r-- 1 jenkins jenkins 119 May 3 13:12 .dockerignore 13:13:33 drwxrwxr-x 8 jenkins jenkins 4096 May 3 13:12 .git 13:13:33 drwxrwxr-x 3 jenkins jenkins 4096 May 3 13:12 .github 13:13:33 -rw-rw-r-- 1 jenkins jenkins 104 May 3 13:12 .gitignore 13:13:33 drwxr-xr-x 3 jenkins jenkins 4096 May 3 13:12 .semver 13:13:33 -rw-rw-r-- 1 jenkins jenkins 8695 May 3 13:12 Attribution.txt 13:13:33 -rw-rw-r-- 1 jenkins jenkins 23791 May 3 13:12 CHANGELOG.md 13:13:33 -rw-rw-r-- 1 jenkins jenkins 2087 May 3 13:12 Dockerfile 13:13:33 -rw-rw-r-- 1 jenkins jenkins 677 May 3 13:12 GOVERNANCE.md 13:13:33 -rw-rw-r-- 1 jenkins jenkins 688 May 3 13:12 Jenkinsfile 13:13:33 -rw-rw-r-- 1 jenkins jenkins 10174 May 3 13:12 LICENSE 13:13:33 -rw-rw-r-- 1 jenkins jenkins 618 May 3 13:12 OWNERS.md 13:13:33 -rw-rw-r-- 1 jenkins jenkins 3718 May 3 13:12 README.md 13:13:33 -rw-rw-r-- 1 jenkins jenkins 5 May 3 13:12 VERSION 13:13:33 drwxrwxr-x 2 jenkins jenkins 4096 May 3 13:12 bin 13:13:33 -rw-r--r-- 1 jenkins jenkins 10 May 3 13:13 coverage.out 13:13:33 -rw-rw-r-- 1 jenkins jenkins 3268 May 3 13:12 go.mod 13:13:33 -rw-rw-r-- 1 jenkins jenkins 34650 May 3 13:12 go.sum 13:13:33 -rw-rw-r-- 1 jenkins jenkins 1949 May 3 13:12 main.go 13:13:33 -rw-rw-r-- 1 jenkins jenkins 2007 May 3 13:12 makefile 13:13:33 drwxrwxr-x 10 jenkins jenkins 4096 May 3 13:12 res 13:13:33 drwxrwxr-x 3 jenkins jenkins 4096 May 3 13:12 snap [Pipeline] isUnix [Pipeline] sh 13:13:33 + 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=eef5a3bab777c045023aa8c5dcf9e9c16a413124 --label arch=amd64 --label version=0.0.0 . 13:13:33 Sending build context to Docker daemon 3.049MB 13:13:33 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 13:13:33 Step 2/27 : FROM ${BASE} AS builder 13:13:33 ---> 564e76d51478 13:13:33 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 13:13:33 ---> Running in 7e424d8a310c 13:13:34 Removing intermediate container 7e424d8a310c 13:13:34 ---> 3fab90c471a0 13:13:34 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 13:13:34 ---> Running in 73538cd2393a 13:13:34 Removing intermediate container 73538cd2393a 13:13:34 ---> 4d35ac4744e4 13:13:34 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 13:13:34 ---> Running in c0c9311ad044 13:13:34 Removing intermediate container c0c9311ad044 13:13:34 ---> 81cc24dc5fa4 13:13:34 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:13:34 ---> Running in f26c2ca5429d 13:13:34 Removing intermediate container f26c2ca5429d 13:13:34 ---> eeee6144a81d 13:13:34 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:13:35 ---> Running in de72b22c6a95 13:13:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:13:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:13:36 OK: 221 MiB in 52 packages 13:13:36 Removing intermediate container de72b22c6a95 13:13:36 ---> 10b5ac563640 13:13:36 Step 8/27 : WORKDIR /app 13:13:36 ---> Running in 4df015c45723 13:13:36 Removing intermediate container 4df015c45723 13:13:36 ---> 3c585fffce83 13:13:36 Step 9/27 : COPY go.mod vendor* ./ 13:13:37 ---> d92ede005f4a 13:13:37 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:13:37 ---> Running in 4695b31c8fa8 13:13:37 Removing intermediate container 4695b31c8fa8 13:13:37 ---> 2da68d1989d7 13:13:37 Step 11/27 : COPY . . 13:13:37 ---> 9e4a8a7c05e3 13:13:37 Step 12/27 : ARG MAKE="make build" 13:13:38 ---> Running in b115d3254b8d 13:13:38 Removing intermediate container b115d3254b8d 13:13:38 ---> e8d0694e3fa4 13:13:38 Step 13/27 : RUN $MAKE 13:13:38 ---> Running in 4f9217ce37a6 13:13:38 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 13:14:00 Removing intermediate container 4f9217ce37a6 13:14:00 ---> 684c7ea713aa 13:14:00 Step 14/27 : FROM alpine:3.14 13:14:00 3.14: Pulling from library/alpine 13:14:00 8663204ce13b: Pulling fs layer 13:14:00 8663204ce13b: Verifying Checksum 13:14:00 8663204ce13b: Download complete 13:14:00 8663204ce13b: Pull complete 13:14:00 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 13:14:00 Status: Downloaded newer image for alpine:3.14 13:14:00 ---> e04c818066af 13:14:00 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 13:14:00 ---> Running in 163479bd05f6 13:14:00 Removing intermediate container 163479bd05f6 13:14:00 ---> 05c1db71d7fb 13:14:00 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 13:14:00 ---> Running in 3321ef7578a0 13:14:00 Removing intermediate container 3321ef7578a0 13:14:00 ---> e54b8ecb4937 13:14:00 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 13:14:00 ---> Running in cc851ed9264e 13:14:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 13:14:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 13:14:00 (1/7) Installing ca-certificates (20211220-r0) 13:14:00 (2/7) Installing dumb-init (1.2.5-r1) 13:14:00 (3/7) Installing libgcc (10.3.1_git20210424-r2) 13:14:00 (4/7) Installing libsodium (1.0.18-r0) 13:14:00 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 13:14:00 (6/7) Installing libzmq (4.3.4-r0) 13:14:00 (7/7) Installing zeromq (4.3.4-r0) 13:14:00 Executing busybox-1.33.1-r7.trigger 13:14:00 Executing ca-certificates-20211220-r0.trigger 13:14:00 OK: 9 MiB in 21 packages 13:14:00 Removing intermediate container cc851ed9264e 13:14:00 ---> 70c0b3cb678e 13:14:00 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:14:00 ---> d645c8a63a60 13:14:00 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 13:14:00 ---> 873e3e189e2e 13:14:00 Step 20/27 : COPY --from=builder /app/res/ /res/ 13:14:00 ---> 55775f340f3d 13:14:00 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:14:01 ---> 846ff97483ee 13:14:01 Step 22/27 : EXPOSE 48095 13:14:01 ---> Running in 3e931e3f4f82 13:14:01 Removing intermediate container 3e931e3f4f82 13:14:01 ---> 26aed696ce51 13:14:01 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 13:14:01 ---> Running in 1364fbc310af 13:14:01 Removing intermediate container 1364fbc310af 13:14:01 ---> de895827ef90 13:14:01 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:14:01 ---> Running in 73d9ad08d535 13:14:01 Removing intermediate container 73d9ad08d535 13:14:01 ---> 1ac5c88b6766 13:14:01 Step 25/27 : LABEL arch=amd64 13:14:01 ---> Running in d88999567bdb 13:14:01 Removing intermediate container d88999567bdb 13:14:01 ---> fdd6677485f7 13:14:01 Step 26/27 : LABEL git_sha=eef5a3bab777c045023aa8c5dcf9e9c16a413124 13:14:01 ---> Running in c7802af44720 13:14:01 Removing intermediate container c7802af44720 13:14:01 ---> f3c179cdd5a5 13:14:01 Step 27/27 : LABEL version=0.0.0 13:14:01 ---> Running in 3c7318c63c55 13:14:02 Removing intermediate container 3c7318c63c55 13:14:02 ---> f35044d9a770 13:14:02 [Warning] One or more build-args [ARCH] were not consumed 13:14:02 Successfully built f35044d9a770 13:14:02 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:14:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:14:02 13:14:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 13:14:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:14:02 latest: Pulling from edgex-lftools-log-publisher 13:14:02 5eb5b503b376: Pulling fs layer 13:14:02 5c69ac0246d0: Pulling fs layer 13:14:02 ec43610c2a17: Pulling fs layer 13:14:02 3a2ae6a8a46f: Pulling fs layer 13:14:02 33b1e0a273af: Pulling fs layer 13:14:02 5d3b04190fa2: Pulling fs layer 13:14:02 2f39f015ded8: Pulling fs layer 13:14:02 3a2ae6a8a46f: Waiting 13:14:02 33b1e0a273af: Waiting 13:14:02 5d3b04190fa2: Waiting 13:14:02 2f39f015ded8: Waiting 13:14:02 5c69ac0246d0: Verifying Checksum 13:14:02 5c69ac0246d0: Download complete 13:14:02 3a2ae6a8a46f: Download complete 13:14:02 ec43610c2a17: Verifying Checksum 13:14:02 ec43610c2a17: Download complete 13:14:02 33b1e0a273af: Verifying Checksum 13:14:02 33b1e0a273af: Download complete 13:14:02 5d3b04190fa2: Verifying Checksum 13:14:02 5d3b04190fa2: Download complete 13:14:03 5eb5b503b376: Verifying Checksum 13:14:03 5eb5b503b376: Download complete 13:14:03 2f39f015ded8: Download complete 13:14:04 5eb5b503b376: Pull complete 13:14:04 5c69ac0246d0: Pull complete 13:14:04 ec43610c2a17: Pull complete 13:14:04 3a2ae6a8a46f: Pull complete 13:14:04 33b1e0a273af: Pull complete 13:14:05 5d3b04190fa2: Pull complete 13:14:09 2f39f015ded8: Pull complete 13:14:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:14:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:14:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 13:14:09 prd-ubuntu20.04-docker-8c-8g-40370 does not seem to be running inside a container 13:14:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-416 -v /w/workspace/_app-service-configurable_PR-416:/w/workspace/_app-service-configurable_PR-416:rw,z -v /w/workspace/_app-service-configurable_PR-416@tmp:/w/workspace/_app-service-configurable_PR-416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:14:11 $ docker top d6ed80c0065c117a60b963e6b827fe5241589ca560058b3f6eafc3aa5a8eb2dc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:14:11 ---> job-cost.sh 13:14:11 lf-activate-venv: SKIPPING 13:14:11 INFO: No Stack... 13:14:12 INFO: Retrieving Pricing Info for: v3-standard-8 13:14:12 INFO: Archiving Costs [Pipeline] sh 13:14:12 + cat /w/workspace/_app-service-configurable_PR-416/archives/cost.csv 13:14:12 + cut -d, -f6 [Pipeline] lock 13:14:12 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-416-2-stack-cost] 13:14:12 Resource [jenkins-edgexfoundry-app-service-configurable-PR-416-2-stack-cost] did not exist. Created. 13:14:12 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-416-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:14:13 + echo total: 0.2199999988079071 [Pipeline] stash 13:14:13 Stashed 1 file(s) [Pipeline] } 13:14:13 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-416-2-stack-cost] [Pipeline] // lock [Pipeline] } 13:14:13 $ docker stop --time=1 d6ed80c0065c117a60b963e6b827fe5241589ca560058b3f6eafc3aa5a8eb2dc 13:14:14 $ docker rm -f d6ed80c0065c117a60b963e6b827fe5241589ca560058b3f6eafc3aa5a8eb2dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:14:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-40371 in /w/workspace/_app-service-configurable_PR-416 [Pipeline] { [Pipeline] ws 13:14:30 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 13:14:30 Selected Git installation does not exist. Using Default 13:14:30 The recommended git tool is: NONE 13:14:36 using credential edgex-jenkins-ssh 13:14:36 Cloning the remote Git repository 13:14:36 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 13:14:36 > git init /w/workspace/app-service-configurable/2 # timeout=10 13:14:37 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:14:37 > git --version # timeout=10 13:14:37 > git --version # 'git version 2.25.1' 13:14:37 using GIT_SSH to set credentials SSH Credentials for GitHub 13:14:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:14:39 Merging remotes/origin/main commit a669bdb4f1e2d7cd4e5cba464327739a597f1457 into PR head commit eef5a3bab777c045023aa8c5dcf9e9c16a413124 13:14:38 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:14:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:14:38 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:14:38 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:14:38 using GIT_SSH to set credentials SSH Credentials for GitHub 13:14:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/416/head:refs/remotes/origin/PR-416 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:14:39 > git config core.sparsecheckout # timeout=10 13:14:39 > git checkout -f eef5a3bab777c045023aa8c5dcf9e9c16a413124 # timeout=10 13:14:39 Merge succeeded, producing eef5a3bab777c045023aa8c5dcf9e9c16a413124 13:14:39 Checking out Revision eef5a3bab777c045023aa8c5dcf9e9c16a413124 (PR-416) 13:14:39 > git remote # timeout=10 13:14:39 > git config --get remote.origin.url # timeout=10 13:14:39 using GIT_SSH to set credentials SSH Credentials for GitHub 13:14:39 > git merge a669bdb4f1e2d7cd4e5cba464327739a597f1457 # timeout=10 13:14:39 > git rev-parse HEAD^{commit} # timeout=10 13:14:39 > git config core.sparsecheckout # timeout=10 13:14:39 > git checkout -f eef5a3bab777c045023aa8c5dcf9e9c16a413124 # timeout=10 13:14:43 Commit message: "docs(snap): Add local installation instructions and more refs" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:14:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:14:44 % Total % Received % Xferd Average Speed Time Time Time Current 13:14:44 Dload Upload Total Spent Left Speed 13:14:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 165k 0 --:--:-- --:--:-- --:--:-- 162k [Pipeline] sh 13:14:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:14:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:14:45 + sudo tee /etc/docker/daemon.new 13:14:45 { 13:14:45 "registry-mirrors": [ 13:14:45 "https://nexus3.edgexfoundry.org:10001" 13:14:45 ], 13:14:45 "bip": "10.250.0.254/24", 13:14:45 "hosts": [ 13:14:45 "tcp://0.0.0.0:5555", 13:14:45 "unix:///var/run/docker.sock" 13:14:45 ], 13:14:45 "mtu": 1458, 13:14:45 "selinux-enabled": true, 13:14:45 "seccomp-profile": "/etc/docker/seccomp.json" 13:14:45 } [Pipeline] sh 13:14:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:14:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:15:04 provisioning config files... 13:15:04 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config4243098269370171463tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:15:04 ---> docker-login.sh 13:15:04 nexus3.edgexfoundry.org:10001 13:15:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:05 Configure a credential helper to remove this warning. See 13:15:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:05 13:15:05 Login Succeeded 13:15:05 nexus3.edgexfoundry.org:10002 13:15:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:06 Configure a credential helper to remove this warning. See 13:15:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:06 13:15:06 Login Succeeded 13:15:06 nexus3.edgexfoundry.org:10003 13:15:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:06 Configure a credential helper to remove this warning. See 13:15:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:06 13:15:06 Login Succeeded 13:15:06 nexus3.edgexfoundry.org:10004 13:15:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:07 Configure a credential helper to remove this warning. See 13:15:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:07 13:15:07 Login Succeeded 13:15:07 docker.io 13:15:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:15:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:15:08 Configure a credential helper to remove this warning. See 13:15:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:15:08 13:15:08 Login Succeeded 13:15:08 ---> docker-login.sh ends [Pipeline] } 13:15:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:15:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:15:08 ========================================================= 13:15:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 13:15:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:15:08 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 13:15:08 Sending build context to Docker daemon 199.7kB 13:15:09 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 13:15:09 Step 2/13 : FROM ${BASE} AS builder 13:15:09 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:15:09 9b3977197b4f: Pulling fs layer 13:15:09 1a89e8eeedd5: Pulling fs layer 13:15:09 94645a83ff95: Pulling fs layer 13:15:09 3f3a8bcf1eab: Pulling fs layer 13:15:09 0c92f367c5e7: Pulling fs layer 13:15:09 3096ccb668a1: Pulling fs layer 13:15:09 e8cf19c19ddd: Pulling fs layer 13:15:09 a4caa8a26152: Pulling fs layer 13:15:09 3f3a8bcf1eab: Waiting 13:15:09 0c92f367c5e7: Waiting 13:15:09 3096ccb668a1: Waiting 13:15:09 a4caa8a26152: Waiting 13:15:09 e8cf19c19ddd: Waiting 13:15:09 94645a83ff95: Verifying Checksum 13:15:09 1a89e8eeedd5: Verifying Checksum 13:15:09 94645a83ff95: Download complete 13:15:09 1a89e8eeedd5: Download complete 13:15:09 0c92f367c5e7: Verifying Checksum 13:15:09 0c92f367c5e7: Download complete 13:15:09 3096ccb668a1: Download complete 13:15:09 9b3977197b4f: Verifying Checksum 13:15:09 9b3977197b4f: Download complete 13:15:09 e8cf19c19ddd: Verifying Checksum 13:15:09 e8cf19c19ddd: Download complete 13:15:10 9b3977197b4f: Pull complete 13:15:10 1a89e8eeedd5: Pull complete 13:15:11 94645a83ff95: Pull complete 13:15:11 a4caa8a26152: Verifying Checksum 13:15:11 a4caa8a26152: Download complete 13:15:12 3f3a8bcf1eab: Verifying Checksum 13:15:12 3f3a8bcf1eab: Download complete 13:15:24 3f3a8bcf1eab: Pull complete 13:15:24 0c92f367c5e7: Pull complete 13:15:25 3096ccb668a1: Pull complete 13:15:25 e8cf19c19ddd: Pull complete 13:15:32 a4caa8a26152: Pull complete 13:15:32 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 13:15:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 13:15:32 ---> 725f1c02e7f9 13:15:32 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 13:15:33 ---> Running in 69104aa24b7f 13:15:33 Removing intermediate container 69104aa24b7f 13:15:33 ---> c3fd1871fd6a 13:15:33 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 13:15:33 ---> Running in a2d34f05f1c7 13:15:33 Removing intermediate container a2d34f05f1c7 13:15:33 ---> e77a1dfeb3cc 13:15:33 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 13:15:33 ---> Running in d506ea22f454 13:15:34 Removing intermediate container d506ea22f454 13:15:34 ---> 6affa08aaf1d 13:15:34 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:15:34 ---> Running in 40485212ad4f 13:15:36 Removing intermediate container 40485212ad4f 13:15:36 ---> cabf0fa42446 13:15:36 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:15:36 ---> Running in 4e4f104e13c5 13:15:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:15:37 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:15:38 OK: 220 MiB in 52 packages 13:15:39 Removing intermediate container 4e4f104e13c5 13:15:39 ---> 523b24a1166e 13:15:39 Step 8/13 : WORKDIR /app 13:15:39 ---> Running in 84e56202497c 13:15:39 Removing intermediate container 84e56202497c 13:15:39 ---> d5f1668cfdeb 13:15:39 Step 9/13 : COPY go.mod vendor* ./ 13:15:40 ---> 881fd8b28784 13:15:40 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:15:40 ---> Running in 48e7a7489af4 13:16:27 Removing intermediate container 48e7a7489af4 13:16:27 ---> be2c46de0852 13:16:27 Step 11/13 : COPY . . 13:16:27 ---> 1f0f3fbd863a 13:16:27 Step 12/13 : ARG MAKE="make build" 13:16:27 ---> Running in 30223e8f4b26 13:16:27 Removing intermediate container 30223e8f4b26 13:16:27 ---> 5b820f8ef258 13:16:27 Step 13/13 : RUN $MAKE 13:16:27 ---> Running in 8ed618c7f0fc 13:16:27 noop 13:16:27 Removing intermediate container 8ed618c7f0fc 13:16:27 ---> 829455ab8595 13:16:27 Successfully built 829455ab8595 13:16:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 13:16:27 + docker inspect -f . ci-base-image-arm64 13:16:27 . [Pipeline] withDockerContainer 13:16:27 prd-ubuntu20.04-docker-arm64-4c-16g-40371 does not seem to be running inside a container 13:16:28 $ 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 ******** -e ******** ci-base-image-arm64 cat 13:16:29 $ docker top 3d8b9057e403e9f9ebca9214d3f477a5e57ded42e8a70113fbb4bf72d802328c -eo pid,comm [Pipeline] { [Pipeline] sh 13:16:30 + go version 13:16:30 go version go1.17.6 linux/arm64 [Pipeline] } 13:16:30 $ docker stop --time=1 3d8b9057e403e9f9ebca9214d3f477a5e57ded42e8a70113fbb4bf72d802328c 13:16:31 $ docker rm -f 3d8b9057e403e9f9ebca9214d3f477a5e57ded42e8a70113fbb4bf72d802328c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:16:32 + docker inspect -f . ci-base-image-arm64 13:16:32 . [Pipeline] withDockerContainer 13:16:32 prd-ubuntu20.04-docker-arm64-4c-16g-40371 does not seem to be running inside a container 13:16:32 $ 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 ******** -e ******** ci-base-image-arm64 cat 13:16:34 $ docker top bf85b9610ae060a2c89e8eb25b53ffec99b241a54bb4c636743b2cc36a63c7dd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:16:35 + make test 13:16:35 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 13:17:56 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:17:56 CGO_ENABLED=1 go vet ./... 13:18:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:18:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:18:15 ./bin/test-attribution-txt.sh [Pipeline] echo 13:18:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:18:17 $ docker stop --time=1 bf85b9610ae060a2c89e8eb25b53ffec99b241a54bb4c636743b2cc36a63c7dd 13:18:18 $ docker rm -f bf85b9610ae060a2c89e8eb25b53ffec99b241a54bb4c636743b2cc36a63c7dd [Pipeline] // withDockerContainer [Pipeline] sh 13:18:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:18:19 Warning: overwriting stash ‘coverage-report’ 13:18:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:18:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:18:21 + ls -al . 13:18:21 total 160 13:18:21 drwxrwxr-x 7 jenkins jenkins 4096 May 3 13:18 . 13:18:21 drwxrwxr-x 4 jenkins jenkins 4096 May 3 13:14 .. 13:18:21 -rw-rw-r-- 1 jenkins jenkins 119 May 3 13:14 .dockerignore 13:18:21 drwxrwxr-x 8 jenkins jenkins 4096 May 3 13:14 .git 13:18:21 drwxrwxr-x 3 jenkins jenkins 4096 May 3 13:14 .github 13:18:21 -rw-rw-r-- 1 jenkins jenkins 104 May 3 13:14 .gitignore 13:18:21 -rw-rw-r-- 1 jenkins jenkins 8695 May 3 13:14 Attribution.txt 13:18:21 -rw-rw-r-- 1 jenkins jenkins 23791 May 3 13:14 CHANGELOG.md 13:18:21 -rw-rw-r-- 1 jenkins jenkins 2087 May 3 13:14 Dockerfile 13:18:21 -rw-rw-r-- 1 jenkins jenkins 677 May 3 13:14 GOVERNANCE.md 13:18:21 -rw-rw-r-- 1 jenkins jenkins 688 May 3 13:14 Jenkinsfile 13:18:21 -rw-rw-r-- 1 jenkins jenkins 10174 May 3 13:14 LICENSE 13:18:21 -rw-rw-r-- 1 jenkins jenkins 618 May 3 13:14 OWNERS.md 13:18:21 -rw-rw-r-- 1 jenkins jenkins 3718 May 3 13:14 README.md 13:18:21 -rw-rw-r-- 1 jenkins jenkins 5 May 3 13:12 VERSION 13:18:21 drwxrwxr-x 2 jenkins jenkins 4096 May 3 13:14 bin 13:18:21 -rw-r--r-- 1 jenkins jenkins 10 May 3 13:16 coverage.out 13:18:21 -rw-rw-r-- 1 jenkins jenkins 3268 May 3 13:14 go.mod 13:18:21 -rw-rw-r-- 1 jenkins jenkins 34650 May 3 13:14 go.sum 13:18:21 -rw-rw-r-- 1 jenkins jenkins 1949 May 3 13:14 main.go 13:18:21 -rw-rw-r-- 1 jenkins jenkins 2007 May 3 13:14 makefile 13:18:21 drwxrwxr-x 10 jenkins jenkins 4096 May 3 13:14 res 13:18:21 drwxrwxr-x 3 jenkins jenkins 4096 May 3 13:14 snap [Pipeline] isUnix [Pipeline] sh 13:18:21 + 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=eef5a3bab777c045023aa8c5dcf9e9c16a413124 --label arch=arm64 --label version=0.0.0 . 13:18:21 Sending build context to Docker daemon 200.7kB 13:18:21 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 13:18:21 Step 2/27 : FROM ${BASE} AS builder 13:18:21 ---> 829455ab8595 13:18:21 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 13:18:21 ---> Running in c144f9112e18 13:18:22 Removing intermediate container c144f9112e18 13:18:22 ---> 1bef8f7fbf14 13:18:22 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 13:18:22 ---> Running in 63c890e31e5f 13:18:22 Removing intermediate container 63c890e31e5f 13:18:22 ---> 048372ba29e5 13:18:22 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 13:18:22 ---> Running in fafb65734d0d 13:18:22 Removing intermediate container fafb65734d0d 13:18:22 ---> b4d97a3b16a6 13:18:22 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:18:22 ---> Running in 7e7950afa24f 13:18:24 Removing intermediate container 7e7950afa24f 13:18:24 ---> f7e49ded9c84 13:18:24 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:18:24 ---> Running in 3f0bc601b084 13:18:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:18:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:18:27 OK: 220 MiB in 52 packages 13:18:28 Removing intermediate container 3f0bc601b084 13:18:28 ---> c1e461c5f0e8 13:18:28 Step 8/27 : WORKDIR /app 13:18:28 ---> Running in e69b462bdffc 13:18:28 Removing intermediate container e69b462bdffc 13:18:28 ---> 2c8859eb8335 13:18:28 Step 9/27 : COPY go.mod vendor* ./ 13:18:29 ---> a96b9b1e5890 13:18:29 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:18:29 ---> Running in e4c7320efbc9 13:18:31 Removing intermediate container e4c7320efbc9 13:18:31 ---> 74972d56c08b 13:18:31 Step 11/27 : COPY . . 13:18:31 ---> 2239331a0103 13:18:31 Step 12/27 : ARG MAKE="make build" 13:18:31 ---> Running in 614a8234d28a 13:18:32 Removing intermediate container 614a8234d28a 13:18:32 ---> c96f0807b132 13:18:32 Step 13/27 : RUN $MAKE 13:18:32 ---> Running in c1fe8e0d8113 13:18:33 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 13:20:40 Removing intermediate container c1fe8e0d8113 13:20:40 ---> 8229a2cf7b71 13:20:40 Step 14/27 : FROM alpine:3.14 13:20:40 3.14: Pulling from library/alpine 13:20:40 455c02918c45: Pulling fs layer 13:20:40 455c02918c45: Verifying Checksum 13:20:40 455c02918c45: Download complete 13:20:40 455c02918c45: Pull complete 13:20:40 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 13:20:40 Status: Downloaded newer image for alpine:3.14 13:20:40 ---> ac73e934f311 13:20:40 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 13:20:40 ---> Running in 2a1b4abb5adc 13:20:40 Removing intermediate container 2a1b4abb5adc 13:20:40 ---> 54e559641cd7 13:20:40 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 13:20:40 ---> Running in 1b4612b946c5 13:20:40 Removing intermediate container 1b4612b946c5 13:20:40 ---> f7b0cdcb3017 13:20:40 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 13:20:40 ---> Running in 8922047f1350 13:20:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 13:20:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 13:20:40 (1/7) Installing ca-certificates (20211220-r0) 13:20:40 (2/7) Installing dumb-init (1.2.5-r1) 13:20:40 (3/7) Installing libgcc (10.3.1_git20210424-r2) 13:20:40 (4/7) Installing libsodium (1.0.18-r0) 13:20:40 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 13:20:40 (6/7) Installing libzmq (4.3.4-r0) 13:20:40 (7/7) Installing zeromq (4.3.4-r0) 13:20:40 Executing busybox-1.33.1-r7.trigger 13:20:40 Executing ca-certificates-20211220-r0.trigger 13:20:40 OK: 9 MiB in 21 packages 13:20:40 Removing intermediate container 8922047f1350 13:20:40 ---> 588f42859663 13:20:40 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:20:40 ---> 42d9be4056bd 13:20:40 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 13:20:40 ---> 0afc8e93c33b 13:20:40 Step 20/27 : COPY --from=builder /app/res/ /res/ 13:20:40 ---> 2468c8862c76 13:20:40 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:20:40 ---> 30cf6927154c 13:20:40 Step 22/27 : EXPOSE 48095 13:20:40 ---> Running in c50bd3c26300 13:20:40 Removing intermediate container c50bd3c26300 13:20:40 ---> 1ed5f3e752a1 13:20:40 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 13:20:40 ---> Running in 75d4efa5e9f8 13:20:40 Removing intermediate container 75d4efa5e9f8 13:20:40 ---> 88f405bf54af 13:20:40 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:20:40 ---> Running in 506f613030dc 13:20:40 Removing intermediate container 506f613030dc 13:20:40 ---> 98415858ce06 13:20:40 Step 25/27 : LABEL arch=arm64 13:20:40 ---> Running in 94bbe99cb80a 13:20:40 Removing intermediate container 94bbe99cb80a 13:20:40 ---> ab5dde9005df 13:20:40 Step 26/27 : LABEL git_sha=eef5a3bab777c045023aa8c5dcf9e9c16a413124 13:20:40 ---> Running in d0ccfef3da7d 13:20:40 Removing intermediate container d0ccfef3da7d 13:20:40 ---> d40fb459f4f2 13:20:40 Step 27/27 : LABEL version=0.0.0 13:20:40 ---> Running in b48c79f7cafb 13:20:40 Removing intermediate container b48c79f7cafb 13:20:40 ---> 2486043e3c5a 13:20:40 [Warning] One or more build-args [ARCH] were not consumed 13:20:40 Successfully built 2486043e3c5a 13:20:40 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:20:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:20:40 13:20:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 13:20:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:20:41 arm64: Pulling from edgex-lftools-log-publisher 13:20:41 8998bd30e6a1: Pulling fs layer 13:20:41 04944245beec: Pulling fs layer 13:20:41 699f458cf7ca: Pulling fs layer 13:20:41 765212b225bb: Pulling fs layer 13:20:41 f23df028b6ca: Pulling fs layer 13:20:41 d65c8cfc05b1: Pulling fs layer 13:20:41 2437ff75d9bd: Pulling fs layer 13:20:41 765212b225bb: Waiting 13:20:41 f23df028b6ca: Waiting 13:20:41 d65c8cfc05b1: Waiting 13:20:41 2437ff75d9bd: Waiting 13:20:41 04944245beec: Verifying Checksum 13:20:41 04944245beec: Download complete 13:20:41 765212b225bb: Verifying Checksum 13:20:41 765212b225bb: Download complete 13:20:41 f23df028b6ca: Verifying Checksum 13:20:41 f23df028b6ca: Download complete 13:20:41 d65c8cfc05b1: Verifying Checksum 13:20:41 d65c8cfc05b1: Download complete 13:20:41 699f458cf7ca: Verifying Checksum 13:20:41 699f458cf7ca: Download complete 13:20:41 8998bd30e6a1: Verifying Checksum 13:20:41 8998bd30e6a1: Download complete 13:20:44 2437ff75d9bd: Verifying Checksum 13:20:44 2437ff75d9bd: Download complete 13:20:46 8998bd30e6a1: Pull complete 13:20:46 04944245beec: Pull complete 13:20:48 699f458cf7ca: Pull complete 13:20:48 765212b225bb: Pull complete 13:20:49 f23df028b6ca: Pull complete 13:20:49 d65c8cfc05b1: Pull complete 13:21:04 2437ff75d9bd: Pull complete 13:21:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:21:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:21:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 13:21:04 prd-ubuntu20.04-docker-arm64-4c-16g-40371 does not seem to be running inside a container 13:21:04 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:21:07 $ docker top a153b3b62c0f2e15cbd41595f1e1c6a4d7f3e125dc75a7e3ee9a665fae139ef0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:21:08 ---> job-cost.sh 13:21:08 lf-activate-venv: SKIPPING 13:21:08 INFO: No Stack... 13:21:08 INFO: Retrieving Pricing Info for: v3-standard-4 13:21:09 INFO: Archiving Costs [Pipeline] sh 13:21:10 + cut -d, -f6 13:21:10 + cat /w/workspace/app-service-configurable/2/archives/cost.csv [Pipeline] lock 13:21:10 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-416-2-stack-cost] 13:21:10 Resource [jenkins-edgexfoundry-app-service-configurable-PR-416-2-stack-cost] did not exist. Created. 13:21:10 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-416-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:21:10 /w/workspace/app-service-configurable/2@tmp/durable-9b5ea281/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:21:11 + echo total: 0.10999999940395355 [Pipeline] stash 13:21:11 Warning: overwriting stash ‘stack-cost’ 13:21:11 Stashed 1 file(s) [Pipeline] } 13:21:11 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-416-2-stack-cost] [Pipeline] // lock [Pipeline] } 13:21:11 $ docker stop --time=1 a153b3b62c0f2e15cbd41595f1e1c6a4d7f3e125dc75a7e3ee9a665fae139ef0 13:21:13 $ docker rm -f a153b3b62c0f2e15cbd41595f1e1c6a4d7f3e125dc75a7e3ee9a665fae139ef0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 13:21:13 provisioning config files... 13:21:13 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-416@tmp/config1594869422492754284tmp [Pipeline] { [Pipeline] sh 13:21:14 + set +x 13:21:14 + curl -s https://codecov.io/bash 13:21:14 + bash -s -- 13:21:14 13:21:14 _____ _ 13:21:14 / ____| | | 13:21:14 | | ___ __| | ___ ___ _____ __ 13:21:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:21:14 | |___| (_) | (_| | __/ (_| (_) \ V / 13:21:14 \_____\___/ \__,_|\___|\___\___/ \_/ 13:21:14 Bash-1.0.6 13:21:14 13:21:14 13:21:14 ==> git version 2.25.1 found 13:21:14 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 13:21:14 Release-Date: 2020-01-08 13:21:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:21:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:21:14 ==> Jenkins CI detected. 13:21:14 current dir:  /w/workspace/_app-service-configurable_PR-416 13:21:14 project root: . 13:21:14 --> token set from env 13:21:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:21:14 ==> Running gcov in . (disable via -X gcov) 13:21:14 ==> Python coveragepy not found 13:21:14 ==> Searching for coverage reports in: 13:21:14 + . 13:21:14 -> Found 1 reports 13:21:14 ==> Detecting git/mercurial file structure 13:21:14 ==> Reading reports 13:21:14 + ./coverage.out bytes=10 13:21:14 ==> Appending adjustments 13:21:14 https://docs.codecov.io/docs/fixing-reports 13:21:14 + Found adjustments 13:21:14 ==> Gzipping contents 13:21:14 4.0K /tmp/codecov.QBrhz6.gz 13:21:14 ==> Uploading reports 13:21:14 url: https://codecov.io 13:21:14 query: branch=PR-416&commit=eef5a3bab777c045023aa8c5dcf9e9c16a413124&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-416%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=416&job=&cmd_args= 13:21:14 -> Pinging Codecov 13:21:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-416&commit=eef5a3bab777c045023aa8c5dcf9e9c16a413124&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-416%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=416&job=&cmd_args= 13:21:14 -> Uploading to 13:21:14 https://storage.googleapis.com/codecov/v4/raw/2022-05-03/A97CA9966030D2A3747ED39772930CCE/eef5a3bab777c045023aa8c5dcf9e9c16a413124/0e8f5d24-9a73-4c46-9693-bf40ba040af9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220503T132114Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cdf26b3a76122ab35f329f6898eddd9842980d52404c785b05e56cc9353d5a27 13:21:14 % Total % Received % Xferd Average Speed Time Time Time Current 13:21:14 Dload Upload Total Spent Left Speed 13:21:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 592 0 0 100 592 0 2678 --:--:-- --:--:-- --:--:-- 2666 100 592 0 0 100 592 0 2508 --:--:-- --:--:-- --:--:-- 2497 13:21:14 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/eef5a3bab777c045023aa8c5dcf9e9c16a413124 [Pipeline] } 13:21:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 13:21:15 + [ -d /w/workspace/_app-service-configurable_PR-416/archives ] 13:21:15 + ls -al /w/workspace/_app-service-configurable_PR-416/archives 13:21:15 total 16 13:21:15 drwxr-xr-x 3 root root 4096 May 3 13:14 . 13:21:15 drwxrwxr-x 9 jenkins jenkins 4096 May 3 13:14 .. 13:21:15 drwxr-xr-x 2 root root 4096 May 3 13:14 cost 13:21:15 -rw-r--r-- 1 root root 95 May 3 13:14 cost.csv 13:21:15 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-416/archives 13:21:15 + ls -al /w/workspace/_app-service-configurable_PR-416/archives 13:21:15 total 16 13:21:15 drwxr-xr-x 3 jenkins jenkins 4096 May 3 13:14 . 13:21:15 drwxrwxr-x 9 jenkins jenkins 4096 May 3 13:14 .. 13:21:15 drwxr-xr-x 2 jenkins jenkins 4096 May 3 13:14 cost 13:21:15 -rw-r--r-- 1 jenkins jenkins 95 May 3 13:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:21:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:21:16 ---> package-listing.sh 13:21:16 ++ facter osfamily 13:21:16 ++ tr '[:upper:]' '[:lower:]' 13:21:17 + OS_FAMILY=debian 13:21:17 + workspace=/w/workspace/_app-service-configurable_PR-416 13:21:17 + START_PACKAGES=/tmp/packages_start.txt 13:21:17 + END_PACKAGES=/tmp/packages_end.txt 13:21:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:21:17 + PACKAGES=/tmp/packages_start.txt 13:21:17 + '[' /w/workspace/_app-service-configurable_PR-416 ']' 13:21:17 + PACKAGES=/tmp/packages_end.txt 13:21:17 + case "${OS_FAMILY}" in 13:21:17 + dpkg -l 13:21:17 + grep '^ii' 13:21:17 + '[' -f /tmp/packages_start.txt ']' 13:21:17 + '[' -f /tmp/packages_end.txt ']' 13:21:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:21:17 + '[' /w/workspace/_app-service-configurable_PR-416 ']' 13:21:17 + mkdir -p /w/workspace/_app-service-configurable_PR-416/archives/ 13:21:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-416/archives/ [Pipeline] echo 13:21:17 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-416/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:21:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 13:21:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:21:17 . [Pipeline] withDockerContainer 13:21:18 prd-ubuntu20.04-docker-8c-8g-40370 does not seem to be running inside a container 13:21:18 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-416/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-416 -v /w/workspace/_app-service-configurable_PR-416:/w/workspace/_app-service-configurable_PR-416:rw,z -v /w/workspace/_app-service-configurable_PR-416@tmp:/w/workspace/_app-service-configurable_PR-416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:21:18 $ docker top 3dd0a0c73b6f474de4d8f23097655e20c90257e6469c41f7145041604d66d51a -eo pid,comm [Pipeline] { [Pipeline] sh 13:21:18 + touch /tmp/pre-build-complete [Pipeline] sh 13:21:18 + mkdir -p /var/log/sysstat [Pipeline] sh 13:21:19 + ls /var/log/sa-host 13:21:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:21:19 provisioning config files... 13:21:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-416@tmp/config4230894721996336979tmp [Pipeline] { [Pipeline] echo 13:21:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:21:19 ---> create-netrc.sh [Pipeline] } 13:21:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:21:20 ---> python-tools-install.sh [Pipeline] echo 13:21:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:21:20 ---> sudo-logs.sh 13:21:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:21:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:21:20 ---> job-cost.sh 13:21:20 lf-activate-venv: SKIPPING 13:21:20 DEBUG: total: 0.2199999988079071 13:21:20 INFO: Retrieving Stack Cost... 13:21:21 INFO: Retrieving Pricing Info for: v3-standard-8 13:21:21 INFO: Archiving Costs [Pipeline] echo 13:21:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:21:21 ---> logs-deploy.sh 13:21:21 lf-activate-venv: SKIPPING 13:21:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-416/2 13:21:21 INFO: archiving workspace using pattern(s): 13:21:22 Archives upload complete. 13:21:22 INFO: archiving logs to Nexus