Pull request #345 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 6b919ea6fb02678ab56f7ebaf56a8666363d6d94+d98e884c364f382237d2e5bf1eb76d86571a43df (ea9f8601cb41a84877eb1831e9b55ed43ddaab94) Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh5536267710268504591.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh2687006067728715568.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-345/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-345/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8902205977354024463.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > 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 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-ssh9183618060279825406.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-345/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-345/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6823860211144015201.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1074 in /w/workspace/_app-service-configurable_PR-345 [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-345 # 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-345@tmp/jenkins-gitclient-ssh6557524660724129213.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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-345@tmp/jenkins-gitclient-ssh3070917095852267310.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/345/head:refs/remotes/origin/PR-345 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d98e884c364f382237d2e5bf1eb76d86571a43df into PR head commit 6b919ea6fb02678ab56f7ebaf56a8666363d6d94 Merge succeeded, producing 6b919ea6fb02678ab56f7ebaf56a8666363d6d94 Checking out Revision 6b919ea6fb02678ab56f7ebaf56a8666363d6d94 (PR-345) > git config core.sparsecheckout # timeout=10 > git checkout -f 6b919ea6fb02678ab56f7ebaf56a8666363d6d94 # 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-345@tmp/jenkins-gitclient-ssh1303953700351018129.key > git merge d98e884c364f382237d2e5bf1eb76d86571a43df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6b919ea6fb02678ab56f7ebaf56a8666363d6d94 # timeout=10 Commit message: "Merge branch 'main' into secrets-file" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:55:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:55:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:55:08 ========================================================= 18:55:08 EdgeX Global Pipelines Version Info 18:55:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e77c19b88bca7b7ca011003f451877c614221cca # timeout=10 18:55:09 ------------------- 18:55:09 stable info: 18:55:09 ------------------- 18:55:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:55:09 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 18:55:09 Message: update stable to v1.0.210 18:55:10 ------------------- 18:55:10 experimental info: 18:55:10 ------------------- 18:55:10 Commited By: **** collab-it+edgex@linuxfoundation.org 18:55:10 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 18:55:10 Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:55:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 18:55:10 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 18:55:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:55:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:55:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:55:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 18:55:10 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 18:55:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:55:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:55:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:55:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:55:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 18:55:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:55:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:55:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:55:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:55:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:55:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:55:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:55:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 18:55:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:55:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:55:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:55:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:55:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:55:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:55:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-345 [Pipeline] echo 18:55:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-345 [Pipeline] echo 18:55:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-345 [Pipeline] echo 18:55:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6b919ea6fb02678ab56f7ebaf56a8666363d6d94 [Pipeline] echo 18:55:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6b919ea [Pipeline] echo 18:55:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:55:11 provisioning config files... 18:55:11 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-345@tmp/config4494453988561950060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:55:11 ---> docker-login.sh 18:55:11 nexus3.edgexfoundry.org:10001 18:55:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:11 Configure a credential helper to remove this warning. See 18:55:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:11 18:55:11 Login Succeeded 18:55:11 nexus3.edgexfoundry.org:10002 18:55:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:11 Configure a credential helper to remove this warning. See 18:55:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:11 18:55:11 Login Succeeded 18:55:11 nexus3.edgexfoundry.org:10003 18:55:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:11 Configure a credential helper to remove this warning. See 18:55:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:11 18:55:11 Login Succeeded 18:55:11 nexus3.edgexfoundry.org:10004 18:55:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:11 Configure a credential helper to remove this warning. See 18:55:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:11 18:55:11 Login Succeeded 18:55:11 docker.io 18:55:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:12 Configure a credential helper to remove this warning. See 18:55:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:12 18:55:12 Login Succeeded 18:55:12 ---> docker-login.sh ends [Pipeline] } 18:55:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:55:12 + git log --format=format:%s -1 6b919ea6fb02678ab56f7ebaf56a8666363d6d94 [Pipeline] echo 18:55:12 GIT_COMMIT: 6b919ea6fb02678ab56f7ebaf56a8666363d6d94, Commit Message: Merge branch 'main' into secrets-file [Pipeline] echo 18:55:12 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:55:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:55:13 18:55:13 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:55:13 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:55:13 latest: Pulling from edgex-devops/git-semver 18:55:13 a0d0a0d46f8b: Pulling fs layer 18:55:13 3e5f54012d9b: Pulling fs layer 18:55:13 4c7163046ea9: Pulling fs layer 18:55:13 0c2d73faf560: Pulling fs layer 18:55:13 0c2d73faf560: Waiting 18:55:13 3e5f54012d9b: Verifying Checksum 18:55:13 3e5f54012d9b: Download complete 18:55:13 a0d0a0d46f8b: Verifying Checksum 18:55:13 a0d0a0d46f8b: Download complete 18:55:13 0c2d73faf560: Verifying Checksum 18:55:13 0c2d73faf560: Download complete 18:55:13 4c7163046ea9: Verifying Checksum 18:55:13 4c7163046ea9: Download complete 18:55:13 a0d0a0d46f8b: Pull complete 18:55:13 3e5f54012d9b: Pull complete 18:55:13 4c7163046ea9: Pull complete 18:55:14 0c2d73faf560: Pull complete 18:55:14 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 18:55:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:55:14 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:55:14 prd-centos7-docker-4c-2g-1074 does not seem to be running inside a container 18:55:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-345 -v /w/workspace/_app-service-configurable_PR-345:/w/workspace/_app-service-configurable_PR-345:rw,z -v /w/workspace/_app-service-configurable_PR-345@tmp:/w/workspace/_app-service-configurable_PR-345@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:10004/edgex-devops/git-semver:latest cat 18:55:14 $ docker top 439366a7add1b6ef86fbfab43d2de1bf292129e2c54987df4feecf6d015b92fa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:55:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:55:14 [ssh-agent] Looking for ssh-agent implementation... 18:55:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:55:14 $ docker exec 439366a7add1b6ef86fbfab43d2de1bf292129e2c54987df4feecf6d015b92fa ssh-agent 18:55:15 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKmFBod/agent.14 18:55:15 SSH_AGENT_PID=20 18:55:15 Running ssh-add (command line suppressed) 18:55:15 Identity added: /w/workspace/_app-service-configurable_PR-345@tmp/private_key_2684912211567096730.key (/w/workspace/_app-service-configurable_PR-345@tmp/private_key_2684912211567096730.key) 18:55:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:55:15 + git tag --points-at HEAD [Pipeline] } 18:55:15 $ docker exec --env ******** --env ******** 439366a7add1b6ef86fbfab43d2de1bf292129e2c54987df4feecf6d015b92fa ssh-agent -k 18:55:15 unset SSH_AUTH_SOCK; 18:55:15 unset SSH_AGENT_PID; 18:55:15 echo Agent pid 20 killed; 18:55:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:55:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:55:15 [ssh-agent] Looking for ssh-agent implementation... 18:55:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:55:15 $ docker exec 439366a7add1b6ef86fbfab43d2de1bf292129e2c54987df4feecf6d015b92fa ssh-agent 18:55:15 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJgpMkM/agent.53 18:55:15 SSH_AGENT_PID=60 18:55:15 Running ssh-add (command line suppressed) 18:55:15 Identity added: /w/workspace/_app-service-configurable_PR-345@tmp/private_key_5671683358813819287.key (/w/workspace/_app-service-configurable_PR-345@tmp/private_key_5671683358813819287.key) 18:55:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:55:16 + git semver init 18:55:16 # -> Open(): unable to determine branch for HEAD 18:55:16 # $GIT_DIR = /w/workspace/_app-service-configurable_PR-345/.git 18:55:16 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-345 18:55:16 # $SEMVER_REMOTE_NAME = origin 18:55:16 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:55:16 # $SEMVER_USER_NAME = edgex-jenkins 18:55:16 # $SEMVER_BRANCH = PR-345 18:55:16 # $SEMVER_TEMP = /tmp/semver-262152139 18:55:16 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 18:55:16 # '/tmp/semver-262152139' -> '/w/workspace/_app-service-configurable_PR-345/.semver' 18:55:16 # -> Force: false 18:55:16 # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-345/.semver [Pipeline] } 18:55:16 $ docker exec --env ******** --env ******** 439366a7add1b6ef86fbfab43d2de1bf292129e2c54987df4feecf6d015b92fa ssh-agent -k 18:55:16 unset SSH_AUTH_SOCK; 18:55:16 unset SSH_AGENT_PID; 18:55:16 echo Agent pid 60 killed; 18:55:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:55:17 + git semver [Pipeline] } 18:55:17 $ docker stop --time=1 439366a7add1b6ef86fbfab43d2de1bf292129e2c54987df4feecf6d015b92fa 18:55:18 $ docker rm -f 439366a7add1b6ef86fbfab43d2de1bf292129e2c54987df4feecf6d015b92fa [Pipeline] // withDockerContainer [Pipeline] sh 18:55:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:55:19 Stashed 1 file(s) [Pipeline] echo 18:55:19 [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] node [Pipeline] node 18:55:34 Still waiting to schedule task 18:55:34 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:55:34 Still waiting to schedule task 18:55:34 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 18:58:09 Running on prd-centos7-docker-4c-2g-1318 in /w/workspace/_app-service-configurable_PR-345 [Pipeline] { [Pipeline] ws 18:58:09 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 18:58:10 Selected Git installation does not exist. Using Default 18:58:10 The recommended git tool is: NONE 18:58:12 using credential edgex-jenkins-ssh 18:58:12 Cloning the remote Git repository 18:58:11 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 18:58:11 > git init /w/workspace/app-service-configurable/2 # timeout=10 18:58:11 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 18:58:11 > git --version # timeout=10 18:58:11 > git --version # 'git version 2.24.4' 18:58:11 using GIT_SSH to set credentials SSH Credentials for GitHub 18:58:11 [INFO] Currently running in a labeled security context 18:58:11 [INFO] Currently SELinux is 'enforcing' on the host 18:58:11 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-service-configurable/2@tmp/jenkins-gitclient-ssh6919186132579377202.key 18:58:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:58:11 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 18:58:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:58:12 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 18:58:12 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 18:58:12 using GIT_SSH to set credentials SSH Credentials for GitHub 18:58:12 [INFO] Currently running in a labeled security context 18:58:12 [INFO] Currently SELinux is 'enforcing' on the host 18:58:12 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-service-configurable/2@tmp/jenkins-gitclient-ssh1871843093411354627.key 18:58:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/345/head:refs/remotes/origin/PR-345 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:58:13 Merging remotes/origin/main commit d98e884c364f382237d2e5bf1eb76d86571a43df into PR head commit 6b919ea6fb02678ab56f7ebaf56a8666363d6d94 18:58:13 Merge succeeded, producing 6b919ea6fb02678ab56f7ebaf56a8666363d6d94 18:58:13 Checking out Revision 6b919ea6fb02678ab56f7ebaf56a8666363d6d94 (PR-345) 18:58:12 > git config core.sparsecheckout # timeout=10 18:58:12 > git checkout -f 6b919ea6fb02678ab56f7ebaf56a8666363d6d94 # timeout=10 18:58:12 > git remote # timeout=10 18:58:12 > git config --get remote.origin.url # timeout=10 18:58:12 using GIT_SSH to set credentials SSH Credentials for GitHub 18:58:12 [INFO] Currently running in a labeled security context 18:58:12 [INFO] Currently SELinux is 'enforcing' on the host 18:58:12 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-service-configurable/2@tmp/jenkins-gitclient-ssh2447155326943015145.key 18:58:12 > git merge d98e884c364f382237d2e5bf1eb76d86571a43df # timeout=10 18:58:12 > git rev-parse HEAD^{commit} # timeout=10 18:58:12 > git config core.sparsecheckout # timeout=10 18:58:12 > git checkout -f 6b919ea6fb02678ab56f7ebaf56a8666363d6d94 # timeout=10 18:58:17 Commit message: "Merge branch 'main' into secrets-file" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:58:17 provisioning config files... 18:58:17 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config4857311474327866387tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:58:17 ---> docker-login.sh 18:58:17 nexus3.edgexfoundry.org:10001 18:58:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:58:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:58:18 Configure a credential helper to remove this warning. See 18:58:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:58:18 18:58:18 Login Succeeded 18:58:18 nexus3.edgexfoundry.org:10002 18:58:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:58:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:58:18 Configure a credential helper to remove this warning. See 18:58:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:58:18 18:58:18 Login Succeeded 18:58:18 nexus3.edgexfoundry.org:10003 18:58:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:58:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:58:18 Configure a credential helper to remove this warning. See 18:58:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:58:18 18:58:18 Login Succeeded 18:58:18 nexus3.edgexfoundry.org:10004 18:58:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:58:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:58:18 Configure a credential helper to remove this warning. See 18:58:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:58:18 18:58:18 Login Succeeded 18:58:18 docker.io 18:58:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:58:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:58:18 Configure a credential helper to remove this warning. See 18:58:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:58:18 18:58:18 Login Succeeded 18:58:18 ---> docker-login.sh ends [Pipeline] } 18:58:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:58:18 ========================================================= 18:58:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 18:58:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:58:19 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 18:58:19 Sending build context to Docker daemon 200.7kB 18:58:19 Step 1/12 : ARG BASE=golang:1.16-alpine3.14 18:58:19 Step 2/12 : FROM ${BASE} AS builder 18:58:19 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 18:58:19 a0d0a0d46f8b: Pulling fs layer 18:58:19 31adcdaf11c8: Pulling fs layer 18:58:19 b8b176561691: Pulling fs layer 18:58:19 4527c011a84f: Pulling fs layer 18:58:19 5d74067f8e1e: Pulling fs layer 18:58:19 e0aca202a116: Pulling fs layer 18:58:19 3a43be97a3b4: Pulling fs layer 18:58:19 34cad66bf833: Pulling fs layer 18:58:19 b4e3c513aaa6: Pulling fs layer 18:58:19 5d74067f8e1e: Waiting 18:58:19 e0aca202a116: Waiting 18:58:19 3a43be97a3b4: Waiting 18:58:19 34cad66bf833: Waiting 18:58:19 b4e3c513aaa6: Waiting 18:58:19 4527c011a84f: Waiting 18:58:19 b8b176561691: Verifying Checksum 18:58:19 b8b176561691: Download complete 18:58:19 31adcdaf11c8: Verifying Checksum 18:58:19 31adcdaf11c8: Download complete 18:58:19 5d74067f8e1e: Verifying Checksum 18:58:19 5d74067f8e1e: Download complete 18:58:19 e0aca202a116: Verifying Checksum 18:58:19 e0aca202a116: Download complete 18:58:19 a0d0a0d46f8b: Verifying Checksum 18:58:19 a0d0a0d46f8b: Download complete 18:58:19 3a43be97a3b4: Verifying Checksum 18:58:19 3a43be97a3b4: Download complete 18:58:19 34cad66bf833: Verifying Checksum 18:58:19 34cad66bf833: Download complete 18:58:19 4527c011a84f: Verifying Checksum 18:58:19 4527c011a84f: Download complete 18:58:19 a0d0a0d46f8b: Pull complete 18:58:19 b4e3c513aaa6: Verifying Checksum 18:58:19 b4e3c513aaa6: Download complete 18:58:19 31adcdaf11c8: Pull complete 18:58:19 b8b176561691: Pull complete 18:58:24 4527c011a84f: Pull complete 18:58:24 5d74067f8e1e: Pull complete 18:58:24 e0aca202a116: Pull complete 18:58:24 3a43be97a3b4: Pull complete 18:58:24 34cad66bf833: Pull complete 18:58:26 b4e3c513aaa6: Pull complete 18:58:26 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 18:58:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 18:58:26 ---> 9f6097aaca64 18:58:26 Step 3/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 18:58:28 ---> Running in 54a7e2e80042 18:58:28 Removing intermediate container 54a7e2e80042 18:58:28 ---> ac76961a9ba4 18:58:28 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:58:28 ---> Running in 527d58b081b3 18:58:28 Removing intermediate container 527d58b081b3 18:58:28 ---> 3c7fc56be14b 18:58:28 Step 5/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 18:58:28 ---> Running in 64f60391577a 18:58:28 Removing intermediate container 64f60391577a 18:58:28 ---> fc57e001bcbd 18:58:28 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:58:28 ---> Running in 749ddd996e4b 18:58:29 Removing intermediate container 749ddd996e4b 18:58:29 ---> 8691d02b264e 18:58:29 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:58:29 ---> Running in e41a943267b9 18:58:29 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 18:58:30 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 18:58:30 OK: 220 MiB in 52 packages 18:58:30 Removing intermediate container e41a943267b9 18:58:30 ---> d2d42cf015d4 18:58:30 Step 8/12 : WORKDIR /app 18:58:30 ---> Running in 3f0eb8324a70 18:58:31 Removing intermediate container 3f0eb8324a70 18:58:31 ---> 583caae52d71 18:58:31 Step 9/12 : COPY . . 18:58:31 ---> 9dbff08751ac 18:58:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:58:31 ---> Running in 16c80729f2cc 18:59:03 Removing intermediate container 16c80729f2cc 18:59:03 ---> 7bfb2fce7625 18:59:03 Step 11/12 : ARG MAKE="make build" 18:59:03 ---> Running in 1e5b341de69a 18:59:03 Removing intermediate container 1e5b341de69a 18:59:03 ---> a1213697872d 18:59:03 Step 12/12 : RUN $MAKE 18:59:03 ---> Running in 6a097c94df67 18:59:03 noop 18:59:03 Removing intermediate container 6a097c94df67 18:59:03 ---> e6638376d3c5 18:59:03 Successfully built e6638376d3c5 18:59:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:59:03 + docker inspect -f . ci-base-image-x86_64 18:59:03 . [Pipeline] withDockerContainer 18:59:03 prd-centos7-docker-4c-2g-1318 does not seem to be running inside a container 18:59:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:59:04 $ docker top d5e55190e54e8883f7811fe4f7375a8907af7ce9e91721e9d0a827adabda624e -eo pid,comm [Pipeline] { [Pipeline] sh 18:59:04 + go version 18:59:04 go version go1.16.8 linux/amd64 [Pipeline] } 18:59:04 $ docker stop --time=1 d5e55190e54e8883f7811fe4f7375a8907af7ce9e91721e9d0a827adabda624e 18:59:05 $ docker rm -f d5e55190e54e8883f7811fe4f7375a8907af7ce9e91721e9d0a827adabda624e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:59:06 + docker inspect -f . ci-base-image-x86_64 18:59:06 . [Pipeline] withDockerContainer 18:59:06 prd-centos7-docker-4c-2g-1318 does not seem to be running inside a container 18:59:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:59:06 $ docker top dda8d21c9bf45c1b7ea81e38736f5a2daab19789677bd36c5d885df9f34fbb0d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:59:06 + make test 18:59:06 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 18:59:21 ? github.com/edgexfoundry/app-service-configurable [no test files] 18:59:21 CGO_ENABLED=1 go vet ./... 18:59:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:59:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:59:28 ./bin/test-attribution-txt.sh [Pipeline] } 18:59:28 $ docker stop --time=1 dda8d21c9bf45c1b7ea81e38736f5a2daab19789677bd36c5d885df9f34fbb0d 18:59:30 $ docker rm -f dda8d21c9bf45c1b7ea81e38736f5a2daab19789677bd36c5d885df9f34fbb0d [Pipeline] // withDockerContainer [Pipeline] sh 18:59:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:59:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:59:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:59:31 + ls -al . 18:59:31 total 148 18:59:31 drwxrwxr-x. 7 jenkins jenkins 4096 Oct 28 18:59 . 18:59:31 drwxrwxr-x. 4 jenkins jenkins 28 Oct 28 18:58 .. 18:59:31 -rw-rw-r--. 1 jenkins jenkins 7608 Oct 28 18:58 Attribution.txt 18:59:31 drwxrwxr-x. 2 jenkins jenkins 37 Oct 28 18:58 bin 18:59:31 -rw-rw-r--. 1 jenkins jenkins 22206 Oct 28 18:58 CHANGELOG.md 18:59:31 -rw-r--r--. 1 jenkins jenkins 10 Oct 28 18:59 coverage.out 18:59:31 -rw-rw-r--. 1 jenkins jenkins 2064 Oct 28 18:58 Dockerfile 18:59:31 -rw-rw-r--. 1 jenkins jenkins 119 Oct 28 18:58 .dockerignore 18:59:31 drwxrwxr-x. 8 jenkins jenkins 179 Oct 28 18:58 .git 18:59:31 drwxrwxr-x. 2 jenkins jenkins 104 Oct 28 18:58 .github 18:59:31 -rw-rw-r--. 1 jenkins jenkins 104 Oct 28 18:58 .gitignore 18:59:31 -rw-rw-r--. 1 jenkins jenkins 136 Oct 28 18:58 go.mod 18:59:31 -rw-rw-r--. 1 jenkins jenkins 50273 Oct 28 18:58 go.sum 18:59:31 -rw-rw-r--. 1 jenkins jenkins 677 Oct 28 18:58 GOVERNANCE.md 18:59:31 -rw-rw-r--. 1 jenkins jenkins 687 Oct 28 18:58 Jenkinsfile 18:59:31 -rw-rw-r--. 1 jenkins jenkins 10174 Oct 28 18:58 LICENSE 18:59:31 -rw-rw-r--. 1 jenkins jenkins 1949 Oct 28 18:58 main.go 18:59:31 -rw-rw-r--. 1 jenkins jenkins 1614 Oct 28 18:58 makefile 18:59:31 -rw-rw-r--. 1 jenkins jenkins 618 Oct 28 18:58 OWNERS.md 18:59:31 -rw-rw-r--. 1 jenkins jenkins 3224 Oct 28 18:58 README.md 18:59:31 drwxrwxr-x. 9 jenkins jenkins 151 Oct 28 18:58 res 18:59:31 drwxrwxr-x. 3 jenkins jenkins 58 Oct 28 18:58 snap 18:59:31 -rw-rw-r--. 1 jenkins jenkins 5 Oct 28 18:55 VERSION [Pipeline] isUnix [Pipeline] sh 18:59:32 + 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=6b919ea6fb02678ab56f7ebaf56a8666363d6d94 --label arch=amd64 --label version=0.0.0 . 18:59:32 Sending build context to Docker daemon 201.7kB 18:59:32 Step 1/26 : ARG BASE=golang:1.16-alpine3.14 18:59:32 Step 2/26 : FROM ${BASE} AS builder 18:59:32 ---> e6638376d3c5 18:59:32 Step 3/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 18:59:32 ---> Running in 5595cf172175 18:59:32 Removing intermediate container 5595cf172175 18:59:32 ---> 8aeb0a3bd403 18:59:32 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:59:32 ---> Running in d12c16b7d0d8 18:59:32 Removing intermediate container d12c16b7d0d8 18:59:32 ---> c4ba30859add 18:59:32 Step 5/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 18:59:32 ---> Running in 87b2d17e7ebc 18:59:32 Removing intermediate container 87b2d17e7ebc 18:59:32 ---> c110b95f5c14 18:59:32 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:59:32 ---> Running in 1709a9ee2fd2 18:59:33 Removing intermediate container 1709a9ee2fd2 18:59:33 ---> 0cbcd8dfc787 18:59:33 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:59:33 ---> Running in 171ac6cf8ab6 18:59:33 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 18:59:34 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 18:59:34 OK: 220 MiB in 52 packages 18:59:34 Removing intermediate container 171ac6cf8ab6 18:59:34 ---> 8ebf2b523a3f 18:59:34 Step 8/26 : WORKDIR /app 18:59:34 ---> Running in 071709368e9d 18:59:34 Removing intermediate container 071709368e9d 18:59:34 ---> 679ddaec73f5 18:59:34 Step 9/26 : COPY . . 18:59:35 ---> e2041adaa7f9 18:59:35 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:59:35 ---> Running in 31c513fa40ba 18:59:35 Removing intermediate container 31c513fa40ba 18:59:35 ---> 300005cf107e 18:59:35 Step 11/26 : ARG MAKE="make build" 18:59:35 ---> Running in c340a5f13460 18:59:35 Removing intermediate container c340a5f13460 18:59:35 ---> 7df2eb1c9685 18:59:35 Step 12/26 : RUN $MAKE 18:59:35 ---> Running in e44f0dd95d3c 18:59:35 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.2-dev.36 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o app-service-configurable 18:59:48 Removing intermediate container e44f0dd95d3c 18:59:48 ---> d94c0b8aa933 18:59:48 Step 13/26 : FROM alpine:3.14 18:59:48 3.14: Pulling from library/alpine 18:59:48 a0d0a0d46f8b: Already exists 18:59:48 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 18:59:48 Status: Downloaded newer image for alpine:3.14 18:59:48 ---> 14119a10abf4 18:59:48 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 18:59:48 ---> Running in 16e3f6eb2bb8 18:59:48 Removing intermediate container 16e3f6eb2bb8 18:59:48 ---> 0a7e35dd6f6a 18:59:48 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 18:59:48 ---> Running in f8917f1c0e98 18:59:48 Removing intermediate container f8917f1c0e98 18:59:48 ---> 831cea4a9b79 18:59:48 Step 16/26 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 18:59:48 ---> Running in 898a831f890a 18:59:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 18:59:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 18:59:48 (1/7) Installing ca-certificates (20191127-r5) 18:59:48 (2/7) Installing dumb-init (1.2.5-r1) 18:59:48 (3/7) Installing libgcc (10.3.1_git20210424-r2) 18:59:48 (4/7) Installing libsodium (1.0.18-r0) 18:59:48 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 18:59:48 (6/7) Installing libzmq (4.3.4-r0) 18:59:48 (7/7) Installing zeromq (4.3.4-r0) 18:59:48 Executing busybox-1.33.1-r3.trigger 18:59:48 Executing ca-certificates-20191127-r5.trigger 18:59:48 OK: 9 MiB in 21 packages 18:59:49 Removing intermediate container 898a831f890a 18:59:49 ---> a2e48557f650 18:59:49 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 18:59:49 ---> ae6263b12646 18:59:49 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 18:59:49 ---> d27f867babe3 18:59:49 Step 19/26 : COPY --from=builder /app/res/ /res/ 18:59:49 ---> ede9459eb346 18:59:49 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 18:59:50 ---> e9c58c223e1b 18:59:50 Step 21/26 : EXPOSE 48095 18:59:50 ---> Running in 8fd44ca09ad3 18:59:50 Removing intermediate container 8fd44ca09ad3 18:59:50 ---> 40bda47af3d0 18:59:50 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 18:59:50 ---> Running in 4d26c4800772 18:59:50 Removing intermediate container 4d26c4800772 18:59:50 ---> 20d6643662fe 18:59:50 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:59:50 ---> Running in 6e3f4cee384d 18:59:50 Removing intermediate container 6e3f4cee384d 18:59:50 ---> e5e77724a292 18:59:50 Step 24/26 : LABEL arch=amd64 18:59:50 ---> Running in 1cd69de0b965 18:59:50 Removing intermediate container 1cd69de0b965 18:59:50 ---> 0c983f830b7a 18:59:50 Step 25/26 : LABEL git_sha=6b919ea6fb02678ab56f7ebaf56a8666363d6d94 18:59:50 ---> Running in 9c7ffbe0762f 18:59:50 Removing intermediate container 9c7ffbe0762f 18:59:50 ---> c5c26c0d1e54 18:59:50 Step 26/26 : LABEL version=0.0.0 18:59:50 ---> Running in 0c476a0997ba 18:59:50 Removing intermediate container 0c476a0997ba 18:59:50 ---> f18671c48935 18:59:50 [Warning] One or more build-args [ARCH] were not consumed 18:59:50 Successfully built f18671c48935 18:59:50 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] node 19:00:05 Still waiting to schedule task 19:00:05 Waiting for next available executor on ‘prd-ubuntu18.04-docker-8c-8g-1206’ 19:01:36 Running on prd-ubuntu18.04-docker-8c-8g-1606 in /w/workspace/_app-service-configurable_PR-345 [Pipeline] { [Pipeline] ws 19:01:36 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 19:01:36 Selected Git installation does not exist. Using Default 19:01:36 The recommended git tool is: NONE 19:01:37 using credential edgex-jenkins-ssh 19:01:38 Cloning the remote Git repository 19:01:38 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 19:01:38 > git init /w/workspace/app-service-configurable/2 # timeout=10 19:01:38 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 19:01:38 > git --version # timeout=10 19:01:38 > git --version # 'git version 2.17.1' 19:01:38 using GIT_SSH to set credentials SSH Credentials for GitHub 19:01:38 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:01:39 Merging remotes/origin/main commit d98e884c364f382237d2e5bf1eb76d86571a43df into PR head commit 6b919ea6fb02678ab56f7ebaf56a8666363d6d94 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 19:01:38 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 19:01:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:01:38 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 19:01:38 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 19:01:38 using GIT_SSH to set credentials SSH Credentials for GitHub 19:01:38 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/345/head:refs/remotes/origin/PR-345 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:01:39 > git config core.sparsecheckout # timeout=10 19:01:39 > git checkout -f 6b919ea6fb02678ab56f7ebaf56a8666363d6d94 # timeout=10 [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:01:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:01:39 19:01:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 19:01:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:01:40 latest: Pulling from edgex-lftools-log-publisher 19:01:40 b4d181a07f80: Pulling fs layer 19:01:40 a1111a8f2ec3: Pulling fs layer 19:01:40 ed53099fbce6: Pulling fs layer 19:01:40 dc539afda2c1: Pulling fs layer 19:01:40 77bc0d833cb6: Pulling fs layer 19:01:40 9065ff56babe: Pulling fs layer 19:01:40 d287ab97295c: Pulling fs layer 19:01:40 dc539afda2c1: Waiting 19:01:40 77bc0d833cb6: Waiting 19:01:40 9065ff56babe: Waiting 19:01:40 d287ab97295c: Waiting 19:01:40 a1111a8f2ec3: Verifying Checksum 19:01:40 a1111a8f2ec3: Download complete 19:01:40 dc539afda2c1: Verifying Checksum 19:01:40 dc539afda2c1: Download complete 19:01:40 ed53099fbce6: Verifying Checksum 19:01:40 ed53099fbce6: Download complete 19:01:40 9065ff56babe: Verifying Checksum 19:01:40 9065ff56babe: Download complete 19:01:40 77bc0d833cb6: Verifying Checksum 19:01:40 77bc0d833cb6: Download complete 19:01:40 b4d181a07f80: Verifying Checksum 19:01:40 b4d181a07f80: Download complete 19:01:41 d287ab97295c: Verifying Checksum 19:01:41 d287ab97295c: Download complete 19:01:42 b4d181a07f80: Pull complete 19:01:42 a1111a8f2ec3: Pull complete 19:01:42 ed53099fbce6: Pull complete 19:01:42 dc539afda2c1: Pull complete 19:01:42 77bc0d833cb6: Pull complete 19:01:42 9065ff56babe: Pull complete 19:01:48 d287ab97295c: Pull complete 19:01:48 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 19:01:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:01:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 19:01:48 prd-centos7-docker-4c-2g-1318 does not seem to be running inside a container 19:01:48 $ 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/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:01:50 $ docker top b3cefd1cecfdf4bd9eb1874c7abc467ba6f65ab2a274bc54f4034b31e2b69540 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:01:51 ---> job-cost.sh 19:01:51 lf-activate-venv: SKIPPING 19:01:51 INFO: No Stack... 19:01:52 INFO: Retrieving Pricing Info for: v3-standard-2 19:01:52 INFO: Archiving Costs [Pipeline] sh 19:01:52 + cat /w/workspace/app-service-configurable/2/archives/cost.csv 19:01:52 + cut -d, -f6 [Pipeline] lock 19:01:52 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-345-2-stack-cost] 19:01:52 Resource [jenkins-edgexfoundry-app-service-configurable-PR-345-2-stack-cost] did not exist. Created. 19:01:52 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-345-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:01:53 + echo total: 0.05999999865889549 [Pipeline] stash 19:01:53 Stashed 1 file(s) [Pipeline] } 19:01:53 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-345-2-stack-cost] [Pipeline] // lock [Pipeline] } 19:01:53 $ docker stop --time=1 b3cefd1cecfdf4bd9eb1874c7abc467ba6f65ab2a274bc54f4034b31e2b69540 19:01:54 $ docker rm -f b3cefd1cecfdf4bd9eb1874c7abc467ba6f65ab2a274bc54f4034b31e2b69540 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:01:54 Failed in branch amd64 21:09:45 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13101 in /w/workspace/_app-service-configurable_PR-345 [Pipeline] { [Pipeline] ws 21:09:45 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 21:09:46 Selected Git installation does not exist. Using Default 21:09:46 The recommended git tool is: NONE 21:09:53 using credential edgex-jenkins-ssh 21:09:53 Cloning the remote Git repository 21:09:53 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 21:09:53 > git init /w/workspace/app-service-configurable/2 # timeout=10 21:09:53 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 21:09:53 > git --version # timeout=10 21:09:53 > git --version # 'git version 2.17.1' 21:09:53 using GIT_SSH to set credentials SSH Credentials for GitHub 21:09:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:09:54 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 21:09:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:09:54 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 21:09:54 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 21:09:54 using GIT_SSH to set credentials SSH Credentials for GitHub 21:09:54 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/345/head:refs/remotes/origin/PR-345 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:09:55 Merging remotes/origin/main commit d98e884c364f382237d2e5bf1eb76d86571a43df into PR head commit 6b919ea6fb02678ab56f7ebaf56a8666363d6d94 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:09:55 Failed in branch arm64 [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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:09:55 > git config core.sparsecheckout # timeout=10 21:09:55 > git checkout -f 6b919ea6fb02678ab56f7ebaf56a8666363d6d94 # timeout=10 21:09:56 + '[' -d /w/workspace/_app-service-configurable_PR-345/archives ']' [Pipeline] libraryResource [Pipeline] sh 21:09:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:09:57 ---> package-listing.sh 21:09:57 ++ facter osfamily 21:09:57 ++ tr '[:upper:]' '[:lower:]' 21:09:57 + OS_FAMILY=redhat 21:09:57 + workspace=/w/workspace/_app-service-configurable_PR-345 21:09:57 + START_PACKAGES=/tmp/packages_start.txt 21:09:57 + END_PACKAGES=/tmp/packages_end.txt 21:09:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:09:57 + PACKAGES=/tmp/packages_start.txt 21:09:57 + '[' /w/workspace/_app-service-configurable_PR-345 ']' 21:09:57 + PACKAGES=/tmp/packages_end.txt 21:09:57 + case "${OS_FAMILY}" in 21:09:57 + sort 21:09:57 + rpm -qa 21:09:58 + '[' -f /tmp/packages_start.txt ']' 21:09:58 + '[' -f /tmp/packages_end.txt ']' 21:09:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:09:58 + '[' /w/workspace/_app-service-configurable_PR-345 ']' 21:09:58 + mkdir -p /w/workspace/_app-service-configurable_PR-345/archives/ 21:09:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-345/archives/ [Pipeline] echo 21:09:58 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-345/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:09:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:09:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:59 21:09:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 21:09:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:59 latest: Pulling from edgex-lftools-log-publisher 21:09:59 b4d181a07f80: Pulling fs layer 21:09:59 a1111a8f2ec3: Pulling fs layer 21:09:59 ed53099fbce6: Pulling fs layer 21:09:59 dc539afda2c1: Pulling fs layer 21:09:59 77bc0d833cb6: Pulling fs layer 21:09:59 9065ff56babe: Pulling fs layer 21:09:59 d287ab97295c: Pulling fs layer 21:09:59 dc539afda2c1: Waiting 21:09:59 77bc0d833cb6: Waiting 21:09:59 9065ff56babe: Waiting 21:09:59 d287ab97295c: Waiting 21:09:59 a1111a8f2ec3: Verifying Checksum 21:09:59 a1111a8f2ec3: Download complete 21:09:59 dc539afda2c1: Verifying Checksum 21:09:59 dc539afda2c1: Download complete 21:09:59 ed53099fbce6: Verifying Checksum 21:09:59 ed53099fbce6: Download complete 21:09:59 77bc0d833cb6: Verifying Checksum 21:09:59 77bc0d833cb6: Download complete 21:09:59 9065ff56babe: Verifying Checksum 21:09:59 9065ff56babe: Download complete 21:09:59 b4d181a07f80: Download complete 21:10:00 d287ab97295c: Verifying Checksum 21:10:00 d287ab97295c: Download complete 21:10:01 b4d181a07f80: Pull complete 21:10:01 a1111a8f2ec3: Pull complete 21:10:02 ed53099fbce6: Pull complete 21:10:02 dc539afda2c1: Pull complete 21:10:02 77bc0d833cb6: Pull complete 21:10:02 9065ff56babe: Pull complete 21:10:07 d287ab97295c: Pull complete 21:10:07 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 21:10:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:10:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 21:10:08 prd-centos7-docker-4c-2g-1074 does not seem to be running inside a container 21:10:08 $ 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-345/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-345 -v /w/workspace/_app-service-configurable_PR-345:/w/workspace/_app-service-configurable_PR-345:rw,z -v /w/workspace/_app-service-configurable_PR-345@tmp:/w/workspace/_app-service-configurable_PR-345@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:10:10 $ docker top fad246c410cf0232dee03a33bc43611f0f2d1c5381bca38399e7dbf7792bfece -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:10 + touch /tmp/pre-build-complete [Pipeline] sh 21:10:10 + mkdir -p /var/log/sysstat [Pipeline] sh 21:10:11 + ls /var/log/sa-host 21:10:11 + sadf -c /var/log/sa-host/sa28 21:10:11 file_magic: OK 21:10:11 HZ: Using current value: 100 21:10:11 file_header: OK 21:10:11 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 21:10:11 Statistics: 21:10:11 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 21:10:11 File successfully converted to sysstat format version 12.0.3 21:10:11 + sadf -c /var/log/sa-host/sa30 21:10:11 file_magic: OK 21:10:11 HZ: Using current value: 100 21:10:11 file_header: OK 21:10:11 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 21:10:11 Statistics: 21:10:11 Hnuu...uuuununununu...Hnuu...uuuununununu... 21:10:11 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:10:11 provisioning config files... 21:10:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-345@tmp/config8384926155507072295tmp [Pipeline] { [Pipeline] echo 21:10:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:10:11 ---> create-netrc.sh [Pipeline] } 21:10:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:10:11 ---> python-tools-install.sh [Pipeline] echo 21:10:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:10:12 ---> sudo-logs.sh 21:10:12 Archiving 'sudo' log.. 21:10:12 sudo: unable to resolve host prd-centos7-docker-4c-2g-1074.novalocal: Name or service not known 21:10:12 sudo: unable to resolve host prd-centos7-docker-4c-2g-1074.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 21:10:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:10:12 ---> job-cost.sh 21:10:12 lf-activate-venv: SKIPPING 21:10:12 DEBUG: total: 0.05999999865889549 21:10:12 INFO: Retrieving Stack Cost... 21:10:12 INFO: Retrieving Pricing Info for: v3-standard-2 21:10:13 INFO: Archiving Costs [Pipeline] echo 21:10:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:10:13 ---> logs-deploy.sh 21:10:13 lf-activate-venv: SKIPPING 21:10:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-345/2 21:10:13 INFO: archiving workspace using pattern(s): 21:10:14 Archives upload complete. 21:10:14 INFO: archiving logs to Nexus