Pull request #396 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 jpwhitemn for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 15f9436c573215f48f7d1d7882e26b1e4560d75b+4190c6fd5c33f3107dc794a5b34667c4978bc33f (c7c9a93532f6c424d9682056bba0bdddeecaf9d3) 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-ssh10855552408208781715.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh9208898968393762771.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-396/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-396/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10588991260845037138.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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-ssh6791737327735484358.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-396/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-396/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3792892187142475644.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-11516 in /w/workspace/_app-service-configurable_PR-396 [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-396 # 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 4190c6fd5c33f3107dc794a5b34667c4978bc33f into PR head commit 15f9436c573215f48f7d1d7882e26b1e4560d75b Merge succeeded, producing 15f9436c573215f48f7d1d7882e26b1e4560d75b Checking out Revision 15f9436c573215f48f7d1d7882e26b1e4560d75b (PR-396) > 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/396/head:refs/remotes/origin/PR-396 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 15f9436c573215f48f7d1d7882e26b1e4560d75b # 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 4190c6fd5c33f3107dc794a5b34667c4978bc33f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 15f9436c573215f48f7d1d7882e26b1e4560d75b # timeout=10 Commit message: "feat: added buildmode=pie and -linkmode per review comment" > git rev-list --no-walk 6b983b9320deb447c84ae0c8baeb0d1191d2703c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-07T23:11:58.113Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-07T23:11:58.155Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-07T23:11:58.169Z] ========================================================= [2022-04-07T23:11:58.169Z] EdgeX Global Pipelines Version Info [2022-04-07T23:11:58.169Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-07T23:11:58.935Z] ------------------- [2022-04-07T23:11:58.935Z] stable info: [2022-04-07T23:11:58.935Z] ------------------- [2022-04-07T23:11:58.935Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-07T23:11:58.935Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-07T23:11:58.935Z] Message: update stable to v1.0.221 [2022-04-07T23:11:59.510Z] ------------------- [2022-04-07T23:11:59.510Z] experimental info: [2022-04-07T23:11:59.510Z] ------------------- [2022-04-07T23:11:59.510Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-07T23:11:59.510Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-07T23:11:59.510Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-07T23:11:59.644Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2022-04-07T23:11:59.658Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2022-04-07T23:11:59.672Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-07T23:11:59.687Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-07T23:11:59.702Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-07T23:11:59.716Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-07T23:11:59.742Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-07T23:11:59.754Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-07T23:11:59.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-07T23:11:59.774Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-07T23:11:59.786Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-07T23:11:59.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo [2022-04-07T23:11:59.824Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-07T23:11:59.839Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-07T23:11:59.851Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-07T23:11:59.863Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-07T23:11:59.874Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-07T23:11:59.888Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-07T23:11:59.903Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-07T23:11:59.915Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-07T23:11:59.927Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-07T23:11:59.944Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-07T23:11:59.961Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-07T23:11:59.970Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-07T23:11:59.987Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-07T23:12:00.001Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-07T23:12:00.013Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-396 [Pipeline] echo [2022-04-07T23:12:00.029Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-396 [Pipeline] echo [2022-04-07T23:12:00.040Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-396 [Pipeline] echo [2022-04-07T23:12:00.052Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 15f9436c573215f48f7d1d7882e26b1e4560d75b [Pipeline] echo [2022-04-07T23:12:00.067Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 15f9436 [Pipeline] echo [2022-04-07T23:12:00.084Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-07T23:12:00.130Z] provisioning config files... [2022-04-07T23:12:00.158Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-396@tmp/config992102098183223073tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-07T23:12:00.469Z] ---> docker-login.sh [2022-04-07T23:12:00.469Z] nexus3.edgexfoundry.org:10001 [2022-04-07T23:12:00.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T23:12:00.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T23:12:00.730Z] Configure a credential helper to remove this warning. See [2022-04-07T23:12:00.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T23:12:00.730Z] [2022-04-07T23:12:00.730Z] Login Succeeded [2022-04-07T23:12:00.730Z] nexus3.edgexfoundry.org:10002 [2022-04-07T23:12:00.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T23:12:00.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T23:12:00.996Z] Configure a credential helper to remove this warning. See [2022-04-07T23:12:00.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T23:12:00.996Z] [2022-04-07T23:12:00.996Z] Login Succeeded [2022-04-07T23:12:00.996Z] nexus3.edgexfoundry.org:10003 [2022-04-07T23:12:00.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T23:12:00.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T23:12:00.996Z] Configure a credential helper to remove this warning. See [2022-04-07T23:12:00.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T23:12:00.996Z] [2022-04-07T23:12:00.996Z] Login Succeeded [2022-04-07T23:12:00.996Z] nexus3.edgexfoundry.org:10004 [2022-04-07T23:12:01.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T23:12:01.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T23:12:01.257Z] Configure a credential helper to remove this warning. See [2022-04-07T23:12:01.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T23:12:01.257Z] [2022-04-07T23:12:01.257Z] Login Succeeded [2022-04-07T23:12:01.257Z] docker.io [2022-04-07T23:12:01.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T23:12:01.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T23:12:01.830Z] Configure a credential helper to remove this warning. See [2022-04-07T23:12:01.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T23:12:01.830Z] [2022-04-07T23:12:01.830Z] Login Succeeded [2022-04-07T23:12:01.830Z] ---> docker-login.sh ends [Pipeline] } [2022-04-07T23:12:01.839Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-07T23:12:02.219Z] + git rev-list -1 --merges 15f9436c573215f48f7d1d7882e26b1e4560d75b~1..15f9436c573215f48f7d1d7882e26b1e4560d75b [Pipeline] echo [2022-04-07T23:12:02.305Z] -----------> git rev-list -1 --merges 15f9436c573215f48f7d1d7882e26b1e4560d75b~1..15f9436c573215f48f7d1d7882e26b1e4560d75b 15f9436c573215f48f7d1d7882e26b1e4560d75b [false] [Pipeline] sh [2022-04-07T23:12:02.601Z] + git log --format=format:%s -1 15f9436c573215f48f7d1d7882e26b1e4560d75b [Pipeline] echo [2022-04-07T23:12:02.620Z] ========================================================= [2022-04-07T23:12:02.620Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-07T23:12:02.620Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-07T23:12:02.975Z] + git log --format=format:%s -1 15f9436c573215f48f7d1d7882e26b1e4560d75b [Pipeline] echo [2022-04-07T23:12:02.989Z] [semverPrep] GIT_COMMIT: 15f9436c573215f48f7d1d7882e26b1e4560d75b, Commit Message: feat: added buildmode=pie and -linkmode per review comment [Pipeline] echo [2022-04-07T23:12:03.000Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-07T23:12:03.436Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-07T23:12:03.436Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-07T23:12:03.436Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-07T23:12:03.436Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-07T23:12:03.436Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-07T23:12:03.436Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-07T23:12:03.436Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-07T23:12:03.871Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-07T23:12:03.871Z] [2022-04-07T23:12:03.871Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-07T23:12:04.178Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-07T23:12:04.178Z] latest: Pulling from edgex-devops/git-semver [2022-04-07T23:12:04.178Z] a0d0a0d46f8b: Pulling fs layer [2022-04-07T23:12:04.178Z] 3e5f54012d9b: Pulling fs layer [2022-04-07T23:12:04.178Z] 4c7163046ea9: Pulling fs layer [2022-04-07T23:12:04.178Z] 0c2d73faf560: Pulling fs layer [2022-04-07T23:12:04.178Z] 0c2d73faf560: Waiting [2022-04-07T23:12:04.178Z] 3e5f54012d9b: Verifying Checksum [2022-04-07T23:12:04.178Z] 3e5f54012d9b: Download complete [2022-04-07T23:12:04.178Z] a0d0a0d46f8b: Verifying Checksum [2022-04-07T23:12:04.178Z] a0d0a0d46f8b: Download complete [2022-04-07T23:12:04.178Z] 4c7163046ea9: Verifying Checksum [2022-04-07T23:12:04.178Z] 4c7163046ea9: Download complete [2022-04-07T23:12:04.441Z] 0c2d73faf560: Verifying Checksum [2022-04-07T23:12:04.441Z] 0c2d73faf560: Download complete [2022-04-07T23:12:04.441Z] a0d0a0d46f8b: Pull complete [2022-04-07T23:12:04.441Z] 3e5f54012d9b: Pull complete [2022-04-07T23:12:04.701Z] 4c7163046ea9: Pull complete [2022-04-07T23:12:04.963Z] 0c2d73faf560: Pull complete [2022-04-07T23:12:04.963Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-07T23:12:04.963Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-07T23:12:04.963Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-07T23:12:05.043Z] prd-ubuntu20.04-docker-8c-8g-11516 does not seem to be running inside a container [2022-04-07T23:12:05.091Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-396 -v /w/workspace/_app-service-configurable_PR-396:/w/workspace/_app-service-configurable_PR-396:rw,z -v /w/workspace/_app-service-configurable_PR-396@tmp:/w/workspace/_app-service-configurable_PR-396@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:10004/edgex-devops/git-semver:latest cat [2022-04-07T23:12:05.802Z] $ docker top b9fd577e2bd356c13be756236a857772a329cbe941c673318aa44cbd051aa025 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-07T23:12:05.902Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-07T23:12:05.902Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-07T23:12:06.031Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-07T23:12:06.040Z] $ docker exec b9fd577e2bd356c13be756236a857772a329cbe941c673318aa44cbd051aa025 ssh-agent [2022-04-07T23:12:06.166Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlBnFpH/agent.14 [2022-04-07T23:12:06.166Z] SSH_AGENT_PID=20 [2022-04-07T23:12:06.172Z] Running ssh-add (command line suppressed) [2022-04-07T23:12:06.305Z] Identity added: /w/workspace/_app-service-configurable_PR-396@tmp/private_key_2450251597643692742.key (/w/workspace/_app-service-configurable_PR-396@tmp/private_key_2450251597643692742.key) [2022-04-07T23:12:06.315Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-07T23:12:06.610Z] + git tag --points-at HEAD [Pipeline] } [2022-04-07T23:12:06.630Z] $ docker exec --env ******** --env ******** b9fd577e2bd356c13be756236a857772a329cbe941c673318aa44cbd051aa025 ssh-agent -k [2022-04-07T23:12:06.745Z] unset SSH_AUTH_SOCK; [2022-04-07T23:12:06.746Z] unset SSH_AGENT_PID; [2022-04-07T23:12:06.746Z] echo Agent pid 20 killed; [2022-04-07T23:12:06.751Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-07T23:12:06.777Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-07T23:12:06.777Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-07T23:12:06.903Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-07T23:12:06.912Z] $ docker exec b9fd577e2bd356c13be756236a857772a329cbe941c673318aa44cbd051aa025 ssh-agent [2022-04-07T23:12:07.027Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjeIOHH/agent.53 [2022-04-07T23:12:07.027Z] SSH_AGENT_PID=60 [2022-04-07T23:12:07.032Z] Running ssh-add (command line suppressed) [2022-04-07T23:12:07.149Z] Identity added: /w/workspace/_app-service-configurable_PR-396@tmp/private_key_6994456026397737205.key (/w/workspace/_app-service-configurable_PR-396@tmp/private_key_6994456026397737205.key) [2022-04-07T23:12:07.157Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-07T23:12:07.447Z] + git semver init [2022-04-07T23:12:07.447Z] # -> Open(): unable to determine branch for HEAD [2022-04-07T23:12:07.447Z] # $GIT_DIR = /w/workspace/_app-service-configurable_PR-396/.git [2022-04-07T23:12:07.447Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-396 [2022-04-07T23:12:07.447Z] # $SEMVER_REMOTE_NAME = origin [2022-04-07T23:12:07.447Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-07T23:12:07.447Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-07T23:12:07.447Z] # $SEMVER_BRANCH = PR-396 [2022-04-07T23:12:07.447Z] # $SEMVER_TEMP = /tmp/semver-029156594 [2022-04-07T23:12:07.447Z] # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP [2022-04-07T23:12:08.390Z] # '/tmp/semver-029156594' -> '/w/workspace/_app-service-configurable_PR-396/.semver' [2022-04-07T23:12:08.390Z] # -> Force: false [2022-04-07T23:12:08.390Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-396/.semver [Pipeline] } [2022-04-07T23:12:08.408Z] $ docker exec --env ******** --env ******** b9fd577e2bd356c13be756236a857772a329cbe941c673318aa44cbd051aa025 ssh-agent -k [2022-04-07T23:12:08.512Z] unset SSH_AUTH_SOCK; [2022-04-07T23:12:08.514Z] unset SSH_AGENT_PID; [2022-04-07T23:12:08.514Z] echo Agent pid 60 killed; [2022-04-07T23:12:08.520Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-07T23:12:08.832Z] + git semver [Pipeline] } [2022-04-07T23:12:08.854Z] $ docker stop --time=1 b9fd577e2bd356c13be756236a857772a329cbe941c673318aa44cbd051aa025 [2022-04-07T23:12:10.255Z] $ docker rm -f b9fd577e2bd356c13be756236a857772a329cbe941c673318aa44cbd051aa025 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-07T23:12:10.602Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-07T23:12:10.854Z] Stashed 1 file(s) [Pipeline] echo [2022-04-07T23:12:10.858Z] [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 [2022-04-07T23:12:11.012Z] provisioning config files... [2022-04-07T23:12:11.022Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-396@tmp/config7199980010397570977tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-07T23:12:11.323Z] ---> docker-login.sh [2022-04-07T23:12:11.323Z] nexus3.edgexfoundry.org:10001 [2022-04-07T23:12:11.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T23:12:11.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T23:12:11.323Z] Configure a credential helper to remove this warning. See [2022-04-07T23:12:11.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T23:12:11.323Z] [2022-04-07T23:12:11.323Z] Login Succeeded [2022-04-07T23:12:11.323Z] nexus3.edgexfoundry.org:10002 [2022-04-07T23:12:11.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T23:12:11.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T23:12:11.584Z] Configure a credential helper to remove this warning. See [2022-04-07T23:12:11.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T23:12:11.584Z] [2022-04-07T23:12:11.584Z] Login Succeeded [2022-04-07T23:12:11.584Z] nexus3.edgexfoundry.org:10003 [2022-04-07T23:12:11.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T23:12:11.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T23:12:11.584Z] Configure a credential helper to remove this warning. See [2022-04-07T23:12:11.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T23:12:11.584Z] [2022-04-07T23:12:11.584Z] Login Succeeded [2022-04-07T23:12:11.584Z] nexus3.edgexfoundry.org:10004 [2022-04-07T23:12:11.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T23:12:11.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T23:12:11.844Z] Configure a credential helper to remove this warning. See [2022-04-07T23:12:11.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T23:12:11.844Z] [2022-04-07T23:12:11.844Z] Login Succeeded [2022-04-07T23:12:11.844Z] docker.io [2022-04-07T23:12:11.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T23:12:12.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T23:12:12.105Z] Configure a credential helper to remove this warning. See [2022-04-07T23:12:12.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T23:12:12.105Z] [2022-04-07T23:12:12.105Z] Login Succeeded [2022-04-07T23:12:12.105Z] ---> docker-login.sh ends [Pipeline] } [2022-04-07T23:12:12.113Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-07T23:12:12.185Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-07T23:12:12.195Z] ========================================================= [2022-04-07T23:12:12.195Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-07T23:12:12.195Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-07T23:12:12.507Z] + 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 . [2022-04-07T23:12:12.507Z] Sending build context to Docker daemon 3.001MB [2022-04-07T23:12:12.507Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-04-07T23:12:12.507Z] Step 2/13 : FROM ${BASE} AS builder [2022-04-07T23:12:12.507Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-07T23:12:12.507Z] 59bf1c3509f3: Pulling fs layer [2022-04-07T23:12:12.507Z] 666ba61612fd: Pulling fs layer [2022-04-07T23:12:12.507Z] 8ed8ca486205: Pulling fs layer [2022-04-07T23:12:12.507Z] 4fe6c5a15a65: Pulling fs layer [2022-04-07T23:12:12.507Z] 22a0e8bec74d: Pulling fs layer [2022-04-07T23:12:12.507Z] 640e595b4fbd: Pulling fs layer [2022-04-07T23:12:12.507Z] 763cafe07f6e: Pulling fs layer [2022-04-07T23:12:12.507Z] 0c0b528cf693: Pulling fs layer [2022-04-07T23:12:12.507Z] 10935f4eaf8b: Pulling fs layer [2022-04-07T23:12:12.507Z] 4fe6c5a15a65: Waiting [2022-04-07T23:12:12.507Z] 22a0e8bec74d: Waiting [2022-04-07T23:12:12.507Z] 640e595b4fbd: Waiting [2022-04-07T23:12:12.507Z] 763cafe07f6e: Waiting [2022-04-07T23:12:12.507Z] 0c0b528cf693: Waiting [2022-04-07T23:12:12.507Z] 10935f4eaf8b: Waiting [2022-04-07T23:12:12.507Z] 8ed8ca486205: Verifying Checksum [2022-04-07T23:12:12.507Z] 8ed8ca486205: Download complete [2022-04-07T23:12:12.507Z] 666ba61612fd: Verifying Checksum [2022-04-07T23:12:12.507Z] 666ba61612fd: Download complete [2022-04-07T23:12:12.507Z] 22a0e8bec74d: Download complete [2022-04-07T23:12:12.507Z] 640e595b4fbd: Verifying Checksum [2022-04-07T23:12:12.507Z] 640e595b4fbd: Download complete [2022-04-07T23:12:12.767Z] 59bf1c3509f3: Download complete [2022-04-07T23:12:12.767Z] 763cafe07f6e: Verifying Checksum [2022-04-07T23:12:12.767Z] 763cafe07f6e: Download complete [2022-04-07T23:12:12.767Z] 0c0b528cf693: Verifying Checksum [2022-04-07T23:12:12.767Z] 0c0b528cf693: Download complete [2022-04-07T23:12:12.767Z] 59bf1c3509f3: Pull complete [2022-04-07T23:12:13.028Z] 666ba61612fd: Pull complete [2022-04-07T23:12:13.028Z] 8ed8ca486205: Pull complete [2022-04-07T23:12:13.289Z] 10935f4eaf8b: Verifying Checksum [2022-04-07T23:12:13.289Z] 10935f4eaf8b: Download complete [2022-04-07T23:12:13.289Z] 4fe6c5a15a65: Verifying Checksum [2022-04-07T23:12:13.289Z] 4fe6c5a15a65: Download complete [2022-04-07T23:12:17.487Z] 4fe6c5a15a65: Pull complete [2022-04-07T23:12:17.487Z] 22a0e8bec74d: Pull complete [2022-04-07T23:12:17.487Z] 640e595b4fbd: Pull complete [2022-04-07T23:12:17.487Z] 763cafe07f6e: Pull complete [2022-04-07T23:12:17.487Z] 0c0b528cf693: Pull complete [2022-04-07T23:12:20.032Z] 10935f4eaf8b: Pull complete [2022-04-07T23:12:20.032Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-07T23:12:20.032Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-07T23:12:20.032Z] ---> 99d49a6021b9 [2022-04-07T23:12:20.032Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-07T23:12:21.958Z] ---> Running in 1da0e8dc4c90 [2022-04-07T23:12:21.958Z] Removing intermediate container 1da0e8dc4c90 [2022-04-07T23:12:21.958Z] ---> 58045acdaab5 [2022-04-07T23:12:21.958Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-04-07T23:12:21.958Z] ---> Running in b1409f32d3e9 [2022-04-07T23:12:22.219Z] Removing intermediate container b1409f32d3e9 [2022-04-07T23:12:22.219Z] ---> 12b7b82f3b31 [2022-04-07T23:12:22.219Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-07T23:12:22.219Z] ---> Running in ed3d2835a0cc [2022-04-07T23:12:22.219Z] Removing intermediate container ed3d2835a0cc [2022-04-07T23:12:22.219Z] ---> 77039b476e78 [2022-04-07T23:12:22.219Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-07T23:12:22.219Z] ---> Running in 6ef3300c73be [2022-04-07T23:12:23.164Z] Removing intermediate container 6ef3300c73be [2022-04-07T23:12:23.164Z] ---> 4c133bfc1d61 [2022-04-07T23:12:23.164Z] Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-07T23:12:23.164Z] ---> Running in 407eb632d27e [2022-04-07T23:12:23.164Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-07T23:12:24.108Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-07T23:12:24.368Z] OK: 221 MiB in 52 packages [2022-04-07T23:12:24.938Z] Removing intermediate container 407eb632d27e [2022-04-07T23:12:24.938Z] ---> 4a727747624d [2022-04-07T23:12:24.938Z] Step 8/13 : WORKDIR /app [2022-04-07T23:12:25.200Z] ---> Running in 7dd4780b259b [2022-04-07T23:12:25.200Z] Removing intermediate container 7dd4780b259b [2022-04-07T23:12:25.200Z] ---> c6604fed241e [2022-04-07T23:12:25.200Z] Step 9/13 : COPY go.mod vendor* ./ [2022-04-07T23:12:25.461Z] ---> b725748a7e48 [2022-04-07T23:12:25.461Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-07T23:12:25.461Z] ---> Running in 3047889aa94c [2022-04-07T23:12:25.958Z] Still waiting to schedule task [2022-04-07T23:12:25.959Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-07T23:12:52.045Z] Removing intermediate container 3047889aa94c [2022-04-07T23:12:52.045Z] ---> 623ddc8a9da9 [2022-04-07T23:12:52.045Z] Step 11/13 : COPY . . [2022-04-07T23:12:52.045Z] ---> 0489a36628a4 [2022-04-07T23:12:52.045Z] Step 12/13 : ARG MAKE="make build" [2022-04-07T23:12:52.045Z] ---> Running in 159971a1968b [2022-04-07T23:12:52.045Z] Removing intermediate container 159971a1968b [2022-04-07T23:12:52.045Z] ---> 5c0d2013635a [2022-04-07T23:12:52.045Z] Step 13/13 : RUN $MAKE [2022-04-07T23:12:52.045Z] ---> Running in 6598826916a4 [2022-04-07T23:12:52.045Z] noop [2022-04-07T23:12:52.045Z] Removing intermediate container 6598826916a4 [2022-04-07T23:12:52.045Z] ---> e404ee40ce95 [2022-04-07T23:12:52.045Z] Successfully built e404ee40ce95 [2022-04-07T23:12:52.045Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-07T23:12:52.342Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-07T23:12:52.342Z] . [Pipeline] withDockerContainer [2022-04-07T23:12:52.408Z] prd-ubuntu20.04-docker-8c-8g-11516 does not seem to be running inside a container [2022-04-07T23:12:52.447Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-396 -v /w/workspace/_app-service-configurable_PR-396:/w/workspace/_app-service-configurable_PR-396:rw,z -v /w/workspace/_app-service-configurable_PR-396@tmp:/w/workspace/_app-service-configurable_PR-396@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 [2022-04-07T23:12:52.798Z] $ docker top 90c969d5f497321759e5e3fdc7a3039f506669f8761038895f2d49ef52d48f10 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-07T23:12:53.150Z] + go version [2022-04-07T23:12:53.150Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-07T23:12:53.170Z] $ docker stop --time=1 90c969d5f497321759e5e3fdc7a3039f506669f8761038895f2d49ef52d48f10 [2022-04-07T23:12:54.432Z] $ docker rm -f 90c969d5f497321759e5e3fdc7a3039f506669f8761038895f2d49ef52d48f10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-07T23:12:54.855Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-07T23:12:54.856Z] . [Pipeline] withDockerContainer [2022-04-07T23:12:54.944Z] prd-ubuntu20.04-docker-8c-8g-11516 does not seem to be running inside a container [2022-04-07T23:12:55.024Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-396 -v /w/workspace/_app-service-configurable_PR-396:/w/workspace/_app-service-configurable_PR-396:rw,z -v /w/workspace/_app-service-configurable_PR-396@tmp:/w/workspace/_app-service-configurable_PR-396@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 [2022-04-07T23:12:55.398Z] $ docker top 86ba12f0284ad2d1f1cad72df73c191f80abb554636bc9954b2477c3fa58781d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-07T23:12:55.771Z] + make test [2022-04-07T23:12:55.771Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-04-07T23:13:02.349Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-04-07T23:13:02.349Z] CGO_ENABLED=1 go vet ./... [2022-04-07T23:13:04.890Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-07T23:13:04.890Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-07T23:13:04.890Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-07T23:13:05.477Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-07T23:13:05.495Z] $ docker stop --time=1 86ba12f0284ad2d1f1cad72df73c191f80abb554636bc9954b2477c3fa58781d [2022-04-07T23:13:07.037Z] $ docker rm -f 86ba12f0284ad2d1f1cad72df73c191f80abb554636bc9954b2477c3fa58781d [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-07T23:13:07.407Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-07T23:13:07.443Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-07T23:13:08.482Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-07T23:13:08.781Z] + ls -al . [2022-04-07T23:13:08.781Z] total 176 [2022-04-07T23:13:08.781Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 23:13 . [2022-04-07T23:13:08.781Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 23:11 .. [2022-04-07T23:13:08.781Z] -rw-rw-r-- 1 jenkins jenkins 119 Apr 7 23:11 .dockerignore [2022-04-07T23:13:08.781Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 23:11 .git [2022-04-07T23:13:08.781Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 23:11 .github [2022-04-07T23:13:08.781Z] -rw-rw-r-- 1 jenkins jenkins 104 Apr 7 23:11 .gitignore [2022-04-07T23:13:08.781Z] drwx------ 3 jenkins jenkins 4096 Apr 7 23:12 .semver [2022-04-07T23:13:08.781Z] -rw-rw-r-- 1 jenkins jenkins 7627 Apr 7 23:11 Attribution.txt [2022-04-07T23:13:08.781Z] -rw-rw-r-- 1 jenkins jenkins 23791 Apr 7 23:11 CHANGELOG.md [2022-04-07T23:13:08.781Z] -rw-rw-r-- 1 jenkins jenkins 2087 Apr 7 23:11 Dockerfile [2022-04-07T23:13:08.781Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 23:11 GOVERNANCE.md [2022-04-07T23:13:08.781Z] -rw-rw-r-- 1 jenkins jenkins 688 Apr 7 23:11 Jenkinsfile [2022-04-07T23:13:08.781Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 7 23:11 LICENSE [2022-04-07T23:13:08.781Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 7 23:11 OWNERS.md [2022-04-07T23:13:08.781Z] -rw-rw-r-- 1 jenkins jenkins 3860 Apr 7 23:11 README.md [2022-04-07T23:13:08.781Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 23:12 VERSION [2022-04-07T23:13:08.781Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 23:11 bin [2022-04-07T23:13:08.781Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 7 23:12 coverage.out [2022-04-07T23:13:08.781Z] -rw-rw-r-- 1 jenkins jenkins 2816 Apr 7 23:11 go.mod [2022-04-07T23:13:08.781Z] -rw-rw-r-- 1 jenkins jenkins 50335 Apr 7 23:11 go.sum [2022-04-07T23:13:08.781Z] -rw-rw-r-- 1 jenkins jenkins 1949 Apr 7 23:11 main.go [2022-04-07T23:13:08.781Z] -rw-rw-r-- 1 jenkins jenkins 1994 Apr 7 23:11 makefile [2022-04-07T23:13:08.781Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 23:11 res [2022-04-07T23:13:08.781Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 23:11 snap [Pipeline] isUnix [Pipeline] sh [2022-04-07T23:13:09.083Z] + 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=15f9436c573215f48f7d1d7882e26b1e4560d75b --label arch=amd64 --label version=0.0.0 . [2022-04-07T23:13:09.083Z] Sending build context to Docker daemon 3.002MB [2022-04-07T23:13:09.083Z] Step 1/27 : ARG BASE=golang:1.17-alpine3.15 [2022-04-07T23:13:09.083Z] Step 2/27 : FROM ${BASE} AS builder [2022-04-07T23:13:09.083Z] ---> e404ee40ce95 [2022-04-07T23:13:09.083Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-07T23:13:09.083Z] ---> Running in 38012f7f9a3c [2022-04-07T23:13:09.344Z] Removing intermediate container 38012f7f9a3c [2022-04-07T23:13:09.344Z] ---> c56bd96b82cd [2022-04-07T23:13:09.344Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-04-07T23:13:09.344Z] ---> Running in 2192ade91609 [2022-04-07T23:13:09.344Z] Removing intermediate container 2192ade91609 [2022-04-07T23:13:09.344Z] ---> dc1d0508cf61 [2022-04-07T23:13:09.344Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-07T23:13:09.344Z] ---> Running in d003e3e47265 [2022-04-07T23:13:09.604Z] Removing intermediate container d003e3e47265 [2022-04-07T23:13:09.604Z] ---> e91575bf634b [2022-04-07T23:13:09.604Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-07T23:13:09.604Z] ---> Running in 036615e97183 [2022-04-07T23:13:10.176Z] Removing intermediate container 036615e97183 [2022-04-07T23:13:10.176Z] ---> ab4c1de1fd74 [2022-04-07T23:13:10.176Z] Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-07T23:13:10.176Z] ---> Running in 926012380e82 [2022-04-07T23:13:10.437Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-07T23:13:11.379Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-07T23:13:11.379Z] OK: 221 MiB in 52 packages [2022-04-07T23:13:11.951Z] Removing intermediate container 926012380e82 [2022-04-07T23:13:11.951Z] ---> afaee09305cb [2022-04-07T23:13:11.951Z] Step 8/27 : WORKDIR /app [2022-04-07T23:13:11.951Z] ---> Running in 8b4d4ef5e865 [2022-04-07T23:13:11.951Z] Removing intermediate container 8b4d4ef5e865 [2022-04-07T23:13:11.951Z] ---> a76c785c6b10 [2022-04-07T23:13:11.951Z] Step 9/27 : COPY go.mod vendor* ./ [2022-04-07T23:13:11.951Z] ---> 3e4e44015837 [2022-04-07T23:13:11.951Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-07T23:13:12.212Z] ---> Running in 673277ed1b35 [2022-04-07T23:13:12.784Z] Removing intermediate container 673277ed1b35 [2022-04-07T23:13:12.784Z] ---> fce988cfe055 [2022-04-07T23:13:12.784Z] Step 11/27 : COPY . . [2022-04-07T23:13:13.045Z] ---> fc4d80530c45 [2022-04-07T23:13:13.045Z] Step 12/27 : ARG MAKE="make build" [2022-04-07T23:13:13.045Z] ---> Running in 92d31d36540b [2022-04-07T23:13:13.046Z] Removing intermediate container 92d31d36540b [2022-04-07T23:13:13.046Z] ---> ed33a8c69bd1 [2022-04-07T23:13:13.046Z] Step 13/27 : RUN $MAKE [2022-04-07T23:13:13.313Z] ---> Running in ef959e5d507c [2022-04-07T23:13:13.313Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable [2022-04-07T23:13:28.209Z] Removing intermediate container ef959e5d507c [2022-04-07T23:13:28.209Z] ---> 56853807af08 [2022-04-07T23:13:28.209Z] Step 14/27 : FROM alpine:3.14 [2022-04-07T23:13:28.779Z] 3.14: Pulling from library/alpine [2022-04-07T23:13:29.039Z] 8663204ce13b: Pulling fs layer [2022-04-07T23:13:29.299Z] 8663204ce13b: Download complete [2022-04-07T23:13:29.299Z] 8663204ce13b: Pull complete [2022-04-07T23:13:29.299Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-07T23:13:29.299Z] Status: Downloaded newer image for alpine:3.14 [2022-04-07T23:13:29.299Z] ---> e04c818066af [2022-04-07T23:13:29.299Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-07T23:13:29.560Z] ---> Running in 52518fcba596 [2022-04-07T23:13:29.560Z] Removing intermediate container 52518fcba596 [2022-04-07T23:13:29.560Z] ---> 7dc8ba38dd96 [2022-04-07T23:13:29.560Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2022-04-07T23:13:29.560Z] ---> Running in 60cfe095befd [2022-04-07T23:13:29.560Z] Removing intermediate container 60cfe095befd [2022-04-07T23:13:29.560Z] ---> 46e4eacf8140 [2022-04-07T23:13:29.560Z] Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-04-07T23:13:29.820Z] ---> Running in 0802cb797848 [2022-04-07T23:13:30.080Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-07T23:13:30.338Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-07T23:13:30.338Z] (1/7) Installing ca-certificates (20211220-r0) [2022-04-07T23:13:30.597Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-04-07T23:13:30.597Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-04-07T23:13:30.597Z] (4/7) Installing libsodium (1.0.18-r0) [2022-04-07T23:13:30.597Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-07T23:13:30.597Z] (6/7) Installing libzmq (4.3.4-r0) [2022-04-07T23:13:30.597Z] (7/7) Installing zeromq (4.3.4-r0) [2022-04-07T23:13:30.597Z] Executing busybox-1.33.1-r7.trigger [2022-04-07T23:13:30.597Z] Executing ca-certificates-20211220-r0.trigger [2022-04-07T23:13:30.597Z] OK: 9 MiB in 21 packages [2022-04-07T23:13:31.167Z] Removing intermediate container 0802cb797848 [2022-04-07T23:13:31.167Z] ---> 5854d51eb288 [2022-04-07T23:13:31.167Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-04-07T23:13:31.167Z] ---> cb9fdfb1f4e5 [2022-04-07T23:13:31.167Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2022-04-07T23:13:31.428Z] ---> e0d3a4a46512 [2022-04-07T23:13:31.428Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2022-04-07T23:13:31.428Z] ---> 11197897188a [2022-04-07T23:13:31.428Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-04-07T23:13:32.006Z] ---> 29ec007fa617 [2022-04-07T23:13:32.006Z] Step 22/27 : EXPOSE 48095 [2022-04-07T23:13:32.006Z] ---> Running in 00ab7c43d195 [2022-04-07T23:13:32.006Z] Removing intermediate container 00ab7c43d195 [2022-04-07T23:13:32.006Z] ---> c078f21341d1 [2022-04-07T23:13:32.006Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2022-04-07T23:13:32.006Z] ---> Running in 5cbd5d1b646d [2022-04-07T23:13:32.006Z] Removing intermediate container 5cbd5d1b646d [2022-04-07T23:13:32.006Z] ---> e471b3a17cc3 [2022-04-07T23:13:32.006Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-07T23:13:32.265Z] ---> Running in b133893f15ba [2022-04-07T23:13:32.265Z] Removing intermediate container b133893f15ba [2022-04-07T23:13:32.265Z] ---> 76d540d215a2 [2022-04-07T23:13:32.265Z] Step 25/27 : LABEL arch=amd64 [2022-04-07T23:13:32.265Z] ---> Running in 3b774c8be732 [2022-04-07T23:13:32.265Z] Removing intermediate container 3b774c8be732 [2022-04-07T23:13:32.265Z] ---> 8bdbbcf10090 [2022-04-07T23:13:32.265Z] Step 26/27 : LABEL git_sha=15f9436c573215f48f7d1d7882e26b1e4560d75b [2022-04-07T23:13:32.524Z] ---> Running in e4c27d151be4 [2022-04-07T23:13:32.524Z] Removing intermediate container e4c27d151be4 [2022-04-07T23:13:32.524Z] ---> 042ac6622b40 [2022-04-07T23:13:32.524Z] Step 27/27 : LABEL version=0.0.0 [2022-04-07T23:13:32.524Z] ---> Running in 98811600f2ee [2022-04-07T23:13:32.524Z] Removing intermediate container 98811600f2ee [2022-04-07T23:13:32.524Z] ---> 1e4b89e66e86 [2022-04-07T23:13:32.524Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-07T23:13:32.524Z] Successfully built 1e4b89e66e86 [2022-04-07T23:13:32.524Z] 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 [2022-04-07T23:13:32.962Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-07T23:13:32.962Z] [2022-04-07T23:13:32.962Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-07T23:13:33.264Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-07T23:13:33.264Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-07T23:13:33.264Z] 5eb5b503b376: Pulling fs layer [2022-04-07T23:13:33.264Z] 5c69ac0246d0: Pulling fs layer [2022-04-07T23:13:33.264Z] ec43610c2a17: Pulling fs layer [2022-04-07T23:13:33.264Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-07T23:13:33.264Z] 33b1e0a273af: Pulling fs layer [2022-04-07T23:13:33.264Z] 5d3b04190fa2: Pulling fs layer [2022-04-07T23:13:33.264Z] 2f39f015ded8: Pulling fs layer [2022-04-07T23:13:33.264Z] 33b1e0a273af: Waiting [2022-04-07T23:13:33.264Z] 5d3b04190fa2: Waiting [2022-04-07T23:13:33.264Z] 2f39f015ded8: Waiting [2022-04-07T23:13:33.264Z] 3a2ae6a8a46f: Waiting [2022-04-07T23:13:33.264Z] 5c69ac0246d0: Verifying Checksum [2022-04-07T23:13:33.264Z] 5c69ac0246d0: Download complete [2022-04-07T23:13:33.264Z] 3a2ae6a8a46f: Download complete [2022-04-07T23:13:33.264Z] 33b1e0a273af: Verifying Checksum [2022-04-07T23:13:33.264Z] 33b1e0a273af: Download complete [2022-04-07T23:13:33.264Z] ec43610c2a17: Verifying Checksum [2022-04-07T23:13:33.264Z] ec43610c2a17: Download complete [2022-04-07T23:13:33.264Z] 5d3b04190fa2: Verifying Checksum [2022-04-07T23:13:33.264Z] 5d3b04190fa2: Download complete [2022-04-07T23:13:33.523Z] 5eb5b503b376: Verifying Checksum [2022-04-07T23:13:33.523Z] 5eb5b503b376: Download complete [2022-04-07T23:13:34.505Z] 2f39f015ded8: Download complete [2022-04-07T23:13:34.764Z] 5eb5b503b376: Pull complete [2022-04-07T23:13:34.764Z] 5c69ac0246d0: Pull complete [2022-04-07T23:13:35.333Z] ec43610c2a17: Pull complete [2022-04-07T23:13:35.333Z] 3a2ae6a8a46f: Pull complete [2022-04-07T23:13:35.333Z] 33b1e0a273af: Pull complete [2022-04-07T23:13:35.592Z] 5d3b04190fa2: Pull complete [2022-04-07T23:13:39.786Z] 2f39f015ded8: Pull complete [2022-04-07T23:13:39.786Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-07T23:13:39.786Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-07T23:13:39.786Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-07T23:13:39.850Z] prd-ubuntu20.04-docker-8c-8g-11516 does not seem to be running inside a container [2022-04-07T23:13:39.892Z] $ 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-396 -v /w/workspace/_app-service-configurable_PR-396:/w/workspace/_app-service-configurable_PR-396:rw,z -v /w/workspace/_app-service-configurable_PR-396@tmp:/w/workspace/_app-service-configurable_PR-396@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 [2022-04-07T23:13:41.557Z] $ docker top df1acba820f6084f70f76f65c05a6960570e2926dacf87f24cbcd81eb16a6c13 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-07T23:13:41.992Z] ---> job-cost.sh [2022-04-07T23:13:41.992Z] lf-activate-venv: SKIPPING [2022-04-07T23:13:41.992Z] INFO: No Stack... [2022-04-07T23:13:42.564Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-07T23:13:42.824Z] INFO: Archiving Costs [Pipeline] sh [2022-04-07T23:13:43.119Z] + cat /w/workspace/_app-service-configurable_PR-396/archives/cost.csv [2022-04-07T23:13:43.120Z] + cut -d, -f6 [Pipeline] lock [2022-04-07T23:13:43.135Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-396-2-stack-cost] [2022-04-07T23:13:43.144Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-396-2-stack-cost] did not exist. Created. [2022-04-07T23:13:43.144Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-396-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-07T23:13:43.454Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-07T23:13:43.480Z] Stashed 1 file(s) [Pipeline] } [2022-04-07T23:13:43.494Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-396-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-07T23:13:43.518Z] $ docker stop --time=1 df1acba820f6084f70f76f65c05a6960570e2926dacf87f24cbcd81eb16a6c13 [2022-04-07T23:13:44.670Z] $ docker rm -f df1acba820f6084f70f76f65c05a6960570e2926dacf87f24cbcd81eb16a6c13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-07T23:13:58.526Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-11517 in /w/workspace/_app-service-configurable_PR-396 [Pipeline] { [Pipeline] ws [2022-04-07T23:13:58.539Z] Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout [2022-04-07T23:13:58.802Z] Selected Git installation does not exist. Using Default [2022-04-07T23:13:58.802Z] The recommended git tool is: NONE [2022-04-07T23:14:05.854Z] using credential edgex-jenkins-ssh [2022-04-07T23:14:05.870Z] Cloning the remote Git repository [2022-04-07T23:14:06.182Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2022-04-07T23:14:06.307Z] > git init /w/workspace/app-service-configurable/2 # timeout=10 [2022-04-07T23:14:06.512Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-04-07T23:14:06.515Z] > git --version # timeout=10 [2022-04-07T23:14:06.570Z] > git --version # 'git version 2.25.1' [2022-04-07T23:14:06.572Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-07T23:14:06.746Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-07T23:14:08.748Z] Merging remotes/origin/main commit 4190c6fd5c33f3107dc794a5b34667c4978bc33f into PR head commit 15f9436c573215f48f7d1d7882e26b1e4560d75b [2022-04-07T23:14:08.958Z] Merge succeeded, producing 15f9436c573215f48f7d1d7882e26b1e4560d75b [2022-04-07T23:14:08.959Z] Checking out Revision 15f9436c573215f48f7d1d7882e26b1e4560d75b (PR-396) [2022-04-07T23:14:08.030Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-04-07T23:14:08.058Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-07T23:14:08.100Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-04-07T23:14:08.136Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-04-07T23:14:08.138Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-07T23:14:08.152Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/396/head:refs/remotes/origin/PR-396 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-07T23:14:08.763Z] > git config core.sparsecheckout # timeout=10 [2022-04-07T23:14:08.785Z] > git checkout -f 15f9436c573215f48f7d1d7882e26b1e4560d75b # timeout=10 [2022-04-07T23:14:08.863Z] > git remote # timeout=10 [2022-04-07T23:14:08.885Z] > git config --get remote.origin.url # timeout=10 [2022-04-07T23:14:08.897Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-07T23:14:08.909Z] > git merge 4190c6fd5c33f3107dc794a5b34667c4978bc33f # timeout=10 [2022-04-07T23:14:08.941Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-07T23:14:08.964Z] > git config core.sparsecheckout # timeout=10 [2022-04-07T23:14:09.015Z] > git checkout -f 15f9436c573215f48f7d1d7882e26b1e4560d75b # timeout=10 [2022-04-07T23:14:13.269Z] Commit message: "feat: added buildmode=pie and -linkmode per review comment" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-07T23:14:14.230Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-07T23:14:14.230Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-07T23:14:14.230Z] Dload Upload Total Spent Left Speed [2022-04-07T23:14:14.230Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 50395 0 --:--:-- --:--:-- --:--:-- 50395 [Pipeline] sh [2022-04-07T23:14:14.806Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-07T23:14:15.157Z] + sudo tee /etc/docker/daemon.new [2022-04-07T23:14:15.157Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-07T23:14:15.157Z] { [2022-04-07T23:14:15.157Z] "registry-mirrors": [ [2022-04-07T23:14:15.157Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-07T23:14:15.157Z] ], [2022-04-07T23:14:15.157Z] "bip": "10.250.0.254/24", [2022-04-07T23:14:15.157Z] "hosts": [ [2022-04-07T23:14:15.157Z] "tcp://0.0.0.0:5555", [2022-04-07T23:14:15.157Z] "unix:///var/run/docker.sock" [2022-04-07T23:14:15.157Z] ], [2022-04-07T23:14:15.157Z] "mtu": 1458, [2022-04-07T23:14:15.157Z] "selinux-enabled": true, [2022-04-07T23:14:15.157Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-07T23:14:15.157Z] } [Pipeline] sh [2022-04-07T23:14:15.510Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-07T23:14:15.859Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-07T23:14:34.229Z] provisioning config files... [2022-04-07T23:14:34.256Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config1944586106911598090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-07T23:14:34.686Z] ---> docker-login.sh [2022-04-07T23:14:34.686Z] nexus3.edgexfoundry.org:10001 [2022-04-07T23:14:35.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T23:14:35.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T23:14:35.577Z] Configure a credential helper to remove this warning. See [2022-04-07T23:14:35.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T23:14:35.577Z] [2022-04-07T23:14:35.577Z] Login Succeeded [2022-04-07T23:14:35.577Z] nexus3.edgexfoundry.org:10002 [2022-04-07T23:14:36.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T23:14:36.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T23:14:36.175Z] Configure a credential helper to remove this warning. See [2022-04-07T23:14:36.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T23:14:36.175Z] [2022-04-07T23:14:36.175Z] Login Succeeded [2022-04-07T23:14:36.175Z] nexus3.edgexfoundry.org:10003 [2022-04-07T23:14:36.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T23:14:36.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T23:14:36.726Z] Configure a credential helper to remove this warning. See [2022-04-07T23:14:36.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T23:14:36.726Z] [2022-04-07T23:14:36.726Z] Login Succeeded [2022-04-07T23:14:36.726Z] nexus3.edgexfoundry.org:10004 [2022-04-07T23:14:37.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T23:14:37.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T23:14:37.008Z] Configure a credential helper to remove this warning. See [2022-04-07T23:14:37.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T23:14:37.008Z] [2022-04-07T23:14:37.008Z] Login Succeeded [2022-04-07T23:14:37.008Z] docker.io [2022-04-07T23:14:37.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T23:14:37.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T23:14:37.880Z] Configure a credential helper to remove this warning. See [2022-04-07T23:14:37.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T23:14:37.880Z] [2022-04-07T23:14:37.880Z] Login Succeeded [2022-04-07T23:14:37.880Z] ---> docker-login.sh ends [Pipeline] } [2022-04-07T23:14:37.899Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-07T23:14:38.304Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-07T23:14:38.316Z] ========================================================= [2022-04-07T23:14:38.316Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-07T23:14:38.316Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-07T23:14:38.701Z] + 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 . [2022-04-07T23:14:38.701Z] Sending build context to Docker daemon 210.4kB [2022-04-07T23:14:38.975Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-04-07T23:14:38.975Z] Step 2/13 : FROM ${BASE} AS builder [2022-04-07T23:14:39.251Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-07T23:14:39.251Z] 9b3977197b4f: Pulling fs layer [2022-04-07T23:14:39.251Z] 1a89e8eeedd5: Pulling fs layer [2022-04-07T23:14:39.251Z] 94645a83ff95: Pulling fs layer [2022-04-07T23:14:39.251Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-07T23:14:39.251Z] 0c92f367c5e7: Pulling fs layer [2022-04-07T23:14:39.251Z] f7c0051592d6: Pulling fs layer [2022-04-07T23:14:39.251Z] a227ed2f7395: Pulling fs layer [2022-04-07T23:14:39.251Z] 7b1c46037f91: Pulling fs layer [2022-04-07T23:14:39.251Z] 0c92f367c5e7: Waiting [2022-04-07T23:14:39.251Z] f7c0051592d6: Waiting [2022-04-07T23:14:39.251Z] a227ed2f7395: Waiting [2022-04-07T23:14:39.251Z] 7b1c46037f91: Waiting [2022-04-07T23:14:39.251Z] 3f3a8bcf1eab: Waiting [2022-04-07T23:14:39.251Z] 94645a83ff95: Verifying Checksum [2022-04-07T23:14:39.251Z] 94645a83ff95: Download complete [2022-04-07T23:14:39.251Z] 1a89e8eeedd5: Verifying Checksum [2022-04-07T23:14:39.251Z] 0c92f367c5e7: Verifying Checksum [2022-04-07T23:14:39.251Z] 0c92f367c5e7: Download complete [2022-04-07T23:14:39.251Z] f7c0051592d6: Verifying Checksum [2022-04-07T23:14:39.251Z] f7c0051592d6: Download complete [2022-04-07T23:14:39.251Z] 9b3977197b4f: Download complete [2022-04-07T23:14:39.251Z] a227ed2f7395: Verifying Checksum [2022-04-07T23:14:39.251Z] a227ed2f7395: Download complete [2022-04-07T23:14:39.858Z] 9b3977197b4f: Pull complete [2022-04-07T23:14:40.462Z] 1a89e8eeedd5: Pull complete [2022-04-07T23:14:40.739Z] 94645a83ff95: Pull complete [2022-04-07T23:14:41.345Z] 7b1c46037f91: Verifying Checksum [2022-04-07T23:14:41.345Z] 7b1c46037f91: Download complete [2022-04-07T23:14:41.942Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-07T23:14:41.942Z] 3f3a8bcf1eab: Download complete [2022-04-07T23:14:54.349Z] 3f3a8bcf1eab: Pull complete [2022-04-07T23:14:54.349Z] 0c92f367c5e7: Pull complete [2022-04-07T23:14:54.349Z] f7c0051592d6: Pull complete [2022-04-07T23:14:54.349Z] a227ed2f7395: Pull complete [2022-04-07T23:15:01.077Z] 7b1c46037f91: Pull complete [2022-04-07T23:15:01.077Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-07T23:15:01.077Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-07T23:15:01.077Z] ---> f79e39bc4007 [2022-04-07T23:15:01.077Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-07T23:15:02.076Z] ---> Running in a86a1a431a50 [2022-04-07T23:15:02.076Z] Removing intermediate container a86a1a431a50 [2022-04-07T23:15:02.076Z] ---> 116e1a05069b [2022-04-07T23:15:02.076Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-04-07T23:15:02.076Z] ---> Running in 0dad169aac64 [2022-04-07T23:15:02.351Z] Removing intermediate container 0dad169aac64 [2022-04-07T23:15:02.351Z] ---> 6a42a8a2b335 [2022-04-07T23:15:02.351Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-07T23:15:02.633Z] ---> Running in af46624bc0ed [2022-04-07T23:15:02.906Z] Removing intermediate container af46624bc0ed [2022-04-07T23:15:02.906Z] ---> a2b6c28eeaca [2022-04-07T23:15:02.907Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-07T23:15:02.907Z] ---> Running in ea7388cd6a44 [2022-04-07T23:15:04.894Z] Removing intermediate container ea7388cd6a44 [2022-04-07T23:15:04.894Z] ---> be7eac9bdb4c [2022-04-07T23:15:04.894Z] Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-07T23:15:04.894Z] ---> Running in 76ff21aa1a7c [2022-04-07T23:15:05.492Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-07T23:15:06.474Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-07T23:15:07.458Z] OK: 220 MiB in 52 packages [2022-04-07T23:15:08.061Z] Removing intermediate container 76ff21aa1a7c [2022-04-07T23:15:08.061Z] ---> 5c48ac4796af [2022-04-07T23:15:08.061Z] Step 8/13 : WORKDIR /app [2022-04-07T23:15:08.061Z] ---> Running in b24140ba1e81 [2022-04-07T23:15:08.335Z] Removing intermediate container b24140ba1e81 [2022-04-07T23:15:08.335Z] ---> 805cbc12ef3e [2022-04-07T23:15:08.335Z] Step 9/13 : COPY go.mod vendor* ./ [2022-04-07T23:15:08.935Z] ---> 3815c5c1a58c [2022-04-07T23:15:08.935Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-07T23:15:08.935Z] ---> Running in bb871f743095 [2022-04-07T23:16:30.748Z] Removing intermediate container bb871f743095 [2022-04-07T23:16:30.748Z] ---> cbfcf0640ac1 [2022-04-07T23:16:30.748Z] Step 11/13 : COPY . . [2022-04-07T23:16:30.748Z] ---> 98240f7a986f [2022-04-07T23:16:30.748Z] Step 12/13 : ARG MAKE="make build" [2022-04-07T23:16:30.748Z] ---> Running in 7e49407d7ee3 [2022-04-07T23:16:30.748Z] Removing intermediate container 7e49407d7ee3 [2022-04-07T23:16:30.748Z] ---> 545d2cc36551 [2022-04-07T23:16:30.748Z] Step 13/13 : RUN $MAKE [2022-04-07T23:16:30.748Z] ---> Running in de3a1ee51ad0 [2022-04-07T23:16:30.748Z] noop [2022-04-07T23:16:30.748Z] Removing intermediate container de3a1ee51ad0 [2022-04-07T23:16:30.748Z] ---> ac88b08366fe [2022-04-07T23:16:30.748Z] Successfully built ac88b08366fe [2022-04-07T23:16:30.748Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-07T23:16:31.098Z] + docker inspect -f . ci-base-image-arm64 [2022-04-07T23:16:31.098Z] . [Pipeline] withDockerContainer [2022-04-07T23:16:31.332Z] prd-ubuntu20.04-docker-arm64-4c-16g-11517 does not seem to be running inside a container [2022-04-07T23:16:31.412Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-07T23:16:32.731Z] $ docker top 42f9a6d28cdccf2d99c4ccd735d67dd5e306a366a5e478397825701f501fe86e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-07T23:16:33.638Z] + go version [2022-04-07T23:16:33.638Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-07T23:16:33.667Z] $ docker stop --time=1 42f9a6d28cdccf2d99c4ccd735d67dd5e306a366a5e478397825701f501fe86e [2022-04-07T23:16:35.291Z] $ docker rm -f 42f9a6d28cdccf2d99c4ccd735d67dd5e306a366a5e478397825701f501fe86e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-07T23:16:35.910Z] + docker inspect -f . ci-base-image-arm64 [2022-04-07T23:16:35.910Z] . [Pipeline] withDockerContainer [2022-04-07T23:16:36.140Z] prd-ubuntu20.04-docker-arm64-4c-16g-11517 does not seem to be running inside a container [2022-04-07T23:16:36.233Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-07T23:16:37.547Z] $ docker top b030f239abe801d2dfc85b2d41ff5866d78985199147f27a72d3cf47b8f84af0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-07T23:16:38.468Z] + make test [2022-04-07T23:16:38.468Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-04-07T23:17:25.514Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-04-07T23:17:25.514Z] CGO_ENABLED=1 go vet ./... [2022-04-07T23:17:40.614Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-07T23:17:40.614Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-07T23:17:40.614Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-07T23:17:42.065Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-07T23:17:42.086Z] $ docker stop --time=1 b030f239abe801d2dfc85b2d41ff5866d78985199147f27a72d3cf47b8f84af0 [2022-04-07T23:17:43.865Z] $ docker rm -f b030f239abe801d2dfc85b2d41ff5866d78985199147f27a72d3cf47b8f84af0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-07T23:17:44.654Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-07T23:17:44.675Z] Warning: overwriting stash ‘coverage-report’ [2022-04-07T23:17:45.114Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-07T23:17:45.532Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-07T23:17:45.868Z] + ls -al . [2022-04-07T23:17:45.868Z] total 172 [2022-04-07T23:17:45.868Z] drwxrwxr-x 7 jenkins jenkins 4096 Apr 7 23:17 . [2022-04-07T23:17:45.868Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 23:14 .. [2022-04-07T23:17:45.868Z] -rw-rw-r-- 1 jenkins jenkins 119 Apr 7 23:14 .dockerignore [2022-04-07T23:17:45.868Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 23:14 .git [2022-04-07T23:17:45.868Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 23:14 .github [2022-04-07T23:17:45.868Z] -rw-rw-r-- 1 jenkins jenkins 104 Apr 7 23:14 .gitignore [2022-04-07T23:17:45.868Z] -rw-rw-r-- 1 jenkins jenkins 7627 Apr 7 23:14 Attribution.txt [2022-04-07T23:17:45.868Z] -rw-rw-r-- 1 jenkins jenkins 23791 Apr 7 23:14 CHANGELOG.md [2022-04-07T23:17:45.868Z] -rw-rw-r-- 1 jenkins jenkins 2087 Apr 7 23:14 Dockerfile [2022-04-07T23:17:45.868Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 23:14 GOVERNANCE.md [2022-04-07T23:17:45.868Z] -rw-rw-r-- 1 jenkins jenkins 688 Apr 7 23:14 Jenkinsfile [2022-04-07T23:17:45.868Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 7 23:14 LICENSE [2022-04-07T23:17:45.868Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 7 23:14 OWNERS.md [2022-04-07T23:17:45.868Z] -rw-rw-r-- 1 jenkins jenkins 3860 Apr 7 23:14 README.md [2022-04-07T23:17:45.868Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 23:12 VERSION [2022-04-07T23:17:45.868Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 23:14 bin [2022-04-07T23:17:45.868Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 7 23:16 coverage.out [2022-04-07T23:17:45.868Z] -rw-rw-r-- 1 jenkins jenkins 2816 Apr 7 23:14 go.mod [2022-04-07T23:17:45.868Z] -rw-rw-r-- 1 jenkins jenkins 50335 Apr 7 23:14 go.sum [2022-04-07T23:17:45.868Z] -rw-rw-r-- 1 jenkins jenkins 1949 Apr 7 23:14 main.go [2022-04-07T23:17:45.868Z] -rw-rw-r-- 1 jenkins jenkins 1994 Apr 7 23:14 makefile [2022-04-07T23:17:45.868Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 23:14 res [2022-04-07T23:17:45.868Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 23:14 snap [Pipeline] isUnix [Pipeline] sh [2022-04-07T23:17:46.213Z] + 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=15f9436c573215f48f7d1d7882e26b1e4560d75b --label arch=arm64 --label version=0.0.0 . [2022-04-07T23:17:46.213Z] Sending build context to Docker daemon 211.5kB [2022-04-07T23:17:46.488Z] Step 1/27 : ARG BASE=golang:1.17-alpine3.15 [2022-04-07T23:17:46.488Z] Step 2/27 : FROM ${BASE} AS builder [2022-04-07T23:17:46.488Z] ---> ac88b08366fe [2022-04-07T23:17:46.488Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-07T23:17:46.488Z] ---> Running in ca2e9fdf183c [2022-04-07T23:17:46.763Z] Removing intermediate container ca2e9fdf183c [2022-04-07T23:17:46.763Z] ---> aac0588311ef [2022-04-07T23:17:46.763Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-04-07T23:17:47.050Z] ---> Running in 01177d5e8722 [2022-04-07T23:17:47.325Z] Removing intermediate container 01177d5e8722 [2022-04-07T23:17:47.325Z] ---> 183fa67c7d68 [2022-04-07T23:17:47.325Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-07T23:17:47.325Z] ---> Running in 99e3946802e4 [2022-04-07T23:17:47.600Z] Removing intermediate container 99e3946802e4 [2022-04-07T23:17:47.600Z] ---> 1d2a155ff866 [2022-04-07T23:17:47.600Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-07T23:17:47.600Z] ---> Running in 04618e7364b5 [2022-04-07T23:17:49.581Z] Removing intermediate container 04618e7364b5 [2022-04-07T23:17:49.581Z] ---> c877d5f52f03 [2022-04-07T23:17:49.581Z] Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-07T23:17:49.581Z] ---> Running in b429e9b153fd [2022-04-07T23:17:50.180Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-07T23:17:51.158Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-07T23:17:52.135Z] OK: 220 MiB in 52 packages [2022-04-07T23:17:52.736Z] Removing intermediate container b429e9b153fd [2022-04-07T23:17:52.736Z] ---> 0d1139739036 [2022-04-07T23:17:52.736Z] Step 8/27 : WORKDIR /app [2022-04-07T23:17:52.736Z] ---> Running in 0d81e84246ba [2022-04-07T23:17:53.332Z] Removing intermediate container 0d81e84246ba [2022-04-07T23:17:53.332Z] ---> 98d1b0a88255 [2022-04-07T23:17:53.332Z] Step 9/27 : COPY go.mod vendor* ./ [2022-04-07T23:17:53.614Z] ---> 7c8c7c28948b [2022-04-07T23:17:53.614Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-07T23:17:53.892Z] ---> Running in e2294e45e890 [2022-04-07T23:17:55.892Z] Removing intermediate container e2294e45e890 [2022-04-07T23:17:55.892Z] ---> 125491abd235 [2022-04-07T23:17:55.892Z] Step 11/27 : COPY . . [2022-04-07T23:17:56.493Z] ---> 4b1f7495e448 [2022-04-07T23:17:56.493Z] Step 12/27 : ARG MAKE="make build" [2022-04-07T23:17:56.769Z] ---> Running in 68356b7a8e7a [2022-04-07T23:17:57.043Z] Removing intermediate container 68356b7a8e7a [2022-04-07T23:17:57.043Z] ---> 79fb0c8827c2 [2022-04-07T23:17:57.043Z] Step 13/27 : RUN $MAKE [2022-04-07T23:17:57.043Z] ---> Running in 5b811240bf34 [2022-04-07T23:17:58.028Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable [2022-04-07T23:19:19.924Z] Removing intermediate container 5b811240bf34 [2022-04-07T23:19:19.924Z] ---> 3a7e79f6bfe1 [2022-04-07T23:19:19.924Z] Step 14/27 : FROM alpine:3.14 [2022-04-07T23:19:19.924Z] 3.14: Pulling from library/alpine [2022-04-07T23:19:19.924Z] 455c02918c45: Pulling fs layer [2022-04-07T23:19:19.924Z] 455c02918c45: Verifying Checksum [2022-04-07T23:19:19.924Z] 455c02918c45: Download complete [2022-04-07T23:19:19.924Z] 455c02918c45: Pull complete [2022-04-07T23:19:19.924Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-07T23:19:19.924Z] Status: Downloaded newer image for alpine:3.14 [2022-04-07T23:19:19.924Z] ---> ac73e934f311 [2022-04-07T23:19:19.924Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-07T23:19:19.924Z] ---> Running in ae2c6380461e [2022-04-07T23:19:19.924Z] Removing intermediate container ae2c6380461e [2022-04-07T23:19:19.924Z] ---> c97a6e83eac6 [2022-04-07T23:19:19.924Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2022-04-07T23:19:19.924Z] ---> Running in c708c2872b54 [2022-04-07T23:19:19.924Z] Removing intermediate container c708c2872b54 [2022-04-07T23:19:19.924Z] ---> e557e02e5393 [2022-04-07T23:19:19.924Z] Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-04-07T23:19:19.924Z] ---> Running in 3330ebd22f47 [2022-04-07T23:19:19.924Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-07T23:19:20.203Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-07T23:19:20.799Z] (1/7) Installing ca-certificates (20211220-r0) [2022-04-07T23:19:21.072Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-04-07T23:19:21.072Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-04-07T23:19:21.072Z] (4/7) Installing libsodium (1.0.18-r0) [2022-04-07T23:19:21.072Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-07T23:19:21.072Z] (6/7) Installing libzmq (4.3.4-r0) [2022-04-07T23:19:21.072Z] (7/7) Installing zeromq (4.3.4-r0) [2022-04-07T23:19:21.072Z] Executing busybox-1.33.1-r7.trigger [2022-04-07T23:19:21.345Z] Executing ca-certificates-20211220-r0.trigger [2022-04-07T23:19:21.345Z] OK: 9 MiB in 21 packages [2022-04-07T23:19:22.794Z] Removing intermediate container 3330ebd22f47 [2022-04-07T23:19:22.794Z] ---> b02e463c5514 [2022-04-07T23:19:22.794Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-04-07T23:19:23.066Z] ---> 0a448d0618b9 [2022-04-07T23:19:23.066Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2022-04-07T23:19:23.663Z] ---> e5139ed3b2ea [2022-04-07T23:19:23.663Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2022-04-07T23:19:24.263Z] ---> 3ec0c9b934a9 [2022-04-07T23:19:24.263Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-04-07T23:19:25.711Z] ---> e69e41924f84 [2022-04-07T23:19:25.711Z] Step 22/27 : EXPOSE 48095 [2022-04-07T23:19:25.711Z] ---> Running in 020317fb9ddf [2022-04-07T23:19:25.711Z] Removing intermediate container 020317fb9ddf [2022-04-07T23:19:25.711Z] ---> 402d36761f2d [2022-04-07T23:19:25.711Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2022-04-07T23:19:25.986Z] ---> Running in c0d727003eae [2022-04-07T23:19:26.259Z] Removing intermediate container c0d727003eae [2022-04-07T23:19:26.259Z] ---> 49f560113f30 [2022-04-07T23:19:26.259Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-07T23:19:26.259Z] ---> Running in ac6ed4895927 [2022-04-07T23:19:26.537Z] Removing intermediate container ac6ed4895927 [2022-04-07T23:19:26.537Z] ---> 73c5a84c259f [2022-04-07T23:19:26.537Z] Step 25/27 : LABEL arch=arm64 [2022-04-07T23:19:26.537Z] ---> Running in dfe9bee6be1c [2022-04-07T23:19:26.814Z] Removing intermediate container dfe9bee6be1c [2022-04-07T23:19:26.814Z] ---> 3c9b77555b35 [2022-04-07T23:19:26.814Z] Step 26/27 : LABEL git_sha=15f9436c573215f48f7d1d7882e26b1e4560d75b [2022-04-07T23:19:26.814Z] ---> Running in 7d6ff28e95c3 [2022-04-07T23:19:27.088Z] Removing intermediate container 7d6ff28e95c3 [2022-04-07T23:19:27.362Z] ---> fc00097e4e71 [2022-04-07T23:19:27.362Z] Step 27/27 : LABEL version=0.0.0 [2022-04-07T23:19:27.362Z] ---> Running in 45bf96f0a8ac [2022-04-07T23:19:27.635Z] Removing intermediate container 45bf96f0a8ac [2022-04-07T23:19:27.635Z] ---> 2cb7e05f9483 [2022-04-07T23:19:27.635Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-07T23:19:27.635Z] Successfully built 2cb7e05f9483 [2022-04-07T23:19:27.635Z] 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 [2022-04-07T23:19:28.068Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-07T23:19:28.068Z] [2022-04-07T23:19:28.068Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-07T23:19:28.416Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-07T23:19:28.691Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-07T23:19:28.692Z] 8998bd30e6a1: Pulling fs layer [2022-04-07T23:19:28.692Z] 04944245beec: Pulling fs layer [2022-04-07T23:19:28.692Z] 699f458cf7ca: Pulling fs layer [2022-04-07T23:19:28.692Z] 765212b225bb: Pulling fs layer [2022-04-07T23:19:28.692Z] f23df028b6ca: Pulling fs layer [2022-04-07T23:19:28.692Z] d65c8cfc05b1: Pulling fs layer [2022-04-07T23:19:28.692Z] 2437ff75d9bd: Pulling fs layer [2022-04-07T23:19:28.692Z] f23df028b6ca: Waiting [2022-04-07T23:19:28.692Z] d65c8cfc05b1: Waiting [2022-04-07T23:19:28.692Z] 2437ff75d9bd: Waiting [2022-04-07T23:19:28.692Z] 765212b225bb: Waiting [2022-04-07T23:19:28.692Z] 04944245beec: Verifying Checksum [2022-04-07T23:19:28.692Z] 04944245beec: Download complete [2022-04-07T23:19:28.692Z] 765212b225bb: Verifying Checksum [2022-04-07T23:19:28.692Z] 765212b225bb: Download complete [2022-04-07T23:19:28.692Z] f23df028b6ca: Verifying Checksum [2022-04-07T23:19:28.692Z] f23df028b6ca: Download complete [2022-04-07T23:19:28.692Z] d65c8cfc05b1: Verifying Checksum [2022-04-07T23:19:28.692Z] d65c8cfc05b1: Download complete [2022-04-07T23:19:28.966Z] 699f458cf7ca: Verifying Checksum [2022-04-07T23:19:28.966Z] 699f458cf7ca: Download complete [2022-04-07T23:19:29.241Z] 8998bd30e6a1: Verifying Checksum [2022-04-07T23:19:29.241Z] 8998bd30e6a1: Download complete [2022-04-07T23:19:31.867Z] 2437ff75d9bd: Verifying Checksum [2022-04-07T23:19:31.867Z] 2437ff75d9bd: Download complete [2022-04-07T23:19:33.306Z] 8998bd30e6a1: Pull complete [2022-04-07T23:19:33.904Z] 04944245beec: Pull complete [2022-04-07T23:19:35.341Z] 699f458cf7ca: Pull complete [2022-04-07T23:19:35.615Z] 765212b225bb: Pull complete [2022-04-07T23:19:36.597Z] f23df028b6ca: Pull complete [2022-04-07T23:19:36.597Z] d65c8cfc05b1: Pull complete [2022-04-07T23:19:51.678Z] 2437ff75d9bd: Pull complete [2022-04-07T23:19:51.678Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-07T23:19:51.678Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-07T23:19:51.678Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-07T23:19:51.901Z] prd-ubuntu20.04-docker-arm64-4c-16g-11517 does not seem to be running inside a container [2022-04-07T23:19:51.995Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-07T23:19:54.490Z] $ docker top 4766ac62b06f4e9ccefe117cab0975e1b6c822989a3026798d12fdd06f4087f8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-07T23:19:55.404Z] ---> job-cost.sh [2022-04-07T23:19:55.404Z] lf-activate-venv: SKIPPING [2022-04-07T23:19:55.404Z] INFO: No Stack... [2022-04-07T23:19:55.998Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-07T23:19:56.590Z] INFO: Archiving Costs [Pipeline] sh [2022-04-07T23:19:57.251Z] + cat /w/workspace/app-service-configurable/2/archives/cost.csv [2022-04-07T23:19:57.251Z] + cut -d, -f6 [Pipeline] lock [2022-04-07T23:19:57.315Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-396-2-stack-cost] [2022-04-07T23:19:57.323Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-396-2-stack-cost] did not exist. Created. [2022-04-07T23:19:57.323Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-396-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-07T23:19:58.006Z] /w/workspace/app-service-configurable/2@tmp/durable-3a3b4930/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-07T23:19:58.685Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-07T23:19:58.711Z] Warning: overwriting stash ‘stack-cost’ [2022-04-07T23:19:58.768Z] Stashed 1 file(s) [Pipeline] } [2022-04-07T23:19:58.776Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-396-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-07T23:19:58.803Z] $ docker stop --time=1 4766ac62b06f4e9ccefe117cab0975e1b6c822989a3026798d12fdd06f4087f8 [2022-04-07T23:20:00.314Z] $ docker rm -f 4766ac62b06f4e9ccefe117cab0975e1b6c822989a3026798d12fdd06f4087f8 [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 [2022-04-07T23:20:00.804Z] provisioning config files... [2022-04-07T23:20:00.812Z] copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-396@tmp/config9132665435216439211tmp [Pipeline] { [Pipeline] sh [2022-04-07T23:20:01.115Z] + set +x [2022-04-07T23:20:01.115Z] + curl -s https://codecov.io/bash [2022-04-07T23:20:01.115Z] + bash -s -- [2022-04-07T23:20:01.115Z] [2022-04-07T23:20:01.115Z] _____ _ [2022-04-07T23:20:01.115Z] / ____| | | [2022-04-07T23:20:01.115Z] | | ___ __| | ___ ___ _____ __ [2022-04-07T23:20:01.115Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-07T23:20:01.115Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-07T23:20:01.115Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-07T23:20:01.115Z] Bash-1.0.6 [2022-04-07T23:20:01.115Z] [2022-04-07T23:20:01.115Z] [2022-04-07T23:20:01.115Z] ==> git version 2.25.1 found [2022-04-07T23:20:01.115Z] ==> 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 [2022-04-07T23:20:01.115Z] Release-Date: 2020-01-08 [2022-04-07T23:20:01.115Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-07T23:20:01.115Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-07T23:20:01.115Z] ==> Jenkins CI detected. [2022-04-07T23:20:01.115Z] current dir:  /w/workspace/_app-service-configurable_PR-396 [2022-04-07T23:20:01.115Z] project root: . [2022-04-07T23:20:01.115Z] --> token set from env [2022-04-07T23:20:01.115Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-07T23:20:01.115Z] ==> Running gcov in . (disable via -X gcov) [2022-04-07T23:20:01.115Z] ==> Python coveragepy not found [2022-04-07T23:20:01.115Z] ==> Searching for coverage reports in: [2022-04-07T23:20:01.115Z] + . [2022-04-07T23:20:01.115Z] -> Found 1 reports [2022-04-07T23:20:01.115Z] ==> Detecting git/mercurial file structure [2022-04-07T23:20:01.377Z] ==> Reading reports [2022-04-07T23:20:01.377Z] + ./coverage.out bytes=10 [2022-04-07T23:20:01.378Z] ==> Appending adjustments [2022-04-07T23:20:01.378Z] https://docs.codecov.io/docs/fixing-reports [2022-04-07T23:20:01.378Z] + Found adjustments [2022-04-07T23:20:01.378Z] ==> Gzipping contents [2022-04-07T23:20:01.378Z] 4.0K /tmp/codecov.WSZPO8.gz [2022-04-07T23:20:01.378Z] ==> Uploading reports [2022-04-07T23:20:01.378Z] url: https://codecov.io [2022-04-07T23:20:01.378Z] query: branch=PR-396&commit=15f9436c573215f48f7d1d7882e26b1e4560d75b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-396%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=396&job=&cmd_args= [2022-04-07T23:20:01.378Z] -> Pinging Codecov [2022-04-07T23:20:01.378Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-396&commit=15f9436c573215f48f7d1d7882e26b1e4560d75b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-396%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=396&job=&cmd_args= [2022-04-07T23:20:01.641Z] -> Uploading to [2022-04-07T23:20:01.641Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-07/A97CA9966030D2A3747ED39772930CCE/15f9436c573215f48f7d1d7882e26b1e4560d75b/817e1871-6f22-474d-a961-85235635dcb6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220407T232001Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=04f17ae861903ff4528b23c441f314b2a233fe4c1b7ac8031f23e137e8aadd46 [2022-04-07T23:20:01.641Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-07T23:20:01.641Z] Dload Upload Total Spent Left Speed [2022-04-07T23:20:01.902Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 569 0 0 100 569 0 2370 --:--:-- --:--:-- --:--:-- 2370 [2022-04-07T23:20:01.902Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/15f9436c573215f48f7d1d7882e26b1e4560d75b [Pipeline] } [2022-04-07T23:20:01.912Z] 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 [2022-04-07T23:20:02.747Z] + [ -d /w/workspace/_app-service-configurable_PR-396/archives ] [2022-04-07T23:20:02.747Z] + ls -al /w/workspace/_app-service-configurable_PR-396/archives [2022-04-07T23:20:02.747Z] total 16 [2022-04-07T23:20:02.747Z] drwxr-xr-x 3 root root 4096 Apr 7 23:13 . [2022-04-07T23:20:02.747Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 23:13 .. [2022-04-07T23:20:02.747Z] drwxr-xr-x 2 root root 4096 Apr 7 23:13 cost [2022-04-07T23:20:02.747Z] -rw-r--r-- 1 root root 95 Apr 7 23:13 cost.csv [2022-04-07T23:20:02.747Z] + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-396/archives [2022-04-07T23:20:02.747Z] + ls -al /w/workspace/_app-service-configurable_PR-396/archives [2022-04-07T23:20:02.747Z] total 16 [2022-04-07T23:20:02.747Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 23:13 . [2022-04-07T23:20:02.747Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 23:13 .. [2022-04-07T23:20:02.747Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 23:13 cost [2022-04-07T23:20:02.747Z] -rw-r--r-- 1 jenkins jenkins 95 Apr 7 23:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-07T23:20:03.101Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-07T23:20:03.702Z] ---> package-listing.sh [2022-04-07T23:20:03.702Z] ++ facter osfamily [2022-04-07T23:20:03.702Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-07T23:20:03.963Z] + OS_FAMILY=debian [2022-04-07T23:20:03.963Z] + workspace=/w/workspace/_app-service-configurable_PR-396 [2022-04-07T23:20:03.963Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-07T23:20:03.963Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-07T23:20:03.963Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-07T23:20:03.963Z] + PACKAGES=/tmp/packages_start.txt [2022-04-07T23:20:03.963Z] + '[' /w/workspace/_app-service-configurable_PR-396 ']' [2022-04-07T23:20:03.963Z] + PACKAGES=/tmp/packages_end.txt [2022-04-07T23:20:03.963Z] + case "${OS_FAMILY}" in [2022-04-07T23:20:03.963Z] + dpkg -l [2022-04-07T23:20:03.963Z] + grep '^ii' [2022-04-07T23:20:03.963Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-07T23:20:03.963Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-07T23:20:03.963Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-07T23:20:03.963Z] + '[' /w/workspace/_app-service-configurable_PR-396 ']' [2022-04-07T23:20:03.963Z] + mkdir -p /w/workspace/_app-service-configurable_PR-396/archives/ [2022-04-07T23:20:03.963Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-396/archives/ [Pipeline] echo [2022-04-07T23:20:03.977Z] 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-396/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-07T23:20:04.260Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-07T23:20:04.823Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-07T23:20:04.823Z] . [Pipeline] withDockerContainer [2022-04-07T23:20:04.893Z] prd-ubuntu20.04-docker-8c-8g-11516 does not seem to be running inside a container [2022-04-07T23:20:04.931Z] $ 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-396/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-396 -v /w/workspace/_app-service-configurable_PR-396:/w/workspace/_app-service-configurable_PR-396:rw,z -v /w/workspace/_app-service-configurable_PR-396@tmp:/w/workspace/_app-service-configurable_PR-396@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 [2022-04-07T23:20:05.144Z] $ docker top 0b61914669d75c853aabe4b445098cb7482234158f57425f88a6bbf1cda114f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-07T23:20:05.510Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-07T23:20:05.798Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-07T23:20:06.087Z] + ls /var/log/sa-host [2022-04-07T23:20:06.087Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-07T23:20:06.310Z] provisioning config files... [2022-04-07T23:20:06.320Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-396@tmp/config6049355175213989641tmp [Pipeline] { [Pipeline] echo [2022-04-07T23:20:06.336Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-07T23:20:06.626Z] ---> create-netrc.sh [Pipeline] } [2022-04-07T23:20:06.634Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-07T23:20:06.971Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-07T23:20:06.980Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-07T23:20:07.261Z] ---> sudo-logs.sh [2022-04-07T23:20:07.261Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-07T23:20:07.288Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-07T23:20:07.573Z] ---> job-cost.sh [2022-04-07T23:20:07.573Z] lf-activate-venv: SKIPPING [2022-04-07T23:20:07.573Z] DEBUG: total: 0.2199999988079071 [2022-04-07T23:20:07.573Z] INFO: Retrieving Stack Cost... [2022-04-07T23:20:08.144Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-07T23:20:08.406Z] INFO: Archiving Costs [Pipeline] echo [2022-04-07T23:20:08.419Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-07T23:20:08.707Z] ---> logs-deploy.sh [2022-04-07T23:20:08.707Z] lf-activate-venv: SKIPPING [2022-04-07T23:20:08.707Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-396/2 [2022-04-07T23:20:08.707Z] INFO: archiving workspace using pattern(s): [2022-04-07T23:20:09.646Z] Archives upload complete. [2022-04-07T23:20:09.646Z] INFO: archiving logs to Nexus