Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9 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-ssh6239170856298925828.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh4657733517487997326.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh12514029895027439624.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > 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-ssh1053607112810393241.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-ssh7800859721629289922.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 USE_ALPINE: true 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-41 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-ssh4414274026273790396.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9 # timeout=10 Commit message: "Merge pull request #301 from lenny-intel/no-win-zmq" > git rev-list --no-walk b97db6a43ce22cea257d7dd09b26aa7518da64c2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:40:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:40:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:40:52 ========================================================= 05:40:52 EdgeX Global Pipelines Version Info 05:40:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:40:54 ------------------- 05:40:54 stable info: 05:40:54 ------------------- 05:40:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:40:54 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 05:40:54 Message: update stable to v1.0.217 05:40:54 ------------------- 05:40:54 experimental info: 05:40:54 ------------------- 05:40:54 Commited By: **** collab-it+edgex@linuxfoundation.org 05:40:54 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 05:40:54 Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:40:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:40:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:40:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:40:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:40:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:40:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 05:40:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:40:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:40:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:40:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:40:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:40:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:40:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:40:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:40:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:40:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:40:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:40:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:40:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:40:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 05:40:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:40:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:40:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:40:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:40:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:40:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:40:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:40:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:40:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:40:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9 [Pipeline] echo 05:40:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f7b9e67 [Pipeline] echo 05:40:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:40:55 provisioning config files... 05:40:55 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3452962754693607854tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:40:55 ---> docker-login.sh 05:40:55 nexus3.edgexfoundry.org:10001 05:40:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:40:55 Configure a credential helper to remove this warning. See 05:40:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:40:55 05:40:55 Login Succeeded 05:40:55 nexus3.edgexfoundry.org:10002 05:40:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:40:55 Configure a credential helper to remove this warning. See 05:40:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:40:55 05:40:55 Login Succeeded 05:40:55 nexus3.edgexfoundry.org:10003 05:40:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:40:56 Configure a credential helper to remove this warning. See 05:40:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:40:56 05:40:56 Login Succeeded 05:40:56 nexus3.edgexfoundry.org:10004 05:40:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:40:56 Configure a credential helper to remove this warning. See 05:40:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:40:56 05:40:56 Login Succeeded 05:40:56 docker.io 05:40:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:40:56 Configure a credential helper to remove this warning. See 05:40:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:40:56 05:40:56 Login Succeeded 05:40:56 ---> docker-login.sh ends [Pipeline] } 05:40:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:40:57 + git rev-list -1 --merges f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9~1..f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9 [Pipeline] echo 05:40:57 -----------> git rev-list -1 --merges f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9~1..f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9 f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9 05:40:57 f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9 [false] [Pipeline] sh 05:40:57 + git log --format=format:%s -1 f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9 [Pipeline] echo 05:40:57 ========================================================= 05:40:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:40:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:40:57 + git log --format=format:%s -1 f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9 [Pipeline] echo 05:40:57 [semverPrep] GIT_COMMIT: f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9, Commit Message: Merge pull request #301 from lenny-intel/no-win-zmq [Pipeline] echo 05:40:57 [semverPrep] This is not a build commit. [Pipeline] sh 05:40:58 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 05:40:58 + grep -v github /etc/ssh/ssh_known_hosts 05:40:58 + '[' -e /tmp/ssh_known_hosts ']' 05:40:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:40:58 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 05:40:58 + sudo tee -a /etc/ssh/ssh_known_hosts 05:40:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:40:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:40:58 05:40:58 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:40:58 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:40:58 latest: Pulling from edgex-devops/git-semver 05:40:58 a0d0a0d46f8b: Pulling fs layer 05:40:58 3e5f54012d9b: Pulling fs layer 05:40:58 4c7163046ea9: Pulling fs layer 05:40:58 0c2d73faf560: Pulling fs layer 05:40:58 0c2d73faf560: Waiting 05:40:58 3e5f54012d9b: Verifying Checksum 05:40:58 3e5f54012d9b: Download complete 05:40:58 a0d0a0d46f8b: Verifying Checksum 05:40:58 a0d0a0d46f8b: Download complete 05:40:58 4c7163046ea9: Verifying Checksum 05:40:58 4c7163046ea9: Download complete 05:40:58 0c2d73faf560: Verifying Checksum 05:40:58 0c2d73faf560: Download complete 05:40:59 a0d0a0d46f8b: Pull complete 05:40:59 3e5f54012d9b: Pull complete 05:40:59 4c7163046ea9: Pull complete 05:40:59 0c2d73faf560: Pull complete 05:40:59 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 05:40:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:40:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:40:59 prd-centos7-docker-4c-2g-41 does not seem to be running inside a container 05:40:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:41:00 $ docker top 37d4d8abd5428974292f2d33d81e648c6fe5e62752defeefd3f2be49d6a8b94c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:41:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:41:00 [ssh-agent] Looking for ssh-agent implementation... 05:41:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:41:00 $ docker exec 37d4d8abd5428974292f2d33d81e648c6fe5e62752defeefd3f2be49d6a8b94c ssh-agent 05:41:00 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbGkgmK/agent.13 05:41:00 SSH_AGENT_PID=20 05:41:00 Running ssh-add (command line suppressed) 05:41:00 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6436948646609341842.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6436948646609341842.key) 05:41:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:41:01 + git tag --points-at HEAD [Pipeline] } 05:41:01 $ docker exec --env ******** --env ******** 37d4d8abd5428974292f2d33d81e648c6fe5e62752defeefd3f2be49d6a8b94c ssh-agent -k 05:41:01 unset SSH_AUTH_SOCK; 05:41:01 unset SSH_AGENT_PID; 05:41:01 echo Agent pid 20 killed; 05:41:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:41:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:41:01 [ssh-agent] Looking for ssh-agent implementation... 05:41:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:41:01 $ docker exec 37d4d8abd5428974292f2d33d81e648c6fe5e62752defeefd3f2be49d6a8b94c ssh-agent 05:41:01 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfbjdKo/agent.55 05:41:01 SSH_AGENT_PID=61 05:41:01 Running ssh-add (command line suppressed) 05:41:01 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2107120486507519947.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2107120486507519947.key) 05:41:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:41:01 + git semver init 05:41:01 # -> Open(): unable to determine branch for HEAD 05:41:01 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 05:41:01 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 05:41:01 # $SEMVER_REMOTE_NAME = origin 05:41:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:41:01 # $SEMVER_USER_NAME = edgex-jenkins 05:41:01 # $SEMVER_BRANCH = main 05:41:01 # $SEMVER_TEMP = /tmp/semver-990631288 05:41:01 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 05:41:04 # '/tmp/semver-990631288' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' 05:41:04 # -> Force: false 05:41:04 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } 05:41:04 $ docker exec --env ******** --env ******** 37d4d8abd5428974292f2d33d81e648c6fe5e62752defeefd3f2be49d6a8b94c ssh-agent -k 05:41:04 unset SSH_AUTH_SOCK; 05:41:04 unset SSH_AGENT_PID; 05:41:04 echo Agent pid 61 killed; 05:41:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:41:04 + git semver [Pipeline] } 05:41:04 $ docker stop --time=1 37d4d8abd5428974292f2d33d81e648c6fe5e62752defeefd3f2be49d6a8b94c 05:41:06 $ docker rm -f 37d4d8abd5428974292f2d33d81e648c6fe5e62752defeefd3f2be49d6a8b94c [Pipeline] // withDockerContainer [Pipeline] sh 05:41:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:41:06 Stashed 1 file(s) [Pipeline] echo 05:41:06 [edgeXSemver]: initialized semver on version 2.2.0-dev.1 [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 05:41:06 Running on prd-ubuntu18.04-docker-arm64-4c-16g-39 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 05:41:06 Running in /w/workspace/device-modbus-go/18 [Pipeline] { [Pipeline] checkout 05:41:06 Selected Git installation does not exist. Using Default 05:41:06 The recommended git tool is: NONE 05:41:11 using credential edgex-jenkins-ssh 05:41:11 Cloning the remote Git repository 05:41:11 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:41:11 > git init /w/workspace/device-modbus-go/18 # timeout=10 05:41:11 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:41:11 > git --version # timeout=10 05:41:11 > git --version # 'git version 2.17.1' 05:41:11 using GIT_SSH to set credentials SSH Credentials for GitHub 05:41:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:41:13 Avoid second fetch 05:41:13 Checking out Revision f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9 (main) 05:41:13 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:41:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:41:13 > git config core.sparsecheckout # timeout=10 05:41:13 > git checkout -f f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9 # timeout=10 05:41:17 Commit message: "Merge pull request #301 from lenny-intel/no-win-zmq" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:41:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:41:18 % Total % Received % Xferd Average Speed Time Time Time Current 05:41:18 Dload Upload Total Spent Left Speed 05:41:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 89575 0 --:--:-- --:--:-- --:--:-- 88902 [Pipeline] sh 05:41:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:41:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:41:19 + sudo tee /etc/docker/daemon.new 05:41:19 { 05:41:19 "registry-mirrors": [ 05:41:19 "https://nexus3.edgexfoundry.org:10001" 05:41:19 ], 05:41:19 "bip": "10.250.0.254/24", 05:41:19 "hosts": [ 05:41:19 "tcp://0.0.0.0:5555", 05:41:19 "unix:///var/run/docker.sock" 05:41:19 ], 05:41:19 "mtu": 1458, 05:41:19 "selinux-enabled": true, 05:41:19 "seccomp-profile": "/etc/docker/seccomp.json" 05:41:19 } [Pipeline] sh 05:41:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:41:19 + sudo service docker restart 05:41:21 Still waiting to schedule task 05:41:21 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-41’ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:41:38 provisioning config files... 05:41:38 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/18@tmp/config7846076526722727820tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:41:38 ---> docker-login.sh 05:41:38 nexus3.edgexfoundry.org:10001 05:41:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:39 Configure a credential helper to remove this warning. See 05:41:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:39 05:41:39 Login Succeeded 05:41:39 nexus3.edgexfoundry.org:10002 05:41:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:39 Configure a credential helper to remove this warning. See 05:41:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:39 05:41:39 Login Succeeded 05:41:39 nexus3.edgexfoundry.org:10003 05:41:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:40 Configure a credential helper to remove this warning. See 05:41:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:40 05:41:40 Login Succeeded 05:41:40 nexus3.edgexfoundry.org:10004 05:41:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:40 Configure a credential helper to remove this warning. See 05:41:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:40 05:41:40 Login Succeeded 05:41:40 docker.io 05:41:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:41 Configure a credential helper to remove this warning. See 05:41:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:41 05:41:41 Login Succeeded 05:41:41 ---> docker-login.sh ends [Pipeline] } 05:41:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:41:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:41:41 ========================================================= 05:41:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 05:41:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:41:42 + 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 . 05:41:42 Sending build context to Docker daemon 2.961MB 05:41:42 Step 1/9 : ARG BASE=golang:1.16-alpine3.14 05:41:42 Step 2/9 : FROM ${BASE} AS builder 05:41:42 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:41:42 552d1f2373af: Pulling fs layer 05:41:42 ea3f2d53f512: Pulling fs layer 05:41:42 9e70ebbbe112: Pulling fs layer 05:41:42 7a9cfe048b4a: Pulling fs layer 05:41:42 72dc09318566: Pulling fs layer 05:41:42 f4f7b4309257: Pulling fs layer 05:41:42 0ac9a79272e3: Pulling fs layer 05:41:42 b78e95d17946: Pulling fs layer 05:41:42 72dc09318566: Waiting 05:41:42 7a9cfe048b4a: Waiting 05:41:42 f4f7b4309257: Waiting 05:41:42 0ac9a79272e3: Waiting 05:41:42 b78e95d17946: Waiting 05:41:42 9e70ebbbe112: Download complete 05:41:42 ea3f2d53f512: Verifying Checksum 05:41:42 ea3f2d53f512: Download complete 05:41:42 72dc09318566: Verifying Checksum 05:41:42 72dc09318566: Download complete 05:41:42 f4f7b4309257: Verifying Checksum 05:41:42 f4f7b4309257: Download complete 05:41:42 0ac9a79272e3: Verifying Checksum 05:41:42 552d1f2373af: Verifying Checksum 05:41:42 552d1f2373af: Download complete 05:41:43 552d1f2373af: Pull complete 05:41:43 ea3f2d53f512: Pull complete 05:41:44 9e70ebbbe112: Pull complete 05:41:44 b78e95d17946: Verifying Checksum 05:41:44 b78e95d17946: Download complete 05:41:45 7a9cfe048b4a: Verifying Checksum 05:41:45 7a9cfe048b4a: Download complete 05:41:57 7a9cfe048b4a: Pull complete 05:41:57 72dc09318566: Pull complete 05:41:57 f4f7b4309257: Pull complete 05:41:57 0ac9a79272e3: Pull complete 05:42:02 b78e95d17946: Pull complete 05:42:02 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 05:42:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 05:42:02 ---> 8b459fc5aaf0 05:42:02 Step 3/9 : ARG MAKE='make build' 05:42:03 ---> Running in 5b8e496e43a5 05:42:04 Removing intermediate container 5b8e496e43a5 05:42:04 ---> 8eaa5e944691 05:42:04 Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:42:04 ---> Running in ae2e371eeb10 05:42:06 Removing intermediate container ae2e371eeb10 05:42:06 ---> 5385976d002b 05:42:06 Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:42:06 ---> Running in f5e2954d8899 05:42:07 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:42:08 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:42:08 (1/8) Installing openssh-keygen (8.6_p1-r3) 05:42:08 (2/8) Installing libedit (20210216.3.1-r0) 05:42:08 (3/8) Installing openssh-client-common (8.6_p1-r3) 05:42:09 (4/8) Installing openssh-client-default (8.6_p1-r3) 05:42:09 (5/8) Installing openssh-sftp-server (8.6_p1-r3) 05:42:09 (6/8) Installing openssh-server-common (8.6_p1-r3) 05:42:09 (7/8) Installing openssh-server (8.6_p1-r3) 05:42:09 (8/8) Installing openssh (8.6_p1-r3) 05:42:09 Executing busybox-1.33.1-r3.trigger 05:42:09 OK: 225 MiB in 60 packages 05:42:10 Removing intermediate container f5e2954d8899 05:42:10 ---> 8b62de9701ee 05:42:10 Step 6/9 : WORKDIR /device-modbus-go 05:42:10 ---> Running in 0b1193fefb39 05:42:11 Removing intermediate container 0b1193fefb39 05:42:11 ---> b229479b362e 05:42:11 Step 7/9 : COPY . . 05:42:11 ---> 145aa0d0b0f2 05:42:11 Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:42:12 ---> Running in 72433e430f8b 05:43:34 Removing intermediate container 72433e430f8b 05:43:34 ---> ad74de3ce032 05:43:34 Step 9/9 : RUN ${MAKE} 05:43:34 ---> Running in 7c67a049ba1f 05:43:34 noop 05:43:34 Removing intermediate container 7c67a049ba1f 05:43:34 ---> 5985174aa45a 05:43:34 Successfully built 5985174aa45a 05:43:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:43:34 + docker inspect -f . ci-base-image-arm64 05:43:34 . [Pipeline] withDockerContainer 05:43:34 prd-ubuntu18.04-docker-arm64-4c-16g-39 does not seem to be running inside a container 05:43:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/18 -v /w/workspace/device-modbus-go/18:/w/workspace/device-modbus-go/18:rw,z -v /w/workspace/device-modbus-go/18@tmp:/w/workspace/device-modbus-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:43:35 $ docker top ece0c63964d90ec5d89e2d23ec74aa9caaf3001f7d9f3c883292290f0289ce97 -eo pid,comm [Pipeline] { [Pipeline] sh 05:43:36 + go version 05:43:36 go version go1.16.8 linux/arm64 [Pipeline] } 05:43:36 $ docker stop --time=1 ece0c63964d90ec5d89e2d23ec74aa9caaf3001f7d9f3c883292290f0289ce97 05:43:38 $ docker rm -f ece0c63964d90ec5d89e2d23ec74aa9caaf3001f7d9f3c883292290f0289ce97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:43:39 + docker inspect -f . ci-base-image-arm64 05:43:39 . [Pipeline] withDockerContainer 05:43:39 prd-ubuntu18.04-docker-arm64-4c-16g-39 does not seem to be running inside a container 05:43:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/18 -v /w/workspace/device-modbus-go/18:/w/workspace/device-modbus-go/18:rw,z -v /w/workspace/device-modbus-go/18@tmp:/w/workspace/device-modbus-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:43:40 $ docker top da70091cfeacafdb6fcfad009a7231117c8f5abaa6494fdaf9a2d62696ea0581 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:43:41 + make test 05:43:41 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:43:43 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:43:53 Running on prd-centos7-docker-4c-2g-42 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 05:43:53 Running in /w/workspace/device-modbus-go/18 [Pipeline] { [Pipeline] checkout 05:43:53 Selected Git installation does not exist. Using Default 05:43:53 The recommended git tool is: NONE 05:43:55 using credential edgex-jenkins-ssh 05:43:55 Cloning the remote Git repository 05:43:55 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:43:55 > git init /w/workspace/device-modbus-go/18 # timeout=10 05:43:55 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:43:55 > git --version # timeout=10 05:43:55 > git --version # 'git version 2.24.4' 05:43:55 using GIT_SSH to set credentials SSH Credentials for GitHub 05:43:55 [INFO] Currently running in a labeled security context 05:43:55 [INFO] Currently SELinux is 'enforcing' on the host 05:43:55 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/18@tmp/jenkins-gitclient-ssh9076661048793396445.key 05:43:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:43:56 Avoid second fetch 05:43:56 Checking out Revision f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9 (main) 05:43:56 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:43:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:43:56 > git config core.sparsecheckout # timeout=10 05:43:56 > git checkout -f f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9 # timeout=10 05:44:00 Commit message: "Merge pull request #301 from lenny-intel/no-win-zmq" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:44:00 provisioning config files... 05:44:00 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/18@tmp/config1223433255938207763tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:44:01 ---> docker-login.sh 05:44:01 nexus3.edgexfoundry.org:10001 05:44:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:01 Configure a credential helper to remove this warning. See 05:44:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:01 05:44:01 Login Succeeded 05:44:01 nexus3.edgexfoundry.org:10002 05:44:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:01 Configure a credential helper to remove this warning. See 05:44:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:01 05:44:01 Login Succeeded 05:44:01 nexus3.edgexfoundry.org:10003 05:44:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:01 Configure a credential helper to remove this warning. See 05:44:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:01 05:44:01 Login Succeeded 05:44:01 nexus3.edgexfoundry.org:10004 05:44:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:01 Configure a credential helper to remove this warning. See 05:44:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:01 05:44:01 Login Succeeded 05:44:01 docker.io 05:44:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:02 Configure a credential helper to remove this warning. See 05:44:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:02 05:44:02 Login Succeeded 05:44:02 ---> docker-login.sh ends [Pipeline] } 05:44:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:44:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:44:02 ========================================================= 05:44:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 05:44:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:44:02 + 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 . 05:44:02 Sending build context to Docker daemon 2.962MB 05:44:02 Step 1/9 : ARG BASE=golang:1.16-alpine3.14 05:44:02 Step 2/9 : FROM ${BASE} AS builder 05:44:02 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 05:44:02 a0d0a0d46f8b: Pulling fs layer 05:44:02 31adcdaf11c8: Pulling fs layer 05:44:02 b8b176561691: Pulling fs layer 05:44:02 4527c011a84f: Pulling fs layer 05:44:02 5d74067f8e1e: Pulling fs layer 05:44:02 e0aca202a116: Pulling fs layer 05:44:02 3a43be97a3b4: Pulling fs layer 05:44:02 34cad66bf833: Pulling fs layer 05:44:02 b4e3c513aaa6: Pulling fs layer 05:44:02 4527c011a84f: Waiting 05:44:02 5d74067f8e1e: Waiting 05:44:02 e0aca202a116: Waiting 05:44:02 3a43be97a3b4: Waiting 05:44:02 34cad66bf833: Waiting 05:44:02 b4e3c513aaa6: Waiting 05:44:02 b8b176561691: Verifying Checksum 05:44:02 b8b176561691: Download complete 05:44:02 31adcdaf11c8: Verifying Checksum 05:44:02 31adcdaf11c8: Download complete 05:44:02 5d74067f8e1e: Verifying Checksum 05:44:02 5d74067f8e1e: Download complete 05:44:02 e0aca202a116: Verifying Checksum 05:44:02 e0aca202a116: Download complete 05:44:03 3a43be97a3b4: Verifying Checksum 05:44:03 3a43be97a3b4: Download complete 05:44:03 a0d0a0d46f8b: Verifying Checksum 05:44:03 a0d0a0d46f8b: Download complete 05:44:03 34cad66bf833: Verifying Checksum 05:44:03 34cad66bf833: Download complete 05:44:03 a0d0a0d46f8b: Pull complete 05:44:03 4527c011a84f: Verifying Checksum 05:44:03 4527c011a84f: Download complete 05:44:03 31adcdaf11c8: Pull complete 05:44:03 b4e3c513aaa6: Verifying Checksum 05:44:03 b4e3c513aaa6: Download complete 05:44:03 b8b176561691: Pull complete 05:44:07 4527c011a84f: Pull complete 05:44:07 5d74067f8e1e: Pull complete 05:44:07 e0aca202a116: Pull complete 05:44:07 3a43be97a3b4: Pull complete 05:44:07 34cad66bf833: Pull complete 05:44:09 b4e3c513aaa6: Pull complete 05:44:09 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 05:44:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 05:44:09 ---> 9f6097aaca64 05:44:09 Step 3/9 : ARG MAKE='make build' 05:44:12 ---> Running in b393a27e2605 05:44:12 Removing intermediate container b393a27e2605 05:44:12 ---> e29178a377d6 05:44:12 Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:44:12 ---> Running in 63b7a90cab2b 05:44:12 Removing intermediate container 63b7a90cab2b 05:44:12 ---> 4eb2aaf77c19 05:44:12 Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:44:12 ---> Running in a21b5c653cba 05:44:12 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:44:13 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:44:14 (1/8) Installing openssh-keygen (8.6_p1-r3) 05:44:14 (2/8) Installing libedit (20210216.3.1-r0) 05:44:14 (3/8) Installing openssh-client-common (8.6_p1-r3) 05:44:14 (4/8) Installing openssh-client-default (8.6_p1-r3) 05:44:14 (5/8) Installing openssh-sftp-server (8.6_p1-r3) 05:44:14 (6/8) Installing openssh-server-common (8.6_p1-r3) 05:44:14 (7/8) Installing openssh-server (8.6_p1-r3) 05:44:14 (8/8) Installing openssh (8.6_p1-r3) 05:44:14 Executing busybox-1.33.1-r3.trigger 05:44:14 OK: 226 MiB in 60 packages 05:44:15 Removing intermediate container a21b5c653cba 05:44:15 ---> 2629bf80d11f 05:44:15 Step 6/9 : WORKDIR /device-modbus-go 05:44:15 ---> Running in e677b498a0d0 05:44:15 Removing intermediate container e677b498a0d0 05:44:15 ---> 514e88fa6af0 05:44:15 Step 7/9 : COPY . . 05:44:15 ---> d493fd2831ee 05:44:15 Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:44:15 ---> Running in 0abc36f4658b 05:44:39 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:44:39 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.053s coverage: 46.6% of statements 05:44:39 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:44:47 Removing intermediate container 0abc36f4658b 05:44:47 ---> fd757ec3061c 05:44:47 Step 9/9 : RUN ${MAKE} 05:44:47 ---> Running in ae5da2143fb9 05:44:47 noop 05:44:47 Removing intermediate container ae5da2143fb9 05:44:47 ---> b25e99e52e98 05:44:47 Successfully built b25e99e52e98 05:44:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:44:48 + docker inspect -f . ci-base-image-x86_64 05:44:48 . [Pipeline] withDockerContainer 05:44:48 prd-centos7-docker-4c-2g-42 does not seem to be running inside a container 05:44:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/18 -v /w/workspace/device-modbus-go/18:/w/workspace/device-modbus-go/18:rw,z -v /w/workspace/device-modbus-go/18@tmp:/w/workspace/device-modbus-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:44:48 $ docker top 56e134a245e3df5f32baffb401bc754d97f4aaa94d44809a104dea24073d15c4 -eo pid,comm [Pipeline] { [Pipeline] sh 05:44:48 + go version 05:44:48 go version go1.16.8 linux/amd64 [Pipeline] } 05:44:48 $ docker stop --time=1 56e134a245e3df5f32baffb401bc754d97f4aaa94d44809a104dea24073d15c4 05:44:50 $ docker rm -f 56e134a245e3df5f32baffb401bc754d97f4aaa94d44809a104dea24073d15c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:44:50 + docker inspect -f . ci-base-image-x86_64 05:44:50 . [Pipeline] withDockerContainer 05:44:50 prd-centos7-docker-4c-2g-42 does not seem to be running inside a container 05:44:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/18 -v /w/workspace/device-modbus-go/18:/w/workspace/device-modbus-go/18:rw,z -v /w/workspace/device-modbus-go/18@tmp:/w/workspace/device-modbus-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:44:51 $ docker top d116d10e2537d6864cdf797795a1a502548590d01c419133dae68cc7b50316c8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:44:51 + make test 05:44:51 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:44:51 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:45:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:45:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:45:01 ./bin/test-attribution-txt.sh [Pipeline] echo 05:45:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:45:02 $ docker stop --time=1 da70091cfeacafdb6fcfad009a7231117c8f5abaa6494fdaf9a2d62696ea0581 05:45:03 $ docker rm -f da70091cfeacafdb6fcfad009a7231117c8f5abaa6494fdaf9a2d62696ea0581 [Pipeline] // withDockerContainer [Pipeline] sh 05:45:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:45:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:45:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:45:06 + ls -al . 05:45:06 total 184 05:45:06 drwxrwxr-x 9 jenkins jenkins 4096 Dec 1 05:45 . 05:45:06 drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 05:41 .. 05:45:06 -rw-rw-r-- 1 jenkins jenkins 140 Dec 1 05:41 .dockerignore 05:45:06 drwxrwxr-x 8 jenkins jenkins 4096 Dec 1 05:41 .git 05:45:06 drwxrwxr-x 2 jenkins jenkins 4096 Dec 1 05:41 .github 05:45:06 -rw-rw-r-- 1 jenkins jenkins 331 Dec 1 05:41 .gitignore 05:45:06 -rw-rw-r-- 1 jenkins jenkins 8010 Dec 1 05:41 Attribution.txt 05:45:06 -rw-rw-r-- 1 jenkins jenkins 6038 Dec 1 05:41 CHANGELOG.md 05:45:06 -rw-rw-r-- 1 jenkins jenkins 1523 Dec 1 05:41 Dockerfile 05:45:06 -rw-rw-r-- 1 jenkins jenkins 677 Dec 1 05:41 GOVERNANCE.md 05:45:06 -rw-rw-r-- 1 jenkins jenkins 679 Dec 1 05:41 Jenkinsfile 05:45:06 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 1 05:41 LICENSE 05:45:06 -rw-rw-r-- 1 jenkins jenkins 1009 Dec 1 05:41 Makefile 05:45:06 -rw-rw-r-- 1 jenkins jenkins 622 Dec 1 05:41 OWNERS.md 05:45:06 -rw-rw-r-- 1 jenkins jenkins 3488 Dec 1 05:41 README.md 05:45:06 -rw-rw-r-- 1 jenkins jenkins 11 Dec 1 05:41 VERSION 05:45:06 drwxrwxr-x 2 jenkins jenkins 4096 Dec 1 05:41 bin 05:45:06 drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 05:41 cmd 05:45:06 -rw-r--r-- 1 jenkins jenkins 23727 Dec 1 05:44 coverage.out 05:45:06 -rw-rw-r-- 1 jenkins jenkins 300 Dec 1 05:41 go.mod 05:45:06 -rw-rw-r-- 1 jenkins jenkins 49511 Dec 1 05:41 go.sum 05:45:06 drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 05:41 internal 05:45:06 drwxrwxr-x 2 jenkins jenkins 4096 Dec 1 05:41 simulator 05:45:06 drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 05:41 snap 05:45:06 -rw-rw-r-- 1 jenkins jenkins 229 Dec 1 05:41 version.go [Pipeline] isUnix [Pipeline] sh 05:45:06 + 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=f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9 --label arch=arm64 --label version=2.2.0-dev.1 . 05:45:06 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:45:07 Sending build context to Docker daemon 2.985MB 05:45:07 Step 1/22 : ARG BASE=golang:1.16-alpine3.14 05:45:07 Step 2/22 : FROM ${BASE} AS builder 05:45:07 ---> 5985174aa45a 05:45:07 Step 3/22 : ARG MAKE='make build' 05:45:07 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 46.6% of statements 05:45:07 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:45:07 ---> Running in 942e3573872c 05:45:07 Removing intermediate container 942e3573872c 05:45:07 ---> 373cb59d7898 05:45:07 Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:45:07 ---> Running in 44c3668e7d35 05:45:09 Removing intermediate container 44c3668e7d35 05:45:09 ---> 34823846837f 05:45:09 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:45:09 ---> Running in eb5894a16771 05:45:10 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:45:11 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:45:12 OK: 225 MiB in 60 packages 05:45:12 Removing intermediate container eb5894a16771 05:45:12 ---> b54f22b249e8 05:45:12 Step 6/22 : WORKDIR /device-modbus-go 05:45:12 ---> Running in 6f63fed476f6 05:45:13 Removing intermediate container 6f63fed476f6 05:45:13 ---> e306d10a61ff 05:45:13 Step 7/22 : COPY . . 05:45:13 ---> bd875dac4007 05:45:13 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:45:14 ---> Running in 8db494ada17a 05:45:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:45:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:45:15 ./bin/test-attribution-txt.sh [Pipeline] echo 05:45:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:45:15 $ docker stop --time=1 d116d10e2537d6864cdf797795a1a502548590d01c419133dae68cc7b50316c8 05:45:16 Removing intermediate container 8db494ada17a 05:45:16 ---> 3726e3cc7779 05:45:16 Step 9/22 : RUN ${MAKE} 05:45:16 ---> Running in 011ce5472bb5 05:45:16 $ docker rm -f d116d10e2537d6864cdf797795a1a502548590d01c419133dae68cc7b50316c8 [Pipeline] // withDockerContainer [Pipeline] sh 05:45:17 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.1" -o cmd/device-modbus ./cmd 05:45:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:45:17 Warning: overwriting stash ‘coverage-report’ 05:45:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:45:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:45:18 + ls -al . 05:45:18 total 152 05:45:18 drwxrwxr-x. 9 jenkins jenkins 4096 Dec 1 05:45 . 05:45:18 drwxrwxr-x. 4 jenkins jenkins 30 Dec 1 05:43 .. 05:45:18 -rw-rw-r--. 1 jenkins jenkins 8010 Dec 1 05:43 Attribution.txt 05:45:18 drwxrwxr-x. 2 jenkins jenkins 60 Dec 1 05:43 bin 05:45:18 -rw-rw-r--. 1 jenkins jenkins 6038 Dec 1 05:43 CHANGELOG.md 05:45:18 drwxrwxr-x. 3 jenkins jenkins 32 Dec 1 05:43 cmd 05:45:18 -rw-r--r--. 1 jenkins jenkins 23727 Dec 1 05:45 coverage.out 05:45:18 -rw-rw-r--. 1 jenkins jenkins 1523 Dec 1 05:43 Dockerfile 05:45:18 -rw-rw-r--. 1 jenkins jenkins 140 Dec 1 05:43 .dockerignore 05:45:18 drwxrwxr-x. 8 jenkins jenkins 162 Dec 1 05:44 .git 05:45:18 drwxrwxr-x. 2 jenkins jenkins 103 Dec 1 05:43 .github 05:45:18 -rw-rw-r--. 1 jenkins jenkins 331 Dec 1 05:43 .gitignore 05:45:18 -rw-rw-r--. 1 jenkins jenkins 300 Dec 1 05:43 go.mod 05:45:18 -rw-rw-r--. 1 jenkins jenkins 49511 Dec 1 05:43 go.sum 05:45:18 -rw-rw-r--. 1 jenkins jenkins 677 Dec 1 05:43 GOVERNANCE.md 05:45:18 drwxrwxr-x. 3 jenkins jenkins 20 Dec 1 05:43 internal 05:45:18 -rw-rw-r--. 1 jenkins jenkins 679 Dec 1 05:43 Jenkinsfile 05:45:18 -rw-rw-r--. 1 jenkins jenkins 11340 Dec 1 05:43 LICENSE 05:45:18 -rw-rw-r--. 1 jenkins jenkins 1009 Dec 1 05:43 Makefile 05:45:18 -rw-rw-r--. 1 jenkins jenkins 622 Dec 1 05:43 OWNERS.md 05:45:18 -rw-rw-r--. 1 jenkins jenkins 3488 Dec 1 05:43 README.md 05:45:18 drwxrwxr-x. 2 jenkins jenkins 52 Dec 1 05:43 simulator 05:45:18 drwxrwxr-x. 4 jenkins jenkins 71 Dec 1 05:43 snap 05:45:18 -rw-rw-r--. 1 jenkins jenkins 11 Dec 1 05:41 VERSION 05:45:18 -rw-rw-r--. 1 jenkins jenkins 229 Dec 1 05:43 version.go [Pipeline] isUnix [Pipeline] sh 05:45:18 + 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=f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9 --label arch=amd64 --label version=2.2.0-dev.1 . 05:45:18 Sending build context to Docker daemon 2.986MB 05:45:18 Step 1/22 : ARG BASE=golang:1.16-alpine3.14 05:45:18 Step 2/22 : FROM ${BASE} AS builder 05:45:18 ---> b25e99e52e98 05:45:18 Step 3/22 : ARG MAKE='make build' 05:45:18 ---> Running in 93f804972cdd 05:45:18 Removing intermediate container 93f804972cdd 05:45:18 ---> 3661c2136846 05:45:18 Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:45:18 ---> Running in 94b751cba864 05:45:19 Removing intermediate container 94b751cba864 05:45:19 ---> 335c415f5e12 05:45:19 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:45:19 ---> Running in 9c15899dc3d5 05:45:19 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:45:20 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:45:20 OK: 226 MiB in 60 packages 05:45:20 Removing intermediate container 9c15899dc3d5 05:45:20 ---> 6475571ee413 05:45:20 Step 6/22 : WORKDIR /device-modbus-go 05:45:20 ---> Running in 6ffc2534a25e 05:45:20 Removing intermediate container 6ffc2534a25e 05:45:20 ---> cea1944a6483 05:45:20 Step 7/22 : COPY . . 05:45:21 ---> 307bc7a7ffba 05:45:21 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:45:21 ---> Running in 2f0579790014 05:45:21 Removing intermediate container 2f0579790014 05:45:21 ---> fb704ce08feb 05:45:21 Step 9/22 : RUN ${MAKE} 05:45:21 ---> Running in 2023e7b46177 05:45:21 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.1" -o cmd/device-modbus ./cmd 05:45:36 Removing intermediate container 2023e7b46177 05:45:36 ---> 2129d107579b 05:45:36 Step 10/22 : FROM alpine:3.14 05:45:36 3.14: Pulling from library/alpine 05:45:36 97518928ae5f: Pulling fs layer 05:45:36 97518928ae5f: Verifying Checksum 05:45:36 97518928ae5f: Download complete 05:45:36 97518928ae5f: Pull complete 05:45:36 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 05:45:36 Status: Downloaded newer image for alpine:3.14 05:45:36 ---> 0a97eee8041e 05:45:36 Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:45:36 ---> Running in d0f518d9d45c 05:45:36 Removing intermediate container d0f518d9d45c 05:45:36 ---> 6797a36e1ecc 05:45:36 Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:45:36 ---> Running in af32d7c8750b 05:45:36 Removing intermediate container af32d7c8750b 05:45:36 ---> e200036a62a1 05:45:36 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 05:45:36 ---> Running in 36df86bc3862 05:45:36 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:45:37 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:45:38 (1/6) Installing dumb-init (1.2.5-r1) 05:45:38 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:45:38 (3/6) Installing libsodium (1.0.18-r0) 05:45:38 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:45:38 (5/6) Installing libzmq (4.3.4-r0) 05:45:38 (6/6) Installing zeromq (4.3.4-r0) 05:45:38 Executing busybox-1.33.1-r6.trigger 05:45:38 OK: 8 MiB in 20 packages 05:45:38 Removing intermediate container 36df86bc3862 05:45:38 ---> c9830712b178 05:45:38 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:45:39 ---> 573b781e777f 05:45:39 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:45:39 ---> 1eb83928dee0 05:45:39 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:45:39 ---> 100d575939f9 05:45:39 Step 17/22 : EXPOSE 59901 05:45:39 ---> Running in 3fc3a8eb207c 05:45:39 Removing intermediate container 3fc3a8eb207c 05:45:39 ---> 71e53a3d52ae 05:45:39 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:45:39 ---> Running in 164173cab7a2 05:45:39 Removing intermediate container 164173cab7a2 05:45:39 ---> c41658e5d5b8 05:45:39 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:45:39 ---> Running in dc17ef036c98 05:45:39 Removing intermediate container dc17ef036c98 05:45:39 ---> fa75c0251c0b 05:45:39 Step 20/22 : LABEL arch=amd64 05:45:39 ---> Running in 4fb1604b9ee4 05:45:39 Removing intermediate container 4fb1604b9ee4 05:45:39 ---> 3090ae82ea8f 05:45:39 Step 21/22 : LABEL git_sha=f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9 05:45:40 ---> Running in a330e61b14d2 05:45:40 Removing intermediate container a330e61b14d2 05:45:40 ---> cde83e9ac033 05:45:40 Step 22/22 : LABEL version=2.2.0-dev.1 05:45:40 ---> Running in 25d38ab5a51f 05:45:40 Removing intermediate container 25d38ab5a51f 05:45:40 ---> e7a7b5d8dad6 05:45:40 [Warning] One or more build-args [ARCH] were not consumed 05:45:40 Successfully built e7a7b5d8dad6 05:45:40 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:45:40 provisioning config files... 05:45:40 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/18@tmp/config766137856205554698tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:45:40 ---> docker-login.sh 05:45:40 nexus3.edgexfoundry.org:10001 05:45:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:45:40 Configure a credential helper to remove this warning. See 05:45:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:45:40 05:45:40 Login Succeeded 05:45:40 nexus3.edgexfoundry.org:10002 05:45:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:45:40 Configure a credential helper to remove this warning. See 05:45:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:45:40 05:45:40 Login Succeeded 05:45:40 nexus3.edgexfoundry.org:10003 05:45:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:45:40 Configure a credential helper to remove this warning. See 05:45:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:45:40 05:45:40 Login Succeeded 05:45:40 nexus3.edgexfoundry.org:10004 05:45:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:45:41 Configure a credential helper to remove this warning. See 05:45:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:45:41 05:45:41 Login Succeeded 05:45:41 docker.io 05:45:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:45:41 Configure a credential helper to remove this warning. See 05:45:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:45:41 05:45:41 Login Succeeded 05:45:41 ---> docker-login.sh ends [Pipeline] } 05:45:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:45:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:45:41 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 05:45:41 f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9 05:45:41 latest 05:45:41 2.2.0-dev.1 05:45:41 f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9-2.2.0-dev.1 05:45:41 main 05:45:41 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:45:41 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9 [Pipeline] isUnix [Pipeline] sh 05:45:42 + docker push nexus3.edgexfoundry.org:10004/device-modbus:f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9 05:45:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:45:42 372fc7c97a6d: Preparing 05:45:42 5a1c967744aa: Preparing 05:45:42 434e3b15cd75: Preparing 05:45:42 57b8edc962cb: Preparing 05:45:42 7eb42e0988c1: Preparing 05:45:42 1a058d5342cc: Preparing 05:45:42 1a058d5342cc: Waiting 05:45:42 7eb42e0988c1: Pushed 05:45:42 372fc7c97a6d: Pushed 05:45:42 5a1c967744aa: Pushed 05:45:42 57b8edc962cb: Pushed 05:45:42 1a058d5342cc: Layer already exists 05:45:43 434e3b15cd75: Pushed 05:45:43 f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9: digest: sha256:0f39a1e854d223850f93e4f8ceb7dda74e98edc1bfe6d2d9f2b200cb9f37dcb7 size: 1573 [Pipeline] isUnix [Pipeline] sh 05:45:44 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh 05:45:44 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 05:45:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:45:44 372fc7c97a6d: Preparing 05:45:44 5a1c967744aa: Preparing 05:45:44 434e3b15cd75: Preparing 05:45:44 57b8edc962cb: Preparing 05:45:44 7eb42e0988c1: Preparing 05:45:44 1a058d5342cc: Preparing 05:45:44 1a058d5342cc: Waiting 05:45:44 434e3b15cd75: Layer already exists 05:45:44 7eb42e0988c1: Layer already exists 05:45:44 57b8edc962cb: Layer already exists 05:45:44 5a1c967744aa: Layer already exists 05:45:44 372fc7c97a6d: Layer already exists 05:45:44 1a058d5342cc: Layer already exists 05:45:44 latest: digest: sha256:0f39a1e854d223850f93e4f8ceb7dda74e98edc1bfe6d2d9f2b200cb9f37dcb7 size: 1573 [Pipeline] isUnix [Pipeline] sh 05:45:44 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh 05:45:44 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.1 05:45:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:45:44 372fc7c97a6d: Preparing 05:45:44 5a1c967744aa: Preparing 05:45:44 434e3b15cd75: Preparing 05:45:44 57b8edc962cb: Preparing 05:45:44 7eb42e0988c1: Preparing 05:45:44 1a058d5342cc: Preparing 05:45:44 434e3b15cd75: Layer already exists 05:45:44 372fc7c97a6d: Layer already exists 05:45:44 7eb42e0988c1: Layer already exists 05:45:44 5a1c967744aa: Layer already exists 05:45:44 57b8edc962cb: Layer already exists 05:45:44 1a058d5342cc: Layer already exists 05:45:44 2.2.0-dev.1: digest: sha256:0f39a1e854d223850f93e4f8ceb7dda74e98edc1bfe6d2d9f2b200cb9f37dcb7 size: 1573 [Pipeline] isUnix [Pipeline] sh 05:45:45 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9-2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh 05:45:45 + docker push nexus3.edgexfoundry.org:10004/device-modbus:f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9-2.2.0-dev.1 05:45:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:45:45 372fc7c97a6d: Preparing 05:45:45 5a1c967744aa: Preparing 05:45:45 434e3b15cd75: Preparing 05:45:45 57b8edc962cb: Preparing 05:45:45 7eb42e0988c1: Preparing 05:45:45 1a058d5342cc: Preparing 05:45:45 1a058d5342cc: Waiting 05:45:45 7eb42e0988c1: Layer already exists 05:45:45 434e3b15cd75: Layer already exists 05:45:45 57b8edc962cb: Layer already exists 05:45:45 5a1c967744aa: Layer already exists 05:45:45 372fc7c97a6d: Layer already exists 05:45:45 1a058d5342cc: Layer already exists 05:45:45 f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9-2.2.0-dev.1: digest: sha256:0f39a1e854d223850f93e4f8ceb7dda74e98edc1bfe6d2d9f2b200cb9f37dcb7 size: 1573 [Pipeline] isUnix [Pipeline] sh 05:45:45 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh 05:45:46 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 05:45:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:45:46 372fc7c97a6d: Preparing 05:45:46 5a1c967744aa: Preparing 05:45:46 434e3b15cd75: Preparing 05:45:46 57b8edc962cb: Preparing 05:45:46 7eb42e0988c1: Preparing 05:45:46 1a058d5342cc: Preparing 05:45:46 1a058d5342cc: Waiting 05:45:46 57b8edc962cb: Layer already exists 05:45:46 5a1c967744aa: Layer already exists 05:45:46 434e3b15cd75: Layer already exists 05:45:46 372fc7c97a6d: Layer already exists 05:45:46 7eb42e0988c1: Layer already exists 05:45:46 1a058d5342cc: Layer already exists 05:45:46 main: digest: sha256:0f39a1e854d223850f93e4f8ceb7dda74e98edc1bfe6d2d9f2b200cb9f37dcb7 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:45:46 ===================================================== [Pipeline] echo 05:45:46 taggedImages: 05:45:46 - nexus3.edgexfoundry.org:10004/device-modbus:f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9 05:45:46 - nexus3.edgexfoundry.org:10004/device-modbus:latest 05:45:46 - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.1 05:45:46 - nexus3.edgexfoundry.org:10004/device-modbus:f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9-2.2.0-dev.1 05:45:46 - 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 05:45:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:45:46 05:45:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:45:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:45:47 latest: Pulling from edgex-lftools-log-publisher 05:45:47 b4d181a07f80: Pulling fs layer 05:45:47 a1111a8f2ec3: Pulling fs layer 05:45:47 ed53099fbce6: Pulling fs layer 05:45:47 dc539afda2c1: Pulling fs layer 05:45:47 77bc0d833cb6: Pulling fs layer 05:45:47 9065ff56babe: Pulling fs layer 05:45:47 d287ab97295c: Pulling fs layer 05:45:47 dc539afda2c1: Waiting 05:45:47 77bc0d833cb6: Waiting 05:45:47 9065ff56babe: Waiting 05:45:47 d287ab97295c: Waiting 05:45:47 a1111a8f2ec3: Verifying Checksum 05:45:47 a1111a8f2ec3: Download complete 05:45:47 dc539afda2c1: Verifying Checksum 05:45:47 dc539afda2c1: Download complete 05:45:47 ed53099fbce6: Verifying Checksum 05:45:47 ed53099fbce6: Download complete 05:45:47 9065ff56babe: Verifying Checksum 05:45:47 9065ff56babe: Download complete 05:45:47 77bc0d833cb6: Verifying Checksum 05:45:47 77bc0d833cb6: Download complete 05:45:47 b4d181a07f80: Verifying Checksum 05:45:47 b4d181a07f80: Download complete 05:45:47 d287ab97295c: Verifying Checksum 05:45:47 d287ab97295c: Download complete 05:45:48 b4d181a07f80: Pull complete 05:45:49 a1111a8f2ec3: Pull complete 05:45:50 ed53099fbce6: Pull complete 05:45:50 dc539afda2c1: Pull complete 05:45:50 77bc0d833cb6: Pull complete 05:45:50 9065ff56babe: Pull complete 05:45:56 Removing intermediate container 011ce5472bb5 05:45:56 ---> 45bb260dc5a7 05:45:56 Step 10/22 : FROM alpine:3.14 05:45:56 3.14: Pulling from library/alpine 05:45:56 be307f383ecc: Pulling fs layer 05:45:56 be307f383ecc: Verifying Checksum 05:45:56 be307f383ecc: Download complete 05:45:56 be307f383ecc: Pull complete 05:45:56 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 05:45:56 Status: Downloaded newer image for alpine:3.14 05:45:56 ---> 5b8b7b635229 05:45:56 Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:45:56 ---> Running in 0e0e0b1f97a2 05:45:56 Removing intermediate container 0e0e0b1f97a2 05:45:56 ---> 109d42afacd5 05:45:56 Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:45:56 ---> Running in e6a31dfb8e55 05:45:56 Removing intermediate container e6a31dfb8e55 05:45:56 ---> 4fddae875d41 05:45:56 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 05:45:56 ---> Running in ee873abbb833 05:45:56 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:45:57 d287ab97295c: Pull complete 05:45:57 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 05:45:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:45:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:45:57 prd-centos7-docker-4c-2g-42 does not seem to be running inside a container 05:45:57 $ 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/18 -v /w/workspace/device-modbus-go/18:/w/workspace/device-modbus-go/18:rw,z -v /w/workspace/device-modbus-go/18@tmp:/w/workspace/device-modbus-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:45:57 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:45:58 (1/6) Installing dumb-init (1.2.5-r1) 05:45:58 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:45:58 (3/6) Installing libsodium (1.0.18-r0) 05:45:58 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:45:58 (5/6) Installing libzmq (4.3.4-r0) 05:45:58 (6/6) Installing zeromq (4.3.4-r0) 05:45:58 Executing busybox-1.33.1-r6.trigger 05:45:58 OK: 8 MiB in 20 packages 05:45:59 Removing intermediate container ee873abbb833 05:45:59 ---> 14adc46e7ee6 05:45:59 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:45:59 $ docker top 508a830d7e57334faa442e86492a39a14789efebbe882355c46d597c9e2a1fd0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:46:00 ---> job-cost.sh 05:46:00 lf-activate-venv: SKIPPING 05:46:00 INFO: No Stack... 05:46:00 INFO: Retrieving Pricing Info for: v3-standard-2 05:46:00 ---> d0c73d900786 05:46:00 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:46:00 INFO: Archiving Costs [Pipeline] sh 05:46:01 + cat /w/workspace/device-modbus-go/18/archives/cost.csv 05:46:01 + cut -d, -f6 [Pipeline] lock 05:46:01 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-18-stack-cost] 05:46:01 Resource [jenkins-edgexfoundry-device-modbus-go-main-18-stack-cost] did not exist. Created. 05:46:01 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:46:01 ---> ec18b9a41d6c 05:46:01 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:46:01 + echo total: 0.05999999865889549 [Pipeline] stash 05:46:01 Stashed 1 file(s) [Pipeline] } 05:46:01 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-18-stack-cost] [Pipeline] // lock [Pipeline] } 05:46:01 $ docker stop --time=1 508a830d7e57334faa442e86492a39a14789efebbe882355c46d597c9e2a1fd0 05:46:02 ---> 0ce487ae7387 05:46:02 Step 17/22 : EXPOSE 59901 05:46:02 ---> Running in e94af42303df 05:46:02 Removing intermediate container e94af42303df 05:46:02 ---> 18e1da15d689 05:46:02 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:46:02 ---> Running in cd0f91cfcbdb 05:46:02 $ docker rm -f 508a830d7e57334faa442e86492a39a14789efebbe882355c46d597c9e2a1fd0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 05:46:02 Removing intermediate container cd0f91cfcbdb 05:46:02 ---> 375bec3f9373 05:46:02 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:46:02 ---> Running in 33dbe45c32ef [Pipeline] // stage [Pipeline] } 05:46:03 Removing intermediate container 33dbe45c32ef 05:46:03 ---> 2e12820ef089 05:46:03 Step 20/22 : LABEL arch=arm64 05:46:03 ---> Running in 9cd67dc21294 05:46:03 Removing intermediate container 9cd67dc21294 05:46:03 ---> d26537d6c9a3 05:46:03 Step 21/22 : LABEL git_sha=f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9 05:46:03 ---> Running in bff6368e3484 05:46:03 Removing intermediate container bff6368e3484 05:46:03 ---> aacf31c32732 05:46:03 Step 22/22 : LABEL version=2.2.0-dev.1 05:46:04 ---> Running in a9b2fe4f69c2 05:46:04 Removing intermediate container a9b2fe4f69c2 05:46:04 ---> ea872d81332c 05:46:04 [Warning] One or more build-args [ARCH] were not consumed 05:46:04 Successfully built ea872d81332c 05:46:04 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 05:46:04 provisioning config files... 05:46:04 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/18@tmp/config5108987602983547298tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:46:05 ---> docker-login.sh 05:46:05 nexus3.edgexfoundry.org:10001 05:46:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:05 Configure a credential helper to remove this warning. See 05:46:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:05 05:46:05 Login Succeeded 05:46:05 nexus3.edgexfoundry.org:10002 05:46:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:05 Configure a credential helper to remove this warning. See 05:46:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:05 05:46:05 Login Succeeded 05:46:05 nexus3.edgexfoundry.org:10003 05:46:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:06 Configure a credential helper to remove this warning. See 05:46:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:06 05:46:06 Login Succeeded 05:46:06 nexus3.edgexfoundry.org:10004 05:46:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:06 Configure a credential helper to remove this warning. See 05:46:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:06 05:46:06 Login Succeeded 05:46:06 docker.io 05:46:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:07 Configure a credential helper to remove this warning. See 05:46:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:07 05:46:07 Login Succeeded 05:46:07 ---> docker-login.sh ends [Pipeline] } 05:46:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:46:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:46:07 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 05:46:07 f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9 05:46:07 latest 05:46:07 2.2.0-dev.1 05:46:07 f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9-2.2.0-dev.1 05:46:07 main 05:46:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:46:07 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9 [Pipeline] isUnix [Pipeline] sh 05:46:08 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9 05:46:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:46:08 9c33dd20614b: Preparing 05:46:08 8950631f5c74: Preparing 05:46:08 135d6645b80d: Preparing 05:46:08 dfa24a811830: Preparing 05:46:08 e6d62fcd240c: Preparing 05:46:08 62170e181a92: Preparing 05:46:08 62170e181a92: Waiting 05:46:08 8950631f5c74: Pushed 05:46:08 e6d62fcd240c: Pushed 05:46:08 9c33dd20614b: Pushed 05:46:08 62170e181a92: Layer already exists 05:46:08 dfa24a811830: Pushed 05:46:11 135d6645b80d: Pushed 05:46:11 f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9: digest: sha256:15f74461cb5a694668f846008b99748d3c8cf813bfdcb1171134896d5f58f3f8 size: 1572 [Pipeline] isUnix [Pipeline] sh 05:46:11 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:46:12 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 05:46:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:46:12 9c33dd20614b: Preparing 05:46:12 8950631f5c74: Preparing 05:46:12 135d6645b80d: Preparing 05:46:12 dfa24a811830: Preparing 05:46:12 e6d62fcd240c: Preparing 05:46:12 62170e181a92: Preparing 05:46:12 62170e181a92: Waiting 05:46:12 dfa24a811830: Layer already exists 05:46:12 e6d62fcd240c: Layer already exists 05:46:12 8950631f5c74: Layer already exists 05:46:12 135d6645b80d: Layer already exists 05:46:12 9c33dd20614b: Layer already exists 05:46:12 62170e181a92: Layer already exists 05:46:12 latest: digest: sha256:15f74461cb5a694668f846008b99748d3c8cf813bfdcb1171134896d5f58f3f8 size: 1572 [Pipeline] isUnix [Pipeline] sh 05:46:12 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh 05:46:13 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.1 05:46:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:46:13 9c33dd20614b: Preparing 05:46:13 8950631f5c74: Preparing 05:46:13 135d6645b80d: Preparing 05:46:13 dfa24a811830: Preparing 05:46:13 e6d62fcd240c: Preparing 05:46:13 62170e181a92: Preparing 05:46:13 62170e181a92: Waiting 05:46:13 dfa24a811830: Layer already exists 05:46:13 e6d62fcd240c: Layer already exists 05:46:13 8950631f5c74: Layer already exists 05:46:13 9c33dd20614b: Layer already exists 05:46:13 135d6645b80d: Layer already exists 05:46:13 62170e181a92: Layer already exists 05:46:13 2.2.0-dev.1: digest: sha256:15f74461cb5a694668f846008b99748d3c8cf813bfdcb1171134896d5f58f3f8 size: 1572 [Pipeline] isUnix [Pipeline] sh 05:46:13 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9-2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh 05:46:14 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9-2.2.0-dev.1 05:46:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:46:14 9c33dd20614b: Preparing 05:46:14 8950631f5c74: Preparing 05:46:14 135d6645b80d: Preparing 05:46:14 dfa24a811830: Preparing 05:46:14 e6d62fcd240c: Preparing 05:46:14 62170e181a92: Preparing 05:46:14 62170e181a92: Waiting 05:46:14 e6d62fcd240c: Layer already exists 05:46:14 135d6645b80d: Layer already exists 05:46:14 9c33dd20614b: Layer already exists 05:46:14 8950631f5c74: Layer already exists 05:46:14 dfa24a811830: Layer already exists 05:46:14 62170e181a92: Layer already exists 05:46:14 f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9-2.2.0-dev.1: digest: sha256:15f74461cb5a694668f846008b99748d3c8cf813bfdcb1171134896d5f58f3f8 size: 1572 [Pipeline] isUnix [Pipeline] sh 05:46:14 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh 05:46:15 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 05:46:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:46:15 9c33dd20614b: Preparing 05:46:15 8950631f5c74: Preparing 05:46:15 135d6645b80d: Preparing 05:46:15 dfa24a811830: Preparing 05:46:15 e6d62fcd240c: Preparing 05:46:15 62170e181a92: Preparing 05:46:15 62170e181a92: Waiting 05:46:15 8950631f5c74: Layer already exists 05:46:15 135d6645b80d: Layer already exists 05:46:15 9c33dd20614b: Layer already exists 05:46:15 dfa24a811830: Layer already exists 05:46:15 e6d62fcd240c: Layer already exists 05:46:15 62170e181a92: Layer already exists 05:46:15 main: digest: sha256:15f74461cb5a694668f846008b99748d3c8cf813bfdcb1171134896d5f58f3f8 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:46:15 ===================================================== [Pipeline] echo 05:46:15 taggedImages: 05:46:15 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9 05:46:15 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 05:46:15 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.1 05:46:15 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9-2.2.0-dev.1 05:46:15 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:46:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:46:15 05:46:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:46:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:46:16 arm64: Pulling from edgex-lftools-log-publisher 05:46:16 448f6bf000e3: Pulling fs layer 05:46:16 f757da607395: Pulling fs layer 05:46:16 05883995daec: Pulling fs layer 05:46:16 8603b9c90790: Pulling fs layer 05:46:16 1560dd03e051: Pulling fs layer 05:46:16 27f5ce0e4adf: Pulling fs layer 05:46:16 8603b9c90790: Waiting 05:46:16 c2d8d7efcc4b: Pulling fs layer 05:46:16 1560dd03e051: Waiting 05:46:16 27f5ce0e4adf: Waiting 05:46:16 c2d8d7efcc4b: Waiting 05:46:16 f757da607395: Verifying Checksum 05:46:16 f757da607395: Download complete 05:46:16 8603b9c90790: Verifying Checksum 05:46:16 8603b9c90790: Download complete 05:46:16 1560dd03e051: Verifying Checksum 05:46:16 1560dd03e051: Download complete 05:46:16 27f5ce0e4adf: Verifying Checksum 05:46:16 27f5ce0e4adf: Download complete 05:46:16 05883995daec: Verifying Checksum 05:46:16 05883995daec: Download complete 05:46:17 448f6bf000e3: Download complete 05:46:19 c2d8d7efcc4b: Verifying Checksum 05:46:19 c2d8d7efcc4b: Download complete 05:46:20 448f6bf000e3: Pull complete 05:46:21 f757da607395: Pull complete 05:46:22 05883995daec: Pull complete 05:46:23 8603b9c90790: Pull complete 05:46:24 1560dd03e051: Pull complete 05:46:24 27f5ce0e4adf: Pull complete 05:46:39 c2d8d7efcc4b: Pull complete 05:46:39 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 05:46:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:46:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:46:39 prd-ubuntu18.04-docker-arm64-4c-16g-39 does not seem to be running inside a container 05:46:39 $ 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/18 -v /w/workspace/device-modbus-go/18:/w/workspace/device-modbus-go/18:rw,z -v /w/workspace/device-modbus-go/18@tmp:/w/workspace/device-modbus-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:46:42 $ docker top cbccbbfc01b6fc6893cb86e0f524566b1d90dd94f10a8e973dac9bcea907959a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:46:43 ---> job-cost.sh 05:46:43 lf-activate-venv: SKIPPING 05:46:43 INFO: No Stack... 05:46:43 INFO: Retrieving Pricing Info for: v3-standard-4 05:46:43 INFO: Archiving Costs [Pipeline] sh 05:46:44 + cat /w/workspace/device-modbus-go/18/archives/cost.csv 05:46:44 + cut -d, -f6 [Pipeline] lock 05:46:44 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-18-stack-cost] 05:46:44 Resource [jenkins-edgexfoundry-device-modbus-go-main-18-stack-cost] did not exist. Created. 05:46:44 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:46:45 /w/workspace/device-modbus-go/18@tmp/durable-fd2d27c4/script.sh: 1: /w/workspace/device-modbus-go/18@tmp/durable-fd2d27c4/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 05:46:45 + echo total: 0.2199999988079071 [Pipeline] stash 05:46:45 Warning: overwriting stash ‘stack-cost’ 05:46:45 Stashed 1 file(s) [Pipeline] } 05:46:45 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-18-stack-cost] [Pipeline] // lock [Pipeline] } 05:46:45 $ docker stop --time=1 cbccbbfc01b6fc6893cb86e0f524566b1d90dd94f10a8e973dac9bcea907959a 05:46:47 $ docker rm -f cbccbbfc01b6fc6893cb86e0f524566b1d90dd94f10a8e973dac9bcea907959a [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 05:46:47 provisioning config files... 05:46:47 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1058434419491928790tmp [Pipeline] { [Pipeline] sh 05:46:48 + set +x 05:46:48 + curl -s https://codecov.io/bash 05:46:48 + bash -s -- 05:46:48 05:46:48 _____ _ 05:46:48 / ____| | | 05:46:48 | | ___ __| | ___ ___ _____ __ 05:46:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:46:48 | |___| (_) | (_| | __/ (_| (_) \ V / 05:46:48 \_____\___/ \__,_|\___|\___\___/ \_/ 05:46:48 Bash-1.0.6 05:46:48 05:46:48 05:46:48 ==> git version 2.24.4 found 05:46:48 ==> 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 05:46:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 05:46:48 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 05:46:48 ==> Jenkins CI detected. 05:46:48 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 05:46:48 project root: . 05:46:48 --> token set from env 05:46:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:46:48 ==> Running gcov in . (disable via -X gcov) 05:46:48 ==> Python coveragepy not found 05:46:48 ==> Searching for coverage reports in: 05:46:48 + . 05:46:48 -> Found 1 reports 05:46:48 ==> Detecting git/mercurial file structure 05:46:48 ==> Reading reports 05:46:48 + ./coverage.out bytes=23727 05:46:48 ==> Appending adjustments 05:46:48 https://docs.codecov.io/docs/fixing-reports 05:46:48 + Found adjustments 05:46:48 ==> Gzipping contents 05:46:48 4.0K /tmp/codecov.bgJdXu.gz 05:46:48 ==> Uploading reports 05:46:48 url: https://codecov.io 05:46:48 query: branch=main&commit=f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:46:48 -> Pinging Codecov 05:46:48 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=f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:46:49 -> Uploading to 05:46:49 https://storage.googleapis.com/codecov/v4/raw/2021-12-01/55DBCA73C666E3227836607328DD7E49/f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9/5ffbcc08-f562-4dfd-8b2b-7b6791f80500.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211201%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211201T054648Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=05fbf9adf883697254b711ee6e9d56b0059a83edf9d1aabb0e24c9eb9130dd58 05:46:49 % Total % Received % Xferd Average Speed Time Time Time Current 05:46:49 Dload Upload Total Spent Left Speed 05:46:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3999 0 0 100 3999 0 12323 --:--:-- --:--:-- --:--:-- 12342 05:46:49 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9 [Pipeline] } 05:46:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:46:49 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:46:49 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:46:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:46:50 05:46:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 05:46:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:46:50 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:46:50 188c0c94c7c5: Pulling fs layer 05:46:50 0ef7d3d256c8: Pulling fs layer 05:46:50 de9db76c5a1d: Pulling fs layer 05:46:50 0eba1c9be4d2: Pulling fs layer 05:46:50 0d57e429df01: Pulling fs layer 05:46:50 4e4be7b47b0d: Pulling fs layer 05:46:50 e1f770b5df2f: Pulling fs layer 05:46:50 85a0685a4137: Pulling fs layer 05:46:50 0eba1c9be4d2: Waiting 05:46:50 0d57e429df01: Waiting 05:46:50 4e4be7b47b0d: Waiting 05:46:50 e1f770b5df2f: Waiting 05:46:50 85a0685a4137: Waiting 05:46:50 de9db76c5a1d: Verifying Checksum 05:46:50 de9db76c5a1d: Download complete 05:46:50 0ef7d3d256c8: Verifying Checksum 05:46:50 0ef7d3d256c8: Download complete 05:46:50 0d57e429df01: Verifying Checksum 05:46:50 0d57e429df01: Download complete 05:46:50 4e4be7b47b0d: Verifying Checksum 05:46:50 4e4be7b47b0d: Download complete 05:46:50 188c0c94c7c5: Verifying Checksum 05:46:50 188c0c94c7c5: Download complete 05:46:50 e1f770b5df2f: Verifying Checksum 05:46:50 e1f770b5df2f: Download complete 05:46:50 188c0c94c7c5: Pull complete 05:46:50 0eba1c9be4d2: Verifying Checksum 05:46:50 0eba1c9be4d2: Download complete 05:46:50 0ef7d3d256c8: Pull complete 05:46:50 de9db76c5a1d: Pull complete 05:46:51 85a0685a4137: Verifying Checksum 05:46:51 85a0685a4137: Download complete 05:46:54 0eba1c9be4d2: Pull complete 05:46:54 0d57e429df01: Pull complete 05:46:54 4e4be7b47b0d: Pull complete 05:46:55 e1f770b5df2f: Pull complete 05:47:00 85a0685a4137: Pull complete 05:47:00 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 05:47:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:47:00 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 05:47:00 prd-centos7-docker-4c-2g-41 does not seem to be running inside a container 05:47:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 05:47:03 $ docker top c9cbc3478e59018d9a94323919ea255d6df15e764372bdce9462743f14eeec1e -eo pid,comm [Pipeline] { [Pipeline] echo 05:47:03 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 05:47:03 + set -o pipefail 05:47:03 + snyk monitor '--org=edgex-jenkins' 05:47:07 05:47:07 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 05:47:07 05:47:07 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/8e001909-432c-498b-9b48-ecf54d960cdb 05:47:07 05:47:07 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 05:47:07 05:47:07 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:47:07 05:47:07 [Pipeline] } 05:47:07 $ docker stop --time=1 c9cbc3478e59018d9a94323919ea255d6df15e764372bdce9462743f14eeec1e 05:47:09 $ docker rm -f c9cbc3478e59018d9a94323919ea255d6df15e764372bdce9462743f14eeec1e [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 05:47:10 + git log --format=format:%s -1 f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9 [Pipeline] sh 05:47:10 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 05:47:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:47:11 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:47:11 . [Pipeline] withDockerContainer 05:47:11 prd-centos7-docker-4c-2g-41 does not seem to be running inside a container 05:47:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:47:11 $ docker top 6348c997d080a8fc9df7395fbaf2f9a52c678b1434ff826d892b499040edbb1b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:47:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:47:11 [ssh-agent] Looking for ssh-agent implementation... 05:47:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:47:11 $ docker exec 6348c997d080a8fc9df7395fbaf2f9a52c678b1434ff826d892b499040edbb1b ssh-agent 05:47:11 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDheeGa/agent.15 05:47:11 SSH_AGENT_PID=21 05:47:11 Running ssh-add (command line suppressed) 05:47:12 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1729189100778975252.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1729189100778975252.key) 05:47:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:47:12 + git semver tag 05:47:12 # -> Open(): unable to determine branch for HEAD 05:47:12 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 05:47:12 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 05:47:12 # $SEMVER_REMOTE_NAME = origin 05:47:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:47:12 # $SEMVER_USER_NAME = edgex-jenkins 05:47:12 # $SEMVER_BRANCH = main 05:47:12 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver 05:47:12 # f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9 HEAD 05:47:12 # -> Force: false 05:47:12 # 7b70b6ccb8e84d911dc23fc824e5ff1142631a98 refs/tags/v2.2.0-dev.1 [Pipeline] } 05:47:12 $ docker exec --env ******** --env ******** 6348c997d080a8fc9df7395fbaf2f9a52c678b1434ff826d892b499040edbb1b ssh-agent -k 05:47:12 unset SSH_AUTH_SOCK; 05:47:12 unset SSH_AGENT_PID; 05:47:12 echo Agent pid 21 killed; 05:47:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:47:12 + git semver [Pipeline] } 05:47:12 $ docker stop --time=1 6348c997d080a8fc9df7395fbaf2f9a52c678b1434ff826d892b499040edbb1b 05:47:13 $ docker rm -f 6348c997d080a8fc9df7395fbaf2f9a52c678b1434ff826d892b499040edbb1b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 05:47:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:47:14 05:47:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 05:47:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:47:14 0.23.1-centos7: Pulling from edgex-lftools 05:47:14 ab5ef0e58194: Pulling fs layer 05:47:14 9712f1f96733: Pulling fs layer 05:47:14 63f879dbbcfc: Pulling fs layer 05:47:14 0d9ebad4ef96: Pulling fs layer 05:47:14 e9a5061849ea: Pulling fs layer 05:47:14 d747dcd14b5f: Pulling fs layer 05:47:14 2de7ff778b66: Pulling fs layer 05:47:14 e9a5061849ea: Waiting 05:47:14 d747dcd14b5f: Waiting 05:47:14 2de7ff778b66: Waiting 05:47:14 0d9ebad4ef96: Waiting 05:47:14 9712f1f96733: Verifying Checksum 05:47:14 9712f1f96733: Download complete 05:47:14 63f879dbbcfc: Verifying Checksum 05:47:14 63f879dbbcfc: Download complete 05:47:15 0d9ebad4ef96: Verifying Checksum 05:47:15 0d9ebad4ef96: Download complete 05:47:15 d747dcd14b5f: Verifying Checksum 05:47:15 d747dcd14b5f: Download complete 05:47:15 ab5ef0e58194: Verifying Checksum 05:47:15 ab5ef0e58194: Download complete 05:47:15 e9a5061849ea: Verifying Checksum 05:47:15 e9a5061849ea: Download complete 05:47:15 2de7ff778b66: Verifying Checksum 05:47:15 2de7ff778b66: Download complete 05:47:18 ab5ef0e58194: Pull complete 05:47:18 9712f1f96733: Pull complete 05:47:19 63f879dbbcfc: Pull complete 05:47:23 0d9ebad4ef96: Pull complete 05:47:23 e9a5061849ea: Pull complete 05:47:23 d747dcd14b5f: Pull complete 05:47:24 2de7ff778b66: Pull complete 05:47:24 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:47:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:47:24 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 05:47:25 prd-centos7-docker-4c-2g-41 does not seem to be running inside a container 05:47:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:47:27 $ docker top 1f908dabf9ae0ebd6f9b5efec7a206801322139c814760ba6fd55eed35487c84 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:47:27 provisioning config files... 05:47:27 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6033240633290941761tmp 05:47:28 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8869306050474261779tmp 05:47:28 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9051181333900698609tmp [Pipeline] { [Pipeline] echo 05:47:28 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:47:28 ---> sigul-configuration.sh 05:47:28 gpg: directory `/root/.gnupg' created 05:47:28 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:47:28 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:47:28 gpg: keyring `/root/.gnupg/secring.gpg' created 05:47:28 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:47:28 gpg: CAST5 encrypted data 05:47:28 gpg: encrypted with 1 passphrase 05:47:28 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:47:28 + mkdir /home/jenkins 05:47:28 + mkdir /home/jenkins/sigul [Pipeline] sh 05:47:28 + 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 05:47:28 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:47:29 ---> sigul-install.sh 05:47:29 Sigul already installed; skipping installation. [Pipeline] sh 05:47:29 + git tag --list 05:47:29 0.7.1 05:47:29 v1.0.0 05:47:29 v1.1.0 05:47:29 v1.1.1 05:47:29 v1.2.2 05:47:29 v1.3.0 05:47:29 v1.3.1 05:47:29 v2.0.0 05:47:29 v2.0.1-dev.1 05:47:29 v2.0.1-dev.10 05:47:29 v2.0.1-dev.11 05:47:29 v2.0.1-dev.12 05:47:29 v2.0.1-dev.2 05:47:29 v2.0.1-dev.3 05:47:29 v2.0.1-dev.4 05:47:29 v2.0.1-dev.5 05:47:29 v2.0.1-dev.6 05:47:29 v2.0.1-dev.7 05:47:29 v2.0.1-dev.8 05:47:29 v2.0.1-dev.9 05:47:29 v2.1.0 05:47:29 v2.2.0-dev.1 [Pipeline] sh 05:47:29 + lftools sign git-tag v2.2.0-dev.1 05:47:30 Signing Git tag with Sigul... 05:47:30 Signing v2.2.0-dev.1 [Pipeline] echo 05:47:32 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:47:32 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:47:32 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:47:32 $ docker stop --time=1 1f908dabf9ae0ebd6f9b5efec7a206801322139c814760ba6fd55eed35487c84 05:47:33 $ docker rm -f 1f908dabf9ae0ebd6f9b5efec7a206801322139c814760ba6fd55eed35487c84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:47:34 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 05:47:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:47:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:47:34 . [Pipeline] withDockerContainer 05:47:34 prd-centos7-docker-4c-2g-41 does not seem to be running inside a container 05:47:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:47:35 $ docker top e9f2927528accfd169796cc6a9061766147da86eb467f69cdee2bc4d4da4dc73 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:47:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:47:35 [ssh-agent] Looking for ssh-agent implementation... 05:47:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:47:35 $ docker exec e9f2927528accfd169796cc6a9061766147da86eb467f69cdee2bc4d4da4dc73 ssh-agent 05:47:35 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkceDkp/agent.13 05:47:35 SSH_AGENT_PID=20 05:47:35 Running ssh-add (command line suppressed) 05:47:35 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6729020832615255056.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6729020832615255056.key) 05:47:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:47:35 + git semver bump pre 05:47:35 # -> Open(): unable to determine branch for HEAD 05:47:35 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 05:47:35 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 05:47:35 # $SEMVER_REMOTE_NAME = origin 05:47:35 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:47:35 # $SEMVER_USER_NAME = edgex-jenkins 05:47:35 # $SEMVER_BRANCH = main 05:47:35 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver 05:47:35 2.2.0-dev.2 [Pipeline] } 05:47:35 $ docker exec --env ******** --env ******** e9f2927528accfd169796cc6a9061766147da86eb467f69cdee2bc4d4da4dc73 ssh-agent -k 05:47:36 unset SSH_AUTH_SOCK; 05:47:36 unset SSH_AGENT_PID; 05:47:36 echo Agent pid 20 killed; 05:47:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:47:36 + git semver [Pipeline] } 05:47:36 $ docker stop --time=1 e9f2927528accfd169796cc6a9061766147da86eb467f69cdee2bc4d4da4dc73 05:47:37 $ docker rm -f e9f2927528accfd169796cc6a9061766147da86eb467f69cdee2bc4d4da4dc73 [Pipeline] // withDockerContainer [Pipeline] sh 05:47:37 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 05:47:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:47:38 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:47:38 . [Pipeline] withDockerContainer 05:47:38 prd-centos7-docker-4c-2g-41 does not seem to be running inside a container 05:47:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:47:38 $ docker top 5b3c39422d8768a532d9f73d10f2a89c9067841371187932bb64d2c5ba448043 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:47:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:47:38 [ssh-agent] Looking for ssh-agent implementation... 05:47:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:47:38 $ docker exec 5b3c39422d8768a532d9f73d10f2a89c9067841371187932bb64d2c5ba448043 ssh-agent 05:47:38 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJIcPFD/agent.13 05:47:38 SSH_AGENT_PID=19 05:47:38 Running ssh-add (command line suppressed) 05:47:39 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2915031581834651135.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2915031581834651135.key) 05:47:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:47:39 + git semver push 05:47:39 # -> Open(): unable to determine branch for HEAD 05:47:39 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 05:47:39 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 05:47:39 # $SEMVER_REMOTE_NAME = origin 05:47:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:47:39 # $SEMVER_USER_NAME = edgex-jenkins 05:47:39 # $SEMVER_BRANCH = main 05:47:39 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } 05:47:41 $ docker exec --env ******** --env ******** 5b3c39422d8768a532d9f73d10f2a89c9067841371187932bb64d2c5ba448043 ssh-agent -k 05:47:41 unset SSH_AUTH_SOCK; 05:47:41 unset SSH_AGENT_PID; 05:47:41 echo Agent pid 19 killed; 05:47:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:47:41 + git semver [Pipeline] } 05:47:41 $ docker stop --time=1 5b3c39422d8768a532d9f73d10f2a89c9067841371187932bb64d2c5ba448043 05:47:42 $ docker rm -f 5b3c39422d8768a532d9f73d10f2a89c9067841371187932bb64d2c5ba448043 [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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:47:43 + '[' -d /w/workspace/gexfoundry_device-modbus-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 05:47:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:47:44 ---> package-listing.sh 05:47:44 ++ facter osfamily 05:47:44 ++ tr '[:upper:]' '[:lower:]' 05:47:44 + OS_FAMILY=redhat 05:47:44 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 05:47:44 + START_PACKAGES=/tmp/packages_start.txt 05:47:44 + END_PACKAGES=/tmp/packages_end.txt 05:47:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:47:44 + PACKAGES=/tmp/packages_start.txt 05:47:44 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 05:47:44 + PACKAGES=/tmp/packages_end.txt 05:47:44 + case "${OS_FAMILY}" in 05:47:44 + rpm -qa 05:47:44 + sort 05:47:45 + '[' -f /tmp/packages_start.txt ']' 05:47:45 + '[' -f /tmp/packages_end.txt ']' 05:47:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:47:45 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 05:47:45 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 05:47:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 05:47:45 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 05:47:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:47:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:47:46 05:47:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:47:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:47:46 latest: Pulling from edgex-lftools-log-publisher 05:47:46 b4d181a07f80: Pulling fs layer 05:47:46 a1111a8f2ec3: Pulling fs layer 05:47:46 ed53099fbce6: Pulling fs layer 05:47:46 dc539afda2c1: Pulling fs layer 05:47:46 77bc0d833cb6: Pulling fs layer 05:47:46 9065ff56babe: Pulling fs layer 05:47:46 d287ab97295c: Pulling fs layer 05:47:46 dc539afda2c1: Waiting 05:47:46 77bc0d833cb6: Waiting 05:47:46 9065ff56babe: Waiting 05:47:46 d287ab97295c: Waiting 05:47:46 a1111a8f2ec3: Verifying Checksum 05:47:46 a1111a8f2ec3: Download complete 05:47:46 dc539afda2c1: Download complete 05:47:46 77bc0d833cb6: Verifying Checksum 05:47:46 77bc0d833cb6: Download complete 05:47:46 ed53099fbce6: Verifying Checksum 05:47:46 ed53099fbce6: Download complete 05:47:46 9065ff56babe: Verifying Checksum 05:47:46 9065ff56babe: Download complete 05:47:46 b4d181a07f80: Verifying Checksum 05:47:46 b4d181a07f80: Download complete 05:47:47 d287ab97295c: Verifying Checksum 05:47:47 d287ab97295c: Download complete 05:47:48 b4d181a07f80: Pull complete 05:47:48 a1111a8f2ec3: Pull complete 05:47:48 ed53099fbce6: Pull complete 05:47:48 dc539afda2c1: Pull complete 05:47:49 77bc0d833cb6: Pull complete 05:47:49 9065ff56babe: Pull complete 05:47:54 d287ab97295c: Pull complete 05:47:54 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 05:47:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:47:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:47:54 prd-centos7-docker-4c-2g-41 does not seem to be running inside a container 05:47:54 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:47:57 $ docker top d0275768d40c9ed2a09bab0be810a01b23dc3e8c56fbb14b5b19f9ee8d335a52 -eo pid,comm [Pipeline] { [Pipeline] sh 05:47:57 + touch /tmp/pre-build-complete [Pipeline] sh 05:47:58 + mkdir -p /var/log/sysstat [Pipeline] sh 05:47:58 + ls /var/log/sa-host 05:47:58 + sadf -c /var/log/sa-host/sa01 05:47:58 file_magic: OK 05:47:58 HZ: Using current value: 100 05:47:58 file_header: OK 05:47:58 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 05:47:58 Statistics: 05:47:58 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:47:58 File successfully converted to sysstat format version 12.0.3 05:47:58 + sadf -c /var/log/sa-host/sa17 05:47:58 file_magic: OK 05:47:58 HZ: Using current value: 100 05:47:58 file_header: OK 05:47:58 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 05:47:58 Statistics: 05:47:58 Hnuu...uuuununununu...Hnuu...uuuununununu... 05:47:58 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:47:58 provisioning config files... 05:47:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3014095753654486665tmp [Pipeline] { [Pipeline] echo 05:47:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:47:58 ---> create-netrc.sh [Pipeline] } 05:47:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:47:59 ---> python-tools-install.sh [Pipeline] echo 05:47:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:47:59 ---> sudo-logs.sh 05:47:59 Archiving 'sudo' log.. 05:47:59 sudo: unable to resolve host prd-centos7-docker-4c-2g-41.novalocal: Name or service not known 05:47:59 sudo: unable to resolve host prd-centos7-docker-4c-2g-41.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 05:47:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:47:59 ---> job-cost.sh 05:47:59 lf-activate-venv: SKIPPING 05:47:59 DEBUG: total: 0.2199999988079071 05:47:59 INFO: Retrieving Stack Cost... 05:48:00 INFO: Retrieving Pricing Info for: v3-standard-2 05:48:00 INFO: Archiving Costs [Pipeline] echo 05:48:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:48:00 ---> logs-deploy.sh 05:48:00 lf-activate-venv: SKIPPING 05:48:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/18 05:48:00 INFO: archiving workspace using pattern(s): 05:48:01 Archives upload complete. 05:48:01 INFO: archiving logs to Nexus