Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2914c8785d6fb43e30410761fbe9b43bb07dce53 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-ssh1915844173851048000.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh240147164436520843.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh9052599836106139594.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh2924288038438410811.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-ssh4537945430693010307.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1373 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-ssh6966777217043464377.key Avoid second fetch Checking out Revision 2914c8785d6fb43e30410761fbe9b43bb07dce53 (main) > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 2914c8785d6fb43e30410761fbe9b43bb07dce53 # timeout=10 Commit message: "Merge pull request #283 from siggiskulason/snap-fix-version" > git rev-list --no-walk c439eddbe1d975b2354952de669c464f2d79e5f8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-14T08:32:58.931Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-14T08:32:58.966Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-14T08:32:58.983Z] ========================================================= [2021-10-14T08:32:58.983Z] EdgeX Global Pipelines Version Info [2021-10-14T08:32:58.983Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:33:00.112Z] ------------------- [2021-10-14T08:33:00.112Z] stable info: [2021-10-14T08:33:00.112Z] ------------------- [2021-10-14T08:33:00.112Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-14T08:33:00.112Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-14T08:33:00.112Z] Message: update stable to v1.0.210 [2021-10-14T08:33:00.690Z] ------------------- [2021-10-14T08:33:00.690Z] experimental info: [2021-10-14T08:33:00.690Z] ------------------- [2021-10-14T08:33:00.690Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-14T08:33:00.690Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-14T08:33:00.690Z] Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-14T08:33:00.761Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-10-14T08:33:00.770Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-10-14T08:33:00.778Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-14T08:33:00.785Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-14T08:33:00.792Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-14T08:33:00.799Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-14T08:33:00.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-14T08:33:00.812Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-14T08:33:00.819Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-14T08:33:00.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-14T08:33:00.833Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-14T08:33:00.840Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2021-10-14T08:33:00.852Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-14T08:33:00.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-14T08:33:00.873Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-14T08:33:00.883Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-14T08:33:00.893Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T08:33:00.905Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T08:33:00.919Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-14T08:33:00.931Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-10-14T08:33:00.942Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-14T08:33:00.955Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-14T08:33:00.977Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-14T08:33:00.992Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-14T08:33:01.006Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-14T08:33:01.019Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-14T08:33:01.028Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-10-14T08:33:01.038Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-10-14T08:33:01.048Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-10-14T08:33:01.058Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2914c8785d6fb43e30410761fbe9b43bb07dce53 [Pipeline] echo [2021-10-14T08:33:01.069Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2914c87 [Pipeline] echo [2021-10-14T08:33:01.081Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T08:33:01.127Z] provisioning config files... [2021-10-14T08:33:01.141Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6639803315799148597tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:33:01.459Z] ---> docker-login.sh [2021-10-14T08:33:01.459Z] nexus3.edgexfoundry.org:10001 [2021-10-14T08:33:01.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:33:01.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:33:01.727Z] Configure a credential helper to remove this warning. See [2021-10-14T08:33:01.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:33:01.727Z] [2021-10-14T08:33:01.727Z] Login Succeeded [2021-10-14T08:33:01.727Z] nexus3.edgexfoundry.org:10002 [2021-10-14T08:33:01.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:33:01.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:33:01.727Z] Configure a credential helper to remove this warning. See [2021-10-14T08:33:01.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:33:01.727Z] [2021-10-14T08:33:01.727Z] Login Succeeded [2021-10-14T08:33:01.727Z] nexus3.edgexfoundry.org:10003 [2021-10-14T08:33:01.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:33:01.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:33:01.998Z] Configure a credential helper to remove this warning. See [2021-10-14T08:33:01.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:33:01.998Z] [2021-10-14T08:33:01.998Z] Login Succeeded [2021-10-14T08:33:01.998Z] nexus3.edgexfoundry.org:10004 [2021-10-14T08:33:01.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:33:01.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:33:01.998Z] Configure a credential helper to remove this warning. See [2021-10-14T08:33:01.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:33:01.998Z] [2021-10-14T08:33:01.998Z] Login Succeeded [2021-10-14T08:33:01.998Z] docker.io [2021-10-14T08:33:01.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:33:02.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:33:02.572Z] Configure a credential helper to remove this warning. See [2021-10-14T08:33:02.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:33:02.572Z] [2021-10-14T08:33:02.572Z] Login Succeeded [2021-10-14T08:33:02.572Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T08:33:02.582Z] 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-10-14T08:33:03.008Z] + git log --format=format:%s -1 2914c8785d6fb43e30410761fbe9b43bb07dce53 [Pipeline] echo [2021-10-14T08:33:03.039Z] GIT_COMMIT: 2914c8785d6fb43e30410761fbe9b43bb07dce53, Commit Message: Merge pull request #283 from siggiskulason/snap-fix-version [Pipeline] echo [2021-10-14T08:33:03.049Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:33:03.707Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T08:33:03.707Z] [2021-10-14T08:33:03.707Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:33:04.021Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T08:33:04.021Z] latest: Pulling from edgex-devops/git-semver [2021-10-14T08:33:04.021Z] a0d0a0d46f8b: Pulling fs layer [2021-10-14T08:33:04.021Z] 3e5f54012d9b: Pulling fs layer [2021-10-14T08:33:04.021Z] 4c7163046ea9: Pulling fs layer [2021-10-14T08:33:04.021Z] 0c2d73faf560: Pulling fs layer [2021-10-14T08:33:04.021Z] 0c2d73faf560: Waiting [2021-10-14T08:33:04.021Z] 3e5f54012d9b: Verifying Checksum [2021-10-14T08:33:04.021Z] 3e5f54012d9b: Download complete [2021-10-14T08:33:04.021Z] a0d0a0d46f8b: Verifying Checksum [2021-10-14T08:33:04.021Z] a0d0a0d46f8b: Download complete [2021-10-14T08:33:04.021Z] 4c7163046ea9: Verifying Checksum [2021-10-14T08:33:04.021Z] 4c7163046ea9: Download complete [2021-10-14T08:33:04.021Z] 0c2d73faf560: Verifying Checksum [2021-10-14T08:33:04.021Z] 0c2d73faf560: Download complete [2021-10-14T08:33:04.289Z] a0d0a0d46f8b: Pull complete [2021-10-14T08:33:04.289Z] 3e5f54012d9b: Pull complete [2021-10-14T08:33:04.550Z] 4c7163046ea9: Pull complete [2021-10-14T08:33:04.819Z] 0c2d73faf560: Pull complete [2021-10-14T08:33:04.819Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-14T08:33:04.819Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T08:33:04.819Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-14T08:33:04.897Z] prd-centos7-docker-4c-2g-1373 does not seem to be running inside a container [2021-10-14T08:33:04.824Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-14T08:33:05.512Z] $ docker top 4a7b5ff3cc9edbd305e022391a9147db4700831f7a6e28f5fdadcc80121781b2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-14T08:33:05.671Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T08:33:05.671Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T08:33:05.776Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T08:33:05.730Z] $ docker exec 4a7b5ff3cc9edbd305e022391a9147db4700831f7a6e28f5fdadcc80121781b2 ssh-agent [2021-10-14T08:33:05.877Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEiNebE/agent.13 [2021-10-14T08:33:05.877Z] SSH_AGENT_PID=19 [2021-10-14T08:33:05.885Z] Running ssh-add (command line suppressed) [2021-10-14T08:33:05.937Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8686664855440834341.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8686664855440834341.key) [2021-10-14T08:33:05.982Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T08:33:06.284Z] + git tag --points-at HEAD [Pipeline] } [2021-10-14T08:33:06.292Z] $ docker exec --env ******** --env ******** 4a7b5ff3cc9edbd305e022391a9147db4700831f7a6e28f5fdadcc80121781b2 ssh-agent -k [2021-10-14T08:33:06.384Z] unset SSH_AUTH_SOCK; [2021-10-14T08:33:06.385Z] unset SSH_AGENT_PID; [2021-10-14T08:33:06.385Z] echo Agent pid 19 killed; [2021-10-14T08:33:06.397Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-14T08:33:06.423Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T08:33:06.423Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T08:33:06.520Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T08:33:06.523Z] $ docker exec 4a7b5ff3cc9edbd305e022391a9147db4700831f7a6e28f5fdadcc80121781b2 ssh-agent [2021-10-14T08:33:06.630Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGeMCiM/agent.51 [2021-10-14T08:33:06.630Z] SSH_AGENT_PID=57 [2021-10-14T08:33:06.637Z] Running ssh-add (command line suppressed) [2021-10-14T08:33:06.736Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_470859140003637325.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_470859140003637325.key) [2021-10-14T08:33:06.750Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T08:33:07.046Z] + git semver init [2021-10-14T08:33:07.046Z] # -> Open(): unable to determine branch for HEAD [2021-10-14T08:33:07.046Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-10-14T08:33:07.046Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-10-14T08:33:07.046Z] # $SEMVER_REMOTE_NAME = origin [2021-10-14T08:33:07.046Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-14T08:33:07.046Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-14T08:33:07.046Z] # $SEMVER_BRANCH = main [2021-10-14T08:33:07.046Z] # $SEMVER_TEMP = /tmp/semver-798200388 [2021-10-14T08:33:07.046Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-10-14T08:33:07.620Z] # '/tmp/semver-798200388' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' [2021-10-14T08:33:07.620Z] # -> Force: false [2021-10-14T08:33:07.620Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2021-10-14T08:33:07.632Z] $ docker exec --env ******** --env ******** 4a7b5ff3cc9edbd305e022391a9147db4700831f7a6e28f5fdadcc80121781b2 ssh-agent -k [2021-10-14T08:33:07.734Z] unset SSH_AUTH_SOCK; [2021-10-14T08:33:07.734Z] unset SSH_AGENT_PID; [2021-10-14T08:33:07.734Z] echo Agent pid 57 killed; [2021-10-14T08:33:07.753Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-14T08:33:08.070Z] + git semver [Pipeline] } [2021-10-14T08:33:08.083Z] $ docker stop --time=1 4a7b5ff3cc9edbd305e022391a9147db4700831f7a6e28f5fdadcc80121781b2 [2021-10-14T08:33:09.279Z] $ docker rm -f 4a7b5ff3cc9edbd305e022391a9147db4700831f7a6e28f5fdadcc80121781b2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T08:33:09.626Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-14T08:33:09.854Z] Stashed 1 file(s) [Pipeline] echo [2021-10-14T08:33:09.857Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.7 [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-10-14T08:33:24.996Z] Still waiting to schedule task [2021-10-14T08:33:24.996Z] ‘prd-centos7-builder-2c-1g-1065’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-10-14T08:33:24.996Z] ‘prd-centos7-docker-4c-2g-1374’ is offline [2021-10-14T08:33:24.998Z] Still waiting to schedule task [2021-10-14T08:33:24.998Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-14T08:35:27.521Z] Running on prd-centos7-docker-4c-2g-1381 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2021-10-14T08:35:27.532Z] Running in /w/workspace/device-modbus-go/10 [Pipeline] { [Pipeline] checkout [2021-10-14T08:35:27.618Z] Selected Git installation does not exist. Using Default [2021-10-14T08:35:27.618Z] The recommended git tool is: NONE [2021-10-14T08:35:29.875Z] using credential edgex-jenkins-ssh [2021-10-14T08:35:29.884Z] Cloning the remote Git repository [2021-10-14T08:35:29.816Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-10-14T08:35:30.799Z] Avoid second fetch [2021-10-14T08:35:30.799Z] Checking out Revision 2914c8785d6fb43e30410761fbe9b43bb07dce53 (main) [2021-10-14T08:35:29.946Z] > git init /w/workspace/device-modbus-go/10 # timeout=10 [2021-10-14T08:35:29.987Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-10-14T08:35:29.987Z] > git --version # timeout=10 [2021-10-14T08:35:29.992Z] > git --version # 'git version 2.24.4' [2021-10-14T08:35:29.993Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T08:35:30.016Z] [INFO] Currently running in a labeled security context [2021-10-14T08:35:30.017Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-14T08:35:30.017Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/10@tmp/jenkins-gitclient-ssh2929792816209319036.key [2021-10-14T08:35:30.043Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T08:35:30.684Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-10-14T08:35:30.698Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T08:35:30.717Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T08:35:30.723Z] > git checkout -f 2914c8785d6fb43e30410761fbe9b43bb07dce53 # timeout=10 [2021-10-14T08:35:34.382Z] Commit message: "Merge pull request #283 from siggiskulason/snap-fix-version" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T08:35:34.730Z] provisioning config files... [2021-10-14T08:35:34.745Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/10@tmp/config5767365413759235433tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:35:35.142Z] ---> docker-login.sh [2021-10-14T08:35:35.142Z] nexus3.edgexfoundry.org:10001 [2021-10-14T08:35:35.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:35:35.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:35:35.142Z] Configure a credential helper to remove this warning. See [2021-10-14T08:35:35.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:35:35.142Z] [2021-10-14T08:35:35.142Z] Login Succeeded [2021-10-14T08:35:35.142Z] nexus3.edgexfoundry.org:10002 [2021-10-14T08:35:35.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:35:35.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:35:35.404Z] Configure a credential helper to remove this warning. See [2021-10-14T08:35:35.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:35:35.404Z] [2021-10-14T08:35:35.404Z] Login Succeeded [2021-10-14T08:35:35.404Z] nexus3.edgexfoundry.org:10003 [2021-10-14T08:35:35.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:35:35.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:35:35.404Z] Configure a credential helper to remove this warning. See [2021-10-14T08:35:35.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:35:35.404Z] [2021-10-14T08:35:35.404Z] Login Succeeded [2021-10-14T08:35:35.404Z] nexus3.edgexfoundry.org:10004 [2021-10-14T08:35:35.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:35:35.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:35:35.665Z] Configure a credential helper to remove this warning. See [2021-10-14T08:35:35.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:35:35.665Z] [2021-10-14T08:35:35.665Z] Login Succeeded [2021-10-14T08:35:35.665Z] docker.io [2021-10-14T08:35:35.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:35:35.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:35:35.927Z] Configure a credential helper to remove this warning. See [2021-10-14T08:35:35.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:35:35.927Z] [2021-10-14T08:35:35.927Z] Login Succeeded [2021-10-14T08:35:35.927Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T08:35:35.957Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-14T08:35:36.087Z] ========================================================= [2021-10-14T08:35:36.087Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-14T08:35:36.087Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:35:36.389Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-10-14T08:35:36.389Z] Sending build context to Docker daemon 666.1kB [2021-10-14T08:35:36.389Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T08:35:36.389Z] Step 2/9 : FROM ${BASE} AS builder [2021-10-14T08:35:36.389Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-14T08:35:36.389Z] a0d0a0d46f8b: Pulling fs layer [2021-10-14T08:35:36.389Z] 31adcdaf11c8: Pulling fs layer [2021-10-14T08:35:36.389Z] b8b176561691: Pulling fs layer [2021-10-14T08:35:36.389Z] 4527c011a84f: Pulling fs layer [2021-10-14T08:35:36.389Z] 5d74067f8e1e: Pulling fs layer [2021-10-14T08:35:36.389Z] e0aca202a116: Pulling fs layer [2021-10-14T08:35:36.389Z] 3a43be97a3b4: Pulling fs layer [2021-10-14T08:35:36.389Z] 34cad66bf833: Pulling fs layer [2021-10-14T08:35:36.389Z] b4e3c513aaa6: Pulling fs layer [2021-10-14T08:35:36.389Z] 4527c011a84f: Waiting [2021-10-14T08:35:36.389Z] 5d74067f8e1e: Waiting [2021-10-14T08:35:36.389Z] e0aca202a116: Waiting [2021-10-14T08:35:36.389Z] 3a43be97a3b4: Waiting [2021-10-14T08:35:36.389Z] 34cad66bf833: Waiting [2021-10-14T08:35:36.389Z] b4e3c513aaa6: Waiting [2021-10-14T08:35:36.389Z] b8b176561691: Verifying Checksum [2021-10-14T08:35:36.389Z] b8b176561691: Download complete [2021-10-14T08:35:36.389Z] 31adcdaf11c8: Verifying Checksum [2021-10-14T08:35:36.389Z] 31adcdaf11c8: Download complete [2021-10-14T08:35:36.653Z] 5d74067f8e1e: Verifying Checksum [2021-10-14T08:35:36.653Z] 5d74067f8e1e: Download complete [2021-10-14T08:35:36.653Z] e0aca202a116: Verifying Checksum [2021-10-14T08:35:36.653Z] e0aca202a116: Download complete [2021-10-14T08:35:36.653Z] a0d0a0d46f8b: Verifying Checksum [2021-10-14T08:35:36.653Z] a0d0a0d46f8b: Download complete [2021-10-14T08:35:36.653Z] 3a43be97a3b4: Verifying Checksum [2021-10-14T08:35:36.653Z] 3a43be97a3b4: Download complete [2021-10-14T08:35:36.653Z] 34cad66bf833: Verifying Checksum [2021-10-14T08:35:36.653Z] 34cad66bf833: Download complete [2021-10-14T08:35:36.921Z] a0d0a0d46f8b: Pull complete [2021-10-14T08:35:37.184Z] 4527c011a84f: Verifying Checksum [2021-10-14T08:35:37.184Z] 4527c011a84f: Download complete [2021-10-14T08:35:37.184Z] 31adcdaf11c8: Pull complete [2021-10-14T08:35:37.184Z] b4e3c513aaa6: Verifying Checksum [2021-10-14T08:35:37.184Z] b4e3c513aaa6: Download complete [2021-10-14T08:35:37.184Z] b8b176561691: Pull complete [2021-10-14T08:35:41.434Z] 4527c011a84f: Pull complete [2021-10-14T08:35:41.434Z] 5d74067f8e1e: Pull complete [2021-10-14T08:35:41.434Z] e0aca202a116: Pull complete [2021-10-14T08:35:41.434Z] 3a43be97a3b4: Pull complete [2021-10-14T08:35:41.434Z] 34cad66bf833: Pull complete [2021-10-14T08:35:44.056Z] b4e3c513aaa6: Pull complete [2021-10-14T08:35:44.056Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-14T08:35:44.056Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-14T08:35:44.056Z] ---> 9f6097aaca64 [2021-10-14T08:35:44.056Z] Step 3/9 : ARG MAKE='make build' [2021-10-14T08:35:44.998Z] ---> Running in 467516ebd7dc [2021-10-14T08:35:45.262Z] Removing intermediate container 467516ebd7dc [2021-10-14T08:35:45.262Z] ---> eb52e6cf0a1e [2021-10-14T08:35:45.262Z] Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T08:35:45.262Z] ---> Running in b5c020877add [2021-10-14T08:35:45.840Z] Removing intermediate container b5c020877add [2021-10-14T08:35:45.840Z] ---> 23fd51bb8a35 [2021-10-14T08:35:45.840Z] Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T08:35:45.840Z] ---> Running in 5f6c58ceb796 [2021-10-14T08:35:46.101Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T08:35:47.048Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T08:35:47.319Z] (1/8) Installing openssh-keygen (8.6_p1-r3) [2021-10-14T08:35:47.319Z] (2/8) Installing libedit (20210216.3.1-r0) [2021-10-14T08:35:47.581Z] (3/8) Installing openssh-client-common (8.6_p1-r3) [2021-10-14T08:35:47.581Z] (4/8) Installing openssh-client-default (8.6_p1-r3) [2021-10-14T08:35:47.842Z] (5/8) Installing openssh-sftp-server (8.6_p1-r3) [2021-10-14T08:35:47.842Z] (6/8) Installing openssh-server-common (8.6_p1-r3) [2021-10-14T08:35:47.842Z] (7/8) Installing openssh-server (8.6_p1-r3) [2021-10-14T08:35:48.104Z] (8/8) Installing openssh (8.6_p1-r3) [2021-10-14T08:35:48.104Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T08:35:48.104Z] OK: 226 MiB in 60 packages [2021-10-14T08:35:48.369Z] Removing intermediate container 5f6c58ceb796 [2021-10-14T08:35:48.369Z] ---> 130241f8d1df [2021-10-14T08:35:48.369Z] Step 6/9 : WORKDIR /device-modbus-go [2021-10-14T08:35:48.369Z] ---> Running in c12aea2acd82 [2021-10-14T08:35:48.631Z] Removing intermediate container c12aea2acd82 [2021-10-14T08:35:48.631Z] ---> bf374e0b9e9c [2021-10-14T08:35:48.631Z] Step 7/9 : COPY . . [2021-10-14T08:35:48.894Z] ---> 28e6b012d0d3 [2021-10-14T08:35:48.894Z] Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T08:35:48.894Z] ---> Running in 81c290047854 [2021-10-14T08:36:03.850Z] Removing intermediate container 81c290047854 [2021-10-14T08:36:03.850Z] ---> ae39287534b6 [2021-10-14T08:36:03.850Z] Step 9/9 : RUN ${MAKE} [2021-10-14T08:36:03.850Z] ---> Running in fddbfb81a54d [2021-10-14T08:36:03.850Z] noop [2021-10-14T08:36:03.850Z] Removing intermediate container fddbfb81a54d [2021-10-14T08:36:03.850Z] ---> 5e134c080529 [2021-10-14T08:36:03.850Z] Successfully built 5e134c080529 [2021-10-14T08:36:03.850Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:36:04.152Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-14T08:36:04.152Z] . [Pipeline] withDockerContainer [2021-10-14T08:36:04.227Z] prd-centos7-docker-4c-2g-1381 does not seem to be running inside a container [2021-10-14T08:36:04.273Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/10 -v /w/workspace/device-modbus-go/10:/w/workspace/device-modbus-go/10:rw,z -v /w/workspace/device-modbus-go/10@tmp:/w/workspace/device-modbus-go/10@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-10-14T08:36:04.641Z] $ docker top d7c3127efc7306b3d73f4bf15aa4b51b2805d981f719a8a61d89ae040dd25e03 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T08:36:05.005Z] + go version [2021-10-14T08:36:05.005Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-14T08:36:05.015Z] $ docker stop --time=1 d7c3127efc7306b3d73f4bf15aa4b51b2805d981f719a8a61d89ae040dd25e03 [2021-10-14T08:36:06.212Z] $ docker rm -f d7c3127efc7306b3d73f4bf15aa4b51b2805d981f719a8a61d89ae040dd25e03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:36:06.742Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-14T08:36:06.742Z] . [Pipeline] withDockerContainer [2021-10-14T08:36:06.808Z] prd-centos7-docker-4c-2g-1381 does not seem to be running inside a container [2021-10-14T08:36:06.847Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/10 -v /w/workspace/device-modbus-go/10:/w/workspace/device-modbus-go/10:rw,z -v /w/workspace/device-modbus-go/10@tmp:/w/workspace/device-modbus-go/10@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-10-14T08:36:07.256Z] $ docker top 3cd8c928c96744f6fe66270c5b45ee08fa14deda2e531f541730769449ec449f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-14T08:36:07.647Z] + make test [2021-10-14T08:36:07.648Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-10-14T08:36:08.235Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-10-14T08:36:23.235Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-10-14T08:36:24.647Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 46.6% of statements [2021-10-14T08:36:24.647Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-14T08:36:32.849Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-14T08:36:32.849Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-14T08:36:32.849Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-14T08:36:32.861Z] $ docker stop --time=1 3cd8c928c96744f6fe66270c5b45ee08fa14deda2e531f541730769449ec449f [2021-10-14T08:36:34.327Z] $ docker rm -f 3cd8c928c96744f6fe66270c5b45ee08fa14deda2e531f541730769449ec449f [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T08:36:34.730Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-14T08:36:34.927Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-14T08:36:36.129Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-14T08:36:36.429Z] + ls -al . [2021-10-14T08:36:36.429Z] total 124 [2021-10-14T08:36:36.429Z] drwxrwxr-x. 9 jenkins jenkins 4096 Oct 14 08:36 . [2021-10-14T08:36:36.429Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 14 08:35 .. [2021-10-14T08:36:36.429Z] -rw-rw-r--. 1 jenkins jenkins 7707 Oct 14 08:35 Attribution.txt [2021-10-14T08:36:36.429Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 14 08:35 bin [2021-10-14T08:36:36.429Z] -rw-rw-r--. 1 jenkins jenkins 6038 Oct 14 08:35 CHANGELOG.md [2021-10-14T08:36:36.429Z] drwxrwxr-x. 3 jenkins jenkins 32 Oct 14 08:35 cmd [2021-10-14T08:36:36.429Z] -rw-r--r--. 1 jenkins jenkins 23727 Oct 14 08:36 coverage.out [2021-10-14T08:36:36.429Z] -rw-rw-r--. 1 jenkins jenkins 1523 Oct 14 08:35 Dockerfile [2021-10-14T08:36:36.429Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 14 08:35 .dockerignore [2021-10-14T08:36:36.429Z] drwxrwxr-x. 8 jenkins jenkins 162 Oct 14 08:35 .git [2021-10-14T08:36:36.429Z] drwxrwxr-x. 2 jenkins jenkins 103 Oct 14 08:35 .github [2021-10-14T08:36:36.429Z] -rw-rw-r--. 1 jenkins jenkins 331 Oct 14 08:35 .gitignore [2021-10-14T08:36:36.429Z] -rw-rw-r--. 1 jenkins jenkins 414 Oct 14 08:35 go.mod [2021-10-14T08:36:36.429Z] -rw-rw-r--. 1 jenkins jenkins 21529 Oct 14 08:35 go.sum [2021-10-14T08:36:36.429Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 14 08:35 GOVERNANCE.md [2021-10-14T08:36:36.429Z] drwxrwxr-x. 3 jenkins jenkins 20 Oct 14 08:35 internal [2021-10-14T08:36:36.429Z] -rw-rw-r--. 1 jenkins jenkins 679 Oct 14 08:35 Jenkinsfile [2021-10-14T08:36:36.429Z] -rw-rw-r--. 1 jenkins jenkins 11340 Oct 14 08:35 LICENSE [2021-10-14T08:36:36.429Z] -rw-rw-r--. 1 jenkins jenkins 1009 Oct 14 08:35 Makefile [2021-10-14T08:36:36.429Z] -rw-rw-r--. 1 jenkins jenkins 622 Oct 14 08:35 OWNERS.md [2021-10-14T08:36:36.429Z] -rw-rw-r--. 1 jenkins jenkins 2891 Oct 14 08:35 README.md [2021-10-14T08:36:36.429Z] drwxrwxr-x. 2 jenkins jenkins 52 Oct 14 08:35 simulator [2021-10-14T08:36:36.429Z] drwxrwxr-x. 4 jenkins jenkins 71 Oct 14 08:35 snap [2021-10-14T08:36:36.429Z] -rw-rw-r--. 1 jenkins jenkins 11 Oct 14 08:33 VERSION [2021-10-14T08:36:36.429Z] -rw-rw-r--. 1 jenkins jenkins 229 Oct 14 08:35 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:36:36.739Z] + 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=2914c8785d6fb43e30410761fbe9b43bb07dce53 --label arch=amd64 --label version=2.0.1-dev.7 . [2021-10-14T08:36:36.739Z] Sending build context to Docker daemon 690.7kB [2021-10-14T08:36:36.739Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T08:36:36.739Z] Step 2/22 : FROM ${BASE} AS builder [2021-10-14T08:36:36.739Z] ---> 5e134c080529 [2021-10-14T08:36:36.739Z] Step 3/22 : ARG MAKE='make build' [2021-10-14T08:36:36.739Z] ---> Running in 6479bceb3981 [2021-10-14T08:36:37.009Z] Removing intermediate container 6479bceb3981 [2021-10-14T08:36:37.009Z] ---> 8f7e4b420f12 [2021-10-14T08:36:37.009Z] Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T08:36:37.009Z] ---> Running in 2b39ef755383 [2021-10-14T08:36:37.582Z] Removing intermediate container 2b39ef755383 [2021-10-14T08:36:37.582Z] ---> d5de39459859 [2021-10-14T08:36:37.582Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T08:36:37.582Z] ---> Running in 318a6f0a07ec [2021-10-14T08:36:37.843Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T08:36:38.784Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T08:36:39.044Z] OK: 226 MiB in 60 packages [2021-10-14T08:36:39.326Z] Removing intermediate container 318a6f0a07ec [2021-10-14T08:36:39.326Z] ---> 5c798f28e073 [2021-10-14T08:36:39.326Z] Step 6/22 : WORKDIR /device-modbus-go [2021-10-14T08:36:39.326Z] ---> Running in 2d988e574884 [2021-10-14T08:36:39.326Z] Removing intermediate container 2d988e574884 [2021-10-14T08:36:39.326Z] ---> f8b52c43ebe7 [2021-10-14T08:36:39.326Z] Step 7/22 : COPY . . [2021-10-14T08:36:39.592Z] ---> eb7e3d1242a8 [2021-10-14T08:36:39.592Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T08:36:39.592Z] ---> Running in bff5a9d78e27 [2021-10-14T08:36:40.170Z] Removing intermediate container bff5a9d78e27 [2021-10-14T08:36:40.170Z] ---> 69a5c4b8f50e [2021-10-14T08:36:40.170Z] Step 9/22 : RUN ${MAKE} [2021-10-14T08:36:40.170Z] ---> Running in f02621b3c057 [2021-10-14T08:36:40.436Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.0.1-dev.7" -o cmd/device-modbus ./cmd [2021-10-14T08:36:52.793Z] Removing intermediate container f02621b3c057 [2021-10-14T08:36:52.793Z] ---> e804386246d4 [2021-10-14T08:36:52.793Z] Step 10/22 : FROM alpine:3.14 [2021-10-14T08:36:53.364Z] 3.14: Pulling from library/alpine [2021-10-14T08:36:53.364Z] a0d0a0d46f8b: Already exists [2021-10-14T08:36:53.632Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-14T08:36:53.632Z] Status: Downloaded newer image for alpine:3.14 [2021-10-14T08:36:53.632Z] ---> 14119a10abf4 [2021-10-14T08:36:53.632Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-10-14T08:36:53.632Z] ---> Running in 6f200ed9ec11 [2021-10-14T08:36:53.892Z] Removing intermediate container 6f200ed9ec11 [2021-10-14T08:36:53.892Z] ---> 056d933805eb [2021-10-14T08:36:53.892Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T08:36:53.892Z] ---> Running in a6a96fca626c [2021-10-14T08:36:54.478Z] Removing intermediate container a6a96fca626c [2021-10-14T08:36:54.478Z] ---> eca7483cba47 [2021-10-14T08:36:54.478Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-10-14T08:36:54.478Z] ---> Running in 0641059798f6 [2021-10-14T08:36:54.737Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T08:36:55.678Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T08:36:55.939Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-10-14T08:36:56.200Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-10-14T08:36:56.200Z] (3/6) Installing libsodium (1.0.18-r0) [2021-10-14T08:36:56.200Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-14T08:36:56.459Z] (5/6) Installing libzmq (4.3.4-r0) [2021-10-14T08:36:56.459Z] (6/6) Installing zeromq (4.3.4-r0) [2021-10-14T08:36:56.723Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T08:36:56.723Z] OK: 8 MiB in 20 packages [2021-10-14T08:36:56.982Z] Removing intermediate container 0641059798f6 [2021-10-14T08:36:56.982Z] ---> 5678e476f92a [2021-10-14T08:36:56.982Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-10-14T08:36:57.242Z] ---> 3b0485b6a951 [2021-10-14T08:36:57.242Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-10-14T08:36:57.502Z] ---> a31fdc694c9a [2021-10-14T08:36:57.502Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-10-14T08:36:57.502Z] ---> 37d32a99bfd6 [2021-10-14T08:36:57.502Z] Step 17/22 : EXPOSE 59901 [2021-10-14T08:36:57.762Z] ---> Running in 44089e1b57fa [2021-10-14T08:36:57.762Z] Removing intermediate container 44089e1b57fa [2021-10-14T08:36:57.762Z] ---> 1c45927d17b7 [2021-10-14T08:36:57.762Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-10-14T08:36:57.762Z] ---> Running in 953d82610f14 [2021-10-14T08:36:58.026Z] Removing intermediate container 953d82610f14 [2021-10-14T08:36:58.026Z] ---> eee2aeac8b2e [2021-10-14T08:36:58.026Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-14T08:36:58.026Z] ---> Running in 8dd07d363967 [2021-10-14T08:36:58.026Z] Removing intermediate container 8dd07d363967 [2021-10-14T08:36:58.026Z] ---> 8eebe16e15af [2021-10-14T08:36:58.026Z] Step 20/22 : LABEL arch=amd64 [2021-10-14T08:36:58.026Z] ---> Running in 7612ae771918 [2021-10-14T08:36:58.288Z] Removing intermediate container 7612ae771918 [2021-10-14T08:36:58.288Z] ---> 27468baf93dd [2021-10-14T08:36:58.288Z] Step 21/22 : LABEL git_sha=2914c8785d6fb43e30410761fbe9b43bb07dce53 [2021-10-14T08:36:58.288Z] ---> Running in ed57628b44dc [2021-10-14T08:36:58.288Z] Removing intermediate container ed57628b44dc [2021-10-14T08:36:58.288Z] ---> 80d09e505cdc [2021-10-14T08:36:58.288Z] Step 22/22 : LABEL version=2.0.1-dev.7 [2021-10-14T08:36:58.288Z] ---> Running in 679dacfdd358 [2021-10-14T08:36:58.549Z] Removing intermediate container 679dacfdd358 [2021-10-14T08:36:58.549Z] ---> e41edc7a696e [2021-10-14T08:36:58.549Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-14T08:36:58.549Z] Successfully built e41edc7a696e [2021-10-14T08:36:58.549Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T08:36:58.723Z] provisioning config files... [2021-10-14T08:36:58.733Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/10@tmp/config8265461525995130639tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:36:59.042Z] ---> docker-login.sh [2021-10-14T08:36:59.042Z] nexus3.edgexfoundry.org:10001 [2021-10-14T08:36:59.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:36:59.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:36:59.042Z] Configure a credential helper to remove this warning. See [2021-10-14T08:36:59.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:36:59.042Z] [2021-10-14T08:36:59.042Z] Login Succeeded [2021-10-14T08:36:59.042Z] nexus3.edgexfoundry.org:10002 [2021-10-14T08:36:59.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:36:59.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:36:59.305Z] Configure a credential helper to remove this warning. See [2021-10-14T08:36:59.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:36:59.305Z] [2021-10-14T08:36:59.305Z] Login Succeeded [2021-10-14T08:36:59.305Z] nexus3.edgexfoundry.org:10003 [2021-10-14T08:36:59.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:36:59.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:36:59.305Z] Configure a credential helper to remove this warning. See [2021-10-14T08:36:59.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:36:59.305Z] [2021-10-14T08:36:59.305Z] Login Succeeded [2021-10-14T08:36:59.305Z] nexus3.edgexfoundry.org:10004 [2021-10-14T08:36:59.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:36:59.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:36:59.305Z] Configure a credential helper to remove this warning. See [2021-10-14T08:36:59.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:36:59.305Z] [2021-10-14T08:36:59.305Z] Login Succeeded [2021-10-14T08:36:59.305Z] docker.io [2021-10-14T08:36:59.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:36:59.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:36:59.838Z] Configure a credential helper to remove this warning. See [2021-10-14T08:36:59.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:36:59.838Z] [2021-10-14T08:36:59.838Z] Login Succeeded [2021-10-14T08:36:59.838Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T08:36:59.847Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-14T08:36:59.885Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2021-10-14T08:36:59.885Z] 2914c8785d6fb43e30410761fbe9b43bb07dce53 [2021-10-14T08:36:59.885Z] latest [2021-10-14T08:36:59.885Z] 2.0.1-dev.7 [2021-10-14T08:36:59.885Z] 2914c8785d6fb43e30410761fbe9b43bb07dce53-2.0.1-dev.7 [2021-10-14T08:36:59.885Z] main [2021-10-14T08:36:59.885Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:37:00.202Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2914c8785d6fb43e30410761fbe9b43bb07dce53 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:37:00.501Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2914c8785d6fb43e30410761fbe9b43bb07dce53 [2021-10-14T08:37:00.501Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-10-14T08:37:00.501Z] 162d20322da2: Preparing [2021-10-14T08:37:00.501Z] 8d4eef279ae3: Preparing [2021-10-14T08:37:00.501Z] 24b1571ef9e5: Preparing [2021-10-14T08:37:00.501Z] f1a5bfe9f5b5: Preparing [2021-10-14T08:37:00.501Z] f3529e510720: Preparing [2021-10-14T08:37:00.501Z] e2eb06d8af82: Preparing [2021-10-14T08:37:00.501Z] e2eb06d8af82: Waiting [2021-10-14T08:37:00.765Z] f3529e510720: Pushed [2021-10-14T08:37:00.765Z] e2eb06d8af82: Layer already exists [2021-10-14T08:37:00.765Z] 8d4eef279ae3: Pushed [2021-10-14T08:37:00.765Z] 162d20322da2: Pushed [2021-10-14T08:37:00.765Z] f1a5bfe9f5b5: Pushed [2021-10-14T08:37:01.710Z] 24b1571ef9e5: Pushed [2021-10-14T08:37:01.969Z] 2914c8785d6fb43e30410761fbe9b43bb07dce53: digest: sha256:1fb910d0860b140ac65c10e2cfb59596917577d19af9f7ff9203beb5453f137f size: 1573 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:37:02.266Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:37:02.571Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-10-14T08:37:02.571Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-10-14T08:37:02.571Z] 162d20322da2: Preparing [2021-10-14T08:37:02.571Z] 8d4eef279ae3: Preparing [2021-10-14T08:37:02.571Z] 24b1571ef9e5: Preparing [2021-10-14T08:37:02.571Z] f1a5bfe9f5b5: Preparing [2021-10-14T08:37:02.571Z] f3529e510720: Preparing [2021-10-14T08:37:02.571Z] e2eb06d8af82: Preparing [2021-10-14T08:37:02.571Z] e2eb06d8af82: Waiting [2021-10-14T08:37:02.571Z] 162d20322da2: Layer already exists [2021-10-14T08:37:02.571Z] 24b1571ef9e5: Layer already exists [2021-10-14T08:37:02.571Z] 8d4eef279ae3: Layer already exists [2021-10-14T08:37:02.571Z] f1a5bfe9f5b5: Layer already exists [2021-10-14T08:37:02.571Z] f3529e510720: Layer already exists [2021-10-14T08:37:02.571Z] e2eb06d8af82: Layer already exists [2021-10-14T08:37:02.571Z] latest: digest: sha256:1fb910d0860b140ac65c10e2cfb59596917577d19af9f7ff9203beb5453f137f size: 1573 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:37:02.868Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.7 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:37:03.173Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.7 [2021-10-14T08:37:03.173Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-10-14T08:37:03.173Z] 162d20322da2: Preparing [2021-10-14T08:37:03.173Z] 8d4eef279ae3: Preparing [2021-10-14T08:37:03.173Z] 24b1571ef9e5: Preparing [2021-10-14T08:37:03.173Z] f1a5bfe9f5b5: Preparing [2021-10-14T08:37:03.173Z] f3529e510720: Preparing [2021-10-14T08:37:03.173Z] e2eb06d8af82: Preparing [2021-10-14T08:37:03.173Z] e2eb06d8af82: Waiting [2021-10-14T08:37:03.173Z] 8d4eef279ae3: Layer already exists [2021-10-14T08:37:03.173Z] f3529e510720: Layer already exists [2021-10-14T08:37:03.173Z] 24b1571ef9e5: Layer already exists [2021-10-14T08:37:03.173Z] 162d20322da2: Layer already exists [2021-10-14T08:37:03.173Z] f1a5bfe9f5b5: Layer already exists [2021-10-14T08:37:03.173Z] e2eb06d8af82: Layer already exists [2021-10-14T08:37:03.173Z] 2.0.1-dev.7: digest: sha256:1fb910d0860b140ac65c10e2cfb59596917577d19af9f7ff9203beb5453f137f size: 1573 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:37:03.480Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2914c8785d6fb43e30410761fbe9b43bb07dce53-2.0.1-dev.7 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:37:03.785Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2914c8785d6fb43e30410761fbe9b43bb07dce53-2.0.1-dev.7 [2021-10-14T08:37:03.785Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-10-14T08:37:03.785Z] 162d20322da2: Preparing [2021-10-14T08:37:03.785Z] 8d4eef279ae3: Preparing [2021-10-14T08:37:03.785Z] 24b1571ef9e5: Preparing [2021-10-14T08:37:03.785Z] f1a5bfe9f5b5: Preparing [2021-10-14T08:37:03.785Z] f3529e510720: Preparing [2021-10-14T08:37:03.785Z] e2eb06d8af82: Preparing [2021-10-14T08:37:03.785Z] e2eb06d8af82: Waiting [2021-10-14T08:37:03.785Z] 8d4eef279ae3: Layer already exists [2021-10-14T08:37:03.785Z] 162d20322da2: Layer already exists [2021-10-14T08:37:03.785Z] f1a5bfe9f5b5: Layer already exists [2021-10-14T08:37:03.785Z] f3529e510720: Layer already exists [2021-10-14T08:37:03.785Z] 24b1571ef9e5: Layer already exists [2021-10-14T08:37:03.785Z] e2eb06d8af82: Layer already exists [2021-10-14T08:37:03.785Z] 2914c8785d6fb43e30410761fbe9b43bb07dce53-2.0.1-dev.7: digest: sha256:1fb910d0860b140ac65c10e2cfb59596917577d19af9f7ff9203beb5453f137f size: 1573 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:37:04.084Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:37:04.379Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2021-10-14T08:37:04.379Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2021-10-14T08:37:04.379Z] 162d20322da2: Preparing [2021-10-14T08:37:04.379Z] 8d4eef279ae3: Preparing [2021-10-14T08:37:04.379Z] 24b1571ef9e5: Preparing [2021-10-14T08:37:04.379Z] f1a5bfe9f5b5: Preparing [2021-10-14T08:37:04.379Z] f3529e510720: Preparing [2021-10-14T08:37:04.379Z] e2eb06d8af82: Preparing [2021-10-14T08:37:04.379Z] e2eb06d8af82: Waiting [2021-10-14T08:37:04.379Z] 8d4eef279ae3: Layer already exists [2021-10-14T08:37:04.379Z] f3529e510720: Layer already exists [2021-10-14T08:37:04.379Z] f1a5bfe9f5b5: Layer already exists [2021-10-14T08:37:04.379Z] 162d20322da2: Layer already exists [2021-10-14T08:37:04.379Z] 24b1571ef9e5: Layer already exists [2021-10-14T08:37:04.379Z] e2eb06d8af82: Layer already exists [2021-10-14T08:37:04.379Z] main: digest: sha256:1fb910d0860b140ac65c10e2cfb59596917577d19af9f7ff9203beb5453f137f size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-14T08:37:04.412Z] ===================================================== [Pipeline] echo [2021-10-14T08:37:04.421Z] taggedImages: [2021-10-14T08:37:04.421Z] - nexus3.edgexfoundry.org:10004/device-modbus:2914c8785d6fb43e30410761fbe9b43bb07dce53 [2021-10-14T08:37:04.421Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2021-10-14T08:37:04.421Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.7 [2021-10-14T08:37:04.421Z] - nexus3.edgexfoundry.org:10004/device-modbus:2914c8785d6fb43e30410761fbe9b43bb07dce53-2.0.1-dev.7 [2021-10-14T08:37:04.421Z] - 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-10-14T08:37:04.954Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:37:04.954Z] [2021-10-14T08:37:04.954Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:37:05.262Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:37:05.262Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-14T08:37:05.262Z] b4d181a07f80: Pulling fs layer [2021-10-14T08:37:05.262Z] a1111a8f2ec3: Pulling fs layer [2021-10-14T08:37:05.262Z] ed53099fbce6: Pulling fs layer [2021-10-14T08:37:05.262Z] dc539afda2c1: Pulling fs layer [2021-10-14T08:37:05.262Z] 77bc0d833cb6: Pulling fs layer [2021-10-14T08:37:05.262Z] 9065ff56babe: Pulling fs layer [2021-10-14T08:37:05.262Z] d287ab97295c: Pulling fs layer [2021-10-14T08:37:05.262Z] dc539afda2c1: Waiting [2021-10-14T08:37:05.262Z] 77bc0d833cb6: Waiting [2021-10-14T08:37:05.262Z] 9065ff56babe: Waiting [2021-10-14T08:37:05.262Z] d287ab97295c: Waiting [2021-10-14T08:37:05.262Z] a1111a8f2ec3: Verifying Checksum [2021-10-14T08:37:05.262Z] a1111a8f2ec3: Download complete [2021-10-14T08:37:05.262Z] dc539afda2c1: Verifying Checksum [2021-10-14T08:37:05.262Z] dc539afda2c1: Download complete [2021-10-14T08:37:05.527Z] ed53099fbce6: Verifying Checksum [2021-10-14T08:37:05.527Z] ed53099fbce6: Download complete [2021-10-14T08:37:05.527Z] 9065ff56babe: Verifying Checksum [2021-10-14T08:37:05.527Z] 9065ff56babe: Download complete [2021-10-14T08:37:05.527Z] 77bc0d833cb6: Verifying Checksum [2021-10-14T08:37:05.527Z] 77bc0d833cb6: Download complete [2021-10-14T08:37:05.527Z] b4d181a07f80: Verifying Checksum [2021-10-14T08:37:05.527Z] b4d181a07f80: Download complete [2021-10-14T08:37:06.120Z] d287ab97295c: Verifying Checksum [2021-10-14T08:37:06.120Z] d287ab97295c: Download complete [2021-10-14T08:37:07.078Z] b4d181a07f80: Pull complete [2021-10-14T08:37:07.078Z] a1111a8f2ec3: Pull complete [2021-10-14T08:37:08.023Z] ed53099fbce6: Pull complete [2021-10-14T08:37:08.023Z] dc539afda2c1: Pull complete [2021-10-14T08:37:08.297Z] 77bc0d833cb6: Pull complete [2021-10-14T08:37:08.297Z] 9065ff56babe: Pull complete [2021-10-14T08:37:13.666Z] d287ab97295c: Pull complete [2021-10-14T08:37:13.666Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-14T08:37:13.666Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:37:13.666Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-14T08:37:13.746Z] prd-centos7-docker-4c-2g-1381 does not seem to be running inside a container [2021-10-14T08:37:13.778Z] $ 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/10 -v /w/workspace/device-modbus-go/10:/w/workspace/device-modbus-go/10:rw,z -v /w/workspace/device-modbus-go/10@tmp:/w/workspace/device-modbus-go/10@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-10-14T08:37:19.324Z] $ docker top 3d2f15d506f7bbf10d22e55b9518c38fe92102b0265e6de98670529ee90510c4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:37:19.773Z] ---> job-cost.sh [2021-10-14T08:37:19.773Z] lf-activate-venv: SKIPPING [2021-10-14T08:37:19.773Z] INFO: No Stack... [2021-10-14T08:37:20.033Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-14T08:37:20.609Z] INFO: Archiving Costs [Pipeline] sh [2021-10-14T08:37:20.916Z] + cat /w/workspace/device-modbus-go/10/archives/cost.csv [2021-10-14T08:37:20.916Z] + cut -d, -f6 [Pipeline] lock [2021-10-14T08:37:20.947Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-10-stack-cost] [2021-10-14T08:37:20.952Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-10-stack-cost] did not exist. Created. [2021-10-14T08:37:20.952Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-14T08:37:21.273Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-14T08:37:21.309Z] Stashed 1 file(s) [Pipeline] } [2021-10-14T08:37:21.316Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-10-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-14T08:37:21.330Z] $ docker stop --time=1 3d2f15d506f7bbf10d22e55b9518c38fe92102b0265e6de98670529ee90510c4 [2021-10-14T08:37:22.544Z] $ docker rm -f 3d2f15d506f7bbf10d22e55b9518c38fe92102b0265e6de98670529ee90510c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-14T08:38:33.461Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1387 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2021-10-14T08:38:33.473Z] Running in /w/workspace/device-modbus-go/10 [Pipeline] { [Pipeline] checkout [2021-10-14T08:38:33.914Z] Selected Git installation does not exist. Using Default [2021-10-14T08:38:33.914Z] The recommended git tool is: NONE [2021-10-14T08:38:42.273Z] using credential edgex-jenkins-ssh [2021-10-14T08:38:42.293Z] Cloning the remote Git repository [2021-10-14T08:38:42.354Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-10-14T08:38:42.489Z] > git init /w/workspace/device-modbus-go/10 # timeout=10 [2021-10-14T08:38:42.593Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-10-14T08:38:42.594Z] > git --version # timeout=10 [2021-10-14T08:38:42.609Z] > git --version # 'git version 2.17.1' [2021-10-14T08:38:42.611Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T08:38:42.716Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T08:38:43.661Z] Avoid second fetch [2021-10-14T08:38:43.662Z] Checking out Revision 2914c8785d6fb43e30410761fbe9b43bb07dce53 (main) [2021-10-14T08:38:43.630Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-10-14T08:38:43.648Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T08:38:43.691Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T08:38:43.708Z] > git checkout -f 2914c8785d6fb43e30410761fbe9b43bb07dce53 # timeout=10 [2021-10-14T08:38:48.380Z] Commit message: "Merge pull request #283 from siggiskulason/snap-fix-version" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-14T08:38:49.270Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-14T08:38:49.270Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-14T08:38:49.270Z] Dload Upload Total Spent Left Speed [2021-10-14T08:38:49.270Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 61905 0 --:--:-- --:--:-- --:--:-- 61583 [Pipeline] sh [2021-10-14T08:38:49.720Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-14T08:38:50.089Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-14T08:38:50.089Z] + sudo tee /etc/docker/daemon.new [2021-10-14T08:38:50.089Z] { [2021-10-14T08:38:50.089Z] "registry-mirrors": [ [2021-10-14T08:38:50.089Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-14T08:38:50.089Z] ], [2021-10-14T08:38:50.089Z] "bip": "10.250.0.254/24", [2021-10-14T08:38:50.089Z] "hosts": [ [2021-10-14T08:38:50.089Z] "tcp://0.0.0.0:5555", [2021-10-14T08:38:50.089Z] "unix:///var/run/docker.sock" [2021-10-14T08:38:50.089Z] ], [2021-10-14T08:38:50.089Z] "mtu": 1458, [2021-10-14T08:38:50.089Z] "selinux-enabled": true, [2021-10-14T08:38:50.089Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-14T08:38:50.089Z] } [Pipeline] sh [2021-10-14T08:38:50.454Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-14T08:38:50.804Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T08:39:09.250Z] provisioning config files... [2021-10-14T08:39:09.280Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/10@tmp/config368992649075472227tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:39:09.657Z] ---> docker-login.sh [2021-10-14T08:39:09.657Z] nexus3.edgexfoundry.org:10001 [2021-10-14T08:39:11.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:39:11.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:39:11.713Z] Configure a credential helper to remove this warning. See [2021-10-14T08:39:11.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:39:11.713Z] [2021-10-14T08:39:11.713Z] Login Succeeded [2021-10-14T08:39:11.713Z] nexus3.edgexfoundry.org:10002 [2021-10-14T08:39:12.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:39:12.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:39:12.279Z] Configure a credential helper to remove this warning. See [2021-10-14T08:39:12.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:39:12.279Z] [2021-10-14T08:39:12.279Z] Login Succeeded [2021-10-14T08:39:12.279Z] nexus3.edgexfoundry.org:10003 [2021-10-14T08:39:12.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:39:12.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:39:12.835Z] Configure a credential helper to remove this warning. See [2021-10-14T08:39:12.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:39:12.835Z] [2021-10-14T08:39:12.835Z] Login Succeeded [2021-10-14T08:39:12.835Z] nexus3.edgexfoundry.org:10004 [2021-10-14T08:39:13.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:39:13.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:39:13.391Z] Configure a credential helper to remove this warning. See [2021-10-14T08:39:13.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:39:13.391Z] [2021-10-14T08:39:13.391Z] Login Succeeded [2021-10-14T08:39:13.391Z] docker.io [2021-10-14T08:39:13.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:39:13.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:39:13.944Z] Configure a credential helper to remove this warning. See [2021-10-14T08:39:13.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:39:13.944Z] [2021-10-14T08:39:13.944Z] Login Succeeded [2021-10-14T08:39:13.944Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T08:39:13.965Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-14T08:39:14.274Z] ========================================================= [2021-10-14T08:39:14.274Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-14T08:39:14.274Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:39:14.640Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-10-14T08:39:14.921Z] Sending build context to Docker daemon 665.1kB [2021-10-14T08:39:14.921Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T08:39:14.921Z] Step 2/9 : FROM ${BASE} AS builder [2021-10-14T08:39:15.206Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-14T08:39:15.206Z] 552d1f2373af: Pulling fs layer [2021-10-14T08:39:15.206Z] ea3f2d53f512: Pulling fs layer [2021-10-14T08:39:15.206Z] 9e70ebbbe112: Pulling fs layer [2021-10-14T08:39:15.206Z] 7a9cfe048b4a: Pulling fs layer [2021-10-14T08:39:15.206Z] 72dc09318566: Pulling fs layer [2021-10-14T08:39:15.206Z] f4f7b4309257: Pulling fs layer [2021-10-14T08:39:15.206Z] 0ac9a79272e3: Pulling fs layer [2021-10-14T08:39:15.206Z] b78e95d17946: Pulling fs layer [2021-10-14T08:39:15.206Z] 72dc09318566: Waiting [2021-10-14T08:39:15.206Z] f4f7b4309257: Waiting [2021-10-14T08:39:15.206Z] b78e95d17946: Waiting [2021-10-14T08:39:15.206Z] 0ac9a79272e3: Waiting [2021-10-14T08:39:15.206Z] 7a9cfe048b4a: Waiting [2021-10-14T08:39:15.206Z] 9e70ebbbe112: Download complete [2021-10-14T08:39:15.206Z] ea3f2d53f512: Verifying Checksum [2021-10-14T08:39:15.206Z] ea3f2d53f512: Download complete [2021-10-14T08:39:15.491Z] 72dc09318566: Verifying Checksum [2021-10-14T08:39:15.491Z] 72dc09318566: Download complete [2021-10-14T08:39:15.491Z] f4f7b4309257: Verifying Checksum [2021-10-14T08:39:15.491Z] f4f7b4309257: Download complete [2021-10-14T08:39:15.491Z] 0ac9a79272e3: Download complete [2021-10-14T08:39:15.491Z] 552d1f2373af: Verifying Checksum [2021-10-14T08:39:15.491Z] 552d1f2373af: Download complete [2021-10-14T08:39:16.510Z] 552d1f2373af: Pull complete [2021-10-14T08:39:17.131Z] ea3f2d53f512: Pull complete [2021-10-14T08:39:17.755Z] 9e70ebbbe112: Pull complete [2021-10-14T08:39:17.755Z] b78e95d17946: Verifying Checksum [2021-10-14T08:39:17.755Z] b78e95d17946: Download complete [2021-10-14T08:39:18.374Z] 7a9cfe048b4a: Verifying Checksum [2021-10-14T08:39:18.374Z] 7a9cfe048b4a: Download complete [2021-10-14T08:39:28.629Z] 7a9cfe048b4a: Pull complete [2021-10-14T08:39:28.908Z] 72dc09318566: Pull complete [2021-10-14T08:39:29.523Z] f4f7b4309257: Pull complete [2021-10-14T08:39:32.213Z] 0ac9a79272e3: Pull complete [2021-10-14T08:39:39.322Z] b78e95d17946: Pull complete [2021-10-14T08:39:39.322Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-14T08:39:39.322Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-14T08:39:39.322Z] ---> 8b459fc5aaf0 [2021-10-14T08:39:39.322Z] Step 3/9 : ARG MAKE='make build' [2021-10-14T08:39:41.354Z] ---> Running in 610f83cb9bac [2021-10-14T08:39:41.973Z] Removing intermediate container 610f83cb9bac [2021-10-14T08:39:41.973Z] ---> 0dead91a11b6 [2021-10-14T08:39:41.973Z] Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T08:39:41.973Z] ---> Running in eff091be6e8c [2021-10-14T08:39:45.429Z] Removing intermediate container eff091be6e8c [2021-10-14T08:39:45.429Z] ---> 9c783ea54cca [2021-10-14T08:39:45.429Z] Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T08:39:45.429Z] ---> Running in 6467f80dbe22 [2021-10-14T08:39:46.425Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T08:39:47.413Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T08:39:48.018Z] (1/8) Installing openssh-keygen (8.6_p1-r3) [2021-10-14T08:39:48.301Z] (2/8) Installing libedit (20210216.3.1-r0) [2021-10-14T08:39:48.301Z] (3/8) Installing openssh-client-common (8.6_p1-r3) [2021-10-14T08:39:48.592Z] (4/8) Installing openssh-client-default (8.6_p1-r3) [2021-10-14T08:39:48.592Z] (5/8) Installing openssh-sftp-server (8.6_p1-r3) [2021-10-14T08:39:48.870Z] (6/8) Installing openssh-server-common (8.6_p1-r3) [2021-10-14T08:39:48.870Z] (7/8) Installing openssh-server (8.6_p1-r3) [2021-10-14T08:39:48.870Z] (8/8) Installing openssh (8.6_p1-r3) [2021-10-14T08:39:49.149Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T08:39:49.149Z] OK: 225 MiB in 60 packages [2021-10-14T08:39:50.617Z] Removing intermediate container 6467f80dbe22 [2021-10-14T08:39:50.617Z] ---> 1799fe47af78 [2021-10-14T08:39:50.617Z] Step 6/9 : WORKDIR /device-modbus-go [2021-10-14T08:39:50.617Z] ---> Running in 4f8a2015f9fe [2021-10-14T08:39:52.079Z] Removing intermediate container 4f8a2015f9fe [2021-10-14T08:39:52.079Z] ---> a481bcc5d3c6 [2021-10-14T08:39:52.079Z] Step 7/9 : COPY . . [2021-10-14T08:39:53.086Z] ---> 2f3a86368cbf [2021-10-14T08:39:53.086Z] Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T08:39:53.086Z] ---> Running in ab98f51cf4ab [2021-10-14T08:40:19.957Z] Removing intermediate container ab98f51cf4ab [2021-10-14T08:40:19.957Z] ---> 4d351d2a003d [2021-10-14T08:40:19.957Z] Step 9/9 : RUN ${MAKE} [2021-10-14T08:40:19.957Z] ---> Running in 681c7a9011af [2021-10-14T08:40:20.944Z] noop [2021-10-14T08:40:21.942Z] Removing intermediate container 681c7a9011af [2021-10-14T08:40:21.942Z] ---> dbd3e457a246 [2021-10-14T08:40:21.942Z] Successfully built dbd3e457a246 [2021-10-14T08:40:21.942Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:40:22.304Z] + docker inspect -f . ci-base-image-arm64 [2021-10-14T08:40:22.304Z] . [Pipeline] withDockerContainer [2021-10-14T08:40:22.561Z] prd-ubuntu18.04-docker-arm64-4c-16g-1387 does not seem to be running inside a container [2021-10-14T08:40:22.674Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/10 -v /w/workspace/device-modbus-go/10:/w/workspace/device-modbus-go/10:rw,z -v /w/workspace/device-modbus-go/10@tmp:/w/workspace/device-modbus-go/10@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-arm64 cat [2021-10-14T08:40:24.198Z] $ docker top 8007914b2d81ae7541bc081ceb918d11c0e6b7e94d2bbe8b05530ea1c091241a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T08:40:25.151Z] + go version [2021-10-14T08:40:25.151Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-14T08:40:25.182Z] $ docker stop --time=1 8007914b2d81ae7541bc081ceb918d11c0e6b7e94d2bbe8b05530ea1c091241a [2021-10-14T08:40:26.994Z] $ docker rm -f 8007914b2d81ae7541bc081ceb918d11c0e6b7e94d2bbe8b05530ea1c091241a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:40:27.686Z] + docker inspect -f . ci-base-image-arm64 [2021-10-14T08:40:27.686Z] . [Pipeline] withDockerContainer [2021-10-14T08:40:27.933Z] prd-ubuntu18.04-docker-arm64-4c-16g-1387 does not seem to be running inside a container [2021-10-14T08:40:28.103Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/10 -v /w/workspace/device-modbus-go/10:/w/workspace/device-modbus-go/10:rw,z -v /w/workspace/device-modbus-go/10@tmp:/w/workspace/device-modbus-go/10@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-arm64 cat [2021-10-14T08:40:29.637Z] $ docker top 1e04afe7057a224b58b05ac2940e3839bc2ce1086770ae102f29b89ae7beaade -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-14T08:40:30.609Z] + make test [2021-10-14T08:40:30.609Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-10-14T08:40:31.603Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-10-14T08:41:28.313Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-10-14T08:41:28.595Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.052s coverage: 46.6% of statements [2021-10-14T08:41:28.874Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-14T08:42:01.362Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-14T08:42:01.362Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-14T08:42:01.362Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-14T08:42:01.395Z] $ docker stop --time=1 1e04afe7057a224b58b05ac2940e3839bc2ce1086770ae102f29b89ae7beaade [2021-10-14T08:42:03.299Z] $ docker rm -f 1e04afe7057a224b58b05ac2940e3839bc2ce1086770ae102f29b89ae7beaade [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T08:42:04.198Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-14T08:42:04.229Z] Warning: overwriting stash ‘coverage-report’ [2021-10-14T08:42:04.935Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-14T08:42:05.491Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-14T08:42:05.859Z] + ls -al . [2021-10-14T08:42:05.859Z] total 156 [2021-10-14T08:42:05.859Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 14 08:42 . [2021-10-14T08:42:05.859Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 08:38 .. [2021-10-14T08:42:05.859Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 14 08:38 .dockerignore [2021-10-14T08:42:05.859Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 08:38 .git [2021-10-14T08:42:05.859Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 08:38 .github [2021-10-14T08:42:05.859Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 14 08:38 .gitignore [2021-10-14T08:42:05.859Z] -rw-rw-r-- 1 jenkins jenkins 7707 Oct 14 08:38 Attribution.txt [2021-10-14T08:42:05.859Z] -rw-rw-r-- 1 jenkins jenkins 6038 Oct 14 08:38 CHANGELOG.md [2021-10-14T08:42:05.859Z] -rw-rw-r-- 1 jenkins jenkins 1523 Oct 14 08:38 Dockerfile [2021-10-14T08:42:05.859Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 08:38 GOVERNANCE.md [2021-10-14T08:42:05.859Z] -rw-rw-r-- 1 jenkins jenkins 679 Oct 14 08:38 Jenkinsfile [2021-10-14T08:42:05.859Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 14 08:38 LICENSE [2021-10-14T08:42:05.859Z] -rw-rw-r-- 1 jenkins jenkins 1009 Oct 14 08:38 Makefile [2021-10-14T08:42:05.859Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 14 08:38 OWNERS.md [2021-10-14T08:42:05.859Z] -rw-rw-r-- 1 jenkins jenkins 2891 Oct 14 08:38 README.md [2021-10-14T08:42:05.859Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 14 08:33 VERSION [2021-10-14T08:42:05.859Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 08:38 bin [2021-10-14T08:42:05.859Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 08:38 cmd [2021-10-14T08:42:05.859Z] -rw-r--r-- 1 jenkins jenkins 23727 Oct 14 08:41 coverage.out [2021-10-14T08:42:05.859Z] -rw-rw-r-- 1 jenkins jenkins 414 Oct 14 08:38 go.mod [2021-10-14T08:42:05.859Z] -rw-rw-r-- 1 jenkins jenkins 21529 Oct 14 08:38 go.sum [2021-10-14T08:42:05.859Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 08:38 internal [2021-10-14T08:42:05.859Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 08:38 simulator [2021-10-14T08:42:05.859Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 08:38 snap [2021-10-14T08:42:05.859Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 14 08:38 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:42:06.230Z] + 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=2914c8785d6fb43e30410761fbe9b43bb07dce53 --label arch=arm64 --label version=2.0.1-dev.7 . [2021-10-14T08:42:06.510Z] Sending build context to Docker daemon 689.7kB [2021-10-14T08:42:06.791Z] Step 1/22 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T08:42:06.791Z] Step 2/22 : FROM ${BASE} AS builder [2021-10-14T08:42:06.791Z] ---> dbd3e457a246 [2021-10-14T08:42:06.791Z] Step 3/22 : ARG MAKE='make build' [2021-10-14T08:42:06.791Z] ---> Running in 4a0000e4a328 [2021-10-14T08:42:07.405Z] Removing intermediate container 4a0000e4a328 [2021-10-14T08:42:07.405Z] ---> 5cf1d2b0b0d6 [2021-10-14T08:42:07.405Z] Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T08:42:07.689Z] ---> Running in 39b1a302f05a [2021-10-14T08:42:10.393Z] Removing intermediate container 39b1a302f05a [2021-10-14T08:42:10.393Z] ---> 5b00f87e3f67 [2021-10-14T08:42:10.393Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T08:42:10.393Z] ---> Running in e1b017a6876b [2021-10-14T08:42:11.881Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T08:42:12.499Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T08:42:13.501Z] OK: 225 MiB in 60 packages [2021-10-14T08:42:14.964Z] Removing intermediate container e1b017a6876b [2021-10-14T08:42:14.964Z] ---> 6ec7df513774 [2021-10-14T08:42:14.964Z] Step 6/22 : WORKDIR /device-modbus-go [2021-10-14T08:42:14.964Z] ---> Running in d42332dd1d35 [2021-10-14T08:42:15.572Z] Removing intermediate container d42332dd1d35 [2021-10-14T08:42:15.572Z] ---> d03a1e9e32e9 [2021-10-14T08:42:15.572Z] Step 7/22 : COPY . . [2021-10-14T08:42:16.572Z] ---> 9b31b473c5b8 [2021-10-14T08:42:16.572Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T08:42:16.852Z] ---> Running in f07d3d9c6cdf [2021-10-14T08:42:19.513Z] Removing intermediate container f07d3d9c6cdf [2021-10-14T08:42:19.513Z] ---> faabc38290ba [2021-10-14T08:42:19.513Z] Step 9/22 : RUN ${MAKE} [2021-10-14T08:42:19.513Z] ---> Running in e1794139f5b5 [2021-10-14T08:42:20.506Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.0.1-dev.7" -o cmd/device-modbus ./cmd [2021-10-14T08:42:59.658Z] Removing intermediate container e1794139f5b5 [2021-10-14T08:42:59.658Z] ---> 65565e0b8899 [2021-10-14T08:42:59.658Z] Step 10/22 : FROM alpine:3.14 [2021-10-14T08:43:00.263Z] 3.14: Pulling from library/alpine [2021-10-14T08:43:00.539Z] 552d1f2373af: Already exists [2021-10-14T08:43:00.819Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-14T08:43:01.101Z] Status: Downloaded newer image for alpine:3.14 [2021-10-14T08:43:01.101Z] ---> bb3de5531c18 [2021-10-14T08:43:01.101Z] Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2021-10-14T08:43:01.101Z] ---> Running in 6645e464c8dd [2021-10-14T08:43:01.726Z] Removing intermediate container 6645e464c8dd [2021-10-14T08:43:01.726Z] ---> 82c2a109cb0e [2021-10-14T08:43:01.726Z] Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T08:43:01.726Z] ---> Running in 74b44bf4e54a [2021-10-14T08:43:04.397Z] Removing intermediate container 74b44bf4e54a [2021-10-14T08:43:04.397Z] ---> cc78daa46ee1 [2021-10-14T08:43:04.397Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2021-10-14T08:43:04.397Z] ---> Running in c824d2048c01 [2021-10-14T08:43:05.398Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T08:43:06.388Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T08:43:07.377Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-10-14T08:43:07.377Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-10-14T08:43:07.377Z] (3/6) Installing libsodium (1.0.18-r0) [2021-10-14T08:43:07.377Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-14T08:43:07.653Z] (5/6) Installing libzmq (4.3.4-r0) [2021-10-14T08:43:07.653Z] (6/6) Installing zeromq (4.3.4-r0) [2021-10-14T08:43:07.930Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T08:43:07.930Z] OK: 8 MiB in 20 packages [2021-10-14T08:43:09.393Z] Removing intermediate container c824d2048c01 [2021-10-14T08:43:09.393Z] ---> 0ebf7780477b [2021-10-14T08:43:09.393Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2021-10-14T08:43:10.858Z] ---> d2e5cec6b0d2 [2021-10-14T08:43:10.858Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2021-10-14T08:43:11.472Z] ---> 2b8edda9e664 [2021-10-14T08:43:11.472Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2021-10-14T08:43:12.471Z] ---> 04b977edd8c8 [2021-10-14T08:43:12.471Z] Step 17/22 : EXPOSE 59901 [2021-10-14T08:43:12.471Z] ---> Running in e3d041a12a46 [2021-10-14T08:43:13.075Z] Removing intermediate container e3d041a12a46 [2021-10-14T08:43:13.075Z] ---> 4d43e14caa74 [2021-10-14T08:43:13.075Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2021-10-14T08:43:13.075Z] ---> Running in cf6a73a19224 [2021-10-14T08:43:13.680Z] Removing intermediate container cf6a73a19224 [2021-10-14T08:43:13.680Z] ---> def8515f8721 [2021-10-14T08:43:13.680Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-14T08:43:13.680Z] ---> Running in 585b5c86c428 [2021-10-14T08:43:14.285Z] Removing intermediate container 585b5c86c428 [2021-10-14T08:43:14.285Z] ---> c5d7ca5e04b3 [2021-10-14T08:43:14.285Z] Step 20/22 : LABEL arch=arm64 [2021-10-14T08:43:14.285Z] ---> Running in 6137a1ae8246 [2021-10-14T08:43:14.891Z] Removing intermediate container 6137a1ae8246 [2021-10-14T08:43:14.891Z] ---> 4ef09f04f4d8 [2021-10-14T08:43:14.891Z] Step 21/22 : LABEL git_sha=2914c8785d6fb43e30410761fbe9b43bb07dce53 [2021-10-14T08:43:14.891Z] ---> Running in 664707eb5668 [2021-10-14T08:43:15.496Z] Removing intermediate container 664707eb5668 [2021-10-14T08:43:15.496Z] ---> 40d6209d182f [2021-10-14T08:43:15.496Z] Step 22/22 : LABEL version=2.0.1-dev.7 [2021-10-14T08:43:15.779Z] ---> Running in ae21ea7e6092 [2021-10-14T08:43:16.059Z] Removing intermediate container ae21ea7e6092 [2021-10-14T08:43:16.059Z] ---> b8d5a19d6b97 [2021-10-14T08:43:16.059Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-14T08:43:16.059Z] Successfully built b8d5a19d6b97 [2021-10-14T08:43:16.059Z] 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-10-14T08:43:16.247Z] provisioning config files... [2021-10-14T08:43:16.274Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/10@tmp/config5830640785207539616tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:43:16.655Z] ---> docker-login.sh [2021-10-14T08:43:16.655Z] nexus3.edgexfoundry.org:10001 [2021-10-14T08:43:16.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:43:16.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:43:16.933Z] Configure a credential helper to remove this warning. See [2021-10-14T08:43:16.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:43:16.933Z] [2021-10-14T08:43:16.933Z] Login Succeeded [2021-10-14T08:43:16.933Z] nexus3.edgexfoundry.org:10002 [2021-10-14T08:43:17.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:43:17.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:43:17.537Z] Configure a credential helper to remove this warning. See [2021-10-14T08:43:17.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:43:17.537Z] [2021-10-14T08:43:17.537Z] Login Succeeded [2021-10-14T08:43:17.537Z] nexus3.edgexfoundry.org:10003 [2021-10-14T08:43:18.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:43:18.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:43:18.154Z] Configure a credential helper to remove this warning. See [2021-10-14T08:43:18.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:43:18.154Z] [2021-10-14T08:43:18.154Z] Login Succeeded [2021-10-14T08:43:18.154Z] nexus3.edgexfoundry.org:10004 [2021-10-14T08:43:18.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:43:18.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:43:18.764Z] Configure a credential helper to remove this warning. See [2021-10-14T08:43:18.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:43:18.764Z] [2021-10-14T08:43:18.764Z] Login Succeeded [2021-10-14T08:43:18.764Z] docker.io [2021-10-14T08:43:19.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:43:19.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:43:19.642Z] Configure a credential helper to remove this warning. See [2021-10-14T08:43:19.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:43:19.642Z] [2021-10-14T08:43:19.642Z] Login Succeeded [2021-10-14T08:43:19.642Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T08:43:19.662Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-14T08:43:19.737Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2021-10-14T08:43:19.737Z] 2914c8785d6fb43e30410761fbe9b43bb07dce53 [2021-10-14T08:43:19.737Z] latest [2021-10-14T08:43:19.737Z] 2.0.1-dev.7 [2021-10-14T08:43:19.737Z] 2914c8785d6fb43e30410761fbe9b43bb07dce53-2.0.1-dev.7 [2021-10-14T08:43:19.737Z] main [2021-10-14T08:43:19.737Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:20.105Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2914c8785d6fb43e30410761fbe9b43bb07dce53 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:20.469Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2914c8785d6fb43e30410761fbe9b43bb07dce53 [2021-10-14T08:43:20.469Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-10-14T08:43:20.469Z] fe5a445f14fb: Preparing [2021-10-14T08:43:20.469Z] 8bee8d829649: Preparing [2021-10-14T08:43:20.469Z] f88e6d6f29a5: Preparing [2021-10-14T08:43:20.469Z] 916b00111da2: Preparing [2021-10-14T08:43:20.469Z] b7e8ce6e069e: Preparing [2021-10-14T08:43:20.469Z] ee420dfed78a: Preparing [2021-10-14T08:43:20.469Z] ee420dfed78a: Waiting [2021-10-14T08:43:20.751Z] fe5a445f14fb: Pushed [2021-10-14T08:43:20.751Z] 8bee8d829649: Pushed [2021-10-14T08:43:20.751Z] b7e8ce6e069e: Pushed [2021-10-14T08:43:20.751Z] ee420dfed78a: Layer already exists [2021-10-14T08:43:21.354Z] 916b00111da2: Pushed [2021-10-14T08:43:23.354Z] f88e6d6f29a5: Pushed [2021-10-14T08:43:23.635Z] 2914c8785d6fb43e30410761fbe9b43bb07dce53: digest: sha256:1398558ba6374fc7fd1340851f68ff80968afa147b8310547ee29d5919a74707 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:24.012Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:24.375Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-10-14T08:43:24.375Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-10-14T08:43:24.375Z] fe5a445f14fb: Preparing [2021-10-14T08:43:24.375Z] 8bee8d829649: Preparing [2021-10-14T08:43:24.375Z] f88e6d6f29a5: Preparing [2021-10-14T08:43:24.375Z] 916b00111da2: Preparing [2021-10-14T08:43:24.375Z] b7e8ce6e069e: Preparing [2021-10-14T08:43:24.375Z] ee420dfed78a: Preparing [2021-10-14T08:43:24.375Z] ee420dfed78a: Waiting [2021-10-14T08:43:24.654Z] fe5a445f14fb: Layer already exists [2021-10-14T08:43:24.654Z] 916b00111da2: Layer already exists [2021-10-14T08:43:24.654Z] 8bee8d829649: Layer already exists [2021-10-14T08:43:24.654Z] f88e6d6f29a5: Layer already exists [2021-10-14T08:43:24.654Z] b7e8ce6e069e: Layer already exists [2021-10-14T08:43:24.654Z] ee420dfed78a: Layer already exists [2021-10-14T08:43:24.654Z] latest: digest: sha256:1398558ba6374fc7fd1340851f68ff80968afa147b8310547ee29d5919a74707 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:25.018Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.7 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:25.372Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.7 [2021-10-14T08:43:25.372Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-10-14T08:43:25.372Z] fe5a445f14fb: Preparing [2021-10-14T08:43:25.372Z] 8bee8d829649: Preparing [2021-10-14T08:43:25.372Z] f88e6d6f29a5: Preparing [2021-10-14T08:43:25.372Z] 916b00111da2: Preparing [2021-10-14T08:43:25.372Z] b7e8ce6e069e: Preparing [2021-10-14T08:43:25.372Z] ee420dfed78a: Preparing [2021-10-14T08:43:25.372Z] ee420dfed78a: Waiting [2021-10-14T08:43:25.651Z] b7e8ce6e069e: Layer already exists [2021-10-14T08:43:25.651Z] f88e6d6f29a5: Layer already exists [2021-10-14T08:43:25.651Z] 916b00111da2: Layer already exists [2021-10-14T08:43:25.651Z] fe5a445f14fb: Layer already exists [2021-10-14T08:43:25.651Z] 8bee8d829649: Layer already exists [2021-10-14T08:43:25.651Z] ee420dfed78a: Layer already exists [2021-10-14T08:43:25.651Z] 2.0.1-dev.7: digest: sha256:1398558ba6374fc7fd1340851f68ff80968afa147b8310547ee29d5919a74707 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:26.015Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2914c8785d6fb43e30410761fbe9b43bb07dce53-2.0.1-dev.7 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:26.373Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2914c8785d6fb43e30410761fbe9b43bb07dce53-2.0.1-dev.7 [2021-10-14T08:43:26.373Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-10-14T08:43:26.373Z] fe5a445f14fb: Preparing [2021-10-14T08:43:26.373Z] 8bee8d829649: Preparing [2021-10-14T08:43:26.373Z] f88e6d6f29a5: Preparing [2021-10-14T08:43:26.373Z] 916b00111da2: Preparing [2021-10-14T08:43:26.373Z] b7e8ce6e069e: Preparing [2021-10-14T08:43:26.373Z] ee420dfed78a: Preparing [2021-10-14T08:43:26.373Z] ee420dfed78a: Waiting [2021-10-14T08:43:26.651Z] 8bee8d829649: Layer already exists [2021-10-14T08:43:26.651Z] 916b00111da2: Layer already exists [2021-10-14T08:43:26.651Z] b7e8ce6e069e: Layer already exists [2021-10-14T08:43:26.651Z] f88e6d6f29a5: Layer already exists [2021-10-14T08:43:26.651Z] fe5a445f14fb: Layer already exists [2021-10-14T08:43:26.651Z] ee420dfed78a: Layer already exists [2021-10-14T08:43:26.651Z] 2914c8785d6fb43e30410761fbe9b43bb07dce53-2.0.1-dev.7: digest: sha256:1398558ba6374fc7fd1340851f68ff80968afa147b8310547ee29d5919a74707 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:27.015Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:27.375Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2021-10-14T08:43:27.375Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2021-10-14T08:43:27.375Z] fe5a445f14fb: Preparing [2021-10-14T08:43:27.375Z] 8bee8d829649: Preparing [2021-10-14T08:43:27.375Z] f88e6d6f29a5: Preparing [2021-10-14T08:43:27.375Z] 916b00111da2: Preparing [2021-10-14T08:43:27.375Z] b7e8ce6e069e: Preparing [2021-10-14T08:43:27.375Z] ee420dfed78a: Preparing [2021-10-14T08:43:27.375Z] ee420dfed78a: Waiting [2021-10-14T08:43:27.654Z] 8bee8d829649: Layer already exists [2021-10-14T08:43:27.654Z] 916b00111da2: Layer already exists [2021-10-14T08:43:27.654Z] fe5a445f14fb: Layer already exists [2021-10-14T08:43:27.654Z] b7e8ce6e069e: Layer already exists [2021-10-14T08:43:27.654Z] f88e6d6f29a5: Layer already exists [2021-10-14T08:43:27.654Z] ee420dfed78a: Layer already exists [2021-10-14T08:43:27.654Z] main: digest: sha256:1398558ba6374fc7fd1340851f68ff80968afa147b8310547ee29d5919a74707 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-14T08:43:27.697Z] ===================================================== [Pipeline] echo [2021-10-14T08:43:27.704Z] taggedImages: [2021-10-14T08:43:27.704Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2914c8785d6fb43e30410761fbe9b43bb07dce53 [2021-10-14T08:43:27.704Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2021-10-14T08:43:27.704Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.7 [2021-10-14T08:43:27.704Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2914c8785d6fb43e30410761fbe9b43bb07dce53-2.0.1-dev.7 [2021-10-14T08:43:27.704Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:28.134Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T08:43:28.417Z] [2021-10-14T08:43:28.417Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:28.777Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T08:43:29.059Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-14T08:43:29.059Z] 448f6bf000e3: Pulling fs layer [2021-10-14T08:43:29.059Z] f757da607395: Pulling fs layer [2021-10-14T08:43:29.059Z] 05883995daec: Pulling fs layer [2021-10-14T08:43:29.059Z] 8603b9c90790: Pulling fs layer [2021-10-14T08:43:29.059Z] 1560dd03e051: Pulling fs layer [2021-10-14T08:43:29.059Z] 27f5ce0e4adf: Pulling fs layer [2021-10-14T08:43:29.059Z] c2d8d7efcc4b: Pulling fs layer [2021-10-14T08:43:29.059Z] 1560dd03e051: Waiting [2021-10-14T08:43:29.059Z] 27f5ce0e4adf: Waiting [2021-10-14T08:43:29.059Z] c2d8d7efcc4b: Waiting [2021-10-14T08:43:29.059Z] 8603b9c90790: Waiting [2021-10-14T08:43:29.059Z] f757da607395: Verifying Checksum [2021-10-14T08:43:29.059Z] f757da607395: Download complete [2021-10-14T08:43:29.340Z] 8603b9c90790: Verifying Checksum [2021-10-14T08:43:29.340Z] 8603b9c90790: Download complete [2021-10-14T08:43:29.340Z] 1560dd03e051: Verifying Checksum [2021-10-14T08:43:29.340Z] 1560dd03e051: Download complete [2021-10-14T08:43:29.340Z] 27f5ce0e4adf: Verifying Checksum [2021-10-14T08:43:29.340Z] 27f5ce0e4adf: Download complete [2021-10-14T08:43:29.340Z] 05883995daec: Verifying Checksum [2021-10-14T08:43:29.340Z] 05883995daec: Download complete [2021-10-14T08:43:29.621Z] 448f6bf000e3: Verifying Checksum [2021-10-14T08:43:29.621Z] 448f6bf000e3: Download complete [2021-10-14T08:43:33.067Z] c2d8d7efcc4b: Verifying Checksum [2021-10-14T08:43:33.067Z] c2d8d7efcc4b: Download complete [2021-10-14T08:43:33.669Z] 448f6bf000e3: Pull complete [2021-10-14T08:43:34.274Z] f757da607395: Pull complete [2021-10-14T08:43:35.729Z] 05883995daec: Pull complete [2021-10-14T08:43:36.010Z] 8603b9c90790: Pull complete [2021-10-14T08:43:37.009Z] 1560dd03e051: Pull complete [2021-10-14T08:43:37.290Z] 27f5ce0e4adf: Pull complete [2021-10-14T08:43:52.459Z] c2d8d7efcc4b: Pull complete [2021-10-14T08:43:52.459Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-14T08:43:52.459Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T08:43:52.459Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-14T08:43:52.710Z] prd-ubuntu18.04-docker-arm64-4c-16g-1387 does not seem to be running inside a container [2021-10-14T08:43:52.812Z] $ 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/10 -v /w/workspace/device-modbus-go/10:/w/workspace/device-modbus-go/10:rw,z -v /w/workspace/device-modbus-go/10@tmp:/w/workspace/device-modbus-go/10@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:arm64 cat [2021-10-14T08:43:57.040Z] $ docker top 7c52da5fafbe25022cfa92a1d3aab7bf83f2bfabe5e40363a0bbb9d76e8d33d2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:43:58.006Z] ---> job-cost.sh [2021-10-14T08:43:58.006Z] lf-activate-venv: SKIPPING [2021-10-14T08:43:58.006Z] INFO: No Stack... [2021-10-14T08:43:58.285Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-14T08:43:58.889Z] INFO: Archiving Costs [Pipeline] sh [2021-10-14T08:43:59.583Z] + cat /w/workspace/device-modbus-go/10/archives/cost.csv [2021-10-14T08:43:59.584Z] + cut -d, -f6 [Pipeline] lock [2021-10-14T08:43:59.668Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-10-stack-cost] [2021-10-14T08:43:59.673Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-10-stack-cost] did not exist. Created. [2021-10-14T08:43:59.674Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-14T08:44:00.378Z] /w/workspace/device-modbus-go/10@tmp/durable-c4aa9038/script.sh: 1: /w/workspace/device-modbus-go/10@tmp/durable-c4aa9038/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-14T08:44:01.070Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-14T08:44:01.102Z] Warning: overwriting stash ‘stack-cost’ [2021-10-14T08:44:01.161Z] Stashed 1 file(s) [Pipeline] } [2021-10-14T08:44:01.167Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-10-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-14T08:44:01.192Z] $ docker stop --time=1 7c52da5fafbe25022cfa92a1d3aab7bf83f2bfabe5e40363a0bbb9d76e8d33d2 [2021-10-14T08:44:02.905Z] $ docker rm -f 7c52da5fafbe25022cfa92a1d3aab7bf83f2bfabe5e40363a0bbb9d76e8d33d2 [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-10-14T08:44:03.619Z] provisioning config files... [2021-10-14T08:44:03.628Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config182724608105022438tmp [Pipeline] { [Pipeline] sh [2021-10-14T08:44:03.922Z] + set +x [2021-10-14T08:44:03.922Z] + curl -s https://codecov.io/bash [2021-10-14T08:44:03.922Z] + bash -s -- [2021-10-14T08:44:03.922Z] [2021-10-14T08:44:03.922Z] _____ _ [2021-10-14T08:44:03.922Z] / ____| | | [2021-10-14T08:44:03.922Z] | | ___ __| | ___ ___ _____ __ [2021-10-14T08:44:03.922Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-14T08:44:03.922Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-14T08:44:03.922Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-14T08:44:03.922Z] Bash-1.0.6 [2021-10-14T08:44:03.922Z] [2021-10-14T08:44:03.922Z] [2021-10-14T08:44:03.922Z] ==> git version 2.24.4 found [2021-10-14T08:44:03.922Z] ==> 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-10-14T08:44:03.922Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-14T08:44:03.922Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-14T08:44:03.922Z] ==> Jenkins CI detected. [2021-10-14T08:44:04.186Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2021-10-14T08:44:04.186Z] project root: . [2021-10-14T08:44:04.186Z] --> token set from env [2021-10-14T08:44:04.186Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-14T08:44:04.186Z] ==> Running gcov in . (disable via -X gcov) [2021-10-14T08:44:04.186Z] ==> Python coveragepy not found [2021-10-14T08:44:04.186Z] ==> Searching for coverage reports in: [2021-10-14T08:44:04.186Z] + . [2021-10-14T08:44:04.186Z] -> Found 1 reports [2021-10-14T08:44:04.186Z] ==> Detecting git/mercurial file structure [2021-10-14T08:44:04.186Z] ==> Reading reports [2021-10-14T08:44:04.186Z] + ./coverage.out bytes=23727 [2021-10-14T08:44:04.186Z] ==> Appending adjustments [2021-10-14T08:44:04.186Z] https://docs.codecov.io/docs/fixing-reports [2021-10-14T08:44:04.186Z] + Found adjustments [2021-10-14T08:44:04.186Z] ==> Gzipping contents [2021-10-14T08:44:04.186Z] 4.0K /tmp/codecov.vOsRHC.gz [2021-10-14T08:44:04.186Z] ==> Uploading reports [2021-10-14T08:44:04.186Z] url: https://codecov.io [2021-10-14T08:44:04.186Z] query: branch=main&commit=2914c8785d6fb43e30410761fbe9b43bb07dce53&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-14T08:44:04.186Z] -> Pinging Codecov [2021-10-14T08:44:04.186Z] 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=2914c8785d6fb43e30410761fbe9b43bb07dce53&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-14T08:44:04.766Z] -> Uploading to [2021-10-14T08:44:04.766Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-14/55DBCA73C666E3227836607328DD7E49/2914c8785d6fb43e30410761fbe9b43bb07dce53/a2b95d79-4a3b-478a-aaaf-3bd800eb59f0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211014%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211014T084404Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8eadb045b3d0902c3ad33e270440fd0645075f6802deafa4ca44dbafe10eb2b8 [2021-10-14T08:44:04.766Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-14T08:44:04.766Z] Dload Upload Total Spent Left Speed [2021-10-14T08:44:05.026Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3981 0 0 100 3981 0 12940 --:--:-- --:--:-- --:--:-- 12967 [2021-10-14T08:44:05.026Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/2914c8785d6fb43e30410761fbe9b43bb07dce53 [Pipeline] } [2021-10-14T08:44:05.035Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-10-14T08:44:05.422Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-10-14T08:44:05.434Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:44:05.733Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-14T08:44:05.733Z] [2021-10-14T08:44:05.733Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:44:06.046Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-14T08:44:06.046Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-10-14T08:44:06.046Z] 188c0c94c7c5: Pulling fs layer [2021-10-14T08:44:06.046Z] 0ef7d3d256c8: Pulling fs layer [2021-10-14T08:44:06.046Z] de9db76c5a1d: Pulling fs layer [2021-10-14T08:44:06.046Z] 0eba1c9be4d2: Pulling fs layer [2021-10-14T08:44:06.046Z] 0d57e429df01: Pulling fs layer [2021-10-14T08:44:06.046Z] 4e4be7b47b0d: Pulling fs layer [2021-10-14T08:44:06.046Z] e1f770b5df2f: Pulling fs layer [2021-10-14T08:44:06.046Z] 85a0685a4137: Pulling fs layer [2021-10-14T08:44:06.046Z] 0eba1c9be4d2: Waiting [2021-10-14T08:44:06.046Z] 0d57e429df01: Waiting [2021-10-14T08:44:06.046Z] 4e4be7b47b0d: Waiting [2021-10-14T08:44:06.046Z] e1f770b5df2f: Waiting [2021-10-14T08:44:06.046Z] 85a0685a4137: Waiting [2021-10-14T08:44:06.046Z] de9db76c5a1d: Verifying Checksum [2021-10-14T08:44:06.046Z] de9db76c5a1d: Download complete [2021-10-14T08:44:06.046Z] 0ef7d3d256c8: Verifying Checksum [2021-10-14T08:44:06.046Z] 0ef7d3d256c8: Download complete [2021-10-14T08:44:06.046Z] 0d57e429df01: Verifying Checksum [2021-10-14T08:44:06.046Z] 0d57e429df01: Download complete [2021-10-14T08:44:06.046Z] 4e4be7b47b0d: Verifying Checksum [2021-10-14T08:44:06.046Z] 4e4be7b47b0d: Download complete [2021-10-14T08:44:06.046Z] 188c0c94c7c5: Verifying Checksum [2021-10-14T08:44:06.046Z] 188c0c94c7c5: Download complete [2021-10-14T08:44:06.320Z] e1f770b5df2f: Verifying Checksum [2021-10-14T08:44:06.320Z] e1f770b5df2f: Download complete [2021-10-14T08:44:06.320Z] 188c0c94c7c5: Pull complete [2021-10-14T08:44:06.604Z] 0ef7d3d256c8: Pull complete [2021-10-14T08:44:06.875Z] 0eba1c9be4d2: Verifying Checksum [2021-10-14T08:44:06.875Z] 0eba1c9be4d2: Download complete [2021-10-14T08:44:06.875Z] de9db76c5a1d: Pull complete [2021-10-14T08:44:07.138Z] 85a0685a4137: Verifying Checksum [2021-10-14T08:44:07.138Z] 85a0685a4137: Download complete [2021-10-14T08:44:11.414Z] 0eba1c9be4d2: Pull complete [2021-10-14T08:44:11.414Z] 0d57e429df01: Pull complete [2021-10-14T08:44:11.414Z] 4e4be7b47b0d: Pull complete [2021-10-14T08:44:11.695Z] e1f770b5df2f: Pull complete [2021-10-14T08:44:15.930Z] 85a0685a4137: Pull complete [2021-10-14T08:44:15.930Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-10-14T08:44:15.930Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-14T08:44:15.930Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-10-14T08:44:15.991Z] prd-centos7-docker-4c-2g-1373 does not seem to be running inside a container [2021-10-14T08:44:16.025Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-10-14T08:44:18.165Z] $ docker top b87865305811d4162b14376e04eca1575d49ecef33d0fabcfbd7b5fa7eff4e70 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-10-14T08:44:18.237Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-10-14T08:44:18.523Z] + set -o pipefail [2021-10-14T08:44:18.524Z] + snyk monitor '--org=edgex-jenkins' [2021-10-14T08:44:22.736Z] [2021-10-14T08:44:22.736Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2021-10-14T08:44:22.736Z] [2021-10-14T08:44:22.736Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/f5b4b3bd-3c72-40a3-9dfd-d555e6d7753a [2021-10-14T08:44:22.736Z] [2021-10-14T08:44:22.736Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2021-10-14T08:44:22.736Z] [2021-10-14T08:44:22.736Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-10-14T08:44:22.736Z] [2021-10-14T08:44:22.736Z] [2021-10-14T08:44:22.736Z] You have reached your monthly limit of 200 private tests for your edgex-jenkins org. [2021-10-14T08:44:22.736Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-10-14T08:44:22.747Z] $ docker stop --time=1 b87865305811d4162b14376e04eca1575d49ecef33d0fabcfbd7b5fa7eff4e70 [2021-10-14T08:44:25.082Z] $ docker rm -f b87865305811d4162b14376e04eca1575d49ecef33d0fabcfbd7b5fa7eff4e70 [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-10-14T08:44:25.901Z] + git log --format=format:%s -1 2914c8785d6fb43e30410761fbe9b43bb07dce53 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:44:26.193Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T08:44:26.193Z] . [Pipeline] withDockerContainer [2021-10-14T08:44:26.266Z] prd-centos7-docker-4c-2g-1373 does not seem to be running inside a container [2021-10-14T08:44:26.302Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-14T08:44:26.678Z] $ docker top 745001ff58100a32f2b47fe9b40ae60cf191ede329841181bd387a5ed27f74a6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-14T08:44:26.774Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T08:44:26.774Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T08:44:26.875Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T08:44:26.876Z] $ docker exec 745001ff58100a32f2b47fe9b40ae60cf191ede329841181bd387a5ed27f74a6 ssh-agent [2021-10-14T08:44:26.979Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDmNNab/agent.13 [2021-10-14T08:44:26.979Z] SSH_AGENT_PID=20 [2021-10-14T08:44:26.984Z] Running ssh-add (command line suppressed) [2021-10-14T08:44:27.074Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4150087228747457303.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4150087228747457303.key) [2021-10-14T08:44:27.088Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T08:44:27.381Z] + git semver tag [2021-10-14T08:44:27.381Z] # -> Open(): unable to determine branch for HEAD [2021-10-14T08:44:27.381Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-10-14T08:44:27.381Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-10-14T08:44:27.381Z] # $SEMVER_REMOTE_NAME = origin [2021-10-14T08:44:27.381Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-14T08:44:27.381Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-14T08:44:27.381Z] # $SEMVER_BRANCH = main [2021-10-14T08:44:27.381Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2021-10-14T08:44:27.381Z] # 2914c8785d6fb43e30410761fbe9b43bb07dce53 HEAD [2021-10-14T08:44:27.381Z] # -> Force: false [2021-10-14T08:44:27.381Z] # fd74a7cd7e6b3529d4b41f1f51b1b56d2e322fc1 refs/tags/v2.0.1-dev.7 [Pipeline] } [2021-10-14T08:44:27.389Z] $ docker exec --env ******** --env ******** 745001ff58100a32f2b47fe9b40ae60cf191ede329841181bd387a5ed27f74a6 ssh-agent -k [2021-10-14T08:44:27.485Z] unset SSH_AUTH_SOCK; [2021-10-14T08:44:27.485Z] unset SSH_AGENT_PID; [2021-10-14T08:44:27.485Z] echo Agent pid 20 killed; [2021-10-14T08:44:27.494Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-14T08:44:27.799Z] + git semver [Pipeline] } [2021-10-14T08:44:27.811Z] $ docker stop --time=1 745001ff58100a32f2b47fe9b40ae60cf191ede329841181bd387a5ed27f74a6 [2021-10-14T08:44:29.011Z] $ docker rm -f 745001ff58100a32f2b47fe9b40ae60cf191ede329841181bd387a5ed27f74a6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:44:29.404Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-14T08:44:29.404Z] [2021-10-14T08:44:29.404Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:44:29.708Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-14T08:44:29.708Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-10-14T08:44:29.708Z] ab5ef0e58194: Pulling fs layer [2021-10-14T08:44:29.708Z] 9712f1f96733: Pulling fs layer [2021-10-14T08:44:29.708Z] 63f879dbbcfc: Pulling fs layer [2021-10-14T08:44:29.708Z] 0d9ebad4ef96: Pulling fs layer [2021-10-14T08:44:29.708Z] e9a5061849ea: Pulling fs layer [2021-10-14T08:44:29.708Z] d747dcd14b5f: Pulling fs layer [2021-10-14T08:44:29.708Z] 2de7ff778b66: Pulling fs layer [2021-10-14T08:44:29.708Z] 0d9ebad4ef96: Waiting [2021-10-14T08:44:29.708Z] e9a5061849ea: Waiting [2021-10-14T08:44:29.708Z] d747dcd14b5f: Waiting [2021-10-14T08:44:29.708Z] 2de7ff778b66: Waiting [2021-10-14T08:44:29.708Z] 9712f1f96733: Verifying Checksum [2021-10-14T08:44:29.708Z] 9712f1f96733: Download complete [2021-10-14T08:44:29.968Z] 63f879dbbcfc: Verifying Checksum [2021-10-14T08:44:29.968Z] 63f879dbbcfc: Download complete [2021-10-14T08:44:30.231Z] e9a5061849ea: Verifying Checksum [2021-10-14T08:44:30.231Z] e9a5061849ea: Download complete [2021-10-14T08:44:30.231Z] d747dcd14b5f: Verifying Checksum [2021-10-14T08:44:30.231Z] d747dcd14b5f: Download complete [2021-10-14T08:44:30.231Z] 0d9ebad4ef96: Verifying Checksum [2021-10-14T08:44:30.231Z] 0d9ebad4ef96: Download complete [2021-10-14T08:44:30.231Z] ab5ef0e58194: Download complete [2021-10-14T08:44:30.509Z] 2de7ff778b66: Verifying Checksum [2021-10-14T08:44:30.509Z] 2de7ff778b66: Download complete [2021-10-14T08:44:33.837Z] ab5ef0e58194: Pull complete [2021-10-14T08:44:33.837Z] 9712f1f96733: Pull complete [2021-10-14T08:44:34.125Z] 63f879dbbcfc: Pull complete [2021-10-14T08:44:38.393Z] 0d9ebad4ef96: Pull complete [2021-10-14T08:44:38.393Z] e9a5061849ea: Pull complete [2021-10-14T08:44:38.393Z] d747dcd14b5f: Pull complete [2021-10-14T08:44:39.787Z] 2de7ff778b66: Pull complete [2021-10-14T08:44:39.787Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-10-14T08:44:39.787Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-14T08:44:39.787Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-10-14T08:44:39.850Z] prd-centos7-docker-4c-2g-1373 does not seem to be running inside a container [2021-10-14T08:44:39.888Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-10-14T08:44:43.010Z] $ docker top 844b9a402449e6c9509ef644ebfef73cf82323b2756a94c93847ae032a495da5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-10-14T08:44:43.092Z] provisioning config files... [2021-10-14T08:44:43.102Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1271491419936484079tmp [2021-10-14T08:44:43.114Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7794814316608431626tmp [2021-10-14T08:44:43.123Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1383952444082412572tmp [Pipeline] { [Pipeline] echo [2021-10-14T08:44:43.137Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:44:43.419Z] ---> sigul-configuration.sh [2021-10-14T08:44:43.419Z] gpg: directory `/root/.gnupg' created [2021-10-14T08:44:43.419Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-10-14T08:44:43.419Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-10-14T08:44:43.419Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-10-14T08:44:43.419Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-10-14T08:44:43.419Z] gpg: CAST5 encrypted data [2021-10-14T08:44:43.419Z] gpg: encrypted with 1 passphrase [2021-10-14T08:44:43.419Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-10-14T08:44:43.740Z] + mkdir /home/jenkins [2021-10-14T08:44:43.740Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-10-14T08:44:44.035Z] + 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-10-14T08:44:44.045Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:44:44.333Z] ---> sigul-install.sh [2021-10-14T08:44:44.333Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-10-14T08:44:44.626Z] + git tag --list [2021-10-14T08:44:44.626Z] 0.7.1 [2021-10-14T08:44:44.626Z] v1.0.0 [2021-10-14T08:44:44.626Z] v1.1.0 [2021-10-14T08:44:44.626Z] v1.1.1 [2021-10-14T08:44:44.626Z] v1.2.2 [2021-10-14T08:44:44.626Z] v1.3.0 [2021-10-14T08:44:44.626Z] v1.3.1 [2021-10-14T08:44:44.626Z] v2.0.0 [2021-10-14T08:44:44.626Z] v2.0.1-dev.1 [2021-10-14T08:44:44.626Z] v2.0.1-dev.2 [2021-10-14T08:44:44.626Z] v2.0.1-dev.3 [2021-10-14T08:44:44.626Z] v2.0.1-dev.4 [2021-10-14T08:44:44.626Z] v2.0.1-dev.5 [2021-10-14T08:44:44.626Z] v2.0.1-dev.6 [2021-10-14T08:44:44.626Z] v2.0.1-dev.7 [Pipeline] sh [2021-10-14T08:44:44.921Z] + lftools sign git-tag v2.0.1-dev.7 [2021-10-14T08:44:45.492Z] Signing Git tag with Sigul... [2021-10-14T08:44:45.492Z] Signing v2.0.1-dev.7 [Pipeline] echo [2021-10-14T08:44:46.440Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:44:46.726Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-10-14T08:44:46.733Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-10-14T08:44:46.747Z] $ docker stop --time=1 844b9a402449e6c9509ef644ebfef73cf82323b2756a94c93847ae032a495da5 [2021-10-14T08:44:47.938Z] $ docker rm -f 844b9a402449e6c9509ef644ebfef73cf82323b2756a94c93847ae032a495da5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:44:48.456Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T08:44:48.456Z] . [Pipeline] withDockerContainer [2021-10-14T08:44:48.516Z] prd-centos7-docker-4c-2g-1373 does not seem to be running inside a container [2021-10-14T08:44:48.545Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-14T08:44:48.878Z] $ docker top 6e19c53b506cb7a2a8ff69521151836de4d904bccb6416479fbcb14334216e79 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-14T08:44:48.965Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T08:44:48.965Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T08:44:49.078Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T08:44:49.080Z] $ docker exec 6e19c53b506cb7a2a8ff69521151836de4d904bccb6416479fbcb14334216e79 ssh-agent [2021-10-14T08:44:49.189Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOMbLHh/agent.14 [2021-10-14T08:44:49.189Z] SSH_AGENT_PID=20 [2021-10-14T08:44:49.194Z] Running ssh-add (command line suppressed) [2021-10-14T08:44:49.287Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3662072294815761271.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3662072294815761271.key) [2021-10-14T08:44:49.299Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T08:44:49.587Z] + git semver bump pre [2021-10-14T08:44:49.587Z] # -> Open(): unable to determine branch for HEAD [2021-10-14T08:44:49.587Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-10-14T08:44:49.587Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-10-14T08:44:49.587Z] # $SEMVER_REMOTE_NAME = origin [2021-10-14T08:44:49.587Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-14T08:44:49.587Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-14T08:44:49.587Z] # $SEMVER_BRANCH = main [2021-10-14T08:44:49.587Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2021-10-14T08:44:49.587Z] 2.0.1-dev.8 [Pipeline] } [2021-10-14T08:44:49.595Z] $ docker exec --env ******** --env ******** 6e19c53b506cb7a2a8ff69521151836de4d904bccb6416479fbcb14334216e79 ssh-agent -k [2021-10-14T08:44:49.687Z] unset SSH_AUTH_SOCK; [2021-10-14T08:44:49.687Z] unset SSH_AGENT_PID; [2021-10-14T08:44:49.687Z] echo Agent pid 20 killed; [2021-10-14T08:44:49.698Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-14T08:44:50.004Z] + git semver [Pipeline] } [2021-10-14T08:44:50.015Z] $ docker stop --time=1 6e19c53b506cb7a2a8ff69521151836de4d904bccb6416479fbcb14334216e79 [2021-10-14T08:44:51.222Z] $ docker rm -f 6e19c53b506cb7a2a8ff69521151836de4d904bccb6416479fbcb14334216e79 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:44:51.580Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T08:44:51.580Z] . [Pipeline] withDockerContainer [2021-10-14T08:44:51.643Z] prd-centos7-docker-4c-2g-1373 does not seem to be running inside a container [2021-10-14T08:44:51.675Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-14T08:44:52.006Z] $ docker top 8138103cf900d4c6043e1707d4d1f71a8927b81861423f003506101d76c6c24b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-14T08:44:52.122Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T08:44:52.122Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T08:44:52.282Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T08:44:52.284Z] $ docker exec 8138103cf900d4c6043e1707d4d1f71a8927b81861423f003506101d76c6c24b ssh-agent [2021-10-14T08:44:52.426Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDgmnoB/agent.14 [2021-10-14T08:44:52.426Z] SSH_AGENT_PID=20 [2021-10-14T08:44:52.451Z] Running ssh-add (command line suppressed) [2021-10-14T08:44:52.581Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8215067468417330451.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8215067468417330451.key) [2021-10-14T08:44:52.607Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T08:44:52.892Z] + git semver push [2021-10-14T08:44:52.892Z] # -> Open(): unable to determine branch for HEAD [2021-10-14T08:44:52.892Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2021-10-14T08:44:52.892Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2021-10-14T08:44:52.892Z] # $SEMVER_REMOTE_NAME = origin [2021-10-14T08:44:52.892Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-14T08:44:52.892Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-14T08:44:52.892Z] # $SEMVER_BRANCH = main [2021-10-14T08:44:52.892Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2021-10-14T08:44:54.288Z] $ docker exec --env ******** --env ******** 8138103cf900d4c6043e1707d4d1f71a8927b81861423f003506101d76c6c24b ssh-agent -k [2021-10-14T08:44:54.383Z] unset SSH_AUTH_SOCK; [2021-10-14T08:44:54.383Z] unset SSH_AGENT_PID; [2021-10-14T08:44:54.383Z] echo Agent pid 20 killed; [2021-10-14T08:44:54.394Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-14T08:44:54.697Z] + git semver [Pipeline] } [2021-10-14T08:44:54.709Z] $ docker stop --time=1 8138103cf900d4c6043e1707d4d1f71a8927b81861423f003506101d76c6c24b [2021-10-14T08:44:55.888Z] $ docker rm -f 8138103cf900d4c6043e1707d4d1f71a8927b81861423f003506101d76c6c24b [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-10-14T08:44:56.854Z] + '[' -d /w/workspace/gexfoundry_device-modbus-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:44:57.163Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:44:57.717Z] ---> package-listing.sh [2021-10-14T08:44:57.717Z] ++ facter osfamily [2021-10-14T08:44:57.717Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-14T08:44:57.975Z] + OS_FAMILY=redhat [2021-10-14T08:44:57.976Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2021-10-14T08:44:57.976Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-14T08:44:57.976Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-14T08:44:57.976Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-14T08:44:57.976Z] + PACKAGES=/tmp/packages_start.txt [2021-10-14T08:44:57.976Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2021-10-14T08:44:57.976Z] + PACKAGES=/tmp/packages_end.txt [2021-10-14T08:44:57.976Z] + case "${OS_FAMILY}" in [2021-10-14T08:44:57.976Z] + rpm -qa [2021-10-14T08:44:57.976Z] + sort [2021-10-14T08:44:58.545Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-14T08:44:58.545Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-14T08:44:58.545Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-14T08:44:58.545Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2021-10-14T08:44:58.545Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2021-10-14T08:44:58.545Z] + 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-10-14T08:44:58.578Z] 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-10-14T08:44:58.855Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:44:59.404Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:44:59.404Z] [2021-10-14T08:44:59.404Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:44:59.717Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:44:59.717Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-14T08:44:59.717Z] b4d181a07f80: Pulling fs layer [2021-10-14T08:44:59.717Z] a1111a8f2ec3: Pulling fs layer [2021-10-14T08:44:59.717Z] ed53099fbce6: Pulling fs layer [2021-10-14T08:44:59.717Z] dc539afda2c1: Pulling fs layer [2021-10-14T08:44:59.717Z] 77bc0d833cb6: Pulling fs layer [2021-10-14T08:44:59.717Z] 9065ff56babe: Pulling fs layer [2021-10-14T08:44:59.717Z] d287ab97295c: Pulling fs layer [2021-10-14T08:44:59.717Z] dc539afda2c1: Waiting [2021-10-14T08:44:59.717Z] 77bc0d833cb6: Waiting [2021-10-14T08:44:59.717Z] 9065ff56babe: Waiting [2021-10-14T08:44:59.717Z] d287ab97295c: Waiting [2021-10-14T08:44:59.717Z] a1111a8f2ec3: Verifying Checksum [2021-10-14T08:44:59.717Z] a1111a8f2ec3: Download complete [2021-10-14T08:44:59.717Z] dc539afda2c1: Verifying Checksum [2021-10-14T08:44:59.717Z] dc539afda2c1: Download complete [2021-10-14T08:44:59.717Z] ed53099fbce6: Verifying Checksum [2021-10-14T08:44:59.717Z] ed53099fbce6: Download complete [2021-10-14T08:44:59.717Z] 77bc0d833cb6: Verifying Checksum [2021-10-14T08:44:59.717Z] 77bc0d833cb6: Download complete [2021-10-14T08:44:59.977Z] 9065ff56babe: Verifying Checksum [2021-10-14T08:44:59.977Z] 9065ff56babe: Download complete [2021-10-14T08:44:59.977Z] b4d181a07f80: Verifying Checksum [2021-10-14T08:44:59.977Z] b4d181a07f80: Download complete [2021-10-14T08:45:00.556Z] d287ab97295c: Verifying Checksum [2021-10-14T08:45:00.556Z] d287ab97295c: Download complete [2021-10-14T08:45:01.499Z] b4d181a07f80: Pull complete [2021-10-14T08:45:01.765Z] a1111a8f2ec3: Pull complete [2021-10-14T08:45:02.336Z] ed53099fbce6: Pull complete [2021-10-14T08:45:02.336Z] dc539afda2c1: Pull complete [2021-10-14T08:45:02.599Z] 77bc0d833cb6: Pull complete [2021-10-14T08:45:02.599Z] 9065ff56babe: Pull complete [2021-10-14T08:45:07.906Z] d287ab97295c: Pull complete [2021-10-14T08:45:07.906Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-14T08:45:07.906Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:45:07.906Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-14T08:45:07.969Z] prd-centos7-docker-4c-2g-1373 does not seem to be running inside a container [2021-10-14T08:45:08.002Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-14T08:45:10.353Z] $ docker top 88e13911af298b51b3fcd1e25413aa47f94386b92f79c5d20170348ba6331b1c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T08:45:10.713Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-14T08:45:11.000Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-14T08:45:11.303Z] + ls /var/log/sa-host [2021-10-14T08:45:11.303Z] + sadf -c /var/log/sa-host/sa14 [2021-10-14T08:45:11.303Z] file_magic: OK [2021-10-14T08:45:11.303Z] HZ: Using current value: 100 [2021-10-14T08:45:11.303Z] file_header: OK [2021-10-14T08:45:11.303Z] 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-10-14T08:45:11.303Z] Statistics: [2021-10-14T08:45:11.303Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-14T08:45:11.303Z] File successfully converted to sysstat format version 12.0.3 [2021-10-14T08:45:11.303Z] + sadf -c /var/log/sa-host/sa30 [2021-10-14T08:45:11.303Z] file_magic: OK [2021-10-14T08:45:11.303Z] HZ: Using current value: 100 [2021-10-14T08:45:11.303Z] file_header: OK [2021-10-14T08:45:11.303Z] 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-10-14T08:45:11.303Z] Statistics: [2021-10-14T08:45:11.303Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-14T08:45:11.303Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T08:45:11.596Z] provisioning config files... [2021-10-14T08:45:11.606Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3707841273928304611tmp [Pipeline] { [Pipeline] echo [2021-10-14T08:45:11.619Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:45:11.912Z] ---> create-netrc.sh [Pipeline] } [2021-10-14T08:45:11.921Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:45:12.260Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-14T08:45:12.269Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:45:12.560Z] ---> sudo-logs.sh [2021-10-14T08:45:12.560Z] Archiving 'sudo' log.. [2021-10-14T08:45:12.560Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1373.novalocal: Name or service not known [2021-10-14T08:45:12.560Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1373.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-14T08:45:12.586Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:45:12.872Z] ---> job-cost.sh [2021-10-14T08:45:12.872Z] lf-activate-venv: SKIPPING [2021-10-14T08:45:12.872Z] DEBUG: total: 0.10999999940395355 [2021-10-14T08:45:12.872Z] INFO: Retrieving Stack Cost... [2021-10-14T08:45:13.441Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-14T08:45:14.009Z] INFO: Archiving Costs [Pipeline] echo [2021-10-14T08:45:14.019Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:45:14.303Z] ---> logs-deploy.sh [2021-10-14T08:45:14.303Z] lf-activate-venv: SKIPPING [2021-10-14T08:45:14.303Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/10 [2021-10-14T08:45:14.303Z] INFO: archiving workspace using pattern(s): [2021-10-14T08:45:15.250Z] Archives upload complete. [2021-10-14T08:45:15.250Z] INFO: archiving logs to Nexus