Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0698ca903eaff93b131c7e7a67c2b13166d23c43 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-ssh12635674376351069386.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-ssh16798570810854604074.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-ssh6241753214076747850.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-ssh130826885673299130.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-ssh2174523010659318233.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 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-76’ Running on prd-centos7-docker-4c-2g-78 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-ssh1876545923777926903.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 0698ca903eaff93b131c7e7a67c2b13166d23c43 (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 0698ca903eaff93b131c7e7a67c2b13166d23c43 # timeout=10 Commit message: "Merge pull request #302 from farshidtz/snap-config-plug-target-fix" > git rev-list --no-walk f7b9e678eab3fd6be9acc4f35ffa099c4eb353e9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:40:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:40:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:40:44 ========================================================= 11:40:44 EdgeX Global Pipelines Version Info 11:40:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:40:45 ------------------- 11:40:45 stable info: 11:40:45 ------------------- 11:40:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:40:45 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 11:40:45 Message: update stable to v1.0.217 11:40:46 ------------------- 11:40:46 experimental info: 11:40:46 ------------------- 11:40:46 Commited By: **** collab-it+edgex@linuxfoundation.org 11:40:46 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 11:40:46 Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:40:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 11:40:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 11:40:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:40:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:40:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:40:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 11:40:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:40:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:40:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:40:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:40:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:40:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 11:40:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:40:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:40:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:40:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:40:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:40:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:40:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:40:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 11:40:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:40:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:40:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:40:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:40:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:40:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:40:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 11:40:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 11:40:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 11:40:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0698ca903eaff93b131c7e7a67c2b13166d23c43 [Pipeline] echo 11:40:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0698ca9 [Pipeline] echo 11:40:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:40:46 provisioning config files... 11:40:46 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8103681201612242237tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:40:47 ---> docker-login.sh 11:40:47 nexus3.edgexfoundry.org:10001 11:40:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:40:47 Configure a credential helper to remove this warning. See 11:40:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:40:47 11:40:47 Login Succeeded 11:40:47 nexus3.edgexfoundry.org:10002 11:40:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:40:47 Configure a credential helper to remove this warning. See 11:40:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:40:47 11:40:47 Login Succeeded 11:40:47 nexus3.edgexfoundry.org:10003 11:40:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:40:47 Configure a credential helper to remove this warning. See 11:40:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:40:47 11:40:47 Login Succeeded 11:40:47 nexus3.edgexfoundry.org:10004 11:40:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:40:47 Configure a credential helper to remove this warning. See 11:40:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:40:47 11:40:47 Login Succeeded 11:40:47 docker.io 11:40:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:40:48 Configure a credential helper to remove this warning. See 11:40:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:40:48 11:40:48 Login Succeeded 11:40:48 ---> docker-login.sh ends [Pipeline] } 11:40:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:40:48 + git rev-list -1 --merges 0698ca903eaff93b131c7e7a67c2b13166d23c43~1..0698ca903eaff93b131c7e7a67c2b13166d23c43 [Pipeline] echo 11:40:48 -----------> git rev-list -1 --merges 0698ca903eaff93b131c7e7a67c2b13166d23c43~1..0698ca903eaff93b131c7e7a67c2b13166d23c43 0698ca903eaff93b131c7e7a67c2b13166d23c43 11:40:48 0698ca903eaff93b131c7e7a67c2b13166d23c43 [false] [Pipeline] sh 11:40:48 + git log --format=format:%s -1 0698ca903eaff93b131c7e7a67c2b13166d23c43 [Pipeline] echo 11:40:48 ========================================================= 11:40:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:40:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:40:49 + git log --format=format:%s -1 0698ca903eaff93b131c7e7a67c2b13166d23c43 [Pipeline] echo 11:40:49 [semverPrep] GIT_COMMIT: 0698ca903eaff93b131c7e7a67c2b13166d23c43, Commit Message: Merge pull request #302 from farshidtz/snap-config-plug-target-fix [Pipeline] echo 11:40:49 [semverPrep] This is not a build commit. [Pipeline] sh 11:40:49 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 11:40:49 + grep -v github /etc/ssh/ssh_known_hosts 11:40:49 + '[' -e /tmp/ssh_known_hosts ']' 11:40:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:40:49 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 11:40:49 + sudo tee -a /etc/ssh/ssh_known_hosts 11:40:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:40:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:40:50 11:40:50 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:40:50 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:40:50 latest: Pulling from edgex-devops/git-semver 11:40:50 a0d0a0d46f8b: Pulling fs layer 11:40:50 3e5f54012d9b: Pulling fs layer 11:40:50 4c7163046ea9: Pulling fs layer 11:40:50 0c2d73faf560: Pulling fs layer 11:40:50 0c2d73faf560: Waiting 11:40:50 3e5f54012d9b: Download complete 11:40:50 a0d0a0d46f8b: Verifying Checksum 11:40:50 a0d0a0d46f8b: Download complete 11:40:50 4c7163046ea9: Verifying Checksum 11:40:50 4c7163046ea9: Download complete 11:40:50 0c2d73faf560: Verifying Checksum 11:40:50 0c2d73faf560: Download complete 11:40:50 a0d0a0d46f8b: Pull complete 11:40:50 3e5f54012d9b: Pull complete 11:40:50 4c7163046ea9: Pull complete 11:40:51 0c2d73faf560: Pull complete 11:40:51 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 11:40:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:40:51 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:40:51 prd-centos7-docker-4c-2g-78 does not seem to be running inside a container 11:40:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:40:51 $ docker top c1bec0e9fce062da4c421fc37bc9e01021e6f5976305ea22305f5cf72c73aaf7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:40:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:40:51 [ssh-agent] Looking for ssh-agent implementation... 11:40:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:40:52 $ docker exec c1bec0e9fce062da4c421fc37bc9e01021e6f5976305ea22305f5cf72c73aaf7 ssh-agent 11:40:52 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJAfnnn/agent.13 11:40:52 SSH_AGENT_PID=19 11:40:52 Running ssh-add (command line suppressed) 11:40:52 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6751230783562424432.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6751230783562424432.key) 11:40:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:40:52 + git tag --points-at HEAD [Pipeline] } 11:40:52 $ docker exec --env ******** --env ******** c1bec0e9fce062da4c421fc37bc9e01021e6f5976305ea22305f5cf72c73aaf7 ssh-agent -k 11:40:52 unset SSH_AUTH_SOCK; 11:40:52 unset SSH_AGENT_PID; 11:40:52 echo Agent pid 19 killed; 11:40:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:40:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:40:52 [ssh-agent] Looking for ssh-agent implementation... 11:40:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:40:52 $ docker exec c1bec0e9fce062da4c421fc37bc9e01021e6f5976305ea22305f5cf72c73aaf7 ssh-agent 11:40:52 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBkiJkc/agent.52 11:40:52 SSH_AGENT_PID=59 11:40:52 Running ssh-add (command line suppressed) 11:40:53 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9175632474014610221.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9175632474014610221.key) 11:40:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:40:53 + git semver init 11:40:53 # -> Open(): unable to determine branch for HEAD 11:40:53 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 11:40:53 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 11:40:53 # $SEMVER_REMOTE_NAME = origin 11:40:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:40:53 # $SEMVER_USER_NAME = edgex-jenkins 11:40:53 # $SEMVER_BRANCH = main 11:40:53 # $SEMVER_TEMP = /tmp/semver-473549785 11:40:53 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 11:40:54 # '/tmp/semver-473549785' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' 11:40:54 # -> Force: false 11:40:54 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } 11:40:54 $ docker exec --env ******** --env ******** c1bec0e9fce062da4c421fc37bc9e01021e6f5976305ea22305f5cf72c73aaf7 ssh-agent -k 11:40:54 unset SSH_AUTH_SOCK; 11:40:54 unset SSH_AGENT_PID; 11:40:54 echo Agent pid 59 killed; 11:40:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:40:54 + git semver [Pipeline] } 11:40:54 $ docker stop --time=1 c1bec0e9fce062da4c421fc37bc9e01021e6f5976305ea22305f5cf72c73aaf7 11:40:55 $ docker rm -f c1bec0e9fce062da4c421fc37bc9e01021e6f5976305ea22305f5cf72c73aaf7 [Pipeline] // withDockerContainer [Pipeline] sh 11:40:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:40:56 Stashed 1 file(s) [Pipeline] echo 11:40:56 [edgeXSemver]: initialized semver on version 2.2.0-dev.2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 11:41:11 Still waiting to schedule task 11:41:11 Waiting for next available executor on ‘centos7-docker-4c-2g’ 11:41:11 Still waiting to schedule task 11:41:11 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-77’ 11:42:57 Running on prd-centos7-docker-4c-2g-81 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 11:42:57 Running in /w/workspace/device-modbus-go/19 [Pipeline] { [Pipeline] checkout 11:42:57 Selected Git installation does not exist. Using Default 11:42:57 The recommended git tool is: NONE 11:42:59 using credential edgex-jenkins-ssh 11:42:59 Cloning the remote Git repository 11:42:59 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 11:42:59 > git init /w/workspace/device-modbus-go/19 # timeout=10 11:42:59 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 11:42:59 > git --version # timeout=10 11:42:59 > git --version # 'git version 2.24.4' 11:42:59 using GIT_SSH to set credentials SSH Credentials for GitHub 11:42:59 [INFO] Currently running in a labeled security context 11:42:59 [INFO] Currently SELinux is 'enforcing' on the host 11:42:59 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/19@tmp/jenkins-gitclient-ssh7053779168765977279.key 11:42:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:43:00 Avoid second fetch 11:43:00 Checking out Revision 0698ca903eaff93b131c7e7a67c2b13166d23c43 (main) 11:42:59 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 11:42:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:42:59 > git config core.sparsecheckout # timeout=10 11:42:59 > git checkout -f 0698ca903eaff93b131c7e7a67c2b13166d23c43 # timeout=10 11:43:04 Commit message: "Merge pull request #302 from farshidtz/snap-config-plug-target-fix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:43:04 provisioning config files... 11:43:04 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/19@tmp/config4549527684110514356tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:43:04 ---> docker-login.sh 11:43:04 nexus3.edgexfoundry.org:10001 11:43:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:43:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:43:04 Configure a credential helper to remove this warning. See 11:43:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:43:04 11:43:04 Login Succeeded 11:43:04 nexus3.edgexfoundry.org:10002 11:43:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:43:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:43:05 Configure a credential helper to remove this warning. See 11:43:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:43:05 11:43:05 Login Succeeded 11:43:05 nexus3.edgexfoundry.org:10003 11:43:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:43:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:43:05 Configure a credential helper to remove this warning. See 11:43:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:43:05 11:43:05 Login Succeeded 11:43:05 nexus3.edgexfoundry.org:10004 11:43:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:43:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:43:05 Configure a credential helper to remove this warning. See 11:43:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:43:05 11:43:05 Login Succeeded 11:43:05 docker.io 11:43:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:43:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:43:05 Configure a credential helper to remove this warning. See 11:43:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:43:05 11:43:05 Login Succeeded 11:43:05 ---> docker-login.sh ends [Pipeline] } 11:43:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:43:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:43:05 ========================================================= 11:43:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 11:43:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:43:06 + 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 . 11:43:06 Sending build context to Docker daemon 2.966MB 11:43:06 Step 1/9 : ARG BASE=golang:1.16-alpine3.14 11:43:06 Step 2/9 : FROM ${BASE} AS builder 11:43:06 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 11:43:06 a0d0a0d46f8b: Pulling fs layer 11:43:06 31adcdaf11c8: Pulling fs layer 11:43:06 b8b176561691: Pulling fs layer 11:43:06 4527c011a84f: Pulling fs layer 11:43:06 5d74067f8e1e: Pulling fs layer 11:43:06 e0aca202a116: Pulling fs layer 11:43:06 3a43be97a3b4: Pulling fs layer 11:43:06 34cad66bf833: Pulling fs layer 11:43:06 b4e3c513aaa6: Pulling fs layer 11:43:06 4527c011a84f: Waiting 11:43:06 5d74067f8e1e: Waiting 11:43:06 e0aca202a116: Waiting 11:43:06 3a43be97a3b4: Waiting 11:43:06 34cad66bf833: Waiting 11:43:06 b4e3c513aaa6: Waiting 11:43:06 b8b176561691: Verifying Checksum 11:43:06 b8b176561691: Download complete 11:43:06 31adcdaf11c8: Verifying Checksum 11:43:06 31adcdaf11c8: Download complete 11:43:06 5d74067f8e1e: Verifying Checksum 11:43:06 5d74067f8e1e: Download complete 11:43:06 e0aca202a116: Verifying Checksum 11:43:06 e0aca202a116: Download complete 11:43:06 3a43be97a3b4: Verifying Checksum 11:43:06 3a43be97a3b4: Download complete 11:43:06 a0d0a0d46f8b: Verifying Checksum 11:43:06 a0d0a0d46f8b: Download complete 11:43:06 34cad66bf833: Verifying Checksum 11:43:06 34cad66bf833: Download complete 11:43:06 b4e3c513aaa6: Verifying Checksum 11:43:06 b4e3c513aaa6: Download complete 11:43:06 a0d0a0d46f8b: Pull complete 11:43:06 4527c011a84f: Verifying Checksum 11:43:06 4527c011a84f: Download complete 11:43:06 31adcdaf11c8: Pull complete 11:43:07 b8b176561691: Pull complete 11:43:11 4527c011a84f: Pull complete 11:43:11 5d74067f8e1e: Pull complete 11:43:11 e0aca202a116: Pull complete 11:43:11 3a43be97a3b4: Pull complete 11:43:11 34cad66bf833: Pull complete 11:43:13 b4e3c513aaa6: Pull complete 11:43:13 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 11:43:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 11:43:13 ---> 9f6097aaca64 11:43:13 Step 3/9 : ARG MAKE='make build' 11:43:18 ---> Running in 1b6435462789 11:43:18 Removing intermediate container 1b6435462789 11:43:18 ---> b27e9eb6f00c 11:43:18 Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:43:18 ---> Running in 0199d931275a 11:43:18 Removing intermediate container 0199d931275a 11:43:18 ---> caad79f6c014 11:43:18 Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 11:43:18 ---> Running in 3593959b1ff8 11:43:18 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 11:43:19 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 11:43:19 (1/8) Installing openssh-keygen (8.6_p1-r3) 11:43:19 (2/8) Installing libedit (20210216.3.1-r0) 11:43:19 (3/8) Installing openssh-client-common (8.6_p1-r3) 11:43:20 (4/8) Installing openssh-client-default (8.6_p1-r3) 11:43:20 (5/8) Installing openssh-sftp-server (8.6_p1-r3) 11:43:20 (6/8) Installing openssh-server-common (8.6_p1-r3) 11:43:20 (7/8) Installing openssh-server (8.6_p1-r3) 11:43:20 (8/8) Installing openssh (8.6_p1-r3) 11:43:20 Executing busybox-1.33.1-r3.trigger 11:43:20 OK: 226 MiB in 60 packages 11:43:20 Removing intermediate container 3593959b1ff8 11:43:20 ---> e8f31ef9e03d 11:43:20 Step 6/9 : WORKDIR /device-modbus-go 11:43:20 ---> Running in deaa2ae28eaf 11:43:20 Removing intermediate container deaa2ae28eaf 11:43:20 ---> 06e6b9e32385 11:43:20 Step 7/9 : COPY . . 11:43:21 ---> 1a0fac5b4626 11:43:21 Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:43:21 ---> Running in 250c347287a5 11:43:26 Running on prd-ubuntu18.04-docker-arm64-4c-16g-80 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 11:43:26 Running in /w/workspace/device-modbus-go/19 [Pipeline] { [Pipeline] checkout 11:43:26 Selected Git installation does not exist. Using Default 11:43:26 The recommended git tool is: NONE 11:43:31 using credential edgex-jenkins-ssh 11:43:31 Cloning the remote Git repository 11:43:31 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 11:43:31 > git init /w/workspace/device-modbus-go/19 # timeout=10 11:43:31 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 11:43:31 > git --version # timeout=10 11:43:31 > git --version # 'git version 2.17.1' 11:43:31 using GIT_SSH to set credentials SSH Credentials for GitHub 11:43:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:43:33 Avoid second fetch 11:43:33 Checking out Revision 0698ca903eaff93b131c7e7a67c2b13166d23c43 (main) 11:43:33 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 11:43:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:43:33 > git config core.sparsecheckout # timeout=10 11:43:33 > git checkout -f 0698ca903eaff93b131c7e7a67c2b13166d23c43 # timeout=10 11:43:37 Commit message: "Merge pull request #302 from farshidtz/snap-config-plug-target-fix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:43:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:43:38 % Total % Received % Xferd Average Speed Time Time Time Current 11:43:38 Dload Upload Total Spent Left Speed 11:43:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 245k 0 --:--:-- --:--:-- --:--:-- 245k [Pipeline] sh 11:43:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:43:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:43:39 + sudo tee /etc/docker/daemon.new 11:43:39 { 11:43:39 "registry-mirrors": [ 11:43:39 "https://nexus3.edgexfoundry.org:10001" 11:43:39 ], 11:43:39 "bip": "10.250.0.254/24", 11:43:39 "hosts": [ 11:43:39 "tcp://0.0.0.0:5555", 11:43:39 "unix:///var/run/docker.sock" 11:43:39 ], 11:43:39 "mtu": 1458, 11:43:39 "selinux-enabled": true, 11:43:39 "seccomp-profile": "/etc/docker/seccomp.json" 11:43:39 } [Pipeline] sh 11:43:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:43:39 + sudo service docker restart 11:43:53 Removing intermediate container 250c347287a5 11:43:53 ---> aaa927e65b33 11:43:53 Step 9/9 : RUN ${MAKE} 11:43:53 ---> Running in 21b765353121 11:43:53 noop 11:43:53 Removing intermediate container 21b765353121 11:43:53 ---> 6b436cc0b5fa 11:43:53 Successfully built 6b436cc0b5fa 11:43:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 11:43:53 + docker inspect -f . ci-base-image-x86_64 11:43:53 . [Pipeline] withDockerContainer 11:43:53 prd-centos7-docker-4c-2g-81 does not seem to be running inside a container 11:43:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/19 -v /w/workspace/device-modbus-go/19:/w/workspace/device-modbus-go/19:rw,z -v /w/workspace/device-modbus-go/19@tmp:/w/workspace/device-modbus-go/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:43:54 $ docker top 02c0c5c4928ad03065ba45db5fbf28a0495d6ff6df4b4018fd87208430056c43 -eo pid,comm [Pipeline] { [Pipeline] sh 11:43:54 + go version 11:43:54 go version go1.16.8 linux/amd64 [Pipeline] } 11:43:54 $ docker stop --time=1 02c0c5c4928ad03065ba45db5fbf28a0495d6ff6df4b4018fd87208430056c43 11:43:55 $ docker rm -f 02c0c5c4928ad03065ba45db5fbf28a0495d6ff6df4b4018fd87208430056c43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:43:56 + docker inspect -f . ci-base-image-x86_64 11:43:56 . [Pipeline] withDockerContainer 11:43:56 prd-centos7-docker-4c-2g-81 does not seem to be running inside a container 11:43:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/19 -v /w/workspace/device-modbus-go/19:/w/workspace/device-modbus-go/19:rw,z -v /w/workspace/device-modbus-go/19@tmp:/w/workspace/device-modbus-go/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:43:56 $ docker top 1dba94fec2fda0935958fdcc02cb6f73259e1099943737a04513bdd2b1475516 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:43:56 + make test 11:43:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:43:57 ? github.com/edgexfoundry/device-modbus-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:43:58 provisioning config files... 11:43:58 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/19@tmp/config6325990359394359971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:43:58 ---> docker-login.sh 11:43:58 nexus3.edgexfoundry.org:10001 11:43:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:43:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:43:59 Configure a credential helper to remove this warning. See 11:43:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:43:59 11:43:59 Login Succeeded 11:43:59 nexus3.edgexfoundry.org:10002 11:43:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:43:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:43:59 Configure a credential helper to remove this warning. See 11:43:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:43:59 11:43:59 Login Succeeded 11:43:59 nexus3.edgexfoundry.org:10003 11:43:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:44:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:44:00 Configure a credential helper to remove this warning. See 11:44:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:44:00 11:44:00 Login Succeeded 11:44:00 nexus3.edgexfoundry.org:10004 11:44:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:44:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:44:00 Configure a credential helper to remove this warning. See 11:44:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:44:00 11:44:00 Login Succeeded 11:44:00 docker.io 11:44:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:44:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:44:01 Configure a credential helper to remove this warning. See 11:44:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:44:01 11:44:01 Login Succeeded 11:44:01 ---> docker-login.sh ends [Pipeline] } 11:44:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:44:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:44:01 ========================================================= 11:44:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 11:44:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:44:02 + 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 . 11:44:02 Sending build context to Docker daemon 2.964MB 11:44:02 Step 1/9 : ARG BASE=golang:1.16-alpine3.14 11:44:02 Step 2/9 : FROM ${BASE} AS builder 11:44:02 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:44:02 552d1f2373af: Pulling fs layer 11:44:02 ea3f2d53f512: Pulling fs layer 11:44:02 9e70ebbbe112: Pulling fs layer 11:44:02 7a9cfe048b4a: Pulling fs layer 11:44:02 72dc09318566: Pulling fs layer 11:44:02 f4f7b4309257: Pulling fs layer 11:44:02 0ac9a79272e3: Pulling fs layer 11:44:02 b78e95d17946: Pulling fs layer 11:44:02 f4f7b4309257: Waiting 11:44:02 0ac9a79272e3: Waiting 11:44:02 7a9cfe048b4a: Waiting 11:44:02 b78e95d17946: Waiting 11:44:02 9e70ebbbe112: Download complete 11:44:02 ea3f2d53f512: Download complete 11:44:02 72dc09318566: Verifying Checksum 11:44:02 72dc09318566: Download complete 11:44:02 f4f7b4309257: Verifying Checksum 11:44:02 f4f7b4309257: Download complete 11:44:02 552d1f2373af: Verifying Checksum 11:44:02 552d1f2373af: Download complete 11:44:02 0ac9a79272e3: Verifying Checksum 11:44:02 0ac9a79272e3: Download complete 11:44:03 552d1f2373af: Pull complete 11:44:04 ea3f2d53f512: Pull complete 11:44:04 9e70ebbbe112: Pull complete 11:44:04 b78e95d17946: Verifying Checksum 11:44:04 b78e95d17946: Download complete 11:44:05 7a9cfe048b4a: Verifying Checksum 11:44:05 7a9cfe048b4a: Download complete 11:44:12 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 11:44:12 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 46.6% of statements 11:44:12 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:44:17 7a9cfe048b4a: Pull complete 11:44:17 72dc09318566: Pull complete 11:44:17 f4f7b4309257: Pull complete 11:44:17 0ac9a79272e3: Pull complete 11:44:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:44:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:44:19 ./bin/test-attribution-txt.sh [Pipeline] echo 11:44:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:44:19 $ docker stop --time=1 1dba94fec2fda0935958fdcc02cb6f73259e1099943737a04513bdd2b1475516 11:44:20 $ docker rm -f 1dba94fec2fda0935958fdcc02cb6f73259e1099943737a04513bdd2b1475516 [Pipeline] // withDockerContainer [Pipeline] sh 11:44:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:44:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:44:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:44:23 + ls -al . 11:44:23 total 152 11:44:23 drwxrwxr-x. 9 jenkins jenkins 4096 Dec 2 11:44 . 11:44:23 drwxrwxr-x. 4 jenkins jenkins 30 Dec 2 11:42 .. 11:44:23 -rw-rw-r--. 1 jenkins jenkins 8010 Dec 2 11:42 Attribution.txt 11:44:23 drwxrwxr-x. 2 jenkins jenkins 60 Dec 2 11:42 bin 11:44:23 -rw-rw-r--. 1 jenkins jenkins 6038 Dec 2 11:42 CHANGELOG.md 11:44:23 drwxrwxr-x. 3 jenkins jenkins 32 Dec 2 11:42 cmd 11:44:23 -rw-r--r--. 1 jenkins jenkins 23727 Dec 2 11:44 coverage.out 11:44:23 -rw-rw-r--. 1 jenkins jenkins 1523 Dec 2 11:42 Dockerfile 11:44:23 -rw-rw-r--. 1 jenkins jenkins 140 Dec 2 11:42 .dockerignore 11:44:23 drwxrwxr-x. 8 jenkins jenkins 162 Dec 2 11:43 .git 11:44:23 drwxrwxr-x. 2 jenkins jenkins 103 Dec 2 11:42 .github 11:44:23 -rw-rw-r--. 1 jenkins jenkins 331 Dec 2 11:42 .gitignore 11:44:23 -rw-rw-r--. 1 jenkins jenkins 300 Dec 2 11:42 go.mod 11:44:23 -rw-rw-r--. 1 jenkins jenkins 49511 Dec 2 11:42 go.sum 11:44:23 -rw-rw-r--. 1 jenkins jenkins 677 Dec 2 11:42 GOVERNANCE.md 11:44:23 drwxrwxr-x. 3 jenkins jenkins 20 Dec 2 11:42 internal 11:44:23 -rw-rw-r--. 1 jenkins jenkins 679 Dec 2 11:42 Jenkinsfile 11:44:23 -rw-rw-r--. 1 jenkins jenkins 11340 Dec 2 11:42 LICENSE 11:44:23 -rw-rw-r--. 1 jenkins jenkins 1009 Dec 2 11:42 Makefile 11:44:23 -rw-rw-r--. 1 jenkins jenkins 622 Dec 2 11:42 OWNERS.md 11:44:23 -rw-rw-r--. 1 jenkins jenkins 3488 Dec 2 11:42 README.md 11:44:23 drwxrwxr-x. 2 jenkins jenkins 52 Dec 2 11:42 simulator 11:44:23 drwxrwxr-x. 4 jenkins jenkins 71 Dec 2 11:42 snap 11:44:23 -rw-rw-r--. 1 jenkins jenkins 11 Dec 2 11:40 VERSION 11:44:23 -rw-rw-r--. 1 jenkins jenkins 229 Dec 2 11:42 version.go [Pipeline] isUnix [Pipeline] sh 11:44:23 + 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=0698ca903eaff93b131c7e7a67c2b13166d23c43 --label arch=amd64 --label version=2.2.0-dev.2 . 11:44:23 Sending build context to Docker daemon 2.99MB 11:44:23 Step 1/22 : ARG BASE=golang:1.16-alpine3.14 11:44:23 Step 2/22 : FROM ${BASE} AS builder 11:44:23 ---> 6b436cc0b5fa 11:44:23 Step 3/22 : ARG MAKE='make build' 11:44:23 ---> Running in f2e0d26e7fea 11:44:23 Removing intermediate container f2e0d26e7fea 11:44:23 ---> 000d3417aebe 11:44:23 Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:44:23 ---> Running in 0d7bde499752 11:44:23 b78e95d17946: Pull complete 11:44:23 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 11:44:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 11:44:23 ---> 8b459fc5aaf0 11:44:23 Step 3/9 : ARG MAKE='make build' 11:44:23 Removing intermediate container 0d7bde499752 11:44:23 ---> 4d0fa00882b5 11:44:23 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 11:44:23 ---> Running in b98e11eaea61 11:44:24 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 11:44:25 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 11:44:25 OK: 226 MiB in 60 packages 11:44:25 Removing intermediate container b98e11eaea61 11:44:25 ---> 4aeb83399c9d 11:44:25 Step 6/22 : WORKDIR /device-modbus-go 11:44:25 ---> Running in e9d23b3bc3d1 11:44:25 ---> Running in 29f4c705e757 11:44:25 Removing intermediate container 29f4c705e757 11:44:25 ---> 7d7d9c8163b7 11:44:25 Step 7/22 : COPY . . 11:44:25 Removing intermediate container e9d23b3bc3d1 11:44:25 ---> 540b12fe45d2 11:44:25 Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:44:25 ---> 24f2011dc102 11:44:25 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:44:25 ---> Running in bb53216d4480 11:44:26 ---> Running in 8cfaee61e631 11:44:26 Removing intermediate container bb53216d4480 11:44:26 ---> 1562931c2dec 11:44:26 Step 9/22 : RUN ${MAKE} 11:44:26 ---> Running in b246f353e769 11:44:26 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.2" -o cmd/device-modbus ./cmd 11:44:27 Removing intermediate container 8cfaee61e631 11:44:27 ---> ffe553570828 11:44:27 Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 11:44:27 ---> Running in 378041532a58 11:44:28 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 11:44:29 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 11:44:30 (1/8) Installing openssh-keygen (8.6_p1-r3) 11:44:30 (2/8) Installing libedit (20210216.3.1-r0) 11:44:30 (3/8) Installing openssh-client-common (8.6_p1-r3) 11:44:31 (4/8) Installing openssh-client-default (8.6_p1-r3) 11:44:31 (5/8) Installing openssh-sftp-server (8.6_p1-r3) 11:44:31 (6/8) Installing openssh-server-common (8.6_p1-r3) 11:44:31 (7/8) Installing openssh-server (8.6_p1-r3) 11:44:31 (8/8) Installing openssh (8.6_p1-r3) 11:44:31 Executing busybox-1.33.1-r3.trigger 11:44:31 OK: 225 MiB in 60 packages 11:44:32 Removing intermediate container 378041532a58 11:44:32 ---> bf73924f5eb4 11:44:32 Step 6/9 : WORKDIR /device-modbus-go 11:44:33 ---> Running in 1c0701bf6232 11:44:33 Removing intermediate container 1c0701bf6232 11:44:33 ---> 6ec952d5e07d 11:44:33 Step 7/9 : COPY . . 11:44:34 ---> a705ea3fcf54 11:44:34 Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:44:34 ---> Running in ef27ef59da83 11:44:39 Removing intermediate container b246f353e769 11:44:39 ---> 70481da71cf2 11:44:39 Step 10/22 : FROM alpine:3.14 11:44:39 3.14: Pulling from library/alpine 11:44:39 97518928ae5f: Pulling fs layer 11:44:39 97518928ae5f: Verifying Checksum 11:44:39 97518928ae5f: Download complete 11:44:39 97518928ae5f: Pull complete 11:44:39 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 11:44:39 Status: Downloaded newer image for alpine:3.14 11:44:39 ---> 0a97eee8041e 11:44:39 Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 11:44:39 ---> Running in 87850b4bf0a7 11:44:39 Removing intermediate container 87850b4bf0a7 11:44:39 ---> e583493f4c6c 11:44:39 Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:44:39 ---> Running in 6a970421ea46 11:44:40 Removing intermediate container 6a970421ea46 11:44:40 ---> 71c72bb4e0ce 11:44:40 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 11:44:40 ---> Running in c123168b5ef2 11:44:40 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 11:44:41 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 11:44:41 (1/6) Installing dumb-init (1.2.5-r1) 11:44:41 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:44:41 (3/6) Installing libsodium (1.0.18-r0) 11:44:42 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:44:42 (5/6) Installing libzmq (4.3.4-r0) 11:44:42 (6/6) Installing zeromq (4.3.4-r0) 11:44:42 Executing busybox-1.33.1-r6.trigger 11:44:42 OK: 8 MiB in 20 packages 11:44:42 Removing intermediate container c123168b5ef2 11:44:42 ---> dfeaa1467f83 11:44:42 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 11:44:43 ---> 53ba56252e45 11:44:43 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 11:44:43 ---> f22abe701a9b 11:44:43 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 11:44:43 ---> fe91a5f29f67 11:44:43 Step 17/22 : EXPOSE 59901 11:44:43 ---> Running in 6dc5f73fef53 11:44:43 Removing intermediate container 6dc5f73fef53 11:44:43 ---> 8b0a880ce4ec 11:44:43 Step 18/22 : ENTRYPOINT ["/device-modbus"] 11:44:43 ---> Running in 2575ae1e0384 11:44:43 Removing intermediate container 2575ae1e0384 11:44:43 ---> e347d551b9bc 11:44:43 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:44:43 ---> Running in cb7dad1ce88f 11:44:43 Removing intermediate container cb7dad1ce88f 11:44:43 ---> b654bc4e2f16 11:44:43 Step 20/22 : LABEL arch=amd64 11:44:43 ---> Running in 7ea09e97811d 11:44:43 Removing intermediate container 7ea09e97811d 11:44:43 ---> 38a5d9432c39 11:44:43 Step 21/22 : LABEL git_sha=0698ca903eaff93b131c7e7a67c2b13166d23c43 11:44:43 ---> Running in 0d5b366c6c4a 11:44:43 Removing intermediate container 0d5b366c6c4a 11:44:43 ---> 0681fa51efec 11:44:43 Step 22/22 : LABEL version=2.2.0-dev.2 11:44:44 ---> Running in ffe00802ac7e 11:44:44 Removing intermediate container ffe00802ac7e 11:44:44 ---> bb07d45a78d5 11:44:44 [Warning] One or more build-args [ARCH] were not consumed 11:44:44 Successfully built bb07d45a78d5 11:44:44 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:44:44 provisioning config files... 11:44:44 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/19@tmp/config7232596749395049812tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:44:44 ---> docker-login.sh 11:44:44 nexus3.edgexfoundry.org:10001 11:44:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:44:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:44:44 Configure a credential helper to remove this warning. See 11:44:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:44:44 11:44:44 Login Succeeded 11:44:44 nexus3.edgexfoundry.org:10002 11:44:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:44:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:44:44 Configure a credential helper to remove this warning. See 11:44:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:44:44 11:44:44 Login Succeeded 11:44:44 nexus3.edgexfoundry.org:10003 11:44:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:44:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:44:44 Configure a credential helper to remove this warning. See 11:44:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:44:44 11:44:44 Login Succeeded 11:44:44 nexus3.edgexfoundry.org:10004 11:44:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:44:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:44:44 Configure a credential helper to remove this warning. See 11:44:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:44:44 11:44:44 Login Succeeded 11:44:44 docker.io 11:44:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:44:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:44:45 Configure a credential helper to remove this warning. See 11:44:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:44:45 11:44:45 Login Succeeded 11:44:45 ---> docker-login.sh ends [Pipeline] } 11:44:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:44:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:44:45 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 11:44:45 0698ca903eaff93b131c7e7a67c2b13166d23c43 11:44:45 latest 11:44:45 2.2.0-dev.2 11:44:45 0698ca903eaff93b131c7e7a67c2b13166d23c43-2.2.0-dev.2 11:44:45 main 11:44:45 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:44:45 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:0698ca903eaff93b131c7e7a67c2b13166d23c43 [Pipeline] isUnix [Pipeline] sh 11:44:46 + docker push nexus3.edgexfoundry.org:10004/device-modbus:0698ca903eaff93b131c7e7a67c2b13166d23c43 11:44:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 11:44:46 fc14b9c4f85b: Preparing 11:44:46 4da19d0e7e24: Preparing 11:44:46 46176356f3c1: Preparing 11:44:46 fcd1c732c2ef: Preparing 11:44:46 5c6513180ab8: Preparing 11:44:46 1a058d5342cc: Preparing 11:44:46 1a058d5342cc: Waiting 11:44:46 fc14b9c4f85b: Pushed 11:44:46 1a058d5342cc: Layer already exists 11:44:46 4da19d0e7e24: Pushed 11:44:46 5c6513180ab8: Pushed 11:44:46 fcd1c732c2ef: Pushed 11:44:47 46176356f3c1: Pushed 11:44:47 0698ca903eaff93b131c7e7a67c2b13166d23c43: digest: sha256:4e92fee2f6fb9bcc3d90cecc972d7412085537825e6929bd7946e51f6a3f831c size: 1573 [Pipeline] isUnix [Pipeline] sh 11:44:47 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh 11:44:47 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 11:44:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 11:44:47 fc14b9c4f85b: Preparing 11:44:47 4da19d0e7e24: Preparing 11:44:47 46176356f3c1: Preparing 11:44:47 fcd1c732c2ef: Preparing 11:44:47 5c6513180ab8: Preparing 11:44:47 1a058d5342cc: Preparing 11:44:47 1a058d5342cc: Waiting 11:44:47 4da19d0e7e24: Layer already exists 11:44:47 fcd1c732c2ef: Layer already exists 11:44:47 46176356f3c1: Layer already exists 11:44:47 5c6513180ab8: Layer already exists 11:44:47 fc14b9c4f85b: Layer already exists 11:44:47 1a058d5342cc: Layer already exists 11:44:47 latest: digest: sha256:4e92fee2f6fb9bcc3d90cecc972d7412085537825e6929bd7946e51f6a3f831c size: 1573 [Pipeline] isUnix [Pipeline] sh 11:44:48 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.2 [Pipeline] isUnix [Pipeline] sh 11:44:48 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.2 11:44:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 11:44:48 fc14b9c4f85b: Preparing 11:44:48 4da19d0e7e24: Preparing 11:44:48 46176356f3c1: Preparing 11:44:48 fcd1c732c2ef: Preparing 11:44:48 5c6513180ab8: Preparing 11:44:48 1a058d5342cc: Preparing 11:44:48 1a058d5342cc: Waiting 11:44:48 5c6513180ab8: Layer already exists 11:44:48 4da19d0e7e24: Layer already exists 11:44:48 fc14b9c4f85b: Layer already exists 11:44:48 46176356f3c1: Layer already exists 11:44:48 fcd1c732c2ef: Layer already exists 11:44:48 1a058d5342cc: Layer already exists 11:44:48 2.2.0-dev.2: digest: sha256:4e92fee2f6fb9bcc3d90cecc972d7412085537825e6929bd7946e51f6a3f831c size: 1573 [Pipeline] isUnix [Pipeline] sh 11:44:48 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:0698ca903eaff93b131c7e7a67c2b13166d23c43-2.2.0-dev.2 [Pipeline] isUnix [Pipeline] sh 11:44:49 + docker push nexus3.edgexfoundry.org:10004/device-modbus:0698ca903eaff93b131c7e7a67c2b13166d23c43-2.2.0-dev.2 11:44:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 11:44:49 fc14b9c4f85b: Preparing 11:44:49 4da19d0e7e24: Preparing 11:44:49 46176356f3c1: Preparing 11:44:49 fcd1c732c2ef: Preparing 11:44:49 5c6513180ab8: Preparing 11:44:49 1a058d5342cc: Preparing 11:44:49 1a058d5342cc: Waiting 11:44:49 4da19d0e7e24: Layer already exists 11:44:49 5c6513180ab8: Layer already exists 11:44:49 fcd1c732c2ef: Layer already exists 11:44:49 46176356f3c1: Layer already exists 11:44:49 fc14b9c4f85b: Layer already exists 11:44:49 1a058d5342cc: Layer already exists 11:44:49 0698ca903eaff93b131c7e7a67c2b13166d23c43-2.2.0-dev.2: digest: sha256:4e92fee2f6fb9bcc3d90cecc972d7412085537825e6929bd7946e51f6a3f831c size: 1573 [Pipeline] isUnix [Pipeline] sh 11:44:49 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh 11:44:49 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 11:44:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 11:44:49 fc14b9c4f85b: Preparing 11:44:49 4da19d0e7e24: Preparing 11:44:49 46176356f3c1: Preparing 11:44:49 fcd1c732c2ef: Preparing 11:44:49 5c6513180ab8: Preparing 11:44:49 1a058d5342cc: Preparing 11:44:49 1a058d5342cc: Waiting 11:44:49 4da19d0e7e24: Layer already exists 11:44:49 fcd1c732c2ef: Layer already exists 11:44:49 fc14b9c4f85b: Layer already exists 11:44:49 46176356f3c1: Layer already exists 11:44:49 5c6513180ab8: Layer already exists 11:44:49 1a058d5342cc: Layer already exists 11:44:49 main: digest: sha256:4e92fee2f6fb9bcc3d90cecc972d7412085537825e6929bd7946e51f6a3f831c size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:44:49 ===================================================== [Pipeline] echo 11:44:49 taggedImages: 11:44:49 - nexus3.edgexfoundry.org:10004/device-modbus:0698ca903eaff93b131c7e7a67c2b13166d23c43 11:44:49 - nexus3.edgexfoundry.org:10004/device-modbus:latest 11:44:49 - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.2 11:44:49 - nexus3.edgexfoundry.org:10004/device-modbus:0698ca903eaff93b131c7e7a67c2b13166d23c43-2.2.0-dev.2 11:44:49 - 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 11:44:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:44:50 11:44:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 11:44:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:44:50 latest: Pulling from edgex-lftools-log-publisher 11:44:50 b4d181a07f80: Pulling fs layer 11:44:50 a1111a8f2ec3: Pulling fs layer 11:44:50 ed53099fbce6: Pulling fs layer 11:44:50 dc539afda2c1: Pulling fs layer 11:44:50 77bc0d833cb6: Pulling fs layer 11:44:50 9065ff56babe: Pulling fs layer 11:44:50 d287ab97295c: Pulling fs layer 11:44:50 dc539afda2c1: Waiting 11:44:50 77bc0d833cb6: Waiting 11:44:50 9065ff56babe: Waiting 11:44:50 d287ab97295c: Waiting 11:44:50 a1111a8f2ec3: Verifying Checksum 11:44:50 a1111a8f2ec3: Download complete 11:44:50 dc539afda2c1: Verifying Checksum 11:44:50 dc539afda2c1: Download complete 11:44:50 ed53099fbce6: Verifying Checksum 11:44:50 ed53099fbce6: Download complete 11:44:50 9065ff56babe: Verifying Checksum 11:44:50 9065ff56babe: Download complete 11:44:50 77bc0d833cb6: Verifying Checksum 11:44:50 77bc0d833cb6: Download complete 11:44:50 b4d181a07f80: Verifying Checksum 11:44:50 b4d181a07f80: Download complete 11:44:51 d287ab97295c: Verifying Checksum 11:44:51 d287ab97295c: Download complete 11:44:52 b4d181a07f80: Pull complete 11:44:52 a1111a8f2ec3: Pull complete 11:44:52 ed53099fbce6: Pull complete 11:44:52 dc539afda2c1: Pull complete 11:44:53 77bc0d833cb6: Pull complete 11:44:53 9065ff56babe: Pull complete 11:44:58 d287ab97295c: Pull complete 11:44:58 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 11:44:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:44:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 11:44:58 prd-centos7-docker-4c-2g-81 does not seem to be running inside a container 11:44:58 $ 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/19 -v /w/workspace/device-modbus-go/19:/w/workspace/device-modbus-go/19:rw,z -v /w/workspace/device-modbus-go/19@tmp:/w/workspace/device-modbus-go/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:45:03 $ docker top 1ef649b2c7186c39d2e9043b3d2d775c9c4645b49e5a090056ea5e1b1b1de8d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:45:03 ---> job-cost.sh 11:45:03 lf-activate-venv: SKIPPING 11:45:03 INFO: No Stack... 11:45:03 INFO: Retrieving Pricing Info for: v3-standard-2 11:45:04 INFO: Archiving Costs [Pipeline] sh 11:45:04 + cat /w/workspace/device-modbus-go/19/archives/cost.csv 11:45:04 + cut -d, -f6 [Pipeline] lock 11:45:04 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-19-stack-cost] 11:45:04 Resource [jenkins-edgexfoundry-device-modbus-go-main-19-stack-cost] did not exist. Created. 11:45:04 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:45:04 + echo total: 0.05999999865889549 [Pipeline] stash 11:45:04 Stashed 1 file(s) [Pipeline] } 11:45:04 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-19-stack-cost] [Pipeline] // lock [Pipeline] } 11:45:04 $ docker stop --time=1 1ef649b2c7186c39d2e9043b3d2d775c9c4645b49e5a090056ea5e1b1b1de8d4 11:45:06 $ docker rm -f 1ef649b2c7186c39d2e9043b3d2d775c9c4645b49e5a090056ea5e1b1b1de8d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 11:45:56 Removing intermediate container ef27ef59da83 11:45:56 ---> 156bd6b1bd6d 11:45:56 Step 9/9 : RUN ${MAKE} 11:45:56 ---> Running in 490f5eecca7c 11:45:56 noop 11:45:56 Removing intermediate container 490f5eecca7c 11:45:56 ---> d44b56b954fe 11:45:56 Successfully built d44b56b954fe 11:45:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:45:56 + docker inspect -f . ci-base-image-arm64 11:45:56 . [Pipeline] withDockerContainer 11:45:56 prd-ubuntu18.04-docker-arm64-4c-16g-80 does not seem to be running inside a container 11:45:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/19 -v /w/workspace/device-modbus-go/19:/w/workspace/device-modbus-go/19:rw,z -v /w/workspace/device-modbus-go/19@tmp:/w/workspace/device-modbus-go/19@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 11:45:57 $ docker top 3ded9cf9e1bcbb875f363809cafa223565a546d387dbb3b2b59b131492601c72 -eo pid,comm [Pipeline] { [Pipeline] sh 11:45:58 + go version 11:45:58 go version go1.16.8 linux/arm64 [Pipeline] } 11:45:58 $ docker stop --time=1 3ded9cf9e1bcbb875f363809cafa223565a546d387dbb3b2b59b131492601c72 11:46:00 $ docker rm -f 3ded9cf9e1bcbb875f363809cafa223565a546d387dbb3b2b59b131492601c72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:46:01 + docker inspect -f . ci-base-image-arm64 11:46:01 . [Pipeline] withDockerContainer 11:46:01 prd-ubuntu18.04-docker-arm64-4c-16g-80 does not seem to be running inside a container 11:46:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/19 -v /w/workspace/device-modbus-go/19:/w/workspace/device-modbus-go/19:rw,z -v /w/workspace/device-modbus-go/19@tmp:/w/workspace/device-modbus-go/19@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 11:46:02 $ docker top 2f3055e7df2bce4be270eb570c5aead9e8a755d930aa43c0ec3a36cddba4ad6b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:46:03 + make test 11:46:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:46:04 ? github.com/edgexfoundry/device-modbus-go [no test files] 11:47:01 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 11:47:01 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.052s coverage: 46.6% of statements 11:47:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:47:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:47:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:47:28 ./bin/test-attribution-txt.sh [Pipeline] echo 11:47:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:47:28 $ docker stop --time=1 2f3055e7df2bce4be270eb570c5aead9e8a755d930aa43c0ec3a36cddba4ad6b 11:47:30 $ docker rm -f 2f3055e7df2bce4be270eb570c5aead9e8a755d930aa43c0ec3a36cddba4ad6b [Pipeline] // withDockerContainer [Pipeline] sh 11:47:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:47:31 Warning: overwriting stash ‘coverage-report’ 11:47:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:47:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:47:32 + ls -al . 11:47:32 total 184 11:47:32 drwxrwxr-x 9 jenkins jenkins 4096 Dec 2 11:47 . 11:47:32 drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 11:43 .. 11:47:32 -rw-rw-r-- 1 jenkins jenkins 140 Dec 2 11:43 .dockerignore 11:47:32 drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 11:43 .git 11:47:32 drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 11:43 .github 11:47:32 -rw-rw-r-- 1 jenkins jenkins 331 Dec 2 11:43 .gitignore 11:47:32 -rw-rw-r-- 1 jenkins jenkins 8010 Dec 2 11:43 Attribution.txt 11:47:32 -rw-rw-r-- 1 jenkins jenkins 6038 Dec 2 11:43 CHANGELOG.md 11:47:32 -rw-rw-r-- 1 jenkins jenkins 1523 Dec 2 11:43 Dockerfile 11:47:32 -rw-rw-r-- 1 jenkins jenkins 677 Dec 2 11:43 GOVERNANCE.md 11:47:32 -rw-rw-r-- 1 jenkins jenkins 679 Dec 2 11:43 Jenkinsfile 11:47:32 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 2 11:43 LICENSE 11:47:32 -rw-rw-r-- 1 jenkins jenkins 1009 Dec 2 11:43 Makefile 11:47:32 -rw-rw-r-- 1 jenkins jenkins 622 Dec 2 11:43 OWNERS.md 11:47:32 -rw-rw-r-- 1 jenkins jenkins 3488 Dec 2 11:43 README.md 11:47:32 -rw-rw-r-- 1 jenkins jenkins 11 Dec 2 11:40 VERSION 11:47:32 drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 11:43 bin 11:47:32 drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 11:43 cmd 11:47:32 -rw-r--r-- 1 jenkins jenkins 23727 Dec 2 11:46 coverage.out 11:47:32 -rw-rw-r-- 1 jenkins jenkins 300 Dec 2 11:43 go.mod 11:47:32 -rw-rw-r-- 1 jenkins jenkins 49511 Dec 2 11:43 go.sum 11:47:32 drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 11:43 internal 11:47:32 drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 11:43 simulator 11:47:32 drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 11:43 snap 11:47:32 -rw-rw-r-- 1 jenkins jenkins 229 Dec 2 11:43 version.go [Pipeline] isUnix [Pipeline] sh 11:47:32 + 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=0698ca903eaff93b131c7e7a67c2b13166d23c43 --label arch=arm64 --label version=2.2.0-dev.2 . 11:47:33 Sending build context to Docker daemon 2.989MB 11:47:33 Step 1/22 : ARG BASE=golang:1.16-alpine3.14 11:47:33 Step 2/22 : FROM ${BASE} AS builder 11:47:33 ---> d44b56b954fe 11:47:33 Step 3/22 : ARG MAKE='make build' 11:47:33 ---> Running in 8ce710fdc376 11:47:33 Removing intermediate container 8ce710fdc376 11:47:33 ---> 50f8bb8a5ba6 11:47:33 Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:47:33 ---> Running in f77233dfa7c2 11:47:35 Removing intermediate container f77233dfa7c2 11:47:35 ---> d281a7f905ae 11:47:35 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 11:47:35 ---> Running in ffb4bf944827 11:47:36 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 11:47:37 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 11:47:37 OK: 225 MiB in 60 packages 11:47:38 Removing intermediate container ffb4bf944827 11:47:38 ---> 8b519ef934a7 11:47:38 Step 6/22 : WORKDIR /device-modbus-go 11:47:38 ---> Running in 9426d9d63bc6 11:47:39 Removing intermediate container 9426d9d63bc6 11:47:39 ---> 1154de751ccc 11:47:39 Step 7/22 : COPY . . 11:47:40 ---> b8e9bcc8b3ce 11:47:40 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:47:40 ---> Running in 110380b98825 11:47:42 Removing intermediate container 110380b98825 11:47:42 ---> 6f0fa935b9d4 11:47:42 Step 9/22 : RUN ${MAKE} 11:47:42 ---> Running in ba1a3b7c6893 11:47:42 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.2" -o cmd/device-modbus ./cmd 11:48:21 Removing intermediate container ba1a3b7c6893 11:48:21 ---> 8eb4f52023dc 11:48:21 Step 10/22 : FROM alpine:3.14 11:48:21 3.14: Pulling from library/alpine 11:48:21 be307f383ecc: Pulling fs layer 11:48:21 be307f383ecc: Verifying Checksum 11:48:21 be307f383ecc: Download complete 11:48:21 be307f383ecc: Pull complete 11:48:21 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 11:48:21 Status: Downloaded newer image for alpine:3.14 11:48:21 ---> 5b8b7b635229 11:48:21 Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 11:48:21 ---> Running in 04ea626faedd 11:48:22 Removing intermediate container 04ea626faedd 11:48:22 ---> 2761d725fd24 11:48:22 Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:48:22 ---> Running in 7955e191d11b 11:48:24 Removing intermediate container 7955e191d11b 11:48:24 ---> 20a0ed3005d2 11:48:24 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 11:48:24 ---> Running in 5b5c49a069f2 11:48:25 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 11:48:25 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 11:48:26 (1/6) Installing dumb-init (1.2.5-r1) 11:48:26 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:48:26 (3/6) Installing libsodium (1.0.18-r0) 11:48:27 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:48:27 (5/6) Installing libzmq (4.3.4-r0) 11:48:27 (6/6) Installing zeromq (4.3.4-r0) 11:48:27 Executing busybox-1.33.1-r6.trigger 11:48:27 OK: 8 MiB in 20 packages 11:48:28 Removing intermediate container 5b5c49a069f2 11:48:28 ---> edd55a72a940 11:48:28 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 11:48:29 ---> eb5c7180c990 11:48:29 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 11:48:30 ---> 7ee095111162 11:48:30 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 11:48:30 ---> fa6b275171e9 11:48:30 Step 17/22 : EXPOSE 59901 11:48:30 ---> Running in 23eca094c875 11:48:31 Removing intermediate container 23eca094c875 11:48:31 ---> c66be50c3df5 11:48:31 Step 18/22 : ENTRYPOINT ["/device-modbus"] 11:48:31 ---> Running in 5a9bcf3f15f0 11:48:31 Removing intermediate container 5a9bcf3f15f0 11:48:31 ---> b66c74be9626 11:48:31 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:48:32 ---> Running in 66c9f1a617ee 11:48:32 Removing intermediate container 66c9f1a617ee 11:48:32 ---> ec86894f7d76 11:48:32 Step 20/22 : LABEL arch=arm64 11:48:32 ---> Running in c87194b7a244 11:48:32 Removing intermediate container c87194b7a244 11:48:32 ---> ce45cebfd04d 11:48:32 Step 21/22 : LABEL git_sha=0698ca903eaff93b131c7e7a67c2b13166d23c43 11:48:32 ---> Running in 2918d51b1cef 11:48:33 Removing intermediate container 2918d51b1cef 11:48:33 ---> ea8b5614d313 11:48:33 Step 22/22 : LABEL version=2.2.0-dev.2 11:48:33 ---> Running in e839e47a4e79 11:48:33 Removing intermediate container e839e47a4e79 11:48:33 ---> 2388f5fee855 11:48:33 [Warning] One or more build-args [ARCH] were not consumed 11:48:33 Successfully built 2388f5fee855 11:48:33 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 11:48:33 provisioning config files... 11:48:33 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/19@tmp/config4157596134766406910tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:48:34 ---> docker-login.sh 11:48:34 nexus3.edgexfoundry.org:10001 11:48:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:48:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:48:34 Configure a credential helper to remove this warning. See 11:48:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:48:34 11:48:34 Login Succeeded 11:48:34 nexus3.edgexfoundry.org:10002 11:48:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:48:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:48:35 Configure a credential helper to remove this warning. See 11:48:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:48:35 11:48:35 Login Succeeded 11:48:35 nexus3.edgexfoundry.org:10003 11:48:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:48:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:48:35 Configure a credential helper to remove this warning. See 11:48:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:48:35 11:48:35 Login Succeeded 11:48:35 nexus3.edgexfoundry.org:10004 11:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:48:36 Configure a credential helper to remove this warning. See 11:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:48:36 11:48:36 Login Succeeded 11:48:36 docker.io 11:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:48:36 Configure a credential helper to remove this warning. See 11:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:48:36 11:48:36 Login Succeeded 11:48:36 ---> docker-login.sh ends [Pipeline] } 11:48:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:48:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:48:36 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 11:48:36 0698ca903eaff93b131c7e7a67c2b13166d23c43 11:48:36 latest 11:48:36 2.2.0-dev.2 11:48:36 0698ca903eaff93b131c7e7a67c2b13166d23c43-2.2.0-dev.2 11:48:36 main 11:48:36 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:48:37 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:0698ca903eaff93b131c7e7a67c2b13166d23c43 [Pipeline] isUnix [Pipeline] sh 11:48:37 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:0698ca903eaff93b131c7e7a67c2b13166d23c43 11:48:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 11:48:37 6f0e6db2da4c: Preparing 11:48:37 3a8ed89108fc: Preparing 11:48:37 9f61b97edb6d: Preparing 11:48:37 1931d9684f72: Preparing 11:48:37 0e870e530c5e: Preparing 11:48:37 62170e181a92: Preparing 11:48:37 62170e181a92: Waiting 11:48:37 6f0e6db2da4c: Pushed 11:48:37 0e870e530c5e: Pushed 11:48:37 3a8ed89108fc: Pushed 11:48:37 62170e181a92: Layer already exists 11:48:38 1931d9684f72: Pushed 11:48:41 9f61b97edb6d: Pushed 11:48:41 0698ca903eaff93b131c7e7a67c2b13166d23c43: digest: sha256:9d80117fd9c77b6fdb6a492c3a5101d8fe719b1cd75f43caac8d1f4ead2940a9 size: 1572 [Pipeline] isUnix [Pipeline] sh 11:48:41 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:48:41 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 11:48:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 11:48:41 6f0e6db2da4c: Preparing 11:48:41 3a8ed89108fc: Preparing 11:48:41 9f61b97edb6d: Preparing 11:48:41 1931d9684f72: Preparing 11:48:41 0e870e530c5e: Preparing 11:48:41 62170e181a92: Preparing 11:48:41 62170e181a92: Waiting 11:48:41 0e870e530c5e: Layer already exists 11:48:41 6f0e6db2da4c: Layer already exists 11:48:41 3a8ed89108fc: Layer already exists 11:48:41 9f61b97edb6d: Layer already exists 11:48:41 1931d9684f72: Layer already exists 11:48:41 62170e181a92: Layer already exists 11:48:42 latest: digest: sha256:9d80117fd9c77b6fdb6a492c3a5101d8fe719b1cd75f43caac8d1f4ead2940a9 size: 1572 [Pipeline] isUnix [Pipeline] sh 11:48:42 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.2 [Pipeline] isUnix [Pipeline] sh 11:48:42 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.2 11:48:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 11:48:42 6f0e6db2da4c: Preparing 11:48:42 3a8ed89108fc: Preparing 11:48:42 9f61b97edb6d: Preparing 11:48:42 1931d9684f72: Preparing 11:48:42 0e870e530c5e: Preparing 11:48:42 62170e181a92: Preparing 11:48:42 62170e181a92: Waiting 11:48:42 1931d9684f72: Layer already exists 11:48:42 9f61b97edb6d: Layer already exists 11:48:42 0e870e530c5e: Layer already exists 11:48:42 6f0e6db2da4c: Layer already exists 11:48:42 3a8ed89108fc: Layer already exists 11:48:42 62170e181a92: Layer already exists 11:48:43 2.2.0-dev.2: digest: sha256:9d80117fd9c77b6fdb6a492c3a5101d8fe719b1cd75f43caac8d1f4ead2940a9 size: 1572 [Pipeline] isUnix [Pipeline] sh 11:48:43 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:0698ca903eaff93b131c7e7a67c2b13166d23c43-2.2.0-dev.2 [Pipeline] isUnix [Pipeline] sh 11:48:43 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:0698ca903eaff93b131c7e7a67c2b13166d23c43-2.2.0-dev.2 11:48:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 11:48:43 6f0e6db2da4c: Preparing 11:48:43 3a8ed89108fc: Preparing 11:48:43 9f61b97edb6d: Preparing 11:48:43 1931d9684f72: Preparing 11:48:43 0e870e530c5e: Preparing 11:48:43 62170e181a92: Preparing 11:48:43 62170e181a92: Waiting 11:48:43 6f0e6db2da4c: Layer already exists 11:48:43 1931d9684f72: Layer already exists 11:48:43 9f61b97edb6d: Layer already exists 11:48:43 0e870e530c5e: Layer already exists 11:48:43 3a8ed89108fc: Layer already exists 11:48:43 62170e181a92: Layer already exists 11:48:44 0698ca903eaff93b131c7e7a67c2b13166d23c43-2.2.0-dev.2: digest: sha256:9d80117fd9c77b6fdb6a492c3a5101d8fe719b1cd75f43caac8d1f4ead2940a9 size: 1572 [Pipeline] isUnix [Pipeline] sh 11:48:44 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh 11:48:44 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 11:48:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 11:48:44 6f0e6db2da4c: Preparing 11:48:44 3a8ed89108fc: Preparing 11:48:44 9f61b97edb6d: Preparing 11:48:44 1931d9684f72: Preparing 11:48:44 0e870e530c5e: Preparing 11:48:44 62170e181a92: Preparing 11:48:44 62170e181a92: Waiting 11:48:44 3a8ed89108fc: Layer already exists 11:48:44 6f0e6db2da4c: Layer already exists 11:48:44 9f61b97edb6d: Layer already exists 11:48:44 1931d9684f72: Layer already exists 11:48:44 0e870e530c5e: Layer already exists 11:48:44 62170e181a92: Layer already exists 11:48:45 main: digest: sha256:9d80117fd9c77b6fdb6a492c3a5101d8fe719b1cd75f43caac8d1f4ead2940a9 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:48:45 ===================================================== [Pipeline] echo 11:48:45 taggedImages: 11:48:45 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:0698ca903eaff93b131c7e7a67c2b13166d23c43 11:48:45 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 11:48:45 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.2 11:48:45 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:0698ca903eaff93b131c7e7a67c2b13166d23c43-2.2.0-dev.2 11:48:45 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:48:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:48:45 11:48:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 11:48:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:48:46 arm64: Pulling from edgex-lftools-log-publisher 11:48:46 448f6bf000e3: Pulling fs layer 11:48:46 f757da607395: Pulling fs layer 11:48:46 05883995daec: Pulling fs layer 11:48:46 8603b9c90790: Pulling fs layer 11:48:46 1560dd03e051: Pulling fs layer 11:48:46 27f5ce0e4adf: Pulling fs layer 11:48:46 c2d8d7efcc4b: Pulling fs layer 11:48:46 1560dd03e051: Waiting 11:48:46 27f5ce0e4adf: Waiting 11:48:46 8603b9c90790: Waiting 11:48:46 f757da607395: Verifying Checksum 11:48:46 f757da607395: Download complete 11:48:46 8603b9c90790: Verifying Checksum 11:48:46 8603b9c90790: Download complete 11:48:46 1560dd03e051: Verifying Checksum 11:48:46 1560dd03e051: Download complete 11:48:46 27f5ce0e4adf: Verifying Checksum 11:48:46 27f5ce0e4adf: Download complete 11:48:46 05883995daec: Verifying Checksum 11:48:46 05883995daec: Download complete 11:48:46 448f6bf000e3: Verifying Checksum 11:48:46 448f6bf000e3: Download complete 11:48:49 c2d8d7efcc4b: Verifying Checksum 11:48:49 c2d8d7efcc4b: Download complete 11:48:50 448f6bf000e3: Pull complete 11:48:50 f757da607395: Pull complete 11:48:52 05883995daec: Pull complete 11:48:52 8603b9c90790: Pull complete 11:48:53 1560dd03e051: Pull complete 11:48:53 27f5ce0e4adf: Pull complete 11:49:08 c2d8d7efcc4b: Pull complete 11:49:08 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 11:49:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:49:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 11:49:09 prd-ubuntu18.04-docker-arm64-4c-16g-80 does not seem to be running inside a container 11:49:09 $ 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/19 -v /w/workspace/device-modbus-go/19:/w/workspace/device-modbus-go/19:rw,z -v /w/workspace/device-modbus-go/19@tmp:/w/workspace/device-modbus-go/19@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 11:49:12 $ docker top 9581d452986f56a04665ee36c7fcc019ffbeb12056a070f707d15c2a5fbb46ca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:49:13 ---> job-cost.sh 11:49:13 lf-activate-venv: SKIPPING 11:49:13 INFO: No Stack... 11:49:13 INFO: Retrieving Pricing Info for: v3-standard-4 11:49:13 INFO: Archiving Costs [Pipeline] sh 11:49:14 + cat /w/workspace/device-modbus-go/19/archives/cost.csv 11:49:14 + cut -d, -f6 [Pipeline] lock 11:49:14 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-19-stack-cost] 11:49:14 Resource [jenkins-edgexfoundry-device-modbus-go-main-19-stack-cost] did not exist. Created. 11:49:14 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:49:14 /w/workspace/device-modbus-go/19@tmp/durable-77b7dfa6/script.sh: 1: /w/workspace/device-modbus-go/19@tmp/durable-77b7dfa6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 11:49:15 + echo total: 0.10999999940395355 [Pipeline] stash 11:49:15 Warning: overwriting stash ‘stack-cost’ 11:49:15 Stashed 1 file(s) [Pipeline] } 11:49:15 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-19-stack-cost] [Pipeline] // lock [Pipeline] } 11:49:15 $ docker stop --time=1 9581d452986f56a04665ee36c7fcc019ffbeb12056a070f707d15c2a5fbb46ca 11:49:17 $ docker rm -f 9581d452986f56a04665ee36c7fcc019ffbeb12056a070f707d15c2a5fbb46ca [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 11:49:17 provisioning config files... 11:49:17 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1315323023491366897tmp [Pipeline] { [Pipeline] sh 11:49:18 + set +x 11:49:18 + curl -s https://codecov.io/bash 11:49:18 + bash -s -- 11:49:18 11:49:18 _____ _ 11:49:18 / ____| | | 11:49:18 | | ___ __| | ___ ___ _____ __ 11:49:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:49:18 | |___| (_) | (_| | __/ (_| (_) \ V / 11:49:18 \_____\___/ \__,_|\___|\___\___/ \_/ 11:49:18 Bash-1.0.6 11:49:18 11:49:18 11:49:18 ==> git version 2.24.4 found 11:49:18 ==> 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 11:49:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 11:49:18 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 11:49:18 ==> Jenkins CI detected. 11:49:18 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 11:49:18 project root: . 11:49:18 --> token set from env 11:49:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:49:18 ==> Running gcov in . (disable via -X gcov) 11:49:18 ==> Python coveragepy not found 11:49:18 ==> Searching for coverage reports in: 11:49:18 + . 11:49:18 -> Found 1 reports 11:49:18 ==> Detecting git/mercurial file structure 11:49:18 ==> Reading reports 11:49:18 + ./coverage.out bytes=23727 11:49:18 ==> Appending adjustments 11:49:18 https://docs.codecov.io/docs/fixing-reports 11:49:18 + Found adjustments 11:49:18 ==> Gzipping contents 11:49:18 4.0K /tmp/codecov.lRzoEZ.gz 11:49:18 ==> Uploading reports 11:49:18 url: https://codecov.io 11:49:18 query: branch=main&commit=0698ca903eaff93b131c7e7a67c2b13166d23c43&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:49:18 -> Pinging Codecov 11:49:18 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=0698ca903eaff93b131c7e7a67c2b13166d23c43&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:49:18 -> Uploading to 11:49:18 https://storage.googleapis.com/codecov/v4/raw/2021-12-02/55DBCA73C666E3227836607328DD7E49/0698ca903eaff93b131c7e7a67c2b13166d23c43/dea35dda-720a-44eb-8b14-65bd594283fa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211202T114918Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4c0d7ec75b916d35a255f0fe6d7b6e8bf56cfcd217c2bae9d84a09cade0424fb 11:49:18 % Total % Received % Xferd Average Speed Time Time Time Current 11:49:18 Dload Upload Total Spent Left Speed 11:49:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3996 0 0 100 3996 0 11517 --:--:-- --:--:-- --:--:-- 11549 11:49:19 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/0698ca903eaff93b131c7e7a67c2b13166d23c43 [Pipeline] } 11:49:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 11:49:19 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 11:49:19 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:49:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:49:19 11:49:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 11:49:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:49:20 1.410.4: Pulling from edgex-devops/edgex-snyk-go 11:49:20 188c0c94c7c5: Pulling fs layer 11:49:20 0ef7d3d256c8: Pulling fs layer 11:49:20 de9db76c5a1d: Pulling fs layer 11:49:20 0eba1c9be4d2: Pulling fs layer 11:49:20 0d57e429df01: Pulling fs layer 11:49:20 4e4be7b47b0d: Pulling fs layer 11:49:20 e1f770b5df2f: Pulling fs layer 11:49:20 85a0685a4137: Pulling fs layer 11:49:20 0d57e429df01: Waiting 11:49:20 4e4be7b47b0d: Waiting 11:49:20 e1f770b5df2f: Waiting 11:49:20 85a0685a4137: Waiting 11:49:20 0eba1c9be4d2: Waiting 11:49:20 de9db76c5a1d: Download complete 11:49:20 0ef7d3d256c8: Download complete 11:49:20 0d57e429df01: Verifying Checksum 11:49:20 0d57e429df01: Download complete 11:49:20 4e4be7b47b0d: Verifying Checksum 11:49:20 4e4be7b47b0d: Download complete 11:49:20 188c0c94c7c5: Verifying Checksum 11:49:20 188c0c94c7c5: Download complete 11:49:20 188c0c94c7c5: Pull complete 11:49:20 e1f770b5df2f: Verifying Checksum 11:49:20 e1f770b5df2f: Download complete 11:49:20 0ef7d3d256c8: Pull complete 11:49:20 de9db76c5a1d: Pull complete 11:49:20 0eba1c9be4d2: Verifying Checksum 11:49:20 0eba1c9be4d2: Download complete 11:49:21 85a0685a4137: Verifying Checksum 11:49:21 85a0685a4137: Download complete 11:49:24 0eba1c9be4d2: Pull complete 11:49:24 0d57e429df01: Pull complete 11:49:24 4e4be7b47b0d: Pull complete 11:49:25 e1f770b5df2f: Pull complete 11:49:29 85a0685a4137: Pull complete 11:49:29 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 11:49:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:49:29 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 11:49:29 prd-centos7-docker-4c-2g-78 does not seem to be running inside a container 11:49:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 11:49:32 $ docker top 73270efed9e88e40efce07831ab56675d31e944894ee25b45cd3a2252b11c3e0 -eo pid,comm [Pipeline] { [Pipeline] echo 11:49:32 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 11:49:32 + set -o pipefail 11:49:32 + snyk monitor '--org=edgex-jenkins' 11:49:38 11:49:38 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 11:49:38 11:49:38 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/cf90bd67-1aac-4063-85c8-df6741136181 11:49:38 11:49:38 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 11:49:38 11:49:38 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 11:49:38 11:49:38 [Pipeline] } 11:49:38 $ docker stop --time=1 73270efed9e88e40efce07831ab56675d31e944894ee25b45cd3a2252b11c3e0 11:49:40 $ docker rm -f 73270efed9e88e40efce07831ab56675d31e944894ee25b45cd3a2252b11c3e0 [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 11:49:41 + git log --format=format:%s -1 0698ca903eaff93b131c7e7a67c2b13166d23c43 [Pipeline] sh 11:49:41 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 11:49:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:49:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:49:42 . [Pipeline] withDockerContainer 11:49:42 prd-centos7-docker-4c-2g-78 does not seem to be running inside a container 11:49:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:49:42 $ docker top 0918485e36653707ec80037be6a8077d357d4331ed2f3985596b36ef1491864c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:49:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:49:42 [ssh-agent] Looking for ssh-agent implementation... 11:49:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:49:42 $ docker exec 0918485e36653707ec80037be6a8077d357d4331ed2f3985596b36ef1491864c ssh-agent 11:49:42 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNMHeMC/agent.13 11:49:42 SSH_AGENT_PID=20 11:49:42 Running ssh-add (command line suppressed) 11:49:42 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3294135924884876857.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3294135924884876857.key) 11:49:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:49:43 + git semver tag 11:49:43 # -> Open(): unable to determine branch for HEAD 11:49:43 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 11:49:43 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 11:49:43 # $SEMVER_REMOTE_NAME = origin 11:49:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:49:43 # $SEMVER_USER_NAME = edgex-jenkins 11:49:43 # $SEMVER_BRANCH = main 11:49:43 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver 11:49:43 # 0698ca903eaff93b131c7e7a67c2b13166d23c43 HEAD 11:49:43 # -> Force: false 11:49:43 # 3127695572ca973c55fdcab47dbe35945b0c6d60 refs/tags/v2.2.0-dev.2 [Pipeline] } 11:49:43 $ docker exec --env ******** --env ******** 0918485e36653707ec80037be6a8077d357d4331ed2f3985596b36ef1491864c ssh-agent -k 11:49:43 unset SSH_AUTH_SOCK; 11:49:43 unset SSH_AGENT_PID; 11:49:43 echo Agent pid 20 killed; 11:49:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:49:43 + git semver [Pipeline] } 11:49:43 $ docker stop --time=1 0918485e36653707ec80037be6a8077d357d4331ed2f3985596b36ef1491864c 11:49:44 $ docker rm -f 0918485e36653707ec80037be6a8077d357d4331ed2f3985596b36ef1491864c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 11:49:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:49:45 11:49:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 11:49:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:49:45 0.23.1-centos7: Pulling from edgex-lftools 11:49:45 ab5ef0e58194: Pulling fs layer 11:49:45 9712f1f96733: Pulling fs layer 11:49:45 63f879dbbcfc: Pulling fs layer 11:49:45 0d9ebad4ef96: Pulling fs layer 11:49:45 e9a5061849ea: Pulling fs layer 11:49:45 d747dcd14b5f: Pulling fs layer 11:49:45 2de7ff778b66: Pulling fs layer 11:49:45 0d9ebad4ef96: Waiting 11:49:45 e9a5061849ea: Waiting 11:49:45 d747dcd14b5f: Waiting 11:49:45 2de7ff778b66: Waiting 11:49:45 9712f1f96733: Verifying Checksum 11:49:45 9712f1f96733: Download complete 11:49:45 63f879dbbcfc: Verifying Checksum 11:49:45 63f879dbbcfc: Download complete 11:49:46 ab5ef0e58194: Verifying Checksum 11:49:46 ab5ef0e58194: Download complete 11:49:46 d747dcd14b5f: Verifying Checksum 11:49:46 d747dcd14b5f: Download complete 11:49:46 0d9ebad4ef96: Verifying Checksum 11:49:46 0d9ebad4ef96: Download complete 11:49:46 e9a5061849ea: Verifying Checksum 11:49:46 e9a5061849ea: Download complete 11:49:46 2de7ff778b66: Verifying Checksum 11:49:46 2de7ff778b66: Download complete 11:49:49 ab5ef0e58194: Pull complete 11:49:49 9712f1f96733: Pull complete 11:49:50 63f879dbbcfc: Pull complete 11:49:54 0d9ebad4ef96: Pull complete 11:49:54 e9a5061849ea: Pull complete 11:49:54 d747dcd14b5f: Pull complete 11:49:55 2de7ff778b66: Pull complete 11:49:55 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 11:49:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:49:55 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 11:49:56 prd-centos7-docker-4c-2g-78 does not seem to be running inside a container 11:49:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 11:49:59 $ docker top a2c7553511f32839b20592aac5e65534098dd9d7569df9c6d63f294cfae8d583 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 11:49:59 provisioning config files... 11:49:59 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2583411042971388193tmp 11:49:59 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7184639635466021626tmp 11:49:59 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5452828133926931446tmp [Pipeline] { [Pipeline] echo 11:49:59 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 11:49:59 ---> sigul-configuration.sh 11:49:59 gpg: directory `/root/.gnupg' created 11:49:59 gpg: new configuration file `/root/.gnupg/gpg.conf' created 11:49:59 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 11:49:59 gpg: keyring `/root/.gnupg/secring.gpg' created 11:49:59 gpg: keyring `/root/.gnupg/pubring.gpg' created 11:49:59 gpg: CAST5 encrypted data 11:49:59 gpg: encrypted with 1 passphrase 11:49:59 gpg: WARNING: message was not integrity protected [Pipeline] sh 11:50:00 + mkdir /home/jenkins 11:50:00 + mkdir /home/jenkins/sigul [Pipeline] sh 11:50:00 + 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 11:50:00 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 11:50:00 ---> sigul-install.sh 11:50:00 Sigul already installed; skipping installation. [Pipeline] sh 11:50:00 + git tag --list 11:50:00 0.7.1 11:50:00 v1.0.0 11:50:00 v1.1.0 11:50:00 v1.1.1 11:50:00 v1.2.2 11:50:00 v1.3.0 11:50:00 v1.3.1 11:50:00 v2.0.0 11:50:00 v2.0.1-dev.1 11:50:00 v2.0.1-dev.10 11:50:00 v2.0.1-dev.11 11:50:00 v2.0.1-dev.12 11:50:00 v2.0.1-dev.2 11:50:00 v2.0.1-dev.3 11:50:00 v2.0.1-dev.4 11:50:00 v2.0.1-dev.5 11:50:00 v2.0.1-dev.6 11:50:00 v2.0.1-dev.7 11:50:00 v2.0.1-dev.8 11:50:00 v2.0.1-dev.9 11:50:00 v2.1.0 11:50:00 v2.2.0-dev.1 11:50:00 v2.2.0-dev.2 [Pipeline] sh 11:50:01 + lftools sign git-tag v2.2.0-dev.2 11:50:01 Signing Git tag with Sigul... 11:50:01 Signing v2.2.0-dev.2 [Pipeline] echo 11:50:03 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 11:50:03 ---> sigul-configuration-cleanup.sh [Pipeline] } 11:50:03 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:50:03 $ docker stop --time=1 a2c7553511f32839b20592aac5e65534098dd9d7569df9c6d63f294cfae8d583 11:50:04 $ docker rm -f a2c7553511f32839b20592aac5e65534098dd9d7569df9c6d63f294cfae8d583 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 11:50:05 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 11:50:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:50:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:50:05 . [Pipeline] withDockerContainer 11:50:06 prd-centos7-docker-4c-2g-78 does not seem to be running inside a container 11:50:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:50:06 $ docker top 013ab7768817e8eecb950c9f7c0dda220545c94fb18f5d3bf398250649d3a9f4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:50:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:50:06 [ssh-agent] Looking for ssh-agent implementation... 11:50:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:50:06 $ docker exec 013ab7768817e8eecb950c9f7c0dda220545c94fb18f5d3bf398250649d3a9f4 ssh-agent 11:50:06 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlJEnmk/agent.13 11:50:06 SSH_AGENT_PID=19 11:50:06 Running ssh-add (command line suppressed) 11:50:06 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4001898206613412024.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4001898206613412024.key) 11:50:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:50:07 + git semver bump pre 11:50:07 # -> Open(): unable to determine branch for HEAD 11:50:07 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 11:50:07 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 11:50:07 # $SEMVER_REMOTE_NAME = origin 11:50:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:50:07 # $SEMVER_USER_NAME = edgex-jenkins 11:50:07 # $SEMVER_BRANCH = main 11:50:07 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver 11:50:07 2.2.0-dev.3 [Pipeline] } 11:50:07 $ docker exec --env ******** --env ******** 013ab7768817e8eecb950c9f7c0dda220545c94fb18f5d3bf398250649d3a9f4 ssh-agent -k 11:50:07 unset SSH_AUTH_SOCK; 11:50:07 unset SSH_AGENT_PID; 11:50:07 echo Agent pid 19 killed; 11:50:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:50:07 + git semver [Pipeline] } 11:50:07 $ docker stop --time=1 013ab7768817e8eecb950c9f7c0dda220545c94fb18f5d3bf398250649d3a9f4 11:50:08 $ docker rm -f 013ab7768817e8eecb950c9f7c0dda220545c94fb18f5d3bf398250649d3a9f4 [Pipeline] // withDockerContainer [Pipeline] sh 11:50:09 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 11:50:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:50:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:50:09 . [Pipeline] withDockerContainer 11:50:09 prd-centos7-docker-4c-2g-78 does not seem to be running inside a container 11:50:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:50:10 $ docker top 4cefae82d255e6735a38128791f3b2af377b0e5fdb7dde13f10cec6a759c5e80 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:50:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:50:10 [ssh-agent] Looking for ssh-agent implementation... 11:50:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:50:10 $ docker exec 4cefae82d255e6735a38128791f3b2af377b0e5fdb7dde13f10cec6a759c5e80 ssh-agent 11:50:10 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKILLao/agent.14 11:50:10 SSH_AGENT_PID=20 11:50:10 Running ssh-add (command line suppressed) 11:50:10 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4918140093500366184.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4918140093500366184.key) 11:50:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:50:10 + git semver push 11:50:10 # -> Open(): unable to determine branch for HEAD 11:50:10 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 11:50:10 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 11:50:10 # $SEMVER_REMOTE_NAME = origin 11:50:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:50:10 # $SEMVER_USER_NAME = edgex-jenkins 11:50:10 # $SEMVER_BRANCH = main 11:50:10 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } 11:50:12 $ docker exec --env ******** --env ******** 4cefae82d255e6735a38128791f3b2af377b0e5fdb7dde13f10cec6a759c5e80 ssh-agent -k 11:50:12 unset SSH_AUTH_SOCK; 11:50:12 unset SSH_AGENT_PID; 11:50:12 echo Agent pid 20 killed; 11:50:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:50:13 + git semver [Pipeline] } 11:50:13 $ docker stop --time=1 4cefae82d255e6735a38128791f3b2af377b0e5fdb7dde13f10cec6a759c5e80 11:50:14 $ docker rm -f 4cefae82d255e6735a38128791f3b2af377b0e5fdb7dde13f10cec6a759c5e80 [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 11:50:15 + '[' -d /w/workspace/gexfoundry_device-modbus-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 11:50:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:50:16 ---> package-listing.sh 11:50:16 ++ tr '[:upper:]' '[:lower:]' 11:50:16 ++ facter osfamily 11:50:16 + OS_FAMILY=redhat 11:50:16 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 11:50:16 + START_PACKAGES=/tmp/packages_start.txt 11:50:16 + END_PACKAGES=/tmp/packages_end.txt 11:50:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:50:16 + PACKAGES=/tmp/packages_start.txt 11:50:16 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 11:50:16 + PACKAGES=/tmp/packages_end.txt 11:50:16 + case "${OS_FAMILY}" in 11:50:16 + rpm -qa 11:50:16 + sort 11:50:17 + '[' -f /tmp/packages_start.txt ']' 11:50:17 + '[' -f /tmp/packages_end.txt ']' 11:50:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:50:17 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 11:50:17 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 11:50:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 11:50:17 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 11:50:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:50:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:50:17 11:50:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 11:50:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:50:18 latest: Pulling from edgex-lftools-log-publisher 11:50:18 b4d181a07f80: Pulling fs layer 11:50:18 a1111a8f2ec3: Pulling fs layer 11:50:18 ed53099fbce6: Pulling fs layer 11:50:18 dc539afda2c1: Pulling fs layer 11:50:18 77bc0d833cb6: Pulling fs layer 11:50:18 9065ff56babe: Pulling fs layer 11:50:18 d287ab97295c: Pulling fs layer 11:50:18 dc539afda2c1: Waiting 11:50:18 77bc0d833cb6: Waiting 11:50:18 9065ff56babe: Waiting 11:50:18 d287ab97295c: Waiting 11:50:18 a1111a8f2ec3: Verifying Checksum 11:50:18 a1111a8f2ec3: Download complete 11:50:18 dc539afda2c1: Verifying Checksum 11:50:18 dc539afda2c1: Download complete 11:50:18 ed53099fbce6: Verifying Checksum 11:50:18 ed53099fbce6: Download complete 11:50:18 9065ff56babe: Verifying Checksum 11:50:18 9065ff56babe: Download complete 11:50:18 77bc0d833cb6: Verifying Checksum 11:50:18 77bc0d833cb6: Download complete 11:50:18 b4d181a07f80: Verifying Checksum 11:50:18 b4d181a07f80: Download complete 11:50:19 d287ab97295c: Verifying Checksum 11:50:19 d287ab97295c: Download complete 11:50:20 b4d181a07f80: Pull complete 11:50:20 a1111a8f2ec3: Pull complete 11:50:20 ed53099fbce6: Pull complete 11:50:20 dc539afda2c1: Pull complete 11:50:21 77bc0d833cb6: Pull complete 11:50:21 9065ff56babe: Pull complete 11:50:28 d287ab97295c: Pull complete 11:50:28 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 11:50:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:50:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 11:50:28 prd-centos7-docker-4c-2g-78 does not seem to be running inside a container 11:50:28 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:50:31 $ docker top 8b47a4bd63c0224dc3cfcbf6285330c35c2470adf6d71e6cb126dc16b1921a77 -eo pid,comm [Pipeline] { [Pipeline] sh 11:50:31 + touch /tmp/pre-build-complete [Pipeline] sh 11:50:31 + mkdir -p /var/log/sysstat [Pipeline] sh 11:50:32 + ls /var/log/sa-host 11:50:32 + sadf -c /var/log/sa-host/sa02 11:50:32 file_magic: OK 11:50:32 HZ: Using current value: 100 11:50:32 file_header: OK 11:50:32 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 11:50:32 Statistics: 11:50:32 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 11:50:32 File successfully converted to sysstat format version 12.0.3 11:50:32 + sadf -c /var/log/sa-host/sa17 11:50:32 file_magic: OK 11:50:32 HZ: Using current value: 100 11:50:32 file_header: OK 11:50:32 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 11:50:32 Statistics: 11:50:32 Hnuu...uuuununununu...Hnuu...uuuununununu... 11:50:32 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:50:32 provisioning config files... 11:50:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3292918782763888889tmp [Pipeline] { [Pipeline] echo 11:50:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:50:32 ---> create-netrc.sh [Pipeline] } 11:50:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:50:32 ---> python-tools-install.sh [Pipeline] echo 11:50:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:50:33 ---> sudo-logs.sh 11:50:33 Archiving 'sudo' log.. 11:50:33 sudo: unable to resolve host prd-centos7-docker-4c-2g-78.novalocal: Name or service not known 11:50:33 sudo: unable to resolve host prd-centos7-docker-4c-2g-78.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 11:50:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:50:33 ---> job-cost.sh 11:50:33 lf-activate-venv: SKIPPING 11:50:33 DEBUG: total: 0.10999999940395355 11:50:33 INFO: Retrieving Stack Cost... 11:50:34 INFO: Retrieving Pricing Info for: v3-standard-2 11:50:34 INFO: Archiving Costs [Pipeline] echo 11:50:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:50:34 ---> logs-deploy.sh 11:50:34 lf-activate-venv: SKIPPING 11:50:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/19 11:50:34 INFO: archiving workspace using pattern(s): 11:50:35 Archives upload complete. 11:50:35 INFO: archiving logs to Nexus