Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 86d88bac0e9df45207bbfb278ff4ca70c5103128 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 a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a5c854593eac886f27ddeefb8920871132e8ed78 # timeout=10 Commit message: "Merge pull request #303 from ernestojeda/fix-docker-login-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-14574 in /w/workspace/_app-service-configurable_master [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_master # 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/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 86d88bac0e9df45207bbfb278ff4ca70c5103128 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 86d88bac0e9df45207bbfb278ff4ca70c5103128 # timeout=10 Commit message: "refactor: Remove use of deprecated MQTTSend (#145)" > git rev-list --no-walk 7f47c9eff9bdccc396688e395d48b7e5029db660 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-05T00:03:43.740Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-05T00:03:43.977Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-05T00:03:44.080Z] ========================================================= [2020-12-05T00:03:44.081Z] EdgeX Global Pipelines Version Info [2020-12-05T00:03:44.081Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-05T00:03:45.575Z] ------------------- [2020-12-05T00:03:45.575Z] stable info: [2020-12-05T00:03:45.575Z] ------------------- [2020-12-05T00:03:45.575Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-05T00:03:45.575Z] Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 [2020-12-05T00:03:45.575Z] Message: update stable to v1.0.169 [2020-12-05T00:03:46.965Z] ------------------- [2020-12-05T00:03:46.965Z] experimental info: [2020-12-05T00:03:46.965Z] ------------------- [2020-12-05T00:03:46.965Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-05T00:03:46.965Z] Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 [2020-12-05T00:03:46.965Z] Message: update experimental to v1.0.171 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-05T00:03:47.235Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2020-12-05T00:03:47.332Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2020-12-05T00:03:47.430Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-05T00:03:47.534Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-05T00:03:47.653Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-05T00:03:47.750Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-05T00:03:47.846Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-05T00:03:47.940Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-05T00:03:48.045Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-05T00:03:48.143Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-05T00:03:48.242Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-05T00:03:48.342Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-service-configurable [Pipeline] echo [2020-12-05T00:03:48.441Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-05T00:03:48.539Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-05T00:03:48.661Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-05T00:03:48.759Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-05T00:03:48.861Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-05T00:03:48.959Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-05T00:03:49.069Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-05T00:03:49.173Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-12-05T00:03:49.266Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-05T00:03:49.357Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-05T00:03:49.466Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-05T00:03:49.567Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-05T00:03:49.661Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-05T00:03:49.755Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-05T00:03:49.846Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-12-05T00:03:49.939Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-12-05T00:03:50.033Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-12-05T00:03:50.168Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 86d88bac0e9df45207bbfb278ff4ca70c5103128 [Pipeline] echo [2020-12-05T00:03:50.297Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 86d88ba [Pipeline] echo [2020-12-05T00:03:50.387Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-05T00:03:50.605Z] provisioning config files... [2020-12-05T00:03:50.633Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_master@tmp/config8224719483304401130tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-05T00:03:51.005Z] ---> docker-login.sh [2020-12-05T00:03:51.005Z] nexus3.edgexfoundry.org:10001 [2020-12-05T00:03:51.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-05T00:03:51.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-05T00:03:51.534Z] Configure a credential helper to remove this warning. See [2020-12-05T00:03:51.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-05T00:03:51.534Z] [2020-12-05T00:03:51.534Z] Login Succeeded [2020-12-05T00:03:51.534Z] nexus3.edgexfoundry.org:10002 [2020-12-05T00:03:51.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-05T00:03:51.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-05T00:03:51.796Z] Configure a credential helper to remove this warning. See [2020-12-05T00:03:51.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-05T00:03:51.796Z] [2020-12-05T00:03:51.796Z] Login Succeeded [2020-12-05T00:03:51.796Z] nexus3.edgexfoundry.org:10003 [2020-12-05T00:03:51.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-05T00:03:51.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-05T00:03:51.796Z] Configure a credential helper to remove this warning. See [2020-12-05T00:03:51.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-05T00:03:51.796Z] [2020-12-05T00:03:51.796Z] Login Succeeded [2020-12-05T00:03:51.796Z] nexus3.edgexfoundry.org:10004 [2020-12-05T00:03:52.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-05T00:03:52.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-05T00:03:52.060Z] Configure a credential helper to remove this warning. See [2020-12-05T00:03:52.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-05T00:03:52.060Z] [2020-12-05T00:03:52.060Z] Login Succeeded [2020-12-05T00:03:52.060Z] docker.io [2020-12-05T00:03:52.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-05T00:03:52.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-05T00:03:52.322Z] Configure a credential helper to remove this warning. See [2020-12-05T00:03:52.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-05T00:03:52.322Z] [2020-12-05T00:03:52.322Z] Login Succeeded [2020-12-05T00:03:52.322Z] ---> docker-login.sh ends [Pipeline] } [2020-12-05T00:03:52.332Z] 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 [2020-12-05T00:03:53.272Z] + git log --format=format:%s -1 86d88bac0e9df45207bbfb278ff4ca70c5103128 [Pipeline] echo [2020-12-05T00:03:53.336Z] GIT_COMMIT: 86d88bac0e9df45207bbfb278ff4ca70c5103128, Commit Message: refactor: Remove use of deprecated MQTTSend (#145) [Pipeline] echo [2020-12-05T00:03:53.412Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:03:54.129Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-05T00:03:54.129Z] [2020-12-05T00:03:54.129Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:03:54.480Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-05T00:03:54.480Z] latest: Pulling from edgex-devops/git-semver [2020-12-05T00:03:54.480Z] 31603596830f: Pulling fs layer [2020-12-05T00:03:54.480Z] 2a8b12db71e7: Pulling fs layer [2020-12-05T00:03:54.480Z] 6ca5941a6612: Pulling fs layer [2020-12-05T00:03:54.480Z] ecc8261a40a4: Pulling fs layer [2020-12-05T00:03:54.480Z] ecc8261a40a4: Waiting [2020-12-05T00:03:54.480Z] 2a8b12db71e7: Verifying Checksum [2020-12-05T00:03:54.480Z] 2a8b12db71e7: Download complete [2020-12-05T00:03:54.480Z] 31603596830f: Verifying Checksum [2020-12-05T00:03:54.480Z] 31603596830f: Download complete [2020-12-05T00:03:54.752Z] ecc8261a40a4: Verifying Checksum [2020-12-05T00:03:54.752Z] ecc8261a40a4: Download complete [2020-12-05T00:03:54.752Z] 6ca5941a6612: Verifying Checksum [2020-12-05T00:03:54.752Z] 6ca5941a6612: Download complete [2020-12-05T00:03:55.014Z] 31603596830f: Pull complete [2020-12-05T00:03:55.281Z] 2a8b12db71e7: Pull complete [2020-12-05T00:03:55.863Z] 6ca5941a6612: Pull complete [2020-12-05T00:03:56.125Z] ecc8261a40a4: Pull complete [2020-12-05T00:03:56.125Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-05T00:03:56.387Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-05T00:03:56.387Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-05T00:03:56.494Z] prd-centos7-docker-4c-2g-14574 does not seem to be running inside a container [2020-12-05T00:03:56.541Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_master -v /w/workspace/_app-service-configurable_master:/w/workspace/_app-service-configurable_master:rw,z -v /w/workspace/_app-service-configurable_master@tmp:/w/workspace/_app-service-configurable_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-05T00:03:59.050Z] $ docker top 60d213248b1f0d3c14797e6d6f426b14d9e1592607ef75b156b478d2bdbfdedb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-05T00:03:59.667Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-05T00:03:59.667Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-05T00:03:59.940Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-05T00:03:59.946Z] $ docker exec 60d213248b1f0d3c14797e6d6f426b14d9e1592607ef75b156b478d2bdbfdedb ssh-agent [2020-12-05T00:04:00.122Z] SSH_AUTH_SOCK=/tmp/ssh-yPEv2EGIooE7/agent.12 [2020-12-05T00:04:00.122Z] SSH_AGENT_PID=17 [2020-12-05T00:04:00.135Z] Running ssh-add (command line suppressed) [2020-12-05T00:04:00.271Z] Identity added: /w/workspace/_app-service-configurable_master@tmp/private_key_3421900142639975201.key (/w/workspace/_app-service-configurable_master@tmp/private_key_3421900142639975201.key) [2020-12-05T00:04:00.322Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-05T00:04:00.663Z] + git tag --points-at HEAD [Pipeline] } [2020-12-05T00:04:00.690Z] $ docker exec --env ******** --env ******** 60d213248b1f0d3c14797e6d6f426b14d9e1592607ef75b156b478d2bdbfdedb ssh-agent -k [2020-12-05T00:04:00.811Z] unset SSH_AUTH_SOCK; [2020-12-05T00:04:00.811Z] unset SSH_AGENT_PID; [2020-12-05T00:04:00.811Z] echo Agent pid 17 killed; [2020-12-05T00:04:00.859Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-05T00:04:01.008Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-05T00:04:01.008Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-05T00:04:01.179Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-05T00:04:01.184Z] $ docker exec 60d213248b1f0d3c14797e6d6f426b14d9e1592607ef75b156b478d2bdbfdedb ssh-agent [2020-12-05T00:04:01.346Z] SSH_AUTH_SOCK=/tmp/ssh-991rkqzKnXfb/agent.48 [2020-12-05T00:04:01.346Z] SSH_AGENT_PID=53 [2020-12-05T00:04:01.355Z] Running ssh-add (command line suppressed) [2020-12-05T00:04:01.474Z] Identity added: /w/workspace/_app-service-configurable_master@tmp/private_key_967253780431003202.key (/w/workspace/_app-service-configurable_master@tmp/private_key_967253780431003202.key) [2020-12-05T00:04:01.529Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-05T00:04:01.884Z] + git semver init [2020-12-05T00:04:01.884Z] # -> Open(): unable to determine branch for HEAD [2020-12-05T00:04:01.884Z] # $GIT_DIR = /w/workspace/_app-service-configurable_master/.git [2020-12-05T00:04:01.884Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_master [2020-12-05T00:04:01.885Z] # $SEMVER_REMOTE_NAME = origin [2020-12-05T00:04:01.885Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-05T00:04:01.885Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-05T00:04:01.885Z] # $SEMVER_BRANCH = master [2020-12-05T00:04:01.885Z] # $SEMVER_TEMP = /tmp/semver-586566528 [2020-12-05T00:04:01.885Z] # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP [2020-12-05T00:04:02.832Z] # '/tmp/semver-586566528' -> '/w/workspace/_app-service-configurable_master/.semver' [2020-12-05T00:04:02.832Z] # -> Force: false [2020-12-05T00:04:02.832Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_master/.semver [Pipeline] } [2020-12-05T00:04:02.848Z] $ docker exec --env ******** --env ******** 60d213248b1f0d3c14797e6d6f426b14d9e1592607ef75b156b478d2bdbfdedb ssh-agent -k [2020-12-05T00:04:02.980Z] unset SSH_AUTH_SOCK; [2020-12-05T00:04:02.980Z] unset SSH_AGENT_PID; [2020-12-05T00:04:02.980Z] echo Agent pid 53 killed; [2020-12-05T00:04:03.026Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-05T00:04:03.503Z] + git semver [Pipeline] } [2020-12-05T00:04:03.523Z] $ docker stop --time=1 60d213248b1f0d3c14797e6d6f426b14d9e1592607ef75b156b478d2bdbfdedb [2020-12-05T00:04:04.951Z] $ docker rm -f 60d213248b1f0d3c14797e6d6f426b14d9e1592607ef75b156b478d2bdbfdedb [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-05T00:04:05.429Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-05T00:04:05.819Z] Stashed 1 file(s) [Pipeline] echo [2020-12-05T00:04:05.822Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.2 [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 [2020-12-05T00:04:21.361Z] Still waiting to schedule task [2020-12-05T00:04:21.361Z] ‘prd-centos7-builder-2c-1g-14365’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-14576’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-12-05T00:04:21.364Z] Still waiting to schedule task [2020-12-05T00:04:21.364Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-12-05T00:06:11.277Z] Running on prd-centos7-docker-4c-2g-14577 in /w/workspace/_app-service-configurable_master [Pipeline] { [Pipeline] ws [2020-12-05T00:06:11.355Z] Running in /w/workspace/app-service-configurable/65 [Pipeline] { [Pipeline] checkout [2020-12-05T00:06:13.651Z] using credential edgex-jenkins-ssh [2020-12-05T00:06:13.701Z] Cloning the remote Git repository [2020-12-05T00:06:13.734Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-12-05T00:06:13.801Z] > git init /w/workspace/app-service-configurable/65 # timeout=10 [2020-12-05T00:06:13.864Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-12-05T00:06:13.865Z] > git --version # timeout=10 [2020-12-05T00:06:13.869Z] > git --version # 'git version 2.24.3' [2020-12-05T00:06:13.870Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-05T00:06:13.901Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-05T00:06:14.455Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-12-05T00:06:14.465Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-05T00:06:14.485Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-12-05T00:06:14.498Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-12-05T00:06:14.498Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-05T00:06:14.503Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-05T00:06:14.877Z] Checking out Revision 86d88bac0e9df45207bbfb278ff4ca70c5103128 (master) [2020-12-05T00:06:14.889Z] > git config core.sparsecheckout # timeout=10 [2020-12-05T00:06:14.894Z] > git checkout -f 86d88bac0e9df45207bbfb278ff4ca70c5103128 # timeout=10 [2020-12-05T00:06:18.547Z] Commit message: "refactor: Remove use of deprecated MQTTSend (#145)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-05T00:06:20.116Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-05T00:06:20.448Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-05T00:06:20.753Z] + sudo service docker restart [2020-12-05T00:06:20.753Z] + true [2020-12-05T00:06:20.753Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-05T00:06:21.768Z] provisioning config files... [2020-12-05T00:06:21.798Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/65@tmp/config9054229034278897107tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-05T00:06:22.187Z] ---> docker-login.sh [2020-12-05T00:06:22.187Z] nexus3.edgexfoundry.org:10001 [2020-12-05T00:06:22.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-05T00:06:22.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-05T00:06:22.714Z] Configure a credential helper to remove this warning. See [2020-12-05T00:06:22.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-05T00:06:22.714Z] [2020-12-05T00:06:22.714Z] Login Succeeded [2020-12-05T00:06:22.714Z] nexus3.edgexfoundry.org:10002 [2020-12-05T00:06:22.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-05T00:06:22.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-05T00:06:22.714Z] Configure a credential helper to remove this warning. See [2020-12-05T00:06:22.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-05T00:06:22.714Z] [2020-12-05T00:06:22.976Z] Login Succeeded [2020-12-05T00:06:22.976Z] nexus3.edgexfoundry.org:10003 [2020-12-05T00:06:22.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-05T00:06:22.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-05T00:06:22.976Z] Configure a credential helper to remove this warning. See [2020-12-05T00:06:22.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-05T00:06:22.976Z] [2020-12-05T00:06:22.976Z] Login Succeeded [2020-12-05T00:06:22.976Z] nexus3.edgexfoundry.org:10004 [2020-12-05T00:06:23.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-05T00:06:23.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-05T00:06:23.238Z] Configure a credential helper to remove this warning. See [2020-12-05T00:06:23.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-05T00:06:23.238Z] [2020-12-05T00:06:23.238Z] Login Succeeded [2020-12-05T00:06:23.238Z] docker.io [2020-12-05T00:06:23.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-05T00:06:23.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-05T00:06:23.816Z] Configure a credential helper to remove this warning. See [2020-12-05T00:06:23.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-05T00:06:23.816Z] [2020-12-05T00:06:23.816Z] Login Succeeded [2020-12-05T00:06:23.816Z] ---> docker-login.sh ends [Pipeline] } [2020-12-05T00:06:23.825Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-05T00:06:24.145Z] ========================================================= [2020-12-05T00:06:24.145Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-05T00:06:24.145Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:06:24.501Z] + 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 . [2020-12-05T00:06:24.501Z] Sending build context to Docker daemon 96.77kB [2020-12-05T00:06:24.765Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-05T00:06:24.765Z] Step 2/8 : FROM ${BASE} [2020-12-05T00:06:24.765Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-05T00:06:24.765Z] 188c0c94c7c5: Pulling fs layer [2020-12-05T00:06:24.765Z] 0ef7d3d256c8: Pulling fs layer [2020-12-05T00:06:24.765Z] de9db76c5a1d: Pulling fs layer [2020-12-05T00:06:24.765Z] bca2f99d35d6: Pulling fs layer [2020-12-05T00:06:24.765Z] 93359f2a8cfa: Pulling fs layer [2020-12-05T00:06:24.765Z] 7c6f9722023f: Pulling fs layer [2020-12-05T00:06:24.765Z] a35cf1a2eb13: Pulling fs layer [2020-12-05T00:06:24.765Z] bca2f99d35d6: Waiting [2020-12-05T00:06:24.765Z] 93359f2a8cfa: Waiting [2020-12-05T00:06:24.765Z] 7c6f9722023f: Waiting [2020-12-05T00:06:24.765Z] a35cf1a2eb13: Waiting [2020-12-05T00:06:24.765Z] de9db76c5a1d: Verifying Checksum [2020-12-05T00:06:24.765Z] de9db76c5a1d: Download complete [2020-12-05T00:06:24.765Z] 0ef7d3d256c8: Verifying Checksum [2020-12-05T00:06:24.765Z] 0ef7d3d256c8: Download complete [2020-12-05T00:06:24.765Z] 93359f2a8cfa: Verifying Checksum [2020-12-05T00:06:24.765Z] 93359f2a8cfa: Download complete [2020-12-05T00:06:24.765Z] 188c0c94c7c5: Download complete [2020-12-05T00:06:24.765Z] 7c6f9722023f: Verifying Checksum [2020-12-05T00:06:24.765Z] 7c6f9722023f: Download complete [2020-12-05T00:06:25.026Z] 188c0c94c7c5: Pull complete [2020-12-05T00:06:25.289Z] 0ef7d3d256c8: Pull complete [2020-12-05T00:06:25.561Z] de9db76c5a1d: Pull complete [2020-12-05T00:06:26.973Z] a35cf1a2eb13: Verifying Checksum [2020-12-05T00:06:26.973Z] a35cf1a2eb13: Download complete [2020-12-05T00:06:27.936Z] bca2f99d35d6: Verifying Checksum [2020-12-05T00:06:27.936Z] bca2f99d35d6: Download complete [2020-12-05T00:06:33.287Z] bca2f99d35d6: Pull complete [2020-12-05T00:06:33.551Z] 93359f2a8cfa: Pull complete [2020-12-05T00:06:33.817Z] 7c6f9722023f: Pull complete [2020-12-05T00:06:38.074Z] a35cf1a2eb13: Pull complete [2020-12-05T00:06:38.074Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-05T00:06:38.074Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-05T00:06:38.074Z] ---> a62c8e92a672 [2020-12-05T00:06:38.074Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-05T00:06:38.074Z] ---> Running in fbc6689a4532 [2020-12-05T00:06:38.362Z] Removing intermediate container fbc6689a4532 [2020-12-05T00:06:38.362Z] ---> d078de1bf992 [2020-12-05T00:06:38.362Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-05T00:06:38.362Z] ---> Running in b377c26f5d9c [2020-12-05T00:06:39.769Z] Removing intermediate container b377c26f5d9c [2020-12-05T00:06:39.769Z] ---> 194ec6a714dd [2020-12-05T00:06:39.769Z] Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash [2020-12-05T00:06:39.769Z] ---> Running in 92617d5c8e74 [2020-12-05T00:06:40.346Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-05T00:06:40.921Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-05T00:06:41.495Z] (1/6) Installing libc-dev (0.7.2-r3) [2020-12-05T00:06:41.495Z] (2/6) Installing libsodium (1.0.18-r0) [2020-12-05T00:06:41.495Z] (3/6) Installing pkgconf (1.7.2-r0) [2020-12-05T00:06:41.495Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2020-12-05T00:06:41.758Z] (5/6) Installing libzmq (4.3.3-r0) [2020-12-05T00:06:41.758Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2020-12-05T00:06:41.758Z] Executing busybox-1.31.1-r19.trigger [2020-12-05T00:06:42.025Z] OK: 167 MiB in 45 packages [2020-12-05T00:06:42.604Z] Removing intermediate container 92617d5c8e74 [2020-12-05T00:06:42.604Z] ---> 181108faead6 [2020-12-05T00:06:42.604Z] Step 6/8 : WORKDIR /app [2020-12-05T00:06:42.604Z] ---> Running in 3827d825a0db [2020-12-05T00:06:42.604Z] Removing intermediate container 3827d825a0db [2020-12-05T00:06:42.604Z] ---> d450754afe6b [2020-12-05T00:06:42.604Z] Step 7/8 : COPY . . [2020-12-05T00:06:42.871Z] ---> 98bba270de7d [2020-12-05T00:06:42.871Z] Step 8/8 : RUN go mod download [2020-12-05T00:06:43.141Z] ---> Running in 54d9b2b6ff0b [2020-12-05T00:07:09.807Z] Removing intermediate container 54d9b2b6ff0b [2020-12-05T00:07:09.807Z] ---> 17ff57da42c4 [2020-12-05T00:07:09.807Z] Successfully built 17ff57da42c4 [2020-12-05T00:07:09.807Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:07:10.136Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-05T00:07:10.136Z] . [Pipeline] withDockerContainer [2020-12-05T00:07:10.528Z] prd-centos7-docker-4c-2g-14577 does not seem to be running inside a container [2020-12-05T00:07:10.584Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/65 -v /w/workspace/app-service-configurable/65:/w/workspace/app-service-configurable/65:rw,z -v /w/workspace/app-service-configurable/65@tmp:/w/workspace/app-service-configurable/65@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 ******** ci-base-image-x86_64 cat [2020-12-05T00:07:11.480Z] $ docker top 9bc4808be325e20dd0e29b7cbda59384ecd4dea9f24c1f8ee1ce71a67c78b441 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-05T00:07:12.064Z] + go version [2020-12-05T00:07:12.064Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-05T00:07:12.083Z] $ docker stop --time=1 9bc4808be325e20dd0e29b7cbda59384ecd4dea9f24c1f8ee1ce71a67c78b441 [2020-12-05T00:07:13.434Z] $ docker rm -f 9bc4808be325e20dd0e29b7cbda59384ecd4dea9f24c1f8ee1ce71a67c78b441 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:07:14.199Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-14578 in /w/workspace/_app-service-configurable_master [Pipeline] { [Pipeline] ws [2020-12-05T00:07:14.266Z] Running in /w/workspace/app-service-configurable/65 [Pipeline] { [Pipeline] checkout [2020-12-05T00:07:14.422Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-05T00:07:14.422Z] . [Pipeline] withDockerContainer [2020-12-05T00:07:14.522Z] prd-centos7-docker-4c-2g-14577 does not seem to be running inside a container [2020-12-05T00:07:14.574Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/65 -v /w/workspace/app-service-configurable/65:/w/workspace/app-service-configurable/65:rw,z -v /w/workspace/app-service-configurable/65@tmp:/w/workspace/app-service-configurable/65@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 ******** ci-base-image-x86_64 cat [2020-12-05T00:07:15.286Z] $ docker top ba124a0d5b1525c2576ea797cd4268ce89ec5832adc3fee1b6011f8d486915f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-05T00:07:15.853Z] + make test [2020-12-05T00:07:15.853Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2020-12-05T00:07:19.498Z] using credential edgex-jenkins-ssh [2020-12-05T00:07:19.574Z] Cloning the remote Git repository [2020-12-05T00:07:19.629Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-12-05T00:07:19.734Z] > git init /w/workspace/app-service-configurable/65 # timeout=10 [2020-12-05T00:07:19.821Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-12-05T00:07:19.822Z] > git --version # timeout=10 [2020-12-05T00:07:19.839Z] > git --version # 'git version 2.17.1' [2020-12-05T00:07:19.841Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-05T00:07:19.905Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-05T00:07:21.289Z] Checking out Revision 86d88bac0e9df45207bbfb278ff4ca70c5103128 (master) [2020-12-05T00:07:20.665Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-12-05T00:07:20.686Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-05T00:07:20.728Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-12-05T00:07:20.769Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-12-05T00:07:20.770Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-05T00:07:20.783Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-05T00:07:21.312Z] > git config core.sparsecheckout # timeout=10 [2020-12-05T00:07:21.332Z] > git checkout -f 86d88bac0e9df45207bbfb278ff4ca70c5103128 # timeout=10 [2020-12-05T00:07:25.805Z] Commit message: "refactor: Remove use of deprecated MQTTSend (#145)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-05T00:07:27.651Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-05T00:07:28.066Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-05T00:07:28.497Z] + sudo service docker restart [2020-12-05T00:07:28.497Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-05T00:07:31.199Z] provisioning config files... [2020-12-05T00:07:31.233Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/65@tmp/config3658393140440888438tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-05T00:07:31.747Z] ---> docker-login.sh [2020-12-05T00:07:31.747Z] nexus3.edgexfoundry.org:10001 [2020-12-05T00:07:32.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-05T00:07:32.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-05T00:07:32.944Z] Configure a credential helper to remove this warning. See [2020-12-05T00:07:32.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-05T00:07:32.944Z] [2020-12-05T00:07:32.944Z] Login Succeeded [2020-12-05T00:07:32.944Z] nexus3.edgexfoundry.org:10002 [2020-12-05T00:07:33.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-05T00:07:33.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-05T00:07:33.491Z] Configure a credential helper to remove this warning. See [2020-12-05T00:07:33.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-05T00:07:33.491Z] [2020-12-05T00:07:33.491Z] Login Succeeded [2020-12-05T00:07:33.491Z] nexus3.edgexfoundry.org:10003 [2020-12-05T00:07:33.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-05T00:07:33.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-05T00:07:33.763Z] Configure a credential helper to remove this warning. See [2020-12-05T00:07:33.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-05T00:07:33.763Z] [2020-12-05T00:07:33.763Z] Login Succeeded [2020-12-05T00:07:33.763Z] nexus3.edgexfoundry.org:10004 [2020-12-05T00:07:34.267Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2020-12-05T00:07:34.267Z] CGO_ENABLED=1 go vet ./... [2020-12-05T00:07:34.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-05T00:07:34.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-05T00:07:34.365Z] Configure a credential helper to remove this warning. See [2020-12-05T00:07:34.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-05T00:07:34.365Z] [2020-12-05T00:07:34.365Z] Login Succeeded [2020-12-05T00:07:34.365Z] docker.io [2020-12-05T00:07:34.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-05T00:07:35.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-05T00:07:35.238Z] Configure a credential helper to remove this warning. See [2020-12-05T00:07:35.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-05T00:07:35.238Z] [2020-12-05T00:07:35.238Z] Login Succeeded [2020-12-05T00:07:35.238Z] ---> docker-login.sh ends [Pipeline] } [2020-12-05T00:07:35.254Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-05T00:07:35.709Z] ========================================================= [2020-12-05T00:07:35.709Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-05T00:07:35.709Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:07:36.102Z] + 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 . [2020-12-05T00:07:36.102Z] Sending build context to Docker daemon 96.77kB [2020-12-05T00:07:36.373Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-05T00:07:36.373Z] Step 2/8 : FROM ${BASE} [2020-12-05T00:07:36.646Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-05T00:07:36.646Z] 5f621e34cdf4: Pulling fs layer [2020-12-05T00:07:36.646Z] a4357932f1b6: Pulling fs layer [2020-12-05T00:07:36.646Z] 18c013af1878: Pulling fs layer [2020-12-05T00:07:36.646Z] 00ac8860ef70: Pulling fs layer [2020-12-05T00:07:36.646Z] 63d7cb157983: Pulling fs layer [2020-12-05T00:07:36.646Z] b116817d02f9: Pulling fs layer [2020-12-05T00:07:36.646Z] 745a02a5169b: Pulling fs layer [2020-12-05T00:07:36.646Z] 00ac8860ef70: Waiting [2020-12-05T00:07:36.646Z] 63d7cb157983: Waiting [2020-12-05T00:07:36.646Z] b116817d02f9: Waiting [2020-12-05T00:07:36.646Z] 745a02a5169b: Waiting [2020-12-05T00:07:36.646Z] 18c013af1878: Download complete [2020-12-05T00:07:36.646Z] a4357932f1b6: Verifying Checksum [2020-12-05T00:07:36.646Z] a4357932f1b6: Download complete [2020-12-05T00:07:36.930Z] 63d7cb157983: Verifying Checksum [2020-12-05T00:07:36.930Z] 63d7cb157983: Download complete [2020-12-05T00:07:36.930Z] b116817d02f9: Download complete [2020-12-05T00:07:36.930Z] 5f621e34cdf4: Verifying Checksum [2020-12-05T00:07:36.930Z] 5f621e34cdf4: Download complete [2020-12-05T00:07:37.531Z] 5f621e34cdf4: Pull complete [2020-12-05T00:07:37.613Z] gofmt -l . [2020-12-05T00:07:37.613Z] [ "`gofmt -l .`" = "" ] [2020-12-05T00:07:37.613Z] ./bin/test-go-mod-tidy.sh [2020-12-05T00:07:37.883Z] ./bin/test-attribution-txt.sh [2020-12-05T00:07:38.146Z] a4357932f1b6: Pull complete [2020-12-05T00:07:38.422Z] 18c013af1878: Pull complete [Pipeline] } [2020-12-05T00:07:38.482Z] $ docker stop --time=1 ba124a0d5b1525c2576ea797cd4268ce89ec5832adc3fee1b6011f8d486915f5 [2020-12-05T00:07:40.276Z] $ docker rm -f ba124a0d5b1525c2576ea797cd4268ce89ec5832adc3fee1b6011f8d486915f5 [2020-12-05T00:07:40.404Z] 745a02a5169b: Verifying Checksum [2020-12-05T00:07:40.404Z] 745a02a5169b: Download complete [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-05T00:07:40.883Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-05T00:07:40.995Z] 00ac8860ef70: Download complete [2020-12-05T00:07:41.241Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-12-05T00:07:43.877Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-05T00:07:44.181Z] + ls -al . [2020-12-05T00:07:44.181Z] total 88 [2020-12-05T00:07:44.181Z] drwxrwxr-x. 7 jenkins jenkins 4096 Dec 5 00:07 . [2020-12-05T00:07:44.181Z] drwxrwxr-x. 4 jenkins jenkins 30 Dec 5 00:06 .. [2020-12-05T00:07:44.181Z] -rw-rw-r--. 1 jenkins jenkins 6568 Dec 5 00:06 Attribution.txt [2020-12-05T00:07:44.181Z] drwxrwxr-x. 2 jenkins jenkins 64 Dec 5 00:06 bin [2020-12-05T00:07:44.181Z] -rw-r--r--. 1 jenkins jenkins 10 Dec 5 00:07 coverage.out [2020-12-05T00:07:44.181Z] -rw-rw-r--. 1 jenkins jenkins 2002 Dec 5 00:06 Dockerfile [2020-12-05T00:07:44.181Z] -rw-rw-r--. 1 jenkins jenkins 966 Dec 5 00:06 Dockerfile.build [2020-12-05T00:07:44.181Z] -rw-rw-r--. 1 jenkins jenkins 119 Dec 5 00:06 .dockerignore [2020-12-05T00:07:44.181Z] drwxrwxr-x. 8 jenkins jenkins 162 Dec 5 00:06 .git [2020-12-05T00:07:44.181Z] drwxrwxr-x. 2 jenkins jenkins 81 Dec 5 00:06 .github [2020-12-05T00:07:44.181Z] -rw-rw-r--. 1 jenkins jenkins 93 Dec 5 00:06 .gitignore [2020-12-05T00:07:44.181Z] -rw-r--r--. 1 jenkins jenkins 132 Dec 5 00:07 go.mod [2020-12-05T00:07:44.181Z] -rw-r--r--. 1 jenkins jenkins 19665 Dec 5 00:07 go.sum [2020-12-05T00:07:44.181Z] -rw-rw-r--. 1 jenkins jenkins 687 Dec 5 00:06 Jenkinsfile [2020-12-05T00:07:44.181Z] -rw-rw-r--. 1 jenkins jenkins 10174 Dec 5 00:06 LICENSE [2020-12-05T00:07:44.181Z] -rw-rw-r--. 1 jenkins jenkins 1519 Dec 5 00:06 main.go [2020-12-05T00:07:44.181Z] -rw-rw-r--. 1 jenkins jenkins 1573 Dec 5 00:06 makefile [2020-12-05T00:07:44.181Z] -rw-rw-r--. 1 jenkins jenkins 1277 Dec 5 00:06 README.md [2020-12-05T00:07:44.181Z] drwxrwxr-x. 10 jenkins jenkins 171 Dec 5 00:06 res [2020-12-05T00:07:44.181Z] drwxrwxr-x. 4 jenkins jenkins 71 Dec 5 00:06 snap [2020-12-05T00:07:44.181Z] -rw-rw-r--. 1 jenkins jenkins 11 Dec 5 00:04 VERSION [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:07:44.494Z] + 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=86d88bac0e9df45207bbfb278ff4ca70c5103128 --label arch=amd64 --label version=2.0.0-dev.2 . [2020-12-05T00:07:44.494Z] Sending build context to Docker daemon 119.3kB [2020-12-05T00:07:44.757Z] Step 1/27 : ARG BASE=golang:1.15-alpine [2020-12-05T00:07:44.757Z] Step 2/27 : FROM ${BASE} AS builder [2020-12-05T00:07:44.757Z] ---> 17ff57da42c4 [2020-12-05T00:07:44.757Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2020-12-05T00:07:44.757Z] ---> Running in 08b3076729ea [2020-12-05T00:07:45.018Z] Removing intermediate container 08b3076729ea [2020-12-05T00:07:45.018Z] ---> 96eaf708e062 [2020-12-05T00:07:45.018Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2020-12-05T00:07:45.018Z] ---> Running in fe44f261cf52 [2020-12-05T00:07:45.281Z] Removing intermediate container fe44f261cf52 [2020-12-05T00:07:45.281Z] ---> d6b403844532 [2020-12-05T00:07:45.281Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-05T00:07:45.281Z] ---> Running in 69d7cafdcdb4 [2020-12-05T00:07:45.546Z] Removing intermediate container 69d7cafdcdb4 [2020-12-05T00:07:45.546Z] ---> dde8293a63db [2020-12-05T00:07:45.546Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-05T00:07:45.546Z] ---> Running in 3e81f617dd07 [2020-12-05T00:07:46.503Z] Removing intermediate container 3e81f617dd07 [2020-12-05T00:07:46.503Z] ---> f3a59cb1bdd9 [2020-12-05T00:07:46.503Z] Step 7/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-12-05T00:07:46.503Z] ---> Running in d224142dfdf0 [2020-12-05T00:07:47.097Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-05T00:07:47.672Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-05T00:07:49.069Z] OK: 167 MiB in 45 packages [2020-12-05T00:07:49.333Z] Removing intermediate container d224142dfdf0 [2020-12-05T00:07:49.333Z] ---> a1cda32b4dc6 [2020-12-05T00:07:49.333Z] Step 8/27 : WORKDIR /app [2020-12-05T00:07:49.333Z] ---> Running in 7911a2a22a3a [2020-12-05T00:07:49.594Z] Removing intermediate container 7911a2a22a3a [2020-12-05T00:07:49.594Z] ---> c930a947ae41 [2020-12-05T00:07:49.594Z] Step 9/27 : COPY go.mod . [2020-12-05T00:07:49.858Z] ---> 8be9b51ba728 [2020-12-05T00:07:49.858Z] Step 10/27 : RUN go mod download [2020-12-05T00:07:49.858Z] ---> Running in ebdb82142bc3 [2020-12-05T00:07:50.807Z] Removing intermediate container ebdb82142bc3 [2020-12-05T00:07:50.807Z] ---> d8532f62382e [2020-12-05T00:07:50.807Z] Step 11/27 : COPY . . [2020-12-05T00:07:51.165Z] 00ac8860ef70: Pull complete [2020-12-05T00:07:51.399Z] ---> f426a276306a [2020-12-05T00:07:51.399Z] Step 12/27 : ARG MAKE="make build" [2020-12-05T00:07:51.399Z] ---> Running in 262bef782eda [2020-12-05T00:07:51.399Z] Removing intermediate container 262bef782eda [2020-12-05T00:07:51.399Z] ---> 6eebda4e9fd0 [2020-12-05T00:07:51.399Z] Step 13/27 : RUN $MAKE [2020-12-05T00:07:51.399Z] ---> Running in fd0456a3818e [2020-12-05T00:07:51.440Z] 63d7cb157983: Pull complete [2020-12-05T00:07:51.712Z] b116817d02f9: Pull complete [2020-12-05T00:07:51.976Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/internal.SDKVersion=v1.3.1-dev.3 -X github.com/edgexfoundry/app-functions-sdk-go/internal.ApplicationVersion=2.0.0-dev.2" -o app-service-configurable [2020-12-05T00:07:56.028Z] 745a02a5169b: Pull complete [2020-12-05T00:07:56.028Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-05T00:07:56.028Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-05T00:07:56.028Z] ---> b7e6874047d6 [2020-12-05T00:07:56.028Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-05T00:07:58.005Z] ---> Running in d7d7f0ace8a7 [2020-12-05T00:07:58.603Z] Removing intermediate container d7d7f0ace8a7 [2020-12-05T00:07:58.603Z] ---> 92a8e6d6ca97 [2020-12-05T00:07:58.603Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-05T00:07:58.603Z] ---> Running in a8aee02ff55c [2020-12-05T00:08:00.585Z] Removing intermediate container a8aee02ff55c [2020-12-05T00:08:00.585Z] ---> ef8a436f82b1 [2020-12-05T00:08:00.585Z] Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash [2020-12-05T00:08:00.866Z] ---> Running in d8f0c11d70ad [2020-12-05T00:08:01.853Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-05T00:08:02.824Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-05T00:08:03.795Z] (1/6) Installing libc-dev (0.7.2-r3) [2020-12-05T00:08:03.795Z] (2/6) Installing libsodium (1.0.18-r0) [2020-12-05T00:08:04.064Z] (3/6) Installing pkgconf (1.7.2-r0) [2020-12-05T00:08:04.064Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2020-12-05T00:08:04.064Z] (5/6) Installing libzmq (4.3.3-r0) [2020-12-05T00:08:04.336Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2020-12-05T00:08:04.336Z] Executing busybox-1.31.1-r19.trigger [2020-12-05T00:08:04.606Z] OK: 144 MiB in 45 packages [2020-12-05T00:08:05.582Z] Removing intermediate container d8f0c11d70ad [2020-12-05T00:08:05.582Z] ---> 30886aef25af [2020-12-05T00:08:05.582Z] Step 6/8 : WORKDIR /app [2020-12-05T00:08:05.854Z] ---> Running in cbeea2d07036 [2020-12-05T00:08:06.144Z] Removing intermediate container cbeea2d07036 [2020-12-05T00:08:06.144Z] ---> 15b48d6ca8aa [2020-12-05T00:08:06.144Z] Step 7/8 : COPY . . [2020-12-05T00:08:07.123Z] ---> c7504ead14dc [2020-12-05T00:08:07.123Z] Step 8/8 : RUN go mod download [2020-12-05T00:08:07.123Z] ---> Running in 9ff7fa78e917 [2020-12-05T00:08:10.264Z] Removing intermediate container fd0456a3818e [2020-12-05T00:08:10.264Z] ---> 79ce9d382372 [2020-12-05T00:08:10.264Z] Step 14/27 : FROM alpine:latest [2020-12-05T00:08:10.264Z] latest: Pulling from library/alpine [2020-12-05T00:08:10.264Z] 188c0c94c7c5: Already exists [2020-12-05T00:08:10.528Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-12-05T00:08:10.528Z] Status: Downloaded newer image for alpine:latest [2020-12-05T00:08:10.528Z] ---> d6e46aa2470d [2020-12-05T00:08:10.528Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-05T00:08:10.528Z] ---> Running in 91e6d26e1564 [2020-12-05T00:08:10.796Z] Removing intermediate container 91e6d26e1564 [2020-12-05T00:08:10.796Z] ---> cf1981059da9 [2020-12-05T00:08:10.796Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2020-12-05T00:08:10.796Z] ---> Running in c3ef1f417f95 [2020-12-05T00:08:11.060Z] Removing intermediate container c3ef1f417f95 [2020-12-05T00:08:11.060Z] ---> dd42239336ba [2020-12-05T00:08:11.060Z] Step 17/27 : RUN apk --no-cache add ca-certificates zeromq [2020-12-05T00:08:11.060Z] ---> Running in d0284456bb4c [2020-12-05T00:08:11.644Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-05T00:08:11.908Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-05T00:08:11.908Z] (1/6) Installing ca-certificates (20191127-r4) [2020-12-05T00:08:12.169Z] (2/6) Installing libgcc (9.3.0-r2) [2020-12-05T00:08:12.169Z] (3/6) Installing libsodium (1.0.18-r0) [2020-12-05T00:08:12.169Z] (4/6) Installing libstdc++ (9.3.0-r2) [2020-12-05T00:08:12.169Z] (5/6) Installing libzmq (4.3.3-r0) [2020-12-05T00:08:12.169Z] (6/6) Installing zeromq (4.3.3-r0) [2020-12-05T00:08:12.169Z] Executing busybox-1.31.1-r19.trigger [2020-12-05T00:08:12.169Z] Executing ca-certificates-20191127-r4.trigger [2020-12-05T00:08:12.169Z] OK: 9 MiB in 20 packages [2020-12-05T00:08:13.570Z] Removing intermediate container d0284456bb4c [2020-12-05T00:08:13.570Z] ---> c86481bdf32e [2020-12-05T00:08:13.570Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2020-12-05T00:08:13.834Z] ---> b3541072867d [2020-12-05T00:08:13.834Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2020-12-05T00:08:14.097Z] ---> d957af2265f4 [2020-12-05T00:08:14.097Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2020-12-05T00:08:14.360Z] ---> ae21535e48ed [2020-12-05T00:08:14.360Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2020-12-05T00:08:14.938Z] ---> 800d823ccf0f [2020-12-05T00:08:14.938Z] Step 22/27 : EXPOSE 48095 [2020-12-05T00:08:15.200Z] ---> Running in 899f299f5faf [2020-12-05T00:08:15.200Z] Removing intermediate container 899f299f5faf [2020-12-05T00:08:15.200Z] ---> 2724f23ae3a9 [2020-12-05T00:08:15.200Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2020-12-05T00:08:15.463Z] ---> Running in ec9616daa126 [2020-12-05T00:08:15.463Z] Removing intermediate container ec9616daa126 [2020-12-05T00:08:15.463Z] ---> f23e08cc401a [2020-12-05T00:08:15.463Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-05T00:08:15.726Z] ---> Running in 92891d1be8bf [2020-12-05T00:08:15.726Z] Removing intermediate container 92891d1be8bf [2020-12-05T00:08:15.726Z] ---> bce05fe4dfb6 [2020-12-05T00:08:15.726Z] Step 25/27 : LABEL arch=amd64 [2020-12-05T00:08:15.726Z] ---> Running in 31bc4e980438 [2020-12-05T00:08:15.988Z] Removing intermediate container 31bc4e980438 [2020-12-05T00:08:15.988Z] ---> 9a81a86d176e [2020-12-05T00:08:15.988Z] Step 26/27 : LABEL git_sha=86d88bac0e9df45207bbfb278ff4ca70c5103128 [2020-12-05T00:08:15.988Z] ---> Running in a389198adc7f [2020-12-05T00:08:16.252Z] Removing intermediate container a389198adc7f [2020-12-05T00:08:16.252Z] ---> f9c43fa6ac0d [2020-12-05T00:08:16.252Z] Step 27/27 : LABEL version=2.0.0-dev.2 [2020-12-05T00:08:16.252Z] ---> Running in 25014462de42 [2020-12-05T00:08:16.515Z] Removing intermediate container 25014462de42 [2020-12-05T00:08:16.515Z] ---> bdab8fffc2bc [2020-12-05T00:08:16.515Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-05T00:08:16.515Z] Successfully built bdab8fffc2bc [2020-12-05T00:08:16.515Z] Successfully tagged docker-app-service-configurable:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-05T00:08:16.890Z] provisioning config files... [2020-12-05T00:08:16.914Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/65@tmp/config1987573917567178433tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-05T00:08:17.288Z] ---> docker-login.sh [2020-12-05T00:08:17.288Z] nexus3.edgexfoundry.org:10001 [2020-12-05T00:08:17.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-05T00:08:17.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-05T00:08:17.551Z] Configure a credential helper to remove this warning. See [2020-12-05T00:08:17.551Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-05T00:08:17.551Z] [2020-12-05T00:08:17.551Z] Login Succeeded [2020-12-05T00:08:17.551Z] nexus3.edgexfoundry.org:10002 [2020-12-05T00:08:17.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-05T00:08:17.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-05T00:08:17.814Z] Configure a credential helper to remove this warning. See [2020-12-05T00:08:17.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-05T00:08:17.814Z] [2020-12-05T00:08:17.814Z] Login Succeeded [2020-12-05T00:08:17.814Z] nexus3.edgexfoundry.org:10003 [2020-12-05T00:08:17.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-05T00:08:17.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-05T00:08:17.814Z] Configure a credential helper to remove this warning. See [2020-12-05T00:08:17.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-05T00:08:17.814Z] [2020-12-05T00:08:17.814Z] Login Succeeded [2020-12-05T00:08:17.814Z] nexus3.edgexfoundry.org:10004 [2020-12-05T00:08:18.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-05T00:08:18.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-05T00:08:18.078Z] Configure a credential helper to remove this warning. See [2020-12-05T00:08:18.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-05T00:08:18.078Z] [2020-12-05T00:08:18.078Z] Login Succeeded [2020-12-05T00:08:18.078Z] docker.io [2020-12-05T00:08:18.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-05T00:08:18.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-05T00:08:18.341Z] Configure a credential helper to remove this warning. See [2020-12-05T00:08:18.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-05T00:08:18.341Z] [2020-12-05T00:08:18.354Z] Login Succeeded [2020-12-05T00:08:18.354Z] ---> docker-login.sh ends [Pipeline] } [2020-12-05T00:08:18.356Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-12-05T00:08:18.611Z] [edgeXDocker.push] Tagging docker image docker-app-service-configurable with the following tags: [2020-12-05T00:08:18.611Z] 86d88bac0e9df45207bbfb278ff4ca70c5103128 [2020-12-05T00:08:18.611Z] latest [2020-12-05T00:08:18.611Z] 2.0.0-dev.2 [2020-12-05T00:08:18.611Z] 86d88bac0e9df45207bbfb278ff4ca70c5103128-2.0.0-dev.2 [2020-12-05T00:08:18.611Z] master [2020-12-05T00:08:18.611Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:08:19.118Z] + docker tag docker-app-service-configurable nexus3.edgexfoundry.org:10004/docker-app-service-configurable:86d88bac0e9df45207bbfb278ff4ca70c5103128 [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:08:19.424Z] + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable:86d88bac0e9df45207bbfb278ff4ca70c5103128 [2020-12-05T00:08:19.424Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable] [2020-12-05T00:08:19.424Z] 7adfcae8d9a6: Preparing [2020-12-05T00:08:19.424Z] ccaa92f900cf: Preparing [2020-12-05T00:08:19.424Z] 62b14fec258f: Preparing [2020-12-05T00:08:19.424Z] 6cad74530fcb: Preparing [2020-12-05T00:08:19.424Z] 1291fa5bea1d: Preparing [2020-12-05T00:08:19.424Z] ace0eda3e3be: Preparing [2020-12-05T00:08:19.424Z] ace0eda3e3be: Waiting [2020-12-05T00:08:19.687Z] 62b14fec258f: Pushed [2020-12-05T00:08:19.688Z] ccaa92f900cf: Pushed [2020-12-05T00:08:19.688Z] 6cad74530fcb: Pushed [2020-12-05T00:08:19.688Z] ace0eda3e3be: Layer already exists [2020-12-05T00:08:19.951Z] 1291fa5bea1d: Pushed [2020-12-05T00:08:21.344Z] 7adfcae8d9a6: Pushed [2020-12-05T00:08:21.344Z] 86d88bac0e9df45207bbfb278ff4ca70c5103128: digest: sha256:1ab25edf6b58a2f8ceac3e0032499328a4fb15d14f5565f6dce55b1cafc430df size: 1574 [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:08:21.651Z] + docker tag docker-app-service-configurable nexus3.edgexfoundry.org:10004/docker-app-service-configurable:latest [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:08:21.956Z] + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable:latest [2020-12-05T00:08:21.956Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable] [2020-12-05T00:08:21.956Z] 7adfcae8d9a6: Preparing [2020-12-05T00:08:21.956Z] ccaa92f900cf: Preparing [2020-12-05T00:08:21.956Z] 62b14fec258f: Preparing [2020-12-05T00:08:21.956Z] 6cad74530fcb: Preparing [2020-12-05T00:08:21.956Z] 1291fa5bea1d: Preparing [2020-12-05T00:08:21.956Z] ace0eda3e3be: Preparing [2020-12-05T00:08:21.956Z] ace0eda3e3be: Waiting [2020-12-05T00:08:21.956Z] 7adfcae8d9a6: Layer already exists [2020-12-05T00:08:21.956Z] ccaa92f900cf: Layer already exists [2020-12-05T00:08:21.956Z] 1291fa5bea1d: Layer already exists [2020-12-05T00:08:21.956Z] 6cad74530fcb: Layer already exists [2020-12-05T00:08:21.956Z] 62b14fec258f: Layer already exists [2020-12-05T00:08:21.956Z] ace0eda3e3be: Layer already exists [2020-12-05T00:08:21.956Z] latest: digest: sha256:1ab25edf6b58a2f8ceac3e0032499328a4fb15d14f5565f6dce55b1cafc430df size: 1574 [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:08:22.265Z] + docker tag docker-app-service-configurable nexus3.edgexfoundry.org:10004/docker-app-service-configurable:2.0.0-dev.2 [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:08:22.566Z] + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable:2.0.0-dev.2 [2020-12-05T00:08:22.567Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable] [2020-12-05T00:08:22.567Z] 7adfcae8d9a6: Preparing [2020-12-05T00:08:22.567Z] ccaa92f900cf: Preparing [2020-12-05T00:08:22.567Z] 62b14fec258f: Preparing [2020-12-05T00:08:22.567Z] 6cad74530fcb: Preparing [2020-12-05T00:08:22.567Z] 1291fa5bea1d: Preparing [2020-12-05T00:08:22.567Z] ace0eda3e3be: Preparing [2020-12-05T00:08:22.567Z] ace0eda3e3be: Waiting [2020-12-05T00:08:22.567Z] 6cad74530fcb: Layer already exists [2020-12-05T00:08:22.567Z] 7adfcae8d9a6: Layer already exists [2020-12-05T00:08:22.567Z] 1291fa5bea1d: Layer already exists [2020-12-05T00:08:22.567Z] 62b14fec258f: Layer already exists [2020-12-05T00:08:22.567Z] ccaa92f900cf: Layer already exists [2020-12-05T00:08:22.567Z] ace0eda3e3be: Layer already exists [2020-12-05T00:08:22.567Z] 2.0.0-dev.2: digest: sha256:1ab25edf6b58a2f8ceac3e0032499328a4fb15d14f5565f6dce55b1cafc430df size: 1574 [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:08:22.879Z] + docker tag docker-app-service-configurable nexus3.edgexfoundry.org:10004/docker-app-service-configurable:86d88bac0e9df45207bbfb278ff4ca70c5103128-2.0.0-dev.2 [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:08:23.186Z] + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable:86d88bac0e9df45207bbfb278ff4ca70c5103128-2.0.0-dev.2 [2020-12-05T00:08:23.186Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable] [2020-12-05T00:08:23.186Z] 7adfcae8d9a6: Preparing [2020-12-05T00:08:23.186Z] ccaa92f900cf: Preparing [2020-12-05T00:08:23.186Z] 62b14fec258f: Preparing [2020-12-05T00:08:23.186Z] 6cad74530fcb: Preparing [2020-12-05T00:08:23.186Z] 1291fa5bea1d: Preparing [2020-12-05T00:08:23.186Z] ace0eda3e3be: Preparing [2020-12-05T00:08:23.186Z] ace0eda3e3be: Waiting [2020-12-05T00:08:23.186Z] 62b14fec258f: Layer already exists [2020-12-05T00:08:23.186Z] ccaa92f900cf: Layer already exists [2020-12-05T00:08:23.186Z] 6cad74530fcb: Layer already exists [2020-12-05T00:08:23.186Z] 1291fa5bea1d: Layer already exists [2020-12-05T00:08:23.186Z] 7adfcae8d9a6: Layer already exists [2020-12-05T00:08:23.186Z] ace0eda3e3be: Layer already exists [2020-12-05T00:08:23.186Z] 86d88bac0e9df45207bbfb278ff4ca70c5103128-2.0.0-dev.2: digest: sha256:1ab25edf6b58a2f8ceac3e0032499328a4fb15d14f5565f6dce55b1cafc430df size: 1574 [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:08:23.495Z] + docker tag docker-app-service-configurable nexus3.edgexfoundry.org:10004/docker-app-service-configurable:master [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:08:23.799Z] + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable:master [2020-12-05T00:08:23.799Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable] [2020-12-05T00:08:23.799Z] 7adfcae8d9a6: Preparing [2020-12-05T00:08:23.799Z] ccaa92f900cf: Preparing [2020-12-05T00:08:23.799Z] 62b14fec258f: Preparing [2020-12-05T00:08:23.799Z] 6cad74530fcb: Preparing [2020-12-05T00:08:23.799Z] 1291fa5bea1d: Preparing [2020-12-05T00:08:23.799Z] ace0eda3e3be: Preparing [2020-12-05T00:08:23.799Z] ace0eda3e3be: Waiting [2020-12-05T00:08:23.799Z] 6cad74530fcb: Layer already exists [2020-12-05T00:08:23.799Z] 1291fa5bea1d: Layer already exists [2020-12-05T00:08:23.799Z] ccaa92f900cf: Layer already exists [2020-12-05T00:08:23.799Z] 7adfcae8d9a6: Layer already exists [2020-12-05T00:08:23.799Z] 62b14fec258f: Layer already exists [2020-12-05T00:08:23.799Z] ace0eda3e3be: Layer already exists [2020-12-05T00:08:23.799Z] master: digest: sha256:1ab25edf6b58a2f8ceac3e0032499328a4fb15d14f5565f6dce55b1cafc430df size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-12-05T00:08:23.989Z] ===================================================== [Pipeline] echo [2020-12-05T00:08:24.036Z] taggedImages: [2020-12-05T00:08:24.036Z] - nexus3.edgexfoundry.org:10004/docker-app-service-configurable:86d88bac0e9df45207bbfb278ff4ca70c5103128 [2020-12-05T00:08:24.036Z] - nexus3.edgexfoundry.org:10004/docker-app-service-configurable:latest [2020-12-05T00:08:24.036Z] - nexus3.edgexfoundry.org:10004/docker-app-service-configurable:2.0.0-dev.2 [2020-12-05T00:08:24.036Z] - nexus3.edgexfoundry.org:10004/docker-app-service-configurable:86d88bac0e9df45207bbfb278ff4ca70c5103128-2.0.0-dev.2 [2020-12-05T00:08:24.036Z] - nexus3.edgexfoundry.org:10004/docker-app-service-configurable:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-05T00:08:33.909Z] Removing intermediate container 9ff7fa78e917 [2020-12-05T00:08:33.909Z] ---> ef84bb145f94 [2020-12-05T00:08:33.909Z] Successfully built ef84bb145f94 [2020-12-05T00:08:33.909Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:08:34.249Z] + docker inspect -f . ci-base-image-arm64 [2020-12-05T00:08:34.249Z] . [Pipeline] withDockerContainer [2020-12-05T00:08:34.477Z] prd-ubuntu18.04-docker-arm64-4c-16g-14578 does not seem to be running inside a container [2020-12-05T00:08:34.559Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/65 -v /w/workspace/app-service-configurable/65:/w/workspace/app-service-configurable/65:rw,z -v /w/workspace/app-service-configurable/65@tmp:/w/workspace/app-service-configurable/65@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 ******** ci-base-image-arm64 cat [2020-12-05T00:08:35.852Z] $ docker top b8f0533a7cb0094d5f19f6753528dc911e6da0e36c6fd441a97e8af974253f45 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-05T00:08:36.820Z] + go version [2020-12-05T00:08:36.820Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-05T00:08:36.843Z] $ docker stop --time=1 b8f0533a7cb0094d5f19f6753528dc911e6da0e36c6fd441a97e8af974253f45 [2020-12-05T00:08:38.700Z] $ docker rm -f b8f0533a7cb0094d5f19f6753528dc911e6da0e36c6fd441a97e8af974253f45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:08:39.689Z] + docker inspect -f . ci-base-image-arm64 [2020-12-05T00:08:39.689Z] . [Pipeline] withDockerContainer [2020-12-05T00:08:39.953Z] prd-ubuntu18.04-docker-arm64-4c-16g-14578 does not seem to be running inside a container [2020-12-05T00:08:40.039Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/65 -v /w/workspace/app-service-configurable/65:/w/workspace/app-service-configurable/65:rw,z -v /w/workspace/app-service-configurable/65@tmp:/w/workspace/app-service-configurable/65@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 ******** ci-base-image-arm64 cat [2020-12-05T00:08:41.477Z] $ docker top 849874738c44e3685da8fe61e0eb5e060cec4359b6a81642e93bd7ea09973f96 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-05T00:08:42.468Z] + make test [2020-12-05T00:08:42.468Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2020-12-05T00:09:39.051Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2020-12-05T00:09:39.051Z] CGO_ENABLED=1 go vet ./... [2020-12-05T00:09:41.028Z] gofmt -l . [2020-12-05T00:09:41.028Z] [ "`gofmt -l .`" = "" ] [2020-12-05T00:09:41.028Z] ./bin/test-go-mod-tidy.sh [2020-12-05T00:09:41.627Z] ./bin/test-attribution-txt.sh [Pipeline] } [2020-12-05T00:09:42.627Z] $ docker stop --time=1 849874738c44e3685da8fe61e0eb5e060cec4359b6a81642e93bd7ea09973f96 [2020-12-05T00:09:44.741Z] $ docker rm -f 849874738c44e3685da8fe61e0eb5e060cec4359b6a81642e93bd7ea09973f96 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-05T00:09:45.688Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-05T00:09:45.707Z] Warning: overwriting stash ‘coverage-report’ [2020-12-05T00:09:46.371Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-05T00:09:47.230Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-05T00:09:47.633Z] + ls -al . [2020-12-05T00:09:47.633Z] total 112 [2020-12-05T00:09:47.633Z] drwxrwxr-x 7 jenkins jenkins 4096 Dec 5 00:09 . [2020-12-05T00:09:47.633Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 00:07 .. [2020-12-05T00:09:47.633Z] -rw-rw-r-- 1 jenkins jenkins 119 Dec 5 00:07 .dockerignore [2020-12-05T00:09:47.633Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 5 00:07 .git [2020-12-05T00:09:47.633Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 00:07 .github [2020-12-05T00:09:47.633Z] -rw-rw-r-- 1 jenkins jenkins 93 Dec 5 00:07 .gitignore [2020-12-05T00:09:47.633Z] -rw-rw-r-- 1 jenkins jenkins 6568 Dec 5 00:07 Attribution.txt [2020-12-05T00:09:47.633Z] -rw-rw-r-- 1 jenkins jenkins 2002 Dec 5 00:07 Dockerfile [2020-12-05T00:09:47.633Z] -rw-rw-r-- 1 jenkins jenkins 966 Dec 5 00:07 Dockerfile.build [2020-12-05T00:09:47.633Z] -rw-rw-r-- 1 jenkins jenkins 687 Dec 5 00:07 Jenkinsfile [2020-12-05T00:09:47.633Z] -rw-rw-r-- 1 jenkins jenkins 10174 Dec 5 00:07 LICENSE [2020-12-05T00:09:47.633Z] -rw-rw-r-- 1 jenkins jenkins 1277 Dec 5 00:07 README.md [2020-12-05T00:09:47.633Z] -rw-rw-r-- 1 jenkins jenkins 11 Dec 5 00:04 VERSION [2020-12-05T00:09:47.633Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 00:07 bin [2020-12-05T00:09:47.633Z] -rw-r--r-- 1 jenkins jenkins 10 Dec 5 00:08 coverage.out [2020-12-05T00:09:47.633Z] -rw-r--r-- 1 jenkins jenkins 132 Dec 5 00:09 go.mod [2020-12-05T00:09:47.633Z] -rw-r--r-- 1 jenkins jenkins 19665 Dec 5 00:09 go.sum [2020-12-05T00:09:47.633Z] -rw-rw-r-- 1 jenkins jenkins 1519 Dec 5 00:07 main.go [2020-12-05T00:09:47.633Z] -rw-rw-r-- 1 jenkins jenkins 1573 Dec 5 00:07 makefile [2020-12-05T00:09:47.633Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 5 00:07 res [2020-12-05T00:09:47.633Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 00:07 snap [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:09:48.012Z] + 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=86d88bac0e9df45207bbfb278ff4ca70c5103128 --label arch=arm64 --label version=2.0.0-dev.2 . [2020-12-05T00:09:48.012Z] Sending build context to Docker daemon 119.3kB [2020-12-05T00:09:48.288Z] Step 1/27 : ARG BASE=golang:1.15-alpine [2020-12-05T00:09:48.288Z] Step 2/27 : FROM ${BASE} AS builder [2020-12-05T00:09:48.288Z] ---> ef84bb145f94 [2020-12-05T00:09:48.288Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2020-12-05T00:09:48.573Z] ---> Running in 71237715ccaf [2020-12-05T00:09:48.848Z] Removing intermediate container 71237715ccaf [2020-12-05T00:09:48.848Z] ---> 6d5c2269d783 [2020-12-05T00:09:48.848Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2020-12-05T00:09:49.123Z] ---> Running in 648efdb845b4 [2020-12-05T00:09:49.402Z] Removing intermediate container 648efdb845b4 [2020-12-05T00:09:49.402Z] ---> a8ee69103005 [2020-12-05T00:09:49.402Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-05T00:09:49.675Z] ---> Running in 51c084e5686a [2020-12-05T00:09:49.949Z] Removing intermediate container 51c084e5686a [2020-12-05T00:09:49.949Z] ---> 3bd05d11ea56 [2020-12-05T00:09:49.949Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-05T00:09:50.224Z] ---> Running in 3e3f1a1ff095 [2020-12-05T00:09:52.210Z] Removing intermediate container 3e3f1a1ff095 [2020-12-05T00:09:52.210Z] ---> b4348c14bfb5 [2020-12-05T00:09:52.210Z] Step 7/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-12-05T00:09:52.487Z] ---> Running in 0a234be99832 [2020-12-05T00:09:53.463Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-05T00:09:54.437Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-05T00:09:55.028Z] OK: 144 MiB in 45 packages [2020-12-05T00:09:56.016Z] Removing intermediate container 0a234be99832 [2020-12-05T00:09:56.016Z] ---> 9323fe7a847c [2020-12-05T00:09:56.016Z] Step 8/27 : WORKDIR /app [2020-12-05T00:09:56.289Z] ---> Running in 09e9f9e40ef5 [2020-12-05T00:09:56.883Z] Removing intermediate container 09e9f9e40ef5 [2020-12-05T00:09:56.883Z] ---> 6db810c5045c [2020-12-05T00:09:56.883Z] Step 9/27 : COPY go.mod . [2020-12-05T00:09:57.481Z] ---> daa55b2b980e [2020-12-05T00:09:57.481Z] Step 10/27 : RUN go mod download [2020-12-05T00:09:57.481Z] ---> Running in 854eeeb19b62 [2020-12-05T00:10:00.103Z] Removing intermediate container 854eeeb19b62 [2020-12-05T00:10:00.103Z] ---> 4e27152e7851 [2020-12-05T00:10:00.103Z] Step 11/27 : COPY . . [2020-12-05T00:10:00.699Z] ---> 329c28180c23 [2020-12-05T00:10:00.699Z] Step 12/27 : ARG MAKE="make build" [2020-12-05T00:10:00.699Z] ---> Running in 7bc4eb06e4da [2020-12-05T00:10:01.296Z] Removing intermediate container 7bc4eb06e4da [2020-12-05T00:10:01.296Z] ---> 4bac6b3073ad [2020-12-05T00:10:01.296Z] Step 13/27 : RUN $MAKE [2020-12-05T00:10:01.296Z] ---> Running in 7a23e8d92b66 [2020-12-05T00:10:02.736Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/internal.SDKVersion=v1.3.1-dev.3 -X github.com/edgexfoundry/app-functions-sdk-go/internal.ApplicationVersion=2.0.0-dev.2" -o app-service-configurable [2020-12-05T00:10:49.715Z] Removing intermediate container 7a23e8d92b66 [2020-12-05T00:10:49.715Z] ---> 3c026c7e0b37 [2020-12-05T00:10:49.715Z] Step 14/27 : FROM alpine:latest [2020-12-05T00:10:49.983Z] latest: Pulling from library/alpine [2020-12-05T00:10:49.983Z] 5f621e34cdf4: Already exists [2020-12-05T00:10:50.257Z] Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a [2020-12-05T00:10:50.257Z] Status: Downloaded newer image for alpine:latest [2020-12-05T00:10:50.257Z] ---> 2e77e061c27f [2020-12-05T00:10:50.257Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-05T00:10:50.257Z] ---> Running in 7e14056907d7 [2020-12-05T00:10:50.852Z] Removing intermediate container 7e14056907d7 [2020-12-05T00:10:50.852Z] ---> e06eb485b0a1 [2020-12-05T00:10:50.852Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2020-12-05T00:10:50.852Z] ---> Running in a3c64c102485 [2020-12-05T00:10:51.132Z] Removing intermediate container a3c64c102485 [2020-12-05T00:10:51.132Z] ---> 38b18e52c4a1 [2020-12-05T00:10:51.132Z] Step 17/27 : RUN apk --no-cache add ca-certificates zeromq [2020-12-05T00:10:51.405Z] ---> Running in 4507285dbf65 [2020-12-05T00:10:52.387Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-05T00:10:52.659Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-05T00:10:53.251Z] (1/6) Installing ca-certificates (20191127-r4) [2020-12-05T00:10:53.251Z] (2/6) Installing libgcc (9.3.0-r2) [2020-12-05T00:10:53.251Z] (3/6) Installing libsodium (1.0.18-r0) [2020-12-05T00:10:53.251Z] (4/6) Installing libstdc++ (9.3.0-r2) [2020-12-05T00:10:53.527Z] (5/6) Installing libzmq (4.3.3-r0) [2020-12-05T00:10:53.527Z] (6/6) Installing zeromq (4.3.3-r0) [2020-12-05T00:10:53.527Z] Executing busybox-1.31.1-r19.trigger [2020-12-05T00:10:53.527Z] Executing ca-certificates-20191127-r4.trigger [2020-12-05T00:10:53.527Z] OK: 9 MiB in 20 packages [2020-12-05T00:10:55.498Z] Removing intermediate container 4507285dbf65 [2020-12-05T00:10:55.498Z] ---> 1e2f879fa0a2 [2020-12-05T00:10:55.498Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2020-12-05T00:10:55.774Z] ---> 05700ff6290b [2020-12-05T00:10:55.774Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2020-12-05T00:10:56.748Z] ---> 8849dbeeb0b3 [2020-12-05T00:10:56.748Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2020-12-05T00:10:57.349Z] ---> c205134d3ba8 [2020-12-05T00:10:57.349Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2020-12-05T00:10:59.322Z] ---> 8e2490f57b62 [2020-12-05T00:10:59.322Z] Step 22/27 : EXPOSE 48095 [2020-12-05T00:10:59.322Z] ---> Running in 95b43570fc72 [2020-12-05T00:10:59.322Z] Removing intermediate container 95b43570fc72 [2020-12-05T00:10:59.322Z] ---> 8b6adb33f5c3 [2020-12-05T00:10:59.322Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2020-12-05T00:10:59.598Z] ---> Running in b51b6d3af5d3 [2020-12-05T00:10:59.878Z] Removing intermediate container b51b6d3af5d3 [2020-12-05T00:10:59.878Z] ---> 7f5c2630d9a8 [2020-12-05T00:10:59.878Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-05T00:11:00.150Z] ---> Running in 73440de12f53 [2020-12-05T00:11:00.424Z] Removing intermediate container 73440de12f53 [2020-12-05T00:11:00.424Z] ---> 190a0a10d953 [2020-12-05T00:11:00.424Z] Step 25/27 : LABEL arch=arm64 [2020-12-05T00:11:00.694Z] ---> Running in 6346fa499380 [2020-12-05T00:11:00.971Z] Removing intermediate container 6346fa499380 [2020-12-05T00:11:00.971Z] ---> 4caed2ef563f [2020-12-05T00:11:00.971Z] Step 26/27 : LABEL git_sha=86d88bac0e9df45207bbfb278ff4ca70c5103128 [2020-12-05T00:11:01.243Z] ---> Running in df2d8109c688 [2020-12-05T00:11:01.516Z] Removing intermediate container df2d8109c688 [2020-12-05T00:11:01.516Z] ---> 51c3e6cfca4e [2020-12-05T00:11:01.516Z] Step 27/27 : LABEL version=2.0.0-dev.2 [2020-12-05T00:11:01.794Z] ---> Running in 7bce3b651328 [2020-12-05T00:11:02.392Z] Removing intermediate container 7bce3b651328 [2020-12-05T00:11:02.392Z] ---> d8205673a2b0 [2020-12-05T00:11:02.392Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-05T00:11:02.392Z] Successfully built d8205673a2b0 [2020-12-05T00:11:02.392Z] Successfully tagged docker-app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-05T00:11:02.852Z] provisioning config files... [2020-12-05T00:11:02.882Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/65@tmp/config2931735751347487912tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-05T00:11:03.289Z] ---> docker-login.sh [2020-12-05T00:11:03.289Z] nexus3.edgexfoundry.org:10001 [2020-12-05T00:11:03.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-05T00:11:03.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-05T00:11:03.559Z] Configure a credential helper to remove this warning. See [2020-12-05T00:11:03.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-05T00:11:03.559Z] [2020-12-05T00:11:03.559Z] Login Succeeded [2020-12-05T00:11:03.559Z] nexus3.edgexfoundry.org:10002 [2020-12-05T00:11:03.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-05T00:11:04.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-05T00:11:04.101Z] Configure a credential helper to remove this warning. See [2020-12-05T00:11:04.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-05T00:11:04.101Z] [2020-12-05T00:11:04.101Z] Login Succeeded [2020-12-05T00:11:04.101Z] nexus3.edgexfoundry.org:10003 [2020-12-05T00:11:04.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-05T00:11:04.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-05T00:11:04.645Z] Configure a credential helper to remove this warning. See [2020-12-05T00:11:04.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-05T00:11:04.645Z] [2020-12-05T00:11:04.645Z] Login Succeeded [2020-12-05T00:11:04.645Z] nexus3.edgexfoundry.org:10004 [2020-12-05T00:11:04.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-05T00:11:05.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-05T00:11:05.189Z] Configure a credential helper to remove this warning. See [2020-12-05T00:11:05.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-05T00:11:05.189Z] [2020-12-05T00:11:05.189Z] Login Succeeded [2020-12-05T00:11:05.189Z] docker.io [2020-12-05T00:11:05.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-05T00:11:05.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-05T00:11:05.732Z] Configure a credential helper to remove this warning. See [2020-12-05T00:11:05.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-05T00:11:05.732Z] [2020-12-05T00:11:05.732Z] Login Succeeded [2020-12-05T00:11:05.732Z] ---> docker-login.sh ends [Pipeline] } [2020-12-05T00:11:05.750Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-12-05T00:11:06.019Z] [edgeXDocker.push] Tagging docker image docker-app-service-configurable-arm64 with the following tags: [2020-12-05T00:11:06.020Z] 86d88bac0e9df45207bbfb278ff4ca70c5103128 [2020-12-05T00:11:06.020Z] latest [2020-12-05T00:11:06.020Z] 2.0.0-dev.2 [2020-12-05T00:11:06.020Z] 86d88bac0e9df45207bbfb278ff4ca70c5103128-2.0.0-dev.2 [2020-12-05T00:11:06.020Z] master [2020-12-05T00:11:06.020Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:11:06.610Z] + docker tag docker-app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:86d88bac0e9df45207bbfb278ff4ca70c5103128 [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:11:06.949Z] + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:86d88bac0e9df45207bbfb278ff4ca70c5103128 [2020-12-05T00:11:06.949Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64] [2020-12-05T00:11:06.949Z] 100c4962c1ec: Preparing [2020-12-05T00:11:06.949Z] f1c094e07c73: Preparing [2020-12-05T00:11:06.949Z] 3971feb2ff75: Preparing [2020-12-05T00:11:06.949Z] 5e8a83776259: Preparing [2020-12-05T00:11:06.949Z] be7bc74c5b05: Preparing [2020-12-05T00:11:06.949Z] cd3761cfa1d9: Preparing [2020-12-05T00:11:06.949Z] cd3761cfa1d9: Waiting [2020-12-05T00:11:07.221Z] 3971feb2ff75: Pushed [2020-12-05T00:11:07.221Z] cd3761cfa1d9: Layer already exists [2020-12-05T00:11:07.221Z] 5e8a83776259: Pushed [2020-12-05T00:11:07.221Z] f1c094e07c73: Pushed [2020-12-05T00:11:08.194Z] be7bc74c5b05: Pushed [2020-12-05T00:11:11.563Z] 100c4962c1ec: Pushed [2020-12-05T00:11:11.563Z] 86d88bac0e9df45207bbfb278ff4ca70c5103128: digest: sha256:5eccaf68a4e27bb59fe324d51c192232183dd5e15e9da01ce7841b463a1a0b02 size: 1574 [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:11:11.901Z] + docker tag docker-app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:11:12.239Z] + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:latest [2020-12-05T00:11:12.239Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64] [2020-12-05T00:11:12.239Z] 100c4962c1ec: Preparing [2020-12-05T00:11:12.239Z] f1c094e07c73: Preparing [2020-12-05T00:11:12.239Z] 3971feb2ff75: Preparing [2020-12-05T00:11:12.239Z] 5e8a83776259: Preparing [2020-12-05T00:11:12.239Z] be7bc74c5b05: Preparing [2020-12-05T00:11:12.239Z] cd3761cfa1d9: Preparing [2020-12-05T00:11:12.239Z] cd3761cfa1d9: Waiting [2020-12-05T00:11:12.239Z] 5e8a83776259: Layer already exists [2020-12-05T00:11:12.510Z] be7bc74c5b05: Layer already exists [2020-12-05T00:11:12.510Z] 3971feb2ff75: Layer already exists [2020-12-05T00:11:12.510Z] f1c094e07c73: Layer already exists [2020-12-05T00:11:12.510Z] 100c4962c1ec: Layer already exists [2020-12-05T00:11:12.510Z] cd3761cfa1d9: Layer already exists [2020-12-05T00:11:12.510Z] latest: digest: sha256:5eccaf68a4e27bb59fe324d51c192232183dd5e15e9da01ce7841b463a1a0b02 size: 1574 [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:11:12.846Z] + docker tag docker-app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:2.0.0-dev.2 [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:11:13.176Z] + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:2.0.0-dev.2 [2020-12-05T00:11:13.176Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64] [2020-12-05T00:11:13.176Z] 100c4962c1ec: Preparing [2020-12-05T00:11:13.176Z] f1c094e07c73: Preparing [2020-12-05T00:11:13.176Z] 3971feb2ff75: Preparing [2020-12-05T00:11:13.176Z] 5e8a83776259: Preparing [2020-12-05T00:11:13.176Z] be7bc74c5b05: Preparing [2020-12-05T00:11:13.176Z] cd3761cfa1d9: Preparing [2020-12-05T00:11:13.176Z] cd3761cfa1d9: Waiting [2020-12-05T00:11:13.448Z] 100c4962c1ec: Layer already exists [2020-12-05T00:11:13.448Z] 5e8a83776259: Layer already exists [2020-12-05T00:11:13.448Z] 3971feb2ff75: Layer already exists [2020-12-05T00:11:13.448Z] be7bc74c5b05: Layer already exists [2020-12-05T00:11:13.448Z] f1c094e07c73: Layer already exists [2020-12-05T00:11:13.448Z] cd3761cfa1d9: Layer already exists [2020-12-05T00:11:13.448Z] 2.0.0-dev.2: digest: sha256:5eccaf68a4e27bb59fe324d51c192232183dd5e15e9da01ce7841b463a1a0b02 size: 1574 [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:11:13.787Z] + docker tag docker-app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:86d88bac0e9df45207bbfb278ff4ca70c5103128-2.0.0-dev.2 [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:11:14.124Z] + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:86d88bac0e9df45207bbfb278ff4ca70c5103128-2.0.0-dev.2 [2020-12-05T00:11:14.124Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64] [2020-12-05T00:11:14.124Z] 100c4962c1ec: Preparing [2020-12-05T00:11:14.124Z] f1c094e07c73: Preparing [2020-12-05T00:11:14.124Z] 3971feb2ff75: Preparing [2020-12-05T00:11:14.124Z] 5e8a83776259: Preparing [2020-12-05T00:11:14.124Z] be7bc74c5b05: Preparing [2020-12-05T00:11:14.124Z] cd3761cfa1d9: Preparing [2020-12-05T00:11:14.124Z] cd3761cfa1d9: Waiting [2020-12-05T00:11:14.124Z] 100c4962c1ec: Layer already exists [2020-12-05T00:11:14.124Z] f1c094e07c73: Layer already exists [2020-12-05T00:11:14.124Z] 3971feb2ff75: Layer already exists [2020-12-05T00:11:14.124Z] 5e8a83776259: Layer already exists [2020-12-05T00:11:14.393Z] be7bc74c5b05: Layer already exists [2020-12-05T00:11:14.393Z] cd3761cfa1d9: Layer already exists [2020-12-05T00:11:14.393Z] 86d88bac0e9df45207bbfb278ff4ca70c5103128-2.0.0-dev.2: digest: sha256:5eccaf68a4e27bb59fe324d51c192232183dd5e15e9da01ce7841b463a1a0b02 size: 1574 [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:11:14.735Z] + docker tag docker-app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:master [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:11:15.071Z] + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:master [2020-12-05T00:11:15.071Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64] [2020-12-05T00:11:15.071Z] 100c4962c1ec: Preparing [2020-12-05T00:11:15.071Z] f1c094e07c73: Preparing [2020-12-05T00:11:15.071Z] 3971feb2ff75: Preparing [2020-12-05T00:11:15.071Z] 5e8a83776259: Preparing [2020-12-05T00:11:15.071Z] be7bc74c5b05: Preparing [2020-12-05T00:11:15.071Z] cd3761cfa1d9: Preparing [2020-12-05T00:11:15.071Z] cd3761cfa1d9: Waiting [2020-12-05T00:11:15.071Z] 100c4962c1ec: Layer already exists [2020-12-05T00:11:15.071Z] 5e8a83776259: Layer already exists [2020-12-05T00:11:15.071Z] f1c094e07c73: Layer already exists [2020-12-05T00:11:15.071Z] 3971feb2ff75: Layer already exists [2020-12-05T00:11:15.340Z] be7bc74c5b05: Layer already exists [2020-12-05T00:11:15.340Z] cd3761cfa1d9: Layer already exists [2020-12-05T00:11:15.340Z] master: digest: sha256:5eccaf68a4e27bb59fe324d51c192232183dd5e15e9da01ce7841b463a1a0b02 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-12-05T00:11:15.545Z] ===================================================== [Pipeline] echo [2020-12-05T00:11:15.640Z] taggedImages: [2020-12-05T00:11:15.640Z] - nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:86d88bac0e9df45207bbfb278ff4ca70c5103128 [2020-12-05T00:11:15.640Z] - nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:latest [2020-12-05T00:11:15.640Z] - nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:2.0.0-dev.2 [2020-12-05T00:11:15.640Z] - nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:86d88bac0e9df45207bbfb278ff4ca70c5103128-2.0.0-dev.2 [2020-12-05T00:11:15.640Z] - nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-12-05T00:11:17.052Z] provisioning config files... [2020-12-05T00:11:17.064Z] copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_master@tmp/config3872184146437480207tmp [Pipeline] { [Pipeline] sh [2020-12-05T00:11:17.463Z] + set +x [2020-12-05T00:11:17.463Z] + curl -s https://codecov.io/bash [2020-12-05T00:11:17.463Z] + bash -s -- [2020-12-05T00:11:17.726Z] [2020-12-05T00:11:17.726Z] _____ _ [2020-12-05T00:11:17.726Z] / ____| | | [2020-12-05T00:11:17.726Z] | | ___ __| | ___ ___ _____ __ [2020-12-05T00:11:17.726Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-05T00:11:17.726Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-05T00:11:17.726Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-05T00:11:17.726Z] Bash-20201130-cc6d3fe [2020-12-05T00:11:17.726Z] [2020-12-05T00:11:17.726Z] [2020-12-05T00:11:17.726Z] ==> Jenkins CI detected. [2020-12-05T00:11:17.726Z] project root: . [2020-12-05T00:11:17.726Z] --> token set from env [2020-12-05T00:11:17.726Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-05T00:11:17.726Z] ==> Running gcov in . (disable via -X gcov) [2020-12-05T00:11:17.726Z] ==> Python coveragepy not found [2020-12-05T00:11:17.726Z] ==> Searching for coverage reports in: [2020-12-05T00:11:17.726Z] + . [2020-12-05T00:11:17.726Z] -> Found 1 reports [2020-12-05T00:11:17.726Z] ==> Detecting git/mercurial file structure [2020-12-05T00:11:17.726Z] ==> Reading reports [2020-12-05T00:11:17.726Z] + ./coverage.out bytes=10 [2020-12-05T00:11:17.726Z] ==> Appending adjustments [2020-12-05T00:11:17.726Z] https://docs.codecov.io/docs/fixing-reports [2020-12-05T00:11:17.726Z] + Found adjustments [2020-12-05T00:11:17.726Z] ==> Gzipping contents [2020-12-05T00:11:17.726Z] 4.0K /tmp/codecov.HeqD82.gz [2020-12-05T00:11:17.726Z] ==> Uploading reports [2020-12-05T00:11:17.726Z] url: https://codecov.io [2020-12-05T00:11:17.726Z] query: branch=master&commit=86d88bac0e9df45207bbfb278ff4ca70c5103128&build=65&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2Fmaster%2F65%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=&job=&cmd_args= [2020-12-05T00:11:17.726Z] -> Pinging Codecov [2020-12-05T00:11:17.727Z] https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=master&commit=86d88bac0e9df45207bbfb278ff4ca70c5103128&build=65&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2Fmaster%2F65%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=&job=&cmd_args= [2020-12-05T00:11:18.313Z] -> Uploading to [2020-12-05T00:11:18.313Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-05/A97CA9966030D2A3747ED39772930CCE/86d88bac0e9df45207bbfb278ff4ca70c5103128/9f79e2a4-9139-4e01-9152-6941c4b960ee.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201205%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201205T001118Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eb12a62e1d82434b7487109b35d61303d67def1dbce017ad5b5270a7cbf700de [2020-12-05T00:11:18.313Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-05T00:11:18.313Z] Dload Upload Total Spent Left Speed [2020-12-05T00:11:18.840Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 378 0 0 100 378 0 931 --:--:-- --:--:-- --:--:-- 931 [2020-12-05T00:11:18.840Z] -> View reports at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/86d88bac0e9df45207bbfb278ff4ca70c5103128 [Pipeline] } [2020-12-05T00:11:18.851Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2020-12-05T00:11:19.764Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2020-12-05T00:11:19.821Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:11:20.183Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-05T00:11:20.447Z] [2020-12-05T00:11:20.447Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:11:20.825Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-05T00:11:20.825Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2020-12-05T00:11:20.825Z] 188c0c94c7c5: Pulling fs layer [2020-12-05T00:11:20.825Z] 0ef7d3d256c8: Pulling fs layer [2020-12-05T00:11:20.825Z] de9db76c5a1d: Pulling fs layer [2020-12-05T00:11:20.825Z] 0eba1c9be4d2: Pulling fs layer [2020-12-05T00:11:20.825Z] 0d57e429df01: Pulling fs layer [2020-12-05T00:11:20.825Z] 4e4be7b47b0d: Pulling fs layer [2020-12-05T00:11:20.825Z] e1f770b5df2f: Pulling fs layer [2020-12-05T00:11:20.825Z] 85a0685a4137: Pulling fs layer [2020-12-05T00:11:20.825Z] 0d57e429df01: Waiting [2020-12-05T00:11:20.825Z] 0eba1c9be4d2: Waiting [2020-12-05T00:11:20.825Z] 4e4be7b47b0d: Waiting [2020-12-05T00:11:20.825Z] e1f770b5df2f: Waiting [2020-12-05T00:11:20.825Z] 85a0685a4137: Waiting [2020-12-05T00:11:20.825Z] de9db76c5a1d: Download complete [2020-12-05T00:11:20.825Z] 0ef7d3d256c8: Verifying Checksum [2020-12-05T00:11:20.825Z] 0ef7d3d256c8: Download complete [2020-12-05T00:11:20.825Z] 0d57e429df01: Verifying Checksum [2020-12-05T00:11:20.825Z] 0d57e429df01: Download complete [2020-12-05T00:11:20.825Z] 4e4be7b47b0d: Verifying Checksum [2020-12-05T00:11:20.825Z] 4e4be7b47b0d: Download complete [2020-12-05T00:11:20.825Z] 188c0c94c7c5: Verifying Checksum [2020-12-05T00:11:21.425Z] 188c0c94c7c5: Pull complete [2020-12-05T00:11:21.425Z] 0ef7d3d256c8: Pull complete [2020-12-05T00:11:21.687Z] de9db76c5a1d: Pull complete [2020-12-05T00:11:22.266Z] e1f770b5df2f: Verifying Checksum [2020-12-05T00:11:22.266Z] e1f770b5df2f: Download complete [2020-12-05T00:11:23.676Z] 0eba1c9be4d2: Verifying Checksum [2020-12-05T00:11:23.676Z] 0eba1c9be4d2: Download complete [2020-12-05T00:11:24.637Z] 85a0685a4137: Verifying Checksum [2020-12-05T00:11:24.637Z] 85a0685a4137: Download complete [2020-12-05T00:11:30.041Z] 0eba1c9be4d2: Pull complete [2020-12-05T00:11:30.041Z] 0d57e429df01: Pull complete [2020-12-05T00:11:30.041Z] 4e4be7b47b0d: Pull complete [2020-12-05T00:11:31.974Z] e1f770b5df2f: Pull complete [2020-12-05T00:11:40.174Z] 85a0685a4137: Pull complete [2020-12-05T00:11:40.174Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2020-12-05T00:11:40.174Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-05T00:11:40.174Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2020-12-05T00:11:40.415Z] prd-centos7-docker-4c-2g-14574 does not seem to be running inside a container [2020-12-05T00:11:40.465Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/_app-service-configurable_master -v /w/workspace/_app-service-configurable_master:/w/workspace/_app-service-configurable_master:rw,z -v /w/workspace/_app-service-configurable_master@tmp:/w/workspace/_app-service-configurable_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2020-12-05T00:11:41.614Z] $ docker top fc800c41156ca74a3c843915d0b64257900aa357749e2f319ea8c404a08e8d85 -eo pid,comm [Pipeline] { [Pipeline] echo [2020-12-05T00:11:41.903Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2020-12-05T00:11:42.199Z] + set -o pipefail [2020-12-05T00:11:42.199Z] + snyk monitor '--org=edgex-jenkins' [2020-12-05T00:11:52.237Z] [2020-12-05T00:11:52.237Z] Monitoring /w/workspace/_app-service-configurable_master (github.com/edgexfoundry/app-service-configurable)... [2020-12-05T00:11:52.237Z] [2020-12-05T00:11:52.238Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/78834c31-a9c6-48a0-bc23-2630bc060585/history/4966bb97-eb54-4ee7-accf-58de92f8b017 [2020-12-05T00:11:52.238Z] [2020-12-05T00:11:52.238Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-12-05T00:11:52.238Z] [2020-12-05T00:11:52.238Z] [Pipeline] } [2020-12-05T00:11:52.256Z] $ docker stop --time=1 fc800c41156ca74a3c843915d0b64257900aa357749e2f319ea8c404a08e8d85 [2020-12-05T00:11:55.197Z] $ docker rm -f fc800c41156ca74a3c843915d0b64257900aa357749e2f319ea8c404a08e8d85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) [Pipeline] script [Pipeline] { [Pipeline] echo [2020-12-05T00:11:56.445Z] [edgeXSnyk] dockerImage=nexus3.edgexfoundry.org:10004/docker-app-service-configurable:86d88bac0e9df45207bbfb278ff4ca70c5103128, dockerFile=Dockerfile [Pipeline] echo [2020-12-05T00:11:56.447Z] [edgeXSnyk] downloading global ignore policy file from: https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk [Pipeline] sh [2020-12-05T00:11:56.747Z] + set -o pipefail [2020-12-05T00:11:56.747Z] + curl -s https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk [2020-12-05T00:11:56.747Z] + tee .snyk [2020-12-05T00:11:57.010Z] # Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. [2020-12-05T00:11:57.010Z] version: v1.14.1 [2020-12-05T00:11:57.010Z] # ignores vulnerabilities until expiry date; change duration by modifying expiry date [2020-12-05T00:11:57.010Z] ignore: [2020-12-05T00:11:57.010Z] SNYK-ALPINE312-ONIGURUMA-1017392: # snyk ID for the issue to ignore. Required. [2020-12-05T00:11:57.010Z] - '*': [2020-12-05T00:11:57.010Z] reason: does not apply # justification for ignoring [2020-12-05T00:11:57.010Z] expires: 2021-01-01T00:00:00 # expiry date string, according to RFC2822 (https://tools.ietf.org/html/rfc2822#page-14)https://snyk.io/vuln/SNYK-ALPINE312-ONIGURUMA-1017392 [2020-12-05T00:11:57.010Z] SNYK-ALPINE312-JQ-588886: [2020-12-05T00:11:57.010Z] - '*': [2020-12-05T00:11:57.010Z] reason: false positive [2020-12-05T00:11:57.010Z] expires: 2021-01-01T00:00:00 [2020-12-05T00:11:57.010Z] # patch: {} [Pipeline] withCredentials [2020-12-05T00:11:57.111Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:11:57.467Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-05T00:11:57.467Z] . [Pipeline] withDockerContainer [2020-12-05T00:11:57.586Z] prd-centos7-docker-4c-2g-14574 does not seem to be running inside a container [2020-12-05T00:11:57.642Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/_app-service-configurable_master -v /w/workspace/_app-service-configurable_master:/w/workspace/_app-service-configurable_master:rw,z -v /w/workspace/_app-service-configurable_master@tmp:/w/workspace/_app-service-configurable_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2020-12-05T00:11:58.407Z] $ docker top 9c31f62bc4bd0e3c403f8acc2f7f04e020c3cf71663f9f3be2eb805ec4bd7c04 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-05T00:11:58.933Z] + rm -f snykReport.html [Pipeline] echo [2020-12-05T00:11:58.943Z] [edgeXSnyk] command to run: set -o pipefail ; snyk test --org=edgex-jenkins --docker nexus3.edgexfoundry.org:10004/docker-app-service-configurable:86d88bac0e9df45207bbfb278ff4ca70c5103128 --file=./Dockerfile --severity-threshold=high --policy-path=./.snyk --json | snyk-to-html -o snykReport.html [Pipeline] sh [2020-12-05T00:11:59.234Z] + set -o pipefail [2020-12-05T00:11:59.234Z] + snyk test '--org=edgex-jenkins' --docker nexus3.edgexfoundry.org:10004/docker-app-service-configurable:86d88bac0e9df45207bbfb278ff4ca70c5103128 '--file=./Dockerfile' '--severity-threshold=high' '--policy-path=./.snyk' --json [2020-12-05T00:11:59.234Z] + snyk-to-html -o snykReport.html [2020-12-05T00:12:09.289Z] Vulnerability snapshot saved at snykReport.html [Pipeline] } [2020-12-05T00:12:09.308Z] $ docker stop --time=1 9c31f62bc4bd0e3c403f8acc2f7f04e020c3cf71663f9f3be2eb805ec4bd7c04 [2020-12-05T00:12:10.862Z] $ docker rm -f 9c31f62bc4bd0e3c403f8acc2f7f04e020c3cf71663f9f3be2eb805ec4bd7c04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2020-12-05T00:12:12.466Z] + git log --format=format:%s -1 86d88bac0e9df45207bbfb278ff4ca70c5103128 [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:12:12.772Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-05T00:12:12.772Z] . [Pipeline] withDockerContainer [2020-12-05T00:12:12.902Z] prd-centos7-docker-4c-2g-14574 does not seem to be running inside a container [2020-12-05T00:12:13.039Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_master -v /w/workspace/_app-service-configurable_master:/w/workspace/_app-service-configurable_master:rw,z -v /w/workspace/_app-service-configurable_master@tmp:/w/workspace/_app-service-configurable_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-05T00:12:13.857Z] $ docker top ff3348adcebdec3b861eeea5b1b9a1c749a97605c5afc7b152a5d1e4cd7fd268 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-05T00:12:14.192Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-05T00:12:14.192Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-05T00:12:14.454Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-05T00:12:14.459Z] $ docker exec ff3348adcebdec3b861eeea5b1b9a1c749a97605c5afc7b152a5d1e4cd7fd268 ssh-agent [2020-12-05T00:12:14.645Z] SSH_AUTH_SOCK=/tmp/ssh-kRLnouOeXeNA/agent.12 [2020-12-05T00:12:14.645Z] SSH_AGENT_PID=17 [2020-12-05T00:12:14.653Z] Running ssh-add (command line suppressed) [2020-12-05T00:12:14.804Z] Identity added: /w/workspace/_app-service-configurable_master@tmp/private_key_3900606914050935578.key (/w/workspace/_app-service-configurable_master@tmp/private_key_3900606914050935578.key) [2020-12-05T00:12:14.863Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-05T00:12:15.205Z] + git semver tag [2020-12-05T00:12:15.205Z] # -> Open(): unable to determine branch for HEAD [2020-12-05T00:12:15.205Z] # $GIT_DIR = /w/workspace/_app-service-configurable_master/.git [2020-12-05T00:12:15.205Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_master [2020-12-05T00:12:15.205Z] # $SEMVER_REMOTE_NAME = origin [2020-12-05T00:12:15.205Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-05T00:12:15.205Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-05T00:12:15.205Z] # $SEMVER_BRANCH = master [2020-12-05T00:12:15.205Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_master/.semver [2020-12-05T00:12:15.205Z] # 86d88bac0e9df45207bbfb278ff4ca70c5103128 HEAD [2020-12-05T00:12:15.205Z] # -> Force: false [2020-12-05T00:12:15.205Z] # 6e6beee9a543c2f5644b608e42f6c5f4700af8a5 refs/tags/v2.0.0-dev.2 [Pipeline] } [2020-12-05T00:12:15.219Z] $ docker exec --env ******** --env ******** ff3348adcebdec3b861eeea5b1b9a1c749a97605c5afc7b152a5d1e4cd7fd268 ssh-agent -k [2020-12-05T00:12:15.353Z] unset SSH_AUTH_SOCK; [2020-12-05T00:12:15.353Z] unset SSH_AGENT_PID; [2020-12-05T00:12:15.353Z] echo Agent pid 17 killed; [2020-12-05T00:12:15.409Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-05T00:12:15.885Z] + git semver [Pipeline] } [2020-12-05T00:12:15.903Z] $ docker stop --time=1 ff3348adcebdec3b861eeea5b1b9a1c749a97605c5afc7b152a5d1e4cd7fd268 [2020-12-05T00:12:17.265Z] $ docker rm -f ff3348adcebdec3b861eeea5b1b9a1c749a97605c5afc7b152a5d1e4cd7fd268 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:12:17.927Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-05T00:12:17.927Z] [2020-12-05T00:12:17.927Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:12:18.276Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-05T00:12:18.276Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-12-05T00:12:18.276Z] ab5ef0e58194: Pulling fs layer [2020-12-05T00:12:18.276Z] 9712f1f96733: Pulling fs layer [2020-12-05T00:12:18.276Z] 63f879dbbcfc: Pulling fs layer [2020-12-05T00:12:18.276Z] 0d9ebad4ef96: Pulling fs layer [2020-12-05T00:12:18.276Z] e9a5061849ea: Pulling fs layer [2020-12-05T00:12:18.276Z] d747dcd14b5f: Pulling fs layer [2020-12-05T00:12:18.276Z] 2de7ff778b66: Pulling fs layer [2020-12-05T00:12:18.276Z] e9a5061849ea: Waiting [2020-12-05T00:12:18.276Z] d747dcd14b5f: Waiting [2020-12-05T00:12:18.276Z] 0d9ebad4ef96: Waiting [2020-12-05T00:12:18.276Z] 2de7ff778b66: Waiting [2020-12-05T00:12:18.276Z] 9712f1f96733: Verifying Checksum [2020-12-05T00:12:18.276Z] 9712f1f96733: Download complete [2020-12-05T00:12:20.203Z] 63f879dbbcfc: Verifying Checksum [2020-12-05T00:12:20.203Z] 63f879dbbcfc: Download complete [2020-12-05T00:12:20.203Z] e9a5061849ea: Verifying Checksum [2020-12-05T00:12:20.203Z] e9a5061849ea: Download complete [2020-12-05T00:12:20.203Z] d747dcd14b5f: Download complete [2020-12-05T00:12:20.466Z] 2de7ff778b66: Verifying Checksum [2020-12-05T00:12:20.466Z] 2de7ff778b66: Download complete [2020-12-05T00:12:20.729Z] 0d9ebad4ef96: Verifying Checksum [2020-12-05T00:12:20.729Z] 0d9ebad4ef96: Download complete [2020-12-05T00:12:20.729Z] ab5ef0e58194: Download complete [2020-12-05T00:12:24.961Z] ab5ef0e58194: Pull complete [2020-12-05T00:12:25.248Z] 9712f1f96733: Pull complete [2020-12-05T00:12:28.566Z] 63f879dbbcfc: Pull complete [2020-12-05T00:12:33.895Z] 0d9ebad4ef96: Pull complete [2020-12-05T00:12:38.123Z] e9a5061849ea: Pull complete [2020-12-05T00:12:38.123Z] d747dcd14b5f: Pull complete [2020-12-05T00:12:39.073Z] 2de7ff778b66: Pull complete [2020-12-05T00:12:39.073Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-12-05T00:12:39.073Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-05T00:12:39.073Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-12-05T00:12:39.285Z] prd-centos7-docker-4c-2g-14574 does not seem to be running inside a container [2020-12-05T00:12:39.335Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_master -v /w/workspace/_app-service-configurable_master:/w/workspace/_app-service-configurable_master:rw,z -v /w/workspace/_app-service-configurable_master@tmp:/w/workspace/_app-service-configurable_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-12-05T00:12:44.123Z] $ docker top 91bb90677aa1d08daab1ba9943a40635b190e58e8740a6ccc717446181582805 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-12-05T00:12:44.409Z] provisioning config files... [2020-12-05T00:12:44.420Z] copy managed file [sigul-config] to file:/w/workspace/_app-service-configurable_master@tmp/config4544839056130227438tmp [2020-12-05T00:12:44.437Z] copy managed file [sigul-password] to file:/w/workspace/_app-service-configurable_master@tmp/config7998981972952529507tmp [2020-12-05T00:12:44.453Z] copy managed file [sigul-pki] to file:/w/workspace/_app-service-configurable_master@tmp/config6967718589248194952tmp [Pipeline] { [Pipeline] echo [2020-12-05T00:12:44.513Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-05T00:12:44.817Z] ---> sigul-configuration.sh [2020-12-05T00:12:44.817Z] gpg: directory `/root/.gnupg' created [2020-12-05T00:12:44.817Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-12-05T00:12:44.817Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-12-05T00:12:44.817Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-12-05T00:12:44.817Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-12-05T00:12:44.817Z] gpg: CAST5 encrypted data [2020-12-05T00:12:45.082Z] gpg: encrypted with 1 passphrase [2020-12-05T00:12:45.082Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-12-05T00:12:45.388Z] + mkdir /home/jenkins [2020-12-05T00:12:45.388Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-12-05T00:12:45.690Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2020-12-05T00:12:45.701Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-05T00:12:46.002Z] ---> sigul-install.sh [2020-12-05T00:12:51.341Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-12-05T00:12:51.647Z] + git tag --list [2020-12-05T00:12:51.647Z] v1.0.0 [2020-12-05T00:12:51.647Z] v1.1.0 [2020-12-05T00:12:51.647Z] v1.2.0 [2020-12-05T00:12:51.647Z] v1.2.1-dev.1 [2020-12-05T00:12:51.647Z] v1.2.1-dev.10 [2020-12-05T00:12:51.647Z] v1.2.1-dev.11 [2020-12-05T00:12:51.647Z] v1.2.1-dev.12 [2020-12-05T00:12:51.647Z] v1.2.1-dev.13 [2020-12-05T00:12:51.647Z] v1.2.1-dev.14 [2020-12-05T00:12:51.647Z] v1.2.1-dev.15 [2020-12-05T00:12:51.647Z] v1.2.1-dev.16 [2020-12-05T00:12:51.647Z] v1.2.1-dev.17 [2020-12-05T00:12:51.647Z] v1.2.1-dev.18 [2020-12-05T00:12:51.647Z] v1.2.1-dev.19 [2020-12-05T00:12:51.647Z] v1.2.1-dev.2 [2020-12-05T00:12:51.647Z] v1.2.1-dev.20 [2020-12-05T00:12:51.647Z] v1.2.1-dev.21 [2020-12-05T00:12:51.647Z] v1.2.1-dev.22 [2020-12-05T00:12:51.647Z] v1.2.1-dev.23 [2020-12-05T00:12:51.647Z] v1.2.1-dev.3 [2020-12-05T00:12:51.647Z] v1.2.1-dev.4 [2020-12-05T00:12:51.647Z] v1.2.1-dev.5 [2020-12-05T00:12:51.647Z] v1.2.1-dev.6 [2020-12-05T00:12:51.647Z] v1.2.1-dev.7 [2020-12-05T00:12:51.647Z] v1.2.1-dev.8 [2020-12-05T00:12:51.647Z] v1.2.1-dev.9 [2020-12-05T00:12:51.647Z] v1.3.0 [2020-12-05T00:12:51.647Z] v1.3.1-dev.1 [2020-12-05T00:12:51.647Z] v2.0.0-dev.1 [2020-12-05T00:12:51.647Z] v2.0.0-dev.2 [Pipeline] sh [2020-12-05T00:12:51.950Z] + lftools sign git-tag v2.0.0-dev.2 [2020-12-05T00:12:53.342Z] Signing Git tag with Sigul... [2020-12-05T00:12:53.342Z] Signing v2.0.0-dev.2 [Pipeline] echo [2020-12-05T00:12:55.278Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-05T00:12:55.577Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-12-05T00:12:55.588Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-12-05T00:12:55.687Z] $ docker stop --time=1 91bb90677aa1d08daab1ba9943a40635b190e58e8740a6ccc717446181582805 [2020-12-05T00:12:57.569Z] $ docker rm -f 91bb90677aa1d08daab1ba9943a40635b190e58e8740a6ccc717446181582805 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:12:58.509Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-05T00:12:58.509Z] . [Pipeline] withDockerContainer [2020-12-05T00:12:58.622Z] prd-centos7-docker-4c-2g-14574 does not seem to be running inside a container [2020-12-05T00:12:58.680Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_master -v /w/workspace/_app-service-configurable_master:/w/workspace/_app-service-configurable_master:rw,z -v /w/workspace/_app-service-configurable_master@tmp:/w/workspace/_app-service-configurable_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-05T00:12:59.619Z] $ docker top b149f49da61929bb7689fc1ae3c49116ee94f91679517d985fc8e9f2946cf754 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-05T00:12:59.960Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-05T00:12:59.961Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-05T00:13:00.194Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-05T00:13:00.198Z] $ docker exec b149f49da61929bb7689fc1ae3c49116ee94f91679517d985fc8e9f2946cf754 ssh-agent [2020-12-05T00:13:00.379Z] SSH_AUTH_SOCK=/tmp/ssh-cDG4UXklTjx5/agent.11 [2020-12-05T00:13:00.379Z] SSH_AGENT_PID=16 [2020-12-05T00:13:00.386Z] Running ssh-add (command line suppressed) [2020-12-05T00:13:00.525Z] Identity added: /w/workspace/_app-service-configurable_master@tmp/private_key_3176106777702868791.key (/w/workspace/_app-service-configurable_master@tmp/private_key_3176106777702868791.key) [2020-12-05T00:13:00.584Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-05T00:13:00.960Z] + git semver bump pre [2020-12-05T00:13:00.960Z] # -> Open(): unable to determine branch for HEAD [2020-12-05T00:13:00.960Z] # $GIT_DIR = /w/workspace/_app-service-configurable_master/.git [2020-12-05T00:13:00.960Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_master [2020-12-05T00:13:00.960Z] # $SEMVER_REMOTE_NAME = origin [2020-12-05T00:13:00.960Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-05T00:13:00.960Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-05T00:13:00.960Z] # $SEMVER_BRANCH = master [2020-12-05T00:13:00.960Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_master/.semver [2020-12-05T00:13:00.960Z] 2.0.0-dev.3 [Pipeline] } [2020-12-05T00:13:00.973Z] $ docker exec --env ******** --env ******** b149f49da61929bb7689fc1ae3c49116ee94f91679517d985fc8e9f2946cf754 ssh-agent -k [2020-12-05T00:13:01.107Z] unset SSH_AUTH_SOCK; [2020-12-05T00:13:01.107Z] unset SSH_AGENT_PID; [2020-12-05T00:13:01.107Z] echo Agent pid 16 killed; [2020-12-05T00:13:01.159Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-05T00:13:01.662Z] + git semver [Pipeline] } [2020-12-05T00:13:01.689Z] $ docker stop --time=1 b149f49da61929bb7689fc1ae3c49116ee94f91679517d985fc8e9f2946cf754 [2020-12-05T00:13:03.059Z] $ docker rm -f b149f49da61929bb7689fc1ae3c49116ee94f91679517d985fc8e9f2946cf754 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:13:03.601Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-05T00:13:03.601Z] . [Pipeline] withDockerContainer [2020-12-05T00:13:03.706Z] prd-centos7-docker-4c-2g-14574 does not seem to be running inside a container [2020-12-05T00:13:03.752Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_master -v /w/workspace/_app-service-configurable_master:/w/workspace/_app-service-configurable_master:rw,z -v /w/workspace/_app-service-configurable_master@tmp:/w/workspace/_app-service-configurable_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-05T00:13:04.418Z] $ docker top 1539a05e0f6045e8db1577a77d268ddd44542046957c923837334f3b78f5c65a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-05T00:13:04.745Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-05T00:13:04.746Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-05T00:13:04.957Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-05T00:13:04.962Z] $ docker exec 1539a05e0f6045e8db1577a77d268ddd44542046957c923837334f3b78f5c65a ssh-agent [2020-12-05T00:13:05.166Z] SSH_AUTH_SOCK=/tmp/ssh-3050fQhGTl8d/agent.11 [2020-12-05T00:13:05.166Z] SSH_AGENT_PID=16 [2020-12-05T00:13:05.176Z] Running ssh-add (command line suppressed) [2020-12-05T00:13:05.308Z] Identity added: /w/workspace/_app-service-configurable_master@tmp/private_key_8322151143711998810.key (/w/workspace/_app-service-configurable_master@tmp/private_key_8322151143711998810.key) [2020-12-05T00:13:05.365Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-05T00:13:05.704Z] + git semver push [2020-12-05T00:13:05.704Z] # -> Open(): unable to determine branch for HEAD [2020-12-05T00:13:05.704Z] # $GIT_DIR = /w/workspace/_app-service-configurable_master/.git [2020-12-05T00:13:05.704Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_master [2020-12-05T00:13:05.704Z] # $SEMVER_REMOTE_NAME = origin [2020-12-05T00:13:05.704Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-05T00:13:05.704Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-05T00:13:05.704Z] # $SEMVER_BRANCH = master [2020-12-05T00:13:05.704Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_master/.semver [Pipeline] } [2020-12-05T00:13:12.318Z] $ docker exec --env ******** --env ******** 1539a05e0f6045e8db1577a77d268ddd44542046957c923837334f3b78f5c65a ssh-agent -k [2020-12-05T00:13:12.461Z] unset SSH_AUTH_SOCK; [2020-12-05T00:13:12.461Z] unset SSH_AGENT_PID; [2020-12-05T00:13:12.461Z] echo Agent pid 16 killed; [2020-12-05T00:13:12.521Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-05T00:13:13.114Z] + git semver [Pipeline] } [2020-12-05T00:13:13.133Z] $ docker stop --time=1 1539a05e0f6045e8db1577a77d268ddd44542046957c923837334f3b78f5c65a [2020-12-05T00:13:14.489Z] $ docker rm -f 1539a05e0f6045e8db1577a77d268ddd44542046957c923837334f3b78f5c65a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-12-05T00:13:16.221Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-05T00:13:16.790Z] ---> package-listing.sh [2020-12-05T00:13:16.790Z] ++ facter osfamily [2020-12-05T00:13:16.790Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-05T00:13:16.790Z] + OS_FAMILY=redhat [2020-12-05T00:13:16.790Z] + workspace=/w/workspace/_app-service-configurable_master [2020-12-05T00:13:16.790Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-05T00:13:16.790Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-05T00:13:16.790Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-05T00:13:16.790Z] + PACKAGES=/tmp/packages_start.txt [2020-12-05T00:13:16.790Z] + '[' /w/workspace/_app-service-configurable_master ']' [2020-12-05T00:13:16.790Z] + PACKAGES=/tmp/packages_end.txt [2020-12-05T00:13:16.790Z] + case "${OS_FAMILY}" in [2020-12-05T00:13:16.790Z] + rpm -qa [2020-12-05T00:13:16.790Z] + sort [2020-12-05T00:13:22.111Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-05T00:13:22.111Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-05T00:13:22.111Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-05T00:13:22.111Z] + '[' /w/workspace/_app-service-configurable_master ']' [2020-12-05T00:13:22.111Z] + mkdir -p /w/workspace/_app-service-configurable_master/archives/ [2020-12-05T00:13:22.111Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_master/archives/ [Pipeline] echo [2020-12-05T00:13:22.125Z] 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_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-05T00:13:22.426Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:13:22.733Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-05T00:13:22.733Z] [2020-12-05T00:13:22.733Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-05T00:13:23.087Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-05T00:13:23.087Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-05T00:13:23.087Z] df20fa9351a1: Pulling fs layer [2020-12-05T00:13:23.087Z] 36b3adc4ff6f: Pulling fs layer [2020-12-05T00:13:23.087Z] 8ad3a11d3b57: Pulling fs layer [2020-12-05T00:13:23.087Z] 46f8f816bc3b: Pulling fs layer [2020-12-05T00:13:23.087Z] 93b61091891f: Pulling fs layer [2020-12-05T00:13:23.087Z] 93b9cdb0e59b: Pulling fs layer [2020-12-05T00:13:23.087Z] 5e14af77c1be: Pulling fs layer [2020-12-05T00:13:23.087Z] 01666e4c0597: Pulling fs layer [2020-12-05T00:13:23.087Z] aa168da1d23b: Pulling fs layer [2020-12-05T00:13:23.087Z] 93b9cdb0e59b: Waiting [2020-12-05T00:13:23.087Z] 5e14af77c1be: Waiting [2020-12-05T00:13:23.087Z] 01666e4c0597: Waiting [2020-12-05T00:13:23.087Z] aa168da1d23b: Waiting [2020-12-05T00:13:23.087Z] 46f8f816bc3b: Waiting [2020-12-05T00:13:23.087Z] 93b61091891f: Waiting [2020-12-05T00:13:23.087Z] 36b3adc4ff6f: Download complete [2020-12-05T00:13:23.087Z] 46f8f816bc3b: Verifying Checksum [2020-12-05T00:13:23.087Z] 46f8f816bc3b: Download complete [2020-12-05T00:13:23.352Z] df20fa9351a1: Verifying Checksum [2020-12-05T00:13:23.352Z] df20fa9351a1: Download complete [2020-12-05T00:13:23.352Z] 93b61091891f: Download complete [2020-12-05T00:13:23.352Z] 93b9cdb0e59b: Verifying Checksum [2020-12-05T00:13:23.352Z] 93b9cdb0e59b: Download complete [2020-12-05T00:13:23.352Z] 5e14af77c1be: Verifying Checksum [2020-12-05T00:13:23.352Z] 5e14af77c1be: Download complete [2020-12-05T00:13:23.352Z] 01666e4c0597: Verifying Checksum [2020-12-05T00:13:23.352Z] 01666e4c0597: Download complete [2020-12-05T00:13:23.619Z] 8ad3a11d3b57: Verifying Checksum [2020-12-05T00:13:23.619Z] 8ad3a11d3b57: Download complete [2020-12-05T00:13:23.887Z] df20fa9351a1: Pull complete [2020-12-05T00:13:24.156Z] 36b3adc4ff6f: Pull complete [2020-12-05T00:13:25.564Z] aa168da1d23b: Download complete [2020-12-05T00:13:25.827Z] 8ad3a11d3b57: Pull complete [2020-12-05T00:13:26.403Z] 46f8f816bc3b: Pull complete [2020-12-05T00:13:26.666Z] 93b61091891f: Pull complete [2020-12-05T00:13:26.928Z] 93b9cdb0e59b: Pull complete [2020-12-05T00:13:26.928Z] 5e14af77c1be: Pull complete [2020-12-05T00:13:27.190Z] 01666e4c0597: Pull complete [2020-12-05T00:13:35.383Z] aa168da1d23b: Pull complete [2020-12-05T00:13:35.383Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-05T00:13:35.383Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-05T00:13:35.383Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-05T00:13:35.592Z] prd-centos7-docker-4c-2g-14574 does not seem to be running inside a container [2020-12-05T00:13:35.638Z] $ 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_master/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_master -v /w/workspace/_app-service-configurable_master:/w/workspace/_app-service-configurable_master:rw,z -v /w/workspace/_app-service-configurable_master@tmp:/w/workspace/_app-service-configurable_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-05T00:13:38.977Z] $ docker top 058de35dca8289050e7e0338714666ecd5a1b18a7d36dec07bcc31ade7c48271 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-05T00:13:39.540Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-05T00:13:39.843Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-05T00:13:40.146Z] + ls /var/log/sa-host [2020-12-05T00:13:40.146Z] + sadf -c /var/log/sa-host/sa05 [2020-12-05T00:13:40.146Z] file_magic: OK [2020-12-05T00:13:40.146Z] HZ: Using current value: 100 [2020-12-05T00:13:40.146Z] file_header: OK [2020-12-05T00:13:40.146Z] 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 [2020-12-05T00:13:40.146Z] Statistics: [2020-12-05T00:13:40.146Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-05T00:13:40.146Z] File successfully converted to sysstat format version 12.2.1 [2020-12-05T00:13:40.146Z] + sadf -c /var/log/sa-host/sa23 [2020-12-05T00:13:40.146Z] file_magic: OK [2020-12-05T00:13:40.146Z] HZ: Using current value: 100 [2020-12-05T00:13:40.146Z] file_header: OK [2020-12-05T00:13:40.146Z] 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 [2020-12-05T00:13:40.146Z] Statistics: [2020-12-05T00:13:40.146Z] Hnuu...uuuununununu... [2020-12-05T00:13:40.146Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-05T00:13:40.840Z] provisioning config files... [2020-12-05T00:13:40.857Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_master@tmp/config1634199220661337647tmp [Pipeline] { [Pipeline] echo [2020-12-05T00:13:41.015Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-05T00:13:41.315Z] ---> create-netrc.sh [Pipeline] } [2020-12-05T00:13:41.325Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-05T00:13:41.425Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-05T00:13:41.723Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-05T00:13:41.734Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-05T00:13:42.032Z] ---> sudo-logs.sh [2020-12-05T00:13:42.032Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-05T00:13:42.044Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-05T00:13:42.347Z] ---> job-cost.sh [2020-12-05T00:13:42.347Z] lf-activate-venv: SKIPPING [2020-12-05T00:13:42.347Z] INFO: No Stack... [2020-12-05T00:13:43.294Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-05T00:13:43.558Z] INFO: Archiving Costs [Pipeline] echo [2020-12-05T00:13:43.573Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-05T00:13:43.869Z] ---> logs-deploy.sh [2020-12-05T00:13:43.870Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/master/65 [2020-12-05T00:13:43.870Z] INFO: archiving workspace using pattern(s): [2020-12-05T00:13:45.788Z] Archives upload complete. [2020-12-05T00:13:45.788Z] INFO: archiving logs to Nexus