Pull request #402 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7+323c9d7b071dcad20db500b9107a4775ac8effe6 (0a9cceb17f9cc4ed5714c91cee59f10df4446f12) 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-ssh318936050470994032.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-ssh6727521964913536292.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-402/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-402/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16571274941392476500.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-402/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14920501290623011115.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-ssh5727485157934801783.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-402/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-402/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5221693381740236928.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 Running on prd-ubuntu20.04-docker-8c-8g-21060 in /w/workspace/_app-service-configurable_PR-402 [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-402 # 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/402/head:refs/remotes/origin/PR-402 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 323c9d7b071dcad20db500b9107a4775ac8effe6 into PR head commit 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 Merge succeeded, producing 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 Checking out Revision 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 (PR-402) > git config core.sparsecheckout # timeout=10 > git checkout -f 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 # 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 323c9d7b071dcad20db500b9107a4775ac8effe6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 # 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 12:03:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:03:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:03:50 ========================================================= 12:03:50 EdgeX Global Pipelines Version Info 12:03:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:03:51 ------------------- 12:03:51 stable info: 12:03:51 ------------------- 12:03:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:03:51 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 12:03:51 Message: update stable to v1.0.221 12:03:51 ------------------- 12:03:51 experimental info: 12:03:51 ------------------- 12:03:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:03:51 Commit SHA: 2d41b7a85c8a62c0c33f5e39ad1462a101ac531d 12:03:51 Message: update experimental to v1.0.222 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:03:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:03:52 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:03:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:03:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:03:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:03:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:03:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:03:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:03:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:03:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:03:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:03:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:03:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:03:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:03:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:03:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:03:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:03:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:03:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:03:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:03:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:03:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:03:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:03:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:03:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:03:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:03:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-402 [Pipeline] echo 12:03:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-402 [Pipeline] echo 12:03:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-402 [Pipeline] echo 12:03:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 [Pipeline] echo 12:03:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 20f4516 [Pipeline] echo 12:03:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:03:53 provisioning config files... 12:03:53 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-402@tmp/config162522196387357478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:03:53 ---> docker-login.sh 12:03:53 nexus3.edgexfoundry.org:10001 12:03:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:54 Configure a credential helper to remove this warning. See 12:03:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:54 12:03:54 Login Succeeded 12:03:54 nexus3.edgexfoundry.org:10002 12:03:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:54 Configure a credential helper to remove this warning. See 12:03:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:54 12:03:54 Login Succeeded 12:03:54 nexus3.edgexfoundry.org:10003 12:03:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:55 Configure a credential helper to remove this warning. See 12:03:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:55 12:03:55 Login Succeeded 12:03:55 nexus3.edgexfoundry.org:10004 12:03:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:55 Configure a credential helper to remove this warning. See 12:03:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:55 12:03:55 Login Succeeded 12:03:55 docker.io 12:03:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:55 Configure a credential helper to remove this warning. See 12:03:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:55 12:03:55 Login Succeeded 12:03:55 ---> docker-login.sh ends [Pipeline] } 12:03:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:03:56 + git rev-list -1 --merges 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7~1..20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 [Pipeline] echo 12:03:56 -----------> git rev-list -1 --merges 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7~1..20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 [false] [Pipeline] sh 12:03:56 + git log --format=format:%s -1 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 [Pipeline] echo 12:03:56 ========================================================= 12:03:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:03:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:03:57 + git log --format=format:%s -1 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 [Pipeline] echo 12:03:57 [semverPrep] GIT_COMMIT: 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo 12:03:57 [semverPrep] This is not a build commit. [Pipeline] sh 12:03:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:03:57 + grep -v github /etc/ssh/ssh_known_hosts 12:03:57 + [ -e /tmp/ssh_known_hosts ] 12:03:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:03:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:03:57 + sudo tee -a /etc/ssh/ssh_known_hosts 12:03:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:03:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:03:58 12:03:58 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:03:58 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:03:58 latest: Pulling from edgex-devops/git-semver 12:03:58 a0d0a0d46f8b: Pulling fs layer 12:03:58 3e5f54012d9b: Pulling fs layer 12:03:58 4c7163046ea9: Pulling fs layer 12:03:58 0c2d73faf560: Pulling fs layer 12:03:58 0c2d73faf560: Waiting 12:03:58 3e5f54012d9b: Verifying Checksum 12:03:58 3e5f54012d9b: Download complete 12:03:58 a0d0a0d46f8b: Verifying Checksum 12:03:58 a0d0a0d46f8b: Download complete 12:03:58 4c7163046ea9: Verifying Checksum 12:03:58 4c7163046ea9: Download complete 12:03:58 0c2d73faf560: Download complete 12:03:58 a0d0a0d46f8b: Pull complete 12:03:58 3e5f54012d9b: Pull complete 12:03:58 4c7163046ea9: Pull complete 12:03:59 0c2d73faf560: Pull complete 12:03:59 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 12:03:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:03:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:03:59 prd-ubuntu20.04-docker-8c-8g-21060 does not seem to be running inside a container 12:03:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-402 -v /w/workspace/_app-service-configurable_PR-402:/w/workspace/_app-service-configurable_PR-402:rw,z -v /w/workspace/_app-service-configurable_PR-402@tmp:/w/workspace/_app-service-configurable_PR-402@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 12:04:00 $ docker top df7abc5b5b131cb973d0cbaf6d45e5f23d064c0dd9e4a9f4198cc90397290509 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:04:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:04:00 [ssh-agent] Looking for ssh-agent implementation... 12:04:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:04:00 $ docker exec df7abc5b5b131cb973d0cbaf6d45e5f23d064c0dd9e4a9f4198cc90397290509 ssh-agent 12:04:00 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAgNCNN/agent.13 12:04:00 SSH_AGENT_PID=20 12:04:00 Running ssh-add (command line suppressed) 12:04:00 Identity added: /w/workspace/_app-service-configurable_PR-402@tmp/private_key_6807931818025073990.key (/w/workspace/_app-service-configurable_PR-402@tmp/private_key_6807931818025073990.key) 12:04:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:04:01 + git tag --points-at HEAD [Pipeline] } 12:04:01 $ docker exec --env ******** --env ******** df7abc5b5b131cb973d0cbaf6d45e5f23d064c0dd9e4a9f4198cc90397290509 ssh-agent -k 12:04:01 unset SSH_AUTH_SOCK; 12:04:01 unset SSH_AGENT_PID; 12:04:01 echo Agent pid 20 killed; 12:04:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:04:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:04:01 [ssh-agent] Looking for ssh-agent implementation... 12:04:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:04:01 $ docker exec df7abc5b5b131cb973d0cbaf6d45e5f23d064c0dd9e4a9f4198cc90397290509 ssh-agent 12:04:01 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNifkJi/agent.52 12:04:01 SSH_AGENT_PID=58 12:04:01 Running ssh-add (command line suppressed) 12:04:01 Identity added: /w/workspace/_app-service-configurable_PR-402@tmp/private_key_3576493636732280352.key (/w/workspace/_app-service-configurable_PR-402@tmp/private_key_3576493636732280352.key) 12:04:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:04:02 + git semver init 12:04:02 # -> Open(): unable to determine branch for HEAD 12:04:02 # $GIT_DIR = /w/workspace/_app-service-configurable_PR-402/.git 12:04:02 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-402 12:04:02 # $SEMVER_REMOTE_NAME = origin 12:04:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:04:02 # $SEMVER_USER_NAME = edgex-jenkins 12:04:02 # $SEMVER_BRANCH = PR-402 12:04:02 # $SEMVER_TEMP = /tmp/semver-745528053 12:04:02 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 12:04:03 # '/tmp/semver-745528053' -> '/w/workspace/_app-service-configurable_PR-402/.semver' 12:04:03 # -> Force: false 12:04:03 # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-402/.semver [Pipeline] } 12:04:03 $ docker exec --env ******** --env ******** df7abc5b5b131cb973d0cbaf6d45e5f23d064c0dd9e4a9f4198cc90397290509 ssh-agent -k 12:04:03 unset SSH_AUTH_SOCK; 12:04:03 unset SSH_AGENT_PID; 12:04:03 echo Agent pid 58 killed; 12:04:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:04:03 + git semver [Pipeline] } 12:04:03 $ docker stop --time=1 df7abc5b5b131cb973d0cbaf6d45e5f23d064c0dd9e4a9f4198cc90397290509 12:04:04 $ docker rm -f df7abc5b5b131cb973d0cbaf6d45e5f23d064c0dd9e4a9f4198cc90397290509 [Pipeline] // withDockerContainer [Pipeline] sh 12:04:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:04:05 Stashed 1 file(s) [Pipeline] echo 12:04:05 [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 12:04:06 provisioning config files... 12:04:06 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-402@tmp/config1582201972001521049tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:04:06 ---> docker-login.sh 12:04:06 nexus3.edgexfoundry.org:10001 12:04:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:06 Configure a credential helper to remove this warning. See 12:04:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:06 12:04:06 Login Succeeded 12:04:06 nexus3.edgexfoundry.org:10002 12:04:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:06 Configure a credential helper to remove this warning. See 12:04:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:06 12:04:06 Login Succeeded 12:04:06 nexus3.edgexfoundry.org:10003 12:04:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:06 Configure a credential helper to remove this warning. See 12:04:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:06 12:04:06 Login Succeeded 12:04:06 nexus3.edgexfoundry.org:10004 12:04:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:06 Configure a credential helper to remove this warning. See 12:04:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:06 12:04:06 Login Succeeded 12:04:06 docker.io 12:04:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:07 Configure a credential helper to remove this warning. See 12:04:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:07 12:04:07 Login Succeeded 12:04:07 ---> docker-login.sh ends [Pipeline] } 12:04:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:04:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:04:07 ========================================================= 12:04:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:04:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:04:08 + 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 . 12:04:08 Sending build context to Docker daemon 3.007MB 12:04:08 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 12:04:08 Step 2/13 : FROM ${BASE} AS builder 12:04:08 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:04:08 59bf1c3509f3: Pulling fs layer 12:04:08 666ba61612fd: Pulling fs layer 12:04:08 8ed8ca486205: Pulling fs layer 12:04:08 4fe6c5a15a65: Pulling fs layer 12:04:08 22a0e8bec74d: Pulling fs layer 12:04:08 640e595b4fbd: Pulling fs layer 12:04:08 763cafe07f6e: Pulling fs layer 12:04:08 0c0b528cf693: Pulling fs layer 12:04:08 10935f4eaf8b: Pulling fs layer 12:04:08 4fe6c5a15a65: Waiting 12:04:08 0c0b528cf693: Waiting 12:04:08 22a0e8bec74d: Waiting 12:04:08 10935f4eaf8b: Waiting 12:04:08 640e595b4fbd: Waiting 12:04:08 763cafe07f6e: Waiting 12:04:08 8ed8ca486205: Download complete 12:04:08 666ba61612fd: Download complete 12:04:08 22a0e8bec74d: Verifying Checksum 12:04:08 22a0e8bec74d: Download complete 12:04:08 640e595b4fbd: Verifying Checksum 12:04:08 640e595b4fbd: Download complete 12:04:08 763cafe07f6e: Verifying Checksum 12:04:08 763cafe07f6e: Download complete 12:04:08 59bf1c3509f3: Verifying Checksum 12:04:08 59bf1c3509f3: Download complete 12:04:08 0c0b528cf693: Verifying Checksum 12:04:08 0c0b528cf693: Download complete 12:04:08 59bf1c3509f3: Pull complete 12:04:08 666ba61612fd: Pull complete 12:04:08 8ed8ca486205: Pull complete 12:04:08 10935f4eaf8b: Verifying Checksum 12:04:08 10935f4eaf8b: Download complete 12:04:08 4fe6c5a15a65: Verifying Checksum 12:04:08 4fe6c5a15a65: Download complete 12:04:13 4fe6c5a15a65: Pull complete 12:04:13 22a0e8bec74d: Pull complete 12:04:13 640e595b4fbd: Pull complete 12:04:13 763cafe07f6e: Pull complete 12:04:13 0c0b528cf693: Pull complete 12:04:15 10935f4eaf8b: Pull complete 12:04:15 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 12:04:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:04:15 ---> 99d49a6021b9 12:04:15 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:04:17 ---> Running in 9cae5fc80ef5 12:04:17 Removing intermediate container 9cae5fc80ef5 12:04:17 ---> b8b7b37659fe 12:04:17 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 12:04:17 ---> Running in b42e5ecc2754 12:04:17 Removing intermediate container b42e5ecc2754 12:04:17 ---> 9de516da3745 12:04:17 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:04:17 ---> Running in e4836d6853d1 12:04:17 Removing intermediate container e4836d6853d1 12:04:17 ---> beb022fc6165 12:04:17 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:04:17 ---> Running in 5b5fbd84200e 12:04:18 Removing intermediate container 5b5fbd84200e 12:04:18 ---> 1c30a4df2db8 12:04:18 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:04:18 ---> Running in ef95ed6ea2b4 12:04:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:04:19 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:04:19 OK: 221 MiB in 52 packages 12:04:20 Removing intermediate container ef95ed6ea2b4 12:04:20 ---> 635daaff9b0a 12:04:20 Step 8/13 : WORKDIR /app 12:04:20 ---> Running in 6c281c4edd57 12:04:20 Removing intermediate container 6c281c4edd57 12:04:20 ---> df4d5d864c0d 12:04:20 Step 9/13 : COPY go.mod vendor* ./ 12:04:20 ---> 016175ad103f 12:04:20 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:04:20 ---> Running in 5f0f99ca95ee 12:04:21 Still waiting to schedule task 12:04:21 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:04:52 Removing intermediate container 5f0f99ca95ee 12:04:52 ---> 85e957108d04 12:04:52 Step 11/13 : COPY . . 12:04:52 ---> 31040d31481e 12:04:52 Step 12/13 : ARG MAKE="make build" 12:04:52 ---> Running in 0627a6afead4 12:04:52 Removing intermediate container 0627a6afead4 12:04:52 ---> c2f3de6b4657 12:04:52 Step 13/13 : RUN $MAKE 12:04:52 ---> Running in 661edc779297 12:04:52 noop 12:04:52 Removing intermediate container 661edc779297 12:04:52 ---> 5a704e2f05c9 12:04:52 Successfully built 5a704e2f05c9 12:04:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:04:52 + docker inspect -f . ci-base-image-x86_64 12:04:52 . [Pipeline] withDockerContainer 12:04:52 prd-ubuntu20.04-docker-8c-8g-21060 does not seem to be running inside a container 12:04:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-402 -v /w/workspace/_app-service-configurable_PR-402:/w/workspace/_app-service-configurable_PR-402:rw,z -v /w/workspace/_app-service-configurable_PR-402@tmp:/w/workspace/_app-service-configurable_PR-402@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 12:04:53 $ docker top 83175d4a06db19d297e4d18fc48770f75eb6c403f99238fbec2b5771e20df141 -eo pid,comm [Pipeline] { [Pipeline] sh 12:04:53 + go version 12:04:53 go version go1.17.6 linux/amd64 [Pipeline] } 12:04:53 $ docker stop --time=1 83175d4a06db19d297e4d18fc48770f75eb6c403f99238fbec2b5771e20df141 12:04:55 $ docker rm -f 83175d4a06db19d297e4d18fc48770f75eb6c403f99238fbec2b5771e20df141 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:04:55 + docker inspect -f . ci-base-image-x86_64 12:04:55 . [Pipeline] withDockerContainer 12:04:55 prd-ubuntu20.04-docker-8c-8g-21060 does not seem to be running inside a container 12:04:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-402 -v /w/workspace/_app-service-configurable_PR-402:/w/workspace/_app-service-configurable_PR-402:rw,z -v /w/workspace/_app-service-configurable_PR-402@tmp:/w/workspace/_app-service-configurable_PR-402@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 12:04:56 $ docker top fce840a5b5b4e2546ee4aec2034107f851437290af58c82e5facec31ae306133 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:04:56 + make test 12:04:56 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 12:05:05 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:05:05 CGO_ENABLED=1 go vet ./... 12:05:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:05:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:05:07 ./bin/test-attribution-txt.sh [Pipeline] echo 12:05:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:05:08 $ docker stop --time=1 fce840a5b5b4e2546ee4aec2034107f851437290af58c82e5facec31ae306133 12:05:09 $ docker rm -f fce840a5b5b4e2546ee4aec2034107f851437290af58c82e5facec31ae306133 [Pipeline] // withDockerContainer [Pipeline] sh 12:05:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:05:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:05:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:05:11 + ls -al . 12:05:11 total 176 12:05:11 drwxrwxr-x 8 jenkins jenkins 4096 Apr 15 12:05 . 12:05:11 drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 12:03 .. 12:05:11 -rw-rw-r-- 1 jenkins jenkins 119 Apr 15 12:03 .dockerignore 12:05:11 drwxrwxr-x 8 jenkins jenkins 4096 Apr 15 12:03 .git 12:05:11 drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 12:03 .github 12:05:11 -rw-rw-r-- 1 jenkins jenkins 104 Apr 15 12:03 .gitignore 12:05:11 drwx------ 3 jenkins jenkins 4096 Apr 15 12:04 .semver 12:05:11 -rw-rw-r-- 1 jenkins jenkins 7627 Apr 15 12:03 Attribution.txt 12:05:11 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 15 12:03 CHANGELOG.md 12:05:11 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 15 12:03 Dockerfile 12:05:11 -rw-rw-r-- 1 jenkins jenkins 677 Apr 15 12:03 GOVERNANCE.md 12:05:11 -rw-rw-r-- 1 jenkins jenkins 688 Apr 15 12:03 Jenkinsfile 12:05:11 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 15 12:03 LICENSE 12:05:11 -rw-rw-r-- 1 jenkins jenkins 618 Apr 15 12:03 OWNERS.md 12:05:11 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 15 12:03 README.md 12:05:11 -rw-rw-r-- 1 jenkins jenkins 5 Apr 15 12:04 VERSION 12:05:11 drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 12:03 bin 12:05:11 -rw-r--r-- 1 jenkins jenkins 10 Apr 15 12:04 coverage.out 12:05:11 -rw-rw-r-- 1 jenkins jenkins 2816 Apr 15 12:03 go.mod 12:05:11 -rw-rw-r-- 1 jenkins jenkins 50335 Apr 15 12:03 go.sum 12:05:11 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 15 12:03 main.go 12:05:11 -rw-rw-r-- 1 jenkins jenkins 1994 Apr 15 12:03 makefile 12:05:11 drwxrwxr-x 9 jenkins jenkins 4096 Apr 15 12:03 res 12:05:11 drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 12:03 snap [Pipeline] isUnix [Pipeline] sh 12:05:12 + 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=20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 --label arch=amd64 --label version=0.0.0 . 12:05:12 Sending build context to Docker daemon 3.008MB 12:05:12 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 12:05:12 Step 2/27 : FROM ${BASE} AS builder 12:05:12 ---> 5a704e2f05c9 12:05:12 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:05:12 ---> Running in 6f96ce992636 12:05:12 Removing intermediate container 6f96ce992636 12:05:12 ---> bf7724975ca0 12:05:12 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:05:12 ---> Running in a419b0b6ba36 12:05:12 Removing intermediate container a419b0b6ba36 12:05:12 ---> cd73f57b9345 12:05:12 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:05:12 ---> Running in 1ddb3c148c35 12:05:12 Removing intermediate container 1ddb3c148c35 12:05:12 ---> 7359efd0c469 12:05:12 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:05:12 ---> Running in 649e4091619f 12:05:13 Removing intermediate container 649e4091619f 12:05:13 ---> 629362d4a05e 12:05:13 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:05:13 ---> Running in 4ca7f1b245e7 12:05:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:05:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:05:14 OK: 221 MiB in 52 packages 12:05:15 Removing intermediate container 4ca7f1b245e7 12:05:15 ---> 3859897aac96 12:05:15 Step 8/27 : WORKDIR /app 12:05:15 ---> Running in 99885ca51ac3 12:05:15 Removing intermediate container 99885ca51ac3 12:05:15 ---> c426c0ae0d4e 12:05:15 Step 9/27 : COPY go.mod vendor* ./ 12:05:15 ---> 779c29888c40 12:05:15 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:05:15 ---> Running in efa8665717ed 12:05:16 Removing intermediate container efa8665717ed 12:05:16 ---> d29739f1c180 12:05:16 Step 11/27 : COPY . . 12:05:16 ---> 337e127d2e4e 12:05:16 Step 12/27 : ARG MAKE="make build" 12:05:16 ---> Running in 39bae5f968f7 12:05:16 Removing intermediate container 39bae5f968f7 12:05:16 ---> 8a5e6abd16a5 12:05:16 Step 13/27 : RUN $MAKE 12:05:16 ---> Running in 781fd7268486 12:05:16 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 12:05:35 Removing intermediate container 781fd7268486 12:05:35 ---> 50f887e29afd 12:05:35 Step 14/27 : FROM alpine:3.14 12:05:35 3.14: Pulling from library/alpine 12:05:35 8663204ce13b: Pulling fs layer 12:05:35 8663204ce13b: Verifying Checksum 12:05:35 8663204ce13b: Download complete 12:05:35 8663204ce13b: Pull complete 12:05:35 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:05:35 Status: Downloaded newer image for alpine:3.14 12:05:35 ---> e04c818066af 12:05:35 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:05:35 ---> Running in 44400c71dd3a 12:05:35 Removing intermediate container 44400c71dd3a 12:05:35 ---> a18b665378d8 12:05:35 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:05:35 ---> Running in c082e37d42d6 12:05:35 Removing intermediate container c082e37d42d6 12:05:35 ---> 7d72e8faff75 12:05:35 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 12:05:35 ---> Running in 3c2c2e1d6974 12:05:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 12:05:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 12:05:35 (1/7) Installing ca-certificates (20211220-r0) 12:05:35 (2/7) Installing dumb-init (1.2.5-r1) 12:05:35 (3/7) Installing libgcc (10.3.1_git20210424-r2) 12:05:35 (4/7) Installing libsodium (1.0.18-r0) 12:05:35 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 12:05:35 (6/7) Installing libzmq (4.3.4-r0) 12:05:35 (7/7) Installing zeromq (4.3.4-r0) 12:05:35 Executing busybox-1.33.1-r7.trigger 12:05:35 Executing ca-certificates-20211220-r0.trigger 12:05:35 OK: 9 MiB in 21 packages 12:05:36 Removing intermediate container 3c2c2e1d6974 12:05:36 ---> 4b807d68f4ab 12:05:36 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:05:36 ---> 5944329f8db0 12:05:36 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:05:36 ---> 018d4ec56cf2 12:05:36 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:05:36 ---> d9ffc2b691d1 12:05:36 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:05:37 ---> 52a62091e189 12:05:37 Step 22/27 : EXPOSE 48095 12:05:37 ---> Running in ec7be3817118 12:05:37 Removing intermediate container ec7be3817118 12:05:37 ---> 52df9bf78290 12:05:37 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:05:37 ---> Running in c097c8d2f892 12:05:37 Removing intermediate container c097c8d2f892 12:05:37 ---> 501f06033ed3 12:05:37 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:05:37 ---> Running in 64aa65588996 12:05:37 Removing intermediate container 64aa65588996 12:05:37 ---> 15969c08d87b 12:05:37 Step 25/27 : LABEL arch=amd64 12:05:37 ---> Running in 17ea0c92e4c8 12:05:37 Removing intermediate container 17ea0c92e4c8 12:05:37 ---> 5cd1902cf780 12:05:37 Step 26/27 : LABEL git_sha=20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 12:05:37 ---> Running in 29e5f04e6621 12:05:37 Removing intermediate container 29e5f04e6621 12:05:37 ---> b8a3f6a3b550 12:05:37 Step 27/27 : LABEL version=0.0.0 12:05:37 ---> Running in dd5c2bfb02ad 12:05:37 Removing intermediate container dd5c2bfb02ad 12:05:37 ---> 16eab0c7db96 12:05:37 [Warning] One or more build-args [ARCH] were not consumed 12:05:37 Successfully built 16eab0c7db96 12:05:38 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 12:05:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:38 12:05:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:05:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:39 latest: Pulling from edgex-lftools-log-publisher 12:05:39 5eb5b503b376: Pulling fs layer 12:05:39 5c69ac0246d0: Pulling fs layer 12:05:39 ec43610c2a17: Pulling fs layer 12:05:39 3a2ae6a8a46f: Pulling fs layer 12:05:39 33b1e0a273af: Pulling fs layer 12:05:39 5d3b04190fa2: Pulling fs layer 12:05:39 2f39f015ded8: Pulling fs layer 12:05:39 2f39f015ded8: Waiting 12:05:39 3a2ae6a8a46f: Waiting 12:05:39 33b1e0a273af: Waiting 12:05:39 5d3b04190fa2: Waiting 12:05:39 5c69ac0246d0: Download complete 12:05:39 3a2ae6a8a46f: Verifying Checksum 12:05:39 3a2ae6a8a46f: Download complete 12:05:39 33b1e0a273af: Verifying Checksum 12:05:39 33b1e0a273af: Download complete 12:05:39 5d3b04190fa2: Download complete 12:05:39 ec43610c2a17: Verifying Checksum 12:05:39 ec43610c2a17: Download complete 12:05:39 5eb5b503b376: Verifying Checksum 12:05:39 5eb5b503b376: Download complete 12:05:40 2f39f015ded8: Download complete 12:05:41 5eb5b503b376: Pull complete 12:05:41 5c69ac0246d0: Pull complete 12:05:41 ec43610c2a17: Pull complete 12:05:41 3a2ae6a8a46f: Pull complete 12:05:41 33b1e0a273af: Pull complete 12:05:41 5d3b04190fa2: Pull complete 12:05:47 2f39f015ded8: Pull complete 12:05:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:05:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:05:47 prd-ubuntu20.04-docker-8c-8g-21060 does not seem to be running inside a container 12:05:47 $ 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-402 -v /w/workspace/_app-service-configurable_PR-402:/w/workspace/_app-service-configurable_PR-402:rw,z -v /w/workspace/_app-service-configurable_PR-402@tmp:/w/workspace/_app-service-configurable_PR-402@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 12:05:49 $ docker top 7bd07d29ec4b683039e90b9992d01cbd1495ca78f8283c32a3b7b15d67951979 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:05:49 ---> job-cost.sh 12:05:49 lf-activate-venv: SKIPPING 12:05:49 INFO: No Stack... 12:05:49 INFO: Retrieving Pricing Info for: v3-standard-8 12:05:50 INFO: Archiving Costs [Pipeline] sh 12:05:50 + cat /w/workspace/_app-service-configurable_PR-402/archives/cost.csv 12:05:50 + cut -d, -f6 [Pipeline] lock 12:05:50 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-402-1-stack-cost] 12:05:50 Resource [jenkins-edgexfoundry-app-service-configurable-PR-402-1-stack-cost] did not exist. Created. 12:05:50 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-402-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:05:51 + echo total: 0.2199999988079071 [Pipeline] stash 12:05:51 Stashed 1 file(s) [Pipeline] } 12:05:51 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-402-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:05:51 $ docker stop --time=1 7bd07d29ec4b683039e90b9992d01cbd1495ca78f8283c32a3b7b15d67951979 12:05:52 $ docker rm -f 7bd07d29ec4b683039e90b9992d01cbd1495ca78f8283c32a3b7b15d67951979 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:05:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21062 in /w/workspace/_app-service-configurable_PR-402 [Pipeline] { [Pipeline] ws 12:05:57 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:05:57 Selected Git installation does not exist. Using Default 12:05:57 The recommended git tool is: NONE 12:06:02 using credential edgex-jenkins-ssh 12:06:02 Cloning the remote Git repository 12:06:02 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:06:02 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:06:02 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:06:02 > git --version # timeout=10 12:06:02 > git --version # 'git version 2.25.1' 12:06:02 using GIT_SSH to set credentials SSH Credentials for GitHub 12:06:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:06:04 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:06:04 Merging remotes/origin/main commit 323c9d7b071dcad20db500b9107a4775ac8effe6 into PR head commit 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 12:06:05 Merge succeeded, producing 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 12:06:05 Checking out Revision 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 (PR-402) 12:06:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:06:04 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:06:04 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:06:04 using GIT_SSH to set credentials SSH Credentials for GitHub 12:06:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/402/head:refs/remotes/origin/PR-402 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:06:04 > git config core.sparsecheckout # timeout=10 12:06:04 > git checkout -f 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 # timeout=10 12:06:04 > git remote # timeout=10 12:06:04 > git config --get remote.origin.url # timeout=10 12:06:04 using GIT_SSH to set credentials SSH Credentials for GitHub 12:06:05 > git merge 323c9d7b071dcad20db500b9107a4775ac8effe6 # timeout=10 12:06:05 > git rev-parse HEAD^{commit} # timeout=10 12:06:05 > git config core.sparsecheckout # timeout=10 12:06:05 > git checkout -f 20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 # timeout=10 12:06:09 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" 12:06:09 > git --version # timeout=10 12:06:09 > git --version # 'git version 2.25.1' 12:06:09 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:06:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:06:10 % Total % Received % Xferd Average Speed Time Time Time Current 12:06:10 Dload Upload Total Spent Left Speed 12:06:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 95508 0 --:--:-- --:--:-- --:--:-- 96284 [Pipeline] sh 12:06:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:06:11 + sudo tee /etc/docker/daemon.new 12:06:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:06:11 { 12:06:11 "registry-mirrors": [ 12:06:11 "https://nexus3.edgexfoundry.org:10001" 12:06:11 ], 12:06:11 "bip": "10.250.0.254/24", 12:06:11 "hosts": [ 12:06:11 "tcp://0.0.0.0:5555", 12:06:11 "unix:///var/run/docker.sock" 12:06:11 ], 12:06:11 "mtu": 1458, 12:06:11 "selinux-enabled": true, 12:06:11 "seccomp-profile": "/etc/docker/seccomp.json" 12:06:11 } [Pipeline] sh 12:06:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:06:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:06:30 provisioning config files... 12:06:30 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config9001571113136847845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:06:31 ---> docker-login.sh 12:06:31 nexus3.edgexfoundry.org:10001 12:06:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:31 Configure a credential helper to remove this warning. See 12:06:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:31 12:06:31 Login Succeeded 12:06:31 nexus3.edgexfoundry.org:10002 12:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:32 Configure a credential helper to remove this warning. See 12:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:32 12:06:32 Login Succeeded 12:06:32 nexus3.edgexfoundry.org:10003 12:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:32 Configure a credential helper to remove this warning. See 12:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:32 12:06:32 Login Succeeded 12:06:32 nexus3.edgexfoundry.org:10004 12:06:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:33 Configure a credential helper to remove this warning. See 12:06:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:33 12:06:33 Login Succeeded 12:06:33 docker.io 12:06:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:34 Configure a credential helper to remove this warning. See 12:06:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:34 12:06:34 Login Succeeded 12:06:34 ---> docker-login.sh ends [Pipeline] } 12:06:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:06:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:06:34 ========================================================= 12:06:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:06:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:06:35 + 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 . 12:06:35 Sending build context to Docker daemon 210.4kB 12:06:35 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 12:06:35 Step 2/13 : FROM ${BASE} AS builder 12:06:35 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:06:35 9b3977197b4f: Pulling fs layer 12:06:35 1a89e8eeedd5: Pulling fs layer 12:06:35 94645a83ff95: Pulling fs layer 12:06:35 3f3a8bcf1eab: Pulling fs layer 12:06:35 0c92f367c5e7: Pulling fs layer 12:06:35 f7c0051592d6: Pulling fs layer 12:06:35 a227ed2f7395: Pulling fs layer 12:06:35 7b1c46037f91: Pulling fs layer 12:06:35 f7c0051592d6: Waiting 12:06:35 3f3a8bcf1eab: Waiting 12:06:35 a227ed2f7395: Waiting 12:06:35 0c92f367c5e7: Waiting 12:06:35 7b1c46037f91: Waiting 12:06:35 94645a83ff95: Verifying Checksum 12:06:35 94645a83ff95: Download complete 12:06:35 1a89e8eeedd5: Verifying Checksum 12:06:35 1a89e8eeedd5: Download complete 12:06:35 0c92f367c5e7: Verifying Checksum 12:06:35 0c92f367c5e7: Download complete 12:06:35 f7c0051592d6: Verifying Checksum 12:06:35 f7c0051592d6: Download complete 12:06:35 9b3977197b4f: Download complete 12:06:35 a227ed2f7395: Verifying Checksum 12:06:35 a227ed2f7395: Download complete 12:06:36 9b3977197b4f: Pull complete 12:06:37 1a89e8eeedd5: Pull complete 12:06:37 94645a83ff95: Pull complete 12:06:37 7b1c46037f91: Verifying Checksum 12:06:37 7b1c46037f91: Download complete 12:06:38 3f3a8bcf1eab: Verifying Checksum 12:06:38 3f3a8bcf1eab: Download complete 12:06:50 3f3a8bcf1eab: Pull complete 12:06:50 0c92f367c5e7: Pull complete 12:06:50 f7c0051592d6: Pull complete 12:06:51 a227ed2f7395: Pull complete 12:06:58 7b1c46037f91: Pull complete 12:06:58 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 12:06:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:06:58 ---> f79e39bc4007 12:06:58 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:06:58 ---> Running in e7282ed1d2e9 12:06:58 Removing intermediate container e7282ed1d2e9 12:06:58 ---> 1e1c45122920 12:06:58 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 12:06:58 ---> Running in 6ac360f5206d 12:06:58 Removing intermediate container 6ac360f5206d 12:06:58 ---> eac59e65370b 12:06:58 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:06:58 ---> Running in f03e5c0c668f 12:06:59 Removing intermediate container f03e5c0c668f 12:06:59 ---> 063c0e57f6b4 12:06:59 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:06:59 ---> Running in 9eda0444fcd1 12:07:01 Removing intermediate container 9eda0444fcd1 12:07:01 ---> f63e9d47f660 12:07:01 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:07:01 ---> Running in 8f66b739bd8b 12:07:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:07:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:07:03 OK: 220 MiB in 52 packages 12:07:04 Removing intermediate container 8f66b739bd8b 12:07:04 ---> 2730d8d5e160 12:07:04 Step 8/13 : WORKDIR /app 12:07:04 ---> Running in c224a92c5b85 12:07:04 Removing intermediate container c224a92c5b85 12:07:04 ---> 3f01f78d11d0 12:07:04 Step 9/13 : COPY go.mod vendor* ./ 12:07:05 ---> 70212bd4eced 12:07:05 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:07:05 ---> Running in 598dfe0d1409 12:08:27 Removing intermediate container 598dfe0d1409 12:08:27 ---> b05309db3728 12:08:27 Step 11/13 : COPY . . 12:08:27 ---> f9acf0f8a34f 12:08:27 Step 12/13 : ARG MAKE="make build" 12:08:27 ---> Running in 2f38a4849d1f 12:08:27 Removing intermediate container 2f38a4849d1f 12:08:27 ---> e46faec67704 12:08:27 Step 13/13 : RUN $MAKE 12:08:27 ---> Running in 41d7b48d0f54 12:08:27 noop 12:08:27 Removing intermediate container 41d7b48d0f54 12:08:27 ---> f8250db7b9d9 12:08:27 Successfully built f8250db7b9d9 12:08:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:08:27 + docker inspect -f . ci-base-image-arm64 12:08:27 . [Pipeline] withDockerContainer 12:08:27 prd-ubuntu20.04-docker-arm64-4c-16g-21062 does not seem to be running inside a container 12:08:28 $ 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 ******** ci-base-image-arm64 cat 12:08:29 $ docker top 632f963ab76352dc03d3531edc1561218af701f3ae90ceb7c82ca0da728fc553 -eo pid,comm [Pipeline] { [Pipeline] sh 12:08:30 + go version 12:08:30 go version go1.17.6 linux/arm64 [Pipeline] } 12:08:30 $ docker stop --time=1 632f963ab76352dc03d3531edc1561218af701f3ae90ceb7c82ca0da728fc553 12:08:32 $ docker rm -f 632f963ab76352dc03d3531edc1561218af701f3ae90ceb7c82ca0da728fc553 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:08:32 + docker inspect -f . ci-base-image-arm64 12:08:32 . [Pipeline] withDockerContainer 12:08:33 prd-ubuntu20.04-docker-arm64-4c-16g-21062 does not seem to be running inside a container 12:08:33 $ 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 ******** ci-base-image-arm64 cat 12:08:34 $ docker top 3e5347b578abec140441c296a46a40a73f149c7c066931e0906b650b9e43ca53 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:08:35 + make test 12:08:35 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 12:09:22 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:09:22 CGO_ENABLED=1 go vet ./... 12:09:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:09:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:09:40 ./bin/test-attribution-txt.sh [Pipeline] echo 12:09:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:09:41 $ docker stop --time=1 3e5347b578abec140441c296a46a40a73f149c7c066931e0906b650b9e43ca53 12:09:43 $ docker rm -f 3e5347b578abec140441c296a46a40a73f149c7c066931e0906b650b9e43ca53 [Pipeline] // withDockerContainer [Pipeline] sh 12:09:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:09:44 Warning: overwriting stash ‘coverage-report’ 12:09:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:09:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:09:46 + ls -al . 12:09:46 total 172 12:09:46 drwxrwxr-x 7 jenkins jenkins 4096 Apr 15 12:09 . 12:09:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 12:06 .. 12:09:46 -rw-rw-r-- 1 jenkins jenkins 119 Apr 15 12:06 .dockerignore 12:09:46 drwxrwxr-x 8 jenkins jenkins 4096 Apr 15 12:06 .git 12:09:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 12:06 .github 12:09:46 -rw-rw-r-- 1 jenkins jenkins 104 Apr 15 12:06 .gitignore 12:09:46 -rw-rw-r-- 1 jenkins jenkins 7627 Apr 15 12:06 Attribution.txt 12:09:46 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 15 12:06 CHANGELOG.md 12:09:46 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 15 12:06 Dockerfile 12:09:46 -rw-rw-r-- 1 jenkins jenkins 677 Apr 15 12:06 GOVERNANCE.md 12:09:46 -rw-rw-r-- 1 jenkins jenkins 688 Apr 15 12:06 Jenkinsfile 12:09:46 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 15 12:06 LICENSE 12:09:46 -rw-rw-r-- 1 jenkins jenkins 618 Apr 15 12:06 OWNERS.md 12:09:46 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 15 12:06 README.md 12:09:46 -rw-rw-r-- 1 jenkins jenkins 5 Apr 15 12:04 VERSION 12:09:46 drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 12:06 bin 12:09:46 -rw-r--r-- 1 jenkins jenkins 10 Apr 15 12:08 coverage.out 12:09:46 -rw-rw-r-- 1 jenkins jenkins 2816 Apr 15 12:06 go.mod 12:09:46 -rw-rw-r-- 1 jenkins jenkins 50335 Apr 15 12:06 go.sum 12:09:46 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 15 12:06 main.go 12:09:46 -rw-rw-r-- 1 jenkins jenkins 1994 Apr 15 12:06 makefile 12:09:46 drwxrwxr-x 9 jenkins jenkins 4096 Apr 15 12:06 res 12:09:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 12:06 snap [Pipeline] isUnix [Pipeline] sh 12:09:46 + docker build -t app-service-configurable-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 --label arch=arm64 --label version=0.0.0 . 12:09:46 Sending build context to Docker daemon 211.5kB 12:09:46 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 12:09:46 Step 2/27 : FROM ${BASE} AS builder 12:09:46 ---> f8250db7b9d9 12:09:46 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:09:46 ---> Running in ed7f8134a7c0 12:09:46 Removing intermediate container ed7f8134a7c0 12:09:46 ---> d8edc9a1fdd2 12:09:46 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:09:47 ---> Running in 43466e09fa26 12:09:47 Removing intermediate container 43466e09fa26 12:09:47 ---> 4f1587b90489 12:09:47 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:09:47 ---> Running in 4d73c98c9056 12:09:47 Removing intermediate container 4d73c98c9056 12:09:47 ---> 61aadca8386f 12:09:47 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:09:47 ---> Running in bbc7d989a18b 12:09:49 Removing intermediate container bbc7d989a18b 12:09:49 ---> 55c37bbd3baf 12:09:49 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:09:49 ---> Running in f16fa9790be2 12:09:50 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:09:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:09:52 OK: 220 MiB in 52 packages 12:09:53 Removing intermediate container f16fa9790be2 12:09:53 ---> 41ab2f6effe0 12:09:53 Step 8/27 : WORKDIR /app 12:09:53 ---> Running in 90ac702d85a3 12:09:53 Removing intermediate container 90ac702d85a3 12:09:53 ---> 0078c1d75e11 12:09:53 Step 9/27 : COPY go.mod vendor* ./ 12:09:54 ---> 742f478c22dd 12:09:54 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:09:54 ---> Running in 4fc597a55ef8 12:09:56 Removing intermediate container 4fc597a55ef8 12:09:56 ---> 8a31f5646d67 12:09:56 Step 11/27 : COPY . . 12:09:56 ---> 920e0d3276d6 12:09:56 Step 12/27 : ARG MAKE="make build" 12:09:57 ---> Running in 230c463ef880 12:09:57 Removing intermediate container 230c463ef880 12:09:57 ---> e93296e9293a 12:09:57 Step 13/27 : RUN $MAKE 12:09:57 ---> Running in 6f4377a30c11 12:09:58 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 12:11:20 Removing intermediate container 6f4377a30c11 12:11:20 ---> dd6ef56dfc04 12:11:20 Step 14/27 : FROM alpine:3.14 12:11:20 3.14: Pulling from library/alpine 12:11:20 455c02918c45: Pulling fs layer 12:11:20 455c02918c45: Verifying Checksum 12:11:20 455c02918c45: Download complete 12:11:20 455c02918c45: Pull complete 12:11:20 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:11:20 Status: Downloaded newer image for alpine:3.14 12:11:20 ---> ac73e934f311 12:11:20 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:11:20 ---> Running in 4714b5e6edba 12:11:20 Removing intermediate container 4714b5e6edba 12:11:20 ---> a33f9f6f6dec 12:11:20 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:11:20 ---> Running in 04b985a3696b 12:11:20 Removing intermediate container 04b985a3696b 12:11:20 ---> ed2b4f9e4fc2 12:11:20 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 12:11:20 ---> Running in 81b728ded59b 12:11:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 12:11:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 12:11:20 (1/7) Installing ca-certificates (20211220-r0) 12:11:20 (2/7) Installing dumb-init (1.2.5-r1) 12:11:20 (3/7) Installing libgcc (10.3.1_git20210424-r2) 12:11:20 (4/7) Installing libsodium (1.0.18-r0) 12:11:20 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 12:11:20 (6/7) Installing libzmq (4.3.4-r0) 12:11:20 (7/7) Installing zeromq (4.3.4-r0) 12:11:20 Executing busybox-1.33.1-r7.trigger 12:11:20 Executing ca-certificates-20211220-r0.trigger 12:11:20 OK: 9 MiB in 21 packages 12:11:22 Removing intermediate container 81b728ded59b 12:11:22 ---> 65ab1c750fd3 12:11:22 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:11:22 ---> 0d2fc8452a8e 12:11:22 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:11:23 ---> 9fb2072b5d8a 12:11:23 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:11:23 ---> 1e692aac51af 12:11:23 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:11:25 ---> d7f3f8399229 12:11:25 Step 22/27 : EXPOSE 48095 12:11:25 ---> Running in 958c53b2e941 12:11:25 Removing intermediate container 958c53b2e941 12:11:25 ---> 42404e85b08f 12:11:25 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:11:25 ---> Running in a80c46238544 12:11:25 Removing intermediate container a80c46238544 12:11:25 ---> d8e002632ba3 12:11:25 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:11:25 ---> Running in 8549e7a8d230 12:11:25 Removing intermediate container 8549e7a8d230 12:11:25 ---> 6429568c03d8 12:11:25 Step 25/27 : LABEL arch=arm64 12:11:25 ---> Running in de48cf52e12a 12:11:26 Removing intermediate container de48cf52e12a 12:11:26 ---> 66f2004efe9e 12:11:26 Step 26/27 : LABEL git_sha=20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 12:11:26 ---> Running in 2155a63c5af9 12:11:26 Removing intermediate container 2155a63c5af9 12:11:26 ---> 9e9f05b619f5 12:11:26 Step 27/27 : LABEL version=0.0.0 12:11:26 ---> Running in 01e36668f157 12:11:27 Removing intermediate container 01e36668f157 12:11:27 ---> ebbc2823b27b 12:11:27 [Warning] One or more build-args [ARCH] were not consumed 12:11:27 Successfully built ebbc2823b27b 12:11:27 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:11:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:11:27 12:11:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 12:11:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:11:28 arm64: Pulling from edgex-lftools-log-publisher 12:11:28 8998bd30e6a1: Pulling fs layer 12:11:28 04944245beec: Pulling fs layer 12:11:28 699f458cf7ca: Pulling fs layer 12:11:28 765212b225bb: Pulling fs layer 12:11:28 f23df028b6ca: Pulling fs layer 12:11:28 d65c8cfc05b1: Pulling fs layer 12:11:28 2437ff75d9bd: Pulling fs layer 12:11:28 f23df028b6ca: Waiting 12:11:28 d65c8cfc05b1: Waiting 12:11:28 2437ff75d9bd: Waiting 12:11:28 765212b225bb: Waiting 12:11:28 04944245beec: Verifying Checksum 12:11:28 04944245beec: Download complete 12:11:28 765212b225bb: Download complete 12:11:28 f23df028b6ca: Download complete 12:11:28 d65c8cfc05b1: Verifying Checksum 12:11:28 d65c8cfc05b1: Download complete 12:11:28 699f458cf7ca: Verifying Checksum 12:11:28 699f458cf7ca: Download complete 12:11:29 8998bd30e6a1: Verifying Checksum 12:11:29 8998bd30e6a1: Download complete 12:11:31 2437ff75d9bd: Verifying Checksum 12:11:31 2437ff75d9bd: Download complete 12:11:33 8998bd30e6a1: Pull complete 12:11:33 04944245beec: Pull complete 12:11:35 699f458cf7ca: Pull complete 12:11:35 765212b225bb: Pull complete 12:11:36 f23df028b6ca: Pull complete 12:11:36 d65c8cfc05b1: Pull complete 12:11:51 2437ff75d9bd: Pull complete 12:11:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:11:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:11:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 12:11:51 prd-ubuntu20.04-docker-arm64-4c-16g-21062 does not seem to be running inside a container 12:11:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:11:54 $ docker top 73ebd39a344bb2a9438ea46ff5f48fbcf1f0a04d92b44ee274b7b3da4cf9ad13 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:11:55 ---> job-cost.sh 12:11:55 lf-activate-venv: SKIPPING 12:11:55 INFO: No Stack... 12:11:55 INFO: Retrieving Pricing Info for: v3-standard-4 12:11:56 INFO: Archiving Costs [Pipeline] sh 12:11:57 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 12:11:57 + cut -d, -f6 [Pipeline] lock 12:11:57 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-402-1-stack-cost] 12:11:57 Resource [jenkins-edgexfoundry-app-service-configurable-PR-402-1-stack-cost] did not exist. Created. 12:11:57 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-402-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:11:58 /w/workspace/app-service-configurable/1@tmp/durable-90806630/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:11:58 + echo total: 0.10999999940395355 [Pipeline] stash 12:11:58 Warning: overwriting stash ‘stack-cost’ 12:11:58 Stashed 1 file(s) [Pipeline] } 12:11:58 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-402-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:11:58 $ docker stop --time=1 73ebd39a344bb2a9438ea46ff5f48fbcf1f0a04d92b44ee274b7b3da4cf9ad13 12:12:00 $ docker rm -f 73ebd39a344bb2a9438ea46ff5f48fbcf1f0a04d92b44ee274b7b3da4cf9ad13 [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 12:12:01 provisioning config files... 12:12:01 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-402@tmp/config4525531477387850116tmp [Pipeline] { [Pipeline] sh 12:12:01 + set +x 12:12:01 + bash -s -- 12:12:01 + curl -s https://codecov.io/bash 12:12:01 12:12:01 _____ _ 12:12:01 / ____| | | 12:12:01 | | ___ __| | ___ ___ _____ __ 12:12:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:12:01 | |___| (_) | (_| | __/ (_| (_) \ V / 12:12:01 \_____\___/ \__,_|\___|\___\___/ \_/ 12:12:01 Bash-1.0.6 12:12:01 12:12:01 12:12:01 ==> git version 2.25.1 found 12:12:01 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 12:12:01 Release-Date: 2020-01-08 12:12:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:12:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:12:01 ==> Jenkins CI detected. 12:12:01 current dir:  /w/workspace/_app-service-configurable_PR-402 12:12:01 project root: . 12:12:01 --> token set from env 12:12:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:12:01 ==> Running gcov in . (disable via -X gcov) 12:12:01 ==> Python coveragepy not found 12:12:01 ==> Searching for coverage reports in: 12:12:01 + . 12:12:02 -> Found 1 reports 12:12:02 ==> Detecting git/mercurial file structure 12:12:02 ==> Reading reports 12:12:02 + ./coverage.out bytes=10 12:12:02 ==> Appending adjustments 12:12:02 https://docs.codecov.io/docs/fixing-reports 12:12:02 + Found adjustments 12:12:02 ==> Gzipping contents 12:12:02 4.0K /tmp/codecov.gbYpfP.gz 12:12:02 ==> Uploading reports 12:12:02 url: https://codecov.io 12:12:02 query: branch=PR-402&commit=20f45165f3ba978c60c8399083a1d7dd1eb1a7a7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-402%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=402&job=&cmd_args= 12:12:02 -> Pinging Codecov 12:12:02 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-402&commit=20f45165f3ba978c60c8399083a1d7dd1eb1a7a7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-402%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=402&job=&cmd_args= 12:12:02 -> Uploading to 12:12:02 https://storage.googleapis.com/codecov/v4/raw/2022-04-15/A97CA9966030D2A3747ED39772930CCE/20f45165f3ba978c60c8399083a1d7dd1eb1a7a7/2251db70-3498-48f3-b964-08d72e517176.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220415%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220415T121202Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=25041a6ab8acbc75d674154d2fa2287366339c97d3c994fc2364b8767a16de53 12:12:02 % Total % Received % Xferd Average Speed Time Time Time Current 12:12:02 Dload Upload Total Spent Left Speed 12:12:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 569 0 0 100 569 0 2722 --:--:-- --:--:-- --:--:-- 2722 12:12:02 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/20f45165f3ba978c60c8399083a1d7dd1eb1a7a7 [Pipeline] } 12:12:02 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 12:12:04 + [ -d /w/workspace/_app-service-configurable_PR-402/archives ] 12:12:04 + ls -al /w/workspace/_app-service-configurable_PR-402/archives 12:12:04 total 16 12:12:04 drwxr-xr-x 3 root root 4096 Apr 15 12:05 . 12:12:04 drwxrwxr-x 9 jenkins jenkins 4096 Apr 15 12:05 .. 12:12:04 drwxr-xr-x 2 root root 4096 Apr 15 12:05 cost 12:12:04 -rw-r--r-- 1 root root 95 Apr 15 12:05 cost.csv 12:12:04 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-402/archives 12:12:04 + ls -al /w/workspace/_app-service-configurable_PR-402/archives 12:12:04 total 16 12:12:04 drwxr-xr-x 3 jenkins jenkins 4096 Apr 15 12:05 . 12:12:04 drwxrwxr-x 9 jenkins jenkins 4096 Apr 15 12:05 .. 12:12:04 drwxr-xr-x 2 jenkins jenkins 4096 Apr 15 12:05 cost 12:12:04 -rw-r--r-- 1 jenkins jenkins 95 Apr 15 12:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:12:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:12:05 ---> package-listing.sh 12:12:05 ++ facter osfamily 12:12:05 ++ tr '[:upper:]' '[:lower:]' 12:12:05 + OS_FAMILY=debian 12:12:05 + workspace=/w/workspace/_app-service-configurable_PR-402 12:12:05 + START_PACKAGES=/tmp/packages_start.txt 12:12:05 + END_PACKAGES=/tmp/packages_end.txt 12:12:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:12:05 + PACKAGES=/tmp/packages_start.txt 12:12:05 + '[' /w/workspace/_app-service-configurable_PR-402 ']' 12:12:05 + PACKAGES=/tmp/packages_end.txt 12:12:05 + case "${OS_FAMILY}" in 12:12:05 + dpkg -l 12:12:05 + grep '^ii' 12:12:05 + '[' -f /tmp/packages_start.txt ']' 12:12:05 + '[' -f /tmp/packages_end.txt ']' 12:12:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:12:05 + '[' /w/workspace/_app-service-configurable_PR-402 ']' 12:12:05 + mkdir -p /w/workspace/_app-service-configurable_PR-402/archives/ 12:12:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-402/archives/ [Pipeline] echo 12:12:06 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-402/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:12:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:12:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:12:06 . [Pipeline] withDockerContainer 12:12:07 prd-ubuntu20.04-docker-8c-8g-21060 does not seem to be running inside a container 12:12:07 $ 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-402/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-402 -v /w/workspace/_app-service-configurable_PR-402:/w/workspace/_app-service-configurable_PR-402:rw,z -v /w/workspace/_app-service-configurable_PR-402@tmp:/w/workspace/_app-service-configurable_PR-402@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 12:12:07 $ docker top 3966b6920821c19031730f1d04cd1217f59bcd795712dbfd77b1d58883f290b1 -eo pid,comm [Pipeline] { [Pipeline] sh 12:12:07 + touch /tmp/pre-build-complete [Pipeline] sh 12:12:08 + mkdir -p /var/log/sysstat [Pipeline] sh 12:12:08 + ls /var/log/sa-host 12:12:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:12:08 provisioning config files... 12:12:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-402@tmp/config4086004237891971679tmp [Pipeline] { [Pipeline] echo 12:12:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:12:09 ---> create-netrc.sh [Pipeline] } 12:12:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:12:09 ---> python-tools-install.sh [Pipeline] echo 12:12:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:12:09 ---> sudo-logs.sh 12:12:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:12:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:12:10 ---> job-cost.sh 12:12:10 lf-activate-venv: SKIPPING 12:12:10 DEBUG: total: 0.2199999988079071 12:12:10 INFO: Retrieving Stack Cost... 12:12:10 INFO: Retrieving Pricing Info for: v3-standard-8 12:12:11 INFO: Archiving Costs [Pipeline] echo 12:12:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:12:11 ---> logs-deploy.sh 12:12:11 lf-activate-venv: SKIPPING 12:12:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-402/1 12:12:11 INFO: archiving workspace using pattern(s): 12:12:12 Archives upload complete. 12:12:12 INFO: archiving logs to Nexus