MonicaisHer commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 9d000e3b7eb660a7d721305ec91505697408c0ee+0ec6f6647dd09fd78b7f2ede1f224ac506661311 (19f8ecc32576c8134d245da07fbcd678a9b460fb) 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-ssh9253091146378850805.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4273291834025803749.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-417/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-417/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16162504397640503177.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11078840564098768605.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-417/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-417/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6024542496852193380.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-47175 in /w/workspace/_app-service-configurable_PR-417 [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-417 # 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 0ec6f6647dd09fd78b7f2ede1f224ac506661311 into PR head commit 9d000e3b7eb660a7d721305ec91505697408c0ee Merge succeeded, producing 9d000e3b7eb660a7d721305ec91505697408c0ee Checking out Revision 9d000e3b7eb660a7d721305ec91505697408c0ee (PR-417) > 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/417/head:refs/remotes/origin/PR-417 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9d000e3b7eb660a7d721305ec91505697408c0ee # 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 0ec6f6647dd09fd78b7f2ede1f224ac506661311 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9d000e3b7eb660a7d721305ec91505697408c0ee # timeout=10 Commit message: "build(snap): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks" > git rev-list --no-walk 9d000e3b7eb660a7d721305ec91505697408c0ee # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:34:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:34:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:34:05 ========================================================= 09:34:05 EdgeX Global Pipelines Version Info 09:34:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:34:05 ------------------- 09:34:05 stable info: 09:34:05 ------------------- 09:34:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:34:05 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 09:34:05 Message: update stable to v1.0.227 09:34:06 ------------------- 09:34:06 experimental info: 09:34:06 ------------------- 09:34:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:34:06 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 09:34:06 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:34:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 09:34:06 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 09:34:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:34:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:34:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:34:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 09:34:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:34:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:34:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:34:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:34:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:34:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 09:34:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:34:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:34:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:34:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:34:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:34:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:34:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:34:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:34:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:34:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:34:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:34:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:34:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:34:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:34:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-417 [Pipeline] echo 09:34:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-417 [Pipeline] echo 09:34:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-417 [Pipeline] echo 09:34:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9d000e3b7eb660a7d721305ec91505697408c0ee [Pipeline] echo 09:34:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9d000e3 [Pipeline] echo 09:34:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:34:07 provisioning config files... 09:34:07 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-417@tmp/config4906929519161521997tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:34:07 ---> docker-login.sh 09:34:07 nexus3.edgexfoundry.org:10001 09:34:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:34:07 Configure a credential helper to remove this warning. See 09:34:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:34:07 09:34:07 Login Succeeded 09:34:07 nexus3.edgexfoundry.org:10002 09:34:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:34:07 Configure a credential helper to remove this warning. See 09:34:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:34:07 09:34:07 Login Succeeded 09:34:07 nexus3.edgexfoundry.org:10003 09:34:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:34:08 Configure a credential helper to remove this warning. See 09:34:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:34:08 09:34:08 Login Succeeded 09:34:08 nexus3.edgexfoundry.org:10004 09:34:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:34:08 Configure a credential helper to remove this warning. See 09:34:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:34:08 09:34:08 Login Succeeded 09:34:08 docker.io 09:34:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:34:08 Configure a credential helper to remove this warning. See 09:34:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:34:08 09:34:08 Login Succeeded 09:34:08 ---> docker-login.sh ends [Pipeline] } 09:34:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:34:09 + git rev-list -1 --merges 9d000e3b7eb660a7d721305ec91505697408c0ee~1..9d000e3b7eb660a7d721305ec91505697408c0ee [Pipeline] echo 09:34:09 -----------> git rev-list -1 --merges 9d000e3b7eb660a7d721305ec91505697408c0ee~1..9d000e3b7eb660a7d721305ec91505697408c0ee 9d000e3b7eb660a7d721305ec91505697408c0ee [false] [Pipeline] sh 09:34:09 + git log --format=format:%s -1 9d000e3b7eb660a7d721305ec91505697408c0ee [Pipeline] echo 09:34:09 ========================================================= 09:34:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:34:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:34:09 + git log --format=format:%s -1 9d000e3b7eb660a7d721305ec91505697408c0ee [Pipeline] echo 09:34:09 [semverPrep] GIT_COMMIT: 9d000e3b7eb660a7d721305ec91505697408c0ee, Commit Message: build(snap): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks [Pipeline] echo 09:34:09 [semverPrep] This is not a build commit. [Pipeline] sh 09:34:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:34:10 + grep -v github /etc/ssh/ssh_known_hosts 09:34:10 + [ -e /tmp/ssh_known_hosts ] 09:34:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:34:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:34:10 + sudo tee -a /etc/ssh/ssh_known_hosts 09:34:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 09:34:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 09:34:10 09:34:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:34:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 09:34:11 latest: Pulling from edgex-devops/py-git-semver 09:34:11 1fe172e4850f: Pulling fs layer 09:34:11 caf521ccaac6: Pulling fs layer 09:34:11 3ead6fa29328: Pulling fs layer 09:34:11 5c2a1cbceb83: Pulling fs layer 09:34:11 a8d5f1318db7: Pulling fs layer 09:34:11 c427282e49a2: Pulling fs layer 09:34:11 1827001aaf11: Pulling fs layer 09:34:11 0714d37db230: Pulling fs layer 09:34:11 ac28cf19c067: Pulling fs layer 09:34:11 ca983d60f3e2: Pulling fs layer 09:34:11 9f894cec8388: Pulling fs layer 09:34:11 a8d5f1318db7: Waiting 09:34:11 c427282e49a2: Waiting 09:34:11 1827001aaf11: Waiting 09:34:11 0714d37db230: Waiting 09:34:11 9f894cec8388: Waiting 09:34:11 ac28cf19c067: Waiting 09:34:11 ca983d60f3e2: Waiting 09:34:11 5c2a1cbceb83: Waiting 09:34:11 caf521ccaac6: Verifying Checksum 09:34:11 caf521ccaac6: Download complete 09:34:11 5c2a1cbceb83: Verifying Checksum 09:34:11 5c2a1cbceb83: Download complete 09:34:11 a8d5f1318db7: Verifying Checksum 09:34:11 a8d5f1318db7: Download complete 09:34:11 c427282e49a2: Download complete 09:34:11 3ead6fa29328: Verifying Checksum 09:34:11 3ead6fa29328: Download complete 09:34:11 0714d37db230: Verifying Checksum 09:34:11 0714d37db230: Download complete 09:34:11 ac28cf19c067: Verifying Checksum 09:34:11 ac28cf19c067: Download complete 09:34:11 ca983d60f3e2: Download complete 09:34:11 9f894cec8388: Verifying Checksum 09:34:11 9f894cec8388: Download complete 09:34:11 1fe172e4850f: Verifying Checksum 09:34:11 1fe172e4850f: Download complete 09:34:11 1827001aaf11: Verifying Checksum 09:34:11 1827001aaf11: Download complete 09:34:13 1fe172e4850f: Pull complete 09:34:13 caf521ccaac6: Pull complete 09:34:13 3ead6fa29328: Pull complete 09:34:13 5c2a1cbceb83: Pull complete 09:34:13 a8d5f1318db7: Pull complete 09:34:14 c427282e49a2: Pull complete 09:34:16 1827001aaf11: Pull complete 09:34:16 0714d37db230: Pull complete 09:34:16 ac28cf19c067: Pull complete 09:34:16 ca983d60f3e2: Pull complete 09:34:16 9f894cec8388: Pull complete 09:34:16 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 09:34:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 09:34:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 09:34:16 prd-ubuntu20.04-docker-8c-8g-47175 does not seem to be running inside a container 09:34:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-417 -v /w/workspace/_app-service-configurable_PR-417:/w/workspace/_app-service-configurable_PR-417:rw,z -v /w/workspace/_app-service-configurable_PR-417@tmp:/w/workspace/_app-service-configurable_PR-417@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 09:34:18 $ docker top 5eeb69662faef26f382777d831aef502ec860965259413062219e798f4b13386 -eo pid,comm 09:34:18 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). 09:34:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:34:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:34:18 [ssh-agent] Looking for ssh-agent implementation... 09:34:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:34:18 $ docker exec 5eeb69662faef26f382777d831aef502ec860965259413062219e798f4b13386 ssh-agent 09:34:18 SSH_AUTH_SOCK=/tmp/ssh-AL4ggDIEnwuI/agent.33 09:34:18 SSH_AGENT_PID=39 09:34:18 Running ssh-add (command line suppressed) 09:34:18 Identity added: /w/workspace/_app-service-configurable_PR-417@tmp/private_key_2719285672470779993.key (/w/workspace/_app-service-configurable_PR-417@tmp/private_key_2719285672470779993.key) 09:34:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:34:19 + git tag --points-at HEAD [Pipeline] } 09:34:19 $ docker exec --env ******** --env ******** 5eeb69662faef26f382777d831aef502ec860965259413062219e798f4b13386 ssh-agent -k 09:34:19 unset SSH_AUTH_SOCK; 09:34:19 unset SSH_AGENT_PID; 09:34:19 echo Agent pid 39 killed; 09:34:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:34:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:34:19 [ssh-agent] Looking for ssh-agent implementation... 09:34:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:34:19 $ docker exec 5eeb69662faef26f382777d831aef502ec860965259413062219e798f4b13386 ssh-agent 09:34:19 SSH_AUTH_SOCK=/tmp/ssh-LxlhSbKSMN22/agent.73 09:34:19 SSH_AGENT_PID=79 09:34:19 Running ssh-add (command line suppressed) 09:34:19 Identity added: /w/workspace/_app-service-configurable_PR-417@tmp/private_key_6128529971831149659.key (/w/workspace/_app-service-configurable_PR-417@tmp/private_key_6128529971831149659.key) 09:34:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:34:19 + git semver init 09:34:20 2022-05-10 09:34:20,094 [run_init] DEBUG init version:0.0.0 force:False 09:34:20 2022-05-10 09:34:20,095 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-417/.semver 09:34:20 2022-05-10 09:34:20,095 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-417/.semver 09:34:20 2022-05-10 09:34:20,096 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-417/.semver'], cwd=/w/workspace/_app-service-configurable_PR-417, universal_newlines=False, shell=None, istream=None) 09:34:21 2022-05-10 09:34:20,908 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-417/.git/info/exclude 09:34:21 2022-05-10 09:34:20,909 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-417/.semver/PR-417 with force:False 09:34:21 2022-05-10 09:34:20,909 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-417/.semver/PR-417 09:34:21 2022-05-10 09:34:20,914 [execute] INFO git cat-file --batch-check 09:34:21 2022-05-10 09:34:20,914 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-417/.semver, universal_newlines=False, shell=None, istream=) 09:34:21 2022-05-10 09:34:20,921 [execute] INFO git cat-file --batch 09:34:21 2022-05-10 09:34:20,922 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-417/.semver, universal_newlines=False, shell=None, istream=) 09:34:21 2022-05-10 09:34:20,928 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-417/.semver/PR-417 09:34:21 0.0.0 [Pipeline] } 09:34:21 $ docker exec --env ******** --env ******** 5eeb69662faef26f382777d831aef502ec860965259413062219e798f4b13386 ssh-agent -k 09:34:21 unset SSH_AUTH_SOCK; 09:34:21 unset SSH_AGENT_PID; 09:34:21 echo Agent pid 79 killed; 09:34:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:34:21 + git semver [Pipeline] } 09:34:21 $ docker stop --time=1 5eeb69662faef26f382777d831aef502ec860965259413062219e798f4b13386 09:34:23 $ docker rm -f 5eeb69662faef26f382777d831aef502ec860965259413062219e798f4b13386 [Pipeline] // withDockerContainer [Pipeline] sh 09:34:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:34:23 Stashed 1 file(s) [Pipeline] echo 09:34:23 [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 09:34:23 provisioning config files... 09:34:23 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-417@tmp/config2105822719981449693tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:34:24 ---> docker-login.sh 09:34:24 nexus3.edgexfoundry.org:10001 09:34:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:34:24 Configure a credential helper to remove this warning. See 09:34:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:34:24 09:34:24 Login Succeeded 09:34:24 nexus3.edgexfoundry.org:10002 09:34:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:34:24 Configure a credential helper to remove this warning. See 09:34:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:34:24 09:34:24 Login Succeeded 09:34:24 nexus3.edgexfoundry.org:10003 09:34:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:34:24 Configure a credential helper to remove this warning. See 09:34:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:34:24 09:34:24 Login Succeeded 09:34:24 nexus3.edgexfoundry.org:10004 09:34:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:34:24 Configure a credential helper to remove this warning. See 09:34:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:34:24 09:34:24 Login Succeeded 09:34:24 docker.io 09:34:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:34:25 Configure a credential helper to remove this warning. See 09:34:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:34:25 09:34:25 Login Succeeded 09:34:25 ---> docker-login.sh ends [Pipeline] } 09:34:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:34:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:34:25 ========================================================= 09:34:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 09:34:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:34:25 + 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 . 09:34:25 Sending build context to Docker daemon 3.052MB 09:34:25 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 09:34:25 Step 2/13 : FROM ${BASE} AS builder 09:34:25 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 09:34:25 59bf1c3509f3: Pulling fs layer 09:34:25 666ba61612fd: Pulling fs layer 09:34:25 8ed8ca486205: Pulling fs layer 09:34:25 4fe6c5a15a65: Pulling fs layer 09:34:25 22a0e8bec74d: Pulling fs layer 09:34:25 ca2b28591e48: Pulling fs layer 09:34:25 a51346096db8: Pulling fs layer 09:34:25 daebc70d1ce1: Pulling fs layer 09:34:25 0e18a0eac166: Pulling fs layer 09:34:25 22a0e8bec74d: Waiting 09:34:25 4fe6c5a15a65: Waiting 09:34:25 ca2b28591e48: Waiting 09:34:25 daebc70d1ce1: Waiting 09:34:25 0e18a0eac166: Waiting 09:34:25 a51346096db8: Waiting 09:34:25 8ed8ca486205: Download complete 09:34:25 666ba61612fd: Download complete 09:34:25 22a0e8bec74d: Verifying Checksum 09:34:25 22a0e8bec74d: Download complete 09:34:26 ca2b28591e48: Verifying Checksum 09:34:26 a51346096db8: Download complete 09:34:26 59bf1c3509f3: Verifying Checksum 09:34:26 59bf1c3509f3: Download complete 09:34:26 59bf1c3509f3: Pull complete 09:34:26 daebc70d1ce1: Verifying Checksum 09:34:26 daebc70d1ce1: Download complete 09:34:26 666ba61612fd: Pull complete 09:34:26 8ed8ca486205: Pull complete 09:34:26 0e18a0eac166: Verifying Checksum 09:34:26 0e18a0eac166: Download complete 09:34:26 4fe6c5a15a65: Verifying Checksum 09:34:26 4fe6c5a15a65: Download complete 09:34:31 4fe6c5a15a65: Pull complete 09:34:31 22a0e8bec74d: Pull complete 09:34:31 ca2b28591e48: Pull complete 09:34:31 a51346096db8: Pull complete 09:34:31 daebc70d1ce1: Pull complete 09:34:33 0e18a0eac166: Pull complete 09:34:33 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 09:34:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 09:34:33 ---> f018257e8ee9 09:34:33 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 09:34:34 ---> Running in 34c10b0c8f82 09:34:34 Removing intermediate container 34c10b0c8f82 09:34:34 ---> d60477e43777 09:34:34 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 09:34:35 ---> Running in 7972ecc8b945 09:34:35 Removing intermediate container 7972ecc8b945 09:34:35 ---> 1923884d8c4e 09:34:35 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 09:34:35 ---> Running in 06ab5775b785 09:34:35 Removing intermediate container 06ab5775b785 09:34:35 ---> ca6fbb10fd5f 09:34:35 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:34:35 ---> Running in 07dc7a126039 09:34:36 Removing intermediate container 07dc7a126039 09:34:36 ---> 93c5861a9922 09:34:36 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:34:36 ---> Running in b6048705f159 09:34:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:34:37 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:34:37 OK: 221 MiB in 52 packages 09:34:37 Removing intermediate container b6048705f159 09:34:37 ---> c99d5f9abff8 09:34:37 Step 8/13 : WORKDIR /app 09:34:37 ---> Running in 4c14a75100f5 09:34:37 Removing intermediate container 4c14a75100f5 09:34:37 ---> c4fad24e5080 09:34:37 Step 9/13 : COPY go.mod vendor* ./ 09:34:38 ---> f4d4b7a2fb0a 09:34:38 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:34:38 ---> Running in ca3f93fd60c5 09:34:38 Still waiting to schedule task 09:34:38 ‘prd-ubuntu20.04-docker-arm64-4c-16g-47176’ is offline 09:34:56 Removing intermediate container ca3f93fd60c5 09:34:56 ---> bb6f88d96e11 09:34:56 Step 11/13 : COPY . . 09:34:56 ---> 2666370ff68b 09:34:56 Step 12/13 : ARG MAKE="make build" 09:34:56 ---> Running in 593c07c06023 09:34:56 Removing intermediate container 593c07c06023 09:34:56 ---> 77a100a1cd28 09:34:56 Step 13/13 : RUN $MAKE 09:34:56 ---> Running in b46dca06b61e 09:34:56 noop 09:34:56 Removing intermediate container b46dca06b61e 09:34:56 ---> cd91cba9b774 09:34:56 Successfully built cd91cba9b774 09:34:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:34:56 + docker inspect -f . ci-base-image-x86_64 09:34:56 . [Pipeline] withDockerContainer 09:34:56 prd-ubuntu20.04-docker-8c-8g-47175 does not seem to be running inside a container 09:34:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-417 -v /w/workspace/_app-service-configurable_PR-417:/w/workspace/_app-service-configurable_PR-417:rw,z -v /w/workspace/_app-service-configurable_PR-417@tmp:/w/workspace/_app-service-configurable_PR-417@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:34:57 $ docker top 0fe828e4ca958fb2b2da2eda87c182e5d38876231a6dcab0e16121146c99f633 -eo pid,comm [Pipeline] { [Pipeline] sh 09:34:57 + go version 09:34:57 go version go1.17.6 linux/amd64 [Pipeline] } 09:34:57 $ docker stop --time=1 0fe828e4ca958fb2b2da2eda87c182e5d38876231a6dcab0e16121146c99f633 09:34:58 $ docker rm -f 0fe828e4ca958fb2b2da2eda87c182e5d38876231a6dcab0e16121146c99f633 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:34:59 + docker inspect -f . ci-base-image-x86_64 09:34:59 . [Pipeline] withDockerContainer 09:34:59 prd-ubuntu20.04-docker-8c-8g-47175 does not seem to be running inside a container 09:34:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-417 -v /w/workspace/_app-service-configurable_PR-417:/w/workspace/_app-service-configurable_PR-417:rw,z -v /w/workspace/_app-service-configurable_PR-417@tmp:/w/workspace/_app-service-configurable_PR-417@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:34:59 $ docker top 6b57f3a1457cffb3740d5a6277e953fd325456900a74e84e06167e583e974d6c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:35:00 + make test 09:35:00 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 09:35:10 ? github.com/edgexfoundry/app-service-configurable [no test files] 09:35:10 CGO_ENABLED=1 go vet ./... 09:35:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:35:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:35:15 ./bin/test-attribution-txt.sh [Pipeline] echo 09:35:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:35:15 $ docker stop --time=1 6b57f3a1457cffb3740d5a6277e953fd325456900a74e84e06167e583e974d6c 09:35:17 $ docker rm -f 6b57f3a1457cffb3740d5a6277e953fd325456900a74e84e06167e583e974d6c [Pipeline] // withDockerContainer [Pipeline] sh 09:35:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:35:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:35:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:35:18 + ls -al . 09:35:18 total 164 09:35:18 drwxrwxr-x 8 jenkins jenkins 4096 May 10 09:35 . 09:35:18 drwxrwxr-x 4 jenkins jenkins 4096 May 10 09:33 .. 09:35:18 -rw-rw-r-- 1 jenkins jenkins 119 May 10 09:34 .dockerignore 09:35:18 drwxrwxr-x 8 jenkins jenkins 4096 May 10 09:34 .git 09:35:18 drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:34 .github 09:35:18 -rw-rw-r-- 1 jenkins jenkins 104 May 10 09:34 .gitignore 09:35:18 drwxr-xr-x 3 jenkins jenkins 4096 May 10 09:34 .semver 09:35:18 -rw-rw-r-- 1 jenkins jenkins 8695 May 10 09:34 Attribution.txt 09:35:18 -rw-rw-r-- 1 jenkins jenkins 23791 May 10 09:34 CHANGELOG.md 09:35:18 -rw-rw-r-- 1 jenkins jenkins 2087 May 10 09:34 Dockerfile 09:35:18 -rw-rw-r-- 1 jenkins jenkins 677 May 10 09:34 GOVERNANCE.md 09:35:18 -rw-rw-r-- 1 jenkins jenkins 688 May 10 09:34 Jenkinsfile 09:35:18 -rw-rw-r-- 1 jenkins jenkins 10174 May 10 09:34 LICENSE 09:35:18 -rw-rw-r-- 1 jenkins jenkins 618 May 10 09:34 OWNERS.md 09:35:18 -rw-rw-r-- 1 jenkins jenkins 3718 May 10 09:34 README.md 09:35:18 -rw-rw-r-- 1 jenkins jenkins 5 May 10 09:34 VERSION 09:35:18 drwxrwxr-x 2 jenkins jenkins 4096 May 10 09:34 bin 09:35:18 -rw-r--r-- 1 jenkins jenkins 10 May 10 09:35 coverage.out 09:35:18 -rw-rw-r-- 1 jenkins jenkins 3268 May 10 09:34 go.mod 09:35:18 -rw-rw-r-- 1 jenkins jenkins 34650 May 10 09:34 go.sum 09:35:18 -rw-rw-r-- 1 jenkins jenkins 1949 May 10 09:34 main.go 09:35:18 -rw-rw-r-- 1 jenkins jenkins 2007 May 10 09:34 makefile 09:35:18 drwxrwxr-x 10 jenkins jenkins 4096 May 10 09:34 res 09:35:18 drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:34 snap [Pipeline] isUnix [Pipeline] sh 09:35:19 + 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=9d000e3b7eb660a7d721305ec91505697408c0ee --label arch=amd64 --label version=0.0.0 . 09:35:19 Sending build context to Docker daemon 3.053MB 09:35:19 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 09:35:19 Step 2/27 : FROM ${BASE} AS builder 09:35:19 ---> cd91cba9b774 09:35:19 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 09:35:19 ---> Running in e48c802cbee5 09:35:19 Removing intermediate container e48c802cbee5 09:35:19 ---> 8c7bb9157e93 09:35:19 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 09:35:19 ---> Running in f2ed8ad57b76 09:35:19 Removing intermediate container f2ed8ad57b76 09:35:19 ---> 07a963bf2fd1 09:35:19 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 09:35:19 ---> Running in a27517e6d063 09:35:19 Removing intermediate container a27517e6d063 09:35:19 ---> 0c8b22c6cbc7 09:35:19 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:35:19 ---> Running in c769b16d07a9 09:35:20 Removing intermediate container c769b16d07a9 09:35:20 ---> 1b0b8afbc5f3 09:35:20 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:35:20 ---> Running in f7a25ad450fc 09:35:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:35:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:35:21 OK: 221 MiB in 52 packages 09:35:22 Removing intermediate container f7a25ad450fc 09:35:22 ---> b70c9290f874 09:35:22 Step 8/27 : WORKDIR /app 09:35:22 ---> Running in b5ad5e61a1dd 09:35:22 Removing intermediate container b5ad5e61a1dd 09:35:22 ---> 6f88ea53386b 09:35:22 Step 9/27 : COPY go.mod vendor* ./ 09:35:22 ---> 955f65c6bc0a 09:35:22 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:35:22 ---> Running in 0c73dd7cf9ad 09:35:23 Removing intermediate container 0c73dd7cf9ad 09:35:23 ---> dc1037452f44 09:35:23 Step 11/27 : COPY . . 09:35:23 ---> 09ee686a61db 09:35:23 Step 12/27 : ARG MAKE="make build" 09:35:23 ---> Running in b45740a2684f 09:35:23 Removing intermediate container b45740a2684f 09:35:23 ---> 220c16c150fb 09:35:23 Step 13/27 : RUN $MAKE 09:35:23 ---> Running in a5f2aff789f8 09:35:23 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 09:35:45 Removing intermediate container a5f2aff789f8 09:35:45 ---> bb1aa90b3b49 09:35:45 Step 14/27 : FROM alpine:3.14 09:35:45 3.14: Pulling from library/alpine 09:35:45 8663204ce13b: Pulling fs layer 09:35:46 8663204ce13b: Verifying Checksum 09:35:46 8663204ce13b: Download complete 09:35:46 8663204ce13b: Pull complete 09:35:46 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 09:35:46 Status: Downloaded newer image for alpine:3.14 09:35:46 ---> e04c818066af 09:35:46 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 09:35:46 ---> Running in ad8b37906a26 09:35:46 Removing intermediate container ad8b37906a26 09:35:46 ---> 845061f87fe0 09:35:46 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 09:35:46 ---> Running in 3866c2ebf917 09:35:46 Removing intermediate container 3866c2ebf917 09:35:46 ---> 745a262dbfcd 09:35:46 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 09:35:46 ---> Running in d5efac470929 09:35:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 09:35:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 09:35:47 (1/7) Installing ca-certificates (20211220-r0) 09:35:47 (2/7) Installing dumb-init (1.2.5-r1) 09:35:47 (3/7) Installing libgcc (10.3.1_git20210424-r2) 09:35:47 (4/7) Installing libsodium (1.0.18-r0) 09:35:47 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 09:35:47 (6/7) Installing libzmq (4.3.4-r0) 09:35:47 (7/7) Installing zeromq (4.3.4-r0) 09:35:47 Executing busybox-1.33.1-r7.trigger 09:35:47 Executing ca-certificates-20211220-r0.trigger 09:35:47 OK: 9 MiB in 21 packages 09:35:47 Removing intermediate container d5efac470929 09:35:47 ---> 0a59f4a69d5b 09:35:47 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 09:35:48 ---> eb6658ee8188 09:35:48 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 09:35:48 ---> d43fd319f077 09:35:48 Step 20/27 : COPY --from=builder /app/res/ /res/ 09:35:48 ---> 289125c8fbed 09:35:48 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 09:35:49 ---> d79e32d5c0c1 09:35:49 Step 22/27 : EXPOSE 48095 09:35:49 ---> Running in 28e7d2e6ad08 09:35:49 Removing intermediate container 28e7d2e6ad08 09:35:49 ---> f4bf66f69d0e 09:35:49 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 09:35:49 ---> Running in 3bef0b8251bb 09:35:49 Removing intermediate container 3bef0b8251bb 09:35:49 ---> d34d4c614708 09:35:49 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:35:49 ---> Running in 120f8bd935db 09:35:49 Removing intermediate container 120f8bd935db 09:35:49 ---> 4bf3779cf136 09:35:49 Step 25/27 : LABEL arch=amd64 09:35:49 ---> Running in 397c5bdab02b 09:35:49 Removing intermediate container 397c5bdab02b 09:35:49 ---> fa70c7af7eff 09:35:49 Step 26/27 : LABEL git_sha=9d000e3b7eb660a7d721305ec91505697408c0ee 09:35:50 ---> Running in 07a4d4123923 09:35:50 Removing intermediate container 07a4d4123923 09:35:50 ---> 49989066e350 09:35:50 Step 27/27 : LABEL version=0.0.0 09:35:50 ---> Running in d582e16753d7 09:35:50 Removing intermediate container d582e16753d7 09:35:50 ---> 2fef3330319d 09:35:50 [Warning] One or more build-args [ARCH] were not consumed 09:35:50 Successfully built 2fef3330319d 09:35:50 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 09:35:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:35:50 09:35:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 09:35:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:35:51 latest: Pulling from edgex-lftools-log-publisher 09:35:51 5eb5b503b376: Pulling fs layer 09:35:51 5c69ac0246d0: Pulling fs layer 09:35:51 ec43610c2a17: Pulling fs layer 09:35:51 3a2ae6a8a46f: Pulling fs layer 09:35:51 33b1e0a273af: Pulling fs layer 09:35:51 5d3b04190fa2: Pulling fs layer 09:35:51 2f39f015ded8: Pulling fs layer 09:35:51 3a2ae6a8a46f: Waiting 09:35:51 33b1e0a273af: Waiting 09:35:51 5d3b04190fa2: Waiting 09:35:51 2f39f015ded8: Waiting 09:35:51 5c69ac0246d0: Download complete 09:35:51 3a2ae6a8a46f: Verifying Checksum 09:35:51 3a2ae6a8a46f: Download complete 09:35:51 ec43610c2a17: Verifying Checksum 09:35:51 ec43610c2a17: Download complete 09:35:51 33b1e0a273af: Verifying Checksum 09:35:51 33b1e0a273af: Download complete 09:35:51 5d3b04190fa2: Verifying Checksum 09:35:51 5d3b04190fa2: Download complete 09:35:51 5eb5b503b376: Verifying Checksum 09:35:51 5eb5b503b376: Download complete 09:35:51 2f39f015ded8: Download complete 09:35:52 5eb5b503b376: Pull complete 09:35:52 5c69ac0246d0: Pull complete 09:35:53 ec43610c2a17: Pull complete 09:35:53 3a2ae6a8a46f: Pull complete 09:35:53 33b1e0a273af: Pull complete 09:35:53 5d3b04190fa2: Pull complete 09:35:59 2f39f015ded8: Pull complete 09:35:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:35:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:35:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 09:35:59 prd-ubuntu20.04-docker-8c-8g-47175 does not seem to be running inside a container 09:35:59 $ 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-417 -v /w/workspace/_app-service-configurable_PR-417:/w/workspace/_app-service-configurable_PR-417:rw,z -v /w/workspace/_app-service-configurable_PR-417@tmp:/w/workspace/_app-service-configurable_PR-417@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 09:36:01 $ docker top 4a64c1f5600c4e1b485cae4b8ca30f2e421a42ee68432c4b59720c12cfe06058 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:36:01 ---> job-cost.sh 09:36:01 lf-activate-venv: SKIPPING 09:36:01 INFO: No Stack... 09:36:02 INFO: Retrieving Pricing Info for: v3-standard-8 09:36:02 INFO: Archiving Costs [Pipeline] sh 09:36:03 + cat /w/workspace/_app-service-configurable_PR-417/archives/cost.csv 09:36:03 + cut -d, -f6 [Pipeline] lock 09:36:03 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-417-2-stack-cost] 09:36:03 Resource [jenkins-edgexfoundry-app-service-configurable-PR-417-2-stack-cost] did not exist. Created. 09:36:03 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-417-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:36:03 + echo total: 0.2199999988079071 [Pipeline] stash 09:36:03 Stashed 1 file(s) [Pipeline] } 09:36:03 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-417-2-stack-cost] [Pipeline] // lock [Pipeline] } 09:36:03 $ docker stop --time=1 4a64c1f5600c4e1b485cae4b8ca30f2e421a42ee68432c4b59720c12cfe06058 09:36:04 $ docker rm -f 4a64c1f5600c4e1b485cae4b8ca30f2e421a42ee68432c4b59720c12cfe06058 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:54:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-47517 in /w/workspace/_app-service-configurable_PR-417 [Pipeline] { [Pipeline] ws 09:54:48 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 09:54:48 Selected Git installation does not exist. Using Default 09:54:48 The recommended git tool is: NONE 09:54:54 using credential edgex-jenkins-ssh 09:54:54 Cloning the remote Git repository 09:54:54 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 09:54:54 > git init /w/workspace/app-service-configurable/2 # timeout=10 09:54:54 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 09:54:54 > git --version # timeout=10 09:54:54 > git --version # 'git version 2.25.1' 09:54:54 using GIT_SSH to set credentials SSH Credentials for GitHub 09:54:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:54:55 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 09:54:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:54:56 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 09:54:56 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 09:54:56 using GIT_SSH to set credentials SSH Credentials for GitHub 09:54:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/417/head:refs/remotes/origin/PR-417 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:54:56 Merging remotes/origin/main commit 0ec6f6647dd09fd78b7f2ede1f224ac506661311 into PR head commit 9d000e3b7eb660a7d721305ec91505697408c0ee 09:54:57 Merge succeeded, producing 9d000e3b7eb660a7d721305ec91505697408c0ee 09:54:57 Checking out Revision 9d000e3b7eb660a7d721305ec91505697408c0ee (PR-417) 09:54:56 > git config core.sparsecheckout # timeout=10 09:54:56 > git checkout -f 9d000e3b7eb660a7d721305ec91505697408c0ee # timeout=10 09:54:56 > git remote # timeout=10 09:54:56 > git config --get remote.origin.url # timeout=10 09:54:56 using GIT_SSH to set credentials SSH Credentials for GitHub 09:54:56 > git merge 0ec6f6647dd09fd78b7f2ede1f224ac506661311 # timeout=10 09:54:57 > git rev-parse HEAD^{commit} # timeout=10 09:54:57 > git config core.sparsecheckout # timeout=10 09:54:57 > git checkout -f 9d000e3b7eb660a7d721305ec91505697408c0ee # timeout=10 09:55:01 Commit message: "build(snap): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:55:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:55:02 % Total % Received % Xferd Average Speed Time Time Time Current 09:55:02 Dload Upload Total Spent Left Speed 09:55:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 91100 0 --:--:-- --:--:-- --:--:-- 91806 [Pipeline] sh 09:55:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:55:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:55:03 + sudo tee /etc/docker/daemon.new 09:55:03 { 09:55:03 "registry-mirrors": [ 09:55:03 "https://nexus3.edgexfoundry.org:10001" 09:55:03 ], 09:55:03 "bip": "10.250.0.254/24", 09:55:03 "hosts": [ 09:55:03 "tcp://0.0.0.0:5555", 09:55:03 "unix:///var/run/docker.sock" 09:55:03 ], 09:55:03 "mtu": 1458, 09:55:03 "selinux-enabled": true, 09:55:03 "seccomp-profile": "/etc/docker/seccomp.json" 09:55:03 } [Pipeline] sh 09:55:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:55:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:55:22 provisioning config files... 09:55:22 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config1625270014660776083tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:55:22 ---> docker-login.sh 09:55:22 nexus3.edgexfoundry.org:10001 09:55:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:24 Configure a credential helper to remove this warning. See 09:55:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:24 09:55:24 Login Succeeded 09:55:24 nexus3.edgexfoundry.org:10002 09:55:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:24 Configure a credential helper to remove this warning. See 09:55:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:24 09:55:24 Login Succeeded 09:55:24 nexus3.edgexfoundry.org:10003 09:55:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:25 Configure a credential helper to remove this warning. See 09:55:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:25 09:55:25 Login Succeeded 09:55:25 nexus3.edgexfoundry.org:10004 09:55:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:25 Configure a credential helper to remove this warning. See 09:55:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:25 09:55:25 Login Succeeded 09:55:25 docker.io 09:55:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:26 Configure a credential helper to remove this warning. See 09:55:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:26 09:55:26 Login Succeeded 09:55:26 ---> docker-login.sh ends [Pipeline] } 09:55:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:55:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:55:27 ========================================================= 09:55:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 09:55:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:55:27 + 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 . 09:55:27 Sending build context to Docker daemon 199.7kB 09:55:27 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 09:55:27 Step 2/13 : FROM ${BASE} AS builder 09:55:27 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:55:27 9b3977197b4f: Pulling fs layer 09:55:27 1a89e8eeedd5: Pulling fs layer 09:55:27 94645a83ff95: Pulling fs layer 09:55:27 3f3a8bcf1eab: Pulling fs layer 09:55:27 0c92f367c5e7: Pulling fs layer 09:55:27 3096ccb668a1: Pulling fs layer 09:55:27 e8cf19c19ddd: Pulling fs layer 09:55:27 a4caa8a26152: Pulling fs layer 09:55:27 3f3a8bcf1eab: Waiting 09:55:27 0c92f367c5e7: Waiting 09:55:27 3096ccb668a1: Waiting 09:55:27 e8cf19c19ddd: Waiting 09:55:27 a4caa8a26152: Waiting 09:55:27 94645a83ff95: Verifying Checksum 09:55:27 94645a83ff95: Download complete 09:55:27 1a89e8eeedd5: Verifying Checksum 09:55:27 1a89e8eeedd5: Download complete 09:55:27 0c92f367c5e7: Download complete 09:55:27 3096ccb668a1: Verifying Checksum 09:55:27 3096ccb668a1: Download complete 09:55:27 e8cf19c19ddd: Verifying Checksum 09:55:27 e8cf19c19ddd: Download complete 09:55:27 9b3977197b4f: Verifying Checksum 09:55:27 9b3977197b4f: Download complete 09:55:28 9b3977197b4f: Pull complete 09:55:29 1a89e8eeedd5: Pull complete 09:55:29 94645a83ff95: Pull complete 09:55:30 a4caa8a26152: Verifying Checksum 09:55:30 a4caa8a26152: Download complete 09:55:30 3f3a8bcf1eab: Verifying Checksum 09:55:30 3f3a8bcf1eab: Download complete 09:55:42 3f3a8bcf1eab: Pull complete 09:55:42 0c92f367c5e7: Pull complete 09:55:42 3096ccb668a1: Pull complete 09:55:42 e8cf19c19ddd: Pull complete 09:55:48 a4caa8a26152: Pull complete 09:55:48 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 09:55:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 09:55:48 ---> 725f1c02e7f9 09:55:48 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 09:55:49 ---> Running in 89dd939e933d 09:55:49 Removing intermediate container 89dd939e933d 09:55:49 ---> 1194f9c5eefb 09:55:49 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 09:55:49 ---> Running in 394bdecd05fb 09:55:49 Removing intermediate container 394bdecd05fb 09:55:49 ---> 5406d81906d0 09:55:49 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 09:55:49 ---> Running in 7e9aebb15171 09:55:50 Removing intermediate container 7e9aebb15171 09:55:50 ---> be085f98e87b 09:55:50 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:55:50 ---> Running in 632acd105841 09:55:53 Removing intermediate container 632acd105841 09:55:53 ---> de566425e700 09:55:53 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:55:53 ---> Running in 5972fb2d6ec2 09:55:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:55:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:55:56 OK: 220 MiB in 52 packages 09:55:57 Removing intermediate container 5972fb2d6ec2 09:55:57 ---> 0fd9a11875dc 09:55:57 Step 8/13 : WORKDIR /app 09:55:57 ---> Running in 060a76f682f5 09:55:57 Removing intermediate container 060a76f682f5 09:55:57 ---> b6123de7ea06 09:55:57 Step 9/13 : COPY go.mod vendor* ./ 09:55:58 ---> 49059cdf1d2f 09:55:58 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:55:58 ---> Running in 4a7ef5560ee4 09:56:54 Removing intermediate container 4a7ef5560ee4 09:56:54 ---> af49c7ef8fc7 09:56:54 Step 11/13 : COPY . . 09:56:54 ---> b3c8ff0093c7 09:56:54 Step 12/13 : ARG MAKE="make build" 09:56:54 ---> Running in a8b1fe8a3cdd 09:56:54 Removing intermediate container a8b1fe8a3cdd 09:56:54 ---> 812e46699c97 09:56:54 Step 13/13 : RUN $MAKE 09:56:54 ---> Running in 46a3a869d34b 09:56:54 noop 09:56:54 Removing intermediate container 46a3a869d34b 09:56:54 ---> 3d05b803d93c 09:56:54 Successfully built 3d05b803d93c 09:56:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:56:55 + docker inspect -f . ci-base-image-arm64 09:56:55 . [Pipeline] withDockerContainer 09:56:55 prd-ubuntu20.04-docker-arm64-4c-16g-47517 does not seem to be running inside a container 09:56:55 $ 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 09:56:56 $ docker top 80279792b9d95a2d614677a0143eb2aaada0c53d6565b6f182019c0f56fabf6c -eo pid,comm [Pipeline] { [Pipeline] sh 09:56:57 + go version 09:56:57 go version go1.17.6 linux/arm64 [Pipeline] } 09:56:57 $ docker stop --time=1 80279792b9d95a2d614677a0143eb2aaada0c53d6565b6f182019c0f56fabf6c 09:56:59 $ docker rm -f 80279792b9d95a2d614677a0143eb2aaada0c53d6565b6f182019c0f56fabf6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:56:59 + docker inspect -f . ci-base-image-arm64 09:56:59 . [Pipeline] withDockerContainer 09:57:00 prd-ubuntu20.04-docker-arm64-4c-16g-47517 does not seem to be running inside a container 09:57:00 $ 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 09:57:01 $ docker top 62050d967e2727b1daeafd6684529557fe0758eb844763a1a999f183fdbd20c3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:57:02 + make test 09:57:02 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 09:58:24 ? github.com/edgexfoundry/app-service-configurable [no test files] 09:58:24 CGO_ENABLED=1 go vet ./... 09:58:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:58:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:58:57 ./bin/test-attribution-txt.sh [Pipeline] echo 09:58:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:58:57 $ docker stop --time=1 62050d967e2727b1daeafd6684529557fe0758eb844763a1a999f183fdbd20c3 09:58:59 $ docker rm -f 62050d967e2727b1daeafd6684529557fe0758eb844763a1a999f183fdbd20c3 [Pipeline] // withDockerContainer [Pipeline] sh 09:59:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:59:00 Warning: overwriting stash ‘coverage-report’ 09:59:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:59:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:59:01 + ls -al . 09:59:01 total 160 09:59:01 drwxrwxr-x 7 jenkins jenkins 4096 May 10 09:58 . 09:59:01 drwxrwxr-x 4 jenkins jenkins 4096 May 10 09:54 .. 09:59:01 -rw-rw-r-- 1 jenkins jenkins 119 May 10 09:54 .dockerignore 09:59:01 drwxrwxr-x 8 jenkins jenkins 4096 May 10 09:55 .git 09:59:01 drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:54 .github 09:59:01 -rw-rw-r-- 1 jenkins jenkins 104 May 10 09:54 .gitignore 09:59:01 -rw-rw-r-- 1 jenkins jenkins 8695 May 10 09:54 Attribution.txt 09:59:01 -rw-rw-r-- 1 jenkins jenkins 23791 May 10 09:54 CHANGELOG.md 09:59:01 -rw-rw-r-- 1 jenkins jenkins 2087 May 10 09:54 Dockerfile 09:59:01 -rw-rw-r-- 1 jenkins jenkins 677 May 10 09:54 GOVERNANCE.md 09:59:01 -rw-rw-r-- 1 jenkins jenkins 688 May 10 09:54 Jenkinsfile 09:59:01 -rw-rw-r-- 1 jenkins jenkins 10174 May 10 09:54 LICENSE 09:59:01 -rw-rw-r-- 1 jenkins jenkins 618 May 10 09:54 OWNERS.md 09:59:01 -rw-rw-r-- 1 jenkins jenkins 3718 May 10 09:54 README.md 09:59:01 -rw-rw-r-- 1 jenkins jenkins 5 May 10 09:34 VERSION 09:59:01 drwxrwxr-x 2 jenkins jenkins 4096 May 10 09:54 bin 09:59:01 -rw-r--r-- 1 jenkins jenkins 10 May 10 09:57 coverage.out 09:59:01 -rw-rw-r-- 1 jenkins jenkins 3268 May 10 09:54 go.mod 09:59:01 -rw-rw-r-- 1 jenkins jenkins 34650 May 10 09:54 go.sum 09:59:01 -rw-rw-r-- 1 jenkins jenkins 1949 May 10 09:54 main.go 09:59:01 -rw-rw-r-- 1 jenkins jenkins 2007 May 10 09:54 makefile 09:59:01 drwxrwxr-x 10 jenkins jenkins 4096 May 10 09:54 res 09:59:01 drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:54 snap [Pipeline] isUnix [Pipeline] sh 09:59:01 + 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=9d000e3b7eb660a7d721305ec91505697408c0ee --label arch=arm64 --label version=0.0.0 . 09:59:01 Sending build context to Docker daemon 200.7kB 09:59:02 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 09:59:02 Step 2/27 : FROM ${BASE} AS builder 09:59:02 ---> 3d05b803d93c 09:59:02 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 09:59:02 ---> Running in dd6f23574c2e 09:59:02 Removing intermediate container dd6f23574c2e 09:59:02 ---> 0d899cec0a41 09:59:02 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 09:59:02 ---> Running in 8c5b851a1b4d 09:59:02 Removing intermediate container 8c5b851a1b4d 09:59:02 ---> f578a204cc68 09:59:02 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 09:59:02 ---> Running in 777fbe306128 09:59:03 Removing intermediate container 777fbe306128 09:59:03 ---> d0099bea84fa 09:59:03 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:59:03 ---> Running in 08032297df74 09:59:04 Removing intermediate container 08032297df74 09:59:04 ---> f0f4a20a9ed5 09:59:04 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:59:05 ---> Running in 2157a7568c18 09:59:06 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:59:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:59:08 OK: 220 MiB in 52 packages 09:59:08 Removing intermediate container 2157a7568c18 09:59:08 ---> 066ab000e0ad 09:59:08 Step 8/27 : WORKDIR /app 09:59:09 ---> Running in e8a216a40270 09:59:09 Removing intermediate container e8a216a40270 09:59:09 ---> 83653412d8ae 09:59:09 Step 9/27 : COPY go.mod vendor* ./ 09:59:10 ---> 6e6f4df3b177 09:59:10 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:59:10 ---> Running in 22f892fd898f 09:59:11 Removing intermediate container 22f892fd898f 09:59:11 ---> 30b11b53ac15 09:59:11 Step 11/27 : COPY . . 09:59:12 ---> c9d0cda2bdf0 09:59:12 Step 12/27 : ARG MAKE="make build" 09:59:12 ---> Running in 355353614c4f 09:59:12 Removing intermediate container 355353614c4f 09:59:12 ---> dc7ca3c4c950 09:59:12 Step 13/27 : RUN $MAKE 09:59:12 ---> Running in ff2dabc28284 09:59:14 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 10:01:21 Removing intermediate container ff2dabc28284 10:01:21 ---> 1521a7e11aae 10:01:21 Step 14/27 : FROM alpine:3.14 10:01:21 3.14: Pulling from library/alpine 10:01:21 455c02918c45: Pulling fs layer 10:01:21 455c02918c45: Verifying Checksum 10:01:21 455c02918c45: Download complete 10:01:21 455c02918c45: Pull complete 10:01:21 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 10:01:21 Status: Downloaded newer image for alpine:3.14 10:01:21 ---> ac73e934f311 10:01:21 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 10:01:21 ---> Running in 83a0fd92a638 10:01:21 Removing intermediate container 83a0fd92a638 10:01:21 ---> 24fda5e22ec8 10:01:21 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 10:01:21 ---> Running in 831874a3a960 10:01:21 Removing intermediate container 831874a3a960 10:01:21 ---> 7a3dda54ba2b 10:01:21 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 10:01:21 ---> Running in 0bcc5a66465d 10:01:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 10:01:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 10:01:23 (1/7) Installing ca-certificates (20211220-r0) 10:01:23 (2/7) Installing dumb-init (1.2.5-r1) 10:01:23 (3/7) Installing libgcc (10.3.1_git20210424-r2) 10:01:23 (4/7) Installing libsodium (1.0.18-r0) 10:01:23 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 10:01:23 (6/7) Installing libzmq (4.3.4-r0) 10:01:23 (7/7) Installing zeromq (4.3.4-r0) 10:01:23 Executing busybox-1.33.1-r7.trigger 10:01:23 Executing ca-certificates-20211220-r0.trigger 10:01:23 OK: 9 MiB in 21 packages 10:01:24 Removing intermediate container 0bcc5a66465d 10:01:24 ---> eb3ef7595ebb 10:01:24 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 10:01:25 ---> a9d82a045e20 10:01:25 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 10:01:26 ---> d092cea8bdcc 10:01:26 Step 20/27 : COPY --from=builder /app/res/ /res/ 10:01:26 ---> 3c9249964613 10:01:26 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 10:01:28 ---> 8563ccfce972 10:01:28 Step 22/27 : EXPOSE 48095 10:01:28 ---> Running in 91ea69662b93 10:01:28 Removing intermediate container 91ea69662b93 10:01:28 ---> 55f9ebecd6c8 10:01:28 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 10:01:28 ---> Running in b2a6c5507066 10:01:29 Removing intermediate container b2a6c5507066 10:01:29 ---> 0cb1c78f659e 10:01:29 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:01:29 ---> Running in ffbc433d20bb 10:01:29 Removing intermediate container ffbc433d20bb 10:01:29 ---> 781d729d94da 10:01:29 Step 25/27 : LABEL arch=arm64 10:01:29 ---> Running in f219995f1744 10:01:29 Removing intermediate container f219995f1744 10:01:29 ---> f21da9dd5f7e 10:01:29 Step 26/27 : LABEL git_sha=9d000e3b7eb660a7d721305ec91505697408c0ee 10:01:29 ---> Running in 7b7f6f98a305 10:01:30 Removing intermediate container 7b7f6f98a305 10:01:30 ---> 7c0e49805d81 10:01:30 Step 27/27 : LABEL version=0.0.0 10:01:30 ---> Running in b6903de80f05 10:01:30 Removing intermediate container b6903de80f05 10:01:30 ---> abb5f2dfcc02 10:01:30 [Warning] One or more build-args [ARCH] were not consumed 10:01:30 Successfully built abb5f2dfcc02 10:01:30 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 10:01:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:01:31 10:01:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 10:01:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:01:31 arm64: Pulling from edgex-lftools-log-publisher 10:01:31 8998bd30e6a1: Pulling fs layer 10:01:31 04944245beec: Pulling fs layer 10:01:31 699f458cf7ca: Pulling fs layer 10:01:31 765212b225bb: Pulling fs layer 10:01:31 f23df028b6ca: Pulling fs layer 10:01:31 d65c8cfc05b1: Pulling fs layer 10:01:31 2437ff75d9bd: Pulling fs layer 10:01:31 f23df028b6ca: Waiting 10:01:31 d65c8cfc05b1: Waiting 10:01:31 2437ff75d9bd: Waiting 10:01:31 765212b225bb: Waiting 10:01:31 04944245beec: Verifying Checksum 10:01:31 04944245beec: Download complete 10:01:31 765212b225bb: Verifying Checksum 10:01:31 765212b225bb: Download complete 10:01:31 f23df028b6ca: Verifying Checksum 10:01:31 f23df028b6ca: Download complete 10:01:31 d65c8cfc05b1: Verifying Checksum 10:01:31 d65c8cfc05b1: Download complete 10:01:32 699f458cf7ca: Verifying Checksum 10:01:32 699f458cf7ca: Download complete 10:01:32 8998bd30e6a1: Verifying Checksum 10:01:32 8998bd30e6a1: Download complete 10:01:35 2437ff75d9bd: Verifying Checksum 10:01:35 2437ff75d9bd: Download complete 10:01:36 8998bd30e6a1: Pull complete 10:01:37 04944245beec: Pull complete 10:01:38 699f458cf7ca: Pull complete 10:01:38 765212b225bb: Pull complete 10:01:39 f23df028b6ca: Pull complete 10:01:40 d65c8cfc05b1: Pull complete 10:01:55 2437ff75d9bd: Pull complete 10:01:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:01:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:01:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 10:01:55 prd-ubuntu20.04-docker-arm64-4c-16g-47517 does not seem to be running inside a container 10:01:55 $ 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 10:01:58 $ docker top 9ec058e2c1fcf50ab8a75347d5d4161b47e04581ae616b82d2e2be5dc0303779 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:01:59 ---> job-cost.sh 10:01:59 lf-activate-venv: SKIPPING 10:01:59 INFO: No Stack... 10:01:59 INFO: Retrieving Pricing Info for: v3-standard-4 10:02:00 INFO: Archiving Costs [Pipeline] sh 10:02:01 + cat /w/workspace/app-service-configurable/2/archives/cost.csv 10:02:01 + cut -d, -f6 [Pipeline] lock 10:02:01 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-417-2-stack-cost] 10:02:01 Resource [jenkins-edgexfoundry-app-service-configurable-PR-417-2-stack-cost] did not exist. Created. 10:02:01 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-417-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:02:02 /w/workspace/app-service-configurable/2@tmp/durable-25177e32/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:02:03 + echo total: 0.10999999940395355 [Pipeline] stash 10:02:03 Warning: overwriting stash ‘stack-cost’ 10:02:03 Stashed 1 file(s) [Pipeline] } 10:02:03 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-417-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:02:03 $ docker stop --time=1 9ec058e2c1fcf50ab8a75347d5d4161b47e04581ae616b82d2e2be5dc0303779 10:02:04 $ docker rm -f 9ec058e2c1fcf50ab8a75347d5d4161b47e04581ae616b82d2e2be5dc0303779 [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 10:02:05 provisioning config files... 10:02:05 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-417@tmp/config696648516958144568tmp [Pipeline] { [Pipeline] sh 10:02:05 + set +x 10:02:05 + curl -s https://codecov.io/bash 10:02:05 + bash -s -- 10:02:05 10:02:05 _____ _ 10:02:05 / ____| | | 10:02:05 | | ___ __| | ___ ___ _____ __ 10:02:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:02:05 | |___| (_) | (_| | __/ (_| (_) \ V / 10:02:05 \_____\___/ \__,_|\___|\___\___/ \_/ 10:02:05 Bash-1.0.6 10:02:05 10:02:05 10:02:05 ==> git version 2.25.1 found 10:02:05 ==> 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 10:02:05 Release-Date: 2020-01-08 10:02:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:02:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:02:05 ==> Jenkins CI detected. 10:02:05 current dir:  /w/workspace/_app-service-configurable_PR-417 10:02:05 project root: . 10:02:05 --> token set from env 10:02:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:02:05 ==> Running gcov in . (disable via -X gcov) 10:02:05 ==> Python coveragepy not found 10:02:05 ==> Searching for coverage reports in: 10:02:05 + . 10:02:05 -> Found 1 reports 10:02:05 ==> Detecting git/mercurial file structure 10:02:05 ==> Reading reports 10:02:05 + ./coverage.out bytes=10 10:02:05 ==> Appending adjustments 10:02:05 https://docs.codecov.io/docs/fixing-reports 10:02:05 + Found adjustments 10:02:05 ==> Gzipping contents 10:02:05 4.0K /tmp/codecov.e2phxo.gz 10:02:05 ==> Uploading reports 10:02:05 url: https://codecov.io 10:02:05 query: branch=PR-417&commit=9d000e3b7eb660a7d721305ec91505697408c0ee&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-417%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=417&job=&cmd_args= 10:02:05 -> Pinging Codecov 10:02:05 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-417&commit=9d000e3b7eb660a7d721305ec91505697408c0ee&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-417%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=417&job=&cmd_args= 10:02:05 -> Uploading to 10:02:05 https://storage.googleapis.com/codecov/v4/raw/2022-05-10/A97CA9966030D2A3747ED39772930CCE/9d000e3b7eb660a7d721305ec91505697408c0ee/9e5181ad-06be-45e1-9d46-21cb1de04047.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T100205Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=33a694c96b90a60637d3cabe23b08421db63237323c84c85b068b4e3c6e40cfc 10:02:06 % Total % Received % Xferd Average Speed Time Time Time Current 10:02:06 Dload Upload Total Spent Left Speed 10:02:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 592 0 0 100 592 0 2715 --:--:-- --:--:-- --:--:-- 2703 100 592 0 0 100 592 0 2715 --:--:-- --:--:-- --:--:-- 2703 10:02:06 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/9d000e3b7eb660a7d721305ec91505697408c0ee [Pipeline] } 10:02:06 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 10:02:06 + [ -d /w/workspace/_app-service-configurable_PR-417/archives ] 10:02:06 + ls -al /w/workspace/_app-service-configurable_PR-417/archives 10:02:06 total 16 10:02:06 drwxr-xr-x 3 root root 4096 May 10 09:36 . 10:02:06 drwxrwxr-x 9 jenkins jenkins 4096 May 10 09:36 .. 10:02:06 drwxr-xr-x 2 root root 4096 May 10 09:36 cost 10:02:06 -rw-r--r-- 1 root root 95 May 10 09:36 cost.csv 10:02:06 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-417/archives 10:02:06 + ls -al /w/workspace/_app-service-configurable_PR-417/archives 10:02:06 total 16 10:02:06 drwxr-xr-x 3 jenkins jenkins 4096 May 10 09:36 . 10:02:06 drwxrwxr-x 9 jenkins jenkins 4096 May 10 09:36 .. 10:02:06 drwxr-xr-x 2 jenkins jenkins 4096 May 10 09:36 cost 10:02:06 -rw-r--r-- 1 jenkins jenkins 95 May 10 09:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:02:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:02:07 ---> package-listing.sh 10:02:07 ++ facter osfamily 10:02:07 ++ tr '[:upper:]' '[:lower:]' 10:02:08 + OS_FAMILY=debian 10:02:08 + workspace=/w/workspace/_app-service-configurable_PR-417 10:02:08 + START_PACKAGES=/tmp/packages_start.txt 10:02:08 + END_PACKAGES=/tmp/packages_end.txt 10:02:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:02:08 + PACKAGES=/tmp/packages_start.txt 10:02:08 + '[' /w/workspace/_app-service-configurable_PR-417 ']' 10:02:08 + PACKAGES=/tmp/packages_end.txt 10:02:08 + case "${OS_FAMILY}" in 10:02:08 + dpkg -l 10:02:08 + grep '^ii' 10:02:08 + '[' -f /tmp/packages_start.txt ']' 10:02:08 + '[' -f /tmp/packages_end.txt ']' 10:02:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:02:08 + '[' /w/workspace/_app-service-configurable_PR-417 ']' 10:02:08 + mkdir -p /w/workspace/_app-service-configurable_PR-417/archives/ 10:02:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-417/archives/ [Pipeline] echo 10:02:08 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-417/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:02:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:02:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:02:09 . [Pipeline] withDockerContainer 10:02:09 prd-ubuntu20.04-docker-8c-8g-47175 does not seem to be running inside a container 10:02:09 $ 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-417/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-417 -v /w/workspace/_app-service-configurable_PR-417:/w/workspace/_app-service-configurable_PR-417:rw,z -v /w/workspace/_app-service-configurable_PR-417@tmp:/w/workspace/_app-service-configurable_PR-417@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:02:09 $ docker top ff348f5f85e533948cef5e05f02e6e25cfec7daaff9e187e3ba43a8f4c347260 -eo pid,comm [Pipeline] { [Pipeline] sh 10:02:09 + touch /tmp/pre-build-complete [Pipeline] sh 10:02:10 + mkdir -p /var/log/sysstat [Pipeline] sh 10:02:10 + ls /var/log/sa-host 10:02:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:02:10 provisioning config files... 10:02:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-417@tmp/config1320758420452125552tmp [Pipeline] { [Pipeline] echo 10:02:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:02:10 ---> create-netrc.sh [Pipeline] } 10:02:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:02:11 ---> python-tools-install.sh [Pipeline] echo 10:02:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:02:11 ---> sudo-logs.sh 10:02:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:02:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:02:11 ---> job-cost.sh 10:02:11 lf-activate-venv: SKIPPING 10:02:11 DEBUG: total: 0.2199999988079071 10:02:11 INFO: Retrieving Stack Cost... 10:02:12 INFO: Retrieving Pricing Info for: v3-standard-8 10:02:12 INFO: Archiving Costs [Pipeline] echo 10:02:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:02:13 ---> logs-deploy.sh 10:02:13 lf-activate-venv: SKIPPING 10:02:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-417/2 10:02:13 INFO: archiving workspace using pattern(s): 10:02:14 Archives upload complete. 10:02:14 INFO: archiving logs to Nexus