Pull request #396 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jpwhitemn for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 6b983b9320deb447c84ae0c8baeb0d1191d2703c+4190c6fd5c33f3107dc794a5b34667c4978bc33f (694f04f22a2675afd6f83ebd8500a5c99009709e) 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-ssh14703247910329285846.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-ssh4093358568817659562.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-396/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-396/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17785428279097369110.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-396/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6491432598795076866.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6549693252054516953.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-396/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-396/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12309859184845525109.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-11445 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 6b983b9320deb447c84ae0c8baeb0d1191d2703c Merge succeeded, producing 6b983b9320deb447c84ae0c8baeb0d1191d2703c Checking out Revision 6b983b9320deb447c84ae0c8baeb0d1191d2703c (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 6b983b9320deb447c84ae0c8baeb0d1191d2703c # 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 6b983b9320deb447c84ae0c8baeb0d1191d2703c # timeout=10 Commit message: "feat: enable security hardening" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:01:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:01:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:01:19 ========================================================= 19:01:19 EdgeX Global Pipelines Version Info 19:01:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:01:20 ------------------- 19:01:20 stable info: 19:01:20 ------------------- 19:01:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:01:20 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 19:01:20 Message: update stable to v1.0.221 19:01:20 ------------------- 19:01:20 experimental info: 19:01:20 ------------------- 19:01:20 Commited By: **** collab-it+edgex@linuxfoundation.org 19:01:20 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 19:01:20 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:01:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 19:01:21 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 19:01:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:01:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:01:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:01:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 19:01:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:01:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:01:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:01:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:01:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:01:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 19:01:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:01:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:01:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:01:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:01:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:01:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:01:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:01:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:01:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:01:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:01:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:01:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:01:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:01:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:01:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-396 [Pipeline] echo 19:01:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-396 [Pipeline] echo 19:01:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-396 [Pipeline] echo 19:01:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6b983b9320deb447c84ae0c8baeb0d1191d2703c [Pipeline] echo 19:01:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6b983b9 [Pipeline] echo 19:01:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:01:22 provisioning config files... 19:01:22 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-396@tmp/config2133335142276453266tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:01:22 ---> docker-login.sh 19:01:22 nexus3.edgexfoundry.org:10001 19:01:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:23 Configure a credential helper to remove this warning. See 19:01:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:23 19:01:23 Login Succeeded 19:01:23 nexus3.edgexfoundry.org:10002 19:01:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:23 Configure a credential helper to remove this warning. See 19:01:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:23 19:01:23 Login Succeeded 19:01:23 nexus3.edgexfoundry.org:10003 19:01:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:23 Configure a credential helper to remove this warning. See 19:01:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:23 19:01:23 Login Succeeded 19:01:23 nexus3.edgexfoundry.org:10004 19:01:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:23 Configure a credential helper to remove this warning. See 19:01:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:23 19:01:23 Login Succeeded 19:01:23 docker.io 19:01:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:23 Configure a credential helper to remove this warning. See 19:01:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:23 19:01:23 Login Succeeded 19:01:23 ---> docker-login.sh ends [Pipeline] } 19:01:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:01:24 + git rev-list -1 --merges 6b983b9320deb447c84ae0c8baeb0d1191d2703c~1..6b983b9320deb447c84ae0c8baeb0d1191d2703c [Pipeline] echo 19:01:24 -----------> git rev-list -1 --merges 6b983b9320deb447c84ae0c8baeb0d1191d2703c~1..6b983b9320deb447c84ae0c8baeb0d1191d2703c 6b983b9320deb447c84ae0c8baeb0d1191d2703c [false] [Pipeline] sh 19:01:24 + git log --format=format:%s -1 6b983b9320deb447c84ae0c8baeb0d1191d2703c [Pipeline] echo 19:01:24 ========================================================= 19:01:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:01:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:01:25 + git log --format=format:%s -1 6b983b9320deb447c84ae0c8baeb0d1191d2703c [Pipeline] echo 19:01:25 [semverPrep] GIT_COMMIT: 6b983b9320deb447c84ae0c8baeb0d1191d2703c, Commit Message: feat: enable security hardening [Pipeline] echo 19:01:25 [semverPrep] This is not a build commit. [Pipeline] sh 19:01:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:01:25 + grep -v github /etc/ssh/ssh_known_hosts 19:01:25 + [ -e /tmp/ssh_known_hosts ] 19:01:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:01:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:01:25 + sudo tee -a /etc/ssh/ssh_known_hosts 19:01:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 19:01:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:01:26 19:01:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:01:26 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:01:26 latest: Pulling from edgex-devops/git-semver 19:01:26 a0d0a0d46f8b: Pulling fs layer 19:01:26 3e5f54012d9b: Pulling fs layer 19:01:26 4c7163046ea9: Pulling fs layer 19:01:26 0c2d73faf560: Pulling fs layer 19:01:26 3e5f54012d9b: Verifying Checksum 19:01:26 3e5f54012d9b: Download complete 19:01:26 a0d0a0d46f8b: Download complete 19:01:26 0c2d73faf560: Verifying Checksum 19:01:26 0c2d73faf560: Download complete 19:01:26 4c7163046ea9: Verifying Checksum 19:01:26 4c7163046ea9: Download complete 19:01:26 a0d0a0d46f8b: Pull complete 19:01:26 3e5f54012d9b: Pull complete 19:01:27 4c7163046ea9: Pull complete 19:01:27 0c2d73faf560: Pull complete 19:01:27 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 19:01:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:01:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:01:27 prd-ubuntu20.04-docker-8c-8g-11445 does not seem to be running inside a container 19:01:27 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:01:28 $ docker top b1da381da6b11c2e6d3d17443934701d5eb2d5f187b0403861c010c67b8ed3bd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:01:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:01:28 [ssh-agent] Looking for ssh-agent implementation... 19:01:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:01:28 $ docker exec b1da381da6b11c2e6d3d17443934701d5eb2d5f187b0403861c010c67b8ed3bd ssh-agent 19:01:28 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlhlKOK/agent.13 19:01:28 SSH_AGENT_PID=19 19:01:28 Running ssh-add (command line suppressed) 19:01:28 Identity added: /w/workspace/_app-service-configurable_PR-396@tmp/private_key_2502983209884879900.key (/w/workspace/_app-service-configurable_PR-396@tmp/private_key_2502983209884879900.key) 19:01:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:01:29 + git tag --points-at HEAD [Pipeline] } 19:01:29 $ docker exec --env ******** --env ******** b1da381da6b11c2e6d3d17443934701d5eb2d5f187b0403861c010c67b8ed3bd ssh-agent -k 19:01:29 unset SSH_AUTH_SOCK; 19:01:29 unset SSH_AGENT_PID; 19:01:29 echo Agent pid 19 killed; 19:01:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:01:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:01:29 [ssh-agent] Looking for ssh-agent implementation... 19:01:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:01:29 $ docker exec b1da381da6b11c2e6d3d17443934701d5eb2d5f187b0403861c010c67b8ed3bd ssh-agent 19:01:29 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDkGkgj/agent.53 19:01:29 SSH_AGENT_PID=60 19:01:29 Running ssh-add (command line suppressed) 19:01:29 Identity added: /w/workspace/_app-service-configurable_PR-396@tmp/private_key_2070046458708027509.key (/w/workspace/_app-service-configurable_PR-396@tmp/private_key_2070046458708027509.key) 19:01:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:01:30 + git semver init 19:01:30 # -> Open(): unable to determine branch for HEAD 19:01:30 # $GIT_DIR = /w/workspace/_app-service-configurable_PR-396/.git 19:01:30 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-396 19:01:30 # $SEMVER_REMOTE_NAME = origin 19:01:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:01:30 # $SEMVER_USER_NAME = edgex-jenkins 19:01:30 # $SEMVER_BRANCH = PR-396 19:01:30 # $SEMVER_TEMP = /tmp/semver-837478878 19:01:30 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 19:01:31 # '/tmp/semver-837478878' -> '/w/workspace/_app-service-configurable_PR-396/.semver' 19:01:31 # -> Force: false 19:01:31 # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-396/.semver [Pipeline] } 19:01:31 $ docker exec --env ******** --env ******** b1da381da6b11c2e6d3d17443934701d5eb2d5f187b0403861c010c67b8ed3bd ssh-agent -k 19:01:31 unset SSH_AUTH_SOCK; 19:01:31 unset SSH_AGENT_PID; 19:01:31 echo Agent pid 60 killed; 19:01:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:01:31 + git semver [Pipeline] } 19:01:31 $ docker stop --time=1 b1da381da6b11c2e6d3d17443934701d5eb2d5f187b0403861c010c67b8ed3bd 19:01:32 $ docker rm -f b1da381da6b11c2e6d3d17443934701d5eb2d5f187b0403861c010c67b8ed3bd [Pipeline] // withDockerContainer [Pipeline] sh 19:01:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:01:33 Stashed 1 file(s) [Pipeline] echo 19:01:33 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:01:34 provisioning config files... 19:01:34 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-396@tmp/config4040956156596542202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:01:34 ---> docker-login.sh 19:01:34 nexus3.edgexfoundry.org:10001 19:01:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:34 Configure a credential helper to remove this warning. See 19:01:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:34 19:01:34 Login Succeeded 19:01:34 nexus3.edgexfoundry.org:10002 19:01:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:34 Configure a credential helper to remove this warning. See 19:01:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:34 19:01:34 Login Succeeded 19:01:34 nexus3.edgexfoundry.org:10003 19:01:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:34 Configure a credential helper to remove this warning. See 19:01:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:34 19:01:34 Login Succeeded 19:01:34 nexus3.edgexfoundry.org:10004 19:01:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:35 Configure a credential helper to remove this warning. See 19:01:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:35 19:01:35 Login Succeeded 19:01:35 docker.io 19:01:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:35 Configure a credential helper to remove this warning. See 19:01:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:35 19:01:35 Login Succeeded 19:01:35 ---> docker-login.sh ends [Pipeline] } 19:01:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:01:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:01:35 ========================================================= 19:01:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 19:01:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 19:01:36 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 19:01:36 Sending build context to Docker daemon 3.001MB 19:01:36 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 19:01:36 Step 2/13 : FROM ${BASE} AS builder 19:01:36 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 19:01:36 59bf1c3509f3: Pulling fs layer 19:01:36 666ba61612fd: Pulling fs layer 19:01:36 8ed8ca486205: Pulling fs layer 19:01:36 4fe6c5a15a65: Pulling fs layer 19:01:36 22a0e8bec74d: Pulling fs layer 19:01:36 640e595b4fbd: Pulling fs layer 19:01:36 763cafe07f6e: Pulling fs layer 19:01:36 0c0b528cf693: Pulling fs layer 19:01:36 10935f4eaf8b: Pulling fs layer 19:01:36 4fe6c5a15a65: Waiting 19:01:36 22a0e8bec74d: Waiting 19:01:36 0c0b528cf693: Waiting 19:01:36 640e595b4fbd: Waiting 19:01:36 763cafe07f6e: Waiting 19:01:36 10935f4eaf8b: Waiting 19:01:36 8ed8ca486205: Download complete 19:01:36 666ba61612fd: Verifying Checksum 19:01:36 666ba61612fd: Download complete 19:01:36 22a0e8bec74d: Download complete 19:01:36 640e595b4fbd: Verifying Checksum 19:01:36 640e595b4fbd: Download complete 19:01:36 59bf1c3509f3: Verifying Checksum 19:01:36 59bf1c3509f3: Download complete 19:01:36 763cafe07f6e: Download complete 19:01:36 0c0b528cf693: Verifying Checksum 19:01:36 0c0b528cf693: Download complete 19:01:36 59bf1c3509f3: Pull complete 19:01:36 666ba61612fd: Pull complete 19:01:36 8ed8ca486205: Pull complete 19:01:36 10935f4eaf8b: Verifying Checksum 19:01:36 10935f4eaf8b: Download complete 19:01:36 4fe6c5a15a65: Verifying Checksum 19:01:36 4fe6c5a15a65: Download complete 19:01:41 4fe6c5a15a65: Pull complete 19:01:41 22a0e8bec74d: Pull complete 19:01:41 640e595b4fbd: Pull complete 19:01:41 763cafe07f6e: Pull complete 19:01:41 0c0b528cf693: Pull complete 19:01:43 10935f4eaf8b: Pull complete 19:01:43 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 19:01:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 19:01:43 ---> 99d49a6021b9 19:01:43 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 19:01:44 ---> Running in 8505586c315b 19:01:44 Removing intermediate container 8505586c315b 19:01:44 ---> 4d5b0dcc0b9c 19:01:44 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 19:01:44 ---> Running in 5a88dd831312 19:01:44 Removing intermediate container 5a88dd831312 19:01:44 ---> 5f1e4f8bed4b 19:01:44 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 19:01:44 ---> Running in 99736a0b1cc6 19:01:44 Removing intermediate container 99736a0b1cc6 19:01:44 ---> 7f12e44d42c7 19:01:44 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:01:44 ---> Running in ddd1dc2e3dcc 19:01:45 Removing intermediate container ddd1dc2e3dcc 19:01:45 ---> 24bd05559140 19:01:45 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:01:45 ---> Running in 16dcd9fff473 19:01:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 19:01:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 19:01:46 OK: 221 MiB in 52 packages 19:01:47 Removing intermediate container 16dcd9fff473 19:01:47 ---> 9eb788616c23 19:01:47 Step 8/13 : WORKDIR /app 19:01:47 ---> Running in ccf352bbe430 19:01:47 Removing intermediate container ccf352bbe430 19:01:47 ---> 400f73c1a1a7 19:01:47 Step 9/13 : COPY go.mod vendor* ./ 19:01:47 ---> 7e6508e4810c 19:01:47 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:01:47 ---> Running in 34844d696123 19:01:49 Still waiting to schedule task 19:01:49 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 19:02:09 Removing intermediate container 34844d696123 19:02:09 ---> a048aa990300 19:02:09 Step 11/13 : COPY . . 19:02:09 ---> 456e44a25453 19:02:09 Step 12/13 : ARG MAKE="make build" 19:02:09 ---> Running in fc1f8234efd7 19:02:09 Removing intermediate container fc1f8234efd7 19:02:09 ---> ee246d0d2938 19:02:09 Step 13/13 : RUN $MAKE 19:02:09 ---> Running in a244b60da2db 19:02:09 noop 19:02:09 Removing intermediate container a244b60da2db 19:02:09 ---> b4a2057f253c 19:02:09 Successfully built b4a2057f253c 19:02:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 19:02:09 + docker inspect -f . ci-base-image-x86_64 19:02:09 . [Pipeline] withDockerContainer 19:02:09 prd-ubuntu20.04-docker-8c-8g-11445 does not seem to be running inside a container 19:02:09 $ 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 ******** ci-base-image-x86_64 cat 19:02:10 $ docker top ae551a817c0b45a560ae92186d679cb37252e86e368f198713c00cf6ae9a6d21 -eo pid,comm [Pipeline] { [Pipeline] sh 19:02:10 + go version 19:02:10 go version go1.17.6 linux/amd64 [Pipeline] } 19:02:10 $ docker stop --time=1 ae551a817c0b45a560ae92186d679cb37252e86e368f198713c00cf6ae9a6d21 19:02:11 $ docker rm -f ae551a817c0b45a560ae92186d679cb37252e86e368f198713c00cf6ae9a6d21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:02:12 + docker inspect -f . ci-base-image-x86_64 19:02:12 . [Pipeline] withDockerContainer 19:02:12 prd-ubuntu20.04-docker-8c-8g-11445 does not seem to be running inside a container 19:02:12 $ 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 ******** ci-base-image-x86_64 cat 19:02:13 $ docker top 76944513f99ebc1a18d1643c2a70728b2be68a1c53c3efe488b8b1f1e2c3e99b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:02:13 + make test 19:02:13 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 19:02:20 ? github.com/edgexfoundry/app-service-configurable [no test files] 19:02:20 CGO_ENABLED=1 go vet ./... 19:02:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:02:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:02:23 ./bin/test-attribution-txt.sh [Pipeline] echo 19:02:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:02:23 $ docker stop --time=1 76944513f99ebc1a18d1643c2a70728b2be68a1c53c3efe488b8b1f1e2c3e99b 19:02:25 $ docker rm -f 76944513f99ebc1a18d1643c2a70728b2be68a1c53c3efe488b8b1f1e2c3e99b [Pipeline] // withDockerContainer [Pipeline] sh 19:02:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:02:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:02:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:02:27 + ls -al . 19:02:27 total 176 19:02:27 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 19:02 . 19:02:27 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 19:01 .. 19:02:27 -rw-rw-r-- 1 jenkins jenkins 119 Apr 7 19:01 .dockerignore 19:02:27 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 19:01 .git 19:02:27 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 19:01 .github 19:02:27 -rw-rw-r-- 1 jenkins jenkins 104 Apr 7 19:01 .gitignore 19:02:27 drwx------ 3 jenkins jenkins 4096 Apr 7 19:01 .semver 19:02:27 -rw-rw-r-- 1 jenkins jenkins 7627 Apr 7 19:01 Attribution.txt 19:02:27 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 7 19:01 CHANGELOG.md 19:02:27 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 7 19:01 Dockerfile 19:02:27 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 19:01 GOVERNANCE.md 19:02:27 -rw-rw-r-- 1 jenkins jenkins 688 Apr 7 19:01 Jenkinsfile 19:02:27 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 7 19:01 LICENSE 19:02:27 -rw-rw-r-- 1 jenkins jenkins 618 Apr 7 19:01 OWNERS.md 19:02:27 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 7 19:01 README.md 19:02:27 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 19:01 VERSION 19:02:27 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 19:01 bin 19:02:27 -rw-r--r-- 1 jenkins jenkins 10 Apr 7 19:02 coverage.out 19:02:27 -rw-rw-r-- 1 jenkins jenkins 2816 Apr 7 19:01 go.mod 19:02:27 -rw-rw-r-- 1 jenkins jenkins 50335 Apr 7 19:01 go.sum 19:02:27 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 7 19:01 main.go 19:02:27 -rw-rw-r-- 1 jenkins jenkins 1860 Apr 7 19:01 makefile 19:02:27 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 19:01 res 19:02:27 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 19:01 snap [Pipeline] isUnix [Pipeline] sh 19:02:27 + 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=6b983b9320deb447c84ae0c8baeb0d1191d2703c --label arch=amd64 --label version=0.0.0 . 19:02:27 Sending build context to Docker daemon 3.002MB 19:02:27 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 19:02:27 Step 2/27 : FROM ${BASE} AS builder 19:02:27 ---> b4a2057f253c 19:02:27 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 19:02:27 ---> Running in 3ff06dfd677a 19:02:27 Removing intermediate container 3ff06dfd677a 19:02:27 ---> 3ed9d1fdeb58 19:02:27 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 19:02:27 ---> Running in 759e9f47d97a 19:02:27 Removing intermediate container 759e9f47d97a 19:02:27 ---> 932be96bb12d 19:02:27 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 19:02:27 ---> Running in f49742d1b5e3 19:02:27 Removing intermediate container f49742d1b5e3 19:02:27 ---> 858e9c04d971 19:02:27 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:02:27 ---> Running in e3d1182509ad 19:02:28 Removing intermediate container e3d1182509ad 19:02:28 ---> a6c350b0b362 19:02:28 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:02:28 ---> Running in f8cc172245ae 19:02:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 19:02:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 19:02:30 OK: 221 MiB in 52 packages 19:02:30 Removing intermediate container f8cc172245ae 19:02:30 ---> 3e7423e95a30 19:02:30 Step 8/27 : WORKDIR /app 19:02:30 ---> Running in 91b6b729dc10 19:02:30 Removing intermediate container 91b6b729dc10 19:02:30 ---> 13d85faf99a3 19:02:30 Step 9/27 : COPY go.mod vendor* ./ 19:02:30 ---> 7b6cee920b1e 19:02:30 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:02:30 ---> Running in 8088ff79b667 19:02:31 Removing intermediate container 8088ff79b667 19:02:31 ---> a6e553209dc9 19:02:31 Step 11/27 : COPY . . 19:02:31 ---> e3220fc75d42 19:02:31 Step 12/27 : ARG MAKE="make build" 19:02:31 ---> Running in 883e75a76f5f 19:02:31 Removing intermediate container 883e75a76f5f 19:02:31 ---> 7281d0ae550b 19:02:31 Step 13/27 : RUN $MAKE 19:02:31 ---> Running in 2e0dd1c01c78 19:02:31 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0-dev.38 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 19:02:46 Removing intermediate container 2e0dd1c01c78 19:02:46 ---> 67310eaea859 19:02:46 Step 14/27 : FROM alpine:3.14 19:02:46 3.14: Pulling from library/alpine 19:02:46 8663204ce13b: Pulling fs layer 19:02:46 8663204ce13b: Verifying Checksum 19:02:46 8663204ce13b: Download complete 19:02:46 8663204ce13b: Pull complete 19:02:46 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 19:02:46 Status: Downloaded newer image for alpine:3.14 19:02:46 ---> e04c818066af 19:02:46 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 19:02:46 ---> Running in 4085ca140a68 19:02:46 Removing intermediate container 4085ca140a68 19:02:46 ---> 4e7db776624e 19:02:46 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 19:02:46 ---> Running in 28151353cfe3 19:02:46 Removing intermediate container 28151353cfe3 19:02:46 ---> 0f2cad791a3e 19:02:46 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 19:02:46 ---> Running in 4132e01457b9 19:02:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 19:02:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 19:02:46 (1/7) Installing ca-certificates (20211220-r0) 19:02:46 (2/7) Installing dumb-init (1.2.5-r1) 19:02:46 (3/7) Installing libgcc (10.3.1_git20210424-r2) 19:02:46 (4/7) Installing libsodium (1.0.18-r0) 19:02:46 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 19:02:46 (6/7) Installing libzmq (4.3.4-r0) 19:02:46 (7/7) Installing zeromq (4.3.4-r0) 19:02:46 Executing busybox-1.33.1-r7.trigger 19:02:46 Executing ca-certificates-20211220-r0.trigger 19:02:46 OK: 9 MiB in 21 packages 19:02:47 Removing intermediate container 4132e01457b9 19:02:47 ---> ee69bcf51c93 19:02:47 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 19:02:47 ---> a6b89c74012e 19:02:47 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 19:02:47 ---> 1e3178cbfccd 19:02:47 Step 20/27 : COPY --from=builder /app/res/ /res/ 19:02:47 ---> c4cd542285b5 19:02:47 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 19:02:48 ---> 77abd59bca0f 19:02:48 Step 22/27 : EXPOSE 48095 19:02:48 ---> Running in eae8217da3ec 19:02:48 Removing intermediate container eae8217da3ec 19:02:48 ---> c252776f4c13 19:02:48 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 19:02:48 ---> Running in a6565cbc1c2c 19:02:48 Removing intermediate container a6565cbc1c2c 19:02:48 ---> 2f0f2c9389d2 19:02:48 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:02:48 ---> Running in 3903610f0a52 19:02:48 Removing intermediate container 3903610f0a52 19:02:48 ---> 88123935ef7a 19:02:48 Step 25/27 : LABEL arch=amd64 19:02:48 ---> Running in c753c70d1500 19:02:48 Removing intermediate container c753c70d1500 19:02:48 ---> 3c83ed41b5a2 19:02:48 Step 26/27 : LABEL git_sha=6b983b9320deb447c84ae0c8baeb0d1191d2703c 19:02:48 ---> Running in 455530a27ada 19:02:48 Removing intermediate container 455530a27ada 19:02:48 ---> 3c1e40b0d114 19:02:48 Step 27/27 : LABEL version=0.0.0 19:02:48 ---> Running in d0e05483ae27 19:02:48 Removing intermediate container d0e05483ae27 19:02:48 ---> b4150e3b9022 19:02:48 [Warning] One or more build-args [ARCH] were not consumed 19:02:48 Successfully built b4150e3b9022 19:02:48 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:02:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:02:49 19:02:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 19:02:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:02:49 latest: Pulling from edgex-lftools-log-publisher 19:02:49 5eb5b503b376: Pulling fs layer 19:02:49 5c69ac0246d0: Pulling fs layer 19:02:49 ec43610c2a17: Pulling fs layer 19:02:49 3a2ae6a8a46f: Pulling fs layer 19:02:49 33b1e0a273af: Pulling fs layer 19:02:49 5d3b04190fa2: Pulling fs layer 19:02:49 2f39f015ded8: Pulling fs layer 19:02:49 3a2ae6a8a46f: Waiting 19:02:49 33b1e0a273af: Waiting 19:02:49 5d3b04190fa2: Waiting 19:02:49 2f39f015ded8: Waiting 19:02:49 5c69ac0246d0: Download complete 19:02:49 3a2ae6a8a46f: Verifying Checksum 19:02:49 3a2ae6a8a46f: Download complete 19:02:49 33b1e0a273af: Verifying Checksum 19:02:49 33b1e0a273af: Download complete 19:02:49 5d3b04190fa2: Verifying Checksum 19:02:49 5d3b04190fa2: Download complete 19:02:49 ec43610c2a17: Verifying Checksum 19:02:49 ec43610c2a17: Download complete 19:02:50 5eb5b503b376: Verifying Checksum 19:02:50 5eb5b503b376: Download complete 19:02:50 2f39f015ded8: Download complete 19:02:51 5eb5b503b376: Pull complete 19:02:51 5c69ac0246d0: Pull complete 19:02:51 ec43610c2a17: Pull complete 19:02:51 3a2ae6a8a46f: Pull complete 19:02:51 33b1e0a273af: Pull complete 19:02:52 5d3b04190fa2: Pull complete 19:02:56 2f39f015ded8: Pull complete 19:02:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:02:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:02:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 19:02:56 prd-ubuntu20.04-docker-8c-8g-11445 does not seem to be running inside a container 19:02:56 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:02:57 $ docker top 3e76198d8663758226c37161f31278182e9af496fde7ab7d00bc738c66309ccd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:02:58 ---> job-cost.sh 19:02:58 lf-activate-venv: SKIPPING 19:02:58 INFO: No Stack... 19:02:58 INFO: Retrieving Pricing Info for: v3-standard-8 19:02:59 INFO: Archiving Costs [Pipeline] sh 19:02:59 + cat /w/workspace/_app-service-configurable_PR-396/archives/cost.csv 19:02:59 + cut -d, -f6 [Pipeline] lock 19:02:59 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-396-1-stack-cost] 19:02:59 Resource [jenkins-edgexfoundry-app-service-configurable-PR-396-1-stack-cost] did not exist. Created. 19:02:59 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-396-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:02:59 + echo total: 0.2199999988079071 [Pipeline] stash 19:03:00 Stashed 1 file(s) [Pipeline] } 19:03:00 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-396-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:03:00 $ docker stop --time=1 3e76198d8663758226c37161f31278182e9af496fde7ab7d00bc738c66309ccd 19:03:01 $ docker rm -f 3e76198d8663758226c37161f31278182e9af496fde7ab7d00bc738c66309ccd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:06:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11448 in /w/workspace/_app-service-configurable_PR-396 [Pipeline] { [Pipeline] ws 19:06:22 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 19:06:22 Selected Git installation does not exist. Using Default 19:06:22 The recommended git tool is: NONE 19:06:31 using credential edgex-jenkins-ssh 19:06:31 Cloning the remote Git repository 19:06:32 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 19:06:32 > git init /w/workspace/app-service-configurable/1 # timeout=10 19:06:32 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 19:06:32 > git --version # timeout=10 19:06:32 > git --version # 'git version 2.25.1' 19:06:32 using GIT_SSH to set credentials SSH Credentials for GitHub 19:06:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:06:34 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 19:06:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:06:34 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 19:06:34 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 19:06:34 using GIT_SSH to set credentials SSH Credentials for GitHub 19:06:34 > 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 19:06:34 Merging remotes/origin/main commit 4190c6fd5c33f3107dc794a5b34667c4978bc33f into PR head commit 6b983b9320deb447c84ae0c8baeb0d1191d2703c 19:06:35 Merge succeeded, producing 6b983b9320deb447c84ae0c8baeb0d1191d2703c 19:06:35 Checking out Revision 6b983b9320deb447c84ae0c8baeb0d1191d2703c (PR-396) 19:06:34 > git config core.sparsecheckout # timeout=10 19:06:35 > git checkout -f 6b983b9320deb447c84ae0c8baeb0d1191d2703c # timeout=10 19:06:35 > git remote # timeout=10 19:06:35 > git config --get remote.origin.url # timeout=10 19:06:35 using GIT_SSH to set credentials SSH Credentials for GitHub 19:06:35 > git merge 4190c6fd5c33f3107dc794a5b34667c4978bc33f # timeout=10 19:06:35 > git rev-parse HEAD^{commit} # timeout=10 19:06:35 > git config core.sparsecheckout # timeout=10 19:06:35 > git checkout -f 6b983b9320deb447c84ae0c8baeb0d1191d2703c # timeout=10 19:06:39 Commit message: "feat: enable security hardening" 19:06:40 > git --version # timeout=10 19:06:40 > git --version # 'git version 2.25.1' 19:06:40 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:06:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:06:41 % Total % Received % Xferd Average Speed Time Time Time Current 19:06:41 Dload Upload Total Spent Left Speed 19:06:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 37359 0 --:--:-- --:--:-- --:--:-- 37477 [Pipeline] sh 19:06:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:06:42 + sudo tee /etc/docker/daemon.new 19:06:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:06:42 { 19:06:42 "registry-mirrors": [ 19:06:42 "https://nexus3.edgexfoundry.org:10001" 19:06:42 ], 19:06:42 "bip": "10.250.0.254/24", 19:06:42 "hosts": [ 19:06:42 "tcp://0.0.0.0:5555", 19:06:42 "unix:///var/run/docker.sock" 19:06:42 ], 19:06:42 "mtu": 1458, 19:06:42 "selinux-enabled": true, 19:06:42 "seccomp-profile": "/etc/docker/seccomp.json" 19:06:42 } [Pipeline] sh 19:06:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:06:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:07:01 provisioning config files... 19:07:01 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config1765983244328066637tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:07:02 ---> docker-login.sh 19:07:02 nexus3.edgexfoundry.org:10001 19:07:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:03 Configure a credential helper to remove this warning. See 19:07:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:03 19:07:03 Login Succeeded 19:07:03 nexus3.edgexfoundry.org:10002 19:07:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:04 Configure a credential helper to remove this warning. See 19:07:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:04 19:07:04 Login Succeeded 19:07:04 nexus3.edgexfoundry.org:10003 19:07:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:04 Configure a credential helper to remove this warning. See 19:07:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:04 19:07:04 Login Succeeded 19:07:04 nexus3.edgexfoundry.org:10004 19:07:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:05 Configure a credential helper to remove this warning. See 19:07:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:05 19:07:05 Login Succeeded 19:07:05 docker.io 19:07:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:06 Configure a credential helper to remove this warning. See 19:07:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:06 19:07:06 Login Succeeded 19:07:06 ---> docker-login.sh ends [Pipeline] } 19:07:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:07:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:07:06 ========================================================= 19:07:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 19:07:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 19:07:07 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 19:07:07 Sending build context to Docker daemon 210.4kB 19:07:07 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 19:07:07 Step 2/13 : FROM ${BASE} AS builder 19:07:07 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:07:07 9b3977197b4f: Pulling fs layer 19:07:07 1a89e8eeedd5: Pulling fs layer 19:07:07 94645a83ff95: Pulling fs layer 19:07:07 3f3a8bcf1eab: Pulling fs layer 19:07:07 0c92f367c5e7: Pulling fs layer 19:07:07 f7c0051592d6: Pulling fs layer 19:07:07 a227ed2f7395: Pulling fs layer 19:07:07 7b1c46037f91: Pulling fs layer 19:07:07 3f3a8bcf1eab: Waiting 19:07:07 f7c0051592d6: Waiting 19:07:07 0c92f367c5e7: Waiting 19:07:07 a227ed2f7395: Waiting 19:07:07 7b1c46037f91: Waiting 19:07:07 94645a83ff95: Download complete 19:07:07 1a89e8eeedd5: Download complete 19:07:07 0c92f367c5e7: Verifying Checksum 19:07:07 0c92f367c5e7: Download complete 19:07:07 f7c0051592d6: Verifying Checksum 19:07:07 f7c0051592d6: Download complete 19:07:07 9b3977197b4f: Verifying Checksum 19:07:07 9b3977197b4f: Download complete 19:07:08 a227ed2f7395: Verifying Checksum 19:07:08 a227ed2f7395: Download complete 19:07:08 9b3977197b4f: Pull complete 19:07:09 1a89e8eeedd5: Pull complete 19:07:10 94645a83ff95: Pull complete 19:07:10 7b1c46037f91: Verifying Checksum 19:07:10 7b1c46037f91: Download complete 19:07:11 3f3a8bcf1eab: Verifying Checksum 19:07:11 3f3a8bcf1eab: Download complete 19:07:26 3f3a8bcf1eab: Pull complete 19:07:26 0c92f367c5e7: Pull complete 19:07:26 f7c0051592d6: Pull complete 19:07:26 a227ed2f7395: Pull complete 19:07:32 7b1c46037f91: Pull complete 19:07:32 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 19:07:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 19:07:32 ---> f79e39bc4007 19:07:32 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 19:07:33 ---> Running in a2f0bf321528 19:07:33 Removing intermediate container a2f0bf321528 19:07:33 ---> 6afe3a872bf5 19:07:33 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 19:07:33 ---> Running in de4dcec8d777 19:07:34 Removing intermediate container de4dcec8d777 19:07:34 ---> 4714bad14569 19:07:34 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 19:07:34 ---> Running in 7bd2f9ac1d34 19:07:34 Removing intermediate container 7bd2f9ac1d34 19:07:34 ---> 276299cfc391 19:07:34 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:07:35 ---> Running in 7f63efd377c3 19:07:39 Removing intermediate container 7f63efd377c3 19:07:39 ---> f37313ceddd6 19:07:39 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:07:39 ---> Running in ab64161d3836 19:07:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 19:07:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 19:07:42 OK: 220 MiB in 52 packages 19:07:43 Removing intermediate container ab64161d3836 19:07:43 ---> 63a789b113e9 19:07:43 Step 8/13 : WORKDIR /app 19:07:43 ---> Running in 2719cf681dde 19:07:44 Removing intermediate container 2719cf681dde 19:07:44 ---> 4509cc8203f5 19:07:44 Step 9/13 : COPY go.mod vendor* ./ 19:07:45 ---> 52a0a30ad24f 19:07:45 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:07:45 ---> Running in b523ee1d758d 19:09:22 Removing intermediate container b523ee1d758d 19:09:22 ---> dc206471007a 19:09:22 Step 11/13 : COPY . . 19:09:22 ---> 93ea0bd744ce 19:09:22 Step 12/13 : ARG MAKE="make build" 19:09:22 ---> Running in 19af04e89f2b 19:09:22 Removing intermediate container 19af04e89f2b 19:09:22 ---> a611727b6ab9 19:09:22 Step 13/13 : RUN $MAKE 19:09:22 ---> Running in f47081621fe2 19:09:22 noop 19:09:22 Removing intermediate container f47081621fe2 19:09:22 ---> fe79c8c4ea05 19:09:22 Successfully built fe79c8c4ea05 19:09:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:09:22 + docker inspect -f . ci-base-image-arm64 19:09:22 . [Pipeline] withDockerContainer 19:09:23 prd-ubuntu20.04-docker-arm64-4c-16g-11448 does not seem to be running inside a container 19:09:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:09:25 $ docker top 89a38c4dd00e600f6c3fa90af1d5aec253b8b3e638abae05422fbe611a8da1b5 -eo pid,comm [Pipeline] { [Pipeline] sh 19:09:26 + go version 19:09:26 go version go1.17.6 linux/arm64 [Pipeline] } 19:09:26 $ docker stop --time=1 89a38c4dd00e600f6c3fa90af1d5aec253b8b3e638abae05422fbe611a8da1b5 19:09:28 $ docker rm -f 89a38c4dd00e600f6c3fa90af1d5aec253b8b3e638abae05422fbe611a8da1b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:09:29 + docker inspect -f . ci-base-image-arm64 19:09:29 . [Pipeline] withDockerContainer 19:09:29 prd-ubuntu20.04-docker-arm64-4c-16g-11448 does not seem to be running inside a container 19:09:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:09:31 $ docker top 6977aa8b7b662182f314e7762f61f82b9ce65f5c6de047f01992ce0535450687 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:09:32 + make test 19:09:32 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 19:10:40 ? github.com/edgexfoundry/app-service-configurable [no test files] 19:10:40 CGO_ENABLED=1 go vet ./... 19:11:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:11:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:11:03 ./bin/test-attribution-txt.sh [Pipeline] echo 19:11:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:11:03 $ docker stop --time=1 6977aa8b7b662182f314e7762f61f82b9ce65f5c6de047f01992ce0535450687 19:11:05 $ docker rm -f 6977aa8b7b662182f314e7762f61f82b9ce65f5c6de047f01992ce0535450687 [Pipeline] // withDockerContainer [Pipeline] sh 19:11:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:11:06 Warning: overwriting stash ‘coverage-report’ 19:11:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:11:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:11:08 + ls -al . 19:11:08 total 172 19:11:08 drwxrwxr-x 7 jenkins jenkins 4096 Apr 7 19:11 . 19:11:08 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 19:06 .. 19:11:08 -rw-rw-r-- 1 jenkins jenkins 119 Apr 7 19:06 .dockerignore 19:11:08 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 19:06 .git 19:11:08 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 19:06 .github 19:11:08 -rw-rw-r-- 1 jenkins jenkins 104 Apr 7 19:06 .gitignore 19:11:08 -rw-rw-r-- 1 jenkins jenkins 7627 Apr 7 19:06 Attribution.txt 19:11:08 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 7 19:06 CHANGELOG.md 19:11:08 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 7 19:06 Dockerfile 19:11:08 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 19:06 GOVERNANCE.md 19:11:08 -rw-rw-r-- 1 jenkins jenkins 688 Apr 7 19:06 Jenkinsfile 19:11:08 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 7 19:06 LICENSE 19:11:08 -rw-rw-r-- 1 jenkins jenkins 618 Apr 7 19:06 OWNERS.md 19:11:08 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 7 19:06 README.md 19:11:08 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 19:01 VERSION 19:11:08 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 19:06 bin 19:11:08 -rw-r--r-- 1 jenkins jenkins 10 Apr 7 19:09 coverage.out 19:11:08 -rw-rw-r-- 1 jenkins jenkins 2816 Apr 7 19:06 go.mod 19:11:08 -rw-rw-r-- 1 jenkins jenkins 50335 Apr 7 19:06 go.sum 19:11:08 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 7 19:06 main.go 19:11:08 -rw-rw-r-- 1 jenkins jenkins 1860 Apr 7 19:06 makefile 19:11:08 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 19:06 res 19:11:08 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 19:06 snap [Pipeline] isUnix [Pipeline] sh 19:11:08 + 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=6b983b9320deb447c84ae0c8baeb0d1191d2703c --label arch=arm64 --label version=0.0.0 . 19:11:08 Sending build context to Docker daemon 211.5kB 19:11:09 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 19:11:09 Step 2/27 : FROM ${BASE} AS builder 19:11:09 ---> fe79c8c4ea05 19:11:09 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 19:11:09 ---> Running in c86fb5b529b0 19:11:09 Removing intermediate container c86fb5b529b0 19:11:09 ---> c657151cb7ab 19:11:09 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 19:11:09 ---> Running in 8ec8aa0ee6f8 19:11:09 Removing intermediate container 8ec8aa0ee6f8 19:11:09 ---> ec9f684ad314 19:11:09 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 19:11:10 ---> Running in 8ca97f9d7f90 19:11:10 Removing intermediate container 8ca97f9d7f90 19:11:10 ---> ec4159a221a8 19:11:10 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:11:10 ---> Running in 64a119afd044 19:11:12 Removing intermediate container 64a119afd044 19:11:12 ---> 99fe7707b0a6 19:11:12 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:11:12 ---> Running in e88f1bed2dce 19:11:14 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 19:11:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 19:11:16 OK: 220 MiB in 52 packages 19:11:17 Removing intermediate container e88f1bed2dce 19:11:17 ---> 22122646e414 19:11:17 Step 8/27 : WORKDIR /app 19:11:17 ---> Running in 679d13b55d87 19:11:17 Removing intermediate container 679d13b55d87 19:11:17 ---> dc06b64fd8b2 19:11:17 Step 9/27 : COPY go.mod vendor* ./ 19:11:18 ---> 2bf845fd87b4 19:11:18 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:11:18 ---> Running in 512608b30a04 19:11:21 Removing intermediate container 512608b30a04 19:11:21 ---> 5c7931e97287 19:11:21 Step 11/27 : COPY . . 19:11:21 ---> cc9c82472e5f 19:11:21 Step 12/27 : ARG MAKE="make build" 19:11:21 ---> Running in 3651e7a13ece 19:11:22 Removing intermediate container 3651e7a13ece 19:11:22 ---> 722d6ddc7fe6 19:11:22 Step 13/27 : RUN $MAKE 19:11:22 ---> Running in ae2d7a47b29a 19:11:23 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0-dev.38 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 19:13:15 Removing intermediate container ae2d7a47b29a 19:13:15 ---> a5f86fbcf660 19:13:15 Step 14/27 : FROM alpine:3.14 19:13:15 3.14: Pulling from library/alpine 19:13:15 455c02918c45: Pulling fs layer 19:13:15 455c02918c45: Download complete 19:13:15 455c02918c45: Pull complete 19:13:15 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 19:13:15 Status: Downloaded newer image for alpine:3.14 19:13:15 ---> ac73e934f311 19:13:15 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 19:13:15 ---> Running in 885091439d7b 19:13:15 Removing intermediate container 885091439d7b 19:13:15 ---> 56be79c42314 19:13:15 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 19:13:15 ---> Running in 3b568f88b745 19:13:15 Removing intermediate container 3b568f88b745 19:13:15 ---> fade6c592bd4 19:13:15 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 19:13:15 ---> Running in d6d7f08bbb5c 19:13:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 19:13:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 19:13:15 (1/7) Installing ca-certificates (20211220-r0) 19:13:15 (2/7) Installing dumb-init (1.2.5-r1) 19:13:15 (3/7) Installing libgcc (10.3.1_git20210424-r2) 19:13:15 (4/7) Installing libsodium (1.0.18-r0) 19:13:15 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 19:13:15 (6/7) Installing libzmq (4.3.4-r0) 19:13:15 (7/7) Installing zeromq (4.3.4-r0) 19:13:15 Executing busybox-1.33.1-r7.trigger 19:13:15 Executing ca-certificates-20211220-r0.trigger 19:13:15 OK: 9 MiB in 21 packages 19:13:15 Removing intermediate container d6d7f08bbb5c 19:13:15 ---> feceb63a890d 19:13:15 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 19:13:15 ---> d98b36985171 19:13:15 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 19:13:15 ---> 238dfd868252 19:13:15 Step 20/27 : COPY --from=builder /app/res/ /res/ 19:13:15 ---> 0beca7beeef2 19:13:15 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 19:13:15 ---> f8f3bbd94fdc 19:13:15 Step 22/27 : EXPOSE 48095 19:13:15 ---> Running in 139fb15c6734 19:13:15 Removing intermediate container 139fb15c6734 19:13:15 ---> 60e3b4e52650 19:13:15 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 19:13:15 ---> Running in 699d79e241e8 19:13:15 Removing intermediate container 699d79e241e8 19:13:15 ---> bb31a3e95eb7 19:13:15 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:13:15 ---> Running in fd1192d66a44 19:13:15 Removing intermediate container fd1192d66a44 19:13:15 ---> e9284398fa1f 19:13:15 Step 25/27 : LABEL arch=arm64 19:13:15 ---> Running in 150b57e4e676 19:13:15 Removing intermediate container 150b57e4e676 19:13:15 ---> 74d12928ded3 19:13:15 Step 26/27 : LABEL git_sha=6b983b9320deb447c84ae0c8baeb0d1191d2703c 19:13:15 ---> Running in bcbc0c4397ed 19:13:15 Removing intermediate container bcbc0c4397ed 19:13:15 ---> 6b2bd403a085 19:13:15 Step 27/27 : LABEL version=0.0.0 19:13:15 ---> Running in e4a3b5ff6abe 19:13:15 Removing intermediate container e4a3b5ff6abe 19:13:15 ---> f0247fbdc896 19:13:15 [Warning] One or more build-args [ARCH] were not consumed 19:13:15 Successfully built f0247fbdc896 19:13:15 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:13:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:13:16 19:13:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 19:13:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:13:17 arm64: Pulling from edgex-lftools-log-publisher 19:13:17 8998bd30e6a1: Pulling fs layer 19:13:17 04944245beec: Pulling fs layer 19:13:17 699f458cf7ca: Pulling fs layer 19:13:17 765212b225bb: Pulling fs layer 19:13:17 f23df028b6ca: Pulling fs layer 19:13:17 d65c8cfc05b1: Pulling fs layer 19:13:17 2437ff75d9bd: Pulling fs layer 19:13:17 765212b225bb: Waiting 19:13:17 f23df028b6ca: Waiting 19:13:17 d65c8cfc05b1: Waiting 19:13:17 2437ff75d9bd: Waiting 19:13:17 04944245beec: Verifying Checksum 19:13:17 04944245beec: Download complete 19:13:17 765212b225bb: Verifying Checksum 19:13:17 765212b225bb: Download complete 19:13:17 f23df028b6ca: Verifying Checksum 19:13:17 f23df028b6ca: Download complete 19:13:17 d65c8cfc05b1: Download complete 19:13:17 699f458cf7ca: Verifying Checksum 19:13:17 699f458cf7ca: Download complete 19:13:17 8998bd30e6a1: Verifying Checksum 19:13:17 8998bd30e6a1: Download complete 19:13:20 2437ff75d9bd: Verifying Checksum 19:13:20 2437ff75d9bd: Download complete 19:13:22 8998bd30e6a1: Pull complete 19:13:22 04944245beec: Pull complete 19:13:24 699f458cf7ca: Pull complete 19:13:24 765212b225bb: Pull complete 19:13:25 f23df028b6ca: Pull complete 19:13:25 d65c8cfc05b1: Pull complete 19:13:40 2437ff75d9bd: Pull complete 19:13:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:13:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:13:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 19:13:41 prd-ubuntu20.04-docker-arm64-4c-16g-11448 does not seem to be running inside a container 19:13:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:13:44 $ docker top ba5fbd2fa7cb3fbd6823996dc1ac375e62c38fc2054334978aac31d3d094b98f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:13:45 ---> job-cost.sh 19:13:45 lf-activate-venv: SKIPPING 19:13:45 INFO: No Stack... 19:13:46 INFO: Retrieving Pricing Info for: v3-standard-4 19:13:46 INFO: Archiving Costs [Pipeline] sh 19:13:47 + + catcut /w/workspace/app-service-configurable/1/archives/cost.csv 19:13:47 -d, -f6 [Pipeline] lock 19:13:47 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-396-1-stack-cost] 19:13:47 Resource [jenkins-edgexfoundry-app-service-configurable-PR-396-1-stack-cost] did not exist. Created. 19:13:47 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-396-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:13:48 /w/workspace/app-service-configurable/1@tmp/durable-f4a6d870/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:13:49 + echo total: 0.10999999940395355 [Pipeline] stash 19:13:49 Warning: overwriting stash ‘stack-cost’ 19:13:49 Stashed 1 file(s) [Pipeline] } 19:13:49 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-396-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:13:49 $ docker stop --time=1 ba5fbd2fa7cb3fbd6823996dc1ac375e62c38fc2054334978aac31d3d094b98f 19:13:51 $ docker rm -f ba5fbd2fa7cb3fbd6823996dc1ac375e62c38fc2054334978aac31d3d094b98f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 19:13:52 provisioning config files... 19:13:52 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-396@tmp/config5954397289758818170tmp [Pipeline] { [Pipeline] sh 19:13:52 + set +x 19:13:52 + curl -s https://codecov.io/bash 19:13:52 + bash -s -- 19:13:52 19:13:52 _____ _ 19:13:52 / ____| | | 19:13:52 | | ___ __| | ___ ___ _____ __ 19:13:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:13:52 | |___| (_) | (_| | __/ (_| (_) \ V / 19:13:52 \_____\___/ \__,_|\___|\___\___/ \_/ 19:13:52 Bash-1.0.6 19:13:52 19:13:52 19:13:52 ==> git version 2.25.1 found 19:13:52 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 19:13:52 Release-Date: 2020-01-08 19:13:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:13:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:13:52 ==> Jenkins CI detected. 19:13:52 current dir:  /w/workspace/_app-service-configurable_PR-396 19:13:52 project root: . 19:13:52 --> token set from env 19:13:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:13:52 ==> Running gcov in . (disable via -X gcov) 19:13:52 ==> Python coveragepy not found 19:13:52 ==> Searching for coverage reports in: 19:13:52 + . 19:13:52 -> Found 1 reports 19:13:52 ==> Detecting git/mercurial file structure 19:13:52 ==> Reading reports 19:13:52 + ./coverage.out bytes=10 19:13:52 ==> Appending adjustments 19:13:52 https://docs.codecov.io/docs/fixing-reports 19:13:52 + Found adjustments 19:13:52 ==> Gzipping contents 19:13:52 4.0K /tmp/codecov.TbEbUl.gz 19:13:52 ==> Uploading reports 19:13:52 url: https://codecov.io 19:13:52 query: branch=PR-396&commit=6b983b9320deb447c84ae0c8baeb0d1191d2703c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-396%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=396&job=&cmd_args= 19:13:52 -> Pinging Codecov 19:13:52 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=6b983b9320deb447c84ae0c8baeb0d1191d2703c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-396%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=396&job=&cmd_args= 19:13:53 -> Uploading to 19:13:53 https://storage.googleapis.com/codecov/v4/raw/2022-04-07/A97CA9966030D2A3747ED39772930CCE/6b983b9320deb447c84ae0c8baeb0d1191d2703c/c3371759-3772-4936-8722-670c2aa3953f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220407T191352Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fe08d2b4203fb0c014d4a06673a7a325db957ca089ab9f5a26c844786c7d4152 19:13:53 % Total % Received % Xferd Average Speed Time Time Time Current 19:13:53 Dload Upload Total Spent Left Speed 19:13:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 569 0 0 100 569 0 2658 --:--:-- --:--:-- --:--:-- 2658 19:13:53 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/6b983b9320deb447c84ae0c8baeb0d1191d2703c [Pipeline] } 19:13:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:13:55 + [ -d /w/workspace/_app-service-configurable_PR-396/archives ] 19:13:55 + ls -al /w/workspace/_app-service-configurable_PR-396/archives 19:13:55 total 16 19:13:55 drwxr-xr-x 3 root root 4096 Apr 7 19:02 . 19:13:55 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 19:02 .. 19:13:55 drwxr-xr-x 2 root root 4096 Apr 7 19:02 cost 19:13:55 -rw-r--r-- 1 root root 95 Apr 7 19:02 cost.csv 19:13:55 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-396/archives 19:13:55 + ls -al /w/workspace/_app-service-configurable_PR-396/archives 19:13:55 total 16 19:13:55 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 19:02 . 19:13:55 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 19:02 .. 19:13:55 drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 19:02 cost 19:13:55 -rw-r--r-- 1 jenkins jenkins 95 Apr 7 19:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:13:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:13:56 ---> package-listing.sh 19:13:56 ++ facter osfamily 19:13:56 ++ tr '[:upper:]' '[:lower:]' 19:13:56 + OS_FAMILY=debian 19:13:56 + workspace=/w/workspace/_app-service-configurable_PR-396 19:13:56 + START_PACKAGES=/tmp/packages_start.txt 19:13:56 + END_PACKAGES=/tmp/packages_end.txt 19:13:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:13:56 + PACKAGES=/tmp/packages_start.txt 19:13:56 + '[' /w/workspace/_app-service-configurable_PR-396 ']' 19:13:56 + PACKAGES=/tmp/packages_end.txt 19:13:56 + case "${OS_FAMILY}" in 19:13:56 + dpkg -l 19:13:56 + grep '^ii' 19:13:56 + '[' -f /tmp/packages_start.txt ']' 19:13:56 + '[' -f /tmp/packages_end.txt ']' 19:13:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:13:56 + '[' /w/workspace/_app-service-configurable_PR-396 ']' 19:13:56 + mkdir -p /w/workspace/_app-service-configurable_PR-396/archives/ 19:13:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-396/archives/ [Pipeline] echo 19:13:56 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 19:13:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 19:13:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:13:57 . [Pipeline] withDockerContainer 19:13:57 prd-ubuntu20.04-docker-8c-8g-11445 does not seem to be running inside a container 19:13:57 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:13:57 $ docker top 41f2c52ed6f879587bae71e59f33828c502991e59235836b607dd4de2c5cf184 -eo pid,comm [Pipeline] { [Pipeline] sh 19:13:58 + touch /tmp/pre-build-complete [Pipeline] sh 19:13:58 + mkdir -p /var/log/sysstat [Pipeline] sh 19:13:58 + ls /var/log/sa-host 19:13:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:13:59 provisioning config files... 19:13:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-396@tmp/config95364966841218149tmp [Pipeline] { [Pipeline] echo 19:13:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:13:59 ---> create-netrc.sh [Pipeline] } 19:13:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:13:59 ---> python-tools-install.sh [Pipeline] echo 19:13:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:14:00 ---> sudo-logs.sh 19:14:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:14:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:14:00 ---> job-cost.sh 19:14:00 lf-activate-venv: SKIPPING 19:14:00 DEBUG: total: 0.2199999988079071 19:14:00 INFO: Retrieving Stack Cost... 19:14:00 INFO: Retrieving Pricing Info for: v3-standard-8 19:14:01 INFO: Archiving Costs [Pipeline] echo 19:14:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:14:01 ---> logs-deploy.sh 19:14:01 lf-activate-venv: SKIPPING 19:14:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-396/1 19:14:01 INFO: archiving workspace using pattern(s): 19:14:02 Archives upload complete. 19:14:03 INFO: archiving logs to Nexus