Pull request #439 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 66416355948d159e38eefac8fe1b66d4e0740226+bef66582781e37064d6dec61ab318c5dd11da733 (6627d2e0b24c5f5656971b13ed026da6f332595f) 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-ssh5377456029016552383.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh2702013591213735633.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-439/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # 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-439/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1801239618832127583.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-439/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12256752845158988093.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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 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-ssh1460781862884051384.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-439/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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-439/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4616277841488876254.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-17139 in /w/workspace/_app-service-configurable_PR-439 [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-439 # 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 bef66582781e37064d6dec61ab318c5dd11da733 into PR head commit 66416355948d159e38eefac8fe1b66d4e0740226 Merge succeeded, producing 66416355948d159e38eefac8fe1b66d4e0740226 Checking out Revision 66416355948d159e38eefac8fe1b66d4e0740226 (PR-439) > 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/439/head:refs/remotes/origin/PR-439 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 66416355948d159e38eefac8fe1b66d4e0740226 # 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 bef66582781e37064d6dec61ab318c5dd11da733 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 66416355948d159e38eefac8fe1b66d4e0740226 # 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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:05:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:05:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:05:10 ========================================================= 12:05:10 EdgeX Global Pipelines Version Info 12:05:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:05:11 ------------------- 12:05:11 stable info: 12:05:11 ------------------- 12:05:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:05:11 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 12:05:11 Message: update stable to v1.0.234 12:05:12 ------------------- 12:05:12 experimental info: 12:05:12 ------------------- 12:05:12 Commited By: **** collab-it+edgex@linuxfoundation.org 12:05:12 Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 12:05:12 Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:05:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:05:12 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:05:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:05:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:05:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:05:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:05:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:05:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:05:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:05:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:05:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:05:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:05:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:05:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:05:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:05:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:05:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:05:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:05:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:05:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:05:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:05:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:05:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:05:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:05:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:05:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:05:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:05:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-439 [Pipeline] echo 12:05:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-439 [Pipeline] echo 12:05:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-439 [Pipeline] echo 12:05:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 66416355948d159e38eefac8fe1b66d4e0740226 [Pipeline] echo 12:05:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6641635 [Pipeline] echo 12:05:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:05:13 provisioning config files... 12:05:13 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-439@tmp/config4998903666110916676tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:05:14 ---> docker-login.sh 12:05:14 nexus3.edgexfoundry.org:10001 12:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:14 Configure a credential helper to remove this warning. See 12:05:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:14 12:05:14 Login Succeeded 12:05:14 nexus3.edgexfoundry.org:10002 12:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:14 Configure a credential helper to remove this warning. See 12:05:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:14 12:05:14 Login Succeeded 12:05:14 nexus3.edgexfoundry.org:10003 12:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:14 Configure a credential helper to remove this warning. See 12:05:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:14 12:05:14 Login Succeeded 12:05:14 nexus3.edgexfoundry.org:10004 12:05:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:15 Configure a credential helper to remove this warning. See 12:05:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:15 12:05:15 Login Succeeded 12:05:15 docker.io 12:05:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:15 Configure a credential helper to remove this warning. See 12:05:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:15 12:05:15 Login Succeeded 12:05:15 ---> docker-login.sh ends [Pipeline] } 12:05:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:05:16 + git rev-list -1 --merges 66416355948d159e38eefac8fe1b66d4e0740226~1..66416355948d159e38eefac8fe1b66d4e0740226 [Pipeline] echo 12:05:16 -----------> git rev-list -1 --merges 66416355948d159e38eefac8fe1b66d4e0740226~1..66416355948d159e38eefac8fe1b66d4e0740226 66416355948d159e38eefac8fe1b66d4e0740226 [false] [Pipeline] sh 12:05:16 + git log --format=format:%s -1 66416355948d159e38eefac8fe1b66d4e0740226 [Pipeline] echo 12:05:16 ========================================================= 12:05:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:05:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:05:17 + git log --format=format:%s -1 66416355948d159e38eefac8fe1b66d4e0740226 [Pipeline] echo 12:05:17 [semverPrep] GIT_COMMIT: 66416355948d159e38eefac8fe1b66d4e0740226, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo 12:05:17 [semverPrep] This is not a build commit. [Pipeline] sh 12:05:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:05:17 + grep -v github /etc/ssh/ssh_known_hosts 12:05:17 + [ -e /tmp/ssh_known_hosts ] 12:05:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:05:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:05:17 + sudo tee -a /etc/ssh/ssh_known_hosts 12:05:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:05:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:05:18 12:05:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:05:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:05:18 0.1.4: Pulling from edgex-devops/py-git-semver 12:05:18 42c077c10790: Pulling fs layer 12:05:18 f63e77b7563a: Pulling fs layer 12:05:18 bd5fdadae976: Pulling fs layer 12:05:18 205491f53016: Pulling fs layer 12:05:18 df18705c85c3: Pulling fs layer 12:05:18 bdb3f477010e: Pulling fs layer 12:05:18 c8a8fc8e1c8f: Pulling fs layer 12:05:18 2c6e9b1d212d: Pulling fs layer 12:05:18 bdb8f0575790: Pulling fs layer 12:05:18 386e3cb2ff24: Pulling fs layer 12:05:18 2343380bae48: Pulling fs layer 12:05:18 386e3cb2ff24: Waiting 12:05:18 205491f53016: Waiting 12:05:18 2c6e9b1d212d: Waiting 12:05:18 df18705c85c3: Waiting 12:05:18 bdb3f477010e: Waiting 12:05:18 bdb8f0575790: Waiting 12:05:18 c8a8fc8e1c8f: Waiting 12:05:18 f63e77b7563a: Download complete 12:05:18 205491f53016: Verifying Checksum 12:05:18 205491f53016: Download complete 12:05:18 df18705c85c3: Verifying Checksum 12:05:18 df18705c85c3: Download complete 12:05:18 bdb3f477010e: Verifying Checksum 12:05:18 bdb3f477010e: Download complete 12:05:18 bd5fdadae976: Verifying Checksum 12:05:18 bd5fdadae976: Download complete 12:05:18 2c6e9b1d212d: Download complete 12:05:18 bdb8f0575790: Verifying Checksum 12:05:18 bdb8f0575790: Download complete 12:05:18 386e3cb2ff24: Verifying Checksum 12:05:18 386e3cb2ff24: Download complete 12:05:18 2343380bae48: Verifying Checksum 12:05:18 2343380bae48: Download complete 12:05:18 42c077c10790: Verifying Checksum 12:05:18 42c077c10790: Download complete 12:05:19 c8a8fc8e1c8f: Verifying Checksum 12:05:19 c8a8fc8e1c8f: Download complete 12:05:20 42c077c10790: Pull complete 12:05:20 f63e77b7563a: Pull complete 12:05:21 bd5fdadae976: Pull complete 12:05:21 205491f53016: Pull complete 12:05:21 df18705c85c3: Pull complete 12:05:21 bdb3f477010e: Pull complete 12:05:23 c8a8fc8e1c8f: Pull complete 12:05:23 2c6e9b1d212d: Pull complete 12:05:23 bdb8f0575790: Pull complete 12:05:23 386e3cb2ff24: Pull complete 12:05:23 2343380bae48: Pull complete 12:05:23 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 12:05:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:05:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:05:24 prd-ubuntu20.04-docker-8c-8g-17139 does not seem to be running inside a container 12:05:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-439 -v /w/workspace/_app-service-configurable_PR-439:/w/workspace/_app-service-configurable_PR-439:rw,z -v /w/workspace/_app-service-configurable_PR-439@tmp:/w/workspace/_app-service-configurable_PR-439@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:05:25 $ docker top c71af721024a88e756a7a988af53e9516cc8c89964402de500372356c260eb30 -eo pid,comm 12:05:25 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:05:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:05:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:05:25 [ssh-agent] Looking for ssh-agent implementation... 12:05:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:05:25 $ docker exec c71af721024a88e756a7a988af53e9516cc8c89964402de500372356c260eb30 ssh-agent 12:05:25 SSH_AUTH_SOCK=/tmp/ssh-5MbBHquWERZa/agent.35 12:05:25 SSH_AGENT_PID=41 12:05:25 Running ssh-add (command line suppressed) 12:05:26 Identity added: /w/workspace/_app-service-configurable_PR-439@tmp/private_key_9030083271994634670.key (/w/workspace/_app-service-configurable_PR-439@tmp/private_key_9030083271994634670.key) 12:05:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:05:26 + git tag --points-at HEAD [Pipeline] } 12:05:26 $ docker exec --env ******** --env ******** c71af721024a88e756a7a988af53e9516cc8c89964402de500372356c260eb30 ssh-agent -k 12:05:26 unset SSH_AUTH_SOCK; 12:05:26 unset SSH_AGENT_PID; 12:05:26 echo Agent pid 41 killed; 12:05:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:05:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:05:26 [ssh-agent] Looking for ssh-agent implementation... 12:05:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:05:26 $ docker exec c71af721024a88e756a7a988af53e9516cc8c89964402de500372356c260eb30 ssh-agent 12:05:26 SSH_AUTH_SOCK=/tmp/ssh-025Uz3yBWNIG/agent.74 12:05:26 SSH_AGENT_PID=81 12:05:26 Running ssh-add (command line suppressed) 12:05:27 Identity added: /w/workspace/_app-service-configurable_PR-439@tmp/private_key_2097612367140049363.key (/w/workspace/_app-service-configurable_PR-439@tmp/private_key_2097612367140049363.key) 12:05:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:05:27 + git semver init 12:05:27 2022-07-07 12:05:27,631 [run_init] DEBUG init version:0.0.0 force:False 12:05:27 2022-07-07 12:05:27,632 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-439/.semver 12:05:27 2022-07-07 12:05:27,633 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-439/.semver 12:05:27 2022-07-07 12:05:27,633 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-439/.semver'], cwd=/w/workspace/_app-service-configurable_PR-439, universal_newlines=False, shell=None, istream=None) 12:05:28 2022-07-07 12:05:28,338 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-439/.git/info/exclude 12:05:28 2022-07-07 12:05:28,339 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-439/.semver/PR-439 with force:False 12:05:28 2022-07-07 12:05:28,339 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-439/.semver/PR-439 12:05:28 2022-07-07 12:05:28,343 [execute] INFO git cat-file --batch-check 12:05:28 2022-07-07 12:05:28,344 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-439/.semver, universal_newlines=False, shell=None, istream=) 12:05:28 2022-07-07 12:05:28,350 [execute] INFO git cat-file --batch 12:05:28 2022-07-07 12:05:28,351 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-439/.semver, universal_newlines=False, shell=None, istream=) 12:05:28 2022-07-07 12:05:28,356 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-439/.semver/PR-439 12:05:28 0.0.0 [Pipeline] } 12:05:28 $ docker exec --env ******** --env ******** c71af721024a88e756a7a988af53e9516cc8c89964402de500372356c260eb30 ssh-agent -k 12:05:28 unset SSH_AUTH_SOCK; 12:05:28 unset SSH_AGENT_PID; 12:05:28 echo Agent pid 81 killed; 12:05:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:05:29 + git semver [Pipeline] } 12:05:29 $ docker stop --time=1 c71af721024a88e756a7a988af53e9516cc8c89964402de500372356c260eb30 12:05:30 $ docker rm -f c71af721024a88e756a7a988af53e9516cc8c89964402de500372356c260eb30 [Pipeline] // withDockerContainer [Pipeline] sh 12:05:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:05:31 Stashed 1 file(s) [Pipeline] echo 12:05:31 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:05:32 provisioning config files... 12:05:32 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-439@tmp/config5865273393981034781tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:05:32 ---> docker-login.sh 12:05:32 nexus3.edgexfoundry.org:10001 12:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:32 Configure a credential helper to remove this warning. See 12:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:32 12:05:32 Login Succeeded 12:05:32 nexus3.edgexfoundry.org:10002 12:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:32 Configure a credential helper to remove this warning. See 12:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:32 12:05:32 Login Succeeded 12:05:32 nexus3.edgexfoundry.org:10003 12:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:32 Configure a credential helper to remove this warning. See 12:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:32 12:05:32 Login Succeeded 12:05:32 nexus3.edgexfoundry.org:10004 12:05:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:33 Configure a credential helper to remove this warning. See 12:05:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:33 12:05:33 Login Succeeded 12:05:33 docker.io 12:05:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:33 Configure a credential helper to remove this warning. See 12:05:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:33 12:05:33 Login Succeeded 12:05:33 ---> docker-login.sh ends [Pipeline] } 12:05:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:05:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:05:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:05:33 ========================================================= 12:05:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:05:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:05:34 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 12:05:34 Sending build context to Docker daemon 3.102MB 12:05:34 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 12:05:34 Step 2/13 : FROM ${BASE} AS builder 12:05:34 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:05:34 59bf1c3509f3: Pulling fs layer 12:05:34 666ba61612fd: Pulling fs layer 12:05:34 8ed8ca486205: Pulling fs layer 12:05:34 cc1cd167ecdc: Pulling fs layer 12:05:34 c516ae0d96e1: Pulling fs layer 12:05:34 684cea983483: Pulling fs layer 12:05:34 dd3240ac7de5: Pulling fs layer 12:05:34 b1e948a4e11c: Pulling fs layer 12:05:34 cc1cd167ecdc: Waiting 12:05:34 a8fd76ee1af6: Pulling fs layer 12:05:34 646ad004c059: Pulling fs layer 12:05:34 c516ae0d96e1: Waiting 12:05:34 684cea983483: Waiting 12:05:34 dd3240ac7de5: Waiting 12:05:34 646ad004c059: Waiting 12:05:34 b1e948a4e11c: Waiting 12:05:34 a8fd76ee1af6: Waiting 12:05:34 8ed8ca486205: Verifying Checksum 12:05:34 8ed8ca486205: Download complete 12:05:34 666ba61612fd: Verifying Checksum 12:05:34 666ba61612fd: Download complete 12:05:34 c516ae0d96e1: Verifying Checksum 12:05:34 c516ae0d96e1: Download complete 12:05:34 684cea983483: Verifying Checksum 12:05:34 684cea983483: Download complete 12:05:34 59bf1c3509f3: Verifying Checksum 12:05:34 59bf1c3509f3: Download complete 12:05:34 dd3240ac7de5: Verifying Checksum 12:05:34 dd3240ac7de5: Download complete 12:05:34 b1e948a4e11c: Verifying Checksum 12:05:34 b1e948a4e11c: Download complete 12:05:34 59bf1c3509f3: Pull complete 12:05:34 666ba61612fd: Pull complete 12:05:34 8ed8ca486205: Pull complete 12:05:34 646ad004c059: Verifying Checksum 12:05:34 646ad004c059: Download complete 12:05:34 a8fd76ee1af6: Verifying Checksum 12:05:34 a8fd76ee1af6: Download complete 12:05:34 cc1cd167ecdc: Verifying Checksum 12:05:34 cc1cd167ecdc: Download complete 12:05:39 cc1cd167ecdc: Pull complete 12:05:39 c516ae0d96e1: Pull complete 12:05:39 684cea983483: Pull complete 12:05:39 dd3240ac7de5: Pull complete 12:05:39 b1e948a4e11c: Pull complete 12:05:41 a8fd76ee1af6: Pull complete 12:05:42 646ad004c059: Pull complete 12:05:42 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 12:05:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:05:42 ---> 8f69c11f6b0c 12:05:42 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:05:43 ---> Running in 0c91d171ddfa 12:05:44 Removing intermediate container 0c91d171ddfa 12:05:44 ---> 61a78b179fde 12:05:44 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 12:05:44 ---> Running in fc5b46fff98a 12:05:44 Removing intermediate container fc5b46fff98a 12:05:44 ---> 817ad29545d3 12:05:44 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:05:44 ---> Running in e20c24b95d07 12:05:44 Removing intermediate container e20c24b95d07 12:05:44 ---> ceef0b826f67 12:05:44 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:05:44 ---> Running in 9656b596d3c0 12:05:44 Removing intermediate container 9656b596d3c0 12:05:44 ---> 64d1833644aa 12:05:44 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:05:44 ---> Running in 8eaf512fc5b8 12:05:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:05:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:05:46 OK: 221 MiB in 52 packages 12:05:46 Removing intermediate container 8eaf512fc5b8 12:05:46 ---> c58812d0b3d3 12:05:46 Step 8/13 : WORKDIR /app 12:05:46 ---> Running in de1ad585287a 12:05:46 Removing intermediate container de1ad585287a 12:05:46 ---> 41fe532dfe1d 12:05:46 Step 9/13 : COPY go.mod vendor* ./ 12:05:47 Still waiting to schedule task 12:05:47 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:05:47 ---> cced3054c2df 12:05:47 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:05:47 ---> Running in 003c3bde99dd 12:06:05 Removing intermediate container 003c3bde99dd 12:06:05 ---> 12f70a8b0e86 12:06:05 Step 11/13 : COPY . . 12:06:05 ---> f96dd5ef3776 12:06:05 Step 12/13 : ARG MAKE="make build" 12:06:05 ---> Running in 3ef9b63ebc94 12:06:05 Removing intermediate container 3ef9b63ebc94 12:06:05 ---> 0659a1718e6d 12:06:05 Step 13/13 : RUN $MAKE 12:06:05 ---> Running in 3a972995465f 12:06:05 noop 12:06:05 Removing intermediate container 3a972995465f 12:06:05 ---> e9ce087be9d9 12:06:05 Successfully built e9ce087be9d9 12:06:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:06:05 + docker inspect -f . ci-base-image-x86_64 12:06:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:06:05 prd-ubuntu20.04-docker-8c-8g-17139 does not seem to be running inside a container 12:06:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-439 -v /w/workspace/_app-service-configurable_PR-439:/w/workspace/_app-service-configurable_PR-439:rw,z -v /w/workspace/_app-service-configurable_PR-439@tmp:/w/workspace/_app-service-configurable_PR-439@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 ******** -e ******** ci-base-image-x86_64 cat 12:06:06 $ docker top aeb18f93f53f54f31871b045086bd165b8eea61cf9bb6fc67cb28e7947018644 -eo pid,comm [Pipeline] { [Pipeline] sh 12:06:06 + go version 12:06:06 go version go1.17.7 linux/amd64 [Pipeline] } 12:06:06 $ docker stop --time=1 aeb18f93f53f54f31871b045086bd165b8eea61cf9bb6fc67cb28e7947018644 12:06:08 $ docker rm -f aeb18f93f53f54f31871b045086bd165b8eea61cf9bb6fc67cb28e7947018644 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:06:08 + docker inspect -f . ci-base-image-x86_64 12:06:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:06:09 prd-ubuntu20.04-docker-8c-8g-17139 does not seem to be running inside a container 12:06:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-439 -v /w/workspace/_app-service-configurable_PR-439:/w/workspace/_app-service-configurable_PR-439:rw,z -v /w/workspace/_app-service-configurable_PR-439@tmp:/w/workspace/_app-service-configurable_PR-439@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 ******** -e ******** ci-base-image-x86_64 cat 12:06:09 $ docker top 001931e4c157cbc376936bd104ed855f7e52c0430da7706293edadea5fe890ec -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:06:10 + make test 12:06:10 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 12:06:19 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:06:19 CGO_ENABLED=1 go vet ./... 12:06:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:06:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:06:24 ./bin/test-attribution-txt.sh 12:06:24 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [Pipeline] echo 12:06:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:06:24 $ docker stop --time=1 001931e4c157cbc376936bd104ed855f7e52c0430da7706293edadea5fe890ec 12:06:25 $ docker rm -f 001931e4c157cbc376936bd104ed855f7e52c0430da7706293edadea5fe890ec [Pipeline] // withDockerContainer [Pipeline] sh 12:06:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:06:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:06:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:06:27 + ls -al . 12:06:27 total 168 12:06:27 drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 12:06 . 12:06:27 drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 12:05 .. 12:06:27 -rw-rw-r-- 1 jenkins jenkins 119 Jul 7 12:05 .dockerignore 12:06:27 drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 12:05 .git 12:06:27 drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 12:05 .github 12:06:27 -rw-rw-r-- 1 jenkins jenkins 104 Jul 7 12:05 .gitignore 12:06:27 drwxr-xr-x 3 jenkins jenkins 4096 Jul 7 12:05 .semver 12:06:27 -rw-rw-r-- 1 jenkins jenkins 8698 Jul 7 12:05 Attribution.txt 12:06:27 -rw-rw-r-- 1 jenkins jenkins 27269 Jul 7 12:05 CHANGELOG.md 12:06:27 -rw-rw-r-- 1 jenkins jenkins 2087 Jul 7 12:05 Dockerfile 12:06:27 -rw-rw-r-- 1 jenkins jenkins 677 Jul 7 12:05 GOVERNANCE.md 12:06:27 -rw-rw-r-- 1 jenkins jenkins 688 Jul 7 12:05 Jenkinsfile 12:06:27 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 7 12:05 LICENSE 12:06:27 -rw-rw-r-- 1 jenkins jenkins 618 Jul 7 12:05 OWNERS.md 12:06:27 -rw-rw-r-- 1 jenkins jenkins 3718 Jul 7 12:05 README.md 12:06:27 -rw-rw-r-- 1 jenkins jenkins 5 Jul 7 12:05 VERSION 12:06:27 drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 12:05 bin 12:06:27 -rw-r--r-- 1 jenkins jenkins 10 Jul 7 12:06 coverage.out 12:06:27 -rw-rw-r-- 1 jenkins jenkins 3336 Jul 7 12:05 go.mod 12:06:27 -rw-rw-r-- 1 jenkins jenkins 36618 Jul 7 12:05 go.sum 12:06:27 -rw-rw-r-- 1 jenkins jenkins 1949 Jul 7 12:05 main.go 12:06:27 -rw-rw-r-- 1 jenkins jenkins 1972 Jul 7 12:05 makefile 12:06:27 drwxrwxr-x 10 jenkins jenkins 4096 Jul 7 12:05 res 12:06:27 drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 12:05 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:06:27 + 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=66416355948d159e38eefac8fe1b66d4e0740226 --label arch=amd64 --label version=0.0.0 . 12:06:27 Sending build context to Docker daemon 3.103MB 12:06:27 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 12:06:27 Step 2/27 : FROM ${BASE} AS builder 12:06:27 ---> e9ce087be9d9 12:06:27 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:06:27 ---> Running in d04fc48c290b 12:06:28 Removing intermediate container d04fc48c290b 12:06:28 ---> 4303a1e090e3 12:06:28 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:06:28 ---> Running in 790a64709a3a 12:06:28 Removing intermediate container 790a64709a3a 12:06:28 ---> 2bfb8923388b 12:06:28 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:06:28 ---> Running in 7c8175a997eb 12:06:28 Removing intermediate container 7c8175a997eb 12:06:28 ---> dab58590057f 12:06:28 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:06:28 ---> Running in 349c40d981d7 12:06:28 Removing intermediate container 349c40d981d7 12:06:28 ---> 46e83eaf7144 12:06:28 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:06:28 ---> Running in e5756c115563 12:06:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:06:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:06:30 OK: 221 MiB in 52 packages 12:06:30 Removing intermediate container e5756c115563 12:06:30 ---> 2453a2a29bfc 12:06:30 Step 8/27 : WORKDIR /app 12:06:30 ---> Running in 5b15612b7e3e 12:06:30 Removing intermediate container 5b15612b7e3e 12:06:30 ---> 2861d321117b 12:06:30 Step 9/27 : COPY go.mod vendor* ./ 12:06:30 ---> 5abaaf43db14 12:06:30 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:06:31 ---> Running in 27a0c82357ad 12:06:31 Removing intermediate container 27a0c82357ad 12:06:31 ---> 7fbf2f892581 12:06:31 Step 11/27 : COPY . . 12:06:32 ---> 94d00b812e66 12:06:32 Step 12/27 : ARG MAKE="make build" 12:06:32 ---> Running in d1345d825033 12:06:32 Removing intermediate container d1345d825033 12:06:32 ---> c483a667a12c 12:06:32 Step 13/27 : RUN $MAKE 12:06:32 ---> Running in f64bc90b937d 12:06:32 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.1-dev.18 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 12:06:54 Removing intermediate container f64bc90b937d 12:06:54 ---> 43f17d1b3002 12:06:54 Step 14/27 : FROM alpine:3.14 12:06:54 3.14: Pulling from library/alpine 12:06:54 8663204ce13b: Pulling fs layer 12:06:54 8663204ce13b: Verifying Checksum 12:06:54 8663204ce13b: Download complete 12:06:54 8663204ce13b: Pull complete 12:06:54 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:06:54 Status: Downloaded newer image for alpine:3.14 12:06:54 ---> e04c818066af 12:06:54 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:06:54 ---> Running in c53804c28a5e 12:06:54 Removing intermediate container c53804c28a5e 12:06:54 ---> f0f677ad2e72 12:06:54 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:06:54 ---> Running in 4304741404c1 12:06:54 Removing intermediate container 4304741404c1 12:06:54 ---> 451d3ba20a26 12:06:54 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 12:06:54 ---> Running in 2627ea640b80 12:06:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 12:06:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 12:06:54 (1/7) Installing ca-certificates (20211220-r0) 12:06:54 (2/7) Installing dumb-init (1.2.5-r1) 12:06:54 (3/7) Installing libgcc (10.3.1_git20210424-r2) 12:06:54 (4/7) Installing libsodium (1.0.18-r0) 12:06:54 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 12:06:54 (6/7) Installing libzmq (4.3.4-r0) 12:06:54 (7/7) Installing zeromq (4.3.4-r0) 12:06:54 Executing busybox-1.33.1-r7.trigger 12:06:54 Executing ca-certificates-20211220-r0.trigger 12:06:54 OK: 9 MiB in 21 packages 12:06:54 Removing intermediate container 2627ea640b80 12:06:54 ---> 4f2633252997 12:06:54 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:06:54 ---> 5e8afb462136 12:06:54 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:06:54 ---> 3676e6f32ac0 12:06:54 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:06:54 ---> 0dba112518ca 12:06:54 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:06:54 ---> 5f7e08e148d1 12:06:54 Step 22/27 : EXPOSE 48095 12:06:55 ---> Running in 42055bdbde32 12:06:55 Removing intermediate container 42055bdbde32 12:06:55 ---> c329a9609466 12:06:55 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:06:55 ---> Running in 689354a5727c 12:06:55 Removing intermediate container 689354a5727c 12:06:55 ---> c4a04106ba9b 12:06:55 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:06:55 ---> Running in dc041d644875 12:06:55 Removing intermediate container dc041d644875 12:06:55 ---> 2db2cc9a9f8f 12:06:55 Step 25/27 : LABEL arch=amd64 12:06:55 ---> Running in 72bbf0bd6bb1 12:06:55 Removing intermediate container 72bbf0bd6bb1 12:06:55 ---> 3b44cce2d981 12:06:55 Step 26/27 : LABEL git_sha=66416355948d159e38eefac8fe1b66d4e0740226 12:06:55 ---> Running in cc04fcb80e75 12:06:55 Removing intermediate container cc04fcb80e75 12:06:55 ---> e7efd87ecfc1 12:06:55 Step 27/27 : LABEL version=0.0.0 12:06:55 ---> Running in 17f9b24b15d1 12:06:55 Removing intermediate container 17f9b24b15d1 12:06:55 ---> 82913c332c25 12:06:55 [Warning] One or more build-args [ARCH] were not consumed 12:06:55 Successfully built 82913c332c25 12:06:55 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 12:06:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:06:56 12:06:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:06:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:06:56 latest: Pulling from edgex-lftools-log-publisher 12:06:56 5eb5b503b376: Pulling fs layer 12:06:56 5c69ac0246d0: Pulling fs layer 12:06:56 ec43610c2a17: Pulling fs layer 12:06:56 3a2ae6a8a46f: Pulling fs layer 12:06:56 33b1e0a273af: Pulling fs layer 12:06:56 5d3b04190fa2: Pulling fs layer 12:06:56 2f39f015ded8: Pulling fs layer 12:06:56 3a2ae6a8a46f: Waiting 12:06:56 33b1e0a273af: Waiting 12:06:56 5d3b04190fa2: Waiting 12:06:56 2f39f015ded8: Waiting 12:06:56 5c69ac0246d0: Download complete 12:06:56 3a2ae6a8a46f: Download complete 12:06:57 33b1e0a273af: Verifying Checksum 12:06:57 33b1e0a273af: Download complete 12:06:57 ec43610c2a17: Verifying Checksum 12:06:57 ec43610c2a17: Download complete 12:06:57 5d3b04190fa2: Download complete 12:06:57 5eb5b503b376: Verifying Checksum 12:06:57 5eb5b503b376: Download complete 12:06:57 2f39f015ded8: Download complete 12:06:58 5eb5b503b376: Pull complete 12:06:58 5c69ac0246d0: Pull complete 12:06:58 ec43610c2a17: Pull complete 12:06:58 3a2ae6a8a46f: Pull complete 12:06:59 33b1e0a273af: Pull complete 12:06:59 5d3b04190fa2: Pull complete 12:07:03 2f39f015ded8: Pull complete 12:07:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:07:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:07:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:07:03 prd-ubuntu20.04-docker-8c-8g-17139 does not seem to be running inside a container 12:07:03 $ 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-439 -v /w/workspace/_app-service-configurable_PR-439:/w/workspace/_app-service-configurable_PR-439:rw,z -v /w/workspace/_app-service-configurable_PR-439@tmp:/w/workspace/_app-service-configurable_PR-439@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:07:05 $ docker top 8ddba8e5b0880d7c2fe3df680be40641df683b411d5bd577b16ac3ada6559c3a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:07:06 ---> job-cost.sh 12:07:06 lf-activate-venv: SKIPPING 12:07:06 INFO: No Stack... 12:07:06 INFO: Retrieving Pricing Info for: v3-standard-8 12:07:07 INFO: Archiving Costs [Pipeline] sh 12:07:07 + cat /w/workspace/_app-service-configurable_PR-439/archives/cost.csv 12:07:07 + cut -d, -f6 [Pipeline] lock 12:07:07 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-439-1-stack-cost] 12:07:07 Resource [jenkins-edgexfoundry-app-service-configurable-PR-439-1-stack-cost] did not exist. Created. 12:07:07 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-439-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:07:07 + echo total: 0.2199999988079071 [Pipeline] stash 12:07:07 Stashed 1 file(s) [Pipeline] } 12:07:07 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-439-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:07:08 $ docker stop --time=1 8ddba8e5b0880d7c2fe3df680be40641df683b411d5bd577b16ac3ada6559c3a 12:07:09 $ docker rm -f 8ddba8e5b0880d7c2fe3df680be40641df683b411d5bd577b16ac3ada6559c3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:07:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17140 in /w/workspace/_app-service-configurable_PR-439 [Pipeline] { [Pipeline] ws 12:07:28 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:07:28 Selected Git installation does not exist. Using Default 12:07:28 The recommended git tool is: NONE 12:07:34 using credential edgex-jenkins-ssh 12:07:34 Cloning the remote Git repository 12:07:34 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:07:34 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:07:34 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:07:34 > git --version # timeout=10 12:07:34 > git --version # 'git version 2.25.1' 12:07:34 using GIT_SSH to set credentials SSH Credentials for GitHub 12:07:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:07:36 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:07:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:07:36 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:07:36 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:07:36 using GIT_SSH to set credentials SSH Credentials for GitHub 12:07:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/439/head:refs/remotes/origin/PR-439 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:07:36 Merging remotes/origin/main commit bef66582781e37064d6dec61ab318c5dd11da733 into PR head commit 66416355948d159e38eefac8fe1b66d4e0740226 12:07:36 Merge succeeded, producing 66416355948d159e38eefac8fe1b66d4e0740226 12:07:36 Checking out Revision 66416355948d159e38eefac8fe1b66d4e0740226 (PR-439) 12:07:36 > git config core.sparsecheckout # timeout=10 12:07:36 > git checkout -f 66416355948d159e38eefac8fe1b66d4e0740226 # timeout=10 12:07:36 > git remote # timeout=10 12:07:36 > git config --get remote.origin.url # timeout=10 12:07:36 using GIT_SSH to set credentials SSH Credentials for GitHub 12:07:36 > git merge bef66582781e37064d6dec61ab318c5dd11da733 # timeout=10 12:07:36 > git rev-parse HEAD^{commit} # timeout=10 12:07:36 > git config core.sparsecheckout # timeout=10 12:07:36 > git checkout -f 66416355948d159e38eefac8fe1b66d4e0740226 # timeout=10 12:07:41 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" 12:07:41 > git --version # timeout=10 12:07:41 > git --version # 'git version 2.25.1' 12:07:41 fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:07:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:07:42 % Total % Received % Xferd Average Speed Time Time Time Current 12:07:42 Dload Upload Total Spent Left Speed 12:07:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 78544 0 --:--:-- --:--:-- --:--:-- 78544 [Pipeline] sh 12:07:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:07:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:07:44 + sudo tee /etc/docker/daemon.new 12:07:44 { 12:07:44 "registry-mirrors": [ 12:07:44 "https://nexus3.edgexfoundry.org:10001" 12:07:44 ], 12:07:44 "bip": "10.250.0.254/24", 12:07:44 "hosts": [ 12:07:44 "tcp://0.0.0.0:5555", 12:07:44 "unix:///var/run/docker.sock" 12:07:44 ], 12:07:44 "mtu": 1458, 12:07:44 "selinux-enabled": true, 12:07:44 "seccomp-profile": "/etc/docker/seccomp.json" 12:07:44 } [Pipeline] sh 12:07:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:07:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:08:03 provisioning config files... 12:08:03 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config6098742991603901374tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:08:03 ---> docker-login.sh 12:08:03 nexus3.edgexfoundry.org:10001 12:08:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:08:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:08:04 Configure a credential helper to remove this warning. See 12:08:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:08:04 12:08:04 Login Succeeded 12:08:04 nexus3.edgexfoundry.org:10002 12:08:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:08:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:08:04 Configure a credential helper to remove this warning. See 12:08:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:08:04 12:08:04 Login Succeeded 12:08:04 nexus3.edgexfoundry.org:10003 12:08:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:08:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:08:05 Configure a credential helper to remove this warning. See 12:08:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:08:05 12:08:05 Login Succeeded 12:08:05 nexus3.edgexfoundry.org:10004 12:08:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:08:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:08:05 Configure a credential helper to remove this warning. See 12:08:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:08:05 12:08:05 Login Succeeded 12:08:05 docker.io 12:08:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:08:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:08:06 Configure a credential helper to remove this warning. See 12:08:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:08:06 12:08:06 Login Succeeded 12:08:06 ---> docker-login.sh ends [Pipeline] } 12:08:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:08:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:08:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:08:07 ========================================================= 12:08:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:08:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:08:07 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 12:08:07 Sending build context to Docker daemon 205.8kB 12:08:08 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 12:08:08 Step 2/13 : FROM ${BASE} AS builder 12:08:08 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:08:08 9b3977197b4f: Pulling fs layer 12:08:08 1a89e8eeedd5: Pulling fs layer 12:08:08 94645a83ff95: Pulling fs layer 12:08:08 e6fb740bc735: Pulling fs layer 12:08:08 3a77bd46dcc9: Pulling fs layer 12:08:08 355e64cbe906: Pulling fs layer 12:08:08 63ab81a10011: Pulling fs layer 12:08:08 555d1d1c4555: Pulling fs layer 12:08:08 7d9057610161: Pulling fs layer 12:08:08 355e64cbe906: Waiting 12:08:08 63ab81a10011: Waiting 12:08:08 555d1d1c4555: Waiting 12:08:08 7d9057610161: Waiting 12:08:08 e6fb740bc735: Waiting 12:08:08 3a77bd46dcc9: Waiting 12:08:08 94645a83ff95: Verifying Checksum 12:08:08 94645a83ff95: Download complete 12:08:08 1a89e8eeedd5: Download complete 12:08:08 3a77bd46dcc9: Verifying Checksum 12:08:08 3a77bd46dcc9: Download complete 12:08:08 355e64cbe906: Verifying Checksum 12:08:08 355e64cbe906: Download complete 12:08:08 9b3977197b4f: Verifying Checksum 12:08:08 9b3977197b4f: Download complete 12:08:08 63ab81a10011: Verifying Checksum 12:08:08 63ab81a10011: Download complete 12:08:09 9b3977197b4f: Pull complete 12:08:09 7d9057610161: Verifying Checksum 12:08:09 7d9057610161: Download complete 12:08:09 1a89e8eeedd5: Pull complete 12:08:10 94645a83ff95: Pull complete 12:08:10 555d1d1c4555: Verifying Checksum 12:08:10 555d1d1c4555: Download complete 12:08:11 e6fb740bc735: Verifying Checksum 12:08:11 e6fb740bc735: Download complete 12:08:23 e6fb740bc735: Pull complete 12:08:23 3a77bd46dcc9: Pull complete 12:08:23 355e64cbe906: Pull complete 12:08:23 63ab81a10011: Pull complete 12:08:30 555d1d1c4555: Pull complete 12:08:31 7d9057610161: Pull complete 12:08:31 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 12:08:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:08:32 ---> 819e984ddca1 12:08:32 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:08:32 ---> Running in cc3b33a2c993 12:08:33 Removing intermediate container cc3b33a2c993 12:08:33 ---> 40dcd5ab6377 12:08:33 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 12:08:33 ---> Running in 6d6580fca6eb 12:08:33 Removing intermediate container 6d6580fca6eb 12:08:33 ---> 943d51223d41 12:08:33 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:08:33 ---> Running in bbedbbfe45df 12:08:33 Removing intermediate container bbedbbfe45df 12:08:33 ---> 181452b5f4e5 12:08:33 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:08:33 ---> Running in 4462a9f9069c 12:08:35 Removing intermediate container 4462a9f9069c 12:08:35 ---> 4aa57ecce324 12:08:35 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:08:35 ---> Running in 52338ff4d1b4 12:08:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:08:37 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:08:38 OK: 220 MiB in 52 packages 12:08:39 Removing intermediate container 52338ff4d1b4 12:08:39 ---> 8c77201d1eb7 12:08:39 Step 8/13 : WORKDIR /app 12:08:39 ---> Running in 93c6605664f2 12:08:39 Removing intermediate container 93c6605664f2 12:08:39 ---> 286d392b3a48 12:08:39 Step 9/13 : COPY go.mod vendor* ./ 12:08:40 ---> 962fe45a07f5 12:08:40 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:08:40 ---> Running in 9afc710c8719 12:09:27 Removing intermediate container 9afc710c8719 12:09:27 ---> 5eff219c013e 12:09:27 Step 11/13 : COPY . . 12:09:27 ---> 627b52a13471 12:09:27 Step 12/13 : ARG MAKE="make build" 12:09:27 ---> Running in 57d0aefe8769 12:09:27 Removing intermediate container 57d0aefe8769 12:09:27 ---> db3ec650e722 12:09:27 Step 13/13 : RUN $MAKE 12:09:27 ---> Running in 1ba583ddcb7f 12:09:27 noop 12:09:27 Removing intermediate container 1ba583ddcb7f 12:09:27 ---> 5121015daacb 12:09:27 Successfully built 5121015daacb 12:09:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:09:28 + docker inspect -f . ci-base-image-arm64 12:09:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:09:28 prd-ubuntu20.04-docker-arm64-4c-16g-17140 does not seem to be running inside a container 12:09:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:09:30 $ docker top a76cbd2ac22ad014eabf653c74ddd67ec153c175db3f6c10f0a0b6b61d63cab1 -eo pid,comm [Pipeline] { [Pipeline] sh 12:09:31 + go version 12:09:31 go version go1.17.7 linux/arm64 [Pipeline] } 12:09:31 $ docker stop --time=1 a76cbd2ac22ad014eabf653c74ddd67ec153c175db3f6c10f0a0b6b61d63cab1 12:09:32 $ docker rm -f a76cbd2ac22ad014eabf653c74ddd67ec153c175db3f6c10f0a0b6b61d63cab1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:09:33 + docker inspect -f . ci-base-image-arm64 12:09:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:09:33 prd-ubuntu20.04-docker-arm64-4c-16g-17140 does not seem to be running inside a container 12:09: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 ******** -e ******** ci-base-image-arm64 cat 12:09:35 $ docker top d1ad31faca9e72bfaa312595f090f400c944779ddc358fccbf082249664aaf6e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:09:36 + make test 12:09:36 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 12:10:58 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:10:58 CGO_ENABLED=1 go vet ./... 12:11:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:11:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:11:16 ./bin/test-attribution-txt.sh 12:11:16 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [Pipeline] echo 12:11:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:11:16 $ docker stop --time=1 d1ad31faca9e72bfaa312595f090f400c944779ddc358fccbf082249664aaf6e 12:11:18 $ docker rm -f d1ad31faca9e72bfaa312595f090f400c944779ddc358fccbf082249664aaf6e [Pipeline] // withDockerContainer [Pipeline] sh 12:11:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:11:19 Warning: overwriting stash ‘coverage-report’ 12:11:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:11:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:11:20 + ls -al . 12:11:20 total 164 12:11:20 drwxrwxr-x 7 jenkins jenkins 4096 Jul 7 12:09 . 12:11:20 drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 12:07 .. 12:11:20 -rw-rw-r-- 1 jenkins jenkins 119 Jul 7 12:07 .dockerignore 12:11:20 drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 12:07 .git 12:11:20 drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 12:07 .github 12:11:20 -rw-rw-r-- 1 jenkins jenkins 104 Jul 7 12:07 .gitignore 12:11:20 -rw-rw-r-- 1 jenkins jenkins 8698 Jul 7 12:07 Attribution.txt 12:11:20 -rw-rw-r-- 1 jenkins jenkins 27269 Jul 7 12:07 CHANGELOG.md 12:11:20 -rw-rw-r-- 1 jenkins jenkins 2087 Jul 7 12:07 Dockerfile 12:11:20 -rw-rw-r-- 1 jenkins jenkins 677 Jul 7 12:07 GOVERNANCE.md 12:11:20 -rw-rw-r-- 1 jenkins jenkins 688 Jul 7 12:07 Jenkinsfile 12:11:20 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 7 12:07 LICENSE 12:11:20 -rw-rw-r-- 1 jenkins jenkins 618 Jul 7 12:07 OWNERS.md 12:11:20 -rw-rw-r-- 1 jenkins jenkins 3718 Jul 7 12:07 README.md 12:11:20 -rw-rw-r-- 1 jenkins jenkins 5 Jul 7 12:05 VERSION 12:11:20 drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 12:07 bin 12:11:20 -rw-r--r-- 1 jenkins jenkins 10 Jul 7 12:09 coverage.out 12:11:20 -rw-rw-r-- 1 jenkins jenkins 3336 Jul 7 12:07 go.mod 12:11:20 -rw-rw-r-- 1 jenkins jenkins 36618 Jul 7 12:07 go.sum 12:11:20 -rw-rw-r-- 1 jenkins jenkins 1949 Jul 7 12:07 main.go 12:11:20 -rw-rw-r-- 1 jenkins jenkins 1972 Jul 7 12:07 makefile 12:11:20 drwxrwxr-x 10 jenkins jenkins 4096 Jul 7 12:07 res 12:11:20 drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 12:07 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:11:21 + docker build -t app-service-configurable-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=66416355948d159e38eefac8fe1b66d4e0740226 --label arch=arm64 --label version=0.0.0 . 12:11:21 Sending build context to Docker daemon 206.8kB 12:11:21 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 12:11:21 Step 2/27 : FROM ${BASE} AS builder 12:11:21 ---> 5121015daacb 12:11:21 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:11:21 ---> Running in 539a63aa2fef 12:11:22 Removing intermediate container 539a63aa2fef 12:11:22 ---> 6ad7195efda6 12:11:22 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:11:22 ---> Running in a440f6302024 12:11:22 Removing intermediate container a440f6302024 12:11:22 ---> 9ea9a47f0edf 12:11:22 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:11:22 ---> Running in ce3b2c9ddc19 12:11:22 Removing intermediate container ce3b2c9ddc19 12:11:22 ---> a55601ea5179 12:11:22 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:11:22 ---> Running in eb5511f5420e 12:11:24 Removing intermediate container eb5511f5420e 12:11:24 ---> 8de0860819c6 12:11:24 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:11:24 ---> Running in 8c1f301d021b 12:11:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:11:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:11:27 OK: 220 MiB in 52 packages 12:11:27 Removing intermediate container 8c1f301d021b 12:11:27 ---> 7c7afd005982 12:11:27 Step 8/27 : WORKDIR /app 12:11:27 ---> Running in e3c5609dff36 12:11:28 Removing intermediate container e3c5609dff36 12:11:28 ---> 165da359c405 12:11:28 Step 9/27 : COPY go.mod vendor* ./ 12:11:28 ---> fa8208e70073 12:11:28 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:11:28 ---> Running in 863e324468ce 12:11:30 Removing intermediate container 863e324468ce 12:11:30 ---> e3a75ec97a5f 12:11:30 Step 11/27 : COPY . . 12:11:31 ---> 7cc5a59c38c6 12:11:31 Step 12/27 : ARG MAKE="make build" 12:11:31 ---> Running in 844dcfd1491b 12:11:31 Removing intermediate container 844dcfd1491b 12:11:31 ---> f2bcda069ea8 12:11:31 Step 13/27 : RUN $MAKE 12:11:31 ---> Running in ebfc9ca66c8f 12:11:32 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.1-dev.18 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 12:13:39 Removing intermediate container ebfc9ca66c8f 12:13:39 ---> f1a8a8e4b413 12:13:39 Step 14/27 : FROM alpine:3.14 12:13:39 3.14: Pulling from library/alpine 12:13:39 455c02918c45: Pulling fs layer 12:13:39 455c02918c45: Verifying Checksum 12:13:39 455c02918c45: Download complete 12:13:39 455c02918c45: Pull complete 12:13:39 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:13:39 Status: Downloaded newer image for alpine:3.14 12:13:39 ---> ac73e934f311 12:13:39 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:13:39 ---> Running in a4d44bb13e6d 12:13:39 Removing intermediate container a4d44bb13e6d 12:13:39 ---> a34a65a60531 12:13:39 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:13:39 ---> Running in c296e3517fbb 12:13:39 Removing intermediate container c296e3517fbb 12:13:39 ---> 3caa56099d3f 12:13:39 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 12:13:39 ---> Running in 2d8365e39def 12:13:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 12:13:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 12:13:39 (1/7) Installing ca-certificates (20211220-r0) 12:13:39 (2/7) Installing dumb-init (1.2.5-r1) 12:13:39 (3/7) Installing libgcc (10.3.1_git20210424-r2) 12:13:39 (4/7) Installing libsodium (1.0.18-r0) 12:13:39 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 12:13:39 (6/7) Installing libzmq (4.3.4-r0) 12:13:39 (7/7) Installing zeromq (4.3.4-r0) 12:13:39 Executing busybox-1.33.1-r7.trigger 12:13:39 Executing ca-certificates-20211220-r0.trigger 12:13:39 OK: 9 MiB in 21 packages 12:13:39 Removing intermediate container 2d8365e39def 12:13:39 ---> 84c892f76742 12:13:39 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:13:39 ---> 7f82365f576a 12:13:39 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:13:39 ---> e5adb069f9d0 12:13:39 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:13:39 ---> 7f488cf8eaf8 12:13:39 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:13:39 ---> 94dce4e5c3f9 12:13:39 Step 22/27 : EXPOSE 48095 12:13:39 ---> Running in d88d37ab0f73 12:13:39 Removing intermediate container d88d37ab0f73 12:13:39 ---> 66c2cdc4b1bb 12:13:39 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:13:39 ---> Running in 1a0a90f936e5 12:13:39 Removing intermediate container 1a0a90f936e5 12:13:39 ---> d6f5d82ef650 12:13:39 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:13:39 ---> Running in db6460180bb3 12:13:39 Removing intermediate container db6460180bb3 12:13:39 ---> 38a234da4621 12:13:39 Step 25/27 : LABEL arch=arm64 12:13:39 ---> Running in c93aefc8e94d 12:13:39 Removing intermediate container c93aefc8e94d 12:13:39 ---> 22ef73c3b8f0 12:13:39 Step 26/27 : LABEL git_sha=66416355948d159e38eefac8fe1b66d4e0740226 12:13:39 ---> Running in 9658e1f89bcc 12:13:39 Removing intermediate container 9658e1f89bcc 12:13:39 ---> df02ae5280b3 12:13:39 Step 27/27 : LABEL version=0.0.0 12:13:39 ---> Running in 050626f596de 12:13:39 Removing intermediate container 050626f596de 12:13:39 ---> 9010a1fcc668 12:13:39 [Warning] One or more build-args [ARCH] were not consumed 12:13:39 Successfully built 9010a1fcc668 12:13:39 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 12:13:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:13:40 12:13:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:13:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:13:40 arm64: Pulling from edgex-lftools-log-publisher 12:13:40 8998bd30e6a1: Pulling fs layer 12:13:40 04944245beec: Pulling fs layer 12:13:40 699f458cf7ca: Pulling fs layer 12:13:40 765212b225bb: Pulling fs layer 12:13:40 f23df028b6ca: Pulling fs layer 12:13:40 d65c8cfc05b1: Pulling fs layer 12:13:40 2437ff75d9bd: Pulling fs layer 12:13:40 765212b225bb: Waiting 12:13:40 f23df028b6ca: Waiting 12:13:40 d65c8cfc05b1: Waiting 12:13:40 2437ff75d9bd: Waiting 12:13:41 04944245beec: Verifying Checksum 12:13:41 04944245beec: Download complete 12:13:41 765212b225bb: Verifying Checksum 12:13:41 765212b225bb: Download complete 12:13:41 f23df028b6ca: Verifying Checksum 12:13:41 f23df028b6ca: Download complete 12:13:41 d65c8cfc05b1: Verifying Checksum 12:13:41 d65c8cfc05b1: Download complete 12:13:41 699f458cf7ca: Verifying Checksum 12:13:41 699f458cf7ca: Download complete 12:13:41 8998bd30e6a1: Verifying Checksum 12:13:41 8998bd30e6a1: Download complete 12:13:44 2437ff75d9bd: Verifying Checksum 12:13:44 2437ff75d9bd: Download complete 12:13:46 8998bd30e6a1: Pull complete 12:13:46 04944245beec: Pull complete 12:13:48 699f458cf7ca: Pull complete 12:13:48 765212b225bb: Pull complete 12:13:49 f23df028b6ca: Pull complete 12:13:49 d65c8cfc05b1: Pull complete 12:14:04 2437ff75d9bd: Pull complete 12:14:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:14:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:14:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:14:04 prd-ubuntu20.04-docker-arm64-4c-16g-17140 does not seem to be running inside a container 12:14:05 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:14:07 $ docker top 6000dacb9a4d690d7d4c9814bbbcb369c683319232647007a653d86f70da19a0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:14:08 ---> job-cost.sh 12:14:08 lf-activate-venv: SKIPPING 12:14:08 INFO: No Stack... 12:14:08 INFO: Retrieving Pricing Info for: v3-standard-4 12:14:09 INFO: Archiving Costs [Pipeline] sh 12:14:10 + cut -d, -f6 12:14:10 + cat /w/workspace/app-service-configurable/1/archives/cost.csv [Pipeline] lock 12:14:10 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-439-1-stack-cost] 12:14:10 Resource [jenkins-edgexfoundry-app-service-configurable-PR-439-1-stack-cost] did not exist. Created. 12:14:10 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-439-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:14:11 /w/workspace/app-service-configurable/1@tmp/durable-f9664c44/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:14:12 + echo total: 0.10999999940395355 [Pipeline] stash 12:14:12 Warning: overwriting stash ‘stack-cost’ 12:14:12 Stashed 1 file(s) [Pipeline] } 12:14:12 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-439-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:14:12 $ docker stop --time=1 6000dacb9a4d690d7d4c9814bbbcb369c683319232647007a653d86f70da19a0 12:14:13 $ docker rm -f 6000dacb9a4d690d7d4c9814bbbcb369c683319232647007a653d86f70da19a0 [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:14:14 provisioning config files... 12:14:14 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-439@tmp/config1957563680916702631tmp [Pipeline] { [Pipeline] sh 12:14:14 + set +x 12:14:14 + curl -s https://codecov.io/bash 12:14:14 + bash -s -- 12:14:14 12:14:14 _____ _ 12:14:14 / ____| | | 12:14:14 | | ___ __| | ___ ___ _____ __ 12:14:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:14:14 | |___| (_) | (_| | __/ (_| (_) \ V / 12:14:14 \_____\___/ \__,_|\___|\___\___/ \_/ 12:14:14 Bash-1.0.6 12:14:14 12:14:14 12:14:14 ==> git version 2.25.1 found 12:14:14 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 12:14:14 Release-Date: 2020-01-08 12:14:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:14:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:14:14 ==> Jenkins CI detected. 12:14:14 current dir:  /w/workspace/_app-service-configurable_PR-439 12:14:14 project root: . 12:14:14 --> token set from env 12:14:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:14:14 ==> Running gcov in . (disable via -X gcov) 12:14:14 ==> Python coveragepy not found 12:14:14 ==> Searching for coverage reports in: 12:14:14 + . 12:14:14 -> Found 1 reports 12:14:14 ==> Detecting git/mercurial file structure 12:14:14 ==> Reading reports 12:14:15 + ./coverage.out bytes=10 12:14:15 ==> Appending adjustments 12:14:15 https://docs.codecov.io/docs/fixing-reports 12:14:15 + Found adjustments 12:14:15 ==> Gzipping contents 12:14:15 4.0K /tmp/codecov.RXVcLW.gz 12:14:15 ==> Uploading reports 12:14:15 url: https://codecov.io 12:14:15 query: branch=PR-439&commit=66416355948d159e38eefac8fe1b66d4e0740226&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-439%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=439&job=&cmd_args= 12:14:15 -> Pinging Codecov 12:14:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-439&commit=66416355948d159e38eefac8fe1b66d4e0740226&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-439%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=439&job=&cmd_args= 12:14:15 -> Uploading to 12:14:15 https://storage.googleapis.com/codecov/v4/raw/2022-07-07/A97CA9966030D2A3747ED39772930CCE/66416355948d159e38eefac8fe1b66d4e0740226/320fc692-ca9f-4bad-ab8f-5cb3d8dd46a2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220707%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220707T121415Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c93e5f97711024aad48050d747f1848aad012a3636e91cf8459138090631157f 12:14:15 % Total % Received % Xferd Average Speed Time Time Time Current 12:14:15 Dload Upload Total Spent Left Speed 12:14:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 592 0 0 100 592 0 2678 --:--:-- --:--:-- --:--:-- 2666 100 592 0 0 100 592 0 2368 --:--:-- --:--:-- --:--:-- 2358 12:14:15 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/66416355948d159e38eefac8fe1b66d4e0740226 [Pipeline] } 12:14:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 12:14:17 + [ -d /w/workspace/_app-service-configurable_PR-439/archives ] 12:14:17 + ls -al /w/workspace/_app-service-configurable_PR-439/archives 12:14:17 total 16 12:14:17 drwxr-xr-x 3 root root 4096 Jul 7 12:07 . 12:14:17 drwxrwxr-x 9 jenkins jenkins 4096 Jul 7 12:07 .. 12:14:17 drwxr-xr-x 2 root root 4096 Jul 7 12:07 cost 12:14:17 -rw-r--r-- 1 root root 95 Jul 7 12:07 cost.csv 12:14:17 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-439/archives 12:14:17 + ls -al /w/workspace/_app-service-configurable_PR-439/archives 12:14:17 total 16 12:14:17 drwxr-xr-x 3 jenkins jenkins 4096 Jul 7 12:07 . 12:14:17 drwxrwxr-x 9 jenkins jenkins 4096 Jul 7 12:07 .. 12:14:17 drwxr-xr-x 2 jenkins jenkins 4096 Jul 7 12:07 cost 12:14:17 -rw-r--r-- 1 jenkins jenkins 95 Jul 7 12:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:14:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:14:18 ---> package-listing.sh 12:14:18 ++ facter osfamily 12:14:18 ++ tr '[:upper:]' '[:lower:]' 12:14:18 + OS_FAMILY=debian 12:14:18 + workspace=/w/workspace/_app-service-configurable_PR-439 12:14:18 + START_PACKAGES=/tmp/packages_start.txt 12:14:18 + END_PACKAGES=/tmp/packages_end.txt 12:14:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:14:18 + PACKAGES=/tmp/packages_start.txt 12:14:18 + '[' /w/workspace/_app-service-configurable_PR-439 ']' 12:14:18 + PACKAGES=/tmp/packages_end.txt 12:14:18 + case "${OS_FAMILY}" in 12:14:18 + dpkg -l 12:14:18 + grep '^ii' 12:14:18 + '[' -f /tmp/packages_start.txt ']' 12:14:18 + '[' -f /tmp/packages_end.txt ']' 12:14:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:14:18 + '[' /w/workspace/_app-service-configurable_PR-439 ']' 12:14:18 + mkdir -p /w/workspace/_app-service-configurable_PR-439/archives/ 12:14:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-439/archives/ [Pipeline] echo 12:14:19 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-439/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:14:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:14:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:14:20 prd-ubuntu20.04-docker-8c-8g-17139 does not seem to be running inside a container 12:14:20 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-439/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-439 -v /w/workspace/_app-service-configurable_PR-439:/w/workspace/_app-service-configurable_PR-439:rw,z -v /w/workspace/_app-service-configurable_PR-439@tmp:/w/workspace/_app-service-configurable_PR-439@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:14:20 $ docker top 2375032352bf2f8455312b4e647288c479e4dfa03cf2b7e03067bf3d72ce4afc -eo pid,comm [Pipeline] { [Pipeline] sh 12:14:20 + touch /tmp/pre-build-complete [Pipeline] sh 12:14:21 + mkdir -p /var/log/sysstat [Pipeline] sh 12:14:21 + ls /var/log/sa-host 12:14:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:14:21 provisioning config files... 12:14:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-439@tmp/config8232196507396080878tmp [Pipeline] { [Pipeline] echo 12:14:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:14:21 ---> create-netrc.sh [Pipeline] } 12:14:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:14:22 ---> python-tools-install.sh [Pipeline] echo 12:14:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:14:22 ---> sudo-logs.sh 12:14:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:14:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:14:23 ---> job-cost.sh 12:14:23 lf-activate-venv: SKIPPING 12:14:23 DEBUG: total: 0.2199999988079071 12:14:23 INFO: Retrieving Stack Cost... 12:14:23 INFO: Retrieving Pricing Info for: v3-standard-8 12:14:24 INFO: Archiving Costs [Pipeline] echo 12:14:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:14:24 ---> logs-deploy.sh 12:14:24 lf-activate-venv: SKIPPING 12:14:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-439/1 12:14:24 INFO: archiving workspace using pattern(s): 12:14:25 Archives upload complete. 12:14:25 INFO: archiving logs to Nexus 12:14:26 ---> uname -a: 12:14:26 Linux prd-ubuntu20-04-docker-8c-8g-17139 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 12:14:26 12:14:26 12:14:26 ---> lscpu: 12:14:26 Architecture: x86_64 12:14:26 CPU op-mode(s): 32-bit, 64-bit 12:14:26 Byte Order: Little Endian 12:14:26 Address sizes: 40 bits physical, 48 bits virtual 12:14:26 CPU(s): 8 12:14:26 On-line CPU(s) list: 0-7 12:14:26 Thread(s) per core: 1 12:14:26 Core(s) per socket: 1 12:14:26 Socket(s): 8 12:14:26 NUMA node(s): 1 12:14:26 Vendor ID: AuthenticAMD 12:14:26 CPU family: 23 12:14:26 Model: 49 12:14:26 Model name: AMD EPYC-Rome Processor 12:14:26 Stepping: 0 12:14:26 CPU MHz: 2800.000 12:14:26 BogoMIPS: 5600.00 12:14:26 Virtualization: AMD-V 12:14:26 Hypervisor vendor: KVM 12:14:26 Virtualization type: full 12:14:26 L1d cache: 256 KiB 12:14:26 L1i cache: 256 KiB 12:14:26 L2 cache: 4 MiB 12:14:26 L3 cache: 128 MiB 12:14:26 NUMA node0 CPU(s): 0-7 12:14:26 Vulnerability Itlb multihit: Not affected 12:14:26 Vulnerability L1tf: Not affected 12:14:26 Vulnerability Mds: Not affected 12:14:26 Vulnerability Meltdown: Not affected 12:14:26 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 12:14:26 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 12:14:26 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 12:14:26 Vulnerability Srbds: Not affected 12:14:26 Vulnerability Tsx async abort: Not affected 12:14:26 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 12:14:26 12:14:26 12:14:26 ---> nproc: 12:14:26 8 12:14:26 12:14:26 12:14:26 ---> df -h: 12:14:26 Filesystem Size Used Avail Use% Mounted on 12:14:26 overlay 155G 11G 145G 7% / 12:14:26 tmpfs 64M 0 64M 0% /dev 12:14:26 tmpfs 16G 0 16G 0% /sys/fs/cgroup 12:14:26 shm 64M 0 64M 0% /dev/shm 12:14:26 /dev/vda1 155G 11G 145G 7% /facter-os 12:14:26 12:14:26 12:14:26 ---> sar -b -r -n DEV: 12:14:26 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-17139) 07/07/22 _x86_64_ (8 CPU) 12:14:26 12:14:26 12:04:31 LINUX RESTART (8 CPU) 12:14:26 12:14:26 12:05:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 12:14:26 12:06:01 350.35 16.26 334.09 0.00 2178.87 135731.42 0.00 12:14:26 12:07:01 203.23 0.15 203.08 0.00 17.73 28942.91 0.00 12:14:26 12:08:01 32.04 0.00 32.04 0.00 0.00 16439.14 0.00 12:14:26 12:09:01 2.20 0.00 2.20 0.00 0.00 24.79 0.00 12:14:26 12:10:01 1.70 0.02 1.68 0.00 0.13 18.66 0.00 12:14:26 12:11:01 2.15 0.00 2.15 0.00 0.00 23.60 0.00 12:14:26 12:12:01 1.55 0.00 1.55 0.00 0.00 17.73 0.00 12:14:26 12:13:01 1.85 0.00 1.85 0.00 0.00 20.80 0.00 12:14:26 12:14:01 1.48 0.00 1.48 0.00 0.00 16.39 0.00 12:14:26 Average: 66.29 1.83 64.46 0.00 244.10 20138.29 0.00 12:14:26 12:14:26 12:05:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 12:14:26 12:06:01 28043208 31762896 535320 1.63 158740 3736888 2056084 6.06 1195004 3170480 164988 12:14:26 12:07:01 27644780 31717452 573856 1.75 169980 4062324 2321756 6.84 1309668 3422732 474188 12:14:26 12:08:01 27707508 31777552 513212 1.56 173684 4044840 1911960 5.63 1268480 3393336 12 12:14:26 12:09:01 27708440 31778528 512244 1.56 173768 4044836 1911960 5.63 1267660 3393340 12 12:14:26 12:10:01 27708780 31778856 511872 1.56 173832 4044852 1911960 5.63 1267540 3393348 216 12:14:26 12:11:01 27708196 31778352 512312 1.56 173908 4044852 1911960 5.63 1267992 3393348 176 12:14:26 12:12:01 27717720 31788064 502896 1.53 173988 4044856 1911960 5.63 1258732 3393468 176 12:14:26 12:13:01 27717452 31787848 503056 1.53 174028 4044860 1911960 5.63 1258808 3393472 176 12:14:26 12:14:01 27717120 31787592 503220 1.53 174104 4044860 1911960 5.63 1259172 3393472 184 12:14:26 Average: 27741467 31773016 518665 1.58 171781 4012574 1973507 5.82 1261451 3371888 71125 12:14:26 12:14:26 12:05:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 12:14:26 12:06:01 ens3 693.47 464.33 7069.32 99.98 0.00 0.00 0.00 0.00 12:14:26 12:06:01 lo 6.53 6.53 0.63 0.63 0.00 0.00 0.00 0.00 12:14:26 12:06:01 docker0 107.55 128.26 8.80 1081.22 0.00 0.00 0.00 0.00 12:14:26 12:07:01 ens3 187.49 131.54 2687.90 74.25 0.00 0.00 0.00 0.00 12:14:26 12:07:01 lo 2.00 2.00 0.19 0.19 0.00 0.00 0.00 0.00 12:14:26 12:07:01 docker0 10.90 14.81 0.65 92.06 0.00 0.00 0.00 0.00 12:14:26 12:08:01 ens3 11.60 7.62 12.42 4.51 0.00 0.00 0.00 0.00 12:14:26 12:08:01 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 12:14:26 12:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:14:26 12:09:01 ens3 0.15 0.13 0.01 0.01 0.00 0.00 0.00 0.00 12:14:26 12:09:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 12:14:26 12:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:14:26 12:10:01 ens3 0.15 0.10 0.08 0.07 0.00 0.00 0.00 0.00 12:14:26 12:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:14:26 12:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:14:26 12:11:01 ens3 0.55 0.37 0.27 0.21 0.00 0.00 0.00 0.00 12:14:26 12:11:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 12:14:26 12:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:14:26 12:12:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:14:26 12:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:14:26 12:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:14:26 12:13:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 12:14:26 12:13:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 12:14:26 12:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:14:26 12:14:01 ens3 0.48 0.18 1.08 0.01 0.00 0.00 0.00 0.00 12:14:26 12:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:14:26 12:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:14:26 Average: ens3 99.34 67.16 1085.73 19.89 0.00 0.00 0.00 0.00 12:14:26 Average: lo 1.02 1.02 0.10 0.10 0.00 0.00 0.00 0.00 12:14:26 Average: docker0 13.16 15.90 1.05 130.37 0.00 0.00 0.00 0.00 12:14:26 12:14:26 12:14:26 ---> sar -P ALL: 12:14:26 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-17139) 07/07/22 _x86_64_ (8 CPU) 12:14:26 12:14:26 12:04:31 LINUX RESTART (8 CPU) 12:14:26 12:14:26 12:05:01 CPU %user %nice %system %iowait %steal %idle 12:14:26 12:06:01 all 12.25 0.00 4.99 1.71 0.07 80.98 12:14:26 12:06:01 0 13.27 0.00 4.85 1.36 0.07 80.45 12:14:26 12:06:01 1 12.69 0.00 4.41 0.66 0.07 82.17 12:14:26 12:06:01 2 13.18 0.00 5.46 2.26 0.07 79.03 12:14:26 12:06:01 3 12.43 0.00 4.81 0.81 0.07 81.88 12:14:26 12:06:01 4 13.06 0.00 5.00 2.26 0.07 79.61 12:14:26 12:06:01 5 9.60 0.00 4.33 1.63 0.03 84.41 12:14:26 12:06:01 6 13.04 0.00 5.98 4.07 0.08 76.83 12:14:26 12:06:01 7 10.76 0.00 5.08 0.59 0.08 83.48 12:14:26 12:07:01 all 29.62 0.00 6.54 1.07 0.09 62.69 12:14:26 12:07:01 0 28.76 0.00 6.39 2.22 0.08 62.54 12:14:26 12:07:01 1 29.79 0.00 6.30 0.89 0.08 62.93 12:14:26 12:07:01 2 28.66 0.00 6.15 1.21 0.07 63.91 12:14:26 12:07:01 3 31.32 0.00 7.16 0.46 0.08 60.98 12:14:26 12:07:01 4 30.61 0.00 6.54 0.89 0.08 61.87 12:14:26 12:07:01 5 28.11 0.00 6.46 0.36 0.10 64.97 12:14:26 12:07:01 6 30.78 0.00 6.88 1.85 0.08 60.41 12:14:26 12:07:01 7 28.89 0.00 6.45 0.64 0.10 63.92 12:14:26 12:08:01 all 0.73 0.00 0.41 0.39 0.01 98.46 12:14:26 12:08:01 0 0.78 0.00 0.35 0.05 0.00 98.82 12:14:26 12:08:01 1 0.70 0.00 0.28 0.00 0.02 99.00 12:14:26 12:08:01 2 0.82 0.00 0.45 0.54 0.03 98.16 12:14:26 12:08:01 3 0.60 0.00 0.28 0.02 0.00 99.10 12:14:26 12:08:01 4 0.67 0.00 0.40 0.05 0.02 98.87 12:14:26 12:08:01 5 0.68 0.00 0.33 0.37 0.02 98.60 12:14:26 12:08:01 6 0.55 0.00 0.79 2.08 0.00 96.58 12:14:26 12:08:01 7 1.05 0.00 0.42 0.00 0.00 98.53 12:14:26 12:09:01 all 0.02 0.00 0.01 0.01 0.01 99.95 12:14:26 12:09:01 0 0.03 0.00 0.02 0.00 0.00 99.95 12:14:26 12:09:01 1 0.03 0.00 0.02 0.00 0.00 99.95 12:14:26 12:09:01 2 0.05 0.00 0.03 0.05 0.00 99.87 12:14:26 12:09:01 3 0.02 0.00 0.02 0.00 0.02 99.95 12:14:26 12:09:01 4 0.00 0.00 0.02 0.03 0.00 99.95 12:14:26 12:09:01 5 0.03 0.00 0.00 0.00 0.00 99.97 12:14:26 12:09:01 6 0.00 0.00 0.00 0.00 0.02 99.98 12:14:26 12:09:01 7 0.02 0.00 0.02 0.00 0.02 99.95 12:14:26 12:10:01 all 0.02 0.00 0.02 0.01 0.00 99.95 12:14:26 12:10:01 0 0.03 0.00 0.03 0.00 0.00 99.93 12:14:26 12:10:01 1 0.00 0.00 0.02 0.00 0.00 99.98 12:14:26 12:10:01 2 0.05 0.00 0.03 0.03 0.02 99.87 12:14:26 12:10:01 3 0.00 0.00 0.02 0.00 0.00 99.98 12:14:26 12:10:01 4 0.05 0.00 0.03 0.02 0.00 99.90 12:14:26 12:10:01 5 0.00 0.00 0.02 0.00 0.00 99.98 12:14:26 12:10:01 6 0.00 0.00 0.02 0.00 0.00 99.98 12:14:26 12:10:01 7 0.00 0.00 0.00 0.00 0.00 100.00 12:14:26 12:11:01 all 0.13 0.00 0.00 0.01 0.00 99.86 12:14:26 12:11:01 0 0.02 0.00 0.00 0.00 0.02 99.97 12:14:26 12:11:01 1 0.02 0.00 0.00 0.00 0.00 99.98 12:14:26 12:11:01 2 0.02 0.00 0.03 0.05 0.02 99.88 12:14:26 12:11:01 3 0.02 0.00 0.00 0.00 0.00 99.98 12:14:26 12:11:01 4 0.02 0.00 0.00 0.02 0.00 99.97 12:14:26 12:11:01 5 0.03 0.00 0.00 0.00 0.00 99.97 12:14:26 12:11:01 6 0.90 0.00 0.00 0.00 0.00 99.10 12:14:26 12:11:01 7 0.00 0.00 0.00 0.00 0.00 100.00 12:14:26 12:12:01 all 0.28 0.00 0.02 0.01 0.01 99.69 12:14:26 12:12:01 0 0.03 0.00 0.02 0.00 0.00 99.95 12:14:26 12:12:01 1 0.03 0.00 0.00 0.00 0.00 99.97 12:14:26 12:12:01 2 0.05 0.00 0.07 0.03 0.03 99.82 12:14:26 12:12:01 3 0.00 0.00 0.00 0.00 0.00 100.00 12:14:26 12:12:01 4 0.03 0.00 0.02 0.02 0.00 99.93 12:14:26 12:12:01 5 0.02 0.00 0.02 0.00 0.00 99.97 12:14:26 12:12:01 6 1.99 0.00 0.00 0.00 0.02 98.00 12:14:26 12:12:01 7 0.03 0.00 0.02 0.00 0.00 99.95 12:14:26 12:13:01 all 0.27 0.00 0.01 0.01 0.00 99.71 12:14:26 12:13:01 0 0.02 0.00 0.02 0.00 0.00 99.97 12:14:26 12:13:01 1 0.02 0.00 0.00 0.00 0.02 99.97 12:14:26 12:13:01 2 0.02 0.00 0.03 0.05 0.00 99.90 12:14:26 12:13:01 3 0.00 0.00 0.00 0.00 0.02 99.98 12:14:26 12:13:01 4 0.02 0.00 0.02 0.03 0.00 99.93 12:14:26 12:13:01 5 0.02 0.00 0.00 0.00 0.00 99.98 12:14:26 12:13:01 6 2.00 0.00 0.00 0.00 0.00 98.00 12:14:26 12:13:01 7 0.02 0.00 0.02 0.00 0.00 99.97 12:14:26 12:14:01 all 0.27 0.00 0.01 0.00 0.00 99.71 12:14:26 12:14:01 0 0.03 0.00 0.02 0.00 0.00 99.95 12:14:26 12:14:01 1 0.00 0.00 0.00 0.00 0.00 100.00 12:14:26 12:14:01 2 0.03 0.00 0.03 0.03 0.02 99.88 12:14:26 12:14:01 3 0.02 0.00 0.02 0.00 0.00 99.97 12:14:26 12:14:01 4 0.03 0.00 0.00 0.00 0.00 99.97 12:14:26 12:14:01 5 0.00 0.00 0.00 0.00 0.00 100.00 12:14:26 12:14:01 6 2.00 0.00 0.02 0.00 0.00 97.98 12:14:26 12:14:01 7 0.03 0.00 0.02 0.00 0.02 99.93 12:14:26 Average: all 4.79 0.00 1.32 0.35 0.02 93.51 12:14:26 Average: 0 4.74 0.00 1.29 0.40 0.02 93.55 12:14:26 Average: 1 4.76 0.00 1.21 0.17 0.02 93.83 12:14:26 Average: 2 4.73 0.00 1.36 0.47 0.03 93.42 12:14:26 Average: 3 4.88 0.00 1.35 0.14 0.02 93.61 12:14:26 Average: 4 4.90 0.00 1.32 0.37 0.02 93.39 12:14:26 Average: 5 4.23 0.00 1.23 0.26 0.02 94.26 12:14:26 Average: 6 5.65 0.00 1.50 0.88 0.02 91.95 12:14:26 Average: 7 4.47 0.00 1.32 0.14 0.02 94.05 12:14:26 12:14:26 12:14:26