Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 159a8a861e29f2433d7a50979645c48e0f5e62c9 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8297863861126727654.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh501313792530002687.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh3981148670118916551.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-changes" > 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-ssh1042158933054644134.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-ssh3632346072177246995.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-27910 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-ssh1010806917380290520.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 159a8a861e29f2433d7a50979645c48e0f5e62c9 (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 159a8a861e29f2433d7a50979645c48e0f5e62c9 # timeout=10 Commit message: "Merge pull request #292 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.0.1-dev.28" > git rev-list --no-walk e9f0d89f8cfabfca8c60418791cfe6d3382bb269 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:25:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:25:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:25:49 ========================================================= 05:25:49 EdgeX Global Pipelines Version Info 05:25:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:25:50 ------------------- 05:25:50 stable info: 05:25:50 ------------------- 05:25:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:25:50 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 05:25:50 Message: update stable to v1.0.211 05:25:51 ------------------- 05:25:51 experimental info: 05:25:51 ------------------- 05:25:51 Commited By: **** collab-it+edgex@linuxfoundation.org 05:25:51 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 05:25:51 Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:25:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:25:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:25:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:25:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:25:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:25:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 05:25:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:25:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:25:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:25:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:25:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:25:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:25:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:25:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:25:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:25:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:25:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:25:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:25:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:25:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 05:25:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:25:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:25:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:25:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:25:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:25:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:25:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:25:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:25:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:25:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 159a8a861e29f2433d7a50979645c48e0f5e62c9 [Pipeline] echo 05:25:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 159a8a8 [Pipeline] echo 05:25:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:25:51 provisioning config files... 05:25:51 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8116573097151960778tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:25:52 ---> docker-login.sh 05:25:52 nexus3.edgexfoundry.org:10001 05:25:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:25:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:25:52 Configure a credential helper to remove this warning. See 05:25:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:25:52 05:25:52 Login Succeeded 05:25:52 nexus3.edgexfoundry.org:10002 05:25:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:25:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:25:52 Configure a credential helper to remove this warning. See 05:25:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:25:52 05:25:52 Login Succeeded 05:25:52 nexus3.edgexfoundry.org:10003 05:25:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:25:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:25:52 Configure a credential helper to remove this warning. See 05:25:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:25:52 05:25:52 Login Succeeded 05:25:52 nexus3.edgexfoundry.org:10004 05:25:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:25:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:25:52 Configure a credential helper to remove this warning. See 05:25:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:25:52 05:25:52 Login Succeeded 05:25:52 docker.io 05:25:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:25:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:25:53 Configure a credential helper to remove this warning. See 05:25:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:25:53 05:25:53 Login Succeeded 05:25:53 ---> docker-login.sh ends [Pipeline] } 05:25:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:25:53 + git rev-list -1 --merges 159a8a861e29f2433d7a50979645c48e0f5e62c9~1..159a8a861e29f2433d7a50979645c48e0f5e62c9 [Pipeline] echo 05:25:53 -----------> git rev-list -1 --merges 159a8a861e29f2433d7a50979645c48e0f5e62c9~1..159a8a861e29f2433d7a50979645c48e0f5e62c9 159a8a861e29f2433d7a50979645c48e0f5e62c9 05:25:53 159a8a861e29f2433d7a50979645c48e0f5e62c9 [false] [Pipeline] sh 05:25:53 + git log --format=format:%s -1 159a8a861e29f2433d7a50979645c48e0f5e62c9 [Pipeline] echo 05:25:53 ========================================================= 05:25:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:25:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:25:54 + git log --format=format:%s -1 159a8a861e29f2433d7a50979645c48e0f5e62c9 [Pipeline] echo 05:25:54 [semverPrep] GIT_COMMIT: 159a8a861e29f2433d7a50979645c48e0f5e62c9, Commit Message: Merge pull request #292 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.0.1-dev.28 [Pipeline] echo 05:25:54 [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:25:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:25:54 05:25:54 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:25:55 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:25:55 latest: Pulling from edgex-devops/git-semver 05:25:55 a0d0a0d46f8b: Pulling fs layer 05:25:55 3e5f54012d9b: Pulling fs layer 05:25:55 4c7163046ea9: Pulling fs layer 05:25:55 0c2d73faf560: Pulling fs layer 05:25:55 0c2d73faf560: Waiting 05:25:55 3e5f54012d9b: Verifying Checksum 05:25:55 3e5f54012d9b: Download complete 05:25:55 a0d0a0d46f8b: Verifying Checksum 05:25:55 a0d0a0d46f8b: Download complete 05:25:55 4c7163046ea9: Verifying Checksum 05:25:55 4c7163046ea9: Download complete 05:25:55 0c2d73faf560: Verifying Checksum 05:25:55 0c2d73faf560: Download complete 05:25:55 a0d0a0d46f8b: Pull complete 05:25:55 3e5f54012d9b: Pull complete 05:25:56 4c7163046ea9: Pull complete 05:25:56 0c2d73faf560: Pull complete 05:25:56 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 05:25:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:25:56 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:25:56 prd-centos7-docker-4c-2g-27910 does not seem to be running inside a container 05:25:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:25:56 $ docker top 33fc9758a433c7dee482ee39e4f47048cdcbd329883ea240fc776b6cf6411abd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:25:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:25:57 [ssh-agent] Looking for ssh-agent implementation... 05:25:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:25:57 $ docker exec 33fc9758a433c7dee482ee39e4f47048cdcbd329883ea240fc776b6cf6411abd ssh-agent 05:25:57 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXohaoDO/agent.14 05:25:57 SSH_AGENT_PID=21 05:25:57 Running ssh-add (command line suppressed) 05:25:57 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8662102502981731065.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8662102502981731065.key) 05:25:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:25:57 + git tag --points-at HEAD [Pipeline] } 05:25:57 $ docker exec --env ******** --env ******** 33fc9758a433c7dee482ee39e4f47048cdcbd329883ea240fc776b6cf6411abd ssh-agent -k 05:25:57 unset SSH_AUTH_SOCK; 05:25:57 unset SSH_AGENT_PID; 05:25:57 echo Agent pid 21 killed; 05:25:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:25:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:25:57 [ssh-agent] Looking for ssh-agent implementation... 05:25:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:25:57 $ docker exec 33fc9758a433c7dee482ee39e4f47048cdcbd329883ea240fc776b6cf6411abd ssh-agent 05:25:58 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDEOHeI/agent.54 05:25:58 SSH_AGENT_PID=60 05:25:58 Running ssh-add (command line suppressed) 05:25:58 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2502578212391827533.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2502578212391827533.key) 05:25:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:25:58 + git semver init 05:25:58 # -> Open(): unable to determine branch for HEAD 05:25:58 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 05:25:58 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 05:25:58 # $SEMVER_REMOTE_NAME = origin 05:25:58 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:25:58 # $SEMVER_USER_NAME = edgex-jenkins 05:25:58 # $SEMVER_BRANCH = main 05:25:58 # $SEMVER_TEMP = /tmp/semver-000722305 05:25:58 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 05:25:59 # '/tmp/semver-000722305' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' 05:25:59 # -> Force: false 05:25:59 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } 05:25:59 $ docker exec --env ******** --env ******** 33fc9758a433c7dee482ee39e4f47048cdcbd329883ea240fc776b6cf6411abd ssh-agent -k 05:25:59 unset SSH_AUTH_SOCK; 05:25:59 unset SSH_AGENT_PID; 05:25:59 echo Agent pid 60 killed; 05:25:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:25:59 + git semver [Pipeline] } 05:25:59 $ docker stop --time=1 33fc9758a433c7dee482ee39e4f47048cdcbd329883ea240fc776b6cf6411abd 05:26:00 $ docker rm -f 33fc9758a433c7dee482ee39e4f47048cdcbd329883ea240fc776b6cf6411abd [Pipeline] // withDockerContainer [Pipeline] sh 05:26:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:26:01 Stashed 1 file(s) [Pipeline] echo 05:26:01 [edgeXSemver]: initialized semver on version 2.0.1-dev.10 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 05:26:16 Still waiting to schedule task 05:26:16 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:26:16 Still waiting to schedule task 05:26:16 ‘prd-ubuntu18.04-docker-arm64-4c-16g-27907’ is offline 05:27:42 Running on prd-ubuntu18.04-docker-arm64-4c-16g-27911 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 05:27:42 Running in /w/workspace/device-modbus-go/13 [Pipeline] { [Pipeline] checkout 05:27:42 Selected Git installation does not exist. Using Default 05:27:42 The recommended git tool is: NONE 05:27:49 using credential edgex-jenkins-ssh 05:27:49 Cloning the remote Git repository 05:27:49 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:27:49 > git init /w/workspace/device-modbus-go/13 # timeout=10 05:27:49 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:27:49 > git --version # timeout=10 05:27:49 > git --version # 'git version 2.17.1' 05:27:49 using GIT_SSH to set credentials SSH Credentials for GitHub 05:27:49 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:27:50 Avoid second fetch 05:27:50 Checking out Revision 159a8a861e29f2433d7a50979645c48e0f5e62c9 (main) 05:27:50 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:27:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:27:50 > git config core.sparsecheckout # timeout=10 05:27:50 > git checkout -f 159a8a861e29f2433d7a50979645c48e0f5e62c9 # timeout=10 05:27:54 Commit message: "Merge pull request #292 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.0.1-dev.28" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:27:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:27:55 % Total % Received % Xferd Average Speed Time Time Time Current 05:27:55 Dload Upload Total Spent Left Speed 05:27:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 90953 0 --:--:-- --:--:-- --:--:-- 90953 [Pipeline] sh 05:27:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:27:56 + sudo tee /etc/docker/daemon.new 05:27:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:27:56 { 05:27:56 "registry-mirrors": [ 05:27:56 "https://nexus3.edgexfoundry.org:10001" 05:27:56 ], 05:27:56 "bip": "10.250.0.254/24", 05:27:56 "hosts": [ 05:27:56 "tcp://0.0.0.0:5555", 05:27:56 "unix:///var/run/docker.sock" 05:27:56 ], 05:27:56 "mtu": 1458, 05:27:56 "selinux-enabled": true, 05:27:56 "seccomp-profile": "/etc/docker/seccomp.json" 05:27:56 } [Pipeline] sh 05:27:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:27:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:28:15 provisioning config files... 05:28:15 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/13@tmp/config6775680342901992914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:28:15 ---> docker-login.sh 05:28:15 nexus3.edgexfoundry.org:10001 05:28:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:28:16 Configure a credential helper to remove this warning. See 05:28:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:28:16 05:28:16 Login Succeeded 05:28:16 nexus3.edgexfoundry.org:10002 05:28:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:28:17 Configure a credential helper to remove this warning. See 05:28:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:28:17 05:28:17 Login Succeeded 05:28:17 nexus3.edgexfoundry.org:10003 05:28:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:28:17 Configure a credential helper to remove this warning. See 05:28:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:28:17 05:28:17 Login Succeeded 05:28:17 nexus3.edgexfoundry.org:10004 05:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:28:18 Configure a credential helper to remove this warning. See 05:28:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:28:18 05:28:18 Login Succeeded 05:28:18 docker.io 05:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:28:18 Configure a credential helper to remove this warning. See 05:28:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:28:18 05:28:18 Login Succeeded 05:28:18 ---> docker-login.sh ends [Pipeline] } 05:28:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:28:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:28:19 ========================================================= 05:28:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 05:28:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:28:19 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 05:28:19 Sending build context to Docker daemon 702.5kB 05:28:19 Step 1/9 : ARG BASE=golang:1.16-alpine3.14 05:28:19 Step 2/9 : FROM ${BASE} AS builder 05:28:20 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:28:20 552d1f2373af: Pulling fs layer 05:28:20 ea3f2d53f512: Pulling fs layer 05:28:20 9e70ebbbe112: Pulling fs layer 05:28:20 7a9cfe048b4a: Pulling fs layer 05:28:20 72dc09318566: Pulling fs layer 05:28:20 f4f7b4309257: Pulling fs layer 05:28:20 0ac9a79272e3: Pulling fs layer 05:28:20 b78e95d17946: Pulling fs layer 05:28:20 7a9cfe048b4a: Waiting 05:28:20 72dc09318566: Waiting 05:28:20 f4f7b4309257: Waiting 05:28:20 b78e95d17946: Waiting 05:28:20 0ac9a79272e3: Waiting 05:28:20 9e70ebbbe112: Download complete 05:28:20 ea3f2d53f512: Verifying Checksum 05:28:20 ea3f2d53f512: Download complete 05:28:20 72dc09318566: Verifying Checksum 05:28:20 72dc09318566: Download complete 05:28:20 f4f7b4309257: Verifying Checksum 05:28:20 f4f7b4309257: Download complete 05:28:20 0ac9a79272e3: Verifying Checksum 05:28:20 0ac9a79272e3: Download complete 05:28:20 552d1f2373af: Verifying Checksum 05:28:20 552d1f2373af: Download complete 05:28:21 552d1f2373af: Pull complete 05:28:21 ea3f2d53f512: Pull complete 05:28:21 9e70ebbbe112: Pull complete 05:28:22 b78e95d17946: Verifying Checksum 05:28:22 b78e95d17946: Download complete 05:28:22 7a9cfe048b4a: Verifying Checksum 05:28:22 7a9cfe048b4a: Download complete 05:28:32 Running on prd-centos7-docker-4c-2g-27912 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 05:28:32 Running in /w/workspace/device-modbus-go/13 [Pipeline] { [Pipeline] checkout 05:28:32 Selected Git installation does not exist. Using Default 05:28:32 The recommended git tool is: NONE 05:28:34 using credential edgex-jenkins-ssh 05:28:34 Cloning the remote Git repository 05:28:34 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:28:34 > git init /w/workspace/device-modbus-go/13 # timeout=10 05:28:34 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:28:34 > git --version # timeout=10 05:28:34 > git --version # 'git version 2.24.4' 05:28:34 using GIT_SSH to set credentials SSH Credentials for GitHub 05:28:34 [INFO] Currently running in a labeled security context 05:28:34 [INFO] Currently SELinux is 'enforcing' on the host 05:28:34 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/13@tmp/jenkins-gitclient-ssh1264046876869956528.key 05:28:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:28:34 7a9cfe048b4a: Pull complete 05:28:34 72dc09318566: Pull complete 05:28:34 f4f7b4309257: Pull complete 05:28:34 0ac9a79272e3: Pull complete 05:28:35 Avoid second fetch 05:28:35 Checking out Revision 159a8a861e29f2433d7a50979645c48e0f5e62c9 (main) 05:28:35 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:28:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:28:35 > git config core.sparsecheckout # timeout=10 05:28:35 > git checkout -f 159a8a861e29f2433d7a50979645c48e0f5e62c9 # timeout=10 05:28:38 Commit message: "Merge pull request #292 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.0.1-dev.28" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:28:39 provisioning config files... 05:28:39 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/13@tmp/config2631803727643309382tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:28:39 ---> docker-login.sh 05:28:39 nexus3.edgexfoundry.org:10001 05:28:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:28:39 Configure a credential helper to remove this warning. See 05:28:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:28:39 05:28:39 Login Succeeded 05:28:39 nexus3.edgexfoundry.org:10002 05:28:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:28:39 Configure a credential helper to remove this warning. See 05:28:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:28:39 05:28:39 Login Succeeded 05:28:39 nexus3.edgexfoundry.org:10003 05:28:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:28:39 Configure a credential helper to remove this warning. See 05:28:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:28:39 05:28:39 Login Succeeded 05:28:39 nexus3.edgexfoundry.org:10004 05:28:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:28:40 Configure a credential helper to remove this warning. See 05:28:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:28:40 05:28:40 Login Succeeded 05:28:40 docker.io 05:28:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:28:40 Configure a credential helper to remove this warning. See 05:28:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:28:40 05:28:40 Login Succeeded 05:28:40 ---> docker-login.sh ends [Pipeline] } 05:28:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:28:40 b78e95d17946: Pull complete 05:28:40 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 05:28:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 05:28:40 ---> 8b459fc5aaf0 05:28:40 Step 3/9 : ARG MAKE='make build' [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:28:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:28:40 ========================================================= 05:28:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 05:28:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:28:40 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 05:28:40 Sending build context to Docker daemon 704kB 05:28:40 Step 1/9 : ARG BASE=golang:1.16-alpine3.14 05:28:40 Step 2/9 : FROM ${BASE} AS builder 05:28:40 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 05:28:40 a0d0a0d46f8b: Pulling fs layer 05:28:40 31adcdaf11c8: Pulling fs layer 05:28:40 b8b176561691: Pulling fs layer 05:28:40 4527c011a84f: Pulling fs layer 05:28:40 5d74067f8e1e: Pulling fs layer 05:28:40 e0aca202a116: Pulling fs layer 05:28:40 3a43be97a3b4: Pulling fs layer 05:28:40 34cad66bf833: Pulling fs layer 05:28:40 b4e3c513aaa6: Pulling fs layer 05:28:40 4527c011a84f: Waiting 05:28:40 3a43be97a3b4: Waiting 05:28:40 34cad66bf833: Waiting 05:28:40 5d74067f8e1e: Waiting 05:28:40 b4e3c513aaa6: Waiting 05:28:40 e0aca202a116: Waiting 05:28:40 b8b176561691: Verifying Checksum 05:28:40 b8b176561691: Download complete 05:28:40 31adcdaf11c8: Verifying Checksum 05:28:40 31adcdaf11c8: Download complete 05:28:40 5d74067f8e1e: Verifying Checksum 05:28:40 5d74067f8e1e: Download complete 05:28:40 e0aca202a116: Verifying Checksum 05:28:40 e0aca202a116: Download complete 05:28:40 a0d0a0d46f8b: Verifying Checksum 05:28:40 a0d0a0d46f8b: Download complete 05:28:41 3a43be97a3b4: Verifying Checksum 05:28:41 3a43be97a3b4: Download complete 05:28:41 34cad66bf833: Verifying Checksum 05:28:41 34cad66bf833: Download complete 05:28:41 a0d0a0d46f8b: Pull complete 05:28:41 ---> Running in c172846e1d38 05:28:41 b4e3c513aaa6: Verifying Checksum 05:28:41 b4e3c513aaa6: Download complete 05:28:41 4527c011a84f: Verifying Checksum 05:28:41 4527c011a84f: Download complete 05:28:41 31adcdaf11c8: Pull complete 05:28:41 b8b176561691: Pull complete 05:28:41 Removing intermediate container c172846e1d38 05:28:41 ---> bc87e6a42a90 05:28:41 Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:28:42 ---> Running in 1f2333398e43 05:28:43 Removing intermediate container 1f2333398e43 05:28:43 ---> 9df0b40991fa 05:28:43 Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:28:43 ---> Running in 0c18ef0c582c 05:28:44 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:28:45 4527c011a84f: Pull complete 05:28:45 5d74067f8e1e: Pull complete 05:28:45 e0aca202a116: Pull complete 05:28:45 3a43be97a3b4: Pull complete 05:28:45 34cad66bf833: Pull complete 05:28:45 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:28:46 (1/8) Installing openssh-keygen (8.6_p1-r3) 05:28:46 (2/8) Installing libedit (20210216.3.1-r0) 05:28:46 (3/8) Installing openssh-client-common (8.6_p1-r3) 05:28:46 (4/8) Installing openssh-client-default (8.6_p1-r3) 05:28:47 (5/8) Installing openssh-sftp-server (8.6_p1-r3) 05:28:47 (6/8) Installing openssh-server-common (8.6_p1-r3) 05:28:47 (7/8) Installing openssh-server (8.6_p1-r3) 05:28:47 (8/8) Installing openssh (8.6_p1-r3) 05:28:47 Executing busybox-1.33.1-r3.trigger 05:28:47 OK: 225 MiB in 60 packages 05:28:47 b4e3c513aaa6: Pull complete 05:28:47 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 05:28:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 05:28:47 ---> 9f6097aaca64 05:28:47 Step 3/9 : ARG MAKE='make build' 05:28:48 Removing intermediate container 0c18ef0c582c 05:28:48 ---> 65aa62b9688e 05:28:48 Step 6/9 : WORKDIR /device-modbus-go 05:28:48 ---> Running in ae26da64370e 05:28:49 Removing intermediate container ae26da64370e 05:28:49 ---> 1e756e4f1cec 05:28:49 Step 7/9 : COPY . . 05:28:49 ---> 009f8c5122e4 05:28:49 Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:28:50 ---> Running in d867e24d371f 05:28:52 ---> Running in 6be316ca981e 05:28:52 Removing intermediate container 6be316ca981e 05:28:52 ---> 5d58e0ebc5f8 05:28:52 Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:28:52 ---> Running in 44237142a3e5 05:28:52 Removing intermediate container 44237142a3e5 05:28:52 ---> e0671fdafdf8 05:28:52 Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:28:52 ---> Running in c56d5fe5cb27 05:28:52 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:28:53 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:28:53 (1/8) Installing openssh-keygen (8.6_p1-r3) 05:28:53 (2/8) Installing libedit (20210216.3.1-r0) 05:28:53 (3/8) Installing openssh-client-common (8.6_p1-r3) 05:28:54 (4/8) Installing openssh-client-default (8.6_p1-r3) 05:28:54 (5/8) Installing openssh-sftp-server (8.6_p1-r3) 05:28:54 (6/8) Installing openssh-server-common (8.6_p1-r3) 05:28:54 (7/8) Installing openssh-server (8.6_p1-r3) 05:28:54 (8/8) Installing openssh (8.6_p1-r3) 05:28:54 Executing busybox-1.33.1-r3.trigger 05:28:54 OK: 226 MiB in 60 packages 05:28:54 Removing intermediate container c56d5fe5cb27 05:28:54 ---> 9a08092f0a18 05:28:54 Step 6/9 : WORKDIR /device-modbus-go 05:28:54 ---> Running in 4592a92d13b3 05:28:54 Removing intermediate container 4592a92d13b3 05:28:54 ---> dd74cced3f6c 05:28:54 Step 7/9 : COPY . . 05:28:55 ---> a45bf50a34e0 05:28:55 Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:28:55 ---> Running in 202c26d501a9 05:29:27 Removing intermediate container 202c26d501a9 05:29:27 ---> 486d87b72294 05:29:27 Step 9/9 : RUN ${MAKE} 05:29:27 ---> Running in a91c8c528c08 05:29:27 noop 05:29:27 Removing intermediate container a91c8c528c08 05:29:27 ---> a4cf22fb71e2 05:29:27 Successfully built a4cf22fb71e2 05:29:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:29:27 + docker inspect -f . ci-base-image-x86_64 05:29:27 . [Pipeline] withDockerContainer 05:29:27 prd-centos7-docker-4c-2g-27912 does not seem to be running inside a container 05:29:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/13 -v /w/workspace/device-modbus-go/13:/w/workspace/device-modbus-go/13:rw,z -v /w/workspace/device-modbus-go/13@tmp:/w/workspace/device-modbus-go/13@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 05:29:28 $ docker top 8e1791f04842f1ad60cdf997fb7609c700557c985ecbc7e24762ef168509812c -eo pid,comm [Pipeline] { [Pipeline] sh 05:29:28 + go version 05:29:28 go version go1.16.8 linux/amd64 [Pipeline] } 05:29:28 $ docker stop --time=1 8e1791f04842f1ad60cdf997fb7609c700557c985ecbc7e24762ef168509812c 05:29:29 $ docker rm -f 8e1791f04842f1ad60cdf997fb7609c700557c985ecbc7e24762ef168509812c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:29:30 + docker inspect -f . ci-base-image-x86_64 05:29:30 . [Pipeline] withDockerContainer 05:29:30 prd-centos7-docker-4c-2g-27912 does not seem to be running inside a container 05:29:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/13 -v /w/workspace/device-modbus-go/13:/w/workspace/device-modbus-go/13:rw,z -v /w/workspace/device-modbus-go/13@tmp:/w/workspace/device-modbus-go/13@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 05:29:30 $ docker top 62883f868b8a2d8ca21c461e5f25019169163d063311e30d80301717ba228720 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:29:31 + make test 05:29:31 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:29:31 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:29:49 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:29:49 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 46.6% of statements 05:29:49 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:29:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:29:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:29:54 ./bin/test-attribution-txt.sh [Pipeline] } 05:29:54 $ docker stop --time=1 62883f868b8a2d8ca21c461e5f25019169163d063311e30d80301717ba228720 05:29:56 $ docker rm -f 62883f868b8a2d8ca21c461e5f25019169163d063311e30d80301717ba228720 [Pipeline] // withDockerContainer [Pipeline] sh 05:29:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:29:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:29:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:29:58 + ls -al . 05:29:58 total 152 05:29:58 drwxrwxr-x. 9 jenkins jenkins 4096 Nov 8 05:29 . 05:29:58 drwxrwxr-x. 4 jenkins jenkins 30 Nov 8 05:28 .. 05:29:58 -rw-rw-r--. 1 jenkins jenkins 8010 Nov 8 05:28 Attribution.txt 05:29:58 drwxrwxr-x. 2 jenkins jenkins 60 Nov 8 05:28 bin 05:29:58 -rw-rw-r--. 1 jenkins jenkins 6038 Nov 8 05:28 CHANGELOG.md 05:29:58 drwxrwxr-x. 3 jenkins jenkins 32 Nov 8 05:28 cmd 05:29:58 -rw-r--r--. 1 jenkins jenkins 23727 Nov 8 05:29 coverage.out 05:29:58 -rw-rw-r--. 1 jenkins jenkins 1523 Nov 8 05:28 Dockerfile 05:29:58 -rw-rw-r--. 1 jenkins jenkins 140 Nov 8 05:28 .dockerignore 05:29:58 drwxrwxr-x. 8 jenkins jenkins 162 Nov 8 05:28 .git 05:29:58 drwxrwxr-x. 2 jenkins jenkins 103 Nov 8 05:28 .github 05:29:58 -rw-rw-r--. 1 jenkins jenkins 331 Nov 8 05:28 .gitignore 05:29:58 -rw-rw-r--. 1 jenkins jenkins 308 Nov 8 05:28 go.mod 05:29:58 -rw-rw-r--. 1 jenkins jenkins 49577 Nov 8 05:28 go.sum 05:29:58 -rw-rw-r--. 1 jenkins jenkins 677 Nov 8 05:28 GOVERNANCE.md 05:29:58 drwxrwxr-x. 3 jenkins jenkins 20 Nov 8 05:28 internal 05:29:58 -rw-rw-r--. 1 jenkins jenkins 679 Nov 8 05:28 Jenkinsfile 05:29:58 -rw-rw-r--. 1 jenkins jenkins 11340 Nov 8 05:28 LICENSE 05:29:58 -rw-rw-r--. 1 jenkins jenkins 1009 Nov 8 05:28 Makefile 05:29:58 -rw-rw-r--. 1 jenkins jenkins 622 Nov 8 05:28 OWNERS.md 05:29:58 -rw-rw-r--. 1 jenkins jenkins 2891 Nov 8 05:28 README.md 05:29:58 drwxrwxr-x. 2 jenkins jenkins 52 Nov 8 05:28 simulator 05:29:58 drwxrwxr-x. 4 jenkins jenkins 71 Nov 8 05:28 snap 05:29:58 -rw-rw-r--. 1 jenkins jenkins 12 Nov 8 05:26 VERSION 05:29:58 -rw-rw-r--. 1 jenkins jenkins 229 Nov 8 05:28 version.go [Pipeline] isUnix [Pipeline] sh 05:29:58 + 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=159a8a861e29f2433d7a50979645c48e0f5e62c9 --label arch=amd64 --label version=2.0.1-dev.10 . 05:29:58 Sending build context to Docker daemon 728.6kB 05:29:58 Step 1/22 : ARG BASE=golang:1.16-alpine3.14 05:29:58 Step 2/22 : FROM ${BASE} AS builder 05:29:58 ---> a4cf22fb71e2 05:29:58 Step 3/22 : ARG MAKE='make build' 05:29:58 ---> Running in 8064f7a6833b 05:29:58 Removing intermediate container 8064f7a6833b 05:29:58 ---> 1bfa6d285e15 05:29:58 Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:29:58 ---> Running in 93087b93eea6 05:29:59 Removing intermediate container 93087b93eea6 05:29:59 ---> 4dc14eae5ce2 05:29:59 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:29:59 ---> Running in 330cc36f4777 05:29:59 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:30:00 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:30:00 OK: 226 MiB in 60 packages 05:30:00 Removing intermediate container 330cc36f4777 05:30:00 ---> 89d13d1ac8c2 05:30:00 Step 6/22 : WORKDIR /device-modbus-go 05:30:00 ---> Running in c000b8fe36e7 05:30:00 Removing intermediate container c000b8fe36e7 05:30:00 ---> a32d0d69762a 05:30:00 Step 7/22 : COPY . . 05:30:01 ---> 92ca49c91375 05:30:01 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:30:01 ---> Running in 6a150f3a3a4d 05:30:01 Removing intermediate container 6a150f3a3a4d 05:30:01 ---> 88b0efd8865c 05:30:01 Step 9/22 : RUN ${MAKE} 05:30:01 ---> Running in 21a5766054bf 05:30:01 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.0.1-dev.10" -o cmd/device-modbus ./cmd 05:30:12 Removing intermediate container d867e24d371f 05:30:12 ---> 6b6c755a8083 05:30:12 Step 9/9 : RUN ${MAKE} 05:30:12 ---> Running in 92f58de19568 05:30:12 noop 05:30:12 Removing intermediate container 92f58de19568 05:30:12 ---> 491bf4f34dac 05:30:12 Successfully built 491bf4f34dac 05:30:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:30:12 + docker inspect -f . ci-base-image-arm64 05:30:12 . [Pipeline] withDockerContainer 05:30:12 prd-ubuntu18.04-docker-arm64-4c-16g-27911 does not seem to be running inside a container 05:30:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/13 -v /w/workspace/device-modbus-go/13:/w/workspace/device-modbus-go/13:rw,z -v /w/workspace/device-modbus-go/13@tmp:/w/workspace/device-modbus-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:30:14 $ docker top 53defd3ca216683e7b9e5e6337eeb17d72c81f97767a1757c49cb1882bf25e51 -eo pid,comm 05:30:14 Removing intermediate container 21a5766054bf 05:30:14 ---> a81397410033 05:30:14 Step 10/22 : FROM alpine:3.14 [Pipeline] { [Pipeline] sh 05:30:15 + go version 05:30:15 go version go1.16.8 linux/arm64 [Pipeline] } 05:30:15 $ docker stop --time=1 53defd3ca216683e7b9e5e6337eeb17d72c81f97767a1757c49cb1882bf25e51 05:30:16 3.14: Pulling from library/alpine 05:30:16 a0d0a0d46f8b: Already exists 05:30:16 $ docker rm -f 53defd3ca216683e7b9e5e6337eeb17d72c81f97767a1757c49cb1882bf25e51 05:30:17 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 05:30:17 Status: Downloaded newer image for alpine:3.14 05:30:17 ---> 14119a10abf4 05:30:17 Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:30:17 ---> Running in a4dfe2c08eb9 05:30:17 Removing intermediate container a4dfe2c08eb9 05:30:17 ---> 61a92b943bdc 05:30:17 Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:30:17 ---> Running in a365254cede4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:30:17 + docker inspect -f . ci-base-image-arm64 05:30:17 . [Pipeline] withDockerContainer 05:30:17 Removing intermediate container a365254cede4 05:30:17 ---> 28451e116dee 05:30:17 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 05:30:17 ---> Running in 33cf9f35a08e 05:30:17 prd-ubuntu18.04-docker-arm64-4c-16g-27911 does not seem to be running inside a container 05:30:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/13 -v /w/workspace/device-modbus-go/13:/w/workspace/device-modbus-go/13:rw,z -v /w/workspace/device-modbus-go/13@tmp:/w/workspace/device-modbus-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:30:17 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:30:18 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:30:19 (1/6) Installing dumb-init (1.2.5-r1) 05:30:19 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:30:19 (3/6) Installing libsodium (1.0.18-r0) 05:30:19 $ docker top b187106043c0aa66e4fa0fd4eec1f21f45730a9bb9640c3c3f68d03269a05fa7 -eo pid,comm 05:30:19 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:30:19 (5/6) Installing libzmq (4.3.4-r0) 05:30:19 (6/6) Installing zeromq (4.3.4-r0) [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:30:19 Executing busybox-1.33.1-r3.trigger 05:30:19 OK: 8 MiB in 20 packages 05:30:19 Removing intermediate container 33cf9f35a08e 05:30:19 ---> 59e1ae0bc3ea 05:30:19 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:30:20 ---> d2e4ffc95742 05:30:20 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:30:20 + make test 05:30:20 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:30:20 ---> a22b8cb5b4ff 05:30:20 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:30:20 ---> 8a4473c7c6e1 05:30:20 Step 17/22 : EXPOSE 59901 05:30:20 ---> Running in 90f57949ab2e 05:30:20 Removing intermediate container 90f57949ab2e 05:30:20 ---> d7c59cdde65d 05:30:20 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:30:20 ---> Running in 86187791ca38 05:30:20 Removing intermediate container 86187791ca38 05:30:20 ---> e34160ae0bfe 05:30:20 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:30:20 ---> Running in 343f0aae58b7 05:30:20 Removing intermediate container 343f0aae58b7 05:30:20 ---> 4c6c9d48a00f 05:30:20 Step 20/22 : LABEL arch=amd64 05:30:20 ---> Running in 9a83b02f9499 05:30:21 Removing intermediate container 9a83b02f9499 05:30:21 ---> 86ea101b2760 05:30:21 Step 21/22 : LABEL git_sha=159a8a861e29f2433d7a50979645c48e0f5e62c9 05:30:21 ---> Running in df76dac899c3 05:30:21 Removing intermediate container df76dac899c3 05:30:21 ---> f610ed049883 05:30:21 Step 22/22 : LABEL version=2.0.1-dev.10 05:30:21 ---> Running in 04bf905646e1 05:30:21 Removing intermediate container 04bf905646e1 05:30:21 ---> be4c32745469 05:30:21 [Warning] One or more build-args [ARCH] were not consumed 05:30:21 Successfully built be4c32745469 05:30:21 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:30:21 provisioning config files... 05:30:21 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/13@tmp/config4730770325995649683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:30:21 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:30:21 ---> docker-login.sh 05:30:21 nexus3.edgexfoundry.org:10001 05:30:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:30:21 Configure a credential helper to remove this warning. See 05:30:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:30:21 05:30:21 Login Succeeded 05:30:21 nexus3.edgexfoundry.org:10002 05:30:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:30:21 Configure a credential helper to remove this warning. See 05:30:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:30:21 05:30:21 Login Succeeded 05:30:21 nexus3.edgexfoundry.org:10003 05:30:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:30:22 Configure a credential helper to remove this warning. See 05:30:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:30:22 05:30:22 Login Succeeded 05:30:22 nexus3.edgexfoundry.org:10004 05:30:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:30:22 Configure a credential helper to remove this warning. See 05:30:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:30:22 05:30:22 Login Succeeded 05:30:22 docker.io 05:30:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:30:22 Configure a credential helper to remove this warning. See 05:30:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:30:22 05:30:22 Login Succeeded 05:30:22 ---> docker-login.sh ends [Pipeline] } 05:30:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:30:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:30:22 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 05:30:22 159a8a861e29f2433d7a50979645c48e0f5e62c9 05:30:22 latest 05:30:22 2.0.1-dev.10 05:30:22 159a8a861e29f2433d7a50979645c48e0f5e62c9-2.0.1-dev.10 05:30:22 main 05:30:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:30:22 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:159a8a861e29f2433d7a50979645c48e0f5e62c9 [Pipeline] isUnix [Pipeline] sh 05:30:23 + docker push nexus3.edgexfoundry.org:10004/device-modbus:159a8a861e29f2433d7a50979645c48e0f5e62c9 05:30:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:30:23 545e350c03ba: Preparing 05:30:23 fc67286b6268: Preparing 05:30:23 cb060b089255: Preparing 05:30:23 3abb03e139a2: Preparing 05:30:23 18692b35b9be: Preparing 05:30:23 e2eb06d8af82: Preparing 05:30:23 e2eb06d8af82: Waiting 05:30:23 fc67286b6268: Pushed 05:30:23 18692b35b9be: Pushed 05:30:23 e2eb06d8af82: Layer already exists 05:30:23 545e350c03ba: Pushed 05:30:23 3abb03e139a2: Pushed 05:30:24 cb060b089255: Pushed 05:30:24 159a8a861e29f2433d7a50979645c48e0f5e62c9: digest: sha256:8a6fc8147ea524341a3391a8fdbc9fa8e5504fe94b55d2dc5b1fcf6705b90fdb size: 1573 [Pipeline] isUnix [Pipeline] sh 05:30:25 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh 05:30:25 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 05:30:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:30:25 545e350c03ba: Preparing 05:30:25 fc67286b6268: Preparing 05:30:25 cb060b089255: Preparing 05:30:25 3abb03e139a2: Preparing 05:30:25 18692b35b9be: Preparing 05:30:25 e2eb06d8af82: Preparing 05:30:25 e2eb06d8af82: Waiting 05:30:25 fc67286b6268: Layer already exists 05:30:25 3abb03e139a2: Layer already exists 05:30:25 cb060b089255: Layer already exists 05:30:25 545e350c03ba: Layer already exists 05:30:25 18692b35b9be: Layer already exists 05:30:25 e2eb06d8af82: Layer already exists 05:30:25 latest: digest: sha256:8a6fc8147ea524341a3391a8fdbc9fa8e5504fe94b55d2dc5b1fcf6705b90fdb size: 1573 [Pipeline] isUnix [Pipeline] sh 05:30:25 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.10 [Pipeline] isUnix [Pipeline] sh 05:30:25 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.10 05:30:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:30:25 545e350c03ba: Preparing 05:30:25 fc67286b6268: Preparing 05:30:25 cb060b089255: Preparing 05:30:25 3abb03e139a2: Preparing 05:30:25 18692b35b9be: Preparing 05:30:25 e2eb06d8af82: Preparing 05:30:25 e2eb06d8af82: Waiting 05:30:25 3abb03e139a2: Layer already exists 05:30:25 545e350c03ba: Layer already exists 05:30:25 fc67286b6268: Layer already exists 05:30:25 18692b35b9be: Layer already exists 05:30:25 cb060b089255: Layer already exists 05:30:25 e2eb06d8af82: Layer already exists 05:30:25 2.0.1-dev.10: digest: sha256:8a6fc8147ea524341a3391a8fdbc9fa8e5504fe94b55d2dc5b1fcf6705b90fdb size: 1573 [Pipeline] isUnix [Pipeline] sh 05:30:26 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:159a8a861e29f2433d7a50979645c48e0f5e62c9-2.0.1-dev.10 [Pipeline] isUnix [Pipeline] sh 05:30:26 + docker push nexus3.edgexfoundry.org:10004/device-modbus:159a8a861e29f2433d7a50979645c48e0f5e62c9-2.0.1-dev.10 05:30:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:30:26 545e350c03ba: Preparing 05:30:26 fc67286b6268: Preparing 05:30:26 cb060b089255: Preparing 05:30:26 3abb03e139a2: Preparing 05:30:26 18692b35b9be: Preparing 05:30:26 e2eb06d8af82: Preparing 05:30:26 e2eb06d8af82: Waiting 05:30:26 3abb03e139a2: Layer already exists 05:30:26 545e350c03ba: Layer already exists 05:30:26 fc67286b6268: Layer already exists 05:30:26 18692b35b9be: Layer already exists 05:30:26 cb060b089255: Layer already exists 05:30:26 e2eb06d8af82: Layer already exists 05:30:26 159a8a861e29f2433d7a50979645c48e0f5e62c9-2.0.1-dev.10: digest: sha256:8a6fc8147ea524341a3391a8fdbc9fa8e5504fe94b55d2dc5b1fcf6705b90fdb size: 1573 [Pipeline] isUnix [Pipeline] sh 05:30:26 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh 05:30:27 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 05:30:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:30:27 545e350c03ba: Preparing 05:30:27 fc67286b6268: Preparing 05:30:27 cb060b089255: Preparing 05:30:27 3abb03e139a2: Preparing 05:30:27 18692b35b9be: Preparing 05:30:27 e2eb06d8af82: Preparing 05:30:27 e2eb06d8af82: Waiting 05:30:27 545e350c03ba: Layer already exists 05:30:27 18692b35b9be: Layer already exists 05:30:27 3abb03e139a2: Layer already exists 05:30:27 fc67286b6268: Layer already exists 05:30:27 cb060b089255: Layer already exists 05:30:27 e2eb06d8af82: Layer already exists 05:30:27 main: digest: sha256:8a6fc8147ea524341a3391a8fdbc9fa8e5504fe94b55d2dc5b1fcf6705b90fdb size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:30:27 ===================================================== [Pipeline] echo 05:30:27 taggedImages: 05:30:27 - nexus3.edgexfoundry.org:10004/device-modbus:159a8a861e29f2433d7a50979645c48e0f5e62c9 05:30:27 - nexus3.edgexfoundry.org:10004/device-modbus:latest 05:30:27 - nexus3.edgexfoundry.org:10004/device-modbus:2.0.1-dev.10 05:30:27 - nexus3.edgexfoundry.org:10004/device-modbus:159a8a861e29f2433d7a50979645c48e0f5e62c9-2.0.1-dev.10 05:30:27 - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:30:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:30:27 05:30:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:30:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:30:27 latest: Pulling from edgex-lftools-log-publisher 05:30:27 b4d181a07f80: Pulling fs layer 05:30:27 a1111a8f2ec3: Pulling fs layer 05:30:27 ed53099fbce6: Pulling fs layer 05:30:27 dc539afda2c1: Pulling fs layer 05:30:27 77bc0d833cb6: Pulling fs layer 05:30:27 9065ff56babe: Pulling fs layer 05:30:27 d287ab97295c: Pulling fs layer 05:30:27 dc539afda2c1: Waiting 05:30:27 77bc0d833cb6: Waiting 05:30:27 9065ff56babe: Waiting 05:30:27 d287ab97295c: Waiting 05:30:27 a1111a8f2ec3: Verifying Checksum 05:30:27 a1111a8f2ec3: Download complete 05:30:27 dc539afda2c1: Verifying Checksum 05:30:27 dc539afda2c1: Download complete 05:30:27 ed53099fbce6: Verifying Checksum 05:30:27 ed53099fbce6: Download complete 05:30:28 9065ff56babe: Verifying Checksum 05:30:28 9065ff56babe: Download complete 05:30:28 77bc0d833cb6: Verifying Checksum 05:30:28 77bc0d833cb6: Download complete 05:30:28 b4d181a07f80: Verifying Checksum 05:30:28 b4d181a07f80: Download complete 05:30:28 d287ab97295c: Verifying Checksum 05:30:28 d287ab97295c: Download complete 05:30:29 b4d181a07f80: Pull complete 05:30:29 a1111a8f2ec3: Pull complete 05:30:30 ed53099fbce6: Pull complete 05:30:30 dc539afda2c1: Pull complete 05:30:30 77bc0d833cb6: Pull complete 05:30:30 9065ff56babe: Pull complete 05:30:36 d287ab97295c: Pull complete 05:30:36 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 05:30:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:30:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:30:36 prd-centos7-docker-4c-2g-27912 does not seem to be running inside a container 05:30:36 $ 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/13 -v /w/workspace/device-modbus-go/13:/w/workspace/device-modbus-go/13:rw,z -v /w/workspace/device-modbus-go/13@tmp:/w/workspace/device-modbus-go/13@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 05:30:39 $ docker top 2109823dc1d4dad09f287d9f86abdc8344564d50441dbb3816f00f0738d23433 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:30:39 ---> job-cost.sh 05:30:39 lf-activate-venv: SKIPPING 05:30:39 INFO: No Stack... 05:30:41 INFO: Retrieving Pricing Info for: v3-standard-2 05:30:41 INFO: Archiving Costs [Pipeline] sh 05:30:42 + cat /w/workspace/device-modbus-go/13/archives/cost.csv 05:30:42 + cut -d, -f6 [Pipeline] lock 05:30:42 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-13-stack-cost] 05:30:42 Resource [jenkins-edgexfoundry-device-modbus-go-main-13-stack-cost] did not exist. Created. 05:30:42 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:30:42 + echo total: 0.05999999865889549 [Pipeline] stash 05:30:42 Stashed 1 file(s) [Pipeline] } 05:30:42 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-13-stack-cost] [Pipeline] // lock [Pipeline] } 05:30:42 $ docker stop --time=1 2109823dc1d4dad09f287d9f86abdc8344564d50441dbb3816f00f0738d23433 05:30:43 $ docker rm -f 2109823dc1d4dad09f287d9f86abdc8344564d50441dbb3816f00f0738d23433 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:31:18 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:31:18 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.053s coverage: 46.6% of statements 05:31:18 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:31:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:31:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:31:40 ./bin/test-attribution-txt.sh [Pipeline] } 05:31:40 $ docker stop --time=1 b187106043c0aa66e4fa0fd4eec1f21f45730a9bb9640c3c3f68d03269a05fa7 05:31:42 $ docker rm -f b187106043c0aa66e4fa0fd4eec1f21f45730a9bb9640c3c3f68d03269a05fa7 [Pipeline] // withDockerContainer [Pipeline] sh 05:31:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:31:43 Warning: overwriting stash ‘coverage-report’ 05:31:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:31:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:31:44 + ls -al . 05:31:44 total 184 05:31:44 drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 05:31 . 05:31:44 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 05:27 .. 05:31:44 -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 05:27 .dockerignore 05:31:44 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 05:27 .git 05:31:44 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 05:27 .github 05:31:44 -rw-rw-r-- 1 jenkins jenkins 331 Nov 8 05:27 .gitignore 05:31:44 -rw-rw-r-- 1 jenkins jenkins 8010 Nov 8 05:27 Attribution.txt 05:31:44 -rw-rw-r-- 1 jenkins jenkins 6038 Nov 8 05:27 CHANGELOG.md 05:31:44 -rw-rw-r-- 1 jenkins jenkins 1523 Nov 8 05:27 Dockerfile 05:31:44 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 05:27 GOVERNANCE.md 05:31:44 -rw-rw-r-- 1 jenkins jenkins 679 Nov 8 05:27 Jenkinsfile 05:31:44 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 05:27 LICENSE 05:31:44 -rw-rw-r-- 1 jenkins jenkins 1009 Nov 8 05:27 Makefile 05:31:44 -rw-rw-r-- 1 jenkins jenkins 622 Nov 8 05:27 OWNERS.md 05:31:44 -rw-rw-r-- 1 jenkins jenkins 2891 Nov 8 05:27 README.md 05:31:44 -rw-rw-r-- 1 jenkins jenkins 12 Nov 8 05:26 VERSION 05:31:44 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 05:27 bin 05:31:44 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 05:27 cmd 05:31:44 -rw-r--r-- 1 jenkins jenkins 23727 Nov 8 05:31 coverage.out 05:31:44 -rw-rw-r-- 1 jenkins jenkins 308 Nov 8 05:27 go.mod 05:31:44 -rw-rw-r-- 1 jenkins jenkins 49577 Nov 8 05:27 go.sum 05:31:44 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 05:27 internal 05:31:44 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 05:27 simulator 05:31:44 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 05:27 snap 05:31:44 -rw-rw-r-- 1 jenkins jenkins 229 Nov 8 05:27 version.go [Pipeline] isUnix [Pipeline] sh 05:31:44 + 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=159a8a861e29f2433d7a50979645c48e0f5e62c9 --label arch=arm64 --label version=2.0.1-dev.10 . 05:31:45 Sending build context to Docker daemon 727kB 05:31:45 Step 1/22 : ARG BASE=golang:1.16-alpine3.14 05:31:45 Step 2/22 : FROM ${BASE} AS builder 05:31:45 ---> 491bf4f34dac 05:31:45 Step 3/22 : ARG MAKE='make build' 05:31:45 ---> Running in f5e064bbbc60 05:31:45 Removing intermediate container f5e064bbbc60 05:31:45 ---> 3d32b972b36d 05:31:45 Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:31:46 ---> Running in 2c950ff1c29f 05:31:48 Removing intermediate container 2c950ff1c29f 05:31:48 ---> 250a11706c0f 05:31:48 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:31:48 ---> Running in 87e46dda2121 05:31:48 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:31:49 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:31:50 OK: 225 MiB in 60 packages 05:31:51 Removing intermediate container 87e46dda2121 05:31:51 ---> 908e7f1443b9 05:31:51 Step 6/22 : WORKDIR /device-modbus-go 05:31:51 ---> Running in 1d9dd0becff4 05:31:52 Removing intermediate container 1d9dd0becff4 05:31:52 ---> c802e8f76f63 05:31:52 Step 7/22 : COPY . . 05:31:53 ---> 16e0ed069ec2 05:31:53 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:31:53 ---> Running in a15f4f98b5b0 05:31:55 Removing intermediate container a15f4f98b5b0 05:31:55 ---> 92c3310ef06e 05:31:55 Step 9/22 : RUN ${MAKE} 05:31:55 ---> Running in 088c6bfc439a 05:31:56 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.0.1-dev.10" -o cmd/device-modbus ./cmd 05:32:35 Removing intermediate container 088c6bfc439a 05:32:35 ---> 64353d05e6c5 05:32:35 Step 10/22 : FROM alpine:3.14 05:32:36 3.14: Pulling from library/alpine 05:32:36 552d1f2373af: Already exists 05:32:36 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 05:32:36 Status: Downloaded newer image for alpine:3.14 05:32:36 ---> bb3de5531c18 05:32:36 Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:32:36 ---> Running in 1e70199cc0f2 05:32:36 Removing intermediate container 1e70199cc0f2 05:32:36 ---> 69e25d2f0a52 05:32:36 Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:32:36 ---> Running in 471561740c22 05:32:38 Removing intermediate container 471561740c22 05:32:38 ---> 4a4a29abc2c9 05:32:38 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 05:32:38 ---> Running in aa0a8bc421cb 05:32:39 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:32:40 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:32:41 (1/6) Installing dumb-init (1.2.5-r1) 05:32:41 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:32:41 (3/6) Installing libsodium (1.0.18-r0) 05:32:41 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:32:41 (5/6) Installing libzmq (4.3.4-r0) 05:32:41 (6/6) Installing zeromq (4.3.4-r0) 05:32:41 Executing busybox-1.33.1-r3.trigger 05:32:41 OK: 8 MiB in 20 packages 05:32:42 Removing intermediate container aa0a8bc421cb 05:32:42 ---> f599c63d5c5b 05:32:42 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:32:43 ---> bbdd2a57212b 05:32:43 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:32:44 ---> b3eea0fede94 05:32:44 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:32:45 ---> 514a0d520388 05:32:45 Step 17/22 : EXPOSE 59901 05:32:45 ---> Running in 976a71fddd54 05:32:45 Removing intermediate container 976a71fddd54 05:32:45 ---> 9a8af8209be7 05:32:45 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:32:46 ---> Running in ea2f184670ea 05:32:46 Removing intermediate container ea2f184670ea 05:32:46 ---> 05b65b913a41 05:32:46 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:32:46 ---> Running in 94ea0b52fb41 05:32:46 Removing intermediate container 94ea0b52fb41 05:32:46 ---> 4cf3f3423f37 05:32:46 Step 20/22 : LABEL arch=arm64 05:32:46 ---> Running in cc8ba337503d 05:32:47 Removing intermediate container cc8ba337503d 05:32:47 ---> 0c8b90576734 05:32:47 Step 21/22 : LABEL git_sha=159a8a861e29f2433d7a50979645c48e0f5e62c9 05:32:47 ---> Running in bbb390b3d7e1 05:32:47 Removing intermediate container bbb390b3d7e1 05:32:47 ---> 7540a65887a1 05:32:47 Step 22/22 : LABEL version=2.0.1-dev.10 05:32:47 ---> Running in 7be820916bf5 05:32:48 Removing intermediate container 7be820916bf5 05:32:48 ---> b0deadf6d750 05:32:48 [Warning] One or more build-args [ARCH] were not consumed 05:32:48 Successfully built b0deadf6d750 05:32:48 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:32:48 provisioning config files... 05:32:48 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/13@tmp/config390948798904783364tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:32:48 ---> docker-login.sh 05:32:48 nexus3.edgexfoundry.org:10001 05:32:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:32:49 Configure a credential helper to remove this warning. See 05:32:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:32:49 05:32:49 Login Succeeded 05:32:49 nexus3.edgexfoundry.org:10002 05:32:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:32:49 Configure a credential helper to remove this warning. See 05:32:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:32:49 05:32:49 Login Succeeded 05:32:49 nexus3.edgexfoundry.org:10003 05:32:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:32:50 Configure a credential helper to remove this warning. See 05:32:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:32:50 05:32:50 Login Succeeded 05:32:50 nexus3.edgexfoundry.org:10004 05:32:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:32:50 Configure a credential helper to remove this warning. See 05:32:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:32:50 05:32:50 Login Succeeded 05:32:50 docker.io 05:32:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:32:51 Configure a credential helper to remove this warning. See 05:32:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:32:51 05:32:51 Login Succeeded 05:32:51 ---> docker-login.sh ends [Pipeline] } 05:32:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:32:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:32:51 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 05:32:51 159a8a861e29f2433d7a50979645c48e0f5e62c9 05:32:51 latest 05:32:51 2.0.1-dev.10 05:32:51 159a8a861e29f2433d7a50979645c48e0f5e62c9-2.0.1-dev.10 05:32:51 main 05:32:51 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:32:52 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:159a8a861e29f2433d7a50979645c48e0f5e62c9 [Pipeline] isUnix [Pipeline] sh 05:32:52 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:159a8a861e29f2433d7a50979645c48e0f5e62c9 05:32:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:32:52 d6f3e5b20cb0: Preparing 05:32:52 ab72f70b1fa6: Preparing 05:32:52 ec84bf98b544: Preparing 05:32:52 585dd37fa5fd: Preparing 05:32:52 ac74313ac75f: Preparing 05:32:52 ee420dfed78a: Preparing 05:32:52 ee420dfed78a: Waiting 05:32:52 ab72f70b1fa6: Pushed 05:32:52 d6f3e5b20cb0: Pushed 05:32:52 ac74313ac75f: Pushed 05:32:52 ee420dfed78a: Layer already exists 05:32:53 585dd37fa5fd: Pushed 05:32:55 ec84bf98b544: Pushed 05:32:55 159a8a861e29f2433d7a50979645c48e0f5e62c9: digest: sha256:04093c2f6779ccc8d94989be8464939d6f299ec3ceaf44f61995f996fbddadb9 size: 1572 [Pipeline] isUnix [Pipeline] sh 05:32:56 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:32:56 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 05:32:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:32:56 d6f3e5b20cb0: Preparing 05:32:56 ab72f70b1fa6: Preparing 05:32:56 ec84bf98b544: Preparing 05:32:56 585dd37fa5fd: Preparing 05:32:56 ac74313ac75f: Preparing 05:32:56 ee420dfed78a: Preparing 05:32:56 ee420dfed78a: Waiting 05:32:56 ac74313ac75f: Layer already exists 05:32:56 585dd37fa5fd: Layer already exists 05:32:56 d6f3e5b20cb0: Layer already exists 05:32:56 ec84bf98b544: Layer already exists 05:32:56 ab72f70b1fa6: Layer already exists 05:32:56 ee420dfed78a: Layer already exists 05:32:56 latest: digest: sha256:04093c2f6779ccc8d94989be8464939d6f299ec3ceaf44f61995f996fbddadb9 size: 1572 [Pipeline] isUnix [Pipeline] sh 05:32:57 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.10 [Pipeline] isUnix [Pipeline] sh 05:32:57 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.10 05:32:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:32:57 d6f3e5b20cb0: Preparing 05:32:57 ab72f70b1fa6: Preparing 05:32:57 ec84bf98b544: Preparing 05:32:57 585dd37fa5fd: Preparing 05:32:57 ac74313ac75f: Preparing 05:32:57 ee420dfed78a: Preparing 05:32:57 ee420dfed78a: Waiting 05:32:57 ab72f70b1fa6: Layer already exists 05:32:57 ac74313ac75f: Layer already exists 05:32:57 ec84bf98b544: Layer already exists 05:32:57 d6f3e5b20cb0: Layer already exists 05:32:57 585dd37fa5fd: Layer already exists 05:32:57 ee420dfed78a: Layer already exists 05:32:57 2.0.1-dev.10: digest: sha256:04093c2f6779ccc8d94989be8464939d6f299ec3ceaf44f61995f996fbddadb9 size: 1572 [Pipeline] isUnix [Pipeline] sh 05:32:58 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:159a8a861e29f2433d7a50979645c48e0f5e62c9-2.0.1-dev.10 [Pipeline] isUnix [Pipeline] sh 05:32:58 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:159a8a861e29f2433d7a50979645c48e0f5e62c9-2.0.1-dev.10 05:32:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:32:58 d6f3e5b20cb0: Preparing 05:32:58 ab72f70b1fa6: Preparing 05:32:58 ec84bf98b544: Preparing 05:32:58 585dd37fa5fd: Preparing 05:32:58 ac74313ac75f: Preparing 05:32:58 ee420dfed78a: Preparing 05:32:58 ee420dfed78a: Waiting 05:32:58 585dd37fa5fd: Layer already exists 05:32:58 ac74313ac75f: Layer already exists 05:32:58 ec84bf98b544: Layer already exists 05:32:58 d6f3e5b20cb0: Layer already exists 05:32:58 ab72f70b1fa6: Layer already exists 05:32:58 ee420dfed78a: Layer already exists 05:32:58 159a8a861e29f2433d7a50979645c48e0f5e62c9-2.0.1-dev.10: digest: sha256:04093c2f6779ccc8d94989be8464939d6f299ec3ceaf44f61995f996fbddadb9 size: 1572 [Pipeline] isUnix [Pipeline] sh 05:32:59 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh 05:32:59 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 05:32:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:32:59 d6f3e5b20cb0: Preparing 05:32:59 ab72f70b1fa6: Preparing 05:32:59 ec84bf98b544: Preparing 05:32:59 585dd37fa5fd: Preparing 05:32:59 ac74313ac75f: Preparing 05:32:59 ee420dfed78a: Preparing 05:32:59 ee420dfed78a: Waiting 05:32:59 ab72f70b1fa6: Layer already exists 05:32:59 ac74313ac75f: Layer already exists 05:32:59 d6f3e5b20cb0: Layer already exists 05:32:59 ec84bf98b544: Layer already exists 05:32:59 585dd37fa5fd: Layer already exists 05:32:59 ee420dfed78a: Layer already exists 05:32:59 main: digest: sha256:04093c2f6779ccc8d94989be8464939d6f299ec3ceaf44f61995f996fbddadb9 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:32:59 ===================================================== [Pipeline] echo 05:32:59 taggedImages: 05:32:59 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:159a8a861e29f2433d7a50979645c48e0f5e62c9 05:32:59 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 05:32:59 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.0.1-dev.10 05:32:59 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:159a8a861e29f2433d7a50979645c48e0f5e62c9-2.0.1-dev.10 05:32:59 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:33:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:33:00 05:33:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:33:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:33:01 arm64: Pulling from edgex-lftools-log-publisher 05:33:01 448f6bf000e3: Pulling fs layer 05:33:01 f757da607395: Pulling fs layer 05:33:01 05883995daec: Pulling fs layer 05:33:01 8603b9c90790: Pulling fs layer 05:33:01 1560dd03e051: Pulling fs layer 05:33:01 27f5ce0e4adf: Pulling fs layer 05:33:01 c2d8d7efcc4b: Pulling fs layer 05:33:01 1560dd03e051: Waiting 05:33:01 27f5ce0e4adf: Waiting 05:33:01 c2d8d7efcc4b: Waiting 05:33:01 8603b9c90790: Waiting 05:33:01 f757da607395: Verifying Checksum 05:33:01 f757da607395: Download complete 05:33:01 8603b9c90790: Verifying Checksum 05:33:01 8603b9c90790: Download complete 05:33:01 1560dd03e051: Verifying Checksum 05:33:01 1560dd03e051: Download complete 05:33:01 27f5ce0e4adf: Verifying Checksum 05:33:01 27f5ce0e4adf: Download complete 05:33:01 05883995daec: Verifying Checksum 05:33:01 05883995daec: Download complete 05:33:01 448f6bf000e3: Verifying Checksum 05:33:01 448f6bf000e3: Download complete 05:33:04 c2d8d7efcc4b: Verifying Checksum 05:33:04 c2d8d7efcc4b: Download complete 05:33:05 448f6bf000e3: Pull complete 05:33:05 f757da607395: Pull complete 05:33:07 05883995daec: Pull complete 05:33:07 8603b9c90790: Pull complete 05:33:08 1560dd03e051: Pull complete 05:33:08 27f5ce0e4adf: Pull complete 05:33:23 c2d8d7efcc4b: Pull complete 05:33:23 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 05:33:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:33:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:33:24 prd-ubuntu18.04-docker-arm64-4c-16g-27911 does not seem to be running inside a container 05:33:24 $ 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/13 -v /w/workspace/device-modbus-go/13:/w/workspace/device-modbus-go/13:rw,z -v /w/workspace/device-modbus-go/13@tmp:/w/workspace/device-modbus-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:33:26 $ docker top 198117d5294c1e866221cf8d2ee1ee378a8d4fc7a23f799d7159b7e76b8dac4d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:33:27 ---> job-cost.sh 05:33:27 lf-activate-venv: SKIPPING 05:33:27 INFO: No Stack... 05:33:33 INFO: Retrieving Pricing Info for: v3-standard-4 05:33:33 INFO: Archiving Costs [Pipeline] sh 05:33:34 + cut -d, -f6 05:33:34 + cat /w/workspace/device-modbus-go/13/archives/cost.csv [Pipeline] lock 05:33:34 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-13-stack-cost] 05:33:34 Resource [jenkins-edgexfoundry-device-modbus-go-main-13-stack-cost] did not exist. Created. 05:33:34 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:33:35 /w/workspace/device-modbus-go/13@tmp/durable-82300980/script.sh: 1: /w/workspace/device-modbus-go/13@tmp/durable-82300980/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 05:33:35 + echo total: 0.10999999940395355 [Pipeline] stash 05:33:35 Warning: overwriting stash ‘stack-cost’ 05:33:36 Stashed 1 file(s) [Pipeline] } 05:33:36 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-13-stack-cost] [Pipeline] // lock [Pipeline] } 05:33:36 $ docker stop --time=1 198117d5294c1e866221cf8d2ee1ee378a8d4fc7a23f799d7159b7e76b8dac4d 05:33:37 $ docker rm -f 198117d5294c1e866221cf8d2ee1ee378a8d4fc7a23f799d7159b7e76b8dac4d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:33:38 provisioning config files... 05:33:38 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3902761784889272172tmp [Pipeline] { [Pipeline] sh 05:33:38 + set +x 05:33:38 + bash -s -- 05:33:38 + curl -s https://codecov.io/bash 05:33:38 05:33:38 _____ _ 05:33:38 / ____| | | 05:33:38 | | ___ __| | ___ ___ _____ __ 05:33:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:33:38 | |___| (_) | (_| | __/ (_| (_) \ V / 05:33:38 \_____\___/ \__,_|\___|\___\___/ \_/ 05:33:38 Bash-1.0.6 05:33:38 05:33:38 05:33:38 ==> git version 2.24.4 found 05:33:38 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 05:33:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 05:33:38 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 05:33:38 ==> Jenkins CI detected. 05:33:38 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 05:33:38 project root: . 05:33:38 --> token set from env 05:33:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:33:38 ==> Running gcov in . (disable via -X gcov) 05:33:38 ==> Python coveragepy not found 05:33:38 ==> Searching for coverage reports in: 05:33:38 + . 05:33:38 -> Found 1 reports 05:33:38 ==> Detecting git/mercurial file structure 05:33:38 ==> Reading reports 05:33:38 + ./coverage.out bytes=23727 05:33:38 ==> Appending adjustments 05:33:38 https://docs.codecov.io/docs/fixing-reports 05:33:38 + Found adjustments 05:33:38 ==> Gzipping contents 05:33:38 4.0K /tmp/codecov.IJYc24.gz 05:33:38 ==> Uploading reports 05:33:38 url: https://codecov.io 05:33:38 query: branch=main&commit=159a8a861e29f2433d7a50979645c48e0f5e62c9&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:33:38 -> Pinging Codecov 05:33:38 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=159a8a861e29f2433d7a50979645c48e0f5e62c9&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:33:39 -> Uploading to 05:33:39 https://storage.googleapis.com/codecov/v4/raw/2021-11-08/55DBCA73C666E3227836607328DD7E49/159a8a861e29f2433d7a50979645c48e0f5e62c9/c1918501-eca5-465b-879d-e614acd01419.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211108T053339Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4454e933cf01236c91addcbdb1510b7b3dae2dd2fe66a01253fd0c7fca99be8b 05:33:39 % Total % Received % Xferd Average Speed Time Time Time Current 05:33:39 Dload Upload Total Spent Left Speed 05:33:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3999 0 0 100 3999 0 14456 --:--:-- --:--:-- --:--:-- 14436 100 3999 0 0 100 3999 0 14447 --:--:-- --:--:-- --:--:-- 14436 05:33:39 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/159a8a861e29f2433d7a50979645c48e0f5e62c9 [Pipeline] } 05:33:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:33:39 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:33:39 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:33:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:33:40 05:33:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 05:33:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:33:40 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:33:40 188c0c94c7c5: Pulling fs layer 05:33:40 0ef7d3d256c8: Pulling fs layer 05:33:40 de9db76c5a1d: Pulling fs layer 05:33:40 0eba1c9be4d2: Pulling fs layer 05:33:40 0d57e429df01: Pulling fs layer 05:33:40 4e4be7b47b0d: Pulling fs layer 05:33:40 e1f770b5df2f: Pulling fs layer 05:33:40 85a0685a4137: Pulling fs layer 05:33:40 0d57e429df01: Waiting 05:33:40 4e4be7b47b0d: Waiting 05:33:40 e1f770b5df2f: Waiting 05:33:40 85a0685a4137: Waiting 05:33:40 0eba1c9be4d2: Waiting 05:33:40 de9db76c5a1d: Verifying Checksum 05:33:40 de9db76c5a1d: Download complete 05:33:40 0ef7d3d256c8: Verifying Checksum 05:33:40 0ef7d3d256c8: Download complete 05:33:40 0d57e429df01: Verifying Checksum 05:33:40 0d57e429df01: Download complete 05:33:40 4e4be7b47b0d: Verifying Checksum 05:33:40 4e4be7b47b0d: Download complete 05:33:40 188c0c94c7c5: Verifying Checksum 05:33:40 188c0c94c7c5: Download complete 05:33:40 e1f770b5df2f: Verifying Checksum 05:33:40 e1f770b5df2f: Download complete 05:33:41 0eba1c9be4d2: Verifying Checksum 05:33:41 0eba1c9be4d2: Download complete 05:33:41 188c0c94c7c5: Pull complete 05:33:41 85a0685a4137: Verifying Checksum 05:33:41 85a0685a4137: Download complete 05:33:41 0ef7d3d256c8: Pull complete 05:33:41 de9db76c5a1d: Pull complete 05:33:45 0eba1c9be4d2: Pull complete 05:33:45 0d57e429df01: Pull complete 05:33:45 4e4be7b47b0d: Pull complete 05:33:46 e1f770b5df2f: Pull complete 05:33:50 85a0685a4137: Pull complete 05:33:50 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 05:33:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:33:50 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 05:33:50 prd-centos7-docker-4c-2g-27910 does not seem to be running inside a container 05:33:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 05:33:52 $ docker top 48020e8e15cf3db4ada7ea55cfbef64d0999169c138754893a9ce5ac3d999e76 -eo pid,comm [Pipeline] { [Pipeline] echo 05:33:52 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 05:33:52 + set -o pipefail 05:33:52 + snyk monitor '--org=edgex-jenkins' 05:33:57 05:33:57 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 05:33:57 05:33:57 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/338977ea-3c6a-4b3c-9c09-c3a33883eebc 05:33:57 05:33:57 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 05:33:57 05:33:57 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:33:57 05:33:57 05:33:57 You are approaching your monthly limit of 200 private tests for your edgex-jenkins org. 05:33:57 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 05:33:57 $ docker stop --time=1 48020e8e15cf3db4ada7ea55cfbef64d0999169c138754893a9ce5ac3d999e76 05:33:59 $ docker rm -f 48020e8e15cf3db4ada7ea55cfbef64d0999169c138754893a9ce5ac3d999e76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:34:00 + git log --format=format:%s -1 159a8a861e29f2433d7a50979645c48e0f5e62c9 [Pipeline] isUnix [Pipeline] sh 05:34:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:34:00 . [Pipeline] withDockerContainer 05:34:00 prd-centos7-docker-4c-2g-27910 does not seem to be running inside a container 05:34:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:34:00 $ docker top c2e70e50dc128c926606bfe38a3bb5b58cbe642e114d931f4e1ef29ba89be82d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:34:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:34:00 [ssh-agent] Looking for ssh-agent implementation... 05:34:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:34:00 $ docker exec c2e70e50dc128c926606bfe38a3bb5b58cbe642e114d931f4e1ef29ba89be82d ssh-agent 05:34:01 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdKOdnk/agent.14 05:34:01 SSH_AGENT_PID=20 05:34:01 Running ssh-add (command line suppressed) 05:34:01 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5028343868087517673.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5028343868087517673.key) 05:34:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:34:01 + git semver tag 05:34:01 # -> Open(): unable to determine branch for HEAD 05:34:01 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 05:34:01 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 05:34:01 # $SEMVER_REMOTE_NAME = origin 05:34:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:34:01 # $SEMVER_USER_NAME = edgex-jenkins 05:34:01 # $SEMVER_BRANCH = main 05:34:01 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver 05:34:01 # 159a8a861e29f2433d7a50979645c48e0f5e62c9 HEAD 05:34:01 # -> Force: false 05:34:01 # 05e008a54bfa4bd889e92ca52498d01d1d0c602e refs/tags/v2.0.1-dev.10 [Pipeline] } 05:34:01 $ docker exec --env ******** --env ******** c2e70e50dc128c926606bfe38a3bb5b58cbe642e114d931f4e1ef29ba89be82d ssh-agent -k 05:34:01 unset SSH_AUTH_SOCK; 05:34:01 unset SSH_AGENT_PID; 05:34:01 echo Agent pid 20 killed; 05:34:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:34:01 + git semver [Pipeline] } 05:34:01 $ docker stop --time=1 c2e70e50dc128c926606bfe38a3bb5b58cbe642e114d931f4e1ef29ba89be82d 05:34:03 $ docker rm -f c2e70e50dc128c926606bfe38a3bb5b58cbe642e114d931f4e1ef29ba89be82d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 05:34:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:34:03 05:34:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 05:34:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:34:03 0.23.1-centos7: Pulling from edgex-lftools 05:34:03 ab5ef0e58194: Pulling fs layer 05:34:03 9712f1f96733: Pulling fs layer 05:34:03 63f879dbbcfc: Pulling fs layer 05:34:03 0d9ebad4ef96: Pulling fs layer 05:34:03 e9a5061849ea: Pulling fs layer 05:34:03 d747dcd14b5f: Pulling fs layer 05:34:03 2de7ff778b66: Pulling fs layer 05:34:03 0d9ebad4ef96: Waiting 05:34:03 e9a5061849ea: Waiting 05:34:03 d747dcd14b5f: Waiting 05:34:03 2de7ff778b66: Waiting 05:34:03 9712f1f96733: Verifying Checksum 05:34:03 9712f1f96733: Download complete 05:34:04 63f879dbbcfc: Verifying Checksum 05:34:04 63f879dbbcfc: Download complete 05:34:04 0d9ebad4ef96: Verifying Checksum 05:34:04 0d9ebad4ef96: Download complete 05:34:04 d747dcd14b5f: Verifying Checksum 05:34:04 d747dcd14b5f: Download complete 05:34:04 e9a5061849ea: Verifying Checksum 05:34:04 e9a5061849ea: Download complete 05:34:04 ab5ef0e58194: Verifying Checksum 05:34:04 ab5ef0e58194: Download complete 05:34:04 2de7ff778b66: Verifying Checksum 05:34:04 2de7ff778b66: Download complete 05:34:06 ab5ef0e58194: Pull complete 05:34:07 9712f1f96733: Pull complete 05:34:07 63f879dbbcfc: Pull complete 05:34:11 0d9ebad4ef96: Pull complete 05:34:11 e9a5061849ea: Pull complete 05:34:11 d747dcd14b5f: Pull complete 05:34:13 2de7ff778b66: Pull complete 05:34:13 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:34:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:34:13 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 05:34:13 prd-centos7-docker-4c-2g-27910 does not seem to be running inside a container 05:34:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:34:16 $ docker top 35abf13ffb170a9cbf40fc41906cea6a4eca24467c74f9c1156b8b3985e5faf5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:34:16 provisioning config files... 05:34:16 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6133529118074495914tmp 05:34:16 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4218989030120789639tmp 05:34:16 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2056085495078822897tmp [Pipeline] { [Pipeline] echo 05:34:16 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:34:17 ---> sigul-configuration.sh 05:34:17 gpg: directory `/root/.gnupg' created 05:34:17 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:34:17 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:34:17 gpg: keyring `/root/.gnupg/secring.gpg' created 05:34:17 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:34:17 gpg: CAST5 encrypted data 05:34:17 gpg: encrypted with 1 passphrase 05:34:17 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:34:17 + mkdir /home/jenkins 05:34:17 + mkdir /home/jenkins/sigul [Pipeline] sh 05:34:17 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 05:34:17 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:34:17 ---> sigul-install.sh 05:34:17 Sigul already installed; skipping installation. [Pipeline] sh 05:34:18 + git tag --list 05:34:18 0.7.1 05:34:18 v1.0.0 05:34:18 v1.1.0 05:34:18 v1.1.1 05:34:18 v1.2.2 05:34:18 v1.3.0 05:34:18 v1.3.1 05:34:18 v2.0.0 05:34:18 v2.0.1-dev.1 05:34:18 v2.0.1-dev.10 05:34:18 v2.0.1-dev.2 05:34:18 v2.0.1-dev.3 05:34:18 v2.0.1-dev.4 05:34:18 v2.0.1-dev.5 05:34:18 v2.0.1-dev.6 05:34:18 v2.0.1-dev.7 05:34:18 v2.0.1-dev.8 05:34:18 v2.0.1-dev.9 [Pipeline] sh 05:34:18 + lftools sign git-tag v2.0.1-dev.10 05:34:19 Signing Git tag with Sigul... 05:34:19 Signing v2.0.1-dev.10 [Pipeline] echo 05:34:20 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:34:20 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:34:20 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:34:20 $ docker stop --time=1 35abf13ffb170a9cbf40fc41906cea6a4eca24467c74f9c1156b8b3985e5faf5 05:34:21 $ docker rm -f 35abf13ffb170a9cbf40fc41906cea6a4eca24467c74f9c1156b8b3985e5faf5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 05:34:22 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:34:22 . [Pipeline] withDockerContainer 05:34:22 prd-centos7-docker-4c-2g-27910 does not seem to be running inside a container 05:34:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:34:22 $ docker top 519befc7313b67ec8153ab92fa88d3b9e67994cfe3ed79ef13aba3ab55f7f10a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:34:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:34:22 [ssh-agent] Looking for ssh-agent implementation... 05:34:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:34:22 $ docker exec 519befc7313b67ec8153ab92fa88d3b9e67994cfe3ed79ef13aba3ab55f7f10a ssh-agent 05:34:22 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHILGcM/agent.14 05:34:22 SSH_AGENT_PID=20 05:34:22 Running ssh-add (command line suppressed) 05:34:22 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8043508739058308061.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8043508739058308061.key) 05:34:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:34:23 + git semver bump pre 05:34:23 # -> Open(): unable to determine branch for HEAD 05:34:23 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 05:34:23 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 05:34:23 # $SEMVER_REMOTE_NAME = origin 05:34:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:34:23 # $SEMVER_USER_NAME = edgex-jenkins 05:34:23 # $SEMVER_BRANCH = main 05:34:23 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver 05:34:23 2.0.1-dev.11 [Pipeline] } 05:34:23 $ docker exec --env ******** --env ******** 519befc7313b67ec8153ab92fa88d3b9e67994cfe3ed79ef13aba3ab55f7f10a ssh-agent -k 05:34:23 unset SSH_AUTH_SOCK; 05:34:23 unset SSH_AGENT_PID; 05:34:23 echo Agent pid 20 killed; 05:34:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:34:23 + git semver [Pipeline] } 05:34:23 $ docker stop --time=1 519befc7313b67ec8153ab92fa88d3b9e67994cfe3ed79ef13aba3ab55f7f10a 05:34:24 $ docker rm -f 519befc7313b67ec8153ab92fa88d3b9e67994cfe3ed79ef13aba3ab55f7f10a [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 05:34:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:34:25 . [Pipeline] withDockerContainer 05:34:25 prd-centos7-docker-4c-2g-27910 does not seem to be running inside a container 05:34:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:34:25 $ docker top f505bd070f5553c3e486e59672aa49b1623d36784f20a9da1ce56726c2d092e1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:34:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:34:25 [ssh-agent] Looking for ssh-agent implementation... 05:34:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:34:26 $ docker exec f505bd070f5553c3e486e59672aa49b1623d36784f20a9da1ce56726c2d092e1 ssh-agent 05:34:26 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDBhmLd/agent.13 05:34:26 SSH_AGENT_PID=19 05:34:26 Running ssh-add (command line suppressed) 05:34:26 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3888352683077722919.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3888352683077722919.key) 05:34:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:34:26 + git semver push 05:34:26 # -> Open(): unable to determine branch for HEAD 05:34:26 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 05:34:26 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 05:34:26 # $SEMVER_REMOTE_NAME = origin 05:34:26 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:34:26 # $SEMVER_USER_NAME = edgex-jenkins 05:34:26 # $SEMVER_BRANCH = main 05:34:26 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } 05:34:28 $ docker exec --env ******** --env ******** f505bd070f5553c3e486e59672aa49b1623d36784f20a9da1ce56726c2d092e1 ssh-agent -k 05:34:28 unset SSH_AUTH_SOCK; 05:34:28 unset SSH_AGENT_PID; 05:34:28 echo Agent pid 19 killed; 05:34:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:34:28 + git semver [Pipeline] } 05:34:28 $ docker stop --time=1 f505bd070f5553c3e486e59672aa49b1623d36784f20a9da1ce56726c2d092e1 05:34:29 $ docker rm -f f505bd070f5553c3e486e59672aa49b1623d36784f20a9da1ce56726c2d092e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:34:30 + '[' -d /w/workspace/gexfoundry_device-modbus-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 05:34:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:34:31 ---> package-listing.sh 05:34:31 ++ facter osfamily 05:34:31 ++ tr '[:upper:]' '[:lower:]' 05:34:31 + OS_FAMILY=redhat 05:34:31 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 05:34:31 + START_PACKAGES=/tmp/packages_start.txt 05:34:31 + END_PACKAGES=/tmp/packages_end.txt 05:34:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:34:31 + PACKAGES=/tmp/packages_start.txt 05:34:31 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 05:34:31 + PACKAGES=/tmp/packages_end.txt 05:34:31 + case "${OS_FAMILY}" in 05:34:31 + sort 05:34:31 + rpm -qa 05:34:32 + '[' -f /tmp/packages_start.txt ']' 05:34:32 + '[' -f /tmp/packages_end.txt ']' 05:34:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:34:32 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 05:34:32 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 05:34:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 05:34:32 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:34:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:34:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:34:33 05:34:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:34:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:34:33 latest: Pulling from edgex-lftools-log-publisher 05:34:33 b4d181a07f80: Pulling fs layer 05:34:33 a1111a8f2ec3: Pulling fs layer 05:34:33 ed53099fbce6: Pulling fs layer 05:34:33 dc539afda2c1: Pulling fs layer 05:34:33 77bc0d833cb6: Pulling fs layer 05:34:33 9065ff56babe: Pulling fs layer 05:34:33 d287ab97295c: Pulling fs layer 05:34:33 77bc0d833cb6: Waiting 05:34:33 9065ff56babe: Waiting 05:34:33 d287ab97295c: Waiting 05:34:33 dc539afda2c1: Waiting 05:34:33 a1111a8f2ec3: Verifying Checksum 05:34:33 a1111a8f2ec3: Download complete 05:34:33 dc539afda2c1: Verifying Checksum 05:34:33 dc539afda2c1: Download complete 05:34:33 ed53099fbce6: Verifying Checksum 05:34:33 ed53099fbce6: Download complete 05:34:33 77bc0d833cb6: Verifying Checksum 05:34:33 77bc0d833cb6: Download complete 05:34:33 9065ff56babe: Verifying Checksum 05:34:33 9065ff56babe: Download complete 05:34:33 b4d181a07f80: Verifying Checksum 05:34:33 b4d181a07f80: Download complete 05:34:34 d287ab97295c: Verifying Checksum 05:34:34 d287ab97295c: Download complete 05:34:35 b4d181a07f80: Pull complete 05:34:35 a1111a8f2ec3: Pull complete 05:34:35 ed53099fbce6: Pull complete 05:34:35 dc539afda2c1: Pull complete 05:34:36 77bc0d833cb6: Pull complete 05:34:36 9065ff56babe: Pull complete 05:34:41 d287ab97295c: Pull complete 05:34:41 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 05:34:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:34:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:34:41 prd-centos7-docker-4c-2g-27910 does not seem to be running inside a container 05:34:41 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:34:43 $ docker top ed3f5ab2a16d7e33084bdd42a3e706a53ae01e68bfb674c9be4405acd10781b8 -eo pid,comm [Pipeline] { [Pipeline] sh 05:34:44 + touch /tmp/pre-build-complete [Pipeline] sh 05:34:44 + mkdir -p /var/log/sysstat [Pipeline] sh 05:34:44 + ls /var/log/sa-host 05:34:44 + sadf -c /var/log/sa-host/sa08 05:34:44 file_magic: OK 05:34:44 HZ: Using current value: 100 05:34:44 file_header: OK 05:34:44 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 05:34:44 Statistics: 05:34:44 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:34:44 File successfully converted to sysstat format version 12.0.3 05:34:44 + sadf -c /var/log/sa-host/sa30 05:34:44 file_magic: OK 05:34:44 HZ: Using current value: 100 05:34:44 file_header: OK 05:34:44 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 05:34:44 Statistics: 05:34:44 Hnuu...uuuununununu...Hnuu...uuuununununu... 05:34:44 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:34:45 provisioning config files... 05:34:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config882780888795074374tmp [Pipeline] { [Pipeline] echo 05:34:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:34:45 ---> create-netrc.sh [Pipeline] } 05:34:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:34:45 ---> python-tools-install.sh [Pipeline] echo 05:34:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:34:46 ---> sudo-logs.sh 05:34:46 Archiving 'sudo' log.. 05:34:46 sudo: unable to resolve host prd-centos7-docker-4c-2g-27910.novalocal: Name or service not known 05:34:46 sudo: unable to resolve host prd-centos7-docker-4c-2g-27910.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 05:34:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:34:46 ---> job-cost.sh 05:34:46 lf-activate-venv: SKIPPING 05:34:46 DEBUG: total: 0.10999999940395355 05:34:46 INFO: Retrieving Stack Cost... 05:34:46 INFO: Retrieving Pricing Info for: v3-standard-2 05:34:46 INFO: Archiving Costs [Pipeline] echo 05:34:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:34:47 ---> logs-deploy.sh 05:34:47 lf-activate-venv: SKIPPING 05:34:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/13 05:34:47 INFO: archiving workspace using pattern(s): 05:34:47 Archives upload complete. 05:34:48 INFO: archiving logs to Nexus