Pull request #416 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/app-service-configurable Obtained Jenkinsfile from e1307e7131d3cdea8ba6c2ae1f4ad07b0700aa88+a669bdb4f1e2d7cd4e5cba464327739a597f1457 (8af8afe6e97c147c91258057075a53d013ec08ad) 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-ssh2334561478940797884.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-ssh14549473715103341555.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-416/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-416/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16055151297841678178.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-416/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4227147675642834814.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh16463582771370339175.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-416/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-416/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh13858373087913679419.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-40367 in /w/workspace/_app-service-configurable_PR-416 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-service-configurable.git > git init /w/workspace/_app-service-configurable_PR-416 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit a669bdb4f1e2d7cd4e5cba464327739a597f1457 into PR head commit e1307e7131d3cdea8ba6c2ae1f4ad07b0700aa88 Merge succeeded, producing e1307e7131d3cdea8ba6c2ae1f4ad07b0700aa88 Checking out Revision e1307e7131d3cdea8ba6c2ae1f4ad07b0700aa88 (PR-416) > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/416/head:refs/remotes/origin/PR-416 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e1307e7131d3cdea8ba6c2ae1f4ad07b0700aa88 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a669bdb4f1e2d7cd4e5cba464327739a597f1457 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e1307e7131d3cdea8ba6c2ae1f4ad07b0700aa88 # timeout=10 Commit message: "docs(snap): Add store link" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:50:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:50:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:50:42 ========================================================= 12:50:42 EdgeX Global Pipelines Version Info 12:50:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:50:43 ------------------- 12:50:43 stable info: 12:50:43 ------------------- 12:50:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:50:43 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 12:50:43 Message: update stable to v1.0.227 12:50:44 ------------------- 12:50:44 experimental info: 12:50:44 ------------------- 12:50:44 Commited By: **** collab-it+edgex@linuxfoundation.org 12:50:44 Commit SHA: 602d0728ebfd21a5b975e02ac0465e47e5fef8c7 12:50:44 Message: update experimental to v1.0.228 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:50:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:50:44 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:50:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:50:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:50:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:50:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:50:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:50:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:50:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:50:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:50:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:50:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:50:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:50:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:50:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:50:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:50:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:50:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:50:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:50:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:50:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:50:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:50:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:50:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:50:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:50:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:50:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-416 [Pipeline] echo 12:50:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-416 [Pipeline] echo 12:50:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-416 [Pipeline] echo 12:50:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e1307e7131d3cdea8ba6c2ae1f4ad07b0700aa88 [Pipeline] echo 12:50:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e1307e7 [Pipeline] echo 12:50:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:50:46 provisioning config files... 12:50:46 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-416@tmp/config6143252125183939195tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:50:46 ---> docker-login.sh 12:50:46 nexus3.edgexfoundry.org:10001 12:50:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:50:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:50:46 Configure a credential helper to remove this warning. See 12:50:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:50:46 12:50:46 Login Succeeded 12:50:46 nexus3.edgexfoundry.org:10002 12:50:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:50:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:50:46 Configure a credential helper to remove this warning. See 12:50:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:50:46 12:50:46 Login Succeeded 12:50:46 nexus3.edgexfoundry.org:10003 12:50:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:50:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:50:46 Configure a credential helper to remove this warning. See 12:50:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:50:46 12:50:46 Login Succeeded 12:50:46 nexus3.edgexfoundry.org:10004 12:50:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:50:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:50:47 Configure a credential helper to remove this warning. See 12:50:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:50:47 12:50:47 Login Succeeded 12:50:47 docker.io 12:50:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:50:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:50:47 Configure a credential helper to remove this warning. See 12:50:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:50:47 12:50:47 Login Succeeded 12:50:47 ---> docker-login.sh ends [Pipeline] } 12:50:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:50:48 + git rev-list -1 --merges e1307e7131d3cdea8ba6c2ae1f4ad07b0700aa88~1..e1307e7131d3cdea8ba6c2ae1f4ad07b0700aa88 [Pipeline] echo 12:50:48 -----------> git rev-list -1 --merges e1307e7131d3cdea8ba6c2ae1f4ad07b0700aa88~1..e1307e7131d3cdea8ba6c2ae1f4ad07b0700aa88 e1307e7131d3cdea8ba6c2ae1f4ad07b0700aa88 [false] [Pipeline] sh 12:50:48 + git log --format=format:%s -1 e1307e7131d3cdea8ba6c2ae1f4ad07b0700aa88 [Pipeline] echo 12:50:48 ========================================================= 12:50:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:50:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:50:49 + git log --format=format:%s -1 e1307e7131d3cdea8ba6c2ae1f4ad07b0700aa88 [Pipeline] echo 12:50:49 [semverPrep] GIT_COMMIT: e1307e7131d3cdea8ba6c2ae1f4ad07b0700aa88, Commit Message: docs(snap): Add store link [Pipeline] echo 12:50:49 [semverPrep] This is not a build commit. [Pipeline] sh 12:50:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:50:49 + grep -v github /etc/ssh/ssh_known_hosts 12:50:49 + [ -e /tmp/ssh_known_hosts ] 12:50:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:50:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:50:49 + sudo tee -a /etc/ssh/ssh_known_hosts 12:50:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:50:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:50:50 12:50:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:50:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:50:50 latest: Pulling from edgex-devops/py-git-semver 12:50:50 1fe172e4850f: Pulling fs layer 12:50:50 caf521ccaac6: Pulling fs layer 12:50:50 3ead6fa29328: Pulling fs layer 12:50:50 5c2a1cbceb83: Pulling fs layer 12:50:50 a8d5f1318db7: Pulling fs layer 12:50:50 c427282e49a2: Pulling fs layer 12:50:50 1827001aaf11: Pulling fs layer 12:50:50 0714d37db230: Pulling fs layer 12:50:50 ac28cf19c067: Pulling fs layer 12:50:50 ca983d60f3e2: Pulling fs layer 12:50:50 9f894cec8388: Pulling fs layer 12:50:50 a8d5f1318db7: Waiting 12:50:50 1827001aaf11: Waiting 12:50:50 5c2a1cbceb83: Waiting 12:50:50 0714d37db230: Waiting 12:50:50 c427282e49a2: Waiting 12:50:50 ac28cf19c067: Waiting 12:50:50 ca983d60f3e2: Waiting 12:50:50 caf521ccaac6: Verifying Checksum 12:50:50 caf521ccaac6: Download complete 12:50:50 5c2a1cbceb83: Verifying Checksum 12:50:50 5c2a1cbceb83: Download complete 12:50:50 a8d5f1318db7: Verifying Checksum 12:50:50 a8d5f1318db7: Download complete 12:50:50 3ead6fa29328: Verifying Checksum 12:50:50 3ead6fa29328: Download complete 12:50:50 0714d37db230: Verifying Checksum 12:50:50 0714d37db230: Download complete 12:50:50 ac28cf19c067: Download complete 12:50:50 ca983d60f3e2: Verifying Checksum 12:50:50 ca983d60f3e2: Download complete 12:50:50 9f894cec8388: Download complete 12:50:50 1fe172e4850f: Download complete 12:50:51 1827001aaf11: Verifying Checksum 12:50:51 1827001aaf11: Download complete 12:50:52 1fe172e4850f: Pull complete 12:50:52 caf521ccaac6: Pull complete 12:50:52 3ead6fa29328: Pull complete 12:50:53 5c2a1cbceb83: Pull complete 12:50:53 a8d5f1318db7: Pull complete 12:50:53 c427282e49a2: Pull complete 12:50:55 1827001aaf11: Pull complete 12:50:55 0714d37db230: Pull complete 12:50:55 ac28cf19c067: Pull complete 12:50:55 ca983d60f3e2: Pull complete 12:50:55 9f894cec8388: Pull complete 12:50:55 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 12:50:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:50:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 12:50:56 prd-ubuntu20.04-docker-8c-8g-40367 does not seem to be running inside a container 12:50:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-416 -v /w/workspace/_app-service-configurable_PR-416:/w/workspace/_app-service-configurable_PR-416:rw,z -v /w/workspace/_app-service-configurable_PR-416@tmp:/w/workspace/_app-service-configurable_PR-416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 12:50:57 $ docker top 35a0956b8ba44d15a59e053f4a4dabf2082490e74953d8d3401b0e950c8ced40 -eo pid,comm 12:50:57 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). 12:50:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:50:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:50:57 [ssh-agent] Looking for ssh-agent implementation... 12:50:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:50:57 $ docker exec 35a0956b8ba44d15a59e053f4a4dabf2082490e74953d8d3401b0e950c8ced40 ssh-agent 12:50:57 SSH_AUTH_SOCK=/tmp/ssh-k9JCw619F9PB/agent.33 12:50:57 SSH_AGENT_PID=40 12:50:57 Running ssh-add (command line suppressed) 12:50:57 Identity added: /w/workspace/_app-service-configurable_PR-416@tmp/private_key_7497374521188589642.key (/w/workspace/_app-service-configurable_PR-416@tmp/private_key_7497374521188589642.key) 12:50:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:50:58 + git tag --points-at HEAD [Pipeline] } 12:50:58 $ docker exec --env ******** --env ******** 35a0956b8ba44d15a59e053f4a4dabf2082490e74953d8d3401b0e950c8ced40 ssh-agent -k 12:50:58 unset SSH_AUTH_SOCK; 12:50:58 unset SSH_AGENT_PID; 12:50:58 echo Agent pid 40 killed; 12:50:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:50:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:50:58 [ssh-agent] Looking for ssh-agent implementation... 12:50:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:50:58 $ docker exec 35a0956b8ba44d15a59e053f4a4dabf2082490e74953d8d3401b0e950c8ced40 ssh-agent 12:50:58 SSH_AUTH_SOCK=/tmp/ssh-TohLCjuuZ2Tu/agent.72 12:50:58 SSH_AGENT_PID=78 12:50:58 Running ssh-add (command line suppressed) 12:50:58 Identity added: /w/workspace/_app-service-configurable_PR-416@tmp/private_key_3084923251221887564.key (/w/workspace/_app-service-configurable_PR-416@tmp/private_key_3084923251221887564.key) 12:50:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:50:59 + git semver init 12:50:59 2022-05-03 12:50:59,479 [run_init] DEBUG init version:0.0.0 force:False 12:50:59 2022-05-03 12:50:59,480 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-416/.semver 12:50:59 2022-05-03 12:50:59,481 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-416/.semver 12:50:59 2022-05-03 12:50:59,482 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-416/.semver'], cwd=/w/workspace/_app-service-configurable_PR-416, universal_newlines=False, shell=None, istream=None) 12:51:00 2022-05-03 12:51:00,247 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-416/.git/info/exclude 12:51:00 2022-05-03 12:51:00,248 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-416/.semver/PR-416 with force:False 12:51:00 2022-05-03 12:51:00,248 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-416/.semver/PR-416 12:51:00 2022-05-03 12:51:00,255 [execute] INFO git cat-file --batch-check 12:51:00 2022-05-03 12:51:00,255 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-416/.semver, universal_newlines=False, shell=None, istream=) 12:51:00 2022-05-03 12:51:00,261 [execute] INFO git cat-file --batch 12:51:00 2022-05-03 12:51:00,261 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-416/.semver, universal_newlines=False, shell=None, istream=) 12:51:00 2022-05-03 12:51:00,267 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-416/.semver/PR-416 12:51:00 0.0.0 [Pipeline] } 12:51:00 $ docker exec --env ******** --env ******** 35a0956b8ba44d15a59e053f4a4dabf2082490e74953d8d3401b0e950c8ced40 ssh-agent -k 12:51:00 unset SSH_AUTH_SOCK; 12:51:00 unset SSH_AGENT_PID; 12:51:00 echo Agent pid 78 killed; 12:51:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:51:01 + git semver [Pipeline] } 12:51:01 $ docker stop --time=1 35a0956b8ba44d15a59e053f4a4dabf2082490e74953d8d3401b0e950c8ced40 12:51:02 $ docker rm -f 35a0956b8ba44d15a59e053f4a4dabf2082490e74953d8d3401b0e950c8ced40 [Pipeline] // withDockerContainer [Pipeline] sh 12:51:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:51:03 Stashed 1 file(s) [Pipeline] echo 12:51:03 [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 12:51:04 provisioning config files... 12:51:04 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-416@tmp/config2400158496117624368tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:51:04 ---> docker-login.sh 12:51:04 nexus3.edgexfoundry.org:10001 12:51:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:51:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:51:04 Configure a credential helper to remove this warning. See 12:51:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:51:04 12:51:04 Login Succeeded 12:51:04 nexus3.edgexfoundry.org:10002 12:51:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:51:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:51:04 Configure a credential helper to remove this warning. See 12:51:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:51:04 12:51:04 Login Succeeded 12:51:04 nexus3.edgexfoundry.org:10003 12:51:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:51:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:51:04 Configure a credential helper to remove this warning. See 12:51:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:51:04 12:51:04 Login Succeeded 12:51:04 nexus3.edgexfoundry.org:10004 12:51:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:51:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:51:04 Configure a credential helper to remove this warning. See 12:51:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:51:04 12:51:04 Login Succeeded 12:51:04 docker.io 12:51:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:51:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:51:05 Configure a credential helper to remove this warning. See 12:51:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:51:05 12:51:05 Login Succeeded 12:51:05 ---> docker-login.sh ends [Pipeline] } 12:51:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:51:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:51:05 ========================================================= 12:51:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:51:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:51:05 + 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 . 12:51:05 Sending build context to Docker daemon 3.047MB 12:51:05 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 12:51:05 Step 2/13 : FROM ${BASE} AS builder 12:51:05 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:51:05 59bf1c3509f3: Pulling fs layer 12:51:05 666ba61612fd: Pulling fs layer 12:51:05 8ed8ca486205: Pulling fs layer 12:51:05 4fe6c5a15a65: Pulling fs layer 12:51:05 22a0e8bec74d: Pulling fs layer 12:51:05 ca2b28591e48: Pulling fs layer 12:51:05 a51346096db8: Pulling fs layer 12:51:05 daebc70d1ce1: Pulling fs layer 12:51:05 0e18a0eac166: Pulling fs layer 12:51:05 4fe6c5a15a65: Waiting 12:51:05 22a0e8bec74d: Waiting 12:51:05 ca2b28591e48: Waiting 12:51:05 a51346096db8: Waiting 12:51:05 daebc70d1ce1: Waiting 12:51:05 0e18a0eac166: Waiting 12:51:05 8ed8ca486205: Verifying Checksum 12:51:05 8ed8ca486205: Download complete 12:51:05 666ba61612fd: Verifying Checksum 12:51:05 666ba61612fd: Download complete 12:51:05 22a0e8bec74d: Verifying Checksum 12:51:05 22a0e8bec74d: Download complete 12:51:05 ca2b28591e48: Download complete 12:51:06 a51346096db8: Verifying Checksum 12:51:06 a51346096db8: Download complete 12:51:06 59bf1c3509f3: Download complete 12:51:06 daebc70d1ce1: Verifying Checksum 12:51:06 daebc70d1ce1: Download complete 12:51:06 59bf1c3509f3: Pull complete 12:51:06 666ba61612fd: Pull complete 12:51:06 8ed8ca486205: Pull complete 12:51:06 0e18a0eac166: Verifying Checksum 12:51:06 0e18a0eac166: Download complete 12:51:06 4fe6c5a15a65: Verifying Checksum 12:51:06 4fe6c5a15a65: Download complete 12:51:10 4fe6c5a15a65: Pull complete 12:51:11 22a0e8bec74d: Pull complete 12:51:11 ca2b28591e48: Pull complete 12:51:11 a51346096db8: Pull complete 12:51:11 daebc70d1ce1: Pull complete 12:51:13 0e18a0eac166: Pull complete 12:51:13 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 12:51:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:51:13 ---> f018257e8ee9 12:51:13 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:51:14 ---> Running in 87aed55206fa 12:51:14 Removing intermediate container 87aed55206fa 12:51:14 ---> a18aa3f69e1f 12:51:14 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 12:51:14 ---> Running in aa2b2fc49a74 12:51:14 Removing intermediate container aa2b2fc49a74 12:51:14 ---> a829ef7509c5 12:51:14 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:51:14 ---> Running in 582198c43272 12:51:14 Removing intermediate container 582198c43272 12:51:14 ---> 7edc58ea8cc7 12:51:14 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:51:15 ---> Running in 4d8aebe3b8cb 12:51:15 Removing intermediate container 4d8aebe3b8cb 12:51:15 ---> 925c733aea76 12:51:15 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:51:15 ---> Running in b3d073ab7baa 12:51:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:51:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:51:17 OK: 221 MiB in 52 packages 12:51:17 Removing intermediate container b3d073ab7baa 12:51:17 ---> afd5ab03c5fa 12:51:17 Step 8/13 : WORKDIR /app 12:51:17 ---> Running in f1e61a32edd0 12:51:17 Removing intermediate container f1e61a32edd0 12:51:17 ---> 672b1a01b5ec 12:51:17 Step 9/13 : COPY go.mod vendor* ./ 12:51:17 ---> 592813c065fd 12:51:17 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:51:17 ---> Running in ca53bc2aad8e 12:51:18 Still waiting to schedule task 12:51:18 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:51:36 Removing intermediate container ca53bc2aad8e 12:51:36 ---> 454ef64e83a5 12:51:36 Step 11/13 : COPY . . 12:51:36 ---> 74375e498788 12:51:36 Step 12/13 : ARG MAKE="make build" 12:51:36 ---> Running in 9da6b4b89b3f 12:51:36 Removing intermediate container 9da6b4b89b3f 12:51:36 ---> 67bf53cecee0 12:51:36 Step 13/13 : RUN $MAKE 12:51:36 ---> Running in 74b46a77faf0 12:51:36 noop 12:51:36 Removing intermediate container 74b46a77faf0 12:51:36 ---> f4c9dede74cc 12:51:36 Successfully built f4c9dede74cc 12:51:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:51:36 + docker inspect -f . ci-base-image-x86_64 12:51:36 . [Pipeline] withDockerContainer 12:51:36 prd-ubuntu20.04-docker-8c-8g-40367 does not seem to be running inside a container 12:51:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-416 -v /w/workspace/_app-service-configurable_PR-416:/w/workspace/_app-service-configurable_PR-416:rw,z -v /w/workspace/_app-service-configurable_PR-416@tmp:/w/workspace/_app-service-configurable_PR-416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:51:36 $ docker top 82d065c9f9a23917b6657c2bb0086749a39931171da991ca864ec8a7cd0e2d9b -eo pid,comm [Pipeline] { [Pipeline] sh 12:51:37 + go version 12:51:37 go version go1.17.6 linux/amd64 [Pipeline] } 12:51:37 $ docker stop --time=1 82d065c9f9a23917b6657c2bb0086749a39931171da991ca864ec8a7cd0e2d9b 12:51:38 $ docker rm -f 82d065c9f9a23917b6657c2bb0086749a39931171da991ca864ec8a7cd0e2d9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:51:39 + docker inspect -f . ci-base-image-x86_64 12:51:39 . [Pipeline] withDockerContainer 12:51:39 prd-ubuntu20.04-docker-8c-8g-40367 does not seem to be running inside a container 12:51:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-416 -v /w/workspace/_app-service-configurable_PR-416:/w/workspace/_app-service-configurable_PR-416:rw,z -v /w/workspace/_app-service-configurable_PR-416@tmp:/w/workspace/_app-service-configurable_PR-416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:51:39 $ docker top 2624e7f5e07fbf6fe6820fbaed61520c31e60304c937c809b248d35fddff1c89 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:51:40 + make test 12:51:40 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 12:51:50 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:51:50 CGO_ENABLED=1 go vet ./... 12:51:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:51:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:51:54 ./bin/test-attribution-txt.sh [Pipeline] echo 12:51:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:51:55 $ docker stop --time=1 2624e7f5e07fbf6fe6820fbaed61520c31e60304c937c809b248d35fddff1c89 12:51:56 $ docker rm -f 2624e7f5e07fbf6fe6820fbaed61520c31e60304c937c809b248d35fddff1c89 [Pipeline] // withDockerContainer [Pipeline] sh 12:51:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:51:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:51:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:51:58 + ls -al . 12:51:58 total 164 12:51:58 drwxrwxr-x 8 jenkins jenkins 4096 May 3 12:51 . 12:51:58 drwxrwxr-x 4 jenkins jenkins 4096 May 3 12:50 .. 12:51:58 -rw-rw-r-- 1 jenkins jenkins 119 May 3 12:50 .dockerignore 12:51:58 drwxrwxr-x 8 jenkins jenkins 4096 May 3 12:51 .git 12:51:58 drwxrwxr-x 3 jenkins jenkins 4096 May 3 12:50 .github 12:51:58 -rw-rw-r-- 1 jenkins jenkins 104 May 3 12:50 .gitignore 12:51:58 drwxr-xr-x 3 jenkins jenkins 4096 May 3 12:51 .semver 12:51:58 -rw-rw-r-- 1 jenkins jenkins 8695 May 3 12:50 Attribution.txt 12:51:58 -rw-rw-r-- 1 jenkins jenkins 23791 May 3 12:50 CHANGELOG.md 12:51:58 -rw-rw-r-- 1 jenkins jenkins 2087 May 3 12:50 Dockerfile 12:51:58 -rw-rw-r-- 1 jenkins jenkins 677 May 3 12:50 GOVERNANCE.md 12:51:58 -rw-rw-r-- 1 jenkins jenkins 688 May 3 12:50 Jenkinsfile 12:51:58 -rw-rw-r-- 1 jenkins jenkins 10174 May 3 12:50 LICENSE 12:51:58 -rw-rw-r-- 1 jenkins jenkins 618 May 3 12:50 OWNERS.md 12:51:58 -rw-rw-r-- 1 jenkins jenkins 3718 May 3 12:50 README.md 12:51:58 -rw-rw-r-- 1 jenkins jenkins 5 May 3 12:51 VERSION 12:51:58 drwxrwxr-x 2 jenkins jenkins 4096 May 3 12:50 bin 12:51:58 -rw-r--r-- 1 jenkins jenkins 10 May 3 12:51 coverage.out 12:51:58 -rw-rw-r-- 1 jenkins jenkins 3268 May 3 12:50 go.mod 12:51:58 -rw-rw-r-- 1 jenkins jenkins 34650 May 3 12:50 go.sum 12:51:58 -rw-rw-r-- 1 jenkins jenkins 1949 May 3 12:50 main.go 12:51:58 -rw-rw-r-- 1 jenkins jenkins 2007 May 3 12:50 makefile 12:51:58 drwxrwxr-x 10 jenkins jenkins 4096 May 3 12:50 res 12:51:58 drwxrwxr-x 3 jenkins jenkins 4096 May 3 12:50 snap [Pipeline] isUnix [Pipeline] sh 12:51:58 + 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=e1307e7131d3cdea8ba6c2ae1f4ad07b0700aa88 --label arch=amd64 --label version=0.0.0 . 12:51:58 Sending build context to Docker daemon 3.048MB 12:51:58 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 12:51:58 Step 2/27 : FROM ${BASE} AS builder 12:51:58 ---> f4c9dede74cc 12:51:58 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:51:58 ---> Running in bfe4d7443f4a 12:51:58 Removing intermediate container bfe4d7443f4a 12:51:58 ---> ebb77812362d 12:51:58 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:51:59 ---> Running in e469207ceae1 12:51:59 Removing intermediate container e469207ceae1 12:51:59 ---> 9a52883c1ab7 12:51:59 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:51:59 ---> Running in 99904c8fdb3f 12:51:59 Removing intermediate container 99904c8fdb3f 12:51:59 ---> 067dd37f636f 12:51:59 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:51:59 ---> Running in c4975813adae 12:51:59 Removing intermediate container c4975813adae 12:51:59 ---> d3ba73d2498d 12:51:59 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:52:00 ---> Running in 055b9f7b4d35 12:52:00 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:52:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:52:01 OK: 221 MiB in 52 packages 12:52:01 Removing intermediate container 055b9f7b4d35 12:52:01 ---> bc29f781f577 12:52:01 Step 8/27 : WORKDIR /app 12:52:01 ---> Running in 8d025c8debaa 12:52:01 Removing intermediate container 8d025c8debaa 12:52:01 ---> db56f6503c04 12:52:01 Step 9/27 : COPY go.mod vendor* ./ 12:52:01 ---> 6cda912d5b8f 12:52:01 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:52:02 ---> Running in d0bbfd9213a6 12:52:02 Removing intermediate container d0bbfd9213a6 12:52:02 ---> 0c73866bb393 12:52:02 Step 11/27 : COPY . . 12:52:02 ---> ccde9e3eaa45 12:52:02 Step 12/27 : ARG MAKE="make build" 12:52:02 ---> Running in b584cb082591 12:52:02 Removing intermediate container b584cb082591 12:52:02 ---> 7053b6162d2d 12:52:02 Step 13/27 : RUN $MAKE 12:52:02 ---> Running in a295ffda17f1 12:52:03 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 12:52:25 Removing intermediate container a295ffda17f1 12:52:25 ---> 826f4a906f5d 12:52:25 Step 14/27 : FROM alpine:3.14 12:52:25 3.14: Pulling from library/alpine 12:52:25 8663204ce13b: Pulling fs layer 12:52:25 8663204ce13b: Verifying Checksum 12:52:25 8663204ce13b: Download complete 12:52:25 8663204ce13b: Pull complete 12:52:25 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:52:25 Status: Downloaded newer image for alpine:3.14 12:52:25 ---> e04c818066af 12:52:25 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:52:25 ---> Running in b14bd98a4ad5 12:52:25 Removing intermediate container b14bd98a4ad5 12:52:25 ---> e7be31720b90 12:52:25 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:52:25 ---> Running in 1e03b881c8c3 12:52:25 Removing intermediate container 1e03b881c8c3 12:52:25 ---> fd3854885fed 12:52:25 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 12:52:25 ---> Running in b8b2e5fa8338 12:52:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 12:52:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 12:52:25 (1/7) Installing ca-certificates (20211220-r0) 12:52:25 (2/7) Installing dumb-init (1.2.5-r1) 12:52:25 (3/7) Installing libgcc (10.3.1_git20210424-r2) 12:52:25 (4/7) Installing libsodium (1.0.18-r0) 12:52:25 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 12:52:25 (6/7) Installing libzmq (4.3.4-r0) 12:52:25 (7/7) Installing zeromq (4.3.4-r0) 12:52:25 Executing busybox-1.33.1-r7.trigger 12:52:25 Executing ca-certificates-20211220-r0.trigger 12:52:25 OK: 9 MiB in 21 packages 12:52:25 Removing intermediate container b8b2e5fa8338 12:52:25 ---> 74366ed0f40a 12:52:25 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:52:25 ---> 81b1458d8c63 12:52:25 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:52:25 ---> 5387fa52c471 12:52:25 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:52:25 ---> 96a71d0feb10 12:52:25 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:52:25 ---> 61ff98d76d00 12:52:25 Step 22/27 : EXPOSE 48095 12:52:25 ---> Running in fcb2c0a00f87 12:52:26 Removing intermediate container fcb2c0a00f87 12:52:26 ---> 714d60633f88 12:52:26 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:52:26 ---> Running in 86973fbb3acf 12:52:26 Removing intermediate container 86973fbb3acf 12:52:26 ---> d4b72c9816db 12:52:26 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:52:26 ---> Running in f5412731dd65 12:52:26 Removing intermediate container f5412731dd65 12:52:26 ---> 18bd15b003bd 12:52:26 Step 25/27 : LABEL arch=amd64 12:52:26 ---> Running in 731a706138f0 12:52:26 Removing intermediate container 731a706138f0 12:52:26 ---> 66a3ccae52a1 12:52:26 Step 26/27 : LABEL git_sha=e1307e7131d3cdea8ba6c2ae1f4ad07b0700aa88 12:52:26 ---> Running in 50886112943d 12:52:26 Removing intermediate container 50886112943d 12:52:26 ---> 9c18ad33b6ba 12:52:26 Step 27/27 : LABEL version=0.0.0 12:52:26 ---> Running in b93b264c17e2 12:52:26 Removing intermediate container b93b264c17e2 12:52:26 ---> 2f37629a0acf 12:52:26 [Warning] One or more build-args [ARCH] were not consumed 12:52:26 Successfully built 2f37629a0acf 12:52:26 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 12:52:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:52:27 12:52:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:52:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:52:27 latest: Pulling from edgex-lftools-log-publisher 12:52:27 5eb5b503b376: Pulling fs layer 12:52:27 5c69ac0246d0: Pulling fs layer 12:52:27 ec43610c2a17: Pulling fs layer 12:52:27 3a2ae6a8a46f: Pulling fs layer 12:52:27 33b1e0a273af: Pulling fs layer 12:52:27 5d3b04190fa2: Pulling fs layer 12:52:27 2f39f015ded8: Pulling fs layer 12:52:27 5d3b04190fa2: Waiting 12:52:27 3a2ae6a8a46f: Waiting 12:52:27 2f39f015ded8: Waiting 12:52:27 33b1e0a273af: Waiting 12:52:27 5c69ac0246d0: Verifying Checksum 12:52:27 5c69ac0246d0: Download complete 12:52:27 3a2ae6a8a46f: Verifying Checksum 12:52:27 3a2ae6a8a46f: Download complete 12:52:28 ec43610c2a17: Verifying Checksum 12:52:28 ec43610c2a17: Download complete 12:52:28 33b1e0a273af: Verifying Checksum 12:52:28 5d3b04190fa2: Verifying Checksum 12:52:28 5d3b04190fa2: Download complete 12:52:28 5eb5b503b376: Verifying Checksum 12:52:28 5eb5b503b376: Download complete 12:52:28 2f39f015ded8: Verifying Checksum 12:52:29 5eb5b503b376: Pull complete 12:52:29 5c69ac0246d0: Pull complete 12:52:30 ec43610c2a17: Pull complete 12:52:30 3a2ae6a8a46f: Pull complete 12:52:30 33b1e0a273af: Pull complete 12:52:30 5d3b04190fa2: Pull complete 12:52:34 2f39f015ded8: Pull complete 12:52:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:52:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:52:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:52:34 prd-ubuntu20.04-docker-8c-8g-40367 does not seem to be running inside a container 12:52:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-416 -v /w/workspace/_app-service-configurable_PR-416:/w/workspace/_app-service-configurable_PR-416:rw,z -v /w/workspace/_app-service-configurable_PR-416@tmp:/w/workspace/_app-service-configurable_PR-416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:52:36 $ docker top fc9a9f7e7d3f3c52386614c16751ed77e37f26653363f56ccaf38663b55bee35 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:52:36 ---> job-cost.sh 12:52:36 lf-activate-venv: SKIPPING 12:52:36 INFO: No Stack... 12:52:37 INFO: Retrieving Pricing Info for: v3-standard-8 12:52:37 INFO: Archiving Costs [Pipeline] sh 12:52:38 + cut -d, -f6 12:52:38 + cat /w/workspace/_app-service-configurable_PR-416/archives/cost.csv [Pipeline] lock 12:52:38 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-416-1-stack-cost] 12:52:38 Resource [jenkins-edgexfoundry-app-service-configurable-PR-416-1-stack-cost] did not exist. Created. 12:52:38 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-416-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:52:38 + echo total: 0.2199999988079071 [Pipeline] stash 12:52:38 Stashed 1 file(s) [Pipeline] } 12:52:38 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-416-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:52:38 $ docker stop --time=1 fc9a9f7e7d3f3c52386614c16751ed77e37f26653363f56ccaf38663b55bee35 12:52:40 $ docker rm -f fc9a9f7e7d3f3c52386614c16751ed77e37f26653363f56ccaf38663b55bee35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:53:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-40368 in /w/workspace/_app-service-configurable_PR-416 [Pipeline] { [Pipeline] ws 12:53:00 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:53:00 Selected Git installation does not exist. Using Default 12:53:00 The recommended git tool is: NONE 12:53:06 using credential edgex-jenkins-ssh 12:53:06 Cloning the remote Git repository 12:53:07 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:53:07 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:53:07 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:53:07 > git --version # timeout=10 12:53:07 > git --version # 'git version 2.25.1' 12:53:07 using GIT_SSH to set credentials SSH Credentials for GitHub 12:53:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:53:08 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:53:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:53:08 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:53:08 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:53:08 using GIT_SSH to set credentials SSH Credentials for GitHub 12:53:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/416/head:refs/remotes/origin/PR-416 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:53:09 Merging remotes/origin/main commit a669bdb4f1e2d7cd4e5cba464327739a597f1457 into PR head commit e1307e7131d3cdea8ba6c2ae1f4ad07b0700aa88 12:53:09 Merge succeeded, producing e1307e7131d3cdea8ba6c2ae1f4ad07b0700aa88 12:53:09 Checking out Revision e1307e7131d3cdea8ba6c2ae1f4ad07b0700aa88 (PR-416) 12:53:09 > git config core.sparsecheckout # timeout=10 12:53:09 > git checkout -f e1307e7131d3cdea8ba6c2ae1f4ad07b0700aa88 # timeout=10 12:53:09 > git remote # timeout=10 12:53:09 > git config --get remote.origin.url # timeout=10 12:53:09 using GIT_SSH to set credentials SSH Credentials for GitHub 12:53:09 > git merge a669bdb4f1e2d7cd4e5cba464327739a597f1457 # timeout=10 12:53:09 > git rev-parse HEAD^{commit} # timeout=10 12:53:09 > git config core.sparsecheckout # timeout=10 12:53:09 > git checkout -f e1307e7131d3cdea8ba6c2ae1f4ad07b0700aa88 # timeout=10 12:53:13 Commit message: "docs(snap): Add store link" 12:53:13 > git --version # timeout=10 12:53:13 > git --version # 'git version 2.25.1' 12:53:13 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:53:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:53:14 % Total % Received % Xferd Average Speed Time Time Time Current 12:53:14 Dload Upload Total Spent Left Speed 12:53:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 84592 0 --:--:-- --:--:-- --:--:-- 84592 [Pipeline] sh 12:53:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:53:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:53:15 + sudo tee /etc/docker/daemon.new 12:53:15 { 12:53:15 "registry-mirrors": [ 12:53:15 "https://nexus3.edgexfoundry.org:10001" 12:53:15 ], 12:53:15 "bip": "10.250.0.254/24", 12:53:15 "hosts": [ 12:53:15 "tcp://0.0.0.0:5555", 12:53:15 "unix:///var/run/docker.sock" 12:53:15 ], 12:53:15 "mtu": 1458, 12:53:15 "selinux-enabled": true, 12:53:15 "seccomp-profile": "/etc/docker/seccomp.json" 12:53:15 } [Pipeline] sh 12:53:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:53:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:53:35 provisioning config files... 12:53:35 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config505121451942765498tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:53:35 ---> docker-login.sh 12:53:35 nexus3.edgexfoundry.org:10001 12:53:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:36 Configure a credential helper to remove this warning. See 12:53:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:36 12:53:36 Login Succeeded 12:53:36 nexus3.edgexfoundry.org:10002 12:53:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:37 Configure a credential helper to remove this warning. See 12:53:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:37 12:53:37 Login Succeeded 12:53:37 nexus3.edgexfoundry.org:10003 12:53:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:37 Configure a credential helper to remove this warning. See 12:53:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:37 12:53:37 Login Succeeded 12:53:37 nexus3.edgexfoundry.org:10004 12:53:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:38 Configure a credential helper to remove this warning. See 12:53:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:38 12:53:38 Login Succeeded 12:53:38 docker.io 12:53:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:38 Configure a credential helper to remove this warning. See 12:53:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:38 12:53:38 Login Succeeded 12:53:38 ---> docker-login.sh ends [Pipeline] } 12:53:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:53:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:53:39 ========================================================= 12:53:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:53:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:53:39 + 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 . 12:53:39 Sending build context to Docker daemon 199.2kB 12:53:40 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 12:53:40 Step 2/13 : FROM ${BASE} AS builder 12:53:40 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:53:40 9b3977197b4f: Pulling fs layer 12:53:40 1a89e8eeedd5: Pulling fs layer 12:53:40 94645a83ff95: Pulling fs layer 12:53:40 3f3a8bcf1eab: Pulling fs layer 12:53:40 0c92f367c5e7: Pulling fs layer 12:53:40 3096ccb668a1: Pulling fs layer 12:53:40 e8cf19c19ddd: Pulling fs layer 12:53:40 a4caa8a26152: Pulling fs layer 12:53:40 3f3a8bcf1eab: Waiting 12:53:40 0c92f367c5e7: Waiting 12:53:40 3096ccb668a1: Waiting 12:53:40 e8cf19c19ddd: Waiting 12:53:40 a4caa8a26152: Waiting 12:53:40 94645a83ff95: Verifying Checksum 12:53:40 94645a83ff95: Download complete 12:53:40 1a89e8eeedd5: Verifying Checksum 12:53:40 1a89e8eeedd5: Download complete 12:53:40 0c92f367c5e7: Verifying Checksum 12:53:40 0c92f367c5e7: Download complete 12:53:40 3096ccb668a1: Verifying Checksum 12:53:40 3096ccb668a1: Download complete 12:53:40 9b3977197b4f: Verifying Checksum 12:53:40 9b3977197b4f: Download complete 12:53:40 e8cf19c19ddd: Verifying Checksum 12:53:40 e8cf19c19ddd: Download complete 12:53:41 9b3977197b4f: Pull complete 12:53:41 1a89e8eeedd5: Pull complete 12:53:42 94645a83ff95: Pull complete 12:53:42 a4caa8a26152: Verifying Checksum 12:53:42 a4caa8a26152: Download complete 12:53:43 3f3a8bcf1eab: Verifying Checksum 12:53:43 3f3a8bcf1eab: Download complete 12:53:55 3f3a8bcf1eab: Pull complete 12:53:55 0c92f367c5e7: Pull complete 12:53:55 3096ccb668a1: Pull complete 12:53:55 e8cf19c19ddd: Pull complete 12:54:02 a4caa8a26152: Pull complete 12:54:02 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 12:54:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:54:02 ---> 725f1c02e7f9 12:54:02 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:54:02 ---> Running in 117577a34db3 12:54:02 Removing intermediate container 117577a34db3 12:54:02 ---> c76e9fa4a861 12:54:02 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 12:54:02 ---> Running in 4d961f90912c 12:54:03 Removing intermediate container 4d961f90912c 12:54:03 ---> 4b5ad59f6abc 12:54:03 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:54:03 ---> Running in e15dfe9fe985 12:54:03 Removing intermediate container e15dfe9fe985 12:54:03 ---> a62bdc1e11be 12:54:03 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:54:03 ---> Running in a6dad15a8276 12:54:05 Removing intermediate container a6dad15a8276 12:54:05 ---> 825523d74928 12:54:05 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:54:05 ---> Running in 59151a74ce35 12:54:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:54:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:54:09 OK: 220 MiB in 52 packages 12:54:10 Removing intermediate container 59151a74ce35 12:54:10 ---> f5f644f63302 12:54:10 Step 8/13 : WORKDIR /app 12:54:10 ---> Running in f3aba0039892 12:54:10 Removing intermediate container f3aba0039892 12:54:10 ---> 5ec74bf8fb9c 12:54:10 Step 9/13 : COPY go.mod vendor* ./ 12:54:11 ---> 5782a197959b 12:54:11 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:54:11 ---> Running in cd78e0826316 12:54:58 Removing intermediate container cd78e0826316 12:54:58 ---> 200c075d7636 12:54:58 Step 11/13 : COPY . . 12:54:58 ---> 468673f1a5f7 12:54:58 Step 12/13 : ARG MAKE="make build" 12:54:58 ---> Running in bfae4a4cfc42 12:54:58 Removing intermediate container bfae4a4cfc42 12:54:58 ---> 8db9471b402b 12:54:58 Step 13/13 : RUN $MAKE 12:54:58 ---> Running in 48d4e428a908 12:54:58 noop 12:54:58 Removing intermediate container 48d4e428a908 12:54:58 ---> bf7e39a1b63b 12:54:58 Successfully built bf7e39a1b63b 12:54:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:54:58 + docker inspect -f . ci-base-image-arm64 12:54:58 . [Pipeline] withDockerContainer 12:54:58 prd-ubuntu20.04-docker-arm64-4c-16g-40368 does not seem to be running inside a container 12:54:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:54:59 $ docker top a3cd197a262d3c9c08c1365998850d9049fab53ea3336907406cdc121bee33a4 -eo pid,comm [Pipeline] { [Pipeline] sh 12:55:00 + go version 12:55:00 go version go1.17.6 linux/arm64 [Pipeline] } 12:55:01 $ docker stop --time=1 a3cd197a262d3c9c08c1365998850d9049fab53ea3336907406cdc121bee33a4 12:55:02 $ docker rm -f a3cd197a262d3c9c08c1365998850d9049fab53ea3336907406cdc121bee33a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:55:03 + docker inspect -f . ci-base-image-arm64 12:55:03 . [Pipeline] withDockerContainer 12:55:03 prd-ubuntu20.04-docker-arm64-4c-16g-40368 does not seem to be running inside a container 12:55:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:55:05 $ docker top 9b4061387d6eae55d5903773d27021ffee5e848121c5856c0f966c2ae35bf81c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:55:06 + make test 12:55:06 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 12:56:27 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:56:27 CGO_ENABLED=1 go vet ./... 12:56:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:56:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:56:46 ./bin/test-attribution-txt.sh [Pipeline] echo 12:56:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:56:49 $ docker stop --time=1 9b4061387d6eae55d5903773d27021ffee5e848121c5856c0f966c2ae35bf81c 12:56:51 $ docker rm -f 9b4061387d6eae55d5903773d27021ffee5e848121c5856c0f966c2ae35bf81c [Pipeline] // withDockerContainer [Pipeline] sh 12:56:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:56:52 Warning: overwriting stash ‘coverage-report’ 12:56:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:56:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:56:53 + ls -al . 12:56:53 total 160 12:56:53 drwxrwxr-x 7 jenkins jenkins 4096 May 3 12:56 . 12:56:53 drwxrwxr-x 4 jenkins jenkins 4096 May 3 12:53 .. 12:56:53 -rw-rw-r-- 1 jenkins jenkins 119 May 3 12:53 .dockerignore 12:56:53 drwxrwxr-x 8 jenkins jenkins 4096 May 3 12:53 .git 12:56:53 drwxrwxr-x 3 jenkins jenkins 4096 May 3 12:53 .github 12:56:53 -rw-rw-r-- 1 jenkins jenkins 104 May 3 12:53 .gitignore 12:56:53 -rw-rw-r-- 1 jenkins jenkins 8695 May 3 12:53 Attribution.txt 12:56:53 -rw-rw-r-- 1 jenkins jenkins 23791 May 3 12:53 CHANGELOG.md 12:56:53 -rw-rw-r-- 1 jenkins jenkins 2087 May 3 12:53 Dockerfile 12:56:53 -rw-rw-r-- 1 jenkins jenkins 677 May 3 12:53 GOVERNANCE.md 12:56:53 -rw-rw-r-- 1 jenkins jenkins 688 May 3 12:53 Jenkinsfile 12:56:53 -rw-rw-r-- 1 jenkins jenkins 10174 May 3 12:53 LICENSE 12:56:53 -rw-rw-r-- 1 jenkins jenkins 618 May 3 12:53 OWNERS.md 12:56:53 -rw-rw-r-- 1 jenkins jenkins 3718 May 3 12:53 README.md 12:56:53 -rw-rw-r-- 1 jenkins jenkins 5 May 3 12:51 VERSION 12:56:53 drwxrwxr-x 2 jenkins jenkins 4096 May 3 12:53 bin 12:56:53 -rw-r--r-- 1 jenkins jenkins 10 May 3 12:55 coverage.out 12:56:53 -rw-rw-r-- 1 jenkins jenkins 3268 May 3 12:53 go.mod 12:56:53 -rw-rw-r-- 1 jenkins jenkins 34650 May 3 12:53 go.sum 12:56:53 -rw-rw-r-- 1 jenkins jenkins 1949 May 3 12:53 main.go 12:56:53 -rw-rw-r-- 1 jenkins jenkins 2007 May 3 12:53 makefile 12:56:53 drwxrwxr-x 10 jenkins jenkins 4096 May 3 12:53 res 12:56:53 drwxrwxr-x 3 jenkins jenkins 4096 May 3 12:53 snap [Pipeline] isUnix [Pipeline] sh 12:56:54 + 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=e1307e7131d3cdea8ba6c2ae1f4ad07b0700aa88 --label arch=arm64 --label version=0.0.0 . 12:56:54 Sending build context to Docker daemon 200.2kB 12:56:54 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 12:56:54 Step 2/27 : FROM ${BASE} AS builder 12:56:54 ---> bf7e39a1b63b 12:56:54 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:56:55 ---> Running in b1acb54cbc77 12:56:55 Removing intermediate container b1acb54cbc77 12:56:55 ---> edc0ff52e2f7 12:56:55 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:56:55 ---> Running in a5fc8ad9cc66 12:56:55 Removing intermediate container a5fc8ad9cc66 12:56:55 ---> ccab92c0c4df 12:56:55 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:56:55 ---> Running in bd3eaa6e2230 12:56:56 Removing intermediate container bd3eaa6e2230 12:56:56 ---> b263b5493ad6 12:56:56 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:56:56 ---> Running in 8ec8f78cb625 12:56:57 Removing intermediate container 8ec8f78cb625 12:56:57 ---> a523dd2d37a4 12:56:57 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:56:57 ---> Running in 7bd36fa829af 12:56:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:56:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:57:00 OK: 220 MiB in 52 packages 12:57:01 Removing intermediate container 7bd36fa829af 12:57:01 ---> c72b98a39460 12:57:01 Step 8/27 : WORKDIR /app 12:57:01 ---> Running in ab9dee44fb17 12:57:01 Removing intermediate container ab9dee44fb17 12:57:01 ---> 9b0373aab51b 12:57:01 Step 9/27 : COPY go.mod vendor* ./ 12:57:02 ---> 215a3cddcb93 12:57:02 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:57:02 ---> Running in 5ae61b3319ae 12:57:04 Removing intermediate container 5ae61b3319ae 12:57:04 ---> dd190637fca6 12:57:04 Step 11/27 : COPY . . 12:57:04 ---> 397b2453fe36 12:57:04 Step 12/27 : ARG MAKE="make build" 12:57:04 ---> Running in a18f86d8eff3 12:57:05 Removing intermediate container a18f86d8eff3 12:57:05 ---> 80ddc528c05e 12:57:05 Step 13/27 : RUN $MAKE 12:57:05 ---> Running in 59869f6f7ced 12:57:06 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 12:59:12 Removing intermediate container 59869f6f7ced 12:59:12 ---> e6e7a04c0a0d 12:59:12 Step 14/27 : FROM alpine:3.14 12:59:12 3.14: Pulling from library/alpine 12:59:12 455c02918c45: Pulling fs layer 12:59:12 455c02918c45: Verifying Checksum 12:59:12 455c02918c45: Download complete 12:59:12 455c02918c45: Pull complete 12:59:12 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:59:12 Status: Downloaded newer image for alpine:3.14 12:59:12 ---> ac73e934f311 12:59:12 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:59:12 ---> Running in 9736eda4a2ac 12:59:12 Removing intermediate container 9736eda4a2ac 12:59:12 ---> 36f36ea7a7ff 12:59:12 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:59:12 ---> Running in eb5f47e89c40 12:59:12 Removing intermediate container eb5f47e89c40 12:59:12 ---> d7bd1e8e1318 12:59:12 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 12:59:12 ---> Running in fb6ec0cbb7e5 12:59:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 12:59:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 12:59:12 (1/7) Installing ca-certificates (20211220-r0) 12:59:12 (2/7) Installing dumb-init (1.2.5-r1) 12:59:12 (3/7) Installing libgcc (10.3.1_git20210424-r2) 12:59:12 (4/7) Installing libsodium (1.0.18-r0) 12:59:12 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 12:59:12 (6/7) Installing libzmq (4.3.4-r0) 12:59:12 (7/7) Installing zeromq (4.3.4-r0) 12:59:12 Executing busybox-1.33.1-r7.trigger 12:59:12 Executing ca-certificates-20211220-r0.trigger 12:59:12 OK: 9 MiB in 21 packages 12:59:12 Removing intermediate container fb6ec0cbb7e5 12:59:12 ---> 3fc1e158e2c9 12:59:12 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:59:12 ---> 1610cb0bf488 12:59:12 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:59:12 ---> e0d5ecd33ce8 12:59:12 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:59:12 ---> d3dabdec7ecf 12:59:12 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:59:12 ---> 52c6f9579b4c 12:59:12 Step 22/27 : EXPOSE 48095 12:59:12 ---> Running in f32d569f9a38 12:59:12 Removing intermediate container f32d569f9a38 12:59:12 ---> 463742034059 12:59:12 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:59:12 ---> Running in 2f8b01400e76 12:59:12 Removing intermediate container 2f8b01400e76 12:59:12 ---> 9b2b0ef4f627 12:59:12 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:59:12 ---> Running in 93b1c8b69db3 12:59:12 Removing intermediate container 93b1c8b69db3 12:59:12 ---> 74b964fd56ca 12:59:12 Step 25/27 : LABEL arch=arm64 12:59:12 ---> Running in e873f626cdf3 12:59:12 Removing intermediate container e873f626cdf3 12:59:12 ---> 436ffe516800 12:59:12 Step 26/27 : LABEL git_sha=e1307e7131d3cdea8ba6c2ae1f4ad07b0700aa88 12:59:12 ---> Running in 8c0e7deb06de 12:59:12 Removing intermediate container 8c0e7deb06de 12:59:12 ---> 41a609986cb7 12:59:12 Step 27/27 : LABEL version=0.0.0 12:59:12 ---> Running in b5b9f92478ea 12:59:12 Removing intermediate container b5b9f92478ea 12:59:12 ---> 0521759e5492 12:59:12 [Warning] One or more build-args [ARCH] were not consumed 12:59:12 Successfully built 0521759e5492 12:59:12 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 12:59:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:59:13 12:59:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 12:59:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:59:14 arm64: Pulling from edgex-lftools-log-publisher 12:59:14 8998bd30e6a1: Pulling fs layer 12:59:14 04944245beec: Pulling fs layer 12:59:14 699f458cf7ca: Pulling fs layer 12:59:14 765212b225bb: Pulling fs layer 12:59:14 f23df028b6ca: Pulling fs layer 12:59:14 d65c8cfc05b1: Pulling fs layer 12:59:14 2437ff75d9bd: Pulling fs layer 12:59:14 765212b225bb: Waiting 12:59:14 f23df028b6ca: Waiting 12:59:14 d65c8cfc05b1: Waiting 12:59:14 2437ff75d9bd: Waiting 12:59:14 04944245beec: Verifying Checksum 12:59:14 04944245beec: Download complete 12:59:14 765212b225bb: Verifying Checksum 12:59:14 765212b225bb: Download complete 12:59:14 f23df028b6ca: Verifying Checksum 12:59:14 f23df028b6ca: Download complete 12:59:14 d65c8cfc05b1: Verifying Checksum 12:59:14 d65c8cfc05b1: Download complete 12:59:14 699f458cf7ca: Verifying Checksum 12:59:14 699f458cf7ca: Download complete 12:59:14 8998bd30e6a1: Verifying Checksum 12:59:14 8998bd30e6a1: Download complete 12:59:17 2437ff75d9bd: Verifying Checksum 12:59:17 2437ff75d9bd: Download complete 12:59:18 8998bd30e6a1: Pull complete 12:59:19 04944245beec: Pull complete 12:59:20 699f458cf7ca: Pull complete 12:59:21 765212b225bb: Pull complete 12:59:22 f23df028b6ca: Pull complete 12:59:22 d65c8cfc05b1: Pull complete 12:59:37 2437ff75d9bd: Pull complete 12:59:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:59:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:59:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 12:59:37 prd-ubuntu20.04-docker-arm64-4c-16g-40368 does not seem to be running inside a container 12:59:37 $ 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/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:59:40 $ docker top 94ab8a46da7ec0fbc14b57552f3113032e562da57af3a892613e0fb3ecd558ef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:59:41 ---> job-cost.sh 12:59:41 lf-activate-venv: SKIPPING 12:59:41 INFO: No Stack... 12:59:41 INFO: Retrieving Pricing Info for: v3-standard-4 12:59:42 INFO: Archiving Costs [Pipeline] sh 12:59:43 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 12:59:43 + cut -d, -f6 [Pipeline] lock 12:59:43 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-416-1-stack-cost] 12:59:43 Resource [jenkins-edgexfoundry-app-service-configurable-PR-416-1-stack-cost] did not exist. Created. 12:59:43 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-416-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:59:43 /w/workspace/app-service-configurable/1@tmp/durable-4bc99618/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:59:44 + echo total: 0.10999999940395355 [Pipeline] stash 12:59:44 Warning: overwriting stash ‘stack-cost’ 12:59:44 Stashed 1 file(s) [Pipeline] } 12:59:44 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-416-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:59:44 $ docker stop --time=1 94ab8a46da7ec0fbc14b57552f3113032e562da57af3a892613e0fb3ecd558ef 12:59:46 $ docker rm -f 94ab8a46da7ec0fbc14b57552f3113032e562da57af3a892613e0fb3ecd558ef [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 12:59:47 provisioning config files... 12:59:47 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-416@tmp/config7901888173110593512tmp [Pipeline] { [Pipeline] sh 12:59:47 + set +x 12:59:47 + + curl -s https://codecov.io/bash 12:59:47 bash -s -- 12:59:47 12:59:47 _____ _ 12:59:47 / ____| | | 12:59:47 | | ___ __| | ___ ___ _____ __ 12:59:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:59:47 | |___| (_) | (_| | __/ (_| (_) \ V / 12:59:47 \_____\___/ \__,_|\___|\___\___/ \_/ 12:59:47 Bash-1.0.6 12:59:47 12:59:47 12:59:47 ==> git version 2.25.1 found 12:59:47 ==> 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 12:59:47 Release-Date: 2020-01-08 12:59:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:59:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:59:47 ==> Jenkins CI detected. 12:59:47 current dir:  /w/workspace/_app-service-configurable_PR-416 12:59:47 project root: . 12:59:47 --> token set from env 12:59:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:59:47 ==> Running gcov in . (disable via -X gcov) 12:59:47 ==> Python coveragepy not found 12:59:47 ==> Searching for coverage reports in: 12:59:47 + . 12:59:47 -> Found 1 reports 12:59:47 ==> Detecting git/mercurial file structure 12:59:47 ==> Reading reports 12:59:47 + ./coverage.out bytes=10 12:59:47 ==> Appending adjustments 12:59:47 https://docs.codecov.io/docs/fixing-reports 12:59:47 + Found adjustments 12:59:47 ==> Gzipping contents 12:59:47 4.0K /tmp/codecov.sls8TU.gz 12:59:47 ==> Uploading reports 12:59:47 url: https://codecov.io 12:59:47 query: branch=PR-416&commit=e1307e7131d3cdea8ba6c2ae1f4ad07b0700aa88&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-416%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=416&job=&cmd_args= 12:59:47 -> Pinging Codecov 12:59:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-416&commit=e1307e7131d3cdea8ba6c2ae1f4ad07b0700aa88&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-416%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=416&job=&cmd_args= 12:59:48 -> Uploading to 12:59:48 https://storage.googleapis.com/codecov/v4/raw/2022-05-03/A97CA9966030D2A3747ED39772930CCE/e1307e7131d3cdea8ba6c2ae1f4ad07b0700aa88/b4b77ff1-bc6d-438c-978b-66f82d518fb4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220503T125947Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=de8977dabfc4c5dc57966ad56f3432b3eceb36b238528a6294d8ad7a85350f80 12:59:48 % Total % Received % Xferd Average Speed Time Time Time Current 12:59:48 Dload Upload Total Spent Left Speed 12:59:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 592 0 0 100 592 0 2466 --:--:-- --:--:-- --:--:-- 2466 12:59:48 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/e1307e7131d3cdea8ba6c2ae1f4ad07b0700aa88 [Pipeline] } 12:59:48 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 12:59:50 + [ -d /w/workspace/_app-service-configurable_PR-416/archives ] 12:59:50 + ls -al /w/workspace/_app-service-configurable_PR-416/archives 12:59:50 total 16 12:59:50 drwxr-xr-x 3 root root 4096 May 3 12:52 . 12:59:50 drwxrwxr-x 9 jenkins jenkins 4096 May 3 12:52 .. 12:59:50 drwxr-xr-x 2 root root 4096 May 3 12:52 cost 12:59:50 -rw-r--r-- 1 root root 95 May 3 12:52 cost.csv 12:59:50 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-416/archives 12:59:50 + ls -al /w/workspace/_app-service-configurable_PR-416/archives 12:59:50 total 16 12:59:50 drwxr-xr-x 3 jenkins jenkins 4096 May 3 12:52 . 12:59:50 drwxrwxr-x 9 jenkins jenkins 4096 May 3 12:52 .. 12:59:50 drwxr-xr-x 2 jenkins jenkins 4096 May 3 12:52 cost 12:59:50 -rw-r--r-- 1 jenkins jenkins 95 May 3 12:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:59:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:59:51 ---> package-listing.sh 12:59:51 ++ facter osfamily 12:59:51 ++ tr '[:upper:]' '[:lower:]' 12:59:51 + OS_FAMILY=debian 12:59:51 + workspace=/w/workspace/_app-service-configurable_PR-416 12:59:51 + START_PACKAGES=/tmp/packages_start.txt 12:59:51 + END_PACKAGES=/tmp/packages_end.txt 12:59:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:59:51 + PACKAGES=/tmp/packages_start.txt 12:59:51 + '[' /w/workspace/_app-service-configurable_PR-416 ']' 12:59:51 + PACKAGES=/tmp/packages_end.txt 12:59:51 + case "${OS_FAMILY}" in 12:59:51 + dpkg -l 12:59:51 + grep '^ii' 12:59:51 + '[' -f /tmp/packages_start.txt ']' 12:59:51 + '[' -f /tmp/packages_end.txt ']' 12:59:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:59:51 + '[' /w/workspace/_app-service-configurable_PR-416 ']' 12:59:51 + mkdir -p /w/workspace/_app-service-configurable_PR-416/archives/ 12:59:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-416/archives/ [Pipeline] echo 12:59:51 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-416/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:59:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:59:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:59:52 . [Pipeline] withDockerContainer 12:59:52 prd-ubuntu20.04-docker-8c-8g-40367 does not seem to be running inside a container 12:59:52 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-416/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-416 -v /w/workspace/_app-service-configurable_PR-416:/w/workspace/_app-service-configurable_PR-416:rw,z -v /w/workspace/_app-service-configurable_PR-416@tmp:/w/workspace/_app-service-configurable_PR-416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:59:52 $ docker top 01f3cd38d42874f028f14eca0a3b3ee54e3505d7ec3eb19cd83561efd4937d51 -eo pid,comm [Pipeline] { [Pipeline] sh 12:59:53 + touch /tmp/pre-build-complete [Pipeline] sh 12:59:53 + mkdir -p /var/log/sysstat [Pipeline] sh 12:59:53 + ls /var/log/sa-host 12:59:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:59:54 provisioning config files... 12:59:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-416@tmp/config2201062172790556627tmp [Pipeline] { [Pipeline] echo 12:59:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:59:54 ---> create-netrc.sh [Pipeline] } 12:59:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:59:54 ---> python-tools-install.sh [Pipeline] echo 12:59:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:59:55 ---> sudo-logs.sh 12:59:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:59:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:59:55 ---> job-cost.sh 12:59:55 lf-activate-venv: SKIPPING 12:59:55 DEBUG: total: 0.2199999988079071 12:59:55 INFO: Retrieving Stack Cost... 12:59:55 INFO: Retrieving Pricing Info for: v3-standard-8 12:59:56 INFO: Archiving Costs [Pipeline] echo 12:59:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:59:56 ---> logs-deploy.sh 12:59:56 lf-activate-venv: SKIPPING 12:59:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-416/1 12:59:56 INFO: archiving workspace using pattern(s): 12:59:57 Archives upload complete. 12:59:57 INFO: archiving logs to Nexus