Pull request #151 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of tonyespy for edgexfoundry/app-service-configurable Loading trusted files from base branch master at 4eb982c5c40026bdb4233f13b12533b0406be3c0 rather than dec89c72abff9615ef3e9bcdd11897429aa7ffe5 Obtained Jenkinsfile from 4eb982c5c40026bdb4233f13b12533b0406be3c0 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-21373 in /w/workspace/_app-service-configurable_PR-151 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout 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-151 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/151/head:refs/remotes/origin/PR-151 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 4eb982c5c40026bdb4233f13b12533b0406be3c0 into PR head commit dec89c72abff9615ef3e9bcdd11897429aa7ffe5 Merge succeeded, producing dec89c72abff9615ef3e9bcdd11897429aa7ffe5 Checking out Revision dec89c72abff9615ef3e9bcdd11897429aa7ffe5 (PR-151) > git config core.sparsecheckout # timeout=10 > git checkout -f dec89c72abff9615ef3e9bcdd11897429aa7ffe5 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4eb982c5c40026bdb4233f13b12533b0406be3c0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dec89c72abff9615ef3e9bcdd11897429aa7ffe5 # timeout=10 Commit message: "fix(snap): allow disabling of secret-store via config hook" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:41:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk 49759b59fd29d20f15a62bd94968c2ecdbd95213 # timeout=10 [Pipeline] withCredentials 22:41:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:41:33 ========================================================= 22:41:33 EdgeX Global Pipelines Version Info 22:41:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:41:35 ------------------- 22:41:35 stable info: 22:41:35 ------------------- 22:41:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:41:35 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 22:41:35 Message: update stable to v1.0.179 22:41:36 ------------------- 22:41:36 experimental info: 22:41:36 ------------------- 22:41:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:41:36 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 22:41:36 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:41:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 22:41:36 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 22:41:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:41:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:41:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:41:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 22:41:37 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:41:37 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 22:41:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:41:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:41:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:41:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-service-configurable [Pipeline] echo 22:41:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:41:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:41:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:41:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:41:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:41:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:41:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:41:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 22:41:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:41:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:41:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:41:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:41:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:41:39 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 22:41:39 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 22:41:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-151 [Pipeline] echo 22:41:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-151 [Pipeline] echo 22:41:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-151 [Pipeline] echo 22:41:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dec89c72abff9615ef3e9bcdd11897429aa7ffe5 [Pipeline] echo 22:41:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dec89c7 [Pipeline] echo 22:41:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:41:39 provisioning config files... 22:41:39 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-151@tmp/config1901060315408021202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:41:40 ---> docker-login.sh 22:41:40 nexus3.edgexfoundry.org:10001 22:41:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:40 Configure a credential helper to remove this warning. See 22:41:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:40 22:41:40 Login Succeeded 22:41:40 nexus3.edgexfoundry.org:10002 22:41:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:40 Configure a credential helper to remove this warning. See 22:41:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:40 22:41:40 Login Succeeded 22:41:40 nexus3.edgexfoundry.org:10003 22:41:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:41 Configure a credential helper to remove this warning. See 22:41:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:41 22:41:41 Login Succeeded 22:41:41 nexus3.edgexfoundry.org:10004 22:41:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:41 Configure a credential helper to remove this warning. See 22:41:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:41 22:41:41 Login Succeeded 22:41:41 docker.io 22:41:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:41 Configure a credential helper to remove this warning. See 22:41:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:41 22:41:41 Login Succeeded 22:41:41 ---> docker-login.sh ends [Pipeline] } 22:41:41 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:41:42 + git log --format=format:%s -1 dec89c72abff9615ef3e9bcdd11897429aa7ffe5 [Pipeline] echo 22:41:42 GIT_COMMIT: dec89c72abff9615ef3e9bcdd11897429aa7ffe5, Commit Message: fix(snap): allow disabling of secret-store via config hook [Pipeline] echo 22:41:42 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:41:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:41:43 22:41:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:41:43 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:41:43 latest: Pulling from edgex-devops/git-semver 22:41:43 31603596830f: Pulling fs layer 22:41:43 2a8b12db71e7: Pulling fs layer 22:41:43 6ca5941a6612: Pulling fs layer 22:41:43 ecc8261a40a4: Pulling fs layer 22:41:43 ecc8261a40a4: Waiting 22:41:43 2a8b12db71e7: Verifying Checksum 22:41:43 2a8b12db71e7: Download complete 22:41:44 31603596830f: Download complete 22:41:44 ecc8261a40a4: Verifying Checksum 22:41:44 ecc8261a40a4: Download complete 22:41:44 6ca5941a6612: Verifying Checksum 22:41:44 6ca5941a6612: Download complete 22:41:44 31603596830f: Pull complete 22:41:44 2a8b12db71e7: Pull complete 22:41:45 6ca5941a6612: Pull complete 22:41:45 ecc8261a40a4: Pull complete 22:41:45 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 22:41:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:41:45 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:41:45 prd-centos7-docker-4c-2g-21373 does not seem to be running inside a container 22:41:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-151 -v /w/workspace/_app-service-configurable_PR-151:/w/workspace/_app-service-configurable_PR-151:rw,z -v /w/workspace/_app-service-configurable_PR-151@tmp:/w/workspace/_app-service-configurable_PR-151@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 22:41:47 $ docker top 5c1b71801a0d2d965f0d4fc698730e0e16314bf5b339c87ed5dd2f7ff6c236cf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:41:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:41:48 [ssh-agent] Looking for ssh-agent implementation... 22:41:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:41:48 $ docker exec 5c1b71801a0d2d965f0d4fc698730e0e16314bf5b339c87ed5dd2f7ff6c236cf ssh-agent 22:41:48 SSH_AUTH_SOCK=/tmp/ssh-VxxghYFzr5u5/agent.11 22:41:48 SSH_AGENT_PID=16 22:41:48 Running ssh-add (command line suppressed) 22:41:48 Identity added: /w/workspace/_app-service-configurable_PR-151@tmp/private_key_5028211090078406716.key (/w/workspace/_app-service-configurable_PR-151@tmp/private_key_5028211090078406716.key) 22:41:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:41:49 + git tag --points-at HEAD [Pipeline] } 22:41:49 $ docker exec --env ******** --env ******** 5c1b71801a0d2d965f0d4fc698730e0e16314bf5b339c87ed5dd2f7ff6c236cf ssh-agent -k 22:41:49 unset SSH_AUTH_SOCK; 22:41:49 unset SSH_AGENT_PID; 22:41:49 echo Agent pid 16 killed; 22:41:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:41:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:41:49 [ssh-agent] Looking for ssh-agent implementation... 22:41:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:41:49 $ docker exec 5c1b71801a0d2d965f0d4fc698730e0e16314bf5b339c87ed5dd2f7ff6c236cf ssh-agent 22:41:49 SSH_AUTH_SOCK=/tmp/ssh-NE0S0Ih8IM5w/agent.46 22:41:49 SSH_AGENT_PID=51 22:41:49 Running ssh-add (command line suppressed) 22:41:49 Identity added: /w/workspace/_app-service-configurable_PR-151@tmp/private_key_7069944167661526239.key (/w/workspace/_app-service-configurable_PR-151@tmp/private_key_7069944167661526239.key) 22:41:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:41:50 + git semver init 22:41:50 # -> Open(): unable to determine branch for HEAD 22:41:50 # $GIT_DIR = /w/workspace/_app-service-configurable_PR-151/.git 22:41:50 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-151 22:41:50 # $SEMVER_REMOTE_NAME = origin 22:41:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:41:50 # $SEMVER_USER_NAME = edgex-jenkins 22:41:50 # $SEMVER_BRANCH = PR-151 22:41:50 # $SEMVER_TEMP = /tmp/semver-572716089 22:41:50 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 22:41:50 # '/tmp/semver-572716089' -> '/w/workspace/_app-service-configurable_PR-151/.semver' 22:41:50 # -> Force: false 22:41:50 # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-151/.semver [Pipeline] } 22:41:50 $ docker exec --env ******** --env ******** 5c1b71801a0d2d965f0d4fc698730e0e16314bf5b339c87ed5dd2f7ff6c236cf ssh-agent -k 22:41:51 unset SSH_AUTH_SOCK; 22:41:51 unset SSH_AGENT_PID; 22:41:51 echo Agent pid 51 killed; 22:41:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:41:51 + git semver [Pipeline] } 22:41:51 $ docker stop --time=1 5c1b71801a0d2d965f0d4fc698730e0e16314bf5b339c87ed5dd2f7ff6c236cf 22:41:53 $ docker rm -f 5c1b71801a0d2d965f0d4fc698730e0e16314bf5b339c87ed5dd2f7ff6c236cf [Pipeline] // withDockerContainer [Pipeline] sh 22:41:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:41:54 Stashed 1 file(s) [Pipeline] echo 22:41:54 [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 22:41:54 Running on prd-ubuntu18.04-docker-arm64-4c-16g-21367 in /w/workspace/_app-service-configurable_PR-151 [Pipeline] { [Pipeline] ws 22:41:55 Running in /w/workspace/app-service-configurable/15 [Pipeline] { [Pipeline] checkout 22:41:59 using credential edgex-jenkins-ssh 22:41:59 Cloning the remote Git repository 22:41:59 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 22:41:59 > git init /w/workspace/app-service-configurable/15 # timeout=10 22:41:59 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 22:41:59 > git --version # timeout=10 22:41:59 > git --version # 'git version 2.17.1' 22:41:59 using GIT_SSH to set credentials SSH Credentials for GitHub 22:42:00 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:42:00 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 22:42:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:42:00 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 22:42:00 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 22:42:00 using GIT_SSH to set credentials SSH Credentials for GitHub 22:42:00 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/151/head:refs/remotes/origin/PR-151 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:42:02 Merging remotes/origin/master commit 4eb982c5c40026bdb4233f13b12533b0406be3c0 into PR head commit dec89c72abff9615ef3e9bcdd11897429aa7ffe5 22:42:02 Merge succeeded, producing dec89c72abff9615ef3e9bcdd11897429aa7ffe5 22:42:02 Checking out Revision dec89c72abff9615ef3e9bcdd11897429aa7ffe5 (PR-151) 22:42:02 > git config core.sparsecheckout # timeout=10 22:42:02 > git checkout -f dec89c72abff9615ef3e9bcdd11897429aa7ffe5 # timeout=10 22:42:02 > git remote # timeout=10 22:42:02 > git config --get remote.origin.url # timeout=10 22:42:02 using GIT_SSH to set credentials SSH Credentials for GitHub 22:42:02 > git merge 4eb982c5c40026bdb4233f13b12533b0406be3c0 # timeout=10 22:42:02 > git rev-parse HEAD^{commit} # timeout=10 22:42:02 > git config core.sparsecheckout # timeout=10 22:42:02 > git checkout -f dec89c72abff9615ef3e9bcdd11897429aa7ffe5 # timeout=10 22:42:06 Commit message: "fix(snap): allow disabling of secret-store via config hook" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:42:08 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 22:42:08 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:42:09 + + truesudo 22:42:09 service docker restart 22:42:09 Still waiting to schedule task 22:42:09 Waiting for next available executor on ‘centos7-docker-4c-2g’ [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:42:11 provisioning config files... 22:42:11 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/15@tmp/config9131621114248849308tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:11 ---> docker-login.sh 22:42:11 nexus3.edgexfoundry.org:10001 22:42:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:12 Configure a credential helper to remove this warning. See 22:42:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:12 22:42:12 Login Succeeded 22:42:12 nexus3.edgexfoundry.org:10002 22:42:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:13 Configure a credential helper to remove this warning. See 22:42:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:13 22:42:13 Login Succeeded 22:42:13 nexus3.edgexfoundry.org:10003 22:42:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:13 Configure a credential helper to remove this warning. See 22:42:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:13 22:42:13 Login Succeeded 22:42:13 nexus3.edgexfoundry.org:10004 22:42:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:14 Configure a credential helper to remove this warning. See 22:42:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:14 22:42:14 Login Succeeded 22:42:14 docker.io 22:42:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:15 Configure a credential helper to remove this warning. See 22:42:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:15 22:42:15 Login Succeeded 22:42:15 ---> docker-login.sh ends [Pipeline] } 22:42:15 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:42:15 ========================================================= 22:42:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 22:42:15 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:42:15 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 22:42:15 Sending build context to Docker daemon 99.84kB 22:42:16 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:42:16 Step 2/8 : FROM ${BASE} 22:42:16 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:42:16 5f621e34cdf4: Pulling fs layer 22:42:16 a4357932f1b6: Pulling fs layer 22:42:16 18c013af1878: Pulling fs layer 22:42:16 00ac8860ef70: Pulling fs layer 22:42:16 63d7cb157983: Pulling fs layer 22:42:16 b116817d02f9: Pulling fs layer 22:42:16 745a02a5169b: Pulling fs layer 22:42:16 00ac8860ef70: Waiting 22:42:16 63d7cb157983: Waiting 22:42:16 b116817d02f9: Waiting 22:42:16 745a02a5169b: Waiting 22:42:16 18c013af1878: Verifying Checksum 22:42:16 18c013af1878: Download complete 22:42:16 a4357932f1b6: Verifying Checksum 22:42:16 63d7cb157983: Verifying Checksum 22:42:16 63d7cb157983: Download complete 22:42:16 b116817d02f9: Verifying Checksum 22:42:16 b116817d02f9: Download complete 22:42:17 5f621e34cdf4: Verifying Checksum 22:42:17 5f621e34cdf4: Download complete 22:42:17 5f621e34cdf4: Pull complete 22:42:18 a4357932f1b6: Pull complete 22:42:18 18c013af1878: Pull complete 22:42:19 745a02a5169b: Verifying Checksum 22:42:19 745a02a5169b: Download complete 22:42:20 00ac8860ef70: Verifying Checksum 22:42:20 00ac8860ef70: Download complete 22:42:30 00ac8860ef70: Pull complete 22:42:30 63d7cb157983: Pull complete 22:42:30 b116817d02f9: Pull complete 22:42:35 745a02a5169b: Pull complete 22:42:35 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 22:42:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 22:42:35 ---> b7e6874047d6 22:42:35 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:42:37 ---> Running in ddbbd3983703 22:42:37 Removing intermediate container ddbbd3983703 22:42:37 ---> cdc8ac2f5d07 22:42:37 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:42:37 ---> Running in 527bd4cd0247 22:42:40 Removing intermediate container 527bd4cd0247 22:42:40 ---> 4052038ca918 22:42:40 Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash 22:42:40 ---> Running in dbde3a063e0b 22:42:41 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:42:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:42:43 (1/6) Installing libc-dev (0.7.2-r3) 22:42:43 (2/6) Installing libsodium (1.0.18-r0) 22:42:43 (3/6) Installing pkgconf (1.7.2-r0) 22:42:43 (4/6) Installing libsodium-dev (1.0.18-r0) 22:42:43 (5/6) Installing libzmq (4.3.3-r0) 22:42:43 (6/6) Installing zeromq-dev (4.3.3-r0) 22:42:43 Executing busybox-1.31.1-r19.trigger 22:42:43 OK: 144 MiB in 45 packages 22:42:45 Removing intermediate container dbde3a063e0b 22:42:45 ---> 9ca28942a3ea 22:42:45 Step 6/8 : WORKDIR /app 22:42:45 ---> Running in fce557b592ed 22:42:45 Removing intermediate container fce557b592ed 22:42:45 ---> 5b6ad31d8a72 22:42:45 Step 7/8 : COPY . . 22:42:46 ---> 5f08f72a0279 22:42:46 Step 8/8 : RUN go mod download 22:42:46 ---> Running in d22acf8a9aaf 22:43:18 Removing intermediate container d22acf8a9aaf 22:43:18 ---> e1a532805c74 22:43:18 Successfully built e1a532805c74 22:43:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:43:19 + docker inspect -f . ci-base-image-arm64 22:43:19 . [Pipeline] withDockerContainer 22:43:19 prd-ubuntu18.04-docker-arm64-4c-16g-21367 does not seem to be running inside a container 22:43:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/15 -v /w/workspace/app-service-configurable/15:/w/workspace/app-service-configurable/15:rw,z -v /w/workspace/app-service-configurable/15@tmp:/w/workspace/app-service-configurable/15@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 ******** ci-base-image-arm64 cat 22:43:21 $ docker top 02206973e35daa5eca550c833d96fc8c74612f5ac13cf07d9f015fe53c9a623e -eo pid,comm [Pipeline] { [Pipeline] sh 22:43:22 + go version 22:43:22 go version go1.15.5 linux/arm64 [Pipeline] } 22:43:22 $ docker stop --time=1 02206973e35daa5eca550c833d96fc8c74612f5ac13cf07d9f015fe53c9a623e 22:43:24 $ docker rm -f 02206973e35daa5eca550c833d96fc8c74612f5ac13cf07d9f015fe53c9a623e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:43:25 + docker inspect -f . ci-base-image-arm64 22:43:25 . [Pipeline] withDockerContainer 22:43:25 prd-ubuntu18.04-docker-arm64-4c-16g-21367 does not seem to be running inside a container 22:43:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/15 -v /w/workspace/app-service-configurable/15:/w/workspace/app-service-configurable/15:rw,z -v /w/workspace/app-service-configurable/15@tmp:/w/workspace/app-service-configurable/15@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 ******** ci-base-image-arm64 cat 22:43:27 $ docker top d746865bfb103a52b2bef001636271349995f5fb9a01c8de2fc427cc3857af9e -eo pid,comm [Pipeline] { [Pipeline] sh 22:43:28 + make test 22:43:28 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 22:44:07 ? github.com/edgexfoundry/app-service-configurable [no test files] 22:44:07 CGO_ENABLED=1 go vet ./... 22:44:11 gofmt -l . 22:44:11 [ "`gofmt -l .`" = "" ] 22:44:11 ./bin/test-go-mod-tidy.sh 22:44:11 ./bin/test-attribution-txt.sh [Pipeline] } 22:44:12 $ docker stop --time=1 d746865bfb103a52b2bef001636271349995f5fb9a01c8de2fc427cc3857af9e 22:44:14 $ docker rm -f d746865bfb103a52b2bef001636271349995f5fb9a01c8de2fc427cc3857af9e [Pipeline] // withDockerContainer [Pipeline] sh 22:44:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:44:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:44:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:44:21 + ls -al . 22:44:21 total 112 22:44:21 drwxrwxr-x 7 jenkins jenkins 4096 Jan 19 22:44 . 22:44:21 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 22:41 .. 22:44:21 -rw-rw-r-- 1 jenkins jenkins 119 Jan 19 22:42 .dockerignore 22:44:21 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 22:42 .git 22:44:21 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 22:42 .github 22:44:21 -rw-rw-r-- 1 jenkins jenkins 93 Jan 19 22:42 .gitignore 22:44:21 -rw-rw-r-- 1 jenkins jenkins 6426 Jan 19 22:42 Attribution.txt 22:44:21 -rw-rw-r-- 1 jenkins jenkins 2032 Jan 19 22:42 Dockerfile 22:44:21 -rw-rw-r-- 1 jenkins jenkins 970 Jan 19 22:42 Dockerfile.build 22:44:21 -rw-rw-r-- 1 jenkins jenkins 687 Jan 19 22:42 Jenkinsfile 22:44:21 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 19 22:42 LICENSE 22:44:21 -rw-rw-r-- 1 jenkins jenkins 1277 Jan 19 22:42 README.md 22:44:21 -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 22:41 VERSION 22:44:21 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 22:42 bin 22:44:21 -rw-r--r-- 1 jenkins jenkins 10 Jan 19 22:43 coverage.out 22:44:21 -rw-r--r-- 1 jenkins jenkins 135 Jan 19 22:44 go.mod 22:44:21 -rw-r--r-- 1 jenkins jenkins 18779 Jan 19 22:44 go.sum 22:44:21 -rw-rw-r-- 1 jenkins jenkins 1522 Jan 19 22:42 main.go 22:44:21 -rw-rw-r-- 1 jenkins jenkins 1582 Jan 19 22:42 makefile 22:44:21 drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 22:42 res 22:44:21 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 22:42 snap [Pipeline] isUnix [Pipeline] sh 22:44:21 + docker build -t docker-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=dec89c72abff9615ef3e9bcdd11897429aa7ffe5 --label arch=arm64 --label version=0.0.0 . 22:44:21 Sending build context to Docker daemon 121.3kB 22:44:21 Step 1/27 : ARG BASE=golang:1.15-alpine3.12 22:44:21 Step 2/27 : FROM ${BASE} AS builder 22:44:21 ---> e1a532805c74 22:44:21 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:44:21 ---> Running in b99001360553 22:44:22 Removing intermediate container b99001360553 22:44:22 ---> 5b4e3e22e37e 22:44:22 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 22:44:22 ---> Running in 669793b75b86 22:44:23 Removing intermediate container 669793b75b86 22:44:23 ---> 8c1e393c5990 22:44:23 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 22:44:23 ---> Running in cb8ddda2c983 22:44:23 Removing intermediate container cb8ddda2c983 22:44:23 ---> 90d56d9c8289 22:44:23 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:44:23 ---> Running in f742e7c7ea54 22:44:25 Removing intermediate container f742e7c7ea54 22:44:25 ---> 7f84973f95fb 22:44:25 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:44:26 ---> Running in 0561b9b4fb19 22:44:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:44:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:44:29 OK: 144 MiB in 45 packages 22:44:30 Removing intermediate container 0561b9b4fb19 22:44:30 ---> 971a1547f299 22:44:30 Step 8/27 : WORKDIR /app 22:44:30 ---> Running in 06c6c26e45fb 22:44:30 Removing intermediate container 06c6c26e45fb 22:44:30 ---> 56eb915d130f 22:44:30 Step 9/27 : COPY go.mod . 22:44:31 ---> d36038f35d3f 22:44:31 Step 10/27 : RUN go mod download 22:44:31 ---> Running in cf46036fa08f 22:44:34 Removing intermediate container cf46036fa08f 22:44:34 ---> 1a71a4d8928c 22:44:34 Step 11/27 : COPY . . 22:44:34 ---> 00b2202ed3ce 22:44:34 Step 12/27 : ARG MAKE="make build" 22:44:34 ---> Running in d95f913e0c91 22:44:35 Removing intermediate container d95f913e0c91 22:44:35 ---> f9ffb3e9443d 22:44:35 Step 13/27 : RUN $MAKE 22:44:35 ---> Running in d6781ed10e04 22:44:36 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o app-service-configurable 22:45:00 Running on prd-centos7-docker-4c-2g-21374 in /w/workspace/_app-service-configurable_PR-151 [Pipeline] { [Pipeline] ws 22:45:00 Running in /w/workspace/app-service-configurable/15 [Pipeline] { [Pipeline] checkout 22:45:09 using credential edgex-jenkins-ssh 22:45:10 Cloning the remote Git repository 22:45:10 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 22:45:10 > git init /w/workspace/app-service-configurable/15 # timeout=10 22:45:10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 22:45:10 > git --version # timeout=10 22:45:10 > git --version # 'git version 2.24.3' 22:45:10 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:11 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 22:45:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:11 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 22:45:11 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 22:45:11 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/151/head:refs/remotes/origin/PR-151 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:45:11 Merging remotes/origin/master commit 4eb982c5c40026bdb4233f13b12533b0406be3c0 into PR head commit dec89c72abff9615ef3e9bcdd11897429aa7ffe5 22:45:11 Merge succeeded, producing dec89c72abff9615ef3e9bcdd11897429aa7ffe5 22:45:11 Checking out Revision dec89c72abff9615ef3e9bcdd11897429aa7ffe5 (PR-151) 22:45:11 > git config core.sparsecheckout # timeout=10 22:45:11 > git checkout -f dec89c72abff9615ef3e9bcdd11897429aa7ffe5 # timeout=10 22:45:11 > git remote # timeout=10 22:45:11 > git config --get remote.origin.url # timeout=10 22:45:11 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:11 > git merge 4eb982c5c40026bdb4233f13b12533b0406be3c0 # timeout=10 22:45:11 > git rev-parse HEAD^{commit} # timeout=10 22:45:11 > git config core.sparsecheckout # timeout=10 22:45:12 > git checkout -f dec89c72abff9615ef3e9bcdd11897429aa7ffe5 # timeout=10 22:45:15 Removing intermediate container d6781ed10e04 22:45:15 ---> 3819bf19a61f 22:45:15 Step 14/27 : FROM alpine:3.12 22:45:15 3.12: Pulling from library/alpine 22:45:15 159e5727ea61: Pulling fs layer 22:45:15 159e5727ea61: Download complete 22:45:15 159e5727ea61: Pull complete 22:45:15 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 22:45:15 Status: Downloaded newer image for alpine:3.12 22:45:15 ---> afeebe901d6b 22:45:15 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 22:45:15 ---> Running in f33f38fd299b 22:45:15 Removing intermediate container f33f38fd299b 22:45:15 ---> 7ede4555c2ff 22:45:15 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 22:45:15 ---> Running in 594fd31188a4 22:45:15 Removing intermediate container 594fd31188a4 22:45:15 ---> 043a6e279eab 22:45:15 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 22:45:15 ---> Running in 93427e03084f 22:45:15 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:45:15 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:45:15 (1/7) Installing ca-certificates (20191127-r4) 22:45:15 (2/7) Installing dumb-init (1.2.2-r1) 22:45:15 (3/7) Installing libgcc (9.3.0-r2) 22:45:15 (4/7) Installing libsodium (1.0.18-r0) 22:45:15 (5/7) Installing libstdc++ (9.3.0-r2) 22:45:15 (6/7) Installing libzmq (4.3.3-r0) 22:45:15 (7/7) Installing zeromq (4.3.3-r0) 22:45:15 Executing busybox-1.31.1-r19.trigger 22:45:15 Executing ca-certificates-20191127-r4.trigger 22:45:15 OK: 9 MiB in 21 packages 22:45:16 Removing intermediate container 93427e03084f 22:45:16 ---> 5c8e8c467015 22:45:16 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:45:16 Commit message: "fix(snap): allow disabling of secret-store via config hook" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 22:45:17 ---> e78edec041f7 22:45:17 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [Pipeline] script [Pipeline] { [Pipeline] sh 22:45:17 ---> a4ce97706781 22:45:17 Step 20/27 : COPY --from=builder /app/res/ /res/ 22:45:18 ---> b6730a102cea 22:45:18 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 22:45:18 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:45:18 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:45:19 + true 22:45:19 + sudo service docker restart 22:45:19 Redirecting to /bin/systemctl restart docker.service 22:45:19 ---> a312b340bb94 22:45:19 Step 22/27 : EXPOSE 48095 22:45:19 ---> Running in 708b8f616a71 22:45:20 Removing intermediate container 708b8f616a71 22:45:20 ---> 2f4a42c47a16 22:45:20 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 22:45:20 ---> Running in 8ed40c6460e2 [Pipeline] withEnv [Pipeline] { 22:45:20 Removing intermediate container 8ed40c6460e2 22:45:20 ---> 530f5f538a23 22:45:20 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [Pipeline] wrap 22:45:20 provisioning config files... 22:45:20 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/15@tmp/config7467010698061819096tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:45:21 ---> Running in fc0a9794b22c 22:45:21 Removing intermediate container fc0a9794b22c 22:45:21 ---> fecf75dbda08 22:45:21 Step 25/27 : LABEL arch=arm64 22:45:21 ---> docker-login.sh 22:45:21 nexus3.edgexfoundry.org:10001 22:45:21 ---> Running in 1a479843f56b 22:45:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:22 Removing intermediate container 1a479843f56b 22:45:22 ---> e346a2b39277 22:45:22 Step 26/27 : LABEL git_sha=dec89c72abff9615ef3e9bcdd11897429aa7ffe5 22:45:22 ---> Running in c462efcc51fd 22:45:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:22 Configure a credential helper to remove this warning. See 22:45:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:22 22:45:22 Login Succeeded 22:45:22 nexus3.edgexfoundry.org:10002 22:45:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:22 Configure a credential helper to remove this warning. See 22:45:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:22 22:45:22 Login Succeeded 22:45:22 nexus3.edgexfoundry.org:10003 22:45:22 Removing intermediate container c462efcc51fd 22:45:22 ---> 9dc2d87e6835 22:45:22 Step 27/27 : LABEL version=0.0.0 22:45:22 ---> Running in 11963fce607b 22:45:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:22 Configure a credential helper to remove this warning. See 22:45:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:22 22:45:22 Login Succeeded 22:45:22 nexus3.edgexfoundry.org:10004 22:45:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:23 Configure a credential helper to remove this warning. See 22:45:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:23 22:45:23 Login Succeeded 22:45:23 docker.io 22:45:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:23 Removing intermediate container 11963fce607b 22:45:23 ---> 3aaf4dcdd824 22:45:23 [Warning] One or more build-args [ARCH] were not consumed 22:45:23 Successfully built 3aaf4dcdd824 22:45:23 Successfully tagged docker-app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 22:45:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:23 Configure a credential helper to remove this warning. See 22:45:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:23 22:45:23 Login Succeeded 22:45:23 ---> docker-login.sh ends [Pipeline] } 22:45:23 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] echo 22:45:24 ========================================================= 22:45:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 22:45:24 ========================================================= [Pipeline] // node [Pipeline] } [Pipeline] isUnix [Pipeline] sh [Pipeline] // stage [Pipeline] } 22:45:24 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 22:45:24 Sending build context to Docker daemon 99.84kB 22:45:25 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:45:25 Step 2/8 : FROM ${BASE} 22:45:25 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 22:45:25 188c0c94c7c5: Pulling fs layer 22:45:25 0ef7d3d256c8: Pulling fs layer 22:45:25 de9db76c5a1d: Pulling fs layer 22:45:25 bca2f99d35d6: Pulling fs layer 22:45:25 93359f2a8cfa: Pulling fs layer 22:45:25 7c6f9722023f: Pulling fs layer 22:45:25 a35cf1a2eb13: Pulling fs layer 22:45:25 93359f2a8cfa: Waiting 22:45:25 7c6f9722023f: Waiting 22:45:25 a35cf1a2eb13: Waiting 22:45:25 bca2f99d35d6: Waiting 22:45:25 de9db76c5a1d: Verifying Checksum 22:45:25 de9db76c5a1d: Download complete 22:45:25 0ef7d3d256c8: Verifying Checksum 22:45:25 0ef7d3d256c8: Download complete 22:45:25 93359f2a8cfa: Download complete 22:45:25 7c6f9722023f: Download complete 22:45:25 188c0c94c7c5: Download complete 22:45:26 188c0c94c7c5: Pull complete 22:45:27 0ef7d3d256c8: Pull complete 22:45:27 de9db76c5a1d: Pull complete 22:45:31 a35cf1a2eb13: Verifying Checksum 22:45:31 a35cf1a2eb13: Download complete 22:45:32 bca2f99d35d6: Verifying Checksum 22:45:32 bca2f99d35d6: Download complete 22:45:45 bca2f99d35d6: Pull complete 22:45:45 93359f2a8cfa: Pull complete 22:45:45 7c6f9722023f: Pull complete 22:45:50 a35cf1a2eb13: Pull complete 22:45:50 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 22:45:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 22:45:50 ---> a62c8e92a672 22:45:50 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:45:50 ---> Running in 1ce6faf84ade 22:45:50 Removing intermediate container 1ce6faf84ade 22:45:50 ---> 583d9cfafcb4 22:45:50 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:45:50 ---> Running in 942048cfe910 22:45:53 Removing intermediate container 942048cfe910 22:45:53 ---> e3e64d467ad0 22:45:53 Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash 22:45:53 ---> Running in 51df8d87290c 22:45:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:45:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:45:56 (1/6) Installing libc-dev (0.7.2-r3) 22:45:56 (2/6) Installing libsodium (1.0.18-r0) 22:45:56 (3/6) Installing pkgconf (1.7.2-r0) 22:45:56 (4/6) Installing libsodium-dev (1.0.18-r0) 22:45:57 (5/6) Installing libzmq (4.3.3-r0) 22:45:57 (6/6) Installing zeromq-dev (4.3.3-r0) 22:45:57 Executing busybox-1.31.1-r19.trigger 22:45:57 OK: 167 MiB in 45 packages 22:45:58 Removing intermediate container 51df8d87290c 22:45:58 ---> 35bd12af0f46 22:45:58 Step 6/8 : WORKDIR /app 22:45:58 ---> Running in f8fd4acef344 22:45:58 Removing intermediate container f8fd4acef344 22:45:58 ---> 8413b880605e 22:45:58 Step 7/8 : COPY . . 22:45:59 ---> df99100f6035 22:45:59 Step 8/8 : RUN go mod download 22:45:59 ---> Running in c4e7875d30a0 22:46:33 Removing intermediate container c4e7875d30a0 22:46:33 ---> 5f984219c291 22:46:33 Successfully built 5f984219c291 22:46:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:46:33 + docker inspect -f . ci-base-image-x86_64 22:46:33 . [Pipeline] withDockerContainer 22:46:33 prd-centos7-docker-4c-2g-21374 does not seem to be running inside a container 22:46:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/15 -v /w/workspace/app-service-configurable/15:/w/workspace/app-service-configurable/15:rw,z -v /w/workspace/app-service-configurable/15@tmp:/w/workspace/app-service-configurable/15@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 22:46:35 $ docker top 68040d9c719870fbb2ea015be33a77d4fd8489ae057e2a6a0ebd0273eae98837 -eo pid,comm [Pipeline] { [Pipeline] sh 22:46:36 + go version 22:46:36 go version go1.15.5 linux/amd64 [Pipeline] } 22:46:36 $ docker stop --time=1 68040d9c719870fbb2ea015be33a77d4fd8489ae057e2a6a0ebd0273eae98837 22:46:37 $ docker rm -f 68040d9c719870fbb2ea015be33a77d4fd8489ae057e2a6a0ebd0273eae98837 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:46:38 + docker inspect -f . ci-base-image-x86_64 22:46:38 . [Pipeline] withDockerContainer 22:46:38 prd-centos7-docker-4c-2g-21374 does not seem to be running inside a container 22:46:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/15 -v /w/workspace/app-service-configurable/15:/w/workspace/app-service-configurable/15:rw,z -v /w/workspace/app-service-configurable/15@tmp:/w/workspace/app-service-configurable/15@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 22:46:40 $ docker top 561d304f9043d0f63375071fa235588e00292eb6c6b6911b1a4dbace6407b04f -eo pid,comm [Pipeline] { [Pipeline] sh 22:46:41 + make test 22:46:41 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 22:47:21 ? github.com/edgexfoundry/app-service-configurable [no test files] 22:47:21 CGO_ENABLED=1 go vet ./... 22:47:21 gofmt -l . 22:47:21 [ "`gofmt -l .`" = "" ] 22:47:21 ./bin/test-go-mod-tidy.sh 22:47:21 ./bin/test-attribution-txt.sh [Pipeline] } 22:47:22 $ docker stop --time=1 561d304f9043d0f63375071fa235588e00292eb6c6b6911b1a4dbace6407b04f 22:47:24 $ docker rm -f 561d304f9043d0f63375071fa235588e00292eb6c6b6911b1a4dbace6407b04f [Pipeline] // withDockerContainer [Pipeline] sh 22:47:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:47:25 Warning: overwriting stash ‘coverage-report’ 22:47:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:47:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:47:27 + ls -al . 22:47:27 total 88 22:47:27 drwxrwxr-x. 7 jenkins jenkins 4096 Jan 19 22:47 . 22:47:27 drwxrwxr-x. 4 jenkins jenkins 30 Jan 19 22:45 .. 22:47:27 -rw-rw-r--. 1 jenkins jenkins 6426 Jan 19 22:45 Attribution.txt 22:47:27 drwxrwxr-x. 2 jenkins jenkins 64 Jan 19 22:45 bin 22:47:27 -rw-r--r--. 1 jenkins jenkins 10 Jan 19 22:46 coverage.out 22:47:27 -rw-rw-r--. 1 jenkins jenkins 2032 Jan 19 22:45 Dockerfile 22:47:27 -rw-rw-r--. 1 jenkins jenkins 970 Jan 19 22:45 Dockerfile.build 22:47:27 -rw-rw-r--. 1 jenkins jenkins 119 Jan 19 22:45 .dockerignore 22:47:27 drwxrwxr-x. 8 jenkins jenkins 179 Jan 19 22:45 .git 22:47:27 drwxrwxr-x. 2 jenkins jenkins 81 Jan 19 22:45 .github 22:47:27 -rw-rw-r--. 1 jenkins jenkins 93 Jan 19 22:45 .gitignore 22:47:27 -rw-r--r--. 1 jenkins jenkins 135 Jan 19 22:47 go.mod 22:47:27 -rw-r--r--. 1 jenkins jenkins 18779 Jan 19 22:47 go.sum 22:47:27 -rw-rw-r--. 1 jenkins jenkins 687 Jan 19 22:45 Jenkinsfile 22:47:27 -rw-rw-r--. 1 jenkins jenkins 10174 Jan 19 22:45 LICENSE 22:47:27 -rw-rw-r--. 1 jenkins jenkins 1522 Jan 19 22:45 main.go 22:47:27 -rw-rw-r--. 1 jenkins jenkins 1582 Jan 19 22:45 makefile 22:47:27 -rw-rw-r--. 1 jenkins jenkins 1277 Jan 19 22:45 README.md 22:47:27 drwxrwxr-x. 10 jenkins jenkins 171 Jan 19 22:45 res 22:47:27 drwxrwxr-x. 4 jenkins jenkins 71 Jan 19 22:45 snap 22:47:27 -rw-rw-r--. 1 jenkins jenkins 5 Jan 19 22:41 VERSION [Pipeline] isUnix [Pipeline] sh 22:47:27 + docker build -t docker-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=dec89c72abff9615ef3e9bcdd11897429aa7ffe5 --label arch=amd64 --label version=0.0.0 . 22:47:27 Sending build context to Docker daemon 121.3kB 22:47:27 Step 1/27 : ARG BASE=golang:1.15-alpine3.12 22:47:27 Step 2/27 : FROM ${BASE} AS builder 22:47:27 ---> 5f984219c291 22:47:27 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 22:47:27 ---> Running in c43469a13167 22:47:27 Removing intermediate container c43469a13167 22:47:27 ---> 668d51e74c27 22:47:27 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 22:47:28 ---> Running in 4889876b970e 22:47:28 Removing intermediate container 4889876b970e 22:47:28 ---> 692bc8bbf852 22:47:28 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 22:47:28 ---> Running in cf6bbbdff408 22:47:28 Removing intermediate container cf6bbbdff408 22:47:28 ---> b58c02e2bd55 22:47:28 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:47:28 ---> Running in b27709ff6664 22:47:30 Removing intermediate container b27709ff6664 22:47:30 ---> d422578e95b0 22:47:30 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:47:30 ---> Running in c3a3cf7d1c14 22:47:31 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:47:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:47:33 OK: 167 MiB in 45 packages 22:47:33 Removing intermediate container c3a3cf7d1c14 22:47:33 ---> 0b60fb823791 22:47:33 Step 8/27 : WORKDIR /app 22:47:33 ---> Running in b1049f4e3962 22:47:34 Removing intermediate container b1049f4e3962 22:47:34 ---> a2b719f361f4 22:47:34 Step 9/27 : COPY go.mod . 22:47:34 ---> 602d8158e314 22:47:34 Step 10/27 : RUN go mod download 22:47:34 ---> Running in 0a445df6f3bc 22:47:36 Removing intermediate container 0a445df6f3bc 22:47:36 ---> f09066e32a5d 22:47:36 Step 11/27 : COPY . . 22:47:37 ---> ca16b8226885 22:47:37 Step 12/27 : ARG MAKE="make build" 22:47:37 ---> Running in c318c15c94e0 22:47:37 Removing intermediate container c318c15c94e0 22:47:37 ---> 41136e1167bf 22:47:37 Step 13/27 : RUN $MAKE 22:47:37 ---> Running in cf3438c97720 22:47:38 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o app-service-configurable 22:48:06 Removing intermediate container cf3438c97720 22:48:06 ---> bc861c99811b 22:48:06 Step 14/27 : FROM alpine:3.12 22:48:06 3.12: Pulling from library/alpine 22:48:06 801bfaa63ef2: Pulling fs layer 22:48:06 801bfaa63ef2: Download complete 22:48:06 801bfaa63ef2: Pull complete 22:48:06 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 22:48:06 Status: Downloaded newer image for alpine:3.12 22:48:06 ---> 389fef711851 22:48:06 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 22:48:06 ---> Running in 1c31c0b3bf73 22:48:06 Removing intermediate container 1c31c0b3bf73 22:48:06 ---> 10615951fb22 22:48:06 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 22:48:06 ---> Running in c854bd6fc3bb 22:48:06 Removing intermediate container c854bd6fc3bb 22:48:06 ---> 7b09d51185a7 22:48:06 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 22:48:07 ---> Running in 188ec6898fbc 22:48:07 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:48:07 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:48:08 (1/7) Installing ca-certificates (20191127-r4) 22:48:08 (2/7) Installing dumb-init (1.2.2-r1) 22:48:08 (3/7) Installing libgcc (9.3.0-r2) 22:48:08 (4/7) Installing libsodium (1.0.18-r0) 22:48:08 (5/7) Installing libstdc++ (9.3.0-r2) 22:48:08 (6/7) Installing libzmq (4.3.3-r0) 22:48:08 (7/7) Installing zeromq (4.3.3-r0) 22:48:08 Executing busybox-1.31.1-r19.trigger 22:48:08 Executing ca-certificates-20191127-r4.trigger 22:48:08 OK: 9 MiB in 21 packages 22:48:11 Removing intermediate container 188ec6898fbc 22:48:11 ---> fae1379becee 22:48:11 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:48:11 ---> 114cb9912e2c 22:48:11 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 22:48:11 ---> 84fdef87944c 22:48:11 Step 20/27 : COPY --from=builder /app/res/ /res/ 22:48:12 ---> c1ff12c77095 22:48:12 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 22:48:13 ---> 621ebde68793 22:48:13 Step 22/27 : EXPOSE 48095 22:48:13 ---> Running in fcff8db717bc 22:48:13 Removing intermediate container fcff8db717bc 22:48:13 ---> 41a8de7b10da 22:48:13 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 22:48:13 ---> Running in 1eb69af4775b 22:48:13 Removing intermediate container 1eb69af4775b 22:48:13 ---> 0dde26acb0e7 22:48:13 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:48:13 ---> Running in 6bfa4a0d156d 22:48:14 Removing intermediate container 6bfa4a0d156d 22:48:14 ---> 8a67dddd6e43 22:48:14 Step 25/27 : LABEL arch=amd64 22:48:14 ---> Running in f1c936f43012 22:48:14 Removing intermediate container f1c936f43012 22:48:14 ---> b906d97bc8e1 22:48:14 Step 26/27 : LABEL git_sha=dec89c72abff9615ef3e9bcdd11897429aa7ffe5 22:48:14 ---> Running in ffe28f36f458 22:48:14 Removing intermediate container ffe28f36f458 22:48:14 ---> 88cd5d89cabd 22:48:14 Step 27/27 : LABEL version=0.0.0 22:48:14 ---> Running in fe206c2c40c9 22:48:15 Removing intermediate container fe206c2c40c9 22:48:15 ---> 5e589b3d009c 22:48:15 [Warning] One or more build-args [ARCH] were not consumed 22:48:15 Successfully built 5e589b3d009c 22:48:15 Successfully tagged docker-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 22:48:30 Still waiting to schedule task 22:48:30 All nodes of label ‘ubuntu18.04-docker-8c-8g’ are offline 22:49:19 Running on prd-ubuntu18.04-docker-8c-8g-21377 in /w/workspace/_app-service-configurable_PR-151 [Pipeline] { [Pipeline] ws 22:49:19 Running in /w/workspace/app-service-configurable/15 [Pipeline] { [Pipeline] checkout 22:49:21 using credential edgex-jenkins-ssh 22:49:21 Cloning the remote Git repository 22:49:21 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 22:49:21 > git init /w/workspace/app-service-configurable/15 # timeout=10 22:49:21 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 22:49:21 > git --version # timeout=10 22:49:21 > git --version # 'git version 2.17.1' 22:49:21 using GIT_SSH to set credentials SSH Credentials for GitHub 22:49:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:49:22 Merging remotes/origin/master commit 4eb982c5c40026bdb4233f13b12533b0406be3c0 into PR head commit dec89c72abff9615ef3e9bcdd11897429aa7ffe5 22:49:22 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 22:49:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:49:22 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 22:49:22 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 22:49:22 using GIT_SSH to set credentials SSH Credentials for GitHub 22:49:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/151/head:refs/remotes/origin/PR-151 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:49:22 > git config core.sparsecheckout # timeout=10 22:49:22 > git checkout -f dec89c72abff9615ef3e9bcdd11897429aa7ffe5 # timeout=10 22:49:22 > git remote # timeout=10 22:49:22 > git config --get remote.origin.url # timeout=10 22:49:22 using GIT_SSH to set credentials SSH Credentials for GitHub 22:49:22 > git merge 4eb982c5c40026bdb4233f13b12533b0406be3c0 # timeout=10 22:49:22 > git rev-parse HEAD^{commit} # timeout=10 22:49:22 Merge succeeded, producing dec89c72abff9615ef3e9bcdd11897429aa7ffe5 22:49:22 Checking out Revision dec89c72abff9615ef3e9bcdd11897429aa7ffe5 (PR-151) 22:49:22 > git config core.sparsecheckout # timeout=10 22:49:22 > git checkout -f dec89c72abff9615ef3e9bcdd11897429aa7ffe5 # timeout=10 22:49:26 Commit message: "fix(snap): allow disabling of secret-store via config hook" [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:49:27 + echo snap-build.sh 22:49:27 snap-build.sh 22:49:27 + SNAP_BASE_DIR=. 22:49:27 + '[' '!' -z /w/workspace/app-service-configurable/15 ']' 22:49:27 + SNAP_BASE_DIR=/w/workspace/app-service-configurable/15 22:49:27 + echo '[snap-build] Building snap in dir [/w/workspace/app-service-configurable/15]' 22:49:27 [snap-build] Building snap in dir [/w/workspace/app-service-configurable/15] 22:49:27 + cd /w/workspace/app-service-configurable/15 22:49:27 + sudo apt-get remove -qy --purge lxd lxd-client 22:49:27 Reading package lists... 22:49:27 Building dependency tree... 22:49:27 Reading state information... 22:49:27 The following packages were automatically installed and are no longer required: 22:49:27 dns-root-data dnsmasq-base ebtables grub-pc-bin liblxc-common liblxc1 lxcfs 22:49:27 uidmap xdelta3 22:49:27 Use 'sudo apt autoremove' to remove them. 22:49:27 The following packages will be REMOVED: 22:49:27 lxd* lxd-client* 22:49:28 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 22:49:28 After this operation, 31.7 MB disk space will be freed. 22:49:29 (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 190027 files and directories currently installed.) 22:49:29 Removing lxd (3.0.3-0ubuntu1~18.04.1) ... 22:49:30 Removing lxd dnsmasq configuration 22:49:30 Removing lxd-client (3.0.3-0ubuntu1~18.04.1) ... 22:49:30 Processing triggers for man-db (2.8.3-2ubuntu0.1) ... 22:49:31 Processing triggers for libc-bin (2.27-3ubuntu1.3) ... 22:49:31 (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 189852 files and directories currently installed.) 22:49:31 Purging configuration files for lxd (3.0.3-0ubuntu1~18.04.1) ... 22:49:33 Processing triggers for systemd (237-3ubuntu10.42) ... 22:49:33 Processing triggers for ureadahead (0.100.0-21) ... 22:49:34 + sudo snap remove --purge lxd 22:49:34 snap "lxd" is not installed 22:49:34 + sudo groupadd --force --system lxd 22:49:34 ++ whoami 22:49:34 + sudo /usr/sbin/usermod -G lxd -a jenkins 22:49:34 + newgrp - lxd 22:49:34 + sudo snap install lxd 22:50:21 error: unable to contact snap store [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:50:22 Failed in branch amd64 [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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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] libraryResource [Pipeline] sh 22:50:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:50:25 ---> package-listing.sh 22:50:25 ++ facter osfamily 22:50:25 ++ tr '[:upper:]' '[:lower:]' 22:50:25 + OS_FAMILY=redhat 22:50:25 + workspace=/w/workspace/_app-service-configurable_PR-151 22:50:25 + START_PACKAGES=/tmp/packages_start.txt 22:50:25 + END_PACKAGES=/tmp/packages_end.txt 22:50:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:50:25 + PACKAGES=/tmp/packages_start.txt 22:50:25 + '[' /w/workspace/_app-service-configurable_PR-151 ']' 22:50:25 + PACKAGES=/tmp/packages_end.txt 22:50:25 + case "${OS_FAMILY}" in 22:50:25 + rpm -qa 22:50:25 + sort 22:50:31 + '[' -f /tmp/packages_start.txt ']' 22:50:31 + '[' -f /tmp/packages_end.txt ']' 22:50:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:50:31 + '[' /w/workspace/_app-service-configurable_PR-151 ']' 22:50:31 + mkdir -p /w/workspace/_app-service-configurable_PR-151/archives/ 22:50:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-151/archives/ [Pipeline] echo 22:50:31 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-151/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:50:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:50:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:50:31 22:50:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:50:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:50:32 alpine: Pulling from edgex-lftools-log-publisher 22:50:32 df20fa9351a1: Pulling fs layer 22:50:32 36b3adc4ff6f: Pulling fs layer 22:50:32 8ad3a11d3b57: Pulling fs layer 22:50:32 46f8f816bc3b: Pulling fs layer 22:50:32 93b61091891f: Pulling fs layer 22:50:32 93b9cdb0e59b: Pulling fs layer 22:50:32 5e14af77c1be: Pulling fs layer 22:50:32 01666e4c0597: Pulling fs layer 22:50:32 aa168da1d23b: Pulling fs layer 22:50:32 93b61091891f: Waiting 22:50:32 93b9cdb0e59b: Waiting 22:50:32 5e14af77c1be: Waiting 22:50:32 01666e4c0597: Waiting 22:50:32 aa168da1d23b: Waiting 22:50:32 46f8f816bc3b: Waiting 22:50:32 36b3adc4ff6f: Download complete 22:50:32 46f8f816bc3b: Verifying Checksum 22:50:32 46f8f816bc3b: Download complete 22:50:32 df20fa9351a1: Verifying Checksum 22:50:32 df20fa9351a1: Download complete 22:50:32 93b9cdb0e59b: Verifying Checksum 22:50:32 93b9cdb0e59b: Download complete 22:50:32 5e14af77c1be: Verifying Checksum 22:50:32 5e14af77c1be: Download complete 22:50:32 01666e4c0597: Verifying Checksum 22:50:32 01666e4c0597: Download complete 22:50:32 93b61091891f: Verifying Checksum 22:50:32 93b61091891f: Download complete 22:50:32 8ad3a11d3b57: Verifying Checksum 22:50:32 8ad3a11d3b57: Download complete 22:50:32 df20fa9351a1: Pull complete 22:50:32 36b3adc4ff6f: Pull complete 22:50:33 8ad3a11d3b57: Pull complete 22:50:34 46f8f816bc3b: Pull complete 22:50:34 aa168da1d23b: Download complete 22:50:34 93b61091891f: Pull complete 22:50:34 93b9cdb0e59b: Pull complete 22:50:34 5e14af77c1be: Pull complete 22:50:34 01666e4c0597: Pull complete 22:50:43 aa168da1d23b: Pull complete 22:50:43 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:50:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:50:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:50:43 prd-centos7-docker-4c-2g-21373 does not seem to be running inside a container 22:50:43 $ 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-151/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-151 -v /w/workspace/_app-service-configurable_PR-151:/w/workspace/_app-service-configurable_PR-151:rw,z -v /w/workspace/_app-service-configurable_PR-151@tmp:/w/workspace/_app-service-configurable_PR-151@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:alpine cat 22:50:46 $ docker top 0c2aa397559594d94c8c77d16e22b82a38d9926be20ce85bb1abb16a1b3362e3 -eo pid,comm [Pipeline] { [Pipeline] sh 22:50:47 + touch /tmp/pre-build-complete [Pipeline] sh 22:50:47 + mkdir -p /var/log/sa [Pipeline] sh 22:50:47 + ls /var/log/sa-host 22:50:47 + sadf -c /var/log/sa-host/sa19 22:50:47 file_magic: OK 22:50:47 HZ: Using current value: 100 22:50:47 file_header: OK 22:50:47 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 22:50:47 Statistics: 22:50:47 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:50:47 File successfully converted to sysstat format version 12.2.1 22:50:47 + sadf -c /var/log/sa-host/sa23 22:50:47 file_magic: OK 22:50:47 HZ: Using current value: 100 22:50:47 file_header: OK 22:50:47 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 22:50:47 Statistics: 22:50:47 Hnuu...uuuununununu... 22:50:47 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:50:48 provisioning config files... 22:50:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-151@tmp/config7396105120247414696tmp [Pipeline] { [Pipeline] echo 22:50:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:50:48 ---> create-netrc.sh [Pipeline] } 22:50:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 22:50:48 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 22:50:49 ---> python-tools-install.sh [Pipeline] echo 22:50:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:50:49 ---> sudo-logs.sh 22:50:49 Archiving 'sudo' log.. [Pipeline] echo 22:50:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:50:49 ---> job-cost.sh 22:50:49 lf-activate-venv: SKIPPING 22:50:49 INFO: No Stack... 22:50:51 INFO: Retrieving Pricing Info for: v1-standard-2 22:50:51 INFO: Archiving Costs [Pipeline] echo 22:50:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:50:51 ---> logs-deploy.sh 22:50:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-151/15 22:50:51 INFO: archiving workspace using pattern(s): 22:50:53 Archives upload complete. 22:50:53 INFO: archiving logs to Nexus 22:50:54 ---> uname -a: 22:50:54 Linux prd-centos7-docker-4c-2g-21373.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 22:50:54 22:50:54 22:50:54 ---> lscpu: 22:50:54 Architecture: x86_64 22:50:54 CPU op-mode(s): 32-bit, 64-bit 22:50:54 Byte Order: Little Endian 22:50:54 Address sizes: 40 bits physical, 48 bits virtual 22:50:54 CPU(s): 4 22:50:54 On-line CPU(s) list: 0-3 22:50:54 Thread(s) per core: 1 22:50:54 Core(s) per socket: 1 22:50:54 Socket(s): 4 22:50:54 NUMA node(s): 1 22:50:54 Vendor ID: GenuineIntel 22:50:54 CPU family: 6 22:50:54 Model: 44 22:50:54 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 22:50:54 Stepping: 1 22:50:54 CPU MHz: 2933.438 22:50:54 BogoMIPS: 5866.87 22:50:54 Virtualization: VT-x 22:50:54 Hypervisor vendor: KVM 22:50:54 Virtualization type: full 22:50:54 L1d cache: 128 KiB 22:50:54 L1i cache: 128 KiB 22:50:54 L2 cache: 16 MiB 22:50:54 L3 cache: 64 MiB 22:50:54 NUMA node0 CPU(s): 0-3 22:50:54 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 22:50:54 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 22:50:54 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 22:50:54 Vulnerability Meltdown: Mitigation; PTI 22:50:54 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 22:50:54 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 22:50:54 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 22:50:54 Vulnerability Srbds: Not affected 22:50:54 Vulnerability Tsx async abort: Not affected 22:50:54 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 22:50:54 22:50:54 22:50:54 ---> nproc: 22:50:54 4 22:50:54 22:50:54 22:50:54 ---> df -h: 22:50:54 Filesystem Size Used Available Use% Mounted on 22:50:54 overlay 50.0G 7.3G 42.7G 15% / 22:50:54 tmpfs 64.0M 0 64.0M 0% /dev 22:50:54 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 22:50:54 shm 64.0M 0 64.0M 0% /dev/shm 22:50:54 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 22:50:54 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 22:50:54 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 22:50:54 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 22:50:54 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 22:50:54 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 22:50:54 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 22:50:54 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/_app-service-configurable_PR-151 22:50:54 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/_app-service-configurable_PR-151@tmp 22:50:54 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 22:50:54 22:50:54 22:50:54 ---> free -m: 22:50:54 total used free shared buff/cache available 22:50:54 Mem: 1837 662 124 0 1050 1070 22:50:54 Swap: 1023 1 1022 22:50:54 22:50:54 22:50:54 ---> ip addr: 22:50:54 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 22:50:54 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 22:50:54 inet 127.0.0.1/8 scope host lo 22:50:54 valid_lft forever preferred_lft forever 22:50:54 inet6 ::1/128 scope host 22:50:54 valid_lft forever preferred_lft forever 22:50:54 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 22:50:54 link/ether fa:16:3e:21:69:07 brd ff:ff:ff:ff:ff:ff 22:50:54 inet 10.30.122.188/23 brd 10.30.123.255 scope global dynamic eth0 22:50:54 valid_lft 85807sec preferred_lft 85807sec 22:50:54 inet6 fe80::f816:3eff:fe21:6907/64 scope link 22:50:54 valid_lft forever preferred_lft forever 22:50:54 3: docker0: mtu 1500 qdisc noqueue state DOWN 22:50:54 link/ether 02:42:3c:73:07:31 brd ff:ff:ff:ff:ff:ff 22:50:54 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 22:50:54 valid_lft forever preferred_lft forever 22:50:54 inet6 fe80::42:3cff:fe73:731/64 scope link 22:50:54 valid_lft forever preferred_lft forever 22:50:54 22:50:54 22:50:54 ---> sar -b -r -n DEV: 22:50:54 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/19/21 _x86_64_ (4 CPU) 22:50:54 22:50:54 22:40:50 LINUX RESTART (4 CPU) 22:50:54 22:50:54 22:42:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 22:50:54 22:43:01 2.41 0.00 2.41 0.00 0.00 53.99 0.00 22:50:54 22:44:01 0.45 0.00 0.45 0.00 0.00 6.73 0.00 22:50:54 22:45:01 0.23 0.00 0.23 0.00 0.00 2.85 0.00 22:50:54 22:46:01 0.20 0.00 0.20 0.00 0.00 1.75 0.00 22:50:54 22:47:01 0.28 0.00 0.28 0.00 0.00 4.36 0.00 22:50:54 22:48:01 0.37 0.00 0.37 0.00 0.00 4.78 0.00 22:50:54 22:49:01 0.27 0.00 0.27 0.00 0.00 3.73 0.00 22:50:54 22:50:01 0.20 0.00 0.20 0.00 0.00 2.70 0.00 22:50:54 Average: 0.55 0.00 0.55 0.00 0.00 10.11 0.00 22:50:54 22:50:54 22:42:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 22:50:54 22:43:01 157008 0 558700 29.69 2620 1163216 1067828 36.44 398192 1127664 16 22:50:54 22:44:01 157556 0 558144 29.66 2620 1163224 1067720 36.44 395724 1129464 20 22:50:54 22:45:01 155408 0 560288 29.78 2620 1163228 1067720 36.44 409560 1117536 8 22:50:54 22:46:01 154916 0 560780 29.80 2620 1163228 1067804 36.44 409032 1118680 8 22:50:54 22:47:01 153724 0 561964 29.87 2620 1163236 1067780 36.44 412212 1116752 8 22:50:54 22:48:01 154216 0 561468 29.84 2620 1163240 1067720 36.44 416572 1112296 12 22:50:54 22:49:01 153084 0 562596 29.90 2620 1163244 1067864 36.44 417216 1112296 8 22:50:54 22:50:01 152976 0 562700 29.91 2620 1163248 1067900 36.45 417596 1112296 8 22:50:54 Average: 154861 0 560830 29.81 2620 1163233 1067792 36.44 409513 1118373 11 22:50:54 22:50:54 22:42:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 22:50:54 22:43:01 eth0 0.50 0.28 0.27 0.17 0.00 0.00 0.00 0.00 22:50:54 22:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:54 22:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:54 22:44:01 eth0 0.13 0.08 0.01 0.04 0.00 0.00 0.00 0.00 22:50:54 22:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:54 22:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:54 22:45:01 eth0 0.63 0.08 0.06 0.01 0.00 0.00 0.00 0.00 22:50:54 22:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:54 22:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:54 22:46:01 eth0 0.90 0.55 0.56 0.22 0.00 0.00 0.00 0.00 22:50:54 22:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:54 22:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:54 22:47:01 eth0 0.27 0.18 0.14 0.07 0.00 0.00 0.00 0.00 22:50:54 22:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:54 22:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:54 22:48:01 eth0 0.28 0.10 0.02 0.01 0.00 0.00 0.00 0.00 22:50:54 22:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:54 22:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:54 22:49:01 eth0 1.70 0.40 0.41 0.20 0.00 0.00 0.00 0.00 22:50:54 22:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:54 22:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:54 22:50:01 eth0 0.97 0.45 0.53 0.35 0.00 0.00 0.00 0.00 22:50:54 22:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:54 22:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:54 Average: eth0 0.67 0.27 0.25 0.13 0.00 0.00 0.00 0.00 22:50:54 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:54 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:50:54 22:50:54 22:50:54 ---> sar -P ALL: 22:50:54 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/19/21 _x86_64_ (4 CPU) 22:50:54 22:50:54 22:40:50 LINUX RESTART (4 CPU) 22:50:54 22:50:54 22:42:01 CPU %user %nice %system %iowait %steal %idle 22:50:54 22:43:01 all 0.07 0.00 0.07 0.00 0.00 99.86 22:50:54 22:43:01 0 0.03 0.00 0.07 0.00 0.00 99.90 22:50:54 22:43:01 1 0.13 0.00 0.12 0.00 0.00 99.75 22:50:54 22:43:01 2 0.07 0.00 0.07 0.00 0.00 99.87 22:50:54 22:43:01 3 0.03 0.00 0.03 0.00 0.00 99.93 22:50:54 22:44:01 all 0.09 0.00 0.03 0.00 0.01 99.87 22:50:54 22:44:01 0 0.02 0.00 0.03 0.00 0.00 99.95 22:50:54 22:44:01 1 0.18 0.00 0.03 0.00 0.02 99.77 22:50:54 22:44:01 2 0.03 0.00 0.05 0.00 0.00 99.92 22:50:54 22:44:01 3 0.12 0.00 0.00 0.00 0.02 99.87 22:50:54 22:45:01 all 0.14 0.00 0.04 0.00 0.00 99.82 22:50:54 22:45:01 0 0.03 0.00 0.03 0.00 0.00 99.93 22:50:54 22:45:01 1 0.05 0.00 0.03 0.00 0.00 99.92 22:50:54 22:45:01 2 0.02 0.00 0.07 0.00 0.00 99.92 22:50:54 22:45:01 3 0.45 0.00 0.03 0.00 0.00 99.52 22:50:54 22:46:01 all 0.12 0.00 0.04 0.00 0.00 99.84 22:50:54 22:46:01 0 0.03 0.00 0.03 0.00 0.02 99.92 22:50:54 22:46:01 1 0.05 0.00 0.05 0.00 0.00 99.90 22:50:54 22:46:01 2 0.02 0.00 0.03 0.00 0.00 99.95 22:50:54 22:46:01 3 0.37 0.00 0.03 0.00 0.00 99.60 22:50:54 22:47:01 all 0.04 0.00 0.06 0.00 0.00 99.90 22:50:54 22:47:01 0 0.02 0.00 0.03 0.00 0.00 99.95 22:50:54 22:47:01 1 0.05 0.00 0.02 0.00 0.00 99.93 22:50:54 22:47:01 2 0.03 0.00 0.12 0.00 0.00 99.85 22:50:54 22:47:01 3 0.05 0.00 0.07 0.00 0.00 99.88 22:50:54 22:48:01 all 0.10 0.00 0.05 0.00 0.00 99.85 22:50:54 22:48:01 0 0.03 0.00 0.03 0.00 0.00 99.93 22:50:54 22:48:01 1 0.05 0.00 0.05 0.00 0.00 99.90 22:50:54 22:48:01 2 0.02 0.00 0.07 0.00 0.00 99.92 22:50:54 22:48:01 3 0.32 0.00 0.03 0.00 0.00 99.65 22:50:54 22:49:01 all 0.17 0.00 0.03 0.00 0.00 99.80 22:50:54 22:49:01 0 0.02 0.00 0.02 0.00 0.00 99.97 22:50:54 22:49:01 1 0.07 0.00 0.03 0.00 0.00 99.90 22:50:54 22:49:01 2 0.05 0.00 0.03 0.00 0.00 99.92 22:50:54 22:49:01 3 0.53 0.00 0.05 0.00 0.02 99.40 22:50:54 22:50:01 all 0.18 0.00 0.03 0.00 0.00 99.78 22:50:54 22:50:01 0 0.10 0.00 0.02 0.00 0.00 99.88 22:50:54 22:50:01 1 0.07 0.00 0.05 0.00 0.02 99.87 22:50:54 22:50:01 2 0.05 0.00 0.03 0.00 0.00 99.92 22:50:54 22:50:01 3 0.52 0.00 0.02 0.00 0.00 99.47 22:50:54 Average: all 0.11 0.00 0.04 0.00 0.00 99.84 22:50:54 Average: 0 0.04 0.00 0.03 0.00 0.00 99.93 22:50:54 Average: 1 0.08 0.00 0.05 0.00 0.00 99.87 22:50:54 Average: 2 0.04 0.00 0.06 0.00 0.00 99.91 22:50:54 Average: 3 0.30 0.00 0.03 0.00 0.00 99.66 22:50:54 22:50:54 22:50:54