Pull request #372 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a576fe058936a7290e3ffe8cc458073ac3a6a4cf+748c375b9e927734e5c39e9bf70730eec1c3f6a7 (543f991055a53542bf6edf12ced42f779f3b8e96) 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-ssh13426049077606559872.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh6058481103634107336.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-372/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-372/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14221753118413744952.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-372/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15404430890754358851.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7214311236113582114.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-372/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-372/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh13624636027175120980.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 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 dae07dc806156effb2cae02074e2f5f64a063e83 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.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: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2246 in /w/workspace/_app-service-configurable_PR-372 [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-372 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/_app-service-configurable_PR-372@tmp/jenkins-gitclient-ssh8555975823818763989.key > 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 748c375b9e927734e5c39e9bf70730eec1c3f6a7 into PR head commit a576fe058936a7290e3ffe8cc458073ac3a6a4cf > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/_app-service-configurable_PR-372@tmp/jenkins-gitclient-ssh6384942958817202098.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/372/head:refs/remotes/origin/PR-372 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a576fe058936a7290e3ffe8cc458073ac3a6a4cf # timeout=10 > git remote # timeout=10 > 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 /w/workspace/_app-service-configurable_PR-372@tmp/jenkins-gitclient-ssh1283474975264846531.key > git merge 748c375b9e927734e5c39e9bf70730eec1c3f6a7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 Merge succeeded, producing a576fe058936a7290e3ffe8cc458073ac3a6a4cf Checking out Revision a576fe058936a7290e3ffe8cc458073ac3a6a4cf (PR-372) > git config core.sparsecheckout # timeout=10 > git checkout -f a576fe058936a7290e3ffe8cc458073ac3a6a4cf # 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.24.4' fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:59:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:59:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:59:46 ========================================================= 16:59:46 EdgeX Global Pipelines Version Info 16:59:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:59:47 ------------------- 16:59:47 stable info: 16:59:47 ------------------- 16:59:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:59:47 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 16:59:47 Message: update stable to v1.0.219 16:59:48 ------------------- 16:59:48 experimental info: 16:59:48 ------------------- 16:59:48 Commited By: **** collab-it+edgex@linuxfoundation.org 16:59:48 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 16:59:48 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:59:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 16:59:48 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 16:59:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:59:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:59:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:59:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 16:59:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:59:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:59:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:59:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:59:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:59:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 16:59:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:59:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:59:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:59:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:59:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:59:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:59:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:59:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 16:59:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:59:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:59:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:59:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:59:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:59:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:59:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-372 [Pipeline] echo 16:59:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-372 [Pipeline] echo 16:59:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-372 [Pipeline] echo 16:59:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a576fe058936a7290e3ffe8cc458073ac3a6a4cf [Pipeline] echo 16:59:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a576fe0 [Pipeline] echo 16:59:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:59:49 provisioning config files... 16:59:49 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-372@tmp/config2950105628711219786tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:59:50 ---> docker-login.sh 16:59:50 nexus3.edgexfoundry.org:10001 16:59:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:50 Configure a credential helper to remove this warning. See 16:59:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:50 16:59:50 Login Succeeded 16:59:50 nexus3.edgexfoundry.org:10002 16:59:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:50 Configure a credential helper to remove this warning. See 16:59:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:50 16:59:50 Login Succeeded 16:59:50 nexus3.edgexfoundry.org:10003 16:59:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:50 Configure a credential helper to remove this warning. See 16:59:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:50 16:59:50 Login Succeeded 16:59:50 nexus3.edgexfoundry.org:10004 16:59:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:50 Configure a credential helper to remove this warning. See 16:59:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:50 16:59:50 Login Succeeded 16:59:50 docker.io 16:59:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:51 Configure a credential helper to remove this warning. See 16:59:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:51 16:59:51 Login Succeeded 16:59:51 ---> docker-login.sh ends [Pipeline] } 16:59:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:59:51 + git rev-list -1 --merges a576fe058936a7290e3ffe8cc458073ac3a6a4cf~1..a576fe058936a7290e3ffe8cc458073ac3a6a4cf [Pipeline] echo 16:59:51 -----------> git rev-list -1 --merges a576fe058936a7290e3ffe8cc458073ac3a6a4cf~1..a576fe058936a7290e3ffe8cc458073ac3a6a4cf a576fe058936a7290e3ffe8cc458073ac3a6a4cf [false] [Pipeline] sh 16:59:52 + git log --format=format:%s -1 a576fe058936a7290e3ffe8cc458073ac3a6a4cf [Pipeline] echo 16:59:52 ========================================================= 16:59:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:59:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:59:52 + git log --format=format:%s -1 a576fe058936a7290e3ffe8cc458073ac3a6a4cf [Pipeline] echo 16:59:52 [semverPrep] GIT_COMMIT: a576fe058936a7290e3ffe8cc458073ac3a6a4cf, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo 16:59:52 [semverPrep] This is not a build commit. [Pipeline] sh 16:59:53 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 16:59:53 + grep -v github /etc/ssh/ssh_known_hosts 16:59:53 + '[' -e /tmp/ssh_known_hosts ']' 16:59:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:59:53 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 16:59:53 + sudo tee -a /etc/ssh/ssh_known_hosts 16:59:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:59:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:59:53 16:59:53 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:59:54 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:59:54 latest: Pulling from edgex-devops/git-semver 16:59:54 a0d0a0d46f8b: Pulling fs layer 16:59:54 3e5f54012d9b: Pulling fs layer 16:59:54 4c7163046ea9: Pulling fs layer 16:59:54 0c2d73faf560: Pulling fs layer 16:59:54 0c2d73faf560: Waiting 16:59:54 3e5f54012d9b: Download complete 16:59:54 a0d0a0d46f8b: Verifying Checksum 16:59:54 a0d0a0d46f8b: Download complete 16:59:54 4c7163046ea9: Verifying Checksum 16:59:54 4c7163046ea9: Download complete 16:59:54 0c2d73faf560: Verifying Checksum 16:59:54 0c2d73faf560: Download complete 16:59:54 a0d0a0d46f8b: Pull complete 16:59:54 3e5f54012d9b: Pull complete 16:59:54 4c7163046ea9: Pull complete 16:59:54 0c2d73faf560: Pull complete 16:59:54 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 16:59:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:59:54 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:59:54 prd-centos7-docker-4c-2g-2246 does not seem to be running inside a container 16:59:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-372 -v /w/workspace/_app-service-configurable_PR-372:/w/workspace/_app-service-configurable_PR-372:rw,z -v /w/workspace/_app-service-configurable_PR-372@tmp:/w/workspace/_app-service-configurable_PR-372@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:59:55 $ docker top f6c337a80c39b7ae457c2c259ee4b7825eb61823834c955c521f02fa1e3a8d81 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:59:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:59:55 [ssh-agent] Looking for ssh-agent implementation... 16:59:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:59:55 $ docker exec f6c337a80c39b7ae457c2c259ee4b7825eb61823834c955c521f02fa1e3a8d81 ssh-agent 16:59:55 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnccdJe/agent.13 16:59:55 SSH_AGENT_PID=19 16:59:55 Running ssh-add (command line suppressed) 16:59:56 Identity added: /w/workspace/_app-service-configurable_PR-372@tmp/private_key_2630350945124905885.key (/w/workspace/_app-service-configurable_PR-372@tmp/private_key_2630350945124905885.key) 16:59:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:59:56 + git tag --points-at HEAD [Pipeline] } 16:59:56 $ docker exec --env ******** --env ******** f6c337a80c39b7ae457c2c259ee4b7825eb61823834c955c521f02fa1e3a8d81 ssh-agent -k 16:59:56 unset SSH_AUTH_SOCK; 16:59:56 unset SSH_AGENT_PID; 16:59:56 echo Agent pid 19 killed; 16:59:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:59:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:59:56 [ssh-agent] Looking for ssh-agent implementation... 16:59:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:59:56 $ docker exec f6c337a80c39b7ae457c2c259ee4b7825eb61823834c955c521f02fa1e3a8d81 ssh-agent 16:59:56 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKMaolO/agent.53 16:59:56 SSH_AGENT_PID=59 16:59:56 Running ssh-add (command line suppressed) 16:59:56 Identity added: /w/workspace/_app-service-configurable_PR-372@tmp/private_key_5451163957592864031.key (/w/workspace/_app-service-configurable_PR-372@tmp/private_key_5451163957592864031.key) 16:59:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:59:57 + git semver init 16:59:57 # -> Open(): unable to determine branch for HEAD 16:59:57 # $GIT_DIR = /w/workspace/_app-service-configurable_PR-372/.git 16:59:57 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-372 16:59:57 # $SEMVER_REMOTE_NAME = origin 16:59:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:59:57 # $SEMVER_USER_NAME = edgex-jenkins 16:59:57 # $SEMVER_BRANCH = PR-372 16:59:57 # $SEMVER_TEMP = /tmp/semver-568502033 16:59:57 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 16:59:58 # '/tmp/semver-568502033' -> '/w/workspace/_app-service-configurable_PR-372/.semver' 16:59:58 # -> Force: false 16:59:58 # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-372/.semver [Pipeline] } 16:59:58 $ docker exec --env ******** --env ******** f6c337a80c39b7ae457c2c259ee4b7825eb61823834c955c521f02fa1e3a8d81 ssh-agent -k 16:59:58 unset SSH_AUTH_SOCK; 16:59:58 unset SSH_AGENT_PID; 16:59:58 echo Agent pid 59 killed; 16:59:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:59:58 + git semver [Pipeline] } 16:59:58 $ docker stop --time=1 f6c337a80c39b7ae457c2c259ee4b7825eb61823834c955c521f02fa1e3a8d81 17:00:00 $ docker rm -f f6c337a80c39b7ae457c2c259ee4b7825eb61823834c955c521f02fa1e3a8d81 [Pipeline] // withDockerContainer [Pipeline] sh 17:00:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:00:00 Stashed 1 file(s) [Pipeline] echo 17:00:00 [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 17:00:01 provisioning config files... 17:00:01 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-372@tmp/config2895360265132381573tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:00:01 ---> docker-login.sh 17:00:01 nexus3.edgexfoundry.org:10001 17:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:01 Configure a credential helper to remove this warning. See 17:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:01 17:00:01 Login Succeeded 17:00:01 nexus3.edgexfoundry.org:10002 17:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:01 Configure a credential helper to remove this warning. See 17:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:01 17:00:01 Login Succeeded 17:00:01 nexus3.edgexfoundry.org:10003 17:00:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:02 Configure a credential helper to remove this warning. See 17:00:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:02 17:00:02 Login Succeeded 17:00:02 nexus3.edgexfoundry.org:10004 17:00:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:02 Configure a credential helper to remove this warning. See 17:00:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:02 17:00:02 Login Succeeded 17:00:02 docker.io 17:00:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:02 Configure a credential helper to remove this warning. See 17:00:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:02 17:00:02 Login Succeeded 17:00:02 ---> docker-login.sh ends [Pipeline] } 17:00:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:00:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:00:02 ========================================================= 17:00:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 17:00:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:00:03 + 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 . 17:00:03 Sending build context to Docker daemon 2.946MB 17:00:03 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 17:00:03 Step 2/13 : FROM ${BASE} AS builder 17:00:03 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 17:00:03 59bf1c3509f3: Pulling fs layer 17:00:03 666ba61612fd: Pulling fs layer 17:00:03 8ed8ca486205: Pulling fs layer 17:00:03 4fe6c5a15a65: Pulling fs layer 17:00:03 22a0e8bec74d: Pulling fs layer 17:00:03 f965cba54748: Pulling fs layer 17:00:03 861ffc35075e: Pulling fs layer 17:00:03 4b385c91608e: Pulling fs layer 17:00:03 560528eb2ebb: Pulling fs layer 17:00:03 f965cba54748: Waiting 17:00:03 4fe6c5a15a65: Waiting 17:00:03 22a0e8bec74d: Waiting 17:00:03 861ffc35075e: Waiting 17:00:03 560528eb2ebb: Waiting 17:00:03 4b385c91608e: Waiting 17:00:03 8ed8ca486205: Verifying Checksum 17:00:03 8ed8ca486205: Download complete 17:00:03 666ba61612fd: Verifying Checksum 17:00:03 666ba61612fd: Download complete 17:00:03 22a0e8bec74d: Verifying Checksum 17:00:03 22a0e8bec74d: Download complete 17:00:03 f965cba54748: Verifying Checksum 17:00:03 f965cba54748: Download complete 17:00:03 59bf1c3509f3: Verifying Checksum 17:00:03 59bf1c3509f3: Download complete 17:00:03 861ffc35075e: Verifying Checksum 17:00:03 861ffc35075e: Download complete 17:00:03 4b385c91608e: Verifying Checksum 17:00:03 4b385c91608e: Download complete 17:00:03 59bf1c3509f3: Pull complete 17:00:04 4fe6c5a15a65: Verifying Checksum 17:00:04 4fe6c5a15a65: Download complete 17:00:04 666ba61612fd: Pull complete 17:00:04 560528eb2ebb: Verifying Checksum 17:00:04 560528eb2ebb: Download complete 17:00:04 8ed8ca486205: Pull complete 17:00:08 4fe6c5a15a65: Pull complete 17:00:08 22a0e8bec74d: Pull complete 17:00:08 f965cba54748: Pull complete 17:00:08 861ffc35075e: Pull complete 17:00:08 4b385c91608e: Pull complete 17:00:10 560528eb2ebb: Pull complete 17:00:10 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 17:00:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:00:10 ---> dd4a08f94e63 17:00:10 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:00:12 ---> Running in b9caf2a2ce85 17:00:12 Removing intermediate container b9caf2a2ce85 17:00:12 ---> ba8d4fd2e793 17:00:12 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 17:00:12 ---> Running in 270f8b6b7213 17:00:12 Removing intermediate container 270f8b6b7213 17:00:12 ---> abcd09760fa2 17:00:12 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 17:00:12 ---> Running in 3b239e2b788c 17:00:12 Removing intermediate container 3b239e2b788c 17:00:12 ---> 92028a71f370 17:00:12 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:00:12 ---> Running in 3a0bc35df4c7 17:00:13 Removing intermediate container 3a0bc35df4c7 17:00:13 ---> 611385e30386 17:00:13 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:00:13 ---> Running in ed246fef1dfd 17:00:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:00:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:00:14 OK: 221 MiB in 52 packages 17:00:14 Removing intermediate container ed246fef1dfd 17:00:14 ---> 020915302491 17:00:14 Step 8/13 : WORKDIR /app 17:00:15 ---> Running in e486eb628b82 17:00:15 Removing intermediate container e486eb628b82 17:00:15 ---> d3ae6445a0b7 17:00:15 Step 9/13 : COPY go.mod vendor* ./ 17:00:15 ---> f4743d478f03 17:00:15 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:00:15 ---> Running in 9439ae20c092 17:00:16 Still waiting to schedule task 17:00:16 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 17:00:47 Removing intermediate container 9439ae20c092 17:00:47 ---> c8ab612ac11b 17:00:47 Step 11/13 : COPY . . 17:00:47 ---> 53c1c1ce5aee 17:00:47 Step 12/13 : ARG MAKE="make build" 17:00:47 ---> Running in 7150110c41a3 17:00:47 Removing intermediate container 7150110c41a3 17:00:47 ---> 5421c00c64a6 17:00:47 Step 13/13 : RUN $MAKE 17:00:47 ---> Running in 3a7eb232c440 17:00:47 noop 17:00:47 Removing intermediate container 3a7eb232c440 17:00:47 ---> 8303128cf369 17:00:47 Successfully built 8303128cf369 17:00:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:00:47 + docker inspect -f . ci-base-image-x86_64 17:00:47 . [Pipeline] withDockerContainer 17:00:47 prd-centos7-docker-4c-2g-2246 does not seem to be running inside a container 17:00:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-372 -v /w/workspace/_app-service-configurable_PR-372:/w/workspace/_app-service-configurable_PR-372:rw,z -v /w/workspace/_app-service-configurable_PR-372@tmp:/w/workspace/_app-service-configurable_PR-372@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:00:48 $ docker top 15d0f3154016e831d7ff572c9a657b8a8527fd1f8f7df37e9191bad39c5eeccf -eo pid,comm [Pipeline] { [Pipeline] sh 17:00:48 + go version 17:00:48 go version go1.17.6 linux/amd64 [Pipeline] } 17:00:48 $ docker stop --time=1 15d0f3154016e831d7ff572c9a657b8a8527fd1f8f7df37e9191bad39c5eeccf 17:00:49 $ docker rm -f 15d0f3154016e831d7ff572c9a657b8a8527fd1f8f7df37e9191bad39c5eeccf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:00:50 + docker inspect -f . ci-base-image-x86_64 17:00:50 . [Pipeline] withDockerContainer 17:00:50 prd-centos7-docker-4c-2g-2246 does not seem to be running inside a container 17:00:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-372 -v /w/workspace/_app-service-configurable_PR-372:/w/workspace/_app-service-configurable_PR-372:rw,z -v /w/workspace/_app-service-configurable_PR-372@tmp:/w/workspace/_app-service-configurable_PR-372@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:00:50 $ docker top ba55a95889c4e1d31caee71d8df3c72b027dd1b75172e338782dc1288a68d825 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:00:51 + make test 17:00:51 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 17:01:06 ? github.com/edgexfoundry/app-service-configurable [no test files] 17:01:06 CGO_ENABLED=1 go vet ./... 17:01:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:01:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:01:10 ./bin/test-attribution-txt.sh [Pipeline] echo 17:01:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:01:10 $ docker stop --time=1 ba55a95889c4e1d31caee71d8df3c72b027dd1b75172e338782dc1288a68d825 17:01:11 $ docker rm -f ba55a95889c4e1d31caee71d8df3c72b027dd1b75172e338782dc1288a68d825 [Pipeline] // withDockerContainer [Pipeline] sh 17:01:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:01:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:01:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:01:14 + ls -al . 17:01:14 total 148 17:01:14 drwxrwxr-x. 8 jenkins jenkins 4096 Jan 20 17:01 . 17:01:14 drwxrwxr-x. 4 jenkins jenkins 112 Jan 20 16:59 .. 17:01:14 -rw-rw-r--. 1 jenkins jenkins 7608 Jan 20 16:59 Attribution.txt 17:01:14 drwxrwxr-x. 2 jenkins jenkins 37 Jan 20 16:59 bin 17:01:14 -rw-rw-r--. 1 jenkins jenkins 23791 Jan 20 16:59 CHANGELOG.md 17:01:14 -rw-r--r--. 1 jenkins jenkins 10 Jan 20 17:00 coverage.out 17:01:14 -rw-rw-r--. 1 jenkins jenkins 2087 Jan 20 16:59 Dockerfile 17:01:14 -rw-rw-r--. 1 jenkins jenkins 119 Jan 20 16:59 .dockerignore 17:01:14 drwxrwxr-x. 8 jenkins jenkins 179 Jan 20 16:59 .git 17:01:14 drwxrwxr-x. 2 jenkins jenkins 104 Jan 20 16:59 .github 17:01:14 -rw-rw-r--. 1 jenkins jenkins 104 Jan 20 16:59 .gitignore 17:01:14 -rw-rw-r--. 1 jenkins jenkins 2802 Jan 20 16:59 go.mod 17:01:14 -rw-rw-r--. 1 jenkins jenkins 49310 Jan 20 16:59 go.sum 17:01:14 -rw-rw-r--. 1 jenkins jenkins 677 Jan 20 16:59 GOVERNANCE.md 17:01:14 -rw-rw-r--. 1 jenkins jenkins 687 Jan 20 16:59 Jenkinsfile 17:01:14 -rw-rw-r--. 1 jenkins jenkins 10174 Jan 20 16:59 LICENSE 17:01:14 -rw-rw-r--. 1 jenkins jenkins 1949 Jan 20 16:59 main.go 17:01:14 -rw-rw-r--. 1 jenkins jenkins 1614 Jan 20 16:59 makefile 17:01:14 -rw-rw-r--. 1 jenkins jenkins 618 Jan 20 16:59 OWNERS.md 17:01:14 -rw-rw-r--. 1 jenkins jenkins 3860 Jan 20 16:59 README.md 17:01:14 drwxrwxr-x. 9 jenkins jenkins 151 Jan 20 16:59 res 17:01:14 drwx------. 3 jenkins jenkins 72 Jan 20 16:59 .semver 17:01:14 drwxrwxr-x. 3 jenkins jenkins 58 Jan 20 16:59 snap 17:01:14 -rw-rw-r--. 1 jenkins jenkins 5 Jan 20 17:00 VERSION [Pipeline] isUnix [Pipeline] sh 17:01:14 + 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=a576fe058936a7290e3ffe8cc458073ac3a6a4cf --label arch=amd64 --label version=0.0.0 . 17:01:14 Sending build context to Docker daemon 2.947MB 17:01:14 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 17:01:14 Step 2/27 : FROM ${BASE} AS builder 17:01:14 ---> 8303128cf369 17:01:14 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:01:14 ---> Running in fa17ad74d508 17:01:14 Removing intermediate container fa17ad74d508 17:01:14 ---> 3be8577a3083 17:01:14 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 17:01:14 ---> Running in b586ef2b9a0a 17:01:14 Removing intermediate container b586ef2b9a0a 17:01:14 ---> 45882a73238a 17:01:14 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 17:01:14 ---> Running in 03cd606ec329 17:01:14 Removing intermediate container 03cd606ec329 17:01:14 ---> 8bb3fa58a32b 17:01:14 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:01:14 ---> Running in 74535bc7faf5 17:01:15 Removing intermediate container 74535bc7faf5 17:01:15 ---> 91e1dfd97ca3 17:01:15 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:01:15 ---> Running in 1f2a257a0e13 17:01:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:01:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:01:16 OK: 221 MiB in 52 packages 17:01:16 Removing intermediate container 1f2a257a0e13 17:01:16 ---> d08774b0f6d5 17:01:16 Step 8/27 : WORKDIR /app 17:01:16 ---> Running in 542c8b8e9e96 17:01:16 Removing intermediate container 542c8b8e9e96 17:01:16 ---> 00005f53fdb3 17:01:16 Step 9/27 : COPY go.mod vendor* ./ 17:01:17 ---> 01e9d381a6d6 17:01:17 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:01:17 ---> Running in 43904386b1e9 17:01:17 Removing intermediate container 43904386b1e9 17:01:17 ---> bd65fb283225 17:01:17 Step 11/27 : COPY . . 17:01:18 ---> 49895b796896 17:01:18 Step 12/27 : ARG MAKE="make build" 17:01:18 ---> Running in 8369ccc5b65a 17:01:18 Removing intermediate container 8369ccc5b65a 17:01:18 ---> cbdd08e9ec75 17:01:18 Step 13/27 : RUN $MAKE 17:01:18 ---> Running in a1c6f6b4aa08 17:01:18 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o app-service-configurable 17:01:30 Removing intermediate container a1c6f6b4aa08 17:01:30 ---> 69a06f0ca1cf 17:01:30 Step 14/27 : FROM alpine:3.14 17:01:31 3.14: Pulling from library/alpine 17:01:31 97518928ae5f: Pulling fs layer 17:01:31 97518928ae5f: Verifying Checksum 17:01:31 97518928ae5f: Download complete 17:01:32 97518928ae5f: Pull complete 17:01:32 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 17:01:32 Status: Downloaded newer image for alpine:3.14 17:01:32 ---> 0a97eee8041e 17:01:32 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 17:01:32 ---> Running in d5f83a5730d3 17:01:32 Removing intermediate container d5f83a5730d3 17:01:32 ---> 3101faf24ebf 17:01:32 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 17:01:32 ---> Running in 834279dab0a7 17:01:32 Removing intermediate container 834279dab0a7 17:01:32 ---> 17650b273d4c 17:01:32 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 17:01:32 ---> Running in 25d7920f98c1 17:01:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 17:01:34 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2247 in /w/workspace/_app-service-configurable_PR-372 [Pipeline] { [Pipeline] ws 17:01:34 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 17:01:34 Selected Git installation does not exist. Using Default 17:01:34 The recommended git tool is: NONE 17:01:37 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/main: temporary error (try again later) 17:01:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 17:01:39 using credential edgex-jenkins-ssh 17:01:39 Cloning the remote Git repository 17:01:39 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 17:01:39 > git init /w/workspace/app-service-configurable/1 # timeout=10 17:01:39 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 17:01:39 > git --version # timeout=10 17:01:39 > git --version # 'git version 2.17.1' 17:01:39 using GIT_SSH to set credentials SSH Credentials for GitHub 17:01:39 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:01:41 Merging remotes/origin/main commit 748c375b9e927734e5c39e9bf70730eec1c3f6a7 into PR head commit a576fe058936a7290e3ffe8cc458073ac3a6a4cf 17:01:41 Merge succeeded, producing a576fe058936a7290e3ffe8cc458073ac3a6a4cf 17:01:41 Checking out Revision a576fe058936a7290e3ffe8cc458073ac3a6a4cf (PR-372) 17:01:40 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 17:01:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:01:41 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 17:01:41 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 17:01:41 using GIT_SSH to set credentials SSH Credentials for GitHub 17:01:41 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/372/head:refs/remotes/origin/PR-372 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:01:41 > git config core.sparsecheckout # timeout=10 17:01:41 > git checkout -f a576fe058936a7290e3ffe8cc458073ac3a6a4cf # timeout=10 17:01:41 > git remote # timeout=10 17:01:41 > git config --get remote.origin.url # timeout=10 17:01:41 using GIT_SSH to set credentials SSH Credentials for GitHub 17:01:41 > git merge 748c375b9e927734e5c39e9bf70730eec1c3f6a7 # timeout=10 17:01:41 > git rev-parse HEAD^{commit} # timeout=10 17:01:41 > git config core.sparsecheckout # timeout=10 17:01:41 > git checkout -f a576fe058936a7290e3ffe8cc458073ac3a6a4cf # timeout=10 17:01:43 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/community: temporary error (try again later) 17:01:43 ERROR: unable to select packages: 17:01:43  ca-certificates (no such package): 17:01:43 required by: world[ca-certificates] 17:01:43 dumb-init (no such package): 17:01:43 required by: world[dumb-init] 17:01:43 zeromq (no such package): 17:01:43 required by: world[zeromq] 17:01:43 The command '/bin/sh -c apk add --update --no-cache ca-certificates zeromq dumb-init' returned a non-zero code: 3 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:01:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:01:43 17:01:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:01:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:01:44 latest: Pulling from edgex-lftools-log-publisher 17:01:44 b4d181a07f80: Pulling fs layer 17:01:44 a1111a8f2ec3: Pulling fs layer 17:01:44 ed53099fbce6: Pulling fs layer 17:01:44 dc539afda2c1: Pulling fs layer 17:01:44 77bc0d833cb6: Pulling fs layer 17:01:44 9065ff56babe: Pulling fs layer 17:01:44 d287ab97295c: Pulling fs layer 17:01:44 dc539afda2c1: Waiting 17:01:44 77bc0d833cb6: Waiting 17:01:44 9065ff56babe: Waiting 17:01:44 d287ab97295c: Waiting 17:01:44 a1111a8f2ec3: Verifying Checksum 17:01:44 a1111a8f2ec3: Download complete 17:01:44 dc539afda2c1: Verifying Checksum 17:01:44 dc539afda2c1: Download complete 17:01:44 ed53099fbce6: Verifying Checksum 17:01:44 ed53099fbce6: Download complete 17:01:44 77bc0d833cb6: Verifying Checksum 17:01:44 77bc0d833cb6: Download complete 17:01:44 9065ff56babe: Verifying Checksum 17:01:44 9065ff56babe: Download complete 17:01:44 b4d181a07f80: Verifying Checksum 17:01:44 b4d181a07f80: Download complete 17:01:45 d287ab97295c: Verifying Checksum 17:01:45 d287ab97295c: Download complete 17:01:45 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" 17:01:45 > git --version # timeout=10 17:01:45 > git --version # 'git version 2.17.1' 17:01:45 fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 17:01:46 b4d181a07f80: Pull complete 17:01:46 a1111a8f2ec3: Pull complete 17:01:46 17:01:46 GitHub has been notified of this commit’s build result 17:01:46 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:01:46 ed53099fbce6: Pull complete 17:01:46 dc539afda2c1: Pull complete 17:01:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:01:47 % Total % Received % Xferd Average Speed Time Time Time Current 17:01:47 Dload Upload Total Spent Left Speed 17:01:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 97073 0 --:--:-- --:--:-- --:--:-- 97876 17:01:47 77bc0d833cb6: Pull complete 17:01:47 9065ff56babe: Pull complete [Pipeline] sh 17:01:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:01:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:01:48 + sudo tee /etc/docker/daemon.new 17:01:48 { 17:01:48 "registry-mirrors": [ 17:01:48 "https://nexus3.edgexfoundry.org:10001" 17:01:48 ], 17:01:48 "bip": "10.250.0.254/24", 17:01:48 "hosts": [ 17:01:48 "tcp://0.0.0.0:5555", 17:01:48 "unix:///var/run/docker.sock" 17:01:48 ], 17:01:48 "mtu": 1458, 17:01:48 "selinux-enabled": true, 17:01:48 "seccomp-profile": "/etc/docker/seccomp.json" 17:01:48 } [Pipeline] sh 17:01:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:01:48 + sudo service docker restart 17:01:53 d287ab97295c: Pull complete 17:01:53 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 17:01:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:01:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:01:53 prd-centos7-docker-4c-2g-2246 does not seem to be running inside a container 17:01:54 $ 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-372 -v /w/workspace/_app-service-configurable_PR-372:/w/workspace/_app-service-configurable_PR-372:rw,z -v /w/workspace/_app-service-configurable_PR-372@tmp:/w/workspace/_app-service-configurable_PR-372@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:01:56 $ docker top 2f5211fdc2238fcbf2027c5c2b6dcba02982cfc3968561a69f877de2882bd7e2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:01:57 ---> job-cost.sh 17:01:57 lf-activate-venv: SKIPPING 17:01:57 INFO: No Stack... 17:01:57 INFO: Retrieving Pricing Info for: v3-standard-2 17:01:57 INFO: Archiving Costs [Pipeline] sh 17:01:57 + cat /w/workspace/_app-service-configurable_PR-372/archives/cost.csv 17:01:57 + cut -d, -f6 [Pipeline] lock 17:01:57 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-372-1-stack-cost] 17:01:57 Resource [jenkins-edgexfoundry-app-service-configurable-PR-372-1-stack-cost] did not exist. Created. 17:01:57 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-372-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:01:58 + echo total: 0.05999999865889549 [Pipeline] stash 17:01:58 Stashed 1 file(s) [Pipeline] } 17:01:58 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-372-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:01:58 $ docker stop --time=1 2f5211fdc2238fcbf2027c5c2b6dcba02982cfc3968561a69f877de2882bd7e2 17:01:59 $ docker rm -f 2f5211fdc2238fcbf2027c5c2b6dcba02982cfc3968561a69f877de2882bd7e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:01:59 Failed in branch amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:02:07 provisioning config files... 17:02:07 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config5218904762203759244tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:02:07 ---> docker-login.sh 17:02:07 nexus3.edgexfoundry.org:10001 17:02:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:02:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:02:08 Configure a credential helper to remove this warning. See 17:02:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:02:08 17:02:08 Login Succeeded 17:02:08 nexus3.edgexfoundry.org:10002 17:02:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:02:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:02:08 Configure a credential helper to remove this warning. See 17:02:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:02:08 17:02:08 Login Succeeded 17:02:08 nexus3.edgexfoundry.org:10003 17:02:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:02:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:02:09 Configure a credential helper to remove this warning. See 17:02:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:02:09 17:02:09 Login Succeeded 17:02:09 nexus3.edgexfoundry.org:10004 17:02:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:02:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:02:09 Configure a credential helper to remove this warning. See 17:02:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:02:09 17:02:09 Login Succeeded 17:02:09 docker.io 17:02:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:02:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:02:10 Configure a credential helper to remove this warning. See 17:02:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:02:10 17:02:10 Login Succeeded 17:02:10 ---> docker-login.sh ends [Pipeline] } 17:02:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:02:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:02:11 ========================================================= 17:02:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 17:02:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:02:11 + 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 . 17:02:11 Sending build context to Docker daemon 207.4kB 17:02:11 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 17:02:11 Step 2/13 : FROM ${BASE} AS builder 17:02:12 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:02:12 9b3977197b4f: Pulling fs layer 17:02:12 1a89e8eeedd5: Pulling fs layer 17:02:12 94645a83ff95: Pulling fs layer 17:02:12 3f3a8bcf1eab: Pulling fs layer 17:02:12 0c92f367c5e7: Pulling fs layer 17:02:12 4b8299f9d1f4: Pulling fs layer 17:02:12 9a6b49a46696: Pulling fs layer 17:02:12 cf05db05a679: Pulling fs layer 17:02:12 3f3a8bcf1eab: Waiting 17:02:12 0c92f367c5e7: Waiting 17:02:12 4b8299f9d1f4: Waiting 17:02:12 9a6b49a46696: Waiting 17:02:12 cf05db05a679: Waiting 17:02:12 94645a83ff95: Download complete 17:02:12 1a89e8eeedd5: Verifying Checksum 17:02:12 1a89e8eeedd5: Download complete 17:02:12 0c92f367c5e7: Verifying Checksum 17:02:12 0c92f367c5e7: Download complete 17:02:12 4b8299f9d1f4: Verifying Checksum 17:02:12 4b8299f9d1f4: Download complete 17:02:12 9b3977197b4f: Verifying Checksum 17:02:12 9b3977197b4f: Download complete 17:02:12 9a6b49a46696: Verifying Checksum 17:02:12 9a6b49a46696: Download complete 17:02:12 9b3977197b4f: Pull complete 17:02:13 1a89e8eeedd5: Pull complete 17:02:13 94645a83ff95: Pull complete 17:02:13 cf05db05a679: Verifying Checksum 17:02:13 cf05db05a679: Download complete 17:02:14 3f3a8bcf1eab: Verifying Checksum 17:02:14 3f3a8bcf1eab: Download complete 17:02:26 3f3a8bcf1eab: Pull complete 17:02:26 0c92f367c5e7: Pull complete 17:02:26 4b8299f9d1f4: Pull complete 17:02:26 9a6b49a46696: Pull complete 17:02:33 cf05db05a679: Pull complete 17:02:33 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 17:02:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:02:33 ---> 0ccda1f7e2ee 17:02:33 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:02:34 ---> Running in e06bebcfdf13 17:02:34 Removing intermediate container e06bebcfdf13 17:02:34 ---> ea1e8328530c 17:02:34 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 17:02:34 ---> Running in f432af74f620 17:02:35 Removing intermediate container f432af74f620 17:02:35 ---> b58c5508e3c5 17:02:35 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 17:02:35 ---> Running in ac2efd7645e2 17:02:35 Removing intermediate container ac2efd7645e2 17:02:35 ---> e459d7124b5a 17:02:35 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:02:35 ---> Running in d5fd9f05ad4e 17:02:37 Removing intermediate container d5fd9f05ad4e 17:02:37 ---> f500cfc8bdab 17:02:37 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:02:37 ---> Running in c2be3b23c48e 17:02:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:02:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:02:40 OK: 220 MiB in 52 packages 17:02:40 Removing intermediate container c2be3b23c48e 17:02:40 ---> 3200d47033f2 17:02:40 Step 8/13 : WORKDIR /app 17:02:41 ---> Running in 166b32dafe42 17:02:41 Removing intermediate container 166b32dafe42 17:02:41 ---> 2c492abb244b 17:02:41 Step 9/13 : COPY go.mod vendor* ./ 17:02:41 ---> 32f7b71770c4 17:02:41 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:02:41 ---> Running in b36293696512 17:03:49 Removing intermediate container b36293696512 17:03:49 ---> 68e1d65a1c03 17:03:49 Step 11/13 : COPY . . 17:03:50 ---> f863311490c5 17:03:50 Step 12/13 : ARG MAKE="make build" 17:03:50 ---> Running in 994cd3db102d 17:03:50 Removing intermediate container 994cd3db102d 17:03:50 ---> eea73460c8b7 17:03:50 Step 13/13 : RUN $MAKE 17:03:50 ---> Running in 1acc9140c1bb 17:03:51 noop 17:03:52 Removing intermediate container 1acc9140c1bb 17:03:52 ---> 46abc5a517a8 17:03:52 Successfully built 46abc5a517a8 17:03:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:03:52 + docker inspect -f . ci-base-image-arm64 17:03:52 . [Pipeline] withDockerContainer 17:03:53 prd-ubuntu18.04-docker-arm64-4c-16g-2247 does not seem to be running inside a container 17:03:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:03:54 $ docker top bc317a78890b7236688d3ba4d647f532747154a065be9e539131266b2a9e1079 -eo pid,comm [Pipeline] { [Pipeline] sh 17:03:55 + go version 17:03:55 go version go1.17.6 linux/arm64 [Pipeline] } 17:03:55 $ docker stop --time=1 bc317a78890b7236688d3ba4d647f532747154a065be9e539131266b2a9e1079 17:03:56 $ docker rm -f bc317a78890b7236688d3ba4d647f532747154a065be9e539131266b2a9e1079 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:03:57 + docker inspect -f . ci-base-image-arm64 17:03:57 . [Pipeline] withDockerContainer 17:03:58 prd-ubuntu18.04-docker-arm64-4c-16g-2247 does not seem to be running inside a container 17:03:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:03:59 $ docker top c9a77075321dae8a0060564f4062906e55d5d45d31592768ed77eb65ec90fc72 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:04:00 + make test 17:04:00 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 17:04:47 ? github.com/edgexfoundry/app-service-configurable [no test files] 17:04:47 CGO_ENABLED=1 go vet ./... 17:04:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:04:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:04:59 ./bin/test-attribution-txt.sh [Pipeline] echo 17:05:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:05:01 $ docker stop --time=1 c9a77075321dae8a0060564f4062906e55d5d45d31592768ed77eb65ec90fc72 17:05:03 $ docker rm -f c9a77075321dae8a0060564f4062906e55d5d45d31592768ed77eb65ec90fc72 [Pipeline] // withDockerContainer [Pipeline] sh 17:05:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:05:03 Warning: overwriting stash ‘coverage-report’ 17:05:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:05:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:05:05 + ls -al . 17:05:05 total 172 17:05:05 drwxrwxr-x 7 jenkins jenkins 4096 Jan 20 17:05 . 17:05:05 drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 17:01 .. 17:05:05 -rw-rw-r-- 1 jenkins jenkins 119 Jan 20 17:01 .dockerignore 17:05:05 drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 17:01 .git 17:05:05 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 17:01 .github 17:05:05 -rw-rw-r-- 1 jenkins jenkins 104 Jan 20 17:01 .gitignore 17:05:05 -rw-rw-r-- 1 jenkins jenkins 7608 Jan 20 17:01 Attribution.txt 17:05:05 -rw-rw-r-- 1 jenkins jenkins 23791 Jan 20 17:01 CHANGELOG.md 17:05:05 -rw-rw-r-- 1 jenkins jenkins 2087 Jan 20 17:01 Dockerfile 17:05:05 -rw-rw-r-- 1 jenkins jenkins 677 Jan 20 17:01 GOVERNANCE.md 17:05:05 -rw-rw-r-- 1 jenkins jenkins 687 Jan 20 17:01 Jenkinsfile 17:05:05 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 20 17:01 LICENSE 17:05:05 -rw-rw-r-- 1 jenkins jenkins 618 Jan 20 17:01 OWNERS.md 17:05:05 -rw-rw-r-- 1 jenkins jenkins 3860 Jan 20 17:01 README.md 17:05:05 -rw-rw-r-- 1 jenkins jenkins 5 Jan 20 17:00 VERSION 17:05:05 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 17:01 bin 17:05:05 -rw-r--r-- 1 jenkins jenkins 10 Jan 20 17:04 coverage.out 17:05:05 -rw-rw-r-- 1 jenkins jenkins 2802 Jan 20 17:01 go.mod 17:05:05 -rw-rw-r-- 1 jenkins jenkins 49310 Jan 20 17:01 go.sum 17:05:05 -rw-rw-r-- 1 jenkins jenkins 1949 Jan 20 17:01 main.go 17:05:05 -rw-rw-r-- 1 jenkins jenkins 1614 Jan 20 17:01 makefile 17:05:05 drwxrwxr-x 9 jenkins jenkins 4096 Jan 20 17:01 res 17:05:05 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 17:01 snap [Pipeline] isUnix [Pipeline] sh 17:05:05 + 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=a576fe058936a7290e3ffe8cc458073ac3a6a4cf --label arch=arm64 --label version=0.0.0 . 17:05:05 Sending build context to Docker daemon 208.4kB 17:05:05 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 17:05:05 Step 2/27 : FROM ${BASE} AS builder 17:05:05 ---> 46abc5a517a8 17:05:05 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:05:06 ---> Running in 2c2be5a357cc 17:05:06 Removing intermediate container 2c2be5a357cc 17:05:06 ---> e546c043cff8 17:05:06 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 17:05:06 ---> Running in 00bfdf42e0a4 17:05:07 Removing intermediate container 00bfdf42e0a4 17:05:07 ---> ec7d1628c2bb 17:05:07 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 17:05:07 ---> Running in 3743c6ab001c 17:05:07 Removing intermediate container 3743c6ab001c 17:05:07 ---> 9e7bc496b15c 17:05:07 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:05:07 ---> Running in 97134c81dde5 17:05:09 Removing intermediate container 97134c81dde5 17:05:09 ---> 7a0c48e19dc7 17:05:09 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:05:09 ---> Running in 95151715f4b2 17:05:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:05:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:05:11 OK: 220 MiB in 52 packages 17:05:12 Removing intermediate container 95151715f4b2 17:05:12 ---> fcb913a58d8c 17:05:12 Step 8/27 : WORKDIR /app 17:05:12 ---> Running in ce070e086cdc 17:05:13 Removing intermediate container ce070e086cdc 17:05:13 ---> 5e6d9992fe84 17:05:13 Step 9/27 : COPY go.mod vendor* ./ 17:05:13 ---> e91315e69cdb 17:05:13 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:05:14 ---> Running in e12f9465277b 17:05:16 Removing intermediate container e12f9465277b 17:05:16 ---> 50ae6b2ac59c 17:05:16 Step 11/27 : COPY . . 17:05:16 ---> 282b6fdc938d 17:05:16 Step 12/27 : ARG MAKE="make build" 17:05:16 ---> Running in ccd372c30771 17:05:17 Removing intermediate container ccd372c30771 17:05:17 ---> 9ce305d445f0 17:05:17 Step 13/27 : RUN $MAKE 17:05:17 ---> Running in b0cdb61dbca3 17:05:18 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o app-service-configurable 17:06:05 Removing intermediate container b0cdb61dbca3 17:06:05 ---> f491acff9661 17:06:05 Step 14/27 : FROM alpine:3.14 17:06:05 3.14: Pulling from library/alpine 17:06:05 be307f383ecc: Pulling fs layer 17:06:05 be307f383ecc: Download complete 17:06:05 be307f383ecc: Pull complete 17:06:05 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 17:06:05 Status: Downloaded newer image for alpine:3.14 17:06:05 ---> 5b8b7b635229 17:06:05 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 17:06:05 ---> Running in 2a430ab06b9a 17:06:05 Removing intermediate container 2a430ab06b9a 17:06:05 ---> d86ae09d1ac8 17:06:05 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 17:06:05 ---> Running in f69c09d1d717 17:06:05 Removing intermediate container f69c09d1d717 17:06:05 ---> a95ca08be6f1 17:06:05 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 17:06:05 ---> Running in 25438f07597a 17:06:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 17:06:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 17:06:05 (1/7) Installing ca-certificates (20191127-r5) 17:06:05 (2/7) Installing dumb-init (1.2.5-r1) 17:06:05 (3/7) Installing libgcc (10.3.1_git20210424-r2) 17:06:05 (4/7) Installing libsodium (1.0.18-r0) 17:06:05 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 17:06:05 (6/7) Installing libzmq (4.3.4-r0) 17:06:05 (7/7) Installing zeromq (4.3.4-r0) 17:06:05 Executing busybox-1.33.1-r6.trigger 17:06:05 Executing ca-certificates-20191127-r5.trigger 17:06:05 OK: 9 MiB in 21 packages 17:06:05 Removing intermediate container 25438f07597a 17:06:05 ---> 1391e77dea73 17:06:05 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:06:05 ---> c295dee98a8d 17:06:05 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 17:06:05 ---> 222a397887d3 17:06:05 Step 20/27 : COPY --from=builder /app/res/ /res/ 17:06:06 ---> 09e5c5a4fdee 17:06:06 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 17:06:07 ---> 7f2edefcadde 17:06:07 Step 22/27 : EXPOSE 48095 17:06:07 ---> Running in 416e4e082949 17:06:07 Removing intermediate container 416e4e082949 17:06:07 ---> 6fc953dbaffd 17:06:07 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 17:06:07 ---> Running in 8b4590444558 17:06:08 Removing intermediate container 8b4590444558 17:06:08 ---> dec80cf43786 17:06:08 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:06:08 ---> Running in d7dee28a7dee 17:06:08 Removing intermediate container d7dee28a7dee 17:06:08 ---> c97c7ce9117c 17:06:08 Step 25/27 : LABEL arch=arm64 17:06:08 ---> Running in 032ed07f7fa9 17:06:09 Removing intermediate container 032ed07f7fa9 17:06:09 ---> e18ec5243110 17:06:09 Step 26/27 : LABEL git_sha=a576fe058936a7290e3ffe8cc458073ac3a6a4cf 17:06:09 ---> Running in 2abdde7d605d 17:06:09 Removing intermediate container 2abdde7d605d 17:06:09 ---> 4c18c56a594f 17:06:09 Step 27/27 : LABEL version=0.0.0 17:06:09 ---> Running in fb9fbb33b20b 17:06:10 Removing intermediate container fb9fbb33b20b 17:06:10 ---> e82018eae5c1 17:06:10 [Warning] One or more build-args [ARCH] were not consumed 17:06:10 Successfully built e82018eae5c1 17:06:10 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:06:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:06:10 17:06:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 17:06:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:06:11 arm64: Pulling from edgex-lftools-log-publisher 17:06:11 448f6bf000e3: Pulling fs layer 17:06:11 f757da607395: Pulling fs layer 17:06:11 05883995daec: Pulling fs layer 17:06:11 8603b9c90790: Pulling fs layer 17:06:11 1560dd03e051: Pulling fs layer 17:06:11 27f5ce0e4adf: Pulling fs layer 17:06:11 c2d8d7efcc4b: Pulling fs layer 17:06:11 1560dd03e051: Waiting 17:06:11 27f5ce0e4adf: Waiting 17:06:11 8603b9c90790: Waiting 17:06:11 c2d8d7efcc4b: Waiting 17:06:11 f757da607395: Verifying Checksum 17:06:11 f757da607395: Download complete 17:06:11 8603b9c90790: Verifying Checksum 17:06:11 8603b9c90790: Download complete 17:06:11 1560dd03e051: Verifying Checksum 17:06:11 1560dd03e051: Download complete 17:06:11 27f5ce0e4adf: Download complete 17:06:11 05883995daec: Verifying Checksum 17:06:11 05883995daec: Download complete 17:06:11 448f6bf000e3: Verifying Checksum 17:06:11 448f6bf000e3: Download complete 17:06:14 c2d8d7efcc4b: Verifying Checksum 17:06:14 c2d8d7efcc4b: Download complete 17:06:15 448f6bf000e3: Pull complete 17:06:16 f757da607395: Pull complete 17:06:17 05883995daec: Pull complete 17:06:17 8603b9c90790: Pull complete 17:06:18 1560dd03e051: Pull complete 17:06:19 27f5ce0e4adf: Pull complete 17:06:34 c2d8d7efcc4b: Pull complete 17:06:34 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 17:06:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:06:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 17:06:34 prd-ubuntu18.04-docker-arm64-4c-16g-2247 does not seem to be running inside a container 17:06:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:06:37 $ docker top cca5248d4f7e2d86e9a21e5a472632162772eea67a7e6c5fca79efdc2b56d1e6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:06:38 ---> job-cost.sh 17:06:38 lf-activate-venv: SKIPPING 17:06:38 INFO: No Stack... 17:06:38 INFO: Retrieving Pricing Info for: v3-standard-4 17:06:38 INFO: Archiving Costs [Pipeline] sh 17:06:39 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 17:06:39 + cut -d, -f6 [Pipeline] lock 17:06:39 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-372-1-stack-cost] 17:06:39 Resource [jenkins-edgexfoundry-app-service-configurable-PR-372-1-stack-cost] did not exist. Created. 17:06:39 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-372-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:06:40 /w/workspace/app-service-configurable/1@tmp/durable-77bac6b4/script.sh: 1: /w/workspace/app-service-configurable/1@tmp/durable-77bac6b4/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 17:06:40 + echo total: 0.10999999940395355 [Pipeline] stash 17:06:40 Warning: overwriting stash ‘stack-cost’ 17:06:40 Stashed 1 file(s) [Pipeline] } 17:06:40 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-372-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:06:41 $ docker stop --time=1 cca5248d4f7e2d86e9a21e5a472632162772eea67a7e6c5fca79efdc2b56d1e6 17:06:42 $ docker rm -f cca5248d4f7e2d86e9a21e5a472632162772eea67a7e6c5fca79efdc2b56d1e6 [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:06:45 + '[' -d /w/workspace/_app-service-configurable_PR-372/archives ']' 17:06:45 + ls -al /w/workspace/_app-service-configurable_PR-372/archives 17:06:45 total 8 17:06:45 drwxr-xr-x. 3 root root 34 Jan 20 17:01 . 17:06:45 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 20 17:01 .. 17:06:45 drwxr-xr-x. 2 root root 6 Jan 20 17:01 cost 17:06:45 -rw-r--r--. 1 root root 95 Jan 20 17:01 cost.csv 17:06:45 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-372/archives 17:06:45 + ls -al /w/workspace/_app-service-configurable_PR-372/archives 17:06:45 total 8 17:06:45 drwxr-xr-x. 3 jenkins jenkins 34 Jan 20 17:01 . 17:06:45 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 20 17:01 .. 17:06:45 drwxr-xr-x. 2 jenkins jenkins 6 Jan 20 17:01 cost 17:06:45 -rw-r--r--. 1 jenkins jenkins 95 Jan 20 17:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:06:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:06:46 ---> package-listing.sh 17:06:46 ++ tr '[:upper:]' '[:lower:]' 17:06:46 ++ facter osfamily 17:06:46 + OS_FAMILY=redhat 17:06:46 + workspace=/w/workspace/_app-service-configurable_PR-372 17:06:46 + START_PACKAGES=/tmp/packages_start.txt 17:06:46 + END_PACKAGES=/tmp/packages_end.txt 17:06:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:06:46 + PACKAGES=/tmp/packages_start.txt 17:06:46 + '[' /w/workspace/_app-service-configurable_PR-372 ']' 17:06:46 + PACKAGES=/tmp/packages_end.txt 17:06:46 + case "${OS_FAMILY}" in 17:06:46 + rpm -qa 17:06:46 + sort 17:06:47 + '[' -f /tmp/packages_start.txt ']' 17:06:47 + '[' -f /tmp/packages_end.txt ']' 17:06:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:06:47 + '[' /w/workspace/_app-service-configurable_PR-372 ']' 17:06:47 + mkdir -p /w/workspace/_app-service-configurable_PR-372/archives/ 17:06:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-372/archives/ [Pipeline] echo 17:06:47 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-372/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:06:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:06:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:06:47 . [Pipeline] withDockerContainer 17:06:48 prd-centos7-docker-4c-2g-2246 does not seem to be running inside a container 17:06:48 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-372/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-372 -v /w/workspace/_app-service-configurable_PR-372:/w/workspace/_app-service-configurable_PR-372:rw,z -v /w/workspace/_app-service-configurable_PR-372@tmp:/w/workspace/_app-service-configurable_PR-372@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:06:48 $ docker top 5484624dec6962f78c2477ba2065f30c8c21afe5b8408676146f7e850adecffb -eo pid,comm [Pipeline] { [Pipeline] sh 17:06:48 + touch /tmp/pre-build-complete [Pipeline] sh 17:06:49 + mkdir -p /var/log/sysstat [Pipeline] sh 17:06:49 + ls /var/log/sa-host 17:06:49 + sadf -c /var/log/sa-host/sa17 17:06:49 file_magic: OK 17:06:49 HZ: Using current value: 100 17:06:49 file_header: OK 17:06:49 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 17:06:49 Statistics: 17:06:49 Hnuu...uuuununununu...Hnuu...uuuununununu... 17:06:49 File successfully converted to sysstat format version 12.0.3 17:06:49 + sadf -c /var/log/sa-host/sa20 17:06:49 file_magic: OK 17:06:49 HZ: Using current value: 100 17:06:49 file_header: OK 17:06:49 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 17:06:49 Statistics: 17:06:49 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:06:49 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:06:49 provisioning config files... 17:06:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-372@tmp/config5190539656270393934tmp [Pipeline] { [Pipeline] echo 17:06:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:06:50 ---> create-netrc.sh [Pipeline] } 17:06:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:06:50 ---> python-tools-install.sh [Pipeline] echo 17:06:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:06:50 ---> sudo-logs.sh 17:06:50 Archiving 'sudo' log.. 17:06:50 sudo: unable to resolve host prd-centos7-docker-4c-2g-2246.novalocal: Name or service not known 17:06:50 sudo: unable to resolve host prd-centos7-docker-4c-2g-2246.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 17:06:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:06:51 ---> job-cost.sh 17:06:51 lf-activate-venv: SKIPPING 17:06:51 DEBUG: total: 0.05999999865889549 17:06:51 INFO: Retrieving Stack Cost... 17:06:51 INFO: Retrieving Pricing Info for: v3-standard-2 17:06:51 INFO: Archiving Costs [Pipeline] echo 17:06:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:06:52 ---> logs-deploy.sh 17:06:52 lf-activate-venv: SKIPPING 17:06:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-372/1 17:06:52 INFO: archiving workspace using pattern(s): 17:06:52 Archives upload complete. 17:06:52 INFO: archiving logs to Nexus