Pull request #422 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 21a2c126823925867dd6956e6f8909a9745991de+3f477d47c6517606b32e01b3b7dfc9f0ed41c93b (72fc246ddd2f757755e9d819167e7805367f0d98) 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-ssh3371735110122253244.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4050360939359113533.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-422/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-422/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6209958286900016222.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8729685579233265762.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-422/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-422/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh133280617409526940.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-63174 in /w/workspace/_app-service-configurable_PR-422 [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-422 # 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 3f477d47c6517606b32e01b3b7dfc9f0ed41c93b into PR head commit 21a2c126823925867dd6956e6f8909a9745991de Merge succeeded, producing 21a2c126823925867dd6956e6f8909a9745991de Checking out Revision 21a2c126823925867dd6956e6f8909a9745991de (PR-422) > 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/422/head:refs/remotes/origin/PR-422 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 21a2c126823925867dd6956e6f8909a9745991de # 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 3f477d47c6517606b32e01b3b7dfc9f0ed41c93b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 21a2c126823925867dd6956e6f8909a9745991de # timeout=10 Commit message: "Merge branch 'main' into fix-port" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 63ca49522e2144fab890dc4bdd15bb7a5b929089 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:31:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:31:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:31:21 ========================================================= 19:31:21 EdgeX Global Pipelines Version Info 19:31:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:31:22 ------------------- 19:31:22 stable info: 19:31:22 ------------------- 19:31:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:31:22 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 19:31:22 Message: update stable to v1.0.230 19:31:22 ------------------- 19:31:22 experimental info: 19:31:22 ------------------- 19:31:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:31:22 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 19:31:22 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:31:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 19:31:22 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 19:31:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:31:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:31:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:31:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 19:31:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:31:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:31:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:31:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:31:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:31:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 19:31:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:31:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:31:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:31:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:31:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:31:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:31:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:31:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:31:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:31:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:31:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:31:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:31:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:31:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:31:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-422 [Pipeline] echo 19:31:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-422 [Pipeline] echo 19:31:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-422 [Pipeline] echo 19:31:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 21a2c126823925867dd6956e6f8909a9745991de [Pipeline] echo 19:31:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 21a2c12 [Pipeline] echo 19:31:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:31:23 provisioning config files... 19:31:23 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-422@tmp/config8819519323438271998tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:31:23 ---> docker-login.sh 19:31:23 nexus3.edgexfoundry.org:10001 19:31:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:23 Configure a credential helper to remove this warning. See 19:31:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:23 19:31:23 Login Succeeded 19:31:23 nexus3.edgexfoundry.org:10002 19:31:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:24 Configure a credential helper to remove this warning. See 19:31:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:24 19:31:24 Login Succeeded 19:31:24 nexus3.edgexfoundry.org:10003 19:31:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:24 Configure a credential helper to remove this warning. See 19:31:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:24 19:31:24 Login Succeeded 19:31:24 nexus3.edgexfoundry.org:10004 19:31:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:24 Configure a credential helper to remove this warning. See 19:31:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:24 19:31:24 Login Succeeded 19:31:24 docker.io 19:31:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:25 Configure a credential helper to remove this warning. See 19:31:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:25 19:31:25 Login Succeeded 19:31:25 ---> docker-login.sh ends [Pipeline] } 19:31:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:31:25 + git rev-list -1 --merges 21a2c126823925867dd6956e6f8909a9745991de~1..21a2c126823925867dd6956e6f8909a9745991de [Pipeline] echo 19:31:25 -----------> git rev-list -1 --merges 21a2c126823925867dd6956e6f8909a9745991de~1..21a2c126823925867dd6956e6f8909a9745991de 21a2c126823925867dd6956e6f8909a9745991de 19:31:25 21a2c126823925867dd6956e6f8909a9745991de [false] [Pipeline] sh 19:31:25 + git log --format=format:%s -1 21a2c126823925867dd6956e6f8909a9745991de [Pipeline] echo 19:31:25 ========================================================= 19:31:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:31:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:31:26 + git log --format=format:%s -1 21a2c126823925867dd6956e6f8909a9745991de [Pipeline] echo 19:31:26 [semverPrep] GIT_COMMIT: 21a2c126823925867dd6956e6f8909a9745991de, Commit Message: Merge branch 'main' into fix-port [Pipeline] echo 19:31:26 [semverPrep] This is not a build commit. [Pipeline] sh 19:31:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:31:26 + grep -v github /etc/ssh/ssh_known_hosts 19:31:26 + [ -e /tmp/ssh_known_hosts ] 19:31:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:31:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 19:31:26 sudo tee -a /etc/ssh/ssh_known_hosts 19:31:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 19:31:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 19:31:27 19:31:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:31:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 19:31:27 latest: Pulling from edgex-devops/py-git-semver 19:31:27 1fe172e4850f: Pulling fs layer 19:31:27 caf521ccaac6: Pulling fs layer 19:31:27 3ead6fa29328: Pulling fs layer 19:31:27 5c2a1cbceb83: Pulling fs layer 19:31:27 a8d5f1318db7: Pulling fs layer 19:31:27 c427282e49a2: Pulling fs layer 19:31:27 1827001aaf11: Pulling fs layer 19:31:27 0714d37db230: Pulling fs layer 19:31:27 ac28cf19c067: Pulling fs layer 19:31:27 ca983d60f3e2: Pulling fs layer 19:31:27 9f894cec8388: Pulling fs layer 19:31:27 1827001aaf11: Waiting 19:31:27 0714d37db230: Waiting 19:31:27 ac28cf19c067: Waiting 19:31:27 ca983d60f3e2: Waiting 19:31:27 9f894cec8388: Waiting 19:31:27 a8d5f1318db7: Waiting 19:31:27 c427282e49a2: Waiting 19:31:27 5c2a1cbceb83: Waiting 19:31:27 caf521ccaac6: Verifying Checksum 19:31:27 caf521ccaac6: Download complete 19:31:27 5c2a1cbceb83: Verifying Checksum 19:31:27 5c2a1cbceb83: Download complete 19:31:27 a8d5f1318db7: Verifying Checksum 19:31:27 a8d5f1318db7: Download complete 19:31:27 c427282e49a2: Download complete 19:31:27 3ead6fa29328: Verifying Checksum 19:31:27 3ead6fa29328: Download complete 19:31:27 0714d37db230: Verifying Checksum 19:31:27 ac28cf19c067: Download complete 19:31:27 ca983d60f3e2: Verifying Checksum 19:31:27 ca983d60f3e2: Download complete 19:31:27 9f894cec8388: Verifying Checksum 19:31:27 9f894cec8388: Download complete 19:31:27 1fe172e4850f: Verifying Checksum 19:31:27 1fe172e4850f: Download complete 19:31:28 1827001aaf11: Verifying Checksum 19:31:28 1827001aaf11: Download complete 19:31:29 1fe172e4850f: Pull complete 19:31:29 caf521ccaac6: Pull complete 19:31:29 3ead6fa29328: Pull complete 19:31:29 5c2a1cbceb83: Pull complete 19:31:30 a8d5f1318db7: Pull complete 19:31:30 c427282e49a2: Pull complete 19:31:32 1827001aaf11: Pull complete 19:31:32 0714d37db230: Pull complete 19:31:32 ac28cf19c067: Pull complete 19:31:32 ca983d60f3e2: Pull complete 19:31:33 9f894cec8388: Pull complete 19:31:33 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 19:31:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 19:31:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 19:31:33 prd-ubuntu20.04-docker-8c-8g-63174 does not seem to be running inside a container 19:31:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-422 -v /w/workspace/_app-service-configurable_PR-422:/w/workspace/_app-service-configurable_PR-422:rw,z -v /w/workspace/_app-service-configurable_PR-422@tmp:/w/workspace/_app-service-configurable_PR-422@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 19:31:34 $ docker top 2e31423d2af4fd3d869a94042e9acbdeca3475d9cf68e0c4ee683700a6e5eeec -eo pid,comm 19:31:34 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). 19:31:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:31:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:31:34 [ssh-agent] Looking for ssh-agent implementation... 19:31:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:31:35 $ docker exec 2e31423d2af4fd3d869a94042e9acbdeca3475d9cf68e0c4ee683700a6e5eeec ssh-agent 19:31:35 SSH_AUTH_SOCK=/tmp/ssh-aZG3UkvA8Kfi/agent.35 19:31:35 SSH_AGENT_PID=41 19:31:35 Running ssh-add (command line suppressed) 19:31:35 Identity added: /w/workspace/_app-service-configurable_PR-422@tmp/private_key_7092479084290522173.key (/w/workspace/_app-service-configurable_PR-422@tmp/private_key_7092479084290522173.key) 19:31:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:31:35 + git tag --points-at HEAD [Pipeline] } 19:31:35 $ docker exec --env ******** --env ******** 2e31423d2af4fd3d869a94042e9acbdeca3475d9cf68e0c4ee683700a6e5eeec ssh-agent -k 19:31:35 unset SSH_AUTH_SOCK; 19:31:35 unset SSH_AGENT_PID; 19:31:35 echo Agent pid 41 killed; 19:31:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:31:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:31:35 [ssh-agent] Looking for ssh-agent implementation... 19:31:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:31:35 $ docker exec 2e31423d2af4fd3d869a94042e9acbdeca3475d9cf68e0c4ee683700a6e5eeec ssh-agent 19:31:36 SSH_AUTH_SOCK=/tmp/ssh-IOvIoxausY1p/agent.76 19:31:36 SSH_AGENT_PID=83 19:31:36 Running ssh-add (command line suppressed) 19:31:36 Identity added: /w/workspace/_app-service-configurable_PR-422@tmp/private_key_5185643434295549237.key (/w/workspace/_app-service-configurable_PR-422@tmp/private_key_5185643434295549237.key) 19:31:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:31:36 + git semver init 19:31:36 2022-05-11 19:31:36,767 [run_init] DEBUG init version:0.0.0 force:False 19:31:36 2022-05-11 19:31:36,767 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-422/.semver 19:31:36 2022-05-11 19:31:36,768 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-422/.semver 19:31:36 2022-05-11 19:31:36,768 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-422/.semver'], cwd=/w/workspace/_app-service-configurable_PR-422, universal_newlines=False, shell=None, istream=None) 19:31:37 2022-05-11 19:31:37,579 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-422/.git/info/exclude 19:31:37 2022-05-11 19:31:37,580 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-422/.semver/PR-422 with force:False 19:31:37 2022-05-11 19:31:37,580 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-422/.semver/PR-422 19:31:37 2022-05-11 19:31:37,585 [execute] INFO git cat-file --batch-check 19:31:37 2022-05-11 19:31:37,585 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-422/.semver, universal_newlines=False, shell=None, istream=) 19:31:37 2022-05-11 19:31:37,592 [execute] INFO git cat-file --batch 19:31:37 2022-05-11 19:31:37,592 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-422/.semver, universal_newlines=False, shell=None, istream=) 19:31:37 2022-05-11 19:31:37,598 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-422/.semver/PR-422 19:31:37 0.0.0 [Pipeline] } 19:31:37 $ docker exec --env ******** --env ******** 2e31423d2af4fd3d869a94042e9acbdeca3475d9cf68e0c4ee683700a6e5eeec ssh-agent -k 19:31:37 unset SSH_AUTH_SOCK; 19:31:37 unset SSH_AGENT_PID; 19:31:37 echo Agent pid 83 killed; 19:31:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:31:38 + git semver [Pipeline] } 19:31:38 $ docker stop --time=1 2e31423d2af4fd3d869a94042e9acbdeca3475d9cf68e0c4ee683700a6e5eeec 19:31:39 $ docker rm -f 2e31423d2af4fd3d869a94042e9acbdeca3475d9cf68e0c4ee683700a6e5eeec [Pipeline] // withDockerContainer [Pipeline] sh 19:31:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:31:40 Stashed 1 file(s) [Pipeline] echo 19:31: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 19:31:40 provisioning config files... 19:31:40 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-422@tmp/config9206357819217552463tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:31:40 ---> docker-login.sh 19:31:40 nexus3.edgexfoundry.org:10001 19:31:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:40 Configure a credential helper to remove this warning. See 19:31:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:40 19:31:40 Login Succeeded 19:31:40 nexus3.edgexfoundry.org:10002 19:31:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:41 Configure a credential helper to remove this warning. See 19:31:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:41 19:31:41 Login Succeeded 19:31:41 nexus3.edgexfoundry.org:10003 19:31:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:41 Configure a credential helper to remove this warning. See 19:31:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:41 19:31:41 Login Succeeded 19:31:41 nexus3.edgexfoundry.org:10004 19:31:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:41 Configure a credential helper to remove this warning. See 19:31:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:41 19:31:41 Login Succeeded 19:31:41 docker.io 19:31:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:41 Configure a credential helper to remove this warning. See 19:31:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:41 19:31:41 Login Succeeded 19:31:41 ---> docker-login.sh ends [Pipeline] } 19:31:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:31:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:31:41 ========================================================= 19:31:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 19:31:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 19:31: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 . 19:31:42 Sending build context to Docker daemon 3.07MB 19:31:42 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 19:31:42 Step 2/13 : FROM ${BASE} AS builder 19:31:42 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 19:31:42 59bf1c3509f3: Pulling fs layer 19:31:42 666ba61612fd: Pulling fs layer 19:31:42 8ed8ca486205: Pulling fs layer 19:31:42 4fe6c5a15a65: Pulling fs layer 19:31:42 22a0e8bec74d: Pulling fs layer 19:31:42 ca2b28591e48: Pulling fs layer 19:31:42 a51346096db8: Pulling fs layer 19:31:42 daebc70d1ce1: Pulling fs layer 19:31:42 0e18a0eac166: Pulling fs layer 19:31:42 4fe6c5a15a65: Waiting 19:31:42 22a0e8bec74d: Waiting 19:31:42 daebc70d1ce1: Waiting 19:31:42 ca2b28591e48: Waiting 19:31:42 a51346096db8: Waiting 19:31:42 0e18a0eac166: Waiting 19:31:42 8ed8ca486205: Download complete 19:31:42 666ba61612fd: Download complete 19:31:42 22a0e8bec74d: Verifying Checksum 19:31:42 22a0e8bec74d: Download complete 19:31:42 ca2b28591e48: Verifying Checksum 19:31:42 ca2b28591e48: Download complete 19:31:42 59bf1c3509f3: Verifying Checksum 19:31:42 59bf1c3509f3: Download complete 19:31:42 a51346096db8: Verifying Checksum 19:31:42 a51346096db8: Download complete 19:31:42 daebc70d1ce1: Verifying Checksum 19:31:42 daebc70d1ce1: Download complete 19:31:42 59bf1c3509f3: Pull complete 19:31:42 666ba61612fd: Pull complete 19:31:42 8ed8ca486205: Pull complete 19:31:42 0e18a0eac166: Verifying Checksum 19:31:42 0e18a0eac166: Download complete 19:31:42 4fe6c5a15a65: Verifying Checksum 19:31:42 4fe6c5a15a65: Download complete 19:31:47 4fe6c5a15a65: Pull complete 19:31:47 22a0e8bec74d: Pull complete 19:31:47 ca2b28591e48: Pull complete 19:31:47 a51346096db8: Pull complete 19:31:47 daebc70d1ce1: Pull complete 19:31:49 0e18a0eac166: Pull complete 19:31:49 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 19:31:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 19:31:49 ---> f018257e8ee9 19:31:49 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 19:31:51 ---> Running in 98d2ec8a6640 19:31:51 Removing intermediate container 98d2ec8a6640 19:31:51 ---> 70cf78cc8bf0 19:31:51 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 19:31:51 ---> Running in 820f96395a3a 19:31:51 Removing intermediate container 820f96395a3a 19:31:51 ---> f728f006bd0c 19:31:51 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 19:31:51 ---> Running in f7db5dd53788 19:31:51 Removing intermediate container f7db5dd53788 19:31:51 ---> cb83b7178c56 19:31:51 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:31:51 ---> Running in b490bfdffbe9 19:31:52 Removing intermediate container b490bfdffbe9 19:31:52 ---> e6e29fdbf1b4 19:31:52 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:31:52 ---> Running in 304c2fb58fd8 19:31:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 19:31:53 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 19:31:53 OK: 221 MiB in 52 packages 19:31:54 Removing intermediate container 304c2fb58fd8 19:31:54 ---> 8f2d7e0ee61b 19:31:54 Step 8/13 : WORKDIR /app 19:31:54 ---> Running in 2cd88bb196f9 19:31:54 Removing intermediate container 2cd88bb196f9 19:31:54 ---> b340fa1cb579 19:31:54 Step 9/13 : COPY go.mod vendor* ./ 19:31:54 ---> a876cd490691 19:31:54 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:31:54 ---> Running in 16bdbcd8d19a 19:31:55 Still waiting to schedule task 19:31:55 ‘prd-ubuntu20.04-docker-arm64-4c-16g-63172’ is offline 19:32:09 Removing intermediate container 16bdbcd8d19a 19:32:09 ---> fb5e2694b234 19:32:09 Step 11/13 : COPY . . 19:32:09 ---> d8617a2591e6 19:32:09 Step 12/13 : ARG MAKE="make build" 19:32:09 ---> Running in 10e7e0db0b7a 19:32:09 Removing intermediate container 10e7e0db0b7a 19:32:09 ---> dcfa302178e4 19:32:09 Step 13/13 : RUN $MAKE 19:32:09 ---> Running in c624dc4cebee 19:32:09 noop 19:32:09 Removing intermediate container c624dc4cebee 19:32:09 ---> f29b697b79c9 19:32:09 Successfully built f29b697b79c9 19:32:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 19:32:09 + docker inspect -f . ci-base-image-x86_64 19:32:09 . [Pipeline] withDockerContainer 19:32:10 prd-ubuntu20.04-docker-8c-8g-63174 does not seem to be running inside a container 19:32:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-422 -v /w/workspace/_app-service-configurable_PR-422:/w/workspace/_app-service-configurable_PR-422:rw,z -v /w/workspace/_app-service-configurable_PR-422@tmp:/w/workspace/_app-service-configurable_PR-422@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-x86_64 cat 19:32:10 $ docker top 8ab9b39537e67c3a34d55bea43c0da073432cd5dd95bd5893dd5e0261297202f -eo pid,comm [Pipeline] { [Pipeline] sh 19:32:10 + go version 19:32:10 go version go1.17.6 linux/amd64 [Pipeline] } 19:32:10 $ docker stop --time=1 8ab9b39537e67c3a34d55bea43c0da073432cd5dd95bd5893dd5e0261297202f 19:32:12 $ docker rm -f 8ab9b39537e67c3a34d55bea43c0da073432cd5dd95bd5893dd5e0261297202f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:32:12 + docker inspect -f . ci-base-image-x86_64 19:32:12 . [Pipeline] withDockerContainer 19:32:12 prd-ubuntu20.04-docker-8c-8g-63174 does not seem to be running inside a container 19:32:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-422 -v /w/workspace/_app-service-configurable_PR-422:/w/workspace/_app-service-configurable_PR-422:rw,z -v /w/workspace/_app-service-configurable_PR-422@tmp:/w/workspace/_app-service-configurable_PR-422@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-x86_64 cat 19:32:13 $ docker top 7512105424bced3d209dbb219fb631763c8537fc98b3198f72ead2c5de3ac4ea -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:32:13 + make test 19:32:13 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 19:32:23 ? github.com/edgexfoundry/app-service-configurable [no test files] 19:32:23 CGO_ENABLED=1 go vet ./... 19:32:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:32:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:32:27 ./bin/test-attribution-txt.sh [Pipeline] echo 19:32:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:32:28 $ docker stop --time=1 7512105424bced3d209dbb219fb631763c8537fc98b3198f72ead2c5de3ac4ea 19:32:29 $ docker rm -f 7512105424bced3d209dbb219fb631763c8537fc98b3198f72ead2c5de3ac4ea [Pipeline] // withDockerContainer [Pipeline] sh 19:32:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:32:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:32:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:32:31 + ls -al . 19:32:31 total 168 19:32:31 drwxrwxr-x 8 jenkins jenkins 4096 May 11 19:32 . 19:32:31 drwxrwxr-x 4 jenkins jenkins 4096 May 11 19:31 .. 19:32:31 -rw-rw-r-- 1 jenkins jenkins 119 May 11 19:31 .dockerignore 19:32:31 drwxrwxr-x 8 jenkins jenkins 4096 May 11 19:31 .git 19:32:31 drwxrwxr-x 3 jenkins jenkins 4096 May 11 19:31 .github 19:32:31 -rw-rw-r-- 1 jenkins jenkins 104 May 11 19:31 .gitignore 19:32:31 drwxr-xr-x 3 jenkins jenkins 4096 May 11 19:31 .semver 19:32:31 -rw-rw-r-- 1 jenkins jenkins 8695 May 11 19:31 Attribution.txt 19:32:31 -rw-rw-r-- 1 jenkins jenkins 27269 May 11 19:31 CHANGELOG.md 19:32:31 -rw-rw-r-- 1 jenkins jenkins 2087 May 11 19:31 Dockerfile 19:32:31 -rw-rw-r-- 1 jenkins jenkins 677 May 11 19:31 GOVERNANCE.md 19:32:31 -rw-rw-r-- 1 jenkins jenkins 688 May 11 19:31 Jenkinsfile 19:32:31 -rw-rw-r-- 1 jenkins jenkins 10174 May 11 19:31 LICENSE 19:32:31 -rw-rw-r-- 1 jenkins jenkins 618 May 11 19:31 OWNERS.md 19:32:31 -rw-rw-r-- 1 jenkins jenkins 3718 May 11 19:31 README.md 19:32:31 -rw-rw-r-- 1 jenkins jenkins 5 May 11 19:31 VERSION 19:32:31 drwxrwxr-x 2 jenkins jenkins 4096 May 11 19:31 bin 19:32:31 -rw-r--r-- 1 jenkins jenkins 10 May 11 19:32 coverage.out 19:32:31 -rw-rw-r-- 1 jenkins jenkins 3222 May 11 19:31 go.mod 19:32:31 -rw-rw-r-- 1 jenkins jenkins 34558 May 11 19:31 go.sum 19:32:31 -rw-rw-r-- 1 jenkins jenkins 1949 May 11 19:31 main.go 19:32:31 -rw-rw-r-- 1 jenkins jenkins 2007 May 11 19:31 makefile 19:32:31 drwxrwxr-x 10 jenkins jenkins 4096 May 11 19:31 res 19:32:31 drwxrwxr-x 3 jenkins jenkins 4096 May 11 19:31 snap [Pipeline] isUnix [Pipeline] sh 19:32:31 + 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=21a2c126823925867dd6956e6f8909a9745991de --label arch=amd64 --label version=0.0.0 . 19:32:31 Sending build context to Docker daemon 3.071MB 19:32:31 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 19:32:31 Step 2/27 : FROM ${BASE} AS builder 19:32:31 ---> f29b697b79c9 19:32:31 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 19:32:31 ---> Running in 88e972f36eb7 19:32:31 Removing intermediate container 88e972f36eb7 19:32:31 ---> a1ec447fa3c6 19:32:31 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 19:32:31 ---> Running in d8dd6b8ec7a9 19:32:31 Removing intermediate container d8dd6b8ec7a9 19:32:31 ---> bade22f2185d 19:32:31 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 19:32:32 ---> Running in 3384601c2429 19:32:32 Removing intermediate container 3384601c2429 19:32:32 ---> 2c4ae8d7c6bc 19:32:32 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:32:32 ---> Running in 45d413f64d68 19:32:32 Removing intermediate container 45d413f64d68 19:32:32 ---> da2f57e747d8 19:32:32 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:32:32 ---> Running in ae28c1822a05 19:32:33 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 19:32:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 19:32:34 OK: 221 MiB in 52 packages 19:32:34 Removing intermediate container ae28c1822a05 19:32:34 ---> b30e65c93045 19:32:34 Step 8/27 : WORKDIR /app 19:32:34 ---> Running in a521dd9646ac 19:32:34 Removing intermediate container a521dd9646ac 19:32:34 ---> a69614caa457 19:32:34 Step 9/27 : COPY go.mod vendor* ./ 19:32:35 ---> 76e6275b40c5 19:32:35 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:32:35 ---> Running in fb636716d10e 19:32:35 Removing intermediate container fb636716d10e 19:32:35 ---> 3cdc88608bbf 19:32:35 Step 11/27 : COPY . . 19:32:35 ---> 87f1495a93bd 19:32:35 Step 12/27 : ARG MAKE="make build" 19:32:35 ---> Running in f368566b6f30 19:32:35 Removing intermediate container f368566b6f30 19:32:35 ---> 1d58ed12f24c 19:32:35 Step 13/27 : RUN $MAKE 19:32:36 ---> Running in 15642975fcb3 19:32:36 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 19:32:58 Removing intermediate container 15642975fcb3 19:32:58 ---> f789eaf6a68b 19:32:58 Step 14/27 : FROM alpine:3.14 19:32:58 3.14: Pulling from library/alpine 19:32:58 8663204ce13b: Pulling fs layer 19:32:58 8663204ce13b: Verifying Checksum 19:32:58 8663204ce13b: Download complete 19:32:58 8663204ce13b: Pull complete 19:32:58 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 19:32:58 Status: Downloaded newer image for alpine:3.14 19:32:58 ---> e04c818066af 19:32:58 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 19:32:58 ---> Running in fcf33ccbaf70 19:32:58 Removing intermediate container fcf33ccbaf70 19:32:58 ---> da6feeceda5d 19:32:58 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 19:32:58 ---> Running in dc83defdc725 19:32:58 Removing intermediate container dc83defdc725 19:32:58 ---> afa4b21c6cc6 19:32:58 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 19:32:58 ---> Running in 99e03611c3b4 19:32:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 19:32:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 19:32:58 (1/7) Installing ca-certificates (20211220-r0) 19:32:58 (2/7) Installing dumb-init (1.2.5-r1) 19:32:58 (3/7) Installing libgcc (10.3.1_git20210424-r2) 19:32:58 (4/7) Installing libsodium (1.0.18-r0) 19:32:58 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 19:32:58 (6/7) Installing libzmq (4.3.4-r0) 19:32:58 (7/7) Installing zeromq (4.3.4-r0) 19:32:58 Executing busybox-1.33.1-r7.trigger 19:32:58 Executing ca-certificates-20211220-r0.trigger 19:32:58 OK: 9 MiB in 21 packages 19:32:59 Removing intermediate container 99e03611c3b4 19:32:59 ---> 8dea6933321d 19:32:59 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 19:32:59 ---> 6fd23eca1ccb 19:32:59 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 19:32:59 ---> 0cc732aec78c 19:32:59 Step 20/27 : COPY --from=builder /app/res/ /res/ 19:32:59 ---> e4371faca9a9 19:32:59 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 19:33:00 ---> aeab8012edc5 19:33:00 Step 22/27 : EXPOSE 48095 19:33:00 ---> Running in a1a5db868892 19:33:00 Removing intermediate container a1a5db868892 19:33:00 ---> fc6f89855c3f 19:33:00 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 19:33:00 ---> Running in c7339c9cda37 19:33:00 Removing intermediate container c7339c9cda37 19:33:00 ---> 21d902f026c2 19:33:00 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:33:00 ---> Running in b9f68c870a29 19:33:00 Removing intermediate container b9f68c870a29 19:33:00 ---> d7792a8c632b 19:33:00 Step 25/27 : LABEL arch=amd64 19:33:00 ---> Running in fd98b7bf23c1 19:33:00 Removing intermediate container fd98b7bf23c1 19:33:00 ---> e5e8c0c093e0 19:33:00 Step 26/27 : LABEL git_sha=21a2c126823925867dd6956e6f8909a9745991de 19:33:00 ---> Running in b4933bb0caa2 19:33:01 Removing intermediate container b4933bb0caa2 19:33:01 ---> 67313becc34d 19:33:01 Step 27/27 : LABEL version=0.0.0 19:33:01 ---> Running in aa52f4cf83f8 19:33:01 Removing intermediate container aa52f4cf83f8 19:33:01 ---> 32981e6c4882 19:33:01 [Warning] One or more build-args [ARCH] were not consumed 19:33:01 Successfully built 32981e6c4882 19:33:01 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 19:33:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:33:01 19:33:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 19:33:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:33:01 latest: Pulling from edgex-lftools-log-publisher 19:33:01 5eb5b503b376: Pulling fs layer 19:33:01 5c69ac0246d0: Pulling fs layer 19:33:01 ec43610c2a17: Pulling fs layer 19:33:01 3a2ae6a8a46f: Pulling fs layer 19:33:01 33b1e0a273af: Pulling fs layer 19:33:01 5d3b04190fa2: Pulling fs layer 19:33:01 2f39f015ded8: Pulling fs layer 19:33:01 3a2ae6a8a46f: Waiting 19:33:01 33b1e0a273af: Waiting 19:33:01 2f39f015ded8: Waiting 19:33:01 5d3b04190fa2: Waiting 19:33:01 5c69ac0246d0: Verifying Checksum 19:33:01 5c69ac0246d0: Download complete 19:33:01 3a2ae6a8a46f: Download complete 19:33:01 33b1e0a273af: Verifying Checksum 19:33:01 33b1e0a273af: Download complete 19:33:01 ec43610c2a17: Verifying Checksum 19:33:01 ec43610c2a17: Download complete 19:33:02 5d3b04190fa2: Verifying Checksum 19:33:02 5d3b04190fa2: Download complete 19:33:02 5eb5b503b376: Verifying Checksum 19:33:02 5eb5b503b376: Download complete 19:33:02 2f39f015ded8: Download complete 19:33:03 5eb5b503b376: Pull complete 19:33:03 5c69ac0246d0: Pull complete 19:33:03 ec43610c2a17: Pull complete 19:33:04 3a2ae6a8a46f: Pull complete 19:33:04 33b1e0a273af: Pull complete 19:33:04 5d3b04190fa2: Pull complete 19:33:08 2f39f015ded8: Pull complete 19:33:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:33:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:33:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 19:33:08 prd-ubuntu20.04-docker-8c-8g-63174 does not seem to be running inside a container 19:33:08 $ 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-422 -v /w/workspace/_app-service-configurable_PR-422:/w/workspace/_app-service-configurable_PR-422:rw,z -v /w/workspace/_app-service-configurable_PR-422@tmp:/w/workspace/_app-service-configurable_PR-422@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:latest cat 19:33:10 $ docker top 234c9c8843bc7bc33eec38c3124470be0bba20523925f5f5ed726579d925242c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:33:10 ---> job-cost.sh 19:33:10 lf-activate-venv: SKIPPING 19:33:10 INFO: No Stack... 19:33:11 INFO: Retrieving Pricing Info for: v3-standard-8 19:33:11 INFO: Archiving Costs [Pipeline] sh 19:33:12 + cat /w/workspace/_app-service-configurable_PR-422/archives/cost.csv 19:33:12 + cut -d, -f6 [Pipeline] lock 19:33:12 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-422-2-stack-cost] 19:33:12 Resource [jenkins-edgexfoundry-app-service-configurable-PR-422-2-stack-cost] did not exist. Created. 19:33:12 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-422-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:33:12 + echo total: 0.2199999988079071 [Pipeline] stash 19:33:12 Stashed 1 file(s) [Pipeline] } 19:33:12 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-422-2-stack-cost] [Pipeline] // lock [Pipeline] } 19:33:12 $ docker stop --time=1 234c9c8843bc7bc33eec38c3124470be0bba20523925f5f5ed726579d925242c 19:33:13 $ docker rm -f 234c9c8843bc7bc33eec38c3124470be0bba20523925f5f5ed726579d925242c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:33:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63175 in /w/workspace/_app-service-configurable_PR-422 [Pipeline] { [Pipeline] ws 19:33:31 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 19:33:31 Selected Git installation does not exist. Using Default 19:33:31 The recommended git tool is: NONE 19:33:36 using credential edgex-jenkins-ssh 19:33:36 Cloning the remote Git repository 19:33:36 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 19:33:36 > git init /w/workspace/app-service-configurable/2 # timeout=10 19:33:37 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 19:33:37 > git --version # timeout=10 19:33:37 > git --version # 'git version 2.25.1' 19:33:37 using GIT_SSH to set credentials SSH Credentials for GitHub 19:33:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:33:38 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 19:33:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:33:38 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 19:33:38 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 19:33:38 using GIT_SSH to set credentials SSH Credentials for GitHub 19:33:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/422/head:refs/remotes/origin/PR-422 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:33:38 Merging remotes/origin/main commit 3f477d47c6517606b32e01b3b7dfc9f0ed41c93b into PR head commit 21a2c126823925867dd6956e6f8909a9745991de 19:33:39 Merge succeeded, producing 21a2c126823925867dd6956e6f8909a9745991de 19:33:39 Checking out Revision 21a2c126823925867dd6956e6f8909a9745991de (PR-422) 19:33:38 > git config core.sparsecheckout # timeout=10 19:33:38 > git checkout -f 21a2c126823925867dd6956e6f8909a9745991de # timeout=10 19:33:39 > git remote # timeout=10 19:33:39 > git config --get remote.origin.url # timeout=10 19:33:39 using GIT_SSH to set credentials SSH Credentials for GitHub 19:33:39 > git merge 3f477d47c6517606b32e01b3b7dfc9f0ed41c93b # timeout=10 19:33:39 > git rev-parse HEAD^{commit} # timeout=10 19:33:39 > git config core.sparsecheckout # timeout=10 19:33:39 > git checkout -f 21a2c126823925867dd6956e6f8909a9745991de # timeout=10 19:33:43 Commit message: "Merge branch 'main' into fix-port" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:33:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:33:44 % Total % Received % Xferd Average Speed Time Time Time Current 19:33:44 Dload Upload Total Spent Left Speed 19:33:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 89 11843 89 10502 0 0 84016 0 --:--:-- --:--:-- --:--:-- 83349 100 11843 100 11843 0 0 93992 0 --:--:-- --:--:-- --:--:-- 93251 [Pipeline] sh 19:33:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:33:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:33:45 + sudo tee /etc/docker/daemon.new 19:33:45 { 19:33:45 "registry-mirrors": [ 19:33:45 "https://nexus3.edgexfoundry.org:10001" 19:33:45 ], 19:33:45 "bip": "10.250.0.254/24", 19:33:45 "hosts": [ 19:33:45 "tcp://0.0.0.0:5555", 19:33:45 "unix:///var/run/docker.sock" 19:33:45 ], 19:33:45 "mtu": 1458, 19:33:45 "selinux-enabled": true, 19:33:45 "seccomp-profile": "/etc/docker/seccomp.json" 19:33:45 } [Pipeline] sh 19:33:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:33:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:34:04 provisioning config files... 19:34:04 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config5594749982911926071tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:34:04 ---> docker-login.sh 19:34:04 nexus3.edgexfoundry.org:10001 19:34:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:34:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:34:05 Configure a credential helper to remove this warning. See 19:34:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:34:05 19:34:05 Login Succeeded 19:34:05 nexus3.edgexfoundry.org:10002 19:34:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:34:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:34:05 Configure a credential helper to remove this warning. See 19:34:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:34:05 19:34:05 Login Succeeded 19:34:05 nexus3.edgexfoundry.org:10003 19:34:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:34:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:34:06 Configure a credential helper to remove this warning. See 19:34:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:34:06 19:34:06 Login Succeeded 19:34:06 nexus3.edgexfoundry.org:10004 19:34:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:34:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:34:06 Configure a credential helper to remove this warning. See 19:34:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:34:06 19:34:06 Login Succeeded 19:34:06 docker.io 19:34:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:34:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:34:07 Configure a credential helper to remove this warning. See 19:34:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:34:07 19:34:07 Login Succeeded 19:34:07 ---> docker-login.sh ends [Pipeline] } 19:34:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:34:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:34:07 ========================================================= 19:34:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 19:34:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 19:34: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 . 19:34:08 Sending build context to Docker daemon 203.3kB 19:34:08 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 19:34:08 Step 2/13 : FROM ${BASE} AS builder 19:34:08 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:34:08 9b3977197b4f: Pulling fs layer 19:34:08 1a89e8eeedd5: Pulling fs layer 19:34:08 94645a83ff95: Pulling fs layer 19:34:08 3f3a8bcf1eab: Pulling fs layer 19:34:08 0c92f367c5e7: Pulling fs layer 19:34:08 3096ccb668a1: Pulling fs layer 19:34:08 e8cf19c19ddd: Pulling fs layer 19:34:08 a4caa8a26152: Pulling fs layer 19:34:08 3f3a8bcf1eab: Waiting 19:34:08 0c92f367c5e7: Waiting 19:34:08 e8cf19c19ddd: Waiting 19:34:08 3096ccb668a1: Waiting 19:34:08 a4caa8a26152: Waiting 19:34:08 94645a83ff95: Verifying Checksum 19:34:08 94645a83ff95: Download complete 19:34:08 1a89e8eeedd5: Verifying Checksum 19:34:08 1a89e8eeedd5: Download complete 19:34:08 0c92f367c5e7: Verifying Checksum 19:34:08 0c92f367c5e7: Download complete 19:34:08 3096ccb668a1: Download complete 19:34:08 9b3977197b4f: Verifying Checksum 19:34:08 9b3977197b4f: Download complete 19:34:08 e8cf19c19ddd: Verifying Checksum 19:34:08 e8cf19c19ddd: Download complete 19:34:09 9b3977197b4f: Pull complete 19:34:09 1a89e8eeedd5: Pull complete 19:34:10 94645a83ff95: Pull complete 19:34:10 a4caa8a26152: Verifying Checksum 19:34:10 a4caa8a26152: Download complete 19:34:11 3f3a8bcf1eab: Verifying Checksum 19:34:11 3f3a8bcf1eab: Download complete 19:34:23 3f3a8bcf1eab: Pull complete 19:34:23 0c92f367c5e7: Pull complete 19:34:23 3096ccb668a1: Pull complete 19:34:23 e8cf19c19ddd: Pull complete 19:34:30 a4caa8a26152: Pull complete 19:34:30 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 19:34:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 19:34:30 ---> 725f1c02e7f9 19:34:30 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 19:34:31 ---> Running in bae909ab31f3 19:34:31 Removing intermediate container bae909ab31f3 19:34:31 ---> de121de54ca9 19:34:31 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 19:34:31 ---> Running in 4b59674be5da 19:34:32 Removing intermediate container 4b59674be5da 19:34:32 ---> 473902e85c37 19:34:32 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 19:34:32 ---> Running in 004204c23bbb 19:34:32 Removing intermediate container 004204c23bbb 19:34:32 ---> cf2e536e973e 19:34:32 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:34:32 ---> Running in 70fc94e45095 19:34:34 Removing intermediate container 70fc94e45095 19:34:34 ---> 43437b48ca45 19:34:34 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:34:34 ---> Running in 60015730061a 19:34:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 19:34:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 19:34:37 OK: 220 MiB in 52 packages 19:34:37 Removing intermediate container 60015730061a 19:34:37 ---> b22888bfefe0 19:34:37 Step 8/13 : WORKDIR /app 19:34:37 ---> Running in 005228c098e6 19:34:38 Removing intermediate container 005228c098e6 19:34:38 ---> b87bc84001c6 19:34:38 Step 9/13 : COPY go.mod vendor* ./ 19:34:38 ---> c54b4b0be497 19:34:38 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:34:38 ---> Running in d9631cb85367 19:35:25 Removing intermediate container d9631cb85367 19:35:25 ---> fb367a2ee8a1 19:35:25 Step 11/13 : COPY . . 19:35:25 ---> 7d476ade745e 19:35:25 Step 12/13 : ARG MAKE="make build" 19:35:25 ---> Running in 9e2c0fa3c9ad 19:35:25 Removing intermediate container 9e2c0fa3c9ad 19:35:25 ---> d0d56fb61656 19:35:25 Step 13/13 : RUN $MAKE 19:35:25 ---> Running in 5357d187ee08 19:35:25 noop 19:35:25 Removing intermediate container 5357d187ee08 19:35:25 ---> ce5b39d0123d 19:35:25 Successfully built ce5b39d0123d 19:35:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:35:26 + docker inspect -f . ci-base-image-arm64 19:35:26 . [Pipeline] withDockerContainer 19:35:26 prd-ubuntu20.04-docker-arm64-4c-16g-63175 does not seem to be running inside a container 19:35:26 $ 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 19:35:27 $ docker top e066a572915d81eb937c39dc49c7bf9c4ec80b68aa8ffcfcb0b0158e7b733c7f -eo pid,comm [Pipeline] { [Pipeline] sh 19:35:28 + go version 19:35:28 go version go1.17.6 linux/arm64 [Pipeline] } 19:35:28 $ docker stop --time=1 e066a572915d81eb937c39dc49c7bf9c4ec80b68aa8ffcfcb0b0158e7b733c7f 19:35:30 $ docker rm -f e066a572915d81eb937c39dc49c7bf9c4ec80b68aa8ffcfcb0b0158e7b733c7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:35:30 + docker inspect -f . ci-base-image-arm64 19:35:30 . [Pipeline] withDockerContainer 19:35:31 prd-ubuntu20.04-docker-arm64-4c-16g-63175 does not seem to be running inside a container 19:35:31 $ 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 19:35:32 $ docker top a4ec87fe3718a591d831f2fcf3bba88783540ee137026d3e152f62b7530c52b3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:35:33 + make test 19:35:33 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 19:36:55 ? github.com/edgexfoundry/app-service-configurable [no test files] 19:36:55 CGO_ENABLED=1 go vet ./... 19:37:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:37:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:37:13 ./bin/test-attribution-txt.sh [Pipeline] echo 19:37:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:37:16 $ docker stop --time=1 a4ec87fe3718a591d831f2fcf3bba88783540ee137026d3e152f62b7530c52b3 19:37:18 $ docker rm -f a4ec87fe3718a591d831f2fcf3bba88783540ee137026d3e152f62b7530c52b3 [Pipeline] // withDockerContainer [Pipeline] sh 19:37:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:37:19 Warning: overwriting stash ‘coverage-report’ 19:37:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:37:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:37:20 + ls -al . 19:37:20 total 164 19:37:20 drwxrwxr-x 7 jenkins jenkins 4096 May 11 19:37 . 19:37:20 drwxrwxr-x 4 jenkins jenkins 4096 May 11 19:33 .. 19:37:20 -rw-rw-r-- 1 jenkins jenkins 119 May 11 19:33 .dockerignore 19:37:20 drwxrwxr-x 8 jenkins jenkins 4096 May 11 19:33 .git 19:37:20 drwxrwxr-x 3 jenkins jenkins 4096 May 11 19:33 .github 19:37:20 -rw-rw-r-- 1 jenkins jenkins 104 May 11 19:33 .gitignore 19:37:20 -rw-rw-r-- 1 jenkins jenkins 8695 May 11 19:33 Attribution.txt 19:37:20 -rw-rw-r-- 1 jenkins jenkins 27269 May 11 19:33 CHANGELOG.md 19:37:20 -rw-rw-r-- 1 jenkins jenkins 2087 May 11 19:33 Dockerfile 19:37:20 -rw-rw-r-- 1 jenkins jenkins 677 May 11 19:33 GOVERNANCE.md 19:37:20 -rw-rw-r-- 1 jenkins jenkins 688 May 11 19:33 Jenkinsfile 19:37:20 -rw-rw-r-- 1 jenkins jenkins 10174 May 11 19:33 LICENSE 19:37:20 -rw-rw-r-- 1 jenkins jenkins 618 May 11 19:33 OWNERS.md 19:37:20 -rw-rw-r-- 1 jenkins jenkins 3718 May 11 19:33 README.md 19:37:20 -rw-rw-r-- 1 jenkins jenkins 5 May 11 19:31 VERSION 19:37:20 drwxrwxr-x 2 jenkins jenkins 4096 May 11 19:33 bin 19:37:20 -rw-r--r-- 1 jenkins jenkins 10 May 11 19:35 coverage.out 19:37:20 -rw-rw-r-- 1 jenkins jenkins 3222 May 11 19:33 go.mod 19:37:20 -rw-rw-r-- 1 jenkins jenkins 34558 May 11 19:33 go.sum 19:37:20 -rw-rw-r-- 1 jenkins jenkins 1949 May 11 19:33 main.go 19:37:20 -rw-rw-r-- 1 jenkins jenkins 2007 May 11 19:33 makefile 19:37:20 drwxrwxr-x 10 jenkins jenkins 4096 May 11 19:33 res 19:37:20 drwxrwxr-x 3 jenkins jenkins 4096 May 11 19:33 snap [Pipeline] isUnix [Pipeline] sh 19:37: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=21a2c126823925867dd6956e6f8909a9745991de --label arch=arm64 --label version=0.0.0 . 19:37:21 Sending build context to Docker daemon 204.3kB 19:37:21 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 19:37:21 Step 2/27 : FROM ${BASE} AS builder 19:37:21 ---> ce5b39d0123d 19:37:21 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 19:37:21 ---> Running in 02cddc1c74d3 19:37:22 Removing intermediate container 02cddc1c74d3 19:37:22 ---> 816c2851abe8 19:37:22 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 19:37:22 ---> Running in 8e2cde25daa3 19:37:22 Removing intermediate container 8e2cde25daa3 19:37:22 ---> b97398951c54 19:37:22 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 19:37:22 ---> Running in 9535390135bc 19:37:22 Removing intermediate container 9535390135bc 19:37:22 ---> dc5494de31c1 19:37:22 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:37:22 ---> Running in e86abef49f64 19:37:24 Removing intermediate container e86abef49f64 19:37:24 ---> 22a4e509a95d 19:37:24 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:37:24 ---> Running in 1d9936e0ddd0 19:37:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 19:37:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 19:37:27 OK: 220 MiB in 52 packages 19:37:27 Removing intermediate container 1d9936e0ddd0 19:37:27 ---> 9fa8c7532cf1 19:37:27 Step 8/27 : WORKDIR /app 19:37:27 ---> Running in 2476e5b0e663 19:37:28 Removing intermediate container 2476e5b0e663 19:37:28 ---> cea63d1501b6 19:37:28 Step 9/27 : COPY go.mod vendor* ./ 19:37:28 ---> 47b27690d815 19:37:28 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:37:28 ---> Running in adf6a7bf6788 19:37:30 Removing intermediate container adf6a7bf6788 19:37:30 ---> b812c3774028 19:37:30 Step 11/27 : COPY . . 19:37:31 ---> c139e6a8f2a5 19:37:31 Step 12/27 : ARG MAKE="make build" 19:37:31 ---> Running in 69c73ede8e31 19:37:31 Removing intermediate container 69c73ede8e31 19:37:31 ---> e23d8ff182b8 19:37:31 Step 13/27 : RUN $MAKE 19:37:31 ---> Running in e6f837ca4bdc 19:37:32 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 19:39:39 Removing intermediate container e6f837ca4bdc 19:39:39 ---> 93eb832b0858 19:39:39 Step 14/27 : FROM alpine:3.14 19:39:39 3.14: Pulling from library/alpine 19:39:39 455c02918c45: Pulling fs layer 19:39:39 455c02918c45: Verifying Checksum 19:39:39 455c02918c45: Download complete 19:39:39 455c02918c45: Pull complete 19:39:39 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 19:39:39 Status: Downloaded newer image for alpine:3.14 19:39:39 ---> ac73e934f311 19:39:39 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 19:39:39 ---> Running in d3fb6a044eb7 19:39:39 Removing intermediate container d3fb6a044eb7 19:39:39 ---> d7699a22b635 19:39:39 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 19:39:39 ---> Running in 3f8461412550 19:39:39 Removing intermediate container 3f8461412550 19:39:39 ---> 8b4b7ad1002c 19:39:39 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 19:39:39 ---> Running in 7872a383042f 19:39:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 19:39:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 19:39:40 (1/7) Installing ca-certificates (20211220-r0) 19:39:40 (2/7) Installing dumb-init (1.2.5-r1) 19:39:40 (3/7) Installing libgcc (10.3.1_git20210424-r2) 19:39:40 (4/7) Installing libsodium (1.0.18-r0) 19:39:40 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 19:39:40 (6/7) Installing libzmq (4.3.4-r0) 19:39:40 (7/7) Installing zeromq (4.3.4-r0) 19:39:40 Executing busybox-1.33.1-r7.trigger 19:39:40 Executing ca-certificates-20211220-r0.trigger 19:39:40 OK: 9 MiB in 21 packages 19:39:41 Removing intermediate container 7872a383042f 19:39:41 ---> 48eaf4ac48e8 19:39:41 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 19:39:42 ---> d97f2527a7f5 19:39:42 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 19:39:42 ---> d5695a370a13 19:39:42 Step 20/27 : COPY --from=builder /app/res/ /res/ 19:39:43 ---> 6191fdbc8e82 19:39:43 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 19:39:45 ---> 6b663d2e9a2e 19:39:45 Step 22/27 : EXPOSE 48095 19:39:45 ---> Running in e7a175f457c8 19:39:45 Removing intermediate container e7a175f457c8 19:39:45 ---> 4f6451ef6c47 19:39:45 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 19:39:45 ---> Running in daf71e59cacf 19:39:45 Removing intermediate container daf71e59cacf 19:39:45 ---> de0510c66d71 19:39:45 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:39:45 ---> Running in 59b1dab7fb97 19:39:46 Removing intermediate container 59b1dab7fb97 19:39:46 ---> 4d85510227a0 19:39:46 Step 25/27 : LABEL arch=arm64 19:39:46 ---> Running in 785cc4c01071 19:39:46 Removing intermediate container 785cc4c01071 19:39:46 ---> 46c28e1ca117 19:39:46 Step 26/27 : LABEL git_sha=21a2c126823925867dd6956e6f8909a9745991de 19:39:46 ---> Running in 6c57ec8f8d83 19:39:46 Removing intermediate container 6c57ec8f8d83 19:39:46 ---> a807e6f7e145 19:39:46 Step 27/27 : LABEL version=0.0.0 19:39:47 ---> Running in 1402ced46fe1 19:39:47 Removing intermediate container 1402ced46fe1 19:39:47 ---> de71851a3131 19:39:47 [Warning] One or more build-args [ARCH] were not consumed 19:39:47 Successfully built de71851a3131 19:39:47 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 19:39:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:39:47 19:39:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 19:39:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:39:48 arm64: Pulling from edgex-lftools-log-publisher 19:39:48 8998bd30e6a1: Pulling fs layer 19:39:48 04944245beec: Pulling fs layer 19:39:48 699f458cf7ca: Pulling fs layer 19:39:48 765212b225bb: Pulling fs layer 19:39:48 f23df028b6ca: Pulling fs layer 19:39:48 d65c8cfc05b1: Pulling fs layer 19:39:48 765212b225bb: Waiting 19:39:48 f23df028b6ca: Waiting 19:39:48 d65c8cfc05b1: Waiting 19:39:48 2437ff75d9bd: Pulling fs layer 19:39:48 2437ff75d9bd: Waiting 19:39:48 04944245beec: Verifying Checksum 19:39:48 04944245beec: Download complete 19:39:48 765212b225bb: Verifying Checksum 19:39:48 765212b225bb: Download complete 19:39:48 f23df028b6ca: Verifying Checksum 19:39:48 f23df028b6ca: Download complete 19:39:48 d65c8cfc05b1: Verifying Checksum 19:39:48 d65c8cfc05b1: Download complete 19:39:48 699f458cf7ca: Verifying Checksum 19:39:48 699f458cf7ca: Download complete 19:39:49 8998bd30e6a1: Verifying Checksum 19:39:49 8998bd30e6a1: Download complete 19:39:51 2437ff75d9bd: Verifying Checksum 19:39:51 2437ff75d9bd: Download complete 19:39:53 8998bd30e6a1: Pull complete 19:39:53 04944245beec: Pull complete 19:39:55 699f458cf7ca: Pull complete 19:39:55 765212b225bb: Pull complete 19:39:56 f23df028b6ca: Pull complete 19:39:56 d65c8cfc05b1: Pull complete 19:40:12 2437ff75d9bd: Pull complete 19:40:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:40:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:40:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 19:40:12 prd-ubuntu20.04-docker-arm64-4c-16g-63175 does not seem to be running inside a container 19:40:12 $ 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 19:40:15 $ docker top 93cb3f48ea27bb24cd12180de11ac93aa2db80c30a94872815827ba1466c64e5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:40:16 ---> job-cost.sh 19:40:16 lf-activate-venv: SKIPPING 19:40:16 INFO: No Stack... 19:40:16 INFO: Retrieving Pricing Info for: v3-standard-4 19:40:17 INFO: Archiving Costs [Pipeline] sh 19:40:18 + + catcut -d, -f6 19:40:18 /w/workspace/app-service-configurable/2/archives/cost.csv [Pipeline] lock 19:40:18 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-422-2-stack-cost] 19:40:18 Resource [jenkins-edgexfoundry-app-service-configurable-PR-422-2-stack-cost] did not exist. Created. 19:40:18 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-422-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:40:19 /w/workspace/app-service-configurable/2@tmp/durable-2c7eefe4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:40:19 + echo total: 0.10999999940395355 [Pipeline] stash 19:40:19 Warning: overwriting stash ‘stack-cost’ 19:40:19 Stashed 1 file(s) [Pipeline] } 19:40:19 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-422-2-stack-cost] [Pipeline] // lock [Pipeline] } 19:40:19 $ docker stop --time=1 93cb3f48ea27bb24cd12180de11ac93aa2db80c30a94872815827ba1466c64e5 19:40:21 $ docker rm -f 93cb3f48ea27bb24cd12180de11ac93aa2db80c30a94872815827ba1466c64e5 [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 19:40:21 provisioning config files... 19:40:21 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-422@tmp/config7769032329567931642tmp [Pipeline] { [Pipeline] sh 19:40:22 + set +x 19:40:22 + curl -s https://codecov.io/bash 19:40:22 + bash -s -- 19:40:22 19:40:22 _____ _ 19:40:22 / ____| | | 19:40:22 | | ___ __| | ___ ___ _____ __ 19:40:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:40:22 | |___| (_) | (_| | __/ (_| (_) \ V / 19:40:22 \_____\___/ \__,_|\___|\___\___/ \_/ 19:40:22 Bash-1.0.6 19:40:22 19:40:22 19:40:22 ==> git version 2.25.1 found 19:40:22 ==> 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 19:40:22 Release-Date: 2020-01-08 19:40:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:40:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:40:22 ==> Jenkins CI detected. 19:40:22 current dir:  /w/workspace/_app-service-configurable_PR-422 19:40:22 project root: . 19:40:22 --> token set from env 19:40:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:40:22 ==> Running gcov in . (disable via -X gcov) 19:40:22 ==> Python coveragepy not found 19:40:22 ==> Searching for coverage reports in: 19:40:22 + . 19:40:22 -> Found 1 reports 19:40:22 ==> Detecting git/mercurial file structure 19:40:22 ==> Reading reports 19:40:22 + ./coverage.out bytes=10 19:40:22 ==> Appending adjustments 19:40:22 https://docs.codecov.io/docs/fixing-reports 19:40:22 + Found adjustments 19:40:22 ==> Gzipping contents 19:40:22 4.0K /tmp/codecov.O4gzqE.gz 19:40:22 ==> Uploading reports 19:40:22 url: https://codecov.io 19:40:22 query: branch=PR-422&commit=21a2c126823925867dd6956e6f8909a9745991de&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-422%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=422&job=&cmd_args= 19:40:22 -> Pinging Codecov 19:40:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-422&commit=21a2c126823925867dd6956e6f8909a9745991de&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-422%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=422&job=&cmd_args= 19:40:22 -> Uploading to 19:40:22 https://storage.googleapis.com/codecov/v4/raw/2022-05-11/A97CA9966030D2A3747ED39772930CCE/21a2c126823925867dd6956e6f8909a9745991de/7c2f06e3-a1ea-4631-9a1e-95d40354a574.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220511T194022Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=67aec5d6e2802e29df9e0d444979064262e70d19c7a549148a4ca7c034cfb50a 19:40:22 % Total % Received % Xferd Average Speed Time Time Time Current 19:40:22 Dload Upload Total Spent Left Speed 19:40:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 592 0 0 100 592 0 2387 --:--:-- --:--:-- --:--:-- 2387 19:40:22 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/21a2c126823925867dd6956e6f8909a9745991de [Pipeline] } 19:40:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:40:23 + [ -d /w/workspace/_app-service-configurable_PR-422/archives ] 19:40:23 + ls -al /w/workspace/_app-service-configurable_PR-422/archives 19:40:23 total 16 19:40:23 drwxr-xr-x 3 root root 4096 May 11 19:33 . 19:40:23 drwxrwxr-x 9 jenkins jenkins 4096 May 11 19:33 .. 19:40:23 drwxr-xr-x 2 root root 4096 May 11 19:33 cost 19:40:23 -rw-r--r-- 1 root root 95 May 11 19:33 cost.csv 19:40:23 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-422/archives 19:40:23 + ls -al /w/workspace/_app-service-configurable_PR-422/archives 19:40:23 total 16 19:40:23 drwxr-xr-x 3 jenkins jenkins 4096 May 11 19:33 . 19:40:23 drwxrwxr-x 9 jenkins jenkins 4096 May 11 19:33 .. 19:40:23 drwxr-xr-x 2 jenkins jenkins 4096 May 11 19:33 cost 19:40:23 -rw-r--r-- 1 jenkins jenkins 95 May 11 19:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:40:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:40:24 ---> package-listing.sh 19:40:24 ++ facter osfamily 19:40:24 ++ tr '[:upper:]' '[:lower:]' 19:40:25 + OS_FAMILY=debian 19:40:25 + workspace=/w/workspace/_app-service-configurable_PR-422 19:40:25 + START_PACKAGES=/tmp/packages_start.txt 19:40:25 + END_PACKAGES=/tmp/packages_end.txt 19:40:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:40:25 + PACKAGES=/tmp/packages_start.txt 19:40:25 + '[' /w/workspace/_app-service-configurable_PR-422 ']' 19:40:25 + PACKAGES=/tmp/packages_end.txt 19:40:25 + case "${OS_FAMILY}" in 19:40:25 + grep '^ii' 19:40:25 + dpkg -l 19:40:25 + '[' -f /tmp/packages_start.txt ']' 19:40:25 + '[' -f /tmp/packages_end.txt ']' 19:40:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:40:25 + '[' /w/workspace/_app-service-configurable_PR-422 ']' 19:40:25 + mkdir -p /w/workspace/_app-service-configurable_PR-422/archives/ 19:40:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-422/archives/ [Pipeline] echo 19:40:25 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-422/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:40:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 19:40:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:40:26 . [Pipeline] withDockerContainer 19:40:26 prd-ubuntu20.04-docker-8c-8g-63174 does not seem to be running inside a container 19:40:26 $ 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-422/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-422 -v /w/workspace/_app-service-configurable_PR-422:/w/workspace/_app-service-configurable_PR-422:rw,z -v /w/workspace/_app-service-configurable_PR-422@tmp:/w/workspace/_app-service-configurable_PR-422@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 19:40:26 $ docker top 40c0bb4211f9df9881291ec00c33f816db381f6fe31488e6874337953ee50685 -eo pid,comm [Pipeline] { [Pipeline] sh 19:40:26 + touch /tmp/pre-build-complete [Pipeline] sh 19:40:27 + mkdir -p /var/log/sysstat [Pipeline] sh 19:40:27 + ls /var/log/sa-host 19:40:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:40:27 provisioning config files... 19:40:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-422@tmp/config6708978410455966392tmp [Pipeline] { [Pipeline] echo 19:40:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:40:27 ---> create-netrc.sh [Pipeline] } 19:40:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:40:28 ---> python-tools-install.sh [Pipeline] echo 19:40:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:40:28 ---> sudo-logs.sh 19:40:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:40:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:40:28 ---> job-cost.sh 19:40:28 lf-activate-venv: SKIPPING 19:40:28 DEBUG: total: 0.2199999988079071 19:40:28 INFO: Retrieving Stack Cost... 19:40:29 INFO: Retrieving Pricing Info for: v3-standard-8 19:40:29 INFO: Archiving Costs [Pipeline] echo 19:40:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:40:30 ---> logs-deploy.sh 19:40:30 lf-activate-venv: SKIPPING 19:40:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-422/2 19:40:30 INFO: archiving workspace using pattern(s): 19:40:30 Archives upload complete. 19:40:30 INFO: archiving logs to Nexus