Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 86d88bac0e9df45207bbfb278ff4ca70c5103128 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a5c854593eac886f27ddeefb8920871132e8ed78 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a5c854593eac886f27ddeefb8920871132e8ed78 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a5c854593eac886f27ddeefb8920871132e8ed78 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a5c854593eac886f27ddeefb8920871132e8ed78 # timeout=10 Commit message: "Merge pull request #303 from ernestojeda/fix-docker-login-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-14574 in /w/workspace/_app-service-configurable_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-service-configurable.git > git init /w/workspace/_app-service-configurable_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 86d88bac0e9df45207bbfb278ff4ca70c5103128 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 86d88bac0e9df45207bbfb278ff4ca70c5103128 # timeout=10 Commit message: "refactor: Remove use of deprecated MQTTSend (#145)" > git rev-list --no-walk 7f47c9eff9bdccc396688e395d48b7e5029db660 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:03:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:03:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:03:44 ========================================================= 00:03:44 EdgeX Global Pipelines Version Info 00:03:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:03:45 ------------------- 00:03:45 stable info: 00:03:45 ------------------- 00:03:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:03:45 Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 00:03:45 Message: update stable to v1.0.169 00:03:46 ------------------- 00:03:46 experimental info: 00:03:46 ------------------- 00:03:46 Commited By: **** collab-it+edgex@linuxfoundation.org 00:03:46 Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 00:03:46 Message: update experimental to v1.0.171 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:03:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 00:03:47 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 00:03:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:03:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:03:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:03:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:03:47 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:03:47 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:03:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:03:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:03:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:03:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-service-configurable [Pipeline] echo 00:03:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:03:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:03:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:03:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:03:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:03:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 00:03:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 00:03:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 00:03:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 86d88bac0e9df45207bbfb278ff4ca70c5103128 [Pipeline] echo 00:03:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 86d88ba [Pipeline] echo 00:03:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:03:50 provisioning config files... 00:03:50 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_master@tmp/config8224719483304401130tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:03:51 ---> docker-login.sh 00:03:51 nexus3.edgexfoundry.org:10001 00:03:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:03:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:03:51 Configure a credential helper to remove this warning. See 00:03:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:03:51 00:03:51 Login Succeeded 00:03:51 nexus3.edgexfoundry.org:10002 00:03:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:03:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:03:51 Configure a credential helper to remove this warning. See 00:03:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:03:51 00:03:51 Login Succeeded 00:03:51 nexus3.edgexfoundry.org:10003 00:03:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:03:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:03:51 Configure a credential helper to remove this warning. See 00:03:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:03:51 00:03:51 Login Succeeded 00:03:51 nexus3.edgexfoundry.org:10004 00:03:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:03:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:03:52 Configure a credential helper to remove this warning. See 00:03:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:03:52 00:03:52 Login Succeeded 00:03:52 docker.io 00:03:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:03:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:03:52 Configure a credential helper to remove this warning. See 00:03:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:03:52 00:03:52 Login Succeeded 00:03:52 ---> docker-login.sh ends [Pipeline] } 00:03:52 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 00:03:53 + git log --format=format:%s -1 86d88bac0e9df45207bbfb278ff4ca70c5103128 [Pipeline] echo 00:03:53 GIT_COMMIT: 86d88bac0e9df45207bbfb278ff4ca70c5103128, Commit Message: refactor: Remove use of deprecated MQTTSend (#145) [Pipeline] echo 00:03:53 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:03:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:03:54 00:03:54 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:03:54 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:03:54 latest: Pulling from edgex-devops/git-semver 00:03:54 31603596830f: Pulling fs layer 00:03:54 2a8b12db71e7: Pulling fs layer 00:03:54 6ca5941a6612: Pulling fs layer 00:03:54 ecc8261a40a4: Pulling fs layer 00:03:54 ecc8261a40a4: Waiting 00:03:54 2a8b12db71e7: Verifying Checksum 00:03:54 2a8b12db71e7: Download complete 00:03:54 31603596830f: Verifying Checksum 00:03:54 31603596830f: Download complete 00:03:54 ecc8261a40a4: Verifying Checksum 00:03:54 ecc8261a40a4: Download complete 00:03:54 6ca5941a6612: Verifying Checksum 00:03:54 6ca5941a6612: Download complete 00:03:55 31603596830f: Pull complete 00:03:55 2a8b12db71e7: Pull complete 00:03:55 6ca5941a6612: Pull complete 00:03:56 ecc8261a40a4: Pull complete 00:03:56 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:03:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:03:56 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:03:56 prd-centos7-docker-4c-2g-14574 does not seem to be running inside a container 00:03:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_master -v /w/workspace/_app-service-configurable_master:/w/workspace/_app-service-configurable_master:rw,z -v /w/workspace/_app-service-configurable_master@tmp:/w/workspace/_app-service-configurable_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:03:59 $ docker top 60d213248b1f0d3c14797e6d6f426b14d9e1592607ef75b156b478d2bdbfdedb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:03:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:03:59 [ssh-agent] Looking for ssh-agent implementation... 00:03:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:03:59 $ docker exec 60d213248b1f0d3c14797e6d6f426b14d9e1592607ef75b156b478d2bdbfdedb ssh-agent 00:04:00 SSH_AUTH_SOCK=/tmp/ssh-yPEv2EGIooE7/agent.12 00:04:00 SSH_AGENT_PID=17 00:04:00 Running ssh-add (command line suppressed) 00:04:00 Identity added: /w/workspace/_app-service-configurable_master@tmp/private_key_3421900142639975201.key (/w/workspace/_app-service-configurable_master@tmp/private_key_3421900142639975201.key) 00:04:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:04:00 + git tag --points-at HEAD [Pipeline] } 00:04:00 $ docker exec --env ******** --env ******** 60d213248b1f0d3c14797e6d6f426b14d9e1592607ef75b156b478d2bdbfdedb ssh-agent -k 00:04:00 unset SSH_AUTH_SOCK; 00:04:00 unset SSH_AGENT_PID; 00:04:00 echo Agent pid 17 killed; 00:04:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:04:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:04:01 [ssh-agent] Looking for ssh-agent implementation... 00:04:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:04:01 $ docker exec 60d213248b1f0d3c14797e6d6f426b14d9e1592607ef75b156b478d2bdbfdedb ssh-agent 00:04:01 SSH_AUTH_SOCK=/tmp/ssh-991rkqzKnXfb/agent.48 00:04:01 SSH_AGENT_PID=53 00:04:01 Running ssh-add (command line suppressed) 00:04:01 Identity added: /w/workspace/_app-service-configurable_master@tmp/private_key_967253780431003202.key (/w/workspace/_app-service-configurable_master@tmp/private_key_967253780431003202.key) 00:04:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:04:01 + git semver init 00:04:01 # -> Open(): unable to determine branch for HEAD 00:04:01 # $GIT_DIR = /w/workspace/_app-service-configurable_master/.git 00:04:01 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_master 00:04:01 # $SEMVER_REMOTE_NAME = origin 00:04:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:04:01 # $SEMVER_USER_NAME = edgex-jenkins 00:04:01 # $SEMVER_BRANCH = master 00:04:01 # $SEMVER_TEMP = /tmp/semver-586566528 00:04:01 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 00:04:02 # '/tmp/semver-586566528' -> '/w/workspace/_app-service-configurable_master/.semver' 00:04:02 # -> Force: false 00:04:02 # $SEMVER_DIR = /w/workspace/_app-service-configurable_master/.semver [Pipeline] } 00:04:02 $ docker exec --env ******** --env ******** 60d213248b1f0d3c14797e6d6f426b14d9e1592607ef75b156b478d2bdbfdedb ssh-agent -k 00:04:02 unset SSH_AUTH_SOCK; 00:04:02 unset SSH_AGENT_PID; 00:04:02 echo Agent pid 53 killed; 00:04:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:04:03 + git semver [Pipeline] } 00:04:03 $ docker stop --time=1 60d213248b1f0d3c14797e6d6f426b14d9e1592607ef75b156b478d2bdbfdedb 00:04:04 $ docker rm -f 60d213248b1f0d3c14797e6d6f426b14d9e1592607ef75b156b478d2bdbfdedb [Pipeline] // withDockerContainer [Pipeline] sh 00:04:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:04:05 Stashed 1 file(s) [Pipeline] echo 00:04:05 [edgeXSemver]: initialized semver on version 2.0.0-dev.2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 00:04:21 Still waiting to schedule task 00:04:21 ‘prd-centos7-builder-2c-1g-14365’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-14576’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ doesn’t have label ‘centos7-docker-4c-2g’ 00:04:21 Still waiting to schedule task 00:04:21 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 00:06:11 Running on prd-centos7-docker-4c-2g-14577 in /w/workspace/_app-service-configurable_master [Pipeline] { [Pipeline] ws 00:06:11 Running in /w/workspace/app-service-configurable/65 [Pipeline] { [Pipeline] checkout 00:06:13 using credential edgex-jenkins-ssh 00:06:13 Cloning the remote Git repository 00:06:13 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 00:06:13 > git init /w/workspace/app-service-configurable/65 # timeout=10 00:06:13 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 00:06:13 > git --version # timeout=10 00:06:13 > git --version # 'git version 2.24.3' 00:06:13 using GIT_SSH to set credentials SSH Credentials for GitHub 00:06:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:06:14 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 00:06:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:06:14 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 00:06:14 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 00:06:14 using GIT_SSH to set credentials SSH Credentials for GitHub 00:06:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/master:refs/remotes/origin/master # timeout=10 00:06:14 Checking out Revision 86d88bac0e9df45207bbfb278ff4ca70c5103128 (master) 00:06:14 > git config core.sparsecheckout # timeout=10 00:06:14 > git checkout -f 86d88bac0e9df45207bbfb278ff4ca70c5103128 # timeout=10 00:06:18 Commit message: "refactor: Remove use of deprecated MQTTSend (#145)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:06:20 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:06:20 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:06:20 + sudo service docker restart 00:06:20 + true 00:06:20 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:06:21 provisioning config files... 00:06:21 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/65@tmp/config9054229034278897107tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:06:22 ---> docker-login.sh 00:06:22 nexus3.edgexfoundry.org:10001 00:06:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:22 Configure a credential helper to remove this warning. See 00:06:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:22 00:06:22 Login Succeeded 00:06:22 nexus3.edgexfoundry.org:10002 00:06:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:22 Configure a credential helper to remove this warning. See 00:06:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:22 00:06:22 Login Succeeded 00:06:22 nexus3.edgexfoundry.org:10003 00:06:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:22 Configure a credential helper to remove this warning. See 00:06:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:22 00:06:22 Login Succeeded 00:06:22 nexus3.edgexfoundry.org:10004 00:06:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:23 Configure a credential helper to remove this warning. See 00:06:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:23 00:06:23 Login Succeeded 00:06:23 docker.io 00:06:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:23 Configure a credential helper to remove this warning. See 00:06:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:23 00:06:23 Login Succeeded 00:06:23 ---> docker-login.sh ends [Pipeline] } 00:06:23 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:06:24 ========================================================= 00:06:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:06:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:06:24 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 00:06:24 Sending build context to Docker daemon 96.77kB 00:06:24 Step 1/8 : ARG BASE=golang:1.15-alpine 00:06:24 Step 2/8 : FROM ${BASE} 00:06:24 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:06:24 188c0c94c7c5: Pulling fs layer 00:06:24 0ef7d3d256c8: Pulling fs layer 00:06:24 de9db76c5a1d: Pulling fs layer 00:06:24 bca2f99d35d6: Pulling fs layer 00:06:24 93359f2a8cfa: Pulling fs layer 00:06:24 7c6f9722023f: Pulling fs layer 00:06:24 a35cf1a2eb13: Pulling fs layer 00:06:24 bca2f99d35d6: Waiting 00:06:24 93359f2a8cfa: Waiting 00:06:24 7c6f9722023f: Waiting 00:06:24 a35cf1a2eb13: Waiting 00:06:24 de9db76c5a1d: Verifying Checksum 00:06:24 de9db76c5a1d: Download complete 00:06:24 0ef7d3d256c8: Verifying Checksum 00:06:24 0ef7d3d256c8: Download complete 00:06:24 93359f2a8cfa: Verifying Checksum 00:06:24 93359f2a8cfa: Download complete 00:06:24 188c0c94c7c5: Download complete 00:06:24 7c6f9722023f: Verifying Checksum 00:06:24 7c6f9722023f: Download complete 00:06:25 188c0c94c7c5: Pull complete 00:06:25 0ef7d3d256c8: Pull complete 00:06:25 de9db76c5a1d: Pull complete 00:06:26 a35cf1a2eb13: Verifying Checksum 00:06:26 a35cf1a2eb13: Download complete 00:06:27 bca2f99d35d6: Verifying Checksum 00:06:27 bca2f99d35d6: Download complete 00:06:33 bca2f99d35d6: Pull complete 00:06:33 93359f2a8cfa: Pull complete 00:06:33 7c6f9722023f: Pull complete 00:06:38 a35cf1a2eb13: Pull complete 00:06:38 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:06:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:06:38 ---> a62c8e92a672 00:06:38 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:06:38 ---> Running in fbc6689a4532 00:06:38 Removing intermediate container fbc6689a4532 00:06:38 ---> d078de1bf992 00:06:38 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:06:38 ---> Running in b377c26f5d9c 00:06:39 Removing intermediate container b377c26f5d9c 00:06:39 ---> 194ec6a714dd 00:06:39 Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash 00:06:39 ---> Running in 92617d5c8e74 00:06:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:06:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:06:41 (1/6) Installing libc-dev (0.7.2-r3) 00:06:41 (2/6) Installing libsodium (1.0.18-r0) 00:06:41 (3/6) Installing pkgconf (1.7.2-r0) 00:06:41 (4/6) Installing libsodium-dev (1.0.18-r0) 00:06:41 (5/6) Installing libzmq (4.3.3-r0) 00:06:41 (6/6) Installing zeromq-dev (4.3.3-r0) 00:06:41 Executing busybox-1.31.1-r19.trigger 00:06:42 OK: 167 MiB in 45 packages 00:06:42 Removing intermediate container 92617d5c8e74 00:06:42 ---> 181108faead6 00:06:42 Step 6/8 : WORKDIR /app 00:06:42 ---> Running in 3827d825a0db 00:06:42 Removing intermediate container 3827d825a0db 00:06:42 ---> d450754afe6b 00:06:42 Step 7/8 : COPY . . 00:06:42 ---> 98bba270de7d 00:06:42 Step 8/8 : RUN go mod download 00:06:43 ---> Running in 54d9b2b6ff0b 00:07:09 Removing intermediate container 54d9b2b6ff0b 00:07:09 ---> 17ff57da42c4 00:07:09 Successfully built 17ff57da42c4 00:07:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:07:10 + docker inspect -f . ci-base-image-x86_64 00:07:10 . [Pipeline] withDockerContainer 00:07:10 prd-centos7-docker-4c-2g-14577 does not seem to be running inside a container 00:07:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/65 -v /w/workspace/app-service-configurable/65:/w/workspace/app-service-configurable/65:rw,z -v /w/workspace/app-service-configurable/65@tmp:/w/workspace/app-service-configurable/65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:07:11 $ docker top 9bc4808be325e20dd0e29b7cbda59384ecd4dea9f24c1f8ee1ce71a67c78b441 -eo pid,comm [Pipeline] { [Pipeline] sh 00:07:12 + go version 00:07:12 go version go1.15.5 linux/amd64 [Pipeline] } 00:07:12 $ docker stop --time=1 9bc4808be325e20dd0e29b7cbda59384ecd4dea9f24c1f8ee1ce71a67c78b441 00:07:13 $ docker rm -f 9bc4808be325e20dd0e29b7cbda59384ecd4dea9f24c1f8ee1ce71a67c78b441 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:07:14 Running on prd-ubuntu18.04-docker-arm64-4c-16g-14578 in /w/workspace/_app-service-configurable_master [Pipeline] { [Pipeline] ws 00:07:14 Running in /w/workspace/app-service-configurable/65 [Pipeline] { [Pipeline] checkout 00:07:14 + docker inspect -f . ci-base-image-x86_64 00:07:14 . [Pipeline] withDockerContainer 00:07:14 prd-centos7-docker-4c-2g-14577 does not seem to be running inside a container 00:07:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/65 -v /w/workspace/app-service-configurable/65:/w/workspace/app-service-configurable/65:rw,z -v /w/workspace/app-service-configurable/65@tmp:/w/workspace/app-service-configurable/65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:07:15 $ docker top ba124a0d5b1525c2576ea797cd4268ce89ec5832adc3fee1b6011f8d486915f5 -eo pid,comm [Pipeline] { [Pipeline] sh 00:07:15 + make test 00:07:15 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 00:07:19 using credential edgex-jenkins-ssh 00:07:19 Cloning the remote Git repository 00:07:19 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 00:07:19 > git init /w/workspace/app-service-configurable/65 # timeout=10 00:07:19 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 00:07:19 > git --version # timeout=10 00:07:19 > git --version # 'git version 2.17.1' 00:07:19 using GIT_SSH to set credentials SSH Credentials for GitHub 00:07:19 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:07:21 Checking out Revision 86d88bac0e9df45207bbfb278ff4ca70c5103128 (master) 00:07:20 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 00:07:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:07:20 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 00:07:20 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 00:07:20 using GIT_SSH to set credentials SSH Credentials for GitHub 00:07:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/master:refs/remotes/origin/master # timeout=10 00:07:21 > git config core.sparsecheckout # timeout=10 00:07:21 > git checkout -f 86d88bac0e9df45207bbfb278ff4ca70c5103128 # timeout=10 00:07:25 Commit message: "refactor: Remove use of deprecated MQTTSend (#145)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:07:27 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:07:28 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:07:28 + sudo service docker restart 00:07:28 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:07:31 provisioning config files... 00:07:31 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/65@tmp/config3658393140440888438tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:07:31 ---> docker-login.sh 00:07:31 nexus3.edgexfoundry.org:10001 00:07:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:32 Configure a credential helper to remove this warning. See 00:07:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:32 00:07:32 Login Succeeded 00:07:32 nexus3.edgexfoundry.org:10002 00:07:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:33 Configure a credential helper to remove this warning. See 00:07:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:33 00:07:33 Login Succeeded 00:07:33 nexus3.edgexfoundry.org:10003 00:07:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:33 Configure a credential helper to remove this warning. See 00:07:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:33 00:07:33 Login Succeeded 00:07:33 nexus3.edgexfoundry.org:10004 00:07:34 ? github.com/edgexfoundry/app-service-configurable [no test files] 00:07:34 CGO_ENABLED=1 go vet ./... 00:07:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:34 Configure a credential helper to remove this warning. See 00:07:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:34 00:07:34 Login Succeeded 00:07:34 docker.io 00:07:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:35 Configure a credential helper to remove this warning. See 00:07:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:35 00:07:35 Login Succeeded 00:07:35 ---> docker-login.sh ends [Pipeline] } 00:07:35 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:07:35 ========================================================= 00:07:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:07:35 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:07:36 + 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 . 00:07:36 Sending build context to Docker daemon 96.77kB 00:07:36 Step 1/8 : ARG BASE=golang:1.15-alpine 00:07:36 Step 2/8 : FROM ${BASE} 00:07:36 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:07:36 5f621e34cdf4: Pulling fs layer 00:07:36 a4357932f1b6: Pulling fs layer 00:07:36 18c013af1878: Pulling fs layer 00:07:36 00ac8860ef70: Pulling fs layer 00:07:36 63d7cb157983: Pulling fs layer 00:07:36 b116817d02f9: Pulling fs layer 00:07:36 745a02a5169b: Pulling fs layer 00:07:36 00ac8860ef70: Waiting 00:07:36 63d7cb157983: Waiting 00:07:36 b116817d02f9: Waiting 00:07:36 745a02a5169b: Waiting 00:07:36 18c013af1878: Download complete 00:07:36 a4357932f1b6: Verifying Checksum 00:07:36 a4357932f1b6: Download complete 00:07:36 63d7cb157983: Verifying Checksum 00:07:36 63d7cb157983: Download complete 00:07:36 b116817d02f9: Download complete 00:07:36 5f621e34cdf4: Verifying Checksum 00:07:36 5f621e34cdf4: Download complete 00:07:37 5f621e34cdf4: Pull complete 00:07:37 gofmt -l . 00:07:37 [ "`gofmt -l .`" = "" ] 00:07:37 ./bin/test-go-mod-tidy.sh 00:07:37 ./bin/test-attribution-txt.sh 00:07:38 a4357932f1b6: Pull complete 00:07:38 18c013af1878: Pull complete [Pipeline] } 00:07:38 $ docker stop --time=1 ba124a0d5b1525c2576ea797cd4268ce89ec5832adc3fee1b6011f8d486915f5 00:07:40 $ docker rm -f ba124a0d5b1525c2576ea797cd4268ce89ec5832adc3fee1b6011f8d486915f5 00:07:40 745a02a5169b: Verifying Checksum 00:07:40 745a02a5169b: Download complete [Pipeline] // withDockerContainer [Pipeline] sh 00:07:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:07:40 00ac8860ef70: Download complete 00:07:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:07:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:07:44 + ls -al . 00:07:44 total 88 00:07:44 drwxrwxr-x. 7 jenkins jenkins 4096 Dec 5 00:07 . 00:07:44 drwxrwxr-x. 4 jenkins jenkins 30 Dec 5 00:06 .. 00:07:44 -rw-rw-r--. 1 jenkins jenkins 6568 Dec 5 00:06 Attribution.txt 00:07:44 drwxrwxr-x. 2 jenkins jenkins 64 Dec 5 00:06 bin 00:07:44 -rw-r--r--. 1 jenkins jenkins 10 Dec 5 00:07 coverage.out 00:07:44 -rw-rw-r--. 1 jenkins jenkins 2002 Dec 5 00:06 Dockerfile 00:07:44 -rw-rw-r--. 1 jenkins jenkins 966 Dec 5 00:06 Dockerfile.build 00:07:44 -rw-rw-r--. 1 jenkins jenkins 119 Dec 5 00:06 .dockerignore 00:07:44 drwxrwxr-x. 8 jenkins jenkins 162 Dec 5 00:06 .git 00:07:44 drwxrwxr-x. 2 jenkins jenkins 81 Dec 5 00:06 .github 00:07:44 -rw-rw-r--. 1 jenkins jenkins 93 Dec 5 00:06 .gitignore 00:07:44 -rw-r--r--. 1 jenkins jenkins 132 Dec 5 00:07 go.mod 00:07:44 -rw-r--r--. 1 jenkins jenkins 19665 Dec 5 00:07 go.sum 00:07:44 -rw-rw-r--. 1 jenkins jenkins 687 Dec 5 00:06 Jenkinsfile 00:07:44 -rw-rw-r--. 1 jenkins jenkins 10174 Dec 5 00:06 LICENSE 00:07:44 -rw-rw-r--. 1 jenkins jenkins 1519 Dec 5 00:06 main.go 00:07:44 -rw-rw-r--. 1 jenkins jenkins 1573 Dec 5 00:06 makefile 00:07:44 -rw-rw-r--. 1 jenkins jenkins 1277 Dec 5 00:06 README.md 00:07:44 drwxrwxr-x. 10 jenkins jenkins 171 Dec 5 00:06 res 00:07:44 drwxrwxr-x. 4 jenkins jenkins 71 Dec 5 00:06 snap 00:07:44 -rw-rw-r--. 1 jenkins jenkins 11 Dec 5 00:04 VERSION [Pipeline] isUnix [Pipeline] sh 00:07:44 + docker build -t docker-app-service-configurable -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=86d88bac0e9df45207bbfb278ff4ca70c5103128 --label arch=amd64 --label version=2.0.0-dev.2 . 00:07:44 Sending build context to Docker daemon 119.3kB 00:07:44 Step 1/27 : ARG BASE=golang:1.15-alpine 00:07:44 Step 2/27 : FROM ${BASE} AS builder 00:07:44 ---> 17ff57da42c4 00:07:44 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 00:07:44 ---> Running in 08b3076729ea 00:07:45 Removing intermediate container 08b3076729ea 00:07:45 ---> 96eaf708e062 00:07:45 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 00:07:45 ---> Running in fe44f261cf52 00:07:45 Removing intermediate container fe44f261cf52 00:07:45 ---> d6b403844532 00:07:45 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:07:45 ---> Running in 69d7cafdcdb4 00:07:45 Removing intermediate container 69d7cafdcdb4 00:07:45 ---> dde8293a63db 00:07:45 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:07:45 ---> Running in 3e81f617dd07 00:07:46 Removing intermediate container 3e81f617dd07 00:07:46 ---> f3a59cb1bdd9 00:07:46 Step 7/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:07:46 ---> Running in d224142dfdf0 00:07:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:07:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:07:49 OK: 167 MiB in 45 packages 00:07:49 Removing intermediate container d224142dfdf0 00:07:49 ---> a1cda32b4dc6 00:07:49 Step 8/27 : WORKDIR /app 00:07:49 ---> Running in 7911a2a22a3a 00:07:49 Removing intermediate container 7911a2a22a3a 00:07:49 ---> c930a947ae41 00:07:49 Step 9/27 : COPY go.mod . 00:07:49 ---> 8be9b51ba728 00:07:49 Step 10/27 : RUN go mod download 00:07:49 ---> Running in ebdb82142bc3 00:07:50 Removing intermediate container ebdb82142bc3 00:07:50 ---> d8532f62382e 00:07:50 Step 11/27 : COPY . . 00:07:51 00ac8860ef70: Pull complete 00:07:51 ---> f426a276306a 00:07:51 Step 12/27 : ARG MAKE="make build" 00:07:51 ---> Running in 262bef782eda 00:07:51 Removing intermediate container 262bef782eda 00:07:51 ---> 6eebda4e9fd0 00:07:51 Step 13/27 : RUN $MAKE 00:07:51 ---> Running in fd0456a3818e 00:07:51 63d7cb157983: Pull complete 00:07:51 b116817d02f9: Pull complete 00:07:51 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/internal.SDKVersion=v1.3.1-dev.3 -X github.com/edgexfoundry/app-functions-sdk-go/internal.ApplicationVersion=2.0.0-dev.2" -o app-service-configurable 00:07:56 745a02a5169b: Pull complete 00:07:56 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:07:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:07:56 ---> b7e6874047d6 00:07:56 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:07:58 ---> Running in d7d7f0ace8a7 00:07:58 Removing intermediate container d7d7f0ace8a7 00:07:58 ---> 92a8e6d6ca97 00:07:58 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:07:58 ---> Running in a8aee02ff55c 00:08:00 Removing intermediate container a8aee02ff55c 00:08:00 ---> ef8a436f82b1 00:08:00 Step 5/8 : RUN apk add --no-cache make git gcc libc-dev libsodium-dev zeromq-dev bash 00:08:00 ---> Running in d8f0c11d70ad 00:08:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:08:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:08:03 (1/6) Installing libc-dev (0.7.2-r3) 00:08:03 (2/6) Installing libsodium (1.0.18-r0) 00:08:04 (3/6) Installing pkgconf (1.7.2-r0) 00:08:04 (4/6) Installing libsodium-dev (1.0.18-r0) 00:08:04 (5/6) Installing libzmq (4.3.3-r0) 00:08:04 (6/6) Installing zeromq-dev (4.3.3-r0) 00:08:04 Executing busybox-1.31.1-r19.trigger 00:08:04 OK: 144 MiB in 45 packages 00:08:05 Removing intermediate container d8f0c11d70ad 00:08:05 ---> 30886aef25af 00:08:05 Step 6/8 : WORKDIR /app 00:08:05 ---> Running in cbeea2d07036 00:08:06 Removing intermediate container cbeea2d07036 00:08:06 ---> 15b48d6ca8aa 00:08:06 Step 7/8 : COPY . . 00:08:07 ---> c7504ead14dc 00:08:07 Step 8/8 : RUN go mod download 00:08:07 ---> Running in 9ff7fa78e917 00:08:10 Removing intermediate container fd0456a3818e 00:08:10 ---> 79ce9d382372 00:08:10 Step 14/27 : FROM alpine:latest 00:08:10 latest: Pulling from library/alpine 00:08:10 188c0c94c7c5: Already exists 00:08:10 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 00:08:10 Status: Downloaded newer image for alpine:latest 00:08:10 ---> d6e46aa2470d 00:08:10 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:08:10 ---> Running in 91e6d26e1564 00:08:10 Removing intermediate container 91e6d26e1564 00:08:10 ---> cf1981059da9 00:08:10 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 00:08:10 ---> Running in c3ef1f417f95 00:08:11 Removing intermediate container c3ef1f417f95 00:08:11 ---> dd42239336ba 00:08:11 Step 17/27 : RUN apk --no-cache add ca-certificates zeromq 00:08:11 ---> Running in d0284456bb4c 00:08:11 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:08:11 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:08:11 (1/6) Installing ca-certificates (20191127-r4) 00:08:12 (2/6) Installing libgcc (9.3.0-r2) 00:08:12 (3/6) Installing libsodium (1.0.18-r0) 00:08:12 (4/6) Installing libstdc++ (9.3.0-r2) 00:08:12 (5/6) Installing libzmq (4.3.3-r0) 00:08:12 (6/6) Installing zeromq (4.3.3-r0) 00:08:12 Executing busybox-1.31.1-r19.trigger 00:08:12 Executing ca-certificates-20191127-r4.trigger 00:08:12 OK: 9 MiB in 20 packages 00:08:13 Removing intermediate container d0284456bb4c 00:08:13 ---> c86481bdf32e 00:08:13 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 00:08:13 ---> b3541072867d 00:08:13 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 00:08:14 ---> d957af2265f4 00:08:14 Step 20/27 : COPY --from=builder /app/res/ /res/ 00:08:14 ---> ae21535e48ed 00:08:14 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 00:08:14 ---> 800d823ccf0f 00:08:14 Step 22/27 : EXPOSE 48095 00:08:15 ---> Running in 899f299f5faf 00:08:15 Removing intermediate container 899f299f5faf 00:08:15 ---> 2724f23ae3a9 00:08:15 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 00:08:15 ---> Running in ec9616daa126 00:08:15 Removing intermediate container ec9616daa126 00:08:15 ---> f23e08cc401a 00:08:15 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:08:15 ---> Running in 92891d1be8bf 00:08:15 Removing intermediate container 92891d1be8bf 00:08:15 ---> bce05fe4dfb6 00:08:15 Step 25/27 : LABEL arch=amd64 00:08:15 ---> Running in 31bc4e980438 00:08:15 Removing intermediate container 31bc4e980438 00:08:15 ---> 9a81a86d176e 00:08:15 Step 26/27 : LABEL git_sha=86d88bac0e9df45207bbfb278ff4ca70c5103128 00:08:15 ---> Running in a389198adc7f 00:08:16 Removing intermediate container a389198adc7f 00:08:16 ---> f9c43fa6ac0d 00:08:16 Step 27/27 : LABEL version=2.0.0-dev.2 00:08:16 ---> Running in 25014462de42 00:08:16 Removing intermediate container 25014462de42 00:08:16 ---> bdab8fffc2bc 00:08:16 [Warning] One or more build-args [ARCH] were not consumed 00:08:16 Successfully built bdab8fffc2bc 00:08:16 Successfully tagged docker-app-service-configurable:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:08:16 provisioning config files... 00:08:16 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/65@tmp/config1987573917567178433tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:08:17 ---> docker-login.sh 00:08:17 nexus3.edgexfoundry.org:10001 00:08:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:17 Configure a credential helper to remove this warning. See 00:08:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:17 00:08:17 Login Succeeded 00:08:17 nexus3.edgexfoundry.org:10002 00:08:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:17 Configure a credential helper to remove this warning. See 00:08:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:17 00:08:17 Login Succeeded 00:08:17 nexus3.edgexfoundry.org:10003 00:08:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:17 Configure a credential helper to remove this warning. See 00:08:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:17 00:08:17 Login Succeeded 00:08:17 nexus3.edgexfoundry.org:10004 00:08:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:18 Configure a credential helper to remove this warning. See 00:08:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:18 00:08:18 Login Succeeded 00:08:18 docker.io 00:08:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:18 Configure a credential helper to remove this warning. See 00:08:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:18 00:08:18 Login Succeeded 00:08:18 ---> docker-login.sh ends [Pipeline] } 00:08:18 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:08:18 [edgeXDocker.push] Tagging docker image docker-app-service-configurable with the following tags: 00:08:18 86d88bac0e9df45207bbfb278ff4ca70c5103128 00:08:18 latest 00:08:18 2.0.0-dev.2 00:08:18 86d88bac0e9df45207bbfb278ff4ca70c5103128-2.0.0-dev.2 00:08:18 master 00:08:18 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:08:19 + docker tag docker-app-service-configurable nexus3.edgexfoundry.org:10004/docker-app-service-configurable:86d88bac0e9df45207bbfb278ff4ca70c5103128 [Pipeline] isUnix [Pipeline] sh 00:08:19 + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable:86d88bac0e9df45207bbfb278ff4ca70c5103128 00:08:19 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable] 00:08:19 7adfcae8d9a6: Preparing 00:08:19 ccaa92f900cf: Preparing 00:08:19 62b14fec258f: Preparing 00:08:19 6cad74530fcb: Preparing 00:08:19 1291fa5bea1d: Preparing 00:08:19 ace0eda3e3be: Preparing 00:08:19 ace0eda3e3be: Waiting 00:08:19 62b14fec258f: Pushed 00:08:19 ccaa92f900cf: Pushed 00:08:19 6cad74530fcb: Pushed 00:08:19 ace0eda3e3be: Layer already exists 00:08:19 1291fa5bea1d: Pushed 00:08:21 7adfcae8d9a6: Pushed 00:08:21 86d88bac0e9df45207bbfb278ff4ca70c5103128: digest: sha256:1ab25edf6b58a2f8ceac3e0032499328a4fb15d14f5565f6dce55b1cafc430df size: 1574 [Pipeline] isUnix [Pipeline] sh 00:08:21 + docker tag docker-app-service-configurable nexus3.edgexfoundry.org:10004/docker-app-service-configurable:latest [Pipeline] isUnix [Pipeline] sh 00:08:21 + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable:latest 00:08:21 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable] 00:08:21 7adfcae8d9a6: Preparing 00:08:21 ccaa92f900cf: Preparing 00:08:21 62b14fec258f: Preparing 00:08:21 6cad74530fcb: Preparing 00:08:21 1291fa5bea1d: Preparing 00:08:21 ace0eda3e3be: Preparing 00:08:21 ace0eda3e3be: Waiting 00:08:21 7adfcae8d9a6: Layer already exists 00:08:21 ccaa92f900cf: Layer already exists 00:08:21 1291fa5bea1d: Layer already exists 00:08:21 6cad74530fcb: Layer already exists 00:08:21 62b14fec258f: Layer already exists 00:08:21 ace0eda3e3be: Layer already exists 00:08:21 latest: digest: sha256:1ab25edf6b58a2f8ceac3e0032499328a4fb15d14f5565f6dce55b1cafc430df size: 1574 [Pipeline] isUnix [Pipeline] sh 00:08:22 + docker tag docker-app-service-configurable nexus3.edgexfoundry.org:10004/docker-app-service-configurable:2.0.0-dev.2 [Pipeline] isUnix [Pipeline] sh 00:08:22 + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable:2.0.0-dev.2 00:08:22 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable] 00:08:22 7adfcae8d9a6: Preparing 00:08:22 ccaa92f900cf: Preparing 00:08:22 62b14fec258f: Preparing 00:08:22 6cad74530fcb: Preparing 00:08:22 1291fa5bea1d: Preparing 00:08:22 ace0eda3e3be: Preparing 00:08:22 ace0eda3e3be: Waiting 00:08:22 6cad74530fcb: Layer already exists 00:08:22 7adfcae8d9a6: Layer already exists 00:08:22 1291fa5bea1d: Layer already exists 00:08:22 62b14fec258f: Layer already exists 00:08:22 ccaa92f900cf: Layer already exists 00:08:22 ace0eda3e3be: Layer already exists 00:08:22 2.0.0-dev.2: digest: sha256:1ab25edf6b58a2f8ceac3e0032499328a4fb15d14f5565f6dce55b1cafc430df size: 1574 [Pipeline] isUnix [Pipeline] sh 00:08:22 + docker tag docker-app-service-configurable nexus3.edgexfoundry.org:10004/docker-app-service-configurable:86d88bac0e9df45207bbfb278ff4ca70c5103128-2.0.0-dev.2 [Pipeline] isUnix [Pipeline] sh 00:08:23 + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable:86d88bac0e9df45207bbfb278ff4ca70c5103128-2.0.0-dev.2 00:08:23 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable] 00:08:23 7adfcae8d9a6: Preparing 00:08:23 ccaa92f900cf: Preparing 00:08:23 62b14fec258f: Preparing 00:08:23 6cad74530fcb: Preparing 00:08:23 1291fa5bea1d: Preparing 00:08:23 ace0eda3e3be: Preparing 00:08:23 ace0eda3e3be: Waiting 00:08:23 62b14fec258f: Layer already exists 00:08:23 ccaa92f900cf: Layer already exists 00:08:23 6cad74530fcb: Layer already exists 00:08:23 1291fa5bea1d: Layer already exists 00:08:23 7adfcae8d9a6: Layer already exists 00:08:23 ace0eda3e3be: Layer already exists 00:08:23 86d88bac0e9df45207bbfb278ff4ca70c5103128-2.0.0-dev.2: digest: sha256:1ab25edf6b58a2f8ceac3e0032499328a4fb15d14f5565f6dce55b1cafc430df size: 1574 [Pipeline] isUnix [Pipeline] sh 00:08:23 + docker tag docker-app-service-configurable nexus3.edgexfoundry.org:10004/docker-app-service-configurable:master [Pipeline] isUnix [Pipeline] sh 00:08:23 + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable:master 00:08:23 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable] 00:08:23 7adfcae8d9a6: Preparing 00:08:23 ccaa92f900cf: Preparing 00:08:23 62b14fec258f: Preparing 00:08:23 6cad74530fcb: Preparing 00:08:23 1291fa5bea1d: Preparing 00:08:23 ace0eda3e3be: Preparing 00:08:23 ace0eda3e3be: Waiting 00:08:23 6cad74530fcb: Layer already exists 00:08:23 1291fa5bea1d: Layer already exists 00:08:23 ccaa92f900cf: Layer already exists 00:08:23 7adfcae8d9a6: Layer already exists 00:08:23 62b14fec258f: Layer already exists 00:08:23 ace0eda3e3be: Layer already exists 00:08:23 master: digest: sha256:1ab25edf6b58a2f8ceac3e0032499328a4fb15d14f5565f6dce55b1cafc430df size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:08:23 ===================================================== [Pipeline] echo 00:08:24 taggedImages: 00:08:24 - nexus3.edgexfoundry.org:10004/docker-app-service-configurable:86d88bac0e9df45207bbfb278ff4ca70c5103128 00:08:24 - nexus3.edgexfoundry.org:10004/docker-app-service-configurable:latest 00:08:24 - nexus3.edgexfoundry.org:10004/docker-app-service-configurable:2.0.0-dev.2 00:08:24 - nexus3.edgexfoundry.org:10004/docker-app-service-configurable:86d88bac0e9df45207bbfb278ff4ca70c5103128-2.0.0-dev.2 00:08:24 - nexus3.edgexfoundry.org:10004/docker-app-service-configurable:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:08:33 Removing intermediate container 9ff7fa78e917 00:08:33 ---> ef84bb145f94 00:08:33 Successfully built ef84bb145f94 00:08:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:08:34 + docker inspect -f . ci-base-image-arm64 00:08:34 . [Pipeline] withDockerContainer 00:08:34 prd-ubuntu18.04-docker-arm64-4c-16g-14578 does not seem to be running inside a container 00:08:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/65 -v /w/workspace/app-service-configurable/65:/w/workspace/app-service-configurable/65:rw,z -v /w/workspace/app-service-configurable/65@tmp:/w/workspace/app-service-configurable/65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:08:35 $ docker top b8f0533a7cb0094d5f19f6753528dc911e6da0e36c6fd441a97e8af974253f45 -eo pid,comm [Pipeline] { [Pipeline] sh 00:08:36 + go version 00:08:36 go version go1.15.5 linux/arm64 [Pipeline] } 00:08:36 $ docker stop --time=1 b8f0533a7cb0094d5f19f6753528dc911e6da0e36c6fd441a97e8af974253f45 00:08:38 $ docker rm -f b8f0533a7cb0094d5f19f6753528dc911e6da0e36c6fd441a97e8af974253f45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:08:39 + docker inspect -f . ci-base-image-arm64 00:08:39 . [Pipeline] withDockerContainer 00:08:39 prd-ubuntu18.04-docker-arm64-4c-16g-14578 does not seem to be running inside a container 00:08:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/65 -v /w/workspace/app-service-configurable/65:/w/workspace/app-service-configurable/65:rw,z -v /w/workspace/app-service-configurable/65@tmp:/w/workspace/app-service-configurable/65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:08:41 $ docker top 849874738c44e3685da8fe61e0eb5e060cec4359b6a81642e93bd7ea09973f96 -eo pid,comm [Pipeline] { [Pipeline] sh 00:08:42 + make test 00:08:42 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 00:09:39 ? github.com/edgexfoundry/app-service-configurable [no test files] 00:09:39 CGO_ENABLED=1 go vet ./... 00:09:41 gofmt -l . 00:09:41 [ "`gofmt -l .`" = "" ] 00:09:41 ./bin/test-go-mod-tidy.sh 00:09:41 ./bin/test-attribution-txt.sh [Pipeline] } 00:09:42 $ docker stop --time=1 849874738c44e3685da8fe61e0eb5e060cec4359b6a81642e93bd7ea09973f96 00:09:44 $ docker rm -f 849874738c44e3685da8fe61e0eb5e060cec4359b6a81642e93bd7ea09973f96 [Pipeline] // withDockerContainer [Pipeline] sh 00:09:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:09:45 Warning: overwriting stash ‘coverage-report’ 00:09:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:09:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:09:47 + ls -al . 00:09:47 total 112 00:09:47 drwxrwxr-x 7 jenkins jenkins 4096 Dec 5 00:09 . 00:09:47 drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 00:07 .. 00:09:47 -rw-rw-r-- 1 jenkins jenkins 119 Dec 5 00:07 .dockerignore 00:09:47 drwxrwxr-x 8 jenkins jenkins 4096 Dec 5 00:07 .git 00:09:47 drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 00:07 .github 00:09:47 -rw-rw-r-- 1 jenkins jenkins 93 Dec 5 00:07 .gitignore 00:09:47 -rw-rw-r-- 1 jenkins jenkins 6568 Dec 5 00:07 Attribution.txt 00:09:47 -rw-rw-r-- 1 jenkins jenkins 2002 Dec 5 00:07 Dockerfile 00:09:47 -rw-rw-r-- 1 jenkins jenkins 966 Dec 5 00:07 Dockerfile.build 00:09:47 -rw-rw-r-- 1 jenkins jenkins 687 Dec 5 00:07 Jenkinsfile 00:09:47 -rw-rw-r-- 1 jenkins jenkins 10174 Dec 5 00:07 LICENSE 00:09:47 -rw-rw-r-- 1 jenkins jenkins 1277 Dec 5 00:07 README.md 00:09:47 -rw-rw-r-- 1 jenkins jenkins 11 Dec 5 00:04 VERSION 00:09:47 drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 00:07 bin 00:09:47 -rw-r--r-- 1 jenkins jenkins 10 Dec 5 00:08 coverage.out 00:09:47 -rw-r--r-- 1 jenkins jenkins 132 Dec 5 00:09 go.mod 00:09:47 -rw-r--r-- 1 jenkins jenkins 19665 Dec 5 00:09 go.sum 00:09:47 -rw-rw-r-- 1 jenkins jenkins 1519 Dec 5 00:07 main.go 00:09:47 -rw-rw-r-- 1 jenkins jenkins 1573 Dec 5 00:07 makefile 00:09:47 drwxrwxr-x 10 jenkins jenkins 4096 Dec 5 00:07 res 00:09:47 drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 00:07 snap [Pipeline] isUnix [Pipeline] sh 00:09:48 + docker build -t docker-app-service-configurable-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=86d88bac0e9df45207bbfb278ff4ca70c5103128 --label arch=arm64 --label version=2.0.0-dev.2 . 00:09:48 Sending build context to Docker daemon 119.3kB 00:09:48 Step 1/27 : ARG BASE=golang:1.15-alpine 00:09:48 Step 2/27 : FROM ${BASE} AS builder 00:09:48 ---> ef84bb145f94 00:09:48 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 00:09:48 ---> Running in 71237715ccaf 00:09:48 Removing intermediate container 71237715ccaf 00:09:48 ---> 6d5c2269d783 00:09:48 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 00:09:49 ---> Running in 648efdb845b4 00:09:49 Removing intermediate container 648efdb845b4 00:09:49 ---> a8ee69103005 00:09:49 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:09:49 ---> Running in 51c084e5686a 00:09:49 Removing intermediate container 51c084e5686a 00:09:49 ---> 3bd05d11ea56 00:09:49 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:09:50 ---> Running in 3e3f1a1ff095 00:09:52 Removing intermediate container 3e3f1a1ff095 00:09:52 ---> b4348c14bfb5 00:09:52 Step 7/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:09:52 ---> Running in 0a234be99832 00:09:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:09:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:09:55 OK: 144 MiB in 45 packages 00:09:56 Removing intermediate container 0a234be99832 00:09:56 ---> 9323fe7a847c 00:09:56 Step 8/27 : WORKDIR /app 00:09:56 ---> Running in 09e9f9e40ef5 00:09:56 Removing intermediate container 09e9f9e40ef5 00:09:56 ---> 6db810c5045c 00:09:56 Step 9/27 : COPY go.mod . 00:09:57 ---> daa55b2b980e 00:09:57 Step 10/27 : RUN go mod download 00:09:57 ---> Running in 854eeeb19b62 00:10:00 Removing intermediate container 854eeeb19b62 00:10:00 ---> 4e27152e7851 00:10:00 Step 11/27 : COPY . . 00:10:00 ---> 329c28180c23 00:10:00 Step 12/27 : ARG MAKE="make build" 00:10:00 ---> Running in 7bc4eb06e4da 00:10:01 Removing intermediate container 7bc4eb06e4da 00:10:01 ---> 4bac6b3073ad 00:10:01 Step 13/27 : RUN $MAKE 00:10:01 ---> Running in 7a23e8d92b66 00:10:02 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/internal.SDKVersion=v1.3.1-dev.3 -X github.com/edgexfoundry/app-functions-sdk-go/internal.ApplicationVersion=2.0.0-dev.2" -o app-service-configurable 00:10:49 Removing intermediate container 7a23e8d92b66 00:10:49 ---> 3c026c7e0b37 00:10:49 Step 14/27 : FROM alpine:latest 00:10:49 latest: Pulling from library/alpine 00:10:49 5f621e34cdf4: Already exists 00:10:50 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 00:10:50 Status: Downloaded newer image for alpine:latest 00:10:50 ---> 2e77e061c27f 00:10:50 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:10:50 ---> Running in 7e14056907d7 00:10:50 Removing intermediate container 7e14056907d7 00:10:50 ---> e06eb485b0a1 00:10:50 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 00:10:50 ---> Running in a3c64c102485 00:10:51 Removing intermediate container a3c64c102485 00:10:51 ---> 38b18e52c4a1 00:10:51 Step 17/27 : RUN apk --no-cache add ca-certificates zeromq 00:10:51 ---> Running in 4507285dbf65 00:10:52 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:10:52 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:10:53 (1/6) Installing ca-certificates (20191127-r4) 00:10:53 (2/6) Installing libgcc (9.3.0-r2) 00:10:53 (3/6) Installing libsodium (1.0.18-r0) 00:10:53 (4/6) Installing libstdc++ (9.3.0-r2) 00:10:53 (5/6) Installing libzmq (4.3.3-r0) 00:10:53 (6/6) Installing zeromq (4.3.3-r0) 00:10:53 Executing busybox-1.31.1-r19.trigger 00:10:53 Executing ca-certificates-20191127-r4.trigger 00:10:53 OK: 9 MiB in 20 packages 00:10:55 Removing intermediate container 4507285dbf65 00:10:55 ---> 1e2f879fa0a2 00:10:55 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 00:10:55 ---> 05700ff6290b 00:10:55 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 00:10:56 ---> 8849dbeeb0b3 00:10:56 Step 20/27 : COPY --from=builder /app/res/ /res/ 00:10:57 ---> c205134d3ba8 00:10:57 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 00:10:59 ---> 8e2490f57b62 00:10:59 Step 22/27 : EXPOSE 48095 00:10:59 ---> Running in 95b43570fc72 00:10:59 Removing intermediate container 95b43570fc72 00:10:59 ---> 8b6adb33f5c3 00:10:59 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 00:10:59 ---> Running in b51b6d3af5d3 00:10:59 Removing intermediate container b51b6d3af5d3 00:10:59 ---> 7f5c2630d9a8 00:10:59 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:11:00 ---> Running in 73440de12f53 00:11:00 Removing intermediate container 73440de12f53 00:11:00 ---> 190a0a10d953 00:11:00 Step 25/27 : LABEL arch=arm64 00:11:00 ---> Running in 6346fa499380 00:11:00 Removing intermediate container 6346fa499380 00:11:00 ---> 4caed2ef563f 00:11:00 Step 26/27 : LABEL git_sha=86d88bac0e9df45207bbfb278ff4ca70c5103128 00:11:01 ---> Running in df2d8109c688 00:11:01 Removing intermediate container df2d8109c688 00:11:01 ---> 51c3e6cfca4e 00:11:01 Step 27/27 : LABEL version=2.0.0-dev.2 00:11:01 ---> Running in 7bce3b651328 00:11:02 Removing intermediate container 7bce3b651328 00:11:02 ---> d8205673a2b0 00:11:02 [Warning] One or more build-args [ARCH] were not consumed 00:11:02 Successfully built d8205673a2b0 00:11:02 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 00:11:02 provisioning config files... 00:11:02 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/65@tmp/config2931735751347487912tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:11:03 ---> docker-login.sh 00:11:03 nexus3.edgexfoundry.org:10001 00:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:03 Configure a credential helper to remove this warning. See 00:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:03 00:11:03 Login Succeeded 00:11:03 nexus3.edgexfoundry.org:10002 00:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:04 Configure a credential helper to remove this warning. See 00:11:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:04 00:11:04 Login Succeeded 00:11:04 nexus3.edgexfoundry.org:10003 00:11:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:04 Configure a credential helper to remove this warning. See 00:11:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:04 00:11:04 Login Succeeded 00:11:04 nexus3.edgexfoundry.org:10004 00:11:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:05 Configure a credential helper to remove this warning. See 00:11:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:05 00:11:05 Login Succeeded 00:11:05 docker.io 00:11:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:05 Configure a credential helper to remove this warning. See 00:11:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:05 00:11:05 Login Succeeded 00:11:05 ---> docker-login.sh ends [Pipeline] } 00:11:05 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:11:06 [edgeXDocker.push] Tagging docker image docker-app-service-configurable-arm64 with the following tags: 00:11:06 86d88bac0e9df45207bbfb278ff4ca70c5103128 00:11:06 latest 00:11:06 2.0.0-dev.2 00:11:06 86d88bac0e9df45207bbfb278ff4ca70c5103128-2.0.0-dev.2 00:11:06 master 00:11:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:11:06 + docker tag docker-app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:86d88bac0e9df45207bbfb278ff4ca70c5103128 [Pipeline] isUnix [Pipeline] sh 00:11:06 + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:86d88bac0e9df45207bbfb278ff4ca70c5103128 00:11:06 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64] 00:11:06 100c4962c1ec: Preparing 00:11:06 f1c094e07c73: Preparing 00:11:06 3971feb2ff75: Preparing 00:11:06 5e8a83776259: Preparing 00:11:06 be7bc74c5b05: Preparing 00:11:06 cd3761cfa1d9: Preparing 00:11:06 cd3761cfa1d9: Waiting 00:11:07 3971feb2ff75: Pushed 00:11:07 cd3761cfa1d9: Layer already exists 00:11:07 5e8a83776259: Pushed 00:11:07 f1c094e07c73: Pushed 00:11:08 be7bc74c5b05: Pushed 00:11:11 100c4962c1ec: Pushed 00:11:11 86d88bac0e9df45207bbfb278ff4ca70c5103128: digest: sha256:5eccaf68a4e27bb59fe324d51c192232183dd5e15e9da01ce7841b463a1a0b02 size: 1574 [Pipeline] isUnix [Pipeline] sh 00:11:11 + docker tag docker-app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:11:12 + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:latest 00:11:12 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64] 00:11:12 100c4962c1ec: Preparing 00:11:12 f1c094e07c73: Preparing 00:11:12 3971feb2ff75: Preparing 00:11:12 5e8a83776259: Preparing 00:11:12 be7bc74c5b05: Preparing 00:11:12 cd3761cfa1d9: Preparing 00:11:12 cd3761cfa1d9: Waiting 00:11:12 5e8a83776259: Layer already exists 00:11:12 be7bc74c5b05: Layer already exists 00:11:12 3971feb2ff75: Layer already exists 00:11:12 f1c094e07c73: Layer already exists 00:11:12 100c4962c1ec: Layer already exists 00:11:12 cd3761cfa1d9: Layer already exists 00:11:12 latest: digest: sha256:5eccaf68a4e27bb59fe324d51c192232183dd5e15e9da01ce7841b463a1a0b02 size: 1574 [Pipeline] isUnix [Pipeline] sh 00:11:12 + docker tag docker-app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:2.0.0-dev.2 [Pipeline] isUnix [Pipeline] sh 00:11:13 + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:2.0.0-dev.2 00:11:13 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64] 00:11:13 100c4962c1ec: Preparing 00:11:13 f1c094e07c73: Preparing 00:11:13 3971feb2ff75: Preparing 00:11:13 5e8a83776259: Preparing 00:11:13 be7bc74c5b05: Preparing 00:11:13 cd3761cfa1d9: Preparing 00:11:13 cd3761cfa1d9: Waiting 00:11:13 100c4962c1ec: Layer already exists 00:11:13 5e8a83776259: Layer already exists 00:11:13 3971feb2ff75: Layer already exists 00:11:13 be7bc74c5b05: Layer already exists 00:11:13 f1c094e07c73: Layer already exists 00:11:13 cd3761cfa1d9: Layer already exists 00:11:13 2.0.0-dev.2: digest: sha256:5eccaf68a4e27bb59fe324d51c192232183dd5e15e9da01ce7841b463a1a0b02 size: 1574 [Pipeline] isUnix [Pipeline] sh 00:11:13 + docker tag docker-app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:86d88bac0e9df45207bbfb278ff4ca70c5103128-2.0.0-dev.2 [Pipeline] isUnix [Pipeline] sh 00:11:14 + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:86d88bac0e9df45207bbfb278ff4ca70c5103128-2.0.0-dev.2 00:11:14 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64] 00:11:14 100c4962c1ec: Preparing 00:11:14 f1c094e07c73: Preparing 00:11:14 3971feb2ff75: Preparing 00:11:14 5e8a83776259: Preparing 00:11:14 be7bc74c5b05: Preparing 00:11:14 cd3761cfa1d9: Preparing 00:11:14 cd3761cfa1d9: Waiting 00:11:14 100c4962c1ec: Layer already exists 00:11:14 f1c094e07c73: Layer already exists 00:11:14 3971feb2ff75: Layer already exists 00:11:14 5e8a83776259: Layer already exists 00:11:14 be7bc74c5b05: Layer already exists 00:11:14 cd3761cfa1d9: Layer already exists 00:11:14 86d88bac0e9df45207bbfb278ff4ca70c5103128-2.0.0-dev.2: digest: sha256:5eccaf68a4e27bb59fe324d51c192232183dd5e15e9da01ce7841b463a1a0b02 size: 1574 [Pipeline] isUnix [Pipeline] sh 00:11:14 + docker tag docker-app-service-configurable-arm64 nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:master [Pipeline] isUnix [Pipeline] sh 00:11:15 + docker push nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:master 00:11:15 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64] 00:11:15 100c4962c1ec: Preparing 00:11:15 f1c094e07c73: Preparing 00:11:15 3971feb2ff75: Preparing 00:11:15 5e8a83776259: Preparing 00:11:15 be7bc74c5b05: Preparing 00:11:15 cd3761cfa1d9: Preparing 00:11:15 cd3761cfa1d9: Waiting 00:11:15 100c4962c1ec: Layer already exists 00:11:15 5e8a83776259: Layer already exists 00:11:15 f1c094e07c73: Layer already exists 00:11:15 3971feb2ff75: Layer already exists 00:11:15 be7bc74c5b05: Layer already exists 00:11:15 cd3761cfa1d9: Layer already exists 00:11:15 master: digest: sha256:5eccaf68a4e27bb59fe324d51c192232183dd5e15e9da01ce7841b463a1a0b02 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:11:15 ===================================================== [Pipeline] echo 00:11:15 taggedImages: 00:11:15 - nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:86d88bac0e9df45207bbfb278ff4ca70c5103128 00:11:15 - nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:latest 00:11:15 - nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:2.0.0-dev.2 00:11:15 - nexus3.edgexfoundry.org:10004/docker-app-service-configurable-arm64:86d88bac0e9df45207bbfb278ff4ca70c5103128-2.0.0-dev.2 00:11:15 - 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 00:11:17 provisioning config files... 00:11:17 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_master@tmp/config3872184146437480207tmp [Pipeline] { [Pipeline] sh 00:11:17 + set +x 00:11:17 + curl -s https://codecov.io/bash 00:11:17 + bash -s -- 00:11:17 00:11:17 _____ _ 00:11:17 / ____| | | 00:11:17 | | ___ __| | ___ ___ _____ __ 00:11:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:11:17 | |___| (_) | (_| | __/ (_| (_) \ V / 00:11:17 \_____\___/ \__,_|\___|\___\___/ \_/ 00:11:17 Bash-20201130-cc6d3fe 00:11:17 00:11:17 00:11:17 ==> Jenkins CI detected. 00:11:17 project root: . 00:11:17 --> token set from env 00:11:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:11:17 ==> Running gcov in . (disable via -X gcov) 00:11:17 ==> Python coveragepy not found 00:11:17 ==> Searching for coverage reports in: 00:11:17 + . 00:11:17 -> Found 1 reports 00:11:17 ==> Detecting git/mercurial file structure 00:11:17 ==> Reading reports 00:11:17 + ./coverage.out bytes=10 00:11:17 ==> Appending adjustments 00:11:17 https://docs.codecov.io/docs/fixing-reports 00:11:17 + Found adjustments 00:11:17 ==> Gzipping contents 00:11:17 4.0K /tmp/codecov.HeqD82.gz 00:11:17 ==> Uploading reports 00:11:17 url: https://codecov.io 00:11:17 query: branch=master&commit=86d88bac0e9df45207bbfb278ff4ca70c5103128&build=65&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2Fmaster%2F65%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=&job=&cmd_args= 00:11:17 -> Pinging Codecov 00:11:17 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=master&commit=86d88bac0e9df45207bbfb278ff4ca70c5103128&build=65&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2Fmaster%2F65%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=&job=&cmd_args= 00:11:18 -> Uploading to 00:11:18 https://storage.googleapis.com/codecov/v4/raw/2020-12-05/A97CA9966030D2A3747ED39772930CCE/86d88bac0e9df45207bbfb278ff4ca70c5103128/9f79e2a4-9139-4e01-9152-6941c4b960ee.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201205%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201205T001118Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eb12a62e1d82434b7487109b35d61303d67def1dbce017ad5b5270a7cbf700de 00:11:18 % Total % Received % Xferd Average Speed Time Time Time Current 00:11:18 Dload Upload Total Spent Left Speed 00:11:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 378 0 0 100 378 0 931 --:--:-- --:--:-- --:--:-- 931 00:11:18 -> View reports at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/86d88bac0e9df45207bbfb278ff4ca70c5103128 [Pipeline] } 00:11:18 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:11:19 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:11:19 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:11:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:11:20 00:11:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 00:11:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:11:20 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:11:20 188c0c94c7c5: Pulling fs layer 00:11:20 0ef7d3d256c8: Pulling fs layer 00:11:20 de9db76c5a1d: Pulling fs layer 00:11:20 0eba1c9be4d2: Pulling fs layer 00:11:20 0d57e429df01: Pulling fs layer 00:11:20 4e4be7b47b0d: Pulling fs layer 00:11:20 e1f770b5df2f: Pulling fs layer 00:11:20 85a0685a4137: Pulling fs layer 00:11:20 0d57e429df01: Waiting 00:11:20 0eba1c9be4d2: Waiting 00:11:20 4e4be7b47b0d: Waiting 00:11:20 e1f770b5df2f: Waiting 00:11:20 85a0685a4137: Waiting 00:11:20 de9db76c5a1d: Download complete 00:11:20 0ef7d3d256c8: Verifying Checksum 00:11:20 0ef7d3d256c8: Download complete 00:11:20 0d57e429df01: Verifying Checksum 00:11:20 0d57e429df01: Download complete 00:11:20 4e4be7b47b0d: Verifying Checksum 00:11:20 4e4be7b47b0d: Download complete 00:11:20 188c0c94c7c5: Verifying Checksum 00:11:21 188c0c94c7c5: Pull complete 00:11:21 0ef7d3d256c8: Pull complete 00:11:21 de9db76c5a1d: Pull complete 00:11:22 e1f770b5df2f: Verifying Checksum 00:11:22 e1f770b5df2f: Download complete 00:11:23 0eba1c9be4d2: Verifying Checksum 00:11:23 0eba1c9be4d2: Download complete 00:11:24 85a0685a4137: Verifying Checksum 00:11:24 85a0685a4137: Download complete 00:11:30 0eba1c9be4d2: Pull complete 00:11:30 0d57e429df01: Pull complete 00:11:30 4e4be7b47b0d: Pull complete 00:11:31 e1f770b5df2f: Pull complete 00:11:40 85a0685a4137: Pull complete 00:11:40 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 00:11:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:11:40 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 00:11:40 prd-centos7-docker-4c-2g-14574 does not seem to be running inside a container 00:11:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/_app-service-configurable_master -v /w/workspace/_app-service-configurable_master:/w/workspace/_app-service-configurable_master:rw,z -v /w/workspace/_app-service-configurable_master@tmp:/w/workspace/_app-service-configurable_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 00:11:41 $ docker top fc800c41156ca74a3c843915d0b64257900aa357749e2f319ea8c404a08e8d85 -eo pid,comm [Pipeline] { [Pipeline] echo 00:11:41 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 00:11:42 + set -o pipefail 00:11:42 + snyk monitor '--org=edgex-jenkins' 00:11:52 00:11:52 Monitoring /w/workspace/_app-service-configurable_master (github.com/edgexfoundry/app-service-configurable)... 00:11:52 00:11:52 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/78834c31-a9c6-48a0-bc23-2630bc060585/history/4966bb97-eb54-4ee7-accf-58de92f8b017 00:11:52 00:11:52 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:11:52 00:11:52 [Pipeline] } 00:11:52 $ docker stop --time=1 fc800c41156ca74a3c843915d0b64257900aa357749e2f319ea8c404a08e8d85 00:11:55 $ docker rm -f fc800c41156ca74a3c843915d0b64257900aa357749e2f319ea8c404a08e8d85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) [Pipeline] script [Pipeline] { [Pipeline] echo 00:11:56 [edgeXSnyk] dockerImage=nexus3.edgexfoundry.org:10004/docker-app-service-configurable:86d88bac0e9df45207bbfb278ff4ca70c5103128, dockerFile=Dockerfile [Pipeline] echo 00:11:56 [edgeXSnyk] downloading global ignore policy file from: https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk [Pipeline] sh 00:11:56 + set -o pipefail 00:11:56 + curl -s https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk 00:11:56 + tee .snyk 00:11:57 # Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. 00:11:57 version: v1.14.1 00:11:57 # ignores vulnerabilities until expiry date; change duration by modifying expiry date 00:11:57 ignore: 00:11:57 SNYK-ALPINE312-ONIGURUMA-1017392: # snyk ID for the issue to ignore. Required. 00:11:57 - '*': 00:11:57 reason: does not apply # justification for ignoring 00:11:57 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 00:11:57 SNYK-ALPINE312-JQ-588886: 00:11:57 - '*': 00:11:57 reason: false positive 00:11:57 expires: 2021-01-01T00:00:00 00:11:57 # patch: {} [Pipeline] withCredentials 00:11:57 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:11:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:11:57 . [Pipeline] withDockerContainer 00:11:57 prd-centos7-docker-4c-2g-14574 does not seem to be running inside a container 00:11:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/_app-service-configurable_master -v /w/workspace/_app-service-configurable_master:/w/workspace/_app-service-configurable_master:rw,z -v /w/workspace/_app-service-configurable_master@tmp:/w/workspace/_app-service-configurable_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 00:11:58 $ docker top 9c31f62bc4bd0e3c403f8acc2f7f04e020c3cf71663f9f3be2eb805ec4bd7c04 -eo pid,comm [Pipeline] { [Pipeline] sh 00:11:58 + rm -f snykReport.html [Pipeline] echo 00:11:58 [edgeXSnyk] command to run: set -o pipefail ; snyk test --org=edgex-jenkins --docker nexus3.edgexfoundry.org:10004/docker-app-service-configurable:86d88bac0e9df45207bbfb278ff4ca70c5103128 --file=./Dockerfile --severity-threshold=high --policy-path=./.snyk --json | snyk-to-html -o snykReport.html [Pipeline] sh 00:11:59 + set -o pipefail 00:11:59 + snyk test '--org=edgex-jenkins' --docker nexus3.edgexfoundry.org:10004/docker-app-service-configurable:86d88bac0e9df45207bbfb278ff4ca70c5103128 '--file=./Dockerfile' '--severity-threshold=high' '--policy-path=./.snyk' --json 00:11:59 + snyk-to-html -o snykReport.html 00:12:09 Vulnerability snapshot saved at snykReport.html [Pipeline] } 00:12:09 $ docker stop --time=1 9c31f62bc4bd0e3c403f8acc2f7f04e020c3cf71663f9f3be2eb805ec4bd7c04 00:12:10 $ docker rm -f 9c31f62bc4bd0e3c403f8acc2f7f04e020c3cf71663f9f3be2eb805ec4bd7c04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:12:12 + git log --format=format:%s -1 86d88bac0e9df45207bbfb278ff4ca70c5103128 [Pipeline] isUnix [Pipeline] sh 00:12:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:12:12 . [Pipeline] withDockerContainer 00:12:12 prd-centos7-docker-4c-2g-14574 does not seem to be running inside a container 00:12:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_master -v /w/workspace/_app-service-configurable_master:/w/workspace/_app-service-configurable_master:rw,z -v /w/workspace/_app-service-configurable_master@tmp:/w/workspace/_app-service-configurable_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:12:13 $ docker top ff3348adcebdec3b861eeea5b1b9a1c749a97605c5afc7b152a5d1e4cd7fd268 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:12:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:12:14 [ssh-agent] Looking for ssh-agent implementation... 00:12:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:12:14 $ docker exec ff3348adcebdec3b861eeea5b1b9a1c749a97605c5afc7b152a5d1e4cd7fd268 ssh-agent 00:12:14 SSH_AUTH_SOCK=/tmp/ssh-kRLnouOeXeNA/agent.12 00:12:14 SSH_AGENT_PID=17 00:12:14 Running ssh-add (command line suppressed) 00:12:14 Identity added: /w/workspace/_app-service-configurable_master@tmp/private_key_3900606914050935578.key (/w/workspace/_app-service-configurable_master@tmp/private_key_3900606914050935578.key) 00:12:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:12:15 + git semver tag 00:12:15 # -> Open(): unable to determine branch for HEAD 00:12:15 # $GIT_DIR = /w/workspace/_app-service-configurable_master/.git 00:12:15 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_master 00:12:15 # $SEMVER_REMOTE_NAME = origin 00:12:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:12:15 # $SEMVER_USER_NAME = edgex-jenkins 00:12:15 # $SEMVER_BRANCH = master 00:12:15 # $SEMVER_DIR = /w/workspace/_app-service-configurable_master/.semver 00:12:15 # 86d88bac0e9df45207bbfb278ff4ca70c5103128 HEAD 00:12:15 # -> Force: false 00:12:15 # 6e6beee9a543c2f5644b608e42f6c5f4700af8a5 refs/tags/v2.0.0-dev.2 [Pipeline] } 00:12:15 $ docker exec --env ******** --env ******** ff3348adcebdec3b861eeea5b1b9a1c749a97605c5afc7b152a5d1e4cd7fd268 ssh-agent -k 00:12:15 unset SSH_AUTH_SOCK; 00:12:15 unset SSH_AGENT_PID; 00:12:15 echo Agent pid 17 killed; 00:12:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:12:15 + git semver [Pipeline] } 00:12:15 $ docker stop --time=1 ff3348adcebdec3b861eeea5b1b9a1c749a97605c5afc7b152a5d1e4cd7fd268 00:12:17 $ docker rm -f ff3348adcebdec3b861eeea5b1b9a1c749a97605c5afc7b152a5d1e4cd7fd268 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 00:12:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:12:17 00:12:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 00:12:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:12:18 0.23.1-centos7: Pulling from edgex-lftools 00:12:18 ab5ef0e58194: Pulling fs layer 00:12:18 9712f1f96733: Pulling fs layer 00:12:18 63f879dbbcfc: Pulling fs layer 00:12:18 0d9ebad4ef96: Pulling fs layer 00:12:18 e9a5061849ea: Pulling fs layer 00:12:18 d747dcd14b5f: Pulling fs layer 00:12:18 2de7ff778b66: Pulling fs layer 00:12:18 e9a5061849ea: Waiting 00:12:18 d747dcd14b5f: Waiting 00:12:18 0d9ebad4ef96: Waiting 00:12:18 2de7ff778b66: Waiting 00:12:18 9712f1f96733: Verifying Checksum 00:12:18 9712f1f96733: Download complete 00:12:20 63f879dbbcfc: Verifying Checksum 00:12:20 63f879dbbcfc: Download complete 00:12:20 e9a5061849ea: Verifying Checksum 00:12:20 e9a5061849ea: Download complete 00:12:20 d747dcd14b5f: Download complete 00:12:20 2de7ff778b66: Verifying Checksum 00:12:20 2de7ff778b66: Download complete 00:12:20 0d9ebad4ef96: Verifying Checksum 00:12:20 0d9ebad4ef96: Download complete 00:12:20 ab5ef0e58194: Download complete 00:12:24 ab5ef0e58194: Pull complete 00:12:25 9712f1f96733: Pull complete 00:12:28 63f879dbbcfc: Pull complete 00:12:33 0d9ebad4ef96: Pull complete 00:12:38 e9a5061849ea: Pull complete 00:12:38 d747dcd14b5f: Pull complete 00:12:39 2de7ff778b66: Pull complete 00:12:39 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:12:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:12:39 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 00:12:39 prd-centos7-docker-4c-2g-14574 does not seem to be running inside a container 00:12:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_master -v /w/workspace/_app-service-configurable_master:/w/workspace/_app-service-configurable_master:rw,z -v /w/workspace/_app-service-configurable_master@tmp:/w/workspace/_app-service-configurable_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:12:44 $ docker top 91bb90677aa1d08daab1ba9943a40635b190e58e8740a6ccc717446181582805 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:12:44 provisioning config files... 00:12:44 copy managed file [sigul-config] to file:/w/workspace/_app-service-configurable_master@tmp/config4544839056130227438tmp 00:12:44 copy managed file [sigul-password] to file:/w/workspace/_app-service-configurable_master@tmp/config7998981972952529507tmp 00:12:44 copy managed file [sigul-pki] to file:/w/workspace/_app-service-configurable_master@tmp/config6967718589248194952tmp [Pipeline] { [Pipeline] echo 00:12:44 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:12:44 ---> sigul-configuration.sh 00:12:44 gpg: directory `/root/.gnupg' created 00:12:44 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:12:44 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:12:44 gpg: keyring `/root/.gnupg/secring.gpg' created 00:12:44 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:12:44 gpg: CAST5 encrypted data 00:12:45 gpg: encrypted with 1 passphrase 00:12:45 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:12:45 + mkdir /home/jenkins 00:12:45 + mkdir /home/jenkins/sigul [Pipeline] sh 00:12:45 + 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 00:12:45 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:12:46 ---> sigul-install.sh 00:12:51 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 00:12:51 + git tag --list 00:12:51 v1.0.0 00:12:51 v1.1.0 00:12:51 v1.2.0 00:12:51 v1.2.1-dev.1 00:12:51 v1.2.1-dev.10 00:12:51 v1.2.1-dev.11 00:12:51 v1.2.1-dev.12 00:12:51 v1.2.1-dev.13 00:12:51 v1.2.1-dev.14 00:12:51 v1.2.1-dev.15 00:12:51 v1.2.1-dev.16 00:12:51 v1.2.1-dev.17 00:12:51 v1.2.1-dev.18 00:12:51 v1.2.1-dev.19 00:12:51 v1.2.1-dev.2 00:12:51 v1.2.1-dev.20 00:12:51 v1.2.1-dev.21 00:12:51 v1.2.1-dev.22 00:12:51 v1.2.1-dev.23 00:12:51 v1.2.1-dev.3 00:12:51 v1.2.1-dev.4 00:12:51 v1.2.1-dev.5 00:12:51 v1.2.1-dev.6 00:12:51 v1.2.1-dev.7 00:12:51 v1.2.1-dev.8 00:12:51 v1.2.1-dev.9 00:12:51 v1.3.0 00:12:51 v1.3.1-dev.1 00:12:51 v2.0.0-dev.1 00:12:51 v2.0.0-dev.2 [Pipeline] sh 00:12:51 + lftools sign git-tag v2.0.0-dev.2 00:12:53 Signing Git tag with Sigul... 00:12:53 Signing v2.0.0-dev.2 [Pipeline] echo 00:12:55 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:12:55 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:12:55 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:12:55 $ docker stop --time=1 91bb90677aa1d08daab1ba9943a40635b190e58e8740a6ccc717446181582805 00:12:57 $ docker rm -f 91bb90677aa1d08daab1ba9943a40635b190e58e8740a6ccc717446181582805 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 00:12:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:12:58 . [Pipeline] withDockerContainer 00:12:58 prd-centos7-docker-4c-2g-14574 does not seem to be running inside a container 00:12:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_master -v /w/workspace/_app-service-configurable_master:/w/workspace/_app-service-configurable_master:rw,z -v /w/workspace/_app-service-configurable_master@tmp:/w/workspace/_app-service-configurable_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:12:59 $ docker top b149f49da61929bb7689fc1ae3c49116ee94f91679517d985fc8e9f2946cf754 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:12:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:12:59 [ssh-agent] Looking for ssh-agent implementation... 00:13:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:13:00 $ docker exec b149f49da61929bb7689fc1ae3c49116ee94f91679517d985fc8e9f2946cf754 ssh-agent 00:13:00 SSH_AUTH_SOCK=/tmp/ssh-cDG4UXklTjx5/agent.11 00:13:00 SSH_AGENT_PID=16 00:13:00 Running ssh-add (command line suppressed) 00:13:00 Identity added: /w/workspace/_app-service-configurable_master@tmp/private_key_3176106777702868791.key (/w/workspace/_app-service-configurable_master@tmp/private_key_3176106777702868791.key) 00:13:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:13:00 + git semver bump pre 00:13:00 # -> Open(): unable to determine branch for HEAD 00:13:00 # $GIT_DIR = /w/workspace/_app-service-configurable_master/.git 00:13:00 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_master 00:13:00 # $SEMVER_REMOTE_NAME = origin 00:13:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:13:00 # $SEMVER_USER_NAME = edgex-jenkins 00:13:00 # $SEMVER_BRANCH = master 00:13:00 # $SEMVER_DIR = /w/workspace/_app-service-configurable_master/.semver 00:13:00 2.0.0-dev.3 [Pipeline] } 00:13:00 $ docker exec --env ******** --env ******** b149f49da61929bb7689fc1ae3c49116ee94f91679517d985fc8e9f2946cf754 ssh-agent -k 00:13:01 unset SSH_AUTH_SOCK; 00:13:01 unset SSH_AGENT_PID; 00:13:01 echo Agent pid 16 killed; 00:13:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:13:01 + git semver [Pipeline] } 00:13:01 $ docker stop --time=1 b149f49da61929bb7689fc1ae3c49116ee94f91679517d985fc8e9f2946cf754 00:13:03 $ docker rm -f b149f49da61929bb7689fc1ae3c49116ee94f91679517d985fc8e9f2946cf754 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 00:13:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:13:03 . [Pipeline] withDockerContainer 00:13:03 prd-centos7-docker-4c-2g-14574 does not seem to be running inside a container 00:13:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_master -v /w/workspace/_app-service-configurable_master:/w/workspace/_app-service-configurable_master:rw,z -v /w/workspace/_app-service-configurable_master@tmp:/w/workspace/_app-service-configurable_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:13:04 $ docker top 1539a05e0f6045e8db1577a77d268ddd44542046957c923837334f3b78f5c65a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:13:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:13:04 [ssh-agent] Looking for ssh-agent implementation... 00:13:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:13:04 $ docker exec 1539a05e0f6045e8db1577a77d268ddd44542046957c923837334f3b78f5c65a ssh-agent 00:13:05 SSH_AUTH_SOCK=/tmp/ssh-3050fQhGTl8d/agent.11 00:13:05 SSH_AGENT_PID=16 00:13:05 Running ssh-add (command line suppressed) 00:13:05 Identity added: /w/workspace/_app-service-configurable_master@tmp/private_key_8322151143711998810.key (/w/workspace/_app-service-configurable_master@tmp/private_key_8322151143711998810.key) 00:13:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:13:05 + git semver push 00:13:05 # -> Open(): unable to determine branch for HEAD 00:13:05 # $GIT_DIR = /w/workspace/_app-service-configurable_master/.git 00:13:05 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_master 00:13:05 # $SEMVER_REMOTE_NAME = origin 00:13:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:13:05 # $SEMVER_USER_NAME = edgex-jenkins 00:13:05 # $SEMVER_BRANCH = master 00:13:05 # $SEMVER_DIR = /w/workspace/_app-service-configurable_master/.semver [Pipeline] } 00:13:12 $ docker exec --env ******** --env ******** 1539a05e0f6045e8db1577a77d268ddd44542046957c923837334f3b78f5c65a ssh-agent -k 00:13:12 unset SSH_AUTH_SOCK; 00:13:12 unset SSH_AGENT_PID; 00:13:12 echo Agent pid 16 killed; 00:13:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:13:13 + git semver [Pipeline] } 00:13:13 $ docker stop --time=1 1539a05e0f6045e8db1577a77d268ddd44542046957c923837334f3b78f5c65a 00:13:14 $ docker rm -f 1539a05e0f6045e8db1577a77d268ddd44542046957c923837334f3b78f5c65a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 00:13:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:13:16 ---> package-listing.sh 00:13:16 ++ facter osfamily 00:13:16 ++ tr '[:upper:]' '[:lower:]' 00:13:16 + OS_FAMILY=redhat 00:13:16 + workspace=/w/workspace/_app-service-configurable_master 00:13:16 + START_PACKAGES=/tmp/packages_start.txt 00:13:16 + END_PACKAGES=/tmp/packages_end.txt 00:13:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:13:16 + PACKAGES=/tmp/packages_start.txt 00:13:16 + '[' /w/workspace/_app-service-configurable_master ']' 00:13:16 + PACKAGES=/tmp/packages_end.txt 00:13:16 + case "${OS_FAMILY}" in 00:13:16 + rpm -qa 00:13:16 + sort 00:13:22 + '[' -f /tmp/packages_start.txt ']' 00:13:22 + '[' -f /tmp/packages_end.txt ']' 00:13:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:13:22 + '[' /w/workspace/_app-service-configurable_master ']' 00:13:22 + mkdir -p /w/workspace/_app-service-configurable_master/archives/ 00:13:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_master/archives/ [Pipeline] echo 00:13:22 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 00:13:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:13:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:13:22 00:13:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:13:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:13:23 alpine: Pulling from edgex-lftools-log-publisher 00:13:23 df20fa9351a1: Pulling fs layer 00:13:23 36b3adc4ff6f: Pulling fs layer 00:13:23 8ad3a11d3b57: Pulling fs layer 00:13:23 46f8f816bc3b: Pulling fs layer 00:13:23 93b61091891f: Pulling fs layer 00:13:23 93b9cdb0e59b: Pulling fs layer 00:13:23 5e14af77c1be: Pulling fs layer 00:13:23 01666e4c0597: Pulling fs layer 00:13:23 aa168da1d23b: Pulling fs layer 00:13:23 93b9cdb0e59b: Waiting 00:13:23 5e14af77c1be: Waiting 00:13:23 01666e4c0597: Waiting 00:13:23 aa168da1d23b: Waiting 00:13:23 46f8f816bc3b: Waiting 00:13:23 93b61091891f: Waiting 00:13:23 36b3adc4ff6f: Download complete 00:13:23 46f8f816bc3b: Verifying Checksum 00:13:23 46f8f816bc3b: Download complete 00:13:23 df20fa9351a1: Verifying Checksum 00:13:23 df20fa9351a1: Download complete 00:13:23 93b61091891f: Download complete 00:13:23 93b9cdb0e59b: Verifying Checksum 00:13:23 93b9cdb0e59b: Download complete 00:13:23 5e14af77c1be: Verifying Checksum 00:13:23 5e14af77c1be: Download complete 00:13:23 01666e4c0597: Verifying Checksum 00:13:23 01666e4c0597: Download complete 00:13:23 8ad3a11d3b57: Verifying Checksum 00:13:23 8ad3a11d3b57: Download complete 00:13:23 df20fa9351a1: Pull complete 00:13:24 36b3adc4ff6f: Pull complete 00:13:25 aa168da1d23b: Download complete 00:13:25 8ad3a11d3b57: Pull complete 00:13:26 46f8f816bc3b: Pull complete 00:13:26 93b61091891f: Pull complete 00:13:26 93b9cdb0e59b: Pull complete 00:13:26 5e14af77c1be: Pull complete 00:13:27 01666e4c0597: Pull complete 00:13:35 aa168da1d23b: Pull complete 00:13:35 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:13:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:13:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:13:35 prd-centos7-docker-4c-2g-14574 does not seem to be running inside a container 00:13:35 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_master -v /w/workspace/_app-service-configurable_master:/w/workspace/_app-service-configurable_master:rw,z -v /w/workspace/_app-service-configurable_master@tmp:/w/workspace/_app-service-configurable_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:13:38 $ docker top 058de35dca8289050e7e0338714666ecd5a1b18a7d36dec07bcc31ade7c48271 -eo pid,comm [Pipeline] { [Pipeline] sh 00:13:39 + touch /tmp/pre-build-complete [Pipeline] sh 00:13:39 + mkdir -p /var/log/sa [Pipeline] sh 00:13:40 + ls /var/log/sa-host 00:13:40 + sadf -c /var/log/sa-host/sa05 00:13:40 file_magic: OK 00:13:40 HZ: Using current value: 100 00:13:40 file_header: OK 00:13:40 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 00:13:40 Statistics: 00:13:40 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:13:40 File successfully converted to sysstat format version 12.2.1 00:13:40 + sadf -c /var/log/sa-host/sa23 00:13:40 file_magic: OK 00:13:40 HZ: Using current value: 100 00:13:40 file_header: OK 00:13:40 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 00:13:40 Statistics: 00:13:40 Hnuu...uuuununununu... 00:13:40 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:13:40 provisioning config files... 00:13:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_master@tmp/config1634199220661337647tmp [Pipeline] { [Pipeline] echo 00:13:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:13:41 ---> create-netrc.sh [Pipeline] } 00:13:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:13:41 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:13:41 ---> python-tools-install.sh [Pipeline] echo 00:13:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:13:42 ---> sudo-logs.sh 00:13:42 Archiving 'sudo' log.. [Pipeline] echo 00:13:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:13:42 ---> job-cost.sh 00:13:42 lf-activate-venv: SKIPPING 00:13:42 INFO: No Stack... 00:13:43 INFO: Retrieving Pricing Info for: v1-standard-2 00:13:43 INFO: Archiving Costs [Pipeline] echo 00:13:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:13:43 ---> logs-deploy.sh 00:13:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/master/65 00:13:43 INFO: archiving workspace using pattern(s): 00:13:45 Archives upload complete. 00:13:45 INFO: archiving logs to Nexus 00:13:46 ---> uname -a: 00:13:46 Linux prd-centos7-docker-4c-2g-14574.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 00:13:46 00:13:46 00:13:46 ---> lscpu: 00:13:46 Architecture: x86_64 00:13:46 CPU op-mode(s): 32-bit, 64-bit 00:13:46 Byte Order: Little Endian 00:13:46 Address sizes: 40 bits physical, 48 bits virtual 00:13:46 CPU(s): 4 00:13:46 On-line CPU(s) list: 0-3 00:13:46 Thread(s) per core: 1 00:13:46 Core(s) per socket: 1 00:13:46 Socket(s): 4 00:13:46 NUMA node(s): 1 00:13:46 Vendor ID: GenuineIntel 00:13:46 CPU family: 6 00:13:46 Model: 44 00:13:46 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 00:13:46 Stepping: 1 00:13:46 CPU MHz: 2933.442 00:13:46 BogoMIPS: 5866.88 00:13:46 Virtualization: VT-x 00:13:46 Hypervisor vendor: KVM 00:13:46 Virtualization type: full 00:13:46 L1d cache: 128 KiB 00:13:46 L1i cache: 128 KiB 00:13:46 L2 cache: 16 MiB 00:13:46 L3 cache: 64 MiB 00:13:46 NUMA node0 CPU(s): 0-3 00:13:46 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 00:13:46 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 00:13:46 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 00:13:46 Vulnerability Meltdown: Mitigation; PTI 00:13:46 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:13:46 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 00:13:46 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 00:13:46 Vulnerability Srbds: Not affected 00:13:46 Vulnerability Tsx async abort: Not affected 00:13:46 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 00:13:46 00:13:46 00:13:46 ---> nproc: 00:13:46 4 00:13:46 00:13:46 00:13:46 ---> df -h: 00:13:46 Filesystem Size Used Available Use% Mounted on 00:13:46 overlay 50.0G 8.6G 41.4G 17% / 00:13:46 tmpfs 64.0M 0 64.0M 0% /dev 00:13:46 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 00:13:46 shm 64.0M 0 64.0M 0% /dev/shm 00:13:46 /dev/vda1 50.0G 8.6G 41.4G 17% /facter-os 00:13:46 /dev/vda1 50.0G 8.6G 41.4G 17% /etc/resolv.conf 00:13:46 /dev/vda1 50.0G 8.6G 41.4G 17% /etc/hostname 00:13:46 /dev/vda1 50.0G 8.6G 41.4G 17% /etc/hosts 00:13:46 /dev/vda1 50.0G 8.6G 41.4G 17% /w/workspace/_app-service-configurable_master@tmp 00:13:46 /dev/vda1 50.0G 8.6G 41.4G 17% /var/log/sa-host 00:13:46 /dev/vda1 50.0G 8.6G 41.4G 17% /var/log/secure 00:13:46 /dev/vda1 50.0G 8.6G 41.4G 17% /var/log/auth.log 00:13:46 /dev/vda1 50.0G 8.6G 41.4G 17% /run/cloud-init/result.json 00:13:46 /dev/vda1 50.0G 8.6G 41.4G 17% /w/workspace/_app-service-configurable_master 00:13:46 00:13:46 00:13:46 ---> free -m: 00:13:46 total used free shared buff/cache available 00:13:46 Mem: 1837 834 145 0 857 937 00:13:46 Swap: 1023 3 1020 00:13:46 00:13:46 00:13:46 ---> ip addr: 00:13:46 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 00:13:46 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 00:13:46 inet 127.0.0.1/8 scope host lo 00:13:46 valid_lft forever preferred_lft forever 00:13:46 inet6 ::1/128 scope host 00:13:46 valid_lft forever preferred_lft forever 00:13:46 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 00:13:46 link/ether fa:16:3e:6e:2e:cf brd ff:ff:ff:ff:ff:ff 00:13:46 inet 10.30.122.166/23 brd 10.30.123.255 scope global dynamic eth0 00:13:46 valid_lft 85765sec preferred_lft 85765sec 00:13:46 inet6 fe80::f816:3eff:fe6e:2ecf/64 scope link 00:13:46 valid_lft forever preferred_lft forever 00:13:46 3: docker0: mtu 1500 qdisc noqueue state DOWN 00:13:46 link/ether 02:42:95:f8:ef:19 brd ff:ff:ff:ff:ff:ff 00:13:46 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 00:13:46 valid_lft forever preferred_lft forever 00:13:46 inet6 fe80::42:95ff:fef8:ef19/64 scope link 00:13:46 valid_lft forever preferred_lft forever 00:13:46 00:13:46 00:13:46 ---> sar -b -r -n DEV: 00:13:46 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/05/20 _x86_64_ (4 CPU) 00:13:46 00:13:46 00:02:58 LINUX RESTART (4 CPU) 00:13:46 00:13:46 00:04:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 00:13:46 00:05:01 6.19 0.64 5.55 0.00 43.05 138.40 0.00 00:13:46 00:06:01 0.40 0.00 0.40 0.00 0.00 6.71 0.00 00:13:46 00:07:01 0.25 0.00 0.25 0.00 0.00 2.85 0.00 00:13:46 00:08:01 0.27 0.00 0.27 0.00 0.00 3.33 0.00 00:13:46 00:09:01 0.33 0.00 0.33 0.00 0.00 4.71 0.00 00:13:46 00:10:01 0.28 0.00 0.28 0.00 0.00 3.56 0.00 00:13:46 00:11:01 0.25 0.00 0.25 0.00 0.00 3.73 0.00 00:13:46 00:12:01 355.27 218.72 136.55 0.00 10078.48 38723.41 0.00 00:13:46 00:13:01 245.42 95.99 149.43 0.00 5329.65 33443.91 0.00 00:13:46 Average: 67.77 35.12 32.66 0.00 1720.64 8054.97 0.00 00:13:46 00:13:46 00:04:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:13:46 00:05:01 168116 0 614748 32.67 2620 1096060 1113620 38.01 452776 1062388 20 00:13:46 00:06:01 172504 0 610352 32.44 2620 1096068 1078344 36.80 450144 1060932 8 00:13:46 00:07:01 170028 0 612824 32.57 2620 1096072 1078500 36.81 461116 1052720 8 00:13:46 00:08:01 169896 0 612956 32.58 2620 1096072 1078488 36.81 462564 1051096 8 00:13:46 00:09:01 168664 0 614180 32.64 2620 1096080 1078500 36.81 462368 1052984 20 00:13:46 00:10:01 169172 0 613668 32.62 2620 1096084 1078344 36.80 474240 1040424 20 00:13:46 00:11:01 169600 0 613236 32.59 2620 1096088 1078344 36.80 474176 1040472 8 00:13:46 00:12:01 97232 0 808640 42.98 2596 973076 1648124 56.25 678636 844636 31604 00:13:46 00:13:01 231848 0 777652 41.33 1520 870524 1273484 43.46 596192 719680 56 00:13:46 Average: 168562 0 653140 34.71 2495 1057347 1167305 39.84 501357 991704 3528 00:13:46 00:13:46 00:04:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:13:46 00:05:01 eth0 15.43 10.64 16.84 4.50 0.00 0.00 0.00 0.00 00:13:46 00:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:13:46 00:05:01 docker0 1.35 1.25 0.34 3.60 0.00 0.00 0.00 0.00 00:13:46 00:06:01 eth0 0.82 0.08 0.07 0.01 0.00 0.00 0.00 0.00 00:13:46 00:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:13:46 00:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:13:46 00:07:01 eth0 2.45 0.45 0.48 0.21 0.00 0.00 0.00 0.00 00:13:46 00:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:13:46 00:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:13:46 00:08:01 eth0 2.11 0.50 0.64 0.39 0.00 0.00 0.00 0.00 00:13:46 00:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:13:46 00:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:13:46 00:09:01 eth0 0.73 0.40 0.41 0.26 0.00 0.00 0.00 0.00 00:13:46 00:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:13:46 00:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:13:46 00:10:01 eth0 0.05 0.03 0.00 0.00 0.00 0.00 0.00 0.00 00:13:46 00:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:13:46 00:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:13:46 00:11:01 eth0 0.05 0.05 0.00 0.00 0.00 0.00 0.00 0.00 00:13:46 00:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:13:46 00:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:13:46 00:12:01 vethb5fa045 0.05 0.15 0.00 0.01 0.00 0.00 0.00 0.00 00:13:46 00:12:01 eth0 509.20 429.52 4674.99 42.92 0.00 0.00 0.00 0.00 00:13:46 00:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:13:46 00:12:01 docker0 55.77 60.54 4.58 410.91 0.00 0.00 0.00 0.00 00:13:46 00:13:01 veth4cc98ba 0.00 0.08 0.00 0.01 0.00 0.00 0.00 0.00 00:13:46 00:13:01 eth0 469.10 395.44 3435.55 95.74 0.00 0.00 0.00 0.00 00:13:46 00:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:13:46 00:13:01 docker0 21.75 28.95 1.25 185.19 0.00 0.00 0.00 0.00 00:13:46 Average: veth4cc98ba 0.00 0.01 0.00 0.00 0.00 0.00 0.00 0.00 00:13:46 Average: eth0 111.33 93.21 905.26 16.03 0.00 0.00 0.00 0.00 00:13:46 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:13:46 Average: docker0 8.78 10.10 0.69 66.78 0.00 0.00 0.00 0.00 00:13:46 00:13:46 00:13:46 ---> sar -P ALL: 00:13:46 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/05/20 _x86_64_ (4 CPU) 00:13:46 00:13:46 00:02:58 LINUX RESTART (4 CPU) 00:13:46 00:13:46 00:04:02 CPU %user %nice %system %iowait %steal %idle 00:13:46 00:05:01 all 0.70 0.00 0.36 0.07 0.01 98.87 00:13:46 00:05:01 0 0.44 0.00 0.37 0.15 0.00 99.03 00:13:46 00:05:01 1 1.00 0.00 0.42 0.08 0.00 98.49 00:13:46 00:05:01 2 0.73 0.00 0.36 0.05 0.02 98.85 00:13:46 00:05:01 3 0.61 0.00 0.27 0.00 0.02 99.10 00:13:46 00:06:01 all 0.16 0.00 0.05 0.00 0.00 99.79 00:13:46 00:06:01 0 0.03 0.00 0.03 0.00 0.00 99.93 00:13:46 00:06:01 1 0.55 0.00 0.07 0.00 0.00 99.38 00:13:46 00:06:01 2 0.03 0.00 0.03 0.00 0.00 99.93 00:13:46 00:06:01 3 0.03 0.00 0.05 0.00 0.00 99.92 00:13:46 00:07:01 all 0.21 0.00 0.08 0.00 0.00 99.71 00:13:46 00:07:01 0 0.45 0.00 0.05 0.00 0.00 99.50 00:13:46 00:07:01 1 0.22 0.00 0.07 0.00 0.00 99.72 00:13:46 00:07:01 2 0.08 0.00 0.07 0.00 0.00 99.85 00:13:46 00:07:01 3 0.10 0.00 0.12 0.00 0.00 99.78 00:13:46 00:08:01 all 0.17 0.00 0.04 0.00 0.00 99.78 00:13:46 00:08:01 0 0.53 0.00 0.02 0.00 0.00 99.45 00:13:46 00:08:01 1 0.07 0.00 0.07 0.00 0.00 99.87 00:13:46 00:08:01 2 0.05 0.00 0.03 0.00 0.00 99.92 00:13:46 00:08:01 3 0.05 0.00 0.05 0.00 0.00 99.90 00:13:46 00:09:01 all 0.18 0.00 0.07 0.00 0.00 99.75 00:13:46 00:09:01 0 0.55 0.00 0.05 0.00 0.00 99.40 00:13:46 00:09:01 1 0.05 0.00 0.07 0.00 0.00 99.88 00:13:46 00:09:01 2 0.05 0.00 0.05 0.00 0.00 99.90 00:13:46 00:09:01 3 0.07 0.00 0.12 0.00 0.00 99.82 00:13:46 00:10:01 all 0.16 0.00 0.07 0.00 0.00 99.78 00:13:46 00:10:01 0 0.50 0.00 0.02 0.00 0.00 99.48 00:13:46 00:10:01 1 0.05 0.00 0.07 0.00 0.00 99.88 00:13:46 00:10:01 2 0.05 0.00 0.03 0.00 0.00 99.92 00:13:46 00:10:01 3 0.03 0.00 0.15 0.00 0.00 99.82 00:13:46 00:11:01 all 0.11 0.00 0.05 0.00 0.00 99.84 00:13:46 00:11:01 0 0.12 0.00 0.02 0.00 0.00 99.87 00:13:46 00:11:01 1 0.07 0.00 0.08 0.00 0.02 99.83 00:13:46 00:11:01 2 0.05 0.00 0.02 0.00 0.00 99.93 00:13:46 00:11:01 3 0.22 0.00 0.07 0.00 0.00 99.72 00:13:46 00:12:01 all 11.78 0.00 8.57 4.05 0.04 75.56 00:13:46 00:12:01 0 11.41 0.00 9.39 2.93 0.03 76.25 00:13:46 00:12:01 1 13.22 0.00 7.82 5.06 0.03 73.86 00:13:46 00:12:01 2 11.57 0.00 8.67 3.94 0.05 75.78 00:13:46 00:12:01 3 10.90 0.00 8.41 4.29 0.03 76.36 00:13:46 00:13:01 all 12.33 0.00 10.04 3.27 0.07 74.30 00:13:46 00:13:01 0 11.25 0.00 10.17 4.87 0.07 73.65 00:13:46 00:13:01 1 13.05 0.00 10.04 1.93 0.05 74.92 00:13:46 00:13:01 2 12.41 0.00 9.64 3.25 0.07 74.63 00:13:46 00:13:01 3 12.59 0.00 10.31 3.01 0.09 74.00 00:13:46 Average: all 2.82 0.00 2.11 0.81 0.01 94.25 00:13:46 Average: 0 2.76 0.00 2.19 0.87 0.01 94.17 00:13:46 Average: 1 3.09 0.00 2.04 0.77 0.01 94.08 00:13:46 Average: 2 2.74 0.00 2.07 0.79 0.01 94.39 00:13:46 Average: 3 2.69 0.00 2.13 0.80 0.01 94.37 00:13:46 00:13:46 00:13:46