Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 88a58696cb067fb6eae2a796006b77d9cd89139c 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-ssh6114854176187940478.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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-ssh3724676722247961343.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 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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-ssh136644394413942041.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 # timeout=10 Commit message: "Merge pull request #366 from ernestojeda/fix-builder-images-sdk-c" > 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-ssh6425185175946230252.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-ssh3724272669796133690.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-932 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-ssh2013805901189074458.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 88a58696cb067fb6eae2a796006b77d9cd89139c (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 88a58696cb067fb6eae2a796006b77d9cd89139c # timeout=10 Commit message: "Merge pull request #297 from MonicaisHer/update-snap-docs" > git rev-list --no-walk 3366fcb7b8cfa87a3d941489b4b63a155443012c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:10:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:10:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:10:01 ========================================================= 09:10:01 EdgeX Global Pipelines Version Info 09:10:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:10:02 ------------------- 09:10:02 stable info: 09:10:02 ------------------- 09:10:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:10:02 Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 09:10:02 Message: update stable to v1.0.215 09:10:03 ------------------- 09:10:03 experimental info: 09:10:03 ------------------- 09:10:03 Commited By: **** collab-it+edgex@linuxfoundation.org 09:10:03 Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 09:10:03 Message: update experimental to v1.0.215 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:10:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 09:10:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 09:10:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:10:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:10:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:10:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 09:10:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:10:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:10:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:10:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:10:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:10:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 09:10:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:10:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:10:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:10:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:10:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:10:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:10:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:10:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 09:10:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:10:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:10:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:10:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:10:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:10:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:10:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:10:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:10:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:10:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 88a58696cb067fb6eae2a796006b77d9cd89139c [Pipeline] echo 09:10:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 88a5869 [Pipeline] echo 09:10:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:10:03 provisioning config files... 09:10:03 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3864996335513108672tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:10:03 ---> docker-login.sh 09:10:03 nexus3.edgexfoundry.org:10001 09:10:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:04 Configure a credential helper to remove this warning. See 09:10:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:04 09:10:04 Login Succeeded 09:10:04 nexus3.edgexfoundry.org:10002 09:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:04 Configure a credential helper to remove this warning. See 09:10:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:04 09:10:04 Login Succeeded 09:10:04 nexus3.edgexfoundry.org:10003 09:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:04 Configure a credential helper to remove this warning. See 09:10:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:04 09:10:04 Login Succeeded 09:10:04 nexus3.edgexfoundry.org:10004 09:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:04 Configure a credential helper to remove this warning. See 09:10:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:04 09:10:04 Login Succeeded 09:10:04 docker.io 09:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:10:04 Configure a credential helper to remove this warning. See 09:10:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:10:04 09:10:04 Login Succeeded 09:10:04 ---> docker-login.sh ends [Pipeline] } 09:10:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:10:05 + git rev-list -1 --merges 88a58696cb067fb6eae2a796006b77d9cd89139c~1..88a58696cb067fb6eae2a796006b77d9cd89139c [Pipeline] echo 09:10:05 -----------> git rev-list -1 --merges 88a58696cb067fb6eae2a796006b77d9cd89139c~1..88a58696cb067fb6eae2a796006b77d9cd89139c 88a58696cb067fb6eae2a796006b77d9cd89139c 09:10:05 88a58696cb067fb6eae2a796006b77d9cd89139c [false] [Pipeline] sh 09:10:05 + git log --format=format:%s -1 88a58696cb067fb6eae2a796006b77d9cd89139c [Pipeline] echo 09:10:05 ========================================================= 09:10:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:10:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:10:05 + git log --format=format:%s -1 88a58696cb067fb6eae2a796006b77d9cd89139c [Pipeline] echo 09:10:05 [semverPrep] GIT_COMMIT: 88a58696cb067fb6eae2a796006b77d9cd89139c, Commit Message: Merge pull request #297 from MonicaisHer/update-snap-docs [Pipeline] echo 09:10:05 [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:10:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:10:06 09:10:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:10:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:10:06 latest: Pulling from edgex-devops/git-semver 09:10:06 a0d0a0d46f8b: Pulling fs layer 09:10:06 3e5f54012d9b: Pulling fs layer 09:10:06 4c7163046ea9: Pulling fs layer 09:10:06 0c2d73faf560: Pulling fs layer 09:10:06 0c2d73faf560: Waiting 09:10:06 3e5f54012d9b: Verifying Checksum 09:10:06 3e5f54012d9b: Download complete 09:10:06 a0d0a0d46f8b: Verifying Checksum 09:10:06 a0d0a0d46f8b: Download complete 09:10:06 0c2d73faf560: Verifying Checksum 09:10:06 0c2d73faf560: Download complete 09:10:06 4c7163046ea9: Verifying Checksum 09:10:06 4c7163046ea9: Download complete 09:10:06 a0d0a0d46f8b: Pull complete 09:10:06 3e5f54012d9b: Pull complete 09:10:06 4c7163046ea9: Pull complete 09:10:07 0c2d73faf560: Pull complete 09:10:07 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 09:10:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:10:07 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:10:07 prd-centos7-docker-4c-2g-932 does not seem to be running inside a container 09:10:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:10:07 $ docker top b88ef6facea9866f61b4ad4c8c87d2e3ccf7659c420ec6c4ec3db0b1fefecb1c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:10:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:10:08 [ssh-agent] Looking for ssh-agent implementation... 09:10:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:10:07 $ docker exec b88ef6facea9866f61b4ad4c8c87d2e3ccf7659c420ec6c4ec3db0b1fefecb1c ssh-agent 09:10:08 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeOoicg/agent.14 09:10:08 SSH_AGENT_PID=20 09:10:08 Running ssh-add (command line suppressed) 09:10:07 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5085206210027900224.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5085206210027900224.key) 09:10:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:10:08 + git tag --points-at HEAD [Pipeline] } 09:10:08 $ docker exec --env ******** --env ******** b88ef6facea9866f61b4ad4c8c87d2e3ccf7659c420ec6c4ec3db0b1fefecb1c ssh-agent -k 09:10:08 unset SSH_AUTH_SOCK; 09:10:08 unset SSH_AGENT_PID; 09:10:08 echo Agent pid 20 killed; 09:10:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:10:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:10:08 [ssh-agent] Looking for ssh-agent implementation... 09:10:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:10:08 $ docker exec b88ef6facea9866f61b4ad4c8c87d2e3ccf7659c420ec6c4ec3db0b1fefecb1c ssh-agent 09:10:08 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAmhkph/agent.51 09:10:08 SSH_AGENT_PID=58 09:10:08 Running ssh-add (command line suppressed) 09:10:08 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1658383613982926372.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1658383613982926372.key) 09:10:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:10:09 + git semver init 09:10:09 # -> Open(): unable to determine branch for HEAD 09:10:09 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 09:10:09 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 09:10:09 # $SEMVER_REMOTE_NAME = origin 09:10:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:10:09 # $SEMVER_USER_NAME = edgex-jenkins 09:10:09 # $SEMVER_BRANCH = main 09:10:09 # $SEMVER_TEMP = /tmp/semver-921578436 09:10:09 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 09:10:09 # -> Clone(): ssh: handshake failed: knownhosts: key mismatch 09:10:09 # git init /tmp/semver-921578436 09:10:09 # '/tmp/semver-921578436' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' 09:10:09 # -> Force: false 09:10:09 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } 09:10:08 $ docker exec --env ******** --env ******** b88ef6facea9866f61b4ad4c8c87d2e3ccf7659c420ec6c4ec3db0b1fefecb1c ssh-agent -k 09:10:08 unset SSH_AUTH_SOCK; 09:10:08 unset SSH_AGENT_PID; 09:10:08 echo Agent pid 58 killed; 09:10:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:10:09 + git semver [Pipeline] } 09:10:09 $ docker stop --time=1 b88ef6facea9866f61b4ad4c8c87d2e3ccf7659c420ec6c4ec3db0b1fefecb1c 09:10:10 $ docker rm -f b88ef6facea9866f61b4ad4c8c87d2e3ccf7659c420ec6c4ec3db0b1fefecb1c [Pipeline] // withDockerContainer [Pipeline] sh 09:10:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:10:11 Stashed 1 file(s) [Pipeline] echo 09:10:11 [edgeXSemver]: initialized semver on version 0.0.0 [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 09:10:26 Still waiting to schedule task 09:10:26 Waiting for next available executor on ‘centos7-docker-4c-2g’ 09:10:26 Still waiting to schedule task 09:10:26 ‘prd-ubuntu18.04-docker-arm64-4c-16g-933’ is offline 09:12:26 Running on prd-centos7-docker-4c-2g-936 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 09:12:26 Running in /w/workspace/device-modbus-go/16 [Pipeline] { [Pipeline] checkout 09:12:26 Selected Git installation does not exist. Using Default 09:12:26 The recommended git tool is: NONE 09:12:28 using credential edgex-jenkins-ssh 09:12:28 Cloning the remote Git repository 09:12:27 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 09:12:27 > git init /w/workspace/device-modbus-go/16 # timeout=10 09:12:27 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 09:12:27 > git --version # timeout=10 09:12:27 > git --version # 'git version 2.24.4' 09:12:27 using GIT_SSH to set credentials SSH Credentials for GitHub 09:12:27 [INFO] Currently running in a labeled security context 09:12:27 [INFO] Currently SELinux is 'enforcing' on the host 09:12:27 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/16@tmp/jenkins-gitclient-ssh1343407237321654224.key 09:12:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:12:29 Avoid second fetch 09:12:29 Checking out Revision 88a58696cb067fb6eae2a796006b77d9cd89139c (main) 09:12:28 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 09:12:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:12:28 > git config core.sparsecheckout # timeout=10 09:12:28 > git checkout -f 88a58696cb067fb6eae2a796006b77d9cd89139c # timeout=10 09:12:32 Commit message: "Merge pull request #297 from MonicaisHer/update-snap-docs" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:12:33 provisioning config files... 09:12:33 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/16@tmp/config2908931076984001623tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:12:33 ---> docker-login.sh 09:12:33 nexus3.edgexfoundry.org:10001 09:12:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:12:33 Configure a credential helper to remove this warning. See 09:12:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:12:33 09:12:33 Login Succeeded 09:12:33 nexus3.edgexfoundry.org:10002 09:12:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:12:33 Configure a credential helper to remove this warning. See 09:12:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:12:33 09:12:33 Login Succeeded 09:12:33 nexus3.edgexfoundry.org:10003 09:12:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:12:33 Configure a credential helper to remove this warning. See 09:12:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:12:33 09:12:33 Login Succeeded 09:12:33 nexus3.edgexfoundry.org:10004 09:12:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:12:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:12:34 Configure a credential helper to remove this warning. See 09:12:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:12:34 09:12:34 Login Succeeded 09:12:34 docker.io 09:12:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:12:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:12:34 Configure a credential helper to remove this warning. See 09:12:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:12:34 09:12:34 Login Succeeded 09:12:34 ---> docker-login.sh ends [Pipeline] } 09:12:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 09:12:34 Running on prd-ubuntu18.04-docker-arm64-4c-16g-935 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 09:12:34 Running in /w/workspace/device-modbus-go/16 [Pipeline] { [Pipeline] checkout [Pipeline] echo 09:12:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:12:34 ========================================================= 09:12:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 09:12:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:12:35 Selected Git installation does not exist. Using Default 09:12:35 The recommended git tool is: NONE 09:12:35 + 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 . 09:12:35 Sending build context to Docker daemon 710.7kB 09:12:35 Step 1/9 : ARG BASE=golang:1.16-alpine3.14 09:12:35 Step 2/9 : FROM ${BASE} AS builder 09:12:35 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 09:12:35 a0d0a0d46f8b: Pulling fs layer 09:12:35 31adcdaf11c8: Pulling fs layer 09:12:35 b8b176561691: Pulling fs layer 09:12:35 4527c011a84f: Pulling fs layer 09:12:35 5d74067f8e1e: Pulling fs layer 09:12:35 e0aca202a116: Pulling fs layer 09:12:35 3a43be97a3b4: Pulling fs layer 09:12:35 34cad66bf833: Pulling fs layer 09:12:35 b4e3c513aaa6: Pulling fs layer 09:12:35 4527c011a84f: Waiting 09:12:35 5d74067f8e1e: Waiting 09:12:35 e0aca202a116: Waiting 09:12:35 3a43be97a3b4: Waiting 09:12:35 34cad66bf833: Waiting 09:12:35 b4e3c513aaa6: Waiting 09:12:35 b8b176561691: Verifying Checksum 09:12:35 b8b176561691: Download complete 09:12:35 31adcdaf11c8: Verifying Checksum 09:12:35 31adcdaf11c8: Download complete 09:12:35 5d74067f8e1e: Verifying Checksum 09:12:35 5d74067f8e1e: Download complete 09:12:35 a0d0a0d46f8b: Verifying Checksum 09:12:35 a0d0a0d46f8b: Download complete 09:12:35 e0aca202a116: Verifying Checksum 09:12:35 e0aca202a116: Download complete 09:12:35 3a43be97a3b4: Verifying Checksum 09:12:35 3a43be97a3b4: Download complete 09:12:35 34cad66bf833: Verifying Checksum 09:12:35 34cad66bf833: Download complete 09:12:35 a0d0a0d46f8b: Pull complete 09:12:36 4527c011a84f: Verifying Checksum 09:12:36 4527c011a84f: Download complete 09:12:36 b4e3c513aaa6: Verifying Checksum 09:12:36 b4e3c513aaa6: Download complete 09:12:36 31adcdaf11c8: Pull complete 09:12:36 b8b176561691: Pull complete 09:12:40 4527c011a84f: Pull complete 09:12:40 5d74067f8e1e: Pull complete 09:12:40 e0aca202a116: Pull complete 09:12:40 using credential edgex-jenkins-ssh 09:12:40 Cloning the remote Git repository 09:12:40 3a43be97a3b4: Pull complete 09:12:40 34cad66bf833: Pull complete 09:12:40 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 09:12:40 > git init /w/workspace/device-modbus-go/16 # timeout=10 09:12:40 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 09:12:40 > git --version # timeout=10 09:12:40 > git --version # 'git version 2.17.1' 09:12:40 using GIT_SSH to set credentials SSH Credentials for GitHub 09:12:40 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:12:41 Avoid second fetch 09:12:41 Checking out Revision 88a58696cb067fb6eae2a796006b77d9cd89139c (main) 09:12:41 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 09:12:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:12:41 > git config core.sparsecheckout # timeout=10 09:12:41 > git checkout -f 88a58696cb067fb6eae2a796006b77d9cd89139c # timeout=10 09:12:43 b4e3c513aaa6: Pull complete 09:12:43 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 09:12:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 09:12:43 ---> 9f6097aaca64 09:12:43 Step 3/9 : ARG MAKE='make build' 09:12:45 Commit message: "Merge pull request #297 from MonicaisHer/update-snap-docs" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:12:46 ---> Running in 898df638a5da 09:12:46 Removing intermediate container 898df638a5da 09:12:46 ---> 60132a125801 09:12:46 Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:12:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:12:46 % Total % Received % Xferd Average Speed Time Time Time Current 09:12:46 Dload Upload Total Spent Left Speed 09:12:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 195k 0 --:--:-- --:--:-- --:--:-- 199k [Pipeline] sh 09:12:46 ---> Running in ace5d8f3e6ee 09:12:47 Removing intermediate container ace5d8f3e6ee 09:12:47 ---> 6053765398fb 09:12:47 Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 09:12:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:12:47 ---> Running in 0a974a596cad 09:12:47 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:12:47 sudo tee /etc/docker/daemon.new 09:12:47 { 09:12:47 "registry-mirrors": [ 09:12:47 "https://nexus3.edgexfoundry.org:10001" 09:12:47 ], 09:12:47 "bip": "10.250.0.254/24", 09:12:47 "hosts": [ 09:12:47 "tcp://0.0.0.0:5555", 09:12:47 "unix:///var/run/docker.sock" 09:12:47 ], 09:12:47 "mtu": 1458, 09:12:47 "selinux-enabled": true, 09:12:47 "seccomp-profile": "/etc/docker/seccomp.json" 09:12:47 } [Pipeline] sh 09:12:47 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 09:12:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:12:48 + sudo service docker restart 09:12:48 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 09:12:48 (1/8) Installing openssh-keygen (8.6_p1-r3) 09:12:48 (2/8) Installing libedit (20210216.3.1-r0) 09:12:48 (3/8) Installing openssh-client-common (8.6_p1-r3) 09:12:49 (4/8) Installing openssh-client-default (8.6_p1-r3) 09:12:49 (5/8) Installing openssh-sftp-server (8.6_p1-r3) 09:12:49 (6/8) Installing openssh-server-common (8.6_p1-r3) 09:12:49 (7/8) Installing openssh-server (8.6_p1-r3) 09:12:49 (8/8) Installing openssh (8.6_p1-r3) 09:12:49 Executing busybox-1.33.1-r3.trigger 09:12:49 OK: 226 MiB in 60 packages 09:12:50 Removing intermediate container 0a974a596cad 09:12:50 ---> 9ebe00733b22 09:12:50 Step 6/9 : WORKDIR /device-modbus-go 09:12:50 ---> Running in 98f421fcb898 09:12:50 Removing intermediate container 98f421fcb898 09:12:50 ---> 6f461ce5e57d 09:12:50 Step 7/9 : COPY . . 09:12:50 ---> 2575112dc2d9 09:12:50 Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:12:50 ---> Running in 17613c48c699 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:13:06 provisioning config files... 09:13:06 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/16@tmp/config7318841545246409859tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:13:07 ---> docker-login.sh 09:13:07 nexus3.edgexfoundry.org:10001 09:13:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:08 Configure a credential helper to remove this warning. See 09:13:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:08 09:13:08 Login Succeeded 09:13:08 nexus3.edgexfoundry.org:10002 09:13:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:08 Configure a credential helper to remove this warning. See 09:13:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:08 09:13:08 Login Succeeded 09:13:08 nexus3.edgexfoundry.org:10003 09:13:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:09 Configure a credential helper to remove this warning. See 09:13:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:09 09:13:09 Login Succeeded 09:13:09 nexus3.edgexfoundry.org:10004 09:13:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:09 Configure a credential helper to remove this warning. See 09:13:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:09 09:13:09 Login Succeeded 09:13:09 docker.io 09:13:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:10 Configure a credential helper to remove this warning. See 09:13:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:10 09:13:10 Login Succeeded 09:13:10 ---> docker-login.sh ends [Pipeline] } 09:13:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:13:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:13:10 ========================================================= 09:13:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 09:13:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:13:10 + 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 . 09:13:11 Sending build context to Docker daemon 709.6kB 09:13:11 Step 1/9 : ARG BASE=golang:1.16-alpine3.14 09:13:11 Step 2/9 : FROM ${BASE} AS builder 09:13:11 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:13:11 552d1f2373af: Pulling fs layer 09:13:11 ea3f2d53f512: Pulling fs layer 09:13:11 9e70ebbbe112: Pulling fs layer 09:13:11 7a9cfe048b4a: Pulling fs layer 09:13:11 72dc09318566: Pulling fs layer 09:13:11 f4f7b4309257: Pulling fs layer 09:13:11 7a9cfe048b4a: Waiting 09:13:11 0ac9a79272e3: Pulling fs layer 09:13:11 72dc09318566: Waiting 09:13:11 f4f7b4309257: Waiting 09:13:11 b78e95d17946: Pulling fs layer 09:13:11 0ac9a79272e3: Waiting 09:13:11 9e70ebbbe112: Verifying Checksum 09:13:11 9e70ebbbe112: Download complete 09:13:11 ea3f2d53f512: Verifying Checksum 09:13:11 ea3f2d53f512: Download complete 09:13:11 72dc09318566: Verifying Checksum 09:13:11 72dc09318566: Download complete 09:13:11 f4f7b4309257: Verifying Checksum 09:13:11 f4f7b4309257: Download complete 09:13:11 552d1f2373af: Verifying Checksum 09:13:11 552d1f2373af: Download complete 09:13:11 0ac9a79272e3: Verifying Checksum 09:13:11 0ac9a79272e3: Download complete 09:13:12 552d1f2373af: Pull complete 09:13:13 ea3f2d53f512: Pull complete 09:13:13 9e70ebbbe112: Pull complete 09:13:13 b78e95d17946: Download complete 09:13:13 7a9cfe048b4a: Verifying Checksum 09:13:13 7a9cfe048b4a: Download complete 09:13:22 Removing intermediate container 17613c48c699 09:13:22 ---> 63d10140d204 09:13:22 Step 9/9 : RUN ${MAKE} 09:13:22 ---> Running in dd4395614552 09:13:22 noop 09:13:22 Removing intermediate container dd4395614552 09:13:22 ---> 52a02f63cffe 09:13:22 Successfully built 52a02f63cffe 09:13:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:13:22 + docker inspect -f . ci-base-image-x86_64 09:13:22 . [Pipeline] withDockerContainer 09:13:22 prd-centos7-docker-4c-2g-936 does not seem to be running inside a container 09:13:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/16 -v /w/workspace/device-modbus-go/16:/w/workspace/device-modbus-go/16:rw,z -v /w/workspace/device-modbus-go/16@tmp:/w/workspace/device-modbus-go/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:13:23 $ docker top 7b9f8cdc2331a0ca7ef40309796463aee67466dbb8896d3df72378327e68203e -eo pid,comm [Pipeline] { [Pipeline] sh 09:13:23 + go version 09:13:23 go version go1.16.8 linux/amd64 [Pipeline] } 09:13:23 $ docker stop --time=1 7b9f8cdc2331a0ca7ef40309796463aee67466dbb8896d3df72378327e68203e 09:13:24 7a9cfe048b4a: Pull complete 09:13:24 72dc09318566: Pull complete 09:13:24 f4f7b4309257: Pull complete 09:13:24 $ docker rm -f 7b9f8cdc2331a0ca7ef40309796463aee67466dbb8896d3df72378327e68203e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:13:25 0ac9a79272e3: Pull complete 09:13:25 + docker inspect -f . ci-base-image-x86_64 09:13:25 . [Pipeline] withDockerContainer 09:13:25 prd-centos7-docker-4c-2g-936 does not seem to be running inside a container 09:13:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/16 -v /w/workspace/device-modbus-go/16:/w/workspace/device-modbus-go/16:rw,z -v /w/workspace/device-modbus-go/16@tmp:/w/workspace/device-modbus-go/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:13:25 $ docker top cf26065134713ce190f812d191f502506abdf32cbe313e03a9aafca2afedc322 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:13:26 + make test 09:13:26 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:13:26 ? github.com/edgexfoundry/device-modbus-go [no test files] 09:13:31 b78e95d17946: Pull complete 09:13:31 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 09:13:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 09:13:31 ---> 8b459fc5aaf0 09:13:31 Step 3/9 : ARG MAKE='make build' 09:13:32 ---> Running in 015a0f08e2c6 09:13:33 Removing intermediate container 015a0f08e2c6 09:13:33 ---> 75d8b2166b8e 09:13:33 Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:13:33 ---> Running in e47c72c3ff3b 09:13:35 Removing intermediate container e47c72c3ff3b 09:13:35 ---> 70422e9948a7 09:13:35 Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 09:13:35 ---> Running in e1618e414dfa 09:13:36 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 09:13:37 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 09:13:38 (1/8) Installing openssh-keygen (8.6_p1-r3) 09:13:38 (2/8) Installing libedit (20210216.3.1-r0) 09:13:38 (3/8) Installing openssh-client-common (8.6_p1-r3) 09:13:38 (4/8) Installing openssh-client-default (8.6_p1-r3) 09:13:38 (5/8) Installing openssh-sftp-server (8.6_p1-r3) 09:13:38 (6/8) Installing openssh-server-common (8.6_p1-r3) 09:13:39 (7/8) Installing openssh-server (8.6_p1-r3) 09:13:39 (8/8) Installing openssh (8.6_p1-r3) 09:13:39 Executing busybox-1.33.1-r3.trigger 09:13:39 OK: 225 MiB in 60 packages 09:13:40 Removing intermediate container e1618e414dfa 09:13:40 ---> dd4cb7465a7e 09:13:40 Step 6/9 : WORKDIR /device-modbus-go 09:13:40 ---> Running in 8cf1d91e71e8 09:13:41 Removing intermediate container 8cf1d91e71e8 09:13:41 ---> d34ddcfbfba0 09:13:41 Step 7/9 : COPY . . 09:13:41 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 09:13:41 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 46.6% of statements 09:13:42 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:13:42 ---> 291794dbcf4b 09:13:42 Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:13:42 ---> Running in a4ac0a5b0144 09:13:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:13:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:13:48 ./bin/test-attribution-txt.sh [Pipeline] echo 09:13:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:13:48 $ docker stop --time=1 cf26065134713ce190f812d191f502506abdf32cbe313e03a9aafca2afedc322 09:13:50 $ docker rm -f cf26065134713ce190f812d191f502506abdf32cbe313e03a9aafca2afedc322 [Pipeline] // withDockerContainer [Pipeline] sh 09:13:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:13:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:13:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:13:51 + ls -al . 09:13:51 total 152 09:13:51 drwxrwxr-x. 9 jenkins jenkins 4096 Nov 17 09:13 . 09:13:51 drwxrwxr-x. 4 jenkins jenkins 30 Nov 17 09:12 .. 09:13:51 -rw-rw-r--. 1 jenkins jenkins 8010 Nov 17 09:12 Attribution.txt 09:13:51 drwxrwxr-x. 2 jenkins jenkins 60 Nov 17 09:12 bin 09:13:51 -rw-rw-r--. 1 jenkins jenkins 6038 Nov 17 09:12 CHANGELOG.md 09:13:51 drwxrwxr-x. 3 jenkins jenkins 32 Nov 17 09:12 cmd 09:13:51 -rw-r--r--. 1 jenkins jenkins 23727 Nov 17 09:13 coverage.out 09:13:51 -rw-rw-r--. 1 jenkins jenkins 1523 Nov 17 09:12 Dockerfile 09:13:51 -rw-rw-r--. 1 jenkins jenkins 140 Nov 17 09:12 .dockerignore 09:13:51 drwxrwxr-x. 8 jenkins jenkins 162 Nov 17 09:12 .git 09:13:51 drwxrwxr-x. 2 jenkins jenkins 103 Nov 17 09:12 .github 09:13:51 -rw-rw-r--. 1 jenkins jenkins 331 Nov 17 09:12 .gitignore 09:13:51 -rw-rw-r--. 1 jenkins jenkins 294 Nov 17 09:12 go.mod 09:13:51 -rw-rw-r--. 1 jenkins jenkins 49487 Nov 17 09:12 go.sum 09:13:51 -rw-rw-r--. 1 jenkins jenkins 677 Nov 17 09:12 GOVERNANCE.md 09:13:51 drwxrwxr-x. 3 jenkins jenkins 20 Nov 17 09:12 internal 09:13:51 -rw-rw-r--. 1 jenkins jenkins 679 Nov 17 09:12 Jenkinsfile 09:13:51 -rw-rw-r--. 1 jenkins jenkins 11340 Nov 17 09:12 LICENSE 09:13:51 -rw-rw-r--. 1 jenkins jenkins 1009 Nov 17 09:12 Makefile 09:13:51 -rw-rw-r--. 1 jenkins jenkins 622 Nov 17 09:12 OWNERS.md 09:13:51 -rw-rw-r--. 1 jenkins jenkins 3488 Nov 17 09:12 README.md 09:13:51 drwxrwxr-x. 2 jenkins jenkins 52 Nov 17 09:12 simulator 09:13:51 drwxrwxr-x. 4 jenkins jenkins 71 Nov 17 09:12 snap 09:13:51 -rw-rw-r--. 1 jenkins jenkins 5 Nov 17 09:10 VERSION 09:13:51 -rw-rw-r--. 1 jenkins jenkins 229 Nov 17 09:12 version.go [Pipeline] isUnix [Pipeline] sh 09:13:52 + 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=88a58696cb067fb6eae2a796006b77d9cd89139c --label arch=amd64 --label version=0.0.0 . 09:13:52 Sending build context to Docker daemon 735.2kB 09:13:52 Step 1/22 : ARG BASE=golang:1.16-alpine3.14 09:13:52 Step 2/22 : FROM ${BASE} AS builder 09:13:52 ---> 52a02f63cffe 09:13:52 Step 3/22 : ARG MAKE='make build' 09:13:52 ---> Running in aa5a197443ad 09:13:52 Removing intermediate container aa5a197443ad 09:13:52 ---> ca3531226c48 09:13:52 Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:13:52 ---> Running in 1d11b5bb9410 09:13:52 Removing intermediate container 1d11b5bb9410 09:13:52 ---> e90db2c0537f 09:13:52 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 09:13:52 ---> Running in a594af2ebfee 09:13:52 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 09:13:53 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 09:13:54 OK: 226 MiB in 60 packages 09:13:54 Removing intermediate container a594af2ebfee 09:13:54 ---> 250645eef1a0 09:13:54 Step 6/22 : WORKDIR /device-modbus-go 09:13:54 ---> Running in c1798ec70e17 09:13:54 Removing intermediate container c1798ec70e17 09:13:54 ---> 880a4994e149 09:13:54 Step 7/22 : COPY . . 09:13:54 ---> 5855155b987c 09:13:54 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:13:54 ---> Running in 428a9d17dbbe 09:13:55 Removing intermediate container 428a9d17dbbe 09:13:55 ---> 9ab77f07dd0f 09:13:55 Step 9/22 : RUN ${MAKE} 09:13:55 ---> Running in 9a66c736dcc2 09:13:55 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 09:14:07 Removing intermediate container 9a66c736dcc2 09:14:07 ---> ddbec0d5f0da 09:14:07 Step 10/22 : FROM alpine:3.14 09:14:07 3.14: Pulling from library/alpine 09:14:07 97518928ae5f: Pulling fs layer 09:14:07 97518928ae5f: Verifying Checksum 09:14:07 97518928ae5f: Download complete 09:14:07 97518928ae5f: Pull complete 09:14:07 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 09:14:07 Status: Downloaded newer image for alpine:3.14 09:14:07 ---> 0a97eee8041e 09:14:07 Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 09:14:07 ---> Running in f84e5066ba50 09:14:08 Removing intermediate container f84e5066ba50 09:14:08 ---> 527cb0dd5d1e 09:14:08 Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:14:08 ---> Running in 10bb1ddcf8ff 09:14:08 Removing intermediate container 10bb1ddcf8ff 09:14:08 ---> c037456c8c00 09:14:08 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 09:14:08 ---> Running in 54530c6d0bdc 09:14:08 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 09:14:09 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 09:14:10 (1/6) Installing dumb-init (1.2.5-r1) 09:14:10 (2/6) Installing libgcc (10.3.1_git20210424-r2) 09:14:10 (3/6) Installing libsodium (1.0.18-r0) 09:14:10 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 09:14:10 (5/6) Installing libzmq (4.3.4-r0) 09:14:10 (6/6) Installing zeromq (4.3.4-r0) 09:14:10 Executing busybox-1.33.1-r6.trigger 09:14:10 OK: 8 MiB in 20 packages 09:14:11 Removing intermediate container 54530c6d0bdc 09:14:11 ---> 83265699900c 09:14:11 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 09:14:11 ---> 5939dd4d4cff 09:14:11 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 09:14:11 ---> 8ff8cbed96a1 09:14:11 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 09:14:11 ---> d293f6f91675 09:14:11 Step 17/22 : EXPOSE 59901 09:14:11 ---> Running in 3209b22e3f7c 09:14:11 Removing intermediate container 3209b22e3f7c 09:14:11 ---> 04d17fda7a2c 09:14:11 Step 18/22 : ENTRYPOINT ["/device-modbus"] 09:14:11 ---> Running in 8462ceded838 09:14:11 Removing intermediate container 8462ceded838 09:14:11 ---> 20360aabd2bf 09:14:11 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:14:11 ---> Running in 1b3514aa4522 09:14:12 Removing intermediate container 1b3514aa4522 09:14:12 ---> 4d63f4f70a8f 09:14:12 Step 20/22 : LABEL arch=amd64 09:14:12 ---> Running in 5acae7d59988 09:14:12 Removing intermediate container 5acae7d59988 09:14:12 ---> cd4259903452 09:14:12 Step 21/22 : LABEL git_sha=88a58696cb067fb6eae2a796006b77d9cd89139c 09:14:12 ---> Running in 4b72d70198d1 09:14:12 Removing intermediate container 4b72d70198d1 09:14:12 ---> ac6f655a4873 09:14:12 Step 22/22 : LABEL version=0.0.0 09:14:12 ---> Running in f0e3e4c38b65 09:14:12 Removing intermediate container f0e3e4c38b65 09:14:12 ---> 8d43e0ff525d 09:14:12 [Warning] One or more build-args [ARCH] were not consumed 09:14:12 Successfully built 8d43e0ff525d 09:14:12 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:14:12 provisioning config files... 09:14:12 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/16@tmp/config8146949239987120892tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:14:12 ---> docker-login.sh 09:14:12 nexus3.edgexfoundry.org:10001 09:14:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:12 Configure a credential helper to remove this warning. See 09:14:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:12 09:14:12 Login Succeeded 09:14:12 nexus3.edgexfoundry.org:10002 09:14:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:12 Configure a credential helper to remove this warning. See 09:14:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:12 09:14:12 Login Succeeded 09:14:12 nexus3.edgexfoundry.org:10003 09:14:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:13 Configure a credential helper to remove this warning. See 09:14:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:13 09:14:13 Login Succeeded 09:14:13 nexus3.edgexfoundry.org:10004 09:14:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:13 Configure a credential helper to remove this warning. See 09:14:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:13 09:14:13 Login Succeeded 09:14:13 docker.io 09:14:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:13 Configure a credential helper to remove this warning. See 09:14:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:13 09:14:13 Login Succeeded 09:14:13 ---> docker-login.sh ends [Pipeline] } 09:14:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:14:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:14:13 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 09:14:13 88a58696cb067fb6eae2a796006b77d9cd89139c 09:14:13 latest 09:14:13 0.0.0 09:14:13 88a58696cb067fb6eae2a796006b77d9cd89139c-0.0.0 09:14:13 main 09:14:13 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:14:14 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:88a58696cb067fb6eae2a796006b77d9cd89139c [Pipeline] isUnix [Pipeline] sh 09:14:14 + docker push nexus3.edgexfoundry.org:10004/device-modbus:88a58696cb067fb6eae2a796006b77d9cd89139c 09:14:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:14:14 326f6f5f4651: Preparing 09:14:14 27c4eb5e1bd5: Preparing 09:14:14 b277b3b1bded: Preparing 09:14:14 91d5b66fe27f: Preparing 09:14:14 1c2353a0bbf4: Preparing 09:14:14 1a058d5342cc: Preparing 09:14:14 1a058d5342cc: Waiting 09:14:14 326f6f5f4651: Pushed 09:14:14 1c2353a0bbf4: Pushed 09:14:14 27c4eb5e1bd5: Pushed 09:14:14 1a058d5342cc: Layer already exists 09:14:14 91d5b66fe27f: Pushed 09:14:15 b277b3b1bded: Pushed 09:14:15 88a58696cb067fb6eae2a796006b77d9cd89139c: digest: sha256:c35d0aedc3b8492b5cf9326f4f841401fa42e19478f591bc1426bca9fea0985b size: 1573 [Pipeline] isUnix [Pipeline] sh 09:14:16 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh 09:14:16 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 09:14:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:14:16 326f6f5f4651: Preparing 09:14:16 27c4eb5e1bd5: Preparing 09:14:16 b277b3b1bded: Preparing 09:14:16 91d5b66fe27f: Preparing 09:14:16 1c2353a0bbf4: Preparing 09:14:16 1a058d5342cc: Preparing 09:14:16 1a058d5342cc: Waiting 09:14:16 1c2353a0bbf4: Layer already exists 09:14:16 27c4eb5e1bd5: Layer already exists 09:14:16 b277b3b1bded: Layer already exists 09:14:16 326f6f5f4651: Layer already exists 09:14:16 91d5b66fe27f: Layer already exists 09:14:16 1a058d5342cc: Layer already exists 09:14:16 latest: digest: sha256:c35d0aedc3b8492b5cf9326f4f841401fa42e19478f591bc1426bca9fea0985b size: 1573 [Pipeline] isUnix [Pipeline] sh 09:14:16 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:0.0.0 [Pipeline] isUnix [Pipeline] sh 09:14:16 + docker push nexus3.edgexfoundry.org:10004/device-modbus:0.0.0 09:14:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:14:16 326f6f5f4651: Preparing 09:14:16 27c4eb5e1bd5: Preparing 09:14:16 b277b3b1bded: Preparing 09:14:16 91d5b66fe27f: Preparing 09:14:16 1c2353a0bbf4: Preparing 09:14:16 1a058d5342cc: Preparing 09:14:16 1a058d5342cc: Waiting 09:14:16 27c4eb5e1bd5: Layer already exists 09:14:16 326f6f5f4651: Layer already exists 09:14:16 b277b3b1bded: Layer already exists 09:14:16 1c2353a0bbf4: Layer already exists 09:14:16 91d5b66fe27f: Layer already exists 09:14:16 1a058d5342cc: Layer already exists 09:14:16 0.0.0: digest: sha256:c35d0aedc3b8492b5cf9326f4f841401fa42e19478f591bc1426bca9fea0985b size: 1573 [Pipeline] isUnix [Pipeline] sh 09:14:17 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:88a58696cb067fb6eae2a796006b77d9cd89139c-0.0.0 [Pipeline] isUnix [Pipeline] sh 09:14:17 + docker push nexus3.edgexfoundry.org:10004/device-modbus:88a58696cb067fb6eae2a796006b77d9cd89139c-0.0.0 09:14:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:14:17 326f6f5f4651: Preparing 09:14:17 27c4eb5e1bd5: Preparing 09:14:17 b277b3b1bded: Preparing 09:14:17 91d5b66fe27f: Preparing 09:14:17 1c2353a0bbf4: Preparing 09:14:17 1a058d5342cc: Preparing 09:14:17 1a058d5342cc: Waiting 09:14:17 1c2353a0bbf4: Layer already exists 09:14:17 27c4eb5e1bd5: Layer already exists 09:14:17 326f6f5f4651: Layer already exists 09:14:17 b277b3b1bded: Layer already exists 09:14:17 91d5b66fe27f: Layer already exists 09:14:17 1a058d5342cc: Layer already exists 09:14:17 88a58696cb067fb6eae2a796006b77d9cd89139c-0.0.0: digest: sha256:c35d0aedc3b8492b5cf9326f4f841401fa42e19478f591bc1426bca9fea0985b size: 1573 [Pipeline] isUnix [Pipeline] sh 09:14:17 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh 09:14:18 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 09:14:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:14:18 326f6f5f4651: Preparing 09:14:18 27c4eb5e1bd5: Preparing 09:14:18 b277b3b1bded: Preparing 09:14:18 91d5b66fe27f: Preparing 09:14:18 1c2353a0bbf4: Preparing 09:14:18 1a058d5342cc: Preparing 09:14:18 1a058d5342cc: Waiting 09:14:18 326f6f5f4651: Layer already exists 09:14:18 1c2353a0bbf4: Layer already exists 09:14:18 27c4eb5e1bd5: Layer already exists 09:14:18 91d5b66fe27f: Layer already exists 09:14:18 b277b3b1bded: Layer already exists 09:14:18 1a058d5342cc: Layer already exists 09:14:18 main: digest: sha256:c35d0aedc3b8492b5cf9326f4f841401fa42e19478f591bc1426bca9fea0985b size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:14:18 ===================================================== [Pipeline] echo 09:14:18 taggedImages: 09:14:18 - nexus3.edgexfoundry.org:10004/device-modbus:88a58696cb067fb6eae2a796006b77d9cd89139c 09:14:18 - nexus3.edgexfoundry.org:10004/device-modbus:latest 09:14:18 - nexus3.edgexfoundry.org:10004/device-modbus:0.0.0 09:14:18 - nexus3.edgexfoundry.org:10004/device-modbus:88a58696cb067fb6eae2a796006b77d9cd89139c-0.0.0 09:14:18 - 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 09:14:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:14:18 09:14:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 09:14:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:14:18 latest: Pulling from edgex-lftools-log-publisher 09:14:18 b4d181a07f80: Pulling fs layer 09:14:18 a1111a8f2ec3: Pulling fs layer 09:14:18 ed53099fbce6: Pulling fs layer 09:14:18 dc539afda2c1: Pulling fs layer 09:14:18 77bc0d833cb6: Pulling fs layer 09:14:18 9065ff56babe: Pulling fs layer 09:14:18 d287ab97295c: Pulling fs layer 09:14:18 dc539afda2c1: Waiting 09:14:18 77bc0d833cb6: Waiting 09:14:18 9065ff56babe: Waiting 09:14:18 d287ab97295c: Waiting 09:14:18 a1111a8f2ec3: Verifying Checksum 09:14:18 a1111a8f2ec3: Download complete 09:14:18 dc539afda2c1: Download complete 09:14:18 ed53099fbce6: Verifying Checksum 09:14:18 ed53099fbce6: Download complete 09:14:18 9065ff56babe: Verifying Checksum 09:14:18 9065ff56babe: Download complete 09:14:19 77bc0d833cb6: Verifying Checksum 09:14:19 77bc0d833cb6: Download complete 09:14:19 b4d181a07f80: Verifying Checksum 09:14:19 b4d181a07f80: Download complete 09:14:19 d287ab97295c: Verifying Checksum 09:14:19 d287ab97295c: Download complete 09:14:20 b4d181a07f80: Pull complete 09:14:20 a1111a8f2ec3: Pull complete 09:14:21 ed53099fbce6: Pull complete 09:14:21 dc539afda2c1: Pull complete 09:14:21 77bc0d833cb6: Pull complete 09:14:21 9065ff56babe: Pull complete 09:14:26 d287ab97295c: Pull complete 09:14:26 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 09:14:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:14:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 09:14:27 prd-centos7-docker-4c-2g-936 does not seem to be running inside a container 09:14:27 $ 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/16 -v /w/workspace/device-modbus-go/16:/w/workspace/device-modbus-go/16:rw,z -v /w/workspace/device-modbus-go/16@tmp:/w/workspace/device-modbus-go/16@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 09:14:29 $ docker top 3b9bab9ba419948d508771ee0652703f1c0e50ca472a4874079eec2f1912a4ef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:14:29 ---> job-cost.sh 09:14:29 lf-activate-venv: SKIPPING 09:14:29 INFO: No Stack... 09:14:30 INFO: Retrieving Pricing Info for: v3-standard-2 09:14:30 INFO: Archiving Costs [Pipeline] sh 09:14:30 + cat /w/workspace/device-modbus-go/16/archives/cost.csv 09:14:30 + cut -d, -f6 [Pipeline] lock 09:14:30 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-16-stack-cost] 09:14:30 Resource [jenkins-edgexfoundry-device-modbus-go-main-16-stack-cost] did not exist. Created. 09:14:30 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:14:30 + echo total: 0.05999999865889549 [Pipeline] stash 09:14:31 Stashed 1 file(s) [Pipeline] } 09:14:31 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-16-stack-cost] [Pipeline] // lock [Pipeline] } 09:14:31 $ docker stop --time=1 3b9bab9ba419948d508771ee0652703f1c0e50ca472a4874079eec2f1912a4ef 09:14:32 $ docker rm -f 3b9bab9ba419948d508771ee0652703f1c0e50ca472a4874079eec2f1912a4ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:15:04 Removing intermediate container a4ac0a5b0144 09:15:04 ---> 561ec6f6b0af 09:15:04 Step 9/9 : RUN ${MAKE} 09:15:04 ---> Running in ede3e8eb6efb 09:15:04 noop 09:15:04 Removing intermediate container ede3e8eb6efb 09:15:04 ---> f6f5a37e5f8a 09:15:04 Successfully built f6f5a37e5f8a 09:15:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:15:04 + docker inspect -f . ci-base-image-arm64 09:15:04 . [Pipeline] withDockerContainer 09:15:04 prd-ubuntu18.04-docker-arm64-4c-16g-935 does not seem to be running inside a container 09:15:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/16 -v /w/workspace/device-modbus-go/16:/w/workspace/device-modbus-go/16:rw,z -v /w/workspace/device-modbus-go/16@tmp:/w/workspace/device-modbus-go/16@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 09:15:06 $ docker top 82b671fbc769e90dec22db578452f7e1bd48666d07b83491389a320563e6e6ca -eo pid,comm [Pipeline] { [Pipeline] sh 09:15:07 + go version 09:15:07 go version go1.16.8 linux/arm64 [Pipeline] } 09:15:07 $ docker stop --time=1 82b671fbc769e90dec22db578452f7e1bd48666d07b83491389a320563e6e6ca 09:15:09 $ docker rm -f 82b671fbc769e90dec22db578452f7e1bd48666d07b83491389a320563e6e6ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:15:09 + docker inspect -f . ci-base-image-arm64 09:15:09 . [Pipeline] withDockerContainer 09:15:09 prd-ubuntu18.04-docker-arm64-4c-16g-935 does not seem to be running inside a container 09:15:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/16 -v /w/workspace/device-modbus-go/16:/w/workspace/device-modbus-go/16:rw,z -v /w/workspace/device-modbus-go/16@tmp:/w/workspace/device-modbus-go/16@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 09:15:11 $ docker top 3a9c3e45c7650710b522c6844cfcd63e136d79a63db4bb6ee013d40acf85f6dc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:15:12 + make test 09:15:12 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:15:14 ? github.com/edgexfoundry/device-modbus-go [no test files] 09:16:10 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 09:16:10 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.053s coverage: 46.6% of statements 09:16:10 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:16:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:16:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:16:37 ./bin/test-attribution-txt.sh [Pipeline] echo 09:16:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:16:38 $ docker stop --time=1 3a9c3e45c7650710b522c6844cfcd63e136d79a63db4bb6ee013d40acf85f6dc 09:16:39 $ docker rm -f 3a9c3e45c7650710b522c6844cfcd63e136d79a63db4bb6ee013d40acf85f6dc [Pipeline] // withDockerContainer [Pipeline] sh 09:16:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:16:40 Warning: overwriting stash ‘coverage-report’ 09:16:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:16:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:16:42 + ls -al . 09:16:42 total 184 09:16:42 drwxrwxr-x 9 jenkins jenkins 4096 Nov 17 09:16 . 09:16:42 drwxrwxr-x 4 jenkins jenkins 4096 Nov 17 09:12 .. 09:16:42 -rw-rw-r-- 1 jenkins jenkins 140 Nov 17 09:12 .dockerignore 09:16:42 drwxrwxr-x 8 jenkins jenkins 4096 Nov 17 09:12 .git 09:16:42 drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 09:12 .github 09:16:42 -rw-rw-r-- 1 jenkins jenkins 331 Nov 17 09:12 .gitignore 09:16:42 -rw-rw-r-- 1 jenkins jenkins 8010 Nov 17 09:12 Attribution.txt 09:16:42 -rw-rw-r-- 1 jenkins jenkins 6038 Nov 17 09:12 CHANGELOG.md 09:16:42 -rw-rw-r-- 1 jenkins jenkins 1523 Nov 17 09:12 Dockerfile 09:16:42 -rw-rw-r-- 1 jenkins jenkins 677 Nov 17 09:12 GOVERNANCE.md 09:16:42 -rw-rw-r-- 1 jenkins jenkins 679 Nov 17 09:12 Jenkinsfile 09:16:42 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 17 09:12 LICENSE 09:16:42 -rw-rw-r-- 1 jenkins jenkins 1009 Nov 17 09:12 Makefile 09:16:42 -rw-rw-r-- 1 jenkins jenkins 622 Nov 17 09:12 OWNERS.md 09:16:42 -rw-rw-r-- 1 jenkins jenkins 3488 Nov 17 09:12 README.md 09:16:42 -rw-rw-r-- 1 jenkins jenkins 5 Nov 17 09:10 VERSION 09:16:42 drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 09:12 bin 09:16:42 drwxrwxr-x 3 jenkins jenkins 4096 Nov 17 09:12 cmd 09:16:42 -rw-r--r-- 1 jenkins jenkins 23727 Nov 17 09:16 coverage.out 09:16:42 -rw-rw-r-- 1 jenkins jenkins 294 Nov 17 09:12 go.mod 09:16:42 -rw-rw-r-- 1 jenkins jenkins 49487 Nov 17 09:12 go.sum 09:16:42 drwxrwxr-x 3 jenkins jenkins 4096 Nov 17 09:12 internal 09:16:42 drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 09:12 simulator 09:16:42 drwxrwxr-x 4 jenkins jenkins 4096 Nov 17 09:12 snap 09:16:42 -rw-rw-r-- 1 jenkins jenkins 229 Nov 17 09:12 version.go [Pipeline] isUnix [Pipeline] sh 09:16:42 + 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=88a58696cb067fb6eae2a796006b77d9cd89139c --label arch=arm64 --label version=0.0.0 . 09:16:42 Sending build context to Docker daemon 734.2kB 09:16:42 Step 1/22 : ARG BASE=golang:1.16-alpine3.14 09:16:42 Step 2/22 : FROM ${BASE} AS builder 09:16:42 ---> f6f5a37e5f8a 09:16:42 Step 3/22 : ARG MAKE='make build' 09:16:42 ---> Running in d863a9f801ea 09:16:43 Removing intermediate container d863a9f801ea 09:16:43 ---> 2ec312f00fe5 09:16:43 Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:16:43 ---> Running in 0f6dc613a593 09:16:45 Removing intermediate container 0f6dc613a593 09:16:45 ---> 3b16299210bf 09:16:45 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 09:16:45 ---> Running in f80a27b8ea96 09:16:46 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 09:16:47 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 09:16:48 OK: 225 MiB in 60 packages 09:16:49 Removing intermediate container f80a27b8ea96 09:16:49 ---> cc34c1bde282 09:16:49 Step 6/22 : WORKDIR /device-modbus-go 09:16:49 ---> Running in 777cf1097ba3 09:16:49 Removing intermediate container 777cf1097ba3 09:16:49 ---> 0b2032d0d646 09:16:49 Step 7/22 : COPY . . 09:16:50 ---> b89dcbd482c3 09:16:50 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:16:50 ---> Running in ff418d6f64ef 09:16:53 Removing intermediate container ff418d6f64ef 09:16:53 ---> 780710d7b7f3 09:16:53 Step 9/22 : RUN ${MAKE} 09:16:53 ---> Running in 664cbd0f986c 09:16:54 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 09:17:33 Removing intermediate container 664cbd0f986c 09:17:33 ---> 9dc4c22de003 09:17:33 Step 10/22 : FROM alpine:3.14 09:17:33 3.14: Pulling from library/alpine 09:17:33 be307f383ecc: Pulling fs layer 09:17:33 be307f383ecc: Verifying Checksum 09:17:33 be307f383ecc: Download complete 09:17:33 be307f383ecc: Pull complete 09:17:33 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 09:17:33 Status: Downloaded newer image for alpine:3.14 09:17:33 ---> 5b8b7b635229 09:17:33 Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 09:17:33 ---> Running in d2d1f4990392 09:17:33 Removing intermediate container d2d1f4990392 09:17:33 ---> 1fc4f5e09ef1 09:17:33 Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:17:33 ---> Running in ff325e850aad 09:17:34 Removing intermediate container ff325e850aad 09:17:34 ---> 5cf1b7811f7d 09:17:34 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 09:17:34 ---> Running in f13eb739441f 09:17:35 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 09:17:36 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 09:17:37 (1/6) Installing dumb-init (1.2.5-r1) 09:17:37 (2/6) Installing libgcc (10.3.1_git20210424-r2) 09:17:37 (3/6) Installing libsodium (1.0.18-r0) 09:17:37 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 09:17:37 (5/6) Installing libzmq (4.3.4-r0) 09:17:37 (6/6) Installing zeromq (4.3.4-r0) 09:17:37 Executing busybox-1.33.1-r6.trigger 09:17:37 OK: 8 MiB in 20 packages 09:17:38 Removing intermediate container f13eb739441f 09:17:38 ---> 5dccd66b8fc0 09:17:38 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 09:17:39 ---> b40d3ee17c51 09:17:39 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 09:17:40 ---> a6a21f3bb29e 09:17:40 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 09:17:41 ---> fb7533a36761 09:17:41 Step 17/22 : EXPOSE 59901 09:17:41 ---> Running in 81ae925432be 09:17:41 Removing intermediate container 81ae925432be 09:17:41 ---> 2dec2f55e362 09:17:41 Step 18/22 : ENTRYPOINT ["/device-modbus"] 09:17:41 ---> Running in 443ea214ebf7 09:17:41 Removing intermediate container 443ea214ebf7 09:17:41 ---> b810cf999ead 09:17:41 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:17:42 ---> Running in c7498ee5a21d 09:17:42 Removing intermediate container c7498ee5a21d 09:17:42 ---> 603bbb5e1af6 09:17:42 Step 20/22 : LABEL arch=arm64 09:17:42 ---> Running in c4d24bf2057f 09:17:43 Removing intermediate container c4d24bf2057f 09:17:43 ---> 36f7db8c8418 09:17:43 Step 21/22 : LABEL git_sha=88a58696cb067fb6eae2a796006b77d9cd89139c 09:17:43 ---> Running in 41db0e94c848 09:17:43 Removing intermediate container 41db0e94c848 09:17:43 ---> c9c3248a2eab 09:17:43 Step 22/22 : LABEL version=0.0.0 09:17:43 ---> Running in 47efa58f3eb1 09:17:44 Removing intermediate container 47efa58f3eb1 09:17:44 ---> 4da9d6d69172 09:17:44 [Warning] One or more build-args [ARCH] were not consumed 09:17:44 Successfully built 4da9d6d69172 09:17:44 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 09:17:44 provisioning config files... 09:17:44 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/16@tmp/config5004132370643330245tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:17:44 ---> docker-login.sh 09:17:44 nexus3.edgexfoundry.org:10001 09:17:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:17:45 Configure a credential helper to remove this warning. See 09:17:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:17:45 09:17:45 Login Succeeded 09:17:45 nexus3.edgexfoundry.org:10002 09:17:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:17:45 Configure a credential helper to remove this warning. See 09:17:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:17:45 09:17:45 Login Succeeded 09:17:45 nexus3.edgexfoundry.org:10003 09:17:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:17:46 Configure a credential helper to remove this warning. See 09:17:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:17:46 09:17:46 Login Succeeded 09:17:46 nexus3.edgexfoundry.org:10004 09:17:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:17:46 Configure a credential helper to remove this warning. See 09:17:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:17:46 09:17:46 Login Succeeded 09:17:46 docker.io 09:17:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:17:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:17:47 Configure a credential helper to remove this warning. See 09:17:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:17:47 09:17:47 Login Succeeded 09:17:47 ---> docker-login.sh ends [Pipeline] } 09:17:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:17:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:17:47 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 09:17:47 88a58696cb067fb6eae2a796006b77d9cd89139c 09:17:47 latest 09:17:47 0.0.0 09:17:47 88a58696cb067fb6eae2a796006b77d9cd89139c-0.0.0 09:17:47 main 09:17:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:17:48 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:88a58696cb067fb6eae2a796006b77d9cd89139c [Pipeline] isUnix [Pipeline] sh 09:17:48 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:88a58696cb067fb6eae2a796006b77d9cd89139c 09:17:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 09:17:48 3a2220e22916: Preparing 09:17:48 0d86e9b7b2db: Preparing 09:17:48 c3ab63e14210: Preparing 09:17:48 a5e5a5057229: Preparing 09:17:48 8699df95497e: Preparing 09:17:48 62170e181a92: Preparing 09:17:48 62170e181a92: Waiting 09:17:48 3a2220e22916: Pushed 09:17:48 0d86e9b7b2db: Pushed 09:17:48 8699df95497e: Pushed 09:17:48 62170e181a92: Layer already exists 09:17:49 a5e5a5057229: Pushed 09:17:52 c3ab63e14210: Pushed 09:17:52 88a58696cb067fb6eae2a796006b77d9cd89139c: digest: sha256:20fe6b24e73fb7561f01a2dce7a214bd1133badee5ac7e88efbd457260175f1c size: 1572 [Pipeline] isUnix [Pipeline] sh 09:17:52 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:17:52 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 09:17:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 09:17:52 3a2220e22916: Preparing 09:17:52 0d86e9b7b2db: Preparing 09:17:52 c3ab63e14210: Preparing 09:17:52 a5e5a5057229: Preparing 09:17:52 8699df95497e: Preparing 09:17:52 62170e181a92: Preparing 09:17:52 62170e181a92: Waiting 09:17:52 3a2220e22916: Layer already exists 09:17:53 8699df95497e: Layer already exists 09:17:53 c3ab63e14210: Layer already exists 09:17:53 0d86e9b7b2db: Layer already exists 09:17:53 a5e5a5057229: Layer already exists 09:17:53 62170e181a92: Layer already exists 09:17:53 latest: digest: sha256:20fe6b24e73fb7561f01a2dce7a214bd1133badee5ac7e88efbd457260175f1c size: 1572 [Pipeline] isUnix [Pipeline] sh 09:17:53 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:0.0.0 [Pipeline] isUnix [Pipeline] sh 09:17:53 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:0.0.0 09:17:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 09:17:53 3a2220e22916: Preparing 09:17:53 0d86e9b7b2db: Preparing 09:17:53 c3ab63e14210: Preparing 09:17:53 a5e5a5057229: Preparing 09:17:53 8699df95497e: Preparing 09:17:53 62170e181a92: Preparing 09:17:53 62170e181a92: Waiting 09:17:53 0d86e9b7b2db: Layer already exists 09:17:53 3a2220e22916: Layer already exists 09:17:53 c3ab63e14210: Layer already exists 09:17:53 a5e5a5057229: Layer already exists 09:17:53 8699df95497e: Layer already exists 09:17:53 62170e181a92: Layer already exists 09:17:53 0.0.0: digest: sha256:20fe6b24e73fb7561f01a2dce7a214bd1133badee5ac7e88efbd457260175f1c size: 1572 [Pipeline] isUnix [Pipeline] sh 09:17:54 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:88a58696cb067fb6eae2a796006b77d9cd89139c-0.0.0 [Pipeline] isUnix [Pipeline] sh 09:17:54 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:88a58696cb067fb6eae2a796006b77d9cd89139c-0.0.0 09:17:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 09:17:54 3a2220e22916: Preparing 09:17:54 0d86e9b7b2db: Preparing 09:17:54 c3ab63e14210: Preparing 09:17:54 a5e5a5057229: Preparing 09:17:54 8699df95497e: Preparing 09:17:54 62170e181a92: Preparing 09:17:54 62170e181a92: Waiting 09:17:54 c3ab63e14210: Layer already exists 09:17:54 8699df95497e: Layer already exists 09:17:54 3a2220e22916: Layer already exists 09:17:54 a5e5a5057229: Layer already exists 09:17:54 0d86e9b7b2db: Layer already exists 09:17:54 62170e181a92: Layer already exists 09:17:54 88a58696cb067fb6eae2a796006b77d9cd89139c-0.0.0: digest: sha256:20fe6b24e73fb7561f01a2dce7a214bd1133badee5ac7e88efbd457260175f1c size: 1572 [Pipeline] isUnix [Pipeline] sh 09:17:55 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh 09:17:55 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 09:17:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 09:17:55 3a2220e22916: Preparing 09:17:55 0d86e9b7b2db: Preparing 09:17:55 c3ab63e14210: Preparing 09:17:55 a5e5a5057229: Preparing 09:17:55 8699df95497e: Preparing 09:17:55 62170e181a92: Preparing 09:17:55 62170e181a92: Waiting 09:17:55 a5e5a5057229: Layer already exists 09:17:55 c3ab63e14210: Layer already exists 09:17:55 0d86e9b7b2db: Layer already exists 09:17:55 3a2220e22916: Layer already exists 09:17:55 8699df95497e: Layer already exists 09:17:55 62170e181a92: Layer already exists 09:17:55 main: digest: sha256:20fe6b24e73fb7561f01a2dce7a214bd1133badee5ac7e88efbd457260175f1c size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:17:55 ===================================================== [Pipeline] echo 09:17:55 taggedImages: 09:17:55 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:88a58696cb067fb6eae2a796006b77d9cd89139c 09:17:55 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 09:17:55 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:0.0.0 09:17:55 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:88a58696cb067fb6eae2a796006b77d9cd89139c-0.0.0 09:17:55 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:17:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:17:56 09:17:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 09:17:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:17:57 arm64: Pulling from edgex-lftools-log-publisher 09:17:57 448f6bf000e3: Pulling fs layer 09:17:57 f757da607395: Pulling fs layer 09:17:57 05883995daec: Pulling fs layer 09:17:57 8603b9c90790: Pulling fs layer 09:17:57 1560dd03e051: Pulling fs layer 09:17:57 27f5ce0e4adf: Pulling fs layer 09:17:57 c2d8d7efcc4b: Pulling fs layer 09:17:57 8603b9c90790: Waiting 09:17:57 1560dd03e051: Waiting 09:17:57 27f5ce0e4adf: Waiting 09:17:57 c2d8d7efcc4b: Waiting 09:17:57 f757da607395: Verifying Checksum 09:17:57 f757da607395: Download complete 09:17:57 8603b9c90790: Verifying Checksum 09:17:57 8603b9c90790: Download complete 09:17:57 1560dd03e051: Verifying Checksum 09:17:57 1560dd03e051: Download complete 09:17:57 27f5ce0e4adf: Verifying Checksum 09:17:57 27f5ce0e4adf: Download complete 09:17:57 05883995daec: Verifying Checksum 09:17:57 05883995daec: Download complete 09:17:57 448f6bf000e3: Verifying Checksum 09:17:57 448f6bf000e3: Download complete 09:18:00 c2d8d7efcc4b: Verifying Checksum 09:18:00 c2d8d7efcc4b: Download complete 09:18:01 448f6bf000e3: Pull complete 09:18:01 f757da607395: Pull complete 09:18:03 05883995daec: Pull complete 09:18:03 8603b9c90790: Pull complete 09:18:04 1560dd03e051: Pull complete 09:18:05 27f5ce0e4adf: Pull complete 09:18:20 c2d8d7efcc4b: Pull complete 09:18:20 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 09:18:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:18:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 09:18:20 prd-ubuntu18.04-docker-arm64-4c-16g-935 does not seem to be running inside a container 09:18:20 $ 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/16 -v /w/workspace/device-modbus-go/16:/w/workspace/device-modbus-go/16:rw,z -v /w/workspace/device-modbus-go/16@tmp:/w/workspace/device-modbus-go/16@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 09:18:23 $ docker top a1b356c1d32fce906b66f04a3f6052e0124b9fc3d2b6d2c799f73e6f284b0219 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:18:24 ---> job-cost.sh 09:18:24 lf-activate-venv: SKIPPING 09:18:24 INFO: No Stack... 09:18:25 INFO: Retrieving Pricing Info for: v3-standard-4 09:18:25 INFO: Archiving Costs [Pipeline] sh 09:18:26 + cat /w/workspace/device-modbus-go/16/archives/cost.csv 09:18:26 + cut -d, -f6 [Pipeline] lock 09:18:26 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-16-stack-cost] 09:18:26 Resource [jenkins-edgexfoundry-device-modbus-go-main-16-stack-cost] did not exist. Created. 09:18:26 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:18:27 /w/workspace/device-modbus-go/16@tmp/durable-4755a6cc/script.sh: 1: /w/workspace/device-modbus-go/16@tmp/durable-4755a6cc/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 09:18:27 + echo total: 0.10999999940395355 [Pipeline] stash 09:18:27 Warning: overwriting stash ‘stack-cost’ 09:18:28 Stashed 1 file(s) [Pipeline] } 09:18:28 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-16-stack-cost] [Pipeline] // lock [Pipeline] } 09:18:28 $ docker stop --time=1 a1b356c1d32fce906b66f04a3f6052e0124b9fc3d2b6d2c799f73e6f284b0219 09:18:29 $ docker rm -f a1b356c1d32fce906b66f04a3f6052e0124b9fc3d2b6d2c799f73e6f284b0219 [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 09:18:30 provisioning config files... 09:18:30 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5034865296959687807tmp [Pipeline] { [Pipeline] sh 09:18:30 + set +x 09:18:30 + bash -s -- 09:18:30 + curl -s https://codecov.io/bash 09:18:30 09:18:30 _____ _ 09:18:30 / ____| | | 09:18:30 | | ___ __| | ___ ___ _____ __ 09:18:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:18:30 | |___| (_) | (_| | __/ (_| (_) \ V / 09:18:30 \_____\___/ \__,_|\___|\___\___/ \_/ 09:18:30 Bash-1.0.6 09:18:30 09:18:30 09:18:30 ==> git version 2.24.4 found 09:18:30 ==> 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 09:18:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 09:18:30 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 09:18:30 ==> Jenkins CI detected. 09:18:30 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 09:18:30 project root: . 09:18:30 --> token set from env 09:18:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:18:30 ==> Running gcov in . (disable via -X gcov) 09:18:30 ==> Python coveragepy not found 09:18:30 ==> Searching for coverage reports in: 09:18:30 + . 09:18:30 -> Found 1 reports 09:18:30 ==> Detecting git/mercurial file structure 09:18:30 ==> Reading reports 09:18:30 + ./coverage.out bytes=23727 09:18:30 ==> Appending adjustments 09:18:30 https://docs.codecov.io/docs/fixing-reports 09:18:30 + Found adjustments 09:18:30 ==> Gzipping contents 09:18:30 4.0K /tmp/codecov.77XDvF.gz 09:18:30 ==> Uploading reports 09:18:30 url: https://codecov.io 09:18:30 query: branch=main&commit=88a58696cb067fb6eae2a796006b77d9cd89139c&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:18:30 -> Pinging Codecov 09:18:30 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=88a58696cb067fb6eae2a796006b77d9cd89139c&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:18:30 -> Uploading to 09:18:30 https://storage.googleapis.com/codecov/v4/raw/2021-11-17/55DBCA73C666E3227836607328DD7E49/88a58696cb067fb6eae2a796006b77d9cd89139c/5f5a06be-b659-4364-ad66-7843b263a97f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211117T091830Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9f6019775be7ac9909d6911e06b92dcb7ebf162fb0d78406316ddb32d0f69d57 09:18:30 % Total % Received % Xferd Average Speed Time Time Time Current 09:18:30 Dload Upload Total Spent Left Speed 09:18:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3991 0 0 100 3991 0 13054 --:--:-- --:--:-- --:--:-- 13085 09:18:31 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/88a58696cb067fb6eae2a796006b77d9cd89139c [Pipeline] } 09:18:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:18:31 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:18:31 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:18:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:18:31 09:18:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 09:18:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:18:32 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:18:32 188c0c94c7c5: Pulling fs layer 09:18:32 0ef7d3d256c8: Pulling fs layer 09:18:32 de9db76c5a1d: Pulling fs layer 09:18:32 0eba1c9be4d2: Pulling fs layer 09:18:32 0d57e429df01: Pulling fs layer 09:18:32 4e4be7b47b0d: Pulling fs layer 09:18:32 e1f770b5df2f: Pulling fs layer 09:18:32 85a0685a4137: Pulling fs layer 09:18:32 0d57e429df01: Waiting 09:18:32 4e4be7b47b0d: Waiting 09:18:32 e1f770b5df2f: Waiting 09:18:32 85a0685a4137: Waiting 09:18:32 0eba1c9be4d2: Waiting 09:18:32 de9db76c5a1d: Verifying Checksum 09:18:32 de9db76c5a1d: Download complete 09:18:32 0ef7d3d256c8: Download complete 09:18:32 0d57e429df01: Verifying Checksum 09:18:32 0d57e429df01: Download complete 09:18:32 4e4be7b47b0d: Verifying Checksum 09:18:32 4e4be7b47b0d: Download complete 09:18:32 188c0c94c7c5: Verifying Checksum 09:18:32 188c0c94c7c5: Download complete 09:18:32 e1f770b5df2f: Verifying Checksum 09:18:32 e1f770b5df2f: Download complete 09:18:32 0eba1c9be4d2: Verifying Checksum 09:18:32 0eba1c9be4d2: Download complete 09:18:33 188c0c94c7c5: Pull complete 09:18:33 85a0685a4137: Verifying Checksum 09:18:33 85a0685a4137: Download complete 09:18:33 0ef7d3d256c8: Pull complete 09:18:33 de9db76c5a1d: Pull complete 09:18:37 0eba1c9be4d2: Pull complete 09:18:37 0d57e429df01: Pull complete 09:18:37 4e4be7b47b0d: Pull complete 09:18:37 e1f770b5df2f: Pull complete 09:18:41 85a0685a4137: Pull complete 09:18:41 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 09:18:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:18:41 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 09:18:41 prd-centos7-docker-4c-2g-932 does not seem to be running inside a container 09:18:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 09:18:44 $ docker top cc4c7c192d4a313d73c1f45f3c01449c75f605242918d21d21f986a9c74e3f01 -eo pid,comm [Pipeline] { [Pipeline] echo 09:18:44 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 09:18:44 + set -o pipefail 09:18:44 + snyk monitor '--org=edgex-jenkins' 09:18:49 09:18:49 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 09:18:49 09:18:49 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/142dd84a-e830-4dcc-ab5e-1aa77f9c4db4 09:18:49 09:18:49 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 09:18:49 09:18:49 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:18:49 09:18:49 [Pipeline] } 09:18:49 $ docker stop --time=1 cc4c7c192d4a313d73c1f45f3c01449c75f605242918d21d21f986a9c74e3f01 09:18:51 $ docker rm -f cc4c7c192d4a313d73c1f45f3c01449c75f605242918d21d21f986a9c74e3f01 [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 09:18:52 + git log --format=format:%s -1 88a58696cb067fb6eae2a796006b77d9cd89139c [Pipeline] isUnix [Pipeline] sh 09:18:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:18:52 . [Pipeline] withDockerContainer 09:18:52 prd-centos7-docker-4c-2g-932 does not seem to be running inside a container 09:18:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:18:53 $ docker top 1d75247fea778a35fbc1e1448936676129273634fd49c2796167164cb0b2639d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:18:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:18:53 [ssh-agent] Looking for ssh-agent implementation... 09:18:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:18:53 $ docker exec 1d75247fea778a35fbc1e1448936676129273634fd49c2796167164cb0b2639d ssh-agent 09:18:53 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHBkgin/agent.13 09:18:53 SSH_AGENT_PID=20 09:18:53 Running ssh-add (command line suppressed) 09:18:53 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7630357713074740911.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7630357713074740911.key) 09:18:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:18:53 + git semver tag 09:18:53 # -> Open(): unable to determine branch for HEAD 09:18:53 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 09:18:53 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 09:18:53 # $SEMVER_REMOTE_NAME = origin 09:18:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:18:53 # $SEMVER_USER_NAME = edgex-jenkins 09:18:53 # $SEMVER_BRANCH = main 09:18:53 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver 09:18:53 # 88a58696cb067fb6eae2a796006b77d9cd89139c HEAD 09:18:53 # -> Force: false 09:18:53 # 1817544ae506130d616a889aaf87be30dd873c72 refs/tags/v0.0.0 [Pipeline] } 09:18:53 $ docker exec --env ******** --env ******** 1d75247fea778a35fbc1e1448936676129273634fd49c2796167164cb0b2639d ssh-agent -k 09:18:54 unset SSH_AUTH_SOCK; 09:18:54 unset SSH_AGENT_PID; 09:18:54 echo Agent pid 20 killed; 09:18:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:18:54 + git semver [Pipeline] } 09:18:54 $ docker stop --time=1 1d75247fea778a35fbc1e1448936676129273634fd49c2796167164cb0b2639d 09:18:55 $ docker rm -f 1d75247fea778a35fbc1e1448936676129273634fd49c2796167164cb0b2639d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 09:18:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:18:55 09:18:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 09:18:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:18:56 0.23.1-centos7: Pulling from edgex-lftools 09:18:56 ab5ef0e58194: Pulling fs layer 09:18:56 9712f1f96733: Pulling fs layer 09:18:56 63f879dbbcfc: Pulling fs layer 09:18:56 0d9ebad4ef96: Pulling fs layer 09:18:56 e9a5061849ea: Pulling fs layer 09:18:56 d747dcd14b5f: Pulling fs layer 09:18:56 2de7ff778b66: Pulling fs layer 09:18:56 0d9ebad4ef96: Waiting 09:18:56 e9a5061849ea: Waiting 09:18:56 d747dcd14b5f: Waiting 09:18:56 2de7ff778b66: Waiting 09:18:56 9712f1f96733: Verifying Checksum 09:18:56 9712f1f96733: Download complete 09:18:56 0d9ebad4ef96: Verifying Checksum 09:18:56 0d9ebad4ef96: Download complete 09:18:56 63f879dbbcfc: Verifying Checksum 09:18:56 63f879dbbcfc: Download complete 09:18:56 d747dcd14b5f: Verifying Checksum 09:18:56 d747dcd14b5f: Download complete 09:18:56 ab5ef0e58194: Verifying Checksum 09:18:56 ab5ef0e58194: Download complete 09:18:56 e9a5061849ea: Verifying Checksum 09:18:56 e9a5061849ea: Download complete 09:18:56 2de7ff778b66: Verifying Checksum 09:18:56 2de7ff778b66: Download complete 09:18:59 ab5ef0e58194: Pull complete 09:18:59 9712f1f96733: Pull complete 09:19:00 63f879dbbcfc: Pull complete 09:19:05 0d9ebad4ef96: Pull complete 09:19:05 e9a5061849ea: Pull complete 09:19:05 d747dcd14b5f: Pull complete 09:19:06 2de7ff778b66: Pull complete 09:19:06 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:19:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:19:06 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 09:19:06 prd-centos7-docker-4c-2g-932 does not seem to be running inside a container 09:19:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 09:19:09 $ docker top 68f6db736e45d3b524043824fca7b0b79cfe64902c4cbfe1f14f44f945848106 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:19:09 provisioning config files... 09:19:09 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1336455443277008810tmp 09:19:09 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config292624397345870127tmp 09:19:09 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2974963392460861443tmp [Pipeline] { [Pipeline] echo 09:19:09 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:19:09 ---> sigul-configuration.sh 09:19:09 gpg: directory `/root/.gnupg' created 09:19:09 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:19:09 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:19:09 gpg: keyring `/root/.gnupg/secring.gpg' created 09:19:09 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:19:09 gpg: CAST5 encrypted data 09:19:09 gpg: encrypted with 1 passphrase 09:19:09 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:19:09 + mkdir /home/jenkins 09:19:09 + mkdir /home/jenkins/sigul [Pipeline] sh 09:19:10 + 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 09:19:10 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:19:10 ---> sigul-install.sh 09:19:10 Sigul already installed; skipping installation. [Pipeline] sh 09:19:10 + git tag --list 09:19:10 0.7.1 09:19:10 v0.0.0 09:19:10 v1.0.0 09:19:10 v1.1.0 09:19:10 v1.1.1 09:19:10 v1.2.2 09:19:10 v1.3.0 09:19:10 v1.3.1 09:19:10 v2.0.0 09:19:10 v2.0.1-dev.1 09:19:10 v2.0.1-dev.10 09:19:10 v2.0.1-dev.11 09:19:10 v2.0.1-dev.12 09:19:10 v2.0.1-dev.2 09:19:10 v2.0.1-dev.3 09:19:10 v2.0.1-dev.4 09:19:10 v2.0.1-dev.5 09:19:10 v2.0.1-dev.6 09:19:10 v2.0.1-dev.7 09:19:10 v2.0.1-dev.8 09:19:10 v2.0.1-dev.9 [Pipeline] sh 09:19:11 + lftools sign git-tag v0.0.0 09:19:11 Signing Git tag with Sigul... 09:19:11 Signing v0.0.0 [Pipeline] echo 09:19:12 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:19:12 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:19:12 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:19:12 $ docker stop --time=1 68f6db736e45d3b524043824fca7b0b79cfe64902c4cbfe1f14f44f945848106 09:19:14 $ docker rm -f 68f6db736e45d3b524043824fca7b0b79cfe64902c4cbfe1f14f44f945848106 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 09:19:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:19:14 . [Pipeline] withDockerContainer 09:19:14 prd-centos7-docker-4c-2g-932 does not seem to be running inside a container 09:19:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:19:15 $ docker top 101ba141f84eee2a6549cf5a9d4649974433698ee126c2f34b5d791957b671ab -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:19:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:19:15 [ssh-agent] Looking for ssh-agent implementation... 09:19:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:19:15 $ docker exec 101ba141f84eee2a6549cf5a9d4649974433698ee126c2f34b5d791957b671ab ssh-agent 09:19:15 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIElICi/agent.14 09:19:15 SSH_AGENT_PID=20 09:19:15 Running ssh-add (command line suppressed) 09:19:15 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_772778855331762863.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_772778855331762863.key) 09:19:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:19:15 + git semver bump pre 09:19:15 # -> Open(): unable to determine branch for HEAD 09:19:15 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 09:19:15 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 09:19:15 # $SEMVER_REMOTE_NAME = origin 09:19:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:19:15 # $SEMVER_USER_NAME = edgex-jenkins 09:19:15 # $SEMVER_BRANCH = main 09:19:15 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver 09:19:15 0.0.1-dev.1 [Pipeline] } 09:19:15 $ docker exec --env ******** --env ******** 101ba141f84eee2a6549cf5a9d4649974433698ee126c2f34b5d791957b671ab ssh-agent -k 09:19:15 unset SSH_AUTH_SOCK; 09:19:15 unset SSH_AGENT_PID; 09:19:15 echo Agent pid 20 killed; 09:19:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:19:16 + git semver [Pipeline] } 09:19:16 $ docker stop --time=1 101ba141f84eee2a6549cf5a9d4649974433698ee126c2f34b5d791957b671ab 09:19:17 $ docker rm -f 101ba141f84eee2a6549cf5a9d4649974433698ee126c2f34b5d791957b671ab [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 09:19:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:19:17 . [Pipeline] withDockerContainer 09:19:17 prd-centos7-docker-4c-2g-932 does not seem to be running inside a container 09:19:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:19:18 $ docker top f3b4871e9a6af129cbd2cef52baf68521770d14755e7c68f9d5ebe4c1f2777e4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:19:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:19:18 [ssh-agent] Looking for ssh-agent implementation... 09:19:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:19:18 $ docker exec f3b4871e9a6af129cbd2cef52baf68521770d14755e7c68f9d5ebe4c1f2777e4 ssh-agent 09:19:18 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXocFLAb/agent.13 09:19:18 SSH_AGENT_PID=19 09:19:18 Running ssh-add (command line suppressed) 09:19:18 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7319474412458473426.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7319474412458473426.key) 09:19:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:19:19 + git semver push 09:19:19 # -> Open(): unable to determine branch for HEAD 09:19:19 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 09:19:19 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 09:19:19 # $SEMVER_REMOTE_NAME = origin 09:19:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:19:19 # $SEMVER_USER_NAME = edgex-jenkins 09:19:19 # $SEMVER_BRANCH = main 09:19:19 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver 09:19:19 git-semver-push: ssh: handshake failed: knownhosts: key mismatch [Pipeline] } 09:19:19 $ docker exec --env ******** --env ******** f3b4871e9a6af129cbd2cef52baf68521770d14755e7c68f9d5ebe4c1f2777e4 ssh-agent -k 09:19:19 unset SSH_AUTH_SOCK; 09:19:19 unset SSH_AGENT_PID; 09:19:19 echo Agent pid 19 killed; 09:19:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] } 09:19:19 $ docker stop --time=1 f3b4871e9a6af129cbd2cef52baf68521770d14755e7c68f9d5ebe4c1f2777e4 09:19:20 $ docker rm -f f3b4871e9a6af129cbd2cef52baf68521770d14755e7c68f9d5ebe4c1f2777e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 09:19:21 + '[' -d /w/workspace/gexfoundry_device-modbus-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 09:19:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:19:22 ---> package-listing.sh 09:19:22 ++ tr '[:upper:]' '[:lower:]' 09:19:22 ++ facter osfamily 09:19:22 + OS_FAMILY=redhat 09:19:22 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 09:19:22 + START_PACKAGES=/tmp/packages_start.txt 09:19:22 + END_PACKAGES=/tmp/packages_end.txt 09:19:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:19:22 + PACKAGES=/tmp/packages_start.txt 09:19:22 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 09:19:22 + PACKAGES=/tmp/packages_end.txt 09:19:22 + case "${OS_FAMILY}" in 09:19:22 + rpm -qa 09:19:22 + sort 09:19:23 + '[' -f /tmp/packages_start.txt ']' 09:19:23 + '[' -f /tmp/packages_end.txt ']' 09:19:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:19:23 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 09:19:23 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 09:19:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 09:19:23 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 09:19:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:19:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:19:23 09:19:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 09:19:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:19:24 latest: Pulling from edgex-lftools-log-publisher 09:19:24 b4d181a07f80: Pulling fs layer 09:19:24 a1111a8f2ec3: Pulling fs layer 09:19:24 ed53099fbce6: Pulling fs layer 09:19:24 dc539afda2c1: Pulling fs layer 09:19:24 77bc0d833cb6: Pulling fs layer 09:19:24 9065ff56babe: Pulling fs layer 09:19:24 d287ab97295c: Pulling fs layer 09:19:24 77bc0d833cb6: Waiting 09:19:24 9065ff56babe: Waiting 09:19:24 d287ab97295c: Waiting 09:19:24 a1111a8f2ec3: Verifying Checksum 09:19:24 a1111a8f2ec3: Download complete 09:19:24 dc539afda2c1: Verifying Checksum 09:19:24 dc539afda2c1: Download complete 09:19:24 ed53099fbce6: Verifying Checksum 09:19:24 ed53099fbce6: Download complete 09:19:24 9065ff56babe: Verifying Checksum 09:19:24 9065ff56babe: Download complete 09:19:24 77bc0d833cb6: Verifying Checksum 09:19:24 77bc0d833cb6: Download complete 09:19:24 b4d181a07f80: Verifying Checksum 09:19:24 b4d181a07f80: Download complete 09:19:25 d287ab97295c: Verifying Checksum 09:19:25 d287ab97295c: Download complete 09:19:25 b4d181a07f80: Pull complete 09:19:25 a1111a8f2ec3: Pull complete 09:19:26 ed53099fbce6: Pull complete 09:19:26 dc539afda2c1: Pull complete 09:19:27 77bc0d833cb6: Pull complete 09:19:27 9065ff56babe: Pull complete 09:19:32 d287ab97295c: Pull complete 09:19:32 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 09:19:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:19:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 09:19:32 prd-centos7-docker-4c-2g-932 does not seem to be running inside a container 09:19:32 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:19:34 $ docker top ede57525ee13b6643872aed72aea24c17ac05d2a0e1b8294414650c247bd18f6 -eo pid,comm [Pipeline] { [Pipeline] sh 09:19:34 + touch /tmp/pre-build-complete [Pipeline] sh 09:19:35 + mkdir -p /var/log/sysstat [Pipeline] sh 09:19:35 + ls /var/log/sa-host 09:19:35 + sadf -c /var/log/sa-host/sa17 09:19:35 file_magic: OK 09:19:35 HZ: Using current value: 100 09:19:35 file_header: OK 09:19:35 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 09:19:35 Statistics: 09:19:35 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:19:35 File successfully converted to sysstat format version 12.0.3 09:19:35 + sadf -c /var/log/sa-host/sa30 09:19:35 file_magic: OK 09:19:35 HZ: Using current value: 100 09:19:35 file_header: OK 09:19:35 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 09:19:35 Statistics: 09:19:35 Hnuu...uuuununununu...Hnuu...uuuununununu... 09:19:35 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:19:35 provisioning config files... 09:19:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1613801325572065322tmp [Pipeline] { [Pipeline] echo 09:19:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:19:35 ---> create-netrc.sh [Pipeline] } 09:19:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:19:36 ---> python-tools-install.sh [Pipeline] echo 09:19:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:19:36 ---> sudo-logs.sh 09:19:36 Archiving 'sudo' log.. 09:19:36 sudo: unable to resolve host prd-centos7-docker-4c-2g-932.novalocal: Name or service not known 09:19:36 sudo: unable to resolve host prd-centos7-docker-4c-2g-932.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 09:19:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:19:36 ---> job-cost.sh 09:19:36 lf-activate-venv: SKIPPING 09:19:36 DEBUG: total: 0.10999999940395355 09:19:36 INFO: Retrieving Stack Cost... 09:19:37 INFO: Retrieving Pricing Info for: v3-standard-2 09:19:37 INFO: Archiving Costs [Pipeline] echo 09:19:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:19:38 ---> logs-deploy.sh 09:19:38 lf-activate-venv: SKIPPING 09:19:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/16 09:19:38 INFO: archiving workspace using pattern(s): 09:19:38 Archives upload complete. 09:19:38 INFO: archiving logs to Nexus