Pull request #414 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7fc0fd84b50641cc55bcc100f7d0186ca88febb5+b8e8d1853d64b48b61878642b37bb0eb2b624c73 (5310d447a638e0f6dfa08520197ae77fa1a0c942) 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-ssh14494064142028720216.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh15787208260755284668.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-414/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-414/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4551007245114104361.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-414/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11437548526999415027.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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-ssh13598227122473307255.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-414/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-414/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6453171764519759159.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-33653 in /w/workspace/_app-service-configurable_PR-414 [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-414 # 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 b8e8d1853d64b48b61878642b37bb0eb2b624c73 into PR head commit 7fc0fd84b50641cc55bcc100f7d0186ca88febb5 Merge succeeded, producing 7fc0fd84b50641cc55bcc100f7d0186ca88febb5 Checking out Revision 7fc0fd84b50641cc55bcc100f7d0186ca88febb5 (PR-414) > 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/414/head:refs/remotes/origin/PR-414 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7fc0fd84b50641cc55bcc100f7d0186ca88febb5 # 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 b8e8d1853d64b48b61878642b37bb0eb2b624c73 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7fc0fd84b50641cc55bcc100f7d0186ca88febb5 # 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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:03:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:03:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:03:28 ========================================================= 12:03:28 EdgeX Global Pipelines Version Info 12:03:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:03:29 ------------------- 12:03:29 stable info: 12:03:29 ------------------- 12:03:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:03:29 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 12:03:29 Message: update stable to v1.0.227 12:03:30 ------------------- 12:03:30 experimental info: 12:03:30 ------------------- 12:03:30 Commited By: **** collab-it+edgex@linuxfoundation.org 12:03:30 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 12:03:30 Message: update experimental to v1.0.227 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:03:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:03:30 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:03:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:03:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:03:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:03:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:03:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:03:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:03:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:03:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:03:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:03:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:03:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:03:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:03:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:03:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:03:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:03:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:03:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:03:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:03:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:03:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:03:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:03:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:03:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:03:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:03:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-414 [Pipeline] echo 12:03:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-414 [Pipeline] echo 12:03:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-414 [Pipeline] echo 12:03:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7fc0fd84b50641cc55bcc100f7d0186ca88febb5 [Pipeline] echo 12:03:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7fc0fd8 [Pipeline] echo 12:03:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:03:31 provisioning config files... 12:03:31 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-414@tmp/config4948641168162786278tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:03:32 ---> docker-login.sh 12:03:32 nexus3.edgexfoundry.org:10001 12:03:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:32 Configure a credential helper to remove this warning. See 12:03:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:32 12:03:32 Login Succeeded 12:03:32 nexus3.edgexfoundry.org:10002 12:03:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:33 Configure a credential helper to remove this warning. See 12:03:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:33 12:03:33 Login Succeeded 12:03:33 nexus3.edgexfoundry.org:10003 12:03:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:33 Configure a credential helper to remove this warning. See 12:03:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:33 12:03:33 Login Succeeded 12:03:33 nexus3.edgexfoundry.org:10004 12:03:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:33 Configure a credential helper to remove this warning. See 12:03:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:33 12:03:33 Login Succeeded 12:03:33 docker.io 12:03:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:33 Configure a credential helper to remove this warning. See 12:03:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:33 12:03:33 Login Succeeded 12:03:33 ---> docker-login.sh ends [Pipeline] } 12:03:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:03:34 + git rev-list -1 --merges 7fc0fd84b50641cc55bcc100f7d0186ca88febb5~1..7fc0fd84b50641cc55bcc100f7d0186ca88febb5 [Pipeline] echo 12:03:34 -----------> git rev-list -1 --merges 7fc0fd84b50641cc55bcc100f7d0186ca88febb5~1..7fc0fd84b50641cc55bcc100f7d0186ca88febb5 7fc0fd84b50641cc55bcc100f7d0186ca88febb5 [false] [Pipeline] sh 12:03:34 + git log --format=format:%s -1 7fc0fd84b50641cc55bcc100f7d0186ca88febb5 [Pipeline] echo 12:03:34 ========================================================= 12:03:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:03:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:03:35 + git log --format=format:%s -1 7fc0fd84b50641cc55bcc100f7d0186ca88febb5 [Pipeline] echo 12:03:35 [semverPrep] GIT_COMMIT: 7fc0fd84b50641cc55bcc100f7d0186ca88febb5, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo 12:03:35 [semverPrep] This is not a build commit. [Pipeline] sh 12:03:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:03:35 + grep -v github /etc/ssh/ssh_known_hosts 12:03:35 + [ -e /tmp/ssh_known_hosts ] 12:03:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:03:35 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:03:35 sudo tee -a /etc/ssh/ssh_known_hosts 12:03:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:03:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:03:36 12:03:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:03:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:03:36 latest: Pulling from edgex-devops/py-git-semver 12:03:36 1fe172e4850f: Pulling fs layer 12:03:36 caf521ccaac6: Pulling fs layer 12:03:36 3ead6fa29328: Pulling fs layer 12:03:36 5c2a1cbceb83: Pulling fs layer 12:03:36 a8d5f1318db7: Pulling fs layer 12:03:36 c427282e49a2: Pulling fs layer 12:03:36 1827001aaf11: Pulling fs layer 12:03:36 0714d37db230: Pulling fs layer 12:03:36 ac28cf19c067: Pulling fs layer 12:03:36 ca983d60f3e2: Pulling fs layer 12:03:36 9f894cec8388: Pulling fs layer 12:03:36 1827001aaf11: Waiting 12:03:36 0714d37db230: Waiting 12:03:36 5c2a1cbceb83: Waiting 12:03:36 ac28cf19c067: Waiting 12:03:36 ca983d60f3e2: Waiting 12:03:36 9f894cec8388: Waiting 12:03:36 a8d5f1318db7: Waiting 12:03:36 c427282e49a2: Waiting 12:03:36 caf521ccaac6: Download complete 12:03:36 5c2a1cbceb83: Download complete 12:03:36 a8d5f1318db7: Verifying Checksum 12:03:36 a8d5f1318db7: Download complete 12:03:36 3ead6fa29328: Verifying Checksum 12:03:36 3ead6fa29328: Download complete 12:03:36 c427282e49a2: Download complete 12:03:36 ac28cf19c067: Verifying Checksum 12:03:36 ac28cf19c067: Download complete 12:03:36 ca983d60f3e2: Verifying Checksum 12:03:36 ca983d60f3e2: Download complete 12:03:36 9f894cec8388: Download complete 12:03:36 1fe172e4850f: Verifying Checksum 12:03:36 1fe172e4850f: Download complete 12:03:37 1827001aaf11: Verifying Checksum 12:03:37 1827001aaf11: Download complete 12:03:38 1fe172e4850f: Pull complete 12:03:38 caf521ccaac6: Pull complete 12:03:38 3ead6fa29328: Pull complete 12:03:38 5c2a1cbceb83: Pull complete 12:03:39 a8d5f1318db7: Pull complete 12:03:39 c427282e49a2: Pull complete 12:03:41 1827001aaf11: Pull complete 12:03:41 0714d37db230: Pull complete 12:03:41 ac28cf19c067: Pull complete 12:03:41 ca983d60f3e2: Pull complete 12:03:41 9f894cec8388: Pull complete 12:03:41 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 12:03:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:03:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 12:03:41 prd-ubuntu20.04-docker-8c-8g-33653 does not seem to be running inside a container 12:03:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-414 -v /w/workspace/_app-service-configurable_PR-414:/w/workspace/_app-service-configurable_PR-414:rw,z -v /w/workspace/_app-service-configurable_PR-414@tmp:/w/workspace/_app-service-configurable_PR-414@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:10003/edgex-devops/py-git-semver:latest cat 12:03:43 $ docker top 1ce185a3c83954b78ff7088e202610afff7b5ed40c5e7b3a0383e7adb7a1535a -eo pid,comm 12:03:43 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:03:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:03:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:03:43 [ssh-agent] Looking for ssh-agent implementation... 12:03:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:03:43 $ docker exec 1ce185a3c83954b78ff7088e202610afff7b5ed40c5e7b3a0383e7adb7a1535a ssh-agent 12:03:43 SSH_AUTH_SOCK=/tmp/ssh-y3Y783wXCtY7/agent.32 12:03:43 SSH_AGENT_PID=38 12:03:43 Running ssh-add (command line suppressed) 12:03:43 Identity added: /w/workspace/_app-service-configurable_PR-414@tmp/private_key_7100517089524257734.key (/w/workspace/_app-service-configurable_PR-414@tmp/private_key_7100517089524257734.key) 12:03:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:03:44 + git tag --points-at HEAD [Pipeline] } 12:03:44 $ docker exec --env ******** --env ******** 1ce185a3c83954b78ff7088e202610afff7b5ed40c5e7b3a0383e7adb7a1535a ssh-agent -k 12:03:44 unset SSH_AUTH_SOCK; 12:03:44 unset SSH_AGENT_PID; 12:03:44 echo Agent pid 38 killed; 12:03:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:03:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:03:44 [ssh-agent] Looking for ssh-agent implementation... 12:03:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:03:44 $ docker exec 1ce185a3c83954b78ff7088e202610afff7b5ed40c5e7b3a0383e7adb7a1535a ssh-agent 12:03:44 SSH_AUTH_SOCK=/tmp/ssh-wiUyUf7PBjJu/agent.72 12:03:44 SSH_AGENT_PID=78 12:03:44 Running ssh-add (command line suppressed) 12:03:44 Identity added: /w/workspace/_app-service-configurable_PR-414@tmp/private_key_4809428603820269552.key (/w/workspace/_app-service-configurable_PR-414@tmp/private_key_4809428603820269552.key) 12:03:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:03:45 + git semver init 12:03:45 2022-04-28 12:03:45,493 [run_init] DEBUG init version:0.0.0 force:False 12:03:45 2022-04-28 12:03:45,494 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-414/.semver 12:03:45 2022-04-28 12:03:45,494 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-414/.semver 12:03:45 2022-04-28 12:03:45,495 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-414/.semver'], cwd=/w/workspace/_app-service-configurable_PR-414, universal_newlines=False, shell=None, istream=None) 12:03:46 2022-04-28 12:03:46,302 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-414/.git/info/exclude 12:03:46 2022-04-28 12:03:46,302 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-414/.semver/PR-414 with force:False 12:03:46 2022-04-28 12:03:46,303 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-414/.semver/PR-414 12:03:46 2022-04-28 12:03:46,307 [execute] INFO git cat-file --batch-check 12:03:46 2022-04-28 12:03:46,307 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-414/.semver, universal_newlines=False, shell=None, istream=) 12:03:46 2022-04-28 12:03:46,312 [execute] INFO git cat-file --batch 12:03:46 2022-04-28 12:03:46,312 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-414/.semver, universal_newlines=False, shell=None, istream=) 12:03:46 2022-04-28 12:03:46,317 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-414/.semver/PR-414 12:03:46 0.0.0 [Pipeline] } 12:03:46 $ docker exec --env ******** --env ******** 1ce185a3c83954b78ff7088e202610afff7b5ed40c5e7b3a0383e7adb7a1535a ssh-agent -k 12:03:46 unset SSH_AUTH_SOCK; 12:03:46 unset SSH_AGENT_PID; 12:03:46 echo Agent pid 78 killed; 12:03:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:03:47 + git semver [Pipeline] } 12:03:47 $ docker stop --time=1 1ce185a3c83954b78ff7088e202610afff7b5ed40c5e7b3a0383e7adb7a1535a 12:03:48 $ docker rm -f 1ce185a3c83954b78ff7088e202610afff7b5ed40c5e7b3a0383e7adb7a1535a [Pipeline] // withDockerContainer [Pipeline] sh 12:03:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:03:49 Stashed 1 file(s) [Pipeline] echo 12:03:49 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:03:50 provisioning config files... 12:03:50 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-414@tmp/config2144729510100714811tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:03:50 ---> docker-login.sh 12:03:50 nexus3.edgexfoundry.org:10001 12:03:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:50 Configure a credential helper to remove this warning. See 12:03:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:50 12:03:50 Login Succeeded 12:03:50 nexus3.edgexfoundry.org:10002 12:03:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:50 Configure a credential helper to remove this warning. See 12:03:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:50 12:03:50 Login Succeeded 12:03:50 nexus3.edgexfoundry.org:10003 12:03:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:50 Configure a credential helper to remove this warning. See 12:03:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:50 12:03:50 Login Succeeded 12:03:50 nexus3.edgexfoundry.org:10004 12:03:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:50 Configure a credential helper to remove this warning. See 12:03:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:50 12:03:50 Login Succeeded 12:03:50 docker.io 12:03:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:51 Configure a credential helper to remove this warning. See 12:03:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:51 12:03:51 Login Succeeded 12:03:51 ---> docker-login.sh ends [Pipeline] } 12:03:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:03:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:03:51 ========================================================= 12:03:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:03:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:03:51 + 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:03:51 Sending build context to Docker daemon 3.076MB 12:03:51 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 12:03:51 Step 2/13 : FROM ${BASE} AS builder 12:03:51 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:03:51 59bf1c3509f3: Pulling fs layer 12:03:51 666ba61612fd: Pulling fs layer 12:03:51 8ed8ca486205: Pulling fs layer 12:03:51 4fe6c5a15a65: Pulling fs layer 12:03:51 22a0e8bec74d: Pulling fs layer 12:03:51 ca2b28591e48: Pulling fs layer 12:03:51 a51346096db8: Pulling fs layer 12:03:51 daebc70d1ce1: Pulling fs layer 12:03:51 0e18a0eac166: Pulling fs layer 12:03:51 22a0e8bec74d: Waiting 12:03:51 ca2b28591e48: Waiting 12:03:51 a51346096db8: Waiting 12:03:51 daebc70d1ce1: Waiting 12:03:51 0e18a0eac166: Waiting 12:03:51 4fe6c5a15a65: Waiting 12:03:51 666ba61612fd: Verifying Checksum 12:03:51 666ba61612fd: Download complete 12:03:51 22a0e8bec74d: Download complete 12:03:52 ca2b28591e48: Verifying Checksum 12:03:52 ca2b28591e48: Download complete 12:03:52 59bf1c3509f3: Verifying Checksum 12:03:52 59bf1c3509f3: Download complete 12:03:52 a51346096db8: Verifying Checksum 12:03:52 a51346096db8: Download complete 12:03:52 daebc70d1ce1: Verifying Checksum 12:03:52 daebc70d1ce1: Download complete 12:03:52 59bf1c3509f3: Pull complete 12:03:52 666ba61612fd: Pull complete 12:03:52 8ed8ca486205: Pull complete 12:03:52 0e18a0eac166: Download complete 12:03:52 4fe6c5a15a65: Verifying Checksum 12:03:52 4fe6c5a15a65: Download complete 12:03:56 4fe6c5a15a65: Pull complete 12:03:56 22a0e8bec74d: Pull complete 12:03:56 ca2b28591e48: Pull complete 12:03:56 a51346096db8: Pull complete 12:03:56 daebc70d1ce1: Pull complete 12:03:58 0e18a0eac166: Pull complete 12:03:58 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 12:03:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:03:58 ---> f018257e8ee9 12:03:58 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:04:00 ---> Running in 747e3ed2b39a 12:04:00 Removing intermediate container 747e3ed2b39a 12:04:00 ---> bcb2977f6def 12:04:00 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 12:04:00 ---> Running in 94f1ba07dc51 12:04:00 Removing intermediate container 94f1ba07dc51 12:04:00 ---> bb158494379d 12:04:00 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:04:00 ---> Running in a74423e432d2 12:04:00 Removing intermediate container a74423e432d2 12:04:00 ---> 8a7517ef5ce5 12:04:00 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:04:00 ---> Running in 346cdf09bf05 12:04:01 Removing intermediate container 346cdf09bf05 12:04:01 ---> 8ca17151913a 12:04:01 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:04:01 ---> Running in f1534bac6357 12:04:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:04:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:04:03 OK: 221 MiB in 52 packages 12:04:03 Removing intermediate container f1534bac6357 12:04:03 ---> 139188041aca 12:04:03 Step 8/13 : WORKDIR /app 12:04:03 ---> Running in 79c5fc1f3ab0 12:04:03 Removing intermediate container 79c5fc1f3ab0 12:04:03 ---> 9a65902c4767 12:04:03 Step 9/13 : COPY go.mod vendor* ./ 12:04:03 ---> cac16e8b0be8 12:04:03 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:04:03 ---> Running in af2021f2fc72 12:04:04 Still waiting to schedule task 12:04:04 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:04:21 Removing intermediate container af2021f2fc72 12:04:21 ---> a27bf55bb6e8 12:04:21 Step 11/13 : COPY . . 12:04:21 ---> 59259b125f84 12:04:21 Step 12/13 : ARG MAKE="make build" 12:04:22 ---> Running in d2d4827690ce 12:04:22 Removing intermediate container d2d4827690ce 12:04:22 ---> 3a997a6cde93 12:04:22 Step 13/13 : RUN $MAKE 12:04:22 ---> Running in 638902ab1c5c 12:04:22 noop 12:04:22 Removing intermediate container 638902ab1c5c 12:04:22 ---> d020ff9bc1cd 12:04:22 Successfully built d020ff9bc1cd 12:04:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:04:23 + docker inspect -f . ci-base-image-x86_64 12:04:23 . [Pipeline] withDockerContainer 12:04:23 prd-ubuntu20.04-docker-8c-8g-33653 does not seem to be running inside a container 12:04:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-414 -v /w/workspace/_app-service-configurable_PR-414:/w/workspace/_app-service-configurable_PR-414:rw,z -v /w/workspace/_app-service-configurable_PR-414@tmp:/w/workspace/_app-service-configurable_PR-414@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:04:23 $ docker top ff0f2f28ec9b3655f74880d121f44ccbf8b3398561884d76e6fc71227ceda923 -eo pid,comm [Pipeline] { [Pipeline] sh 12:04:23 + go version 12:04:23 go version go1.17.6 linux/amd64 [Pipeline] } 12:04:24 $ docker stop --time=1 ff0f2f28ec9b3655f74880d121f44ccbf8b3398561884d76e6fc71227ceda923 12:04:25 $ docker rm -f ff0f2f28ec9b3655f74880d121f44ccbf8b3398561884d76e6fc71227ceda923 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:04:25 + docker inspect -f . ci-base-image-x86_64 12:04:25 . [Pipeline] withDockerContainer 12:04:26 prd-ubuntu20.04-docker-8c-8g-33653 does not seem to be running inside a container 12:04:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-414 -v /w/workspace/_app-service-configurable_PR-414:/w/workspace/_app-service-configurable_PR-414:rw,z -v /w/workspace/_app-service-configurable_PR-414@tmp:/w/workspace/_app-service-configurable_PR-414@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:04:26 $ docker top f96d71d8b4c47b60e003dcd2278ace151ff8fd5f50141d47e7b2890db3ec4ac2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:04:27 + make test 12:04:27 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 12:04:37 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:04:37 CGO_ENABLED=1 go vet ./... 12:04:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:04:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:04:41 ./bin/test-attribution-txt.sh [Pipeline] echo 12:04:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:04:41 $ docker stop --time=1 f96d71d8b4c47b60e003dcd2278ace151ff8fd5f50141d47e7b2890db3ec4ac2 12:04:43 $ docker rm -f f96d71d8b4c47b60e003dcd2278ace151ff8fd5f50141d47e7b2890db3ec4ac2 [Pipeline] // withDockerContainer [Pipeline] sh 12:04:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:04:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:04:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:04:44 + ls -al . 12:04:44 total 184 12:04:44 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 12:04 . 12:04:44 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 12:03 .. 12:04:44 -rw-rw-r-- 1 jenkins jenkins 119 Apr 28 12:03 .dockerignore 12:04:44 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 12:03 .git 12:04:44 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 12:03 .github 12:04:44 -rw-rw-r-- 1 jenkins jenkins 104 Apr 28 12:03 .gitignore 12:04:44 drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 12:03 .semver 12:04:44 -rw-rw-r-- 1 jenkins jenkins 8695 Apr 28 12:03 Attribution.txt 12:04:44 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 28 12:03 CHANGELOG.md 12:04:44 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 28 12:03 Dockerfile 12:04:44 -rw-rw-r-- 1 jenkins jenkins 677 Apr 28 12:03 GOVERNANCE.md 12:04:44 -rw-rw-r-- 1 jenkins jenkins 688 Apr 28 12:03 Jenkinsfile 12:04:44 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 28 12:03 LICENSE 12:04:44 -rw-rw-r-- 1 jenkins jenkins 618 Apr 28 12:03 OWNERS.md 12:04:44 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 28 12:03 README.md 12:04:44 -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 12:03 VERSION 12:04:44 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 12:03 bin 12:04:44 -rw-r--r-- 1 jenkins jenkins 10 Apr 28 12:04 coverage.out 12:04:44 -rw-rw-r-- 1 jenkins jenkins 3268 Apr 28 12:03 go.mod 12:04:44 -rw-rw-r-- 1 jenkins jenkins 54067 Apr 28 12:03 go.sum 12:04:44 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 28 12:03 main.go 12:04:44 -rw-rw-r-- 1 jenkins jenkins 2007 Apr 28 12:03 makefile 12:04:44 drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 12:03 res 12:04:44 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 12:03 snap [Pipeline] isUnix [Pipeline] sh 12:04:45 + 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=7fc0fd84b50641cc55bcc100f7d0186ca88febb5 --label arch=amd64 --label version=0.0.0 . 12:04:45 Sending build context to Docker daemon 3.077MB 12:04:45 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 12:04:45 Step 2/27 : FROM ${BASE} AS builder 12:04:45 ---> d020ff9bc1cd 12:04:45 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:04:45 ---> Running in 2770715a0d07 12:04:45 Removing intermediate container 2770715a0d07 12:04:45 ---> 624195ee0dae 12:04:45 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:04:45 ---> Running in 75bafd7dcd8c 12:04:45 Removing intermediate container 75bafd7dcd8c 12:04:45 ---> dd2d4ea1e3e0 12:04:45 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:04:45 ---> Running in 72514773fb33 12:04:45 Removing intermediate container 72514773fb33 12:04:45 ---> 4b5f0347c762 12:04:45 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:04:45 ---> Running in ee60abeb8a8f 12:04:46 Removing intermediate container ee60abeb8a8f 12:04:46 ---> 587ff4399a47 12:04:46 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:04:46 ---> Running in 59aa27ea53f3 12:04:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:04:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:04:47 OK: 221 MiB in 52 packages 12:04:47 Removing intermediate container 59aa27ea53f3 12:04:47 ---> 17e12141ad1b 12:04:47 Step 8/27 : WORKDIR /app 12:04:48 ---> Running in bab1b199ad39 12:04:48 Removing intermediate container bab1b199ad39 12:04:48 ---> 31ab31f93e38 12:04:48 Step 9/27 : COPY go.mod vendor* ./ 12:04:48 ---> 915b84456ea5 12:04:48 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:04:48 ---> Running in 34c8f41a74ae 12:04:49 Removing intermediate container 34c8f41a74ae 12:04:49 ---> 0280195fd395 12:04:49 Step 11/27 : COPY . . 12:04:49 ---> 22c45334acd1 12:04:49 Step 12/27 : ARG MAKE="make build" 12:04:49 ---> Running in 673d1d2266b3 12:04:49 Removing intermediate container 673d1d2266b3 12:04:49 ---> 1483ab890101 12:04:49 Step 13/27 : RUN $MAKE 12:04:49 ---> Running in ca1dd80111a3 12:04:49 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:11 Removing intermediate container ca1dd80111a3 12:05:11 ---> 228db836524d 12:05:11 Step 14/27 : FROM alpine:3.14 12:05:11 3.14: Pulling from library/alpine 12:05:11 8663204ce13b: Pulling fs layer 12:05:11 8663204ce13b: Verifying Checksum 12:05:11 8663204ce13b: Download complete 12:05:11 8663204ce13b: Pull complete 12:05:11 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:05:11 Status: Downloaded newer image for alpine:3.14 12:05:11 ---> e04c818066af 12:05:11 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:05:11 ---> Running in f4b7647d93ad 12:05:11 Removing intermediate container f4b7647d93ad 12:05:11 ---> 89f814827764 12:05:11 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:05:11 ---> Running in ad29756eba8d 12:05:11 Removing intermediate container ad29756eba8d 12:05:11 ---> c5daa1a3c751 12:05:11 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 12:05:11 ---> Running in 20f574843a9c 12:05:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 12:05:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 12:05:11 (1/7) Installing ca-certificates (20211220-r0) 12:05:11 (2/7) Installing dumb-init (1.2.5-r1) 12:05:11 (3/7) Installing libgcc (10.3.1_git20210424-r2) 12:05:11 (4/7) Installing libsodium (1.0.18-r0) 12:05:11 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 12:05:11 (6/7) Installing libzmq (4.3.4-r0) 12:05:11 (7/7) Installing zeromq (4.3.4-r0) 12:05:11 Executing busybox-1.33.1-r7.trigger 12:05:11 Executing ca-certificates-20211220-r0.trigger 12:05:11 OK: 9 MiB in 21 packages 12:05:11 Removing intermediate container 20f574843a9c 12:05:11 ---> 1e52eaa3a32e 12:05:11 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:05:11 ---> 9b663efb966a 12:05:11 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:05:11 ---> af6e502ea388 12:05:11 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:05:11 ---> b7d87bb6bc3e 12:05:11 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:05:12 ---> 737a417045ca 12:05:12 Step 22/27 : EXPOSE 48095 12:05:12 ---> Running in 8c1efc83afd5 12:05:12 Removing intermediate container 8c1efc83afd5 12:05:12 ---> c99c2283b4c9 12:05:12 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:05:12 ---> Running in 1d283abf8a6c 12:05:12 Removing intermediate container 1d283abf8a6c 12:05:12 ---> 68e9a1b1fb05 12:05:12 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:05:12 ---> Running in 1bd5a6ff33f5 12:05:12 Removing intermediate container 1bd5a6ff33f5 12:05:12 ---> 712744f1b51e 12:05:12 Step 25/27 : LABEL arch=amd64 12:05:12 ---> Running in 12cd1a29cd93 12:05:12 Removing intermediate container 12cd1a29cd93 12:05:12 ---> c20d57660225 12:05:12 Step 26/27 : LABEL git_sha=7fc0fd84b50641cc55bcc100f7d0186ca88febb5 12:05:13 ---> Running in 0390ec783687 12:05:13 Removing intermediate container 0390ec783687 12:05:13 ---> 75a0843a4f0d 12:05:13 Step 27/27 : LABEL version=0.0.0 12:05:13 ---> Running in df42ebe57f5c 12:05:13 Removing intermediate container df42ebe57f5c 12:05:13 ---> 5f3ee06bf0c7 12:05:13 [Warning] One or more build-args [ARCH] were not consumed 12:05:13 Successfully built 5f3ee06bf0c7 12:05:13 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:05:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:14 12:05:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:05:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:14 latest: Pulling from edgex-lftools-log-publisher 12:05:14 5eb5b503b376: Pulling fs layer 12:05:14 5c69ac0246d0: Pulling fs layer 12:05:14 ec43610c2a17: Pulling fs layer 12:05:14 3a2ae6a8a46f: Pulling fs layer 12:05:14 33b1e0a273af: Pulling fs layer 12:05:14 5d3b04190fa2: Pulling fs layer 12:05:14 2f39f015ded8: Pulling fs layer 12:05:14 3a2ae6a8a46f: Waiting 12:05:14 33b1e0a273af: Waiting 12:05:14 2f39f015ded8: Waiting 12:05:14 5c69ac0246d0: Verifying Checksum 12:05:14 5c69ac0246d0: Download complete 12:05:14 3a2ae6a8a46f: Verifying Checksum 12:05:14 3a2ae6a8a46f: Download complete 12:05:14 33b1e0a273af: Verifying Checksum 12:05:14 33b1e0a273af: Download complete 12:05:14 ec43610c2a17: Verifying Checksum 12:05:14 ec43610c2a17: Download complete 12:05:14 5d3b04190fa2: Download complete 12:05:14 5eb5b503b376: Verifying Checksum 12:05:14 5eb5b503b376: Download complete 12:05:15 2f39f015ded8: Download complete 12:05:16 5eb5b503b376: Pull complete 12:05:16 5c69ac0246d0: Pull complete 12:05:16 ec43610c2a17: Pull complete 12:05:16 3a2ae6a8a46f: Pull complete 12:05:16 33b1e0a273af: Pull complete 12:05:17 5d3b04190fa2: Pull complete 12:05:21 2f39f015ded8: Pull complete 12:05:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:05:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:05:21 prd-ubuntu20.04-docker-8c-8g-33653 does not seem to be running inside a container 12:05:21 $ 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-414 -v /w/workspace/_app-service-configurable_PR-414:/w/workspace/_app-service-configurable_PR-414:rw,z -v /w/workspace/_app-service-configurable_PR-414@tmp:/w/workspace/_app-service-configurable_PR-414@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:05:23 $ docker top cdaca1245291a7af9cf692a2db200d420d1610d3abd593a3da1bfcb8acb4f00c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:05:23 ---> job-cost.sh 12:05:23 lf-activate-venv: SKIPPING 12:05:23 INFO: No Stack... 12:05:24 INFO: Retrieving Pricing Info for: v3-standard-8 12:05:24 INFO: Archiving Costs [Pipeline] sh 12:05:24 + cat /w/workspace/_app-service-configurable_PR-414/archives/cost.csv 12:05:24 + cut -d, -f6 [Pipeline] lock 12:05:25 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-414-1-stack-cost] 12:05:25 Resource [jenkins-edgexfoundry-app-service-configurable-PR-414-1-stack-cost] did not exist. Created. 12:05:25 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-414-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:05:25 + echo total: 0.2199999988079071 [Pipeline] stash 12:05:25 Stashed 1 file(s) [Pipeline] } 12:05:25 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-414-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:05:25 $ docker stop --time=1 cdaca1245291a7af9cf692a2db200d420d1610d3abd593a3da1bfcb8acb4f00c 12:05:26 $ docker rm -f cdaca1245291a7af9cf692a2db200d420d1610d3abd593a3da1bfcb8acb4f00c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:05:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-33655 in /w/workspace/_app-service-configurable_PR-414 [Pipeline] { [Pipeline] ws 12:05:36 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:05:37 Selected Git installation does not exist. Using Default 12:05:37 The recommended git tool is: NONE 12:05:43 using credential edgex-jenkins-ssh 12:05:43 Cloning the remote Git repository 12:05:43 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:05:43 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:05:44 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:05:44 > git --version # timeout=10 12:05:44 > git --version # 'git version 2.25.1' 12:05:44 using GIT_SSH to set credentials SSH Credentials for GitHub 12:05:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:05:45 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:05:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:05:45 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:05:45 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:05:45 using GIT_SSH to set credentials SSH Credentials for GitHub 12:05:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/414/head:refs/remotes/origin/PR-414 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:05:46 Merging remotes/origin/main commit b8e8d1853d64b48b61878642b37bb0eb2b624c73 into PR head commit 7fc0fd84b50641cc55bcc100f7d0186ca88febb5 12:05:46 Merge succeeded, producing 7fc0fd84b50641cc55bcc100f7d0186ca88febb5 12:05:46 Checking out Revision 7fc0fd84b50641cc55bcc100f7d0186ca88febb5 (PR-414) 12:05:46 > git config core.sparsecheckout # timeout=10 12:05:46 > git checkout -f 7fc0fd84b50641cc55bcc100f7d0186ca88febb5 # timeout=10 12:05:46 > git remote # timeout=10 12:05:46 > git config --get remote.origin.url # timeout=10 12:05:46 using GIT_SSH to set credentials SSH Credentials for GitHub 12:05:46 > git merge b8e8d1853d64b48b61878642b37bb0eb2b624c73 # timeout=10 12:05:46 > git rev-parse HEAD^{commit} # timeout=10 12:05:46 > git config core.sparsecheckout # timeout=10 12:05:46 > git checkout -f 7fc0fd84b50641cc55bcc100f7d0186ca88febb5 # timeout=10 12:05:50 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" 12:05:50 > git --version # timeout=10 12:05:50 > git --version # 'git version 2.25.1' 12:05:50 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:05:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:05:51 % Total % Received % Xferd Average Speed Time Time Time Current 12:05:51 Dload Upload Total Spent Left Speed 12:05:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 81675 0 --:--:-- --:--:-- --:--:-- 81675 [Pipeline] sh 12:05:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:05:52 + sudo tee /etc/docker/daemon.new 12:05:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:05:52 { 12:05:52 "registry-mirrors": [ 12:05:52 "https://nexus3.edgexfoundry.org:10001" 12:05:52 ], 12:05:52 "bip": "10.250.0.254/24", 12:05:52 "hosts": [ 12:05:52 "tcp://0.0.0.0:5555", 12:05:52 "unix:///var/run/docker.sock" 12:05:52 ], 12:05:52 "mtu": 1458, 12:05:52 "selinux-enabled": true, 12:05:52 "seccomp-profile": "/etc/docker/seccomp.json" 12:05:52 } [Pipeline] sh 12:05:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:05:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:06:11 provisioning config files... 12:06:11 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config1717395883817734198tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:06:12 ---> docker-login.sh 12:06:12 nexus3.edgexfoundry.org:10001 12:06:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:13 Configure a credential helper to remove this warning. See 12:06:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:13 12:06:13 Login Succeeded 12:06:13 nexus3.edgexfoundry.org:10002 12:06:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:13 Configure a credential helper to remove this warning. See 12:06:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:13 12:06:13 Login Succeeded 12:06:13 nexus3.edgexfoundry.org:10003 12:06:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:14 Configure a credential helper to remove this warning. See 12:06:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:14 12:06:14 Login Succeeded 12:06:14 nexus3.edgexfoundry.org:10004 12:06:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:14 Configure a credential helper to remove this warning. See 12:06:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:14 12:06:14 Login Succeeded 12:06:14 docker.io 12:06:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:15 Configure a credential helper to remove this warning. See 12:06:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:15 12:06:15 Login Succeeded 12:06:15 ---> docker-login.sh ends [Pipeline] } 12:06:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:06:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:06:15 ========================================================= 12:06:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:06:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:06:16 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 12:06:16 Sending build context to Docker daemon 226.3kB 12:06:16 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 12:06:16 Step 2/13 : FROM ${BASE} AS builder 12:06:16 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:06:16 9b3977197b4f: Pulling fs layer 12:06:16 1a89e8eeedd5: Pulling fs layer 12:06:16 94645a83ff95: Pulling fs layer 12:06:16 3f3a8bcf1eab: Pulling fs layer 12:06:16 0c92f367c5e7: Pulling fs layer 12:06:16 3096ccb668a1: Pulling fs layer 12:06:16 e8cf19c19ddd: Pulling fs layer 12:06:16 a4caa8a26152: Pulling fs layer 12:06:16 3f3a8bcf1eab: Waiting 12:06:16 0c92f367c5e7: Waiting 12:06:16 3096ccb668a1: Waiting 12:06:16 e8cf19c19ddd: Waiting 12:06:16 a4caa8a26152: Waiting 12:06:16 94645a83ff95: Verifying Checksum 12:06:16 94645a83ff95: Download complete 12:06:16 1a89e8eeedd5: Download complete 12:06:16 0c92f367c5e7: Download complete 12:06:16 3096ccb668a1: Verifying Checksum 12:06:16 3096ccb668a1: Download complete 12:06:16 9b3977197b4f: Verifying Checksum 12:06:16 9b3977197b4f: Download complete 12:06:16 e8cf19c19ddd: Download complete 12:06:17 9b3977197b4f: Pull complete 12:06:18 1a89e8eeedd5: Pull complete 12:06:18 94645a83ff95: Pull complete 12:06:18 a4caa8a26152: Verifying Checksum 12:06:18 a4caa8a26152: Download complete 12:06:19 3f3a8bcf1eab: Verifying Checksum 12:06:19 3f3a8bcf1eab: Download complete 12:06:32 3f3a8bcf1eab: Pull complete 12:06:32 0c92f367c5e7: Pull complete 12:06:32 3096ccb668a1: Pull complete 12:06:32 e8cf19c19ddd: Pull complete 12:06:38 a4caa8a26152: Pull complete 12:06:38 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 12:06:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:06:38 ---> 725f1c02e7f9 12:06:38 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:06:39 ---> Running in 599811685ad5 12:06:39 Removing intermediate container 599811685ad5 12:06:39 ---> a3c2b18c77dc 12:06:39 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 12:06:40 ---> Running in c3089dbd78c5 12:06:40 Removing intermediate container c3089dbd78c5 12:06:40 ---> 367dcf83ebad 12:06:40 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:06:40 ---> Running in f613b17e2adf 12:06:40 Removing intermediate container f613b17e2adf 12:06:40 ---> 20049797bb5c 12:06:40 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:06:40 ---> Running in dbb02a45e54e 12:06:42 Removing intermediate container dbb02a45e54e 12:06:42 ---> 845f17130008 12:06:42 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:06:42 ---> Running in 6147adb4692d 12:06:43 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:06:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:06:45 OK: 220 MiB in 52 packages 12:06:46 Removing intermediate container 6147adb4692d 12:06:46 ---> 8b4ad1846a40 12:06:46 Step 8/13 : WORKDIR /app 12:06:46 ---> Running in 09383d437d53 12:06:46 Removing intermediate container 09383d437d53 12:06:46 ---> 2b3608f01691 12:06:46 Step 9/13 : COPY go.mod vendor* ./ 12:06:47 ---> 0e04f4419d57 12:06:47 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:06:47 ---> Running in a71380d250bf 12:07:34 Removing intermediate container a71380d250bf 12:07:34 ---> 8f9a24a89fc7 12:07:34 Step 11/13 : COPY . . 12:07:34 ---> ec3047126a51 12:07:34 Step 12/13 : ARG MAKE="make build" 12:07:34 ---> Running in fec7cd9430d4 12:07:34 Removing intermediate container fec7cd9430d4 12:07:34 ---> 6229e0abb8b8 12:07:34 Step 13/13 : RUN $MAKE 12:07:34 ---> Running in 16c33a114e5b 12:07:34 noop 12:07:34 Removing intermediate container 16c33a114e5b 12:07:34 ---> c7be70a344bd 12:07:34 Successfully built c7be70a344bd 12:07:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:07:34 + docker inspect -f . ci-base-image-arm64 12:07:34 . [Pipeline] withDockerContainer 12:07:34 prd-ubuntu20.04-docker-arm64-4c-16g-33655 does not seem to be running inside a container 12:07:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:07:36 $ docker top 760cc3aa83d493afe3fbc44b2ee807495a4d6429b191d54804e89eae84edd6e3 -eo pid,comm [Pipeline] { [Pipeline] sh 12:07:36 + go version 12:07:36 go version go1.17.6 linux/arm64 [Pipeline] } 12:07:37 $ docker stop --time=1 760cc3aa83d493afe3fbc44b2ee807495a4d6429b191d54804e89eae84edd6e3 12:07:38 $ docker rm -f 760cc3aa83d493afe3fbc44b2ee807495a4d6429b191d54804e89eae84edd6e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:07:39 + docker inspect -f . ci-base-image-arm64 12:07:39 . [Pipeline] withDockerContainer 12:07:39 prd-ubuntu20.04-docker-arm64-4c-16g-33655 does not seem to be running inside a container 12:07:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:07:41 $ docker top c35d278ca0c0558a0695a9299eb2341c95ddae5fdec75c461c13de5c1ae968a6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:07:42 + make test 12:07:42 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 12:09:04 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:09:04 CGO_ENABLED=1 go vet ./... 12:09:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:09:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:09:26 ./bin/test-attribution-txt.sh [Pipeline] echo 12:09:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:09:26 $ docker stop --time=1 c35d278ca0c0558a0695a9299eb2341c95ddae5fdec75c461c13de5c1ae968a6 12:09:28 $ docker rm -f c35d278ca0c0558a0695a9299eb2341c95ddae5fdec75c461c13de5c1ae968a6 [Pipeline] // withDockerContainer [Pipeline] sh 12:09:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:09:29 Warning: overwriting stash ‘coverage-report’ 12:09:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:09:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:09:30 + ls -al . 12:09:30 total 180 12:09:30 drwxrwxr-x 7 jenkins jenkins 4096 Apr 28 12:09 . 12:09:30 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 12:05 .. 12:09:30 -rw-rw-r-- 1 jenkins jenkins 119 Apr 28 12:05 .dockerignore 12:09:30 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 12:05 .git 12:09:30 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 12:05 .github 12:09:30 -rw-rw-r-- 1 jenkins jenkins 104 Apr 28 12:05 .gitignore 12:09:30 -rw-rw-r-- 1 jenkins jenkins 8695 Apr 28 12:05 Attribution.txt 12:09:30 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 28 12:05 CHANGELOG.md 12:09:30 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 28 12:05 Dockerfile 12:09:30 -rw-rw-r-- 1 jenkins jenkins 677 Apr 28 12:05 GOVERNANCE.md 12:09:30 -rw-rw-r-- 1 jenkins jenkins 688 Apr 28 12:05 Jenkinsfile 12:09:30 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 28 12:05 LICENSE 12:09:30 -rw-rw-r-- 1 jenkins jenkins 618 Apr 28 12:05 OWNERS.md 12:09:30 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 28 12:05 README.md 12:09:30 -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 12:03 VERSION 12:09:30 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 12:05 bin 12:09:30 -rw-r--r-- 1 jenkins jenkins 10 Apr 28 12:07 coverage.out 12:09:30 -rw-rw-r-- 1 jenkins jenkins 3268 Apr 28 12:05 go.mod 12:09:30 -rw-rw-r-- 1 jenkins jenkins 54067 Apr 28 12:05 go.sum 12:09:30 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 28 12:05 main.go 12:09:30 -rw-rw-r-- 1 jenkins jenkins 2007 Apr 28 12:05 makefile 12:09:30 drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 12:05 res 12:09:30 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 12:05 snap [Pipeline] isUnix [Pipeline] sh 12:09:31 + 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=7fc0fd84b50641cc55bcc100f7d0186ca88febb5 --label arch=arm64 --label version=0.0.0 . 12:09:31 Sending build context to Docker daemon 227.3kB 12:09:31 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 12:09:31 Step 2/27 : FROM ${BASE} AS builder 12:09:31 ---> c7be70a344bd 12:09:31 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:09:31 ---> Running in bebbacd5ead0 12:09:32 Removing intermediate container bebbacd5ead0 12:09:32 ---> 5ea8fcf71acf 12:09:32 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:09:32 ---> Running in b215c896cf7f 12:09:32 Removing intermediate container b215c896cf7f 12:09:32 ---> 3b2dca71a165 12:09:32 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:09:32 ---> Running in 2c1eb69a6a27 12:09:32 Removing intermediate container 2c1eb69a6a27 12:09:32 ---> 03c838c5ab69 12:09:32 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:09:33 ---> Running in bdf5773c9fdc 12:09:34 Removing intermediate container bdf5773c9fdc 12:09:34 ---> d7a095c0c7f8 12:09:34 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:09:34 ---> Running in ae9734d04240 12:09:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:09:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:09:37 OK: 220 MiB in 52 packages 12:09:38 Removing intermediate container ae9734d04240 12:09:38 ---> 35de3e774910 12:09:38 Step 8/27 : WORKDIR /app 12:09:38 ---> Running in c0b1d92c9727 12:09:38 Removing intermediate container c0b1d92c9727 12:09:38 ---> 1560c67b4a41 12:09:38 Step 9/27 : COPY go.mod vendor* ./ 12:09:39 ---> 9f9257828438 12:09:39 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:09:39 ---> Running in 99105ef09750 12:09:41 Removing intermediate container 99105ef09750 12:09:41 ---> 1700b888bcf4 12:09:41 Step 11/27 : COPY . . 12:09:41 ---> 24e322454bde 12:09:41 Step 12/27 : ARG MAKE="make build" 12:09:41 ---> Running in 0d441a1cd504 12:09:42 Removing intermediate container 0d441a1cd504 12:09:42 ---> 686d00ee5929 12:09:42 Step 13/27 : RUN $MAKE 12:09:42 ---> Running in fe8d87566531 12:09:43 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 12:11:50 Removing intermediate container fe8d87566531 12:11:50 ---> 5b6e1cb0da18 12:11:50 Step 14/27 : FROM alpine:3.14 12:11:50 3.14: Pulling from library/alpine 12:11:50 455c02918c45: Pulling fs layer 12:11:50 455c02918c45: Verifying Checksum 12:11:50 455c02918c45: Download complete 12:11:50 455c02918c45: Pull complete 12:11:50 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:11:50 Status: Downloaded newer image for alpine:3.14 12:11:50 ---> ac73e934f311 12:11:50 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:11:50 ---> Running in e7f8bf482344 12:11:50 Removing intermediate container e7f8bf482344 12:11:50 ---> 7fa2d962a8c2 12:11:50 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:11:50 ---> Running in 59c89a6b0f5b 12:11:50 Removing intermediate container 59c89a6b0f5b 12:11:50 ---> 44bb7f0c3969 12:11:50 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 12:11:50 ---> Running in 388955da9075 12:11:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 12:11:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 12:11:50 (1/7) Installing ca-certificates (20211220-r0) 12:11:50 (2/7) Installing dumb-init (1.2.5-r1) 12:11:50 (3/7) Installing libgcc (10.3.1_git20210424-r2) 12:11:50 (4/7) Installing libsodium (1.0.18-r0) 12:11:50 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 12:11:50 (6/7) Installing libzmq (4.3.4-r0) 12:11:50 (7/7) Installing zeromq (4.3.4-r0) 12:11:50 Executing busybox-1.33.1-r7.trigger 12:11:50 Executing ca-certificates-20211220-r0.trigger 12:11:50 OK: 9 MiB in 21 packages 12:11:50 Removing intermediate container 388955da9075 12:11:50 ---> 6554470823a6 12:11:50 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:11:50 ---> de6a4dfa6c7e 12:11:50 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:11:50 ---> c768c9a937f0 12:11:50 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:11:50 ---> cb739b8b1f79 12:11:50 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:11:50 ---> e48ddb65e35a 12:11:50 Step 22/27 : EXPOSE 48095 12:11:50 ---> Running in 643df67f64ea 12:11:50 Removing intermediate container 643df67f64ea 12:11:50 ---> c65b6cf924c7 12:11:50 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:11:50 ---> Running in 3ce6f9bd4cb7 12:11:50 Removing intermediate container 3ce6f9bd4cb7 12:11:50 ---> 6d24d1e4dd11 12:11:50 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:11:50 ---> Running in 32e3c157efea 12:11:50 Removing intermediate container 32e3c157efea 12:11:50 ---> 62e6ef9acb26 12:11:50 Step 25/27 : LABEL arch=arm64 12:11:50 ---> Running in 67cff700bd7d 12:11:50 Removing intermediate container 67cff700bd7d 12:11:50 ---> 1b537630422c 12:11:50 Step 26/27 : LABEL git_sha=7fc0fd84b50641cc55bcc100f7d0186ca88febb5 12:11:50 ---> Running in 47cfc30166ac 12:11:50 Removing intermediate container 47cfc30166ac 12:11:50 ---> b9e25111cce6 12:11:50 Step 27/27 : LABEL version=0.0.0 12:11:50 ---> Running in 7525d5ec3f0f 12:11:50 Removing intermediate container 7525d5ec3f0f 12:11:50 ---> 6ee93d0d85f3 12:11:50 [Warning] One or more build-args [ARCH] were not consumed 12:11:50 Successfully built 6ee93d0d85f3 12:11:50 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:11:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:11:50 12:11:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 12:11:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:11:51 arm64: Pulling from edgex-lftools-log-publisher 12:11:51 8998bd30e6a1: Pulling fs layer 12:11:51 04944245beec: Pulling fs layer 12:11:51 699f458cf7ca: Pulling fs layer 12:11:51 765212b225bb: Pulling fs layer 12:11:51 f23df028b6ca: Pulling fs layer 12:11:51 d65c8cfc05b1: Pulling fs layer 12:11:51 2437ff75d9bd: Pulling fs layer 12:11:51 f23df028b6ca: Waiting 12:11:51 d65c8cfc05b1: Waiting 12:11:51 2437ff75d9bd: Waiting 12:11:51 765212b225bb: Waiting 12:11:51 04944245beec: Verifying Checksum 12:11:51 04944245beec: Download complete 12:11:51 765212b225bb: Download complete 12:11:51 f23df028b6ca: Verifying Checksum 12:11:51 f23df028b6ca: Download complete 12:11:51 d65c8cfc05b1: Verifying Checksum 12:11:51 d65c8cfc05b1: Download complete 12:11:51 699f458cf7ca: Verifying Checksum 12:11:51 699f458cf7ca: Download complete 12:11:51 8998bd30e6a1: Verifying Checksum 12:11:51 8998bd30e6a1: Download complete 12:11:54 2437ff75d9bd: Verifying Checksum 12:11:54 2437ff75d9bd: Download complete 12:11:56 8998bd30e6a1: Pull complete 12:11:56 04944245beec: Pull complete 12:11:58 699f458cf7ca: Pull complete 12:11:58 765212b225bb: Pull complete 12:11:58 f23df028b6ca: Pull complete 12:11:59 d65c8cfc05b1: Pull complete 12:12:14 2437ff75d9bd: Pull complete 12:12:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:12:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:12:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 12:12:14 prd-ubuntu20.04-docker-arm64-4c-16g-33655 does not seem to be running inside a container 12:12:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:12:17 $ docker top 89adefd70fe466cb3efef48799378bec6f03c83c1c484d9f48f0bfd5c59cd18d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:12:18 ---> job-cost.sh 12:12:18 lf-activate-venv: SKIPPING 12:12:18 INFO: No Stack... 12:12:18 INFO: Retrieving Pricing Info for: v3-standard-4 12:12:19 INFO: Archiving Costs [Pipeline] sh 12:12:20 + + cut -d,cat -f6 /w/workspace/app-service-configurable/1/archives/cost.csv 12:12:20 [Pipeline] lock 12:12:20 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-414-1-stack-cost] 12:12:20 Resource [jenkins-edgexfoundry-app-service-configurable-PR-414-1-stack-cost] did not exist. Created. 12:12:20 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-414-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:12:20 /w/workspace/app-service-configurable/1@tmp/durable-32d4a65d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:12:21 + echo total: 0.10999999940395355 [Pipeline] stash 12:12:21 Warning: overwriting stash ‘stack-cost’ 12:12:21 Stashed 1 file(s) [Pipeline] } 12:12:21 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-414-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:12:21 $ docker stop --time=1 89adefd70fe466cb3efef48799378bec6f03c83c1c484d9f48f0bfd5c59cd18d 12:12:23 $ docker rm -f 89adefd70fe466cb3efef48799378bec6f03c83c1c484d9f48f0bfd5c59cd18d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 12:12:24 provisioning config files... 12:12:24 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-414@tmp/config8104426163671133673tmp [Pipeline] { [Pipeline] sh 12:12:24 + set +x 12:12:24 + + curl -sbash https://codecov.io/bash -s 12:12:24 -- 12:12:24 12:12:24 _____ _ 12:12:24 / ____| | | 12:12:24 | | ___ __| | ___ ___ _____ __ 12:12:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:12:24 | |___| (_) | (_| | __/ (_| (_) \ V / 12:12:24 \_____\___/ \__,_|\___|\___\___/ \_/ 12:12:24 Bash-1.0.6 12:12:24 12:12:24 12:12:24 ==> git version 2.25.1 found 12:12:24 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 12:12:24 Release-Date: 2020-01-08 12:12:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:12:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:12:24 ==> Jenkins CI detected. 12:12:24 current dir:  /w/workspace/_app-service-configurable_PR-414 12:12:24 project root: . 12:12:24 --> token set from env 12:12:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:12:24 ==> Running gcov in . (disable via -X gcov) 12:12:24 ==> Python coveragepy not found 12:12:24 ==> Searching for coverage reports in: 12:12:24 + . 12:12:24 -> Found 1 reports 12:12:24 ==> Detecting git/mercurial file structure 12:12:24 ==> Reading reports 12:12:24 + ./coverage.out bytes=10 12:12:24 ==> Appending adjustments 12:12:24 https://docs.codecov.io/docs/fixing-reports 12:12:24 + Found adjustments 12:12:24 ==> Gzipping contents 12:12:24 4.0K /tmp/codecov.VeED8v.gz 12:12:24 ==> Uploading reports 12:12:24 url: https://codecov.io 12:12:24 query: branch=PR-414&commit=7fc0fd84b50641cc55bcc100f7d0186ca88febb5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-414%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=414&job=&cmd_args= 12:12:24 -> Pinging Codecov 12:12:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-414&commit=7fc0fd84b50641cc55bcc100f7d0186ca88febb5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-414%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=414&job=&cmd_args= 12:12:25 -> Uploading to 12:12:25 https://storage.googleapis.com/codecov/v4/raw/2022-04-28/A97CA9966030D2A3747ED39772930CCE/7fc0fd84b50641cc55bcc100f7d0186ca88febb5/82aa3ba6-c065-4bb5-98d3-6fd2ef7676c0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220428%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220428T121225Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=442394a00458683de016578fb152b3739cb178e54e7cfdb90cde1dbc58793fc8 12:12:25 % Total % Received % Xferd Average Speed Time Time Time Current 12:12:25 Dload Upload Total Spent Left Speed 12:12:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 592 0 0 100 592 0 1832 --:--:-- --:--:-- --:--:-- 1827 12:12:25 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/7fc0fd84b50641cc55bcc100f7d0186ca88febb5 [Pipeline] } 12:12:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 12:12:27 + [ -d /w/workspace/_app-service-configurable_PR-414/archives ] 12:12:27 + ls -al /w/workspace/_app-service-configurable_PR-414/archives 12:12:27 total 16 12:12:27 drwxr-xr-x 3 root root 4096 Apr 28 12:05 . 12:12:27 drwxrwxr-x 9 jenkins jenkins 4096 Apr 28 12:05 .. 12:12:27 drwxr-xr-x 2 root root 4096 Apr 28 12:05 cost 12:12:27 -rw-r--r-- 1 root root 95 Apr 28 12:05 cost.csv 12:12:27 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-414/archives 12:12:27 + ls -al /w/workspace/_app-service-configurable_PR-414/archives 12:12:27 total 16 12:12:27 drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 12:05 . 12:12:27 drwxrwxr-x 9 jenkins jenkins 4096 Apr 28 12:05 .. 12:12:27 drwxr-xr-x 2 jenkins jenkins 4096 Apr 28 12:05 cost 12:12:27 -rw-r--r-- 1 jenkins jenkins 95 Apr 28 12:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:12:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:12:28 ---> package-listing.sh 12:12:28 ++ facter osfamily 12:12:28 ++ tr '[:upper:]' '[:lower:]' 12:12:28 + OS_FAMILY=debian 12:12:28 + workspace=/w/workspace/_app-service-configurable_PR-414 12:12:28 + START_PACKAGES=/tmp/packages_start.txt 12:12:28 + END_PACKAGES=/tmp/packages_end.txt 12:12:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:12:28 + PACKAGES=/tmp/packages_start.txt 12:12:28 + '[' /w/workspace/_app-service-configurable_PR-414 ']' 12:12:28 + PACKAGES=/tmp/packages_end.txt 12:12:28 + case "${OS_FAMILY}" in 12:12:28 + dpkg -l 12:12:28 + grep '^ii' 12:12:28 + '[' -f /tmp/packages_start.txt ']' 12:12:28 + '[' -f /tmp/packages_end.txt ']' 12:12:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:12:28 + '[' /w/workspace/_app-service-configurable_PR-414 ']' 12:12:28 + mkdir -p /w/workspace/_app-service-configurable_PR-414/archives/ 12:12:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-414/archives/ [Pipeline] echo 12:12:28 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-414/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:12:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:12:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:12:29 . [Pipeline] withDockerContainer 12:12:29 prd-ubuntu20.04-docker-8c-8g-33653 does not seem to be running inside a container 12:12:29 $ 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-414/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-414 -v /w/workspace/_app-service-configurable_PR-414:/w/workspace/_app-service-configurable_PR-414:rw,z -v /w/workspace/_app-service-configurable_PR-414@tmp:/w/workspace/_app-service-configurable_PR-414@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:12:30 $ docker top 79a9e5553809d2021c1d48c1f3938914384f3be3052ece9db677448c40c0a4b1 -eo pid,comm [Pipeline] { [Pipeline] sh 12:12:30 + touch /tmp/pre-build-complete [Pipeline] sh 12:12:30 + mkdir -p /var/log/sysstat [Pipeline] sh 12:12:31 + ls /var/log/sa-host 12:12:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:12:31 provisioning config files... 12:12:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-414@tmp/config1775107852804811073tmp [Pipeline] { [Pipeline] echo 12:12:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:12:31 ---> create-netrc.sh [Pipeline] } 12:12:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:12:32 ---> python-tools-install.sh [Pipeline] echo 12:12:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:12:32 ---> sudo-logs.sh 12:12:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:12:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:12:33 ---> job-cost.sh 12:12:33 lf-activate-venv: SKIPPING 12:12:33 DEBUG: total: 0.2199999988079071 12:12:33 INFO: Retrieving Stack Cost... 12:12:33 INFO: Retrieving Pricing Info for: v3-standard-8 12:12:33 INFO: Archiving Costs [Pipeline] echo 12:12:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:12:34 ---> logs-deploy.sh 12:12:34 lf-activate-venv: SKIPPING 12:12:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-414/1 12:12:34 INFO: archiving workspace using pattern(s): 12:12:35 Archives upload complete. 12:12:35 INFO: archiving logs to Nexus