Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 8213f845ea67c9453cf231674cfbc44c6f8bb876 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5787013721740368068.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3625612014622705935.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/master/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4479845227998769140.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2220291150330842126.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/master/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh372270187028741278.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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:device-mqtt-go, 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: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-315’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-docker-4c-2g-1825’ is offline ‘prd-centos7-docker-4c-2g-748’ is offline ‘prd-centos7-docker-4c-2g-753’ is offline ‘prd-centos7-docker-4c-2g-756’ is offline ‘prd-ubuntu18.04-docker-8c-8g-754’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-756 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Avoid second fetch Checking out Revision 8213f845ea67c9453cf231674cfbc44c6f8bb876 (master) Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-mqtt-go_master@tmp/jenkins-gitclient-ssh1934421243794394464.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8213f845ea67c9453cf231674cfbc44c6f8bb876 # timeout=10 Commit message: "fix: Change "."s in profile name to "-"s (#284)" > git rev-list --no-walk 056bd704d3623abf2b20958f9f164b21c1ba151c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-22T16:55:32.583Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-22T16:55:32.681Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-22T16:55:32.714Z] ========================================================= [2021-06-22T16:55:32.714Z] EdgeX Global Pipelines Version Info [2021-06-22T16:55:32.714Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-22T16:55:34.199Z] ------------------- [2021-06-22T16:55:34.199Z] stable info: [2021-06-22T16:55:34.199Z] ------------------- [2021-06-22T16:55:34.199Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-22T16:55:34.199Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-22T16:55:34.199Z] Message: update stable to v1.0.195 [2021-06-22T16:55:34.772Z] ------------------- [2021-06-22T16:55:34.772Z] experimental info: [2021-06-22T16:55:34.772Z] ------------------- [2021-06-22T16:55:34.772Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-22T16:55:34.772Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-22T16:55:34.772Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-22T16:55:34.903Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-06-22T16:55:34.929Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-06-22T16:55:34.955Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-22T16:55:34.984Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-22T16:55:35.010Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-22T16:55:35.040Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-22T16:55:35.064Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-22T16:55:35.089Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-22T16:55:35.114Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-22T16:55:35.139Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-22T16:55:35.163Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-22T16:55:35.189Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2021-06-22T16:55:35.216Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-22T16:55:35.243Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-22T16:55:35.267Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-22T16:55:35.291Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-22T16:55:35.317Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-22T16:55:35.343Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-22T16:55:35.370Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-22T16:55:35.393Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-06-22T16:55:35.418Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-22T16:55:35.443Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-22T16:55:35.468Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-22T16:55:35.493Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-22T16:55:35.519Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-22T16:55:35.544Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-22T16:55:35.570Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-06-22T16:55:35.608Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-06-22T16:55:35.634Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-06-22T16:55:35.663Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8213f845ea67c9453cf231674cfbc44c6f8bb876 [Pipeline] echo [2021-06-22T16:55:35.689Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8213f84 [Pipeline] echo [2021-06-22T16:55:35.715Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-22T16:55:35.798Z] provisioning config files... [2021-06-22T16:55:35.813Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config1450826337230054773tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-22T16:55:36.139Z] ---> docker-login.sh [2021-06-22T16:55:36.139Z] nexus3.edgexfoundry.org:10001 [2021-06-22T16:55:36.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T16:55:36.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T16:55:36.400Z] Configure a credential helper to remove this warning. See [2021-06-22T16:55:36.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T16:55:36.400Z] [2021-06-22T16:55:36.400Z] Login Succeeded [2021-06-22T16:55:36.400Z] nexus3.edgexfoundry.org:10002 [2021-06-22T16:55:36.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T16:55:36.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T16:55:36.667Z] Configure a credential helper to remove this warning. See [2021-06-22T16:55:36.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T16:55:36.667Z] [2021-06-22T16:55:36.667Z] Login Succeeded [2021-06-22T16:55:36.667Z] nexus3.edgexfoundry.org:10003 [2021-06-22T16:55:36.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T16:55:36.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T16:55:36.667Z] Configure a credential helper to remove this warning. See [2021-06-22T16:55:36.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T16:55:36.667Z] [2021-06-22T16:55:36.667Z] Login Succeeded [2021-06-22T16:55:36.667Z] nexus3.edgexfoundry.org:10004 [2021-06-22T16:55:36.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T16:55:36.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T16:55:36.930Z] Configure a credential helper to remove this warning. See [2021-06-22T16:55:36.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T16:55:36.930Z] [2021-06-22T16:55:36.930Z] Login Succeeded [2021-06-22T16:55:36.930Z] docker.io [2021-06-22T16:55:36.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T16:55:37.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T16:55:37.502Z] Configure a credential helper to remove this warning. See [2021-06-22T16:55:37.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T16:55:37.502Z] [2021-06-22T16:55:37.502Z] Login Succeeded [2021-06-22T16:55:37.502Z] ---> docker-login.sh ends [Pipeline] } [2021-06-22T16:55:37.511Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-22T16:55:38.139Z] + git log --format=format:%s -1 8213f845ea67c9453cf231674cfbc44c6f8bb876 [Pipeline] echo [2021-06-22T16:55:38.177Z] GIT_COMMIT: 8213f845ea67c9453cf231674cfbc44c6f8bb876, Commit Message: fix: Change "."s in profile name to "-"s (#284) [Pipeline] echo [2021-06-22T16:55:38.192Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-22T16:55:38.998Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-22T16:55:38.998Z] [2021-06-22T16:55:38.998Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-22T16:55:39.314Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-22T16:55:39.314Z] latest: Pulling from edgex-devops/git-semver [2021-06-22T16:55:39.314Z] 31603596830f: Pulling fs layer [2021-06-22T16:55:39.314Z] 54011a49482f: Pulling fs layer [2021-06-22T16:55:39.314Z] a6820b24f6d8: Pulling fs layer [2021-06-22T16:55:39.314Z] f581987b2513: Pulling fs layer [2021-06-22T16:55:39.314Z] f581987b2513: Waiting [2021-06-22T16:55:39.314Z] 54011a49482f: Verifying Checksum [2021-06-22T16:55:39.314Z] 54011a49482f: Download complete [2021-06-22T16:55:39.576Z] 31603596830f: Verifying Checksum [2021-06-22T16:55:39.576Z] 31603596830f: Download complete [2021-06-22T16:55:39.576Z] a6820b24f6d8: Verifying Checksum [2021-06-22T16:55:39.576Z] a6820b24f6d8: Download complete [2021-06-22T16:55:39.576Z] f581987b2513: Verifying Checksum [2021-06-22T16:55:39.576Z] f581987b2513: Download complete [2021-06-22T16:55:39.576Z] 31603596830f: Pull complete [2021-06-22T16:55:39.839Z] 54011a49482f: Pull complete [2021-06-22T16:55:40.429Z] a6820b24f6d8: Pull complete [2021-06-22T16:55:40.429Z] f581987b2513: Pull complete [2021-06-22T16:55:40.690Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-22T16:55:40.690Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-22T16:55:40.690Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-22T16:55:40.770Z] prd-centos7-docker-4c-2g-756 does not seem to be running inside a container [2021-06-22T16:55:40.826Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-22T16:55:41.957Z] $ docker top 4ed00c7d0b9f8b9d77a92fcb3ee3e067ab1026954c03424cb00cfe3603b453e1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-22T16:55:42.082Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-22T16:55:42.083Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-22T16:55:42.199Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-22T16:55:42.198Z] $ docker exec 4ed00c7d0b9f8b9d77a92fcb3ee3e067ab1026954c03424cb00cfe3603b453e1 ssh-agent [2021-06-22T16:55:42.307Z] SSH_AUTH_SOCK=/tmp/ssh-ge8HPNHGlBd7/agent.15 [2021-06-22T16:55:42.307Z] SSH_AGENT_PID=22 [2021-06-22T16:55:42.317Z] Running ssh-add (command line suppressed) [2021-06-22T16:55:42.409Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5975886824623373696.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_5975886824623373696.key) [2021-06-22T16:55:42.427Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-22T16:55:42.734Z] + git tag --points-at HEAD [Pipeline] } [2021-06-22T16:55:42.750Z] $ docker exec --env ******** --env ******** 4ed00c7d0b9f8b9d77a92fcb3ee3e067ab1026954c03424cb00cfe3603b453e1 ssh-agent -k [2021-06-22T16:55:42.838Z] unset SSH_AUTH_SOCK; [2021-06-22T16:55:42.838Z] unset SSH_AGENT_PID; [2021-06-22T16:55:42.838Z] echo Agent pid 22 killed; [2021-06-22T16:55:42.855Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-22T16:55:42.904Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-22T16:55:42.904Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-22T16:55:43.012Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-22T16:55:43.011Z] $ docker exec 4ed00c7d0b9f8b9d77a92fcb3ee3e067ab1026954c03424cb00cfe3603b453e1 ssh-agent [2021-06-22T16:55:43.121Z] SSH_AUTH_SOCK=/tmp/ssh-nCdBiWwpeDRI/agent.54 [2021-06-22T16:55:43.121Z] SSH_AGENT_PID=60 [2021-06-22T16:55:43.127Z] Running ssh-add (command line suppressed) [2021-06-22T16:55:43.225Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_6739725995932259155.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_6739725995932259155.key) [2021-06-22T16:55:43.244Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-22T16:55:43.552Z] + git semver init [2021-06-22T16:55:43.552Z] # -> Open(): unable to determine branch for HEAD [2021-06-22T16:55:43.552Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-06-22T16:55:43.552Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-06-22T16:55:43.552Z] # $SEMVER_REMOTE_NAME = origin [2021-06-22T16:55:43.552Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-22T16:55:43.552Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-22T16:55:43.552Z] # $SEMVER_BRANCH = master [2021-06-22T16:55:43.552Z] # $SEMVER_TEMP = /tmp/semver-150856039 [2021-06-22T16:55:43.552Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-06-22T16:55:44.132Z] # '/tmp/semver-150856039' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' [2021-06-22T16:55:44.132Z] # -> Force: false [2021-06-22T16:55:44.132Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2021-06-22T16:55:44.139Z] $ docker exec --env ******** --env ******** 4ed00c7d0b9f8b9d77a92fcb3ee3e067ab1026954c03424cb00cfe3603b453e1 ssh-agent -k [2021-06-22T16:55:44.228Z] unset SSH_AUTH_SOCK; [2021-06-22T16:55:44.228Z] unset SSH_AGENT_PID; [2021-06-22T16:55:44.228Z] echo Agent pid 60 killed; [2021-06-22T16:55:44.243Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-22T16:55:44.584Z] + git semver [Pipeline] } [2021-06-22T16:55:44.595Z] $ docker stop --time=1 4ed00c7d0b9f8b9d77a92fcb3ee3e067ab1026954c03424cb00cfe3603b453e1 [2021-06-22T16:55:45.847Z] $ docker rm -f 4ed00c7d0b9f8b9d77a92fcb3ee3e067ab1026954c03424cb00cfe3603b453e1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-22T16:55:46.214Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-22T16:55:46.485Z] Stashed 1 file(s) [Pipeline] echo [2021-06-22T16:55:46.489Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.25 [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 [2021-06-22T16:56:01.761Z] Still waiting to schedule task [2021-06-22T16:56:01.761Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-22T16:56:01.764Z] Still waiting to schedule task [2021-06-22T16:56:01.764Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-22T16:58:00.409Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-757 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2021-06-22T16:58:00.429Z] Running in /w/workspace/device-mqtt-go/57 [Pipeline] { [Pipeline] checkout [2021-06-22T16:58:00.633Z] Selected Git installation does not exist. Using Default [2021-06-22T16:58:00.633Z] The recommended git tool is: NONE [2021-06-22T16:58:05.655Z] Running on prd-centos7-docker-4c-2g-759 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2021-06-22T16:58:05.676Z] Running in /w/workspace/device-mqtt-go/57 [Pipeline] { [Pipeline] checkout [2021-06-22T16:58:05.801Z] Selected Git installation does not exist. Using Default [2021-06-22T16:58:05.801Z] The recommended git tool is: NONE [2021-06-22T16:58:05.997Z] using credential edgex-jenkins-ssh [2021-06-22T16:58:06.017Z] Cloning the remote Git repository [2021-06-22T16:58:06.073Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-06-22T16:58:06.251Z] > git init /w/workspace/device-mqtt-go/57 # timeout=10 [2021-06-22T16:58:06.325Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-06-22T16:58:06.327Z] > git --version # timeout=10 [2021-06-22T16:58:06.349Z] > git --version # 'git version 2.17.1' [2021-06-22T16:58:06.350Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-22T16:58:06.427Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-22T16:58:07.397Z] Avoid second fetch [2021-06-22T16:58:07.398Z] Checking out Revision 8213f845ea67c9453cf231674cfbc44c6f8bb876 (master) [2021-06-22T16:58:07.340Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-06-22T16:58:07.365Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-22T16:58:07.419Z] > git config core.sparsecheckout # timeout=10 [2021-06-22T16:58:07.438Z] > git checkout -f 8213f845ea67c9453cf231674cfbc44c6f8bb876 # timeout=10 [2021-06-22T16:58:08.191Z] using credential edgex-jenkins-ssh [2021-06-22T16:58:08.207Z] Cloning the remote Git repository [2021-06-22T16:58:08.960Z] Avoid second fetch [2021-06-22T16:58:08.961Z] Checking out Revision 8213f845ea67c9453cf231674cfbc44c6f8bb876 (master) [2021-06-22T16:58:07.972Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-06-22T16:58:08.043Z] > git init /w/workspace/device-mqtt-go/57 # timeout=10 [2021-06-22T16:58:08.078Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-06-22T16:58:08.078Z] > git --version # timeout=10 [2021-06-22T16:58:08.090Z] > git --version # 'git version 2.24.4' [2021-06-22T16:58:08.091Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-22T16:58:08.115Z] [INFO] Currently running in a labeled security context [2021-06-22T16:58:08.115Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-22T16:58:08.115Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/57@tmp/jenkins-gitclient-ssh220880904748854206.key [2021-06-22T16:58:08.147Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-22T16:58:08.744Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-06-22T16:58:08.752Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-22T16:58:08.779Z] > git config core.sparsecheckout # timeout=10 [2021-06-22T16:58:08.788Z] > git checkout -f 8213f845ea67c9453cf231674cfbc44c6f8bb876 # timeout=10 [2021-06-22T16:58:11.658Z] Commit message: "fix: Change "."s in profile name to "-"s (#284)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-22T16:58:12.489Z] Commit message: "fix: Change "."s in profile name to "-"s (#284)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2021-06-22T16:58:12.833Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-06-22T16:58:13.555Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-22T16:58:13.617Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-22T16:58:13.894Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-22T16:58:13.980Z] + sudo service docker restart+ [2021-06-22T16:58:13.980Z] true [2021-06-22T16:58:14.208Z] + sudo service docker restart [2021-06-22T16:58:14.208Z] + true [2021-06-22T16:58:14.208Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-22T16:58:32.334Z] provisioning config files... [2021-06-22T16:58:32.363Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/57@tmp/config6601643636904194395tmp [Pipeline] withEnv [Pipeline] { [Pipeline] { [Pipeline] configFileProvider [2021-06-22T16:58:32.409Z] provisioning config files... [Pipeline] libraryResource [Pipeline] sh [2021-06-22T16:58:32.467Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/57@tmp/config4908648547642086420tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-22T16:58:32.787Z] ---> docker-login.sh [2021-06-22T16:58:32.787Z] nexus3.edgexfoundry.org:10001 [2021-06-22T16:58:32.853Z] ---> docker-login.sh [2021-06-22T16:58:32.853Z] nexus3.edgexfoundry.org:10001 [2021-06-22T16:58:33.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T16:58:33.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T16:58:33.116Z] Configure a credential helper to remove this warning. See [2021-06-22T16:58:33.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T16:58:33.116Z] [2021-06-22T16:58:33.116Z] Login Succeeded [2021-06-22T16:58:33.116Z] nexus3.edgexfoundry.org:10002 [2021-06-22T16:58:33.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T16:58:33.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T16:58:33.378Z] Configure a credential helper to remove this warning. See [2021-06-22T16:58:33.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T16:58:33.378Z] [2021-06-22T16:58:33.378Z] Login Succeeded [2021-06-22T16:58:33.378Z] nexus3.edgexfoundry.org:10003 [2021-06-22T16:58:33.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T16:58:33.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T16:58:33.378Z] Configure a credential helper to remove this warning. See [2021-06-22T16:58:33.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T16:58:33.378Z] [2021-06-22T16:58:33.378Z] Login Succeeded [2021-06-22T16:58:33.378Z] nexus3.edgexfoundry.org:10004 [2021-06-22T16:58:33.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T16:58:33.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T16:58:33.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T16:58:33.641Z] Configure a credential helper to remove this warning. See [2021-06-22T16:58:33.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T16:58:33.641Z] [2021-06-22T16:58:33.641Z] Login Succeeded [2021-06-22T16:58:33.641Z] docker.io [2021-06-22T16:58:33.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T16:58:33.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T16:58:33.989Z] Configure a credential helper to remove this warning. See [2021-06-22T16:58:33.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T16:58:33.989Z] [2021-06-22T16:58:33.989Z] Login Succeeded [2021-06-22T16:58:33.989Z] nexus3.edgexfoundry.org:10002 [2021-06-22T16:58:34.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T16:58:34.213Z] Configure a credential helper to remove this warning. See [2021-06-22T16:58:34.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T16:58:34.213Z] [2021-06-22T16:58:34.213Z] Login Succeeded [2021-06-22T16:58:34.213Z] ---> docker-login.sh ends [Pipeline] } [2021-06-22T16:58:34.222Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [2021-06-22T16:58:34.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] unstash [Pipeline] echo [2021-06-22T16:58:34.409Z] ========================================================= [2021-06-22T16:58:34.409Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-22T16:58:34.409Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-22T16:58:34.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T16:58:34.538Z] Configure a credential helper to remove this warning. See [2021-06-22T16:58:34.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T16:58:34.538Z] [2021-06-22T16:58:34.538Z] Login Succeeded [2021-06-22T16:58:34.538Z] nexus3.edgexfoundry.org:10003 [2021-06-22T16:58:34.738Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-22T16:58:34.738Z] Sending build context to Docker daemon 616.4kB [2021-06-22T16:58:34.738Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-22T16:58:34.738Z] Step 2/8 : FROM ${BASE} [2021-06-22T16:58:34.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T16:58:34.999Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-22T16:58:35.000Z] 540db60ca938: Pulling fs layer [2021-06-22T16:58:35.000Z] adcc1eea9eea: Pulling fs layer [2021-06-22T16:58:35.000Z] 4c4ab2625f07: Pulling fs layer [2021-06-22T16:58:35.000Z] 0510c868ecb4: Pulling fs layer [2021-06-22T16:58:35.000Z] afea3b2eda06: Pulling fs layer [2021-06-22T16:58:35.000Z] 7809a108b3ef: Pulling fs layer [2021-06-22T16:58:35.000Z] f706445af74f: Pulling fs layer [2021-06-22T16:58:35.000Z] afea3b2eda06: Waiting [2021-06-22T16:58:35.000Z] 7809a108b3ef: Waiting [2021-06-22T16:58:35.000Z] f706445af74f: Waiting [2021-06-22T16:58:35.000Z] 0510c868ecb4: Waiting [2021-06-22T16:58:35.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T16:58:35.088Z] Configure a credential helper to remove this warning. See [2021-06-22T16:58:35.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T16:58:35.088Z] [2021-06-22T16:58:35.088Z] Login Succeeded [2021-06-22T16:58:35.088Z] nexus3.edgexfoundry.org:10004 [2021-06-22T16:58:35.261Z] 4c4ab2625f07: Verifying Checksum [2021-06-22T16:58:35.261Z] 4c4ab2625f07: Download complete [2021-06-22T16:58:35.261Z] adcc1eea9eea: Verifying Checksum [2021-06-22T16:58:35.261Z] adcc1eea9eea: Download complete [2021-06-22T16:58:35.261Z] afea3b2eda06: Verifying Checksum [2021-06-22T16:58:35.261Z] afea3b2eda06: Download complete [2021-06-22T16:58:35.261Z] 7809a108b3ef: Verifying Checksum [2021-06-22T16:58:35.261Z] 7809a108b3ef: Download complete [2021-06-22T16:58:35.261Z] 540db60ca938: Verifying Checksum [2021-06-22T16:58:35.261Z] 540db60ca938: Download complete [2021-06-22T16:58:35.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T16:58:35.523Z] 540db60ca938: Pull complete [2021-06-22T16:58:35.523Z] adcc1eea9eea: Pull complete [2021-06-22T16:58:35.787Z] 4c4ab2625f07: Pull complete [2021-06-22T16:58:36.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T16:58:36.344Z] Configure a credential helper to remove this warning. See [2021-06-22T16:58:36.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T16:58:36.344Z] [2021-06-22T16:58:36.344Z] Login Succeeded [2021-06-22T16:58:36.344Z] docker.io [2021-06-22T16:58:36.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T16:58:36.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T16:58:36.897Z] Configure a credential helper to remove this warning. See [2021-06-22T16:58:36.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T16:58:36.897Z] [2021-06-22T16:58:36.897Z] Login Succeeded [2021-06-22T16:58:37.171Z] ---> docker-login.sh ends [Pipeline] } [2021-06-22T16:58:37.192Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-22T16:58:37.511Z] ========================================================= [2021-06-22T16:58:37.511Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-22T16:58:37.511Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-22T16:58:37.717Z] f706445af74f: Verifying Checksum [2021-06-22T16:58:37.717Z] f706445af74f: Download complete [2021-06-22T16:58:37.872Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-22T16:58:38.146Z] Sending build context to Docker daemon 615.4kB [2021-06-22T16:58:38.304Z] 0510c868ecb4: Verifying Checksum [2021-06-22T16:58:38.304Z] 0510c868ecb4: Download complete [2021-06-22T16:58:38.419Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-22T16:58:38.419Z] Step 2/8 : FROM ${BASE} [2021-06-22T16:58:38.419Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-22T16:58:38.419Z] 595b0fe564bb: Pulling fs layer [2021-06-22T16:58:38.419Z] 3088b5b3c5c0: Pulling fs layer [2021-06-22T16:58:38.419Z] 5b7225fbf94c: Pulling fs layer [2021-06-22T16:58:38.419Z] ba82ee9f976e: Pulling fs layer [2021-06-22T16:58:38.419Z] 506bd15cee9f: Pulling fs layer [2021-06-22T16:58:38.419Z] 75a0a4a0db45: Pulling fs layer [2021-06-22T16:58:38.419Z] 618dc40b7e24: Pulling fs layer [2021-06-22T16:58:38.419Z] ba82ee9f976e: Waiting [2021-06-22T16:58:38.419Z] 506bd15cee9f: Waiting [2021-06-22T16:58:38.419Z] 75a0a4a0db45: Waiting [2021-06-22T16:58:38.419Z] 618dc40b7e24: Waiting [2021-06-22T16:58:38.419Z] 5b7225fbf94c: Download complete [2021-06-22T16:58:38.419Z] 3088b5b3c5c0: Verifying Checksum [2021-06-22T16:58:38.419Z] 3088b5b3c5c0: Download complete [2021-06-22T16:58:38.695Z] 506bd15cee9f: Download complete [2021-06-22T16:58:38.695Z] 75a0a4a0db45: Download complete [2021-06-22T16:58:38.695Z] 595b0fe564bb: Verifying Checksum [2021-06-22T16:58:38.695Z] 595b0fe564bb: Download complete [2021-06-22T16:58:39.302Z] 595b0fe564bb: Pull complete [2021-06-22T16:58:39.913Z] 3088b5b3c5c0: Pull complete [2021-06-22T16:58:40.516Z] 5b7225fbf94c: Pull complete [2021-06-22T16:58:40.516Z] 618dc40b7e24: Verifying Checksum [2021-06-22T16:58:40.516Z] 618dc40b7e24: Download complete [2021-06-22T16:58:41.630Z] 0510c868ecb4: Pull complete [2021-06-22T16:58:41.630Z] afea3b2eda06: Pull complete [2021-06-22T16:58:41.894Z] 7809a108b3ef: Pull complete [2021-06-22T16:58:41.969Z] ba82ee9f976e: Verifying Checksum [2021-06-22T16:58:41.969Z] ba82ee9f976e: Download complete [2021-06-22T16:58:43.300Z] f706445af74f: Pull complete [2021-06-22T16:58:43.300Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-22T16:58:43.300Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-22T16:58:43.300Z] ---> b068be0155e3 [2021-06-22T16:58:43.300Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-22T16:58:46.626Z] ---> Running in 2aca9f9ab32b [2021-06-22T16:58:46.626Z] Removing intermediate container 2aca9f9ab32b [2021-06-22T16:58:46.626Z] ---> 4d9438be6c47 [2021-06-22T16:58:46.626Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-22T16:58:46.626Z] ---> Running in 4b51a0a7a5ee [2021-06-22T16:58:46.891Z] Removing intermediate container 4b51a0a7a5ee [2021-06-22T16:58:46.891Z] ---> 398b277d0f15 [2021-06-22T16:58:46.891Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-06-22T16:58:47.156Z] ---> Running in 1550facfb303 [2021-06-22T16:58:47.418Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-22T16:58:48.371Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-22T16:58:48.946Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-22T16:58:49.208Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-22T16:58:49.208Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-22T16:58:49.208Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-22T16:58:49.470Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-22T16:58:49.470Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-22T16:58:49.731Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-22T16:58:49.993Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-22T16:58:49.993Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-22T16:58:49.993Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-22T16:58:50.255Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-22T16:58:50.255Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-22T16:58:50.255Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-22T16:58:50.528Z] Executing busybox-1.32.1-r6.trigger [2021-06-22T16:58:50.528Z] OK: 156 MiB in 53 packages [2021-06-22T16:58:50.794Z] Removing intermediate container 1550facfb303 [2021-06-22T16:58:50.794Z] ---> f5c86333dc89 [2021-06-22T16:58:50.794Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-06-22T16:58:50.794Z] ---> Running in 59cc5a28959d [2021-06-22T16:58:51.057Z] Removing intermediate container 59cc5a28959d [2021-06-22T16:58:51.057Z] ---> db03165fce8c [2021-06-22T16:58:51.057Z] Step 7/8 : COPY . . [2021-06-22T16:58:51.325Z] ---> 3e8e110bdd3f [2021-06-22T16:58:51.325Z] Step 8/8 : RUN go mod download [2021-06-22T16:58:51.325Z] ---> Running in f823807c90ab [2021-06-22T16:58:52.148Z] ba82ee9f976e: Pull complete [2021-06-22T16:58:52.149Z] 506bd15cee9f: Pull complete [2021-06-22T16:58:52.421Z] 75a0a4a0db45: Pull complete [2021-06-22T16:58:56.985Z] 618dc40b7e24: Pull complete [2021-06-22T16:58:56.985Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-22T16:58:56.985Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-22T16:58:56.985Z] ---> a36622ca3599 [2021-06-22T16:58:56.985Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-22T16:58:58.050Z] ---> Running in 8c3c054798b0 [2021-06-22T16:58:58.649Z] Removing intermediate container 8c3c054798b0 [2021-06-22T16:58:58.649Z] ---> 78c483abb201 [2021-06-22T16:58:58.649Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-22T16:58:58.924Z] ---> Running in 4ec5b6f49daf [2021-06-22T16:59:01.561Z] Removing intermediate container 4ec5b6f49daf [2021-06-22T16:59:01.561Z] ---> 107a5aea77aa [2021-06-22T16:59:01.561Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-06-22T16:59:01.561Z] ---> Running in 80cbf7d90477 [2021-06-22T16:59:02.575Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-22T16:59:03.551Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-22T16:59:03.596Z] Removing intermediate container f823807c90ab [2021-06-22T16:59:03.596Z] ---> d49b59c9dabb [2021-06-22T16:59:03.596Z] Successfully built d49b59c9dabb [2021-06-22T16:59:03.596Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-22T16:59:03.906Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-22T16:59:03.906Z] . [Pipeline] withDockerContainer [2021-06-22T16:59:04.012Z] prd-centos7-docker-4c-2g-759 does not seem to be running inside a container [2021-06-22T16:59:04.062Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/57 -v /w/workspace/device-mqtt-go/57:/w/workspace/device-mqtt-go/57:rw,z -v /w/workspace/device-mqtt-go/57@tmp:/w/workspace/device-mqtt-go/57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-22T16:59:04.504Z] $ docker top f137c723479d1e0c3db67185fa37c4d1e7f2e655343781ff4e5cc75395a4ca3d -eo pid,comm [2021-06-22T16:59:04.535Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-22T16:59:04.535Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-22T16:59:04.535Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-22T16:59:04.535Z] (4/13) Installing libsodium-dev (1.0.18-r0) [Pipeline] { [Pipeline] sh [2021-06-22T16:59:04.806Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-22T16:59:04.806Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-22T16:59:04.806Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-22T16:59:04.916Z] + go version [2021-06-22T16:59:04.916Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-22T16:59:04.925Z] $ docker stop --time=1 f137c723479d1e0c3db67185fa37c4d1e7f2e655343781ff4e5cc75395a4ca3d [2021-06-22T16:59:05.078Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-22T16:59:05.350Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-22T16:59:05.350Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-22T16:59:05.350Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-22T16:59:05.621Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-22T16:59:05.621Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-22T16:59:05.895Z] Executing busybox-1.32.1-r6.trigger [2021-06-22T16:59:05.895Z] OK: 145 MiB in 53 packages [2021-06-22T16:59:06.146Z] $ docker rm -f f137c723479d1e0c3db67185fa37c4d1e7f2e655343781ff4e5cc75395a4ca3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-22T16:59:06.807Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-22T16:59:06.807Z] . [Pipeline] withDockerContainer [2021-06-22T16:59:06.887Z] prd-centos7-docker-4c-2g-759 does not seem to be running inside a container [2021-06-22T16:59:06.935Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/57 -v /w/workspace/device-mqtt-go/57:/w/workspace/device-mqtt-go/57:rw,z -v /w/workspace/device-mqtt-go/57@tmp:/w/workspace/device-mqtt-go/57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-22T16:59:07.320Z] $ docker top 5494918feeba385b4a0b2a7e78e28bc789c1ebb10215e948c0df885bb6ebd262 -eo pid,comm [2021-06-22T16:59:07.348Z] Removing intermediate container 80cbf7d90477 [2021-06-22T16:59:07.348Z] ---> b52399b98946 [2021-06-22T16:59:07.348Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-06-22T16:59:07.348Z] ---> Running in cc7965979865 [Pipeline] { [Pipeline] sh [2021-06-22T16:59:07.733Z] + go mod tidy [2021-06-22T16:59:07.948Z] Removing intermediate container cc7965979865 [2021-06-22T16:59:07.948Z] ---> fa04ff67773b [2021-06-22T16:59:07.948Z] Step 7/8 : COPY . . [Pipeline] sh [2021-06-22T16:59:08.321Z] + make test [2021-06-22T16:59:08.321Z] go mod tidy [2021-06-22T16:59:08.321Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-22T16:59:08.907Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-06-22T16:59:08.949Z] ---> 307ee9f342dc [2021-06-22T16:59:08.949Z] Step 8/8 : RUN go mod download [2021-06-22T16:59:09.225Z] ---> Running in 374e61d01774 [2021-06-22T16:59:27.156Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-06-22T16:59:27.156Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.009s coverage: 24.2% of statements [2021-06-22T16:59:27.156Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-06-22T16:59:27.156Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-22T16:59:33.812Z] gofmt -l . [2021-06-22T16:59:33.812Z] ["`gofmt -l .`" = ""] [2021-06-22T16:59:33.812Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-22T16:59:34.395Z] $ docker stop --time=1 5494918feeba385b4a0b2a7e78e28bc789c1ebb10215e948c0df885bb6ebd262 [2021-06-22T16:59:35.995Z] $ docker rm -f 5494918feeba385b4a0b2a7e78e28bc789c1ebb10215e948c0df885bb6ebd262 [2021-06-22T16:59:36.045Z] Removing intermediate container 374e61d01774 [2021-06-22T16:59:36.045Z] ---> 5a01257102b0 [2021-06-22T16:59:36.045Z] Successfully built 5a01257102b0 [2021-06-22T16:59:36.045Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-06-22T16:59:36.430Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-22T16:59:36.537Z] + docker inspect -f . ci-base-image-arm64 [2021-06-22T16:59:36.538Z] . [Pipeline] withDockerContainer [2021-06-22T16:59:36.673Z] Stashed 1 file(s) [2021-06-22T16:59:36.831Z] prd-ubuntu18.04-docker-arm64-4c-16g-757 does not seem to be running inside a container [2021-06-22T16:59:36.929Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/57 -v /w/workspace/device-mqtt-go/57:/w/workspace/device-mqtt-go/57:rw,z -v /w/workspace/device-mqtt-go/57@tmp:/w/workspace/device-mqtt-go/57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-22T16:59:38.419Z] $ docker top 03f1ffa822e278e8f8779826583fc90c0ac8e18107f8ab62879b73842e04a422 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-06-22T16:59:39.475Z] + go version [2021-06-22T16:59:39.475Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-22T16:59:41.396Z] $ docker stop --time=1 03f1ffa822e278e8f8779826583fc90c0ac8e18107f8ab62879b73842e04a422 [2021-06-22T16:59:43.196Z] $ docker rm -f 03f1ffa822e278e8f8779826583fc90c0ac8e18107f8ab62879b73842e04a422 [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-22T16:59:43.743Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-22T16:59:44.020Z] + docker inspect -f . ci-base-image-arm64 [2021-06-22T16:59:44.020Z] . [Pipeline] withDockerContainer [2021-06-22T16:59:44.056Z] + ls -al . [2021-06-22T16:59:44.056Z] total 108 [2021-06-22T16:59:44.056Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jun 22 16:59 . [2021-06-22T16:59:44.056Z] drwxrwxr-x. 4 jenkins jenkins 30 Jun 22 16:58 .. [2021-06-22T16:59:44.056Z] -rw-rw-r--. 1 jenkins jenkins 7100 Jun 22 16:58 Attribution.txt [2021-06-22T16:59:44.056Z] drwxrwxr-x. 2 jenkins jenkins 60 Jun 22 16:58 bin [2021-06-22T16:59:44.056Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 22 16:58 cmd [2021-06-22T16:59:44.056Z] -rw-r--r--. 1 jenkins jenkins 16501 Jun 22 16:59 coverage.out [2021-06-22T16:59:44.056Z] -rw-rw-r--. 1 jenkins jenkins 1877 Jun 22 16:58 Dockerfile [2021-06-22T16:59:44.056Z] -rw-rw-r--. 1 jenkins jenkins 994 Jun 22 16:58 Dockerfile.build [2021-06-22T16:59:44.056Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 22 16:58 .dockerignore [2021-06-22T16:59:44.056Z] drwxrwxr-x. 8 jenkins jenkins 162 Jun 22 16:58 .git [2021-06-22T16:59:44.056Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 22 16:58 .github [2021-06-22T16:59:44.056Z] -rw-rw-r--. 1 jenkins jenkins 336 Jun 22 16:58 .gitignore [2021-06-22T16:59:44.056Z] -rw-rw-r--. 1 jenkins jenkins 410 Jun 22 16:58 go.mod [2021-06-22T16:59:44.056Z] -rw-r--r--. 1 jenkins jenkins 20873 Jun 22 16:59 go.sum [2021-06-22T16:59:44.056Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 22 16:58 internal [2021-06-22T16:59:44.056Z] -rw-rw-r--. 1 jenkins jenkins 677 Jun 22 16:58 Jenkinsfile [2021-06-22T16:59:44.056Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 22 16:58 LICENSE [2021-06-22T16:59:44.056Z] -rw-rw-r--. 1 jenkins jenkins 907 Jun 22 16:58 Makefile [2021-06-22T16:59:44.056Z] drwxrwxr-x. 2 jenkins jenkins 23 Jun 22 16:58 mock [2021-06-22T16:59:44.056Z] -rw-rw-r--. 1 jenkins jenkins 2217 Jun 22 16:58 README.md [2021-06-22T16:59:44.056Z] drwxrwxr-x. 4 jenkins jenkins 71 Jun 22 16:58 snap [2021-06-22T16:59:44.056Z] -rw-rw-r--. 1 jenkins jenkins 12 Jun 22 16:55 VERSION [2021-06-22T16:59:44.056Z] -rw-rw-r--. 1 jenkins jenkins 227 Jun 22 16:58 version.go [2021-06-22T16:59:44.281Z] prd-ubuntu18.04-docker-arm64-4c-16g-757 does not seem to be running inside a container [2021-06-22T16:59:44.363Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/57 -v /w/workspace/device-mqtt-go/57:/w/workspace/device-mqtt-go/57:rw,z -v /w/workspace/device-mqtt-go/57@tmp:/w/workspace/device-mqtt-go/57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-22T16:59:46.016Z] $ docker top 4365c9600ad56fbc2c5f43fe2c13f4e66e5b65da4fea1cda7e80bb7ff1fd641e -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-06-22T16:59:46.734Z] + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=8213f845ea67c9453cf231674cfbc44c6f8bb876 --label arch=amd64 --label version=1.3.2-dev.25 . [2021-06-22T16:59:46.734Z] Sending build context to Docker daemon 633.9kB [2021-06-22T16:59:46.734Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-22T16:59:46.734Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-22T16:59:46.734Z] ---> d49b59c9dabb [2021-06-22T16:59:46.734Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-22T16:59:46.734Z] ---> Running in 497675637d8a [2021-06-22T16:59:46.997Z] Removing intermediate container 497675637d8a [2021-06-22T16:59:46.997Z] ---> acb15da1bec8 [2021-06-22T16:59:46.997Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-22T16:59:46.997Z] ---> Running in c1314e247924 [2021-06-22T16:59:46.997Z] Removing intermediate container c1314e247924 [2021-06-22T16:59:46.997Z] ---> d055a50c19fb [2021-06-22T16:59:46.997Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-22T16:59:47.005Z] + go mod tidy [2021-06-22T16:59:47.263Z] ---> Running in 62b5f37aebf5 [2021-06-22T16:59:47.523Z] Removing intermediate container 62b5f37aebf5 [2021-06-22T16:59:47.523Z] ---> 878f2a572725 [2021-06-22T16:59:47.523Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [Pipeline] sh [2021-06-22T16:59:47.785Z] ---> Running in 7d5958f54f56 [2021-06-22T16:59:48.050Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-22T16:59:48.270Z] + make test [2021-06-22T16:59:48.270Z] go mod tidy [2021-06-22T16:59:48.628Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-22T16:59:48.867Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-22T16:59:49.204Z] OK: 156 MiB in 53 packages [2021-06-22T16:59:49.468Z] Removing intermediate container 7d5958f54f56 [2021-06-22T16:59:49.468Z] ---> 72d6eb2db6c2 [2021-06-22T16:59:49.468Z] Step 7/24 : WORKDIR /device-mqtt-go [2021-06-22T16:59:49.469Z] ---> Running in b429d44b7cf4 [2021-06-22T16:59:49.469Z] Removing intermediate container b429d44b7cf4 [2021-06-22T16:59:49.469Z] ---> 3d4f5b058987 [2021-06-22T16:59:49.469Z] Step 8/24 : COPY . . [2021-06-22T16:59:49.730Z] ---> 4eaf1c705a23 [2021-06-22T16:59:49.730Z] Step 9/24 : RUN go mod tidy [2021-06-22T16:59:49.730Z] ---> Running in 20b4aab82605 [2021-06-22T16:59:50.304Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-06-22T16:59:50.311Z] Removing intermediate container 20b4aab82605 [2021-06-22T16:59:50.311Z] ---> aed11f06477b [2021-06-22T16:59:50.311Z] Step 10/24 : RUN go mod download [2021-06-22T16:59:50.575Z] ---> Running in 4aa5ee5d92e0 [2021-06-22T16:59:51.150Z] Removing intermediate container 4aa5ee5d92e0 [2021-06-22T16:59:51.150Z] ---> 75d7c0a976f8 [2021-06-22T16:59:51.150Z] Step 11/24 : ARG MAKE='make build' [2021-06-22T16:59:51.150Z] ---> Running in d7840288666a [2021-06-22T16:59:51.150Z] Removing intermediate container d7840288666a [2021-06-22T16:59:51.150Z] ---> ce4772f45ac0 [2021-06-22T16:59:51.150Z] Step 12/24 : RUN $MAKE [2021-06-22T16:59:51.150Z] ---> Running in e32d39f4146f [2021-06-22T16:59:51.417Z] go mod tidy [2021-06-22T16:59:51.417Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.25" -o cmd/device-mqtt ./cmd [2021-06-22T17:00:03.767Z] Removing intermediate container e32d39f4146f [2021-06-22T17:00:03.767Z] ---> bb03b505d951 [2021-06-22T17:00:03.767Z] Step 13/24 : FROM alpine:3.12 [2021-06-22T17:00:04.343Z] 3.12: Pulling from library/alpine [2021-06-22T17:00:04.609Z] 339de151aab4: Pulling fs layer [2021-06-22T17:00:04.609Z] 339de151aab4: Verifying Checksum [2021-06-22T17:00:04.609Z] 339de151aab4: Download complete [2021-06-22T17:00:04.878Z] 339de151aab4: Pull complete [2021-06-22T17:00:04.878Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-22T17:00:04.878Z] Status: Downloaded newer image for alpine:3.12 [2021-06-22T17:00:04.878Z] ---> 13621d1b12d4 [2021-06-22T17:00:04.878Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-06-22T17:00:04.878Z] ---> Running in b58ddde9e3f9 [2021-06-22T17:00:04.878Z] Removing intermediate container b58ddde9e3f9 [2021-06-22T17:00:04.878Z] ---> 522577b572bf [2021-06-22T17:00:04.878Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-22T17:00:04.878Z] ---> Running in baf8644e4f27 [2021-06-22T17:00:05.452Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-22T17:00:05.452Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-22T17:00:05.452Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-22T17:00:05.452Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-22T17:00:05.452Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-22T17:00:05.452Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-22T17:00:05.452Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-22T17:00:05.453Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-22T17:00:05.453Z] Executing busybox-1.31.1-r20.trigger [2021-06-22T17:00:05.453Z] OK: 8 MiB in 20 packages [2021-06-22T17:00:05.715Z] Removing intermediate container baf8644e4f27 [2021-06-22T17:00:05.715Z] ---> ec28e7d74043 [2021-06-22T17:00:05.715Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2021-06-22T17:00:06.294Z] ---> f1f1e2009037 [2021-06-22T17:00:06.294Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-06-22T17:00:06.294Z] ---> 21e3612c689d [2021-06-22T17:00:06.294Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-06-22T17:00:06.561Z] ---> 66083c07a226 [2021-06-22T17:00:06.561Z] Step 19/24 : EXPOSE 59982 [2021-06-22T17:00:06.561Z] ---> Running in f9f7aa217d2f [2021-06-22T17:00:06.561Z] Removing intermediate container f9f7aa217d2f [2021-06-22T17:00:06.561Z] ---> 730d599d428a [2021-06-22T17:00:06.561Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2021-06-22T17:00:06.561Z] ---> Running in 0cc631282193 [2021-06-22T17:00:06.825Z] Removing intermediate container 0cc631282193 [2021-06-22T17:00:06.825Z] ---> ff59f6c3f18f [2021-06-22T17:00:06.825Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-22T17:00:06.825Z] ---> Running in ce0e261cbab3 [2021-06-22T17:00:06.825Z] Removing intermediate container ce0e261cbab3 [2021-06-22T17:00:06.825Z] ---> 88a2ea06e3e5 [2021-06-22T17:00:06.825Z] Step 22/24 : LABEL arch=amd64 [2021-06-22T17:00:06.825Z] ---> Running in 2219b21f511c [2021-06-22T17:00:06.825Z] Removing intermediate container 2219b21f511c [2021-06-22T17:00:06.825Z] ---> 9ca02477eea2 [2021-06-22T17:00:06.825Z] Step 23/24 : LABEL git_sha=8213f845ea67c9453cf231674cfbc44c6f8bb876 [2021-06-22T17:00:07.094Z] ---> Running in d8788607bae1 [2021-06-22T17:00:07.094Z] Removing intermediate container d8788607bae1 [2021-06-22T17:00:07.094Z] ---> e0ee3cfa2c3c [2021-06-22T17:00:07.094Z] Step 24/24 : LABEL version=1.3.2-dev.25 [2021-06-22T17:00:07.094Z] ---> Running in 6d879a54a8d8 [2021-06-22T17:00:07.094Z] Removing intermediate container 6d879a54a8d8 [2021-06-22T17:00:07.094Z] ---> eac45b52c48c [2021-06-22T17:00:07.094Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-22T17:00:07.094Z] Successfully built eac45b52c48c [2021-06-22T17:00:07.094Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-22T17:00:07.395Z] provisioning config files... [2021-06-22T17:00:07.410Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/57@tmp/config548054645962070926tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-22T17:00:07.757Z] ---> docker-login.sh [2021-06-22T17:00:07.758Z] nexus3.edgexfoundry.org:10001 [2021-06-22T17:00:07.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T17:00:07.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T17:00:07.758Z] Configure a credential helper to remove this warning. See [2021-06-22T17:00:07.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T17:00:07.758Z] [2021-06-22T17:00:07.758Z] Login Succeeded [2021-06-22T17:00:07.758Z] nexus3.edgexfoundry.org:10002 [2021-06-22T17:00:08.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T17:00:08.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T17:00:08.023Z] Configure a credential helper to remove this warning. See [2021-06-22T17:00:08.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T17:00:08.023Z] [2021-06-22T17:00:08.023Z] Login Succeeded [2021-06-22T17:00:08.023Z] nexus3.edgexfoundry.org:10003 [2021-06-22T17:00:08.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T17:00:08.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T17:00:08.287Z] Configure a credential helper to remove this warning. See [2021-06-22T17:00:08.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T17:00:08.287Z] [2021-06-22T17:00:08.287Z] Login Succeeded [2021-06-22T17:00:08.287Z] nexus3.edgexfoundry.org:10004 [2021-06-22T17:00:08.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T17:00:08.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T17:00:08.287Z] Configure a credential helper to remove this warning. See [2021-06-22T17:00:08.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T17:00:08.287Z] [2021-06-22T17:00:08.287Z] Login Succeeded [2021-06-22T17:00:08.287Z] docker.io [2021-06-22T17:00:08.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T17:00:08.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T17:00:08.811Z] Configure a credential helper to remove this warning. See [2021-06-22T17:00:08.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T17:00:08.811Z] [2021-06-22T17:00:08.811Z] Login Succeeded [2021-06-22T17:00:08.811Z] ---> docker-login.sh ends [Pipeline] } [2021-06-22T17:00:08.820Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-22T17:00:08.898Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2021-06-22T17:00:08.898Z] 8213f845ea67c9453cf231674cfbc44c6f8bb876 [2021-06-22T17:00:08.898Z] latest [2021-06-22T17:00:08.898Z] 1.3.2-dev.25 [2021-06-22T17:00:08.898Z] 8213f845ea67c9453cf231674cfbc44c6f8bb876-1.3.2-dev.25 [2021-06-22T17:00:08.898Z] master [2021-06-22T17:00:08.898Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-22T17:00:09.255Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:8213f845ea67c9453cf231674cfbc44c6f8bb876 [Pipeline] isUnix [Pipeline] sh [2021-06-22T17:00:09.562Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:8213f845ea67c9453cf231674cfbc44c6f8bb876 [2021-06-22T17:00:09.562Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-06-22T17:00:09.562Z] fbcf4f239262: Preparing [2021-06-22T17:00:09.562Z] 6b772c74c91f: Preparing [2021-06-22T17:00:09.562Z] f137fbb050ab: Preparing [2021-06-22T17:00:09.562Z] 04995b0b3c59: Preparing [2021-06-22T17:00:09.562Z] 32f366d666a5: Preparing [2021-06-22T17:00:09.562Z] 32f366d666a5: Layer already exists [2021-06-22T17:00:10.140Z] 04995b0b3c59: Pushed [2021-06-22T17:00:10.140Z] fbcf4f239262: Pushed [2021-06-22T17:00:10.140Z] 6b772c74c91f: Pushed [2021-06-22T17:00:11.087Z] f137fbb050ab: Pushed [2021-06-22T17:00:11.349Z] 8213f845ea67c9453cf231674cfbc44c6f8bb876: digest: sha256:c87ac2f206658c5c754e8400954bda5f483e89a57da1315ab9b91d5649764839 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-22T17:00:11.658Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2021-06-22T17:00:11.962Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-06-22T17:00:11.962Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-06-22T17:00:11.962Z] fbcf4f239262: Preparing [2021-06-22T17:00:11.962Z] 6b772c74c91f: Preparing [2021-06-22T17:00:11.962Z] f137fbb050ab: Preparing [2021-06-22T17:00:11.962Z] 04995b0b3c59: Preparing [2021-06-22T17:00:11.962Z] 32f366d666a5: Preparing [2021-06-22T17:00:11.962Z] f137fbb050ab: Layer already exists [2021-06-22T17:00:11.962Z] 6b772c74c91f: Layer already exists [2021-06-22T17:00:11.962Z] 32f366d666a5: Layer already exists [2021-06-22T17:00:11.962Z] 04995b0b3c59: Layer already exists [2021-06-22T17:00:11.962Z] fbcf4f239262: Layer already exists [2021-06-22T17:00:12.225Z] latest: digest: sha256:c87ac2f206658c5c754e8400954bda5f483e89a57da1315ab9b91d5649764839 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-22T17:00:12.535Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.25 [Pipeline] isUnix [Pipeline] sh [2021-06-22T17:00:12.837Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.25 [2021-06-22T17:00:12.837Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-06-22T17:00:12.837Z] fbcf4f239262: Preparing [2021-06-22T17:00:12.837Z] 6b772c74c91f: Preparing [2021-06-22T17:00:12.837Z] f137fbb050ab: Preparing [2021-06-22T17:00:12.837Z] 04995b0b3c59: Preparing [2021-06-22T17:00:12.837Z] 32f366d666a5: Preparing [2021-06-22T17:00:12.837Z] f137fbb050ab: Layer already exists [2021-06-22T17:00:12.837Z] 04995b0b3c59: Layer already exists [2021-06-22T17:00:12.837Z] 32f366d666a5: Layer already exists [2021-06-22T17:00:12.837Z] fbcf4f239262: Layer already exists [2021-06-22T17:00:12.837Z] 6b772c74c91f: Layer already exists [2021-06-22T17:00:12.837Z] 1.3.2-dev.25: digest: sha256:c87ac2f206658c5c754e8400954bda5f483e89a57da1315ab9b91d5649764839 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-22T17:00:13.144Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:8213f845ea67c9453cf231674cfbc44c6f8bb876-1.3.2-dev.25 [Pipeline] isUnix [Pipeline] sh [2021-06-22T17:00:13.443Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:8213f845ea67c9453cf231674cfbc44c6f8bb876-1.3.2-dev.25 [2021-06-22T17:00:13.443Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-06-22T17:00:13.443Z] fbcf4f239262: Preparing [2021-06-22T17:00:13.443Z] 6b772c74c91f: Preparing [2021-06-22T17:00:13.443Z] f137fbb050ab: Preparing [2021-06-22T17:00:13.443Z] 04995b0b3c59: Preparing [2021-06-22T17:00:13.443Z] 32f366d666a5: Preparing [2021-06-22T17:00:13.704Z] 04995b0b3c59: Layer already exists [2021-06-22T17:00:13.704Z] 32f366d666a5: Layer already exists [2021-06-22T17:00:13.704Z] 6b772c74c91f: Layer already exists [2021-06-22T17:00:13.704Z] f137fbb050ab: Layer already exists [2021-06-22T17:00:13.704Z] fbcf4f239262: Layer already exists [2021-06-22T17:00:13.704Z] 8213f845ea67c9453cf231674cfbc44c6f8bb876-1.3.2-dev.25: digest: sha256:c87ac2f206658c5c754e8400954bda5f483e89a57da1315ab9b91d5649764839 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-22T17:00:14.008Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:master [Pipeline] isUnix [Pipeline] sh [2021-06-22T17:00:14.321Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:master [2021-06-22T17:00:14.321Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-06-22T17:00:14.321Z] fbcf4f239262: Preparing [2021-06-22T17:00:14.321Z] 6b772c74c91f: Preparing [2021-06-22T17:00:14.321Z] f137fbb050ab: Preparing [2021-06-22T17:00:14.321Z] 04995b0b3c59: Preparing [2021-06-22T17:00:14.321Z] 32f366d666a5: Preparing [2021-06-22T17:00:14.321Z] 04995b0b3c59: Layer already exists [2021-06-22T17:00:14.321Z] 6b772c74c91f: Layer already exists [2021-06-22T17:00:14.321Z] 32f366d666a5: Layer already exists [2021-06-22T17:00:14.321Z] f137fbb050ab: Layer already exists [2021-06-22T17:00:14.321Z] fbcf4f239262: Layer already exists [2021-06-22T17:00:14.321Z] master: digest: sha256:c87ac2f206658c5c754e8400954bda5f483e89a57da1315ab9b91d5649764839 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-22T17:00:14.387Z] ===================================================== [Pipeline] echo [2021-06-22T17:00:14.405Z] taggedImages: [2021-06-22T17:00:14.405Z] - nexus3.edgexfoundry.org:10004/device-mqtt:8213f845ea67c9453cf231674cfbc44c6f8bb876 [2021-06-22T17:00:14.405Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-06-22T17:00:14.405Z] - nexus3.edgexfoundry.org:10004/device-mqtt:1.3.2-dev.25 [2021-06-22T17:00:14.406Z] - nexus3.edgexfoundry.org:10004/device-mqtt:8213f845ea67c9453cf231674cfbc44c6f8bb876-1.3.2-dev.25 [2021-06-22T17:00:14.406Z] - nexus3.edgexfoundry.org:10004/device-mqtt:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-22T17:00:15.137Z] ---> job-cost.sh [2021-06-22T17:00:15.137Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-WSla [2021-06-22T17:00:25.160Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-22T17:00:37.416Z] lf-activate-venv(): INFO: Adding /tmp/venv-WSla/bin to PATH [2021-06-22T17:00:37.416Z] INFO: No Stack... [2021-06-22T17:00:37.990Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-22T17:00:38.562Z] INFO: Archiving Costs [Pipeline] sh [2021-06-22T17:00:38.861Z] + cat /w/workspace/device-mqtt-go/57/archives/cost.csv [2021-06-22T17:00:38.861Z] + cut -d, -f6 [Pipeline] lock [2021-06-22T17:00:38.892Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-57-stack-cost] [2021-06-22T17:00:38.904Z] Resource [jenkins-edgexfoundry-device-mqtt-go-master-57-stack-cost] did not exist. Created. [2021-06-22T17:00:38.904Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-57-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-22T17:00:39.231Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-22T17:00:39.304Z] Stashed 1 file(s) [Pipeline] } [2021-06-22T17:00:39.322Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-57-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-22T17:00:46.912Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-06-22T17:00:46.912Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.052s coverage: 24.2% of statements [2021-06-22T17:00:46.912Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-06-22T17:00:46.912Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-22T17:01:13.742Z] gofmt -l . [2021-06-22T17:01:13.742Z] ["`gofmt -l .`" = ""] [2021-06-22T17:01:13.742Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-22T17:01:13.759Z] $ docker stop --time=1 4365c9600ad56fbc2c5f43fe2c13f4e66e5b65da4fea1cda7e80bb7ff1fd641e [2021-06-22T17:01:15.591Z] $ docker rm -f 4365c9600ad56fbc2c5f43fe2c13f4e66e5b65da4fea1cda7e80bb7ff1fd641e [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-22T17:01:16.499Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-22T17:01:16.520Z] Warning: overwriting stash ‘coverage-report’ [2021-06-22T17:01:17.002Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-22T17:01:17.687Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-22T17:01:18.056Z] + ls -al . [2021-06-22T17:01:18.056Z] total 140 [2021-06-22T17:01:18.056Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 22 17:01 . [2021-06-22T17:01:18.056Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 16:58 .. [2021-06-22T17:01:18.056Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 22 16:58 .dockerignore [2021-06-22T17:01:18.056Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 22 16:58 .git [2021-06-22T17:01:18.056Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 16:58 .github [2021-06-22T17:01:18.056Z] -rw-rw-r-- 1 jenkins jenkins 336 Jun 22 16:58 .gitignore [2021-06-22T17:01:18.056Z] -rw-rw-r-- 1 jenkins jenkins 7100 Jun 22 16:58 Attribution.txt [2021-06-22T17:01:18.056Z] -rw-rw-r-- 1 jenkins jenkins 1877 Jun 22 16:58 Dockerfile [2021-06-22T17:01:18.056Z] -rw-rw-r-- 1 jenkins jenkins 994 Jun 22 16:58 Dockerfile.build [2021-06-22T17:01:18.056Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 22 16:58 Jenkinsfile [2021-06-22T17:01:18.056Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 22 16:58 LICENSE [2021-06-22T17:01:18.056Z] -rw-rw-r-- 1 jenkins jenkins 907 Jun 22 16:58 Makefile [2021-06-22T17:01:18.056Z] -rw-rw-r-- 1 jenkins jenkins 2217 Jun 22 16:58 README.md [2021-06-22T17:01:18.056Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 22 16:55 VERSION [2021-06-22T17:01:18.056Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 16:58 bin [2021-06-22T17:01:18.056Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 22 16:58 cmd [2021-06-22T17:01:18.056Z] -rw-r--r-- 1 jenkins jenkins 16501 Jun 22 17:00 coverage.out [2021-06-22T17:01:18.056Z] -rw-rw-r-- 1 jenkins jenkins 410 Jun 22 16:58 go.mod [2021-06-22T17:01:18.056Z] -rw-r--r-- 1 jenkins jenkins 20873 Jun 22 16:59 go.sum [2021-06-22T17:01:18.056Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 22 16:58 internal [2021-06-22T17:01:18.056Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 16:58 mock [2021-06-22T17:01:18.056Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 16:58 snap [2021-06-22T17:01:18.057Z] -rw-rw-r-- 1 jenkins jenkins 227 Jun 22 16:58 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-22T17:01:18.424Z] + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=8213f845ea67c9453cf231674cfbc44c6f8bb876 --label arch=arm64 --label version=1.3.2-dev.25 . [2021-06-22T17:01:18.703Z] Sending build context to Docker daemon 632.8kB [2021-06-22T17:01:18.703Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-22T17:01:18.703Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-22T17:01:18.703Z] ---> 5a01257102b0 [2021-06-22T17:01:18.703Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-22T17:01:18.987Z] ---> Running in 27f4d0b27bd0 [2021-06-22T17:01:19.592Z] Removing intermediate container 27f4d0b27bd0 [2021-06-22T17:01:19.592Z] ---> dcf9a5e6d7e5 [2021-06-22T17:01:19.592Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-22T17:01:19.592Z] ---> Running in 3d0269a707aa [2021-06-22T17:01:20.189Z] Removing intermediate container 3d0269a707aa [2021-06-22T17:01:20.189Z] ---> b319dff1da86 [2021-06-22T17:01:20.189Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-22T17:01:20.467Z] ---> Running in deeecd3d38f3 [2021-06-22T17:01:22.473Z] Removing intermediate container deeecd3d38f3 [2021-06-22T17:01:22.473Z] ---> d94c7bca18eb [2021-06-22T17:01:22.473Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-22T17:01:22.473Z] ---> Running in a07f79d5bede [2021-06-22T17:01:23.912Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-22T17:01:24.889Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-22T17:01:25.870Z] OK: 145 MiB in 53 packages [2021-06-22T17:01:26.853Z] Removing intermediate container a07f79d5bede [2021-06-22T17:01:26.853Z] ---> c2859d3d8b0e [2021-06-22T17:01:26.853Z] Step 7/24 : WORKDIR /device-mqtt-go [2021-06-22T17:01:27.132Z] ---> Running in 12ddda6ba7b8 [2021-06-22T17:01:27.730Z] Removing intermediate container 12ddda6ba7b8 [2021-06-22T17:01:27.730Z] ---> 31188aaeda3a [2021-06-22T17:01:27.730Z] Step 8/24 : COPY . . [2021-06-22T17:01:28.710Z] ---> 26fbbd15b3fc [2021-06-22T17:01:28.710Z] Step 9/24 : RUN go mod tidy [2021-06-22T17:01:28.710Z] ---> Running in ffb4edf4993c [2021-06-22T17:01:31.337Z] Removing intermediate container ffb4edf4993c [2021-06-22T17:01:31.337Z] ---> 091be4747428 [2021-06-22T17:01:31.337Z] Step 10/24 : RUN go mod download [2021-06-22T17:01:31.610Z] ---> Running in e4abab5ad1aa [2021-06-22T17:01:34.242Z] Removing intermediate container e4abab5ad1aa [2021-06-22T17:01:34.242Z] ---> d3ee61ebfd7d [2021-06-22T17:01:34.242Z] Step 11/24 : ARG MAKE='make build' [2021-06-22T17:01:34.242Z] ---> Running in eca5e0c6716f [2021-06-22T17:01:34.516Z] Removing intermediate container eca5e0c6716f [2021-06-22T17:01:34.516Z] ---> 66d741bd7443 [2021-06-22T17:01:34.516Z] Step 12/24 : RUN $MAKE [2021-06-22T17:01:34.516Z] ---> Running in 2a79ceb26a6b [2021-06-22T17:01:35.956Z] go mod tidy [2021-06-22T17:01:36.232Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.25" -o cmd/device-mqtt ./cmd [2021-06-22T17:02:15.287Z] Removing intermediate container 2a79ceb26a6b [2021-06-22T17:02:15.287Z] ---> 1a8a679e9da5 [2021-06-22T17:02:15.287Z] Step 13/24 : FROM alpine:3.12 [2021-06-22T17:02:15.287Z] 3.12: Pulling from library/alpine [2021-06-22T17:02:15.287Z] d2f70382dc9a: Pulling fs layer [2021-06-22T17:02:15.287Z] d2f70382dc9a: Download complete [2021-06-22T17:02:15.287Z] d2f70382dc9a: Pull complete [2021-06-22T17:02:15.287Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-22T17:02:15.287Z] Status: Downloaded newer image for alpine:3.12 [2021-06-22T17:02:15.287Z] ---> c4fd0aeabfcf [2021-06-22T17:02:15.287Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-06-22T17:02:15.287Z] ---> Running in b3072b372176 [2021-06-22T17:02:15.287Z] Removing intermediate container b3072b372176 [2021-06-22T17:02:15.287Z] ---> 14d779a086f2 [2021-06-22T17:02:15.287Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-22T17:02:15.287Z] ---> Running in a5abefd138bd [2021-06-22T17:02:15.287Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-22T17:02:15.287Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-22T17:02:15.287Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-22T17:02:15.287Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-22T17:02:15.287Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-22T17:02:15.287Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-22T17:02:15.563Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-22T17:02:15.563Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-22T17:02:15.563Z] Executing busybox-1.31.1-r20.trigger [2021-06-22T17:02:15.563Z] OK: 8 MiB in 20 packages [2021-06-22T17:02:16.581Z] Removing intermediate container a5abefd138bd [2021-06-22T17:02:16.581Z] ---> 021cd4a9df3a [2021-06-22T17:02:16.581Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2021-06-22T17:02:18.016Z] ---> 6d52f62f0411 [2021-06-22T17:02:18.016Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-06-22T17:02:18.613Z] ---> 432e1acf59c2 [2021-06-22T17:02:18.613Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-06-22T17:02:19.593Z] ---> c3e0a11368ba [2021-06-22T17:02:19.593Z] Step 19/24 : EXPOSE 59982 [2021-06-22T17:02:19.593Z] ---> Running in 208176eaae53 [2021-06-22T17:02:19.865Z] Removing intermediate container 208176eaae53 [2021-06-22T17:02:19.865Z] ---> 4a48805c2c89 [2021-06-22T17:02:19.865Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2021-06-22T17:02:20.139Z] ---> Running in 61873494f8c3 [2021-06-22T17:02:20.739Z] Removing intermediate container 61873494f8c3 [2021-06-22T17:02:20.739Z] ---> a48964d507ae [2021-06-22T17:02:20.739Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-22T17:02:20.739Z] ---> Running in b440bdd41b9c [2021-06-22T17:02:21.333Z] Removing intermediate container b440bdd41b9c [2021-06-22T17:02:21.333Z] ---> d67f7cec8898 [2021-06-22T17:02:21.333Z] Step 22/24 : LABEL arch=arm64 [2021-06-22T17:02:21.333Z] ---> Running in b12bf96b3284 [2021-06-22T17:02:21.932Z] Removing intermediate container b12bf96b3284 [2021-06-22T17:02:21.932Z] ---> a9b4638a135f [2021-06-22T17:02:21.932Z] Step 23/24 : LABEL git_sha=8213f845ea67c9453cf231674cfbc44c6f8bb876 [2021-06-22T17:02:21.932Z] ---> Running in 7bf597151156 [2021-06-22T17:02:22.530Z] Removing intermediate container 7bf597151156 [2021-06-22T17:02:22.530Z] ---> ea9ccac7c655 [2021-06-22T17:02:22.530Z] Step 24/24 : LABEL version=1.3.2-dev.25 [2021-06-22T17:02:22.530Z] ---> Running in 33c3742bb6d1 [2021-06-22T17:02:23.125Z] Removing intermediate container 33c3742bb6d1 [2021-06-22T17:02:23.126Z] ---> 75852dc63629 [2021-06-22T17:02:23.126Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-22T17:02:23.126Z] Successfully built 75852dc63629 [2021-06-22T17:02:23.126Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-22T17:02:23.433Z] provisioning config files... [2021-06-22T17:02:23.452Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/57@tmp/config1127678546787260051tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-22T17:02:23.813Z] ---> docker-login.sh [2021-06-22T17:02:23.813Z] nexus3.edgexfoundry.org:10001 [2021-06-22T17:02:24.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T17:02:24.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T17:02:24.359Z] Configure a credential helper to remove this warning. See [2021-06-22T17:02:24.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T17:02:24.359Z] [2021-06-22T17:02:24.359Z] Login Succeeded [2021-06-22T17:02:24.359Z] nexus3.edgexfoundry.org:10002 [2021-06-22T17:02:24.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T17:02:24.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T17:02:24.908Z] Configure a credential helper to remove this warning. See [2021-06-22T17:02:24.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T17:02:24.908Z] [2021-06-22T17:02:24.908Z] Login Succeeded [2021-06-22T17:02:24.908Z] nexus3.edgexfoundry.org:10003 [2021-06-22T17:02:25.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T17:02:25.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T17:02:25.460Z] Configure a credential helper to remove this warning. See [2021-06-22T17:02:25.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T17:02:25.460Z] [2021-06-22T17:02:25.460Z] Login Succeeded [2021-06-22T17:02:25.460Z] nexus3.edgexfoundry.org:10004 [2021-06-22T17:02:26.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T17:02:26.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T17:02:26.056Z] Configure a credential helper to remove this warning. See [2021-06-22T17:02:26.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T17:02:26.056Z] [2021-06-22T17:02:26.056Z] Login Succeeded [2021-06-22T17:02:26.056Z] docker.io [2021-06-22T17:02:26.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-22T17:02:26.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-22T17:02:26.924Z] Configure a credential helper to remove this warning. See [2021-06-22T17:02:26.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-22T17:02:26.924Z] [2021-06-22T17:02:26.924Z] Login Succeeded [2021-06-22T17:02:26.924Z] ---> docker-login.sh ends [Pipeline] } [2021-06-22T17:02:26.942Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-22T17:02:27.017Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2021-06-22T17:02:27.018Z] 8213f845ea67c9453cf231674cfbc44c6f8bb876 [2021-06-22T17:02:27.018Z] latest [2021-06-22T17:02:27.018Z] 1.3.2-dev.25 [2021-06-22T17:02:27.018Z] 8213f845ea67c9453cf231674cfbc44c6f8bb876-1.3.2-dev.25 [2021-06-22T17:02:27.018Z] master [2021-06-22T17:02:27.018Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-22T17:02:27.405Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8213f845ea67c9453cf231674cfbc44c6f8bb876 [Pipeline] isUnix [Pipeline] sh [2021-06-22T17:02:27.755Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8213f845ea67c9453cf231674cfbc44c6f8bb876 [2021-06-22T17:02:27.755Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-06-22T17:02:27.755Z] 2f69aefb93e5: Preparing [2021-06-22T17:02:27.755Z] 82aa0d77e3df: Preparing [2021-06-22T17:02:27.755Z] 49a756ccb6f2: Preparing [2021-06-22T17:02:27.755Z] eb2d3cc5f55e: Preparing [2021-06-22T17:02:27.755Z] 3fbe34a1663b: Preparing [2021-06-22T17:02:28.029Z] 3fbe34a1663b: Layer already exists [2021-06-22T17:02:28.029Z] 2f69aefb93e5: Pushed [2021-06-22T17:02:28.029Z] 82aa0d77e3df: Pushed [2021-06-22T17:02:28.625Z] eb2d3cc5f55e: Pushed [2021-06-22T17:02:31.239Z] 49a756ccb6f2: Pushed [2021-06-22T17:02:31.239Z] 8213f845ea67c9453cf231674cfbc44c6f8bb876: digest: sha256:7ff8edd4af9d8e8adfc6be506c254c86e91676ace8f38e0353aa2442802c1a94 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-22T17:02:31.590Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-22T17:02:31.933Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-06-22T17:02:31.933Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-06-22T17:02:31.933Z] 2f69aefb93e5: Preparing [2021-06-22T17:02:31.933Z] 82aa0d77e3df: Preparing [2021-06-22T17:02:31.933Z] 49a756ccb6f2: Preparing [2021-06-22T17:02:31.933Z] eb2d3cc5f55e: Preparing [2021-06-22T17:02:31.933Z] 3fbe34a1663b: Preparing [2021-06-22T17:02:31.933Z] 2f69aefb93e5: Layer already exists [2021-06-22T17:02:31.933Z] 82aa0d77e3df: Layer already exists [2021-06-22T17:02:31.933Z] eb2d3cc5f55e: Layer already exists [2021-06-22T17:02:31.933Z] 49a756ccb6f2: Layer already exists [2021-06-22T17:02:32.206Z] 3fbe34a1663b: Layer already exists [2021-06-22T17:02:32.206Z] latest: digest: sha256:7ff8edd4af9d8e8adfc6be506c254c86e91676ace8f38e0353aa2442802c1a94 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-22T17:02:32.563Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.25 [Pipeline] isUnix [Pipeline] sh [2021-06-22T17:02:32.906Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.25 [2021-06-22T17:02:32.906Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-06-22T17:02:32.906Z] 2f69aefb93e5: Preparing [2021-06-22T17:02:32.906Z] 82aa0d77e3df: Preparing [2021-06-22T17:02:32.906Z] 49a756ccb6f2: Preparing [2021-06-22T17:02:32.906Z] eb2d3cc5f55e: Preparing [2021-06-22T17:02:32.906Z] 3fbe34a1663b: Preparing [2021-06-22T17:02:33.179Z] eb2d3cc5f55e: Layer already exists [2021-06-22T17:02:33.179Z] 2f69aefb93e5: Layer already exists [2021-06-22T17:02:33.179Z] 49a756ccb6f2: Layer already exists [2021-06-22T17:02:33.179Z] 82aa0d77e3df: Layer already exists [2021-06-22T17:02:33.179Z] 3fbe34a1663b: Layer already exists [2021-06-22T17:02:33.179Z] 1.3.2-dev.25: digest: sha256:7ff8edd4af9d8e8adfc6be506c254c86e91676ace8f38e0353aa2442802c1a94 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-22T17:02:33.532Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8213f845ea67c9453cf231674cfbc44c6f8bb876-1.3.2-dev.25 [Pipeline] isUnix [Pipeline] sh [2021-06-22T17:02:33.879Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8213f845ea67c9453cf231674cfbc44c6f8bb876-1.3.2-dev.25 [2021-06-22T17:02:33.879Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-06-22T17:02:33.879Z] 2f69aefb93e5: Preparing [2021-06-22T17:02:33.879Z] 82aa0d77e3df: Preparing [2021-06-22T17:02:33.879Z] 49a756ccb6f2: Preparing [2021-06-22T17:02:33.879Z] eb2d3cc5f55e: Preparing [2021-06-22T17:02:33.879Z] 3fbe34a1663b: Preparing [2021-06-22T17:02:33.879Z] 82aa0d77e3df: Layer already exists [2021-06-22T17:02:33.879Z] 2f69aefb93e5: Layer already exists [2021-06-22T17:02:33.879Z] eb2d3cc5f55e: Layer already exists [2021-06-22T17:02:33.879Z] 49a756ccb6f2: Layer already exists [2021-06-22T17:02:34.153Z] 3fbe34a1663b: Layer already exists [2021-06-22T17:02:34.153Z] 8213f845ea67c9453cf231674cfbc44c6f8bb876-1.3.2-dev.25: digest: sha256:7ff8edd4af9d8e8adfc6be506c254c86e91676ace8f38e0353aa2442802c1a94 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-22T17:02:34.505Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-06-22T17:02:34.851Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [2021-06-22T17:02:34.851Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-06-22T17:02:34.851Z] 2f69aefb93e5: Preparing [2021-06-22T17:02:34.851Z] 82aa0d77e3df: Preparing [2021-06-22T17:02:34.851Z] 49a756ccb6f2: Preparing [2021-06-22T17:02:34.851Z] eb2d3cc5f55e: Preparing [2021-06-22T17:02:34.851Z] 3fbe34a1663b: Preparing [2021-06-22T17:02:34.851Z] 82aa0d77e3df: Layer already exists [2021-06-22T17:02:34.851Z] eb2d3cc5f55e: Layer already exists [2021-06-22T17:02:34.851Z] 3fbe34a1663b: Layer already exists [2021-06-22T17:02:34.851Z] 2f69aefb93e5: Layer already exists [2021-06-22T17:02:34.851Z] 49a756ccb6f2: Layer already exists [2021-06-22T17:02:35.124Z] master: digest: sha256:7ff8edd4af9d8e8adfc6be506c254c86e91676ace8f38e0353aa2442802c1a94 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-22T17:02:35.199Z] ===================================================== [Pipeline] echo [2021-06-22T17:02:35.217Z] taggedImages: [2021-06-22T17:02:35.217Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8213f845ea67c9453cf231674cfbc44c6f8bb876 [2021-06-22T17:02:35.217Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-06-22T17:02:35.217Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1.3.2-dev.25 [2021-06-22T17:02:35.217Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8213f845ea67c9453cf231674cfbc44c6f8bb876-1.3.2-dev.25 [2021-06-22T17:02:35.217Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-22T17:02:35.684Z] ---> job-cost.sh [2021-06-22T17:02:35.684Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-KgX7 [2021-06-22T17:03:14.672Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-22T17:04:36.423Z] lf-activate-venv(): INFO: Adding /tmp/venv-KgX7/bin to PATH [2021-06-22T17:04:36.423Z] INFO: No Stack... [2021-06-22T17:04:37.016Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-22T17:04:37.288Z] INFO: Archiving Costs [Pipeline] sh [2021-06-22T17:04:37.634Z] + cat /w/workspace/device-mqtt-go/57/archives/cost.csv [2021-06-22T17:04:37.634Z] + cut -d, -f6 [Pipeline] lock [2021-06-22T17:04:37.700Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-57-stack-cost] [2021-06-22T17:04:37.714Z] Resource [jenkins-edgexfoundry-device-mqtt-go-master-57-stack-cost] did not exist. Created. [2021-06-22T17:04:37.714Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-57-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-22T17:04:38.094Z] /w/workspace/device-mqtt-go/57@tmp/durable-8aaab291/script.sh: 1: /w/workspace/device-mqtt-go/57@tmp/durable-8aaab291/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-22T17:04:38.442Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-22T17:04:38.463Z] Warning: overwriting stash ‘stack-cost’ [2021-06-22T17:04:38.617Z] Stashed 1 file(s) [Pipeline] } [2021-06-22T17:04:38.629Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-57-stack-cost] [Pipeline] // lock [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] configFileProvider [2021-06-22T17:04:39.268Z] provisioning config files... [2021-06-22T17:04:39.278Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config2385552274701158689tmp [Pipeline] { [Pipeline] sh [2021-06-22T17:04:39.623Z] + set +x [2021-06-22T17:04:39.624Z] + bash -s -- [2021-06-22T17:04:39.624Z] + curl -s https://codecov.io/bash [2021-06-22T17:04:39.624Z] [2021-06-22T17:04:39.624Z] _____ _ [2021-06-22T17:04:39.624Z] / ____| | | [2021-06-22T17:04:39.624Z] | | ___ __| | ___ ___ _____ __ [2021-06-22T17:04:39.624Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-22T17:04:39.624Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-22T17:04:39.624Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-22T17:04:39.624Z] Bash-1.0.3 [2021-06-22T17:04:39.624Z] [2021-06-22T17:04:39.624Z] [2021-06-22T17:04:39.624Z] ==> git version 2.24.4 found [2021-06-22T17:04:39.624Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-06-22T17:04:39.624Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-22T17:04:39.624Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-22T17:04:39.624Z] ==> Jenkins CI detected. [2021-06-22T17:04:39.885Z] project root: . [2021-06-22T17:04:39.885Z] --> token set from env [2021-06-22T17:04:39.885Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-22T17:04:39.885Z] ==> Running gcov in . (disable via -X gcov) [2021-06-22T17:04:39.885Z] ==> Python coveragepy not found [2021-06-22T17:04:39.885Z] ==> Searching for coverage reports in: [2021-06-22T17:04:39.885Z] + . [2021-06-22T17:04:39.885Z] -> Found 1 reports [2021-06-22T17:04:39.885Z] ==> Detecting git/mercurial file structure [2021-06-22T17:04:39.885Z] ==> Reading reports [2021-06-22T17:04:39.885Z] + ./coverage.out bytes=16501 [2021-06-22T17:04:39.885Z] ==> Appending adjustments [2021-06-22T17:04:39.885Z] https://docs.codecov.io/docs/fixing-reports [2021-06-22T17:04:39.885Z] + Found adjustments [2021-06-22T17:04:39.885Z] ==> Gzipping contents [2021-06-22T17:04:39.885Z] 4.0K /tmp/codecov.TMgXyC.gz [2021-06-22T17:04:39.885Z] ==> Uploading reports [2021-06-22T17:04:39.885Z] url: https://codecov.io [2021-06-22T17:04:39.885Z] query: branch=master&commit=8213f845ea67c9453cf231674cfbc44c6f8bb876&build=57&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F57%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-22T17:04:39.885Z] -> Pinging Codecov [2021-06-22T17:04:39.885Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=8213f845ea67c9453cf231674cfbc44c6f8bb876&build=57&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F57%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-22T17:04:40.463Z] -> Uploading to [2021-06-22T17:04:40.463Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-22/7D719EC7BBE17E464838252E33014C33/8213f845ea67c9453cf231674cfbc44c6f8bb876/1fe82a64-fbc4-4abe-b4ef-89d3dc9c58c8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210622%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210622T170440Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8047de01367df0f04220182d4dbf8fae4ec459ee6ff41cd5ea9b0147e0eb267d [2021-06-22T17:04:40.463Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-22T17:04:40.463Z] Dload Upload Total Spent Left Speed [2021-06-22T17:04:41.036Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3053 0 0 100 3053 0 7776 --:--:-- --:--:-- --:--:-- 7788 [2021-06-22T17:04:41.036Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/8213f845ea67c9453cf231674cfbc44c6f8bb876 [Pipeline] } [2021-06-22T17:04:41.044Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-06-22T17:04:41.949Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-06-22T17:04:41.961Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-22T17:04:42.288Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-22T17:04:42.288Z] [2021-06-22T17:04:42.288Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-06-22T17:04:42.611Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-22T17:04:42.611Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-06-22T17:04:42.611Z] 188c0c94c7c5: Pulling fs layer [2021-06-22T17:04:42.611Z] 0ef7d3d256c8: Pulling fs layer [2021-06-22T17:04:42.611Z] de9db76c5a1d: Pulling fs layer [2021-06-22T17:04:42.611Z] 0eba1c9be4d2: Pulling fs layer [2021-06-22T17:04:42.611Z] 0d57e429df01: Pulling fs layer [2021-06-22T17:04:42.611Z] 4e4be7b47b0d: Pulling fs layer [2021-06-22T17:04:42.611Z] e1f770b5df2f: Pulling fs layer [2021-06-22T17:04:42.611Z] 85a0685a4137: Pulling fs layer [2021-06-22T17:04:42.611Z] 0eba1c9be4d2: Waiting [2021-06-22T17:04:42.611Z] 0d57e429df01: Waiting [2021-06-22T17:04:42.611Z] 4e4be7b47b0d: Waiting [2021-06-22T17:04:42.611Z] e1f770b5df2f: Waiting [2021-06-22T17:04:42.611Z] 85a0685a4137: Waiting [2021-06-22T17:04:42.611Z] de9db76c5a1d: Verifying Checksum [2021-06-22T17:04:42.611Z] de9db76c5a1d: Download complete [2021-06-22T17:04:42.611Z] 0ef7d3d256c8: Verifying Checksum [2021-06-22T17:04:42.611Z] 0ef7d3d256c8: Download complete [2021-06-22T17:04:42.611Z] 188c0c94c7c5: Verifying Checksum [2021-06-22T17:04:42.611Z] 188c0c94c7c5: Download complete [2021-06-22T17:04:42.611Z] 0d57e429df01: Verifying Checksum [2021-06-22T17:04:42.611Z] 0d57e429df01: Download complete [2021-06-22T17:04:42.611Z] 4e4be7b47b0d: Verifying Checksum [2021-06-22T17:04:42.611Z] 4e4be7b47b0d: Download complete [2021-06-22T17:04:42.881Z] 188c0c94c7c5: Pull complete [2021-06-22T17:04:43.147Z] 0ef7d3d256c8: Pull complete [2021-06-22T17:04:43.147Z] de9db76c5a1d: Pull complete [2021-06-22T17:04:44.090Z] e1f770b5df2f: Verifying Checksum [2021-06-22T17:04:44.090Z] e1f770b5df2f: Download complete [2021-06-22T17:04:45.811Z] 0eba1c9be4d2: Verifying Checksum [2021-06-22T17:04:45.811Z] 0eba1c9be4d2: Download complete [2021-06-22T17:04:46.071Z] 85a0685a4137: Verifying Checksum [2021-06-22T17:04:46.072Z] 85a0685a4137: Download complete [2021-06-22T17:04:49.403Z] 0eba1c9be4d2: Pull complete [2021-06-22T17:04:49.403Z] 0d57e429df01: Pull complete [2021-06-22T17:04:49.403Z] 4e4be7b47b0d: Pull complete [2021-06-22T17:04:49.403Z] e1f770b5df2f: Pull complete [2021-06-22T17:04:54.732Z] 85a0685a4137: Pull complete [2021-06-22T17:04:54.732Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-06-22T17:04:54.732Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-22T17:04:54.732Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-06-22T17:04:54.814Z] prd-centos7-docker-4c-2g-756 does not seem to be running inside a container [2021-06-22T17:04:54.853Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-06-22T17:04:55.933Z] $ docker top 306f353a77c3eb172f616ba043ec809180d7fa9127f352e77f7daa44b719ef7c -eo pid,comm [Pipeline] { [Pipeline] echo [2021-06-22T17:04:56.039Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-06-22T17:04:56.352Z] + set -o pipefail [2021-06-22T17:04:56.352Z] + snyk monitor '--org=edgex-jenkins' [2021-06-22T17:05:01.664Z] [2021-06-22T17:05:01.664Z] Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... [2021-06-22T17:05:01.664Z] [2021-06-22T17:05:01.664Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/8460409f-1660-42df-b271-8fcc181e291c [2021-06-22T17:05:01.664Z] [2021-06-22T17:05:01.664Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-06-22T17:05:01.664Z] [2021-06-22T17:05:01.664Z] [Pipeline] } [2021-06-22T17:05:01.674Z] $ docker stop --time=1 306f353a77c3eb172f616ba043ec809180d7fa9127f352e77f7daa44b719ef7c [2021-06-22T17:05:03.990Z] $ docker rm -f 306f353a77c3eb172f616ba043ec809180d7fa9127f352e77f7daa44b719ef7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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 [2021-06-22T17:05:05.091Z] + git log --format=format:%s -1 8213f845ea67c9453cf231674cfbc44c6f8bb876 [Pipeline] isUnix [Pipeline] sh [2021-06-22T17:05:05.400Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-22T17:05:05.400Z] . [Pipeline] withDockerContainer [2021-06-22T17:05:05.480Z] prd-centos7-docker-4c-2g-756 does not seem to be running inside a container [2021-06-22T17:05:05.518Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-22T17:05:05.893Z] $ docker top bddbd9cd3ed8f1e1bf1428c0d0c289943e5947ca10f4b32f94f031cf1d07f324 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-22T17:05:06.028Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-22T17:05:06.028Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-22T17:05:06.141Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-22T17:05:06.140Z] $ docker exec bddbd9cd3ed8f1e1bf1428c0d0c289943e5947ca10f4b32f94f031cf1d07f324 ssh-agent [2021-06-22T17:05:06.255Z] SSH_AUTH_SOCK=/tmp/ssh-Nsr5wcLd0f11/agent.13 [2021-06-22T17:05:06.256Z] SSH_AGENT_PID=19 [2021-06-22T17:05:06.262Z] Running ssh-add (command line suppressed) [2021-06-22T17:05:06.355Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8012204779875394207.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8012204779875394207.key) [2021-06-22T17:05:06.372Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-22T17:05:06.676Z] + git semver tag [2021-06-22T17:05:06.676Z] # -> Open(): unable to determine branch for HEAD [2021-06-22T17:05:06.676Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-06-22T17:05:06.676Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-06-22T17:05:06.676Z] # $SEMVER_REMOTE_NAME = origin [2021-06-22T17:05:06.676Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-22T17:05:06.676Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-22T17:05:06.676Z] # $SEMVER_BRANCH = master [2021-06-22T17:05:06.676Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2021-06-22T17:05:06.676Z] # 8213f845ea67c9453cf231674cfbc44c6f8bb876 HEAD [2021-06-22T17:05:06.676Z] # -> Force: false [2021-06-22T17:05:06.676Z] # 51104492461fbf7d1bf4481259848da759b37626 refs/tags/v1.3.2-dev.25 [Pipeline] } [2021-06-22T17:05:06.688Z] $ docker exec --env ******** --env ******** bddbd9cd3ed8f1e1bf1428c0d0c289943e5947ca10f4b32f94f031cf1d07f324 ssh-agent -k [2021-06-22T17:05:06.791Z] unset SSH_AUTH_SOCK; [2021-06-22T17:05:06.791Z] unset SSH_AGENT_PID; [2021-06-22T17:05:06.791Z] echo Agent pid 19 killed; [2021-06-22T17:05:06.811Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-22T17:05:07.163Z] + git semver [Pipeline] } [2021-06-22T17:05:07.177Z] $ docker stop --time=1 bddbd9cd3ed8f1e1bf1428c0d0c289943e5947ca10f4b32f94f031cf1d07f324 [2021-06-22T17:05:08.365Z] $ docker rm -f bddbd9cd3ed8f1e1bf1428c0d0c289943e5947ca10f4b32f94f031cf1d07f324 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-06-22T17:05:08.850Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-22T17:05:08.850Z] [2021-06-22T17:05:08.850Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-06-22T17:05:09.170Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-22T17:05:09.170Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-06-22T17:05:09.170Z] ab5ef0e58194: Pulling fs layer [2021-06-22T17:05:09.170Z] 9712f1f96733: Pulling fs layer [2021-06-22T17:05:09.170Z] 63f879dbbcfc: Pulling fs layer [2021-06-22T17:05:09.170Z] 0d9ebad4ef96: Pulling fs layer [2021-06-22T17:05:09.170Z] e9a5061849ea: Pulling fs layer [2021-06-22T17:05:09.170Z] d747dcd14b5f: Pulling fs layer [2021-06-22T17:05:09.170Z] 2de7ff778b66: Pulling fs layer [2021-06-22T17:05:09.170Z] 0d9ebad4ef96: Waiting [2021-06-22T17:05:09.170Z] e9a5061849ea: Waiting [2021-06-22T17:05:09.170Z] d747dcd14b5f: Waiting [2021-06-22T17:05:09.170Z] 2de7ff778b66: Waiting [2021-06-22T17:05:09.170Z] 9712f1f96733: Verifying Checksum [2021-06-22T17:05:09.170Z] 9712f1f96733: Download complete [2021-06-22T17:05:10.559Z] 63f879dbbcfc: Verifying Checksum [2021-06-22T17:05:10.559Z] 63f879dbbcfc: Download complete [2021-06-22T17:05:10.559Z] e9a5061849ea: Verifying Checksum [2021-06-22T17:05:10.559Z] e9a5061849ea: Download complete [2021-06-22T17:05:10.559Z] d747dcd14b5f: Verifying Checksum [2021-06-22T17:05:10.559Z] d747dcd14b5f: Download complete [2021-06-22T17:05:11.134Z] 2de7ff778b66: Verifying Checksum [2021-06-22T17:05:11.134Z] 2de7ff778b66: Download complete [2021-06-22T17:05:11.134Z] 0d9ebad4ef96: Verifying Checksum [2021-06-22T17:05:11.134Z] 0d9ebad4ef96: Download complete [2021-06-22T17:05:11.405Z] ab5ef0e58194: Verifying Checksum [2021-06-22T17:05:11.405Z] ab5ef0e58194: Download complete [2021-06-22T17:05:13.982Z] ab5ef0e58194: Pull complete [2021-06-22T17:05:13.982Z] 9712f1f96733: Pull complete [2021-06-22T17:05:14.570Z] 63f879dbbcfc: Pull complete [2021-06-22T17:05:17.910Z] 0d9ebad4ef96: Pull complete [2021-06-22T17:05:18.188Z] e9a5061849ea: Pull complete [2021-06-22T17:05:18.188Z] d747dcd14b5f: Pull complete [2021-06-22T17:05:19.140Z] 2de7ff778b66: Pull complete [2021-06-22T17:05:19.140Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-06-22T17:05:19.140Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-22T17:05:19.140Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-06-22T17:05:19.230Z] prd-centos7-docker-4c-2g-756 does not seem to be running inside a container [2021-06-22T17:05:19.273Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-06-22T17:05:23.137Z] $ docker top 495c18d01f27c5ebf7d895eb1e2a8ed4c6ba1629413a979509d4efc3f910b31b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-06-22T17:05:23.245Z] provisioning config files... [2021-06-22T17:05:23.254Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config3468004816307551409tmp [2021-06-22T17:05:23.267Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config7870012537844269839tmp [2021-06-22T17:05:23.279Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config298893908974926896tmp [Pipeline] { [Pipeline] echo [2021-06-22T17:05:23.300Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-22T17:05:23.596Z] ---> sigul-configuration.sh [2021-06-22T17:05:23.596Z] gpg: directory `/root/.gnupg' created [2021-06-22T17:05:23.596Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-06-22T17:05:23.596Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-06-22T17:05:23.596Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-06-22T17:05:23.596Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-06-22T17:05:23.596Z] gpg: CAST5 encrypted data [2021-06-22T17:05:23.596Z] gpg: encrypted with 1 passphrase [2021-06-22T17:05:23.596Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-06-22T17:05:23.892Z] + mkdir /home/jenkins [2021-06-22T17:05:23.892Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-06-22T17:05:24.189Z] + 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 [2021-06-22T17:05:24.203Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-22T17:05:24.512Z] ---> sigul-install.sh [2021-06-22T17:05:28.727Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-06-22T17:05:29.023Z] + git tag --list [2021-06-22T17:05:29.023Z] 0.7.1 [2021-06-22T17:05:29.023Z] v1.0.0 [2021-06-22T17:05:29.023Z] v1.1.0 [2021-06-22T17:05:29.023Z] v1.1.1 [2021-06-22T17:05:29.023Z] v1.2.2 [2021-06-22T17:05:29.023Z] v1.3.0 [2021-06-22T17:05:29.023Z] v1.3.1 [2021-06-22T17:05:29.023Z] v1.3.1-dev.1 [2021-06-22T17:05:29.023Z] v1.3.1-dev.2 [2021-06-22T17:05:29.023Z] v1.3.1-dev.3 [2021-06-22T17:05:29.023Z] v1.3.1-dev.4 [2021-06-22T17:05:29.023Z] v1.3.2-dev.1 [2021-06-22T17:05:29.023Z] v1.3.2-dev.10 [2021-06-22T17:05:29.023Z] v1.3.2-dev.11 [2021-06-22T17:05:29.023Z] v1.3.2-dev.12 [2021-06-22T17:05:29.023Z] v1.3.2-dev.13 [2021-06-22T17:05:29.023Z] v1.3.2-dev.14 [2021-06-22T17:05:29.023Z] v1.3.2-dev.15 [2021-06-22T17:05:29.023Z] v1.3.2-dev.16 [2021-06-22T17:05:29.023Z] v1.3.2-dev.17 [2021-06-22T17:05:29.023Z] v1.3.2-dev.18 [2021-06-22T17:05:29.023Z] v1.3.2-dev.19 [2021-06-22T17:05:29.023Z] v1.3.2-dev.2 [2021-06-22T17:05:29.023Z] v1.3.2-dev.20 [2021-06-22T17:05:29.023Z] v1.3.2-dev.21 [2021-06-22T17:05:29.023Z] v1.3.2-dev.22 [2021-06-22T17:05:29.023Z] v1.3.2-dev.23 [2021-06-22T17:05:29.023Z] v1.3.2-dev.24 [2021-06-22T17:05:29.023Z] v1.3.2-dev.25 [2021-06-22T17:05:29.023Z] v1.3.2-dev.3 [2021-06-22T17:05:29.023Z] v1.3.2-dev.4 [2021-06-22T17:05:29.023Z] v1.3.2-dev.5 [2021-06-22T17:05:29.023Z] v1.3.2-dev.6 [2021-06-22T17:05:29.023Z] v1.3.2-dev.7 [2021-06-22T17:05:29.023Z] v1.3.2-dev.8 [2021-06-22T17:05:29.023Z] v1.3.2-dev.9 [Pipeline] sh [2021-06-22T17:05:29.494Z] + lftools sign git-tag v1.3.2-dev.25 [2021-06-22T17:05:29.856Z] Signing Git tag with Sigul... [2021-06-22T17:05:29.856Z] Signing v1.3.2-dev.25 [Pipeline] echo [2021-06-22T17:05:30.829Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-22T17:05:31.137Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-06-22T17:05:31.145Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-06-22T17:05:31.175Z] $ docker stop --time=1 495c18d01f27c5ebf7d895eb1e2a8ed4c6ba1629413a979509d4efc3f910b31b [2021-06-22T17:05:32.671Z] $ docker rm -f 495c18d01f27c5ebf7d895eb1e2a8ed4c6ba1629413a979509d4efc3f910b31b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-06-22T17:05:33.422Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-22T17:05:33.422Z] . [Pipeline] withDockerContainer [2021-06-22T17:05:33.500Z] prd-centos7-docker-4c-2g-756 does not seem to be running inside a container [2021-06-22T17:05:33.535Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-22T17:05:33.907Z] $ docker top 5bd08ebb4658470f0dd68b76b2edb573f6de724e4c4baa155d4a0eb530415fe5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-22T17:05:34.033Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-22T17:05:34.033Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-22T17:05:34.148Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-22T17:05:34.147Z] $ docker exec 5bd08ebb4658470f0dd68b76b2edb573f6de724e4c4baa155d4a0eb530415fe5 ssh-agent [2021-06-22T17:05:34.260Z] SSH_AUTH_SOCK=/tmp/ssh-jjVelnMTQJOc/agent.14 [2021-06-22T17:05:34.260Z] SSH_AGENT_PID=20 [2021-06-22T17:05:34.264Z] Running ssh-add (command line suppressed) [2021-06-22T17:05:34.357Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4619062740135104740.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4619062740135104740.key) [2021-06-22T17:05:34.377Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-22T17:05:34.680Z] + git semver bump pre [2021-06-22T17:05:34.680Z] # -> Open(): unable to determine branch for HEAD [2021-06-22T17:05:34.680Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-06-22T17:05:34.680Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-06-22T17:05:34.680Z] # $SEMVER_REMOTE_NAME = origin [2021-06-22T17:05:34.680Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-22T17:05:34.680Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-22T17:05:34.680Z] # $SEMVER_BRANCH = master [2021-06-22T17:05:34.680Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2021-06-22T17:05:34.680Z] 1.3.2-dev.26 [Pipeline] } [2021-06-22T17:05:34.687Z] $ docker exec --env ******** --env ******** 5bd08ebb4658470f0dd68b76b2edb573f6de724e4c4baa155d4a0eb530415fe5 ssh-agent -k [2021-06-22T17:05:34.789Z] unset SSH_AUTH_SOCK; [2021-06-22T17:05:34.789Z] unset SSH_AGENT_PID; [2021-06-22T17:05:34.789Z] echo Agent pid 20 killed; [2021-06-22T17:05:34.805Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-22T17:05:35.148Z] + git semver [Pipeline] } [2021-06-22T17:05:35.158Z] $ docker stop --time=1 5bd08ebb4658470f0dd68b76b2edb573f6de724e4c4baa155d4a0eb530415fe5 [2021-06-22T17:05:36.354Z] $ docker rm -f 5bd08ebb4658470f0dd68b76b2edb573f6de724e4c4baa155d4a0eb530415fe5 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-06-22T17:05:36.745Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-22T17:05:36.745Z] . [Pipeline] withDockerContainer [2021-06-22T17:05:36.826Z] prd-centos7-docker-4c-2g-756 does not seem to be running inside a container [2021-06-22T17:05:36.867Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-22T17:05:37.235Z] $ docker top f33216fb61fdc95d179c5a599200882313045f9e51e853cda7628eaecccddb2f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-22T17:05:37.368Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-22T17:05:37.368Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-22T17:05:37.497Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-22T17:05:37.496Z] $ docker exec f33216fb61fdc95d179c5a599200882313045f9e51e853cda7628eaecccddb2f ssh-agent [2021-06-22T17:05:37.622Z] SSH_AUTH_SOCK=/tmp/ssh-i4P8vZgwBmky/agent.14 [2021-06-22T17:05:37.622Z] SSH_AGENT_PID=20 [2021-06-22T17:05:37.627Z] Running ssh-add (command line suppressed) [2021-06-22T17:05:37.721Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8177168341988610786.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8177168341988610786.key) [2021-06-22T17:05:37.740Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-22T17:05:38.042Z] + git semver push [2021-06-22T17:05:38.042Z] # -> Open(): unable to determine branch for HEAD [2021-06-22T17:05:38.042Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-06-22T17:05:38.042Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-06-22T17:05:38.042Z] # $SEMVER_REMOTE_NAME = origin [2021-06-22T17:05:38.042Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-22T17:05:38.042Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-22T17:05:38.042Z] # $SEMVER_BRANCH = master [2021-06-22T17:05:38.042Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2021-06-22T17:05:42.260Z] $ docker exec --env ******** --env ******** f33216fb61fdc95d179c5a599200882313045f9e51e853cda7628eaecccddb2f ssh-agent -k [2021-06-22T17:05:42.365Z] unset SSH_AUTH_SOCK; [2021-06-22T17:05:42.365Z] unset SSH_AGENT_PID; [2021-06-22T17:05:42.365Z] echo Agent pid 20 killed; [2021-06-22T17:05:42.391Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-22T17:05:42.734Z] + git semver [Pipeline] } [2021-06-22T17:05:42.751Z] $ docker stop --time=1 f33216fb61fdc95d179c5a599200882313045f9e51e853cda7628eaecccddb2f [2021-06-22T17:05:43.990Z] $ docker rm -f f33216fb61fdc95d179c5a599200882313045f9e51e853cda7628eaecccddb2f [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 [2021-06-22T17:05:45.071Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-22T17:05:45.638Z] ---> package-listing.sh [2021-06-22T17:05:45.638Z] ++ facter osfamily [2021-06-22T17:05:45.638Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-22T17:05:45.901Z] + OS_FAMILY=redhat [2021-06-22T17:05:45.901Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_master [2021-06-22T17:05:45.901Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-22T17:05:45.901Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-22T17:05:45.901Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-22T17:05:45.901Z] + PACKAGES=/tmp/packages_start.txt [2021-06-22T17:05:45.901Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2021-06-22T17:05:45.901Z] + PACKAGES=/tmp/packages_end.txt [2021-06-22T17:05:45.901Z] + case "${OS_FAMILY}" in [2021-06-22T17:05:45.901Z] + sort [2021-06-22T17:05:45.901Z] + rpm -qa [2021-06-22T17:05:46.481Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-22T17:05:46.481Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-22T17:05:46.481Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-22T17:05:46.481Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2021-06-22T17:05:46.481Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [2021-06-22T17:05:46.481Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [Pipeline] echo [2021-06-22T17:05:46.494Z] 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/gexfoundry_device-mqtt-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-22T17:05:46.781Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-22T17:05:47.346Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-22T17:05:47.346Z] [2021-06-22T17:05:47.346Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-22T17:05:47.662Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-22T17:05:47.662Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-22T17:05:47.662Z] df20fa9351a1: Pulling fs layer [2021-06-22T17:05:47.662Z] 36b3adc4ff6f: Pulling fs layer [2021-06-22T17:05:47.662Z] 8ad3a11d3b57: Pulling fs layer [2021-06-22T17:05:47.662Z] 46f8f816bc3b: Pulling fs layer [2021-06-22T17:05:47.662Z] 93b61091891f: Pulling fs layer [2021-06-22T17:05:47.662Z] 93b9cdb0e59b: Pulling fs layer [2021-06-22T17:05:47.662Z] 5e14af77c1be: Pulling fs layer [2021-06-22T17:05:47.662Z] 01666e4c0597: Pulling fs layer [2021-06-22T17:05:47.662Z] aa168da1d23b: Pulling fs layer [2021-06-22T17:05:47.662Z] 46f8f816bc3b: Waiting [2021-06-22T17:05:47.662Z] 93b61091891f: Waiting [2021-06-22T17:05:47.662Z] 93b9cdb0e59b: Waiting [2021-06-22T17:05:47.662Z] 5e14af77c1be: Waiting [2021-06-22T17:05:47.662Z] 01666e4c0597: Waiting [2021-06-22T17:05:47.662Z] aa168da1d23b: Waiting [2021-06-22T17:05:47.662Z] 36b3adc4ff6f: Download complete [2021-06-22T17:05:47.662Z] 46f8f816bc3b: Verifying Checksum [2021-06-22T17:05:47.662Z] 46f8f816bc3b: Download complete [2021-06-22T17:05:47.662Z] df20fa9351a1: Verifying Checksum [2021-06-22T17:05:47.662Z] df20fa9351a1: Download complete [2021-06-22T17:05:47.662Z] 93b9cdb0e59b: Verifying Checksum [2021-06-22T17:05:47.662Z] 93b9cdb0e59b: Download complete [2021-06-22T17:05:47.924Z] 5e14af77c1be: Verifying Checksum [2021-06-22T17:05:47.924Z] 5e14af77c1be: Download complete [2021-06-22T17:05:47.924Z] 93b61091891f: Verifying Checksum [2021-06-22T17:05:47.924Z] 93b61091891f: Download complete [2021-06-22T17:05:47.924Z] 01666e4c0597: Verifying Checksum [2021-06-22T17:05:47.924Z] 01666e4c0597: Download complete [2021-06-22T17:05:47.924Z] df20fa9351a1: Pull complete [2021-06-22T17:05:47.924Z] 8ad3a11d3b57: Verifying Checksum [2021-06-22T17:05:47.924Z] 8ad3a11d3b57: Download complete [2021-06-22T17:05:48.190Z] 36b3adc4ff6f: Pull complete [2021-06-22T17:05:48.776Z] 8ad3a11d3b57: Pull complete [2021-06-22T17:05:48.776Z] 46f8f816bc3b: Pull complete [2021-06-22T17:05:49.040Z] 93b61091891f: Pull complete [2021-06-22T17:05:49.040Z] 93b9cdb0e59b: Pull complete [2021-06-22T17:05:49.040Z] 5e14af77c1be: Pull complete [2021-06-22T17:05:49.301Z] 01666e4c0597: Pull complete [2021-06-22T17:05:49.562Z] aa168da1d23b: Verifying Checksum [2021-06-22T17:05:49.563Z] aa168da1d23b: Download complete [2021-06-22T17:05:53.824Z] aa168da1d23b: Pull complete [2021-06-22T17:05:53.824Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-22T17:05:53.824Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-22T17:05:53.824Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-22T17:05:53.899Z] prd-centos7-docker-4c-2g-756 does not seem to be running inside a container [2021-06-22T17:05:53.974Z] $ 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/gexfoundry_device-mqtt-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-22T17:05:56.366Z] $ docker top f2349a4ff3fe04044614262835e70cecf24397f485c77b64281309275fb3b915 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-22T17:05:56.760Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-22T17:05:57.057Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-22T17:05:57.352Z] + ls /var/log/sa-host [2021-06-22T17:05:57.352Z] + sadf -c /var/log/sa-host/sa05 [2021-06-22T17:05:57.352Z] file_magic: OK [2021-06-22T17:05:57.352Z] HZ: Using current value: 100 [2021-06-22T17:05:57.352Z] file_header: OK [2021-06-22T17:05:57.352Z] 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 [2021-06-22T17:05:57.352Z] Statistics: [2021-06-22T17:05:57.352Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-22T17:05:57.352Z] File successfully converted to sysstat format version 12.2.1 [2021-06-22T17:05:57.352Z] + sadf -c /var/log/sa-host/sa22 [2021-06-22T17:05:57.352Z] file_magic: OK [2021-06-22T17:05:57.352Z] HZ: Using current value: 100 [2021-06-22T17:05:57.352Z] file_header: OK [2021-06-22T17:05:57.352Z] 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 [2021-06-22T17:05:57.352Z] Statistics: [2021-06-22T17:05:57.352Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-22T17:05:57.352Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-22T17:06:01.084Z] provisioning config files... [2021-06-22T17:06:01.096Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config2927350110224843709tmp [Pipeline] { [Pipeline] echo [2021-06-22T17:06:01.124Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-22T17:06:01.425Z] ---> create-netrc.sh [Pipeline] } [2021-06-22T17:06:01.434Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-22T17:06:01.843Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-22T17:06:01.853Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-22T17:06:02.189Z] ---> sudo-logs.sh [2021-06-22T17:06:02.189Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-22T17:06:02.220Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-22T17:06:02.517Z] ---> job-cost.sh [2021-06-22T17:06:02.517Z] lf-activate-venv: SKIPPING [2021-06-22T17:06:02.517Z] DEBUG: total: 0.18000000715255737 [2021-06-22T17:06:02.517Z] INFO: Retrieving Stack Cost... [2021-06-22T17:06:03.459Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-22T17:06:03.720Z] INFO: Archiving Costs [Pipeline] echo [2021-06-22T17:06:03.733Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-22T17:06:04.030Z] ---> logs-deploy.sh [2021-06-22T17:06:04.030Z] lf-activate-venv: SKIPPING [2021-06-22T17:06:04.030Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/57 [2021-06-22T17:06:04.030Z] INFO: archiving workspace using pattern(s): [2021-06-22T17:06:04.975Z] Archives upload complete. [2021-06-22T17:06:04.976Z] INFO: archiving logs to Nexus