Pull request #424 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 8d3f649d57711e7829ad1b4dd9339e1f11ca5094+1aebe0375d702ec5557b529d86506036d5612df5 (29a5f9ae4a7501d6d3fb432d34d6c663110a06a7) 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-ssh7866875635809609438.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-ssh8817179293008371265.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-424/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-424/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17156972358599433236.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-424/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1778804328768425065.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-ssh14336646750403120703.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-424/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-424/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7486479073900094739.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-64414 in /w/workspace/_app-service-configurable_PR-424 [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-424 # 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 1aebe0375d702ec5557b529d86506036d5612df5 into PR head commit 8d3f649d57711e7829ad1b4dd9339e1f11ca5094 Merge succeeded, producing 8d3f649d57711e7829ad1b4dd9339e1f11ca5094 Checking out Revision 8d3f649d57711e7829ad1b4dd9339e1f11ca5094 (PR-424) > 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/424/head:refs/remotes/origin/PR-424 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8d3f649d57711e7829ad1b4dd9339e1f11ca5094 # 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 1aebe0375d702ec5557b529d86506036d5612df5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8d3f649d57711e7829ad1b4dd9339e1f11ca5094 # timeout=10 Commit message: "fix: Correctly set the App and SDK versions when building the binary" 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 22:01:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:01:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:01:38 ========================================================= 22:01:38 EdgeX Global Pipelines Version Info 22:01:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:01:39 ------------------- 22:01:39 stable info: 22:01:39 ------------------- 22:01:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:01:39 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 22:01:39 Message: update stable to v1.0.230 22:01:39 ------------------- 22:01:39 experimental info: 22:01:39 ------------------- 22:01:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:01:39 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 22:01:39 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:01:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 22:01:39 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 22:01:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:01:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:01:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:01:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 22:01:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:01:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:01:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:01:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:01:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:01:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 22:01:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:01:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:01:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:01:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:01:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:01:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:01:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:01:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:01:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:01:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:01:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:01:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:01:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:01:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:01:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-424 [Pipeline] echo 22:01:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-424 [Pipeline] echo 22:01:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-424 [Pipeline] echo 22:01:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8d3f649d57711e7829ad1b4dd9339e1f11ca5094 [Pipeline] echo 22:01:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8d3f649 [Pipeline] echo 22:01:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:01:41 provisioning config files... 22:01:41 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-424@tmp/config4446074711951531424tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:01:41 ---> docker-login.sh 22:01:41 nexus3.edgexfoundry.org:10001 22:01:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:41 Configure a credential helper to remove this warning. See 22:01:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:41 22:01:41 Login Succeeded 22:01:41 nexus3.edgexfoundry.org:10002 22:01:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:41 Configure a credential helper to remove this warning. See 22:01:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:41 22:01:41 Login Succeeded 22:01:41 nexus3.edgexfoundry.org:10003 22:01:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:41 Configure a credential helper to remove this warning. See 22:01:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:41 22:01:41 Login Succeeded 22:01:41 nexus3.edgexfoundry.org:10004 22:01:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:42 Configure a credential helper to remove this warning. See 22:01:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:42 22:01:42 Login Succeeded 22:01:42 docker.io 22:01:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:42 Configure a credential helper to remove this warning. See 22:01:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:42 22:01:42 Login Succeeded 22:01:42 ---> docker-login.sh ends [Pipeline] } 22:01:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:01:43 + git rev-list -1 --merges 8d3f649d57711e7829ad1b4dd9339e1f11ca5094~1..8d3f649d57711e7829ad1b4dd9339e1f11ca5094 [Pipeline] echo 22:01:43 -----------> git rev-list -1 --merges 8d3f649d57711e7829ad1b4dd9339e1f11ca5094~1..8d3f649d57711e7829ad1b4dd9339e1f11ca5094 8d3f649d57711e7829ad1b4dd9339e1f11ca5094 [false] [Pipeline] sh 22:01:43 + git log --format=format:%s -1 8d3f649d57711e7829ad1b4dd9339e1f11ca5094 [Pipeline] echo 22:01:43 ========================================================= 22:01:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:01:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:01:43 + git log --format=format:%s -1 8d3f649d57711e7829ad1b4dd9339e1f11ca5094 [Pipeline] echo 22:01:44 [semverPrep] GIT_COMMIT: 8d3f649d57711e7829ad1b4dd9339e1f11ca5094, Commit Message: fix: Correctly set the App and SDK versions when building the binary [Pipeline] echo 22:01:44 [semverPrep] This is not a build commit. [Pipeline] sh 22:01:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:01:44 + grep -v github /etc/ssh/ssh_known_hosts 22:01:44 + [ -e /tmp/ssh_known_hosts ] 22:01:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:01:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:01:44 + sudo tee -a /etc/ssh/ssh_known_hosts 22:01:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 22:01:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:01:44 22:01:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:01:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:01:45 latest: Pulling from edgex-devops/py-git-semver 22:01:45 1fe172e4850f: Pulling fs layer 22:01:45 caf521ccaac6: Pulling fs layer 22:01:45 3ead6fa29328: Pulling fs layer 22:01:45 5c2a1cbceb83: Pulling fs layer 22:01:45 a8d5f1318db7: Pulling fs layer 22:01:45 c427282e49a2: Pulling fs layer 22:01:45 1827001aaf11: Pulling fs layer 22:01:45 0714d37db230: Pulling fs layer 22:01:45 ac28cf19c067: Pulling fs layer 22:01:45 ca983d60f3e2: Pulling fs layer 22:01:45 9f894cec8388: Pulling fs layer 22:01:45 5c2a1cbceb83: Waiting 22:01:45 a8d5f1318db7: Waiting 22:01:45 ac28cf19c067: Waiting 22:01:45 c427282e49a2: Waiting 22:01:45 9f894cec8388: Waiting 22:01:45 ca983d60f3e2: Waiting 22:01:45 1827001aaf11: Waiting 22:01:45 0714d37db230: Waiting 22:01:45 caf521ccaac6: Verifying Checksum 22:01:45 caf521ccaac6: Download complete 22:01:45 5c2a1cbceb83: Verifying Checksum 22:01:45 5c2a1cbceb83: Download complete 22:01:45 a8d5f1318db7: Verifying Checksum 22:01:45 a8d5f1318db7: Download complete 22:01:45 3ead6fa29328: Verifying Checksum 22:01:45 3ead6fa29328: Download complete 22:01:45 c427282e49a2: Download complete 22:01:45 0714d37db230: Download complete 22:01:45 ac28cf19c067: Verifying Checksum 22:01:45 ac28cf19c067: Download complete 22:01:45 ca983d60f3e2: Verifying Checksum 22:01:45 ca983d60f3e2: Download complete 22:01:45 9f894cec8388: Verifying Checksum 22:01:45 9f894cec8388: Download complete 22:01:45 1fe172e4850f: Verifying Checksum 22:01:45 1fe172e4850f: Download complete 22:01:45 1827001aaf11: Verifying Checksum 22:01:45 1827001aaf11: Download complete 22:01:46 1fe172e4850f: Pull complete 22:01:46 caf521ccaac6: Pull complete 22:01:47 3ead6fa29328: Pull complete 22:01:47 5c2a1cbceb83: Pull complete 22:01:47 a8d5f1318db7: Pull complete 22:01:47 c427282e49a2: Pull complete 22:01:49 1827001aaf11: Pull complete 22:01:49 0714d37db230: Pull complete 22:01:49 ac28cf19c067: Pull complete 22:01:49 ca983d60f3e2: Pull complete 22:01:49 9f894cec8388: Pull complete 22:01:49 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 22:01:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:01:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 22:01:49 prd-ubuntu20.04-docker-8c-8g-64414 does not seem to be running inside a container 22:01:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-424 -v /w/workspace/_app-service-configurable_PR-424:/w/workspace/_app-service-configurable_PR-424:rw,z -v /w/workspace/_app-service-configurable_PR-424@tmp:/w/workspace/_app-service-configurable_PR-424@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 22:01:50 $ docker top 3ed8de9c8a4c59e8dfd8f85ee968414d2d538915727706ed8254a42a137f89f1 -eo pid,comm 22:01:51 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). 22:01:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:01:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:01:51 [ssh-agent] Looking for ssh-agent implementation... 22:01:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:01:51 $ docker exec 3ed8de9c8a4c59e8dfd8f85ee968414d2d538915727706ed8254a42a137f89f1 ssh-agent 22:01:51 SSH_AUTH_SOCK=/tmp/ssh-s2ofEql4H6o7/agent.33 22:01:51 SSH_AGENT_PID=39 22:01:51 Running ssh-add (command line suppressed) 22:01:51 Identity added: /w/workspace/_app-service-configurable_PR-424@tmp/private_key_828304431509925780.key (/w/workspace/_app-service-configurable_PR-424@tmp/private_key_828304431509925780.key) 22:01:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:01:51 + git tag --points-at HEAD [Pipeline] } 22:01:51 $ docker exec --env ******** --env ******** 3ed8de9c8a4c59e8dfd8f85ee968414d2d538915727706ed8254a42a137f89f1 ssh-agent -k 22:01:51 unset SSH_AUTH_SOCK; 22:01:51 unset SSH_AGENT_PID; 22:01:51 echo Agent pid 39 killed; 22:01:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:01:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:01:52 [ssh-agent] Looking for ssh-agent implementation... 22:01:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:01:52 $ docker exec 3ed8de9c8a4c59e8dfd8f85ee968414d2d538915727706ed8254a42a137f89f1 ssh-agent 22:01:52 SSH_AUTH_SOCK=/tmp/ssh-YlWWFBCKjZ9R/agent.74 22:01:52 SSH_AGENT_PID=81 22:01:52 Running ssh-add (command line suppressed) 22:01:52 Identity added: /w/workspace/_app-service-configurable_PR-424@tmp/private_key_8075394860174453086.key (/w/workspace/_app-service-configurable_PR-424@tmp/private_key_8075394860174453086.key) 22:01:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:01:52 + git semver init 22:01:53 2022-05-23 22:01:52,983 [run_init] DEBUG init version:0.0.0 force:False 22:01:53 2022-05-23 22:01:52,983 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-424/.semver 22:01:53 2022-05-23 22:01:52,984 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-424/.semver 22:01:53 2022-05-23 22:01:52,984 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-424/.semver'], cwd=/w/workspace/_app-service-configurable_PR-424, universal_newlines=False, shell=None, istream=None) 22:01:53 2022-05-23 22:01:53,647 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-424/.git/info/exclude 22:01:53 2022-05-23 22:01:53,647 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-424/.semver/PR-424 with force:False 22:01:53 2022-05-23 22:01:53,648 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-424/.semver/PR-424 22:01:53 2022-05-23 22:01:53,653 [execute] INFO git cat-file --batch-check 22:01:53 2022-05-23 22:01:53,653 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-424/.semver, universal_newlines=False, shell=None, istream=) 22:01:53 2022-05-23 22:01:53,661 [execute] INFO git cat-file --batch 22:01:53 2022-05-23 22:01:53,662 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-424/.semver, universal_newlines=False, shell=None, istream=) 22:01:53 2022-05-23 22:01:53,668 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-424/.semver/PR-424 22:01:53 0.0.0 [Pipeline] } 22:01:54 $ docker exec --env ******** --env ******** 3ed8de9c8a4c59e8dfd8f85ee968414d2d538915727706ed8254a42a137f89f1 ssh-agent -k 22:01:54 unset SSH_AUTH_SOCK; 22:01:54 unset SSH_AGENT_PID; 22:01:54 echo Agent pid 81 killed; 22:01:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:01:54 + git semver [Pipeline] } 22:01:54 $ docker stop --time=1 3ed8de9c8a4c59e8dfd8f85ee968414d2d538915727706ed8254a42a137f89f1 22:01:56 $ docker rm -f 3ed8de9c8a4c59e8dfd8f85ee968414d2d538915727706ed8254a42a137f89f1 [Pipeline] // withDockerContainer [Pipeline] sh 22:01:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:01:56 Stashed 1 file(s) [Pipeline] echo 22:01:56 [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 22:01:57 provisioning config files... 22:01:57 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-424@tmp/config4011544516546643723tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:01:57 ---> docker-login.sh 22:01:57 nexus3.edgexfoundry.org:10001 22:01:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:57 Configure a credential helper to remove this warning. See 22:01:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:57 22:01:57 Login Succeeded 22:01:57 nexus3.edgexfoundry.org:10002 22:01:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:58 Configure a credential helper to remove this warning. See 22:01:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:58 22:01:58 Login Succeeded 22:01:58 nexus3.edgexfoundry.org:10003 22:01:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:58 Configure a credential helper to remove this warning. See 22:01:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:58 22:01:58 Login Succeeded 22:01:58 nexus3.edgexfoundry.org:10004 22:01:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:58 Configure a credential helper to remove this warning. See 22:01:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:58 22:01:58 Login Succeeded 22:01:58 docker.io 22:01:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:58 Configure a credential helper to remove this warning. See 22:01:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:58 22:01:58 Login Succeeded 22:01:58 ---> docker-login.sh ends [Pipeline] } 22:01:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:01:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:01:58 ========================================================= 22:01:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 22:01:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:01:59 + 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 . 22:01:59 Sending build context to Docker daemon 3.075MB 22:01:59 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 22:01:59 Step 2/13 : FROM ${BASE} AS builder 22:01:59 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 22:01:59 59bf1c3509f3: Pulling fs layer 22:01:59 666ba61612fd: Pulling fs layer 22:01:59 8ed8ca486205: Pulling fs layer 22:01:59 4fe6c5a15a65: Pulling fs layer 22:01:59 22a0e8bec74d: Pulling fs layer 22:01:59 4fe6c5a15a65: Waiting 22:01:59 22a0e8bec74d: Waiting 22:01:59 ca2b28591e48: Pulling fs layer 22:01:59 a51346096db8: Pulling fs layer 22:01:59 daebc70d1ce1: Pulling fs layer 22:01:59 0e18a0eac166: Pulling fs layer 22:01:59 ca2b28591e48: Waiting 22:01:59 daebc70d1ce1: Waiting 22:01:59 a51346096db8: Waiting 22:01:59 0e18a0eac166: Waiting 22:01:59 8ed8ca486205: Verifying Checksum 22:01:59 8ed8ca486205: Download complete 22:01:59 666ba61612fd: Verifying Checksum 22:01:59 666ba61612fd: Download complete 22:01:59 22a0e8bec74d: Verifying Checksum 22:01:59 22a0e8bec74d: Download complete 22:01:59 ca2b28591e48: Verifying Checksum 22:01:59 ca2b28591e48: Download complete 22:01:59 59bf1c3509f3: Verifying Checksum 22:01:59 59bf1c3509f3: Download complete 22:01:59 a51346096db8: Download complete 22:01:59 daebc70d1ce1: Verifying Checksum 22:01:59 daebc70d1ce1: Download complete 22:01:59 59bf1c3509f3: Pull complete 22:01:59 666ba61612fd: Pull complete 22:01:59 8ed8ca486205: Pull complete 22:02:00 0e18a0eac166: Verifying Checksum 22:02:00 0e18a0eac166: Download complete 22:02:00 4fe6c5a15a65: Verifying Checksum 22:02:00 4fe6c5a15a65: Download complete 22:02:04 4fe6c5a15a65: Pull complete 22:02:04 22a0e8bec74d: Pull complete 22:02:04 ca2b28591e48: Pull complete 22:02:04 a51346096db8: Pull complete 22:02:04 daebc70d1ce1: Pull complete 22:02:06 0e18a0eac166: Pull complete 22:02:06 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 22:02:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 22:02:06 ---> f018257e8ee9 22:02:06 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:02:07 ---> Running in e76cb4cd3c46 22:02:07 Removing intermediate container e76cb4cd3c46 22:02:07 ---> 557d6095b44a 22:02:07 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 22:02:07 ---> Running in 16ae8ddfc440 22:02:07 Removing intermediate container 16ae8ddfc440 22:02:07 ---> 837237e2df9c 22:02:07 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 22:02:07 ---> Running in a70ef5b6f273 22:02:07 Removing intermediate container a70ef5b6f273 22:02:07 ---> 40633c229190 22:02:07 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:02:07 ---> Running in 5ae51999393f 22:02:07 Removing intermediate container 5ae51999393f 22:02:07 ---> 3198dcd2cd50 22:02:07 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:02:07 ---> Running in 05d2e3517454 22:02:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:02:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:02:09 OK: 221 MiB in 52 packages 22:02:09 Removing intermediate container 05d2e3517454 22:02:09 ---> ef48c8f61a1b 22:02:09 Step 8/13 : WORKDIR /app 22:02:09 ---> Running in 59078ea3649d 22:02:09 Removing intermediate container 59078ea3649d 22:02:09 ---> c3ec5ed4ace0 22:02:09 Step 9/13 : COPY go.mod vendor* ./ 22:02:09 ---> 31ee3b275755 22:02:09 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:02:10 ---> Running in a44b5ca0807c 22:02:12 Still waiting to schedule task 22:02:12 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:02:28 Removing intermediate container a44b5ca0807c 22:02:28 ---> 5fee7775ced7 22:02:28 Step 11/13 : COPY . . 22:02:28 ---> cf3e02dcaa51 22:02:28 Step 12/13 : ARG MAKE="make build" 22:02:28 ---> Running in e5bdef6f9547 22:02:28 Removing intermediate container e5bdef6f9547 22:02:28 ---> 4fda4fa17769 22:02:28 Step 13/13 : RUN $MAKE 22:02:28 ---> Running in 53038b9322e6 22:02:28 noop 22:02:28 Removing intermediate container 53038b9322e6 22:02:28 ---> d009b20ea199 22:02:28 Successfully built d009b20ea199 22:02:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:02:28 + docker inspect -f . ci-base-image-x86_64 22:02:28 . [Pipeline] withDockerContainer 22:02:28 prd-ubuntu20.04-docker-8c-8g-64414 does not seem to be running inside a container 22:02:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-424 -v /w/workspace/_app-service-configurable_PR-424:/w/workspace/_app-service-configurable_PR-424:rw,z -v /w/workspace/_app-service-configurable_PR-424@tmp:/w/workspace/_app-service-configurable_PR-424@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 22:02:29 $ docker top 552ff1279ac6cbe52dd9f1098d340ab6272d082b602b695629a89aef27ed61ef -eo pid,comm [Pipeline] { [Pipeline] sh 22:02:29 + go version 22:02:29 go version go1.17.6 linux/amd64 [Pipeline] } 22:02:29 $ docker stop --time=1 552ff1279ac6cbe52dd9f1098d340ab6272d082b602b695629a89aef27ed61ef 22:02:30 $ docker rm -f 552ff1279ac6cbe52dd9f1098d340ab6272d082b602b695629a89aef27ed61ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:02:31 + docker inspect -f . ci-base-image-x86_64 22:02:31 . [Pipeline] withDockerContainer 22:02:31 prd-ubuntu20.04-docker-8c-8g-64414 does not seem to be running inside a container 22:02:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-424 -v /w/workspace/_app-service-configurable_PR-424:/w/workspace/_app-service-configurable_PR-424:rw,z -v /w/workspace/_app-service-configurable_PR-424@tmp:/w/workspace/_app-service-configurable_PR-424@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 22:02:32 $ docker top 8daa57f15c6904511b8aba4c6eab2e07cf995193c25229a97b03e0d9b49bfc49 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:02:32 + make test 22:02:32 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 22:02:42 ? github.com/edgexfoundry/app-service-configurable [no test files] 22:02:42 CGO_ENABLED=1 go vet ./... 22:02:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:02:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:02:45 ./bin/test-attribution-txt.sh [Pipeline] echo 22:02:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:02:45 $ docker stop --time=1 8daa57f15c6904511b8aba4c6eab2e07cf995193c25229a97b03e0d9b49bfc49 22:02:47 $ docker rm -f 8daa57f15c6904511b8aba4c6eab2e07cf995193c25229a97b03e0d9b49bfc49 [Pipeline] // withDockerContainer [Pipeline] sh 22:02:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:02:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:02:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:02:49 + ls -al . 22:02:49 total 168 22:02:49 drwxrwxr-x 8 jenkins jenkins 4096 May 23 22:02 . 22:02:49 drwxrwxr-x 4 jenkins jenkins 4096 May 23 22:01 .. 22:02:49 -rw-rw-r-- 1 jenkins jenkins 119 May 23 22:01 .dockerignore 22:02:49 drwxrwxr-x 8 jenkins jenkins 4096 May 23 22:01 .git 22:02:49 drwxrwxr-x 3 jenkins jenkins 4096 May 23 22:01 .github 22:02:49 -rw-rw-r-- 1 jenkins jenkins 104 May 23 22:01 .gitignore 22:02:49 drwxr-xr-x 3 jenkins jenkins 4096 May 23 22:01 .semver 22:02:49 -rw-rw-r-- 1 jenkins jenkins 8695 May 23 22:01 Attribution.txt 22:02:49 -rw-rw-r-- 1 jenkins jenkins 27269 May 23 22:01 CHANGELOG.md 22:02:49 -rw-rw-r-- 1 jenkins jenkins 2087 May 23 22:01 Dockerfile 22:02:49 -rw-rw-r-- 1 jenkins jenkins 677 May 23 22:01 GOVERNANCE.md 22:02:49 -rw-rw-r-- 1 jenkins jenkins 688 May 23 22:01 Jenkinsfile 22:02:49 -rw-rw-r-- 1 jenkins jenkins 10174 May 23 22:01 LICENSE 22:02:49 -rw-rw-r-- 1 jenkins jenkins 618 May 23 22:01 OWNERS.md 22:02:49 -rw-rw-r-- 1 jenkins jenkins 3718 May 23 22:01 README.md 22:02:49 -rw-rw-r-- 1 jenkins jenkins 5 May 23 22:01 VERSION 22:02:49 drwxrwxr-x 2 jenkins jenkins 4096 May 23 22:01 bin 22:02:49 -rw-r--r-- 1 jenkins jenkins 10 May 23 22:02 coverage.out 22:02:49 -rw-rw-r-- 1 jenkins jenkins 3222 May 23 22:01 go.mod 22:02:49 -rw-rw-r-- 1 jenkins jenkins 34558 May 23 22:01 go.sum 22:02:49 -rw-rw-r-- 1 jenkins jenkins 1949 May 23 22:01 main.go 22:02:49 -rw-rw-r-- 1 jenkins jenkins 1972 May 23 22:01 makefile 22:02:49 drwxrwxr-x 10 jenkins jenkins 4096 May 23 22:01 res 22:02:49 drwxrwxr-x 3 jenkins jenkins 4096 May 23 22:01 snap [Pipeline] isUnix [Pipeline] sh 22:02:49 + 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=8d3f649d57711e7829ad1b4dd9339e1f11ca5094 --label arch=amd64 --label version=0.0.0 . 22:02:49 Sending build context to Docker daemon 3.076MB 22:02:49 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 22:02:49 Step 2/27 : FROM ${BASE} AS builder 22:02:49 ---> d009b20ea199 22:02:49 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:02:49 ---> Running in b60974ec0e26 22:02:49 Removing intermediate container b60974ec0e26 22:02:49 ---> 4e56891cdd17 22:02:49 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 22:02:49 ---> Running in 437f491468b8 22:02:49 Removing intermediate container 437f491468b8 22:02:49 ---> f38f8f4cc552 22:02:49 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 22:02:49 ---> Running in 33a7c845595c 22:02:49 Removing intermediate container 33a7c845595c 22:02:49 ---> 9380dbebaac7 22:02:49 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:02:49 ---> Running in 1f4edbf67ae0 22:02:50 Removing intermediate container 1f4edbf67ae0 22:02:50 ---> 26ea47c04d2a 22:02:50 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:02:50 ---> Running in f795166c3da5 22:02:50 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:02:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:02:51 OK: 221 MiB in 52 packages 22:02:52 Removing intermediate container f795166c3da5 22:02:52 ---> 6ff2e7316b7a 22:02:52 Step 8/27 : WORKDIR /app 22:02:52 ---> Running in 855925c82cf6 22:02:52 Removing intermediate container 855925c82cf6 22:02:52 ---> 8fedb388b11e 22:02:52 Step 9/27 : COPY go.mod vendor* ./ 22:02:52 ---> e7fde07b2bd8 22:02:52 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:02:52 ---> Running in 0afd556609c5 22:02:53 Removing intermediate container 0afd556609c5 22:02:53 ---> 6599db65151a 22:02:53 Step 11/27 : COPY . . 22:02:53 ---> b0288ed1f103 22:02:53 Step 12/27 : ARG MAKE="make build" 22:02:53 ---> Running in 9bd96e1fe35b 22:02:53 Removing intermediate container 9bd96e1fe35b 22:02:53 ---> c881d5586024 22:02:53 Step 13/27 : RUN $MAKE 22:02:53 ---> Running in 55c6635a625c 22:02:53 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 22:03:15 Removing intermediate container 55c6635a625c 22:03:15 ---> f4e1bb6aaf54 22:03:15 Step 14/27 : FROM alpine:3.14 22:03:15 3.14: Pulling from library/alpine 22:03:15 8663204ce13b: Pulling fs layer 22:03:15 8663204ce13b: Verifying Checksum 22:03:15 8663204ce13b: Download complete 22:03:15 8663204ce13b: Pull complete 22:03:15 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:03:15 Status: Downloaded newer image for alpine:3.14 22:03:15 ---> e04c818066af 22:03:15 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 22:03:15 ---> Running in 76b461151a36 22:03:15 Removing intermediate container 76b461151a36 22:03:15 ---> c8b0c23702f8 22:03:15 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 22:03:15 ---> Running in 0f908c5cb87c 22:03:15 Removing intermediate container 0f908c5cb87c 22:03:15 ---> 4207db407d16 22:03:15 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 22:03:15 ---> Running in 27cd88c3b370 22:03:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:03:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:03:15 (1/7) Installing ca-certificates (20211220-r0) 22:03:15 (2/7) Installing dumb-init (1.2.5-r1) 22:03:15 (3/7) Installing libgcc (10.3.1_git20210424-r2) 22:03:15 (4/7) Installing libsodium (1.0.18-r0) 22:03:15 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 22:03:15 (6/7) Installing libzmq (4.3.4-r0) 22:03:15 (7/7) Installing zeromq (4.3.4-r0) 22:03:15 Executing busybox-1.33.1-r7.trigger 22:03:15 Executing ca-certificates-20211220-r0.trigger 22:03:15 OK: 9 MiB in 21 packages 22:03:15 Removing intermediate container 27cd88c3b370 22:03:15 ---> c7070696d666 22:03:15 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:03:15 ---> 26ba4a04c058 22:03:15 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 22:03:15 ---> f58300cb8d03 22:03:15 Step 20/27 : COPY --from=builder /app/res/ /res/ 22:03:15 ---> a916b146940e 22:03:15 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 22:03:16 ---> 6e6e591a5d5e 22:03:16 Step 22/27 : EXPOSE 48095 22:03:16 ---> Running in 86d8e78870a9 22:03:16 Removing intermediate container 86d8e78870a9 22:03:16 ---> 0153dc0d45bc 22:03:16 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 22:03:16 ---> Running in 1d2f988ac491 22:03:16 Removing intermediate container 1d2f988ac491 22:03:16 ---> 022e611b52b4 22:03:16 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:03:16 ---> Running in ecec99a35f90 22:03:16 Removing intermediate container ecec99a35f90 22:03:16 ---> a32473d5b668 22:03:16 Step 25/27 : LABEL arch=amd64 22:03:16 ---> Running in 1680e811054a 22:03:16 Removing intermediate container 1680e811054a 22:03:16 ---> 5b12cd7c129a 22:03:16 Step 26/27 : LABEL git_sha=8d3f649d57711e7829ad1b4dd9339e1f11ca5094 22:03:16 ---> Running in 9da7f01ec0d9 22:03:16 Removing intermediate container 9da7f01ec0d9 22:03:16 ---> 76241012a1ac 22:03:16 Step 27/27 : LABEL version=0.0.0 22:03:16 ---> Running in decc69caee23 22:03:17 Removing intermediate container decc69caee23 22:03:17 ---> 1e614b25ea4c 22:03:17 [Warning] One or more build-args [ARCH] were not consumed 22:03:17 Successfully built 1e614b25ea4c 22:03:17 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 22:03:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:03:17 22:03:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:03:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:03:18 latest: Pulling from edgex-lftools-log-publisher 22:03:18 5eb5b503b376: Pulling fs layer 22:03:18 5c69ac0246d0: Pulling fs layer 22:03:18 ec43610c2a17: Pulling fs layer 22:03:18 3a2ae6a8a46f: Pulling fs layer 22:03:18 33b1e0a273af: Pulling fs layer 22:03:18 5d3b04190fa2: Pulling fs layer 22:03:18 2f39f015ded8: Pulling fs layer 22:03:18 3a2ae6a8a46f: Waiting 22:03:18 33b1e0a273af: Waiting 22:03:18 5d3b04190fa2: Waiting 22:03:18 5c69ac0246d0: Download complete 22:03:18 3a2ae6a8a46f: Verifying Checksum 22:03:18 3a2ae6a8a46f: Download complete 22:03:18 33b1e0a273af: Verifying Checksum 22:03:18 33b1e0a273af: Download complete 22:03:18 5d3b04190fa2: Verifying Checksum 22:03:18 5d3b04190fa2: Download complete 22:03:18 ec43610c2a17: Verifying Checksum 22:03:18 ec43610c2a17: Download complete 22:03:18 5eb5b503b376: Verifying Checksum 22:03:18 5eb5b503b376: Download complete 22:03:19 2f39f015ded8: Download complete 22:03:19 5eb5b503b376: Pull complete 22:03:19 5c69ac0246d0: Pull complete 22:03:20 ec43610c2a17: Pull complete 22:03:20 3a2ae6a8a46f: Pull complete 22:03:20 33b1e0a273af: Pull complete 22:03:20 5d3b04190fa2: Pull complete 22:03:24 2f39f015ded8: Pull complete 22:03:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:03:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:03:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:03:24 prd-ubuntu20.04-docker-8c-8g-64414 does not seem to be running inside a container 22:03:24 $ 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-424 -v /w/workspace/_app-service-configurable_PR-424:/w/workspace/_app-service-configurable_PR-424:rw,z -v /w/workspace/_app-service-configurable_PR-424@tmp:/w/workspace/_app-service-configurable_PR-424@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 22:03:26 $ docker top 46958f046e7b0c03243f0a3f27db14d54a220c644c3c3e6ebb42b1a3b39ccd08 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:03:26 ---> job-cost.sh 22:03:26 lf-activate-venv: SKIPPING 22:03:26 INFO: No Stack... 22:03:27 INFO: Retrieving Pricing Info for: v3-standard-8 22:03:27 INFO: Archiving Costs [Pipeline] sh 22:03:27 + cat /w/workspace/_app-service-configurable_PR-424/archives/cost.csv 22:03:27 + cut -d, -f6 [Pipeline] lock 22:03:27 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-424-1-stack-cost] 22:03:27 Resource [jenkins-edgexfoundry-app-service-configurable-PR-424-1-stack-cost] did not exist. Created. 22:03:27 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-424-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:03:28 + echo total: 0.2199999988079071 [Pipeline] stash 22:03:28 Stashed 1 file(s) [Pipeline] } 22:03:28 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-424-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:03:28 $ docker stop --time=1 46958f046e7b0c03243f0a3f27db14d54a220c644c3c3e6ebb42b1a3b39ccd08 22:03:29 $ docker rm -f 46958f046e7b0c03243f0a3f27db14d54a220c644c3c3e6ebb42b1a3b39ccd08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:03:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-64415 in /w/workspace/_app-service-configurable_PR-424 [Pipeline] { [Pipeline] ws 22:03:48 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 22:03:48 Selected Git installation does not exist. Using Default 22:03:48 The recommended git tool is: NONE 22:03:54 using credential edgex-jenkins-ssh 22:03:54 Cloning the remote Git repository 22:03:54 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 22:03:54 > git init /w/workspace/app-service-configurable/1 # timeout=10 22:03:55 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 22:03:55 > git --version # timeout=10 22:03:55 > git --version # 'git version 2.25.1' 22:03:55 using GIT_SSH to set credentials SSH Credentials for GitHub 22:03:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:03:57 Merging remotes/origin/main commit 1aebe0375d702ec5557b529d86506036d5612df5 into PR head commit 8d3f649d57711e7829ad1b4dd9339e1f11ca5094 22:03:57 Merge succeeded, producing 8d3f649d57711e7829ad1b4dd9339e1f11ca5094 22:03:57 Checking out Revision 8d3f649d57711e7829ad1b4dd9339e1f11ca5094 (PR-424) 22:03:56 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 22:03:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:03:56 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 22:03:56 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 22:03:56 using GIT_SSH to set credentials SSH Credentials for GitHub 22:03:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/424/head:refs/remotes/origin/PR-424 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:03:57 > git config core.sparsecheckout # timeout=10 22:03:57 > git checkout -f 8d3f649d57711e7829ad1b4dd9339e1f11ca5094 # timeout=10 22:03:57 > git remote # timeout=10 22:03:57 > git config --get remote.origin.url # timeout=10 22:03:57 using GIT_SSH to set credentials SSH Credentials for GitHub 22:03:57 > git merge 1aebe0375d702ec5557b529d86506036d5612df5 # timeout=10 22:03:57 > git rev-parse HEAD^{commit} # timeout=10 22:03:57 > git config core.sparsecheckout # timeout=10 22:03:57 > git checkout -f 8d3f649d57711e7829ad1b4dd9339e1f11ca5094 # timeout=10 22:04:01 Commit message: "fix: Correctly set the App and SDK versions when building the binary" 22:04:01 > git --version # timeout=10 22:04:01 > git --version # 'git version 2.25.1' 22:04:01 fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:04:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:04:02 % Total % Received % Xferd Average Speed Time Time Time Current 22:04:02 Dload Upload Total Spent Left Speed 22:04:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 50217 0 --:--:-- --:--:-- --:--:-- 50423 [Pipeline] sh 22:04:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:04:03 + sudo tee /etc/docker/daemon.new 22:04:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:04:03 { 22:04:03 "registry-mirrors": [ 22:04:03 "https://nexus3.edgexfoundry.org:10001" 22:04:03 ], 22:04:03 "bip": "10.250.0.254/24", 22:04:03 "hosts": [ 22:04:03 "tcp://0.0.0.0:5555", 22:04:03 "unix:///var/run/docker.sock" 22:04:03 ], 22:04:03 "mtu": 1458, 22:04:03 "selinux-enabled": true, 22:04:03 "seccomp-profile": "/etc/docker/seccomp.json" 22:04:03 } [Pipeline] sh 22:04:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:04:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:04:22 provisioning config files... 22:04:22 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config3990174906865615675tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:04:23 ---> docker-login.sh 22:04:23 nexus3.edgexfoundry.org:10001 22:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:24 Configure a credential helper to remove this warning. See 22:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:24 22:04:24 Login Succeeded 22:04:24 nexus3.edgexfoundry.org:10002 22:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:24 Configure a credential helper to remove this warning. See 22:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:24 22:04:24 Login Succeeded 22:04:24 nexus3.edgexfoundry.org:10003 22:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:25 Configure a credential helper to remove this warning. See 22:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:25 22:04:25 Login Succeeded 22:04:25 nexus3.edgexfoundry.org:10004 22:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:25 Configure a credential helper to remove this warning. See 22:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:25 22:04:25 Login Succeeded 22:04:25 docker.io 22:04:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:04:26 Configure a credential helper to remove this warning. See 22:04:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:04:26 22:04:26 Login Succeeded 22:04:26 ---> docker-login.sh ends [Pipeline] } 22:04:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:04:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:04:27 ========================================================= 22:04:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 22:04:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:04:27 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 22:04:27 Sending build context to Docker daemon 203.3kB 22:04:27 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 22:04:27 Step 2/13 : FROM ${BASE} AS builder 22:04:28 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:04:28 9b3977197b4f: Pulling fs layer 22:04:28 1a89e8eeedd5: Pulling fs layer 22:04:28 94645a83ff95: Pulling fs layer 22:04:28 3f3a8bcf1eab: Pulling fs layer 22:04:28 0c92f367c5e7: Pulling fs layer 22:04:28 3096ccb668a1: Pulling fs layer 22:04:28 e8cf19c19ddd: Pulling fs layer 22:04:28 a4caa8a26152: Pulling fs layer 22:04:28 3f3a8bcf1eab: Waiting 22:04:28 0c92f367c5e7: Waiting 22:04:28 3096ccb668a1: Waiting 22:04:28 e8cf19c19ddd: Waiting 22:04:28 a4caa8a26152: Waiting 22:04:28 94645a83ff95: Verifying Checksum 22:04:28 94645a83ff95: Download complete 22:04:28 1a89e8eeedd5: Verifying Checksum 22:04:28 1a89e8eeedd5: Download complete 22:04:28 0c92f367c5e7: Download complete 22:04:28 3096ccb668a1: Download complete 22:04:28 9b3977197b4f: Download complete 22:04:28 e8cf19c19ddd: Verifying Checksum 22:04:28 e8cf19c19ddd: Download complete 22:04:28 9b3977197b4f: Pull complete 22:04:29 1a89e8eeedd5: Pull complete 22:04:29 94645a83ff95: Pull complete 22:04:30 a4caa8a26152: Verifying Checksum 22:04:30 a4caa8a26152: Download complete 22:04:30 3f3a8bcf1eab: Verifying Checksum 22:04:30 3f3a8bcf1eab: Download complete 22:04:43 3f3a8bcf1eab: Pull complete 22:04:43 0c92f367c5e7: Pull complete 22:04:43 3096ccb668a1: Pull complete 22:04:43 e8cf19c19ddd: Pull complete 22:04:49 a4caa8a26152: Pull complete 22:04:49 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 22:04:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 22:04:49 ---> 725f1c02e7f9 22:04:49 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:04:49 ---> Running in d1863e4e5710 22:04:50 Removing intermediate container d1863e4e5710 22:04:50 ---> b7a7eb2115cf 22:04:50 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 22:04:50 ---> Running in e218a6e2bf0d 22:04:50 Removing intermediate container e218a6e2bf0d 22:04:50 ---> 6fa18c1af623 22:04:50 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 22:04:50 ---> Running in 10e6b9b10391 22:04:51 Removing intermediate container 10e6b9b10391 22:04:51 ---> c855117cb403 22:04:51 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:04:51 ---> Running in e31b1bca2348 22:04:52 Removing intermediate container e31b1bca2348 22:04:52 ---> 2bb4c6e7526b 22:04:52 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:04:53 ---> Running in d9fbc66dcc92 22:04:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:04:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:04:55 OK: 220 MiB in 52 packages 22:04:56 Removing intermediate container d9fbc66dcc92 22:04:56 ---> 3901db95dea6 22:04:56 Step 8/13 : WORKDIR /app 22:04:56 ---> Running in bc9a8e346925 22:04:56 Removing intermediate container bc9a8e346925 22:04:56 ---> 4d4975457c1a 22:04:56 Step 9/13 : COPY go.mod vendor* ./ 22:04:57 ---> cea4e276ea8f 22:04:57 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:04:57 ---> Running in 5e73e52674f5 22:05:44 Removing intermediate container 5e73e52674f5 22:05:44 ---> f62defab125a 22:05:44 Step 11/13 : COPY . . 22:05:44 ---> 39f8dee6f3ad 22:05:44 Step 12/13 : ARG MAKE="make build" 22:05:44 ---> Running in 618fe06cd0da 22:05:44 Removing intermediate container 618fe06cd0da 22:05:44 ---> 1c87f330bc23 22:05:44 Step 13/13 : RUN $MAKE 22:05:44 ---> Running in 415ee4139d69 22:05:44 noop 22:05:44 Removing intermediate container 415ee4139d69 22:05:44 ---> 45ca29d692cf 22:05:44 Successfully built 45ca29d692cf 22:05:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:05:45 + docker inspect -f . ci-base-image-arm64 22:05:45 . [Pipeline] withDockerContainer 22:05:45 prd-ubuntu20.04-docker-arm64-4c-16g-64415 does not seem to be running inside a container 22:05:45 $ 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 22:05:46 $ docker top ad348e6a55b0620e00c22c5502cd9ce96e41f25ac443b84bd7fb83e2f6f7a645 -eo pid,comm [Pipeline] { [Pipeline] sh 22:05:47 + go version 22:05:47 go version go1.17.6 linux/arm64 [Pipeline] } 22:05:47 $ docker stop --time=1 ad348e6a55b0620e00c22c5502cd9ce96e41f25ac443b84bd7fb83e2f6f7a645 22:05:49 $ docker rm -f ad348e6a55b0620e00c22c5502cd9ce96e41f25ac443b84bd7fb83e2f6f7a645 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:05:50 + docker inspect -f . ci-base-image-arm64 22:05:50 . [Pipeline] withDockerContainer 22:05:50 prd-ubuntu20.04-docker-arm64-4c-16g-64415 does not seem to be running inside a container 22:05:50 $ 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 22:05:52 $ docker top d682afa66ae9f6adf680ee668f55cbefe2b744b5514473d6a99c7885c1b5bf5f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:05:53 + make test 22:05:53 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 22:07:14 ? github.com/edgexfoundry/app-service-configurable [no test files] 22:07:14 CGO_ENABLED=1 go vet ./... 22:07:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:07:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:07:37 ./bin/test-attribution-txt.sh [Pipeline] echo 22:07:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:07:38 $ docker stop --time=1 d682afa66ae9f6adf680ee668f55cbefe2b744b5514473d6a99c7885c1b5bf5f 22:07:40 $ docker rm -f d682afa66ae9f6adf680ee668f55cbefe2b744b5514473d6a99c7885c1b5bf5f [Pipeline] // withDockerContainer [Pipeline] sh 22:07:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:07:41 Warning: overwriting stash ‘coverage-report’ 22:07:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:07:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:07:42 + ls -al . 22:07:42 total 164 22:07:42 drwxrwxr-x 7 jenkins jenkins 4096 May 23 22:07 . 22:07:42 drwxrwxr-x 4 jenkins jenkins 4096 May 23 22:03 .. 22:07:42 -rw-rw-r-- 1 jenkins jenkins 119 May 23 22:03 .dockerignore 22:07:42 drwxrwxr-x 8 jenkins jenkins 4096 May 23 22:04 .git 22:07:42 drwxrwxr-x 3 jenkins jenkins 4096 May 23 22:03 .github 22:07:42 -rw-rw-r-- 1 jenkins jenkins 104 May 23 22:03 .gitignore 22:07:42 -rw-rw-r-- 1 jenkins jenkins 8695 May 23 22:03 Attribution.txt 22:07:42 -rw-rw-r-- 1 jenkins jenkins 27269 May 23 22:03 CHANGELOG.md 22:07:42 -rw-rw-r-- 1 jenkins jenkins 2087 May 23 22:03 Dockerfile 22:07:42 -rw-rw-r-- 1 jenkins jenkins 677 May 23 22:03 GOVERNANCE.md 22:07:42 -rw-rw-r-- 1 jenkins jenkins 688 May 23 22:03 Jenkinsfile 22:07:42 -rw-rw-r-- 1 jenkins jenkins 10174 May 23 22:03 LICENSE 22:07:42 -rw-rw-r-- 1 jenkins jenkins 618 May 23 22:03 OWNERS.md 22:07:42 -rw-rw-r-- 1 jenkins jenkins 3718 May 23 22:03 README.md 22:07:42 -rw-rw-r-- 1 jenkins jenkins 5 May 23 22:01 VERSION 22:07:42 drwxrwxr-x 2 jenkins jenkins 4096 May 23 22:03 bin 22:07:42 -rw-r--r-- 1 jenkins jenkins 10 May 23 22:05 coverage.out 22:07:42 -rw-rw-r-- 1 jenkins jenkins 3222 May 23 22:03 go.mod 22:07:42 -rw-rw-r-- 1 jenkins jenkins 34558 May 23 22:03 go.sum 22:07:42 -rw-rw-r-- 1 jenkins jenkins 1949 May 23 22:03 main.go 22:07:42 -rw-rw-r-- 1 jenkins jenkins 1972 May 23 22:03 makefile 22:07:42 drwxrwxr-x 10 jenkins jenkins 4096 May 23 22:03 res 22:07:42 drwxrwxr-x 3 jenkins jenkins 4096 May 23 22:03 snap [Pipeline] isUnix [Pipeline] sh 22:07:43 + 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=8d3f649d57711e7829ad1b4dd9339e1f11ca5094 --label arch=arm64 --label version=0.0.0 . 22:07:43 Sending build context to Docker daemon 204.3kB 22:07:43 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 22:07:43 Step 2/27 : FROM ${BASE} AS builder 22:07:43 ---> 45ca29d692cf 22:07:43 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:07:43 ---> Running in 4cd8d1712c82 22:07:44 Removing intermediate container 4cd8d1712c82 22:07:44 ---> 739b7725051c 22:07:44 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 22:07:44 ---> Running in e2418a1621b6 22:07:44 Removing intermediate container e2418a1621b6 22:07:44 ---> 3b883af5d822 22:07:44 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 22:07:44 ---> Running in 85c5ee222466 22:07:44 Removing intermediate container 85c5ee222466 22:07:44 ---> d9f7d8ecc526 22:07:44 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:07:44 ---> Running in 8fc5a1394bc9 22:07:46 Removing intermediate container 8fc5a1394bc9 22:07:46 ---> 9ae600c313d1 22:07:46 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:07:46 ---> Running in 9b186d59d03f 22:07:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:07:48 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:07:48 OK: 220 MiB in 52 packages 22:07:49 Removing intermediate container 9b186d59d03f 22:07:49 ---> 04def3ea79a6 22:07:49 Step 8/27 : WORKDIR /app 22:07:49 ---> Running in 3cf666f1f0bc 22:07:50 Removing intermediate container 3cf666f1f0bc 22:07:50 ---> b8358239f0ee 22:07:50 Step 9/27 : COPY go.mod vendor* ./ 22:07:50 ---> 639195ae756b 22:07:50 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:07:50 ---> Running in baa180162946 22:07:52 Removing intermediate container baa180162946 22:07:52 ---> 1ddc5dca0a59 22:07:52 Step 11/27 : COPY . . 22:07:53 ---> 1e832b7008d4 22:07:53 Step 12/27 : ARG MAKE="make build" 22:07:53 ---> Running in f5914d2c11bd 22:07:53 Removing intermediate container f5914d2c11bd 22:07:53 ---> a4b429794bbc 22:07:53 Step 13/27 : RUN $MAKE 22:07:53 ---> Running in 14287cbc19c9 22:07:54 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 22:10:01 Removing intermediate container 14287cbc19c9 22:10:01 ---> 6338e650c93d 22:10:01 Step 14/27 : FROM alpine:3.14 22:10:01 3.14: Pulling from library/alpine 22:10:01 455c02918c45: Pulling fs layer 22:10:01 455c02918c45: Download complete 22:10:01 455c02918c45: Pull complete 22:10:01 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:10:01 Status: Downloaded newer image for alpine:3.14 22:10:01 ---> ac73e934f311 22:10:01 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 22:10:01 ---> Running in f1a6ab025c13 22:10:01 Removing intermediate container f1a6ab025c13 22:10:01 ---> 3c8f25362531 22:10:01 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 22:10:01 ---> Running in 8b744619d67e 22:10:01 Removing intermediate container 8b744619d67e 22:10:01 ---> 895bbedca532 22:10:01 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 22:10:01 ---> Running in 467d3cf3d3dc 22:10:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 22:10:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 22:10:01 (1/7) Installing ca-certificates (20211220-r0) 22:10:01 (2/7) Installing dumb-init (1.2.5-r1) 22:10:01 (3/7) Installing libgcc (10.3.1_git20210424-r2) 22:10:01 (4/7) Installing libsodium (1.0.18-r0) 22:10:01 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 22:10:01 (6/7) Installing libzmq (4.3.4-r0) 22:10:01 (7/7) Installing zeromq (4.3.4-r0) 22:10:01 Executing busybox-1.33.1-r7.trigger 22:10:01 Executing ca-certificates-20211220-r0.trigger 22:10:01 OK: 9 MiB in 21 packages 22:10:01 Removing intermediate container 467d3cf3d3dc 22:10:01 ---> 9d0f30d42cae 22:10:01 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:10:01 ---> 6c208dc222a2 22:10:01 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 22:10:01 ---> 2c2f59c79fcb 22:10:01 Step 20/27 : COPY --from=builder /app/res/ /res/ 22:10:01 ---> 9a9cd518c37b 22:10:01 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 22:10:01 ---> 4893c48812ae 22:10:01 Step 22/27 : EXPOSE 48095 22:10:01 ---> Running in 65aa3bbe5c02 22:10:01 Removing intermediate container 65aa3bbe5c02 22:10:01 ---> 1e5f09ee5095 22:10:01 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 22:10:01 ---> Running in a12b5450c43c 22:10:01 Removing intermediate container a12b5450c43c 22:10:01 ---> ac6e8db6200f 22:10:01 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:10:01 ---> Running in 2bc6b2793723 22:10:01 Removing intermediate container 2bc6b2793723 22:10:01 ---> 2c15ef813d30 22:10:01 Step 25/27 : LABEL arch=arm64 22:10:01 ---> Running in f5034cebdf14 22:10:01 Removing intermediate container f5034cebdf14 22:10:01 ---> 171e101a2c54 22:10:01 Step 26/27 : LABEL git_sha=8d3f649d57711e7829ad1b4dd9339e1f11ca5094 22:10:01 ---> Running in 2bf18198ff36 22:10:01 Removing intermediate container 2bf18198ff36 22:10:01 ---> 07419175211e 22:10:01 Step 27/27 : LABEL version=0.0.0 22:10:01 ---> Running in bccabc8c50e0 22:10:01 Removing intermediate container bccabc8c50e0 22:10:01 ---> 0842c460c304 22:10:01 [Warning] One or more build-args [ARCH] were not consumed 22:10:01 Successfully built 0842c460c304 22:10:01 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 22:10:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:10:02 22:10:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 22:10:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:10:02 arm64: Pulling from edgex-lftools-log-publisher 22:10:02 8998bd30e6a1: Pulling fs layer 22:10:02 04944245beec: Pulling fs layer 22:10:02 699f458cf7ca: Pulling fs layer 22:10:02 765212b225bb: Pulling fs layer 22:10:02 f23df028b6ca: Pulling fs layer 22:10:02 d65c8cfc05b1: Pulling fs layer 22:10:02 2437ff75d9bd: Pulling fs layer 22:10:02 f23df028b6ca: Waiting 22:10:02 d65c8cfc05b1: Waiting 22:10:02 2437ff75d9bd: Waiting 22:10:02 765212b225bb: Waiting 22:10:02 04944245beec: Verifying Checksum 22:10:02 04944245beec: Download complete 22:10:02 765212b225bb: Verifying Checksum 22:10:02 765212b225bb: Download complete 22:10:02 f23df028b6ca: Verifying Checksum 22:10:02 f23df028b6ca: Download complete 22:10:02 d65c8cfc05b1: Verifying Checksum 22:10:02 d65c8cfc05b1: Download complete 22:10:03 699f458cf7ca: Verifying Checksum 22:10:03 699f458cf7ca: Download complete 22:10:03 8998bd30e6a1: Download complete 22:10:06 2437ff75d9bd: Verifying Checksum 22:10:06 2437ff75d9bd: Download complete 22:10:08 8998bd30e6a1: Pull complete 22:10:08 04944245beec: Pull complete 22:10:09 699f458cf7ca: Pull complete 22:10:09 765212b225bb: Pull complete 22:10:10 f23df028b6ca: Pull complete 22:10:11 d65c8cfc05b1: Pull complete 22:10:26 2437ff75d9bd: Pull complete 22:10:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:10:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:10:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 22:10:26 prd-ubuntu20.04-docker-arm64-4c-16g-64415 does not seem to be running inside a container 22:10:26 $ 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 22:10:29 $ docker top 72d1bc91f9bb0d733fd5a94762fe27222781b353c970bfe21d83249fba3c86d0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:10:30 ---> job-cost.sh 22:10:30 lf-activate-venv: SKIPPING 22:10:30 INFO: No Stack... 22:10:30 INFO: Retrieving Pricing Info for: v3-standard-4 22:10:31 INFO: Archiving Costs [Pipeline] sh 22:10:31 + cat /w/workspace/app-service-configurable/1/archives/cost.csv+ cut 22:10:31 -d, -f6 [Pipeline] lock 22:10:31 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-424-1-stack-cost] 22:10:31 Resource [jenkins-edgexfoundry-app-service-configurable-PR-424-1-stack-cost] did not exist. Created. 22:10:31 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-424-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:10:32 /w/workspace/app-service-configurable/1@tmp/durable-ad99a86e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:10:33 + echo total: 0.10999999940395355 [Pipeline] stash 22:10:33 Warning: overwriting stash ‘stack-cost’ 22:10:33 Stashed 1 file(s) [Pipeline] } 22:10:33 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-424-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:10:33 $ docker stop --time=1 72d1bc91f9bb0d733fd5a94762fe27222781b353c970bfe21d83249fba3c86d0 22:10:35 $ docker rm -f 72d1bc91f9bb0d733fd5a94762fe27222781b353c970bfe21d83249fba3c86d0 [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 22:10:36 provisioning config files... 22:10:36 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-424@tmp/config6201744939082062400tmp [Pipeline] { [Pipeline] sh 22:10:36 + set +x 22:10:36 + curl -s https://codecov.io/bash 22:10:36 + bash -s -- 22:10:36 22:10:36 _____ _ 22:10:36 / ____| | | 22:10:36 | | ___ __| | ___ ___ _____ __ 22:10:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:10:36 | |___| (_) | (_| | __/ (_| (_) \ V / 22:10:36 \_____\___/ \__,_|\___|\___\___/ \_/ 22:10:36 Bash-1.0.6 22:10:36 22:10:36 22:10:36 ==> git version 2.25.1 found 22:10:36 ==> 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 22:10:36 Release-Date: 2020-01-08 22:10:36 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:10:36 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:10:36 ==> Jenkins CI detected. 22:10:36 current dir:  /w/workspace/_app-service-configurable_PR-424 22:10:36 project root: . 22:10:36 --> token set from env 22:10:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:10:36 ==> Running gcov in . (disable via -X gcov) 22:10:36 ==> Python coveragepy not found 22:10:36 ==> Searching for coverage reports in: 22:10:36 + . 22:10:36 -> Found 1 reports 22:10:36 ==> Detecting git/mercurial file structure 22:10:36 ==> Reading reports 22:10:36 + ./coverage.out bytes=10 22:10:36 ==> Appending adjustments 22:10:36 https://docs.codecov.io/docs/fixing-reports 22:10:36 + Found adjustments 22:10:36 ==> Gzipping contents 22:10:36 4.0K /tmp/codecov.jhIV2P.gz 22:10:36 ==> Uploading reports 22:10:36 url: https://codecov.io 22:10:36 query: branch=PR-424&commit=8d3f649d57711e7829ad1b4dd9339e1f11ca5094&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-424%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=424&job=&cmd_args= 22:10:36 -> Pinging Codecov 22:10:36 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-424&commit=8d3f649d57711e7829ad1b4dd9339e1f11ca5094&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-424%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=424&job=&cmd_args= 22:10:36 -> Uploading to 22:10:36 https://storage.googleapis.com/codecov/v4/raw/2022-05-23/A97CA9966030D2A3747ED39772930CCE/8d3f649d57711e7829ad1b4dd9339e1f11ca5094/a96703f9-229d-416b-ba6a-a175fddc1d0a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220523%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220523T221036Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=93430d0490deccaf437789e3909f1b4fd1c2d49f03c7f6f048f1eae69959a758 22:10:36 % Total % Received % Xferd Average Speed Time Time Time Current 22:10:36 Dload Upload Total Spent Left Speed 22:10:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 592 0 0 100 592 0 2540 --:--:-- --:--:-- --:--:-- 2540 22:10:37 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/8d3f649d57711e7829ad1b4dd9339e1f11ca5094 [Pipeline] } 22:10:37 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 22:10:39 + [ -d /w/workspace/_app-service-configurable_PR-424/archives ] 22:10:39 + ls -al /w/workspace/_app-service-configurable_PR-424/archives 22:10:39 total 16 22:10:39 drwxr-xr-x 3 root root 4096 May 23 22:03 . 22:10:39 drwxrwxr-x 9 jenkins jenkins 4096 May 23 22:03 .. 22:10:39 drwxr-xr-x 2 root root 4096 May 23 22:03 cost 22:10:39 -rw-r--r-- 1 root root 95 May 23 22:03 cost.csv 22:10:39 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-424/archives 22:10:39 + ls -al /w/workspace/_app-service-configurable_PR-424/archives 22:10:39 total 16 22:10:39 drwxr-xr-x 3 jenkins jenkins 4096 May 23 22:03 . 22:10:39 drwxrwxr-x 9 jenkins jenkins 4096 May 23 22:03 .. 22:10:39 drwxr-xr-x 2 jenkins jenkins 4096 May 23 22:03 cost 22:10:39 -rw-r--r-- 1 jenkins jenkins 95 May 23 22:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:10:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:10:40 ---> package-listing.sh 22:10:40 ++ facter osfamily 22:10:40 ++ tr '[:upper:]' '[:lower:]' 22:10:40 + OS_FAMILY=debian 22:10:40 + workspace=/w/workspace/_app-service-configurable_PR-424 22:10:40 + START_PACKAGES=/tmp/packages_start.txt 22:10:40 + END_PACKAGES=/tmp/packages_end.txt 22:10:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:10:40 + PACKAGES=/tmp/packages_start.txt 22:10:40 + '[' /w/workspace/_app-service-configurable_PR-424 ']' 22:10:40 + PACKAGES=/tmp/packages_end.txt 22:10:40 + case "${OS_FAMILY}" in 22:10:40 + dpkg -l 22:10:40 + grep '^ii' 22:10:40 + '[' -f /tmp/packages_start.txt ']' 22:10:40 + '[' -f /tmp/packages_end.txt ']' 22:10:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:10:40 + '[' /w/workspace/_app-service-configurable_PR-424 ']' 22:10:40 + mkdir -p /w/workspace/_app-service-configurable_PR-424/archives/ 22:10:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-424/archives/ [Pipeline] echo 22:10:40 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-424/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:10:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:10:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:10:41 . [Pipeline] withDockerContainer 22:10:41 prd-ubuntu20.04-docker-8c-8g-64414 does not seem to be running inside a container 22:10:41 $ 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-424/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-424 -v /w/workspace/_app-service-configurable_PR-424:/w/workspace/_app-service-configurable_PR-424:rw,z -v /w/workspace/_app-service-configurable_PR-424@tmp:/w/workspace/_app-service-configurable_PR-424@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 22:10:41 $ docker top ea56d55f7aabbd1c778b30789b70be287d2be079710411c7bb80289f4f3af540 -eo pid,comm [Pipeline] { [Pipeline] sh 22:10:42 + touch /tmp/pre-build-complete [Pipeline] sh 22:10:42 + mkdir -p /var/log/sysstat [Pipeline] sh 22:10:42 + ls /var/log/sa-host 22:10:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:10:43 provisioning config files... 22:10:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-424@tmp/config1596184568692405519tmp [Pipeline] { [Pipeline] echo 22:10:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:10:43 ---> create-netrc.sh [Pipeline] } 22:10:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:10:43 ---> python-tools-install.sh [Pipeline] echo 22:10:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:10:44 ---> sudo-logs.sh 22:10:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:10:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:10:44 ---> job-cost.sh 22:10:44 lf-activate-venv: SKIPPING 22:10:44 DEBUG: total: 0.2199999988079071 22:10:44 INFO: Retrieving Stack Cost... 22:10:45 INFO: Retrieving Pricing Info for: v3-standard-8 22:10:45 INFO: Archiving Costs [Pipeline] echo 22:10:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:10:45 ---> logs-deploy.sh 22:10:45 lf-activate-venv: SKIPPING 22:10:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-424/1 22:10:45 INFO: archiving workspace using pattern(s): 22:10:46 Archives upload complete. 22:10:46 INFO: archiving logs to Nexus