Pull request #397 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cd0f95616676412598b1774654421c1975d645be+e18cf4e9ef6bfb404f044f68c1d78b234feb3069 (c1bfd93451ab0c3c7b48a7b763781686df66a2a0) 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-ssh214530443038223515.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-ssh1687214511846263101.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-397/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-397/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9862666312978838820.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-397/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3619380852809712112.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-ssh7796349454405443292.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-397/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-397/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh17975898252010115636.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 ‘prd-ubuntu20.04-docker-8c-8g-20673’ Running on prd-ubuntu20.04-docker-8c-8g-20681 in /w/workspace/_app-service-configurable_PR-397 [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-397 # 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 > 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/397/head:refs/remotes/origin/PR-397 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e18cf4e9ef6bfb404f044f68c1d78b234feb3069 into PR head commit cd0f95616676412598b1774654421c1975d645be Merge succeeded, producing cd0f95616676412598b1774654421c1975d645be Checking out Revision cd0f95616676412598b1774654421c1975d645be (PR-397) > git config core.sparsecheckout # timeout=10 > git checkout -f cd0f95616676412598b1774654421c1975d645be # 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 e18cf4e9ef6bfb404f044f68c1d78b234feb3069 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cd0f95616676412598b1774654421c1975d645be # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" 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 14:15:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:15:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:15:32 ========================================================= 14:15:32 EdgeX Global Pipelines Version Info 14:15:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:15:33 ------------------- 14:15:33 stable info: 14:15:33 ------------------- 14:15:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:15:33 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 14:15:33 Message: update stable to v1.0.221 14:15:33 ------------------- 14:15:33 experimental info: 14:15:33 ------------------- 14:15:33 Commited By: **** collab-it+edgex@linuxfoundation.org 14:15:33 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 14:15:33 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:15:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 14:15:34 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 14:15:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:15:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:15:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:15:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 14:15:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:15:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:15:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:15:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:15:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:15:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 14:15:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:15:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:15:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:15:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:15:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:15:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:15:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:15:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:15:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:15:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:15:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:15:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:15:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:15:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:15:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-397 [Pipeline] echo 14:15:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-397 [Pipeline] echo 14:15:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-397 [Pipeline] echo 14:15:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cd0f95616676412598b1774654421c1975d645be [Pipeline] echo 14:15:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cd0f956 [Pipeline] echo 14:15:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:15:35 provisioning config files... 14:15:35 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-397@tmp/config3898131090376130080tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:15:35 ---> docker-login.sh 14:15:35 nexus3.edgexfoundry.org:10001 14:15:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:15:36 Configure a credential helper to remove this warning. See 14:15:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:15:36 14:15:36 Login Succeeded 14:15:36 nexus3.edgexfoundry.org:10002 14:15:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:15:36 Configure a credential helper to remove this warning. See 14:15:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:15:36 14:15:36 Login Succeeded 14:15:36 nexus3.edgexfoundry.org:10003 14:15:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:15:36 Configure a credential helper to remove this warning. See 14:15:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:15:36 14:15:36 Login Succeeded 14:15:36 nexus3.edgexfoundry.org:10004 14:15:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:15:36 Configure a credential helper to remove this warning. See 14:15:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:15:36 14:15:36 Login Succeeded 14:15:36 docker.io 14:15:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:15:37 Configure a credential helper to remove this warning. See 14:15:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:15:37 14:15:37 Login Succeeded 14:15:37 ---> docker-login.sh ends [Pipeline] } 14:15:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:15:38 + git rev-list -1 --merges cd0f95616676412598b1774654421c1975d645be~1..cd0f95616676412598b1774654421c1975d645be [Pipeline] echo 14:15:38 -----------> git rev-list -1 --merges cd0f95616676412598b1774654421c1975d645be~1..cd0f95616676412598b1774654421c1975d645be cd0f95616676412598b1774654421c1975d645be [false] [Pipeline] sh 14:15:38 + git log --format=format:%s -1 cd0f95616676412598b1774654421c1975d645be [Pipeline] echo 14:15:38 ========================================================= 14:15:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:15:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:15:38 + git log --format=format:%s -1 cd0f95616676412598b1774654421c1975d645be [Pipeline] echo 14:15:38 [semverPrep] GIT_COMMIT: cd0f95616676412598b1774654421c1975d645be, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo 14:15:38 [semverPrep] This is not a build commit. [Pipeline] sh 14:15:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:15:39 + grep -v github /etc/ssh/ssh_known_hosts 14:15:39 + [ -e /tmp/ssh_known_hosts ] 14:15:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:15:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:15:39 + sudo tee -a /etc/ssh/ssh_known_hosts 14:15:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:15:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:15:39 14:15:39 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:15:40 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:15:40 latest: Pulling from edgex-devops/git-semver 14:15:40 a0d0a0d46f8b: Pulling fs layer 14:15:40 3e5f54012d9b: Pulling fs layer 14:15:40 4c7163046ea9: Pulling fs layer 14:15:40 0c2d73faf560: Pulling fs layer 14:15:40 0c2d73faf560: Waiting 14:15:40 3e5f54012d9b: Download complete 14:15:40 a0d0a0d46f8b: Verifying Checksum 14:15:40 a0d0a0d46f8b: Download complete 14:15:40 0c2d73faf560: Verifying Checksum 14:15:40 0c2d73faf560: Download complete 14:15:40 4c7163046ea9: Verifying Checksum 14:15:40 4c7163046ea9: Download complete 14:15:40 a0d0a0d46f8b: Pull complete 14:15:40 3e5f54012d9b: Pull complete 14:15:41 4c7163046ea9: Pull complete 14:15:41 0c2d73faf560: Pull complete 14:15:41 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 14:15:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:15:41 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:15:41 prd-ubuntu20.04-docker-8c-8g-20681 does not seem to be running inside a container 14:15:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-397 -v /w/workspace/_app-service-configurable_PR-397:/w/workspace/_app-service-configurable_PR-397:rw,z -v /w/workspace/_app-service-configurable_PR-397@tmp:/w/workspace/_app-service-configurable_PR-397@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:15:42 $ docker top 051de07fea68e2739946cf6d9c12b71fc4bc472b8976b35df508b45041502004 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:15:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:15:42 [ssh-agent] Looking for ssh-agent implementation... 14:15:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:15:42 $ docker exec 051de07fea68e2739946cf6d9c12b71fc4bc472b8976b35df508b45041502004 ssh-agent 14:15:42 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXleHled/agent.14 14:15:42 SSH_AGENT_PID=21 14:15:42 Running ssh-add (command line suppressed) 14:15:42 Identity added: /w/workspace/_app-service-configurable_PR-397@tmp/private_key_6895829212404377199.key (/w/workspace/_app-service-configurable_PR-397@tmp/private_key_6895829212404377199.key) 14:15:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:15:42 + git tag --points-at HEAD [Pipeline] } 14:15:42 $ docker exec --env ******** --env ******** 051de07fea68e2739946cf6d9c12b71fc4bc472b8976b35df508b45041502004 ssh-agent -k 14:15:43 unset SSH_AUTH_SOCK; 14:15:43 unset SSH_AGENT_PID; 14:15:43 echo Agent pid 21 killed; 14:15:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:15:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:15:43 [ssh-agent] Looking for ssh-agent implementation... 14:15:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:15:43 $ docker exec 051de07fea68e2739946cf6d9c12b71fc4bc472b8976b35df508b45041502004 ssh-agent 14:15:43 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGAepgI/agent.54 14:15:43 SSH_AGENT_PID=60 14:15:43 Running ssh-add (command line suppressed) 14:15:43 Identity added: /w/workspace/_app-service-configurable_PR-397@tmp/private_key_408432470039447074.key (/w/workspace/_app-service-configurable_PR-397@tmp/private_key_408432470039447074.key) 14:15:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:15:43 + git semver init 14:15:43 # -> Open(): unable to determine branch for HEAD 14:15:43 # $GIT_DIR = /w/workspace/_app-service-configurable_PR-397/.git 14:15:43 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-397 14:15:43 # $SEMVER_REMOTE_NAME = origin 14:15:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:15:43 # $SEMVER_USER_NAME = edgex-jenkins 14:15:43 # $SEMVER_BRANCH = PR-397 14:15:43 # $SEMVER_TEMP = /tmp/semver-082734994 14:15:43 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 14:15:44 # '/tmp/semver-082734994' -> '/w/workspace/_app-service-configurable_PR-397/.semver' 14:15:44 # -> Force: false 14:15:44 # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-397/.semver [Pipeline] } 14:15:44 $ docker exec --env ******** --env ******** 051de07fea68e2739946cf6d9c12b71fc4bc472b8976b35df508b45041502004 ssh-agent -k 14:15:45 unset SSH_AUTH_SOCK; 14:15:45 unset SSH_AGENT_PID; 14:15:45 echo Agent pid 60 killed; 14:15:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:15:45 + git semver [Pipeline] } 14:15:45 $ docker stop --time=1 051de07fea68e2739946cf6d9c12b71fc4bc472b8976b35df508b45041502004 14:15:46 $ docker rm -f 051de07fea68e2739946cf6d9c12b71fc4bc472b8976b35df508b45041502004 [Pipeline] // withDockerContainer [Pipeline] sh 14:15:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:15:47 Stashed 1 file(s) [Pipeline] echo 14:15:47 [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 14:15:48 provisioning config files... 14:15:48 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-397@tmp/config8165080020217697930tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:15:48 ---> docker-login.sh 14:15:48 nexus3.edgexfoundry.org:10001 14:15:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:15:48 Configure a credential helper to remove this warning. See 14:15:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:15:48 14:15:48 Login Succeeded 14:15:48 nexus3.edgexfoundry.org:10002 14:15:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:15:48 Configure a credential helper to remove this warning. See 14:15:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:15:48 14:15:48 Login Succeeded 14:15:48 nexus3.edgexfoundry.org:10003 14:15:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:15:48 Configure a credential helper to remove this warning. See 14:15:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:15:48 14:15:48 Login Succeeded 14:15:48 nexus3.edgexfoundry.org:10004 14:15:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:15:49 Configure a credential helper to remove this warning. See 14:15:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:15:49 14:15:49 Login Succeeded 14:15:49 docker.io 14:15:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:15:49 Configure a credential helper to remove this warning. See 14:15:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:15:49 14:15:49 Login Succeeded 14:15:49 ---> docker-login.sh ends [Pipeline] } 14:15:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:15:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:15:49 ========================================================= 14:15:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 14:15:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:15:50 + 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 . 14:15:50 Sending build context to Docker daemon 3.004MB 14:15:50 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 14:15:50 Step 2/13 : FROM ${BASE} AS builder 14:15:50 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 14:15:50 59bf1c3509f3: Pulling fs layer 14:15:50 666ba61612fd: Pulling fs layer 14:15:50 8ed8ca486205: Pulling fs layer 14:15:50 4fe6c5a15a65: Pulling fs layer 14:15:50 22a0e8bec74d: Pulling fs layer 14:15:50 640e595b4fbd: Pulling fs layer 14:15:50 763cafe07f6e: Pulling fs layer 14:15:50 0c0b528cf693: Pulling fs layer 14:15:50 10935f4eaf8b: Pulling fs layer 14:15:50 4fe6c5a15a65: Waiting 14:15:50 22a0e8bec74d: Waiting 14:15:50 640e595b4fbd: Waiting 14:15:50 763cafe07f6e: Waiting 14:15:50 10935f4eaf8b: Waiting 14:15:50 0c0b528cf693: Waiting 14:15:50 8ed8ca486205: Verifying Checksum 14:15:50 8ed8ca486205: Download complete 14:15:50 666ba61612fd: Verifying Checksum 14:15:50 666ba61612fd: Download complete 14:15:50 22a0e8bec74d: Download complete 14:15:50 640e595b4fbd: Verifying Checksum 14:15:50 640e595b4fbd: Download complete 14:15:50 763cafe07f6e: Verifying Checksum 14:15:50 763cafe07f6e: Download complete 14:15:50 59bf1c3509f3: Download complete 14:15:50 0c0b528cf693: Verifying Checksum 14:15:50 0c0b528cf693: Download complete 14:15:50 59bf1c3509f3: Pull complete 14:15:50 666ba61612fd: Pull complete 14:15:50 8ed8ca486205: Pull complete 14:15:51 10935f4eaf8b: Verifying Checksum 14:15:51 10935f4eaf8b: Download complete 14:15:51 4fe6c5a15a65: Verifying Checksum 14:15:51 4fe6c5a15a65: Download complete 14:15:55 4fe6c5a15a65: Pull complete 14:15:55 22a0e8bec74d: Pull complete 14:15:55 640e595b4fbd: Pull complete 14:15:55 763cafe07f6e: Pull complete 14:15:55 0c0b528cf693: Pull complete 14:15:57 10935f4eaf8b: Pull complete 14:15:57 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 14:15:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 14:15:57 ---> 99d49a6021b9 14:15:57 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 14:15:59 ---> Running in ac0c23508711 14:15:59 Removing intermediate container ac0c23508711 14:15:59 ---> 576948d55be8 14:15:59 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 14:15:59 ---> Running in 0e7d7849eaa5 14:15:59 Removing intermediate container 0e7d7849eaa5 14:15:59 ---> f1c61fa85d9b 14:15:59 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 14:15:59 ---> Running in 8f8106c10d45 14:15:59 Removing intermediate container 8f8106c10d45 14:15:59 ---> d7162715338a 14:15:59 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:15:59 ---> Running in 22e8e488fad2 14:16:00 Removing intermediate container 22e8e488fad2 14:16:00 ---> b55e7db087ab 14:16:00 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:16:00 ---> Running in 8ece74801493 14:16:00 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:16:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:16:01 OK: 221 MiB in 52 packages 14:16:02 Removing intermediate container 8ece74801493 14:16:02 ---> e3e93dab8455 14:16:02 Step 8/13 : WORKDIR /app 14:16:02 ---> Running in 3857fe485558 14:16:02 Removing intermediate container 3857fe485558 14:16:02 ---> 3c3e10a0c16b 14:16:02 Step 9/13 : COPY go.mod vendor* ./ 14:16:02 ---> e9c498074439 14:16:02 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:16:02 ---> Running in fd04f6563eb5 14:16:03 Still waiting to schedule task 14:16:03 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-20674’ 14:16:29 Removing intermediate container fd04f6563eb5 14:16:29 ---> f4b2fa804b5d 14:16:29 Step 11/13 : COPY . . 14:16:29 ---> dee0ccf9fd2a 14:16:29 Step 12/13 : ARG MAKE="make build" 14:16:29 ---> Running in 5f577b372891 14:16:29 Removing intermediate container 5f577b372891 14:16:29 ---> 9903b4d17448 14:16:29 Step 13/13 : RUN $MAKE 14:16:29 ---> Running in c54b5a19f56c 14:16:30 noop 14:16:30 Removing intermediate container c54b5a19f56c 14:16:30 ---> 17bf0e0ec9ce 14:16:30 Successfully built 17bf0e0ec9ce 14:16:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 14:16:30 + docker inspect -f . ci-base-image-x86_64 14:16:30 . [Pipeline] withDockerContainer 14:16:31 prd-ubuntu20.04-docker-8c-8g-20681 does not seem to be running inside a container 14:16:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-397 -v /w/workspace/_app-service-configurable_PR-397:/w/workspace/_app-service-configurable_PR-397:rw,z -v /w/workspace/_app-service-configurable_PR-397@tmp:/w/workspace/_app-service-configurable_PR-397@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 ******** ci-base-image-x86_64 cat 14:16:31 $ docker top 6f90f05e41ca372790e7f2da830800cc3b1357f78c4e31097ddd121018299320 -eo pid,comm [Pipeline] { [Pipeline] sh 14:16:31 + go version 14:16:31 go version go1.17.6 linux/amd64 [Pipeline] } 14:16:32 $ docker stop --time=1 6f90f05e41ca372790e7f2da830800cc3b1357f78c4e31097ddd121018299320 14:16:33 $ docker rm -f 6f90f05e41ca372790e7f2da830800cc3b1357f78c4e31097ddd121018299320 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:16:33 + docker inspect -f . ci-base-image-x86_64 14:16:33 . [Pipeline] withDockerContainer 14:16:34 prd-ubuntu20.04-docker-8c-8g-20681 does not seem to be running inside a container 14:16:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-397 -v /w/workspace/_app-service-configurable_PR-397:/w/workspace/_app-service-configurable_PR-397:rw,z -v /w/workspace/_app-service-configurable_PR-397@tmp:/w/workspace/_app-service-configurable_PR-397@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 ******** ci-base-image-x86_64 cat 14:16:34 $ docker top 306cbda78d3c8c39af499c57eb68e4e4e1aad8c6da51cb46988ec4092f4070d0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:16:34 + make test 14:16:34 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 14:16:41 ? github.com/edgexfoundry/app-service-configurable [no test files] 14:16:41 CGO_ENABLED=1 go vet ./... 14:16:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:16:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:16:44 ./bin/test-attribution-txt.sh [Pipeline] echo 14:16:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:16:45 $ docker stop --time=1 306cbda78d3c8c39af499c57eb68e4e4e1aad8c6da51cb46988ec4092f4070d0 14:16:46 $ docker rm -f 306cbda78d3c8c39af499c57eb68e4e4e1aad8c6da51cb46988ec4092f4070d0 [Pipeline] // withDockerContainer [Pipeline] sh 14:16:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:16:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:16:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:16:48 + ls -al . 14:16:48 total 176 14:16:48 drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 14:16 . 14:16:48 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 14:15 .. 14:16:48 -rw-rw-r-- 1 jenkins jenkins 119 Apr 12 14:15 .dockerignore 14:16:48 drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 14:15 .git 14:16:48 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 14:15 .github 14:16:48 -rw-rw-r-- 1 jenkins jenkins 104 Apr 12 14:15 .gitignore 14:16:48 drwx------ 3 jenkins jenkins 4096 Apr 12 14:15 .semver 14:16:48 -rw-rw-r-- 1 jenkins jenkins 7627 Apr 12 14:15 Attribution.txt 14:16:48 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 12 14:15 CHANGELOG.md 14:16:48 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 12 14:15 Dockerfile 14:16:48 -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 14:15 GOVERNANCE.md 14:16:48 -rw-rw-r-- 1 jenkins jenkins 688 Apr 12 14:15 Jenkinsfile 14:16:48 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 12 14:15 LICENSE 14:16:48 -rw-rw-r-- 1 jenkins jenkins 618 Apr 12 14:15 OWNERS.md 14:16:48 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 12 14:15 README.md 14:16:48 -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 14:15 VERSION 14:16:48 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 14:15 bin 14:16:48 -rw-r--r-- 1 jenkins jenkins 10 Apr 12 14:16 coverage.out 14:16:48 -rw-rw-r-- 1 jenkins jenkins 2816 Apr 12 14:15 go.mod 14:16:48 -rw-rw-r-- 1 jenkins jenkins 50335 Apr 12 14:15 go.sum 14:16:48 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 12 14:15 main.go 14:16:48 -rw-rw-r-- 1 jenkins jenkins 1994 Apr 12 14:15 makefile 14:16:48 drwxrwxr-x 9 jenkins jenkins 4096 Apr 12 14:15 res 14:16:48 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 14:15 snap [Pipeline] isUnix [Pipeline] sh 14:16:49 + docker build -t app-service-configurable -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=cd0f95616676412598b1774654421c1975d645be --label arch=amd64 --label version=0.0.0 . 14:16:49 Sending build context to Docker daemon 3.005MB 14:16:49 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 14:16:49 Step 2/27 : FROM ${BASE} AS builder 14:16:49 ---> 17bf0e0ec9ce 14:16:49 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 14:16:49 ---> Running in 6d00b017c7d1 14:16:49 Removing intermediate container 6d00b017c7d1 14:16:49 ---> 23ec511b10e8 14:16:49 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 14:16:49 ---> Running in c3c7e242b137 14:16:49 Removing intermediate container c3c7e242b137 14:16:49 ---> c06402603b5b 14:16:49 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 14:16:49 ---> Running in e5c577841d21 14:16:49 Removing intermediate container e5c577841d21 14:16:49 ---> cabb123866fe 14:16:49 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:16:49 ---> Running in a1bb9330041b 14:16:50 Removing intermediate container a1bb9330041b 14:16:50 ---> 955c66961306 14:16:50 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:16:50 ---> Running in f0d3bada0502 14:16:50 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:16:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:16:51 OK: 221 MiB in 52 packages 14:16:52 Removing intermediate container f0d3bada0502 14:16:52 ---> b256aad54d76 14:16:52 Step 8/27 : WORKDIR /app 14:16:52 ---> Running in 3020a2ea90fc 14:16:52 Removing intermediate container 3020a2ea90fc 14:16:52 ---> 80d85931bcf8 14:16:52 Step 9/27 : COPY go.mod vendor* ./ 14:16:52 ---> b9d17d2aba7a 14:16:52 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:16:52 ---> Running in 34a1dcbecd0f 14:16:53 Removing intermediate container 34a1dcbecd0f 14:16:53 ---> bb40cdeb7dd2 14:16:53 Step 11/27 : COPY . . 14:16:53 ---> c083793f982b 14:16:53 Step 12/27 : ARG MAKE="make build" 14:16:53 ---> Running in 3b128b2cfa50 14:16:53 Removing intermediate container 3b128b2cfa50 14:16:53 ---> 51fcae86196a 14:16:53 Step 13/27 : RUN $MAKE 14:16:53 ---> Running in b153b7872a7f 14:16:54 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 14:17:12 Removing intermediate container b153b7872a7f 14:17:12 ---> a563410cf7f5 14:17:12 Step 14/27 : FROM alpine:3.14 14:17:12 3.14: Pulling from library/alpine 14:17:12 8663204ce13b: Pulling fs layer 14:17:12 8663204ce13b: Verifying Checksum 14:17:12 8663204ce13b: Download complete 14:17:12 8663204ce13b: Pull complete 14:17:12 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 14:17:12 Status: Downloaded newer image for alpine:3.14 14:17:12 ---> e04c818066af 14:17:12 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 14:17:12 ---> Running in 0fa726275ae4 14:17:12 Removing intermediate container 0fa726275ae4 14:17:12 ---> 9f05d52e8bf7 14:17:12 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 14:17:12 ---> Running in c29253a5ea4d 14:17:12 Removing intermediate container c29253a5ea4d 14:17:12 ---> f54dc2d95658 14:17:12 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 14:17:12 ---> Running in 911c41b13410 14:17:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 14:17:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 14:17:13 (1/7) Installing ca-certificates (20211220-r0) 14:17:13 (2/7) Installing dumb-init (1.2.5-r1) 14:17:13 (3/7) Installing libgcc (10.3.1_git20210424-r2) 14:17:13 (4/7) Installing libsodium (1.0.18-r0) 14:17:13 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 14:17:13 (6/7) Installing libzmq (4.3.4-r0) 14:17:13 (7/7) Installing zeromq (4.3.4-r0) 14:17:13 Executing busybox-1.33.1-r7.trigger 14:17:13 Executing ca-certificates-20211220-r0.trigger 14:17:13 OK: 9 MiB in 21 packages 14:17:13 Removing intermediate container 911c41b13410 14:17:13 ---> 707c069900ad 14:17:13 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 14:17:14 ---> 794728812380 14:17:14 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 14:17:14 ---> 2bc6d823c367 14:17:14 Step 20/27 : COPY --from=builder /app/res/ /res/ 14:17:14 ---> 1bc86772126b 14:17:14 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 14:17:14 ---> a628a0676b91 14:17:14 Step 22/27 : EXPOSE 48095 14:17:14 ---> Running in d843261369d7 14:17:15 Removing intermediate container d843261369d7 14:17:15 ---> 2c982346ce11 14:17:15 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 14:17:15 ---> Running in 06cd0e081bf6 14:17:15 Removing intermediate container 06cd0e081bf6 14:17:15 ---> 2b291ebbef29 14:17:15 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:17:15 ---> Running in 8f5e5e92a2d3 14:17:15 Removing intermediate container 8f5e5e92a2d3 14:17:15 ---> fc2e55a8d938 14:17:15 Step 25/27 : LABEL arch=amd64 14:17:15 ---> Running in f8b09f75be05 14:17:15 Removing intermediate container f8b09f75be05 14:17:15 ---> eee8998f981b 14:17:15 Step 26/27 : LABEL git_sha=cd0f95616676412598b1774654421c1975d645be 14:17:15 ---> Running in 17e6368f6e23 14:17:15 Removing intermediate container 17e6368f6e23 14:17:15 ---> 7b609c61a092 14:17:15 Step 27/27 : LABEL version=0.0.0 14:17:15 ---> Running in 785d29bcc8ad 14:17:15 Removing intermediate container 785d29bcc8ad 14:17:15 ---> 18eac54785aa 14:17:15 [Warning] One or more build-args [ARCH] were not consumed 14:17:15 Successfully built 18eac54785aa 14:17:15 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 14:17:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:17:16 14:17:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:17:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:17:16 latest: Pulling from edgex-lftools-log-publisher 14:17:16 5eb5b503b376: Pulling fs layer 14:17:16 5c69ac0246d0: Pulling fs layer 14:17:16 ec43610c2a17: Pulling fs layer 14:17:16 3a2ae6a8a46f: Pulling fs layer 14:17:16 33b1e0a273af: Pulling fs layer 14:17:16 5d3b04190fa2: Pulling fs layer 14:17:16 2f39f015ded8: Pulling fs layer 14:17:16 33b1e0a273af: Waiting 14:17:16 5d3b04190fa2: Waiting 14:17:16 3a2ae6a8a46f: Waiting 14:17:16 2f39f015ded8: Waiting 14:17:16 5c69ac0246d0: Verifying Checksum 14:17:16 5c69ac0246d0: Download complete 14:17:16 3a2ae6a8a46f: Verifying Checksum 14:17:16 3a2ae6a8a46f: Download complete 14:17:16 33b1e0a273af: Verifying Checksum 14:17:16 33b1e0a273af: Download complete 14:17:16 5d3b04190fa2: Download complete 14:17:16 ec43610c2a17: Verifying Checksum 14:17:16 ec43610c2a17: Download complete 14:17:17 5eb5b503b376: Verifying Checksum 14:17:17 5eb5b503b376: Download complete 14:17:17 2f39f015ded8: Download complete 14:17:18 5eb5b503b376: Pull complete 14:17:18 5c69ac0246d0: Pull complete 14:17:19 ec43610c2a17: Pull complete 14:17:19 3a2ae6a8a46f: Pull complete 14:17:19 33b1e0a273af: Pull complete 14:17:19 5d3b04190fa2: Pull complete 14:17:23 2f39f015ded8: Pull complete 14:17:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:17:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:17:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:17:23 prd-ubuntu20.04-docker-8c-8g-20681 does not seem to be running inside a container 14:17:23 $ 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-397 -v /w/workspace/_app-service-configurable_PR-397:/w/workspace/_app-service-configurable_PR-397:rw,z -v /w/workspace/_app-service-configurable_PR-397@tmp:/w/workspace/_app-service-configurable_PR-397@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:17:25 $ docker top fc0e988cc19b1f24474a9fe264b208b8091284f4787a2ac3dd668ddd1b63deb3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:17:26 ---> job-cost.sh 14:17:26 lf-activate-venv: SKIPPING 14:17:26 INFO: No Stack... 14:17:26 INFO: Retrieving Pricing Info for: v3-standard-8 14:17:27 INFO: Archiving Costs [Pipeline] sh 14:17:27 + cat /w/workspace/_app-service-configurable_PR-397/archives/cost.csv 14:17:27 + cut -d, -f6 [Pipeline] lock 14:17:27 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-397-1-stack-cost] 14:17:27 Resource [jenkins-edgexfoundry-app-service-configurable-PR-397-1-stack-cost] did not exist. Created. 14:17:27 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-397-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:17:28 + echo total: 0.2199999988079071 [Pipeline] stash 14:17:28 Stashed 1 file(s) [Pipeline] } 14:17:28 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-397-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:17:28 $ docker stop --time=1 fc0e988cc19b1f24474a9fe264b208b8091284f4787a2ac3dd668ddd1b63deb3 14:17:29 $ docker rm -f fc0e988cc19b1f24474a9fe264b208b8091284f4787a2ac3dd668ddd1b63deb3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:19:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20682 in /w/workspace/_app-service-configurable_PR-397 [Pipeline] { [Pipeline] ws 14:19:42 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 14:19:42 Selected Git installation does not exist. Using Default 14:19:42 The recommended git tool is: NONE 14:19:50 using credential edgex-jenkins-ssh 14:19:50 Cloning the remote Git repository 14:19:50 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 14:19:50 > git init /w/workspace/app-service-configurable/1 # timeout=10 14:19:50 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 14:19:50 > git --version # timeout=10 14:19:50 > git --version # 'git version 2.25.1' 14:19:50 using GIT_SSH to set credentials SSH Credentials for GitHub 14:19:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:19:52 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 14:19:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:19:52 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 14:19:52 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 14:19:52 using GIT_SSH to set credentials SSH Credentials for GitHub 14:19:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/397/head:refs/remotes/origin/PR-397 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:19:53 Merging remotes/origin/main commit e18cf4e9ef6bfb404f044f68c1d78b234feb3069 into PR head commit cd0f95616676412598b1774654421c1975d645be 14:19:53 Merge succeeded, producing cd0f95616676412598b1774654421c1975d645be 14:19:53 Checking out Revision cd0f95616676412598b1774654421c1975d645be (PR-397) 14:19:53 > git config core.sparsecheckout # timeout=10 14:19:53 > git checkout -f cd0f95616676412598b1774654421c1975d645be # timeout=10 14:19:53 > git remote # timeout=10 14:19:53 > git config --get remote.origin.url # timeout=10 14:19:53 using GIT_SSH to set credentials SSH Credentials for GitHub 14:19:53 > git merge e18cf4e9ef6bfb404f044f68c1d78b234feb3069 # timeout=10 14:19:53 > git rev-parse HEAD^{commit} # timeout=10 14:19:53 > git config core.sparsecheckout # timeout=10 14:19:53 > git checkout -f cd0f95616676412598b1774654421c1975d645be # timeout=10 14:19:58 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" 14:19:58 > git --version # timeout=10 14:19:58 > git --version # 'git version 2.25.1' 14:19:58 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:19:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:19:59 % Total % Received % Xferd Average Speed Time Time Time Current 14:19:59 Dload Upload Total Spent Left Speed 14:19:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 40837 0 --:--:-- --:--:-- --:--:-- 40979 [Pipeline] sh 14:20:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:20:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:20:00 + sudo tee /etc/docker/daemon.new 14:20:00 { 14:20:00 "registry-mirrors": [ 14:20:00 "https://nexus3.edgexfoundry.org:10001" 14:20:00 ], 14:20:00 "bip": "10.250.0.254/24", 14:20:00 "hosts": [ 14:20:00 "tcp://0.0.0.0:5555", 14:20:00 "unix:///var/run/docker.sock" 14:20:00 ], 14:20:00 "mtu": 1458, 14:20:00 "selinux-enabled": true, 14:20:00 "seccomp-profile": "/etc/docker/seccomp.json" 14:20:00 } [Pipeline] sh 14:20:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:20:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:20:19 provisioning config files... 14:20:19 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config258638959672587760tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:20:20 ---> docker-login.sh 14:20:20 nexus3.edgexfoundry.org:10001 14:20:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:20:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:20:21 Configure a credential helper to remove this warning. See 14:20:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:20:21 14:20:21 Login Succeeded 14:20:21 nexus3.edgexfoundry.org:10002 14:20:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:20:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:20:22 Configure a credential helper to remove this warning. See 14:20:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:20:22 14:20:22 Login Succeeded 14:20:22 nexus3.edgexfoundry.org:10003 14:20:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:20:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:20:22 Configure a credential helper to remove this warning. See 14:20:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:20:22 14:20:22 Login Succeeded 14:20:22 nexus3.edgexfoundry.org:10004 14:20:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:20:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:20:23 Configure a credential helper to remove this warning. See 14:20:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:20:23 14:20:23 Login Succeeded 14:20:23 docker.io 14:20:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:20:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:20:24 Configure a credential helper to remove this warning. See 14:20:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:20:24 14:20:24 Login Succeeded 14:20:24 ---> docker-login.sh ends [Pipeline] } 14:20:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:20:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:20:24 ========================================================= 14:20:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 14:20:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:20:24 + 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 . 14:20:24 Sending build context to Docker daemon 210.4kB 14:20:25 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 14:20:25 Step 2/13 : FROM ${BASE} AS builder 14:20:25 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:20:25 9b3977197b4f: Pulling fs layer 14:20:25 1a89e8eeedd5: Pulling fs layer 14:20:25 94645a83ff95: Pulling fs layer 14:20:25 3f3a8bcf1eab: Pulling fs layer 14:20:25 0c92f367c5e7: Pulling fs layer 14:20:25 f7c0051592d6: Pulling fs layer 14:20:25 a227ed2f7395: Pulling fs layer 14:20:25 7b1c46037f91: Pulling fs layer 14:20:25 f7c0051592d6: Waiting 14:20:25 a227ed2f7395: Waiting 14:20:25 7b1c46037f91: Waiting 14:20:25 3f3a8bcf1eab: Waiting 14:20:25 0c92f367c5e7: Waiting 14:20:25 94645a83ff95: Download complete 14:20:25 1a89e8eeedd5: Verifying Checksum 14:20:25 1a89e8eeedd5: Download complete 14:20:25 0c92f367c5e7: Verifying Checksum 14:20:25 0c92f367c5e7: Download complete 14:20:25 f7c0051592d6: Download complete 14:20:25 9b3977197b4f: Verifying Checksum 14:20:25 9b3977197b4f: Download complete 14:20:25 a227ed2f7395: Verifying Checksum 14:20:25 a227ed2f7395: Download complete 14:20:26 9b3977197b4f: Pull complete 14:20:26 1a89e8eeedd5: Pull complete 14:20:27 94645a83ff95: Pull complete 14:20:27 7b1c46037f91: Verifying Checksum 14:20:27 7b1c46037f91: Download complete 14:20:28 3f3a8bcf1eab: Verifying Checksum 14:20:28 3f3a8bcf1eab: Download complete 14:20:40 3f3a8bcf1eab: Pull complete 14:20:40 0c92f367c5e7: Pull complete 14:20:40 f7c0051592d6: Pull complete 14:20:40 a227ed2f7395: Pull complete 14:20:46 7b1c46037f91: Pull complete 14:20:46 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 14:20:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 14:20:46 ---> f79e39bc4007 14:20:46 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 14:20:46 ---> Running in d26f3407cc1d 14:20:46 Removing intermediate container d26f3407cc1d 14:20:46 ---> 54687549178c 14:20:46 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 14:20:46 ---> Running in 89770bf2f884 14:20:47 Removing intermediate container 89770bf2f884 14:20:47 ---> 6f5c4ddc101c 14:20:47 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 14:20:47 ---> Running in 35663525269a 14:20:47 Removing intermediate container 35663525269a 14:20:47 ---> 8af9c1eb96ad 14:20:47 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:20:47 ---> Running in 08cb53177605 14:20:49 Removing intermediate container 08cb53177605 14:20:49 ---> 2521d01e2fc6 14:20:49 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:20:49 ---> Running in 90b43bb990da 14:20:50 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:20:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:20:52 OK: 220 MiB in 52 packages 14:20:53 Removing intermediate container 90b43bb990da 14:20:53 ---> 7cd2c9adcf29 14:20:53 Step 8/13 : WORKDIR /app 14:20:53 ---> Running in f1249120fa64 14:20:53 Removing intermediate container f1249120fa64 14:20:53 ---> 876b7314be0d 14:20:53 Step 9/13 : COPY go.mod vendor* ./ 14:20:53 ---> 30ae9f4c6e3f 14:20:53 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:20:54 ---> Running in 1562277272cb 14:22:16 Removing intermediate container 1562277272cb 14:22:16 ---> 2206ed619e53 14:22:16 Step 11/13 : COPY . . 14:22:16 ---> bb0b802be912 14:22:16 Step 12/13 : ARG MAKE="make build" 14:22:16 ---> Running in ca743a875e0f 14:22:16 Removing intermediate container ca743a875e0f 14:22:16 ---> f926cd9dbdb1 14:22:16 Step 13/13 : RUN $MAKE 14:22:16 ---> Running in f669b65b03ea 14:22:16 noop 14:22:16 Removing intermediate container f669b65b03ea 14:22:16 ---> 941112dbcd56 14:22:16 Successfully built 941112dbcd56 14:22:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:22:16 + docker inspect -f . ci-base-image-arm64 14:22:16 . [Pipeline] withDockerContainer 14:22:16 prd-ubuntu20.04-docker-arm64-4c-16g-20682 does not seem to be running inside a container 14:22:16 $ 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 ******** ci-base-image-arm64 cat 14:22:18 $ docker top 9d5fb8f466a78b03930687d698899234f2886e32b892d850c6f9bc24ad4b3733 -eo pid,comm [Pipeline] { [Pipeline] sh 14:22:19 + go version 14:22:19 go version go1.17.6 linux/arm64 [Pipeline] } 14:22:19 $ docker stop --time=1 9d5fb8f466a78b03930687d698899234f2886e32b892d850c6f9bc24ad4b3733 14:22:21 $ docker rm -f 9d5fb8f466a78b03930687d698899234f2886e32b892d850c6f9bc24ad4b3733 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:22:21 + docker inspect -f . ci-base-image-arm64 14:22:21 . [Pipeline] withDockerContainer 14:22:22 prd-ubuntu20.04-docker-arm64-4c-16g-20682 does not seem to be running inside a container 14:22:22 $ 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 ******** ci-base-image-arm64 cat 14:22:23 $ docker top 97bf1a7a1b6b7dc1906b240f6b9a6aeb2f81dd30ec5d84b317be50abcc3f14cc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:22:24 + make test 14:22:24 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 14:23:21 ? github.com/edgexfoundry/app-service-configurable [no test files] 14:23:21 CGO_ENABLED=1 go vet ./... 14:23:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:23:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:23:36 ./bin/test-attribution-txt.sh [Pipeline] echo 14:23:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:23:38 $ docker stop --time=1 97bf1a7a1b6b7dc1906b240f6b9a6aeb2f81dd30ec5d84b317be50abcc3f14cc 14:23:40 $ docker rm -f 97bf1a7a1b6b7dc1906b240f6b9a6aeb2f81dd30ec5d84b317be50abcc3f14cc [Pipeline] // withDockerContainer [Pipeline] sh 14:23:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:23:41 Warning: overwriting stash ‘coverage-report’ 14:23:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:23:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:23:42 + ls -al . 14:23:42 total 172 14:23:42 drwxrwxr-x 7 jenkins jenkins 4096 Apr 12 14:23 . 14:23:42 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 14:19 .. 14:23:42 -rw-rw-r-- 1 jenkins jenkins 119 Apr 12 14:19 .dockerignore 14:23:42 drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 14:19 .git 14:23:42 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 14:19 .github 14:23:42 -rw-rw-r-- 1 jenkins jenkins 104 Apr 12 14:19 .gitignore 14:23:42 -rw-rw-r-- 1 jenkins jenkins 7627 Apr 12 14:19 Attribution.txt 14:23:42 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 12 14:19 CHANGELOG.md 14:23:42 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 12 14:19 Dockerfile 14:23:42 -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 14:19 GOVERNANCE.md 14:23:42 -rw-rw-r-- 1 jenkins jenkins 688 Apr 12 14:19 Jenkinsfile 14:23:42 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 12 14:19 LICENSE 14:23:42 -rw-rw-r-- 1 jenkins jenkins 618 Apr 12 14:19 OWNERS.md 14:23:42 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 12 14:19 README.md 14:23:42 -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 14:15 VERSION 14:23:42 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 14:19 bin 14:23:42 -rw-r--r-- 1 jenkins jenkins 10 Apr 12 14:22 coverage.out 14:23:42 -rw-rw-r-- 1 jenkins jenkins 2816 Apr 12 14:19 go.mod 14:23:42 -rw-rw-r-- 1 jenkins jenkins 50335 Apr 12 14:19 go.sum 14:23:42 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 12 14:19 main.go 14:23:42 -rw-rw-r-- 1 jenkins jenkins 1994 Apr 12 14:19 makefile 14:23:42 drwxrwxr-x 9 jenkins jenkins 4096 Apr 12 14:19 res 14:23:42 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 14:19 snap [Pipeline] isUnix [Pipeline] sh 14:23:43 + docker build -t app-service-configurable-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=cd0f95616676412598b1774654421c1975d645be --label arch=arm64 --label version=0.0.0 . 14:23:43 Sending build context to Docker daemon 211.5kB 14:23:43 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 14:23:43 Step 2/27 : FROM ${BASE} AS builder 14:23:43 ---> 941112dbcd56 14:23:43 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 14:23:43 ---> Running in 04ab3cc8244c 14:23:43 Removing intermediate container 04ab3cc8244c 14:23:43 ---> b356b6c8ff39 14:23:43 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 14:23:43 ---> Running in 546cd9da2725 14:23:44 Removing intermediate container 546cd9da2725 14:23:44 ---> 6421d7f325ba 14:23:44 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 14:23:44 ---> Running in 859b355bdd57 14:23:44 Removing intermediate container 859b355bdd57 14:23:44 ---> c6acbb5b526e 14:23:44 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:23:44 ---> Running in 7f8b2ec50bbf 14:23:46 Removing intermediate container 7f8b2ec50bbf 14:23:46 ---> cbbc9f48b75b 14:23:46 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:23:46 ---> Running in d5fae4290ef9 14:23:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:23:48 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:23:49 OK: 220 MiB in 52 packages 14:23:50 Removing intermediate container d5fae4290ef9 14:23:50 ---> 6f40c2f22307 14:23:50 Step 8/27 : WORKDIR /app 14:23:50 ---> Running in 5746c3941366 14:23:50 Removing intermediate container 5746c3941366 14:23:50 ---> 9cd2e7fdd934 14:23:50 Step 9/27 : COPY go.mod vendor* ./ 14:23:51 ---> 47451198a81d 14:23:51 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:23:51 ---> Running in ccd644fd677d 14:23:54 Removing intermediate container ccd644fd677d 14:23:54 ---> f5a2142cfde0 14:23:54 Step 11/27 : COPY . . 14:23:54 ---> c7840bc42156 14:23:54 Step 12/27 : ARG MAKE="make build" 14:23:54 ---> Running in 6033f17663dc 14:23:54 Removing intermediate container 6033f17663dc 14:23:54 ---> 98814dc04339 14:23:54 Step 13/27 : RUN $MAKE 14:23:54 ---> Running in 4bcb7bb1ddce 14:23:55 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 14:25:32 Removing intermediate container 4bcb7bb1ddce 14:25:32 ---> 331444c9be34 14:25:32 Step 14/27 : FROM alpine:3.14 14:25:32 3.14: Pulling from library/alpine 14:25:32 455c02918c45: Pulling fs layer 14:25:32 455c02918c45: Download complete 14:25:32 455c02918c45: Pull complete 14:25:32 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 14:25:32 Status: Downloaded newer image for alpine:3.14 14:25:32 ---> ac73e934f311 14:25:32 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 14:25:32 ---> Running in ce99c6277b55 14:25:32 Removing intermediate container ce99c6277b55 14:25:32 ---> fd8dd29a50ff 14:25:32 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 14:25:32 ---> Running in 8eac3667a679 14:25:32 Removing intermediate container 8eac3667a679 14:25:32 ---> b08b0163a64e 14:25:32 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 14:25:32 ---> Running in 404d77f9f617 14:25:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 14:25:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 14:25:32 (1/7) Installing ca-certificates (20211220-r0) 14:25:32 (2/7) Installing dumb-init (1.2.5-r1) 14:25:32 (3/7) Installing libgcc (10.3.1_git20210424-r2) 14:25:32 (4/7) Installing libsodium (1.0.18-r0) 14:25:32 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 14:25:32 (6/7) Installing libzmq (4.3.4-r0) 14:25:32 (7/7) Installing zeromq (4.3.4-r0) 14:25:32 Executing busybox-1.33.1-r7.trigger 14:25:32 Executing ca-certificates-20211220-r0.trigger 14:25:32 OK: 9 MiB in 21 packages 14:25:32 Removing intermediate container 404d77f9f617 14:25:32 ---> f61fd55f3c2d 14:25:32 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 14:25:32 ---> 937c5407cdb2 14:25:32 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 14:25:32 ---> 8ed4548af3db 14:25:32 Step 20/27 : COPY --from=builder /app/res/ /res/ 14:25:32 ---> 1a229c502b52 14:25:32 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 14:25:32 ---> cec126ab8004 14:25:32 Step 22/27 : EXPOSE 48095 14:25:32 ---> Running in 1979cdeeca95 14:25:32 Removing intermediate container 1979cdeeca95 14:25:32 ---> 8a31ca784b23 14:25:32 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 14:25:32 ---> Running in 3c82ba935ef3 14:25:32 Removing intermediate container 3c82ba935ef3 14:25:32 ---> a648e4eb98ef 14:25:32 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:25:32 ---> Running in 620cba3c7920 14:25:32 Removing intermediate container 620cba3c7920 14:25:32 ---> 98b4577adb6e 14:25:32 Step 25/27 : LABEL arch=arm64 14:25:32 ---> Running in 94c79c0be3c2 14:25:32 Removing intermediate container 94c79c0be3c2 14:25:32 ---> 4c0aa8ef43ba 14:25:32 Step 26/27 : LABEL git_sha=cd0f95616676412598b1774654421c1975d645be 14:25:32 ---> Running in f13a79c685a0 14:25:32 Removing intermediate container f13a79c685a0 14:25:32 ---> e984831b7091 14:25:32 Step 27/27 : LABEL version=0.0.0 14:25:32 ---> Running in 70d26b6d36d2 14:25:32 Removing intermediate container 70d26b6d36d2 14:25:32 ---> 0aa1536cf568 14:25:32 [Warning] One or more build-args [ARCH] were not consumed 14:25:32 Successfully built 0aa1536cf568 14:25:32 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 14:25:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:25:33 14:25:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 14:25:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:25:34 arm64: Pulling from edgex-lftools-log-publisher 14:25:34 8998bd30e6a1: Pulling fs layer 14:25:34 04944245beec: Pulling fs layer 14:25:34 699f458cf7ca: Pulling fs layer 14:25:34 765212b225bb: Pulling fs layer 14:25:34 f23df028b6ca: Pulling fs layer 14:25:34 d65c8cfc05b1: Pulling fs layer 14:25:34 2437ff75d9bd: Pulling fs layer 14:25:34 d65c8cfc05b1: Waiting 14:25:34 2437ff75d9bd: Waiting 14:25:34 765212b225bb: Waiting 14:25:34 f23df028b6ca: Waiting 14:25:34 04944245beec: Verifying Checksum 14:25:34 04944245beec: Download complete 14:25:34 765212b225bb: Verifying Checksum 14:25:34 765212b225bb: Download complete 14:25:34 f23df028b6ca: Verifying Checksum 14:25:34 f23df028b6ca: Download complete 14:25:34 d65c8cfc05b1: Verifying Checksum 14:25:34 d65c8cfc05b1: Download complete 14:25:34 699f458cf7ca: Verifying Checksum 14:25:34 699f458cf7ca: Download complete 14:25:34 8998bd30e6a1: Verifying Checksum 14:25:34 8998bd30e6a1: Download complete 14:25:37 2437ff75d9bd: Verifying Checksum 14:25:37 2437ff75d9bd: Download complete 14:25:39 8998bd30e6a1: Pull complete 14:25:39 04944245beec: Pull complete 14:25:41 699f458cf7ca: Pull complete 14:25:41 765212b225bb: Pull complete 14:25:41 f23df028b6ca: Pull complete 14:25:42 d65c8cfc05b1: Pull complete 14:25:57 2437ff75d9bd: Pull complete 14:25:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:25:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:25:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 14:25:57 prd-ubuntu20.04-docker-arm64-4c-16g-20682 does not seem to be running inside a container 14:25:57 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:26:00 $ docker top fefc4f453e85c6735f53b0ee25686f7d7164b95d58afc86281954ba64f00125b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:26:01 ---> job-cost.sh 14:26:01 lf-activate-venv: SKIPPING 14:26:01 INFO: No Stack... 14:26:01 INFO: Retrieving Pricing Info for: v3-standard-4 14:26:02 INFO: Archiving Costs [Pipeline] sh 14:26:03 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 14:26:03 + cut -d, -f6 [Pipeline] lock 14:26:03 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-397-1-stack-cost] 14:26:03 Resource [jenkins-edgexfoundry-app-service-configurable-PR-397-1-stack-cost] did not exist. Created. 14:26:03 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-397-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:26:04 /w/workspace/app-service-configurable/1@tmp/durable-a315213c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:26:04 + echo total: 0.10999999940395355 [Pipeline] stash 14:26:04 Warning: overwriting stash ‘stack-cost’ 14:26:04 Stashed 1 file(s) [Pipeline] } 14:26:04 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-397-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:26:04 $ docker stop --time=1 fefc4f453e85c6735f53b0ee25686f7d7164b95d58afc86281954ba64f00125b 14:26:06 $ docker rm -f fefc4f453e85c6735f53b0ee25686f7d7164b95d58afc86281954ba64f00125b [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 14:26:07 provisioning config files... 14:26:07 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-397@tmp/config3354466014778504977tmp [Pipeline] { [Pipeline] sh 14:26:07 + set +x 14:26:07 + curl -s https://codecov.io/bash 14:26:07 + bash -s -- 14:26:07 14:26:07 _____ _ 14:26:07 / ____| | | 14:26:07 | | ___ __| | ___ ___ _____ __ 14:26:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:26:07 | |___| (_) | (_| | __/ (_| (_) \ V / 14:26:07 \_____\___/ \__,_|\___|\___\___/ \_/ 14:26:07 Bash-1.0.6 14:26:07 14:26:07 14:26:07 ==> git version 2.25.1 found 14:26:07 ==> 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 14:26:07 Release-Date: 2020-01-08 14:26:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:26:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:26:07 ==> Jenkins CI detected. 14:26:07 current dir:  /w/workspace/_app-service-configurable_PR-397 14:26:07 project root: . 14:26:07 --> token set from env 14:26:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:26:07 ==> Running gcov in . (disable via -X gcov) 14:26:07 ==> Python coveragepy not found 14:26:07 ==> Searching for coverage reports in: 14:26:07 + . 14:26:07 -> Found 1 reports 14:26:07 ==> Detecting git/mercurial file structure 14:26:07 ==> Reading reports 14:26:07 + ./coverage.out bytes=10 14:26:07 ==> Appending adjustments 14:26:07 https://docs.codecov.io/docs/fixing-reports 14:26:08 + Found adjustments 14:26:08 ==> Gzipping contents 14:26:08 4.0K /tmp/codecov.840N9f.gz 14:26:08 ==> Uploading reports 14:26:08 url: https://codecov.io 14:26:08 query: branch=PR-397&commit=cd0f95616676412598b1774654421c1975d645be&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-397%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=397&job=&cmd_args= 14:26:08 -> Pinging Codecov 14:26:08 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-397&commit=cd0f95616676412598b1774654421c1975d645be&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-397%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=397&job=&cmd_args= 14:26:08 -> Uploading to 14:26:08 https://storage.googleapis.com/codecov/v4/raw/2022-04-12/A97CA9966030D2A3747ED39772930CCE/cd0f95616676412598b1774654421c1975d645be/79e6984e-c08e-48d6-976e-2161f64a40a9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220412%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220412T142608Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8a2ff2f05b7b781ed24b4e866cae4ae9e0467f6c37e8a94f651c27d9d19711fb 14:26:08 % Total % Received % Xferd Average Speed Time Time Time Current 14:26:08 Dload Upload Total Spent Left Speed 14:26:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 569 0 0 100 569 0 2495 --:--:-- --:--:-- --:--:-- 2484 100 569 0 0 100 569 0 2351 --:--:-- --:--:-- --:--:-- 2341 14:26:08 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/cd0f95616676412598b1774654421c1975d645be [Pipeline] } 14:26:08 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 14:26:10 + [ -d /w/workspace/_app-service-configurable_PR-397/archives ] 14:26:10 + ls -al /w/workspace/_app-service-configurable_PR-397/archives 14:26:10 total 16 14:26:10 drwxr-xr-x 3 root root 4096 Apr 12 14:17 . 14:26:10 drwxrwxr-x 9 jenkins jenkins 4096 Apr 12 14:17 .. 14:26:10 drwxr-xr-x 2 root root 4096 Apr 12 14:17 cost 14:26:10 -rw-r--r-- 1 root root 95 Apr 12 14:17 cost.csv 14:26:10 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-397/archives 14:26:10 + ls -al /w/workspace/_app-service-configurable_PR-397/archives 14:26:10 total 16 14:26:10 drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 14:17 . 14:26:10 drwxrwxr-x 9 jenkins jenkins 4096 Apr 12 14:17 .. 14:26:10 drwxr-xr-x 2 jenkins jenkins 4096 Apr 12 14:17 cost 14:26:10 -rw-r--r-- 1 jenkins jenkins 95 Apr 12 14:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:26:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:26:11 ---> package-listing.sh 14:26:11 ++ facter osfamily 14:26:11 ++ tr '[:upper:]' '[:lower:]' 14:26:11 + OS_FAMILY=debian 14:26:11 + workspace=/w/workspace/_app-service-configurable_PR-397 14:26:11 + START_PACKAGES=/tmp/packages_start.txt 14:26:11 + END_PACKAGES=/tmp/packages_end.txt 14:26:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:26:11 + PACKAGES=/tmp/packages_start.txt 14:26:11 + '[' /w/workspace/_app-service-configurable_PR-397 ']' 14:26:11 + PACKAGES=/tmp/packages_end.txt 14:26:11 + case "${OS_FAMILY}" in 14:26:11 + dpkg -l 14:26:11 + grep '^ii' 14:26:11 + '[' -f /tmp/packages_start.txt ']' 14:26:11 + '[' -f /tmp/packages_end.txt ']' 14:26:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:26:11 + '[' /w/workspace/_app-service-configurable_PR-397 ']' 14:26:11 + mkdir -p /w/workspace/_app-service-configurable_PR-397/archives/ 14:26:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-397/archives/ [Pipeline] echo 14:26:11 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-397/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:26:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:26:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:26:12 . [Pipeline] withDockerContainer 14:26:12 prd-ubuntu20.04-docker-8c-8g-20681 does not seem to be running inside a container 14:26:12 $ 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-397/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-397 -v /w/workspace/_app-service-configurable_PR-397:/w/workspace/_app-service-configurable_PR-397:rw,z -v /w/workspace/_app-service-configurable_PR-397@tmp:/w/workspace/_app-service-configurable_PR-397@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:26:13 $ docker top af6279c9678c1ea755ab6603d1663e7fb0980ab0698946587f0ddf49afd91a64 -eo pid,comm [Pipeline] { [Pipeline] sh 14:26:13 + touch /tmp/pre-build-complete [Pipeline] sh 14:26:13 + mkdir -p /var/log/sysstat [Pipeline] sh 14:26:14 + ls /var/log/sa-host 14:26:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:26:14 provisioning config files... 14:26:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-397@tmp/config5059081326848684007tmp [Pipeline] { [Pipeline] echo 14:26:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:26:14 ---> create-netrc.sh [Pipeline] } 14:26:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:26:15 ---> python-tools-install.sh [Pipeline] echo 14:26:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:26:15 ---> sudo-logs.sh 14:26:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:26:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:26:16 ---> job-cost.sh 14:26:16 lf-activate-venv: SKIPPING 14:26:16 DEBUG: total: 0.2199999988079071 14:26:16 INFO: Retrieving Stack Cost... 14:26:16 INFO: Retrieving Pricing Info for: v3-standard-8 14:26:16 INFO: Archiving Costs [Pipeline] echo 14:26:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:26:17 ---> logs-deploy.sh 14:26:17 lf-activate-venv: SKIPPING 14:26:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-397/1 14:26:17 INFO: archiving workspace using pattern(s): 14:26:18 Archives upload complete. 14:26:18 INFO: archiving logs to Nexus