Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f18501226b1fed15aac3bbade54fd0ee733edea9 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3916822883982901106.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8652077228852728992.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4327235745413338039.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2211841480807103436.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8109809780085820271.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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-modbus-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-modbus-go-settings PROJECT: device-modbus-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_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-440 in /w/workspace/gexfoundry_device-modbus-go_main [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 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-modbus-go_main@tmp/jenkins-gitclient-ssh6927874229441149718.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision f18501226b1fed15aac3bbade54fd0ee733edea9 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-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 f18501226b1fed15aac3bbade54fd0ee733edea9 # timeout=10 Commit message: "Merge pull request #277 from jpwhitemn/update-toml-add-gov-docs" > git rev-list --no-walk c8e345b2c8db5a4141178efc0b5671f2e94e7380 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-08-11T20:30:25.554Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-11T20:30:25.647Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-11T20:30:25.676Z] ========================================================= [2021-08-11T20:30:25.676Z] EdgeX Global Pipelines Version Info [2021-08-11T20:30:25.676Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:30:26.911Z] ------------------- [2021-08-11T20:30:26.911Z] stable info: [2021-08-11T20:30:26.911Z] ------------------- [2021-08-11T20:30:26.911Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-11T20:30:26.911Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-11T20:30:26.911Z] Message: update stable to v1.0.205 [2021-08-11T20:30:27.496Z] ------------------- [2021-08-11T20:30:27.496Z] experimental info: [2021-08-11T20:30:27.496Z] ------------------- [2021-08-11T20:30:27.496Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-11T20:30:27.496Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-11T20:30:27.496Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-11T20:30:27.632Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-08-11T20:30:27.656Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-08-11T20:30:27.680Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-11T20:30:27.704Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-11T20:30:27.728Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-11T20:30:27.752Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-08-11T20:30:27.776Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-08-11T20:30:27.802Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-08-11T20:30:27.827Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-08-11T20:30:27.852Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-08-11T20:30:27.878Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-11T20:30:27.903Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-11T20:30:27.927Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2021-08-11T20:30:27.953Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-11T20:30:27.978Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-11T20:30:28.002Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-08-11T20:30:28.052Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-08-11T20:30:28.078Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-08-11T20:30:28.103Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-08-11T20:30:28.127Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-11T20:30:28.152Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-08-11T20:30:28.177Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-08-11T20:30:28.203Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-08-11T20:30:28.227Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-08-11T20:30:28.257Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-08-11T20:30:28.281Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-08-11T20:30:28.305Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-11T20:30:28.329Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-08-11T20:30:28.353Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-08-11T20:30:28.378Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-08-11T20:30:28.403Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f18501226b1fed15aac3bbade54fd0ee733edea9 [Pipeline] echo [2021-08-11T20:30:28.427Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f185012 [Pipeline] echo [2021-08-11T20:30:28.451Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-11T20:30:28.526Z] provisioning config files... [2021-08-11T20:30:28.545Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3537667118702382392tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:30:28.880Z] ---> docker-login.sh [2021-08-11T20:30:28.880Z] nexus3.edgexfoundry.org:10001 [2021-08-11T20:30:28.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:30:29.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:30:29.150Z] Configure a credential helper to remove this warning. See [2021-08-11T20:30:29.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:30:29.150Z] [2021-08-11T20:30:29.150Z] Login Succeeded [2021-08-11T20:30:29.150Z] nexus3.edgexfoundry.org:10002 [2021-08-11T20:30:29.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:30:29.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:30:29.150Z] Configure a credential helper to remove this warning. See [2021-08-11T20:30:29.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:30:29.150Z] [2021-08-11T20:30:29.150Z] Login Succeeded [2021-08-11T20:30:29.150Z] nexus3.edgexfoundry.org:10003 [2021-08-11T20:30:29.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:30:29.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:30:29.418Z] Configure a credential helper to remove this warning. See [2021-08-11T20:30:29.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:30:29.418Z] [2021-08-11T20:30:29.418Z] Login Succeeded [2021-08-11T20:30:29.418Z] nexus3.edgexfoundry.org:10004 [2021-08-11T20:30:29.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:30:29.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:30:29.684Z] Configure a credential helper to remove this warning. See [2021-08-11T20:30:29.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:30:29.684Z] [2021-08-11T20:30:29.684Z] Login Succeeded [2021-08-11T20:30:29.684Z] docker.io [2021-08-11T20:30:29.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:30:29.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:30:29.952Z] Configure a credential helper to remove this warning. See [2021-08-11T20:30:29.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:30:29.952Z] [2021-08-11T20:30:29.952Z] Login Succeeded [2021-08-11T20:30:29.952Z] ---> docker-login.sh ends [Pipeline] } [2021-08-11T20:30:29.965Z] 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-08-11T20:30:30.454Z] + git log --format=format:%s -1 f18501226b1fed15aac3bbade54fd0ee733edea9 [Pipeline] echo [2021-08-11T20:30:30.507Z] GIT_COMMIT: f18501226b1fed15aac3bbade54fd0ee733edea9, Commit Message: Merge pull request #277 from jpwhitemn/update-toml-add-gov-docs [Pipeline] echo [2021-08-11T20:30:30.527Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:30:31.110Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-11T20:30:31.110Z] [2021-08-11T20:30:31.110Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:30:31.443Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-11T20:30:31.443Z] latest: Pulling from edgex-devops/git-semver [2021-08-11T20:30:31.443Z] 31603596830f: Pulling fs layer [2021-08-11T20:30:31.443Z] d4622e32a9a9: Pulling fs layer [2021-08-11T20:30:31.443Z] 1030fce36090: Pulling fs layer [2021-08-11T20:30:31.443Z] 6c6cb7e1b49b: Pulling fs layer [2021-08-11T20:30:31.443Z] 6c6cb7e1b49b: Waiting [2021-08-11T20:30:31.443Z] d4622e32a9a9: Verifying Checksum [2021-08-11T20:30:31.443Z] d4622e32a9a9: Download complete [2021-08-11T20:30:31.712Z] 31603596830f: Verifying Checksum [2021-08-11T20:30:31.712Z] 31603596830f: Download complete [2021-08-11T20:30:31.979Z] 31603596830f: Pull complete [2021-08-11T20:30:31.979Z] d4622e32a9a9: Pull complete [2021-08-11T20:30:31.979Z] 6c6cb7e1b49b: Verifying Checksum [2021-08-11T20:30:31.979Z] 6c6cb7e1b49b: Download complete [2021-08-11T20:30:31.979Z] 1030fce36090: Verifying Checksum [2021-08-11T20:30:31.979Z] 1030fce36090: Download complete [2021-08-11T20:30:32.567Z] 1030fce36090: Pull complete [2021-08-11T20:30:32.833Z] 6c6cb7e1b49b: Pull complete [2021-08-11T20:30:32.833Z] Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab [2021-08-11T20:30:32.833Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-11T20:30:32.833Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-11T20:30:32.927Z] prd-centos7-docker-4c-2g-440 does not seem to be running inside a container [2021-08-11T20:30:32.981Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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-08-11T20:30:33.781Z] $ docker top 43263b2882cca366301ca84713e544e60e24f3fb000671972dafb65740b59406 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-11T20:30:34.038Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-11T20:30:34.038Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-11T20:30:34.157Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-11T20:30:34.158Z] $ docker exec 43263b2882cca366301ca84713e544e60e24f3fb000671972dafb65740b59406 ssh-agent [2021-08-11T20:30:34.289Z] SSH_AUTH_SOCK=/tmp/ssh-zU9a4RoMAihs/agent.14 [2021-08-11T20:30:34.289Z] SSH_AGENT_PID=20 [2021-08-11T20:30:34.302Z] Running ssh-add (command line suppressed) [2021-08-11T20:30:34.419Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_115694162621089235.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_115694162621089235.key) [2021-08-11T20:30:34.445Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-11T20:30:34.765Z] + git tag --points-at HEAD [Pipeline] } [2021-08-11T20:30:34.787Z] $ docker exec --env ******** --env ******** 43263b2882cca366301ca84713e544e60e24f3fb000671972dafb65740b59406 ssh-agent -k [2021-08-11T20:30:34.910Z] unset SSH_AUTH_SOCK; [2021-08-11T20:30:34.915Z] unset SSH_AGENT_PID; [2021-08-11T20:30:34.915Z] echo Agent pid 20 killed; [2021-08-11T20:30:34.936Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-11T20:30:34.992Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-11T20:30:34.993Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-11T20:30:35.136Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-11T20:30:35.137Z] $ docker exec 43263b2882cca366301ca84713e544e60e24f3fb000671972dafb65740b59406 ssh-agent [2021-08-11T20:30:35.265Z] SSH_AUTH_SOCK=/tmp/ssh-93TgWQZSV1tY/agent.52 [2021-08-11T20:30:35.265Z] SSH_AGENT_PID=59 [2021-08-11T20:30:35.274Z] Running ssh-add (command line suppressed) [2021-08-11T20:30:35.385Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_475503898209698543.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_475503898209698543.key) [2021-08-11T20:30:35.407Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-11T20:30:35.720Z] + git semver init [2021-08-11T20:30:35.720Z] # -> Open(): unable to determine branch for HEAD [2021-08-11T20:30:35.720Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-08-11T20:30:35.720Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-08-11T20:30:35.720Z] # $SEMVER_REMOTE_NAME = origin [2021-08-11T20:30:35.720Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-11T20:30:35.720Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-11T20:30:35.720Z] # $SEMVER_BRANCH = main [2021-08-11T20:30:35.720Z] # $SEMVER_TEMP = /tmp/semver-585398353 [2021-08-11T20:30:35.720Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-08-11T20:30:36.309Z] # '/tmp/semver-585398353' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' [2021-08-11T20:30:36.309Z] # -> Force: false [2021-08-11T20:30:36.309Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2021-08-11T20:30:36.322Z] $ docker exec --env ******** --env ******** 43263b2882cca366301ca84713e544e60e24f3fb000671972dafb65740b59406 ssh-agent -k [2021-08-11T20:30:36.414Z] unset SSH_AUTH_SOCK; [2021-08-11T20:30:36.415Z] unset SSH_AGENT_PID; [2021-08-11T20:30:36.415Z] echo Agent pid 59 killed; [2021-08-11T20:30:36.435Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-11T20:30:36.786Z] + git semver [Pipeline] } [2021-08-11T20:30:36.817Z] $ docker stop --time=1 43263b2882cca366301ca84713e544e60e24f3fb000671972dafb65740b59406 [2021-08-11T20:30:38.018Z] $ docker rm -f 43263b2882cca366301ca84713e544e60e24f3fb000671972dafb65740b59406 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-11T20:30:38.403Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-11T20:30:38.730Z] Stashed 1 file(s) [Pipeline] echo [2021-08-11T20:30:38.734Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.4 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-08-11T20:30:53.930Z] Still waiting to schedule task [2021-08-11T20:30:53.930Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-08-11T20:30:53.934Z] Still waiting to schedule task [2021-08-11T20:30:53.935Z] ‘prd-centos7-blackbox-4c-2g-2297’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-08-11T20:30:53.935Z] ‘prd-centos7-blackbox-4c-2g-2298’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-08-11T20:30:53.935Z] ‘prd-centos7-blackbox-4c-2g-2299’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-08-11T20:30:53.935Z] ‘prd-centos7-docker-4c-2g-434’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-08-11T20:30:53.935Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ is offline [2021-08-11T20:30:53.935Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-441’ is offline [2021-08-11T20:32:04.871Z] Running on prd-centos7-docker-4c-2g-446 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2021-08-11T20:32:04.894Z] Running in /w/workspace/device-modbus-go/5 [Pipeline] { [Pipeline] checkout [2021-08-11T20:32:05.039Z] Selected Git installation does not exist. Using Default [2021-08-11T20:32:05.039Z] The recommended git tool is: NONE [2021-08-11T20:32:08.076Z] using credential edgex-jenkins-ssh [2021-08-11T20:32:08.092Z] Cloning the remote Git repository [2021-08-11T20:32:07.444Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-08-11T20:32:07.722Z] > git init /w/workspace/device-modbus-go/5 # timeout=10 [2021-08-11T20:32:07.756Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-08-11T20:32:07.757Z] > git --version # timeout=10 [2021-08-11T20:32:07.761Z] > git --version # 'git version 2.24.4' [2021-08-11T20:32:07.762Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-11T20:32:09.012Z] Avoid second fetch [2021-08-11T20:32:09.012Z] Checking out Revision f18501226b1fed15aac3bbade54fd0ee733edea9 (main) [2021-08-11T20:32:07.791Z] [INFO] Currently running in a labeled security context [2021-08-11T20:32:07.791Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-11T20:32:07.791Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/5@tmp/jenkins-gitclient-ssh7412111129092871717.key [2021-08-11T20:32:07.810Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-11T20:32:08.396Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-08-11T20:32:08.402Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-11T20:32:08.421Z] > git config core.sparsecheckout # timeout=10 [2021-08-11T20:32:08.435Z] > git checkout -f f18501226b1fed15aac3bbade54fd0ee733edea9 # timeout=10 [2021-08-11T20:32:12.522Z] Commit message: "Merge pull request #277 from jpwhitemn/update-toml-add-gov-docs" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-11T20:32:13.007Z] provisioning config files... [2021-08-11T20:32:13.026Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/5@tmp/config3796046741167917408tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:32:13.573Z] ---> docker-login.sh [2021-08-11T20:32:13.573Z] nexus3.edgexfoundry.org:10001 [2021-08-11T20:32:13.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:32:13.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:32:13.573Z] Configure a credential helper to remove this warning. See [2021-08-11T20:32:13.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:32:13.573Z] [2021-08-11T20:32:13.573Z] Login Succeeded [2021-08-11T20:32:13.573Z] nexus3.edgexfoundry.org:10002 [2021-08-11T20:32:13.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:32:13.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:32:13.842Z] Configure a credential helper to remove this warning. See [2021-08-11T20:32:13.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:32:13.843Z] [2021-08-11T20:32:13.843Z] Login Succeeded [2021-08-11T20:32:13.843Z] nexus3.edgexfoundry.org:10003 [2021-08-11T20:32:13.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:32:14.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:32:14.108Z] Configure a credential helper to remove this warning. See [2021-08-11T20:32:14.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:32:14.108Z] [2021-08-11T20:32:14.108Z] Login Succeeded [2021-08-11T20:32:14.108Z] nexus3.edgexfoundry.org:10004 [2021-08-11T20:32:14.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:32:14.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:32:14.108Z] Configure a credential helper to remove this warning. See [2021-08-11T20:32:14.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:32:14.108Z] [2021-08-11T20:32:14.108Z] Login Succeeded [2021-08-11T20:32:14.108Z] docker.io [2021-08-11T20:32:14.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:32:14.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:32:14.672Z] Configure a credential helper to remove this warning. See [2021-08-11T20:32:14.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:32:14.672Z] [2021-08-11T20:32:14.672Z] Login Succeeded [2021-08-11T20:32:14.672Z] ---> docker-login.sh ends [Pipeline] } [2021-08-11T20:32:14.721Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-11T20:32:14.921Z] ========================================================= [2021-08-11T20:32:14.921Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-08-11T20:32:14.921Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:32:15.261Z] + 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-08-11T20:32:15.261Z] Sending build context to Docker daemon 643.6kB [2021-08-11T20:32:15.261Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-08-11T20:32:15.261Z] Step 2/8 : FROM ${BASE} [2021-08-11T20:32:15.261Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-08-11T20:32:15.261Z] 540db60ca938: Pulling fs layer [2021-08-11T20:32:15.261Z] adcc1eea9eea: Pulling fs layer [2021-08-11T20:32:15.261Z] 4c4ab2625f07: Pulling fs layer [2021-08-11T20:32:15.261Z] db62176df00c: Pulling fs layer [2021-08-11T20:32:15.261Z] 3b30891b0d05: Pulling fs layer [2021-08-11T20:32:15.261Z] 06b49ca38bd5: Pulling fs layer [2021-08-11T20:32:15.261Z] c788192a36de: Pulling fs layer [2021-08-11T20:32:15.261Z] a77e37c0d609: Pulling fs layer [2021-08-11T20:32:15.261Z] c3185cebc471: Pulling fs layer [2021-08-11T20:32:15.261Z] db62176df00c: Waiting [2021-08-11T20:32:15.261Z] 3b30891b0d05: Waiting [2021-08-11T20:32:15.261Z] 06b49ca38bd5: Waiting [2021-08-11T20:32:15.261Z] c788192a36de: Waiting [2021-08-11T20:32:15.261Z] a77e37c0d609: Waiting [2021-08-11T20:32:15.261Z] c3185cebc471: Waiting [2021-08-11T20:32:15.529Z] 4c4ab2625f07: Verifying Checksum [2021-08-11T20:32:15.529Z] 4c4ab2625f07: Download complete [2021-08-11T20:32:15.529Z] adcc1eea9eea: Verifying Checksum [2021-08-11T20:32:15.529Z] adcc1eea9eea: Download complete [2021-08-11T20:32:15.529Z] 3b30891b0d05: Verifying Checksum [2021-08-11T20:32:15.529Z] 3b30891b0d05: Download complete [2021-08-11T20:32:15.529Z] 06b49ca38bd5: Verifying Checksum [2021-08-11T20:32:15.529Z] 06b49ca38bd5: Download complete [2021-08-11T20:32:15.529Z] c788192a36de: Verifying Checksum [2021-08-11T20:32:15.529Z] c788192a36de: Download complete [2021-08-11T20:32:15.795Z] 540db60ca938: Verifying Checksum [2021-08-11T20:32:15.795Z] 540db60ca938: Download complete [2021-08-11T20:32:16.063Z] 540db60ca938: Pull complete [2021-08-11T20:32:16.063Z] adcc1eea9eea: Pull complete [2021-08-11T20:32:16.063Z] a77e37c0d609: Verifying Checksum [2021-08-11T20:32:16.063Z] a77e37c0d609: Download complete [2021-08-11T20:32:16.063Z] 4c4ab2625f07: Pull complete [2021-08-11T20:32:20.315Z] c3185cebc471: Verifying Checksum [2021-08-11T20:32:20.315Z] c3185cebc471: Download complete [2021-08-11T20:32:21.100Z] db62176df00c: Verifying Checksum [2021-08-11T20:32:21.100Z] db62176df00c: Download complete [2021-08-11T20:32:24.455Z] db62176df00c: Pull complete [2021-08-11T20:32:24.455Z] 3b30891b0d05: Pull complete [2021-08-11T20:32:24.455Z] 06b49ca38bd5: Pull complete [2021-08-11T20:32:24.747Z] c788192a36de: Pull complete [2021-08-11T20:32:24.747Z] a77e37c0d609: Pull complete [2021-08-11T20:32:26.721Z] c3185cebc471: Pull complete [2021-08-11T20:32:26.721Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-08-11T20:32:26.721Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-11T20:32:26.721Z] ---> 031687cdd783 [2021-08-11T20:32:26.721Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-08-11T20:32:28.666Z] ---> Running in b1b38f7da993 [2021-08-11T20:32:28.941Z] Removing intermediate container b1b38f7da993 [2021-08-11T20:32:28.941Z] ---> 5977966f8fdf [2021-08-11T20:32:28.941Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-11T20:32:28.941Z] ---> Running in b4c48f1efde0 [2021-08-11T20:32:29.535Z] Removing intermediate container b4c48f1efde0 [2021-08-11T20:32:29.535Z] ---> edf4121daf60 [2021-08-11T20:32:29.535Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-08-11T20:32:29.535Z] ---> Running in 2a157f47f3ab [2021-08-11T20:32:29.807Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-11T20:32:30.776Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-11T20:32:31.043Z] (1/7) Installing openssh-keygen (8.4_p1-r3) [2021-08-11T20:32:31.043Z] (2/7) Installing libedit (20191231.3.1-r1) [2021-08-11T20:32:31.043Z] (3/7) Installing openssh-client (8.4_p1-r3) [2021-08-11T20:32:31.626Z] (4/7) Installing openssh-sftp-server (8.4_p1-r3) [2021-08-11T20:32:31.626Z] (5/7) Installing openssh-server-common (8.4_p1-r3) [2021-08-11T20:32:31.626Z] (6/7) Installing openssh-server (8.4_p1-r3) [2021-08-11T20:32:31.626Z] (7/7) Installing openssh (8.4_p1-r3) [2021-08-11T20:32:31.900Z] Executing busybox-1.32.1-r6.trigger [2021-08-11T20:32:31.900Z] OK: 224 MiB in 59 packages [2021-08-11T20:32:32.169Z] Removing intermediate container 2a157f47f3ab [2021-08-11T20:32:32.169Z] ---> 7d72f747a2be [2021-08-11T20:32:32.169Z] Step 6/8 : WORKDIR /device-modbus-go [2021-08-11T20:32:32.169Z] ---> Running in 497ed46f19f1 [2021-08-11T20:32:32.169Z] Removing intermediate container 497ed46f19f1 [2021-08-11T20:32:32.169Z] ---> e071cc67f22a [2021-08-11T20:32:32.169Z] Step 7/8 : COPY . . [2021-08-11T20:32:32.755Z] ---> 7593c37ef602 [2021-08-11T20:32:32.755Z] Step 8/8 : RUN go mod download [2021-08-11T20:32:32.755Z] ---> Running in 192bc16a87c6 [2021-08-11T20:32:45.101Z] Removing intermediate container 192bc16a87c6 [2021-08-11T20:32:45.101Z] ---> 805d7c3dd982 [2021-08-11T20:32:45.101Z] Successfully built 805d7c3dd982 [2021-08-11T20:32:45.101Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:32:45.430Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-11T20:32:45.430Z] . [Pipeline] withDockerContainer [2021-08-11T20:32:45.525Z] prd-centos7-docker-4c-2g-446 does not seem to be running inside a container [2021-08-11T20:32:45.577Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/5 -v /w/workspace/device-modbus-go/5:/w/workspace/device-modbus-go/5:rw,z -v /w/workspace/device-modbus-go/5@tmp:/w/workspace/device-modbus-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-08-11T20:32:45.960Z] $ docker top 03d2eeb4e8d8b93296bb3b143fd63eaf7f1eb9e345f0ba6481a883c49c8fbbd3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-11T20:32:46.375Z] + go version [2021-08-11T20:32:46.375Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-08-11T20:32:46.393Z] $ docker stop --time=1 03d2eeb4e8d8b93296bb3b143fd63eaf7f1eb9e345f0ba6481a883c49c8fbbd3 [2021-08-11T20:32:47.594Z] $ docker rm -f 03d2eeb4e8d8b93296bb3b143fd63eaf7f1eb9e345f0ba6481a883c49c8fbbd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:32:48.103Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-11T20:32:48.103Z] . [Pipeline] withDockerContainer [2021-08-11T20:32:48.194Z] prd-centos7-docker-4c-2g-446 does not seem to be running inside a container [2021-08-11T20:32:48.248Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/5 -v /w/workspace/device-modbus-go/5:/w/workspace/device-modbus-go/5:rw,z -v /w/workspace/device-modbus-go/5@tmp:/w/workspace/device-modbus-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-08-11T20:32:48.594Z] $ docker top d0123fb30a2ef98b1c16e69f047f58b3f4491f520f73426287be9c5c517c75b7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-11T20:32:49.013Z] + go mod tidy [Pipeline] sh [2021-08-11T20:32:49.613Z] + make test [2021-08-11T20:32:49.613Z] go mod tidy [2021-08-11T20:32:49.613Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-08-11T20:32:50.200Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-08-11T20:33:08.528Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-08-11T20:33:08.528Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 46.6% of statements [2021-08-11T20:33:08.528Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-08-11T20:33:13.952Z] gofmt -l . [2021-08-11T20:33:13.952Z] [ "`gofmt -l .`" = "" ] [2021-08-11T20:33:13.952Z] ./bin/test-attribution-txt.sh [2021-08-11T20:33:13.952Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-08-11T20:33:13.987Z] $ docker stop --time=1 d0123fb30a2ef98b1c16e69f047f58b3f4491f520f73426287be9c5c517c75b7 [2021-08-11T20:33:15.483Z] $ docker rm -f d0123fb30a2ef98b1c16e69f047f58b3f4491f520f73426287be9c5c517c75b7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-11T20:33:15.931Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-11T20:33:16.171Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-08-11T20:33:17.172Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-11T20:33:17.489Z] + ls -al . [2021-08-11T20:33:17.490Z] total 128 [2021-08-11T20:33:17.490Z] drwxrwxr-x. 9 jenkins jenkins 4096 Aug 11 20:33 . [2021-08-11T20:33:17.490Z] drwxrwxr-x. 4 jenkins jenkins 28 Aug 11 20:32 .. [2021-08-11T20:33:17.490Z] -rw-rw-r--. 1 jenkins jenkins 7707 Aug 11 20:32 Attribution.txt [2021-08-11T20:33:17.490Z] drwxrwxr-x. 2 jenkins jenkins 87 Aug 11 20:32 bin [2021-08-11T20:33:17.490Z] -rw-rw-r--. 1 jenkins jenkins 6038 Aug 11 20:32 CHANGELOG.md [2021-08-11T20:33:17.490Z] drwxrwxr-x. 3 jenkins jenkins 32 Aug 11 20:32 cmd [2021-08-11T20:33:17.490Z] -rw-r--r--. 1 jenkins jenkins 23727 Aug 11 20:33 coverage.out [2021-08-11T20:33:17.490Z] -rw-rw-r--. 1 jenkins jenkins 1473 Aug 11 20:32 Dockerfile [2021-08-11T20:33:17.490Z] -rw-rw-r--. 1 jenkins jenkins 995 Aug 11 20:32 Dockerfile.build [2021-08-11T20:33:17.490Z] -rw-rw-r--. 1 jenkins jenkins 140 Aug 11 20:32 .dockerignore [2021-08-11T20:33:17.490Z] drwxrwxr-x. 8 jenkins jenkins 162 Aug 11 20:32 .git [2021-08-11T20:33:17.490Z] drwxrwxr-x. 2 jenkins jenkins 103 Aug 11 20:32 .github [2021-08-11T20:33:17.490Z] -rw-rw-r--. 1 jenkins jenkins 338 Aug 11 20:32 .gitignore [2021-08-11T20:33:17.490Z] -rw-r--r--. 1 jenkins jenkins 414 Aug 11 20:33 go.mod [2021-08-11T20:33:17.490Z] -rw-r--r--. 1 jenkins jenkins 21529 Aug 11 20:32 go.sum [2021-08-11T20:33:17.490Z] -rw-rw-r--. 1 jenkins jenkins 677 Aug 11 20:32 GOVERNANCE.md [2021-08-11T20:33:17.490Z] drwxrwxr-x. 3 jenkins jenkins 20 Aug 11 20:32 internal [2021-08-11T20:33:17.490Z] -rw-rw-r--. 1 jenkins jenkins 679 Aug 11 20:32 Jenkinsfile [2021-08-11T20:33:17.490Z] -rw-rw-r--. 1 jenkins jenkins 11340 Aug 11 20:32 LICENSE [2021-08-11T20:33:17.490Z] -rw-rw-r--. 1 jenkins jenkins 914 Aug 11 20:32 Makefile [2021-08-11T20:33:17.490Z] -rw-rw-r--. 1 jenkins jenkins 622 Aug 11 20:32 OWNERS.md [2021-08-11T20:33:17.490Z] -rw-rw-r--. 1 jenkins jenkins 2891 Aug 11 20:32 README.md [2021-08-11T20:33:17.490Z] drwxrwxr-x. 2 jenkins jenkins 52 Aug 11 20:32 simulator [2021-08-11T20:33:17.490Z] drwxrwxr-x. 4 jenkins jenkins 71 Aug 11 20:32 snap [2021-08-11T20:33:17.490Z] -rw-rw-r--. 1 jenkins jenkins 11 Aug 11 20:30 VERSION [2021-08-11T20:33:17.490Z] -rw-rw-r--. 1 jenkins jenkins 229 Aug 11 20:32 version.go [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:33:17.836Z] + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=f18501226b1fed15aac3bbade54fd0ee733edea9 --label arch=amd64 --label version=2.0.1-dev.4 . [2021-08-11T20:33:17.836Z] Sending build context to Docker daemon 668.2kB [2021-08-11T20:33:17.836Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.12 [2021-08-11T20:33:17.836Z] Step 2/22 : FROM ${BASE} AS builder [2021-08-11T20:33:17.836Z] ---> 805d7c3dd982 [2021-08-11T20:33:17.836Z] Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-11T20:33:17.836Z] ---> Running in 934fce4bbb9a [2021-08-11T20:33:18.438Z] Removing intermediate container 934fce4bbb9a [2021-08-11T20:33:18.438Z] ---> dd1dfbd2f1d7 [2021-08-11T20:33:18.438Z] Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-08-11T20:33:18.438Z] ---> Running in 1554532467f8 [2021-08-11T20:33:18.707Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-11T20:33:19.290Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-11T20:33:19.911Z] OK: 224 MiB in 59 packages [2021-08-11T20:33:20.185Z] Removing intermediate container 1554532467f8 [2021-08-11T20:33:20.185Z] ---> 7026255079db [2021-08-11T20:33:20.185Z] Step 5/22 : WORKDIR /device-modbus-go [2021-08-11T20:33:20.185Z] ---> Running in 36fcd9122202 [2021-08-11T20:33:20.185Z] Removing intermediate container 36fcd9122202 [2021-08-11T20:33:20.185Z] ---> 673f14131c6e [2021-08-11T20:33:20.185Z] Step 6/22 : COPY . . [2021-08-11T20:33:20.451Z] ---> 63bd078b15a1 [2021-08-11T20:33:20.451Z] Step 7/22 : RUN go mod tidy [2021-08-11T20:33:20.451Z] ---> Running in e49547a4bac3 [2021-08-11T20:33:21.051Z] Removing intermediate container e49547a4bac3 [2021-08-11T20:33:21.051Z] ---> eb4722b7493d [2021-08-11T20:33:21.051Z] Step 8/22 : RUN go mod download [2021-08-11T20:33:21.327Z] ---> Running in e432ddb51992 [2021-08-11T20:33:21.594Z] Removing intermediate container e432ddb51992 [2021-08-11T20:33:21.594Z] ---> f4a59f8305eb [2021-08-11T20:33:21.594Z] Step 9/22 : RUN make build [2021-08-11T20:33:21.860Z] ---> Running in 2be6475a48cb [2021-08-11T20:33:22.129Z] go mod tidy [2021-08-11T20:33:22.402Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.0.1-dev.4" -o cmd/device-modbus ./cmd [2021-08-11T20:33:34.763Z] Removing intermediate container 2be6475a48cb [2021-08-11T20:33:34.763Z] ---> ca197fb8e714 [2021-08-11T20:33:34.763Z] Step 10/22 : FROM alpine:3.12 [2021-08-11T20:33:34.763Z] 3.12: Pulling from library/alpine [2021-08-11T20:33:34.763Z] 339de151aab4: Pulling fs layer [2021-08-11T20:33:34.763Z] 339de151aab4: Verifying Checksum [2021-08-11T20:33:34.763Z] 339de151aab4: Download complete [2021-08-11T20:33:35.028Z] 339de151aab4: Pull complete [2021-08-11T20:33:35.028Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-08-11T20:33:35.028Z] Status: Downloaded newer image for alpine:3.12 [2021-08-11T20:33:35.028Z] ---> 13621d1b12d4 [2021-08-11T20:33:35.028Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-08-11T20:33:35.028Z] ---> Running in 8544805205d0 [2021-08-11T20:33:35.028Z] Removing intermediate container 8544805205d0 [2021-08-11T20:33:35.028Z] ---> 474c4beb39e4 [2021-08-11T20:33:35.028Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-11T20:33:35.028Z] ---> Running in cfa139f540b8 [2021-08-11T20:33:35.621Z] Removing intermediate container cfa139f540b8 [2021-08-11T20:33:35.622Z] ---> 3f090f9f0af3 [2021-08-11T20:33:35.622Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-08-11T20:33:35.622Z] ---> Running in 6fb332f080dd [2021-08-11T20:33:35.885Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-11T20:33:36.841Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-11T20:33:37.106Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-08-11T20:33:37.106Z] (2/6) Installing libgcc (9.3.0-r2) [2021-08-11T20:33:37.106Z] (3/6) Installing libsodium (1.0.18-r0) [2021-08-11T20:33:37.372Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-08-11T20:33:38.341Z] (5/6) Installing libzmq (4.3.3-r0) [2021-08-11T20:33:38.341Z] (6/6) Installing zeromq (4.3.3-r0) [2021-08-11T20:33:38.341Z] Executing busybox-1.31.1-r20.trigger [2021-08-11T20:33:38.341Z] OK: 8 MiB in 20 packages [2021-08-11T20:33:38.607Z] Removing intermediate container 6fb332f080dd [2021-08-11T20:33:38.607Z] ---> c9db62a7858f [2021-08-11T20:33:38.607Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-08-11T20:33:39.189Z] ---> b89c13ea8b6b [2021-08-11T20:33:39.189Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-08-11T20:33:39.189Z] ---> 573c4b054548 [2021-08-11T20:33:39.189Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-08-11T20:33:39.189Z] ---> 3e16dd5661bd [2021-08-11T20:33:39.189Z] Step 17/22 : EXPOSE 59901 [2021-08-11T20:33:39.455Z] ---> Running in 73c15bde6c26 [2021-08-11T20:33:39.455Z] Removing intermediate container 73c15bde6c26 [2021-08-11T20:33:39.455Z] ---> 517da55a6358 [2021-08-11T20:33:39.455Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-08-11T20:33:39.455Z] ---> Running in 9b260134140c [2021-08-11T20:33:39.455Z] Removing intermediate container 9b260134140c [2021-08-11T20:33:39.455Z] ---> a28270f9c6d7 [2021-08-11T20:33:39.455Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-08-11T20:33:39.455Z] ---> Running in 9621527ce002 [2021-08-11T20:33:39.720Z] Removing intermediate container 9621527ce002 [2021-08-11T20:33:39.720Z] ---> e1c2e8502719 [2021-08-11T20:33:39.720Z] Step 20/22 : LABEL arch=amd64 [2021-08-11T20:33:39.720Z] ---> Running in 99b200c666b8 [2021-08-11T20:33:39.720Z] Removing intermediate container 99b200c666b8 [2021-08-11T20:33:39.720Z] ---> 713779b2afce [2021-08-11T20:33:39.720Z] Step 21/22 : LABEL git_sha=f18501226b1fed15aac3bbade54fd0ee733edea9 [2021-08-11T20:33:39.720Z] ---> Running in 13c5f1798196 [2021-08-11T20:33:39.985Z] Removing intermediate container 13c5f1798196 [2021-08-11T20:33:39.985Z] ---> 22f7a7583544 [2021-08-11T20:33:39.985Z] Step 22/22 : LABEL version=2.0.1-dev.4 [2021-08-11T20:33:39.985Z] ---> Running in f1ea5db55728 [2021-08-11T20:33:39.985Z] Removing intermediate container f1ea5db55728 [2021-08-11T20:33:39.985Z] ---> b441a47ca4c9 [2021-08-11T20:33:39.985Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-08-11T20:33:39.985Z] Successfully built b441a47ca4c9 [2021-08-11T20:33:39.985Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-11T20:33:40.117Z] provisioning config files... [2021-08-11T20:33:40.132Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/5@tmp/config1381024813165894307tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:33:40.462Z] ---> docker-login.sh [2021-08-11T20:33:40.462Z] nexus3.edgexfoundry.org:10001 [2021-08-11T20:33:40.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:33:40.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:33:40.462Z] Configure a credential helper to remove this warning. See [2021-08-11T20:33:40.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:33:40.462Z] [2021-08-11T20:33:40.462Z] Login Succeeded [2021-08-11T20:33:40.462Z] nexus3.edgexfoundry.org:10002 [2021-08-11T20:33:40.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:33:40.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:33:40.732Z] Configure a credential helper to remove this warning. See [2021-08-11T20:33:40.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:33:40.732Z] [2021-08-11T20:33:40.732Z] Login Succeeded [2021-08-11T20:33:40.732Z] nexus3.edgexfoundry.org:10003 [2021-08-11T20:33:40.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:33:41.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:33:41.003Z] Configure a credential helper to remove this warning. See [2021-08-11T20:33:41.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:33:41.003Z] [2021-08-11T20:33:41.003Z] Login Succeeded [2021-08-11T20:33:41.003Z] nexus3.edgexfoundry.org:10004 [2021-08-11T20:33:41.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:33:41.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:33:41.003Z] Configure a credential helper to remove this warning. See [2021-08-11T20:33:41.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:33:41.003Z] [2021-08-11T20:33:41.003Z] Login Succeeded [2021-08-11T20:33:41.003Z] docker.io [2021-08-11T20:33:41.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:33:41.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:33:41.537Z] Configure a credential helper to remove this warning. See [2021-08-11T20:33:41.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:33:41.537Z] [2021-08-11T20:33:41.537Z] Login Succeeded [2021-08-11T20:33:41.537Z] ---> docker-login.sh ends [Pipeline] } [2021-08-11T20:33:41.551Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-08-11T20:33:41.622Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2021-08-11T20:33:41.622Z] f18501226b1fed15aac3bbade54fd0ee733edea9 [2021-08-11T20:33:41.622Z] latest [2021-08-11T20:33:41.622Z] 2.0.1-dev.4 [2021-08-11T20:33:41.622Z] f18501226b1fed15aac3bbade54fd0ee733edea9-2.0.1-dev.4 [2021-08-11T20:33:41.622Z] main [2021-08-11T20:33:41.622Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:33:41.992Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:f18501226b1fed15aac3bbade54fd0ee733edea9 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:33:42.320Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:f18501226b1fed15aac3bbade54fd0ee733edea9 [2021-08-11T20:33:42.320Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-08-11T20:33:42.320Z] 52a02aab3c8b: Preparing [2021-08-11T20:33:42.320Z] c6c8e9dace4b: Preparing [2021-08-11T20:33:42.320Z] a5c3f7df0a8d: Preparing [2021-08-11T20:33:42.320Z] c7cde9484025: Preparing [2021-08-11T20:33:42.320Z] d6daef6d4de3: Preparing [2021-08-11T20:33:42.320Z] 32f366d666a5: Preparing [2021-08-11T20:33:42.320Z] 32f366d666a5: Waiting [2021-08-11T20:33:42.910Z] c6c8e9dace4b: Pushed [2021-08-11T20:33:42.910Z] d6daef6d4de3: Pushed [2021-08-11T20:33:42.910Z] 52a02aab3c8b: Pushed [2021-08-11T20:33:42.910Z] c7cde9484025: Pushed [2021-08-11T20:33:42.910Z] 32f366d666a5: Layer already exists [2021-08-11T20:33:44.339Z] a5c3f7df0a8d: Pushed [2021-08-11T20:33:44.604Z] f18501226b1fed15aac3bbade54fd0ee733edea9: digest: sha256:3f093e8488757c13c2574625c0ba7f692da202bca7eef671e3bfd14a5a6ed8ba size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:33:44.929Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:33:45.243Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-08-11T20:33:45.243Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-08-11T20:33:45.243Z] 52a02aab3c8b: Preparing [2021-08-11T20:33:45.243Z] c6c8e9dace4b: Preparing [2021-08-11T20:33:45.243Z] a5c3f7df0a8d: Preparing [2021-08-11T20:33:45.243Z] c7cde9484025: Preparing [2021-08-11T20:33:45.243Z] d6daef6d4de3: Preparing [2021-08-11T20:33:45.243Z] 32f366d666a5: Preparing [2021-08-11T20:33:45.243Z] 32f366d666a5: Waiting [2021-08-11T20:33:45.512Z] a5c3f7df0a8d: Layer already exists [2021-08-11T20:33:45.512Z] 52a02aab3c8b: Layer already exists [2021-08-11T20:33:45.512Z] c6c8e9dace4b: Layer already exists [2021-08-11T20:33:45.512Z] d6daef6d4de3: Layer already exists [2021-08-11T20:33:45.512Z] c7cde9484025: Layer already exists [2021-08-11T20:33:45.512Z] 32f366d666a5: Layer already exists [2021-08-11T20:33:45.780Z] latest: digest: sha256:3f093e8488757c13c2574625c0ba7f692da202bca7eef671e3bfd14a5a6ed8ba size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:33:46.103Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.4 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:33:46.421Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.4 [2021-08-11T20:33:46.421Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-08-11T20:33:46.421Z] 52a02aab3c8b: Preparing [2021-08-11T20:33:46.421Z] c6c8e9dace4b: Preparing [2021-08-11T20:33:46.421Z] a5c3f7df0a8d: Preparing [2021-08-11T20:33:46.421Z] c7cde9484025: Preparing [2021-08-11T20:33:46.421Z] d6daef6d4de3: Preparing [2021-08-11T20:33:46.421Z] 32f366d666a5: Preparing [2021-08-11T20:33:46.421Z] 32f366d666a5: Waiting [2021-08-11T20:33:47.005Z] d6daef6d4de3: Layer already exists [2021-08-11T20:33:47.005Z] 52a02aab3c8b: Layer already exists [2021-08-11T20:33:47.005Z] a5c3f7df0a8d: Layer already exists [2021-08-11T20:33:47.005Z] c7cde9484025: Layer already exists [2021-08-11T20:33:47.005Z] c6c8e9dace4b: Layer already exists [2021-08-11T20:33:47.005Z] 32f366d666a5: Layer already exists [2021-08-11T20:33:47.005Z] 2.0.1-dev.4: digest: sha256:3f093e8488757c13c2574625c0ba7f692da202bca7eef671e3bfd14a5a6ed8ba size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:33:47.329Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:f18501226b1fed15aac3bbade54fd0ee733edea9-2.0.1-dev.4 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:33:47.649Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:f18501226b1fed15aac3bbade54fd0ee733edea9-2.0.1-dev.4 [2021-08-11T20:33:47.649Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-08-11T20:33:47.649Z] 52a02aab3c8b: Preparing [2021-08-11T20:33:47.649Z] c6c8e9dace4b: Preparing [2021-08-11T20:33:47.649Z] a5c3f7df0a8d: Preparing [2021-08-11T20:33:47.649Z] c7cde9484025: Preparing [2021-08-11T20:33:47.649Z] d6daef6d4de3: Preparing [2021-08-11T20:33:47.649Z] 32f366d666a5: Preparing [2021-08-11T20:33:47.649Z] 32f366d666a5: Waiting [2021-08-11T20:33:47.649Z] 52a02aab3c8b: Layer already exists [2021-08-11T20:33:47.649Z] a5c3f7df0a8d: Layer already exists [2021-08-11T20:33:47.649Z] c6c8e9dace4b: Layer already exists [2021-08-11T20:33:47.649Z] d6daef6d4de3: Layer already exists [2021-08-11T20:33:47.649Z] c7cde9484025: Layer already exists [2021-08-11T20:33:47.649Z] 32f366d666a5: Layer already exists [2021-08-11T20:33:47.921Z] f18501226b1fed15aac3bbade54fd0ee733edea9-2.0.1-dev.4: digest: sha256:3f093e8488757c13c2574625c0ba7f692da202bca7eef671e3bfd14a5a6ed8ba size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:33:48.252Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:33:48.568Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2021-08-11T20:33:48.568Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-08-11T20:33:48.568Z] 52a02aab3c8b: Preparing [2021-08-11T20:33:48.568Z] c6c8e9dace4b: Preparing [2021-08-11T20:33:48.568Z] a5c3f7df0a8d: Preparing [2021-08-11T20:33:48.568Z] c7cde9484025: Preparing [2021-08-11T20:33:48.568Z] d6daef6d4de3: Preparing [2021-08-11T20:33:48.568Z] 32f366d666a5: Preparing [2021-08-11T20:33:48.568Z] 32f366d666a5: Waiting [2021-08-11T20:33:48.568Z] 52a02aab3c8b: Layer already exists [2021-08-11T20:33:48.568Z] d6daef6d4de3: Layer already exists [2021-08-11T20:33:48.568Z] c6c8e9dace4b: Layer already exists [2021-08-11T20:33:48.568Z] a5c3f7df0a8d: Layer already exists [2021-08-11T20:33:48.568Z] c7cde9484025: Layer already exists [2021-08-11T20:33:48.568Z] 32f366d666a5: Layer already exists [2021-08-11T20:33:48.834Z] main: digest: sha256:3f093e8488757c13c2574625c0ba7f692da202bca7eef671e3bfd14a5a6ed8ba size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-08-11T20:33:48.924Z] ===================================================== [Pipeline] echo [2021-08-11T20:33:48.946Z] taggedImages: [2021-08-11T20:33:48.946Z] - nexus3.edgexfoundry.org:10004/device-modbus:f18501226b1fed15aac3bbade54fd0ee733edea9 [2021-08-11T20:33:48.946Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-08-11T20:33:48.946Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.4 [2021-08-11T20:33:48.946Z] - nexus3.edgexfoundry.org:10004/device-modbus:f18501226b1fed15aac3bbade54fd0ee733edea9-2.0.1-dev.4 [2021-08-11T20:33:48.946Z] - nexus3.edgexfoundry.org:10004/device-modbus:main [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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:33:49.415Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T20:33:49.415Z] [2021-08-11T20:33:49.415Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:33:49.759Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T20:33:49.760Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-11T20:33:49.760Z] b4d181a07f80: Pulling fs layer [2021-08-11T20:33:49.760Z] a1111a8f2ec3: Pulling fs layer [2021-08-11T20:33:49.760Z] ed53099fbce6: Pulling fs layer [2021-08-11T20:33:49.760Z] dc539afda2c1: Pulling fs layer [2021-08-11T20:33:49.760Z] 77bc0d833cb6: Pulling fs layer [2021-08-11T20:33:49.760Z] 9065ff56babe: Pulling fs layer [2021-08-11T20:33:49.760Z] d287ab97295c: Pulling fs layer [2021-08-11T20:33:49.760Z] dc539afda2c1: Waiting [2021-08-11T20:33:49.760Z] 77bc0d833cb6: Waiting [2021-08-11T20:33:49.760Z] 9065ff56babe: Waiting [2021-08-11T20:33:49.760Z] d287ab97295c: Waiting [2021-08-11T20:33:50.715Z] a1111a8f2ec3: Verifying Checksum [2021-08-11T20:33:50.715Z] a1111a8f2ec3: Download complete [2021-08-11T20:33:50.715Z] dc539afda2c1: Verifying Checksum [2021-08-11T20:33:50.715Z] dc539afda2c1: Download complete [2021-08-11T20:33:51.295Z] ed53099fbce6: Verifying Checksum [2021-08-11T20:33:51.295Z] ed53099fbce6: Download complete [2021-08-11T20:33:51.295Z] 9065ff56babe: Verifying Checksum [2021-08-11T20:33:51.295Z] 9065ff56babe: Download complete [2021-08-11T20:33:51.295Z] 77bc0d833cb6: Verifying Checksum [2021-08-11T20:33:51.295Z] 77bc0d833cb6: Download complete [2021-08-11T20:33:53.323Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-447 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2021-08-11T20:33:53.341Z] Running in /w/workspace/device-modbus-go/5 [Pipeline] { [Pipeline] checkout [2021-08-11T20:33:53.631Z] Selected Git installation does not exist. Using Default [2021-08-11T20:33:53.631Z] The recommended git tool is: NONE [2021-08-11T20:33:53.880Z] b4d181a07f80: Download complete [2021-08-11T20:33:54.865Z] b4d181a07f80: Pull complete [2021-08-11T20:33:55.148Z] a1111a8f2ec3: Pull complete [2021-08-11T20:33:55.415Z] ed53099fbce6: Pull complete [2021-08-11T20:33:55.681Z] dc539afda2c1: Pull complete [2021-08-11T20:33:55.946Z] 77bc0d833cb6: Pull complete [2021-08-11T20:33:55.946Z] 9065ff56babe: Pull complete [2021-08-11T20:34:00.194Z] d287ab97295c: Verifying Checksum [2021-08-11T20:34:00.194Z] d287ab97295c: Download complete [2021-08-11T20:34:01.399Z] using credential edgex-jenkins-ssh [2021-08-11T20:34:01.440Z] Cloning the remote Git repository [2021-08-11T20:34:01.540Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-08-11T20:34:01.706Z] > git init /w/workspace/device-modbus-go/5 # timeout=10 [2021-08-11T20:34:01.821Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-08-11T20:34:01.823Z] > git --version # timeout=10 [2021-08-11T20:34:01.845Z] > git --version # 'git version 2.17.1' [2021-08-11T20:34:01.848Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-11T20:34:01.987Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-11T20:34:04.473Z] d287ab97295c: Pull complete [2021-08-11T20:34:04.473Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-11T20:34:04.473Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T20:34:04.473Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-11T20:34:04.576Z] prd-centos7-docker-4c-2g-446 does not seem to be running inside a container [2021-08-11T20:34:04.644Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/5 -v /w/workspace/device-modbus-go/5:/w/workspace/device-modbus-go/5:rw,z -v /w/workspace/device-modbus-go/5@tmp:/w/workspace/device-modbus-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-11T20:34:04.853Z] Avoid second fetch [2021-08-11T20:34:04.854Z] Checking out Revision f18501226b1fed15aac3bbade54fd0ee733edea9 (main) [2021-08-11T20:34:04.804Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-08-11T20:34:04.827Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-11T20:34:04.889Z] > git config core.sparsecheckout # timeout=10 [2021-08-11T20:34:04.914Z] > git checkout -f f18501226b1fed15aac3bbade54fd0ee733edea9 # timeout=10 [2021-08-11T20:34:06.860Z] $ docker top f382b62ffc8027eae554a5e007de99d0fe272f52e3636f9ffd7df626ba60d9d9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:34:07.363Z] ---> job-cost.sh [2021-08-11T20:34:07.363Z] lf-activate-venv: SKIPPING [2021-08-11T20:34:07.363Z] INFO: No Stack... [2021-08-11T20:34:08.321Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-11T20:34:08.587Z] INFO: Archiving Costs [Pipeline] sh [2021-08-11T20:34:08.919Z] + cat /w/workspace/device-modbus-go/5/archives/cost.csv [2021-08-11T20:34:08.919Z] + cut -d, -f6 [Pipeline] lock [2021-08-11T20:34:08.965Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-5-stack-cost] [2021-08-11T20:34:08.981Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-5-stack-cost] did not exist. Created. [2021-08-11T20:34:08.981Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-11T20:34:09.349Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-11T20:34:09.390Z] Stashed 1 file(s) [Pipeline] } [2021-08-11T20:34:09.414Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-5-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-11T20:34:09.443Z] $ docker stop --time=1 f382b62ffc8027eae554a5e007de99d0fe272f52e3636f9ffd7df626ba60d9d9 [2021-08-11T20:34:09.714Z] Commit message: "Merge pull request #277 from jpwhitemn/update-toml-add-gov-docs" [2021-08-11T20:34:09.974Z] [2021-08-11T20:34:09.974Z] GitHub has been notified of this commit’s build result [2021-08-11T20:34:09.974Z] [2021-08-11T20:34:10.597Z] $ docker rm -f f382b62ffc8027eae554a5e007de99d0fe272f52e3636f9ffd7df626ba60d9d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] stage [Pipeline] { (Prep) [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-11T20:34:10.848Z] provisioning config files... [2021-08-11T20:34:10.879Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/5@tmp/config5997572927675995818tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:34:11.541Z] ---> docker-login.sh [2021-08-11T20:34:11.541Z] nexus3.edgexfoundry.org:10001 [2021-08-11T20:34:12.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:34:12.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:34:12.822Z] Configure a credential helper to remove this warning. See [2021-08-11T20:34:12.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:34:12.822Z] [2021-08-11T20:34:12.822Z] Login Succeeded [2021-08-11T20:34:12.822Z] nexus3.edgexfoundry.org:10002 [2021-08-11T20:34:13.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:34:13.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:34:13.422Z] Configure a credential helper to remove this warning. See [2021-08-11T20:34:13.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:34:13.422Z] [2021-08-11T20:34:13.422Z] Login Succeeded [2021-08-11T20:34:13.422Z] nexus3.edgexfoundry.org:10003 [2021-08-11T20:34:13.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:34:13.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:34:13.976Z] Configure a credential helper to remove this warning. See [2021-08-11T20:34:13.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:34:13.976Z] [2021-08-11T20:34:13.976Z] Login Succeeded [2021-08-11T20:34:13.976Z] nexus3.edgexfoundry.org:10004 [2021-08-11T20:34:14.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:34:14.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:34:14.576Z] Configure a credential helper to remove this warning. See [2021-08-11T20:34:14.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:34:14.576Z] [2021-08-11T20:34:14.576Z] Login Succeeded [2021-08-11T20:34:14.576Z] docker.io [2021-08-11T20:34:15.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:34:15.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:34:15.455Z] Configure a credential helper to remove this warning. See [2021-08-11T20:34:15.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:34:15.455Z] [2021-08-11T20:34:15.455Z] Login Succeeded [2021-08-11T20:34:15.455Z] ---> docker-login.sh ends [Pipeline] } [2021-08-11T20:34:15.547Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-11T20:34:15.976Z] ========================================================= [2021-08-11T20:34:15.977Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-08-11T20:34:15.977Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:34:16.372Z] + 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-08-11T20:34:16.652Z] Sending build context to Docker daemon 642kB [2021-08-11T20:34:16.933Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-08-11T20:34:16.933Z] Step 2/8 : FROM ${BASE} [2021-08-11T20:34:17.218Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-08-11T20:34:17.218Z] 595b0fe564bb: Pulling fs layer [2021-08-11T20:34:17.218Z] 24495759ef45: Pulling fs layer [2021-08-11T20:34:17.218Z] d148012ef14d: Pulling fs layer [2021-08-11T20:34:17.218Z] e90a11edd702: Pulling fs layer [2021-08-11T20:34:17.218Z] d77568369979: Pulling fs layer [2021-08-11T20:34:17.218Z] fc1c9f9a7f3b: Pulling fs layer [2021-08-11T20:34:17.218Z] 170f2ba95c9a: Pulling fs layer [2021-08-11T20:34:17.218Z] 97ac5df62f85: Pulling fs layer [2021-08-11T20:34:17.218Z] fc1c9f9a7f3b: Waiting [2021-08-11T20:34:17.218Z] 97ac5df62f85: Waiting [2021-08-11T20:34:17.218Z] d77568369979: Waiting [2021-08-11T20:34:17.218Z] e90a11edd702: Waiting [2021-08-11T20:34:17.218Z] 170f2ba95c9a: Waiting [2021-08-11T20:34:17.218Z] d148012ef14d: Verifying Checksum [2021-08-11T20:34:17.218Z] d148012ef14d: Download complete [2021-08-11T20:34:17.218Z] 24495759ef45: Download complete [2021-08-11T20:34:17.218Z] d77568369979: Download complete [2021-08-11T20:34:17.218Z] fc1c9f9a7f3b: Verifying Checksum [2021-08-11T20:34:17.218Z] fc1c9f9a7f3b: Download complete [2021-08-11T20:34:17.218Z] 170f2ba95c9a: Verifying Checksum [2021-08-11T20:34:17.218Z] 170f2ba95c9a: Download complete [2021-08-11T20:34:17.218Z] 595b0fe564bb: Verifying Checksum [2021-08-11T20:34:17.218Z] 595b0fe564bb: Download complete [2021-08-11T20:34:18.227Z] 595b0fe564bb: Pull complete [2021-08-11T20:34:19.219Z] 24495759ef45: Pull complete [2021-08-11T20:34:19.942Z] d148012ef14d: Pull complete [2021-08-11T20:34:21.433Z] 97ac5df62f85: Verifying Checksum [2021-08-11T20:34:21.433Z] 97ac5df62f85: Download complete [2021-08-11T20:34:22.046Z] e90a11edd702: Verifying Checksum [2021-08-11T20:34:22.046Z] e90a11edd702: Download complete [2021-08-11T20:34:32.265Z] e90a11edd702: Pull complete [2021-08-11T20:34:32.873Z] d77568369979: Pull complete [2021-08-11T20:34:33.152Z] fc1c9f9a7f3b: Pull complete [2021-08-11T20:34:33.760Z] 170f2ba95c9a: Pull complete [2021-08-11T20:34:40.816Z] 97ac5df62f85: Pull complete [2021-08-11T20:34:40.816Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-08-11T20:34:40.816Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-11T20:34:40.816Z] ---> 04bc70af865f [2021-08-11T20:34:40.816Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-08-11T20:34:43.491Z] ---> Running in f8f626cfb40e [2021-08-11T20:34:44.110Z] Removing intermediate container f8f626cfb40e [2021-08-11T20:34:44.110Z] ---> 810060bd073c [2021-08-11T20:34:44.110Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-11T20:34:44.110Z] ---> Running in d2a91d5c296e [2021-08-11T20:34:47.530Z] Removing intermediate container d2a91d5c296e [2021-08-11T20:34:47.530Z] ---> ea86b01a60eb [2021-08-11T20:34:47.530Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-08-11T20:34:47.530Z] ---> Running in 3fc86c16341e [2021-08-11T20:34:48.531Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-11T20:34:50.005Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-11T20:34:52.005Z] (1/7) Installing openssh-keygen (8.4_p1-r3) [2021-08-11T20:34:52.607Z] (2/7) Installing libedit (20191231.3.1-r1) [2021-08-11T20:34:52.607Z] (3/7) Installing openssh-client (8.4_p1-r3) [2021-08-11T20:34:55.265Z] (4/7) Installing openssh-sftp-server (8.4_p1-r3) [2021-08-11T20:34:55.265Z] (5/7) Installing openssh-server-common (8.4_p1-r3) [2021-08-11T20:34:55.265Z] (6/7) Installing openssh-server (8.4_p1-r3) [2021-08-11T20:34:55.265Z] (7/7) Installing openssh (8.4_p1-r3) [2021-08-11T20:34:55.544Z] Executing busybox-1.32.1-r6.trigger [2021-08-11T20:34:55.544Z] OK: 224 MiB in 59 packages [2021-08-11T20:34:57.543Z] Removing intermediate container 3fc86c16341e [2021-08-11T20:34:57.543Z] ---> f04445cf442a [2021-08-11T20:34:57.543Z] Step 6/8 : WORKDIR /device-modbus-go [2021-08-11T20:34:57.543Z] ---> Running in ef05f163f7bf [2021-08-11T20:34:58.152Z] Removing intermediate container ef05f163f7bf [2021-08-11T20:34:58.152Z] ---> 2480fbcf22f9 [2021-08-11T20:34:58.152Z] Step 7/8 : COPY . . [2021-08-11T20:34:59.142Z] ---> 58334f65f9c5 [2021-08-11T20:34:59.142Z] Step 8/8 : RUN go mod download [2021-08-11T20:34:59.419Z] ---> Running in bd571a6d4039 [2021-08-11T20:35:31.881Z] Removing intermediate container bd571a6d4039 [2021-08-11T20:35:31.881Z] ---> 57cd58393c7a [2021-08-11T20:35:31.881Z] Successfully built 57cd58393c7a [2021-08-11T20:35:31.881Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:35:32.261Z] + docker inspect -f . ci-base-image-arm64 [2021-08-11T20:35:32.261Z] . [Pipeline] withDockerContainer [2021-08-11T20:35:32.579Z] prd-ubuntu18.04-docker-arm64-4c-16g-447 does not seem to be running inside a container [2021-08-11T20:35:32.690Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/5 -v /w/workspace/device-modbus-go/5:/w/workspace/device-modbus-go/5:rw,z -v /w/workspace/device-modbus-go/5@tmp:/w/workspace/device-modbus-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-08-11T20:35:34.650Z] $ docker top 1e2a2596c87556f2406116bb03ae2f5cd07fe7298fff654411dbd2d1f4134ab1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-11T20:35:35.762Z] + go version [2021-08-11T20:35:35.762Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-08-11T20:35:35.789Z] $ docker stop --time=1 1e2a2596c87556f2406116bb03ae2f5cd07fe7298fff654411dbd2d1f4134ab1 [2021-08-11T20:35:37.838Z] $ docker rm -f 1e2a2596c87556f2406116bb03ae2f5cd07fe7298fff654411dbd2d1f4134ab1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:35:38.607Z] + docker inspect -f . ci-base-image-arm64 [2021-08-11T20:35:38.607Z] . [Pipeline] withDockerContainer [2021-08-11T20:35:38.924Z] prd-ubuntu18.04-docker-arm64-4c-16g-447 does not seem to be running inside a container [2021-08-11T20:35:39.037Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/5 -v /w/workspace/device-modbus-go/5:/w/workspace/device-modbus-go/5:rw,z -v /w/workspace/device-modbus-go/5@tmp:/w/workspace/device-modbus-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-08-11T20:35:40.988Z] $ docker top d31d340068a88434f265022e7f15ca9779e6b746a594735fc8c9a0c902613e70 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-11T20:35:42.060Z] + go mod tidy [Pipeline] sh [2021-08-11T20:35:43.732Z] + make test [2021-08-11T20:35:43.732Z] go mod tidy [2021-08-11T20:35:44.338Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-08-11T20:35:45.801Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-08-11T20:36:53.966Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-08-11T20:36:53.966Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.052s coverage: 46.6% of statements [2021-08-11T20:36:53.966Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-08-11T20:37:16.167Z] gofmt -l . [2021-08-11T20:37:16.167Z] [ "`gofmt -l .`" = "" ] [2021-08-11T20:37:16.167Z] ./bin/test-attribution-txt.sh [2021-08-11T20:37:16.167Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-08-11T20:37:16.465Z] $ docker stop --time=1 d31d340068a88434f265022e7f15ca9779e6b746a594735fc8c9a0c902613e70 [2021-08-11T20:37:18.737Z] $ docker rm -f d31d340068a88434f265022e7f15ca9779e6b746a594735fc8c9a0c902613e70 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-11T20:37:19.679Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-11T20:37:19.701Z] Warning: overwriting stash ‘coverage-report’ [2021-08-11T20:37:20.297Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-11T20:37:20.729Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-11T20:37:21.091Z] + ls -al . [2021-08-11T20:37:21.091Z] total 160 [2021-08-11T20:37:21.091Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 11 20:37 . [2021-08-11T20:37:21.091Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 20:34 .. [2021-08-11T20:37:21.091Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 11 20:34 .dockerignore [2021-08-11T20:37:21.091Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 20:34 .git [2021-08-11T20:37:21.091Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 20:34 .github [2021-08-11T20:37:21.091Z] -rw-rw-r-- 1 jenkins jenkins 338 Aug 11 20:34 .gitignore [2021-08-11T20:37:21.091Z] -rw-rw-r-- 1 jenkins jenkins 7707 Aug 11 20:34 Attribution.txt [2021-08-11T20:37:21.091Z] -rw-rw-r-- 1 jenkins jenkins 6038 Aug 11 20:34 CHANGELOG.md [2021-08-11T20:37:21.091Z] -rw-rw-r-- 1 jenkins jenkins 1473 Aug 11 20:34 Dockerfile [2021-08-11T20:37:21.091Z] -rw-rw-r-- 1 jenkins jenkins 995 Aug 11 20:34 Dockerfile.build [2021-08-11T20:37:21.091Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 11 20:34 GOVERNANCE.md [2021-08-11T20:37:21.091Z] -rw-rw-r-- 1 jenkins jenkins 679 Aug 11 20:34 Jenkinsfile [2021-08-11T20:37:21.091Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 11 20:34 LICENSE [2021-08-11T20:37:21.091Z] -rw-rw-r-- 1 jenkins jenkins 914 Aug 11 20:34 Makefile [2021-08-11T20:37:21.091Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 11 20:34 OWNERS.md [2021-08-11T20:37:21.091Z] -rw-rw-r-- 1 jenkins jenkins 2891 Aug 11 20:34 README.md [2021-08-11T20:37:21.091Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 11 20:30 VERSION [2021-08-11T20:37:21.091Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 20:34 bin [2021-08-11T20:37:21.091Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 20:34 cmd [2021-08-11T20:37:21.091Z] -rw-r--r-- 1 jenkins jenkins 23727 Aug 11 20:36 coverage.out [2021-08-11T20:37:21.091Z] -rw-r--r-- 1 jenkins jenkins 414 Aug 11 20:37 go.mod [2021-08-11T20:37:21.091Z] -rw-r--r-- 1 jenkins jenkins 21529 Aug 11 20:35 go.sum [2021-08-11T20:37:21.091Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 20:34 internal [2021-08-11T20:37:21.091Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 20:34 simulator [2021-08-11T20:37:21.091Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 20:34 snap [2021-08-11T20:37:21.091Z] -rw-rw-r-- 1 jenkins jenkins 229 Aug 11 20:34 version.go [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:37:21.447Z] + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f18501226b1fed15aac3bbade54fd0ee733edea9 --label arch=arm64 --label version=2.0.1-dev.4 . [2021-08-11T20:37:22.047Z] Sending build context to Docker daemon 666.6kB [2021-08-11T20:37:22.047Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.12 [2021-08-11T20:37:22.047Z] Step 2/22 : FROM ${BASE} AS builder [2021-08-11T20:37:22.047Z] ---> 57cd58393c7a [2021-08-11T20:37:22.047Z] Step 3/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-11T20:37:22.323Z] ---> Running in 50363fe4014f [2021-08-11T20:37:24.953Z] Removing intermediate container 50363fe4014f [2021-08-11T20:37:24.953Z] ---> 251ebec29912 [2021-08-11T20:37:24.953Z] Step 4/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-08-11T20:37:24.953Z] ---> Running in 5cd2486b6296 [2021-08-11T20:37:26.398Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-11T20:37:27.387Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-11T20:37:30.088Z] OK: 224 MiB in 59 packages [2021-08-11T20:37:31.653Z] Removing intermediate container 5cd2486b6296 [2021-08-11T20:37:31.653Z] ---> 49b647d173da [2021-08-11T20:37:31.653Z] Step 5/22 : WORKDIR /device-modbus-go [2021-08-11T20:37:31.653Z] ---> Running in 2bc9ef018572 [2021-08-11T20:37:32.255Z] Removing intermediate container 2bc9ef018572 [2021-08-11T20:37:32.255Z] ---> 6fff62aa995d [2021-08-11T20:37:32.255Z] Step 6/22 : COPY . . [2021-08-11T20:37:33.718Z] ---> 04fee94d509c [2021-08-11T20:37:33.718Z] Step 7/22 : RUN go mod tidy [2021-08-11T20:37:33.718Z] ---> Running in 8876a0da20c3 [2021-08-11T20:37:37.154Z] Removing intermediate container 8876a0da20c3 [2021-08-11T20:37:37.154Z] ---> c1d536dc1807 [2021-08-11T20:37:37.154Z] Step 8/22 : RUN go mod download [2021-08-11T20:37:37.428Z] ---> Running in c640ade446c2 [2021-08-11T20:37:40.837Z] Removing intermediate container c640ade446c2 [2021-08-11T20:37:40.837Z] ---> 0c241bc72afc [2021-08-11T20:37:40.837Z] Step 9/22 : RUN make build [2021-08-11T20:37:40.837Z] ---> Running in 227ead28ee98 [2021-08-11T20:37:41.823Z] go mod tidy [2021-08-11T20:37:42.429Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.0.1-dev.4" -o cmd/device-modbus ./cmd [2021-08-11T20:38:29.496Z] Removing intermediate container 227ead28ee98 [2021-08-11T20:38:29.496Z] ---> cbd995c773c6 [2021-08-11T20:38:29.496Z] Step 10/22 : FROM alpine:3.12 [2021-08-11T20:38:29.496Z] 3.12: Pulling from library/alpine [2021-08-11T20:38:29.496Z] d2f70382dc9a: Pulling fs layer [2021-08-11T20:38:29.496Z] d2f70382dc9a: Download complete [2021-08-11T20:38:29.496Z] d2f70382dc9a: Pull complete [2021-08-11T20:38:29.496Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-08-11T20:38:29.496Z] Status: Downloaded newer image for alpine:3.12 [2021-08-11T20:38:29.496Z] ---> c4fd0aeabfcf [2021-08-11T20:38:29.496Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-08-11T20:38:29.496Z] ---> Running in c860fdac3470 [2021-08-11T20:38:29.496Z] Removing intermediate container c860fdac3470 [2021-08-11T20:38:29.496Z] ---> befaf899067f [2021-08-11T20:38:29.496Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-11T20:38:29.496Z] ---> Running in f431bd01711b [2021-08-11T20:38:29.496Z] Removing intermediate container f431bd01711b [2021-08-11T20:38:29.496Z] ---> 6f77f0db5e34 [2021-08-11T20:38:29.496Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-08-11T20:38:29.496Z] ---> Running in c15374da3674 [2021-08-11T20:38:29.496Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-11T20:38:30.927Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-08-11T20:38:32.896Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-08-11T20:38:32.896Z] (2/6) Installing libgcc (9.3.0-r2) [2021-08-11T20:38:33.167Z] (3/6) Installing libsodium (1.0.18-r0) [2021-08-11T20:38:33.437Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-08-11T20:38:34.411Z] (5/6) Installing libzmq (4.3.3-r0) [2021-08-11T20:38:34.411Z] (6/6) Installing zeromq (4.3.3-r0) [2021-08-11T20:38:34.682Z] Executing busybox-1.31.1-r20.trigger [2021-08-11T20:38:34.682Z] OK: 8 MiB in 20 packages [2021-08-11T20:38:35.657Z] Removing intermediate container c15374da3674 [2021-08-11T20:38:35.657Z] ---> ef11507e654a [2021-08-11T20:38:35.657Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-08-11T20:38:37.085Z] ---> 1c2fd377a42d [2021-08-11T20:38:37.085Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-08-11T20:38:37.678Z] ---> 7e8a7e4505db [2021-08-11T20:38:37.678Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-08-11T20:38:38.668Z] ---> d3d53f40051b [2021-08-11T20:38:38.668Z] Step 17/22 : EXPOSE 59901 [2021-08-11T20:38:38.668Z] ---> Running in 8df6a4425505 [2021-08-11T20:38:39.265Z] Removing intermediate container 8df6a4425505 [2021-08-11T20:38:39.265Z] ---> bc13e41d0b9f [2021-08-11T20:38:39.265Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-08-11T20:38:39.265Z] ---> Running in 89d5a5fdffac [2021-08-11T20:38:39.859Z] Removing intermediate container 89d5a5fdffac [2021-08-11T20:38:39.859Z] ---> 781065adbe75 [2021-08-11T20:38:39.859Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-08-11T20:38:40.133Z] ---> Running in 63f35555cb06 [2021-08-11T20:38:40.729Z] Removing intermediate container 63f35555cb06 [2021-08-11T20:38:40.729Z] ---> add5e434b900 [2021-08-11T20:38:40.729Z] Step 20/22 : LABEL arch=arm64 [2021-08-11T20:38:40.729Z] ---> Running in 06b99aba5408 [2021-08-11T20:38:41.329Z] Removing intermediate container 06b99aba5408 [2021-08-11T20:38:41.329Z] ---> cf588f360c55 [2021-08-11T20:38:41.329Z] Step 21/22 : LABEL git_sha=f18501226b1fed15aac3bbade54fd0ee733edea9 [2021-08-11T20:38:41.329Z] ---> Running in 3464286648f8 [2021-08-11T20:38:41.935Z] Removing intermediate container 3464286648f8 [2021-08-11T20:38:41.935Z] ---> 2eb821308a4f [2021-08-11T20:38:41.935Z] Step 22/22 : LABEL version=2.0.1-dev.4 [2021-08-11T20:38:42.210Z] ---> Running in c7e6f850135b [2021-08-11T20:38:42.808Z] Removing intermediate container c7e6f850135b [2021-08-11T20:38:42.808Z] ---> e59564bbef15 [2021-08-11T20:38:42.808Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-08-11T20:38:42.808Z] Successfully built e59564bbef15 [2021-08-11T20:38:42.808Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-11T20:38:42.950Z] provisioning config files... [2021-08-11T20:38:42.972Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/5@tmp/config4550844068878232788tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:38:43.349Z] ---> docker-login.sh [2021-08-11T20:38:43.349Z] nexus3.edgexfoundry.org:10001 [2021-08-11T20:38:43.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:38:43.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:38:43.899Z] Configure a credential helper to remove this warning. See [2021-08-11T20:38:43.899Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:38:43.899Z] [2021-08-11T20:38:43.899Z] Login Succeeded [2021-08-11T20:38:43.899Z] nexus3.edgexfoundry.org:10002 [2021-08-11T20:38:44.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:38:44.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:38:44.449Z] Configure a credential helper to remove this warning. See [2021-08-11T20:38:44.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:38:44.449Z] [2021-08-11T20:38:44.449Z] Login Succeeded [2021-08-11T20:38:44.449Z] nexus3.edgexfoundry.org:10003 [2021-08-11T20:38:45.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:38:45.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:38:45.053Z] Configure a credential helper to remove this warning. See [2021-08-11T20:38:45.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:38:45.053Z] [2021-08-11T20:38:45.053Z] Login Succeeded [2021-08-11T20:38:45.053Z] nexus3.edgexfoundry.org:10004 [2021-08-11T20:38:45.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:38:45.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:38:45.657Z] Configure a credential helper to remove this warning. See [2021-08-11T20:38:45.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:38:45.657Z] [2021-08-11T20:38:45.657Z] Login Succeeded [2021-08-11T20:38:45.933Z] docker.io [2021-08-11T20:38:46.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T20:38:46.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T20:38:46.478Z] Configure a credential helper to remove this warning. See [2021-08-11T20:38:46.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T20:38:46.478Z] [2021-08-11T20:38:46.478Z] Login Succeeded [2021-08-11T20:38:46.478Z] ---> docker-login.sh ends [Pipeline] } [2021-08-11T20:38:46.494Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-08-11T20:38:46.566Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2021-08-11T20:38:46.566Z] f18501226b1fed15aac3bbade54fd0ee733edea9 [2021-08-11T20:38:46.566Z] latest [2021-08-11T20:38:46.566Z] 2.0.1-dev.4 [2021-08-11T20:38:46.566Z] f18501226b1fed15aac3bbade54fd0ee733edea9-2.0.1-dev.4 [2021-08-11T20:38:46.566Z] main [2021-08-11T20:38:46.566Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:38:46.958Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:f18501226b1fed15aac3bbade54fd0ee733edea9 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:38:47.315Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:f18501226b1fed15aac3bbade54fd0ee733edea9 [2021-08-11T20:38:47.315Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-08-11T20:38:47.315Z] 133fba3644e6: Preparing [2021-08-11T20:38:47.315Z] b9e4b2760fc2: Preparing [2021-08-11T20:38:47.315Z] 3c37cec5ffdd: Preparing [2021-08-11T20:38:47.315Z] 1452573a5be7: Preparing [2021-08-11T20:38:47.315Z] efee0a2624b2: Preparing [2021-08-11T20:38:47.315Z] 3fbe34a1663b: Preparing [2021-08-11T20:38:47.315Z] 3fbe34a1663b: Waiting [2021-08-11T20:38:47.589Z] b9e4b2760fc2: Pushed [2021-08-11T20:38:47.589Z] efee0a2624b2: Pushed [2021-08-11T20:38:47.862Z] 3fbe34a1663b: Layer already exists [2021-08-11T20:38:47.862Z] 133fba3644e6: Pushed [2021-08-11T20:38:48.453Z] 1452573a5be7: Pushed [2021-08-11T20:38:50.419Z] 3c37cec5ffdd: Pushed [2021-08-11T20:38:50.689Z] f18501226b1fed15aac3bbade54fd0ee733edea9: digest: sha256:35f9dcc317052d0750f06bceb74c20fd56c5b524e832d5f4d90329ed6e7f5e6d size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:38:51.035Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:38:51.373Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-08-11T20:38:51.374Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-08-11T20:38:51.374Z] 133fba3644e6: Preparing [2021-08-11T20:38:51.374Z] b9e4b2760fc2: Preparing [2021-08-11T20:38:51.374Z] 3c37cec5ffdd: Preparing [2021-08-11T20:38:51.374Z] 1452573a5be7: Preparing [2021-08-11T20:38:51.374Z] efee0a2624b2: Preparing [2021-08-11T20:38:51.374Z] 3fbe34a1663b: Preparing [2021-08-11T20:38:51.374Z] 3fbe34a1663b: Waiting [2021-08-11T20:38:51.374Z] b9e4b2760fc2: Layer already exists [2021-08-11T20:38:51.374Z] 3c37cec5ffdd: Layer already exists [2021-08-11T20:38:51.374Z] 133fba3644e6: Layer already exists [2021-08-11T20:38:51.374Z] efee0a2624b2: Layer already exists [2021-08-11T20:38:51.374Z] 1452573a5be7: Layer already exists [2021-08-11T20:38:51.644Z] 3fbe34a1663b: Layer already exists [2021-08-11T20:38:51.644Z] latest: digest: sha256:35f9dcc317052d0750f06bceb74c20fd56c5b524e832d5f4d90329ed6e7f5e6d size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:38:51.994Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.4 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:38:52.339Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.4 [2021-08-11T20:38:52.339Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-08-11T20:38:52.339Z] 133fba3644e6: Preparing [2021-08-11T20:38:52.339Z] b9e4b2760fc2: Preparing [2021-08-11T20:38:52.339Z] 3c37cec5ffdd: Preparing [2021-08-11T20:38:52.339Z] 1452573a5be7: Preparing [2021-08-11T20:38:52.339Z] efee0a2624b2: Preparing [2021-08-11T20:38:52.339Z] 3fbe34a1663b: Preparing [2021-08-11T20:38:52.340Z] 3fbe34a1663b: Waiting [2021-08-11T20:38:52.340Z] efee0a2624b2: Layer already exists [2021-08-11T20:38:52.340Z] b9e4b2760fc2: Layer already exists [2021-08-11T20:38:52.340Z] 3c37cec5ffdd: Layer already exists [2021-08-11T20:38:52.340Z] 133fba3644e6: Layer already exists [2021-08-11T20:38:52.340Z] 1452573a5be7: Layer already exists [2021-08-11T20:38:52.611Z] 3fbe34a1663b: Layer already exists [2021-08-11T20:38:52.611Z] 2.0.1-dev.4: digest: sha256:35f9dcc317052d0750f06bceb74c20fd56c5b524e832d5f4d90329ed6e7f5e6d size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:38:52.968Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:f18501226b1fed15aac3bbade54fd0ee733edea9-2.0.1-dev.4 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:38:53.305Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:f18501226b1fed15aac3bbade54fd0ee733edea9-2.0.1-dev.4 [2021-08-11T20:38:53.305Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-08-11T20:38:53.305Z] 133fba3644e6: Preparing [2021-08-11T20:38:53.305Z] b9e4b2760fc2: Preparing [2021-08-11T20:38:53.305Z] 3c37cec5ffdd: Preparing [2021-08-11T20:38:53.305Z] 1452573a5be7: Preparing [2021-08-11T20:38:53.305Z] efee0a2624b2: Preparing [2021-08-11T20:38:53.305Z] 3fbe34a1663b: Preparing [2021-08-11T20:38:53.305Z] 3fbe34a1663b: Waiting [2021-08-11T20:38:53.578Z] 1452573a5be7: Layer already exists [2021-08-11T20:38:53.578Z] efee0a2624b2: Layer already exists [2021-08-11T20:38:53.578Z] b9e4b2760fc2: Layer already exists [2021-08-11T20:38:53.578Z] 133fba3644e6: Layer already exists [2021-08-11T20:38:53.578Z] 3c37cec5ffdd: Layer already exists [2021-08-11T20:38:53.578Z] 3fbe34a1663b: Layer already exists [2021-08-11T20:38:53.578Z] f18501226b1fed15aac3bbade54fd0ee733edea9-2.0.1-dev.4: digest: sha256:35f9dcc317052d0750f06bceb74c20fd56c5b524e832d5f4d90329ed6e7f5e6d size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:38:53.921Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:38:54.263Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2021-08-11T20:38:54.263Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-08-11T20:38:54.263Z] 133fba3644e6: Preparing [2021-08-11T20:38:54.263Z] b9e4b2760fc2: Preparing [2021-08-11T20:38:54.263Z] 3c37cec5ffdd: Preparing [2021-08-11T20:38:54.263Z] 1452573a5be7: Preparing [2021-08-11T20:38:54.263Z] efee0a2624b2: Preparing [2021-08-11T20:38:54.263Z] 3fbe34a1663b: Preparing [2021-08-11T20:38:54.263Z] b9e4b2760fc2: Layer already exists [2021-08-11T20:38:54.263Z] 133fba3644e6: Layer already exists [2021-08-11T20:38:54.263Z] 3c37cec5ffdd: Layer already exists [2021-08-11T20:38:54.263Z] 1452573a5be7: Layer already exists [2021-08-11T20:38:54.263Z] efee0a2624b2: Layer already exists [2021-08-11T20:38:54.533Z] 3fbe34a1663b: Layer already exists [2021-08-11T20:38:54.533Z] main: digest: sha256:35f9dcc317052d0750f06bceb74c20fd56c5b524e832d5f4d90329ed6e7f5e6d size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-08-11T20:38:54.613Z] ===================================================== [Pipeline] echo [2021-08-11T20:38:54.629Z] taggedImages: [2021-08-11T20:38:54.629Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:f18501226b1fed15aac3bbade54fd0ee733edea9 [2021-08-11T20:38:54.629Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-08-11T20:38:54.629Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.4 [2021-08-11T20:38:54.629Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:f18501226b1fed15aac3bbade54fd0ee733edea9-2.0.1-dev.4 [2021-08-11T20:38:54.629Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:38:55.026Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-11T20:38:55.026Z] [2021-08-11T20:38:55.026Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:38:55.394Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-11T20:38:55.671Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-11T20:38:55.671Z] 448f6bf000e3: Pulling fs layer [2021-08-11T20:38:55.671Z] f757da607395: Pulling fs layer [2021-08-11T20:38:55.671Z] 05883995daec: Pulling fs layer [2021-08-11T20:38:55.671Z] 8603b9c90790: Pulling fs layer [2021-08-11T20:38:55.671Z] 1560dd03e051: Pulling fs layer [2021-08-11T20:38:55.671Z] 27f5ce0e4adf: Pulling fs layer [2021-08-11T20:38:55.671Z] c2d8d7efcc4b: Pulling fs layer [2021-08-11T20:38:55.671Z] 8603b9c90790: Waiting [2021-08-11T20:38:55.671Z] 1560dd03e051: Waiting [2021-08-11T20:38:55.671Z] 27f5ce0e4adf: Waiting [2021-08-11T20:38:55.671Z] c2d8d7efcc4b: Waiting [2021-08-11T20:38:55.945Z] f757da607395: Verifying Checksum [2021-08-11T20:38:55.945Z] f757da607395: Download complete [2021-08-11T20:38:55.945Z] 8603b9c90790: Verifying Checksum [2021-08-11T20:38:55.945Z] 8603b9c90790: Download complete [2021-08-11T20:38:56.270Z] 1560dd03e051: Verifying Checksum [2021-08-11T20:38:56.270Z] 1560dd03e051: Download complete [2021-08-11T20:38:56.270Z] 27f5ce0e4adf: Verifying Checksum [2021-08-11T20:38:56.580Z] 05883995daec: Verifying Checksum [2021-08-11T20:38:56.580Z] 05883995daec: Download complete [2021-08-11T20:38:57.211Z] 448f6bf000e3: Verifying Checksum [2021-08-11T20:38:57.211Z] 448f6bf000e3: Download complete [2021-08-11T20:39:01.050Z] 448f6bf000e3: Pull complete [2021-08-11T20:39:02.035Z] f757da607395: Pull complete [2021-08-11T20:39:02.035Z] c2d8d7efcc4b: Verifying Checksum [2021-08-11T20:39:02.035Z] c2d8d7efcc4b: Download complete [2021-08-11T20:39:03.478Z] 05883995daec: Pull complete [2021-08-11T20:39:04.075Z] 8603b9c90790: Pull complete [2021-08-11T20:39:05.056Z] 1560dd03e051: Pull complete [2021-08-11T20:39:05.329Z] 27f5ce0e4adf: Pull complete [2021-08-11T20:39:20.472Z] c2d8d7efcc4b: Pull complete [2021-08-11T20:39:20.472Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-11T20:39:20.472Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-11T20:39:20.472Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-11T20:39:20.746Z] prd-ubuntu18.04-docker-arm64-4c-16g-447 does not seem to be running inside a container [2021-08-11T20:39:20.826Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/5 -v /w/workspace/device-modbus-go/5:/w/workspace/device-modbus-go/5:rw,z -v /w/workspace/device-modbus-go/5@tmp:/w/workspace/device-modbus-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-08-11T20:39:25.059Z] $ docker top a7bf2350d1e4d7014313f195a000bf923b8327b0a9adf9205d92715f32970549 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:39:26.037Z] ---> job-cost.sh [2021-08-11T20:39:26.037Z] lf-activate-venv: SKIPPING [2021-08-11T20:39:26.037Z] INFO: No Stack... [2021-08-11T20:39:27.015Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-08-11T20:39:27.610Z] INFO: Archiving Costs [Pipeline] sh [2021-08-11T20:39:28.265Z] + cut -d, -f6 [2021-08-11T20:39:28.265Z] + cat /w/workspace/device-modbus-go/5/archives/cost.csv [Pipeline] lock [2021-08-11T20:39:28.326Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-5-stack-cost] [2021-08-11T20:39:28.340Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-5-stack-cost] did not exist. Created. [2021-08-11T20:39:28.340Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-11T20:39:29.037Z] /w/workspace/device-modbus-go/5@tmp/durable-ec862b7e/script.sh: 1: /w/workspace/device-modbus-go/5@tmp/durable-ec862b7e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-08-11T20:39:29.719Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-08-11T20:39:29.752Z] Warning: overwriting stash ‘stack-cost’ [2021-08-11T20:39:29.809Z] Stashed 1 file(s) [Pipeline] } [2021-08-11T20:39:29.826Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-5-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-11T20:39:29.855Z] $ docker stop --time=1 a7bf2350d1e4d7014313f195a000bf923b8327b0a9adf9205d92715f32970549 [2021-08-11T20:39:31.603Z] $ docker rm -f a7bf2350d1e4d7014313f195a000bf923b8327b0a9adf9205d92715f32970549 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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-08-11T20:39:32.313Z] provisioning config files... [2021-08-11T20:39:32.330Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5216263683346958924tmp [Pipeline] { [Pipeline] sh [2021-08-11T20:39:32.673Z] + set +x [2021-08-11T20:39:32.673Z] + curl -s https://codecov.io/bash [2021-08-11T20:39:32.673Z] + bash -s -- [2021-08-11T20:39:32.673Z] [2021-08-11T20:39:32.673Z] _____ _ [2021-08-11T20:39:32.673Z] / ____| | | [2021-08-11T20:39:32.673Z] | | ___ __| | ___ ___ _____ __ [2021-08-11T20:39:32.673Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-08-11T20:39:32.673Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-08-11T20:39:32.673Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-08-11T20:39:32.673Z] Bash-1.0.6 [2021-08-11T20:39:32.673Z] [2021-08-11T20:39:32.673Z] [2021-08-11T20:39:32.673Z] ==> git version 2.24.4 found [2021-08-11T20:39:32.673Z] ==> 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-08-11T20:39:32.673Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-08-11T20:39:32.673Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-08-11T20:39:32.673Z] ==> Jenkins CI detected. [2021-08-11T20:39:32.673Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2021-08-11T20:39:32.673Z] project root: . [2021-08-11T20:39:32.673Z] --> token set from env [2021-08-11T20:39:32.673Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-08-11T20:39:32.940Z] ==> Running gcov in . (disable via -X gcov) [2021-08-11T20:39:32.940Z] ==> Python coveragepy not found [2021-08-11T20:39:32.940Z] ==> Searching for coverage reports in: [2021-08-11T20:39:32.940Z] + . [2021-08-11T20:39:32.940Z] -> Found 1 reports [2021-08-11T20:39:32.940Z] ==> Detecting git/mercurial file structure [2021-08-11T20:39:32.940Z] ==> Reading reports [2021-08-11T20:39:32.940Z] + ./coverage.out bytes=23727 [2021-08-11T20:39:32.940Z] ==> Appending adjustments [2021-08-11T20:39:32.940Z] https://docs.codecov.io/docs/fixing-reports [2021-08-11T20:39:32.940Z] + Found adjustments [2021-08-11T20:39:32.940Z] ==> Gzipping contents [2021-08-11T20:39:32.940Z] 4.0K /tmp/codecov.upi0WC.gz [2021-08-11T20:39:32.940Z] ==> Uploading reports [2021-08-11T20:39:32.940Z] url: https://codecov.io [2021-08-11T20:39:32.940Z] query: branch=main&commit=f18501226b1fed15aac3bbade54fd0ee733edea9&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-08-11T20:39:32.940Z] -> Pinging Codecov [2021-08-11T20:39:32.940Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=main&commit=f18501226b1fed15aac3bbade54fd0ee733edea9&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-08-11T20:39:33.530Z] -> Uploading to [2021-08-11T20:39:33.530Z] https://storage.googleapis.com/codecov/v4/raw/2021-08-11/55DBCA73C666E3227836607328DD7E49/f18501226b1fed15aac3bbade54fd0ee733edea9/a665f128-89b2-4e3e-8007-f2239b5159fa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210811%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210811T203933Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0d7ec54e0fa1fe102e0caee82c9c8704fa90cdbce3af6efe8c8b6b123a8b7007 [2021-08-11T20:39:33.530Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-08-11T20:39:33.530Z] Dload Upload Total Spent Left Speed [2021-08-11T20:39:33.797Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3995 0 0 100 3995 0 10731 --:--:-- --:--:-- --:--:-- 10710 100 3995 0 0 100 3995 0 10727 --:--:-- --:--:-- --:--:-- 10710 [2021-08-11T20:39:33.797Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/f18501226b1fed15aac3bbade54fd0ee733edea9 [Pipeline] } [2021-08-11T20:39:33.810Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-08-11T20:39:34.048Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-08-11T20:39:34.071Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:39:34.398Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-08-11T20:39:34.398Z] [2021-08-11T20:39:34.398Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:39:34.727Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-08-11T20:39:34.727Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-08-11T20:39:34.727Z] 188c0c94c7c5: Pulling fs layer [2021-08-11T20:39:34.727Z] 0ef7d3d256c8: Pulling fs layer [2021-08-11T20:39:34.727Z] de9db76c5a1d: Pulling fs layer [2021-08-11T20:39:34.727Z] 0eba1c9be4d2: Pulling fs layer [2021-08-11T20:39:34.727Z] 0d57e429df01: Pulling fs layer [2021-08-11T20:39:34.727Z] 4e4be7b47b0d: Pulling fs layer [2021-08-11T20:39:34.727Z] e1f770b5df2f: Pulling fs layer [2021-08-11T20:39:34.727Z] 85a0685a4137: Pulling fs layer [2021-08-11T20:39:34.727Z] 0eba1c9be4d2: Waiting [2021-08-11T20:39:34.727Z] 0d57e429df01: Waiting [2021-08-11T20:39:34.727Z] 4e4be7b47b0d: Waiting [2021-08-11T20:39:34.727Z] e1f770b5df2f: Waiting [2021-08-11T20:39:34.727Z] 85a0685a4137: Waiting [2021-08-11T20:39:34.727Z] de9db76c5a1d: Verifying Checksum [2021-08-11T20:39:34.727Z] de9db76c5a1d: Download complete [2021-08-11T20:39:34.727Z] 0ef7d3d256c8: Verifying Checksum [2021-08-11T20:39:34.727Z] 0ef7d3d256c8: Download complete [2021-08-11T20:39:34.727Z] 0d57e429df01: Verifying Checksum [2021-08-11T20:39:34.727Z] 0d57e429df01: Download complete [2021-08-11T20:39:34.994Z] 4e4be7b47b0d: Verifying Checksum [2021-08-11T20:39:34.994Z] 4e4be7b47b0d: Download complete [2021-08-11T20:39:34.994Z] 188c0c94c7c5: Verifying Checksum [2021-08-11T20:39:34.994Z] 188c0c94c7c5: Download complete [2021-08-11T20:39:34.994Z] 188c0c94c7c5: Pull complete [2021-08-11T20:39:35.259Z] 0ef7d3d256c8: Pull complete [2021-08-11T20:39:35.259Z] de9db76c5a1d: Pull complete [2021-08-11T20:39:36.661Z] e1f770b5df2f: Verifying Checksum [2021-08-11T20:39:36.662Z] e1f770b5df2f: Download complete [2021-08-11T20:39:40.901Z] 0eba1c9be4d2: Verifying Checksum [2021-08-11T20:39:40.901Z] 0eba1c9be4d2: Download complete [2021-08-11T20:39:41.501Z] 85a0685a4137: Verifying Checksum [2021-08-11T20:39:41.501Z] 85a0685a4137: Download complete [2021-08-11T20:39:44.088Z] 0eba1c9be4d2: Pull complete [2021-08-11T20:39:44.088Z] 0d57e429df01: Pull complete [2021-08-11T20:39:44.088Z] 4e4be7b47b0d: Pull complete [2021-08-11T20:39:44.680Z] e1f770b5df2f: Pull complete [2021-08-11T20:39:48.025Z] 85a0685a4137: Pull complete [2021-08-11T20:39:48.025Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-08-11T20:39:48.025Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-08-11T20:39:48.025Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-08-11T20:39:48.130Z] prd-centos7-docker-4c-2g-440 does not seem to be running inside a container [2021-08-11T20:39:48.191Z] $ 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-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-08-11T20:39:50.354Z] $ docker top e722535645bcdfd53d0ecd5ec36b64edca8d91f77a8f7df555eb591e209e9757 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-08-11T20:39:50.466Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-08-11T20:39:50.781Z] + set -o pipefail [2021-08-11T20:39:50.781Z] + snyk monitor '--org=edgex-jenkins' [2021-08-11T20:40:03.090Z] [2021-08-11T20:40:03.090Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2021-08-11T20:40:03.090Z] [2021-08-11T20:40:03.090Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/fb489be5-8960-4a0e-879d-61ca2cb64723 [2021-08-11T20:40:03.090Z] [2021-08-11T20:40:03.090Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2021-08-11T20:40:03.090Z] [2021-08-11T20:40:03.090Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-08-11T20:40:03.090Z] [2021-08-11T20:40:03.090Z] [2021-08-11T20:40:03.090Z] You are approaching your monthly limit of 200 private tests for your edgex-jenkins org. [2021-08-11T20:40:03.090Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-08-11T20:40:03.105Z] $ docker stop --time=1 e722535645bcdfd53d0ecd5ec36b64edca8d91f77a8f7df555eb591e209e9757 [2021-08-11T20:40:05.106Z] $ docker rm -f e722535645bcdfd53d0ecd5ec36b64edca8d91f77a8f7df555eb591e209e9757 [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-08-11T20:40:06.091Z] + git log --format=format:%s -1 f18501226b1fed15aac3bbade54fd0ee733edea9 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:40:06.420Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-11T20:40:06.420Z] . [Pipeline] withDockerContainer [2021-08-11T20:40:06.510Z] prd-centos7-docker-4c-2g-440 does not seem to be running inside a container [2021-08-11T20:40:06.571Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-11T20:40:06.973Z] $ docker top 32fb4db362e0f43762eb855f777ba1da2b6aa16ea8de3da8aee0dd66ad38cd8b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-11T20:40:07.121Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-11T20:40:07.122Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-11T20:40:07.247Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-11T20:40:07.248Z] $ docker exec 32fb4db362e0f43762eb855f777ba1da2b6aa16ea8de3da8aee0dd66ad38cd8b ssh-agent [2021-08-11T20:40:07.382Z] SSH_AUTH_SOCK=/tmp/ssh-o9C4qjjoXdet/agent.15 [2021-08-11T20:40:07.382Z] SSH_AGENT_PID=21 [2021-08-11T20:40:07.394Z] Running ssh-add (command line suppressed) [2021-08-11T20:40:07.505Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3665999626610659848.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3665999626610659848.key) [2021-08-11T20:40:07.528Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-11T20:40:07.846Z] + git semver tag [2021-08-11T20:40:07.846Z] # -> Open(): unable to determine branch for HEAD [2021-08-11T20:40:07.846Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-08-11T20:40:07.846Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-08-11T20:40:07.846Z] # $SEMVER_REMOTE_NAME = origin [2021-08-11T20:40:07.846Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-11T20:40:07.846Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-11T20:40:07.846Z] # $SEMVER_BRANCH = main [2021-08-11T20:40:07.846Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2021-08-11T20:40:07.846Z] # f18501226b1fed15aac3bbade54fd0ee733edea9 HEAD [2021-08-11T20:40:07.846Z] # -> Force: false [2021-08-11T20:40:07.846Z] # 9cc71c177525e8a73e1e3891ded86db53e7ae796 refs/tags/v2.0.1-dev.4 [Pipeline] } [2021-08-11T20:40:07.858Z] $ docker exec --env ******** --env ******** 32fb4db362e0f43762eb855f777ba1da2b6aa16ea8de3da8aee0dd66ad38cd8b ssh-agent -k [2021-08-11T20:40:07.959Z] unset SSH_AUTH_SOCK; [2021-08-11T20:40:07.960Z] unset SSH_AGENT_PID; [2021-08-11T20:40:07.960Z] echo Agent pid 21 killed; [2021-08-11T20:40:07.975Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-11T20:40:08.337Z] + git semver [Pipeline] } [2021-08-11T20:40:08.361Z] $ docker stop --time=1 32fb4db362e0f43762eb855f777ba1da2b6aa16ea8de3da8aee0dd66ad38cd8b [2021-08-11T20:40:09.563Z] $ docker rm -f 32fb4db362e0f43762eb855f777ba1da2b6aa16ea8de3da8aee0dd66ad38cd8b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:40:10.032Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-08-11T20:40:10.032Z] [2021-08-11T20:40:10.032Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:40:10.366Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-08-11T20:40:10.366Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-08-11T20:40:10.366Z] ab5ef0e58194: Pulling fs layer [2021-08-11T20:40:10.366Z] 9712f1f96733: Pulling fs layer [2021-08-11T20:40:10.366Z] 63f879dbbcfc: Pulling fs layer [2021-08-11T20:40:10.366Z] 0d9ebad4ef96: Pulling fs layer [2021-08-11T20:40:10.366Z] e9a5061849ea: Pulling fs layer [2021-08-11T20:40:10.366Z] d747dcd14b5f: Pulling fs layer [2021-08-11T20:40:10.366Z] 2de7ff778b66: Pulling fs layer [2021-08-11T20:40:10.366Z] e9a5061849ea: Waiting [2021-08-11T20:40:10.366Z] d747dcd14b5f: Waiting [2021-08-11T20:40:10.366Z] 2de7ff778b66: Waiting [2021-08-11T20:40:10.366Z] 0d9ebad4ef96: Waiting [2021-08-11T20:40:10.366Z] 9712f1f96733: Verifying Checksum [2021-08-11T20:40:10.366Z] 9712f1f96733: Download complete [2021-08-11T20:40:12.937Z] 63f879dbbcfc: Verifying Checksum [2021-08-11T20:40:12.937Z] 63f879dbbcfc: Download complete [2021-08-11T20:40:12.937Z] e9a5061849ea: Verifying Checksum [2021-08-11T20:40:12.937Z] e9a5061849ea: Download complete [2021-08-11T20:40:12.937Z] d747dcd14b5f: Verifying Checksum [2021-08-11T20:40:12.937Z] d747dcd14b5f: Download complete [2021-08-11T20:40:13.897Z] 0d9ebad4ef96: Verifying Checksum [2021-08-11T20:40:13.897Z] 0d9ebad4ef96: Download complete [2021-08-11T20:40:13.897Z] 2de7ff778b66: Verifying Checksum [2021-08-11T20:40:13.897Z] 2de7ff778b66: Download complete [2021-08-11T20:40:14.162Z] ab5ef0e58194: Verifying Checksum [2021-08-11T20:40:14.162Z] ab5ef0e58194: Download complete [2021-08-11T20:40:17.521Z] ab5ef0e58194: Pull complete [2021-08-11T20:40:17.521Z] 9712f1f96733: Pull complete [2021-08-11T20:40:17.788Z] 63f879dbbcfc: Pull complete [2021-08-11T20:40:22.113Z] 0d9ebad4ef96: Pull complete [2021-08-11T20:40:22.113Z] e9a5061849ea: Pull complete [2021-08-11T20:40:22.113Z] d747dcd14b5f: Pull complete [2021-08-11T20:40:23.096Z] 2de7ff778b66: Pull complete [2021-08-11T20:40:23.096Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-08-11T20:40:23.096Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-08-11T20:40:23.096Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-08-11T20:40:23.413Z] prd-centos7-docker-4c-2g-440 does not seem to be running inside a container [2021-08-11T20:40:23.511Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-08-11T20:40:26.551Z] $ docker top 9cc2111c734007a9e1b6e3e92ab5dc63bc66f2404fead2ce692931114b949f62 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-08-11T20:40:26.684Z] provisioning config files... [2021-08-11T20:40:26.705Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config413160158455236779tmp [2021-08-11T20:40:26.726Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4214670968372076372tmp [2021-08-11T20:40:26.744Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2708534611389642173tmp [Pipeline] { [Pipeline] echo [2021-08-11T20:40:26.777Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:40:27.087Z] ---> sigul-configuration.sh [2021-08-11T20:40:27.087Z] gpg: directory `/root/.gnupg' created [2021-08-11T20:40:27.087Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-08-11T20:40:27.087Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-08-11T20:40:27.087Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-08-11T20:40:27.087Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-08-11T20:40:27.087Z] gpg: CAST5 encrypted data [2021-08-11T20:40:27.087Z] gpg: encrypted with 1 passphrase [2021-08-11T20:40:27.087Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-08-11T20:40:27.428Z] + mkdir /home/jenkins [2021-08-11T20:40:27.428Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-08-11T20:40:27.740Z] + 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-08-11T20:40:27.755Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:40:28.084Z] ---> sigul-install.sh [2021-08-11T20:40:28.084Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-08-11T20:40:28.398Z] + git tag --list [2021-08-11T20:40:28.398Z] 0.7.1 [2021-08-11T20:40:28.398Z] v1.0.0 [2021-08-11T20:40:28.398Z] v1.1.0 [2021-08-11T20:40:28.398Z] v1.1.1 [2021-08-11T20:40:28.398Z] v1.2.2 [2021-08-11T20:40:28.398Z] v1.3.0 [2021-08-11T20:40:28.398Z] v1.3.1 [2021-08-11T20:40:28.398Z] v2.0.0 [2021-08-11T20:40:28.398Z] v2.0.1-dev.1 [2021-08-11T20:40:28.398Z] v2.0.1-dev.2 [2021-08-11T20:40:28.398Z] v2.0.1-dev.3 [2021-08-11T20:40:28.398Z] v2.0.1-dev.4 [Pipeline] sh [2021-08-11T20:40:28.727Z] + lftools sign git-tag v2.0.1-dev.4 [2021-08-11T20:40:29.311Z] Signing Git tag with Sigul... [2021-08-11T20:40:29.311Z] Signing v2.0.1-dev.4 [Pipeline] echo [2021-08-11T20:40:30.282Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:40:30.593Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-08-11T20:40:30.608Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-08-11T20:40:30.638Z] $ docker stop --time=1 9cc2111c734007a9e1b6e3e92ab5dc63bc66f2404fead2ce692931114b949f62 [2021-08-11T20:40:31.864Z] $ docker rm -f 9cc2111c734007a9e1b6e3e92ab5dc63bc66f2404fead2ce692931114b949f62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:40:32.368Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-11T20:40:32.368Z] . [Pipeline] withDockerContainer [2021-08-11T20:40:32.459Z] prd-centos7-docker-4c-2g-440 does not seem to be running inside a container [2021-08-11T20:40:32.530Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-11T20:40:32.951Z] $ docker top 1725d401883c24267514f0f668469a5c228dfc30c02df11aa8fbfcde424a3cac -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-11T20:40:33.117Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-11T20:40:33.117Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-11T20:40:33.246Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-11T20:40:33.248Z] $ docker exec 1725d401883c24267514f0f668469a5c228dfc30c02df11aa8fbfcde424a3cac ssh-agent [2021-08-11T20:40:33.371Z] SSH_AUTH_SOCK=/tmp/ssh-TJ5GZSZ7iNju/agent.15 [2021-08-11T20:40:33.371Z] SSH_AGENT_PID=21 [2021-08-11T20:40:33.383Z] Running ssh-add (command line suppressed) [2021-08-11T20:40:33.505Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1321285906071508860.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1321285906071508860.key) [2021-08-11T20:40:33.542Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-11T20:40:33.864Z] + git semver bump pre [2021-08-11T20:40:33.864Z] # -> Open(): unable to determine branch for HEAD [2021-08-11T20:40:33.864Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-08-11T20:40:33.864Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-08-11T20:40:33.864Z] # $SEMVER_REMOTE_NAME = origin [2021-08-11T20:40:33.864Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-11T20:40:33.864Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-11T20:40:33.864Z] # $SEMVER_BRANCH = main [2021-08-11T20:40:33.864Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2021-08-11T20:40:33.864Z] 2.0.1-dev.5 [Pipeline] } [2021-08-11T20:40:33.876Z] $ docker exec --env ******** --env ******** 1725d401883c24267514f0f668469a5c228dfc30c02df11aa8fbfcde424a3cac ssh-agent -k [2021-08-11T20:40:33.986Z] unset SSH_AUTH_SOCK; [2021-08-11T20:40:33.986Z] unset SSH_AGENT_PID; [2021-08-11T20:40:33.986Z] echo Agent pid 21 killed; [2021-08-11T20:40:34.009Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-11T20:40:34.368Z] + git semver [Pipeline] } [2021-08-11T20:40:34.386Z] $ docker stop --time=1 1725d401883c24267514f0f668469a5c228dfc30c02df11aa8fbfcde424a3cac [2021-08-11T20:40:35.594Z] $ docker rm -f 1725d401883c24267514f0f668469a5c228dfc30c02df11aa8fbfcde424a3cac [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:40:36.104Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-11T20:40:36.104Z] . [Pipeline] withDockerContainer [2021-08-11T20:40:36.510Z] prd-centos7-docker-4c-2g-440 does not seem to be running inside a container [2021-08-11T20:40:36.573Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-11T20:40:36.924Z] $ docker top 05313327a332e834ebd20708a0d9df7a338572b2cc28a7f1111f6c5daee6e1b6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-11T20:40:37.054Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-11T20:40:37.054Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-11T20:40:37.172Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-11T20:40:37.173Z] $ docker exec 05313327a332e834ebd20708a0d9df7a338572b2cc28a7f1111f6c5daee6e1b6 ssh-agent [2021-08-11T20:40:37.289Z] SSH_AUTH_SOCK=/tmp/ssh-rbqEwJPNE5M8/agent.14 [2021-08-11T20:40:37.289Z] SSH_AGENT_PID=20 [2021-08-11T20:40:37.298Z] Running ssh-add (command line suppressed) [2021-08-11T20:40:37.389Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4688590830828948311.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4688590830828948311.key) [2021-08-11T20:40:37.410Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-11T20:40:37.727Z] + git semver push [2021-08-11T20:40:37.727Z] # -> Open(): unable to determine branch for HEAD [2021-08-11T20:40:37.727Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-08-11T20:40:37.727Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-08-11T20:40:37.727Z] # $SEMVER_REMOTE_NAME = origin [2021-08-11T20:40:37.727Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-11T20:40:37.727Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-11T20:40:37.727Z] # $SEMVER_BRANCH = main [2021-08-11T20:40:37.727Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2021-08-11T20:40:39.145Z] $ docker exec --env ******** --env ******** 05313327a332e834ebd20708a0d9df7a338572b2cc28a7f1111f6c5daee6e1b6 ssh-agent -k [2021-08-11T20:40:39.241Z] unset SSH_AUTH_SOCK; [2021-08-11T20:40:39.241Z] unset SSH_AGENT_PID; [2021-08-11T20:40:39.241Z] echo Agent pid 20 killed; [2021-08-11T20:40:39.262Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-11T20:40:39.613Z] + git semver [Pipeline] } [2021-08-11T20:40:39.631Z] $ docker stop --time=1 05313327a332e834ebd20708a0d9df7a338572b2cc28a7f1111f6c5daee6e1b6 [2021-08-11T20:40:40.840Z] $ docker rm -f 05313327a332e834ebd20708a0d9df7a338572b2cc28a7f1111f6c5daee6e1b6 [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] sh [2021-08-11T20:40:41.546Z] + '[' -d /w/workspace/gexfoundry_device-modbus-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:40:41.871Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:40:42.466Z] ---> package-listing.sh [2021-08-11T20:40:42.466Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-11T20:40:42.466Z] ++ facter osfamily [2021-08-11T20:40:42.740Z] + OS_FAMILY=redhat [2021-08-11T20:40:42.740Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2021-08-11T20:40:42.740Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-11T20:40:42.740Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-11T20:40:42.740Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-11T20:40:42.740Z] + PACKAGES=/tmp/packages_start.txt [2021-08-11T20:40:42.740Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2021-08-11T20:40:42.740Z] + PACKAGES=/tmp/packages_end.txt [2021-08-11T20:40:42.740Z] + case "${OS_FAMILY}" in [2021-08-11T20:40:42.740Z] + rpm -qa [2021-08-11T20:40:42.740Z] + sort [2021-08-11T20:40:43.326Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-11T20:40:43.326Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-11T20:40:43.326Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-11T20:40:43.326Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2021-08-11T20:40:43.326Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2021-08-11T20:40:43.326Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2021-08-11T20:40:43.341Z] 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-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-08-11T20:40:43.636Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:40:44.426Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T20:40:44.426Z] [2021-08-11T20:40:44.426Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T20:40:44.752Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T20:40:44.752Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-11T20:40:44.752Z] b4d181a07f80: Pulling fs layer [2021-08-11T20:40:44.752Z] a1111a8f2ec3: Pulling fs layer [2021-08-11T20:40:44.752Z] ed53099fbce6: Pulling fs layer [2021-08-11T20:40:44.752Z] dc539afda2c1: Pulling fs layer [2021-08-11T20:40:44.752Z] 77bc0d833cb6: Pulling fs layer [2021-08-11T20:40:44.752Z] 9065ff56babe: Pulling fs layer [2021-08-11T20:40:44.752Z] d287ab97295c: Pulling fs layer [2021-08-11T20:40:44.752Z] dc539afda2c1: Waiting [2021-08-11T20:40:44.752Z] 77bc0d833cb6: Waiting [2021-08-11T20:40:44.752Z] 9065ff56babe: Waiting [2021-08-11T20:40:44.752Z] d287ab97295c: Waiting [2021-08-11T20:40:45.333Z] a1111a8f2ec3: Verifying Checksum [2021-08-11T20:40:45.333Z] a1111a8f2ec3: Download complete [2021-08-11T20:40:45.333Z] dc539afda2c1: Verifying Checksum [2021-08-11T20:40:45.333Z] dc539afda2c1: Download complete [2021-08-11T20:40:45.597Z] 77bc0d833cb6: Verifying Checksum [2021-08-11T20:40:45.597Z] 77bc0d833cb6: Download complete [2021-08-11T20:40:45.597Z] 9065ff56babe: Verifying Checksum [2021-08-11T20:40:45.597Z] 9065ff56babe: Download complete [2021-08-11T20:40:46.177Z] ed53099fbce6: Verifying Checksum [2021-08-11T20:40:46.177Z] ed53099fbce6: Download complete [2021-08-11T20:40:47.581Z] b4d181a07f80: Verifying Checksum [2021-08-11T20:40:47.581Z] b4d181a07f80: Download complete [2021-08-11T20:40:49.001Z] b4d181a07f80: Pull complete [2021-08-11T20:40:49.001Z] a1111a8f2ec3: Pull complete [2021-08-11T20:40:49.268Z] ed53099fbce6: Pull complete [2021-08-11T20:40:49.542Z] dc539afda2c1: Pull complete [2021-08-11T20:40:49.808Z] 77bc0d833cb6: Pull complete [2021-08-11T20:40:49.808Z] 9065ff56babe: Pull complete [2021-08-11T20:40:51.743Z] d287ab97295c: Verifying Checksum [2021-08-11T20:40:51.743Z] d287ab97295c: Download complete [2021-08-11T20:40:56.014Z] d287ab97295c: Pull complete [2021-08-11T20:40:56.014Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-11T20:40:56.014Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T20:40:56.014Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-11T20:40:56.104Z] prd-centos7-docker-4c-2g-440 does not seem to be running inside a container [2021-08-11T20:40:56.166Z] $ 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-modbus-go_main/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-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-11T20:40:58.862Z] $ docker top d22256bd11c60307768eb1c89d38dcaef7759c72be4ab359338a07ff46e38b6a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-11T20:40:59.259Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-11T20:40:59.576Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-11T20:40:59.887Z] + ls /var/log/sa-host [2021-08-11T20:40:59.887Z] + sadf -c /var/log/sa-host/sa05 [2021-08-11T20:40:59.887Z] file_magic: OK [2021-08-11T20:40:59.887Z] HZ: Using current value: 100 [2021-08-11T20:40:59.887Z] file_header: OK [2021-08-11T20:40:59.887Z] 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-08-11T20:40:59.887Z] Statistics: [2021-08-11T20:40:59.887Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-11T20:40:59.887Z] File successfully converted to sysstat format version 12.0.3 [2021-08-11T20:40:59.887Z] + sadf -c /var/log/sa-host/sa11 [2021-08-11T20:40:59.887Z] file_magic: OK [2021-08-11T20:40:59.887Z] HZ: Using current value: 100 [2021-08-11T20:40:59.887Z] file_header: OK [2021-08-11T20:40:59.887Z] 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-08-11T20:40:59.887Z] Statistics: [2021-08-11T20:40:59.887Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-11T20:40:59.887Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-11T20:41:00.047Z] provisioning config files... [2021-08-11T20:41:00.062Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5936278307518909319tmp [Pipeline] { [Pipeline] echo [2021-08-11T20:41:00.086Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:41:00.395Z] ---> create-netrc.sh [Pipeline] } [2021-08-11T20:41:00.407Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:41:00.785Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-11T20:41:00.799Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:41:01.109Z] ---> sudo-logs.sh [2021-08-11T20:41:01.109Z] Archiving 'sudo' log.. [2021-08-11T20:41:01.109Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-440.vexxhost.local: Name or service not known [2021-08-11T20:41:01.109Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-440.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-11T20:41:01.147Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:41:01.456Z] ---> job-cost.sh [2021-08-11T20:41:01.456Z] lf-activate-venv: SKIPPING [2021-08-11T20:41:01.456Z] DEBUG: total: 0.18000000715255737 [2021-08-11T20:41:01.456Z] INFO: Retrieving Stack Cost... [2021-08-11T20:41:02.860Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-11T20:41:03.124Z] INFO: Archiving Costs [Pipeline] echo [2021-08-11T20:41:03.140Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T20:41:03.455Z] ---> logs-deploy.sh [2021-08-11T20:41:03.455Z] lf-activate-venv: SKIPPING [2021-08-11T20:41:03.455Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/5 [2021-08-11T20:41:03.455Z] INFO: archiving workspace using pattern(s): [2021-08-11T20:41:04.413Z] Archives upload complete. [2021-08-11T20:41:04.413Z] INFO: archiving logs to Nexus