Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0b6ac86b660cf605cfaa9a96e27b56772a59fa3b 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > 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-15623 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 Checking out Revision 0b6ac86b660cf605cfaa9a96e27b56772a59fa3b (master) > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0b6ac86b660cf605cfaa9a96e27b56772a59fa3b # timeout=10 Commit message: "feat: update configuration files to set default non-TLS (#157)" > git rev-list --no-walk 4516a352731f3d8180afe2aa8b87c74c30645521 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-11T21:49:20.837Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-11T21:49:21.182Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-11T21:49:21.288Z] ========================================================= [2020-12-11T21:49:21.288Z] EdgeX Global Pipelines Version Info [2020-12-11T21:49:21.288Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-11T21:49:23.514Z] ------------------- [2020-12-11T21:49:23.514Z] stable info: [2020-12-11T21:49:23.514Z] ------------------- [2020-12-11T21:49:23.514Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-11T21:49:23.514Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-11T21:49:23.514Z] Message: update stable to v1.0.172 [2020-12-11T21:49:24.248Z] ------------------- [2020-12-11T21:49:24.248Z] experimental info: [2020-12-11T21:49:24.248Z] ------------------- [2020-12-11T21:49:24.248Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-11T21:49:24.248Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-11T21:49:24.248Z] Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-11T21:49:24.589Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2020-12-11T21:49:24.703Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2020-12-11T21:49:24.790Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-11T21:49:24.958Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-11T21:49:25.096Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-11T21:49:25.202Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-11T21:49:25.306Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-11T21:49:25.410Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-11T21:49:25.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-11T21:49:25.595Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-11T21:49:25.703Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-11T21:49:25.830Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-service-configurable [Pipeline] echo [2020-12-11T21:49:25.921Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-11T21:49:26.019Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-11T21:49:26.113Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-11T21:49:26.224Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-11T21:49:26.327Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-11T21:49:26.417Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-11T21:49:26.504Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-11T21:49:26.621Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-12-11T21:49:26.726Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-11T21:49:26.816Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-11T21:49:26.904Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-11T21:49:26.989Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-11T21:49:27.079Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-11T21:49:27.178Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-11T21:49:27.261Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-12-11T21:49:27.343Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-12-11T21:49:27.427Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-12-11T21:49:27.511Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0b6ac86b660cf605cfaa9a96e27b56772a59fa3b [Pipeline] echo [2020-12-11T21:49:27.610Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0b6ac86 [Pipeline] echo [2020-12-11T21:49:27.692Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-11T21:49:27.916Z] provisioning config files... [2020-12-11T21:49:27.950Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_master@tmp/config3294169611970192386tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-11T21:49:28.350Z] ---> docker-login.sh [2020-12-11T21:49:28.351Z] nexus3.edgexfoundry.org:10001 [2020-12-11T21:49:28.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T21:49:29.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T21:49:29.258Z] Configure a credential helper to remove this warning. See [2020-12-11T21:49:29.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T21:49:29.258Z] [2020-12-11T21:49:29.258Z] Login Succeeded [2020-12-11T21:49:29.258Z] nexus3.edgexfoundry.org:10002 [2020-12-11T21:49:29.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T21:49:29.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T21:49:29.539Z] Configure a credential helper to remove this warning. See [2020-12-11T21:49:29.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T21:49:29.539Z] [2020-12-11T21:49:29.539Z] Login Succeeded [2020-12-11T21:49:29.539Z] nexus3.edgexfoundry.org:10003 [2020-12-11T21:49:29.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T21:49:29.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T21:49:29.814Z] Configure a credential helper to remove this warning. See [2020-12-11T21:49:29.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T21:49:29.814Z] [2020-12-11T21:49:29.814Z] Login Succeeded [2020-12-11T21:49:29.814Z] nexus3.edgexfoundry.org:10004 [2020-12-11T21:49:30.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T21:49:30.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T21:49:30.395Z] Configure a credential helper to remove this warning. See [2020-12-11T21:49:30.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T21:49:30.395Z] [2020-12-11T21:49:30.395Z] Login Succeeded [2020-12-11T21:49:30.395Z] docker.io [2020-12-11T21:49:30.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T21:49:31.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T21:49:31.049Z] Configure a credential helper to remove this warning. See [2020-12-11T21:49:31.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T21:49:31.049Z] [2020-12-11T21:49:31.049Z] Login Succeeded [2020-12-11T21:49:31.049Z] ---> docker-login.sh ends [Pipeline] } [2020-12-11T21:49:31.063Z] 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-11T21:49:32.171Z] + git log --format=format:%s -1 0b6ac86b660cf605cfaa9a96e27b56772a59fa3b [Pipeline] echo [2020-12-11T21:49:32.285Z] GIT_COMMIT: 0b6ac86b660cf605cfaa9a96e27b56772a59fa3b, Commit Message: feat: update configuration files to set default non-TLS (#157) [Pipeline] echo [2020-12-11T21:49:32.329Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:49:33.775Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-11T21:49:33.775Z] [2020-12-11T21:49:33.775Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:49:34.166Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-11T21:49:34.166Z] latest: Pulling from edgex-devops/git-semver [2020-12-11T21:49:34.166Z] 31603596830f: Pulling fs layer [2020-12-11T21:49:34.166Z] 2a8b12db71e7: Pulling fs layer [2020-12-11T21:49:34.166Z] 6ca5941a6612: Pulling fs layer [2020-12-11T21:49:34.166Z] ecc8261a40a4: Pulling fs layer [2020-12-11T21:49:34.166Z] ecc8261a40a4: Waiting [2020-12-11T21:49:34.166Z] 2a8b12db71e7: Verifying Checksum [2020-12-11T21:49:34.166Z] 2a8b12db71e7: Download complete [2020-12-11T21:49:34.456Z] 31603596830f: Download complete [2020-12-11T21:49:34.726Z] ecc8261a40a4: Verifying Checksum [2020-12-11T21:49:34.726Z] ecc8261a40a4: Download complete [2020-12-11T21:49:34.726Z] 6ca5941a6612: Verifying Checksum [2020-12-11T21:49:34.726Z] 6ca5941a6612: Download complete [2020-12-11T21:49:35.039Z] 31603596830f: Pull complete [2020-12-11T21:49:35.653Z] 2a8b12db71e7: Pull complete [2020-12-11T21:49:37.136Z] 6ca5941a6612: Pull complete [2020-12-11T21:49:37.769Z] ecc8261a40a4: Pull complete [2020-12-11T21:49:37.769Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-11T21:49:37.769Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-11T21:49:37.769Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-11T21:49:37.993Z] prd-centos7-docker-4c-2g-15623 does not seem to be running inside a container [2020-12-11T21:49:38.102Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-11T21:49:40.702Z] $ docker top 993583e422a1561ec2787bb7bc46f7bf6d84fba4fc22b170f9679360a0974a83 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-11T21:49:41.163Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-11T21:49:41.163Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-11T21:49:41.668Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-11T21:49:41.677Z] $ docker exec 993583e422a1561ec2787bb7bc46f7bf6d84fba4fc22b170f9679360a0974a83 ssh-agent [2020-12-11T21:49:41.962Z] SSH_AUTH_SOCK=/tmp/ssh-WMtztv1qs7on/agent.13 [2020-12-11T21:49:41.962Z] SSH_AGENT_PID=18 [2020-12-11T21:49:41.977Z] Running ssh-add (command line suppressed) [2020-12-11T21:49:42.237Z] Identity added: /w/workspace/_app-service-configurable_master@tmp/private_key_3308268155631786002.key (/w/workspace/_app-service-configurable_master@tmp/private_key_3308268155631786002.key) [2020-12-11T21:49:42.351Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-11T21:49:42.746Z] + git tag --points-at HEAD [Pipeline] } [2020-12-11T21:49:42.787Z] $ docker exec --env ******** --env ******** 993583e422a1561ec2787bb7bc46f7bf6d84fba4fc22b170f9679360a0974a83 ssh-agent -k [2020-12-11T21:49:43.007Z] unset SSH_AUTH_SOCK; [2020-12-11T21:49:43.010Z] unset SSH_AGENT_PID; [2020-12-11T21:49:43.010Z] echo Agent pid 18 killed; [2020-12-11T21:49:43.091Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-11T21:49:43.273Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-11T21:49:43.273Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-11T21:49:43.610Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-11T21:49:43.618Z] $ docker exec 993583e422a1561ec2787bb7bc46f7bf6d84fba4fc22b170f9679360a0974a83 ssh-agent [2020-12-11T21:49:43.977Z] SSH_AUTH_SOCK=/tmp/ssh-1Ryh7sEnGu0b/agent.47 [2020-12-11T21:49:43.978Z] SSH_AGENT_PID=53 [2020-12-11T21:49:43.987Z] Running ssh-add (command line suppressed) [2020-12-11T21:49:44.224Z] Identity added: /w/workspace/_app-service-configurable_master@tmp/private_key_998543847846531658.key (/w/workspace/_app-service-configurable_master@tmp/private_key_998543847846531658.key) [2020-12-11T21:49:44.326Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-11T21:49:44.820Z] + git semver init [2020-12-11T21:49:44.820Z] # -> Open(): unable to determine branch for HEAD [2020-12-11T21:49:44.820Z] # $GIT_DIR = /w/workspace/_app-service-configurable_master/.git [2020-12-11T21:49:44.820Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_master [2020-12-11T21:49:44.820Z] # $SEMVER_REMOTE_NAME = origin [2020-12-11T21:49:44.820Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-11T21:49:44.820Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-11T21:49:44.820Z] # $SEMVER_BRANCH = master [2020-12-11T21:49:44.820Z] # $SEMVER_TEMP = /tmp/semver-440207657 [2020-12-11T21:49:44.820Z] # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP [2020-12-11T21:49:45.431Z] # '/tmp/semver-440207657' -> '/w/workspace/_app-service-configurable_master/.semver' [2020-12-11T21:49:45.431Z] # -> Force: false [2020-12-11T21:49:45.431Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_master/.semver [Pipeline] } [2020-12-11T21:49:45.482Z] $ docker exec --env ******** --env ******** 993583e422a1561ec2787bb7bc46f7bf6d84fba4fc22b170f9679360a0974a83 ssh-agent -k [2020-12-11T21:49:45.759Z] unset SSH_AUTH_SOCK; [2020-12-11T21:49:45.761Z] unset SSH_AGENT_PID; [2020-12-11T21:49:45.761Z] echo Agent pid 53 killed; [2020-12-11T21:49:45.857Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-11T21:49:46.404Z] + git semver [Pipeline] } [2020-12-11T21:49:46.443Z] $ docker stop --time=1 993583e422a1561ec2787bb7bc46f7bf6d84fba4fc22b170f9679360a0974a83 [2020-12-11T21:49:47.975Z] $ docker rm -f 993583e422a1561ec2787bb7bc46f7bf6d84fba4fc22b170f9679360a0974a83 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-11T21:49:48.676Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-11T21:49:49.613Z] Stashed 1 file(s) [Pipeline] echo [2020-12-11T21:49:49.616Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.4 [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-11T21:50:05.526Z] Still waiting to schedule task [2020-12-11T21:50:05.526Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-11T21:50:05.528Z] Still waiting to schedule task [2020-12-11T21:50:05.528Z] ‘prd-centos7-docker-4c-2g-15505’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-15616’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-15619’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-8c-8g-15621’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-15624’ is offline [2020-12-11T21:50:37.075Z] Running on prd-centos7-docker-4c-2g-15627 in /w/workspace/_app-service-configurable_master [Pipeline] { [Pipeline] ws [2020-12-11T21:50:37.129Z] Running in /w/workspace/app-service-configurable/67 [Pipeline] { [Pipeline] checkout [2020-12-11T21:50:39.535Z] using credential edgex-jenkins-ssh [2020-12-11T21:50:39.591Z] Cloning the remote Git repository [2020-12-11T21:50:39.620Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-12-11T21:50:39.690Z] > git init /w/workspace/app-service-configurable/67 # timeout=10 [2020-12-11T21:50:39.746Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-12-11T21:50:39.746Z] > git --version # timeout=10 [2020-12-11T21:50:39.752Z] > git --version # 'git version 2.24.3' [2020-12-11T21:50:39.753Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T21:50:39.780Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-11T21:50:40.327Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-12-11T21:50:40.333Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-11T21:50:40.343Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-12-11T21:50:40.359Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-12-11T21:50:40.359Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T21:50:40.363Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-11T21:50:40.761Z] Checking out Revision 0b6ac86b660cf605cfaa9a96e27b56772a59fa3b (master) [2020-12-11T21:50:40.771Z] > git config core.sparsecheckout # timeout=10 [2020-12-11T21:50:40.777Z] > git checkout -f 0b6ac86b660cf605cfaa9a96e27b56772a59fa3b # timeout=10 [2020-12-11T21:50:44.439Z] Commit message: "feat: update configuration files to set default non-TLS (#157)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-11T21:50:45.773Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-11T21:50:46.110Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-11T21:50:46.409Z] + sudo service docker restart [2020-12-11T21:50:46.409Z] + true [2020-12-11T21:50:46.409Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-11T21:50:47.420Z] provisioning config files... [2020-12-11T21:50:47.445Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/67@tmp/config5153816654080229983tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-11T21:50:47.885Z] ---> docker-login.sh [2020-12-11T21:50:47.885Z] nexus3.edgexfoundry.org:10001 [2020-12-11T21:50:48.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T21:50:48.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T21:50:48.149Z] Configure a credential helper to remove this warning. See [2020-12-11T21:50:48.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T21:50:48.149Z] [2020-12-11T21:50:48.149Z] Login Succeeded [2020-12-11T21:50:48.149Z] nexus3.edgexfoundry.org:10002 [2020-12-11T21:50:48.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T21:50:48.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T21:50:48.413Z] Configure a credential helper to remove this warning. See [2020-12-11T21:50:48.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T21:50:48.413Z] [2020-12-11T21:50:48.413Z] Login Succeeded [2020-12-11T21:50:48.413Z] nexus3.edgexfoundry.org:10003 [2020-12-11T21:50:48.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T21:50:48.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T21:50:48.675Z] Configure a credential helper to remove this warning. See [2020-12-11T21:50:48.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T21:50:48.675Z] [2020-12-11T21:50:48.675Z] Login Succeeded [2020-12-11T21:50:48.675Z] nexus3.edgexfoundry.org:10004 [2020-12-11T21:50:48.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T21:50:48.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T21:50:48.675Z] Configure a credential helper to remove this warning. See [2020-12-11T21:50:48.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T21:50:48.675Z] [2020-12-11T21:50:48.675Z] Login Succeeded [2020-12-11T21:50:48.675Z] docker.io [2020-12-11T21:50:48.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T21:50:49.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T21:50:49.203Z] Configure a credential helper to remove this warning. See [2020-12-11T21:50:49.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T21:50:49.203Z] [2020-12-11T21:50:49.203Z] Login Succeeded [2020-12-11T21:50:49.203Z] ---> docker-login.sh ends [Pipeline] } [2020-12-11T21:50:49.214Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-11T21:50:49.590Z] ========================================================= [2020-12-11T21:50:49.590Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-11T21:50:49.590Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:50:49.940Z] + 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-11T21:50:49.940Z] Sending build context to Docker daemon 96.77kB [2020-12-11T21:50:50.205Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-11T21:50:50.205Z] Step 2/8 : FROM ${BASE} [2020-12-11T21:50:50.205Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-11T21:50:50.205Z] 188c0c94c7c5: Pulling fs layer [2020-12-11T21:50:50.205Z] 0ef7d3d256c8: Pulling fs layer [2020-12-11T21:50:50.205Z] de9db76c5a1d: Pulling fs layer [2020-12-11T21:50:50.205Z] bca2f99d35d6: Pulling fs layer [2020-12-11T21:50:50.205Z] 93359f2a8cfa: Pulling fs layer [2020-12-11T21:50:50.205Z] 7c6f9722023f: Pulling fs layer [2020-12-11T21:50:50.205Z] a35cf1a2eb13: Pulling fs layer [2020-12-11T21:50:50.205Z] 93359f2a8cfa: Waiting [2020-12-11T21:50:50.205Z] a35cf1a2eb13: Waiting [2020-12-11T21:50:50.205Z] 7c6f9722023f: Waiting [2020-12-11T21:50:50.205Z] bca2f99d35d6: Waiting [2020-12-11T21:50:50.205Z] de9db76c5a1d: Verifying Checksum [2020-12-11T21:50:50.205Z] de9db76c5a1d: Download complete [2020-12-11T21:50:50.205Z] 0ef7d3d256c8: Verifying Checksum [2020-12-11T21:50:50.205Z] 0ef7d3d256c8: Download complete [2020-12-11T21:50:50.205Z] 93359f2a8cfa: Verifying Checksum [2020-12-11T21:50:50.205Z] 93359f2a8cfa: Download complete [2020-12-11T21:50:50.205Z] 7c6f9722023f: Verifying Checksum [2020-12-11T21:50:50.205Z] 7c6f9722023f: Download complete [2020-12-11T21:50:50.205Z] 188c0c94c7c5: Verifying Checksum [2020-12-11T21:50:50.205Z] 188c0c94c7c5: Download complete [2020-12-11T21:50:50.469Z] 188c0c94c7c5: Pull complete [2020-12-11T21:50:50.731Z] 0ef7d3d256c8: Pull complete [2020-12-11T21:50:51.006Z] de9db76c5a1d: Pull complete [2020-12-11T21:50:51.961Z] a35cf1a2eb13: Verifying Checksum [2020-12-11T21:50:51.961Z] a35cf1a2eb13: Download complete [2020-12-11T21:50:52.619Z] bca2f99d35d6: Verifying Checksum [2020-12-11T21:50:52.619Z] bca2f99d35d6: Download complete [2020-12-11T21:50:57.954Z] bca2f99d35d6: Pull complete [2020-12-11T21:50:57.954Z] 93359f2a8cfa: Pull complete [2020-12-11T21:50:57.954Z] 7c6f9722023f: Pull complete [2020-12-11T21:51:08.016Z] a35cf1a2eb13: Pull complete [2020-12-11T21:51:08.016Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-11T21:51:08.016Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-11T21:51:08.016Z] ---> a62c8e92a672 [2020-12-11T21:51:08.016Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-11T21:51:08.016Z] ---> Running in be7d2e584055 [2020-12-11T21:51:08.016Z] Removing intermediate container be7d2e584055 [2020-12-11T21:51:08.016Z] ---> 8dc191d60540 [2020-12-11T21:51:08.016Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-11T21:51:08.282Z] ---> Running in 6dc1b5d73eee [2020-12-11T21:51:09.237Z] Removing intermediate container 6dc1b5d73eee [2020-12-11T21:51:09.237Z] ---> 92cd1ffa5011 [2020-12-11T21:51:09.237Z] Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash [2020-12-11T21:51:09.237Z] ---> Running in 02c64c735027 [2020-12-11T21:51:10.192Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-11T21:51:10.770Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-11T21:51:11.717Z] (1/6) Installing libc-dev (0.7.2-r3) [2020-12-11T21:51:11.717Z] (2/6) Installing libsodium (1.0.18-r0) [2020-12-11T21:51:11.717Z] (3/6) Installing pkgconf (1.7.2-r0) [2020-12-11T21:51:11.717Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2020-12-11T21:51:11.981Z] (5/6) Installing libzmq (4.3.3-r0) [2020-12-11T21:51:11.981Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2020-12-11T21:51:12.245Z] Executing busybox-1.31.1-r19.trigger [2020-12-11T21:51:12.245Z] OK: 167 MiB in 45 packages [2020-12-11T21:51:12.822Z] Removing intermediate container 02c64c735027 [2020-12-11T21:51:12.822Z] ---> 6a8b52c827a4 [2020-12-11T21:51:12.822Z] Step 6/8 : WORKDIR /app [2020-12-11T21:51:13.086Z] ---> Running in 7817a591e7a4 [2020-12-11T21:51:13.086Z] Removing intermediate container 7817a591e7a4 [2020-12-11T21:51:13.086Z] ---> b8b310fd5a67 [2020-12-11T21:51:13.086Z] Step 7/8 : COPY . . [2020-12-11T21:51:13.669Z] ---> c0b8dac19a68 [2020-12-11T21:51:13.669Z] Step 8/8 : RUN go mod download [2020-12-11T21:51:13.669Z] ---> Running in 358441e75636 [2020-12-11T21:51:35.711Z] Removing intermediate container 358441e75636 [2020-12-11T21:51:35.711Z] ---> 5b76e169aba9 [2020-12-11T21:51:35.711Z] Successfully built 5b76e169aba9 [2020-12-11T21:51:35.711Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:51:36.028Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-11T21:51:36.028Z] . [Pipeline] withDockerContainer [2020-12-11T21:51:36.148Z] prd-centos7-docker-4c-2g-15627 does not seem to be running inside a container [2020-12-11T21:51:36.210Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/67 -v /w/workspace/app-service-configurable/67:/w/workspace/app-service-configurable/67:rw,z -v /w/workspace/app-service-configurable/67@tmp:/w/workspace/app-service-configurable/67@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-11T21:51:36.934Z] $ docker top b28c9d334fae4c740be0b48f4fbfa888803e5165d5f3e7282d7b59082a471d97 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T21:51:37.425Z] + go version [2020-12-11T21:51:37.425Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-11T21:51:37.444Z] $ docker stop --time=1 b28c9d334fae4c740be0b48f4fbfa888803e5165d5f3e7282d7b59082a471d97 [2020-12-11T21:51:38.769Z] $ docker rm -f b28c9d334fae4c740be0b48f4fbfa888803e5165d5f3e7282d7b59082a471d97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:51:39.638Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-11T21:51:39.638Z] . [Pipeline] withDockerContainer [2020-12-11T21:51:39.738Z] prd-centos7-docker-4c-2g-15627 does not seem to be running inside a container [2020-12-11T21:51:39.790Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/67 -v /w/workspace/app-service-configurable/67:/w/workspace/app-service-configurable/67:rw,z -v /w/workspace/app-service-configurable/67@tmp:/w/workspace/app-service-configurable/67@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-11T21:51:40.480Z] $ docker top 2a8a4b44a2cee4681e586ede8db7caa495c63be3cea40616af2c33595f0316ab -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T21:51:41.008Z] + make test [2020-12-11T21:51:41.008Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2020-12-11T21:51:53.566Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2020-12-11T21:51:53.566Z] CGO_ENABLED=1 go vet ./... [2020-12-11T21:51:55.509Z] gofmt -l . [2020-12-11T21:51:55.509Z] [ "`gofmt -l .`" = "" ] [2020-12-11T21:51:55.509Z] ./bin/test-go-mod-tidy.sh [2020-12-11T21:51:56.090Z] ./bin/test-attribution-txt.sh [Pipeline] } [2020-12-11T21:51:56.374Z] $ docker stop --time=1 2a8a4b44a2cee4681e586ede8db7caa495c63be3cea40616af2c33595f0316ab [2020-12-11T21:51:58.651Z] $ docker rm -f 2a8a4b44a2cee4681e586ede8db7caa495c63be3cea40616af2c33595f0316ab [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-11T21:51:59.266Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-11T21:51:59.555Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-12-11T21:52:01.175Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-11T21:52:01.482Z] + ls -al . [2020-12-11T21:52:01.482Z] total 88 [2020-12-11T21:52:01.482Z] drwxrwxr-x. 7 jenkins jenkins 4096 Dec 11 21:51 . [2020-12-11T21:52:01.482Z] drwxrwxr-x. 4 jenkins jenkins 30 Dec 11 21:50 .. [2020-12-11T21:52:01.482Z] -rw-rw-r--. 1 jenkins jenkins 6420 Dec 11 21:50 Attribution.txt [2020-12-11T21:52:01.482Z] drwxrwxr-x. 2 jenkins jenkins 64 Dec 11 21:50 bin [2020-12-11T21:52:01.482Z] -rw-r--r--. 1 jenkins jenkins 10 Dec 11 21:51 coverage.out [2020-12-11T21:52:01.482Z] -rw-rw-r--. 1 jenkins jenkins 2002 Dec 11 21:50 Dockerfile [2020-12-11T21:52:01.482Z] -rw-rw-r--. 1 jenkins jenkins 966 Dec 11 21:50 Dockerfile.build [2020-12-11T21:52:01.482Z] -rw-rw-r--. 1 jenkins jenkins 119 Dec 11 21:50 .dockerignore [2020-12-11T21:52:01.482Z] drwxrwxr-x. 8 jenkins jenkins 162 Dec 11 21:50 .git [2020-12-11T21:52:01.482Z] drwxrwxr-x. 2 jenkins jenkins 81 Dec 11 21:50 .github [2020-12-11T21:52:01.482Z] -rw-rw-r--. 1 jenkins jenkins 93 Dec 11 21:50 .gitignore [2020-12-11T21:52:01.482Z] -rw-r--r--. 1 jenkins jenkins 132 Dec 11 21:51 go.mod [2020-12-11T21:52:01.482Z] -rw-r--r--. 1 jenkins jenkins 18390 Dec 11 21:51 go.sum [2020-12-11T21:52:01.482Z] -rw-rw-r--. 1 jenkins jenkins 687 Dec 11 21:50 Jenkinsfile [2020-12-11T21:52:01.482Z] -rw-rw-r--. 1 jenkins jenkins 10174 Dec 11 21:50 LICENSE [2020-12-11T21:52:01.482Z] -rw-rw-r--. 1 jenkins jenkins 1519 Dec 11 21:50 main.go [2020-12-11T21:52:01.482Z] -rw-rw-r--. 1 jenkins jenkins 1573 Dec 11 21:50 makefile [2020-12-11T21:52:01.482Z] -rw-rw-r--. 1 jenkins jenkins 1277 Dec 11 21:50 README.md [2020-12-11T21:52:01.482Z] drwxrwxr-x. 10 jenkins jenkins 171 Dec 11 21:50 res [2020-12-11T21:52:01.482Z] drwxrwxr-x. 4 jenkins jenkins 71 Dec 11 21:50 snap [2020-12-11T21:52:01.482Z] -rw-rw-r--. 1 jenkins jenkins 11 Dec 11 21:49 VERSION [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:52:01.791Z] + 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=0b6ac86b660cf605cfaa9a96e27b56772a59fa3b --label arch=amd64 --label version=2.0.0-dev.4 . [2020-12-11T21:52:01.791Z] Sending build context to Docker daemon 117.8kB [2020-12-11T21:52:02.056Z] Step 1/27 : ARG BASE=golang:1.15-alpine [2020-12-11T21:52:02.056Z] Step 2/27 : FROM ${BASE} AS builder [2020-12-11T21:52:02.056Z] ---> 5b76e169aba9 [2020-12-11T21:52:02.056Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2020-12-11T21:52:02.056Z] ---> Running in 57f3084d3c90 [2020-12-11T21:52:02.319Z] Removing intermediate container 57f3084d3c90 [2020-12-11T21:52:02.319Z] ---> 47427f96ba42 [2020-12-11T21:52:02.319Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2020-12-11T21:52:02.319Z] ---> Running in 4014f9d040be [2020-12-11T21:52:02.582Z] Removing intermediate container 4014f9d040be [2020-12-11T21:52:02.582Z] ---> d2b2d255d610 [2020-12-11T21:52:02.582Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-11T21:52:02.582Z] ---> Running in 0aaddee1bfa1 [2020-12-11T21:52:02.582Z] Removing intermediate container 0aaddee1bfa1 [2020-12-11T21:52:02.582Z] ---> f3b47da0e69e [2020-12-11T21:52:02.582Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-11T21:52:02.848Z] ---> Running in 4842542c1b33 [2020-12-11T21:52:03.802Z] Removing intermediate container 4842542c1b33 [2020-12-11T21:52:03.802Z] ---> c11e9f3f013a [2020-12-11T21:52:03.802Z] Step 7/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-12-11T21:52:03.802Z] ---> Running in bf5d0d5374d6 [2020-12-11T21:52:04.377Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-11T21:52:04.956Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-11T21:52:05.907Z] OK: 167 MiB in 45 packages [2020-12-11T21:52:06.170Z] Removing intermediate container bf5d0d5374d6 [2020-12-11T21:52:06.171Z] ---> 3eb8c090bf60 [2020-12-11T21:52:06.171Z] Step 8/27 : WORKDIR /app [2020-12-11T21:52:06.171Z] ---> Running in 1a2eee593116 [2020-12-11T21:52:06.433Z] Removing intermediate container 1a2eee593116 [2020-12-11T21:52:06.433Z] ---> 95e0924054f7 [2020-12-11T21:52:06.433Z] Step 9/27 : COPY go.mod . [2020-12-11T21:52:06.696Z] ---> 01ed56582849 [2020-12-11T21:52:06.696Z] Step 10/27 : RUN go mod download [2020-12-11T21:52:06.696Z] ---> Running in b459411c1eae [2020-12-11T21:52:07.645Z] Removing intermediate container b459411c1eae [2020-12-11T21:52:07.645Z] ---> a2094e68ade0 [2020-12-11T21:52:07.645Z] Step 11/27 : COPY . . [2020-12-11T21:52:07.908Z] ---> 3ba5b7d6466e [2020-12-11T21:52:07.908Z] Step 12/27 : ARG MAKE="make build" [2020-12-11T21:52:07.908Z] ---> Running in d652412df11b [2020-12-11T21:52:07.908Z] Removing intermediate container d652412df11b [2020-12-11T21:52:07.908Z] ---> 68323e5b2f6a [2020-12-11T21:52:07.908Z] Step 13/27 : RUN $MAKE [2020-12-11T21:52:08.172Z] ---> Running in 2ebad09147b0 [2020-12-11T21:52:08.441Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/internal.SDKVersion=v1.3.1-dev.4 -X github.com/edgexfoundry/app-functions-sdk-go/internal.ApplicationVersion=2.0.0-dev.4" -o app-service-configurable [2020-12-11T21:52:17.541Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15628 in /w/workspace/_app-service-configurable_master [Pipeline] { [Pipeline] ws [2020-12-11T21:52:17.593Z] Running in /w/workspace/app-service-configurable/67 [Pipeline] { [Pipeline] checkout [2020-12-11T21:52:20.785Z] Removing intermediate container 2ebad09147b0 [2020-12-11T21:52:20.785Z] ---> 678d2611c36c [2020-12-11T21:52:20.785Z] Step 14/27 : FROM alpine:latest [2020-12-11T21:52:21.361Z] latest: Pulling from library/alpine [2020-12-11T21:52:21.361Z] 05e7bc50f07f: Pulling fs layer [2020-12-11T21:52:21.624Z] 05e7bc50f07f: Verifying Checksum [2020-12-11T21:52:21.624Z] 05e7bc50f07f: Download complete [2020-12-11T21:52:21.887Z] 05e7bc50f07f: Pull complete [2020-12-11T21:52:21.887Z] Digest: sha256:a126728cb7db157f0deb377bcba3c5e473e612d7bafc27f6bb4e5e083f9f08c2 [2020-12-11T21:52:21.887Z] Status: Downloaded newer image for alpine:latest [2020-12-11T21:52:21.887Z] ---> b14afc6dfb98 [2020-12-11T21:52:21.887Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-11T21:52:21.887Z] ---> Running in 71c0ce7c3968 [2020-12-11T21:52:22.152Z] Removing intermediate container 71c0ce7c3968 [2020-12-11T21:52:22.152Z] ---> 6969923b2d47 [2020-12-11T21:52:22.152Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2020-12-11T21:52:22.152Z] ---> Running in b1f200695fbe [2020-12-11T21:52:22.421Z] Removing intermediate container b1f200695fbe [2020-12-11T21:52:22.421Z] ---> 9b8fbb1215bb [2020-12-11T21:52:22.421Z] Step 17/27 : RUN apk --no-cache add ca-certificates zeromq [2020-12-11T21:52:22.421Z] ---> Running in 6a4e7ee7b203 [2020-12-11T21:52:23.000Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-11T21:52:23.000Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-11T21:52:23.265Z] (1/6) Installing ca-certificates (20191127-r4) [2020-12-11T21:52:23.265Z] (2/6) Installing libgcc (9.3.0-r2) [2020-12-11T21:52:23.265Z] (3/6) Installing libsodium (1.0.18-r0) [2020-12-11T21:52:23.265Z] (4/6) Installing libstdc++ (9.3.0-r2) [2020-12-11T21:52:23.265Z] (5/6) Installing libzmq (4.3.3-r0) [2020-12-11T21:52:23.265Z] (6/6) Installing zeromq (4.3.3-r0) [2020-12-11T21:52:23.265Z] Executing busybox-1.31.1-r19.trigger [2020-12-11T21:52:23.265Z] Executing ca-certificates-20191127-r4.trigger [2020-12-11T21:52:23.265Z] OK: 9 MiB in 20 packages [2020-12-11T21:52:23.755Z] using credential edgex-jenkins-ssh [2020-12-11T21:52:23.822Z] Cloning the remote Git repository [2020-12-11T21:52:24.665Z] Removing intermediate container 6a4e7ee7b203 [2020-12-11T21:52:24.665Z] ---> 1f4c95f53004 [2020-12-11T21:52:24.665Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2020-12-11T21:52:24.665Z] ---> 0f99a2765f45 [2020-12-11T21:52:24.665Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2020-12-11T21:52:24.928Z] ---> 4b85c453062f [2020-12-11T21:52:24.928Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2020-12-11T21:52:23.878Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2020-12-11T21:52:23.984Z] > git init /w/workspace/app-service-configurable/67 # timeout=10 [2020-12-11T21:52:24.087Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-12-11T21:52:24.088Z] > git --version # timeout=10 [2020-12-11T21:52:24.112Z] > git --version # 'git version 2.17.1' [2020-12-11T21:52:24.114Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T21:52:24.164Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-11T21:52:25.011Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-12-11T21:52:25.037Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-11T21:52:25.069Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2020-12-11T21:52:25.191Z] ---> 18823bb917e0 [2020-12-11T21:52:25.191Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2020-12-11T21:52:25.771Z] ---> d4f7190ff411 [2020-12-11T21:52:25.771Z] Step 22/27 : EXPOSE 48095 [2020-12-11T21:52:25.771Z] ---> Running in c4659b43ad0d [2020-12-11T21:52:25.777Z] Checking out Revision 0b6ac86b660cf605cfaa9a96e27b56772a59fa3b (master) [2020-12-11T21:52:26.034Z] Removing intermediate container c4659b43ad0d [2020-12-11T21:52:26.034Z] ---> e249c3086a31 [2020-12-11T21:52:26.034Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2020-12-11T21:52:26.034Z] ---> Running in eba7a1a7a46b [2020-12-11T21:52:26.296Z] Removing intermediate container eba7a1a7a46b [2020-12-11T21:52:26.296Z] ---> 396b08831d00 [2020-12-11T21:52:26.296Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-11T21:52:26.296Z] ---> Running in 2901712984f2 [2020-12-11T21:52:25.183Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2020-12-11T21:52:25.184Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T21:52:25.218Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-11T21:52:25.826Z] > git config core.sparsecheckout # timeout=10 [2020-12-11T21:52:25.844Z] > git checkout -f 0b6ac86b660cf605cfaa9a96e27b56772a59fa3b # timeout=10 [2020-12-11T21:52:26.559Z] Removing intermediate container 2901712984f2 [2020-12-11T21:52:26.560Z] ---> 4812c3bafd34 [2020-12-11T21:52:26.560Z] Step 25/27 : LABEL arch=amd64 [2020-12-11T21:52:26.560Z] ---> Running in 00e38fae2c4c [2020-12-11T21:52:26.822Z] Removing intermediate container 00e38fae2c4c [2020-12-11T21:52:26.823Z] ---> bc55df0c3f81 [2020-12-11T21:52:26.823Z] Step 26/27 : LABEL git_sha=0b6ac86b660cf605cfaa9a96e27b56772a59fa3b [2020-12-11T21:52:26.823Z] ---> Running in dcf8dc829fae [2020-12-11T21:52:26.823Z] Removing intermediate container dcf8dc829fae [2020-12-11T21:52:26.823Z] ---> 273d2c1704dc [2020-12-11T21:52:26.823Z] Step 27/27 : LABEL version=2.0.0-dev.4 [2020-12-11T21:52:27.087Z] ---> Running in 5e97048e3064 [2020-12-11T21:52:27.087Z] Removing intermediate container 5e97048e3064 [2020-12-11T21:52:27.087Z] ---> c7f6159a77b2 [2020-12-11T21:52:27.087Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-11T21:52:27.087Z] Successfully built c7f6159a77b2 [2020-12-11T21:52:27.087Z] 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-11T21:52:27.465Z] provisioning config files... [2020-12-11T21:52:27.492Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/67@tmp/config1445385457601075514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-11T21:52:27.861Z] ---> docker-login.sh [2020-12-11T21:52:27.861Z] nexus3.edgexfoundry.org:10001 [2020-12-11T21:52:27.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T21:52:28.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T21:52:28.124Z] Configure a credential helper to remove this warning. See [2020-12-11T21:52:28.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T21:52:28.124Z] [2020-12-11T21:52:28.124Z] Login Succeeded [2020-12-11T21:52:28.124Z] nexus3.edgexfoundry.org:10002 [2020-12-11T21:52:28.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T21:52:28.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T21:52:28.125Z] Configure a credential helper to remove this warning. See [2020-12-11T21:52:28.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T21:52:28.125Z] [2020-12-11T21:52:28.125Z] Login Succeeded [2020-12-11T21:52:28.125Z] nexus3.edgexfoundry.org:10003 [2020-12-11T21:52:28.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T21:52:28.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T21:52:28.386Z] Configure a credential helper to remove this warning. See [2020-12-11T21:52:28.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T21:52:28.386Z] [2020-12-11T21:52:28.386Z] Login Succeeded [2020-12-11T21:52:28.386Z] nexus3.edgexfoundry.org:10004 [2020-12-11T21:52:28.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T21:52:28.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T21:52:28.649Z] Configure a credential helper to remove this warning. See [2020-12-11T21:52:28.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T21:52:28.649Z] [2020-12-11T21:52:28.649Z] Login Succeeded [2020-12-11T21:52:28.649Z] docker.io [2020-12-11T21:52:28.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T21:52:28.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T21:52:28.912Z] Configure a credential helper to remove this warning. See [2020-12-11T21:52:28.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T21:52:28.912Z] [2020-12-11T21:52:28.912Z] Login Succeeded [2020-12-11T21:52:28.912Z] ---> docker-login.sh ends [Pipeline] } [2020-12-11T21:52:28.923Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-12-11T21:52:29.204Z] [edgeXDocker.push] Tagging docker image docker-app-service-configurable with the following tags: [2020-12-11T21:52:29.205Z] 0b6ac86b660cf605cfaa9a96e27b56772a59fa3b [2020-12-11T21:52:29.205Z] latest [2020-12-11T21:52:29.205Z] 2.0.0-dev.4 [2020-12-11T21:52:29.205Z] 0b6ac86b660cf605cfaa9a96e27b56772a59fa3b-2.0.0-dev.4 [2020-12-11T21:52:29.205Z] master [2020-12-11T21:52:29.205Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:52:29.706Z] + docker tag docker-app-service-configurable nexus3.edgexfoundry.org:10004/docker-app-service-configurable:0b6ac86b660cf605cfaa9a96e27b56772a59fa3b [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:52:30.012Z] + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable:0b6ac86b660cf605cfaa9a96e27b56772a59fa3b [2020-12-11T21:52:30.012Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable] [2020-12-11T21:52:30.012Z] 7158b4e13045: Preparing [2020-12-11T21:52:30.012Z] a472077bc879: Preparing [2020-12-11T21:52:30.012Z] 404f63a10d1a: Preparing [2020-12-11T21:52:30.012Z] 557b398b7b09: Preparing [2020-12-11T21:52:30.012Z] 056d4c20117c: Preparing [2020-12-11T21:52:30.012Z] f4666769fca7: Preparing [2020-12-11T21:52:30.012Z] f4666769fca7: Waiting [2020-12-11T21:52:30.047Z] Commit message: "feat: update configuration files to set default non-TLS (#157)" [2020-12-11T21:52:30.275Z] 404f63a10d1a: Pushed [2020-12-11T21:52:30.275Z] a472077bc879: Pushed [2020-12-11T21:52:30.275Z] 557b398b7b09: Pushed [2020-12-11T21:52:30.275Z] f4666769fca7: Layer already exists [2020-12-11T21:52:30.539Z] 056d4c20117c: Pushed [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-11T21:52:31.485Z] 7158b4e13045: Pushed [2020-12-11T21:52:31.485Z] 0b6ac86b660cf605cfaa9a96e27b56772a59fa3b: digest: sha256:f75fff0adf062cbf1eb6282e7695c5e7c53421444293d97acf11642718cb0214 size: 1574 [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:52:31.673Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2020-12-11T21:52:31.798Z] + docker tag docker-app-service-configurable nexus3.edgexfoundry.org:10004/docker-app-service-configurable:latest [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:52:32.170Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-11T21:52:32.248Z] + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable:latest [2020-12-11T21:52:32.249Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable] [2020-12-11T21:52:32.249Z] 7158b4e13045: Preparing [2020-12-11T21:52:32.249Z] a472077bc879: Preparing [2020-12-11T21:52:32.249Z] 404f63a10d1a: Preparing [2020-12-11T21:52:32.249Z] 557b398b7b09: Preparing [2020-12-11T21:52:32.249Z] 056d4c20117c: Preparing [2020-12-11T21:52:32.249Z] f4666769fca7: Preparing [2020-12-11T21:52:32.249Z] f4666769fca7: Waiting [2020-12-11T21:52:32.249Z] 7158b4e13045: Layer already exists [2020-12-11T21:52:32.249Z] 404f63a10d1a: Layer already exists [2020-12-11T21:52:32.249Z] a472077bc879: Layer already exists [2020-12-11T21:52:32.249Z] 056d4c20117c: Layer already exists [2020-12-11T21:52:32.249Z] 557b398b7b09: Layer already exists [2020-12-11T21:52:32.249Z] f4666769fca7: Layer already exists [2020-12-11T21:52:32.249Z] latest: digest: sha256:f75fff0adf062cbf1eb6282e7695c5e7c53421444293d97acf11642718cb0214 size: 1574 [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:52:32.510Z] + sudo service docker restart [2020-12-11T21:52:32.510Z] + true [2020-12-11T21:52:32.585Z] + docker tag docker-app-service-configurable nexus3.edgexfoundry.org:10004/docker-app-service-configurable:2.0.0-dev.4 [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:52:32.887Z] + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable:2.0.0-dev.4 [2020-12-11T21:52:32.887Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable] [2020-12-11T21:52:32.887Z] 7158b4e13045: Preparing [2020-12-11T21:52:32.887Z] a472077bc879: Preparing [2020-12-11T21:52:32.887Z] 404f63a10d1a: Preparing [2020-12-11T21:52:32.887Z] 557b398b7b09: Preparing [2020-12-11T21:52:32.887Z] 056d4c20117c: Preparing [2020-12-11T21:52:32.887Z] f4666769fca7: Preparing [2020-12-11T21:52:32.887Z] f4666769fca7: Waiting [2020-12-11T21:52:32.887Z] 056d4c20117c: Layer already exists [2020-12-11T21:52:32.887Z] 557b398b7b09: Layer already exists [2020-12-11T21:52:32.887Z] a472077bc879: Layer already exists [2020-12-11T21:52:32.887Z] 7158b4e13045: Layer already exists [2020-12-11T21:52:32.887Z] 404f63a10d1a: Layer already exists [2020-12-11T21:52:32.887Z] f4666769fca7: Layer already exists [2020-12-11T21:52:32.887Z] 2.0.0-dev.4: digest: sha256:f75fff0adf062cbf1eb6282e7695c5e7c53421444293d97acf11642718cb0214 size: 1574 [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:52:33.196Z] + docker tag docker-app-service-configurable nexus3.edgexfoundry.org:10004/docker-app-service-configurable:0b6ac86b660cf605cfaa9a96e27b56772a59fa3b-2.0.0-dev.4 [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:52:33.497Z] + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable:0b6ac86b660cf605cfaa9a96e27b56772a59fa3b-2.0.0-dev.4 [2020-12-11T21:52:33.497Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable] [2020-12-11T21:52:33.497Z] 7158b4e13045: Preparing [2020-12-11T21:52:33.497Z] a472077bc879: Preparing [2020-12-11T21:52:33.498Z] 404f63a10d1a: Preparing [2020-12-11T21:52:33.498Z] 557b398b7b09: Preparing [2020-12-11T21:52:33.498Z] 056d4c20117c: Preparing [2020-12-11T21:52:33.498Z] f4666769fca7: Preparing [2020-12-11T21:52:33.498Z] f4666769fca7: Waiting [2020-12-11T21:52:33.498Z] a472077bc879: Layer already exists [2020-12-11T21:52:33.498Z] 557b398b7b09: Layer already exists [2020-12-11T21:52:33.498Z] 404f63a10d1a: Layer already exists [2020-12-11T21:52:33.498Z] 7158b4e13045: Layer already exists [2020-12-11T21:52:33.498Z] 056d4c20117c: Layer already exists [2020-12-11T21:52:33.498Z] f4666769fca7: Layer already exists [2020-12-11T21:52:33.498Z] 0b6ac86b660cf605cfaa9a96e27b56772a59fa3b-2.0.0-dev.4: digest: sha256:f75fff0adf062cbf1eb6282e7695c5e7c53421444293d97acf11642718cb0214 size: 1574 [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:52:33.806Z] + docker tag docker-app-service-configurable nexus3.edgexfoundry.org:10004/docker-app-service-configurable:master [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:52:34.118Z] + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable:master [2020-12-11T21:52:34.118Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable] [2020-12-11T21:52:34.118Z] 7158b4e13045: Preparing [2020-12-11T21:52:34.118Z] a472077bc879: Preparing [2020-12-11T21:52:34.118Z] 404f63a10d1a: Preparing [2020-12-11T21:52:34.118Z] 557b398b7b09: Preparing [2020-12-11T21:52:34.118Z] 056d4c20117c: Preparing [2020-12-11T21:52:34.118Z] f4666769fca7: Preparing [2020-12-11T21:52:34.118Z] f4666769fca7: Waiting [2020-12-11T21:52:34.118Z] 557b398b7b09: Layer already exists [2020-12-11T21:52:34.118Z] 7158b4e13045: Layer already exists [2020-12-11T21:52:34.118Z] a472077bc879: Layer already exists [2020-12-11T21:52:34.118Z] 404f63a10d1a: Layer already exists [2020-12-11T21:52:34.118Z] 056d4c20117c: Layer already exists [2020-12-11T21:52:34.118Z] f4666769fca7: Layer already exists [2020-12-11T21:52:34.118Z] master: digest: sha256:f75fff0adf062cbf1eb6282e7695c5e7c53421444293d97acf11642718cb0214 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-12-11T21:52:34.308Z] ===================================================== [Pipeline] echo [2020-12-11T21:52:34.355Z] taggedImages: [2020-12-11T21:52:34.355Z] - nexus3.edgexfoundry.org:10004/docker-app-service-configurable:0b6ac86b660cf605cfaa9a96e27b56772a59fa3b [2020-12-11T21:52:34.355Z] - nexus3.edgexfoundry.org:10004/docker-app-service-configurable:latest [2020-12-11T21:52:34.355Z] - nexus3.edgexfoundry.org:10004/docker-app-service-configurable:2.0.0-dev.4 [2020-12-11T21:52:34.355Z] - nexus3.edgexfoundry.org:10004/docker-app-service-configurable:0b6ac86b660cf605cfaa9a96e27b56772a59fa3b-2.0.0-dev.4 [2020-12-11T21:52:34.355Z] - nexus3.edgexfoundry.org:10004/docker-app-service-configurable:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Snap) [Pipeline] wrap [2020-12-11T21:52:34.652Z] provisioning config files... [2020-12-11T21:52:34.712Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/67@tmp/config5383042910560082659tmp [Pipeline] findFiles [Pipeline] { [Pipeline] libraryResource [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } [2020-12-11T21:52:35.149Z] ---> docker-login.sh [2020-12-11T21:52:35.149Z] nexus3.edgexfoundry.org:10001 [Pipeline] // stage [Pipeline] } [2020-12-11T21:52:35.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-11T21:52:36.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T21:52:36.351Z] Configure a credential helper to remove this warning. See [2020-12-11T21:52:36.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T21:52:36.351Z] [2020-12-11T21:52:36.351Z] Login Succeeded [2020-12-11T21:52:36.351Z] nexus3.edgexfoundry.org:10002 [2020-12-11T21:52:36.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T21:52:36.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T21:52:36.902Z] Configure a credential helper to remove this warning. See [2020-12-11T21:52:36.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T21:52:36.902Z] [2020-12-11T21:52:36.902Z] Login Succeeded [2020-12-11T21:52:36.902Z] nexus3.edgexfoundry.org:10003 [2020-12-11T21:52:37.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T21:52:37.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T21:52:37.449Z] Configure a credential helper to remove this warning. See [2020-12-11T21:52:37.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T21:52:37.449Z] [2020-12-11T21:52:37.449Z] Login Succeeded [2020-12-11T21:52:37.449Z] nexus3.edgexfoundry.org:10004 [2020-12-11T21:52:37.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T21:52:37.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T21:52:37.996Z] Configure a credential helper to remove this warning. See [2020-12-11T21:52:37.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T21:52:37.996Z] [2020-12-11T21:52:37.996Z] Login Succeeded [2020-12-11T21:52:37.996Z] docker.io [2020-12-11T21:52:38.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T21:52:38.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T21:52:38.541Z] Configure a credential helper to remove this warning. See [2020-12-11T21:52:38.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T21:52:38.541Z] [2020-12-11T21:52:38.541Z] Login Succeeded [2020-12-11T21:52:38.541Z] ---> docker-login.sh ends [Pipeline] } [2020-12-11T21:52:38.560Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-11T21:52:39.035Z] ========================================================= [2020-12-11T21:52:39.035Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-11T21:52:39.035Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:52:39.414Z] + 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-11T21:52:39.414Z] Sending build context to Docker daemon 96.77kB [2020-12-11T21:52:39.687Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-11T21:52:39.687Z] Step 2/8 : FROM ${BASE} [2020-12-11T21:52:39.964Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-11T21:52:39.964Z] 5f621e34cdf4: Pulling fs layer [2020-12-11T21:52:39.964Z] a4357932f1b6: Pulling fs layer [2020-12-11T21:52:39.964Z] 18c013af1878: Pulling fs layer [2020-12-11T21:52:39.964Z] 00ac8860ef70: Pulling fs layer [2020-12-11T21:52:39.964Z] 63d7cb157983: Pulling fs layer [2020-12-11T21:52:39.964Z] b116817d02f9: Pulling fs layer [2020-12-11T21:52:39.964Z] 745a02a5169b: Pulling fs layer [2020-12-11T21:52:39.964Z] 00ac8860ef70: Waiting [2020-12-11T21:52:39.964Z] b116817d02f9: Waiting [2020-12-11T21:52:39.964Z] 745a02a5169b: Waiting [2020-12-11T21:52:39.964Z] 63d7cb157983: Waiting [2020-12-11T21:52:39.964Z] 18c013af1878: Verifying Checksum [2020-12-11T21:52:39.964Z] 18c013af1878: Download complete [2020-12-11T21:52:39.964Z] a4357932f1b6: Verifying Checksum [2020-12-11T21:52:39.964Z] a4357932f1b6: Download complete [2020-12-11T21:52:39.964Z] 63d7cb157983: Verifying Checksum [2020-12-11T21:52:39.964Z] 63d7cb157983: Download complete [2020-12-11T21:52:39.964Z] b116817d02f9: Verifying Checksum [2020-12-11T21:52:39.964Z] b116817d02f9: Download complete [2020-12-11T21:52:39.964Z] 5f621e34cdf4: Verifying Checksum [2020-12-11T21:52:39.964Z] 5f621e34cdf4: Download complete [2020-12-11T21:52:40.568Z] 5f621e34cdf4: Pull complete [2020-12-11T21:52:41.173Z] a4357932f1b6: Pull complete [2020-12-11T21:52:41.781Z] 18c013af1878: Pull complete [2020-12-11T21:52:42.384Z] 745a02a5169b: Verifying Checksum [2020-12-11T21:52:42.384Z] 745a02a5169b: Download complete [2020-12-11T21:52:43.370Z] 00ac8860ef70: Verifying Checksum [2020-12-11T21:52:43.370Z] 00ac8860ef70: Download complete [2020-12-11T21:52:53.540Z] 00ac8860ef70: Pull complete [2020-12-11T21:52:53.815Z] 63d7cb157983: Pull complete [2020-12-11T21:52:54.087Z] b116817d02f9: Pull complete [2020-12-11T21:52:58.414Z] 745a02a5169b: Pull complete [2020-12-11T21:52:58.414Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-11T21:52:58.414Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-11T21:52:58.414Z] ---> b7e6874047d6 [2020-12-11T21:52:58.414Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-11T21:53:01.075Z] ---> Running in e4b2a101b82e [2020-12-11T21:53:01.075Z] Removing intermediate container e4b2a101b82e [2020-12-11T21:53:01.075Z] ---> ba04533b344c [2020-12-11T21:53:01.075Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-11T21:53:01.075Z] ---> Running in 80b8f4c94d78 [2020-12-11T21:53:03.725Z] Removing intermediate container 80b8f4c94d78 [2020-12-11T21:53:03.726Z] ---> 9a7f5bf9cd11 [2020-12-11T21:53:03.726Z] Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash [2020-12-11T21:53:03.726Z] ---> Running in 3d88ca1c6edd [2020-12-11T21:53:04.713Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-11T21:53:05.311Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-11T21:53:05.908Z] (1/6) Installing libc-dev (0.7.2-r3) [2020-12-11T21:53:05.908Z] (2/6) Installing libsodium (1.0.18-r0) [2020-12-11T21:53:06.181Z] (3/6) Installing pkgconf (1.7.2-r0) [2020-12-11T21:53:06.181Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2020-12-11T21:53:06.456Z] (5/6) Installing libzmq (4.3.3-r0) [2020-12-11T21:53:06.456Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2020-12-11T21:53:06.456Z] Executing busybox-1.31.1-r19.trigger [2020-12-11T21:53:06.456Z] OK: 144 MiB in 45 packages [2020-12-11T21:53:07.957Z] Removing intermediate container 3d88ca1c6edd [2020-12-11T21:53:07.957Z] ---> dbfee38e05a2 [2020-12-11T21:53:07.957Z] Step 6/8 : WORKDIR /app [2020-12-11T21:53:07.957Z] ---> Running in 42007526a191 [2020-12-11T21:53:08.556Z] Removing intermediate container 42007526a191 [2020-12-11T21:53:08.556Z] ---> 95176a26581c [2020-12-11T21:53:08.556Z] Step 7/8 : COPY . . [2020-12-11T21:53:09.155Z] ---> 41031a3fb741 [2020-12-11T21:53:09.155Z] Step 8/8 : RUN go mod download [2020-12-11T21:53:09.428Z] ---> Running in aea8d59ba6aa [2020-12-11T21:53:36.214Z] Removing intermediate container aea8d59ba6aa [2020-12-11T21:53:36.214Z] ---> 525ed9f63225 [2020-12-11T21:53:36.214Z] Successfully built 525ed9f63225 [2020-12-11T21:53:36.214Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:53:36.556Z] + docker inspect -f . ci-base-image-arm64 [2020-12-11T21:53:36.556Z] . [Pipeline] withDockerContainer [2020-12-11T21:53:36.801Z] prd-ubuntu18.04-docker-arm64-4c-16g-15628 does not seem to be running inside a container [2020-12-11T21:53:36.904Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/67 -v /w/workspace/app-service-configurable/67:/w/workspace/app-service-configurable/67:rw,z -v /w/workspace/app-service-configurable/67@tmp:/w/workspace/app-service-configurable/67@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-11T21:53:38.351Z] $ docker top 28a7b2a0fbe55dbfb3e8799c875edf55487ca9869bd856a14a7bdfca0463e101 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T21:53:39.381Z] + go version [2020-12-11T21:53:39.381Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-11T21:53:39.405Z] $ docker stop --time=1 28a7b2a0fbe55dbfb3e8799c875edf55487ca9869bd856a14a7bdfca0463e101 [2020-12-11T21:53:41.357Z] $ docker rm -f 28a7b2a0fbe55dbfb3e8799c875edf55487ca9869bd856a14a7bdfca0463e101 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:53:42.381Z] + docker inspect -f . ci-base-image-arm64 [2020-12-11T21:53:42.381Z] . [Pipeline] withDockerContainer [2020-12-11T21:53:42.645Z] prd-ubuntu18.04-docker-arm64-4c-16g-15628 does not seem to be running inside a container [2020-12-11T21:53:42.730Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/67 -v /w/workspace/app-service-configurable/67:/w/workspace/app-service-configurable/67:rw,z -v /w/workspace/app-service-configurable/67@tmp:/w/workspace/app-service-configurable/67@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-11T21:53:44.157Z] $ docker top f2790c4cbb3b859fffa17d3ea2858ec4f7fe702b04f624eb6a8bcdd1478ba3d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T21:53:45.276Z] + make test [2020-12-11T21:53:45.276Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2020-12-11T21:54:24.340Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2020-12-11T21:54:24.340Z] CGO_ENABLED=1 go vet ./... [2020-12-11T21:54:27.773Z] gofmt -l . [2020-12-11T21:54:27.773Z] [ "`gofmt -l .`" = "" ] [2020-12-11T21:54:27.773Z] ./bin/test-go-mod-tidy.sh [2020-12-11T21:54:27.773Z] ./bin/test-attribution-txt.sh [Pipeline] } [2020-12-11T21:54:28.776Z] $ docker stop --time=1 f2790c4cbb3b859fffa17d3ea2858ec4f7fe702b04f624eb6a8bcdd1478ba3d1 [2020-12-11T21:54:31.126Z] $ docker rm -f f2790c4cbb3b859fffa17d3ea2858ec4f7fe702b04f624eb6a8bcdd1478ba3d1 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-11T21:54:31.960Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-11T21:54:32.028Z] Warning: overwriting stash ‘coverage-report’ [2020-12-11T21:54:32.751Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-11T21:54:33.531Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-11T21:54:33.950Z] + ls -al . [2020-12-11T21:54:33.950Z] total 112 [2020-12-11T21:54:33.950Z] drwxrwxr-x 7 jenkins jenkins 4096 Dec 11 21:54 . [2020-12-11T21:54:33.950Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 11 21:52 .. [2020-12-11T21:54:33.950Z] -rw-rw-r-- 1 jenkins jenkins 119 Dec 11 21:52 .dockerignore [2020-12-11T21:54:33.950Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 11 21:52 .git [2020-12-11T21:54:33.950Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 11 21:52 .github [2020-12-11T21:54:33.950Z] -rw-rw-r-- 1 jenkins jenkins 93 Dec 11 21:52 .gitignore [2020-12-11T21:54:33.950Z] -rw-rw-r-- 1 jenkins jenkins 6420 Dec 11 21:52 Attribution.txt [2020-12-11T21:54:33.950Z] -rw-rw-r-- 1 jenkins jenkins 2002 Dec 11 21:52 Dockerfile [2020-12-11T21:54:33.950Z] -rw-rw-r-- 1 jenkins jenkins 966 Dec 11 21:52 Dockerfile.build [2020-12-11T21:54:33.950Z] -rw-rw-r-- 1 jenkins jenkins 687 Dec 11 21:52 Jenkinsfile [2020-12-11T21:54:33.950Z] -rw-rw-r-- 1 jenkins jenkins 10174 Dec 11 21:52 LICENSE [2020-12-11T21:54:33.950Z] -rw-rw-r-- 1 jenkins jenkins 1277 Dec 11 21:52 README.md [2020-12-11T21:54:33.950Z] -rw-rw-r-- 1 jenkins jenkins 11 Dec 11 21:49 VERSION [2020-12-11T21:54:33.950Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 11 21:52 bin [2020-12-11T21:54:33.950Z] -rw-r--r-- 1 jenkins jenkins 10 Dec 11 21:53 coverage.out [2020-12-11T21:54:33.950Z] -rw-r--r-- 1 jenkins jenkins 132 Dec 11 21:54 go.mod [2020-12-11T21:54:33.950Z] -rw-r--r-- 1 jenkins jenkins 18390 Dec 11 21:54 go.sum [2020-12-11T21:54:33.950Z] -rw-rw-r-- 1 jenkins jenkins 1519 Dec 11 21:52 main.go [2020-12-11T21:54:33.950Z] -rw-rw-r-- 1 jenkins jenkins 1573 Dec 11 21:52 makefile [2020-12-11T21:54:33.950Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 11 21:52 res [2020-12-11T21:54:33.950Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 11 21:52 snap [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:54:34.381Z] + 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=0b6ac86b660cf605cfaa9a96e27b56772a59fa3b --label arch=arm64 --label version=2.0.0-dev.4 . [2020-12-11T21:54:34.381Z] Sending build context to Docker daemon 117.8kB [2020-12-11T21:54:34.703Z] Step 1/27 : ARG BASE=golang:1.15-alpine [2020-12-11T21:54:34.703Z] Step 2/27 : FROM ${BASE} AS builder [2020-12-11T21:54:34.703Z] ---> 525ed9f63225 [2020-12-11T21:54:34.703Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2020-12-11T21:54:34.985Z] ---> Running in 7147047aa5fe [2020-12-11T21:54:35.580Z] Removing intermediate container 7147047aa5fe [2020-12-11T21:54:35.580Z] ---> 0c5d6c5b482d [2020-12-11T21:54:35.580Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2020-12-11T21:54:35.580Z] ---> Running in 68a014baa82f [2020-12-11T21:54:35.852Z] Removing intermediate container 68a014baa82f [2020-12-11T21:54:35.852Z] ---> 7d6d12168989 [2020-12-11T21:54:35.852Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-11T21:54:36.134Z] ---> Running in 9b71b5fa39be [2020-12-11T21:54:36.410Z] Removing intermediate container 9b71b5fa39be [2020-12-11T21:54:36.410Z] ---> 0bbc9752bd90 [2020-12-11T21:54:36.410Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-11T21:54:36.686Z] ---> Running in d03602997a63 [2020-12-11T21:54:38.658Z] Removing intermediate container d03602997a63 [2020-12-11T21:54:38.658Z] ---> e2157103a33d [2020-12-11T21:54:38.658Z] Step 7/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2020-12-11T21:54:38.957Z] ---> Running in 4a9754b6c4d7 [2020-12-11T21:54:39.940Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-11T21:54:40.531Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-11T21:54:41.518Z] OK: 144 MiB in 45 packages [2020-12-11T21:54:42.496Z] Removing intermediate container 4a9754b6c4d7 [2020-12-11T21:54:42.496Z] ---> df613046e883 [2020-12-11T21:54:42.496Z] Step 8/27 : WORKDIR /app [2020-12-11T21:54:42.769Z] ---> Running in dd439c3b6573 [2020-12-11T21:54:43.041Z] Removing intermediate container dd439c3b6573 [2020-12-11T21:54:43.041Z] ---> 6db8a09170e8 [2020-12-11T21:54:43.041Z] Step 9/27 : COPY go.mod . [2020-12-11T21:54:44.027Z] ---> e7966c7e72bb [2020-12-11T21:54:44.027Z] Step 10/27 : RUN go mod download [2020-12-11T21:54:44.027Z] ---> Running in b9d3363e6216 [2020-12-11T21:54:46.014Z] Removing intermediate container b9d3363e6216 [2020-12-11T21:54:46.014Z] ---> cb820bb28577 [2020-12-11T21:54:46.014Z] Step 11/27 : COPY . . [2020-12-11T21:54:46.995Z] ---> 6ac1bcf36a30 [2020-12-11T21:54:46.995Z] Step 12/27 : ARG MAKE="make build" [2020-12-11T21:54:46.995Z] ---> Running in 222a63898fb5 [2020-12-11T21:54:47.264Z] Removing intermediate container 222a63898fb5 [2020-12-11T21:54:47.264Z] ---> 0fb1243b0da3 [2020-12-11T21:54:47.264Z] Step 13/27 : RUN $MAKE [2020-12-11T21:54:47.533Z] ---> Running in 9583449a1370 [2020-12-11T21:54:48.508Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/internal.SDKVersion=v1.3.1-dev.4 -X github.com/edgexfoundry/app-functions-sdk-go/internal.ApplicationVersion=2.0.0-dev.4" -o app-service-configurable [2020-12-11T21:55:20.874Z] Removing intermediate container 9583449a1370 [2020-12-11T21:55:20.874Z] ---> c63e71f39a4d [2020-12-11T21:55:20.874Z] Step 14/27 : FROM alpine:latest [2020-12-11T21:55:20.874Z] latest: Pulling from library/alpine [2020-12-11T21:55:20.874Z] a3cc7d3b244e: Pulling fs layer [2020-12-11T21:55:20.874Z] a3cc7d3b244e: Verifying Checksum [2020-12-11T21:55:20.874Z] a3cc7d3b244e: Download complete [2020-12-11T21:55:21.471Z] a3cc7d3b244e: Pull complete [2020-12-11T21:55:21.471Z] Digest: sha256:a126728cb7db157f0deb377bcba3c5e473e612d7bafc27f6bb4e5e083f9f08c2 [2020-12-11T21:55:21.471Z] Status: Downloaded newer image for alpine:latest [2020-12-11T21:55:21.471Z] ---> dd36a01c3f31 [2020-12-11T21:55:21.471Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-11T21:55:21.471Z] ---> Running in ca55dbba7b27 [2020-12-11T21:55:22.070Z] Removing intermediate container ca55dbba7b27 [2020-12-11T21:55:22.070Z] ---> b1390d2bf017 [2020-12-11T21:55:22.070Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2020-12-11T21:55:22.070Z] ---> Running in 9b40b74f6134 [2020-12-11T21:55:22.661Z] Removing intermediate container 9b40b74f6134 [2020-12-11T21:55:22.661Z] ---> 22127e3d3acb [2020-12-11T21:55:22.661Z] Step 17/27 : RUN apk --no-cache add ca-certificates zeromq [2020-12-11T21:55:22.661Z] ---> Running in b251b2bc6e2c [2020-12-11T21:55:23.649Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-11T21:55:23.920Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-11T21:55:24.512Z] (1/6) Installing ca-certificates (20191127-r4) [2020-12-11T21:55:24.512Z] (2/6) Installing libgcc (9.3.0-r2) [2020-12-11T21:55:24.512Z] (3/6) Installing libsodium (1.0.18-r0) [2020-12-11T21:55:24.788Z] (4/6) Installing libstdc++ (9.3.0-r2) [2020-12-11T21:55:24.788Z] (5/6) Installing libzmq (4.3.3-r0) [2020-12-11T21:55:24.788Z] (6/6) Installing zeromq (4.3.3-r0) [2020-12-11T21:55:24.788Z] Executing busybox-1.31.1-r19.trigger [2020-12-11T21:55:24.788Z] Executing ca-certificates-20191127-r4.trigger [2020-12-11T21:55:24.788Z] OK: 9 MiB in 20 packages [2020-12-11T21:55:26.774Z] Removing intermediate container b251b2bc6e2c [2020-12-11T21:55:26.774Z] ---> 63428659acac [2020-12-11T21:55:26.774Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2020-12-11T21:55:27.369Z] ---> 3d925b4b17e5 [2020-12-11T21:55:27.369Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2020-12-11T21:55:27.963Z] ---> 3e65c4a6ca24 [2020-12-11T21:55:27.963Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2020-12-11T21:55:28.947Z] ---> 448ba2d41e81 [2020-12-11T21:55:28.947Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2020-12-11T21:55:30.379Z] ---> f65f31c0c5b3 [2020-12-11T21:55:30.379Z] Step 22/27 : EXPOSE 48095 [2020-12-11T21:55:30.379Z] ---> Running in 368f733edb35 [2020-12-11T21:55:30.651Z] Removing intermediate container 368f733edb35 [2020-12-11T21:55:30.651Z] ---> f577c7de1c75 [2020-12-11T21:55:30.651Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2020-12-11T21:55:30.924Z] ---> Running in 6c40e4aa35d9 [2020-12-11T21:55:31.197Z] Removing intermediate container 6c40e4aa35d9 [2020-12-11T21:55:31.197Z] ---> 6a9dfad952f5 [2020-12-11T21:55:31.197Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-11T21:55:31.472Z] ---> Running in 734e792808b1 [2020-12-11T21:55:32.067Z] Removing intermediate container 734e792808b1 [2020-12-11T21:55:32.067Z] ---> d56da6ae4f6b [2020-12-11T21:55:32.067Z] Step 25/27 : LABEL arch=arm64 [2020-12-11T21:55:32.067Z] ---> Running in e0c3be254d7e [2020-12-11T21:55:32.662Z] Removing intermediate container e0c3be254d7e [2020-12-11T21:55:32.662Z] ---> 11f827914ca3 [2020-12-11T21:55:32.662Z] Step 26/27 : LABEL git_sha=0b6ac86b660cf605cfaa9a96e27b56772a59fa3b [2020-12-11T21:55:32.662Z] ---> Running in 4b002736f04b [2020-12-11T21:55:32.943Z] Removing intermediate container 4b002736f04b [2020-12-11T21:55:32.943Z] ---> 8cca029c0d98 [2020-12-11T21:55:32.943Z] Step 27/27 : LABEL version=2.0.0-dev.4 [2020-12-11T21:55:33.218Z] ---> Running in 510f2732fa6b [2020-12-11T21:55:33.494Z] Removing intermediate container 510f2732fa6b [2020-12-11T21:55:33.494Z] ---> 58d37d5d9f23 [2020-12-11T21:55:33.494Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-11T21:55:33.494Z] Successfully built 58d37d5d9f23 [2020-12-11T21:55:33.494Z] 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-11T21:55:34.194Z] provisioning config files... [2020-12-11T21:55:34.235Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/67@tmp/config8751253108654922693tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-11T21:55:34.656Z] ---> docker-login.sh [2020-12-11T21:55:34.656Z] nexus3.edgexfoundry.org:10001 [2020-12-11T21:55:34.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T21:55:35.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T21:55:35.200Z] Configure a credential helper to remove this warning. See [2020-12-11T21:55:35.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T21:55:35.200Z] [2020-12-11T21:55:35.200Z] Login Succeeded [2020-12-11T21:55:35.200Z] nexus3.edgexfoundry.org:10002 [2020-12-11T21:55:35.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T21:55:35.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T21:55:35.472Z] Configure a credential helper to remove this warning. See [2020-12-11T21:55:35.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T21:55:35.472Z] [2020-12-11T21:55:35.472Z] Login Succeeded [2020-12-11T21:55:35.747Z] nexus3.edgexfoundry.org:10003 [2020-12-11T21:55:36.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T21:55:36.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T21:55:36.018Z] Configure a credential helper to remove this warning. See [2020-12-11T21:55:36.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T21:55:36.018Z] [2020-12-11T21:55:36.018Z] Login Succeeded [2020-12-11T21:55:36.291Z] nexus3.edgexfoundry.org:10004 [2020-12-11T21:55:36.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T21:55:36.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T21:55:36.563Z] Configure a credential helper to remove this warning. See [2020-12-11T21:55:36.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T21:55:36.563Z] [2020-12-11T21:55:36.563Z] Login Succeeded [2020-12-11T21:55:36.563Z] docker.io [2020-12-11T21:55:37.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T21:55:37.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T21:55:37.425Z] Configure a credential helper to remove this warning. See [2020-12-11T21:55:37.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T21:55:37.425Z] [2020-12-11T21:55:37.425Z] Login Succeeded [2020-12-11T21:55:37.425Z] ---> docker-login.sh ends [Pipeline] } [2020-12-11T21:55:37.441Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-12-11T21:55:37.631Z] [edgeXDocker.push] Tagging docker image docker-app-service-configurable-arm64 with the following tags: [2020-12-11T21:55:37.631Z] 0b6ac86b660cf605cfaa9a96e27b56772a59fa3b [2020-12-11T21:55:37.631Z] latest [2020-12-11T21:55:37.631Z] 2.0.0-dev.4 [2020-12-11T21:55:37.631Z] 0b6ac86b660cf605cfaa9a96e27b56772a59fa3b-2.0.0-dev.4 [2020-12-11T21:55:37.631Z] master [2020-12-11T21:55:37.631Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:55:38.168Z] + docker tag docker-app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:0b6ac86b660cf605cfaa9a96e27b56772a59fa3b [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:55:38.524Z] + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:0b6ac86b660cf605cfaa9a96e27b56772a59fa3b [2020-12-11T21:55:38.524Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64] [2020-12-11T21:55:38.524Z] 06161bcb6037: Preparing [2020-12-11T21:55:38.524Z] ae9f01a8e20d: Preparing [2020-12-11T21:55:38.524Z] 8485091af02b: Preparing [2020-12-11T21:55:38.524Z] 10c8a6b1d265: Preparing [2020-12-11T21:55:38.524Z] aadc06323445: Preparing [2020-12-11T21:55:38.524Z] e934a737d657: Preparing [2020-12-11T21:55:38.524Z] e934a737d657: Waiting [2020-12-11T21:55:38.795Z] 10c8a6b1d265: Pushed [2020-12-11T21:55:38.795Z] ae9f01a8e20d: Pushed [2020-12-11T21:55:38.795Z] 8485091af02b: Pushed [2020-12-11T21:55:39.070Z] e934a737d657: Layer already exists [2020-12-11T21:55:39.663Z] aadc06323445: Pushed [2020-12-11T21:55:42.286Z] 06161bcb6037: Pushed [2020-12-11T21:55:42.286Z] 0b6ac86b660cf605cfaa9a96e27b56772a59fa3b: digest: sha256:0a43bc6e598529e0fd2aee4cc7fe2a063d8a899c9acfafe6e2d0068f3f335db5 size: 1574 [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:55:42.634Z] + docker tag docker-app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:55:42.973Z] + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:latest [2020-12-11T21:55:42.973Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64] [2020-12-11T21:55:42.973Z] 06161bcb6037: Preparing [2020-12-11T21:55:42.973Z] ae9f01a8e20d: Preparing [2020-12-11T21:55:42.974Z] 8485091af02b: Preparing [2020-12-11T21:55:42.974Z] 10c8a6b1d265: Preparing [2020-12-11T21:55:42.974Z] aadc06323445: Preparing [2020-12-11T21:55:42.974Z] e934a737d657: Preparing [2020-12-11T21:55:42.974Z] e934a737d657: Waiting [2020-12-11T21:55:42.974Z] aadc06323445: Layer already exists [2020-12-11T21:55:42.974Z] 8485091af02b: Layer already exists [2020-12-11T21:55:42.974Z] ae9f01a8e20d: Layer already exists [2020-12-11T21:55:42.974Z] 06161bcb6037: Layer already exists [2020-12-11T21:55:42.974Z] 10c8a6b1d265: Layer already exists [2020-12-11T21:55:42.974Z] e934a737d657: Layer already exists [2020-12-11T21:55:43.247Z] latest: digest: sha256:0a43bc6e598529e0fd2aee4cc7fe2a063d8a899c9acfafe6e2d0068f3f335db5 size: 1574 [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:55:43.597Z] + docker tag docker-app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:2.0.0-dev.4 [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:55:43.941Z] + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:2.0.0-dev.4 [2020-12-11T21:55:43.941Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64] [2020-12-11T21:55:43.941Z] 06161bcb6037: Preparing [2020-12-11T21:55:43.941Z] ae9f01a8e20d: Preparing [2020-12-11T21:55:43.941Z] 8485091af02b: Preparing [2020-12-11T21:55:43.941Z] 10c8a6b1d265: Preparing [2020-12-11T21:55:43.941Z] aadc06323445: Preparing [2020-12-11T21:55:43.941Z] e934a737d657: Preparing [2020-12-11T21:55:43.941Z] e934a737d657: Waiting [2020-12-11T21:55:43.941Z] 10c8a6b1d265: Layer already exists [2020-12-11T21:55:43.941Z] 06161bcb6037: Layer already exists [2020-12-11T21:55:43.941Z] ae9f01a8e20d: Layer already exists [2020-12-11T21:55:43.941Z] aadc06323445: Layer already exists [2020-12-11T21:55:43.941Z] 8485091af02b: Layer already exists [2020-12-11T21:55:43.941Z] e934a737d657: Layer already exists [2020-12-11T21:55:44.210Z] 2.0.0-dev.4: digest: sha256:0a43bc6e598529e0fd2aee4cc7fe2a063d8a899c9acfafe6e2d0068f3f335db5 size: 1574 [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:55:44.548Z] + docker tag docker-app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:0b6ac86b660cf605cfaa9a96e27b56772a59fa3b-2.0.0-dev.4 [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:55:44.884Z] + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:0b6ac86b660cf605cfaa9a96e27b56772a59fa3b-2.0.0-dev.4 [2020-12-11T21:55:44.884Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64] [2020-12-11T21:55:44.884Z] 06161bcb6037: Preparing [2020-12-11T21:55:44.884Z] ae9f01a8e20d: Preparing [2020-12-11T21:55:44.884Z] 8485091af02b: Preparing [2020-12-11T21:55:44.884Z] 10c8a6b1d265: Preparing [2020-12-11T21:55:44.884Z] aadc06323445: Preparing [2020-12-11T21:55:44.884Z] e934a737d657: Preparing [2020-12-11T21:55:44.884Z] e934a737d657: Waiting [2020-12-11T21:55:45.153Z] 8485091af02b: Layer already exists [2020-12-11T21:55:45.153Z] 10c8a6b1d265: Layer already exists [2020-12-11T21:55:45.153Z] ae9f01a8e20d: Layer already exists [2020-12-11T21:55:45.153Z] 06161bcb6037: Layer already exists [2020-12-11T21:55:45.153Z] aadc06323445: Layer already exists [2020-12-11T21:55:45.153Z] e934a737d657: Layer already exists [2020-12-11T21:55:45.153Z] 0b6ac86b660cf605cfaa9a96e27b56772a59fa3b-2.0.0-dev.4: digest: sha256:0a43bc6e598529e0fd2aee4cc7fe2a063d8a899c9acfafe6e2d0068f3f335db5 size: 1574 [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:55:45.489Z] + docker tag docker-app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:master [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:55:45.822Z] + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:master [2020-12-11T21:55:45.823Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64] [2020-12-11T21:55:45.823Z] 06161bcb6037: Preparing [2020-12-11T21:55:45.823Z] ae9f01a8e20d: Preparing [2020-12-11T21:55:45.823Z] 8485091af02b: Preparing [2020-12-11T21:55:45.823Z] 10c8a6b1d265: Preparing [2020-12-11T21:55:45.823Z] aadc06323445: Preparing [2020-12-11T21:55:45.823Z] e934a737d657: Preparing [2020-12-11T21:55:45.823Z] e934a737d657: Waiting [2020-12-11T21:55:45.823Z] 10c8a6b1d265: Layer already exists [2020-12-11T21:55:45.823Z] 8485091af02b: Layer already exists [2020-12-11T21:55:45.823Z] 06161bcb6037: Layer already exists [2020-12-11T21:55:45.823Z] ae9f01a8e20d: Layer already exists [2020-12-11T21:55:45.823Z] aadc06323445: Layer already exists [2020-12-11T21:55:45.823Z] e934a737d657: Layer already exists [2020-12-11T21:55:46.093Z] master: digest: sha256:0a43bc6e598529e0fd2aee4cc7fe2a063d8a899c9acfafe6e2d0068f3f335db5 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-12-11T21:55:46.288Z] ===================================================== [Pipeline] echo [2020-12-11T21:55:46.353Z] taggedImages: [2020-12-11T21:55:46.353Z] - nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:0b6ac86b660cf605cfaa9a96e27b56772a59fa3b [2020-12-11T21:55:46.353Z] - nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:latest [2020-12-11T21:55:46.353Z] - nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:2.0.0-dev.4 [2020-12-11T21:55:46.353Z] - nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:0b6ac86b660cf605cfaa9a96e27b56772a59fa3b-2.0.0-dev.4 [2020-12-11T21:55:46.353Z] - 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-11T21:55:47.545Z] provisioning config files... [2020-12-11T21:55:47.559Z] copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_master@tmp/config1398075058957990149tmp [Pipeline] { [Pipeline] sh [2020-12-11T21:55:47.952Z] + set +x [2020-12-11T21:55:47.952Z] + curl -s https://codecov.io/bash [2020-12-11T21:55:47.952Z] + bash -s -- [2020-12-11T21:55:48.238Z] [2020-12-11T21:55:48.238Z] _____ _ [2020-12-11T21:55:48.238Z] / ____| | | [2020-12-11T21:55:48.238Z] | | ___ __| | ___ ___ _____ __ [2020-12-11T21:55:48.238Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-11T21:55:48.238Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-11T21:55:48.238Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-11T21:55:48.238Z] Bash-20201130-cc6d3fe [2020-12-11T21:55:48.238Z] [2020-12-11T21:55:48.238Z] [2020-12-11T21:55:48.238Z] ==> Jenkins CI detected. [2020-12-11T21:55:48.238Z] project root: . [2020-12-11T21:55:48.238Z] --> token set from env [2020-12-11T21:55:48.238Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-11T21:55:48.238Z] ==> Running gcov in . (disable via -X gcov) [2020-12-11T21:55:48.238Z] ==> Python coveragepy not found [2020-12-11T21:55:48.238Z] ==> Searching for coverage reports in: [2020-12-11T21:55:48.238Z] + . [2020-12-11T21:55:48.567Z] -> Found 1 reports [2020-12-11T21:55:48.567Z] ==> Detecting git/mercurial file structure [2020-12-11T21:55:48.567Z] ==> Reading reports [2020-12-11T21:55:48.567Z] + ./coverage.out bytes=10 [2020-12-11T21:55:48.567Z] ==> Appending adjustments [2020-12-11T21:55:48.567Z] https://docs.codecov.io/docs/fixing-reports [2020-12-11T21:55:48.567Z] + Found adjustments [2020-12-11T21:55:48.567Z] ==> Gzipping contents [2020-12-11T21:55:48.567Z] 4.0K /tmp/codecov.Sg7zVn.gz [2020-12-11T21:55:48.567Z] ==> Uploading reports [2020-12-11T21:55:48.567Z] url: https://codecov.io [2020-12-11T21:55:48.567Z] query: branch=master&commit=0b6ac86b660cf605cfaa9a96e27b56772a59fa3b&build=67&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2Fmaster%2F67%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=&job=&cmd_args= [2020-12-11T21:55:48.567Z] -> Pinging Codecov [2020-12-11T21:55:48.567Z] https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=master&commit=0b6ac86b660cf605cfaa9a96e27b56772a59fa3b&build=67&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2Fmaster%2F67%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=&job=&cmd_args= [2020-12-11T21:55:49.199Z] -> Uploading to [2020-12-11T21:55:49.199Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-11/A97CA9966030D2A3747ED39772930CCE/0b6ac86b660cf605cfaa9a96e27b56772a59fa3b/dab26829-bf05-45c4-8c83-ee926db9091b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201211%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201211T215548Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=74d9b2efd559ebb31683f5b0b862565c8075091fbc552b4502c66379f9b44d44 [2020-12-11T21:55:49.199Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-11T21:55:49.199Z] Dload Upload Total Spent Left Speed [2020-12-11T21:55:49.469Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 378 0 0 100 378 0 751 --:--:-- --:--:-- --:--:-- 751 100 378 0 0 100 378 0 751 --:--:-- --:--:-- --:--:-- 751 [2020-12-11T21:55:49.469Z] -> View reports at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/0b6ac86b660cf605cfaa9a96e27b56772a59fa3b [Pipeline] } [2020-12-11T21:55:49.486Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2020-12-11T21:55:49.908Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2020-12-11T21:55:49.957Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:55:50.322Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-11T21:55:50.585Z] [2020-12-11T21:55:50.585Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:55:50.959Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-11T21:55:50.959Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2020-12-11T21:55:50.959Z] 188c0c94c7c5: Pulling fs layer [2020-12-11T21:55:50.959Z] 0ef7d3d256c8: Pulling fs layer [2020-12-11T21:55:50.959Z] de9db76c5a1d: Pulling fs layer [2020-12-11T21:55:50.959Z] 0eba1c9be4d2: Pulling fs layer [2020-12-11T21:55:50.959Z] 0d57e429df01: Pulling fs layer [2020-12-11T21:55:50.959Z] 4e4be7b47b0d: Pulling fs layer [2020-12-11T21:55:50.959Z] e1f770b5df2f: Pulling fs layer [2020-12-11T21:55:50.959Z] 85a0685a4137: Pulling fs layer [2020-12-11T21:55:50.959Z] 0eba1c9be4d2: Waiting [2020-12-11T21:55:50.959Z] 0d57e429df01: Waiting [2020-12-11T21:55:50.959Z] 4e4be7b47b0d: Waiting [2020-12-11T21:55:50.959Z] e1f770b5df2f: Waiting [2020-12-11T21:55:50.959Z] 85a0685a4137: Waiting [2020-12-11T21:55:51.229Z] de9db76c5a1d: Verifying Checksum [2020-12-11T21:55:51.229Z] de9db76c5a1d: Download complete [2020-12-11T21:55:51.229Z] 0ef7d3d256c8: Verifying Checksum [2020-12-11T21:55:51.229Z] 0ef7d3d256c8: Download complete [2020-12-11T21:55:51.229Z] 0d57e429df01: Verifying Checksum [2020-12-11T21:55:51.229Z] 0d57e429df01: Download complete [2020-12-11T21:55:51.229Z] 4e4be7b47b0d: Verifying Checksum [2020-12-11T21:55:51.229Z] 4e4be7b47b0d: Download complete [2020-12-11T21:55:51.229Z] 188c0c94c7c5: Verifying Checksum [2020-12-11T21:55:51.229Z] 188c0c94c7c5: Download complete [2020-12-11T21:55:51.821Z] 188c0c94c7c5: Pull complete [2020-12-11T21:55:52.094Z] 0ef7d3d256c8: Pull complete [2020-12-11T21:55:52.371Z] de9db76c5a1d: Pull complete [2020-12-11T21:55:52.645Z] e1f770b5df2f: Verifying Checksum [2020-12-11T21:55:52.645Z] e1f770b5df2f: Download complete [2020-12-11T21:55:58.174Z] 85a0685a4137: Verifying Checksum [2020-12-11T21:55:58.174Z] 85a0685a4137: Download complete [2020-12-11T21:55:58.174Z] 0eba1c9be4d2: Download complete [2020-12-11T21:56:08.527Z] 0eba1c9be4d2: Pull complete [2020-12-11T21:56:08.527Z] 0d57e429df01: Pull complete [2020-12-11T21:56:08.527Z] 4e4be7b47b0d: Pull complete [2020-12-11T21:56:11.896Z] e1f770b5df2f: Pull complete [2020-12-11T21:56:22.239Z] 85a0685a4137: Pull complete [2020-12-11T21:56:22.239Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2020-12-11T21:56:22.239Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-11T21:56:22.239Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2020-12-11T21:56:22.627Z] prd-centos7-docker-4c-2g-15623 does not seem to be running inside a container [2020-12-11T21:56:22.718Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2020-12-11T21:56:24.477Z] $ docker top ba969a46b486cccd0a251d8835c9e96fd7b2d8f11df76bc77072c7b9df95dd6b -eo pid,comm [Pipeline] { [Pipeline] echo [2020-12-11T21:56:24.790Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2020-12-11T21:56:25.505Z] + set -o pipefail [2020-12-11T21:56:25.505Z] + snyk monitor '--org=edgex-jenkins' [2020-12-11T21:56:40.687Z] [2020-12-11T21:56:40.687Z] Monitoring /w/workspace/_app-service-configurable_master (github.com/edgexfoundry/app-service-configurable)... [2020-12-11T21:56:40.687Z] [2020-12-11T21:56:40.687Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/78834c31-a9c6-48a0-bc23-2630bc060585/history/5b7453f3-d953-4f5c-80f1-59935d35f22f [2020-12-11T21:56:40.687Z] [2020-12-11T21:56:40.687Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-12-11T21:56:40.687Z] [2020-12-11T21:56:40.687Z] [2020-12-11T21:56:40.687Z] You are approaching your monthly limit of 300 private tests for your edgex-jenkins org. [2020-12-11T21:56:40.687Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2020-12-11T21:56:40.710Z] $ docker stop --time=1 ba969a46b486cccd0a251d8835c9e96fd7b2d8f11df76bc77072c7b9df95dd6b [2020-12-11T21:56:43.649Z] $ docker rm -f ba969a46b486cccd0a251d8835c9e96fd7b2d8f11df76bc77072c7b9df95dd6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) [Pipeline] script [Pipeline] { [Pipeline] echo [2020-12-11T21:56:44.933Z] [edgeXSnyk] dockerImage=nexus3.edgexfoundry.org:10004/docker-app-service-configurable:0b6ac86b660cf605cfaa9a96e27b56772a59fa3b, dockerFile=Dockerfile [Pipeline] echo [2020-12-11T21:56:44.936Z] [edgeXSnyk] downloading global ignore policy file from: https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk [Pipeline] sh [2020-12-11T21:56:45.252Z] + set -o pipefail [2020-12-11T21:56:45.252Z] + tee .snyk [2020-12-11T21:56:45.252Z] + curl -s https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk [2020-12-11T21:56:45.523Z] # Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. [2020-12-11T21:56:45.523Z] version: v1.14.1 [2020-12-11T21:56:45.523Z] # ignores vulnerabilities until expiry date; change duration by modifying expiry date [2020-12-11T21:56:45.523Z] ignore: [2020-12-11T21:56:45.523Z] SNYK-ALPINE312-ONIGURUMA-1017392: # snyk ID for the issue to ignore. Required. [2020-12-11T21:56:45.523Z] - '*': [2020-12-11T21:56:45.523Z] reason: does not apply # justification for ignoring [2020-12-11T21:56:45.523Z] 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-11T21:56:45.523Z] SNYK-ALPINE312-JQ-588886: [2020-12-11T21:56:45.523Z] - '*': [2020-12-11T21:56:45.523Z] reason: false positive [2020-12-11T21:56:45.523Z] expires: 2021-01-01T00:00:00 [2020-12-11T21:56:45.523Z] SNYK-GOLANG-GITHUBCOMDGRIJALVAJWTGO-596515: [2020-12-11T21:56:45.523Z] - '*': [2020-12-11T21:56:45.523Z] reason: does not apply [2020-12-11T21:56:45.523Z] expires: 2021-01-01T00:00:00 [2020-12-11T21:56:45.523Z] # patch: {} [Pipeline] withCredentials [2020-12-11T21:56:45.661Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:56:46.024Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-11T21:56:46.024Z] . [Pipeline] withDockerContainer [2020-12-11T21:56:46.161Z] prd-centos7-docker-4c-2g-15623 does not seem to be running inside a container [2020-12-11T21:56:46.252Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2020-12-11T21:56:47.368Z] $ docker top bf241346bcdaf81715e1d73c5a2fb5b33b513e629ae94dbeb9fc066c1971a4a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T21:56:47.950Z] + rm -f snykReport.html [Pipeline] echo [2020-12-11T21:56:47.966Z] [edgeXSnyk] command to run: set -o pipefail ; snyk test --org=edgex-jenkins --docker nexus3.edgexfoundry.org:10004/docker-app-service-configurable:0b6ac86b660cf605cfaa9a96e27b56772a59fa3b --file=./Dockerfile --severity-threshold=high --policy-path=./.snyk --json | snyk-to-html -o snykReport.html [Pipeline] sh [2020-12-11T21:56:48.324Z] + set -o pipefail [2020-12-11T21:56:48.324Z] + snyk test '--org=edgex-jenkins' --docker nexus3.edgexfoundry.org:10004/docker-app-service-configurable:0b6ac86b660cf605cfaa9a96e27b56772a59fa3b '--file=./Dockerfile' '--severity-threshold=high' '--policy-path=./.snyk' --json+ [2020-12-11T21:56:48.324Z] snyk-to-html -o snykReport.html [2020-12-11T21:57:15.136Z] Vulnerability snapshot saved at snykReport.html [Pipeline] } [2020-12-11T21:57:15.166Z] $ docker stop --time=1 bf241346bcdaf81715e1d73c5a2fb5b33b513e629ae94dbeb9fc066c1971a4a6 [2020-12-11T21:57:16.973Z] $ docker rm -f bf241346bcdaf81715e1d73c5a2fb5b33b513e629ae94dbeb9fc066c1971a4a6 [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-11T21:57:18.596Z] + git log --format=format:%s -1 0b6ac86b660cf605cfaa9a96e27b56772a59fa3b [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:57:18.936Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-11T21:57:18.936Z] . [Pipeline] withDockerContainer [2020-12-11T21:57:19.072Z] prd-centos7-docker-4c-2g-15623 does not seem to be running inside a container [2020-12-11T21:57:19.137Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-11T21:57:20.351Z] $ docker top 6f45b4aa476e37192a31af55bafff589a8f30cdecb683a9e8ca7497f20b7ef30 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-11T21:57:20.791Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-11T21:57:20.791Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-11T21:57:21.254Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-11T21:57:21.289Z] $ docker exec 6f45b4aa476e37192a31af55bafff589a8f30cdecb683a9e8ca7497f20b7ef30 ssh-agent [2020-12-11T21:57:21.711Z] SSH_AUTH_SOCK=/tmp/ssh-C8qhHp41tdMJ/agent.11 [2020-12-11T21:57:21.711Z] SSH_AGENT_PID=16 [2020-12-11T21:57:21.724Z] Running ssh-add (command line suppressed) [2020-12-11T21:57:21.953Z] Identity added: /w/workspace/_app-service-configurable_master@tmp/private_key_2747306022377176457.key (/w/workspace/_app-service-configurable_master@tmp/private_key_2747306022377176457.key) [2020-12-11T21:57:22.030Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-11T21:57:22.405Z] + git semver tag [2020-12-11T21:57:22.405Z] # -> Open(): unable to determine branch for HEAD [2020-12-11T21:57:22.405Z] # $GIT_DIR = /w/workspace/_app-service-configurable_master/.git [2020-12-11T21:57:22.405Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_master [2020-12-11T21:57:22.405Z] # $SEMVER_REMOTE_NAME = origin [2020-12-11T21:57:22.405Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-11T21:57:22.405Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-11T21:57:22.405Z] # $SEMVER_BRANCH = master [2020-12-11T21:57:22.405Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_master/.semver [2020-12-11T21:57:22.405Z] # 0b6ac86b660cf605cfaa9a96e27b56772a59fa3b HEAD [2020-12-11T21:57:22.405Z] # -> Force: false [2020-12-11T21:57:22.405Z] # 6b595b483e4b797fada9e5d2cea15380af00014f refs/tags/v2.0.0-dev.4 [Pipeline] } [2020-12-11T21:57:22.452Z] $ docker exec --env ******** --env ******** 6f45b4aa476e37192a31af55bafff589a8f30cdecb683a9e8ca7497f20b7ef30 ssh-agent -k [2020-12-11T21:57:22.610Z] unset SSH_AUTH_SOCK; [2020-12-11T21:57:22.611Z] unset SSH_AGENT_PID; [2020-12-11T21:57:22.611Z] echo Agent pid 16 killed; [2020-12-11T21:57:22.716Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-11T21:57:23.236Z] + git semver [Pipeline] } [2020-12-11T21:57:23.265Z] $ docker stop --time=1 6f45b4aa476e37192a31af55bafff589a8f30cdecb683a9e8ca7497f20b7ef30 [2020-12-11T21:57:24.985Z] $ docker rm -f 6f45b4aa476e37192a31af55bafff589a8f30cdecb683a9e8ca7497f20b7ef30 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:57:26.075Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-11T21:57:26.075Z] [2020-12-11T21:57:26.075Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:57:26.453Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-11T21:57:26.453Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-12-11T21:57:26.453Z] ab5ef0e58194: Pulling fs layer [2020-12-11T21:57:26.453Z] 9712f1f96733: Pulling fs layer [2020-12-11T21:57:26.453Z] 63f879dbbcfc: Pulling fs layer [2020-12-11T21:57:26.453Z] 0d9ebad4ef96: Pulling fs layer [2020-12-11T21:57:26.453Z] e9a5061849ea: Pulling fs layer [2020-12-11T21:57:26.453Z] d747dcd14b5f: Pulling fs layer [2020-12-11T21:57:26.453Z] 2de7ff778b66: Pulling fs layer [2020-12-11T21:57:26.453Z] 0d9ebad4ef96: Waiting [2020-12-11T21:57:26.453Z] e9a5061849ea: Waiting [2020-12-11T21:57:26.453Z] d747dcd14b5f: Waiting [2020-12-11T21:57:26.453Z] 2de7ff778b66: Waiting [2020-12-11T21:57:26.453Z] 9712f1f96733: Verifying Checksum [2020-12-11T21:57:26.453Z] 9712f1f96733: Download complete [2020-12-11T21:57:29.863Z] 63f879dbbcfc: Verifying Checksum [2020-12-11T21:57:29.863Z] 63f879dbbcfc: Download complete [2020-12-11T21:57:29.863Z] e9a5061849ea: Verifying Checksum [2020-12-11T21:57:29.863Z] e9a5061849ea: Download complete [2020-12-11T21:57:29.863Z] d747dcd14b5f: Verifying Checksum [2020-12-11T21:57:29.863Z] d747dcd14b5f: Download complete [2020-12-11T21:57:30.905Z] 0d9ebad4ef96: Verifying Checksum [2020-12-11T21:57:30.905Z] 0d9ebad4ef96: Download complete [2020-12-11T21:57:31.181Z] 2de7ff778b66: Verifying Checksum [2020-12-11T21:57:31.181Z] 2de7ff778b66: Download complete [2020-12-11T21:57:31.981Z] ab5ef0e58194: Verifying Checksum [2020-12-11T21:57:31.981Z] ab5ef0e58194: Download complete [2020-12-11T21:57:38.849Z] ab5ef0e58194: Pull complete [2020-12-11T21:57:39.119Z] 9712f1f96733: Pull complete [2020-12-11T21:57:41.712Z] 63f879dbbcfc: Pull complete [2020-12-11T21:57:51.926Z] 0d9ebad4ef96: Pull complete [2020-12-11T21:57:53.900Z] e9a5061849ea: Pull complete [2020-12-11T21:57:53.901Z] d747dcd14b5f: Pull complete [2020-12-11T21:57:56.599Z] 2de7ff778b66: Pull complete [2020-12-11T21:57:56.599Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-12-11T21:57:56.599Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-11T21:57:56.599Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-12-11T21:57:56.926Z] prd-centos7-docker-4c-2g-15623 does not seem to be running inside a container [2020-12-11T21:57:57.019Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-12-11T21:58:00.356Z] $ docker top bdddaf901dabaccffbde31e422367056d6c52f99da6ca3a74220762ec6b14684 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-12-11T21:58:00.767Z] provisioning config files... [2020-12-11T21:58:00.784Z] copy managed file [sigul-config] to file:/w/workspace/_app-service-configurable_master@tmp/config1802614123237977140tmp [2020-12-11T21:58:00.811Z] copy managed file [sigul-password] to file:/w/workspace/_app-service-configurable_master@tmp/config2575000684689575841tmp [2020-12-11T21:58:00.841Z] copy managed file [sigul-pki] to file:/w/workspace/_app-service-configurable_master@tmp/config7530250254841553173tmp [Pipeline] { [Pipeline] echo [2020-12-11T21:58:00.925Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T21:58:01.627Z] ---> sigul-configuration.sh [2020-12-11T21:58:01.628Z] gpg: directory `/root/.gnupg' created [2020-12-11T21:58:01.628Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-12-11T21:58:01.628Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-12-11T21:58:01.628Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-12-11T21:58:01.628Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-12-11T21:58:01.628Z] gpg: CAST5 encrypted data [2020-12-11T21:58:01.918Z] gpg: encrypted with 1 passphrase [2020-12-11T21:58:01.918Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-12-11T21:58:02.922Z] + mkdir /home/jenkins [2020-12-11T21:58:02.922Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-12-11T21:58:03.611Z] + 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-11T21:58:03.634Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T21:58:04.309Z] ---> sigul-install.sh [2020-12-11T21:58:12.541Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-12-11T21:58:13.188Z] + git tag --list [2020-12-11T21:58:13.188Z] v1.0.0 [2020-12-11T21:58:13.188Z] v1.1.0 [2020-12-11T21:58:13.188Z] v1.2.0 [2020-12-11T21:58:13.188Z] v1.2.1-dev.1 [2020-12-11T21:58:13.188Z] v1.2.1-dev.10 [2020-12-11T21:58:13.188Z] v1.2.1-dev.11 [2020-12-11T21:58:13.188Z] v1.2.1-dev.12 [2020-12-11T21:58:13.188Z] v1.2.1-dev.13 [2020-12-11T21:58:13.188Z] v1.2.1-dev.14 [2020-12-11T21:58:13.188Z] v1.2.1-dev.15 [2020-12-11T21:58:13.188Z] v1.2.1-dev.16 [2020-12-11T21:58:13.188Z] v1.2.1-dev.17 [2020-12-11T21:58:13.188Z] v1.2.1-dev.18 [2020-12-11T21:58:13.188Z] v1.2.1-dev.19 [2020-12-11T21:58:13.188Z] v1.2.1-dev.2 [2020-12-11T21:58:13.188Z] v1.2.1-dev.20 [2020-12-11T21:58:13.188Z] v1.2.1-dev.21 [2020-12-11T21:58:13.188Z] v1.2.1-dev.22 [2020-12-11T21:58:13.188Z] v1.2.1-dev.23 [2020-12-11T21:58:13.188Z] v1.2.1-dev.3 [2020-12-11T21:58:13.188Z] v1.2.1-dev.4 [2020-12-11T21:58:13.188Z] v1.2.1-dev.5 [2020-12-11T21:58:13.188Z] v1.2.1-dev.6 [2020-12-11T21:58:13.188Z] v1.2.1-dev.7 [2020-12-11T21:58:13.188Z] v1.2.1-dev.8 [2020-12-11T21:58:13.188Z] v1.2.1-dev.9 [2020-12-11T21:58:13.188Z] v1.3.0 [2020-12-11T21:58:13.188Z] v1.3.1-dev.1 [2020-12-11T21:58:13.188Z] v2.0.0-dev.1 [2020-12-11T21:58:13.188Z] v2.0.0-dev.2 [2020-12-11T21:58:13.188Z] v2.0.0-dev.3 [2020-12-11T21:58:13.188Z] v2.0.0-dev.4 [Pipeline] sh [2020-12-11T21:58:13.533Z] + lftools sign git-tag v2.0.0-dev.4 [2020-12-11T21:58:15.471Z] Signing Git tag with Sigul... [2020-12-11T21:58:15.471Z] Signing v2.0.0-dev.4 [Pipeline] echo [2020-12-11T21:58:16.917Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T21:58:17.252Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-12-11T21:58:17.269Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-12-11T21:58:17.424Z] $ docker stop --time=1 bdddaf901dabaccffbde31e422367056d6c52f99da6ca3a74220762ec6b14684 [2020-12-11T21:58:19.553Z] $ docker rm -f bdddaf901dabaccffbde31e422367056d6c52f99da6ca3a74220762ec6b14684 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:58:20.921Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-11T21:58:20.921Z] . [Pipeline] withDockerContainer [2020-12-11T21:58:21.081Z] prd-centos7-docker-4c-2g-15623 does not seem to be running inside a container [2020-12-11T21:58:21.157Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-11T21:58:22.321Z] $ docker top fbf455ef6bb73b0bccebe61419fbd08b2749ad616538475ce345f273797de11f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-11T21:58:23.149Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-11T21:58:23.149Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-11T21:58:23.619Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-11T21:58:23.626Z] $ docker exec fbf455ef6bb73b0bccebe61419fbd08b2749ad616538475ce345f273797de11f ssh-agent [2020-12-11T21:58:24.230Z] SSH_AUTH_SOCK=/tmp/ssh-867PyS24A3sS/agent.13 [2020-12-11T21:58:24.230Z] SSH_AGENT_PID=18 [2020-12-11T21:58:24.241Z] Running ssh-add (command line suppressed) [2020-12-11T21:58:24.581Z] Identity added: /w/workspace/_app-service-configurable_master@tmp/private_key_5827692558691009873.key (/w/workspace/_app-service-configurable_master@tmp/private_key_5827692558691009873.key) [2020-12-11T21:58:24.741Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-11T21:58:25.123Z] + git semver bump pre [2020-12-11T21:58:25.391Z] # -> Open(): unable to determine branch for HEAD [2020-12-11T21:58:25.391Z] # $GIT_DIR = /w/workspace/_app-service-configurable_master/.git [2020-12-11T21:58:25.391Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_master [2020-12-11T21:58:25.391Z] # $SEMVER_REMOTE_NAME = origin [2020-12-11T21:58:25.391Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-11T21:58:25.391Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-11T21:58:25.391Z] # $SEMVER_BRANCH = master [2020-12-11T21:58:25.391Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_master/.semver [2020-12-11T21:58:25.391Z] 2.0.0-dev.5 [Pipeline] } [2020-12-11T21:58:25.407Z] $ docker exec --env ******** --env ******** fbf455ef6bb73b0bccebe61419fbd08b2749ad616538475ce345f273797de11f ssh-agent -k [2020-12-11T21:58:25.609Z] unset SSH_AUTH_SOCK; [2020-12-11T21:58:25.610Z] unset SSH_AGENT_PID; [2020-12-11T21:58:25.611Z] echo Agent pid 18 killed; [2020-12-11T21:58:25.766Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-11T21:58:26.320Z] + git semver [Pipeline] } [2020-12-11T21:58:26.343Z] $ docker stop --time=1 fbf455ef6bb73b0bccebe61419fbd08b2749ad616538475ce345f273797de11f [2020-12-11T21:58:27.881Z] $ docker rm -f fbf455ef6bb73b0bccebe61419fbd08b2749ad616538475ce345f273797de11f [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:58:28.511Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-11T21:58:28.511Z] . [Pipeline] withDockerContainer [2020-12-11T21:58:28.691Z] prd-centos7-docker-4c-2g-15623 does not seem to be running inside a container [2020-12-11T21:58:28.778Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-11T21:58:29.746Z] $ docker top 57d0bdefc6963c190d92d7e3500f2da8044b627a89188062b460ca3680bc2253 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-11T21:58:30.147Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-11T21:58:30.147Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-11T21:58:30.606Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-11T21:58:30.616Z] $ docker exec 57d0bdefc6963c190d92d7e3500f2da8044b627a89188062b460ca3680bc2253 ssh-agent [2020-12-11T21:58:30.911Z] SSH_AUTH_SOCK=/tmp/ssh-cjdeaevLyzvH/agent.11 [2020-12-11T21:58:30.911Z] SSH_AGENT_PID=16 [2020-12-11T21:58:30.924Z] Running ssh-add (command line suppressed) [2020-12-11T21:58:31.126Z] Identity added: /w/workspace/_app-service-configurable_master@tmp/private_key_2015773440575426605.key (/w/workspace/_app-service-configurable_master@tmp/private_key_2015773440575426605.key) [2020-12-11T21:58:31.210Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-11T21:58:31.572Z] + git semver push [2020-12-11T21:58:31.572Z] # -> Open(): unable to determine branch for HEAD [2020-12-11T21:58:31.572Z] # $GIT_DIR = /w/workspace/_app-service-configurable_master/.git [2020-12-11T21:58:31.572Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_master [2020-12-11T21:58:31.572Z] # $SEMVER_REMOTE_NAME = origin [2020-12-11T21:58:31.572Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-11T21:58:31.572Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-11T21:58:31.572Z] # $SEMVER_BRANCH = master [2020-12-11T21:58:31.572Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_master/.semver [Pipeline] } [2020-12-11T21:58:38.294Z] $ docker exec --env ******** --env ******** 57d0bdefc6963c190d92d7e3500f2da8044b627a89188062b460ca3680bc2253 ssh-agent -k [2020-12-11T21:58:38.540Z] unset SSH_AUTH_SOCK; [2020-12-11T21:58:38.541Z] unset SSH_AGENT_PID; [2020-12-11T21:58:38.541Z] echo Agent pid 16 killed; [2020-12-11T21:58:38.645Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-11T21:58:39.479Z] + git semver [Pipeline] } [2020-12-11T21:58:39.510Z] $ docker stop --time=1 57d0bdefc6963c190d92d7e3500f2da8044b627a89188062b460ca3680bc2253 [2020-12-11T21:58:41.129Z] $ docker rm -f 57d0bdefc6963c190d92d7e3500f2da8044b627a89188062b460ca3680bc2253 [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-11T21:58:42.740Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T21:58:43.698Z] ---> package-listing.sh [2020-12-11T21:58:43.698Z] ++ facter osfamily [2020-12-11T21:58:43.698Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-11T21:58:43.971Z] + OS_FAMILY=redhat [2020-12-11T21:58:43.971Z] + workspace=/w/workspace/_app-service-configurable_master [2020-12-11T21:58:43.971Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-11T21:58:43.971Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-11T21:58:43.971Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-11T21:58:43.971Z] + PACKAGES=/tmp/packages_start.txt [2020-12-11T21:58:43.971Z] + '[' /w/workspace/_app-service-configurable_master ']' [2020-12-11T21:58:43.971Z] + PACKAGES=/tmp/packages_end.txt [2020-12-11T21:58:43.971Z] + case "${OS_FAMILY}" in [2020-12-11T21:58:43.971Z] + rpm -qa [2020-12-11T21:58:43.971Z] + sort [2020-12-11T21:58:49.417Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-11T21:58:49.417Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-11T21:58:49.417Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-11T21:58:49.417Z] + '[' /w/workspace/_app-service-configurable_master ']' [2020-12-11T21:58:49.417Z] + mkdir -p /w/workspace/_app-service-configurable_master/archives/ [2020-12-11T21:58:49.417Z] + 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-11T21:58:49.472Z] 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-11T21:58:49.822Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:58:50.420Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-11T21:58:50.688Z] [2020-12-11T21:58:50.688Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-11T21:58:51.138Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-11T21:58:51.138Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-11T21:58:51.138Z] df20fa9351a1: Pulling fs layer [2020-12-11T21:58:51.138Z] 36b3adc4ff6f: Pulling fs layer [2020-12-11T21:58:51.138Z] 8ad3a11d3b57: Pulling fs layer [2020-12-11T21:58:51.138Z] 46f8f816bc3b: Pulling fs layer [2020-12-11T21:58:51.138Z] 93b61091891f: Pulling fs layer [2020-12-11T21:58:51.138Z] 93b9cdb0e59b: Pulling fs layer [2020-12-11T21:58:51.138Z] 5e14af77c1be: Pulling fs layer [2020-12-11T21:58:51.138Z] 01666e4c0597: Pulling fs layer [2020-12-11T21:58:51.138Z] aa168da1d23b: Pulling fs layer [2020-12-11T21:58:51.138Z] 93b9cdb0e59b: Waiting [2020-12-11T21:58:51.138Z] 5e14af77c1be: Waiting [2020-12-11T21:58:51.138Z] 01666e4c0597: Waiting [2020-12-11T21:58:51.138Z] aa168da1d23b: Waiting [2020-12-11T21:58:51.138Z] 46f8f816bc3b: Waiting [2020-12-11T21:58:51.138Z] 93b61091891f: Waiting [2020-12-11T21:58:51.426Z] 36b3adc4ff6f: Verifying Checksum [2020-12-11T21:58:51.426Z] 36b3adc4ff6f: Download complete [2020-12-11T21:58:51.426Z] 46f8f816bc3b: Verifying Checksum [2020-12-11T21:58:51.426Z] 46f8f816bc3b: Download complete [2020-12-11T21:58:51.426Z] df20fa9351a1: Verifying Checksum [2020-12-11T21:58:51.426Z] 93b9cdb0e59b: Download complete [2020-12-11T21:58:51.709Z] 5e14af77c1be: Verifying Checksum [2020-12-11T21:58:51.709Z] 5e14af77c1be: Download complete [2020-12-11T21:58:51.709Z] 01666e4c0597: Download complete [2020-12-11T21:58:51.709Z] 93b61091891f: Verifying Checksum [2020-12-11T21:58:51.709Z] 93b61091891f: Download complete [2020-12-11T21:58:52.296Z] df20fa9351a1: Pull complete [2020-12-11T21:58:52.634Z] 36b3adc4ff6f: Pull complete [2020-12-11T21:58:52.634Z] 8ad3a11d3b57: Verifying Checksum [2020-12-11T21:58:52.634Z] 8ad3a11d3b57: Download complete [2020-12-11T21:58:54.653Z] 8ad3a11d3b57: Pull complete [2020-12-11T21:58:54.653Z] 46f8f816bc3b: Pull complete [2020-12-11T21:58:55.660Z] 93b61091891f: Pull complete [2020-12-11T21:58:55.939Z] 93b9cdb0e59b: Pull complete [2020-12-11T21:58:56.210Z] 5e14af77c1be: Pull complete [2020-12-11T21:58:56.480Z] 01666e4c0597: Pull complete [2020-12-11T21:58:56.750Z] aa168da1d23b: Verifying Checksum [2020-12-11T21:58:56.750Z] aa168da1d23b: Download complete [2020-12-11T21:59:09.325Z] aa168da1d23b: Pull complete [2020-12-11T21:59:09.325Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-11T21:59:09.325Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-11T21:59:09.325Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-11T21:59:09.667Z] prd-centos7-docker-4c-2g-15623 does not seem to be running inside a container [2020-12-11T21:59:09.729Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-11T21:59:12.746Z] $ docker top de6f9592d38a18476a3fd8127e9a68a147df7250207d240255fc3351ac191022 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T21:59:13.720Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-11T21:59:14.085Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-11T21:59:14.482Z] + ls /var/log/sa-host [2020-12-11T21:59:14.482Z] + sadf -c /var/log/sa-host/sa11 [2020-12-11T21:59:14.482Z] file_magic: OK [2020-12-11T21:59:14.482Z] HZ: Using current value: 100 [2020-12-11T21:59:14.482Z] file_header: OK [2020-12-11T21:59:14.482Z] 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-11T21:59:14.482Z] Statistics: [2020-12-11T21:59:14.482Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-11T21:59:14.482Z] File successfully converted to sysstat format version 12.2.1 [2020-12-11T21:59:14.482Z] + sadf -c /var/log/sa-host/sa23 [2020-12-11T21:59:14.482Z] file_magic: OK [2020-12-11T21:59:14.482Z] HZ: Using current value: 100 [2020-12-11T21:59:14.482Z] file_header: OK [2020-12-11T21:59:14.482Z] 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-11T21:59:14.482Z] Statistics: [2020-12-11T21:59:14.482Z] Hnuu...uuuununununu... [2020-12-11T21:59:14.482Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-11T21:59:14.693Z] provisioning config files... [2020-12-11T21:59:14.711Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_master@tmp/config953756803623535694tmp [Pipeline] { [Pipeline] echo [2020-12-11T21:59:14.809Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T21:59:15.457Z] ---> create-netrc.sh [Pipeline] } [2020-12-11T21:59:15.483Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-11T21:59:15.607Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T21:59:15.937Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-11T21:59:15.956Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T21:59:16.291Z] ---> sudo-logs.sh [2020-12-11T21:59:16.291Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-11T21:59:16.323Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T21:59:16.654Z] ---> job-cost.sh [2020-12-11T21:59:16.654Z] lf-activate-venv: SKIPPING [2020-12-11T21:59:16.654Z] INFO: No Stack... [2020-12-11T21:59:18.060Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-11T21:59:18.647Z] INFO: Archiving Costs [Pipeline] echo [2020-12-11T21:59:18.664Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T21:59:18.978Z] ---> logs-deploy.sh [2020-12-11T21:59:18.978Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/master/67 [2020-12-11T21:59:18.978Z] INFO: archiving workspace using pattern(s): [2020-12-11T21:59:21.586Z] Archives upload complete. [2020-12-11T21:59:21.586Z] INFO: archiving logs to Nexus