Pull request #416 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/app-service-configurable Obtained Jenkinsfile from becc84409fb8c882c3937b343ba8459a886daa78+a669bdb4f1e2d7cd4e5cba464327739a597f1457 (69c7394d0360412acc830e4b16a84ebf80b1fa79) 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-ssh5749320946011366639.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8167634959223355784.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-416/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-416/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11832351554879912217.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15388736800278564024.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-416/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-416/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh17833290346279706533.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-40430 in /w/workspace/_app-service-configurable_PR-416 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-service-configurable.git > git init /w/workspace/_app-service-configurable_PR-416 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit a669bdb4f1e2d7cd4e5cba464327739a597f1457 into PR head commit becc84409fb8c882c3937b343ba8459a886daa78 Merge succeeded, producing becc84409fb8c882c3937b343ba8459a886daa78 Checking out Revision becc84409fb8c882c3937b343ba8459a886daa78 (PR-416) > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/416/head:refs/remotes/origin/PR-416 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f becc84409fb8c882c3937b343ba8459a886daa78 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a669bdb4f1e2d7cd4e5cba464327739a597f1457 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f becc84409fb8c882c3937b343ba8459a886daa78 # timeout=10 Commit message: "feat: cleanup" > git rev-list --no-walk eef5a3bab777c045023aa8c5dcf9e9c16a413124 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:34:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:34:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:34:03 ========================================================= 09:34:03 EdgeX Global Pipelines Version Info 09:34:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:34:04 ------------------- 09:34:04 stable info: 09:34:04 ------------------- 09:34:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:34:04 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 09:34:04 Message: update stable to v1.0.227 09:34:05 ------------------- 09:34:05 experimental info: 09:34:05 ------------------- 09:34:05 Commited By: **** collab-it+edgex@linuxfoundation.org 09:34:05 Commit SHA: 602d0728ebfd21a5b975e02ac0465e47e5fef8c7 09:34:05 Message: update experimental to v1.0.228 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:34:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 09:34:05 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 09:34:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:34:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:34:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:34:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 09:34:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:34:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:34:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:34:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:34:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:34:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 09:34:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:34:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:34:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:34:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:34:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:34:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:34:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:34:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:34:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:34:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:34:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:34:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:34:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:34:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:34:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-416 [Pipeline] echo 09:34:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-416 [Pipeline] echo 09:34:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-416 [Pipeline] echo 09:34:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = becc84409fb8c882c3937b343ba8459a886daa78 [Pipeline] echo 09:34:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = becc844 [Pipeline] echo 09:34:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:34:05 provisioning config files... 09:34:05 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-416@tmp/config8554516924519759592tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:34:06 ---> docker-login.sh 09:34:06 nexus3.edgexfoundry.org:10001 09:34:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:34:06 Configure a credential helper to remove this warning. See 09:34:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:34:06 09:34:06 Login Succeeded 09:34:06 nexus3.edgexfoundry.org:10002 09:34:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:34:06 Configure a credential helper to remove this warning. See 09:34:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:34:06 09:34:06 Login Succeeded 09:34:06 nexus3.edgexfoundry.org:10003 09:34:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:34:06 Configure a credential helper to remove this warning. See 09:34:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:34:06 09:34:06 Login Succeeded 09:34:06 nexus3.edgexfoundry.org:10004 09:34:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:34:06 Configure a credential helper to remove this warning. See 09:34:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:34:06 09:34:06 Login Succeeded 09:34:06 docker.io 09:34:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:34:07 Configure a credential helper to remove this warning. See 09:34:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:34:07 09:34:07 Login Succeeded 09:34:07 ---> docker-login.sh ends [Pipeline] } 09:34:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:34:07 + git rev-list -1 --merges becc84409fb8c882c3937b343ba8459a886daa78~1..becc84409fb8c882c3937b343ba8459a886daa78 [Pipeline] echo 09:34:08 -----------> git rev-list -1 --merges becc84409fb8c882c3937b343ba8459a886daa78~1..becc84409fb8c882c3937b343ba8459a886daa78 becc84409fb8c882c3937b343ba8459a886daa78 [false] [Pipeline] sh 09:34:08 + git log --format=format:%s -1 becc84409fb8c882c3937b343ba8459a886daa78 [Pipeline] echo 09:34:08 ========================================================= 09:34:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:34:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:34:08 + git log --format=format:%s -1 becc84409fb8c882c3937b343ba8459a886daa78 [Pipeline] echo 09:34:08 [semverPrep] GIT_COMMIT: becc84409fb8c882c3937b343ba8459a886daa78, Commit Message: feat: cleanup [Pipeline] echo 09:34:08 [semverPrep] This is not a build commit. [Pipeline] sh 09:34:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:34:09 + grep -v github /etc/ssh/ssh_known_hosts 09:34:09 + [ -e /tmp/ssh_known_hosts ] 09:34:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:34:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:34:09 + sudo tee -a /etc/ssh/ssh_known_hosts 09:34:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 09:34:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 09:34:09 09:34:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:34:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 09:34:09 latest: Pulling from edgex-devops/py-git-semver 09:34:09 1fe172e4850f: Pulling fs layer 09:34:09 caf521ccaac6: Pulling fs layer 09:34:09 3ead6fa29328: Pulling fs layer 09:34:09 5c2a1cbceb83: Pulling fs layer 09:34:09 a8d5f1318db7: Pulling fs layer 09:34:09 c427282e49a2: Pulling fs layer 09:34:09 1827001aaf11: Pulling fs layer 09:34:09 0714d37db230: Pulling fs layer 09:34:09 ac28cf19c067: Pulling fs layer 09:34:09 ca983d60f3e2: Pulling fs layer 09:34:09 9f894cec8388: Pulling fs layer 09:34:09 1827001aaf11: Waiting 09:34:09 0714d37db230: Waiting 09:34:09 5c2a1cbceb83: Waiting 09:34:09 a8d5f1318db7: Waiting 09:34:09 ac28cf19c067: Waiting 09:34:09 c427282e49a2: Waiting 09:34:09 ca983d60f3e2: Waiting 09:34:09 caf521ccaac6: Verifying Checksum 09:34:09 caf521ccaac6: Download complete 09:34:09 5c2a1cbceb83: Verifying Checksum 09:34:09 5c2a1cbceb83: Download complete 09:34:09 a8d5f1318db7: Verifying Checksum 09:34:09 a8d5f1318db7: Download complete 09:34:10 c427282e49a2: Verifying Checksum 09:34:10 c427282e49a2: Download complete 09:34:10 3ead6fa29328: Verifying Checksum 09:34:10 3ead6fa29328: Download complete 09:34:10 0714d37db230: Verifying Checksum 09:34:10 0714d37db230: Download complete 09:34:10 ac28cf19c067: Download complete 09:34:10 ca983d60f3e2: Download complete 09:34:10 9f894cec8388: Download complete 09:34:10 1fe172e4850f: Verifying Checksum 09:34:10 1fe172e4850f: Download complete 09:34:10 1827001aaf11: Verifying Checksum 09:34:10 1827001aaf11: Download complete 09:34:11 1fe172e4850f: Pull complete 09:34:11 caf521ccaac6: Pull complete 09:34:12 3ead6fa29328: Pull complete 09:34:12 5c2a1cbceb83: Pull complete 09:34:12 a8d5f1318db7: Pull complete 09:34:12 c427282e49a2: Pull complete 09:34:15 1827001aaf11: Pull complete 09:34:15 0714d37db230: Pull complete 09:34:15 ac28cf19c067: Pull complete 09:34:15 ca983d60f3e2: Pull complete 09:34:15 9f894cec8388: Pull complete 09:34:15 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 09:34:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 09:34:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 09:34:15 prd-ubuntu20.04-docker-8c-8g-40430 does not seem to be running inside a container 09:34:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-416 -v /w/workspace/_app-service-configurable_PR-416:/w/workspace/_app-service-configurable_PR-416:rw,z -v /w/workspace/_app-service-configurable_PR-416@tmp:/w/workspace/_app-service-configurable_PR-416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 09:34:17 $ docker top b665e813091c22f7c9a1ceb0d225756289b0b18a107a28cb35c90770371a0e5b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:34:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:34:17 [ssh-agent] Looking for ssh-agent implementation... 09:34:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:34:17 $ docker exec b665e813091c22f7c9a1ceb0d225756289b0b18a107a28cb35c90770371a0e5b ssh-agent 09:34:18 SSH_AUTH_SOCK=/tmp/ssh-LEY3hVkHc5sg/agent.33 09:34:18 SSH_AGENT_PID=40 09:34:18 Running ssh-add (command line suppressed) 09:34:18 Identity added: /w/workspace/_app-service-configurable_PR-416@tmp/private_key_6031616485278410293.key (/w/workspace/_app-service-configurable_PR-416@tmp/private_key_6031616485278410293.key) 09:34:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:34:18 + git tag --points-at HEAD [Pipeline] } 09:34:18 $ docker exec --env ******** --env ******** b665e813091c22f7c9a1ceb0d225756289b0b18a107a28cb35c90770371a0e5b ssh-agent -k 09:34:18 unset SSH_AUTH_SOCK; 09:34:18 unset SSH_AGENT_PID; 09:34:18 echo Agent pid 40 killed; 09:34:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:34:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:34:18 [ssh-agent] Looking for ssh-agent implementation... 09:34:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:34:18 $ docker exec b665e813091c22f7c9a1ceb0d225756289b0b18a107a28cb35c90770371a0e5b ssh-agent 09:34:19 SSH_AUTH_SOCK=/tmp/ssh-C5rKW3W0oagU/agent.73 09:34:19 SSH_AGENT_PID=79 09:34:19 Running ssh-add (command line suppressed) 09:34:19 Identity added: /w/workspace/_app-service-configurable_PR-416@tmp/private_key_7085315540564885986.key (/w/workspace/_app-service-configurable_PR-416@tmp/private_key_7085315540564885986.key) 09:34:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:34:19 + git semver init 09:34:19 2022-05-04 09:34:19,697 [run_init] DEBUG init version:0.0.0 force:False 09:34:19 2022-05-04 09:34:19,698 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-416/.semver 09:34:19 2022-05-04 09:34:19,698 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-416/.semver 09:34:19 2022-05-04 09:34:19,698 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-416/.semver'], cwd=/w/workspace/_app-service-configurable_PR-416, universal_newlines=False, shell=None, istream=None) 09:34:20 2022-05-04 09:34:20,500 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-416/.git/info/exclude 09:34:20 2022-05-04 09:34:20,501 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-416/.semver/PR-416 with force:False 09:34:20 2022-05-04 09:34:20,501 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-416/.semver/PR-416 09:34:20 2022-05-04 09:34:20,505 [execute] INFO git cat-file --batch-check 09:34:20 2022-05-04 09:34:20,506 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-416/.semver, universal_newlines=False, shell=None, istream=) 09:34:20 2022-05-04 09:34:20,512 [execute] INFO git cat-file --batch 09:34:20 2022-05-04 09:34:20,513 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-416/.semver, universal_newlines=False, shell=None, istream=) 09:34:20 2022-05-04 09:34:20,519 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-416/.semver/PR-416 09:34:20 0.0.0 [Pipeline] } 09:34:20 $ docker exec --env ******** --env ******** b665e813091c22f7c9a1ceb0d225756289b0b18a107a28cb35c90770371a0e5b ssh-agent -k 09:34:20 unset SSH_AUTH_SOCK; 09:34:20 unset SSH_AGENT_PID; 09:34:20 echo Agent pid 79 killed; 09:34:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:34:21 + git semver [Pipeline] } 09:34:21 $ docker stop --time=1 b665e813091c22f7c9a1ceb0d225756289b0b18a107a28cb35c90770371a0e5b 09:34:23 $ docker rm -f b665e813091c22f7c9a1ceb0d225756289b0b18a107a28cb35c90770371a0e5b [Pipeline] // withDockerContainer [Pipeline] sh 09:34:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:34:23 Stashed 1 file(s) [Pipeline] echo 09:34:23 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:34:23 provisioning config files... 09:34:23 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-416@tmp/config7375088373071722104tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:34:24 ---> docker-login.sh 09:34:24 nexus3.edgexfoundry.org:10001 09:34:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:34:24 Configure a credential helper to remove this warning. See 09:34:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:34:24 09:34:24 Login Succeeded 09:34:24 nexus3.edgexfoundry.org:10002 09:34:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:34:24 Configure a credential helper to remove this warning. See 09:34:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:34:24 09:34:24 Login Succeeded 09:34:24 nexus3.edgexfoundry.org:10003 09:34:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:34:24 Configure a credential helper to remove this warning. See 09:34:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:34:24 09:34:24 Login Succeeded 09:34:24 nexus3.edgexfoundry.org:10004 09:34:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:34:24 Configure a credential helper to remove this warning. See 09:34:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:34:24 09:34:24 Login Succeeded 09:34:24 docker.io 09:34:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:34:25 Configure a credential helper to remove this warning. See 09:34:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:34:25 09:34:25 Login Succeeded 09:34:25 ---> docker-login.sh ends [Pipeline] } 09:34:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:34:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:34:25 ========================================================= 09:34:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 09:34:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:34:25 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 09:34:25 Sending build context to Docker daemon 3.048MB 09:34:25 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 09:34:25 Step 2/13 : FROM ${BASE} AS builder 09:34:25 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 09:34:25 59bf1c3509f3: Pulling fs layer 09:34:25 666ba61612fd: Pulling fs layer 09:34:25 8ed8ca486205: Pulling fs layer 09:34:25 4fe6c5a15a65: Pulling fs layer 09:34:25 22a0e8bec74d: Pulling fs layer 09:34:25 ca2b28591e48: Pulling fs layer 09:34:25 a51346096db8: Pulling fs layer 09:34:25 daebc70d1ce1: Pulling fs layer 09:34:25 0e18a0eac166: Pulling fs layer 09:34:25 a51346096db8: Waiting 09:34:25 4fe6c5a15a65: Waiting 09:34:25 22a0e8bec74d: Waiting 09:34:25 ca2b28591e48: Waiting 09:34:25 daebc70d1ce1: Waiting 09:34:25 0e18a0eac166: Waiting 09:34:25 8ed8ca486205: Verifying Checksum 09:34:25 8ed8ca486205: Download complete 09:34:25 666ba61612fd: Verifying Checksum 09:34:25 666ba61612fd: Download complete 09:34:25 22a0e8bec74d: Verifying Checksum 09:34:25 22a0e8bec74d: Download complete 09:34:25 ca2b28591e48: Verifying Checksum 09:34:25 ca2b28591e48: Download complete 09:34:25 59bf1c3509f3: Download complete 09:34:25 a51346096db8: Download complete 09:34:25 daebc70d1ce1: Verifying Checksum 09:34:25 daebc70d1ce1: Download complete 09:34:26 59bf1c3509f3: Pull complete 09:34:26 666ba61612fd: Pull complete 09:34:26 8ed8ca486205: Pull complete 09:34:26 0e18a0eac166: Verifying Checksum 09:34:26 0e18a0eac166: Download complete 09:34:26 4fe6c5a15a65: Verifying Checksum 09:34:26 4fe6c5a15a65: Download complete 09:34:30 4fe6c5a15a65: Pull complete 09:34:30 22a0e8bec74d: Pull complete 09:34:30 ca2b28591e48: Pull complete 09:34:31 a51346096db8: Pull complete 09:34:31 daebc70d1ce1: Pull complete 09:34:33 0e18a0eac166: Pull complete 09:34:33 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 09:34:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 09:34:34 ---> f018257e8ee9 09:34:34 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 09:34:36 ---> Running in fb62b625ecd0 09:34:36 Removing intermediate container fb62b625ecd0 09:34:36 ---> 90c30b2172c3 09:34:36 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 09:34:36 ---> Running in e201df0a2c2f 09:34:36 Removing intermediate container e201df0a2c2f 09:34:36 ---> 3f46a089d079 09:34:36 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 09:34:36 ---> Running in a83b6a35c9d1 09:34:36 Removing intermediate container a83b6a35c9d1 09:34:36 ---> 1f15e26b74ab 09:34:36 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:34:36 ---> Running in 1abda6be6044 09:34:37 Removing intermediate container 1abda6be6044 09:34:37 ---> c3a6d5c058b4 09:34:37 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:34:37 ---> Running in 86077f9e416a 09:34:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:34:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:34:38 Still waiting to schedule task 09:34:38 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:34:38 OK: 221 MiB in 52 packages 09:34:39 Removing intermediate container 86077f9e416a 09:34:39 ---> 00bf4c514312 09:34:39 Step 8/13 : WORKDIR /app 09:34:39 ---> Running in a71cd0d193ce 09:34:39 Removing intermediate container a71cd0d193ce 09:34:39 ---> 6d91f3b22b29 09:34:39 Step 9/13 : COPY go.mod vendor* ./ 09:34:39 ---> 6e0327aa3fb5 09:34:39 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:34:39 ---> Running in 0d4bccc538f3 09:35:01 Removing intermediate container 0d4bccc538f3 09:35:01 ---> ea1f8b0f3007 09:35:01 Step 11/13 : COPY . . 09:35:01 ---> 0b96277bf75a 09:35:01 Step 12/13 : ARG MAKE="make build" 09:35:01 ---> Running in 3bb5ce75bfbd 09:35:01 Removing intermediate container 3bb5ce75bfbd 09:35:01 ---> ab39ef2f1bec 09:35:01 Step 13/13 : RUN $MAKE 09:35:01 ---> Running in 35bd524c847b 09:35:01 noop 09:35:01 Removing intermediate container 35bd524c847b 09:35:01 ---> 305d0548c2c8 09:35:01 Successfully built 305d0548c2c8 09:35:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:35:01 + docker inspect -f . ci-base-image-x86_64 09:35:01 . [Pipeline] withDockerContainer 09:35:02 prd-ubuntu20.04-docker-8c-8g-40430 does not seem to be running inside a container 09:35:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-416 -v /w/workspace/_app-service-configurable_PR-416:/w/workspace/_app-service-configurable_PR-416:rw,z -v /w/workspace/_app-service-configurable_PR-416@tmp:/w/workspace/_app-service-configurable_PR-416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:35:02 $ docker top 4c6cb4d257635d7e09f59f77e7671d5423876ef533a43ee5c6b814e83d3d894b -eo pid,comm [Pipeline] { [Pipeline] sh 09:35:02 + go version 09:35:02 go version go1.17.6 linux/amd64 [Pipeline] } 09:35:02 $ docker stop --time=1 4c6cb4d257635d7e09f59f77e7671d5423876ef533a43ee5c6b814e83d3d894b 09:35:04 $ docker rm -f 4c6cb4d257635d7e09f59f77e7671d5423876ef533a43ee5c6b814e83d3d894b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:35:04 + docker inspect -f . ci-base-image-x86_64 09:35:04 . [Pipeline] withDockerContainer 09:35:04 prd-ubuntu20.04-docker-8c-8g-40430 does not seem to be running inside a container 09:35:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-416 -v /w/workspace/_app-service-configurable_PR-416:/w/workspace/_app-service-configurable_PR-416:rw,z -v /w/workspace/_app-service-configurable_PR-416@tmp:/w/workspace/_app-service-configurable_PR-416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:35:05 $ docker top 28cff2168a2de1e9238dff02f801abe03f1ab77ae5b995756091f2dd97f10127 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:35:05 + make test 09:35:05 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 09:35:17 ? github.com/edgexfoundry/app-service-configurable [no test files] 09:35:17 CGO_ENABLED=1 go vet ./... 09:35:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:35:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:35:21 ./bin/test-attribution-txt.sh [Pipeline] echo 09:35:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:35:21 $ docker stop --time=1 28cff2168a2de1e9238dff02f801abe03f1ab77ae5b995756091f2dd97f10127 09:35:23 $ docker rm -f 28cff2168a2de1e9238dff02f801abe03f1ab77ae5b995756091f2dd97f10127 [Pipeline] // withDockerContainer [Pipeline] sh 09:35:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:35:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:35:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:35:25 + ls -al . 09:35:25 total 164 09:35:25 drwxrwxr-x 8 jenkins jenkins 4096 May 4 09:35 . 09:35:25 drwxrwxr-x 4 jenkins jenkins 4096 May 4 09:33 .. 09:35:25 -rw-rw-r-- 1 jenkins jenkins 119 May 4 09:33 .dockerignore 09:35:25 drwxrwxr-x 8 jenkins jenkins 4096 May 4 09:34 .git 09:35:25 drwxrwxr-x 3 jenkins jenkins 4096 May 4 09:33 .github 09:35:25 -rw-rw-r-- 1 jenkins jenkins 104 May 4 09:33 .gitignore 09:35:25 drwxr-xr-x 3 jenkins jenkins 4096 May 4 09:34 .semver 09:35:25 -rw-rw-r-- 1 jenkins jenkins 8695 May 4 09:33 Attribution.txt 09:35:25 -rw-rw-r-- 1 jenkins jenkins 23791 May 4 09:33 CHANGELOG.md 09:35:25 -rw-rw-r-- 1 jenkins jenkins 2087 May 4 09:33 Dockerfile 09:35:25 -rw-rw-r-- 1 jenkins jenkins 677 May 4 09:33 GOVERNANCE.md 09:35:25 -rw-rw-r-- 1 jenkins jenkins 688 May 4 09:33 Jenkinsfile 09:35:25 -rw-rw-r-- 1 jenkins jenkins 10174 May 4 09:33 LICENSE 09:35:25 -rw-rw-r-- 1 jenkins jenkins 618 May 4 09:33 OWNERS.md 09:35:25 -rw-rw-r-- 1 jenkins jenkins 3718 May 4 09:33 README.md 09:35:25 -rw-rw-r-- 1 jenkins jenkins 5 May 4 09:34 VERSION 09:35:25 drwxrwxr-x 2 jenkins jenkins 4096 May 4 09:33 bin 09:35:25 -rw-r--r-- 1 jenkins jenkins 10 May 4 09:35 coverage.out 09:35:25 -rw-rw-r-- 1 jenkins jenkins 3268 May 4 09:33 go.mod 09:35:25 -rw-rw-r-- 1 jenkins jenkins 34650 May 4 09:33 go.sum 09:35:25 -rw-rw-r-- 1 jenkins jenkins 1949 May 4 09:33 main.go 09:35:25 -rw-rw-r-- 1 jenkins jenkins 2007 May 4 09:33 makefile 09:35:25 drwxrwxr-x 10 jenkins jenkins 4096 May 4 09:33 res 09:35:25 drwxrwxr-x 3 jenkins jenkins 4096 May 4 09:33 snap [Pipeline] isUnix [Pipeline] sh 09:35:25 + 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=becc84409fb8c882c3937b343ba8459a886daa78 --label arch=amd64 --label version=0.0.0 . 09:35:25 Sending build context to Docker daemon 3.049MB 09:35:25 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 09:35:25 Step 2/27 : FROM ${BASE} AS builder 09:35:25 ---> 305d0548c2c8 09:35:25 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 09:35:25 ---> Running in 2e025af096dd 09:35:25 Removing intermediate container 2e025af096dd 09:35:25 ---> 9df25f00097d 09:35:25 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 09:35:25 ---> Running in 84b6f1ed6463 09:35:25 Removing intermediate container 84b6f1ed6463 09:35:25 ---> 296af49f3a8b 09:35:25 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 09:35:26 ---> Running in 9a12215fc2ce 09:35:26 Removing intermediate container 9a12215fc2ce 09:35:26 ---> 4054cff56351 09:35:26 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:35:26 ---> Running in d598d571ab0d 09:35:26 Removing intermediate container d598d571ab0d 09:35:26 ---> 35c1104d6b61 09:35:26 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:35:26 ---> Running in 25afc7b67d50 09:35:27 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:35:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:35:28 OK: 221 MiB in 52 packages 09:35:28 Removing intermediate container 25afc7b67d50 09:35:28 ---> 740d5ceae932 09:35:28 Step 8/27 : WORKDIR /app 09:35:28 ---> Running in eab6fe8ee8ed 09:35:28 Removing intermediate container eab6fe8ee8ed 09:35:28 ---> 569b6b37b797 09:35:28 Step 9/27 : COPY go.mod vendor* ./ 09:35:29 ---> 3d93f80bfa36 09:35:29 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:35:29 ---> Running in 1156cf12a67c 09:35:29 Removing intermediate container 1156cf12a67c 09:35:29 ---> 83a23eec290b 09:35:29 Step 11/27 : COPY . . 09:35:29 ---> f601f2e4f15f 09:35:29 Step 12/27 : ARG MAKE="make build" 09:35:29 ---> Running in 99657c790c5e 09:35:30 Removing intermediate container 99657c790c5e 09:35:30 ---> d48086877f17 09:35:30 Step 13/27 : RUN $MAKE 09:35:30 ---> Running in e342cdd1e615 09:35:30 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 09:35:52 Removing intermediate container e342cdd1e615 09:35:52 ---> 0a1d61a85473 09:35:52 Step 14/27 : FROM alpine:3.14 09:35:52 3.14: Pulling from library/alpine 09:35:52 8663204ce13b: Pulling fs layer 09:35:52 8663204ce13b: Verifying Checksum 09:35:52 8663204ce13b: Download complete 09:35:52 8663204ce13b: Pull complete 09:35:52 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 09:35:52 Status: Downloaded newer image for alpine:3.14 09:35:52 ---> e04c818066af 09:35:52 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 09:35:52 ---> Running in e5e26989b4ca 09:35:52 Removing intermediate container e5e26989b4ca 09:35:52 ---> bfdb6187ba06 09:35:52 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 09:35:52 ---> Running in 5e89e816a77d 09:35:52 Removing intermediate container 5e89e816a77d 09:35:52 ---> cbbb1230e347 09:35:52 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 09:35:52 ---> Running in 65cb472aa9eb 09:35:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 09:35:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 09:35:53 (1/7) Installing ca-certificates (20211220-r0) 09:35:53 (2/7) Installing dumb-init (1.2.5-r1) 09:35:53 (3/7) Installing libgcc (10.3.1_git20210424-r2) 09:35:53 (4/7) Installing libsodium (1.0.18-r0) 09:35:53 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 09:35:53 (6/7) Installing libzmq (4.3.4-r0) 09:35:53 (7/7) Installing zeromq (4.3.4-r0) 09:35:53 Executing busybox-1.33.1-r7.trigger 09:35:53 Executing ca-certificates-20211220-r0.trigger 09:35:53 OK: 9 MiB in 21 packages 09:35:53 Removing intermediate container 65cb472aa9eb 09:35:53 ---> b6dc068e16a4 09:35:53 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 09:35:54 ---> 140830271e7b 09:35:54 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 09:35:54 ---> 26961b5a366c 09:35:54 Step 20/27 : COPY --from=builder /app/res/ /res/ 09:35:54 ---> 0d153df39185 09:35:54 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 09:35:54 ---> 00dedbb2eec1 09:35:54 Step 22/27 : EXPOSE 48095 09:35:55 ---> Running in 9381b453a24a 09:35:55 Removing intermediate container 9381b453a24a 09:35:55 ---> e15cbda707dc 09:35:55 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 09:35:55 ---> Running in d827fa24831a 09:35:55 Removing intermediate container d827fa24831a 09:35:55 ---> 58ab0217e9fa 09:35:55 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:35:55 ---> Running in cd34da4aea66 09:35:55 Removing intermediate container cd34da4aea66 09:35:55 ---> c6854ffe9eba 09:35:55 Step 25/27 : LABEL arch=amd64 09:35:55 ---> Running in cccc6dff6777 09:35:55 Removing intermediate container cccc6dff6777 09:35:55 ---> 57d2aaccc6c4 09:35:55 Step 26/27 : LABEL git_sha=becc84409fb8c882c3937b343ba8459a886daa78 09:35:55 ---> Running in bc20bdd8f121 09:35:55 Removing intermediate container bc20bdd8f121 09:35:55 ---> 314944f1c630 09:35:55 Step 27/27 : LABEL version=0.0.0 09:35:55 ---> Running in be59cc576ce6 09:35:55 Removing intermediate container be59cc576ce6 09:35:55 ---> 2474300f5de2 09:35:55 [Warning] One or more build-args [ARCH] were not consumed 09:35:55 Successfully built 2474300f5de2 09:35:55 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:35:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:35:56 09:35:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 09:35:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:35:56 latest: Pulling from edgex-lftools-log-publisher 09:35:56 5eb5b503b376: Pulling fs layer 09:35:56 5c69ac0246d0: Pulling fs layer 09:35:56 ec43610c2a17: Pulling fs layer 09:35:56 3a2ae6a8a46f: Pulling fs layer 09:35:56 33b1e0a273af: Pulling fs layer 09:35:56 5d3b04190fa2: Pulling fs layer 09:35:56 2f39f015ded8: Pulling fs layer 09:35:56 5d3b04190fa2: Waiting 09:35:56 33b1e0a273af: Waiting 09:35:56 5c69ac0246d0: Verifying Checksum 09:35:56 5c69ac0246d0: Download complete 09:35:56 3a2ae6a8a46f: Verifying Checksum 09:35:56 3a2ae6a8a46f: Download complete 09:35:56 ec43610c2a17: Verifying Checksum 09:35:56 ec43610c2a17: Download complete 09:35:56 33b1e0a273af: Verifying Checksum 09:35:56 33b1e0a273af: Download complete 09:35:56 5d3b04190fa2: Download complete 09:35:56 5eb5b503b376: Verifying Checksum 09:35:56 5eb5b503b376: Download complete 09:35:57 2f39f015ded8: Download complete 09:35:58 5eb5b503b376: Pull complete 09:35:58 5c69ac0246d0: Pull complete 09:35:58 ec43610c2a17: Pull complete 09:35:58 3a2ae6a8a46f: Pull complete 09:35:59 33b1e0a273af: Pull complete 09:35:59 5d3b04190fa2: Pull complete 09:36:03 2f39f015ded8: Pull complete 09:36:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:36:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:36:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 09:36:03 prd-ubuntu20.04-docker-8c-8g-40430 does not seem to be running inside a container 09:36:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-416 -v /w/workspace/_app-service-configurable_PR-416:/w/workspace/_app-service-configurable_PR-416:rw,z -v /w/workspace/_app-service-configurable_PR-416@tmp:/w/workspace/_app-service-configurable_PR-416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:36:05 $ docker top cf42b943e346ea106181e433eda04b2e89b5faca813c4c2a470d24903fdfc89e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:36:05 ---> job-cost.sh 09:36:05 lf-activate-venv: SKIPPING 09:36:05 INFO: No Stack... 09:36:06 INFO: Retrieving Pricing Info for: v3-standard-8 09:36:06 INFO: Archiving Costs [Pipeline] sh 09:36:07 + cat /w/workspace/_app-service-configurable_PR-416/archives/cost.csv 09:36:07 + cut -d, -f6 [Pipeline] lock 09:36:07 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-416-3-stack-cost] 09:36:07 Resource [jenkins-edgexfoundry-app-service-configurable-PR-416-3-stack-cost] did not exist. Created. 09:36:07 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-416-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:36:07 + echo total: 0.2199999988079071 [Pipeline] stash 09:36:07 Stashed 1 file(s) [Pipeline] } 09:36:07 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-416-3-stack-cost] [Pipeline] // lock [Pipeline] } 09:36:07 $ docker stop --time=1 cf42b943e346ea106181e433eda04b2e89b5faca813c4c2a470d24903fdfc89e 09:36:08 $ docker rm -f cf42b943e346ea106181e433eda04b2e89b5faca813c4c2a470d24903fdfc89e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:36:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-40431 in /w/workspace/_app-service-configurable_PR-416 [Pipeline] { [Pipeline] ws 09:36:17 Running in /w/workspace/app-service-configurable/3 [Pipeline] { [Pipeline] checkout 09:36:18 Selected Git installation does not exist. Using Default 09:36:18 The recommended git tool is: NONE 09:36:24 using credential edgex-jenkins-ssh 09:36:24 Cloning the remote Git repository 09:36:24 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 09:36:24 > git init /w/workspace/app-service-configurable/3 # timeout=10 09:36:24 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 09:36:24 > git --version # timeout=10 09:36:24 > git --version # 'git version 2.25.1' 09:36:24 using GIT_SSH to set credentials SSH Credentials for GitHub 09:36:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:36:26 Merging remotes/origin/main commit a669bdb4f1e2d7cd4e5cba464327739a597f1457 into PR head commit becc84409fb8c882c3937b343ba8459a886daa78 09:36:26 Merge succeeded, producing becc84409fb8c882c3937b343ba8459a886daa78 09:36:26 Checking out Revision becc84409fb8c882c3937b343ba8459a886daa78 (PR-416) 09:36:25 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 09:36:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:36:25 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 09:36:25 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 09:36:25 using GIT_SSH to set credentials SSH Credentials for GitHub 09:36:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/416/head:refs/remotes/origin/PR-416 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:36:26 > git config core.sparsecheckout # timeout=10 09:36:26 > git checkout -f becc84409fb8c882c3937b343ba8459a886daa78 # timeout=10 09:36:26 > git remote # timeout=10 09:36:26 > git config --get remote.origin.url # timeout=10 09:36:26 using GIT_SSH to set credentials SSH Credentials for GitHub 09:36:26 > git merge a669bdb4f1e2d7cd4e5cba464327739a597f1457 # timeout=10 09:36:26 > git rev-parse HEAD^{commit} # timeout=10 09:36:26 > git config core.sparsecheckout # timeout=10 09:36:26 > git checkout -f becc84409fb8c882c3937b343ba8459a886daa78 # timeout=10 09:36:30 Commit message: "feat: cleanup" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:36:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:36:31 % Total % Received % Xferd Average Speed Time Time Time Current 09:36:31 Dload Upload Total Spent Left Speed 09:36:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 89045 0 --:--:-- --:--:-- --:--:-- 89719 [Pipeline] sh 09:36:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:36:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:36:32 + sudo tee /etc/docker/daemon.new 09:36:32 { 09:36:32 "registry-mirrors": [ 09:36:32 "https://nexus3.edgexfoundry.org:10001" 09:36:32 ], 09:36:32 "bip": "10.250.0.254/24", 09:36:32 "hosts": [ 09:36:32 "tcp://0.0.0.0:5555", 09:36:32 "unix:///var/run/docker.sock" 09:36:32 ], 09:36:32 "mtu": 1458, 09:36:32 "selinux-enabled": true, 09:36:32 "seccomp-profile": "/etc/docker/seccomp.json" 09:36:32 } [Pipeline] sh 09:36:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:36:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:36:51 provisioning config files... 09:36:51 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/3@tmp/config7023260641957439245tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:36:52 ---> docker-login.sh 09:36:52 nexus3.edgexfoundry.org:10001 09:36:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:36:53 Configure a credential helper to remove this warning. See 09:36:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:36:53 09:36:53 Login Succeeded 09:36:53 nexus3.edgexfoundry.org:10002 09:36:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:36:53 Configure a credential helper to remove this warning. See 09:36:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:36:53 09:36:53 Login Succeeded 09:36:53 nexus3.edgexfoundry.org:10003 09:36:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:36:53 Configure a credential helper to remove this warning. See 09:36:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:36:53 09:36:53 Login Succeeded 09:36:53 nexus3.edgexfoundry.org:10004 09:36:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:36:54 Configure a credential helper to remove this warning. See 09:36:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:36:54 09:36:54 Login Succeeded 09:36:54 docker.io 09:36:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:36:55 Configure a credential helper to remove this warning. See 09:36:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:36:55 09:36:55 Login Succeeded 09:36:55 ---> docker-login.sh ends [Pipeline] } 09:36:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:36:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:36:55 ========================================================= 09:36:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 09:36:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:36:56 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 09:36:56 Sending build context to Docker daemon 199.7kB 09:36:56 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 09:36:56 Step 2/13 : FROM ${BASE} AS builder 09:36:56 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:36:56 9b3977197b4f: Pulling fs layer 09:36:56 1a89e8eeedd5: Pulling fs layer 09:36:56 94645a83ff95: Pulling fs layer 09:36:56 3f3a8bcf1eab: Pulling fs layer 09:36:56 0c92f367c5e7: Pulling fs layer 09:36:56 3096ccb668a1: Pulling fs layer 09:36:56 e8cf19c19ddd: Pulling fs layer 09:36:56 a4caa8a26152: Pulling fs layer 09:36:56 3f3a8bcf1eab: Waiting 09:36:56 0c92f367c5e7: Waiting 09:36:56 3096ccb668a1: Waiting 09:36:56 e8cf19c19ddd: Waiting 09:36:56 a4caa8a26152: Waiting 09:36:56 94645a83ff95: Verifying Checksum 09:36:56 94645a83ff95: Download complete 09:36:56 1a89e8eeedd5: Verifying Checksum 09:36:56 1a89e8eeedd5: Download complete 09:36:56 0c92f367c5e7: Verifying Checksum 09:36:56 0c92f367c5e7: Download complete 09:36:56 3096ccb668a1: Verifying Checksum 09:36:56 3096ccb668a1: Download complete 09:36:56 9b3977197b4f: Verifying Checksum 09:36:56 9b3977197b4f: Download complete 09:36:56 e8cf19c19ddd: Verifying Checksum 09:36:56 e8cf19c19ddd: Download complete 09:36:57 9b3977197b4f: Pull complete 09:36:58 1a89e8eeedd5: Pull complete 09:36:58 94645a83ff95: Pull complete 09:36:58 a4caa8a26152: Verifying Checksum 09:36:58 a4caa8a26152: Download complete 09:36:59 3f3a8bcf1eab: Verifying Checksum 09:36:59 3f3a8bcf1eab: Download complete 09:37:11 3f3a8bcf1eab: Pull complete 09:37:11 0c92f367c5e7: Pull complete 09:37:11 3096ccb668a1: Pull complete 09:37:12 e8cf19c19ddd: Pull complete 09:37:18 a4caa8a26152: Pull complete 09:37:18 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 09:37:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 09:37:18 ---> 725f1c02e7f9 09:37:18 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 09:37:19 ---> Running in 9f4899a3f22e 09:37:19 Removing intermediate container 9f4899a3f22e 09:37:19 ---> 19836b03e858 09:37:19 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 09:37:20 ---> Running in 986eac03510c 09:37:20 Removing intermediate container 986eac03510c 09:37:20 ---> c1326013d807 09:37:20 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 09:37:20 ---> Running in bbd04478468c 09:37:20 Removing intermediate container bbd04478468c 09:37:20 ---> 53936c3a5820 09:37:20 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:37:20 ---> Running in 61b5aa6b6ef0 09:37:22 Removing intermediate container 61b5aa6b6ef0 09:37:22 ---> 3307686a530c 09:37:22 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:37:22 ---> Running in 4457129d740f 09:37:23 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:37:24 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:37:25 OK: 220 MiB in 52 packages 09:37:26 Removing intermediate container 4457129d740f 09:37:26 ---> 10f957df1ba4 09:37:26 Step 8/13 : WORKDIR /app 09:37:26 ---> Running in bc575127344e 09:37:26 Removing intermediate container bc575127344e 09:37:26 ---> 26fdd7e3421b 09:37:26 Step 9/13 : COPY go.mod vendor* ./ 09:37:27 ---> b1e865c5ab2c 09:37:27 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:37:27 ---> Running in 7a5a2abee04a 09:38:14 Removing intermediate container 7a5a2abee04a 09:38:14 ---> 85d45177c556 09:38:14 Step 11/13 : COPY . . 09:38:14 ---> d33577ba573c 09:38:14 Step 12/13 : ARG MAKE="make build" 09:38:14 ---> Running in c4f405b4d109 09:38:14 Removing intermediate container c4f405b4d109 09:38:14 ---> 3abfce0a0fbc 09:38:14 Step 13/13 : RUN $MAKE 09:38:14 ---> Running in 358333342af2 09:38:14 noop 09:38:14 Removing intermediate container 358333342af2 09:38:14 ---> 087cfbdddc0f 09:38:14 Successfully built 087cfbdddc0f 09:38:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:38:14 + docker inspect -f . ci-base-image-arm64 09:38:14 . [Pipeline] withDockerContainer 09:38:14 prd-ubuntu20.04-docker-arm64-4c-16g-40431 does not seem to be running inside a container 09:38:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:38:16 $ docker top ed7cd1db8024cdee3e9119527d0af8859ef6eb6e390aa46e2fb4926199faf1b8 -eo pid,comm [Pipeline] { [Pipeline] sh 09:38:16 + go version 09:38:16 go version go1.17.6 linux/arm64 [Pipeline] } 09:38:16 $ docker stop --time=1 ed7cd1db8024cdee3e9119527d0af8859ef6eb6e390aa46e2fb4926199faf1b8 09:38:18 $ docker rm -f ed7cd1db8024cdee3e9119527d0af8859ef6eb6e390aa46e2fb4926199faf1b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:38:19 + docker inspect -f . ci-base-image-arm64 09:38:19 . [Pipeline] withDockerContainer 09:38:19 prd-ubuntu20.04-docker-arm64-4c-16g-40431 does not seem to be running inside a container 09:38:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:38:20 $ docker top c77cc26c47938fd7a0eddd622875428597bf12f08356e9930730dac1c2d04b36 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:38:21 + make test 09:38:21 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 09:39:43 ? github.com/edgexfoundry/app-service-configurable [no test files] 09:39:43 CGO_ENABLED=1 go vet ./... 09:40:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:40:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:40:01 ./bin/test-attribution-txt.sh [Pipeline] echo 09:40:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:40:05 $ docker stop --time=1 c77cc26c47938fd7a0eddd622875428597bf12f08356e9930730dac1c2d04b36 09:40:07 $ docker rm -f c77cc26c47938fd7a0eddd622875428597bf12f08356e9930730dac1c2d04b36 [Pipeline] // withDockerContainer [Pipeline] sh 09:40:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:40:08 Warning: overwriting stash ‘coverage-report’ 09:40:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:40:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:40:09 + ls -al . 09:40:09 total 160 09:40:09 drwxrwxr-x 7 jenkins jenkins 4096 May 4 09:40 . 09:40:09 drwxrwxr-x 4 jenkins jenkins 4096 May 4 09:36 .. 09:40:09 -rw-rw-r-- 1 jenkins jenkins 119 May 4 09:36 .dockerignore 09:40:09 drwxrwxr-x 8 jenkins jenkins 4096 May 4 09:36 .git 09:40:09 drwxrwxr-x 3 jenkins jenkins 4096 May 4 09:36 .github 09:40:09 -rw-rw-r-- 1 jenkins jenkins 104 May 4 09:36 .gitignore 09:40:09 -rw-rw-r-- 1 jenkins jenkins 8695 May 4 09:36 Attribution.txt 09:40:09 -rw-rw-r-- 1 jenkins jenkins 23791 May 4 09:36 CHANGELOG.md 09:40:09 -rw-rw-r-- 1 jenkins jenkins 2087 May 4 09:36 Dockerfile 09:40:09 -rw-rw-r-- 1 jenkins jenkins 677 May 4 09:36 GOVERNANCE.md 09:40:09 -rw-rw-r-- 1 jenkins jenkins 688 May 4 09:36 Jenkinsfile 09:40:09 -rw-rw-r-- 1 jenkins jenkins 10174 May 4 09:36 LICENSE 09:40:09 -rw-rw-r-- 1 jenkins jenkins 618 May 4 09:36 OWNERS.md 09:40:09 -rw-rw-r-- 1 jenkins jenkins 3718 May 4 09:36 README.md 09:40:09 -rw-rw-r-- 1 jenkins jenkins 5 May 4 09:34 VERSION 09:40:09 drwxrwxr-x 2 jenkins jenkins 4096 May 4 09:36 bin 09:40:09 -rw-r--r-- 1 jenkins jenkins 10 May 4 09:38 coverage.out 09:40:09 -rw-rw-r-- 1 jenkins jenkins 3268 May 4 09:36 go.mod 09:40:09 -rw-rw-r-- 1 jenkins jenkins 34650 May 4 09:36 go.sum 09:40:09 -rw-rw-r-- 1 jenkins jenkins 1949 May 4 09:36 main.go 09:40:09 -rw-rw-r-- 1 jenkins jenkins 2007 May 4 09:36 makefile 09:40:09 drwxrwxr-x 10 jenkins jenkins 4096 May 4 09:36 res 09:40:09 drwxrwxr-x 3 jenkins jenkins 4096 May 4 09:36 snap [Pipeline] isUnix [Pipeline] sh 09:40:09 + 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=becc84409fb8c882c3937b343ba8459a886daa78 --label arch=arm64 --label version=0.0.0 . 09:40:09 Sending build context to Docker daemon 200.7kB 09:40:09 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 09:40:09 Step 2/27 : FROM ${BASE} AS builder 09:40:09 ---> 087cfbdddc0f 09:40:09 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 09:40:09 ---> Running in 4bb3deb5a225 09:40:10 Removing intermediate container 4bb3deb5a225 09:40:10 ---> 17f1a20e39da 09:40:10 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 09:40:10 ---> Running in c75caf8677da 09:40:10 Removing intermediate container c75caf8677da 09:40:10 ---> e36513043002 09:40:10 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 09:40:10 ---> Running in f98629bd4f7d 09:40:10 Removing intermediate container f98629bd4f7d 09:40:10 ---> 49adb134e021 09:40:10 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:40:10 ---> Running in 22daa24606b9 09:40:12 Removing intermediate container 22daa24606b9 09:40:12 ---> ab6a0c1c9c37 09:40:12 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:40:12 ---> Running in 23df9798d393 09:40:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:40:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:40:15 OK: 220 MiB in 52 packages 09:40:16 Removing intermediate container 23df9798d393 09:40:16 ---> 5c087a727139 09:40:16 Step 8/27 : WORKDIR /app 09:40:16 ---> Running in 78d470d0db29 09:40:16 Removing intermediate container 78d470d0db29 09:40:16 ---> b557e1251a6b 09:40:16 Step 9/27 : COPY go.mod vendor* ./ 09:40:17 ---> bd1afcfe6dec 09:40:17 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:40:17 ---> Running in 6968603cffc1 09:40:19 Removing intermediate container 6968603cffc1 09:40:19 ---> 66434f424591 09:40:19 Step 11/27 : COPY . . 09:40:19 ---> 2efa65102430 09:40:19 Step 12/27 : ARG MAKE="make build" 09:40:19 ---> Running in 90b69e2586ff 09:40:20 Removing intermediate container 90b69e2586ff 09:40:20 ---> 0d38c978929a 09:40:20 Step 13/27 : RUN $MAKE 09:40:20 ---> Running in 1c976071012f 09:40:21 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 09:42:28 Removing intermediate container 1c976071012f 09:42:28 ---> 74ccf790b7f6 09:42:28 Step 14/27 : FROM alpine:3.14 09:42:28 3.14: Pulling from library/alpine 09:42:28 455c02918c45: Pulling fs layer 09:42:28 455c02918c45: Verifying Checksum 09:42:28 455c02918c45: Download complete 09:42:28 455c02918c45: Pull complete 09:42:28 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 09:42:28 Status: Downloaded newer image for alpine:3.14 09:42:28 ---> ac73e934f311 09:42:28 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 09:42:28 ---> Running in a426eced3ada 09:42:28 Removing intermediate container a426eced3ada 09:42:28 ---> 2ede9a0d64fe 09:42:28 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 09:42:28 ---> Running in 77fcd5984573 09:42:28 Removing intermediate container 77fcd5984573 09:42:28 ---> fc49d197ef9c 09:42:28 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 09:42:28 ---> Running in 140591c8bc64 09:42:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 09:42:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 09:42:28 (1/7) Installing ca-certificates (20211220-r0) 09:42:28 (2/7) Installing dumb-init (1.2.5-r1) 09:42:28 (3/7) Installing libgcc (10.3.1_git20210424-r2) 09:42:28 (4/7) Installing libsodium (1.0.18-r0) 09:42:28 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 09:42:28 (6/7) Installing libzmq (4.3.4-r0) 09:42:28 (7/7) Installing zeromq (4.3.4-r0) 09:42:28 Executing busybox-1.33.1-r7.trigger 09:42:28 Executing ca-certificates-20211220-r0.trigger 09:42:28 OK: 9 MiB in 21 packages 09:42:28 Removing intermediate container 140591c8bc64 09:42:28 ---> 67c662f7ff62 09:42:28 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 09:42:28 ---> e46c9fc4cbf2 09:42:28 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 09:42:28 ---> 040532069022 09:42:28 Step 20/27 : COPY --from=builder /app/res/ /res/ 09:42:28 ---> c91798afc189 09:42:28 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 09:42:28 ---> 2d8f54e4b3f5 09:42:28 Step 22/27 : EXPOSE 48095 09:42:28 ---> Running in 118f2a1e694f 09:42:28 Removing intermediate container 118f2a1e694f 09:42:28 ---> ce84f2029da3 09:42:28 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 09:42:28 ---> Running in 552d515187bc 09:42:28 Removing intermediate container 552d515187bc 09:42:28 ---> 6cbffcd25d8f 09:42:28 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:42:28 ---> Running in 44ef527eb95d 09:42:28 Removing intermediate container 44ef527eb95d 09:42:28 ---> 04f9162aedcc 09:42:28 Step 25/27 : LABEL arch=arm64 09:42:28 ---> Running in 31193346ab4f 09:42:28 Removing intermediate container 31193346ab4f 09:42:28 ---> cbcae29d8c71 09:42:28 Step 26/27 : LABEL git_sha=becc84409fb8c882c3937b343ba8459a886daa78 09:42:28 ---> Running in 66d17debbe99 09:42:28 Removing intermediate container 66d17debbe99 09:42:28 ---> 6a7436f2f479 09:42:28 Step 27/27 : LABEL version=0.0.0 09:42:28 ---> Running in 37a24ffebc1e 09:42:28 Removing intermediate container 37a24ffebc1e 09:42:28 ---> 7d3a9a8ce382 09:42:28 [Warning] One or more build-args [ARCH] were not consumed 09:42:28 Successfully built 7d3a9a8ce382 09:42:28 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 09:42:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:42:28 09:42:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 09:42:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:42:29 arm64: Pulling from edgex-lftools-log-publisher 09:42:29 8998bd30e6a1: Pulling fs layer 09:42:29 04944245beec: Pulling fs layer 09:42:29 699f458cf7ca: Pulling fs layer 09:42:29 765212b225bb: Pulling fs layer 09:42:29 f23df028b6ca: Pulling fs layer 09:42:29 d65c8cfc05b1: Pulling fs layer 09:42:29 2437ff75d9bd: Pulling fs layer 09:42:29 765212b225bb: Waiting 09:42:29 d65c8cfc05b1: Waiting 09:42:29 f23df028b6ca: Waiting 09:42:29 2437ff75d9bd: Waiting 09:42:29 04944245beec: Verifying Checksum 09:42:29 04944245beec: Download complete 09:42:29 765212b225bb: Verifying Checksum 09:42:29 765212b225bb: Download complete 09:42:29 f23df028b6ca: Verifying Checksum 09:42:29 f23df028b6ca: Download complete 09:42:29 d65c8cfc05b1: Verifying Checksum 09:42:29 d65c8cfc05b1: Download complete 09:42:29 699f458cf7ca: Verifying Checksum 09:42:29 699f458cf7ca: Download complete 09:42:29 8998bd30e6a1: Verifying Checksum 09:42:29 8998bd30e6a1: Download complete 09:42:32 2437ff75d9bd: Verifying Checksum 09:42:32 2437ff75d9bd: Download complete 09:42:34 8998bd30e6a1: Pull complete 09:42:34 04944245beec: Pull complete 09:42:36 699f458cf7ca: Pull complete 09:42:36 765212b225bb: Pull complete 09:42:37 f23df028b6ca: Pull complete 09:42:37 d65c8cfc05b1: Pull complete 09:42:52 2437ff75d9bd: Pull complete 09:42:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:42:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:42:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 09:42:52 prd-ubuntu20.04-docker-arm64-4c-16g-40431 does not seem to be running inside a container 09:42:52 $ 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/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:42:55 $ docker top 6484e1960eb6d2abf9978cdf7aac7be5fe5a2e9643ea25f4b31a73faf8c51bcd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:42:56 ---> job-cost.sh 09:42:56 lf-activate-venv: SKIPPING 09:42:56 INFO: No Stack... 09:42:56 INFO: Retrieving Pricing Info for: v3-standard-4 09:42:57 INFO: Archiving Costs [Pipeline] sh 09:42:58 + cat /w/workspace/app-service-configurable/3/archives/cost.csv 09:42:58 + cut -d, -f6 [Pipeline] lock 09:42:58 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-416-3-stack-cost] 09:42:58 Resource [jenkins-edgexfoundry-app-service-configurable-PR-416-3-stack-cost] did not exist. Created. 09:42:58 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-416-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:42:59 /w/workspace/app-service-configurable/3@tmp/durable-72d8032d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:42:59 + echo total: 0.10999999940395355 [Pipeline] stash 09:42:59 Warning: overwriting stash ‘stack-cost’ 09:42:59 Stashed 1 file(s) [Pipeline] } 09:42:59 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-416-3-stack-cost] [Pipeline] // lock [Pipeline] } 09:42:59 $ docker stop --time=1 6484e1960eb6d2abf9978cdf7aac7be5fe5a2e9643ea25f4b31a73faf8c51bcd 09:43:01 $ docker rm -f 6484e1960eb6d2abf9978cdf7aac7be5fe5a2e9643ea25f4b31a73faf8c51bcd [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 09:43:01 provisioning config files... 09:43:01 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-416@tmp/config7950997313953657149tmp [Pipeline] { [Pipeline] sh 09:43:02 + set +x 09:43:02 + curl -s https://codecov.io/bash 09:43:02 + bash -s -- 09:43:02 09:43:02 _____ _ 09:43:02 / ____| | | 09:43:02 | | ___ __| | ___ ___ _____ __ 09:43:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:43:02 | |___| (_) | (_| | __/ (_| (_) \ V / 09:43:02 \_____\___/ \__,_|\___|\___\___/ \_/ 09:43:02 Bash-1.0.6 09:43:02 09:43:02 09:43:02 ==> git version 2.25.1 found 09:43:02 ==> 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 09:43:02 Release-Date: 2020-01-08 09:43:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:43:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:43:02 ==> Jenkins CI detected. 09:43:02 current dir:  /w/workspace/_app-service-configurable_PR-416 09:43:02 project root: . 09:43:02 --> token set from env 09:43:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:43:02 ==> Running gcov in . (disable via -X gcov) 09:43:02 ==> Python coveragepy not found 09:43:02 ==> Searching for coverage reports in: 09:43:02 + . 09:43:02 -> Found 1 reports 09:43:02 ==> Detecting git/mercurial file structure 09:43:02 ==> Reading reports 09:43:02 + ./coverage.out bytes=10 09:43:02 ==> Appending adjustments 09:43:02 https://docs.codecov.io/docs/fixing-reports 09:43:02 + Found adjustments 09:43:02 ==> Gzipping contents 09:43:02 4.0K /tmp/codecov.MMSc8p.gz 09:43:02 ==> Uploading reports 09:43:02 url: https://codecov.io 09:43:02 query: branch=PR-416&commit=becc84409fb8c882c3937b343ba8459a886daa78&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-416%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=416&job=&cmd_args= 09:43:02 -> Pinging Codecov 09:43:02 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-416&commit=becc84409fb8c882c3937b343ba8459a886daa78&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-416%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=416&job=&cmd_args= 09:43:03 -> Uploading to 09:43:03 https://storage.googleapis.com/codecov/v4/raw/2022-05-04/A97CA9966030D2A3747ED39772930CCE/becc84409fb8c882c3937b343ba8459a886daa78/de6f6d3d-0709-4223-9616-0872f33ee1f4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220504%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220504T094302Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9642bd1d5d33b5825ca6af932aa45e0ada19059c091e2893720cdcfa9fa4cdf1 09:43:03 % Total % Received % Xferd Average Speed Time Time Time Current 09:43:03 Dload Upload Total Spent Left Speed 09:43:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 592 0 0 100 592 0 2285 --:--:-- --:--:-- --:--:-- 2285 09:43:03 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/becc84409fb8c882c3937b343ba8459a886daa78 [Pipeline] } 09:43:03 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 09:43:03 + [ -d /w/workspace/_app-service-configurable_PR-416/archives ] 09:43:03 + ls -al /w/workspace/_app-service-configurable_PR-416/archives 09:43:03 total 16 09:43:03 drwxr-xr-x 3 root root 4096 May 4 09:36 . 09:43:03 drwxrwxr-x 9 jenkins jenkins 4096 May 4 09:36 .. 09:43:03 drwxr-xr-x 2 root root 4096 May 4 09:36 cost 09:43:03 -rw-r--r-- 1 root root 95 May 4 09:36 cost.csv 09:43:03 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-416/archives 09:43:03 + ls -al /w/workspace/_app-service-configurable_PR-416/archives 09:43:03 total 16 09:43:03 drwxr-xr-x 3 jenkins jenkins 4096 May 4 09:36 . 09:43:03 drwxrwxr-x 9 jenkins jenkins 4096 May 4 09:36 .. 09:43:03 drwxr-xr-x 2 jenkins jenkins 4096 May 4 09:36 cost 09:43:03 -rw-r--r-- 1 jenkins jenkins 95 May 4 09:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:43:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:43:05 ---> package-listing.sh 09:43:05 ++ facter osfamily 09:43:05 ++ tr '[:upper:]' '[:lower:]' 09:43:05 + OS_FAMILY=debian 09:43:05 + workspace=/w/workspace/_app-service-configurable_PR-416 09:43:05 + START_PACKAGES=/tmp/packages_start.txt 09:43:05 + END_PACKAGES=/tmp/packages_end.txt 09:43:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:43:05 + PACKAGES=/tmp/packages_start.txt 09:43:05 + '[' /w/workspace/_app-service-configurable_PR-416 ']' 09:43:05 + PACKAGES=/tmp/packages_end.txt 09:43:05 + case "${OS_FAMILY}" in 09:43:05 + dpkg -l 09:43:05 + grep '^ii' 09:43:05 + '[' -f /tmp/packages_start.txt ']' 09:43:05 + '[' -f /tmp/packages_end.txt ']' 09:43:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:43:05 + '[' /w/workspace/_app-service-configurable_PR-416 ']' 09:43:05 + mkdir -p /w/workspace/_app-service-configurable_PR-416/archives/ 09:43:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-416/archives/ [Pipeline] echo 09:43:05 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-416/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:43:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:43:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:43:06 . [Pipeline] withDockerContainer 09:43:06 prd-ubuntu20.04-docker-8c-8g-40430 does not seem to be running inside a container 09:43:06 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-416/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-416 -v /w/workspace/_app-service-configurable_PR-416:/w/workspace/_app-service-configurable_PR-416:rw,z -v /w/workspace/_app-service-configurable_PR-416@tmp:/w/workspace/_app-service-configurable_PR-416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:43:06 $ docker top acfb002f44a25fa986d75d3b43a3d60188957aac37a0da4cfed283328902ed0d -eo pid,comm [Pipeline] { [Pipeline] sh 09:43:06 + touch /tmp/pre-build-complete [Pipeline] sh 09:43:07 + mkdir -p /var/log/sysstat [Pipeline] sh 09:43:07 + ls /var/log/sa-host 09:43:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:43:07 provisioning config files... 09:43:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-416@tmp/config4533734343457100537tmp [Pipeline] { [Pipeline] echo 09:43:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:43:07 ---> create-netrc.sh [Pipeline] } 09:43:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:43:08 ---> python-tools-install.sh [Pipeline] echo 09:43:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:43:08 ---> sudo-logs.sh 09:43:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:43:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:43:08 ---> job-cost.sh 09:43:08 lf-activate-venv: SKIPPING 09:43:08 DEBUG: total: 0.2199999988079071 09:43:08 INFO: Retrieving Stack Cost... 09:43:09 INFO: Retrieving Pricing Info for: v3-standard-8 09:43:09 INFO: Archiving Costs [Pipeline] echo 09:43:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:43:10 ---> logs-deploy.sh 09:43:10 lf-activate-venv: SKIPPING 09:43:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-416/3 09:43:10 INFO: archiving workspace using pattern(s): 09:43:11 Archives upload complete. 09:43:11 INFO: archiving logs to Nexus