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 23:11:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:11:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:11:58 ========================================================= 23:11:58 EdgeX Global Pipelines Version Info 23:11:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:11:58 ------------------- 23:11:58 stable info: 23:11:58 ------------------- 23:11:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:11:58 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 23:11:58 Message: update stable to v1.0.221 23:11:59 ------------------- 23:11:59 experimental info: 23:11:59 ------------------- 23:11:59 Commited By: **** collab-it+edgex@linuxfoundation.org 23:11:59 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 23:11:59 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:11:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 23:11:59 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 23:11:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:11:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:11:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:11:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 23:11:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:11:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:11:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:11:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:11:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:11:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 23:11:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:11:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:11:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:11:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:11:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:11:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:11:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:11:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:11:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:11:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:11:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:11:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:11:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:12:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:12:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-396 [Pipeline] echo 23:12:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-396 [Pipeline] echo 23:12:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-396 [Pipeline] echo 23:12:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 15f9436c573215f48f7d1d7882e26b1e4560d75b [Pipeline] echo 23:12:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 15f9436 [Pipeline] echo 23:12:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:12:00 provisioning config files... 23:12:00 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-396@tmp/config992102098183223073tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:12:00 ---> docker-login.sh 23:12:00 nexus3.edgexfoundry.org:10001 23:12:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:00 Configure a credential helper to remove this warning. See 23:12:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:00 23:12:00 Login Succeeded 23:12:00 nexus3.edgexfoundry.org:10002 23:12:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:00 Configure a credential helper to remove this warning. See 23:12:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:00 23:12:00 Login Succeeded 23:12:00 nexus3.edgexfoundry.org:10003 23:12:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:00 Configure a credential helper to remove this warning. See 23:12:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:00 23:12:00 Login Succeeded 23:12:00 nexus3.edgexfoundry.org:10004 23:12:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:01 Configure a credential helper to remove this warning. See 23:12:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:01 23:12:01 Login Succeeded 23:12:01 docker.io 23:12:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:01 Configure a credential helper to remove this warning. See 23:12:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:01 23:12:01 Login Succeeded 23:12:01 ---> docker-login.sh ends [Pipeline] } 23:12:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:12:02 + git rev-list -1 --merges 15f9436c573215f48f7d1d7882e26b1e4560d75b~1..15f9436c573215f48f7d1d7882e26b1e4560d75b [Pipeline] echo 23:12:02 -----------> git rev-list -1 --merges 15f9436c573215f48f7d1d7882e26b1e4560d75b~1..15f9436c573215f48f7d1d7882e26b1e4560d75b 15f9436c573215f48f7d1d7882e26b1e4560d75b [false] [Pipeline] sh 23:12:02 + git log --format=format:%s -1 15f9436c573215f48f7d1d7882e26b1e4560d75b [Pipeline] echo 23:12:02 ========================================================= 23:12:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:12:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:12:02 + git log --format=format:%s -1 15f9436c573215f48f7d1d7882e26b1e4560d75b [Pipeline] echo 23:12:02 [semverPrep] GIT_COMMIT: 15f9436c573215f48f7d1d7882e26b1e4560d75b, Commit Message: feat: added buildmode=pie and -linkmode per review comment [Pipeline] echo 23:12:03 [semverPrep] This is not a build commit. [Pipeline] sh 23:12:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:12:03 + grep -v github /etc/ssh/ssh_known_hosts 23:12:03 + [ -e /tmp/ssh_known_hosts ] 23:12:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:12:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:12:03 + sudo tee -a /etc/ssh/ssh_known_hosts 23:12:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 23:12:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:12:03 23:12:03 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:12:04 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:12:04 latest: Pulling from edgex-devops/git-semver 23:12:04 a0d0a0d46f8b: Pulling fs layer 23:12:04 3e5f54012d9b: Pulling fs layer 23:12:04 4c7163046ea9: Pulling fs layer 23:12:04 0c2d73faf560: Pulling fs layer 23:12:04 0c2d73faf560: Waiting 23:12:04 3e5f54012d9b: Verifying Checksum 23:12:04 3e5f54012d9b: Download complete 23:12:04 a0d0a0d46f8b: Verifying Checksum 23:12:04 a0d0a0d46f8b: Download complete 23:12:04 4c7163046ea9: Verifying Checksum 23:12:04 4c7163046ea9: Download complete 23:12:04 0c2d73faf560: Verifying Checksum 23:12:04 0c2d73faf560: Download complete 23:12:04 a0d0a0d46f8b: Pull complete 23:12:04 3e5f54012d9b: Pull complete 23:12:04 4c7163046ea9: Pull complete 23:12:04 0c2d73faf560: Pull complete 23:12:04 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 23:12:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:12:04 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:12:05 prd-ubuntu20.04-docker-8c-8g-11516 does not seem to be running inside a container 23:12:05 $ 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 23:12:05 $ docker top b9fd577e2bd356c13be756236a857772a329cbe941c673318aa44cbd051aa025 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:12:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:12:05 [ssh-agent] Looking for ssh-agent implementation... 23:12:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:12:06 $ docker exec b9fd577e2bd356c13be756236a857772a329cbe941c673318aa44cbd051aa025 ssh-agent 23:12:06 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlBnFpH/agent.14 23:12:06 SSH_AGENT_PID=20 23:12:06 Running ssh-add (command line suppressed) 23:12:06 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) 23:12:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:12:06 + git tag --points-at HEAD [Pipeline] } 23:12:06 $ docker exec --env ******** --env ******** b9fd577e2bd356c13be756236a857772a329cbe941c673318aa44cbd051aa025 ssh-agent -k 23:12:06 unset SSH_AUTH_SOCK; 23:12:06 unset SSH_AGENT_PID; 23:12:06 echo Agent pid 20 killed; 23:12:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:12:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:12:06 [ssh-agent] Looking for ssh-agent implementation... 23:12:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:12:06 $ docker exec b9fd577e2bd356c13be756236a857772a329cbe941c673318aa44cbd051aa025 ssh-agent 23:12:07 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjeIOHH/agent.53 23:12:07 SSH_AGENT_PID=60 23:12:07 Running ssh-add (command line suppressed) 23:12:07 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) 23:12:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:12:07 + git semver init 23:12:07 # -> Open(): unable to determine branch for HEAD 23:12:07 # $GIT_DIR = /w/workspace/_app-service-configurable_PR-396/.git 23:12:07 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-396 23:12:07 # $SEMVER_REMOTE_NAME = origin 23:12:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:12:07 # $SEMVER_USER_NAME = edgex-jenkins 23:12:07 # $SEMVER_BRANCH = PR-396 23:12:07 # $SEMVER_TEMP = /tmp/semver-029156594 23:12:07 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 23:12:08 # '/tmp/semver-029156594' -> '/w/workspace/_app-service-configurable_PR-396/.semver' 23:12:08 # -> Force: false 23:12:08 # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-396/.semver [Pipeline] } 23:12:08 $ docker exec --env ******** --env ******** b9fd577e2bd356c13be756236a857772a329cbe941c673318aa44cbd051aa025 ssh-agent -k 23:12:08 unset SSH_AUTH_SOCK; 23:12:08 unset SSH_AGENT_PID; 23:12:08 echo Agent pid 60 killed; 23:12:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:12:08 + git semver [Pipeline] } 23:12:08 $ docker stop --time=1 b9fd577e2bd356c13be756236a857772a329cbe941c673318aa44cbd051aa025 23:12:10 $ docker rm -f b9fd577e2bd356c13be756236a857772a329cbe941c673318aa44cbd051aa025 [Pipeline] // withDockerContainer [Pipeline] sh 23:12:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:12:10 Stashed 1 file(s) [Pipeline] echo 23:12:10 [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 23:12:11 provisioning config files... 23:12:11 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-396@tmp/config7199980010397570977tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:12:11 ---> docker-login.sh 23:12:11 nexus3.edgexfoundry.org:10001 23:12:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:11 Configure a credential helper to remove this warning. See 23:12:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:11 23:12:11 Login Succeeded 23:12:11 nexus3.edgexfoundry.org:10002 23:12:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:11 Configure a credential helper to remove this warning. See 23:12:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:11 23:12:11 Login Succeeded 23:12:11 nexus3.edgexfoundry.org:10003 23:12:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:11 Configure a credential helper to remove this warning. See 23:12:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:11 23:12:11 Login Succeeded 23:12:11 nexus3.edgexfoundry.org:10004 23:12:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:11 Configure a credential helper to remove this warning. See 23:12:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:11 23:12:11 Login Succeeded 23:12:11 docker.io 23:12:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:12 Configure a credential helper to remove this warning. See 23:12:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:12 23:12:12 Login Succeeded 23:12:12 ---> docker-login.sh ends [Pipeline] } 23:12:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:12:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:12:12 ========================================================= 23:12:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 23:12:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:12:12 + 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 . 23:12:12 Sending build context to Docker daemon 3.001MB 23:12:12 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 23:12:12 Step 2/13 : FROM ${BASE} AS builder 23:12:12 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 23:12:12 59bf1c3509f3: Pulling fs layer 23:12:12 666ba61612fd: Pulling fs layer 23:12:12 8ed8ca486205: Pulling fs layer 23:12:12 4fe6c5a15a65: Pulling fs layer 23:12:12 22a0e8bec74d: Pulling fs layer 23:12:12 640e595b4fbd: Pulling fs layer 23:12:12 763cafe07f6e: Pulling fs layer 23:12:12 0c0b528cf693: Pulling fs layer 23:12:12 10935f4eaf8b: Pulling fs layer 23:12:12 4fe6c5a15a65: Waiting 23:12:12 22a0e8bec74d: Waiting 23:12:12 640e595b4fbd: Waiting 23:12:12 763cafe07f6e: Waiting 23:12:12 0c0b528cf693: Waiting 23:12:12 10935f4eaf8b: Waiting 23:12:12 8ed8ca486205: Verifying Checksum 23:12:12 8ed8ca486205: Download complete 23:12:12 666ba61612fd: Verifying Checksum 23:12:12 666ba61612fd: Download complete 23:12:12 22a0e8bec74d: Download complete 23:12:12 640e595b4fbd: Verifying Checksum 23:12:12 640e595b4fbd: Download complete 23:12:12 59bf1c3509f3: Download complete 23:12:12 763cafe07f6e: Verifying Checksum 23:12:12 763cafe07f6e: Download complete 23:12:12 0c0b528cf693: Verifying Checksum 23:12:12 0c0b528cf693: Download complete 23:12:12 59bf1c3509f3: Pull complete 23:12:13 666ba61612fd: Pull complete 23:12:13 8ed8ca486205: Pull complete 23:12:13 10935f4eaf8b: Verifying Checksum 23:12:13 10935f4eaf8b: Download complete 23:12:13 4fe6c5a15a65: Verifying Checksum 23:12:13 4fe6c5a15a65: Download complete 23:12:17 4fe6c5a15a65: Pull complete 23:12:17 22a0e8bec74d: Pull complete 23:12:17 640e595b4fbd: Pull complete 23:12:17 763cafe07f6e: Pull complete 23:12:17 0c0b528cf693: Pull complete 23:12:20 10935f4eaf8b: Pull complete 23:12:20 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 23:12:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 23:12:20 ---> 99d49a6021b9 23:12:20 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 23:12:21 ---> Running in 1da0e8dc4c90 23:12:21 Removing intermediate container 1da0e8dc4c90 23:12:21 ---> 58045acdaab5 23:12:21 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 23:12:21 ---> Running in b1409f32d3e9 23:12:22 Removing intermediate container b1409f32d3e9 23:12:22 ---> 12b7b82f3b31 23:12:22 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 23:12:22 ---> Running in ed3d2835a0cc 23:12:22 Removing intermediate container ed3d2835a0cc 23:12:22 ---> 77039b476e78 23:12:22 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:12:22 ---> Running in 6ef3300c73be 23:12:23 Removing intermediate container 6ef3300c73be 23:12:23 ---> 4c133bfc1d61 23:12:23 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:12:23 ---> Running in 407eb632d27e 23:12:23 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:12:24 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:12:24 OK: 221 MiB in 52 packages 23:12:24 Removing intermediate container 407eb632d27e 23:12:24 ---> 4a727747624d 23:12:24 Step 8/13 : WORKDIR /app 23:12:25 ---> Running in 7dd4780b259b 23:12:25 Removing intermediate container 7dd4780b259b 23:12:25 ---> c6604fed241e 23:12:25 Step 9/13 : COPY go.mod vendor* ./ 23:12:25 ---> b725748a7e48 23:12:25 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:12:25 ---> Running in 3047889aa94c 23:12:25 Still waiting to schedule task 23:12:25 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:12:52 Removing intermediate container 3047889aa94c 23:12:52 ---> 623ddc8a9da9 23:12:52 Step 11/13 : COPY . . 23:12:52 ---> 0489a36628a4 23:12:52 Step 12/13 : ARG MAKE="make build" 23:12:52 ---> Running in 159971a1968b 23:12:52 Removing intermediate container 159971a1968b 23:12:52 ---> 5c0d2013635a 23:12:52 Step 13/13 : RUN $MAKE 23:12:52 ---> Running in 6598826916a4 23:12:52 noop 23:12:52 Removing intermediate container 6598826916a4 23:12:52 ---> e404ee40ce95 23:12:52 Successfully built e404ee40ce95 23:12:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:12:52 + docker inspect -f . ci-base-image-x86_64 23:12:52 . [Pipeline] withDockerContainer 23:12:52 prd-ubuntu20.04-docker-8c-8g-11516 does not seem to be running inside a container 23:12:52 $ 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 23:12:52 $ docker top 90c969d5f497321759e5e3fdc7a3039f506669f8761038895f2d49ef52d48f10 -eo pid,comm [Pipeline] { [Pipeline] sh 23:12:53 + go version 23:12:53 go version go1.17.6 linux/amd64 [Pipeline] } 23:12:53 $ docker stop --time=1 90c969d5f497321759e5e3fdc7a3039f506669f8761038895f2d49ef52d48f10 23:12:54 $ docker rm -f 90c969d5f497321759e5e3fdc7a3039f506669f8761038895f2d49ef52d48f10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:12:54 + docker inspect -f . ci-base-image-x86_64 23:12:54 . [Pipeline] withDockerContainer 23:12:54 prd-ubuntu20.04-docker-8c-8g-11516 does not seem to be running inside a container 23:12:55 $ 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 23:12:55 $ docker top 86ba12f0284ad2d1f1cad72df73c191f80abb554636bc9954b2477c3fa58781d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:12:55 + make test 23:12:55 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 23:13:02 ? github.com/edgexfoundry/app-service-configurable [no test files] 23:13:02 CGO_ENABLED=1 go vet ./... 23:13:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:13:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:13:04 ./bin/test-attribution-txt.sh [Pipeline] echo 23:13:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:13:05 $ docker stop --time=1 86ba12f0284ad2d1f1cad72df73c191f80abb554636bc9954b2477c3fa58781d 23:13:07 $ docker rm -f 86ba12f0284ad2d1f1cad72df73c191f80abb554636bc9954b2477c3fa58781d [Pipeline] // withDockerContainer [Pipeline] sh 23:13:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:13:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:13:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:13:08 + ls -al . 23:13:08 total 176 23:13:08 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 23:13 . 23:13:08 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 23:11 .. 23:13:08 -rw-rw-r-- 1 jenkins jenkins 119 Apr 7 23:11 .dockerignore 23:13:08 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 23:11 .git 23:13:08 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 23:11 .github 23:13:08 -rw-rw-r-- 1 jenkins jenkins 104 Apr 7 23:11 .gitignore 23:13:08 drwx------ 3 jenkins jenkins 4096 Apr 7 23:12 .semver 23:13:08 -rw-rw-r-- 1 jenkins jenkins 7627 Apr 7 23:11 Attribution.txt 23:13:08 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 7 23:11 CHANGELOG.md 23:13:08 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 7 23:11 Dockerfile 23:13:08 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 23:11 GOVERNANCE.md 23:13:08 -rw-rw-r-- 1 jenkins jenkins 688 Apr 7 23:11 Jenkinsfile 23:13:08 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 7 23:11 LICENSE 23:13:08 -rw-rw-r-- 1 jenkins jenkins 618 Apr 7 23:11 OWNERS.md 23:13:08 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 7 23:11 README.md 23:13:08 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 23:12 VERSION 23:13:08 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 23:11 bin 23:13:08 -rw-r--r-- 1 jenkins jenkins 10 Apr 7 23:12 coverage.out 23:13:08 -rw-rw-r-- 1 jenkins jenkins 2816 Apr 7 23:11 go.mod 23:13:08 -rw-rw-r-- 1 jenkins jenkins 50335 Apr 7 23:11 go.sum 23:13:08 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 7 23:11 main.go 23:13:08 -rw-rw-r-- 1 jenkins jenkins 1994 Apr 7 23:11 makefile 23:13:08 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 23:11 res 23:13:08 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 23:11 snap [Pipeline] isUnix [Pipeline] sh 23:13:09 + 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 . 23:13:09 Sending build context to Docker daemon 3.002MB 23:13:09 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 23:13:09 Step 2/27 : FROM ${BASE} AS builder 23:13:09 ---> e404ee40ce95 23:13:09 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 23:13:09 ---> Running in 38012f7f9a3c 23:13:09 Removing intermediate container 38012f7f9a3c 23:13:09 ---> c56bd96b82cd 23:13:09 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 23:13:09 ---> Running in 2192ade91609 23:13:09 Removing intermediate container 2192ade91609 23:13:09 ---> dc1d0508cf61 23:13:09 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 23:13:09 ---> Running in d003e3e47265 23:13:09 Removing intermediate container d003e3e47265 23:13:09 ---> e91575bf634b 23:13:09 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:13:09 ---> Running in 036615e97183 23:13:10 Removing intermediate container 036615e97183 23:13:10 ---> ab4c1de1fd74 23:13:10 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:13:10 ---> Running in 926012380e82 23:13:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:13:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:13:11 OK: 221 MiB in 52 packages 23:13:11 Removing intermediate container 926012380e82 23:13:11 ---> afaee09305cb 23:13:11 Step 8/27 : WORKDIR /app 23:13:11 ---> Running in 8b4d4ef5e865 23:13:11 Removing intermediate container 8b4d4ef5e865 23:13:11 ---> a76c785c6b10 23:13:11 Step 9/27 : COPY go.mod vendor* ./ 23:13:11 ---> 3e4e44015837 23:13:11 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:13:12 ---> Running in 673277ed1b35 23:13:12 Removing intermediate container 673277ed1b35 23:13:12 ---> fce988cfe055 23:13:12 Step 11/27 : COPY . . 23:13:13 ---> fc4d80530c45 23:13:13 Step 12/27 : ARG MAKE="make build" 23:13:13 ---> Running in 92d31d36540b 23:13:13 Removing intermediate container 92d31d36540b 23:13:13 ---> ed33a8c69bd1 23:13:13 Step 13/27 : RUN $MAKE 23:13:13 ---> Running in ef959e5d507c 23:13:13 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 23:13:28 Removing intermediate container ef959e5d507c 23:13:28 ---> 56853807af08 23:13:28 Step 14/27 : FROM alpine:3.14 23:13:28 3.14: Pulling from library/alpine 23:13:29 8663204ce13b: Pulling fs layer 23:13:29 8663204ce13b: Download complete 23:13:29 8663204ce13b: Pull complete 23:13:29 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 23:13:29 Status: Downloaded newer image for alpine:3.14 23:13:29 ---> e04c818066af 23:13:29 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 23:13:29 ---> Running in 52518fcba596 23:13:29 Removing intermediate container 52518fcba596 23:13:29 ---> 7dc8ba38dd96 23:13:29 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 23:13:29 ---> Running in 60cfe095befd 23:13:29 Removing intermediate container 60cfe095befd 23:13:29 ---> 46e4eacf8140 23:13:29 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 23:13:29 ---> Running in 0802cb797848 23:13:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:13:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:13:30 (1/7) Installing ca-certificates (20211220-r0) 23:13:30 (2/7) Installing dumb-init (1.2.5-r1) 23:13:30 (3/7) Installing libgcc (10.3.1_git20210424-r2) 23:13:30 (4/7) Installing libsodium (1.0.18-r0) 23:13:30 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 23:13:30 (6/7) Installing libzmq (4.3.4-r0) 23:13:30 (7/7) Installing zeromq (4.3.4-r0) 23:13:30 Executing busybox-1.33.1-r7.trigger 23:13:30 Executing ca-certificates-20211220-r0.trigger 23:13:30 OK: 9 MiB in 21 packages 23:13:31 Removing intermediate container 0802cb797848 23:13:31 ---> 5854d51eb288 23:13:31 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 23:13:31 ---> cb9fdfb1f4e5 23:13:31 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 23:13:31 ---> e0d3a4a46512 23:13:31 Step 20/27 : COPY --from=builder /app/res/ /res/ 23:13:31 ---> 11197897188a 23:13:31 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 23:13:32 ---> 29ec007fa617 23:13:32 Step 22/27 : EXPOSE 48095 23:13:32 ---> Running in 00ab7c43d195 23:13:32 Removing intermediate container 00ab7c43d195 23:13:32 ---> c078f21341d1 23:13:32 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 23:13:32 ---> Running in 5cbd5d1b646d 23:13:32 Removing intermediate container 5cbd5d1b646d 23:13:32 ---> e471b3a17cc3 23:13:32 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:13:32 ---> Running in b133893f15ba 23:13:32 Removing intermediate container b133893f15ba 23:13:32 ---> 76d540d215a2 23:13:32 Step 25/27 : LABEL arch=amd64 23:13:32 ---> Running in 3b774c8be732 23:13:32 Removing intermediate container 3b774c8be732 23:13:32 ---> 8bdbbcf10090 23:13:32 Step 26/27 : LABEL git_sha=15f9436c573215f48f7d1d7882e26b1e4560d75b 23:13:32 ---> Running in e4c27d151be4 23:13:32 Removing intermediate container e4c27d151be4 23:13:32 ---> 042ac6622b40 23:13:32 Step 27/27 : LABEL version=0.0.0 23:13:32 ---> Running in 98811600f2ee 23:13:32 Removing intermediate container 98811600f2ee 23:13:32 ---> 1e4b89e66e86 23:13:32 [Warning] One or more build-args [ARCH] were not consumed 23:13:32 Successfully built 1e4b89e66e86 23:13:32 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 23:13:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:13:32 23:13:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:13:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:13:33 latest: Pulling from edgex-lftools-log-publisher 23:13:33 5eb5b503b376: Pulling fs layer 23:13:33 5c69ac0246d0: Pulling fs layer 23:13:33 ec43610c2a17: Pulling fs layer 23:13:33 3a2ae6a8a46f: Pulling fs layer 23:13:33 33b1e0a273af: Pulling fs layer 23:13:33 5d3b04190fa2: Pulling fs layer 23:13:33 2f39f015ded8: Pulling fs layer 23:13:33 33b1e0a273af: Waiting 23:13:33 5d3b04190fa2: Waiting 23:13:33 2f39f015ded8: Waiting 23:13:33 3a2ae6a8a46f: Waiting 23:13:33 5c69ac0246d0: Verifying Checksum 23:13:33 5c69ac0246d0: Download complete 23:13:33 3a2ae6a8a46f: Download complete 23:13:33 33b1e0a273af: Verifying Checksum 23:13:33 33b1e0a273af: Download complete 23:13:33 ec43610c2a17: Verifying Checksum 23:13:33 ec43610c2a17: Download complete 23:13:33 5d3b04190fa2: Verifying Checksum 23:13:33 5d3b04190fa2: Download complete 23:13:33 5eb5b503b376: Verifying Checksum 23:13:33 5eb5b503b376: Download complete 23:13:34 2f39f015ded8: Download complete 23:13:34 5eb5b503b376: Pull complete 23:13:34 5c69ac0246d0: Pull complete 23:13:35 ec43610c2a17: Pull complete 23:13:35 3a2ae6a8a46f: Pull complete 23:13:35 33b1e0a273af: Pull complete 23:13:35 5d3b04190fa2: Pull complete 23:13:39 2f39f015ded8: Pull complete 23:13:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:13:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:13:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:13:39 prd-ubuntu20.04-docker-8c-8g-11516 does not seem to be running inside a container 23:13:39 $ 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 23:13:41 $ docker top df1acba820f6084f70f76f65c05a6960570e2926dacf87f24cbcd81eb16a6c13 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:13:41 ---> job-cost.sh 23:13:41 lf-activate-venv: SKIPPING 23:13:41 INFO: No Stack... 23:13:42 INFO: Retrieving Pricing Info for: v3-standard-8 23:13:42 INFO: Archiving Costs [Pipeline] sh 23:13:43 + cat /w/workspace/_app-service-configurable_PR-396/archives/cost.csv 23:13:43 + cut -d, -f6 [Pipeline] lock 23:13:43 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-396-2-stack-cost] 23:13:43 Resource [jenkins-edgexfoundry-app-service-configurable-PR-396-2-stack-cost] did not exist. Created. 23:13:43 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-396-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:13:43 + echo total: 0.2199999988079071 [Pipeline] stash 23:13:43 Stashed 1 file(s) [Pipeline] } 23:13:43 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-396-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:13:43 $ docker stop --time=1 df1acba820f6084f70f76f65c05a6960570e2926dacf87f24cbcd81eb16a6c13 23:13:44 $ docker rm -f df1acba820f6084f70f76f65c05a6960570e2926dacf87f24cbcd81eb16a6c13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:13:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11517 in /w/workspace/_app-service-configurable_PR-396 [Pipeline] { [Pipeline] ws 23:13:58 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 23:13:58 Selected Git installation does not exist. Using Default 23:13:58 The recommended git tool is: NONE 23:14:05 using credential edgex-jenkins-ssh 23:14:05 Cloning the remote Git repository 23:14:06 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 23:14:06 > git init /w/workspace/app-service-configurable/2 # timeout=10 23:14:06 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 23:14:06 > git --version # timeout=10 23:14:06 > git --version # 'git version 2.25.1' 23:14:06 using GIT_SSH to set credentials SSH Credentials for GitHub 23:14:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:14:08 Merging remotes/origin/main commit 4190c6fd5c33f3107dc794a5b34667c4978bc33f into PR head commit 15f9436c573215f48f7d1d7882e26b1e4560d75b 23:14:08 Merge succeeded, producing 15f9436c573215f48f7d1d7882e26b1e4560d75b 23:14:08 Checking out Revision 15f9436c573215f48f7d1d7882e26b1e4560d75b (PR-396) 23:14:08 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 23:14:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:14:08 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 23:14:08 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 23:14:08 using GIT_SSH to set credentials SSH Credentials for GitHub 23:14:08 > 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 23:14:08 > git config core.sparsecheckout # timeout=10 23:14:08 > git checkout -f 15f9436c573215f48f7d1d7882e26b1e4560d75b # timeout=10 23:14:08 > git remote # timeout=10 23:14:08 > git config --get remote.origin.url # timeout=10 23:14:08 using GIT_SSH to set credentials SSH Credentials for GitHub 23:14:08 > git merge 4190c6fd5c33f3107dc794a5b34667c4978bc33f # timeout=10 23:14:08 > git rev-parse HEAD^{commit} # timeout=10 23:14:08 > git config core.sparsecheckout # timeout=10 23:14:09 > git checkout -f 15f9436c573215f48f7d1d7882e26b1e4560d75b # timeout=10 23:14:13 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 23:14:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:14:14 % Total % Received % Xferd Average Speed Time Time Time Current 23:14:14 Dload Upload Total Spent Left Speed 23:14:14 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 23:14:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:14:15 + sudo tee /etc/docker/daemon.new 23:14:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:14:15 { 23:14:15 "registry-mirrors": [ 23:14:15 "https://nexus3.edgexfoundry.org:10001" 23:14:15 ], 23:14:15 "bip": "10.250.0.254/24", 23:14:15 "hosts": [ 23:14:15 "tcp://0.0.0.0:5555", 23:14:15 "unix:///var/run/docker.sock" 23:14:15 ], 23:14:15 "mtu": 1458, 23:14:15 "selinux-enabled": true, 23:14:15 "seccomp-profile": "/etc/docker/seccomp.json" 23:14:15 } [Pipeline] sh 23:14:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:14:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:14:34 provisioning config files... 23:14:34 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config1944586106911598090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:14:34 ---> docker-login.sh 23:14:34 nexus3.edgexfoundry.org:10001 23:14:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:35 Configure a credential helper to remove this warning. See 23:14:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:35 23:14:35 Login Succeeded 23:14:35 nexus3.edgexfoundry.org:10002 23:14:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:36 Configure a credential helper to remove this warning. See 23:14:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:36 23:14:36 Login Succeeded 23:14:36 nexus3.edgexfoundry.org:10003 23:14:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:36 Configure a credential helper to remove this warning. See 23:14:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:36 23:14:36 Login Succeeded 23:14:36 nexus3.edgexfoundry.org:10004 23:14:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:37 Configure a credential helper to remove this warning. See 23:14:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:37 23:14:37 Login Succeeded 23:14:37 docker.io 23:14:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:37 Configure a credential helper to remove this warning. See 23:14:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:37 23:14:37 Login Succeeded 23:14:37 ---> docker-login.sh ends [Pipeline] } 23:14:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:14:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:14:38 ========================================================= 23:14:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 23:14:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:14:38 + 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 . 23:14:38 Sending build context to Docker daemon 210.4kB 23:14:38 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 23:14:38 Step 2/13 : FROM ${BASE} AS builder 23:14:39 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:14:39 9b3977197b4f: Pulling fs layer 23:14:39 1a89e8eeedd5: Pulling fs layer 23:14:39 94645a83ff95: Pulling fs layer 23:14:39 3f3a8bcf1eab: Pulling fs layer 23:14:39 0c92f367c5e7: Pulling fs layer 23:14:39 f7c0051592d6: Pulling fs layer 23:14:39 a227ed2f7395: Pulling fs layer 23:14:39 7b1c46037f91: Pulling fs layer 23:14:39 0c92f367c5e7: Waiting 23:14:39 f7c0051592d6: Waiting 23:14:39 a227ed2f7395: Waiting 23:14:39 7b1c46037f91: Waiting 23:14:39 3f3a8bcf1eab: Waiting 23:14:39 94645a83ff95: Verifying Checksum 23:14:39 94645a83ff95: Download complete 23:14:39 1a89e8eeedd5: Verifying Checksum 23:14:39 0c92f367c5e7: Verifying Checksum 23:14:39 0c92f367c5e7: Download complete 23:14:39 f7c0051592d6: Verifying Checksum 23:14:39 f7c0051592d6: Download complete 23:14:39 9b3977197b4f: Download complete 23:14:39 a227ed2f7395: Verifying Checksum 23:14:39 a227ed2f7395: Download complete 23:14:39 9b3977197b4f: Pull complete 23:14:40 1a89e8eeedd5: Pull complete 23:14:40 94645a83ff95: Pull complete 23:14:41 7b1c46037f91: Verifying Checksum 23:14:41 7b1c46037f91: Download complete 23:14:41 3f3a8bcf1eab: Verifying Checksum 23:14:41 3f3a8bcf1eab: Download complete 23:14:54 3f3a8bcf1eab: Pull complete 23:14:54 0c92f367c5e7: Pull complete 23:14:54 f7c0051592d6: Pull complete 23:14:54 a227ed2f7395: Pull complete 23:15:01 7b1c46037f91: Pull complete 23:15:01 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 23:15:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 23:15:01 ---> f79e39bc4007 23:15:01 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 23:15:02 ---> Running in a86a1a431a50 23:15:02 Removing intermediate container a86a1a431a50 23:15:02 ---> 116e1a05069b 23:15:02 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 23:15:02 ---> Running in 0dad169aac64 23:15:02 Removing intermediate container 0dad169aac64 23:15:02 ---> 6a42a8a2b335 23:15:02 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 23:15:02 ---> Running in af46624bc0ed 23:15:02 Removing intermediate container af46624bc0ed 23:15:02 ---> a2b6c28eeaca 23:15:02 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:15:02 ---> Running in ea7388cd6a44 23:15:04 Removing intermediate container ea7388cd6a44 23:15:04 ---> be7eac9bdb4c 23:15:04 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:15:04 ---> Running in 76ff21aa1a7c 23:15:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:15:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:15:07 OK: 220 MiB in 52 packages 23:15:08 Removing intermediate container 76ff21aa1a7c 23:15:08 ---> 5c48ac4796af 23:15:08 Step 8/13 : WORKDIR /app 23:15:08 ---> Running in b24140ba1e81 23:15:08 Removing intermediate container b24140ba1e81 23:15:08 ---> 805cbc12ef3e 23:15:08 Step 9/13 : COPY go.mod vendor* ./ 23:15:08 ---> 3815c5c1a58c 23:15:08 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:15:08 ---> Running in bb871f743095 23:16:30 Removing intermediate container bb871f743095 23:16:30 ---> cbfcf0640ac1 23:16:30 Step 11/13 : COPY . . 23:16:30 ---> 98240f7a986f 23:16:30 Step 12/13 : ARG MAKE="make build" 23:16:30 ---> Running in 7e49407d7ee3 23:16:30 Removing intermediate container 7e49407d7ee3 23:16:30 ---> 545d2cc36551 23:16:30 Step 13/13 : RUN $MAKE 23:16:30 ---> Running in de3a1ee51ad0 23:16:30 noop 23:16:30 Removing intermediate container de3a1ee51ad0 23:16:30 ---> ac88b08366fe 23:16:30 Successfully built ac88b08366fe 23:16:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:16:31 + docker inspect -f . ci-base-image-arm64 23:16:31 . [Pipeline] withDockerContainer 23:16:31 prd-ubuntu20.04-docker-arm64-4c-16g-11517 does not seem to be running inside a container 23:16:31 $ 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 23:16:32 $ docker top 42f9a6d28cdccf2d99c4ccd735d67dd5e306a366a5e478397825701f501fe86e -eo pid,comm [Pipeline] { [Pipeline] sh 23:16:33 + go version 23:16:33 go version go1.17.6 linux/arm64 [Pipeline] } 23:16:33 $ docker stop --time=1 42f9a6d28cdccf2d99c4ccd735d67dd5e306a366a5e478397825701f501fe86e 23:16:35 $ docker rm -f 42f9a6d28cdccf2d99c4ccd735d67dd5e306a366a5e478397825701f501fe86e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:16:35 + docker inspect -f . ci-base-image-arm64 23:16:35 . [Pipeline] withDockerContainer 23:16:36 prd-ubuntu20.04-docker-arm64-4c-16g-11517 does not seem to be running inside a container 23:16:36 $ 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 23:16:37 $ docker top b030f239abe801d2dfc85b2d41ff5866d78985199147f27a72d3cf47b8f84af0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:16:38 + make test 23:16:38 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 23:17:25 ? github.com/edgexfoundry/app-service-configurable [no test files] 23:17:25 CGO_ENABLED=1 go vet ./... 23:17:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:17:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:17:40 ./bin/test-attribution-txt.sh [Pipeline] echo 23:17:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:17:42 $ docker stop --time=1 b030f239abe801d2dfc85b2d41ff5866d78985199147f27a72d3cf47b8f84af0 23:17:43 $ docker rm -f b030f239abe801d2dfc85b2d41ff5866d78985199147f27a72d3cf47b8f84af0 [Pipeline] // withDockerContainer [Pipeline] sh 23:17:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:17:44 Warning: overwriting stash ‘coverage-report’ 23:17:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:17:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:17:45 + ls -al . 23:17:45 total 172 23:17:45 drwxrwxr-x 7 jenkins jenkins 4096 Apr 7 23:17 . 23:17:45 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 23:14 .. 23:17:45 -rw-rw-r-- 1 jenkins jenkins 119 Apr 7 23:14 .dockerignore 23:17:45 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 23:14 .git 23:17:45 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 23:14 .github 23:17:45 -rw-rw-r-- 1 jenkins jenkins 104 Apr 7 23:14 .gitignore 23:17:45 -rw-rw-r-- 1 jenkins jenkins 7627 Apr 7 23:14 Attribution.txt 23:17:45 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 7 23:14 CHANGELOG.md 23:17:45 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 7 23:14 Dockerfile 23:17:45 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 23:14 GOVERNANCE.md 23:17:45 -rw-rw-r-- 1 jenkins jenkins 688 Apr 7 23:14 Jenkinsfile 23:17:45 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 7 23:14 LICENSE 23:17:45 -rw-rw-r-- 1 jenkins jenkins 618 Apr 7 23:14 OWNERS.md 23:17:45 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 7 23:14 README.md 23:17:45 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 23:12 VERSION 23:17:45 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 23:14 bin 23:17:45 -rw-r--r-- 1 jenkins jenkins 10 Apr 7 23:16 coverage.out 23:17:45 -rw-rw-r-- 1 jenkins jenkins 2816 Apr 7 23:14 go.mod 23:17:45 -rw-rw-r-- 1 jenkins jenkins 50335 Apr 7 23:14 go.sum 23:17:45 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 7 23:14 main.go 23:17:45 -rw-rw-r-- 1 jenkins jenkins 1994 Apr 7 23:14 makefile 23:17:45 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 23:14 res 23:17:45 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 23:14 snap [Pipeline] isUnix [Pipeline] sh 23:17:46 + 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 . 23:17:46 Sending build context to Docker daemon 211.5kB 23:17:46 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 23:17:46 Step 2/27 : FROM ${BASE} AS builder 23:17:46 ---> ac88b08366fe 23:17:46 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 23:17:46 ---> Running in ca2e9fdf183c 23:17:46 Removing intermediate container ca2e9fdf183c 23:17:46 ---> aac0588311ef 23:17:46 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 23:17:47 ---> Running in 01177d5e8722 23:17:47 Removing intermediate container 01177d5e8722 23:17:47 ---> 183fa67c7d68 23:17:47 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 23:17:47 ---> Running in 99e3946802e4 23:17:47 Removing intermediate container 99e3946802e4 23:17:47 ---> 1d2a155ff866 23:17:47 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:17:47 ---> Running in 04618e7364b5 23:17:49 Removing intermediate container 04618e7364b5 23:17:49 ---> c877d5f52f03 23:17:49 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:17:49 ---> Running in b429e9b153fd 23:17:50 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:17:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:17:52 OK: 220 MiB in 52 packages 23:17:52 Removing intermediate container b429e9b153fd 23:17:52 ---> 0d1139739036 23:17:52 Step 8/27 : WORKDIR /app 23:17:52 ---> Running in 0d81e84246ba 23:17:53 Removing intermediate container 0d81e84246ba 23:17:53 ---> 98d1b0a88255 23:17:53 Step 9/27 : COPY go.mod vendor* ./ 23:17:53 ---> 7c8c7c28948b 23:17:53 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:17:53 ---> Running in e2294e45e890 23:17:55 Removing intermediate container e2294e45e890 23:17:55 ---> 125491abd235 23:17:55 Step 11/27 : COPY . . 23:17:56 ---> 4b1f7495e448 23:17:56 Step 12/27 : ARG MAKE="make build" 23:17:56 ---> Running in 68356b7a8e7a 23:17:57 Removing intermediate container 68356b7a8e7a 23:17:57 ---> 79fb0c8827c2 23:17:57 Step 13/27 : RUN $MAKE 23:17:57 ---> Running in 5b811240bf34 23:17:58 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 23:19:19 Removing intermediate container 5b811240bf34 23:19:19 ---> 3a7e79f6bfe1 23:19:19 Step 14/27 : FROM alpine:3.14 23:19:19 3.14: Pulling from library/alpine 23:19:19 455c02918c45: Pulling fs layer 23:19:19 455c02918c45: Verifying Checksum 23:19:19 455c02918c45: Download complete 23:19:19 455c02918c45: Pull complete 23:19:19 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 23:19:19 Status: Downloaded newer image for alpine:3.14 23:19:19 ---> ac73e934f311 23:19:19 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 23:19:19 ---> Running in ae2c6380461e 23:19:19 Removing intermediate container ae2c6380461e 23:19:19 ---> c97a6e83eac6 23:19:19 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 23:19:19 ---> Running in c708c2872b54 23:19:19 Removing intermediate container c708c2872b54 23:19:19 ---> e557e02e5393 23:19:19 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 23:19:19 ---> Running in 3330ebd22f47 23:19:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:19:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:19:20 (1/7) Installing ca-certificates (20211220-r0) 23:19:21 (2/7) Installing dumb-init (1.2.5-r1) 23:19:21 (3/7) Installing libgcc (10.3.1_git20210424-r2) 23:19:21 (4/7) Installing libsodium (1.0.18-r0) 23:19:21 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 23:19:21 (6/7) Installing libzmq (4.3.4-r0) 23:19:21 (7/7) Installing zeromq (4.3.4-r0) 23:19:21 Executing busybox-1.33.1-r7.trigger 23:19:21 Executing ca-certificates-20211220-r0.trigger 23:19:21 OK: 9 MiB in 21 packages 23:19:22 Removing intermediate container 3330ebd22f47 23:19:22 ---> b02e463c5514 23:19:22 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 23:19:23 ---> 0a448d0618b9 23:19:23 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 23:19:23 ---> e5139ed3b2ea 23:19:23 Step 20/27 : COPY --from=builder /app/res/ /res/ 23:19:24 ---> 3ec0c9b934a9 23:19:24 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 23:19:25 ---> e69e41924f84 23:19:25 Step 22/27 : EXPOSE 48095 23:19:25 ---> Running in 020317fb9ddf 23:19:25 Removing intermediate container 020317fb9ddf 23:19:25 ---> 402d36761f2d 23:19:25 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 23:19:25 ---> Running in c0d727003eae 23:19:26 Removing intermediate container c0d727003eae 23:19:26 ---> 49f560113f30 23:19:26 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:19:26 ---> Running in ac6ed4895927 23:19:26 Removing intermediate container ac6ed4895927 23:19:26 ---> 73c5a84c259f 23:19:26 Step 25/27 : LABEL arch=arm64 23:19:26 ---> Running in dfe9bee6be1c 23:19:26 Removing intermediate container dfe9bee6be1c 23:19:26 ---> 3c9b77555b35 23:19:26 Step 26/27 : LABEL git_sha=15f9436c573215f48f7d1d7882e26b1e4560d75b 23:19:26 ---> Running in 7d6ff28e95c3 23:19:27 Removing intermediate container 7d6ff28e95c3 23:19:27 ---> fc00097e4e71 23:19:27 Step 27/27 : LABEL version=0.0.0 23:19:27 ---> Running in 45bf96f0a8ac 23:19:27 Removing intermediate container 45bf96f0a8ac 23:19:27 ---> 2cb7e05f9483 23:19:27 [Warning] One or more build-args [ARCH] were not consumed 23:19:27 Successfully built 2cb7e05f9483 23:19:27 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 23:19:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:19:28 23:19:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:19:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:19:28 arm64: Pulling from edgex-lftools-log-publisher 23:19:28 8998bd30e6a1: Pulling fs layer 23:19:28 04944245beec: Pulling fs layer 23:19:28 699f458cf7ca: Pulling fs layer 23:19:28 765212b225bb: Pulling fs layer 23:19:28 f23df028b6ca: Pulling fs layer 23:19:28 d65c8cfc05b1: Pulling fs layer 23:19:28 2437ff75d9bd: Pulling fs layer 23:19:28 f23df028b6ca: Waiting 23:19:28 d65c8cfc05b1: Waiting 23:19:28 2437ff75d9bd: Waiting 23:19:28 765212b225bb: Waiting 23:19:28 04944245beec: Verifying Checksum 23:19:28 04944245beec: Download complete 23:19:28 765212b225bb: Verifying Checksum 23:19:28 765212b225bb: Download complete 23:19:28 f23df028b6ca: Verifying Checksum 23:19:28 f23df028b6ca: Download complete 23:19:28 d65c8cfc05b1: Verifying Checksum 23:19:28 d65c8cfc05b1: Download complete 23:19:28 699f458cf7ca: Verifying Checksum 23:19:28 699f458cf7ca: Download complete 23:19:29 8998bd30e6a1: Verifying Checksum 23:19:29 8998bd30e6a1: Download complete 23:19:31 2437ff75d9bd: Verifying Checksum 23:19:31 2437ff75d9bd: Download complete 23:19:33 8998bd30e6a1: Pull complete 23:19:33 04944245beec: Pull complete 23:19:35 699f458cf7ca: Pull complete 23:19:35 765212b225bb: Pull complete 23:19:36 f23df028b6ca: Pull complete 23:19:36 d65c8cfc05b1: Pull complete 23:19:51 2437ff75d9bd: Pull complete 23:19:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:19:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:19:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:19:51 prd-ubuntu20.04-docker-arm64-4c-16g-11517 does not seem to be running inside a container 23:19:51 $ 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 23:19:54 $ docker top 4766ac62b06f4e9ccefe117cab0975e1b6c822989a3026798d12fdd06f4087f8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:19:55 ---> job-cost.sh 23:19:55 lf-activate-venv: SKIPPING 23:19:55 INFO: No Stack... 23:19:55 INFO: Retrieving Pricing Info for: v3-standard-4 23:19:56 INFO: Archiving Costs [Pipeline] sh 23:19:57 + cat /w/workspace/app-service-configurable/2/archives/cost.csv 23:19:57 + cut -d, -f6 [Pipeline] lock 23:19:57 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-396-2-stack-cost] 23:19:57 Resource [jenkins-edgexfoundry-app-service-configurable-PR-396-2-stack-cost] did not exist. Created. 23:19:57 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-396-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:19:58 /w/workspace/app-service-configurable/2@tmp/durable-3a3b4930/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:19:58 + echo total: 0.10999999940395355 [Pipeline] stash 23:19:58 Warning: overwriting stash ‘stack-cost’ 23:19:58 Stashed 1 file(s) [Pipeline] } 23:19:58 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-396-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:19:58 $ docker stop --time=1 4766ac62b06f4e9ccefe117cab0975e1b6c822989a3026798d12fdd06f4087f8 23:20:00 $ 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 23:20:00 provisioning config files... 23:20:00 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-396@tmp/config9132665435216439211tmp [Pipeline] { [Pipeline] sh 23:20:01 + set +x 23:20:01 + curl -s https://codecov.io/bash 23:20:01 + bash -s -- 23:20:01 23:20:01 _____ _ 23:20:01 / ____| | | 23:20:01 | | ___ __| | ___ ___ _____ __ 23:20:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:20:01 | |___| (_) | (_| | __/ (_| (_) \ V / 23:20:01 \_____\___/ \__,_|\___|\___\___/ \_/ 23:20:01 Bash-1.0.6 23:20:01 23:20:01 23:20:01 ==> git version 2.25.1 found 23:20:01 ==> 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 23:20:01 Release-Date: 2020-01-08 23:20:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:20:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:20:01 ==> Jenkins CI detected. 23:20:01 current dir:  /w/workspace/_app-service-configurable_PR-396 23:20:01 project root: . 23:20:01 --> token set from env 23:20:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:20:01 ==> Running gcov in . (disable via -X gcov) 23:20:01 ==> Python coveragepy not found 23:20:01 ==> Searching for coverage reports in: 23:20:01 + . 23:20:01 -> Found 1 reports 23:20:01 ==> Detecting git/mercurial file structure 23:20:01 ==> Reading reports 23:20:01 + ./coverage.out bytes=10 23:20:01 ==> Appending adjustments 23:20:01 https://docs.codecov.io/docs/fixing-reports 23:20:01 + Found adjustments 23:20:01 ==> Gzipping contents 23:20:01 4.0K /tmp/codecov.WSZPO8.gz 23:20:01 ==> Uploading reports 23:20:01 url: https://codecov.io 23:20:01 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= 23:20:01 -> Pinging Codecov 23:20:01 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= 23:20:01 -> Uploading to 23:20:01 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 23:20:01 % Total % Received % Xferd Average Speed Time Time Time Current 23:20:01 Dload Upload Total Spent Left Speed 23:20:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 569 0 0 100 569 0 2370 --:--:-- --:--:-- --:--:-- 2370 23:20:01 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/15f9436c573215f48f7d1d7882e26b1e4560d75b [Pipeline] } 23:20:01 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 23:20:02 + [ -d /w/workspace/_app-service-configurable_PR-396/archives ] 23:20:02 + ls -al /w/workspace/_app-service-configurable_PR-396/archives 23:20:02 total 16 23:20:02 drwxr-xr-x 3 root root 4096 Apr 7 23:13 . 23:20:02 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 23:13 .. 23:20:02 drwxr-xr-x 2 root root 4096 Apr 7 23:13 cost 23:20:02 -rw-r--r-- 1 root root 95 Apr 7 23:13 cost.csv 23:20:02 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-396/archives 23:20:02 + ls -al /w/workspace/_app-service-configurable_PR-396/archives 23:20:02 total 16 23:20:02 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 23:13 . 23:20:02 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 23:13 .. 23:20:02 drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 23:13 cost 23:20:02 -rw-r--r-- 1 jenkins jenkins 95 Apr 7 23:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:20:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:20:03 ---> package-listing.sh 23:20:03 ++ facter osfamily 23:20:03 ++ tr '[:upper:]' '[:lower:]' 23:20:03 + OS_FAMILY=debian 23:20:03 + workspace=/w/workspace/_app-service-configurable_PR-396 23:20:03 + START_PACKAGES=/tmp/packages_start.txt 23:20:03 + END_PACKAGES=/tmp/packages_end.txt 23:20:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:20:03 + PACKAGES=/tmp/packages_start.txt 23:20:03 + '[' /w/workspace/_app-service-configurable_PR-396 ']' 23:20:03 + PACKAGES=/tmp/packages_end.txt 23:20:03 + case "${OS_FAMILY}" in 23:20:03 + dpkg -l 23:20:03 + grep '^ii' 23:20:03 + '[' -f /tmp/packages_start.txt ']' 23:20:03 + '[' -f /tmp/packages_end.txt ']' 23:20:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:20:03 + '[' /w/workspace/_app-service-configurable_PR-396 ']' 23:20:03 + mkdir -p /w/workspace/_app-service-configurable_PR-396/archives/ 23:20:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-396/archives/ [Pipeline] echo 23:20:03 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 23:20:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:20:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:20:04 . [Pipeline] withDockerContainer 23:20:04 prd-ubuntu20.04-docker-8c-8g-11516 does not seem to be running inside a container 23:20:04 $ 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 23:20:05 $ docker top 0b61914669d75c853aabe4b445098cb7482234158f57425f88a6bbf1cda114f5 -eo pid,comm [Pipeline] { [Pipeline] sh 23:20:05 + touch /tmp/pre-build-complete [Pipeline] sh 23:20:05 + mkdir -p /var/log/sysstat [Pipeline] sh 23:20:06 + ls /var/log/sa-host 23:20:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:20:06 provisioning config files... 23:20:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-396@tmp/config6049355175213989641tmp [Pipeline] { [Pipeline] echo 23:20:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:20:06 ---> create-netrc.sh [Pipeline] } 23:20:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:20:06 ---> python-tools-install.sh [Pipeline] echo 23:20:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:20:07 ---> sudo-logs.sh 23:20:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:20:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:20:07 ---> job-cost.sh 23:20:07 lf-activate-venv: SKIPPING 23:20:07 DEBUG: total: 0.2199999988079071 23:20:07 INFO: Retrieving Stack Cost... 23:20:08 INFO: Retrieving Pricing Info for: v3-standard-8 23:20:08 INFO: Archiving Costs [Pipeline] echo 23:20:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:20:08 ---> logs-deploy.sh 23:20:08 lf-activate-venv: SKIPPING 23:20:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-396/2 23:20:08 INFO: archiving workspace using pattern(s): 23:20:09 Archives upload complete. 23:20:09 INFO: archiving logs to Nexus