Pull request #412 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from aef5da4b06ea2bd0d9d337c860b935f246de31f3+4cd65a02709344c43b7ddd42f02d16e1ed625d79 (92bb1fca536845655ab2bfd47d142df74838bf57) 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-ssh18347514756236792935.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-ssh2790817582420210003.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-412/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-412/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8291707980880341167.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-412/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6093667077153732998.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-ssh9387412866749615527.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-412/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-412/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16382909810321668690.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-33475 in /w/workspace/_app-service-configurable_PR-412 [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-412 # 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 4cd65a02709344c43b7ddd42f02d16e1ed625d79 into PR head commit aef5da4b06ea2bd0d9d337c860b935f246de31f3 Merge succeeded, producing aef5da4b06ea2bd0d9d337c860b935f246de31f3 Checking out Revision aef5da4b06ea2bd0d9d337c860b935f246de31f3 (PR-412) > 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/412/head:refs/remotes/origin/PR-412 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aef5da4b06ea2bd0d9d337c860b935f246de31f3 # 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 4cd65a02709344c43b7ddd42f02d16e1ed625d79 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aef5da4b06ea2bd0d9d337c860b935f246de31f3 # 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:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:04:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:04:14 ========================================================= 12:04:14 EdgeX Global Pipelines Version Info 12:04:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:04:15 ------------------- 12:04:15 stable info: 12:04:15 ------------------- 12:04:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:04:15 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 12:04:15 Message: update stable to v1.0.221 12:04:15 ------------------- 12:04:15 experimental info: 12:04:15 ------------------- 12:04:15 Commited By: **** collab-it+edgex@linuxfoundation.org 12:04:15 Commit SHA: 47c9b3891b578ce509e33c5bc61a4c29aa566c02 12:04:15 Message: update experimental to v1.0.226 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:04:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:04:16 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:04:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:04:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:04:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:04:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:04:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:04:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:04:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:04:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:04:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:04:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:04:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:04:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:04:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:04:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:04:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:04:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:04:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:04:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:04:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:04:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:04:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:04:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:04:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:04:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:04:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-412 [Pipeline] echo 12:04:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-412 [Pipeline] echo 12:04:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-412 [Pipeline] echo 12:04:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aef5da4b06ea2bd0d9d337c860b935f246de31f3 [Pipeline] echo 12:04:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aef5da4 [Pipeline] echo 12:04:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:04:17 provisioning config files... 12:04:17 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-412@tmp/config7789471991480204495tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:04:17 ---> docker-login.sh 12:04:17 nexus3.edgexfoundry.org:10001 12:04:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:18 Configure a credential helper to remove this warning. See 12:04:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:18 12:04:18 Login Succeeded 12:04:18 nexus3.edgexfoundry.org:10002 12:04:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:18 Configure a credential helper to remove this warning. See 12:04:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:18 12:04:18 Login Succeeded 12:04:18 nexus3.edgexfoundry.org:10003 12:04:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:18 Configure a credential helper to remove this warning. See 12:04:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:18 12:04:18 Login Succeeded 12:04:18 nexus3.edgexfoundry.org:10004 12:04:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:18 Configure a credential helper to remove this warning. See 12:04:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:18 12:04:18 Login Succeeded 12:04:18 docker.io 12:04:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:19 Configure a credential helper to remove this warning. See 12:04:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:19 12:04:19 Login Succeeded 12:04:19 ---> docker-login.sh ends [Pipeline] } 12:04:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:04:20 + git rev-list -1 --merges aef5da4b06ea2bd0d9d337c860b935f246de31f3~1..aef5da4b06ea2bd0d9d337c860b935f246de31f3 [Pipeline] echo 12:04:20 -----------> git rev-list -1 --merges aef5da4b06ea2bd0d9d337c860b935f246de31f3~1..aef5da4b06ea2bd0d9d337c860b935f246de31f3 aef5da4b06ea2bd0d9d337c860b935f246de31f3 [false] [Pipeline] sh 12:04:20 + git log --format=format:%s -1 aef5da4b06ea2bd0d9d337c860b935f246de31f3 [Pipeline] echo 12:04:20 ========================================================= 12:04:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:04:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:04:20 + git log --format=format:%s -1 aef5da4b06ea2bd0d9d337c860b935f246de31f3 [Pipeline] echo 12:04:20 [semverPrep] GIT_COMMIT: aef5da4b06ea2bd0d9d337c860b935f246de31f3, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo 12:04:21 [semverPrep] This is not a build commit. [Pipeline] sh 12:04:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:04:21 + grep -v github /etc/ssh/ssh_known_hosts 12:04:21 + [ -e /tmp/ssh_known_hosts ] 12:04:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:04:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:04:21 + sudo tee -a /etc/ssh/ssh_known_hosts 12:04:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:04:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:04:21 12:04:21 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:04:22 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:04:22 latest: Pulling from edgex-devops/git-semver 12:04:22 a0d0a0d46f8b: Pulling fs layer 12:04:22 3e5f54012d9b: Pulling fs layer 12:04:22 4c7163046ea9: Pulling fs layer 12:04:22 0c2d73faf560: Pulling fs layer 12:04:22 0c2d73faf560: Waiting 12:04:22 a0d0a0d46f8b: Download complete 12:04:22 0c2d73faf560: Verifying Checksum 12:04:22 0c2d73faf560: Download complete 12:04:22 4c7163046ea9: Verifying Checksum 12:04:22 4c7163046ea9: Download complete 12:04:22 a0d0a0d46f8b: Pull complete 12:04:22 3e5f54012d9b: Pull complete 12:04:22 4c7163046ea9: Pull complete 12:04:23 0c2d73faf560: Pull complete 12:04:23 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 12:04:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:04:23 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:04:23 prd-ubuntu20.04-docker-8c-8g-33475 does not seem to be running inside a container 12:04:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-412 -v /w/workspace/_app-service-configurable_PR-412:/w/workspace/_app-service-configurable_PR-412:rw,z -v /w/workspace/_app-service-configurable_PR-412@tmp:/w/workspace/_app-service-configurable_PR-412@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:04:23 $ docker top aa274450b398f4bf6fc219603ab0ca533e5a9cbe6bd1b38008a622e818947c8f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:04:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:04:24 [ssh-agent] Looking for ssh-agent implementation... 12:04:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:04:24 $ docker exec aa274450b398f4bf6fc219603ab0ca533e5a9cbe6bd1b38008a622e818947c8f ssh-agent 12:04:24 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhehoKa/agent.13 12:04:24 SSH_AGENT_PID=19 12:04:24 Running ssh-add (command line suppressed) 12:04:24 Identity added: /w/workspace/_app-service-configurable_PR-412@tmp/private_key_954548084246836945.key (/w/workspace/_app-service-configurable_PR-412@tmp/private_key_954548084246836945.key) 12:04:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:04:24 + git tag --points-at HEAD [Pipeline] } 12:04:24 $ docker exec --env ******** --env ******** aa274450b398f4bf6fc219603ab0ca533e5a9cbe6bd1b38008a622e818947c8f ssh-agent -k 12:04:24 unset SSH_AUTH_SOCK; 12:04:24 unset SSH_AGENT_PID; 12:04:24 echo Agent pid 19 killed; 12:04:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:04:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:04:25 [ssh-agent] Looking for ssh-agent implementation... 12:04:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:04:25 $ docker exec aa274450b398f4bf6fc219603ab0ca533e5a9cbe6bd1b38008a622e818947c8f ssh-agent 12:04:25 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXccgjlm/agent.51 12:04:25 SSH_AGENT_PID=58 12:04:25 Running ssh-add (command line suppressed) 12:04:25 Identity added: /w/workspace/_app-service-configurable_PR-412@tmp/private_key_8205656517727489975.key (/w/workspace/_app-service-configurable_PR-412@tmp/private_key_8205656517727489975.key) 12:04:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:04:25 + git semver init 12:04:25 # -> Open(): unable to determine branch for HEAD 12:04:25 # $GIT_DIR = /w/workspace/_app-service-configurable_PR-412/.git 12:04:25 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-412 12:04:25 # $SEMVER_REMOTE_NAME = origin 12:04:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:04:25 # $SEMVER_USER_NAME = edgex-jenkins 12:04:25 # $SEMVER_BRANCH = PR-412 12:04:25 # $SEMVER_TEMP = /tmp/semver-216936599 12:04:25 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 12:04:26 # '/tmp/semver-216936599' -> '/w/workspace/_app-service-configurable_PR-412/.semver' 12:04:26 # -> Force: false 12:04:26 # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-412/.semver [Pipeline] } 12:04:26 $ docker exec --env ******** --env ******** aa274450b398f4bf6fc219603ab0ca533e5a9cbe6bd1b38008a622e818947c8f ssh-agent -k 12:04:26 unset SSH_AUTH_SOCK; 12:04:26 unset SSH_AGENT_PID; 12:04:26 echo Agent pid 58 killed; 12:04:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:04:27 + git semver [Pipeline] } 12:04:27 $ docker stop --time=1 aa274450b398f4bf6fc219603ab0ca533e5a9cbe6bd1b38008a622e818947c8f 12:04:28 $ docker rm -f aa274450b398f4bf6fc219603ab0ca533e5a9cbe6bd1b38008a622e818947c8f [Pipeline] // withDockerContainer [Pipeline] sh 12:04:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:04:29 Stashed 1 file(s) [Pipeline] echo 12:04:29 [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] { 12:04:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-33473 in /w/workspace/_app-service-configurable_PR-412 [Pipeline] configFileProvider 12:04:30 provisioning config files... 12:04:30 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-412@tmp/config8729857098834302720tmp [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 12:04:30 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:04:30 Selected Git installation does not exist. Using Default 12:04:30 The recommended git tool is: NONE 12:04:30 ---> docker-login.sh 12:04:30 nexus3.edgexfoundry.org:10001 12:04:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:30 Configure a credential helper to remove this warning. See 12:04:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:30 12:04:30 Login Succeeded 12:04:30 nexus3.edgexfoundry.org:10002 12:04:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:30 Configure a credential helper to remove this warning. See 12:04:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:30 12:04:30 Login Succeeded 12:04:30 nexus3.edgexfoundry.org:10003 12:04:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:30 Configure a credential helper to remove this warning. See 12:04:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:30 12:04:30 Login Succeeded 12:04:30 nexus3.edgexfoundry.org:10004 12:04:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:31 Configure a credential helper to remove this warning. See 12:04:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:31 12:04:31 Login Succeeded 12:04:31 docker.io 12:04:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:31 Configure a credential helper to remove this warning. See 12:04:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:31 12:04:31 Login Succeeded 12:04:31 ---> docker-login.sh ends [Pipeline] } 12:04:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:04:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:04:31 ========================================================= 12:04:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:04:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:04:32 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 12:04:32 Sending build context to Docker daemon 3.077MB 12:04:32 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 12:04:32 Step 2/13 : FROM ${BASE} AS builder 12:04:32 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:04:32 59bf1c3509f3: Pulling fs layer 12:04:32 666ba61612fd: Pulling fs layer 12:04:32 8ed8ca486205: Pulling fs layer 12:04:32 4fe6c5a15a65: Pulling fs layer 12:04:32 22a0e8bec74d: Pulling fs layer 12:04:32 ca2b28591e48: Pulling fs layer 12:04:32 a51346096db8: Pulling fs layer 12:04:32 daebc70d1ce1: Pulling fs layer 12:04:32 0e18a0eac166: Pulling fs layer 12:04:32 22a0e8bec74d: Waiting 12:04:32 ca2b28591e48: Waiting 12:04:32 a51346096db8: Waiting 12:04:32 daebc70d1ce1: Waiting 12:04:32 0e18a0eac166: Waiting 12:04:32 4fe6c5a15a65: Waiting 12:04:32 8ed8ca486205: Verifying Checksum 12:04:32 8ed8ca486205: Download complete 12:04:32 666ba61612fd: Download complete 12:04:32 22a0e8bec74d: Verifying Checksum 12:04:32 22a0e8bec74d: Download complete 12:04:32 ca2b28591e48: Download complete 12:04:32 59bf1c3509f3: Download complete 12:04:32 a51346096db8: Verifying Checksum 12:04:32 a51346096db8: Download complete 12:04:32 daebc70d1ce1: Verifying Checksum 12:04:32 daebc70d1ce1: Download complete 12:04:32 59bf1c3509f3: Pull complete 12:04:32 666ba61612fd: Pull complete 12:04:32 8ed8ca486205: Pull complete 12:04:32 0e18a0eac166: Verifying Checksum 12:04:32 0e18a0eac166: Download complete 12:04:32 4fe6c5a15a65: Verifying Checksum 12:04:32 4fe6c5a15a65: Download complete 12:04:34 using credential edgex-jenkins-ssh 12:04:34 Cloning the remote Git repository 12:04:34 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:04:34 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:04:34 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:04:34 > git --version # timeout=10 12:04:34 > git --version # 'git version 2.25.1' 12:04:34 using GIT_SSH to set credentials SSH Credentials for GitHub 12:04:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:04:36 Merging remotes/origin/main commit 4cd65a02709344c43b7ddd42f02d16e1ed625d79 into PR head commit aef5da4b06ea2bd0d9d337c860b935f246de31f3 12:04:35 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:04:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:04:35 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:04:35 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:04:35 using GIT_SSH to set credentials SSH Credentials for GitHub 12:04:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/412/head:refs/remotes/origin/PR-412 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:04:36 > git config core.sparsecheckout # timeout=10 12:04:36 > git checkout -f aef5da4b06ea2bd0d9d337c860b935f246de31f3 # timeout=10 12:04:36 Merge succeeded, producing aef5da4b06ea2bd0d9d337c860b935f246de31f3 12:04:36 Checking out Revision aef5da4b06ea2bd0d9d337c860b935f246de31f3 (PR-412) 12:04:37 4fe6c5a15a65: Pull complete 12:04:37 22a0e8bec74d: Pull complete 12:04:37 ca2b28591e48: Pull complete 12:04:37 a51346096db8: Pull complete 12:04:37 daebc70d1ce1: Pull complete 12:04:36 > git remote # timeout=10 12:04:36 > git config --get remote.origin.url # timeout=10 12:04:36 using GIT_SSH to set credentials SSH Credentials for GitHub 12:04:36 > git merge 4cd65a02709344c43b7ddd42f02d16e1ed625d79 # timeout=10 12:04:36 > git rev-parse HEAD^{commit} # timeout=10 12:04:36 > git config core.sparsecheckout # timeout=10 12:04:36 > git checkout -f aef5da4b06ea2bd0d9d337c860b935f246de31f3 # timeout=10 12:04:39 0e18a0eac166: Pull complete 12:04:39 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 12:04:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:04:39 ---> f018257e8ee9 12:04:39 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:04:41 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" 12:04:41 > git --version # timeout=10 12:04:41 > git --version # 'git version 2.25.1' 12:04:41 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:04:42 ---> Running in efea1b1aceaf 12:04:42 Removing intermediate container efea1b1aceaf 12:04:42 ---> d7efea6b3e67 12:04:42 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 12:04:42 ---> Running in 28a78743e3f8 12:04:42 Removing intermediate container 28a78743e3f8 12:04:42 ---> 61938d6bca3d 12:04:42 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:04:42 ---> Running in 73aeec03944e 12:04:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:04:42 % Total % Received % Xferd Average Speed Time Time Time Current 12:04:42 Dload Upload Total Spent Left Speed 12:04:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 95508 0 --:--:-- --:--:-- --:--:-- 96284 12:04:42 Removing intermediate container 73aeec03944e 12:04:42 ---> 6a36eb305e61 12:04:42 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:04:42 ---> Running in 9b41d31c1ebf [Pipeline] sh 12:04:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:04:42 Removing intermediate container 9b41d31c1ebf 12:04:42 ---> 776655e51817 12:04:42 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:04:42 ---> Running in 7ce360dd2da3 12:04:43 + sudo tee /etc/docker/daemon.new 12:04:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:04:43 { 12:04:43 "registry-mirrors": [ 12:04:43 "https://nexus3.edgexfoundry.org:10001" 12:04:43 ], 12:04:43 "bip": "10.250.0.254/24", 12:04:43 "hosts": [ 12:04:43 "tcp://0.0.0.0:5555", 12:04:43 "unix:///var/run/docker.sock" 12:04:43 ], 12:04:43 "mtu": 1458, 12:04:43 "selinux-enabled": true, 12:04:43 "seccomp-profile": "/etc/docker/seccomp.json" 12:04:43 } [Pipeline] sh 12:04:43 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:04:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:04:43 + sudo service docker restart 12:04:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:04:44 OK: 221 MiB in 52 packages 12:04:44 Removing intermediate container 7ce360dd2da3 12:04:44 ---> b09741614d38 12:04:44 Step 8/13 : WORKDIR /app 12:04:44 ---> Running in 6c94b8dfc2db 12:04:44 Removing intermediate container 6c94b8dfc2db 12:04:44 ---> 7213df11eb1a 12:04:44 Step 9/13 : COPY go.mod vendor* ./ 12:04:44 ---> 6c85c3f75f7b 12:04:44 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:04:44 ---> Running in e94b3fde1653 12:04:59 Removing intermediate container e94b3fde1653 12:04:59 ---> 9d2aaa505ecd 12:04:59 Step 11/13 : COPY . . 12:04:59 ---> 98a8f3bb7b59 12:04:59 Step 12/13 : ARG MAKE="make build" 12:04:59 ---> Running in dd40fb64c6e9 12:04:59 Removing intermediate container dd40fb64c6e9 12:04:59 ---> e5f48223a09c 12:04:59 Step 13/13 : RUN $MAKE 12:04:59 ---> Running in 463ead3714f0 12:05:00 noop 12:05:00 Removing intermediate container 463ead3714f0 12:05:00 ---> 098e75e652d3 12:05:00 Successfully built 098e75e652d3 12:05:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:05:00 + docker inspect -f . ci-base-image-x86_64 12:05:00 . [Pipeline] withDockerContainer 12:05:00 prd-ubuntu20.04-docker-8c-8g-33475 does not seem to be running inside a container 12:05:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-412 -v /w/workspace/_app-service-configurable_PR-412:/w/workspace/_app-service-configurable_PR-412:rw,z -v /w/workspace/_app-service-configurable_PR-412@tmp:/w/workspace/_app-service-configurable_PR-412@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-x86_64 cat 12:05:01 $ docker top 1c5e6ac333b3386bdc9a300422f3585ed13860696801f866628d33185af99229 -eo pid,comm [Pipeline] { [Pipeline] sh 12:05:01 + go version 12:05:01 go version go1.17.6 linux/amd64 [Pipeline] } 12:05:01 $ docker stop --time=1 1c5e6ac333b3386bdc9a300422f3585ed13860696801f866628d33185af99229 12:05:03 $ docker rm -f 1c5e6ac333b3386bdc9a300422f3585ed13860696801f866628d33185af99229 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] configFileProvider 12:05:03 provisioning config files... 12:05:03 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config6628692949960914955tmp [Pipeline] // stage [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] libraryResource [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:05:03 ---> docker-login.sh 12:05:03 nexus3.edgexfoundry.org:10001 12:05:03 + docker inspect -f . ci-base-image-x86_64 12:05:03 . [Pipeline] withDockerContainer 12:05:03 prd-ubuntu20.04-docker-8c-8g-33475 does not seem to be running inside a container 12:05:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-412 -v /w/workspace/_app-service-configurable_PR-412:/w/workspace/_app-service-configurable_PR-412:rw,z -v /w/workspace/_app-service-configurable_PR-412@tmp:/w/workspace/_app-service-configurable_PR-412@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-x86_64 cat 12:05:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:04 $ docker top 94ca4c6f4bab5f70f45f4358ce93c9649a516a7170d0a0e4711e973a4e4c2fbf -eo pid,comm [Pipeline] { [Pipeline] fileExists 12:05:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:04 Configure a credential helper to remove this warning. See 12:05:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:04 12:05:04 Login Succeeded 12:05:04 nexus3.edgexfoundry.org:10002 [Pipeline] sh 12:05:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:04 + make test 12:05:04 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 12:05:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:05 Configure a credential helper to remove this warning. See 12:05:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:05 12:05:05 Login Succeeded 12:05:05 nexus3.edgexfoundry.org:10003 12:05:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:05 Configure a credential helper to remove this warning. See 12:05:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:05 12:05:05 Login Succeeded 12:05:05 nexus3.edgexfoundry.org:10004 12:05:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:06 Configure a credential helper to remove this warning. See 12:05:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:06 12:05:06 Login Succeeded 12:05:06 docker.io 12:05:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:06 Configure a credential helper to remove this warning. See 12:05:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:06 12:05:06 Login Succeeded 12:05:06 ---> docker-login.sh ends [Pipeline] } 12:05:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:05:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:05:07 ========================================================= 12:05:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:05:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:05:07 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 12:05:07 Sending build context to Docker daemon 220.2kB 12:05:08 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 12:05:08 Step 2/13 : FROM ${BASE} AS builder 12:05:08 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:05:08 9b3977197b4f: Pulling fs layer 12:05:08 1a89e8eeedd5: Pulling fs layer 12:05:08 94645a83ff95: Pulling fs layer 12:05:08 3f3a8bcf1eab: Pulling fs layer 12:05:08 0c92f367c5e7: Pulling fs layer 12:05:08 3096ccb668a1: Pulling fs layer 12:05:08 e8cf19c19ddd: Pulling fs layer 12:05:08 a4caa8a26152: Pulling fs layer 12:05:08 0c92f367c5e7: Waiting 12:05:08 3096ccb668a1: Waiting 12:05:08 3f3a8bcf1eab: Waiting 12:05:08 a4caa8a26152: Waiting 12:05:08 e8cf19c19ddd: Waiting 12:05:08 94645a83ff95: Verifying Checksum 12:05:08 94645a83ff95: Download complete 12:05:08 1a89e8eeedd5: Verifying Checksum 12:05:08 1a89e8eeedd5: Download complete 12:05:08 0c92f367c5e7: Verifying Checksum 12:05:08 0c92f367c5e7: Download complete 12:05:08 3096ccb668a1: Verifying Checksum 12:05:08 3096ccb668a1: Download complete 12:05:08 9b3977197b4f: Download complete 12:05:08 e8cf19c19ddd: Verifying Checksum 12:05:08 e8cf19c19ddd: Download complete 12:05:09 9b3977197b4f: Pull complete 12:05:09 1a89e8eeedd5: Pull complete 12:05:09 94645a83ff95: Pull complete 12:05:10 a4caa8a26152: Verifying Checksum 12:05:10 a4caa8a26152: Download complete 12:05:11 3f3a8bcf1eab: Verifying Checksum 12:05:14 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:05:14 CGO_ENABLED=1 go vet ./... 12:05:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:05:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:05:19 ./bin/test-attribution-txt.sh [Pipeline] echo 12:05:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:05:19 $ docker stop --time=1 94ca4c6f4bab5f70f45f4358ce93c9649a516a7170d0a0e4711e973a4e4c2fbf 12:05:21 $ docker rm -f 94ca4c6f4bab5f70f45f4358ce93c9649a516a7170d0a0e4711e973a4e4c2fbf [Pipeline] // withDockerContainer [Pipeline] sh 12:05:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:05:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:05:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:05:23 + ls -al . 12:05:23 total 184 12:05:23 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 12:05 . 12:05:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 12:04 .. 12:05:23 -rw-rw-r-- 1 jenkins jenkins 119 Apr 27 12:04 .dockerignore 12:05:23 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 12:04 .git 12:05:23 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 12:04 .github 12:05:23 -rw-rw-r-- 1 jenkins jenkins 104 Apr 27 12:04 .gitignore 12:05:23 drwx------ 3 jenkins jenkins 4096 Apr 27 12:04 .semver 12:05:23 -rw-rw-r-- 1 jenkins jenkins 8695 Apr 27 12:04 Attribution.txt 12:05:23 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 27 12:04 CHANGELOG.md 12:05:23 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 27 12:04 Dockerfile 12:05:23 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 12:04 GOVERNANCE.md 12:05:23 -rw-rw-r-- 1 jenkins jenkins 688 Apr 27 12:04 Jenkinsfile 12:05:23 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 27 12:04 LICENSE 12:05:23 -rw-rw-r-- 1 jenkins jenkins 618 Apr 27 12:04 OWNERS.md 12:05:23 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 27 12:04 README.md 12:05:23 -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 12:04 VERSION 12:05:23 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 12:04 bin 12:05:23 -rw-r--r-- 1 jenkins jenkins 10 Apr 27 12:05 coverage.out 12:05:23 -rw-rw-r-- 1 jenkins jenkins 3268 Apr 27 12:04 go.mod 12:05:23 -rw-rw-r-- 1 jenkins jenkins 54067 Apr 27 12:04 go.sum 12:05:23 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 27 12:04 main.go 12:05:23 -rw-rw-r-- 1 jenkins jenkins 2007 Apr 27 12:04 makefile 12:05:23 drwxrwxr-x 9 jenkins jenkins 4096 Apr 27 12:04 res 12:05:23 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 12:04 snap [Pipeline] isUnix [Pipeline] sh 12:05:23 3f3a8bcf1eab: Pull complete 12:05:23 0c92f367c5e7: Pull complete 12:05:23 3096ccb668a1: Pull complete 12:05:23 + 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=aef5da4b06ea2bd0d9d337c860b935f246de31f3 --label arch=amd64 --label version=0.0.0 . 12:05:23 Sending build context to Docker daemon 3.078MB 12:05:23 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 12:05:23 Step 2/27 : FROM ${BASE} AS builder 12:05:23 ---> 098e75e652d3 12:05:23 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:05:23 ---> Running in bb8a305dd0be 12:05:23 e8cf19c19ddd: Pull complete 12:05:23 Removing intermediate container bb8a305dd0be 12:05:23 ---> f1dc2e19ece1 12:05:23 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:05:23 ---> Running in 29744e3a1a4d 12:05:23 Removing intermediate container 29744e3a1a4d 12:05:23 ---> b9c2996320d9 12:05:23 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:05:24 ---> Running in 143c16c34385 12:05:24 Removing intermediate container 143c16c34385 12:05:24 ---> 7e2a7af55e6d 12:05:24 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:05:24 ---> Running in 4e9a0bf41bf4 12:05:24 Removing intermediate container 4e9a0bf41bf4 12:05:24 ---> fb20fd6929ac 12:05:24 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:05:25 ---> Running in c2851fd32722 12:05:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:05:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:05:26 OK: 221 MiB in 52 packages 12:05:26 Removing intermediate container c2851fd32722 12:05:26 ---> bbd9ca800f7b 12:05:26 Step 8/27 : WORKDIR /app 12:05:26 ---> Running in cf76de3ab7ca 12:05:26 Removing intermediate container cf76de3ab7ca 12:05:26 ---> 15925301bd4b 12:05:26 Step 9/27 : COPY go.mod vendor* ./ 12:05:26 ---> a96feb06dc48 12:05:26 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:05:26 ---> Running in 7a39a4ae2e3a 12:05:27 Removing intermediate container 7a39a4ae2e3a 12:05:27 ---> 12126d4534c8 12:05:27 Step 11/27 : COPY . . 12:05:27 ---> 0e9f61964bca 12:05:27 Step 12/27 : ARG MAKE="make build" 12:05:28 ---> Running in 69e66d34f5cf 12:05:28 Removing intermediate container 69e66d34f5cf 12:05:28 ---> 24a445430a89 12:05:28 Step 13/27 : RUN $MAKE 12:05:28 ---> Running in 09e2161544f6 12:05:28 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 12:05:30 a4caa8a26152: Pull complete 12:05:30 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 12:05:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:05:30 ---> 725f1c02e7f9 12:05:30 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:05:30 ---> Running in 4bf813848b25 12:05:31 Removing intermediate container 4bf813848b25 12:05:31 ---> 206ba51e94da 12:05:31 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 12:05:31 ---> Running in 31f60d64b896 12:05:31 Removing intermediate container 31f60d64b896 12:05:31 ---> 569ea696deb9 12:05:31 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:05:31 ---> Running in 484ff8f70c88 12:05:31 Removing intermediate container 484ff8f70c88 12:05:31 ---> 11f7a7929e1d 12:05:31 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:05:31 ---> Running in b0fae5c1eb02 12:05:33 Removing intermediate container b0fae5c1eb02 12:05:33 ---> 91746a4432df 12:05:33 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:05:33 ---> Running in 284840f5b9b9 12:05:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:05:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:05:36 OK: 220 MiB in 52 packages 12:05:36 Removing intermediate container 284840f5b9b9 12:05:36 ---> 0fd47a83d399 12:05:36 Step 8/13 : WORKDIR /app 12:05:36 ---> Running in bda29ed1d396 12:05:37 Removing intermediate container bda29ed1d396 12:05:37 ---> 0c1d09e37b5b 12:05:37 Step 9/13 : COPY go.mod vendor* ./ 12:05:38 ---> ec75889d776a 12:05:38 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:05:38 ---> Running in 2f7ee9cebcc0 12:06:00 Removing intermediate container 09e2161544f6 12:06:00 ---> 0ff22c714ebe 12:06:00 Step 14/27 : FROM alpine:3.14 12:06:00 3.14: Pulling from library/alpine 12:06:00 8663204ce13b: Pulling fs layer 12:06:00 8663204ce13b: Verifying Checksum 12:06:00 8663204ce13b: Download complete 12:06:00 8663204ce13b: Pull complete 12:06:00 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:06:00 Status: Downloaded newer image for alpine:3.14 12:06:00 ---> e04c818066af 12:06:00 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:06:00 ---> Running in e854da8c58db 12:06:00 Removing intermediate container e854da8c58db 12:06:00 ---> 5481da13baa8 12:06:00 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:06:00 ---> Running in 91fb946dfd0d 12:06:00 Removing intermediate container 91fb946dfd0d 12:06:00 ---> 4ad898837c50 12:06:00 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 12:06:00 ---> Running in c932dd4a17a9 12:06:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 12:06:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 12:06:00 (1/7) Installing ca-certificates (20211220-r0) 12:06:00 (2/7) Installing dumb-init (1.2.5-r1) 12:06:00 (3/7) Installing libgcc (10.3.1_git20210424-r2) 12:06:00 (4/7) Installing libsodium (1.0.18-r0) 12:06:00 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 12:06:00 (6/7) Installing libzmq (4.3.4-r0) 12:06:00 (7/7) Installing zeromq (4.3.4-r0) 12:06:00 Executing busybox-1.33.1-r7.trigger 12:06:00 Executing ca-certificates-20211220-r0.trigger 12:06:00 OK: 9 MiB in 21 packages 12:06:00 Removing intermediate container c932dd4a17a9 12:06:00 ---> fda20cd03c7b 12:06:00 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:06:00 ---> dc91e025ac10 12:06:00 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:06:00 ---> ff367dd1c546 12:06:00 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:06:01 ---> 3ffd2fd5532b 12:06:01 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:06:01 ---> 149fe99851a4 12:06:01 Step 22/27 : EXPOSE 48095 12:06:01 ---> Running in 94d0d6855238 12:06:01 Removing intermediate container 94d0d6855238 12:06:01 ---> a56e54562c33 12:06:01 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:06:01 ---> Running in 81d34b330d67 12:06:01 Removing intermediate container 81d34b330d67 12:06:01 ---> 899c3871316b 12:06:01 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:06:02 ---> Running in 27cacfd78860 12:06:02 Removing intermediate container 27cacfd78860 12:06:02 ---> c1a5193cf97a 12:06:02 Step 25/27 : LABEL arch=amd64 12:06:02 ---> Running in 0cb2cdf3cee9 12:06:02 Removing intermediate container 0cb2cdf3cee9 12:06:02 ---> fcaa72681a6e 12:06:02 Step 26/27 : LABEL git_sha=aef5da4b06ea2bd0d9d337c860b935f246de31f3 12:06:02 ---> Running in b7f085e3f5ac 12:06:02 Removing intermediate container b7f085e3f5ac 12:06:02 ---> f3c62164ba45 12:06:02 Step 27/27 : LABEL version=0.0.0 12:06:02 ---> Running in 1762932a2dd1 12:06:02 Removing intermediate container 1762932a2dd1 12:06:02 ---> d4cbdb8012d6 12:06:02 [Warning] One or more build-args [ARCH] were not consumed 12:06:02 Successfully built d4cbdb8012d6 12:06:02 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:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:06:03 12:06:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:06:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:06:04 latest: Pulling from edgex-lftools-log-publisher 12:06:04 5eb5b503b376: Pulling fs layer 12:06:04 5c69ac0246d0: Pulling fs layer 12:06:04 ec43610c2a17: Pulling fs layer 12:06:04 3a2ae6a8a46f: Pulling fs layer 12:06:04 33b1e0a273af: Pulling fs layer 12:06:04 5d3b04190fa2: Pulling fs layer 12:06:04 2f39f015ded8: Pulling fs layer 12:06:04 3a2ae6a8a46f: Waiting 12:06:04 33b1e0a273af: Waiting 12:06:04 5d3b04190fa2: Waiting 12:06:04 2f39f015ded8: Waiting 12:06:04 5c69ac0246d0: Verifying Checksum 12:06:04 5c69ac0246d0: Download complete 12:06:04 3a2ae6a8a46f: Verifying Checksum 12:06:04 3a2ae6a8a46f: Download complete 12:06:04 33b1e0a273af: Verifying Checksum 12:06:04 33b1e0a273af: Download complete 12:06:04 ec43610c2a17: Verifying Checksum 12:06:04 ec43610c2a17: Download complete 12:06:04 5d3b04190fa2: Verifying Checksum 12:06:04 5d3b04190fa2: Download complete 12:06:04 5eb5b503b376: Verifying Checksum 12:06:04 5eb5b503b376: Download complete 12:06:04 2f39f015ded8: Download complete 12:06:05 5eb5b503b376: Pull complete 12:06:05 5c69ac0246d0: Pull complete 12:06:06 ec43610c2a17: Pull complete 12:06:06 3a2ae6a8a46f: Pull complete 12:06:06 33b1e0a273af: Pull complete 12:06:06 5d3b04190fa2: Pull complete 12:06:10 2f39f015ded8: Pull complete 12:06:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:06:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:06:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:06:10 prd-ubuntu20.04-docker-8c-8g-33475 does not seem to be running inside a container 12:06:10 $ 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-412 -v /w/workspace/_app-service-configurable_PR-412:/w/workspace/_app-service-configurable_PR-412:rw,z -v /w/workspace/_app-service-configurable_PR-412@tmp:/w/workspace/_app-service-configurable_PR-412@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:latest cat 12:06:12 $ docker top 863d0e1edd548e661be4e5308df69f6828cf4053b727e43565c0607140e72c8d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:06:13 ---> job-cost.sh 12:06:13 lf-activate-venv: SKIPPING 12:06:13 INFO: No Stack... 12:06:13 INFO: Retrieving Pricing Info for: v3-standard-8 12:06:14 INFO: Archiving Costs [Pipeline] sh 12:06:14 + cat /w/workspace/_app-service-configurable_PR-412/archives/cost.csv 12:06:14 + cut -d, -f6 [Pipeline] lock 12:06:14 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-412-1-stack-cost] 12:06:14 Resource [jenkins-edgexfoundry-app-service-configurable-PR-412-1-stack-cost] did not exist. Created. 12:06:14 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-412-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:06:15 + echo total: 0.2199999988079071 [Pipeline] stash 12:06:15 Stashed 1 file(s) [Pipeline] } 12:06:15 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-412-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:06:15 $ docker stop --time=1 863d0e1edd548e661be4e5308df69f6828cf4053b727e43565c0607140e72c8d 12:06:16 $ docker rm -f 863d0e1edd548e661be4e5308df69f6828cf4053b727e43565c0607140e72c8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:06:25 Removing intermediate container 2f7ee9cebcc0 12:06:25 ---> bb72c40bcaf8 12:06:25 Step 11/13 : COPY . . 12:06:25 ---> 85777080d2cb 12:06:25 Step 12/13 : ARG MAKE="make build" 12:06:25 ---> Running in 56cc530e1824 12:06:25 Removing intermediate container 56cc530e1824 12:06:25 ---> cd987c611bf8 12:06:25 Step 13/13 : RUN $MAKE 12:06:25 ---> Running in 1293a21b01c9 12:06:25 noop 12:06:25 Removing intermediate container 1293a21b01c9 12:06:25 ---> 27506e79456a 12:06:25 Successfully built 27506e79456a 12:06:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:06:25 + docker inspect -f . ci-base-image-arm64 12:06:25 . [Pipeline] withDockerContainer 12:06:25 prd-ubuntu20.04-docker-arm64-4c-16g-33473 does not seem to be running inside a container 12:06:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:06:27 $ docker top aa938dfa8d670f534ff135d974b68515488340ef38761827fadb25759a81638e -eo pid,comm [Pipeline] { [Pipeline] sh 12:06:27 + go version 12:06:27 go version go1.17.6 linux/arm64 [Pipeline] } 12:06:27 $ docker stop --time=1 aa938dfa8d670f534ff135d974b68515488340ef38761827fadb25759a81638e 12:06:29 $ docker rm -f aa938dfa8d670f534ff135d974b68515488340ef38761827fadb25759a81638e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:06:30 + docker inspect -f . ci-base-image-arm64 12:06:30 . [Pipeline] withDockerContainer 12:06:30 prd-ubuntu20.04-docker-arm64-4c-16g-33473 does not seem to be running inside a container 12:06:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:06:32 $ docker top 58940529278c64bfe915fd6772f452f0b5fe3b0e55a2f7c0b6a9100e93e03e5a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:06:33 + make test 12:06:33 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 12:07:54 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:07:54 CGO_ENABLED=1 go vet ./... 12:08:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:08:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:08:13 ./bin/test-attribution-txt.sh [Pipeline] echo 12:08:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:08:16 $ docker stop --time=1 58940529278c64bfe915fd6772f452f0b5fe3b0e55a2f7c0b6a9100e93e03e5a 12:08:18 $ docker rm -f 58940529278c64bfe915fd6772f452f0b5fe3b0e55a2f7c0b6a9100e93e03e5a [Pipeline] // withDockerContainer [Pipeline] sh 12:08:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:08:19 Warning: overwriting stash ‘coverage-report’ 12:08:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:08:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:08:20 + ls -al . 12:08:20 total 180 12:08:20 drwxrwxr-x 7 jenkins jenkins 4096 Apr 27 12:08 . 12:08:20 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 12:04 .. 12:08:20 -rw-rw-r-- 1 jenkins jenkins 119 Apr 27 12:04 .dockerignore 12:08:20 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 12:04 .git 12:08:20 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 12:04 .github 12:08:20 -rw-rw-r-- 1 jenkins jenkins 104 Apr 27 12:04 .gitignore 12:08:20 -rw-rw-r-- 1 jenkins jenkins 8695 Apr 27 12:04 Attribution.txt 12:08:20 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 27 12:04 CHANGELOG.md 12:08:20 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 27 12:04 Dockerfile 12:08:20 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 12:04 GOVERNANCE.md 12:08:20 -rw-rw-r-- 1 jenkins jenkins 688 Apr 27 12:04 Jenkinsfile 12:08:20 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 27 12:04 LICENSE 12:08:20 -rw-rw-r-- 1 jenkins jenkins 618 Apr 27 12:04 OWNERS.md 12:08:20 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 27 12:04 README.md 12:08:20 -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 12:04 VERSION 12:08:20 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 12:04 bin 12:08:20 -rw-r--r-- 1 jenkins jenkins 10 Apr 27 12:06 coverage.out 12:08:20 -rw-rw-r-- 1 jenkins jenkins 3268 Apr 27 12:04 go.mod 12:08:20 -rw-rw-r-- 1 jenkins jenkins 54067 Apr 27 12:04 go.sum 12:08:20 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 27 12:04 main.go 12:08:20 -rw-rw-r-- 1 jenkins jenkins 2007 Apr 27 12:04 makefile 12:08:20 drwxrwxr-x 9 jenkins jenkins 4096 Apr 27 12:04 res 12:08:20 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 12:04 snap [Pipeline] isUnix [Pipeline] sh 12:08:21 + 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=aef5da4b06ea2bd0d9d337c860b935f246de31f3 --label arch=arm64 --label version=0.0.0 . 12:08:21 Sending build context to Docker daemon 221.2kB 12:08:21 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 12:08:21 Step 2/27 : FROM ${BASE} AS builder 12:08:21 ---> 27506e79456a 12:08:21 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:08:21 ---> Running in 18d311fcd8d3 12:08:21 Removing intermediate container 18d311fcd8d3 12:08:21 ---> 70025d70924b 12:08:21 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:08:22 ---> Running in b7fbfa90d1b7 12:08:22 Removing intermediate container b7fbfa90d1b7 12:08:22 ---> b75318025cdb 12:08:22 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:08:22 ---> Running in 890c3b523642 12:08:22 Removing intermediate container 890c3b523642 12:08:22 ---> 17b33b32618d 12:08:22 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:08:22 ---> Running in 54547a589d42 12:08:24 Removing intermediate container 54547a589d42 12:08:24 ---> 67c91266e92f 12:08:24 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:08:24 ---> Running in 9df55ad3704e 12:08:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:08:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:08:26 OK: 220 MiB in 52 packages 12:08:27 Removing intermediate container 9df55ad3704e 12:08:27 ---> ccbf58019c2a 12:08:27 Step 8/27 : WORKDIR /app 12:08:27 ---> Running in ad2081af2bbd 12:08:28 Removing intermediate container ad2081af2bbd 12:08:28 ---> b367fbe6c14c 12:08:28 Step 9/27 : COPY go.mod vendor* ./ 12:08:28 ---> 8399805f899b 12:08:28 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:08:28 ---> Running in 17cf58ac78d4 12:08:30 Removing intermediate container 17cf58ac78d4 12:08:30 ---> 89ea93f83859 12:08:30 Step 11/27 : COPY . . 12:08:31 ---> 03108dd81505 12:08:31 Step 12/27 : ARG MAKE="make build" 12:08:31 ---> Running in b61245852782 12:08:31 Removing intermediate container b61245852782 12:08:31 ---> 9d3c8a71e392 12:08:31 Step 13/27 : RUN $MAKE 12:08:31 ---> Running in 32f9190fa14e 12:08:32 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:10:39 Removing intermediate container 32f9190fa14e 12:10:39 ---> 96d1bc178dd2 12:10:39 Step 14/27 : FROM alpine:3.14 12:10:39 3.14: Pulling from library/alpine 12:10:39 455c02918c45: Pulling fs layer 12:10:39 455c02918c45: Verifying Checksum 12:10:39 455c02918c45: Download complete 12:10:39 455c02918c45: Pull complete 12:10:39 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:10:39 Status: Downloaded newer image for alpine:3.14 12:10:39 ---> ac73e934f311 12:10:39 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:10:39 ---> Running in 7b92884491fd 12:10:39 Removing intermediate container 7b92884491fd 12:10:39 ---> cbf002c95e25 12:10:39 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:10:39 ---> Running in 4d67267263f6 12:10:39 Removing intermediate container 4d67267263f6 12:10:39 ---> b1ea833ce06d 12:10:39 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 12:10:39 ---> Running in 3de4d2ca6921 12:10:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 12:10:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 12:10:39 (1/7) Installing ca-certificates (20211220-r0) 12:10:39 (2/7) Installing dumb-init (1.2.5-r1) 12:10:39 (3/7) Installing libgcc (10.3.1_git20210424-r2) 12:10:39 (4/7) Installing libsodium (1.0.18-r0) 12:10:39 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 12:10:39 (6/7) Installing libzmq (4.3.4-r0) 12:10:39 (7/7) Installing zeromq (4.3.4-r0) 12:10:39 Executing busybox-1.33.1-r7.trigger 12:10:39 Executing ca-certificates-20211220-r0.trigger 12:10:39 OK: 9 MiB in 21 packages 12:10:39 Removing intermediate container 3de4d2ca6921 12:10:39 ---> 51e717ed0abd 12:10:39 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:10:39 ---> 85c685a2f41d 12:10:39 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:10:39 ---> 58ba0e2bc130 12:10:39 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:10:39 ---> b4c610a01ec0 12:10:39 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:10:39 ---> 25f5fde4a0c5 12:10:39 Step 22/27 : EXPOSE 48095 12:10:39 ---> Running in cae08e7c127c 12:10:39 Removing intermediate container cae08e7c127c 12:10:39 ---> e50dd68d8e6f 12:10:39 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:10:39 ---> Running in 0f79139cda4e 12:10:39 Removing intermediate container 0f79139cda4e 12:10:39 ---> 7ff6aaae4af8 12:10:39 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:10:39 ---> Running in cb1273ecced6 12:10:39 Removing intermediate container cb1273ecced6 12:10:39 ---> 7a5506c23fbb 12:10:39 Step 25/27 : LABEL arch=arm64 12:10:39 ---> Running in 23c6b2181341 12:10:39 Removing intermediate container 23c6b2181341 12:10:39 ---> 180f30986843 12:10:39 Step 26/27 : LABEL git_sha=aef5da4b06ea2bd0d9d337c860b935f246de31f3 12:10:39 ---> Running in 76e23d5c9a60 12:10:39 Removing intermediate container 76e23d5c9a60 12:10:39 ---> b09c14c29662 12:10:39 Step 27/27 : LABEL version=0.0.0 12:10:39 ---> Running in f997c4b6e9ee 12:10:39 Removing intermediate container f997c4b6e9ee 12:10:39 ---> 884276f44642 12:10:39 [Warning] One or more build-args [ARCH] were not consumed 12:10:39 Successfully built 884276f44642 12:10:39 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:10:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:10:40 12:10:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 12:10:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:10:41 arm64: Pulling from edgex-lftools-log-publisher 12:10:41 8998bd30e6a1: Pulling fs layer 12:10:41 04944245beec: Pulling fs layer 12:10:41 699f458cf7ca: Pulling fs layer 12:10:41 765212b225bb: Pulling fs layer 12:10:41 f23df028b6ca: Pulling fs layer 12:10:41 d65c8cfc05b1: Pulling fs layer 12:10:41 2437ff75d9bd: Pulling fs layer 12:10:41 f23df028b6ca: Waiting 12:10:41 d65c8cfc05b1: Waiting 12:10:41 2437ff75d9bd: Waiting 12:10:41 765212b225bb: Waiting 12:10:41 04944245beec: Verifying Checksum 12:10:41 04944245beec: Download complete 12:10:41 765212b225bb: Verifying Checksum 12:10:41 765212b225bb: Download complete 12:10:41 f23df028b6ca: Download complete 12:10:41 d65c8cfc05b1: Verifying Checksum 12:10:41 d65c8cfc05b1: Download complete 12:10:41 699f458cf7ca: Verifying Checksum 12:10:41 699f458cf7ca: Download complete 12:10:41 8998bd30e6a1: Verifying Checksum 12:10:41 8998bd30e6a1: Download complete 12:10:44 2437ff75d9bd: Verifying Checksum 12:10:44 2437ff75d9bd: Download complete 12:10:45 8998bd30e6a1: Pull complete 12:10:46 04944245beec: Pull complete 12:10:47 699f458cf7ca: Pull complete 12:10:48 765212b225bb: Pull complete 12:10:49 f23df028b6ca: Pull complete 12:10:49 d65c8cfc05b1: Pull complete 12:11:04 2437ff75d9bd: Pull complete 12:11:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:11:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:11:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 12:11:04 prd-ubuntu20.04-docker-arm64-4c-16g-33473 does not seem to be running inside a container 12:11:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:11:07 $ docker top 41be1c67cd8ed8790fd2e9c46c48d057bd79a5424d4fedef663b694c4fe51d03 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:11:08 ---> job-cost.sh 12:11:08 lf-activate-venv: SKIPPING 12:11:08 INFO: No Stack... 12:11:08 INFO: Retrieving Pricing Info for: v3-standard-4 12:11:09 INFO: Archiving Costs [Pipeline] sh 12:11:10 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 12:11:10 + cut -d, -f6 [Pipeline] lock 12:11:10 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-412-1-stack-cost] 12:11:10 Resource [jenkins-edgexfoundry-app-service-configurable-PR-412-1-stack-cost] did not exist. Created. 12:11:10 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-412-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:11:11 /w/workspace/app-service-configurable/1@tmp/durable-1cbe95e4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:11:11 + echo total: 0.2199999988079071 [Pipeline] stash 12:11:11 Warning: overwriting stash ‘stack-cost’ 12:11:11 Stashed 1 file(s) [Pipeline] } 12:11:11 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-412-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:11:11 $ docker stop --time=1 41be1c67cd8ed8790fd2e9c46c48d057bd79a5424d4fedef663b694c4fe51d03 12:11:13 $ docker rm -f 41be1c67cd8ed8790fd2e9c46c48d057bd79a5424d4fedef663b694c4fe51d03 [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:11:14 provisioning config files... 12:11:14 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-412@tmp/config2122053771319692742tmp [Pipeline] { [Pipeline] sh 12:11:14 + set +x 12:11:14 + curl -s https://codecov.io/bash 12:11:14 + bash -s -- 12:11:14 12:11:14 _____ _ 12:11:14 / ____| | | 12:11:14 | | ___ __| | ___ ___ _____ __ 12:11:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:11:14 | |___| (_) | (_| | __/ (_| (_) \ V / 12:11:14 \_____\___/ \__,_|\___|\___\___/ \_/ 12:11:14 Bash-1.0.6 12:11:14 12:11:14 12:11:14 ==> git version 2.25.1 found 12:11:14 ==> 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:11:14 Release-Date: 2020-01-08 12:11:14 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:11:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:11:14 ==> Jenkins CI detected. 12:11:14 current dir:  /w/workspace/_app-service-configurable_PR-412 12:11:14 project root: . 12:11:14 --> token set from env 12:11:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:11:14 ==> Running gcov in . (disable via -X gcov) 12:11:14 ==> Python coveragepy not found 12:11:14 ==> Searching for coverage reports in: 12:11:14 + . 12:11:14 -> Found 1 reports 12:11:14 ==> Detecting git/mercurial file structure 12:11:14 ==> Reading reports 12:11:14 + ./coverage.out bytes=10 12:11:14 ==> Appending adjustments 12:11:14 https://docs.codecov.io/docs/fixing-reports 12:11:15 + Found adjustments 12:11:15 ==> Gzipping contents 12:11:15 4.0K /tmp/codecov.iVbc9c.gz 12:11:15 ==> Uploading reports 12:11:15 url: https://codecov.io 12:11:15 query: branch=PR-412&commit=aef5da4b06ea2bd0d9d337c860b935f246de31f3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-412%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=412&job=&cmd_args= 12:11:15 -> Pinging Codecov 12:11:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-412&commit=aef5da4b06ea2bd0d9d337c860b935f246de31f3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-412%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=412&job=&cmd_args= 12:11:15 -> Uploading to 12:11:15 https://storage.googleapis.com/codecov/v4/raw/2022-04-27/A97CA9966030D2A3747ED39772930CCE/aef5da4b06ea2bd0d9d337c860b935f246de31f3/e224afc9-b3ee-4d72-a898-0099028cf18b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220427T121115Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9b119f5361d6d0f3b4eae78718c9ef946c9df4938932e3f3e36cb65297ef37ed 12:11:15 % Total % Received % Xferd Average Speed Time Time Time Current 12:11:15 Dload Upload Total Spent Left Speed 12:11:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 577 0 0 100 577 0 1982 --:--:-- --:--:-- --:--:-- 1982 12:11:15 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/aef5da4b06ea2bd0d9d337c860b935f246de31f3 [Pipeline] } 12:11:15 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:11:17 + [ -d /w/workspace/_app-service-configurable_PR-412/archives ] 12:11:17 + ls -al /w/workspace/_app-service-configurable_PR-412/archives 12:11:17 total 16 12:11:17 drwxr-xr-x 3 root root 4096 Apr 27 12:06 . 12:11:17 drwxrwxr-x 9 jenkins jenkins 4096 Apr 27 12:06 .. 12:11:17 drwxr-xr-x 2 root root 4096 Apr 27 12:06 cost 12:11:17 -rw-r--r-- 1 root root 95 Apr 27 12:06 cost.csv 12:11:17 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-412/archives 12:11:17 + ls -al /w/workspace/_app-service-configurable_PR-412/archives 12:11:17 total 16 12:11:17 drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 12:06 . 12:11:17 drwxrwxr-x 9 jenkins jenkins 4096 Apr 27 12:06 .. 12:11:17 drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 12:06 cost 12:11:17 -rw-r--r-- 1 jenkins jenkins 95 Apr 27 12:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:11:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:11:18 ---> package-listing.sh 12:11:18 ++ facter osfamily 12:11:18 ++ tr '[:upper:]' '[:lower:]' 12:11:19 + OS_FAMILY=debian 12:11:19 + workspace=/w/workspace/_app-service-configurable_PR-412 12:11:19 + START_PACKAGES=/tmp/packages_start.txt 12:11:19 + END_PACKAGES=/tmp/packages_end.txt 12:11:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:11:19 + PACKAGES=/tmp/packages_start.txt 12:11:19 + '[' /w/workspace/_app-service-configurable_PR-412 ']' 12:11:19 + PACKAGES=/tmp/packages_end.txt 12:11:19 + case "${OS_FAMILY}" in 12:11:19 + dpkg -l 12:11:19 + grep '^ii' 12:11:19 + '[' -f /tmp/packages_start.txt ']' 12:11:19 + '[' -f /tmp/packages_end.txt ']' 12:11:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:11:19 + '[' /w/workspace/_app-service-configurable_PR-412 ']' 12:11:19 + mkdir -p /w/workspace/_app-service-configurable_PR-412/archives/ 12:11:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-412/archives/ [Pipeline] echo 12:11:19 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-412/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:11:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:11:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:11:20 . [Pipeline] withDockerContainer 12:11:20 prd-ubuntu20.04-docker-8c-8g-33475 does not seem to be running inside a container 12:11:20 $ 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-412/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-412 -v /w/workspace/_app-service-configurable_PR-412:/w/workspace/_app-service-configurable_PR-412:rw,z -v /w/workspace/_app-service-configurable_PR-412@tmp:/w/workspace/_app-service-configurable_PR-412@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:11:20 $ docker top ff8166b885b9ac158400761ad82e2427ab9e472e5986b09837f045c6f4f48fa2 -eo pid,comm [Pipeline] { [Pipeline] sh 12:11:20 + touch /tmp/pre-build-complete [Pipeline] sh 12:11:21 + mkdir -p /var/log/sysstat [Pipeline] sh 12:11:21 + ls /var/log/sa-host 12:11:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:11:21 provisioning config files... 12:11:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-412@tmp/config1922429930769658641tmp [Pipeline] { [Pipeline] echo 12:11:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:11:22 ---> create-netrc.sh [Pipeline] } 12:11:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:11:22 ---> python-tools-install.sh [Pipeline] echo 12:11:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:11:23 ---> sudo-logs.sh 12:11:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:11:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:11:23 ---> job-cost.sh 12:11:23 lf-activate-venv: SKIPPING 12:11:23 DEBUG: total: 0.2199999988079071 12:11:23 INFO: Retrieving Stack Cost... 12:11:23 INFO: Retrieving Pricing Info for: v3-standard-8 12:11:24 INFO: Archiving Costs [Pipeline] echo 12:11:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:11:24 ---> logs-deploy.sh 12:11:24 lf-activate-venv: SKIPPING 12:11:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-412/1 12:11:24 INFO: archiving workspace using pattern(s): 12:11:25 Archives upload complete. 12:11:25 INFO: archiving logs to Nexus