Pull request #422 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from fee19bb272203effcad6e17cc6c65fce326e9519+3f477d47c6517606b32e01b3b7dfc9f0ed41c93b (fe8744bf94f2cf7d6da80f20f1534902abdd0925) 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-ssh11318006138933000114.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16222574478851836461.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh 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-422/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-422/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14474520088108688477.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-422/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10884099859989406684.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh10650719322224586114.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-422/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-422/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6430419358841407607.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-63171 in /w/workspace/_app-service-configurable_PR-422 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-service-configurable.git > git init /w/workspace/_app-service-configurable_PR-422 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 3f477d47c6517606b32e01b3b7dfc9f0ed41c93b into PR head commit fee19bb272203effcad6e17cc6c65fce326e9519 Merge succeeded, producing af8850d24d12e80c625358c4698a0d39e42f38b8 Checking out Revision af8850d24d12e80c625358c4698a0d39e42f38b8 (PR-422) > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/422/head:refs/remotes/origin/PR-422 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fee19bb272203effcad6e17cc6c65fce326e9519 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3f477d47c6517606b32e01b3b7dfc9f0ed41c93b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f af8850d24d12e80c625358c4698a0d39e42f38b8 # timeout=10 Commit message: "Merge commit '3f477d47c6517606b32e01b3b7dfc9f0ed41c93b' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:15:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:15:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:15:43 ========================================================= 19:15:43 EdgeX Global Pipelines Version Info 19:15:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:15:44 ------------------- 19:15:44 stable info: 19:15:44 ------------------- 19:15:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:15:44 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 19:15:44 Message: update stable to v1.0.230 19:15:45 ------------------- 19:15:45 experimental info: 19:15:45 ------------------- 19:15:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:15:45 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 19:15:45 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:15:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 19:15:45 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 19:15:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:15:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:15:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:15:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 19:15:45 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:15:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:15:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:15:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:15:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:15:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 19:15:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:15:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:15:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:15:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:15:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:15:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:15:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:15:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:15:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:15:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:15:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:15:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:15:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:15:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:15:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-422 [Pipeline] echo 19:15:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-422 [Pipeline] echo 19:15:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-422 [Pipeline] echo 19:15:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = af8850d24d12e80c625358c4698a0d39e42f38b8 [Pipeline] echo 19:15:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = af8850d [Pipeline] echo 19:15:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:15:46 provisioning config files... 19:15:46 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-422@tmp/config6987874724746814133tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:15:47 ---> docker-login.sh 19:15:47 nexus3.edgexfoundry.org:10001 19:15:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:15:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:15:47 Configure a credential helper to remove this warning. See 19:15:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:15:47 19:15:47 Login Succeeded 19:15:47 nexus3.edgexfoundry.org:10002 19:15:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:15:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:15:47 Configure a credential helper to remove this warning. See 19:15:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:15:47 19:15:47 Login Succeeded 19:15:47 nexus3.edgexfoundry.org:10003 19:15:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:15:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:15:47 Configure a credential helper to remove this warning. See 19:15:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:15:47 19:15:47 Login Succeeded 19:15:47 nexus3.edgexfoundry.org:10004 19:15:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:15:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:15:47 Configure a credential helper to remove this warning. See 19:15:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:15:47 19:15:47 Login Succeeded 19:15:47 docker.io 19:15:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:15:48 Configure a credential helper to remove this warning. See 19:15:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:15:48 19:15:48 Login Succeeded 19:15:48 ---> docker-login.sh ends [Pipeline] } 19:15:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:15:49 + git rev-list -1 --merges af8850d24d12e80c625358c4698a0d39e42f38b8~1..af8850d24d12e80c625358c4698a0d39e42f38b8 [Pipeline] echo 19:15:49 -----------> git rev-list -1 --merges af8850d24d12e80c625358c4698a0d39e42f38b8~1..af8850d24d12e80c625358c4698a0d39e42f38b8 af8850d24d12e80c625358c4698a0d39e42f38b8 19:15:49 af8850d24d12e80c625358c4698a0d39e42f38b8 [false] [Pipeline] sh 19:15:49 + git log --format=format:%s -1 af8850d24d12e80c625358c4698a0d39e42f38b8 [Pipeline] echo 19:15:49 ========================================================= 19:15:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:15:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:15:49 + git log --format=format:%s -1 af8850d24d12e80c625358c4698a0d39e42f38b8 [Pipeline] echo 19:15:50 [semverPrep] GIT_COMMIT: af8850d24d12e80c625358c4698a0d39e42f38b8, Commit Message: Merge commit '3f477d47c6517606b32e01b3b7dfc9f0ed41c93b' into HEAD [Pipeline] echo 19:15:50 [semverPrep] This is not a build commit. [Pipeline] sh 19:15:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:15:50 + grep -v github /etc/ssh/ssh_known_hosts 19:15:50 + [ -e /tmp/ssh_known_hosts ] 19:15:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:15:50 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:15:50 sudo tee -a /etc/ssh/ssh_known_hosts 19:15:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 19:15:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 19:15:50 19:15:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:15:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 19:15:51 latest: Pulling from edgex-devops/py-git-semver 19:15:51 1fe172e4850f: Pulling fs layer 19:15:51 caf521ccaac6: Pulling fs layer 19:15:51 3ead6fa29328: Pulling fs layer 19:15:51 5c2a1cbceb83: Pulling fs layer 19:15:51 a8d5f1318db7: Pulling fs layer 19:15:51 c427282e49a2: Pulling fs layer 19:15:51 1827001aaf11: Pulling fs layer 19:15:51 0714d37db230: Pulling fs layer 19:15:51 ac28cf19c067: Pulling fs layer 19:15:51 ca983d60f3e2: Pulling fs layer 19:15:51 9f894cec8388: Pulling fs layer 19:15:51 5c2a1cbceb83: Waiting 19:15:51 0714d37db230: Waiting 19:15:51 a8d5f1318db7: Waiting 19:15:51 ac28cf19c067: Waiting 19:15:51 c427282e49a2: Waiting 19:15:51 1827001aaf11: Waiting 19:15:51 ca983d60f3e2: Waiting 19:15:51 9f894cec8388: Waiting 19:15:51 caf521ccaac6: Download complete 19:15:51 5c2a1cbceb83: Download complete 19:15:51 a8d5f1318db7: Verifying Checksum 19:15:51 a8d5f1318db7: Download complete 19:15:51 c427282e49a2: Download complete 19:15:51 3ead6fa29328: Verifying Checksum 19:15:51 3ead6fa29328: Download complete 19:15:51 0714d37db230: Verifying Checksum 19:15:51 0714d37db230: Download complete 19:15:51 ac28cf19c067: Verifying Checksum 19:15:51 ac28cf19c067: Download complete 19:15:51 ca983d60f3e2: Download complete 19:15:51 9f894cec8388: Verifying Checksum 19:15:51 9f894cec8388: Download complete 19:15:51 1fe172e4850f: Verifying Checksum 19:15:51 1fe172e4850f: Download complete 19:15:51 1827001aaf11: Download complete 19:15:53 1fe172e4850f: Pull complete 19:15:53 caf521ccaac6: Pull complete 19:15:53 3ead6fa29328: Pull complete 19:15:53 5c2a1cbceb83: Pull complete 19:15:54 a8d5f1318db7: Pull complete 19:15:54 c427282e49a2: Pull complete 19:15:55 1827001aaf11: Pull complete 19:15:56 0714d37db230: Pull complete 19:15:56 ac28cf19c067: Pull complete 19:15:56 ca983d60f3e2: Pull complete 19:15:56 9f894cec8388: Pull complete 19:15:56 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 19:15:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 19:15:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 19:15:56 prd-ubuntu20.04-docker-8c-8g-63171 does not seem to be running inside a container 19:15:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-422 -v /w/workspace/_app-service-configurable_PR-422:/w/workspace/_app-service-configurable_PR-422:rw,z -v /w/workspace/_app-service-configurable_PR-422@tmp:/w/workspace/_app-service-configurable_PR-422@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 19:15:57 $ docker top 668c0a5160dc796f33e41e1d8ddc23041ecbd975879747c5c16f3be97467e85e -eo pid,comm 19:15:58 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 19:15:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:15:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:15:58 [ssh-agent] Looking for ssh-agent implementation... 19:15:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:15:58 $ docker exec 668c0a5160dc796f33e41e1d8ddc23041ecbd975879747c5c16f3be97467e85e ssh-agent 19:15:58 SSH_AUTH_SOCK=/tmp/ssh-BrdUWLo5dcgo/agent.34 19:15:58 SSH_AGENT_PID=41 19:15:58 Running ssh-add (command line suppressed) 19:15:58 Identity added: /w/workspace/_app-service-configurable_PR-422@tmp/private_key_1569702020228811749.key (/w/workspace/_app-service-configurable_PR-422@tmp/private_key_1569702020228811749.key) 19:15:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:15:58 + git tag --points-at HEAD [Pipeline] } 19:15:58 $ docker exec --env ******** --env ******** 668c0a5160dc796f33e41e1d8ddc23041ecbd975879747c5c16f3be97467e85e ssh-agent -k 19:15:59 unset SSH_AUTH_SOCK; 19:15:59 unset SSH_AGENT_PID; 19:15:59 echo Agent pid 41 killed; 19:15:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:15:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:15:59 [ssh-agent] Looking for ssh-agent implementation... 19:15:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:15:59 $ docker exec 668c0a5160dc796f33e41e1d8ddc23041ecbd975879747c5c16f3be97467e85e ssh-agent 19:15:59 SSH_AUTH_SOCK=/tmp/ssh-PWJ9v6UBPkBR/agent.75 19:15:59 SSH_AGENT_PID=81 19:15:59 Running ssh-add (command line suppressed) 19:15:59 Identity added: /w/workspace/_app-service-configurable_PR-422@tmp/private_key_2475435658873047125.key (/w/workspace/_app-service-configurable_PR-422@tmp/private_key_2475435658873047125.key) 19:15:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:15:59 + git semver init 19:16:00 2022-05-11 19:16:00,109 [run_init] DEBUG init version:0.0.0 force:False 19:16:00 2022-05-11 19:16:00,109 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-422/.semver 19:16:00 2022-05-11 19:16:00,110 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-422/.semver 19:16:00 2022-05-11 19:16:00,110 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-422/.semver'], cwd=/w/workspace/_app-service-configurable_PR-422, universal_newlines=False, shell=None, istream=None) 19:16:01 2022-05-11 19:16:00,913 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-422/.git/info/exclude 19:16:01 2022-05-11 19:16:00,914 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-422/.semver/PR-422 with force:False 19:16:01 2022-05-11 19:16:00,914 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-422/.semver/PR-422 19:16:01 2022-05-11 19:16:00,918 [execute] INFO git cat-file --batch-check 19:16:01 2022-05-11 19:16:00,918 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-422/.semver, universal_newlines=False, shell=None, istream=) 19:16:01 2022-05-11 19:16:00,924 [execute] INFO git cat-file --batch 19:16:01 2022-05-11 19:16:00,924 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-422/.semver, universal_newlines=False, shell=None, istream=) 19:16:01 2022-05-11 19:16:00,928 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-422/.semver/PR-422 19:16:01 0.0.0 [Pipeline] } 19:16:01 $ docker exec --env ******** --env ******** 668c0a5160dc796f33e41e1d8ddc23041ecbd975879747c5c16f3be97467e85e ssh-agent -k 19:16:01 unset SSH_AUTH_SOCK; 19:16:01 unset SSH_AGENT_PID; 19:16:01 echo Agent pid 81 killed; 19:16:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:16:01 + git semver [Pipeline] } 19:16:01 $ docker stop --time=1 668c0a5160dc796f33e41e1d8ddc23041ecbd975879747c5c16f3be97467e85e 19:16:03 $ docker rm -f 668c0a5160dc796f33e41e1d8ddc23041ecbd975879747c5c16f3be97467e85e [Pipeline] // withDockerContainer [Pipeline] sh 19:16:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:16:03 Stashed 1 file(s) [Pipeline] echo 19:16:04 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:16:04 provisioning config files... 19:16:04 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-422@tmp/config7114156509094511658tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:16:04 ---> docker-login.sh 19:16:04 nexus3.edgexfoundry.org:10001 19:16:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:16:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:16:04 Configure a credential helper to remove this warning. See 19:16:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:16:04 19:16:04 Login Succeeded 19:16:04 nexus3.edgexfoundry.org:10002 19:16:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:16:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:16:05 Configure a credential helper to remove this warning. See 19:16:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:16:05 19:16:05 Login Succeeded 19:16:05 nexus3.edgexfoundry.org:10003 19:16:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:16:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:16:05 Configure a credential helper to remove this warning. See 19:16:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:16:05 19:16:05 Login Succeeded 19:16:05 nexus3.edgexfoundry.org:10004 19:16:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:16:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:16:05 Configure a credential helper to remove this warning. See 19:16:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:16:05 19:16:05 Login Succeeded 19:16:05 docker.io 19:16:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:16:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:16:05 Configure a credential helper to remove this warning. See 19:16:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:16:05 19:16:05 Login Succeeded 19:16:05 ---> docker-login.sh ends [Pipeline] } 19:16:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:16:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:16:06 ========================================================= 19:16:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 19:16:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 19:16:06 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 19:16:06 Sending build context to Docker daemon 3.07MB 19:16:06 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 19:16:06 Step 2/13 : FROM ${BASE} AS builder 19:16:06 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 19:16:06 59bf1c3509f3: Pulling fs layer 19:16:06 666ba61612fd: Pulling fs layer 19:16:06 8ed8ca486205: Pulling fs layer 19:16:06 4fe6c5a15a65: Pulling fs layer 19:16:06 22a0e8bec74d: Pulling fs layer 19:16:06 ca2b28591e48: Pulling fs layer 19:16:06 a51346096db8: Pulling fs layer 19:16:06 daebc70d1ce1: Pulling fs layer 19:16:06 0e18a0eac166: Pulling fs layer 19:16:06 4fe6c5a15a65: Waiting 19:16:06 22a0e8bec74d: Waiting 19:16:06 ca2b28591e48: Waiting 19:16:06 a51346096db8: Waiting 19:16:06 daebc70d1ce1: Waiting 19:16:06 0e18a0eac166: Waiting 19:16:06 8ed8ca486205: Verifying Checksum 19:16:06 8ed8ca486205: Download complete 19:16:06 666ba61612fd: Download complete 19:16:06 22a0e8bec74d: Verifying Checksum 19:16:06 22a0e8bec74d: Download complete 19:16:06 59bf1c3509f3: Download complete 19:16:06 ca2b28591e48: Verifying Checksum 19:16:06 ca2b28591e48: Download complete 19:16:06 a51346096db8: Verifying Checksum 19:16:06 a51346096db8: Download complete 19:16:06 daebc70d1ce1: Verifying Checksum 19:16:06 daebc70d1ce1: Download complete 19:16:06 59bf1c3509f3: Pull complete 19:16:06 666ba61612fd: Pull complete 19:16:06 8ed8ca486205: Pull complete 19:16:07 0e18a0eac166: Verifying Checksum 19:16:07 0e18a0eac166: Download complete 19:16:07 4fe6c5a15a65: Verifying Checksum 19:16:07 4fe6c5a15a65: Download complete 19:16:11 4fe6c5a15a65: Pull complete 19:16:11 22a0e8bec74d: Pull complete 19:16:11 ca2b28591e48: Pull complete 19:16:11 a51346096db8: Pull complete 19:16:11 daebc70d1ce1: Pull complete 19:16:13 0e18a0eac166: Pull complete 19:16:13 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 19:16:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 19:16:13 ---> f018257e8ee9 19:16:13 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 19:16:14 ---> Running in 4312243fd90f 19:16:14 Removing intermediate container 4312243fd90f 19:16:14 ---> d49e50a6a4f5 19:16:14 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 19:16:15 ---> Running in 17edaa514255 19:16:15 Removing intermediate container 17edaa514255 19:16:15 ---> 1bef5459e692 19:16:15 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 19:16:15 ---> Running in 39892b125c8b 19:16:15 Removing intermediate container 39892b125c8b 19:16:15 ---> e2fb4e62add8 19:16:15 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:16:15 ---> Running in a23b5cae3b23 19:16:15 Removing intermediate container a23b5cae3b23 19:16:15 ---> b321b5f2282e 19:16:15 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:16:15 ---> Running in a51bf68496f8 19:16:16 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 19:16:17 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 19:16:17 OK: 221 MiB in 52 packages 19:16:17 Removing intermediate container a51bf68496f8 19:16:17 ---> 66544dc8ced9 19:16:17 Step 8/13 : WORKDIR /app 19:16:17 ---> Running in f3d8b92ff37f 19:16:17 Removing intermediate container f3d8b92ff37f 19:16:17 ---> c89795a53ab3 19:16:17 Step 9/13 : COPY go.mod vendor* ./ 19:16:17 ---> 487d5c54bd2d 19:16:17 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:16:17 ---> Running in 2cfff965ec8d 19:16:19 Still waiting to schedule task 19:16:19 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:16:36 Removing intermediate container 2cfff965ec8d 19:16:36 ---> 8e63ce7548c8 19:16:36 Step 11/13 : COPY . . 19:16:36 ---> a49cd4a627d4 19:16:36 Step 12/13 : ARG MAKE="make build" 19:16:36 ---> Running in 5f47dc652708 19:16:36 Removing intermediate container 5f47dc652708 19:16:36 ---> 591aed7b2ff1 19:16:36 Step 13/13 : RUN $MAKE 19:16:36 ---> Running in 1624988c2d0a 19:16:36 noop 19:16:36 Removing intermediate container 1624988c2d0a 19:16:36 ---> 1764878fa434 19:16:36 Successfully built 1764878fa434 19:16:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 19:16:36 + docker inspect -f . ci-base-image-x86_64 19:16:36 . [Pipeline] withDockerContainer 19:16:36 prd-ubuntu20.04-docker-8c-8g-63171 does not seem to be running inside a container 19:16:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-422 -v /w/workspace/_app-service-configurable_PR-422:/w/workspace/_app-service-configurable_PR-422:rw,z -v /w/workspace/_app-service-configurable_PR-422@tmp:/w/workspace/_app-service-configurable_PR-422@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:16:36 $ docker top 5d940e1e1b7c4165180a916d1759b4e0c662be685d696bc31dcb104014938046 -eo pid,comm [Pipeline] { [Pipeline] sh 19:16:37 + go version 19:16:37 go version go1.17.6 linux/amd64 [Pipeline] } 19:16:37 $ docker stop --time=1 5d940e1e1b7c4165180a916d1759b4e0c662be685d696bc31dcb104014938046 19:16:38 $ docker rm -f 5d940e1e1b7c4165180a916d1759b4e0c662be685d696bc31dcb104014938046 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:16:39 + docker inspect -f . ci-base-image-x86_64 19:16:39 . [Pipeline] withDockerContainer 19:16:39 prd-ubuntu20.04-docker-8c-8g-63171 does not seem to be running inside a container 19:16:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-422 -v /w/workspace/_app-service-configurable_PR-422:/w/workspace/_app-service-configurable_PR-422:rw,z -v /w/workspace/_app-service-configurable_PR-422@tmp:/w/workspace/_app-service-configurable_PR-422@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:16:39 $ docker top 152daafa47deb037800b2bd087150c9f7741c50a8cd977f338b1b9e387f6cbc4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:16:40 + make test 19:16:40 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 19:16:50 ? github.com/edgexfoundry/app-service-configurable [no test files] 19:16:50 CGO_ENABLED=1 go vet ./... 19:16:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:16:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:16:54 ./bin/test-attribution-txt.sh [Pipeline] echo 19:16:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:16:54 $ docker stop --time=1 152daafa47deb037800b2bd087150c9f7741c50a8cd977f338b1b9e387f6cbc4 19:16:56 $ docker rm -f 152daafa47deb037800b2bd087150c9f7741c50a8cd977f338b1b9e387f6cbc4 [Pipeline] // withDockerContainer [Pipeline] sh 19:16:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:16:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:16:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:16:57 + ls -al . 19:16:57 total 168 19:16:57 drwxrwxr-x 8 jenkins jenkins 4096 May 11 19:16 . 19:16:57 drwxrwxr-x 4 jenkins jenkins 4096 May 11 19:15 .. 19:16:57 -rw-rw-r-- 1 jenkins jenkins 119 May 11 19:15 .dockerignore 19:16:57 drwxrwxr-x 8 jenkins jenkins 4096 May 11 19:16 .git 19:16:57 drwxrwxr-x 3 jenkins jenkins 4096 May 11 19:15 .github 19:16:57 -rw-rw-r-- 1 jenkins jenkins 104 May 11 19:15 .gitignore 19:16:57 drwxr-xr-x 3 jenkins jenkins 4096 May 11 19:16 .semver 19:16:57 -rw-rw-r-- 1 jenkins jenkins 8695 May 11 19:15 Attribution.txt 19:16:57 -rw-rw-r-- 1 jenkins jenkins 27269 May 11 19:15 CHANGELOG.md 19:16:57 -rw-rw-r-- 1 jenkins jenkins 2087 May 11 19:15 Dockerfile 19:16:57 -rw-rw-r-- 1 jenkins jenkins 677 May 11 19:15 GOVERNANCE.md 19:16:57 -rw-rw-r-- 1 jenkins jenkins 688 May 11 19:15 Jenkinsfile 19:16:57 -rw-rw-r-- 1 jenkins jenkins 10174 May 11 19:15 LICENSE 19:16:57 -rw-rw-r-- 1 jenkins jenkins 618 May 11 19:15 OWNERS.md 19:16:57 -rw-rw-r-- 1 jenkins jenkins 3718 May 11 19:15 README.md 19:16:57 -rw-rw-r-- 1 jenkins jenkins 5 May 11 19:16 VERSION 19:16:57 drwxrwxr-x 2 jenkins jenkins 4096 May 11 19:15 bin 19:16:57 -rw-r--r-- 1 jenkins jenkins 10 May 11 19:16 coverage.out 19:16:57 -rw-rw-r-- 1 jenkins jenkins 3222 May 11 19:15 go.mod 19:16:57 -rw-rw-r-- 1 jenkins jenkins 34558 May 11 19:15 go.sum 19:16:57 -rw-rw-r-- 1 jenkins jenkins 1949 May 11 19:15 main.go 19:16:57 -rw-rw-r-- 1 jenkins jenkins 2007 May 11 19:15 makefile 19:16:57 drwxrwxr-x 10 jenkins jenkins 4096 May 11 19:15 res 19:16:57 drwxrwxr-x 3 jenkins jenkins 4096 May 11 19:15 snap [Pipeline] isUnix [Pipeline] sh 19:16: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=af8850d24d12e80c625358c4698a0d39e42f38b8 --label arch=amd64 --label version=0.0.0 . 19:16:58 Sending build context to Docker daemon 3.071MB 19:16:58 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 19:16:58 Step 2/27 : FROM ${BASE} AS builder 19:16:58 ---> 1764878fa434 19:16:58 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 19:16:58 ---> Running in 271805148f59 19:16:58 Removing intermediate container 271805148f59 19:16:58 ---> c6c6377b666e 19:16:58 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 19:16:58 ---> Running in 9962c78a508a 19:16:58 Removing intermediate container 9962c78a508a 19:16:58 ---> b7450d2d104a 19:16:58 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 19:16:58 ---> Running in b98efe4883f3 19:16:58 Removing intermediate container b98efe4883f3 19:16:58 ---> 7bfaed3038ce 19:16:58 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:16:58 ---> Running in 6d8ee80bfdb7 19:16:59 Removing intermediate container 6d8ee80bfdb7 19:16:59 ---> 4ed8eb09a6f8 19:16:59 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:16:59 ---> Running in 28abbe4bb454 19:16:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 19:17:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 19:17:00 OK: 221 MiB in 52 packages 19:17:01 Removing intermediate container 28abbe4bb454 19:17:01 ---> 0efce2315d5a 19:17:01 Step 8/27 : WORKDIR /app 19:17:01 ---> Running in a70353765b9e 19:17:01 Removing intermediate container a70353765b9e 19:17:01 ---> 86d64a32e0f0 19:17:01 Step 9/27 : COPY go.mod vendor* ./ 19:17:01 ---> 143e327bbcd3 19:17:01 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:17:01 ---> Running in 9f4f0c1b4e00 19:17:01 Removing intermediate container 9f4f0c1b4e00 19:17:01 ---> 043e82772b8e 19:17:01 Step 11/27 : COPY . . 19:17:02 ---> f26525478f8d 19:17:02 Step 12/27 : ARG MAKE="make build" 19:17:02 ---> Running in c01a3e4dc155 19:17:02 Removing intermediate container c01a3e4dc155 19:17:02 ---> 4ddaec6d1958 19:17:02 Step 13/27 : RUN $MAKE 19:17:02 ---> Running in 90c64dc5dcf8 19:17:02 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 19:17:24 Removing intermediate container 90c64dc5dcf8 19:17:24 ---> 4f95b426fd01 19:17:24 Step 14/27 : FROM alpine:3.14 19:17:24 3.14: Pulling from library/alpine 19:17:24 8663204ce13b: Pulling fs layer 19:17:24 8663204ce13b: Download complete 19:17:24 8663204ce13b: Pull complete 19:17:24 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 19:17:24 Status: Downloaded newer image for alpine:3.14 19:17:24 ---> e04c818066af 19:17:24 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 19:17:24 ---> Running in cb0b388799b8 19:17:24 Removing intermediate container cb0b388799b8 19:17:24 ---> b71526afafac 19:17:24 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 19:17:24 ---> Running in dd5c55aa5716 19:17:24 Removing intermediate container dd5c55aa5716 19:17:24 ---> 3abfeccc616d 19:17:24 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 19:17:24 ---> Running in af5840710006 19:17:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 19:17:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 19:17:24 (1/7) Installing ca-certificates (20211220-r0) 19:17:24 (2/7) Installing dumb-init (1.2.5-r1) 19:17:24 (3/7) Installing libgcc (10.3.1_git20210424-r2) 19:17:24 (4/7) Installing libsodium (1.0.18-r0) 19:17:24 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 19:17:24 (6/7) Installing libzmq (4.3.4-r0) 19:17:24 (7/7) Installing zeromq (4.3.4-r0) 19:17:24 Executing busybox-1.33.1-r7.trigger 19:17:24 Executing ca-certificates-20211220-r0.trigger 19:17:24 OK: 9 MiB in 21 packages 19:17:24 Removing intermediate container af5840710006 19:17:24 ---> 9e49ed1f0e04 19:17:24 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 19:17:24 ---> d0509cf58ed4 19:17:24 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 19:17:24 ---> 02dbd3f7b726 19:17:24 Step 20/27 : COPY --from=builder /app/res/ /res/ 19:17:25 ---> 718540aece4a 19:17:25 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 19:17:25 ---> e8dfeb0cdeb6 19:17:25 Step 22/27 : EXPOSE 48095 19:17:25 ---> Running in e569c55040b4 19:17:25 Removing intermediate container e569c55040b4 19:17:25 ---> d4cf21f62006 19:17:25 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 19:17:25 ---> Running in d6fb37518b12 19:17:26 Removing intermediate container d6fb37518b12 19:17:26 ---> 9051edf746a5 19:17:26 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:17:26 ---> Running in 1abe7e363001 19:17:26 Removing intermediate container 1abe7e363001 19:17:26 ---> 70300bd39f4f 19:17:26 Step 25/27 : LABEL arch=amd64 19:17:26 ---> Running in b0687af608a7 19:17:26 Removing intermediate container b0687af608a7 19:17:26 ---> a6e9e2c7eddd 19:17:26 Step 26/27 : LABEL git_sha=af8850d24d12e80c625358c4698a0d39e42f38b8 19:17:26 ---> Running in 23877a3debf3 19:17:26 Removing intermediate container 23877a3debf3 19:17:26 ---> 99f49e2d22fc 19:17:26 Step 27/27 : LABEL version=0.0.0 19:17:26 ---> Running in 3c5d47febbbd 19:17:26 Removing intermediate container 3c5d47febbbd 19:17:26 ---> 6366a8cf8ec4 19:17:26 [Warning] One or more build-args [ARCH] were not consumed 19:17:26 Successfully built 6366a8cf8ec4 19:17: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 19:17:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:17:27 19:17:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 19:17:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:17:27 latest: Pulling from edgex-lftools-log-publisher 19:17:27 5eb5b503b376: Pulling fs layer 19:17:27 5c69ac0246d0: Pulling fs layer 19:17:27 ec43610c2a17: Pulling fs layer 19:17:27 3a2ae6a8a46f: Pulling fs layer 19:17:27 33b1e0a273af: Pulling fs layer 19:17:27 5d3b04190fa2: Pulling fs layer 19:17:27 2f39f015ded8: Pulling fs layer 19:17:27 3a2ae6a8a46f: Waiting 19:17:27 33b1e0a273af: Waiting 19:17:27 5d3b04190fa2: Waiting 19:17:27 2f39f015ded8: Waiting 19:17:27 5c69ac0246d0: Download complete 19:17:27 3a2ae6a8a46f: Download complete 19:17:27 33b1e0a273af: Verifying Checksum 19:17:27 33b1e0a273af: Download complete 19:17:27 5d3b04190fa2: Verifying Checksum 19:17:27 5d3b04190fa2: Download complete 19:17:27 ec43610c2a17: Verifying Checksum 19:17:27 ec43610c2a17: Download complete 19:17:27 5eb5b503b376: Verifying Checksum 19:17:27 5eb5b503b376: Download complete 19:17:28 2f39f015ded8: Download complete 19:17:29 5eb5b503b376: Pull complete 19:17:29 5c69ac0246d0: Pull complete 19:17:29 ec43610c2a17: Pull complete 19:17:29 3a2ae6a8a46f: Pull complete 19:17:30 33b1e0a273af: Pull complete 19:17:30 5d3b04190fa2: Pull complete 19:17:35 2f39f015ded8: Pull complete 19:17:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:17:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:17:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 19:17:35 prd-ubuntu20.04-docker-8c-8g-63171 does not seem to be running inside a container 19:17:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-422 -v /w/workspace/_app-service-configurable_PR-422:/w/workspace/_app-service-configurable_PR-422:rw,z -v /w/workspace/_app-service-configurable_PR-422@tmp:/w/workspace/_app-service-configurable_PR-422@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:17:37 $ docker top 27c03d2393c3789f15cefd562928af10638be920bf536f4224ddf673b38fa724 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:17:37 ---> job-cost.sh 19:17:37 lf-activate-venv: SKIPPING 19:17:37 INFO: No Stack... 19:17:38 INFO: Retrieving Pricing Info for: v3-standard-8 19:17:38 INFO: Archiving Costs [Pipeline] sh 19:17:39 + cat /w/workspace/_app-service-configurable_PR-422/archives/cost.csv 19:17:39 + cut -d, -f6 [Pipeline] lock 19:17:39 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-422-1-stack-cost] 19:17:39 Resource [jenkins-edgexfoundry-app-service-configurable-PR-422-1-stack-cost] did not exist. Created. 19:17:39 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-422-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:17:39 + echo total: 0.2199999988079071 [Pipeline] stash 19:17:39 Stashed 1 file(s) [Pipeline] } 19:17:39 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-422-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:17:39 $ docker stop --time=1 27c03d2393c3789f15cefd562928af10638be920bf536f4224ddf673b38fa724 19:17:40 $ docker rm -f 27c03d2393c3789f15cefd562928af10638be920bf536f4224ddf673b38fa724 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:18:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63172 in /w/workspace/_app-service-configurable_PR-422 [Pipeline] { [Pipeline] ws 19:18:04 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 19:18:04 Selected Git installation does not exist. Using Default 19:18:04 The recommended git tool is: NONE 19:18:09 using credential edgex-jenkins-ssh 19:18:09 Cloning the remote Git repository 19:18:09 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 19:18:09 > git init /w/workspace/app-service-configurable/1 # timeout=10 19:18:09 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 19:18:09 > git --version # timeout=10 19:18:09 > git --version # 'git version 2.25.1' 19:18:09 using GIT_SSH to set credentials SSH Credentials for GitHub 19:18:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:18:11 Merging remotes/origin/main commit 3f477d47c6517606b32e01b3b7dfc9f0ed41c93b into PR head commit fee19bb272203effcad6e17cc6c65fce326e9519 19:18:12 Merge succeeded, producing 63ca49522e2144fab890dc4bdd15bb7a5b929089 19:18:12 Checking out Revision 63ca49522e2144fab890dc4bdd15bb7a5b929089 (PR-422) 19:18:11 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 19:18:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:18:11 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 19:18:11 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 19:18:11 using GIT_SSH to set credentials SSH Credentials for GitHub 19:18:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/422/head:refs/remotes/origin/PR-422 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:18:11 > git config core.sparsecheckout # timeout=10 19:18:11 > git checkout -f fee19bb272203effcad6e17cc6c65fce326e9519 # timeout=10 19:18:11 > git remote # timeout=10 19:18:11 > git config --get remote.origin.url # timeout=10 19:18:11 using GIT_SSH to set credentials SSH Credentials for GitHub 19:18:11 > git merge 3f477d47c6517606b32e01b3b7dfc9f0ed41c93b # timeout=10 19:18:12 > git rev-parse HEAD^{commit} # timeout=10 19:18:12 > git config core.sparsecheckout # timeout=10 19:18:12 > git checkout -f 63ca49522e2144fab890dc4bdd15bb7a5b929089 # timeout=10 19:18:16 Commit message: "Merge commit '3f477d47c6517606b32e01b3b7dfc9f0ed41c93b' into HEAD" 19:18:16 First time build. Skipping changelog. 19:18:16 > git --version # timeout=10 19:18:16 > git --version # 'git version 2.25.1' 19:18:16 fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:18:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:18:17 % Total % Received % Xferd Average Speed Time Time Time Current 19:18:17 Dload Upload Total Spent Left Speed 19:18:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 87725 0 --:--:-- --:--:-- --:--:-- 87725 [Pipeline] sh 19:18:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:18:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:18:18 + sudo tee /etc/docker/daemon.new 19:18:18 { 19:18:18 "registry-mirrors": [ 19:18:18 "https://nexus3.edgexfoundry.org:10001" 19:18:18 ], 19:18:18 "bip": "10.250.0.254/24", 19:18:18 "hosts": [ 19:18:18 "tcp://0.0.0.0:5555", 19:18:18 "unix:///var/run/docker.sock" 19:18:18 ], 19:18:18 "mtu": 1458, 19:18:18 "selinux-enabled": true, 19:18:18 "seccomp-profile": "/etc/docker/seccomp.json" 19:18:18 } [Pipeline] sh 19:18:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:18:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:18:37 provisioning config files... 19:18:37 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config5685578313130124652tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:18:38 ---> docker-login.sh 19:18:38 nexus3.edgexfoundry.org:10001 19:18:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:18:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:18:39 Configure a credential helper to remove this warning. See 19:18:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:18:39 19:18:39 Login Succeeded 19:18:39 nexus3.edgexfoundry.org:10002 19:18:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:18:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:18:39 Configure a credential helper to remove this warning. See 19:18:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:18:39 19:18:39 Login Succeeded 19:18:39 nexus3.edgexfoundry.org:10003 19:18:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:18:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:18:39 Configure a credential helper to remove this warning. See 19:18:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:18:39 19:18:39 Login Succeeded 19:18:39 nexus3.edgexfoundry.org:10004 19:18:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:18:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:18:40 Configure a credential helper to remove this warning. See 19:18:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:18:40 19:18:40 Login Succeeded 19:18:40 docker.io 19:18:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:18:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:18:41 Configure a credential helper to remove this warning. See 19:18:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:18:41 19:18:41 Login Succeeded 19:18:41 ---> docker-login.sh ends [Pipeline] } 19:18:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:18:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:18:41 ========================================================= 19:18:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 19:18:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 19:18:42 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 19:18:42 Sending build context to Docker daemon 203.3kB 19:18:42 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 19:18:42 Step 2/13 : FROM ${BASE} AS builder 19:18:42 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:18:42 9b3977197b4f: Pulling fs layer 19:18:42 1a89e8eeedd5: Pulling fs layer 19:18:42 94645a83ff95: Pulling fs layer 19:18:42 3f3a8bcf1eab: Pulling fs layer 19:18:42 0c92f367c5e7: Pulling fs layer 19:18:42 3096ccb668a1: Pulling fs layer 19:18:42 e8cf19c19ddd: Pulling fs layer 19:18:42 a4caa8a26152: Pulling fs layer 19:18:42 3f3a8bcf1eab: Waiting 19:18:42 3096ccb668a1: Waiting 19:18:42 0c92f367c5e7: Waiting 19:18:42 e8cf19c19ddd: Waiting 19:18:42 a4caa8a26152: Waiting 19:18:42 94645a83ff95: Verifying Checksum 19:18:42 94645a83ff95: Download complete 19:18:42 1a89e8eeedd5: Verifying Checksum 19:18:42 1a89e8eeedd5: Download complete 19:18:42 0c92f367c5e7: Verifying Checksum 19:18:42 0c92f367c5e7: Download complete 19:18:42 3096ccb668a1: Verifying Checksum 19:18:42 3096ccb668a1: Download complete 19:18:42 9b3977197b4f: Verifying Checksum 19:18:42 9b3977197b4f: Download complete 19:18:42 e8cf19c19ddd: Verifying Checksum 19:18:42 e8cf19c19ddd: Download complete 19:18:43 9b3977197b4f: Pull complete 19:18:44 1a89e8eeedd5: Pull complete 19:18:44 94645a83ff95: Pull complete 19:18:44 a4caa8a26152: Verifying Checksum 19:18:44 a4caa8a26152: Download complete 19:18:45 3f3a8bcf1eab: Download complete 19:18:57 3f3a8bcf1eab: Pull complete 19:18:57 0c92f367c5e7: Pull complete 19:18:57 3096ccb668a1: Pull complete 19:18:57 e8cf19c19ddd: Pull complete 19:19:04 a4caa8a26152: Pull complete 19:19:04 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 19:19:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 19:19:04 ---> 725f1c02e7f9 19:19:04 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 19:19:04 ---> Running in c206f7a201ca 19:19:05 Removing intermediate container c206f7a201ca 19:19:05 ---> 9f052b2b2fd9 19:19:05 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 19:19:05 ---> Running in 77c1ef58e573 19:19:05 Removing intermediate container 77c1ef58e573 19:19:05 ---> ed27ef830224 19:19:05 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 19:19:05 ---> Running in efeced119d95 19:19:06 Removing intermediate container efeced119d95 19:19:06 ---> 99b9ca944176 19:19:06 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:19:06 ---> Running in b7e28f61c6e0 19:19:08 Removing intermediate container b7e28f61c6e0 19:19:08 ---> 1067cf08d01e 19:19:08 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:19:08 ---> Running in 3e02d51c0643 19:19:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 19:19:10 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 19:19:11 OK: 220 MiB in 52 packages 19:19:12 Removing intermediate container 3e02d51c0643 19:19:12 ---> d18597fce395 19:19:12 Step 8/13 : WORKDIR /app 19:19:12 ---> Running in 1cf6fdd98419 19:19:12 Removing intermediate container 1cf6fdd98419 19:19:12 ---> b3ae1b9b178d 19:19:12 Step 9/13 : COPY go.mod vendor* ./ 19:19:13 ---> 085e4f9f660d 19:19:13 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:19:13 ---> Running in e76838833e0f 19:20:00 Removing intermediate container e76838833e0f 19:20:00 ---> 97d1885d1c00 19:20:00 Step 11/13 : COPY . . 19:20:00 ---> 499e4a91ba12 19:20:00 Step 12/13 : ARG MAKE="make build" 19:20:00 ---> Running in 64bf34f58c63 19:20:00 Removing intermediate container 64bf34f58c63 19:20:00 ---> 83c9b641f0ab 19:20:00 Step 13/13 : RUN $MAKE 19:20:00 ---> Running in 17e98a3df9cb 19:20:00 noop 19:20:00 Removing intermediate container 17e98a3df9cb 19:20:00 ---> 210e15fff5d9 19:20:00 Successfully built 210e15fff5d9 19:20:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:20:00 + docker inspect -f . ci-base-image-arm64 19:20:00 . [Pipeline] withDockerContainer 19:20:00 prd-ubuntu20.04-docker-arm64-4c-16g-63172 does not seem to be running inside a container 19:20:00 $ 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 19:20:02 $ docker top 66a71f3f385f6ca87dd367cac8a5f4da09e1d247bb653c865b7fc5a842cf10c5 -eo pid,comm [Pipeline] { [Pipeline] sh 19:20:03 + go version 19:20:03 go version go1.17.6 linux/arm64 [Pipeline] } 19:20:03 $ docker stop --time=1 66a71f3f385f6ca87dd367cac8a5f4da09e1d247bb653c865b7fc5a842cf10c5 19:20:04 $ docker rm -f 66a71f3f385f6ca87dd367cac8a5f4da09e1d247bb653c865b7fc5a842cf10c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:20:05 + docker inspect -f . ci-base-image-arm64 19:20:05 . [Pipeline] withDockerContainer 19:20:06 prd-ubuntu20.04-docker-arm64-4c-16g-63172 does not seem to be running inside a container 19:20:06 $ 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 19:20:07 $ docker top a4db1765eab5dd1890fea31c0d05f190704257cfbb1b056d84772cf6d0f41cf6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:20:08 + make test 19:20:08 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 19:21:30 ? github.com/edgexfoundry/app-service-configurable [no test files] 19:21:30 CGO_ENABLED=1 go vet ./... 19:21:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:21:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:21:57 ./bin/test-attribution-txt.sh [Pipeline] echo 19:21:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:21:57 $ docker stop --time=1 a4db1765eab5dd1890fea31c0d05f190704257cfbb1b056d84772cf6d0f41cf6 19:21:59 $ docker rm -f a4db1765eab5dd1890fea31c0d05f190704257cfbb1b056d84772cf6d0f41cf6 [Pipeline] // withDockerContainer [Pipeline] sh 19:22:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:22:00 Warning: overwriting stash ‘coverage-report’ 19:22:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:22:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:22:01 + ls -al . 19:22:01 total 164 19:22:01 drwxrwxr-x 7 jenkins jenkins 4096 May 11 19:21 . 19:22:01 drwxrwxr-x 4 jenkins jenkins 4096 May 11 19:18 .. 19:22:01 -rw-rw-r-- 1 jenkins jenkins 119 May 11 19:18 .dockerignore 19:22:01 drwxrwxr-x 8 jenkins jenkins 4096 May 11 19:18 .git 19:22:01 drwxrwxr-x 3 jenkins jenkins 4096 May 11 19:18 .github 19:22:01 -rw-rw-r-- 1 jenkins jenkins 104 May 11 19:18 .gitignore 19:22:01 -rw-rw-r-- 1 jenkins jenkins 8695 May 11 19:18 Attribution.txt 19:22:01 -rw-rw-r-- 1 jenkins jenkins 27269 May 11 19:18 CHANGELOG.md 19:22:01 -rw-rw-r-- 1 jenkins jenkins 2087 May 11 19:18 Dockerfile 19:22:01 -rw-rw-r-- 1 jenkins jenkins 677 May 11 19:18 GOVERNANCE.md 19:22:01 -rw-rw-r-- 1 jenkins jenkins 688 May 11 19:18 Jenkinsfile 19:22:01 -rw-rw-r-- 1 jenkins jenkins 10174 May 11 19:18 LICENSE 19:22:01 -rw-rw-r-- 1 jenkins jenkins 618 May 11 19:18 OWNERS.md 19:22:01 -rw-rw-r-- 1 jenkins jenkins 3718 May 11 19:18 README.md 19:22:01 -rw-rw-r-- 1 jenkins jenkins 5 May 11 19:16 VERSION 19:22:01 drwxrwxr-x 2 jenkins jenkins 4096 May 11 19:18 bin 19:22:01 -rw-r--r-- 1 jenkins jenkins 10 May 11 19:20 coverage.out 19:22:01 -rw-rw-r-- 1 jenkins jenkins 3222 May 11 19:18 go.mod 19:22:01 -rw-rw-r-- 1 jenkins jenkins 34558 May 11 19:18 go.sum 19:22:01 -rw-rw-r-- 1 jenkins jenkins 1949 May 11 19:18 main.go 19:22:01 -rw-rw-r-- 1 jenkins jenkins 2007 May 11 19:18 makefile 19:22:01 drwxrwxr-x 10 jenkins jenkins 4096 May 11 19:18 res 19:22:01 drwxrwxr-x 3 jenkins jenkins 4096 May 11 19:18 snap [Pipeline] isUnix [Pipeline] sh 19:22:02 + 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=63ca49522e2144fab890dc4bdd15bb7a5b929089 --label arch=arm64 --label version=0.0.0 . 19:22:02 Sending build context to Docker daemon 204.3kB 19:22:02 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 19:22:02 Step 2/27 : FROM ${BASE} AS builder 19:22:02 ---> 210e15fff5d9 19:22:02 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 19:22:02 ---> Running in 09b3faa9035f 19:22:03 Removing intermediate container 09b3faa9035f 19:22:03 ---> e1c39aeea82a 19:22:03 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 19:22:03 ---> Running in ea5a73bfe60c 19:22:03 Removing intermediate container ea5a73bfe60c 19:22:03 ---> 24f0345233af 19:22:03 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 19:22:03 ---> Running in 772c04bef891 19:22:03 Removing intermediate container 772c04bef891 19:22:03 ---> 2b90eb5a1448 19:22:03 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:22:03 ---> Running in 9a2893d4a9aa 19:22:05 Removing intermediate container 9a2893d4a9aa 19:22:05 ---> f66b5439e7df 19:22:05 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:22:05 ---> Running in 3d4d09204337 19:22:06 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 19:22:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 19:22:08 OK: 220 MiB in 52 packages 19:22:08 Removing intermediate container 3d4d09204337 19:22:08 ---> c661a72adb7f 19:22:08 Step 8/27 : WORKDIR /app 19:22:09 ---> Running in b3ffad5f9ede 19:22:09 Removing intermediate container b3ffad5f9ede 19:22:09 ---> 72814df4ea16 19:22:09 Step 9/27 : COPY go.mod vendor* ./ 19:22:10 ---> 1b76744a80ed 19:22:10 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:22:10 ---> Running in 98decdd9acc8 19:22:12 Removing intermediate container 98decdd9acc8 19:22:12 ---> ef2f21ab715c 19:22:12 Step 11/27 : COPY . . 19:22:12 ---> 6a45c45134f9 19:22:12 Step 12/27 : ARG MAKE="make build" 19:22:12 ---> Running in 46ba1d378680 19:22:12 Removing intermediate container 46ba1d378680 19:22:12 ---> 8662e13465d0 19:22:12 Step 13/27 : RUN $MAKE 19:22:12 ---> Running in 7368eee64ca7 19:22:13 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 19:24:20 Removing intermediate container 7368eee64ca7 19:24:20 ---> 22976ca6afa9 19:24:20 Step 14/27 : FROM alpine:3.14 19:24:20 3.14: Pulling from library/alpine 19:24:20 455c02918c45: Pulling fs layer 19:24:20 455c02918c45: Download complete 19:24:20 455c02918c45: Pull complete 19:24:20 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 19:24:20 Status: Downloaded newer image for alpine:3.14 19:24:20 ---> ac73e934f311 19:24:20 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 19:24:20 ---> Running in ef530e406f64 19:24:20 Removing intermediate container ef530e406f64 19:24:20 ---> 48c705c60f78 19:24:20 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 19:24:20 ---> Running in 9bc566a95f47 19:24:20 Removing intermediate container 9bc566a95f47 19:24:20 ---> 7b56215c8324 19:24:20 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 19:24:20 ---> Running in c82cd54eb72c 19:24:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 19:24:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 19:24:20 (1/7) Installing ca-certificates (20211220-r0) 19:24:20 (2/7) Installing dumb-init (1.2.5-r1) 19:24:20 (3/7) Installing libgcc (10.3.1_git20210424-r2) 19:24:20 (4/7) Installing libsodium (1.0.18-r0) 19:24:20 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 19:24:20 (6/7) Installing libzmq (4.3.4-r0) 19:24:20 (7/7) Installing zeromq (4.3.4-r0) 19:24:20 Executing busybox-1.33.1-r7.trigger 19:24:20 Executing ca-certificates-20211220-r0.trigger 19:24:20 OK: 9 MiB in 21 packages 19:24:20 Removing intermediate container c82cd54eb72c 19:24:20 ---> efd31c5643fc 19:24:20 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 19:24:20 ---> c66a4af7ae08 19:24:20 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 19:24:20 ---> 73d820480adc 19:24:20 Step 20/27 : COPY --from=builder /app/res/ /res/ 19:24:20 ---> d8acb228fe2f 19:24:20 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 19:24:20 ---> 653ed27fd7e8 19:24:20 Step 22/27 : EXPOSE 48095 19:24:20 ---> Running in 4c75c17069af 19:24:20 Removing intermediate container 4c75c17069af 19:24:20 ---> 773dd587c5e5 19:24:20 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 19:24:20 ---> Running in 4c60882c50e6 19:24:20 Removing intermediate container 4c60882c50e6 19:24:20 ---> 6def4d18ea92 19:24:20 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:24:20 ---> Running in 3c89bcb7eadf 19:24:20 Removing intermediate container 3c89bcb7eadf 19:24:20 ---> 4255bd53985b 19:24:20 Step 25/27 : LABEL arch=arm64 19:24:20 ---> Running in e3650d36f259 19:24:20 Removing intermediate container e3650d36f259 19:24:20 ---> eed47ddccec7 19:24:20 Step 26/27 : LABEL git_sha=63ca49522e2144fab890dc4bdd15bb7a5b929089 19:24:20 ---> Running in aa53b4449acd 19:24:20 Removing intermediate container aa53b4449acd 19:24:20 ---> e9b7079a6496 19:24:20 Step 27/27 : LABEL version=0.0.0 19:24:20 ---> Running in bc7becc2e02e 19:24:20 Removing intermediate container bc7becc2e02e 19:24:20 ---> 3175fd371aa2 19:24:20 [Warning] One or more build-args [ARCH] were not consumed 19:24:20 Successfully built 3175fd371aa2 19:24:20 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:24:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:24:21 19:24:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 19:24:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:24:22 arm64: Pulling from edgex-lftools-log-publisher 19:24:22 8998bd30e6a1: Pulling fs layer 19:24:22 04944245beec: Pulling fs layer 19:24:22 699f458cf7ca: Pulling fs layer 19:24:22 765212b225bb: Pulling fs layer 19:24:22 f23df028b6ca: Pulling fs layer 19:24:22 d65c8cfc05b1: Pulling fs layer 19:24:22 2437ff75d9bd: Pulling fs layer 19:24:22 765212b225bb: Waiting 19:24:22 f23df028b6ca: Waiting 19:24:22 2437ff75d9bd: Waiting 19:24:22 d65c8cfc05b1: Waiting 19:24:22 04944245beec: Verifying Checksum 19:24:22 04944245beec: Download complete 19:24:22 765212b225bb: Verifying Checksum 19:24:22 765212b225bb: Download complete 19:24:22 f23df028b6ca: Verifying Checksum 19:24:22 f23df028b6ca: Download complete 19:24:22 d65c8cfc05b1: Verifying Checksum 19:24:22 d65c8cfc05b1: Download complete 19:24:22 699f458cf7ca: Verifying Checksum 19:24:22 699f458cf7ca: Download complete 19:24:22 8998bd30e6a1: Verifying Checksum 19:24:22 8998bd30e6a1: Download complete 19:24:25 2437ff75d9bd: Verifying Checksum 19:24:25 2437ff75d9bd: Download complete 19:24:27 8998bd30e6a1: Pull complete 19:24:27 04944245beec: Pull complete 19:24:29 699f458cf7ca: Pull complete 19:24:29 765212b225bb: Pull complete 19:24:29 f23df028b6ca: Pull complete 19:24:30 d65c8cfc05b1: Pull complete 19:24:45 2437ff75d9bd: Pull complete 19:24:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:24:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:24:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 19:24:45 prd-ubuntu20.04-docker-arm64-4c-16g-63172 does not seem to be running inside a container 19:24:45 $ 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 19:24:48 $ docker top a36d76fffbcecf33b10a00badf38fe68dece54979c4dc2b56ce48767702faaef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:24:49 ---> job-cost.sh 19:24:49 lf-activate-venv: SKIPPING 19:24:49 INFO: No Stack... 19:24:49 INFO: Retrieving Pricing Info for: v3-standard-4 19:24:50 INFO: Archiving Costs [Pipeline] sh 19:24:50 + + catcut /w/workspace/app-service-configurable/1/archives/cost.csv -d, 19:24:50 -f6 [Pipeline] lock 19:24:51 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-422-1-stack-cost] 19:24:51 Resource [jenkins-edgexfoundry-app-service-configurable-PR-422-1-stack-cost] did not exist. Created. 19:24:51 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-422-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:24:51 /w/workspace/app-service-configurable/1@tmp/durable-2a9bde63/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:24:52 + echo total: 0.10999999940395355 [Pipeline] stash 19:24:52 Warning: overwriting stash ‘stack-cost’ 19:24:52 Stashed 1 file(s) [Pipeline] } 19:24:52 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-422-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:24:52 $ docker stop --time=1 a36d76fffbcecf33b10a00badf38fe68dece54979c4dc2b56ce48767702faaef 19:24:54 $ docker rm -f a36d76fffbcecf33b10a00badf38fe68dece54979c4dc2b56ce48767702faaef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 19:24:55 provisioning config files... 19:24:55 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-422@tmp/config6377108059482332946tmp [Pipeline] { [Pipeline] sh 19:24:55 + set +x 19:24:55 + curl -s https://codecov.io/bash 19:24:55 + bash -s -- 19:24:55 19:24:55 _____ _ 19:24:55 / ____| | | 19:24:55 | | ___ __| | ___ ___ _____ __ 19:24:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:24:55 | |___| (_) | (_| | __/ (_| (_) \ V / 19:24:55 \_____\___/ \__,_|\___|\___\___/ \_/ 19:24:55 Bash-1.0.6 19:24:55 19:24:55 19:24:55 ==> git version 2.25.1 found 19:24:55 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 19:24:55 Release-Date: 2020-01-08 19:24:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:24:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:24:55 ==> Jenkins CI detected. 19:24:55 current dir:  /w/workspace/_app-service-configurable_PR-422 19:24:55 project root: . 19:24:55 --> token set from env 19:24:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:24:55 ==> Running gcov in . (disable via -X gcov) 19:24:55 ==> Python coveragepy not found 19:24:55 ==> Searching for coverage reports in: 19:24:55 + . 19:24:55 -> Found 1 reports 19:24:55 ==> Detecting git/mercurial file structure 19:24:55 ==> Reading reports 19:24:55 + ./coverage.out bytes=10 19:24:55 ==> Appending adjustments 19:24:55 https://docs.codecov.io/docs/fixing-reports 19:24:55 + Found adjustments 19:24:55 ==> Gzipping contents 19:24:55 4.0K /tmp/codecov.adXuFa.gz 19:24:55 ==> Uploading reports 19:24:55 url: https://codecov.io 19:24:55 query: branch=PR-422&commit=af8850d24d12e80c625358c4698a0d39e42f38b8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-422%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=422&job=&cmd_args= 19:24:55 -> Pinging Codecov 19:24:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-422&commit=af8850d24d12e80c625358c4698a0d39e42f38b8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-422%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=422&job=&cmd_args= 19:24:56 -> Uploading to 19:24:56 https://storage.googleapis.com/codecov/v4/raw/2022-05-11/A97CA9966030D2A3747ED39772930CCE/af8850d24d12e80c625358c4698a0d39e42f38b8/55a1cf4f-c19f-4cd6-b91a-d0d6d964dbca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220511T192455Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0e1a6716307a4dd2fcbf4a6e5dd6e4455774531076cb31b7706262a1651439f8 19:24:56 % Total % Received % Xferd Average Speed Time Time Time Current 19:24:56 Dload Upload Total Spent Left Speed 19:24:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 592 0 0 100 592 0 2416 --:--:-- --:--:-- --:--:-- 2416 19:24:56 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/af8850d24d12e80c625358c4698a0d39e42f38b8 [Pipeline] } 19:24:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:24:58 + [ -d /w/workspace/_app-service-configurable_PR-422/archives ] 19:24:58 + ls -al /w/workspace/_app-service-configurable_PR-422/archives 19:24:58 total 16 19:24:58 drwxr-xr-x 3 root root 4096 May 11 19:17 . 19:24:58 drwxrwxr-x 9 jenkins jenkins 4096 May 11 19:17 .. 19:24:58 drwxr-xr-x 2 root root 4096 May 11 19:17 cost 19:24:58 -rw-r--r-- 1 root root 95 May 11 19:17 cost.csv 19:24:58 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-422/archives 19:24:58 + ls -al /w/workspace/_app-service-configurable_PR-422/archives 19:24:58 total 16 19:24:58 drwxr-xr-x 3 jenkins jenkins 4096 May 11 19:17 . 19:24:58 drwxrwxr-x 9 jenkins jenkins 4096 May 11 19:17 .. 19:24:58 drwxr-xr-x 2 jenkins jenkins 4096 May 11 19:17 cost 19:24:58 -rw-r--r-- 1 jenkins jenkins 95 May 11 19:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:24:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:24:59 ---> package-listing.sh 19:24:59 ++ facter osfamily 19:24:59 ++ tr '[:upper:]' '[:lower:]' 19:24:59 + OS_FAMILY=debian 19:24:59 + workspace=/w/workspace/_app-service-configurable_PR-422 19:24:59 + START_PACKAGES=/tmp/packages_start.txt 19:24:59 + END_PACKAGES=/tmp/packages_end.txt 19:24:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:24:59 + PACKAGES=/tmp/packages_start.txt 19:24:59 + '[' /w/workspace/_app-service-configurable_PR-422 ']' 19:24:59 + PACKAGES=/tmp/packages_end.txt 19:24:59 + case "${OS_FAMILY}" in 19:24:59 + dpkg -l 19:24:59 + grep '^ii' 19:24:59 + '[' -f /tmp/packages_start.txt ']' 19:24:59 + '[' -f /tmp/packages_end.txt ']' 19:24:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:24:59 + '[' /w/workspace/_app-service-configurable_PR-422 ']' 19:24:59 + mkdir -p /w/workspace/_app-service-configurable_PR-422/archives/ 19:24:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-422/archives/ [Pipeline] echo 19:24:59 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-422/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:25:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 19:25:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:25:00 . [Pipeline] withDockerContainer 19:25:00 prd-ubuntu20.04-docker-8c-8g-63171 does not seem to be running inside a container 19:25:00 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-422/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-422 -v /w/workspace/_app-service-configurable_PR-422:/w/workspace/_app-service-configurable_PR-422:rw,z -v /w/workspace/_app-service-configurable_PR-422@tmp:/w/workspace/_app-service-configurable_PR-422@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:25:01 $ docker top 3ce2444a41e86413efd3e8e9838c96be34d5a73fc738476852c5b1ed15d78c40 -eo pid,comm [Pipeline] { [Pipeline] sh 19:25:01 + touch /tmp/pre-build-complete [Pipeline] sh 19:25:01 + mkdir -p /var/log/sysstat [Pipeline] sh 19:25:02 + ls /var/log/sa-host 19:25:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:25:02 provisioning config files... 19:25:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-422@tmp/config8491725642623656666tmp [Pipeline] { [Pipeline] echo 19:25:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:25:02 ---> create-netrc.sh [Pipeline] } 19:25:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:25:03 ---> python-tools-install.sh [Pipeline] echo 19:25:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:25:03 ---> sudo-logs.sh 19:25:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:25:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:25:03 ---> job-cost.sh 19:25:03 lf-activate-venv: SKIPPING 19:25:03 DEBUG: total: 0.2199999988079071 19:25:03 INFO: Retrieving Stack Cost... 19:25:04 INFO: Retrieving Pricing Info for: v3-standard-8 19:25:05 INFO: Archiving Costs [Pipeline] echo 19:25:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:25:05 ---> logs-deploy.sh 19:25:05 lf-activate-venv: SKIPPING 19:25:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-422/1 19:25:05 INFO: archiving workspace using pattern(s): 19:25:06 Archives upload complete. 19:25:06 INFO: archiving logs to Nexus