Pull request #403 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a3b941f40d0f1ae1921d03a2d945de79c94a78ef+323c9d7b071dcad20db500b9107a4775ac8effe6 (e129ac6424ddd06bd2435e9e6d6c4eab193713db) 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-ssh5857557201935669725.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-ssh14431082758675211722.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-403/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-403/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16326278054233154308.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-403/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1624362151773649454.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-ssh9590379256692792327.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-403/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-403/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5360060679408950785.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-21226 in /w/workspace/_app-service-configurable_PR-403 [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-403 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 323c9d7b071dcad20db500b9107a4775ac8effe6 into PR head commit a3b941f40d0f1ae1921d03a2d945de79c94a78ef Merge succeeded, producing a3b941f40d0f1ae1921d03a2d945de79c94a78ef Checking out Revision a3b941f40d0f1ae1921d03a2d945de79c94a78ef (PR-403) > 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/403/head:refs/remotes/origin/PR-403 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a3b941f40d0f1ae1921d03a2d945de79c94a78ef # 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 a3b941f40d0f1ae1921d03a2d945de79c94a78ef # 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:04:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:04:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:04:52 ========================================================= 12:04:52 EdgeX Global Pipelines Version Info 12:04:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:04:53 ------------------- 12:04:53 stable info: 12:04:53 ------------------- 12:04:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:04:53 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 12:04:53 Message: update stable to v1.0.221 12:04:54 ------------------- 12:04:54 experimental info: 12:04:54 ------------------- 12:04:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:04:54 Commit SHA: 2d41b7a85c8a62c0c33f5e39ad1462a101ac531d 12:04:54 Message: update experimental to v1.0.222 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:04:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:04:54 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:04:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:04:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:04:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:04:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:04:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:04:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:04:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:04:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:04:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:04:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:04:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:04:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:04:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:04:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:04:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:04:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:04:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:04:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:04:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:04:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:04:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:04:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:04:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:04:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:04:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-403 [Pipeline] echo 12:04:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-403 [Pipeline] echo 12:04:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-403 [Pipeline] echo 12:04:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a3b941f40d0f1ae1921d03a2d945de79c94a78ef [Pipeline] echo 12:04:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a3b941f [Pipeline] echo 12:04:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:04:55 provisioning config files... 12:04:55 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-403@tmp/config4719763815835217049tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:04:56 ---> docker-login.sh 12:04:56 nexus3.edgexfoundry.org:10001 12:04:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:56 Configure a credential helper to remove this warning. See 12:04:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:56 12:04:56 Login Succeeded 12:04:56 nexus3.edgexfoundry.org:10002 12:04:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:56 Configure a credential helper to remove this warning. See 12:04:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:56 12:04:56 Login Succeeded 12:04:56 nexus3.edgexfoundry.org:10003 12:04:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:56 Configure a credential helper to remove this warning. See 12:04:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:56 12:04:56 Login Succeeded 12:04:56 nexus3.edgexfoundry.org:10004 12:04:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:56 Configure a credential helper to remove this warning. See 12:04:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:56 12:04:56 Login Succeeded 12:04:56 docker.io 12:04:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:57 Configure a credential helper to remove this warning. See 12:04:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:57 12:04:57 Login Succeeded 12:04:57 ---> docker-login.sh ends [Pipeline] } 12:04:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:04:58 + git rev-list -1 --merges a3b941f40d0f1ae1921d03a2d945de79c94a78ef~1..a3b941f40d0f1ae1921d03a2d945de79c94a78ef [Pipeline] echo 12:04:58 -----------> git rev-list -1 --merges a3b941f40d0f1ae1921d03a2d945de79c94a78ef~1..a3b941f40d0f1ae1921d03a2d945de79c94a78ef a3b941f40d0f1ae1921d03a2d945de79c94a78ef [false] [Pipeline] sh 12:04:58 + git log --format=format:%s -1 a3b941f40d0f1ae1921d03a2d945de79c94a78ef [Pipeline] echo 12:04:58 ========================================================= 12:04:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:04:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:04:58 + git log --format=format:%s -1 a3b941f40d0f1ae1921d03a2d945de79c94a78ef [Pipeline] echo 12:04:59 [semverPrep] GIT_COMMIT: a3b941f40d0f1ae1921d03a2d945de79c94a78ef, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo 12:04:59 [semverPrep] This is not a build commit. [Pipeline] sh 12:04:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:04:59 + grep -v github /etc/ssh/ssh_known_hosts 12:04:59 + [ -e /tmp/ssh_known_hosts ] 12:04:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:04:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:04:59 + sudo tee -a /etc/ssh/ssh_known_hosts 12:04:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:05:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:05:00 12:05:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:05:00 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:05:00 latest: Pulling from edgex-devops/git-semver 12:05:00 a0d0a0d46f8b: Pulling fs layer 12:05:00 3e5f54012d9b: Pulling fs layer 12:05:00 4c7163046ea9: Pulling fs layer 12:05:00 0c2d73faf560: Pulling fs layer 12:05:00 0c2d73faf560: Waiting 12:05:00 3e5f54012d9b: Download complete 12:05:00 a0d0a0d46f8b: Verifying Checksum 12:05:00 a0d0a0d46f8b: Download complete 12:05:00 0c2d73faf560: Verifying Checksum 12:05:00 0c2d73faf560: Download complete 12:05:00 4c7163046ea9: Verifying Checksum 12:05:00 4c7163046ea9: Download complete 12:05:00 a0d0a0d46f8b: Pull complete 12:05:00 3e5f54012d9b: Pull complete 12:05:00 4c7163046ea9: Pull complete 12:05:01 0c2d73faf560: Pull complete 12:05:01 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 12:05:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:05:01 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:05:01 prd-ubuntu20.04-docker-8c-8g-21226 does not seem to be running inside a container 12:05:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-403 -v /w/workspace/_app-service-configurable_PR-403:/w/workspace/_app-service-configurable_PR-403:rw,z -v /w/workspace/_app-service-configurable_PR-403@tmp:/w/workspace/_app-service-configurable_PR-403@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:05:02 $ docker top 32fd96d64d80127491e0f4e4917ad60369b37016ccc106445a2d48f6aab7c5e6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:05:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:05:02 [ssh-agent] Looking for ssh-agent implementation... 12:05:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:05:02 $ docker exec 32fd96d64d80127491e0f4e4917ad60369b37016ccc106445a2d48f6aab7c5e6 ssh-agent 12:05:02 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOMhCjp/agent.16 12:05:02 SSH_AGENT_PID=22 12:05:02 Running ssh-add (command line suppressed) 12:05:02 Identity added: /w/workspace/_app-service-configurable_PR-403@tmp/private_key_8221250033464435118.key (/w/workspace/_app-service-configurable_PR-403@tmp/private_key_8221250033464435118.key) 12:05:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:05:02 + git tag --points-at HEAD [Pipeline] } 12:05:02 $ docker exec --env ******** --env ******** 32fd96d64d80127491e0f4e4917ad60369b37016ccc106445a2d48f6aab7c5e6 ssh-agent -k 12:05:03 unset SSH_AUTH_SOCK; 12:05:03 unset SSH_AGENT_PID; 12:05:03 echo Agent pid 22 killed; 12:05:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:05:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:05:03 [ssh-agent] Looking for ssh-agent implementation... 12:05:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:05:03 $ docker exec 32fd96d64d80127491e0f4e4917ad60369b37016ccc106445a2d48f6aab7c5e6 ssh-agent 12:05:03 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjJoObL/agent.56 12:05:03 SSH_AGENT_PID=62 12:05:03 Running ssh-add (command line suppressed) 12:05:03 Identity added: /w/workspace/_app-service-configurable_PR-403@tmp/private_key_3998741337780203180.key (/w/workspace/_app-service-configurable_PR-403@tmp/private_key_3998741337780203180.key) 12:05:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:05:03 + git semver init 12:05:03 # -> Open(): unable to determine branch for HEAD 12:05:03 # $GIT_DIR = /w/workspace/_app-service-configurable_PR-403/.git 12:05:03 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-403 12:05:03 # $SEMVER_REMOTE_NAME = origin 12:05:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:05:03 # $SEMVER_USER_NAME = edgex-jenkins 12:05:03 # $SEMVER_BRANCH = PR-403 12:05:03 # $SEMVER_TEMP = /tmp/semver-146091893 12:05:03 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 12:05:04 # '/tmp/semver-146091893' -> '/w/workspace/_app-service-configurable_PR-403/.semver' 12:05:04 # -> Force: false 12:05:04 # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-403/.semver [Pipeline] } 12:05:04 $ docker exec --env ******** --env ******** 32fd96d64d80127491e0f4e4917ad60369b37016ccc106445a2d48f6aab7c5e6 ssh-agent -k 12:05:04 unset SSH_AUTH_SOCK; 12:05:04 unset SSH_AGENT_PID; 12:05:04 echo Agent pid 62 killed; 12:05:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:05:05 + git semver [Pipeline] } 12:05:05 $ docker stop --time=1 32fd96d64d80127491e0f4e4917ad60369b37016ccc106445a2d48f6aab7c5e6 12:05:06 $ docker rm -f 32fd96d64d80127491e0f4e4917ad60369b37016ccc106445a2d48f6aab7c5e6 [Pipeline] // withDockerContainer [Pipeline] sh 12:05:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:05:07 Stashed 1 file(s) [Pipeline] echo 12:05:07 [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:05:08 provisioning config files... 12:05:08 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-403@tmp/config6842726691383083254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:05:08 ---> docker-login.sh 12:05:08 nexus3.edgexfoundry.org:10001 12:05:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:08 Configure a credential helper to remove this warning. See 12:05:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:08 12:05:08 Login Succeeded 12:05:08 nexus3.edgexfoundry.org:10002 12:05:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:08 Configure a credential helper to remove this warning. See 12:05:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:08 12:05:08 Login Succeeded 12:05:08 nexus3.edgexfoundry.org:10003 12:05:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:08 Configure a credential helper to remove this warning. See 12:05:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:08 12:05:08 Login Succeeded 12:05:08 nexus3.edgexfoundry.org:10004 12:05:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:09 Configure a credential helper to remove this warning. See 12:05:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:09 12:05:09 Login Succeeded 12:05:09 docker.io 12:05:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:09 Configure a credential helper to remove this warning. See 12:05:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:09 12:05:09 Login Succeeded 12:05:09 ---> docker-login.sh ends [Pipeline] } 12:05:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:05:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:05:09 ========================================================= 12:05:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:05:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:05:10 + 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:05:10 Sending build context to Docker daemon 3.007MB 12:05:10 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 12:05:10 Step 2/13 : FROM ${BASE} AS builder 12:05:10 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:05:10 59bf1c3509f3: Pulling fs layer 12:05:10 666ba61612fd: Pulling fs layer 12:05:10 8ed8ca486205: Pulling fs layer 12:05:10 4fe6c5a15a65: Pulling fs layer 12:05:10 22a0e8bec74d: Pulling fs layer 12:05:10 640e595b4fbd: Pulling fs layer 12:05:10 763cafe07f6e: Pulling fs layer 12:05:10 0c0b528cf693: Pulling fs layer 12:05:10 10935f4eaf8b: Pulling fs layer 12:05:10 640e595b4fbd: Waiting 12:05:10 4fe6c5a15a65: Waiting 12:05:10 763cafe07f6e: Waiting 12:05:10 22a0e8bec74d: Waiting 12:05:10 10935f4eaf8b: Waiting 12:05:10 0c0b528cf693: Waiting 12:05:10 8ed8ca486205: Verifying Checksum 12:05:10 8ed8ca486205: Download complete 12:05:10 666ba61612fd: Download complete 12:05:10 22a0e8bec74d: Download complete 12:05:10 640e595b4fbd: Verifying Checksum 12:05:10 640e595b4fbd: Download complete 12:05:10 763cafe07f6e: Verifying Checksum 12:05:10 763cafe07f6e: Download complete 12:05:10 59bf1c3509f3: Verifying Checksum 12:05:10 59bf1c3509f3: Download complete 12:05:10 0c0b528cf693: Verifying Checksum 12:05:10 0c0b528cf693: Download complete 12:05:10 59bf1c3509f3: Pull complete 12:05:10 666ba61612fd: Pull complete 12:05:10 8ed8ca486205: Pull complete 12:05:10 10935f4eaf8b: Verifying Checksum 12:05:10 10935f4eaf8b: Download complete 12:05:10 4fe6c5a15a65: Verifying Checksum 12:05:10 4fe6c5a15a65: Download complete 12:05:15 4fe6c5a15a65: Pull complete 12:05:15 22a0e8bec74d: Pull complete 12:05:15 640e595b4fbd: Pull complete 12:05:15 763cafe07f6e: Pull complete 12:05:15 0c0b528cf693: Pull complete 12:05:16 10935f4eaf8b: Pull complete 12:05:16 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 12:05:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:05:16 ---> 99d49a6021b9 12:05:16 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:05:18 ---> Running in 3afdee1393fe 12:05:18 Removing intermediate container 3afdee1393fe 12:05:18 ---> 9dd83b150db4 12:05:18 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 12:05:18 ---> Running in ab80be9f83aa 12:05:18 Removing intermediate container ab80be9f83aa 12:05:18 ---> 0e2c4c653588 12:05:18 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:05:18 ---> Running in 06f1b813136c 12:05:19 Removing intermediate container 06f1b813136c 12:05:19 ---> 7fcf83af9620 12:05:19 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:05:19 ---> Running in 60ac36077115 12:05:20 Removing intermediate container 60ac36077115 12:05:20 ---> 8aa3844f23a3 12:05:20 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:05:20 ---> Running in b56cedd0e755 12:05:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:05:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:05:21 OK: 221 MiB in 52 packages 12:05:21 Removing intermediate container b56cedd0e755 12:05:21 ---> 7c7f9a40ea57 12:05:21 Step 8/13 : WORKDIR /app 12:05:22 ---> Running in 00f523326a91 12:05:22 Removing intermediate container 00f523326a91 12:05:22 ---> 47ef01a76081 12:05:22 Step 9/13 : COPY go.mod vendor* ./ 12:05:22 ---> df2058f3abba 12:05:22 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:05:22 ---> Running in 92bbb25856e8 12:05:23 Still waiting to schedule task 12:05:23 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:05:54 Removing intermediate container 92bbb25856e8 12:05:54 ---> 52bac7dad2eb 12:05:54 Step 11/13 : COPY . . 12:05:54 ---> ab85826ca4af 12:05:54 Step 12/13 : ARG MAKE="make build" 12:05:54 ---> Running in 1076dc9025f0 12:05:54 Removing intermediate container 1076dc9025f0 12:05:54 ---> 4b3c35335580 12:05:54 Step 13/13 : RUN $MAKE 12:05:54 ---> Running in 26cd8087122d 12:05:54 noop 12:05:54 Removing intermediate container 26cd8087122d 12:05:54 ---> d1e3ae3b5e29 12:05:54 Successfully built d1e3ae3b5e29 12:05:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:05:54 + docker inspect -f . ci-base-image-x86_64 12:05:54 . [Pipeline] withDockerContainer 12:05:54 prd-ubuntu20.04-docker-8c-8g-21226 does not seem to be running inside a container 12:05:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-403 -v /w/workspace/_app-service-configurable_PR-403:/w/workspace/_app-service-configurable_PR-403:rw,z -v /w/workspace/_app-service-configurable_PR-403@tmp:/w/workspace/_app-service-configurable_PR-403@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:05:55 $ docker top 887c78ece168660997e7604c6c9a3527f7891cbc6f9ee2c760f75ccc7365513c -eo pid,comm [Pipeline] { [Pipeline] sh 12:05:55 + go version 12:05:55 go version go1.17.6 linux/amd64 [Pipeline] } 12:05:55 $ docker stop --time=1 887c78ece168660997e7604c6c9a3527f7891cbc6f9ee2c760f75ccc7365513c 12:05:57 $ docker rm -f 887c78ece168660997e7604c6c9a3527f7891cbc6f9ee2c760f75ccc7365513c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:05:57 + docker inspect -f . ci-base-image-x86_64 12:05:57 . [Pipeline] withDockerContainer 12:05:57 prd-ubuntu20.04-docker-8c-8g-21226 does not seem to be running inside a container 12:05:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-403 -v /w/workspace/_app-service-configurable_PR-403:/w/workspace/_app-service-configurable_PR-403:rw,z -v /w/workspace/_app-service-configurable_PR-403@tmp:/w/workspace/_app-service-configurable_PR-403@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:05:58 $ docker top 6e29ea2744644824c73452d1d658f53ce4147a5313e6c180cc27e473dffc44bd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:05:58 + make test 12:05:58 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 12:06:05 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:06:05 CGO_ENABLED=1 go vet ./... 12:06:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:06:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:06:08 ./bin/test-attribution-txt.sh [Pipeline] echo 12:06:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:06:09 $ docker stop --time=1 6e29ea2744644824c73452d1d658f53ce4147a5313e6c180cc27e473dffc44bd 12:06:10 $ docker rm -f 6e29ea2744644824c73452d1d658f53ce4147a5313e6c180cc27e473dffc44bd [Pipeline] // withDockerContainer [Pipeline] sh 12:06:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:06:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:06:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:06:12 + ls -al . 12:06:12 total 176 12:06:12 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 12:06 . 12:06:12 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 12:04 .. 12:06:12 -rw-rw-r-- 1 jenkins jenkins 119 Apr 18 12:04 .dockerignore 12:06:12 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 12:04 .git 12:06:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 12:04 .github 12:06:12 -rw-rw-r-- 1 jenkins jenkins 104 Apr 18 12:04 .gitignore 12:06:12 drwx------ 3 jenkins jenkins 4096 Apr 18 12:05 .semver 12:06:12 -rw-rw-r-- 1 jenkins jenkins 7627 Apr 18 12:04 Attribution.txt 12:06:12 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 18 12:04 CHANGELOG.md 12:06:12 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 18 12:04 Dockerfile 12:06:12 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 12:04 GOVERNANCE.md 12:06:12 -rw-rw-r-- 1 jenkins jenkins 688 Apr 18 12:04 Jenkinsfile 12:06:12 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 18 12:04 LICENSE 12:06:12 -rw-rw-r-- 1 jenkins jenkins 618 Apr 18 12:04 OWNERS.md 12:06:12 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 18 12:04 README.md 12:06:12 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 12:05 VERSION 12:06:12 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 12:04 bin 12:06:12 -rw-r--r-- 1 jenkins jenkins 10 Apr 18 12:05 coverage.out 12:06:12 -rw-rw-r-- 1 jenkins jenkins 2817 Apr 18 12:04 go.mod 12:06:12 -rw-rw-r-- 1 jenkins jenkins 50337 Apr 18 12:04 go.sum 12:06:12 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 18 12:04 main.go 12:06:12 -rw-rw-r-- 1 jenkins jenkins 1994 Apr 18 12:04 makefile 12:06:12 drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 12:04 res 12:06:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 12:04 snap [Pipeline] isUnix [Pipeline] sh 12:06:13 + 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=a3b941f40d0f1ae1921d03a2d945de79c94a78ef --label arch=amd64 --label version=0.0.0 . 12:06:13 Sending build context to Docker daemon 3.008MB 12:06:13 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 12:06:13 Step 2/27 : FROM ${BASE} AS builder 12:06:13 ---> d1e3ae3b5e29 12:06:13 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:06:13 ---> Running in 7098b4e4e116 12:06:13 Removing intermediate container 7098b4e4e116 12:06:13 ---> fcaa347f130a 12:06:13 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:06:13 ---> Running in 617703ff43ad 12:06:13 Removing intermediate container 617703ff43ad 12:06:13 ---> db50a3143c6b 12:06:13 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:06:13 ---> Running in 742c935dff50 12:06:13 Removing intermediate container 742c935dff50 12:06:13 ---> 65d8dd43ff8a 12:06:13 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:06:13 ---> Running in 22e8f732f90f 12:06:14 Removing intermediate container 22e8f732f90f 12:06:14 ---> f94c8d8b7fcc 12:06:14 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:06:14 ---> Running in 9e0dd784d035 12:06:14 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:06:15 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:06:15 OK: 221 MiB in 52 packages 12:06:16 Removing intermediate container 9e0dd784d035 12:06:16 ---> 886d268bb014 12:06:16 Step 8/27 : WORKDIR /app 12:06:16 ---> Running in 33fffa8a9569 12:06:16 Removing intermediate container 33fffa8a9569 12:06:16 ---> 1c857935274d 12:06:16 Step 9/27 : COPY go.mod vendor* ./ 12:06:16 ---> 045a7f9bd655 12:06:16 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:06:16 ---> Running in 7a2998ef541a 12:06:17 Removing intermediate container 7a2998ef541a 12:06:17 ---> 66fc5db56d13 12:06:17 Step 11/27 : COPY . . 12:06:17 ---> 516c724c5d5d 12:06:17 Step 12/27 : ARG MAKE="make build" 12:06:17 ---> Running in d5e260462034 12:06:18 Removing intermediate container d5e260462034 12:06:18 ---> ad6b6701ddc1 12:06:18 Step 13/27 : RUN $MAKE 12:06:18 ---> Running in 1905d6948ad8 12:06:18 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:06:36 Removing intermediate container 1905d6948ad8 12:06:36 ---> a4638001071e 12:06:36 Step 14/27 : FROM alpine:3.14 12:06:36 3.14: Pulling from library/alpine 12:06:36 8663204ce13b: Pulling fs layer 12:06:36 8663204ce13b: Verifying Checksum 12:06:36 8663204ce13b: Download complete 12:06:36 8663204ce13b: Pull complete 12:06:36 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:06:36 Status: Downloaded newer image for alpine:3.14 12:06:36 ---> e04c818066af 12:06:36 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:06:36 ---> Running in cf915d7b4525 12:06:36 Removing intermediate container cf915d7b4525 12:06:36 ---> 721cd113194c 12:06:36 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:06:36 ---> Running in ea4eb9c96072 12:06:36 Removing intermediate container ea4eb9c96072 12:06:36 ---> 33e1d6fc142c 12:06:36 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 12:06:36 ---> Running in df85a784d3b5 12:06:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 12:06:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 12:06:36 (1/7) Installing ca-certificates (20211220-r0) 12:06:36 (2/7) Installing dumb-init (1.2.5-r1) 12:06:36 (3/7) Installing libgcc (10.3.1_git20210424-r2) 12:06:36 (4/7) Installing libsodium (1.0.18-r0) 12:06:36 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 12:06:36 (6/7) Installing libzmq (4.3.4-r0) 12:06:36 (7/7) Installing zeromq (4.3.4-r0) 12:06:36 Executing busybox-1.33.1-r7.trigger 12:06:36 Executing ca-certificates-20211220-r0.trigger 12:06:36 OK: 9 MiB in 21 packages 12:06:36 Removing intermediate container df85a784d3b5 12:06:36 ---> dbe4ccb5eb8d 12:06:36 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:06:36 ---> 4f8956026cf6 12:06:36 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:06:36 ---> 02112d9c0068 12:06:36 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:06:36 ---> 4089205560b6 12:06:36 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:06:37 ---> 59d3565df89a 12:06:37 Step 22/27 : EXPOSE 48095 12:06:37 ---> Running in 3da8a9f32a05 12:06:37 Removing intermediate container 3da8a9f32a05 12:06:37 ---> 97d77bbf99f3 12:06:37 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:06:37 ---> Running in 619705249c31 12:06:37 Removing intermediate container 619705249c31 12:06:37 ---> 8f3dfaf40bb0 12:06:37 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:06:37 ---> Running in 14ff18d766ef 12:06:38 Removing intermediate container 14ff18d766ef 12:06:38 ---> 01afc4503774 12:06:38 Step 25/27 : LABEL arch=amd64 12:06:38 ---> Running in 48c1b6a91b0c 12:06:38 Removing intermediate container 48c1b6a91b0c 12:06:38 ---> b58848cde59f 12:06:38 Step 26/27 : LABEL git_sha=a3b941f40d0f1ae1921d03a2d945de79c94a78ef 12:06:38 ---> Running in 6630604d0aa6 12:06:38 Removing intermediate container 6630604d0aa6 12:06:38 ---> 08bb1e3c8695 12:06:38 Step 27/27 : LABEL version=0.0.0 12:06:38 ---> Running in b74df5b5e193 12:06:38 Removing intermediate container b74df5b5e193 12:06:38 ---> 3b17e585208c 12:06:38 [Warning] One or more build-args [ARCH] were not consumed 12:06:38 Successfully built 3b17e585208c 12:06: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:06:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:06:39 12:06:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:06:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:06:39 latest: Pulling from edgex-lftools-log-publisher 12:06:39 5eb5b503b376: Pulling fs layer 12:06:39 5c69ac0246d0: Pulling fs layer 12:06:39 ec43610c2a17: Pulling fs layer 12:06:39 3a2ae6a8a46f: Pulling fs layer 12:06:39 33b1e0a273af: Pulling fs layer 12:06:39 5d3b04190fa2: Pulling fs layer 12:06:39 2f39f015ded8: Pulling fs layer 12:06:39 3a2ae6a8a46f: Waiting 12:06:39 33b1e0a273af: Waiting 12:06:39 5d3b04190fa2: Waiting 12:06:39 2f39f015ded8: Waiting 12:06:39 5c69ac0246d0: Download complete 12:06:39 3a2ae6a8a46f: Verifying Checksum 12:06:39 3a2ae6a8a46f: Download complete 12:06:39 33b1e0a273af: Verifying Checksum 12:06:39 33b1e0a273af: Download complete 12:06:39 5d3b04190fa2: Download complete 12:06:40 ec43610c2a17: Verifying Checksum 12:06:40 ec43610c2a17: Download complete 12:06:40 5eb5b503b376: Download complete 12:06:40 2f39f015ded8: Download complete 12:06:41 5eb5b503b376: Pull complete 12:06:41 5c69ac0246d0: Pull complete 12:06:41 ec43610c2a17: Pull complete 12:06:41 3a2ae6a8a46f: Pull complete 12:06:42 33b1e0a273af: Pull complete 12:06:42 5d3b04190fa2: Pull complete 12:06:46 2f39f015ded8: Pull complete 12:06:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:06:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:06:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:06:46 prd-ubuntu20.04-docker-8c-8g-21226 does not seem to be running inside a container 12:06:46 $ 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-403 -v /w/workspace/_app-service-configurable_PR-403:/w/workspace/_app-service-configurable_PR-403:rw,z -v /w/workspace/_app-service-configurable_PR-403@tmp:/w/workspace/_app-service-configurable_PR-403@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:06:48 $ docker top 7a43663704979d3b171074c247e5b06d21499f3e1cb5707274d7d1aca43e8179 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:06:49 ---> job-cost.sh 12:06:49 lf-activate-venv: SKIPPING 12:06:49 INFO: No Stack... 12:06:49 INFO: Retrieving Pricing Info for: v3-standard-8 12:06:49 INFO: Archiving Costs [Pipeline] sh 12:06:50 + cat /w/workspace/_app-service-configurable_PR-403/archives/cost.csv 12:06:50 + cut -d, -f6 [Pipeline] lock 12:06:50 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-403-1-stack-cost] 12:06:50 Resource [jenkins-edgexfoundry-app-service-configurable-PR-403-1-stack-cost] did not exist. Created. 12:06:50 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-403-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:06:50 + echo total: 0.2199999988079071 [Pipeline] stash 12:06:50 Stashed 1 file(s) [Pipeline] } 12:06:50 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-403-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:06:50 $ docker stop --time=1 7a43663704979d3b171074c247e5b06d21499f3e1cb5707274d7d1aca43e8179 12:06:52 $ docker rm -f 7a43663704979d3b171074c247e5b06d21499f3e1cb5707274d7d1aca43e8179 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:06:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21227 in /w/workspace/_app-service-configurable_PR-403 [Pipeline] { [Pipeline] ws 12:06:56 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:06:56 Selected Git installation does not exist. Using Default 12:06:56 The recommended git tool is: NONE 12:07:01 using credential edgex-jenkins-ssh 12:07:01 Cloning the remote Git repository 12:07:01 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:07:01 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:07:01 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:07:01 > git --version # timeout=10 12:07:01 > git --version # 'git version 2.25.1' 12:07:01 using GIT_SSH to set credentials SSH Credentials for GitHub 12:07:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:07:03 Merging remotes/origin/main commit 323c9d7b071dcad20db500b9107a4775ac8effe6 into PR head commit a3b941f40d0f1ae1921d03a2d945de79c94a78ef 12:07:03 Merge succeeded, producing a3b941f40d0f1ae1921d03a2d945de79c94a78ef 12:07:03 Checking out Revision a3b941f40d0f1ae1921d03a2d945de79c94a78ef (PR-403) 12:07:02 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:07:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:07:03 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:07:03 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:07:03 using GIT_SSH to set credentials SSH Credentials for GitHub 12:07:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/403/head:refs/remotes/origin/PR-403 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:07:03 > git config core.sparsecheckout # timeout=10 12:07:03 > git checkout -f a3b941f40d0f1ae1921d03a2d945de79c94a78ef # timeout=10 12:07:03 > git remote # timeout=10 12:07:03 > git config --get remote.origin.url # timeout=10 12:07:03 using GIT_SSH to set credentials SSH Credentials for GitHub 12:07:03 > git merge 323c9d7b071dcad20db500b9107a4775ac8effe6 # timeout=10 12:07:03 > git rev-parse HEAD^{commit} # timeout=10 12:07:03 > git config core.sparsecheckout # timeout=10 12:07:03 > git checkout -f a3b941f40d0f1ae1921d03a2d945de79c94a78ef # timeout=10 12:07:08 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" 12:07:08 > git --version # timeout=10 12:07:08 > git --version # 'git version 2.25.1' 12:07:08 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:07:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:07:09 % Total % Received % Xferd Average Speed Time Time Time Current 12:07:09 Dload Upload Total Spent Left Speed 12:07:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 49760 0 --:--:-- --:--:-- --:--:-- 49970 [Pipeline] sh 12:07:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:07:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:07:10 + sudo tee /etc/docker/daemon.new 12:07:10 { 12:07:10 "registry-mirrors": [ 12:07:10 "https://nexus3.edgexfoundry.org:10001" 12:07:10 ], 12:07:10 "bip": "10.250.0.254/24", 12:07:10 "hosts": [ 12:07:10 "tcp://0.0.0.0:5555", 12:07:10 "unix:///var/run/docker.sock" 12:07:10 ], 12:07:10 "mtu": 1458, 12:07:10 "selinux-enabled": true, 12:07:10 "seccomp-profile": "/etc/docker/seccomp.json" 12:07:10 } [Pipeline] sh 12:07:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:07:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:07:29 provisioning config files... 12:07:29 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config1281480983724489090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:07:30 ---> docker-login.sh 12:07:30 nexus3.edgexfoundry.org:10001 12:07:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:07:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:07:30 Configure a credential helper to remove this warning. See 12:07:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:07:30 12:07:30 Login Succeeded 12:07:30 nexus3.edgexfoundry.org:10002 12:07:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:07:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:07:31 Configure a credential helper to remove this warning. See 12:07:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:07:31 12:07:31 Login Succeeded 12:07:31 nexus3.edgexfoundry.org:10003 12:07:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:07:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:07:31 Configure a credential helper to remove this warning. See 12:07:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:07:31 12:07:31 Login Succeeded 12:07:31 nexus3.edgexfoundry.org:10004 12:07:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:07:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:07:32 Configure a credential helper to remove this warning. See 12:07:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:07:32 12:07:32 Login Succeeded 12:07:32 docker.io 12:07:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:07:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:07:32 Configure a credential helper to remove this warning. See 12:07:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:07:32 12:07:32 Login Succeeded 12:07:32 ---> docker-login.sh ends [Pipeline] } 12:07:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:07:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:07:33 ========================================================= 12:07:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:07:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:07:33 + 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:07:33 Sending build context to Docker daemon 210.4kB 12:07:33 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 12:07:33 Step 2/13 : FROM ${BASE} AS builder 12:07:34 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:07:34 9b3977197b4f: Pulling fs layer 12:07:34 1a89e8eeedd5: Pulling fs layer 12:07:34 94645a83ff95: Pulling fs layer 12:07:34 3f3a8bcf1eab: Pulling fs layer 12:07:34 0c92f367c5e7: Pulling fs layer 12:07:34 f7c0051592d6: Pulling fs layer 12:07:34 a227ed2f7395: Pulling fs layer 12:07:34 7b1c46037f91: Pulling fs layer 12:07:34 3f3a8bcf1eab: Waiting 12:07:34 0c92f367c5e7: Waiting 12:07:34 f7c0051592d6: Waiting 12:07:34 a227ed2f7395: Waiting 12:07:34 7b1c46037f91: Waiting 12:07:34 94645a83ff95: Download complete 12:07:34 1a89e8eeedd5: Download complete 12:07:34 0c92f367c5e7: Verifying Checksum 12:07:34 0c92f367c5e7: Download complete 12:07:34 f7c0051592d6: Verifying Checksum 12:07:34 f7c0051592d6: Download complete 12:07:34 9b3977197b4f: Verifying Checksum 12:07:34 9b3977197b4f: Download complete 12:07:34 a227ed2f7395: Verifying Checksum 12:07:34 a227ed2f7395: Download complete 12:07:34 9b3977197b4f: Pull complete 12:07:35 1a89e8eeedd5: Pull complete 12:07:35 94645a83ff95: Pull complete 12:07:36 7b1c46037f91: Verifying Checksum 12:07:36 7b1c46037f91: Download complete 12:07:36 3f3a8bcf1eab: Download complete 12:07:49 3f3a8bcf1eab: Pull complete 12:07:49 0c92f367c5e7: Pull complete 12:07:49 f7c0051592d6: Pull complete 12:07:49 a227ed2f7395: Pull complete 12:07:56 7b1c46037f91: Pull complete 12:07:56 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 12:07:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:07:56 ---> f79e39bc4007 12:07:56 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:07:57 ---> Running in f6d20ff67c80 12:07:57 Removing intermediate container f6d20ff67c80 12:07:57 ---> 2de3d8aee247 12:07:57 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 12:07:57 ---> Running in e994ebc8fa53 12:07:57 Removing intermediate container e994ebc8fa53 12:07:57 ---> 156793662b41 12:07:57 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:07:57 ---> Running in 6d43a101d553 12:07:58 Removing intermediate container 6d43a101d553 12:07:58 ---> 28c74ab311c3 12:07:58 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:07:58 ---> Running in 9ee38d50c2e0 12:08:00 Removing intermediate container 9ee38d50c2e0 12:08:00 ---> c7a7a263309b 12:08:00 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:08:00 ---> Running in 7fd2bccfaa0a 12:08:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:08:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:08:02 OK: 220 MiB in 52 packages 12:08:03 Removing intermediate container 7fd2bccfaa0a 12:08:03 ---> 8c792f026460 12:08:03 Step 8/13 : WORKDIR /app 12:08:03 ---> Running in dfd0f527a3fe 12:08:04 Removing intermediate container dfd0f527a3fe 12:08:04 ---> 1d92f7af4929 12:08:04 Step 9/13 : COPY go.mod vendor* ./ 12:08:04 ---> 66a318300202 12:08:04 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:08:04 ---> Running in 49422f0be105 12:09:26 Removing intermediate container 49422f0be105 12:09:26 ---> 77251c387a03 12:09:26 Step 11/13 : COPY . . 12:09:26 ---> b1c71626abb5 12:09:26 Step 12/13 : ARG MAKE="make build" 12:09:26 ---> Running in e892272990fe 12:09:26 Removing intermediate container e892272990fe 12:09:26 ---> bd51e6ddd2ba 12:09:26 Step 13/13 : RUN $MAKE 12:09:26 ---> Running in dce5a5542ca1 12:09:26 noop 12:09:26 Removing intermediate container dce5a5542ca1 12:09:26 ---> 83b09ecfa104 12:09:26 Successfully built 83b09ecfa104 12:09:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:09:26 + docker inspect -f . ci-base-image-arm64 12:09:26 . [Pipeline] withDockerContainer 12:09:27 prd-ubuntu20.04-docker-arm64-4c-16g-21227 does not seem to be running inside a container 12:09:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:09:28 $ docker top 875df0fa6d500f49dea639e2f5b548be0fb8c80135cec72086bac6f6bbf5b449 -eo pid,comm [Pipeline] { [Pipeline] sh 12:09:29 + go version 12:09:29 go version go1.17.6 linux/arm64 [Pipeline] } 12:09:29 $ docker stop --time=1 875df0fa6d500f49dea639e2f5b548be0fb8c80135cec72086bac6f6bbf5b449 12:09:31 $ docker rm -f 875df0fa6d500f49dea639e2f5b548be0fb8c80135cec72086bac6f6bbf5b449 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:09:32 + docker inspect -f . ci-base-image-arm64 12:09:32 . [Pipeline] withDockerContainer 12:09:32 prd-ubuntu20.04-docker-arm64-4c-16g-21227 does not seem to be running inside a container 12:09:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:09:33 $ docker top a4017158f77204431dc63c5a1d50c300b329aafbd5e9d2427b0722e2fef41a1a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:09:34 + make test 12:09:34 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 12:10:21 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:10:21 CGO_ENABLED=1 go vet ./... 12:10:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:10:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:10:40 ./bin/test-attribution-txt.sh [Pipeline] echo 12:10:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:10:40 $ docker stop --time=1 a4017158f77204431dc63c5a1d50c300b329aafbd5e9d2427b0722e2fef41a1a 12:10:42 $ docker rm -f a4017158f77204431dc63c5a1d50c300b329aafbd5e9d2427b0722e2fef41a1a [Pipeline] // withDockerContainer [Pipeline] sh 12:10:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:10:43 Warning: overwriting stash ‘coverage-report’ 12:10:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:10:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:10:44 + ls -al . 12:10:44 total 172 12:10:44 drwxrwxr-x 7 jenkins jenkins 4096 Apr 18 12:10 . 12:10:44 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 12:07 .. 12:10:44 -rw-rw-r-- 1 jenkins jenkins 119 Apr 18 12:07 .dockerignore 12:10:44 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 12:07 .git 12:10:44 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 12:07 .github 12:10:44 -rw-rw-r-- 1 jenkins jenkins 104 Apr 18 12:07 .gitignore 12:10:44 -rw-rw-r-- 1 jenkins jenkins 7627 Apr 18 12:07 Attribution.txt 12:10:44 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 18 12:07 CHANGELOG.md 12:10:44 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 18 12:07 Dockerfile 12:10:44 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 12:07 GOVERNANCE.md 12:10:44 -rw-rw-r-- 1 jenkins jenkins 688 Apr 18 12:07 Jenkinsfile 12:10:44 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 18 12:07 LICENSE 12:10:44 -rw-rw-r-- 1 jenkins jenkins 618 Apr 18 12:07 OWNERS.md 12:10:44 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 18 12:07 README.md 12:10:44 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 12:05 VERSION 12:10:44 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 12:07 bin 12:10:44 -rw-r--r-- 1 jenkins jenkins 10 Apr 18 12:09 coverage.out 12:10:44 -rw-rw-r-- 1 jenkins jenkins 2817 Apr 18 12:07 go.mod 12:10:44 -rw-rw-r-- 1 jenkins jenkins 50337 Apr 18 12:07 go.sum 12:10:44 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 18 12:07 main.go 12:10:44 -rw-rw-r-- 1 jenkins jenkins 1994 Apr 18 12:07 makefile 12:10:44 drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 12:07 res 12:10:44 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 12:07 snap [Pipeline] isUnix [Pipeline] sh 12:10:45 + 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=a3b941f40d0f1ae1921d03a2d945de79c94a78ef --label arch=arm64 --label version=0.0.0 . 12:10:45 Sending build context to Docker daemon 211.5kB 12:10:45 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 12:10:45 Step 2/27 : FROM ${BASE} AS builder 12:10:45 ---> 83b09ecfa104 12:10:45 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:10:45 ---> Running in 6688d7c9beb6 12:10:46 Removing intermediate container 6688d7c9beb6 12:10:46 ---> 840d2e2e8f82 12:10:46 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:10:46 ---> Running in 475ad92fd160 12:10:46 Removing intermediate container 475ad92fd160 12:10:46 ---> 77084753ab35 12:10:46 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:10:46 ---> Running in 3993ce330b0a 12:10:46 Removing intermediate container 3993ce330b0a 12:10:46 ---> 82ccf8bc1492 12:10:46 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:10:46 ---> Running in 0f16591fb114 12:10:48 Removing intermediate container 0f16591fb114 12:10:48 ---> 8b97f74db924 12:10:48 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:10:48 ---> Running in e96b753a4305 12:10:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:10:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:10:51 OK: 220 MiB in 52 packages 12:10:51 Removing intermediate container e96b753a4305 12:10:51 ---> ed5d5d11658a 12:10:51 Step 8/27 : WORKDIR /app 12:10:52 ---> Running in 09ee1fe173ef 12:10:52 Removing intermediate container 09ee1fe173ef 12:10:52 ---> ffa4cd17f9f0 12:10:52 Step 9/27 : COPY go.mod vendor* ./ 12:10:52 ---> 65f96c28cdfc 12:10:52 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:10:52 ---> Running in 67a6bece4e94 12:10:54 Removing intermediate container 67a6bece4e94 12:10:54 ---> 012edfbc9937 12:10:54 Step 11/27 : COPY . . 12:10:55 ---> c0b34890fdeb 12:10:55 Step 12/27 : ARG MAKE="make build" 12:10:55 ---> Running in a2d3142c475b 12:10:55 Removing intermediate container a2d3142c475b 12:10:55 ---> 1f1bc78a7de3 12:10:55 Step 13/27 : RUN $MAKE 12:10:56 ---> Running in 83fe1a62298d 12:10:57 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:12:18 Removing intermediate container 83fe1a62298d 12:12:18 ---> c4e5465504dc 12:12:18 Step 14/27 : FROM alpine:3.14 12:12:18 3.14: Pulling from library/alpine 12:12:18 455c02918c45: Pulling fs layer 12:12:18 455c02918c45: Download complete 12:12:18 455c02918c45: Pull complete 12:12:18 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:12:18 Status: Downloaded newer image for alpine:3.14 12:12:18 ---> ac73e934f311 12:12:18 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:12:18 ---> Running in d131d4118596 12:12:18 Removing intermediate container d131d4118596 12:12:18 ---> c2658f876053 12:12:18 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:12:18 ---> Running in 209e678c8c82 12:12:18 Removing intermediate container 209e678c8c82 12:12:18 ---> f498814dd03a 12:12:18 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 12:12:18 ---> Running in 98d50219d8b2 12:12:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 12:12:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 12:12:19 (1/7) Installing ca-certificates (20211220-r0) 12:12:19 (2/7) Installing dumb-init (1.2.5-r1) 12:12:19 (3/7) Installing libgcc (10.3.1_git20210424-r2) 12:12:19 (4/7) Installing libsodium (1.0.18-r0) 12:12:19 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 12:12:19 (6/7) Installing libzmq (4.3.4-r0) 12:12:19 (7/7) Installing zeromq (4.3.4-r0) 12:12:19 Executing busybox-1.33.1-r7.trigger 12:12:19 Executing ca-certificates-20211220-r0.trigger 12:12:20 OK: 9 MiB in 21 packages 12:12:21 Removing intermediate container 98d50219d8b2 12:12:21 ---> 08d4fe2f1e4d 12:12:21 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:12:21 ---> ced561abf418 12:12:21 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:12:22 ---> 0a86c64310ae 12:12:22 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:12:22 ---> 016900761090 12:12:22 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:12:24 ---> 5d24de7b5233 12:12:24 Step 22/27 : EXPOSE 48095 12:12:24 ---> Running in 565536671b94 12:12:24 Removing intermediate container 565536671b94 12:12:24 ---> 41ec070a15f5 12:12:24 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:12:24 ---> Running in 754f3d8f5f10 12:12:24 Removing intermediate container 754f3d8f5f10 12:12:24 ---> 858ac0704bf6 12:12:24 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:12:24 ---> Running in 5c051d458662 12:12:25 Removing intermediate container 5c051d458662 12:12:25 ---> 1000fc13bfd0 12:12:25 Step 25/27 : LABEL arch=arm64 12:12:25 ---> Running in bc29c354f7e6 12:12:25 Removing intermediate container bc29c354f7e6 12:12:25 ---> 9c20e5588c92 12:12:25 Step 26/27 : LABEL git_sha=a3b941f40d0f1ae1921d03a2d945de79c94a78ef 12:12:25 ---> Running in 271dda31a0a6 12:12:26 Removing intermediate container 271dda31a0a6 12:12:26 ---> fae5ba5853e3 12:12:26 Step 27/27 : LABEL version=0.0.0 12:12:26 ---> Running in ad5fd13ec7b7 12:12:26 Removing intermediate container ad5fd13ec7b7 12:12:26 ---> 30f95ebea1c3 12:12:26 [Warning] One or more build-args [ARCH] were not consumed 12:12:26 Successfully built 30f95ebea1c3 12:12:26 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:12:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:12:27 12:12:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 12:12:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:12:27 arm64: Pulling from edgex-lftools-log-publisher 12:12:27 8998bd30e6a1: Pulling fs layer 12:12:27 04944245beec: Pulling fs layer 12:12:27 699f458cf7ca: Pulling fs layer 12:12:27 765212b225bb: Pulling fs layer 12:12:27 f23df028b6ca: Pulling fs layer 12:12:27 d65c8cfc05b1: Pulling fs layer 12:12:27 2437ff75d9bd: Pulling fs layer 12:12:27 f23df028b6ca: Waiting 12:12:27 d65c8cfc05b1: Waiting 12:12:27 2437ff75d9bd: Waiting 12:12:27 765212b225bb: Waiting 12:12:27 04944245beec: Verifying Checksum 12:12:27 04944245beec: Download complete 12:12:27 765212b225bb: Verifying Checksum 12:12:27 765212b225bb: Download complete 12:12:27 f23df028b6ca: Download complete 12:12:27 d65c8cfc05b1: Verifying Checksum 12:12:27 d65c8cfc05b1: Download complete 12:12:28 699f458cf7ca: Verifying Checksum 12:12:28 699f458cf7ca: Download complete 12:12:28 8998bd30e6a1: Verifying Checksum 12:12:28 8998bd30e6a1: Download complete 12:12:30 2437ff75d9bd: Verifying Checksum 12:12:30 2437ff75d9bd: Download complete 12:12:32 8998bd30e6a1: Pull complete 12:12:33 04944245beec: Pull complete 12:12:34 699f458cf7ca: Pull complete 12:12:34 765212b225bb: Pull complete 12:12:35 f23df028b6ca: Pull complete 12:12:35 d65c8cfc05b1: Pull complete 12:12:50 2437ff75d9bd: Pull complete 12:12:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:12:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:12:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 12:12:51 prd-ubuntu20.04-docker-arm64-4c-16g-21227 does not seem to be running inside a container 12:12: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:12:53 $ docker top e8c4cedc31ccdd4c5879f408a3cbb7bbe9cffdcbe00778befe60a7489da7f48b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:12:54 ---> job-cost.sh 12:12:54 lf-activate-venv: SKIPPING 12:12:54 INFO: No Stack... 12:12:55 INFO: Retrieving Pricing Info for: v3-standard-4 12:12:55 INFO: Archiving Costs [Pipeline] sh 12:12:56 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 12:12:56 + cut -d, -f6 [Pipeline] lock 12:12:56 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-403-1-stack-cost] 12:12:56 Resource [jenkins-edgexfoundry-app-service-configurable-PR-403-1-stack-cost] did not exist. Created. 12:12:56 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-403-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:12:57 /w/workspace/app-service-configurable/1@tmp/durable-b95320f0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:12:58 + echo total: 0.10999999940395355 [Pipeline] stash 12:12:58 Warning: overwriting stash ‘stack-cost’ 12:12:58 Stashed 1 file(s) [Pipeline] } 12:12:58 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-403-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:12:58 $ docker stop --time=1 e8c4cedc31ccdd4c5879f408a3cbb7bbe9cffdcbe00778befe60a7489da7f48b 12:12:59 $ docker rm -f e8c4cedc31ccdd4c5879f408a3cbb7bbe9cffdcbe00778befe60a7489da7f48b [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:13:00 provisioning config files... 12:13:00 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-403@tmp/config6022628954877123227tmp [Pipeline] { [Pipeline] sh 12:13:01 + set +x 12:13:01 + curl -s https://codecov.io/bash 12:13:01 + bash -s -- 12:13:01 12:13:01 _____ _ 12:13:01 / ____| | | 12:13:01 | | ___ __| | ___ ___ _____ __ 12:13:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:13:01 | |___| (_) | (_| | __/ (_| (_) \ V / 12:13:01 \_____\___/ \__,_|\___|\___\___/ \_/ 12:13:01 Bash-1.0.6 12:13:01 12:13:01 12:13:01 ==> git version 2.25.1 found 12:13: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:13:01 Release-Date: 2020-01-08 12:13: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:13:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:13:01 ==> Jenkins CI detected. 12:13:01 current dir:  /w/workspace/_app-service-configurable_PR-403 12:13:01 project root: . 12:13:01 --> token set from env 12:13:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:13:01 ==> Running gcov in . (disable via -X gcov) 12:13:01 ==> Python coveragepy not found 12:13:01 ==> Searching for coverage reports in: 12:13:01 + . 12:13:01 -> Found 1 reports 12:13:01 ==> Detecting git/mercurial file structure 12:13:01 ==> Reading reports 12:13:01 + ./coverage.out bytes=10 12:13:01 ==> Appending adjustments 12:13:01 https://docs.codecov.io/docs/fixing-reports 12:13:01 + Found adjustments 12:13:01 ==> Gzipping contents 12:13:01 4.0K /tmp/codecov.wCkiuW.gz 12:13:01 ==> Uploading reports 12:13:01 url: https://codecov.io 12:13:01 query: branch=PR-403&commit=a3b941f40d0f1ae1921d03a2d945de79c94a78ef&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-403%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=403&job=&cmd_args= 12:13:01 -> Pinging Codecov 12:13:01 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-403&commit=a3b941f40d0f1ae1921d03a2d945de79c94a78ef&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-403%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=403&job=&cmd_args= 12:13:01 -> Uploading to 12:13:01 https://storage.googleapis.com/codecov/v4/raw/2022-04-18/A97CA9966030D2A3747ED39772930CCE/a3b941f40d0f1ae1921d03a2d945de79c94a78ef/35b2149f-1a3b-4b5e-a7fc-0671e23de901.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220418T121301Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e59a15c660666d86e7f7e8b3276a1fad7038ee2b4d661854cd6069c762fcd66f 12:13:01 % Total % Received % Xferd Average Speed Time Time Time Current 12:13:01 Dload Upload Total Spent Left Speed 12:13:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 569 0 0 100 569 0 2442 --:--:-- --:--:-- --:--:-- 2442 12:13:02 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/a3b941f40d0f1ae1921d03a2d945de79c94a78ef [Pipeline] } 12:13: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:13:03 + [ -d /w/workspace/_app-service-configurable_PR-403/archives ] 12:13:03 + ls -al /w/workspace/_app-service-configurable_PR-403/archives 12:13:03 total 16 12:13:03 drwxr-xr-x 3 root root 4096 Apr 18 12:06 . 12:13:03 drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 12:06 .. 12:13:03 drwxr-xr-x 2 root root 4096 Apr 18 12:06 cost 12:13:03 -rw-r--r-- 1 root root 95 Apr 18 12:06 cost.csv 12:13:03 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-403/archives 12:13:03 + ls -al /w/workspace/_app-service-configurable_PR-403/archives 12:13:03 total 16 12:13:03 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 12:06 . 12:13:03 drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 12:06 .. 12:13:03 drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 12:06 cost 12:13:03 -rw-r--r-- 1 jenkins jenkins 95 Apr 18 12:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:13:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:13:05 ---> package-listing.sh 12:13:05 ++ facter osfamily 12:13:05 ++ tr '[:upper:]' '[:lower:]' 12:13:05 + OS_FAMILY=debian 12:13:05 + workspace=/w/workspace/_app-service-configurable_PR-403 12:13:05 + START_PACKAGES=/tmp/packages_start.txt 12:13:05 + END_PACKAGES=/tmp/packages_end.txt 12:13:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:13:05 + PACKAGES=/tmp/packages_start.txt 12:13:05 + '[' /w/workspace/_app-service-configurable_PR-403 ']' 12:13:05 + PACKAGES=/tmp/packages_end.txt 12:13:05 + case "${OS_FAMILY}" in 12:13:05 + dpkg -l 12:13:05 + grep '^ii' 12:13:05 + '[' -f /tmp/packages_start.txt ']' 12:13:05 + '[' -f /tmp/packages_end.txt ']' 12:13:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:13:05 + '[' /w/workspace/_app-service-configurable_PR-403 ']' 12:13:05 + mkdir -p /w/workspace/_app-service-configurable_PR-403/archives/ 12:13:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-403/archives/ [Pipeline] echo 12:13:05 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-403/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:13:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:13:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:13:05 . [Pipeline] withDockerContainer 12:13:06 prd-ubuntu20.04-docker-8c-8g-21226 does not seem to be running inside a container 12:13:06 $ 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-403/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-403 -v /w/workspace/_app-service-configurable_PR-403:/w/workspace/_app-service-configurable_PR-403:rw,z -v /w/workspace/_app-service-configurable_PR-403@tmp:/w/workspace/_app-service-configurable_PR-403@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:13:06 $ docker top 010226ea5f27b7e4ae22fa720310bc5a7e23455e285ad50143d610263f0cc959 -eo pid,comm [Pipeline] { [Pipeline] sh 12:13:06 + touch /tmp/pre-build-complete [Pipeline] sh 12:13:07 + mkdir -p /var/log/sysstat [Pipeline] sh 12:13:07 + ls /var/log/sa-host 12:13:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:13:07 provisioning config files... 12:13:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-403@tmp/config8200491890984544224tmp [Pipeline] { [Pipeline] echo 12:13:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:13:07 ---> create-netrc.sh [Pipeline] } 12:13:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:13:08 ---> python-tools-install.sh [Pipeline] echo 12:13:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:13:08 ---> sudo-logs.sh 12:13:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:13:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:13:09 ---> job-cost.sh 12:13:09 lf-activate-venv: SKIPPING 12:13:09 DEBUG: total: 0.2199999988079071 12:13:09 INFO: Retrieving Stack Cost... 12:13:09 INFO: Retrieving Pricing Info for: v3-standard-8 12:13:10 INFO: Archiving Costs [Pipeline] echo 12:13:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:13:10 ---> logs-deploy.sh 12:13:10 lf-activate-venv: SKIPPING 12:13:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-403/1 12:13:10 INFO: archiving workspace using pattern(s): 12:13:11 Archives upload complete. 12:13:11 INFO: archiving logs to Nexus