Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4a13dc8cbc9452d90b2dd7765ba07908e93b105b 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-ssh15532099675963827166.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh923645937630332811.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh6298667627155142637.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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-ssh14783485804971700661.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-ssh12871592133614211155.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.17 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 Running on prd-centos7-docker-4c-2g-2479 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-ssh3321033479265733523.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 4a13dc8cbc9452d90b2dd7765ba07908e93b105b (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 4a13dc8cbc9452d90b2dd7765ba07908e93b105b # timeout=10 Commit message: "Merge pull request #307 from ernestojeda/go-1_17-module-changes" > git rev-list --no-walk 111b0946ec5749ca592e50224ec8488a26173b9a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:15:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:15:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:15:55 ========================================================= 18:15:55 EdgeX Global Pipelines Version Info 18:15:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:15:56 ------------------- 18:15:56 stable info: 18:15:56 ------------------- 18:15:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:15:56 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 18:15:56 Message: update stable to v1.0.219 18:15:56 ------------------- 18:15:56 experimental info: 18:15:56 ------------------- 18:15:56 Commited By: **** collab-it+edgex@linuxfoundation.org 18:15:56 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 18:15:56 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:15:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 18:15:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 18:15:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:15:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:15:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:15:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 18:15:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:15:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:15:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:15:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:15:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:15:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 18:15:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:15:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:15:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:15:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:15:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:15:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:15:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:15:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 18:15:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:15:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:15:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:15:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:15:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:15:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:15:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:15:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:15:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:15:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4a13dc8cbc9452d90b2dd7765ba07908e93b105b [Pipeline] echo 18:15:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4a13dc8 [Pipeline] echo 18:15:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:15:57 provisioning config files... 18:15:57 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2148917500168719320tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:15:57 ---> docker-login.sh 18:15:57 nexus3.edgexfoundry.org:10001 18:15:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:58 Configure a credential helper to remove this warning. See 18:15:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:58 18:15:58 Login Succeeded 18:15:58 nexus3.edgexfoundry.org:10002 18:15:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:58 Configure a credential helper to remove this warning. See 18:15:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:58 18:15:58 Login Succeeded 18:15:58 nexus3.edgexfoundry.org:10003 18:15:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:58 Configure a credential helper to remove this warning. See 18:15:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:58 18:15:58 Login Succeeded 18:15:58 nexus3.edgexfoundry.org:10004 18:15:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:58 Configure a credential helper to remove this warning. See 18:15:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:58 18:15:58 Login Succeeded 18:15:58 docker.io 18:15:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:58 Configure a credential helper to remove this warning. See 18:15:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:58 18:15:58 Login Succeeded 18:15:58 ---> docker-login.sh ends [Pipeline] } 18:15:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:15:59 + git rev-list -1 --merges 4a13dc8cbc9452d90b2dd7765ba07908e93b105b~1..4a13dc8cbc9452d90b2dd7765ba07908e93b105b [Pipeline] echo 18:15:59 -----------> git rev-list -1 --merges 4a13dc8cbc9452d90b2dd7765ba07908e93b105b~1..4a13dc8cbc9452d90b2dd7765ba07908e93b105b 4a13dc8cbc9452d90b2dd7765ba07908e93b105b 18:15:59 4a13dc8cbc9452d90b2dd7765ba07908e93b105b [false] [Pipeline] sh 18:15:59 + git log --format=format:%s -1 4a13dc8cbc9452d90b2dd7765ba07908e93b105b [Pipeline] echo 18:15:59 ========================================================= 18:15:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:15:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:15:59 + git log --format=format:%s -1 4a13dc8cbc9452d90b2dd7765ba07908e93b105b [Pipeline] echo 18:15:59 [semverPrep] GIT_COMMIT: 4a13dc8cbc9452d90b2dd7765ba07908e93b105b, Commit Message: Merge pull request #307 from ernestojeda/go-1_17-module-changes [Pipeline] echo 18:15:59 [semverPrep] This is not a build commit. [Pipeline] sh 18:16:00 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 18:16:00 + grep -v github /etc/ssh/ssh_known_hosts 18:16:00 + '[' -e /tmp/ssh_known_hosts ']' 18:16:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:16:00 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 18:16:00 + sudo tee -a /etc/ssh/ssh_known_hosts 18:16:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 18:16:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:16:00 18:16:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:16:01 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:16:01 latest: Pulling from edgex-devops/git-semver 18:16:01 a0d0a0d46f8b: Pulling fs layer 18:16:01 3e5f54012d9b: Pulling fs layer 18:16:01 4c7163046ea9: Pulling fs layer 18:16:01 0c2d73faf560: Pulling fs layer 18:16:01 0c2d73faf560: Waiting 18:16:01 3e5f54012d9b: Verifying Checksum 18:16:01 3e5f54012d9b: Download complete 18:16:01 a0d0a0d46f8b: Verifying Checksum 18:16:01 a0d0a0d46f8b: Download complete 18:16:01 0c2d73faf560: Verifying Checksum 18:16:01 0c2d73faf560: Download complete 18:16:01 4c7163046ea9: Verifying Checksum 18:16:01 4c7163046ea9: Download complete 18:16:01 a0d0a0d46f8b: Pull complete 18:16:01 3e5f54012d9b: Pull complete 18:16:02 4c7163046ea9: Pull complete 18:16:02 0c2d73faf560: Pull complete 18:16:02 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 18:16:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:16:02 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:16:02 prd-centos7-docker-4c-2g-2479 does not seem to be running inside a container 18:16:02 $ 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 18:16:03 $ docker top e33b010edd78bd93f82c346f9047468ea7bdd8287dc270b2e3ea60999be863a4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:16:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:16:03 [ssh-agent] Looking for ssh-agent implementation... 18:16:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:16:03 $ docker exec e33b010edd78bd93f82c346f9047468ea7bdd8287dc270b2e3ea60999be863a4 ssh-agent 18:16:03 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgOiFbP/agent.14 18:16:03 SSH_AGENT_PID=21 18:16:03 Running ssh-add (command line suppressed) 18:16:03 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4544420073915628152.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4544420073915628152.key) 18:16:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:16:03 + git tag --points-at HEAD [Pipeline] } 18:16:03 $ docker exec --env ******** --env ******** e33b010edd78bd93f82c346f9047468ea7bdd8287dc270b2e3ea60999be863a4 ssh-agent -k 18:16:03 unset SSH_AUTH_SOCK; 18:16:03 unset SSH_AGENT_PID; 18:16:03 echo Agent pid 21 killed; 18:16:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:16:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:16:03 [ssh-agent] Looking for ssh-agent implementation... 18:16:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:16:04 $ docker exec e33b010edd78bd93f82c346f9047468ea7bdd8287dc270b2e3ea60999be863a4 ssh-agent 18:16:04 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMJHObE/agent.57 18:16:04 SSH_AGENT_PID=64 18:16:04 Running ssh-add (command line suppressed) 18:16:04 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7888013702172759604.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7888013702172759604.key) 18:16:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:16:04 + git semver init 18:16:04 # -> Open(): unable to determine branch for HEAD 18:16:04 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 18:16:04 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 18:16:04 # $SEMVER_REMOTE_NAME = origin 18:16:04 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:16:04 # $SEMVER_USER_NAME = edgex-jenkins 18:16:04 # $SEMVER_BRANCH = main 18:16:04 # $SEMVER_TEMP = /tmp/semver-902238750 18:16:04 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 18:16:05 # '/tmp/semver-902238750' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' 18:16:05 # -> Force: false 18:16:05 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } 18:16:05 $ docker exec --env ******** --env ******** e33b010edd78bd93f82c346f9047468ea7bdd8287dc270b2e3ea60999be863a4 ssh-agent -k 18:16:05 unset SSH_AUTH_SOCK; 18:16:05 unset SSH_AGENT_PID; 18:16:05 echo Agent pid 64 killed; 18:16:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:16:05 + git semver [Pipeline] } 18:16:05 $ docker stop --time=1 e33b010edd78bd93f82c346f9047468ea7bdd8287dc270b2e3ea60999be863a4 18:16:07 $ docker rm -f e33b010edd78bd93f82c346f9047468ea7bdd8287dc270b2e3ea60999be863a4 [Pipeline] // withDockerContainer [Pipeline] sh 18:16:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:16:07 Stashed 1 file(s) [Pipeline] echo 18:16:07 [edgeXSemver]: initialized semver on version 2.2.0-dev.5 [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:16:07 provisioning config files... 18:16:07 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7248819014269736746tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:16:08 ---> docker-login.sh 18:16:08 nexus3.edgexfoundry.org:10001 18:16:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:16:08 Configure a credential helper to remove this warning. See 18:16:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:16:08 18:16:08 Login Succeeded 18:16:08 nexus3.edgexfoundry.org:10002 18:16:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:16:08 Configure a credential helper to remove this warning. See 18:16:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:16:08 18:16:08 Login Succeeded 18:16:08 nexus3.edgexfoundry.org:10003 18:16:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:16:08 Configure a credential helper to remove this warning. See 18:16:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:16:08 18:16:08 Login Succeeded 18:16:08 nexus3.edgexfoundry.org:10004 18:16:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:16:08 Configure a credential helper to remove this warning. See 18:16:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:16:08 18:16:08 Login Succeeded 18:16:08 docker.io 18:16:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:16:09 Configure a credential helper to remove this warning. See 18:16:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:16:09 18:16:09 Login Succeeded 18:16:09 ---> docker-login.sh ends [Pipeline] } 18:16:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:16:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:16:09 ========================================================= 18:16:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 18:16:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:16:09 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . 18:16:09 Sending build context to Docker daemon 5.697MB 18:16:09 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 18:16:09 Step 2/10 : FROM ${BASE} AS builder 18:16:09 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 18:16:09 59bf1c3509f3: Pulling fs layer 18:16:09 666ba61612fd: Pulling fs layer 18:16:09 8ed8ca486205: Pulling fs layer 18:16:09 4fe6c5a15a65: Pulling fs layer 18:16:09 22a0e8bec74d: Pulling fs layer 18:16:09 f965cba54748: Pulling fs layer 18:16:09 861ffc35075e: Pulling fs layer 18:16:09 4b385c91608e: Pulling fs layer 18:16:09 560528eb2ebb: Pulling fs layer 18:16:09 4fe6c5a15a65: Waiting 18:16:09 22a0e8bec74d: Waiting 18:16:09 f965cba54748: Waiting 18:16:09 861ffc35075e: Waiting 18:16:09 4b385c91608e: Waiting 18:16:09 560528eb2ebb: Waiting 18:16:09 8ed8ca486205: Verifying Checksum 18:16:09 8ed8ca486205: Download complete 18:16:09 666ba61612fd: Verifying Checksum 18:16:09 666ba61612fd: Download complete 18:16:09 22a0e8bec74d: Verifying Checksum 18:16:09 22a0e8bec74d: Download complete 18:16:09 f965cba54748: Verifying Checksum 18:16:09 f965cba54748: Download complete 18:16:09 59bf1c3509f3: Verifying Checksum 18:16:09 59bf1c3509f3: Download complete 18:16:09 861ffc35075e: Verifying Checksum 18:16:09 861ffc35075e: Download complete 18:16:09 4b385c91608e: Verifying Checksum 18:16:09 4b385c91608e: Download complete 18:16:10 4fe6c5a15a65: Verifying Checksum 18:16:10 4fe6c5a15a65: Download complete 18:16:10 59bf1c3509f3: Pull complete 18:16:10 560528eb2ebb: Verifying Checksum 18:16:10 560528eb2ebb: Download complete 18:16:10 666ba61612fd: Pull complete 18:16:10 8ed8ca486205: Pull complete 18:16:14 4fe6c5a15a65: Pull complete 18:16:14 22a0e8bec74d: Pull complete 18:16:14 f965cba54748: Pull complete 18:16:14 861ffc35075e: Pull complete 18:16:14 4b385c91608e: Pull complete 18:16:16 560528eb2ebb: Pull complete 18:16:16 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 18:16:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 18:16:16 ---> dd4a08f94e63 18:16:16 Step 3/10 : ARG MAKE='make build' 18:16:19 ---> Running in 181c4a5f8421 18:16:19 Removing intermediate container 181c4a5f8421 18:16:19 ---> d8264570e733 18:16:19 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:16:19 ---> Running in 96770405d138 18:16:19 Removing intermediate container 96770405d138 18:16:19 ---> 06997d045d28 18:16:19 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 18:16:19 ---> Running in 0c65f751bbe0 18:16:19 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 18:16:20 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 18:16:21 (1/8) Installing openssh-keygen (8.8_p1-r1) 18:16:21 (2/8) Installing libedit (20210910.3.1-r0) 18:16:21 (3/8) Installing openssh-client-common (8.8_p1-r1) 18:16:21 (4/8) Installing openssh-client-default (8.8_p1-r1) 18:16:21 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 18:16:21 (6/8) Installing openssh-server-common (8.8_p1-r1) 18:16:21 (7/8) Installing openssh-server (8.8_p1-r1) 18:16:21 (8/8) Installing openssh (8.8_p1-r1) 18:16:21 Executing busybox-1.34.1-r3.trigger 18:16:21 OK: 226 MiB in 60 packages 18:16:22 Removing intermediate container 0c65f751bbe0 18:16:22 ---> 936ade35a9b0 18:16:22 Step 6/10 : WORKDIR /device-modbus-go 18:16:22 ---> Running in 53dbac9ea865 18:16:22 Removing intermediate container 53dbac9ea865 18:16:22 ---> 23a6804c3018 18:16:22 Step 7/10 : COPY go.mod vendor* ./ 18:16:22 ---> 90b21c86de57 18:16:22 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:16:22 ---> Running in c7afa14d1097 18:16:22 Still waiting to schedule task 18:16:22 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 18:16:54 Removing intermediate container c7afa14d1097 18:16:54 ---> 39a02dd70acb 18:16:54 Step 9/10 : COPY . . 18:16:54 ---> 498b7285f944 18:16:54 Step 10/10 : RUN ${MAKE} 18:16:54 ---> Running in f49724f190ef 18:16:54 noop 18:16:54 Removing intermediate container f49724f190ef 18:16:54 ---> 9b23858b9427 18:16:54 Successfully built 9b23858b9427 18:16:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:16:55 + docker inspect -f . ci-base-image-x86_64 18:16:55 . [Pipeline] withDockerContainer 18:16:55 prd-centos7-docker-4c-2g-2479 does not seem to be running inside a container 18:16:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:16:55 $ docker top 63b3213b82c91c5fd053f07bc2894bc2274855a695fe5cbdfe8ffb4c236153cc -eo pid,comm [Pipeline] { [Pipeline] sh 18:16:55 + go version 18:16:55 go version go1.17.6 linux/amd64 [Pipeline] } 18:16:55 $ docker stop --time=1 63b3213b82c91c5fd053f07bc2894bc2274855a695fe5cbdfe8ffb4c236153cc 18:16:57 $ docker rm -f 63b3213b82c91c5fd053f07bc2894bc2274855a695fe5cbdfe8ffb4c236153cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:16:57 + docker inspect -f . ci-base-image-x86_64 18:16:57 . [Pipeline] withDockerContainer 18:16:57 prd-centos7-docker-4c-2g-2479 does not seem to be running inside a container 18:16:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:16:57 $ docker top e39792a55a991f6baefbb19e2227d8752d49e0137a84d90538bc35ee1f26eba4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:16:58 + make test 18:16:58 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:16:58 ? github.com/edgexfoundry/device-modbus-go [no test files] 18:17:13 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 18:17:13 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.008s coverage: 46.6% of statements 18:17:13 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:17:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:17:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:17:18 ./bin/test-attribution-txt.sh [Pipeline] echo 18:17:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:17:19 $ docker stop --time=1 e39792a55a991f6baefbb19e2227d8752d49e0137a84d90538bc35ee1f26eba4 18:17:20 $ docker rm -f e39792a55a991f6baefbb19e2227d8752d49e0137a84d90538bc35ee1f26eba4 [Pipeline] // withDockerContainer [Pipeline] sh 18:17:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:17:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:17:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:17:22 + ls -al . 18:17:22 total 152 18:17:22 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 20 18:17 . 18:17:22 drwxrwxr-x. 4 jenkins jenkins 112 Jan 20 18:15 .. 18:17:22 -rw-rw-r--. 1 jenkins jenkins 8010 Jan 20 18:15 Attribution.txt 18:17:22 drwxrwxr-x. 2 jenkins jenkins 60 Jan 20 18:15 bin 18:17:22 -rw-rw-r--. 1 jenkins jenkins 6038 Jan 20 18:15 CHANGELOG.md 18:17:22 drwxrwxr-x. 3 jenkins jenkins 32 Jan 20 18:15 cmd 18:17:22 -rw-r--r--. 1 jenkins jenkins 23727 Jan 20 18:17 coverage.out 18:17:22 -rw-rw-r--. 1 jenkins jenkins 1546 Jan 20 18:15 Dockerfile 18:17:22 -rw-rw-r--. 1 jenkins jenkins 140 Jan 20 18:15 .dockerignore 18:17:22 drwxrwxr-x. 8 jenkins jenkins 162 Jan 20 18:15 .git 18:17:22 drwxrwxr-x. 2 jenkins jenkins 103 Jan 20 18:15 .github 18:17:22 -rw-rw-r--. 1 jenkins jenkins 331 Jan 20 18:15 .gitignore 18:17:22 -rw-rw-r--. 1 jenkins jenkins 2960 Jan 20 18:15 go.mod 18:17:22 -rw-rw-r--. 1 jenkins jenkins 49511 Jan 20 18:15 go.sum 18:17:22 -rw-rw-r--. 1 jenkins jenkins 677 Jan 20 18:15 GOVERNANCE.md 18:17:22 drwxrwxr-x. 3 jenkins jenkins 20 Jan 20 18:15 internal 18:17:22 -rw-rw-r--. 1 jenkins jenkins 679 Jan 20 18:15 Jenkinsfile 18:17:22 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 20 18:15 LICENSE 18:17:22 -rw-rw-r--. 1 jenkins jenkins 1009 Jan 20 18:15 Makefile 18:17:22 -rw-rw-r--. 1 jenkins jenkins 622 Jan 20 18:15 OWNERS.md 18:17:22 -rw-rw-r--. 1 jenkins jenkins 3488 Jan 20 18:15 README.md 18:17:22 drwx------. 3 jenkins jenkins 57 Jan 20 18:16 .semver 18:17:22 drwxrwxr-x. 2 jenkins jenkins 52 Jan 20 18:15 simulator 18:17:22 drwxrwxr-x. 4 jenkins jenkins 71 Jan 20 18:15 snap 18:17:22 -rw-rw-r--. 1 jenkins jenkins 11 Jan 20 18:16 VERSION 18:17:22 -rw-rw-r--. 1 jenkins jenkins 229 Jan 20 18:15 version.go [Pipeline] isUnix [Pipeline] sh 18:17:22 + 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=4a13dc8cbc9452d90b2dd7765ba07908e93b105b --label arch=amd64 --label version=2.2.0-dev.5 . 18:17:22 Sending build context to Docker daemon 5.722MB 18:17:22 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 18:17:22 Step 2/23 : FROM ${BASE} AS builder 18:17:22 ---> 9b23858b9427 18:17:22 Step 3/23 : ARG MAKE='make build' 18:17:22 ---> Running in 2b2d5da26c34 18:17:23 Removing intermediate container 2b2d5da26c34 18:17:23 ---> ec0f875674ce 18:17:23 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:17:23 ---> Running in 297cf4d3a58d 18:17:23 Removing intermediate container 297cf4d3a58d 18:17:23 ---> cced3614e65e 18:17:23 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 18:17:23 ---> Running in 8d39f0c9523b 18:17:23 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 18:17:24 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 18:17:25 OK: 226 MiB in 60 packages 18:17:25 Removing intermediate container 8d39f0c9523b 18:17:25 ---> 9477b4926d21 18:17:25 Step 6/23 : WORKDIR /device-modbus-go 18:17:25 ---> Running in b39471203f97 18:17:25 Removing intermediate container b39471203f97 18:17:25 ---> 35a9137f117f 18:17:25 Step 7/23 : COPY go.mod vendor* ./ 18:17:25 ---> 6881319e9c57 18:17:25 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:17:25 ---> Running in 99104ac9a16a 18:17:26 Removing intermediate container 99104ac9a16a 18:17:26 ---> 2470902d3079 18:17:26 Step 9/23 : COPY . . 18:17:26 ---> e263ddfef332 18:17:26 Step 10/23 : RUN ${MAKE} 18:17:26 ---> Running in a7a7eb1658fd 18:17:26 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.5" -o cmd/device-modbus ./cmd 18:17:41 Removing intermediate container a7a7eb1658fd 18:17:41 ---> 08a964c59b4a 18:17:41 Step 11/23 : FROM alpine:3.14 18:17:41 3.14: Pulling from library/alpine 18:17:41 97518928ae5f: Pulling fs layer 18:17:41 97518928ae5f: Verifying Checksum 18:17:41 97518928ae5f: Download complete 18:17:41 97518928ae5f: Pull complete 18:17:41 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 18:17:41 Status: Downloaded newer image for alpine:3.14 18:17:41 ---> 0a97eee8041e 18:17:41 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 18:17:41 ---> Running in 96e518eab68b 18:17:41 Removing intermediate container 96e518eab68b 18:17:41 ---> 2bbe6df33999 18:17:41 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:17:41 ---> Running in 6d0f762e6462 18:17:41 Removing intermediate container 6d0f762e6462 18:17:41 ---> f570d1f47f8d 18:17:41 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 18:17:41 ---> Running in 8e17a56523e3 18:17:41 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 18:17:42 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 18:17:42 (1/6) Installing dumb-init (1.2.5-r1) 18:17:42 (2/6) Installing libgcc (10.3.1_git20210424-r2) 18:17:42 (3/6) Installing libsodium (1.0.18-r0) 18:17:43 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 18:17:43 (5/6) Installing libzmq (4.3.4-r0) 18:17:43 (6/6) Installing zeromq (4.3.4-r0) 18:17:43 Executing busybox-1.33.1-r6.trigger 18:17:43 OK: 8 MiB in 20 packages 18:17:43 Removing intermediate container 8e17a56523e3 18:17:43 ---> 6c0e10f0b1d9 18:17:43 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 18:17:43 ---> c57bc1a95c20 18:17:43 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 18:17:44 ---> 9cd861a3a341 18:17:44 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 18:17:44 ---> 0a584bf73ac8 18:17:44 Step 18/23 : EXPOSE 59901 18:17:44 ---> Running in feb1059e2a35 18:17:44 Removing intermediate container feb1059e2a35 18:17:44 ---> 3bf465ae124c 18:17:44 Step 19/23 : ENTRYPOINT ["/device-modbus"] 18:17:44 ---> Running in cf826995614f 18:17:44 Removing intermediate container cf826995614f 18:17:44 ---> cd14f4ce6af2 18:17:44 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:17:44 ---> Running in 54608d1201f0 18:17:44 Removing intermediate container 54608d1201f0 18:17:44 ---> 8d0699f3b1ce 18:17:44 Step 21/23 : LABEL arch=amd64 18:17:44 ---> Running in 023a0512aa94 18:17:44 Removing intermediate container 023a0512aa94 18:17:44 ---> 49b9231c6d60 18:17:44 Step 22/23 : LABEL git_sha=4a13dc8cbc9452d90b2dd7765ba07908e93b105b 18:17:44 ---> Running in 90dbd57b96cf 18:17:45 Removing intermediate container 90dbd57b96cf 18:17:45 ---> fc6a9fde773e 18:17:45 Step 23/23 : LABEL version=2.2.0-dev.5 18:17:45 ---> Running in 95e8acd525ca 18:17:45 Removing intermediate container 95e8acd525ca 18:17:45 ---> 180561b723e6 18:17:45 [Warning] One or more build-args [ARCH] were not consumed 18:17:45 Successfully built 180561b723e6 18:17:45 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:17:45 provisioning config files... 18:17:45 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8336486005303931756tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:17:45 ---> docker-login.sh 18:17:45 nexus3.edgexfoundry.org:10001 18:17:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:45 Configure a credential helper to remove this warning. See 18:17:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:45 18:17:45 Login Succeeded 18:17:45 nexus3.edgexfoundry.org:10002 18:17:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:45 Configure a credential helper to remove this warning. See 18:17:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:45 18:17:45 Login Succeeded 18:17:45 nexus3.edgexfoundry.org:10003 18:17:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:45 Configure a credential helper to remove this warning. See 18:17:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:45 18:17:45 Login Succeeded 18:17:45 nexus3.edgexfoundry.org:10004 18:17:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:45 Configure a credential helper to remove this warning. See 18:17:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:45 18:17:45 Login Succeeded 18:17:45 docker.io 18:17:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:46 Configure a credential helper to remove this warning. See 18:17:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:46 18:17:46 Login Succeeded 18:17:46 ---> docker-login.sh ends [Pipeline] } 18:17:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:17:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:17:46 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 18:17:46 4a13dc8cbc9452d90b2dd7765ba07908e93b105b 18:17:46 latest 18:17:46 2.2.0-dev.5 18:17:46 4a13dc8cbc9452d90b2dd7765ba07908e93b105b-2.2.0-dev.5 18:17:46 main 18:17:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:17:46 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4a13dc8cbc9452d90b2dd7765ba07908e93b105b [Pipeline] isUnix [Pipeline] sh 18:17:47 + docker push nexus3.edgexfoundry.org:10004/device-modbus:4a13dc8cbc9452d90b2dd7765ba07908e93b105b 18:17:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 18:17:47 e30c6be16d55: Preparing 18:17:47 f9208a0faf63: Preparing 18:17:47 5eb04de78ac2: Preparing 18:17:47 7ec4fa780bf9: Preparing 18:17:47 a362ab3b3456: Preparing 18:17:47 1a058d5342cc: Preparing 18:17:47 1a058d5342cc: Waiting 18:17:47 e30c6be16d55: Pushed 18:17:47 1a058d5342cc: Layer already exists 18:17:47 f9208a0faf63: Pushed 18:17:47 a362ab3b3456: Pushed 18:17:47 7ec4fa780bf9: Pushed 18:17:48 5eb04de78ac2: Pushed 18:17:48 4a13dc8cbc9452d90b2dd7765ba07908e93b105b: digest: sha256:65aae4f564e44c4fd27e861722bcb5004448b9aaee8bca8cbfa330173ab3f6fa size: 1573 [Pipeline] isUnix [Pipeline] sh 18:17:48 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh 18:17:48 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 18:17:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 18:17:48 e30c6be16d55: Preparing 18:17:48 f9208a0faf63: Preparing 18:17:48 5eb04de78ac2: Preparing 18:17:48 7ec4fa780bf9: Preparing 18:17:48 a362ab3b3456: Preparing 18:17:48 1a058d5342cc: Preparing 18:17:48 1a058d5342cc: Waiting 18:17:48 5eb04de78ac2: Layer already exists 18:17:48 a362ab3b3456: Layer already exists 18:17:48 e30c6be16d55: Layer already exists 18:17:48 f9208a0faf63: Layer already exists 18:17:48 7ec4fa780bf9: Layer already exists 18:17:48 1a058d5342cc: Layer already exists 18:17:48 latest: digest: sha256:65aae4f564e44c4fd27e861722bcb5004448b9aaee8bca8cbfa330173ab3f6fa size: 1573 [Pipeline] isUnix [Pipeline] sh 18:17:49 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh 18:17:49 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.5 18:17:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 18:17:49 e30c6be16d55: Preparing 18:17:49 f9208a0faf63: Preparing 18:17:49 5eb04de78ac2: Preparing 18:17:49 7ec4fa780bf9: Preparing 18:17:49 a362ab3b3456: Preparing 18:17:49 1a058d5342cc: Preparing 18:17:49 1a058d5342cc: Waiting 18:17:49 f9208a0faf63: Layer already exists 18:17:49 a362ab3b3456: Layer already exists 18:17:49 7ec4fa780bf9: Layer already exists 18:17:49 e30c6be16d55: Layer already exists 18:17:49 5eb04de78ac2: Layer already exists 18:17:49 1a058d5342cc: Layer already exists 18:17:49 2.2.0-dev.5: digest: sha256:65aae4f564e44c4fd27e861722bcb5004448b9aaee8bca8cbfa330173ab3f6fa size: 1573 [Pipeline] isUnix [Pipeline] sh 18:17:49 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4a13dc8cbc9452d90b2dd7765ba07908e93b105b-2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh 18:17:50 + docker push nexus3.edgexfoundry.org:10004/device-modbus:4a13dc8cbc9452d90b2dd7765ba07908e93b105b-2.2.0-dev.5 18:17:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 18:17:50 e30c6be16d55: Preparing 18:17:50 f9208a0faf63: Preparing 18:17:50 5eb04de78ac2: Preparing 18:17:50 7ec4fa780bf9: Preparing 18:17:50 a362ab3b3456: Preparing 18:17:50 1a058d5342cc: Preparing 18:17:50 1a058d5342cc: Waiting 18:17:50 a362ab3b3456: Layer already exists 18:17:50 f9208a0faf63: Layer already exists 18:17:50 7ec4fa780bf9: Layer already exists 18:17:50 e30c6be16d55: Layer already exists 18:17:50 5eb04de78ac2: Layer already exists 18:17:50 1a058d5342cc: Layer already exists 18:17:50 4a13dc8cbc9452d90b2dd7765ba07908e93b105b-2.2.0-dev.5: digest: sha256:65aae4f564e44c4fd27e861722bcb5004448b9aaee8bca8cbfa330173ab3f6fa size: 1573 [Pipeline] isUnix [Pipeline] sh 18:17:50 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh 18:17:50 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 18:17:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 18:17:50 e30c6be16d55: Preparing 18:17:50 f9208a0faf63: Preparing 18:17:50 5eb04de78ac2: Preparing 18:17:50 7ec4fa780bf9: Preparing 18:17:50 a362ab3b3456: Preparing 18:17:50 1a058d5342cc: Preparing 18:17:50 1a058d5342cc: Waiting 18:17:50 a362ab3b3456: Layer already exists 18:17:50 7ec4fa780bf9: Layer already exists 18:17:50 e30c6be16d55: Layer already exists 18:17:50 5eb04de78ac2: Layer already exists 18:17:50 f9208a0faf63: Layer already exists 18:17:50 1a058d5342cc: Layer already exists 18:17:50 main: digest: sha256:65aae4f564e44c4fd27e861722bcb5004448b9aaee8bca8cbfa330173ab3f6fa size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:17:50 ===================================================== [Pipeline] echo 18:17:50 taggedImages: 18:17:50 - nexus3.edgexfoundry.org:10004/device-modbus:4a13dc8cbc9452d90b2dd7765ba07908e93b105b 18:17:50 - nexus3.edgexfoundry.org:10004/device-modbus:latest 18:17:50 - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.5 18:17:50 - nexus3.edgexfoundry.org:10004/device-modbus:4a13dc8cbc9452d90b2dd7765ba07908e93b105b-2.2.0-dev.5 18:17:50 - 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 18:17:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:17:51 18:17:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 18:17:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:17:51 latest: Pulling from edgex-lftools-log-publisher 18:17:51 b4d181a07f80: Pulling fs layer 18:17:51 a1111a8f2ec3: Pulling fs layer 18:17:51 ed53099fbce6: Pulling fs layer 18:17:51 dc539afda2c1: Pulling fs layer 18:17:51 77bc0d833cb6: Pulling fs layer 18:17:51 9065ff56babe: Pulling fs layer 18:17:51 d287ab97295c: Pulling fs layer 18:17:51 dc539afda2c1: Waiting 18:17:51 77bc0d833cb6: Waiting 18:17:51 9065ff56babe: Waiting 18:17:51 d287ab97295c: Waiting 18:17:51 a1111a8f2ec3: Verifying Checksum 18:17:51 a1111a8f2ec3: Download complete 18:17:51 dc539afda2c1: Verifying Checksum 18:17:51 dc539afda2c1: Download complete 18:17:51 ed53099fbce6: Verifying Checksum 18:17:51 ed53099fbce6: Download complete 18:17:51 9065ff56babe: Verifying Checksum 18:17:51 9065ff56babe: Download complete 18:17:51 77bc0d833cb6: Verifying Checksum 18:17:51 77bc0d833cb6: Download complete 18:17:51 b4d181a07f80: Verifying Checksum 18:17:51 b4d181a07f80: Download complete 18:17:52 d287ab97295c: Verifying Checksum 18:17:52 d287ab97295c: Download complete 18:17:53 b4d181a07f80: Pull complete 18:17:53 a1111a8f2ec3: Pull complete 18:17:53 ed53099fbce6: Pull complete 18:17:53 dc539afda2c1: Pull complete 18:17:54 77bc0d833cb6: Pull complete 18:17:54 9065ff56babe: Pull complete 18:17:59 d287ab97295c: Pull complete 18:17:59 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 18:17:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:17:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:17:59 prd-centos7-docker-4c-2g-2479 does not seem to be running inside a container 18:17:59 $ 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/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:18:02 $ docker top 3a3e1b7f0cb73a45e48f847544cba695bea9394a8f62899533b3256821d59850 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:18:03 ---> job-cost.sh 18:18:03 lf-activate-venv: SKIPPING 18:18:03 INFO: No Stack... 18:18:03 INFO: Retrieving Pricing Info for: v3-standard-2 18:18:03 INFO: Archiving Costs [Pipeline] sh 18:18:03 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 18:18:03 + cut -d, -f6 [Pipeline] lock 18:18:03 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-22-stack-cost] 18:18:03 Resource [jenkins-edgexfoundry-device-modbus-go-main-22-stack-cost] did not exist. Created. 18:18:03 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:18:04 + echo total: 0.05999999865889549 [Pipeline] stash 18:18:04 Stashed 1 file(s) [Pipeline] } 18:18:04 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-22-stack-cost] [Pipeline] // lock [Pipeline] } 18:18:04 $ docker stop --time=1 3a3e1b7f0cb73a45e48f847544cba695bea9394a8f62899533b3256821d59850 18:18:05 $ docker rm -f 3a3e1b7f0cb73a45e48f847544cba695bea9394a8f62899533b3256821d59850 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:25:09 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2857 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 18:25:09 Running in /w/workspace/device-modbus-go/22 [Pipeline] { [Pipeline] checkout 18:25:10 Selected Git installation does not exist. Using Default 18:25:10 The recommended git tool is: NONE 18:25:16 using credential edgex-jenkins-ssh 18:25:16 Cloning the remote Git repository 18:25:16 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 18:25:16 > git init /w/workspace/device-modbus-go/22 # timeout=10 18:25:17 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 18:25:17 > git --version # timeout=10 18:25:17 > git --version # 'git version 2.17.1' 18:25:17 using GIT_SSH to set credentials SSH Credentials for GitHub 18:25:17 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:25:18 Avoid second fetch 18:25:18 Checking out Revision 4a13dc8cbc9452d90b2dd7765ba07908e93b105b (main) 18:25:18 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 18:25:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:25:18 > git config core.sparsecheckout # timeout=10 18:25:18 > git checkout -f 4a13dc8cbc9452d90b2dd7765ba07908e93b105b # timeout=10 18:25:23 Commit message: "Merge pull request #307 from ernestojeda/go-1_17-module-changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:25:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:25:24 % Total % Received % Xferd Average Speed Time Time Time Current 18:25:24 Dload Upload Total Spent Left Speed 18:25:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 183k 0 --:--:-- --:--:-- --:--:-- 186k [Pipeline] sh 18:25:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:25:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:25:24 + sudo tee /etc/docker/daemon.new 18:25:24 { 18:25:24 "registry-mirrors": [ 18:25:24 "https://nexus3.edgexfoundry.org:10001" 18:25:24 ], 18:25:24 "bip": "10.250.0.254/24", 18:25:24 "hosts": [ 18:25:24 "tcp://0.0.0.0:5555", 18:25:24 "unix:///var/run/docker.sock" 18:25:24 ], 18:25:24 "mtu": 1458, 18:25:24 "selinux-enabled": true, 18:25:24 "seccomp-profile": "/etc/docker/seccomp.json" 18:25:24 } [Pipeline] sh 18:25:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:25:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:25:43 provisioning config files... 18:25:44 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/22@tmp/config3234981701801284914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:25:44 ---> docker-login.sh 18:25:44 nexus3.edgexfoundry.org:10001 18:25:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:45 Configure a credential helper to remove this warning. See 18:25:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:45 18:25:45 Login Succeeded 18:25:45 nexus3.edgexfoundry.org:10002 18:25:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:45 Configure a credential helper to remove this warning. See 18:25:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:45 18:25:45 Login Succeeded 18:25:45 nexus3.edgexfoundry.org:10003 18:25:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:46 Configure a credential helper to remove this warning. See 18:25:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:46 18:25:46 Login Succeeded 18:25:46 nexus3.edgexfoundry.org:10004 18:25:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:46 Configure a credential helper to remove this warning. See 18:25:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:46 18:25:46 Login Succeeded 18:25:46 docker.io 18:25:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:47 Configure a credential helper to remove this warning. See 18:25:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:47 18:25:47 Login Succeeded 18:25:47 ---> docker-login.sh ends [Pipeline] } 18:25:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:25:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:25:48 ========================================================= 18:25:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 18:25:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:25:48 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 18:25:49 Sending build context to Docker daemon 2.981MB 18:25:49 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 18:25:49 Step 2/10 : FROM ${BASE} AS builder 18:25:49 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:25:49 9b3977197b4f: Pulling fs layer 18:25:49 1a89e8eeedd5: Pulling fs layer 18:25:49 94645a83ff95: Pulling fs layer 18:25:49 3f3a8bcf1eab: Pulling fs layer 18:25:49 0c92f367c5e7: Pulling fs layer 18:25:49 4b8299f9d1f4: Pulling fs layer 18:25:49 9a6b49a46696: Pulling fs layer 18:25:49 cf05db05a679: Pulling fs layer 18:25:49 3f3a8bcf1eab: Waiting 18:25:49 0c92f367c5e7: Waiting 18:25:49 4b8299f9d1f4: Waiting 18:25:49 9a6b49a46696: Waiting 18:25:49 cf05db05a679: Waiting 18:25:49 94645a83ff95: Verifying Checksum 18:25:49 94645a83ff95: Download complete 18:25:49 1a89e8eeedd5: Verifying Checksum 18:25:49 1a89e8eeedd5: Download complete 18:25:49 0c92f367c5e7: Verifying Checksum 18:25:49 0c92f367c5e7: Download complete 18:25:49 4b8299f9d1f4: Verifying Checksum 18:25:49 4b8299f9d1f4: Download complete 18:25:49 9b3977197b4f: Verifying Checksum 18:25:49 9b3977197b4f: Download complete 18:25:49 9a6b49a46696: Verifying Checksum 18:25:49 9a6b49a46696: Download complete 18:25:50 9b3977197b4f: Pull complete 18:25:51 1a89e8eeedd5: Pull complete 18:25:51 94645a83ff95: Pull complete 18:25:51 cf05db05a679: Verifying Checksum 18:25:51 cf05db05a679: Download complete 18:25:52 3f3a8bcf1eab: Verifying Checksum 18:25:52 3f3a8bcf1eab: Download complete 18:26:05 3f3a8bcf1eab: Pull complete 18:26:05 0c92f367c5e7: Pull complete 18:26:05 4b8299f9d1f4: Pull complete 18:26:05 9a6b49a46696: Pull complete 18:26:12 cf05db05a679: Pull complete 18:26:12 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 18:26:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 18:26:12 ---> 0ccda1f7e2ee 18:26:12 Step 3/10 : ARG MAKE='make build' 18:26:12 ---> Running in 09a9a2d70c61 18:26:13 Removing intermediate container 09a9a2d70c61 18:26:13 ---> 4677ecfa9a05 18:26:13 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:26:13 ---> Running in 43ba176d39c2 18:26:15 Removing intermediate container 43ba176d39c2 18:26:15 ---> cef83fffbb94 18:26:15 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 18:26:15 ---> Running in 2eee498eadf0 18:26:16 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:26:17 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:26:18 (1/8) Installing openssh-keygen (8.8_p1-r1) 18:26:18 (2/8) Installing libedit (20210910.3.1-r0) 18:26:18 (3/8) Installing openssh-client-common (8.8_p1-r1) 18:26:18 (4/8) Installing openssh-client-default (8.8_p1-r1) 18:26:18 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 18:26:18 (6/8) Installing openssh-server-common (8.8_p1-r1) 18:26:19 (7/8) Installing openssh-server (8.8_p1-r1) 18:26:19 (8/8) Installing openssh (8.8_p1-r1) 18:26:19 Executing busybox-1.34.1-r3.trigger 18:26:19 OK: 226 MiB in 60 packages 18:26:20 Removing intermediate container 2eee498eadf0 18:26:20 ---> ad31b61f60ad 18:26:20 Step 6/10 : WORKDIR /device-modbus-go 18:26:20 ---> Running in 97d907024ec5 18:26:21 Removing intermediate container 97d907024ec5 18:26:21 ---> 3e47454e733e 18:26:21 Step 7/10 : COPY go.mod vendor* ./ 18:26:22 ---> e55335a5bb2d 18:26:22 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:26:22 ---> Running in 08c4cd62f0f1 18:27:44 Removing intermediate container 08c4cd62f0f1 18:27:44 ---> a930a5020b76 18:27:44 Step 9/10 : COPY . . 18:27:44 ---> a8e741fa1963 18:27:44 Step 10/10 : RUN ${MAKE} 18:27:44 ---> Running in 9777771ea999 18:27:44 noop 18:27:44 Removing intermediate container 9777771ea999 18:27:44 ---> 3c9c2cef2e26 18:27:44 Successfully built 3c9c2cef2e26 18:27:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:27:44 + docker inspect -f . ci-base-image-arm64 18:27:44 . [Pipeline] withDockerContainer 18:27:45 prd-ubuntu18.04-docker-arm64-4c-16g-2857 does not seem to be running inside a container 18:27:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/22 -v /w/workspace/device-modbus-go/22:/w/workspace/device-modbus-go/22:rw,z -v /w/workspace/device-modbus-go/22@tmp:/w/workspace/device-modbus-go/22@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 18:27:46 $ docker top 05046b35eded1549e3c863a8225e8690a5625778ba69172a35cc7e42296363d4 -eo pid,comm [Pipeline] { [Pipeline] sh 18:27:47 + go version 18:27:47 go version go1.17.6 linux/arm64 [Pipeline] } 18:27:47 $ docker stop --time=1 05046b35eded1549e3c863a8225e8690a5625778ba69172a35cc7e42296363d4 18:27:49 $ docker rm -f 05046b35eded1549e3c863a8225e8690a5625778ba69172a35cc7e42296363d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:27:49 + docker inspect -f . ci-base-image-arm64 18:27:49 . [Pipeline] withDockerContainer 18:27:50 prd-ubuntu18.04-docker-arm64-4c-16g-2857 does not seem to be running inside a container 18:27:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/22 -v /w/workspace/device-modbus-go/22:/w/workspace/device-modbus-go/22:rw,z -v /w/workspace/device-modbus-go/22@tmp:/w/workspace/device-modbus-go/22@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 18:27:51 $ docker top 3281be8422abd01e3331c824a2a2cf6e46e70954107a75637bc3d2bebe2673c2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:27:52 + make test 18:27:52 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:27:54 ? github.com/edgexfoundry/device-modbus-go [no test files] 18:28:50 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 18:28:52 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.059s coverage: 46.6% of statements 18:28:52 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:29:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:29:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:29:14 ./bin/test-attribution-txt.sh [Pipeline] echo 18:29:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:29:16 $ docker stop --time=1 3281be8422abd01e3331c824a2a2cf6e46e70954107a75637bc3d2bebe2673c2 18:29:17 $ docker rm -f 3281be8422abd01e3331c824a2a2cf6e46e70954107a75637bc3d2bebe2673c2 [Pipeline] // withDockerContainer [Pipeline] sh 18:29:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:29:18 Warning: overwriting stash ‘coverage-report’ 18:29:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:29:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:29:20 + ls -al . 18:29:20 total 184 18:29:20 drwxrwxr-x 9 jenkins jenkins 4096 Jan 20 18:29 . 18:29:20 drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 18:25 .. 18:29:20 -rw-rw-r-- 1 jenkins jenkins 140 Jan 20 18:25 .dockerignore 18:29:20 drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 18:25 .git 18:29:20 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:25 .github 18:29:20 -rw-rw-r-- 1 jenkins jenkins 331 Jan 20 18:25 .gitignore 18:29:20 -rw-rw-r-- 1 jenkins jenkins 8010 Jan 20 18:25 Attribution.txt 18:29:20 -rw-rw-r-- 1 jenkins jenkins 6038 Jan 20 18:25 CHANGELOG.md 18:29:20 -rw-rw-r-- 1 jenkins jenkins 1546 Jan 20 18:25 Dockerfile 18:29:20 -rw-rw-r-- 1 jenkins jenkins 677 Jan 20 18:25 GOVERNANCE.md 18:29:20 -rw-rw-r-- 1 jenkins jenkins 679 Jan 20 18:25 Jenkinsfile 18:29:20 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 20 18:25 LICENSE 18:29:20 -rw-rw-r-- 1 jenkins jenkins 1009 Jan 20 18:25 Makefile 18:29:20 -rw-rw-r-- 1 jenkins jenkins 622 Jan 20 18:25 OWNERS.md 18:29:20 -rw-rw-r-- 1 jenkins jenkins 3488 Jan 20 18:25 README.md 18:29:20 -rw-rw-r-- 1 jenkins jenkins 11 Jan 20 18:16 VERSION 18:29:20 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:25 bin 18:29:20 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 18:25 cmd 18:29:20 -rw-r--r-- 1 jenkins jenkins 23727 Jan 20 18:28 coverage.out 18:29:20 -rw-rw-r-- 1 jenkins jenkins 2960 Jan 20 18:25 go.mod 18:29:20 -rw-rw-r-- 1 jenkins jenkins 49511 Jan 20 18:25 go.sum 18:29:20 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 18:25 internal 18:29:20 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:25 simulator 18:29:20 drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 18:25 snap 18:29:20 -rw-rw-r-- 1 jenkins jenkins 229 Jan 20 18:25 version.go [Pipeline] isUnix [Pipeline] sh 18:29:20 + 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=4a13dc8cbc9452d90b2dd7765ba07908e93b105b --label arch=arm64 --label version=2.2.0-dev.5 . 18:29:20 Sending build context to Docker daemon 3.005MB 18:29:20 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 18:29:20 Step 2/23 : FROM ${BASE} AS builder 18:29:20 ---> 3c9c2cef2e26 18:29:20 Step 3/23 : ARG MAKE='make build' 18:29:20 ---> Running in 8dfdbf1bcfc5 18:29:21 Removing intermediate container 8dfdbf1bcfc5 18:29:21 ---> 6a73c8daa4d1 18:29:21 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:29:21 ---> Running in ff0c1aaae2ee 18:29:23 Removing intermediate container ff0c1aaae2ee 18:29:23 ---> 9cf0a1cda98f 18:29:23 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 18:29:23 ---> Running in d5eb5a833a07 18:29:24 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:29:25 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:29:26 OK: 226 MiB in 60 packages 18:29:27 Removing intermediate container d5eb5a833a07 18:29:27 ---> de55e2f7b1b5 18:29:27 Step 6/23 : WORKDIR /device-modbus-go 18:29:27 ---> Running in 3d58bd924386 18:29:27 Removing intermediate container 3d58bd924386 18:29:27 ---> e5c7fda3d2d1 18:29:27 Step 7/23 : COPY go.mod vendor* ./ 18:29:28 ---> 862284b1b060 18:29:28 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:29:28 ---> Running in 661051f2f5cc 18:29:30 Removing intermediate container 661051f2f5cc 18:29:30 ---> 54233f7d4157 18:29:30 Step 9/23 : COPY . . 18:29:31 ---> 402e83ac3166 18:29:31 Step 10/23 : RUN ${MAKE} 18:29:31 ---> Running in a3839fd40da2 18:29:32 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.5" -o cmd/device-modbus ./cmd 18:30:19 Removing intermediate container a3839fd40da2 18:30:19 ---> 9dde6f318137 18:30:19 Step 11/23 : FROM alpine:3.14 18:30:19 3.14: Pulling from library/alpine 18:30:19 be307f383ecc: Pulling fs layer 18:30:19 be307f383ecc: Download complete 18:30:19 be307f383ecc: Pull complete 18:30:19 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 18:30:19 Status: Downloaded newer image for alpine:3.14 18:30:19 ---> 5b8b7b635229 18:30:19 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 18:30:19 ---> Running in a7dde2324846 18:30:19 Removing intermediate container a7dde2324846 18:30:19 ---> a9521934a941 18:30:19 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:30:19 ---> Running in 2dfa166a361c 18:30:20 Removing intermediate container 2dfa166a361c 18:30:20 ---> 68a93a59834f 18:30:20 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 18:30:20 ---> Running in 44b3ded338b3 18:30:21 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 18:30:22 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 18:30:23 (1/6) Installing dumb-init (1.2.5-r1) 18:30:23 (2/6) Installing libgcc (10.3.1_git20210424-r2) 18:30:23 (3/6) Installing libsodium (1.0.18-r0) 18:30:23 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 18:30:23 (5/6) Installing libzmq (4.3.4-r0) 18:30:23 (6/6) Installing zeromq (4.3.4-r0) 18:30:23 Executing busybox-1.33.1-r6.trigger 18:30:23 OK: 8 MiB in 20 packages 18:30:24 Removing intermediate container 44b3ded338b3 18:30:24 ---> b4f045d0469a 18:30:24 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 18:30:25 ---> e5aad8500b5c 18:30:25 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 18:30:26 ---> c851d2388ef7 18:30:26 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 18:30:26 ---> 435816d3200f 18:30:26 Step 18/23 : EXPOSE 59901 18:30:26 ---> Running in 4ff52172fe4c 18:30:27 Removing intermediate container 4ff52172fe4c 18:30:27 ---> 9b87cfbe06a0 18:30:27 Step 19/23 : ENTRYPOINT ["/device-modbus"] 18:30:27 ---> Running in 764df288c06c 18:30:27 Removing intermediate container 764df288c06c 18:30:27 ---> ac8ac289e8db 18:30:27 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:30:27 ---> Running in bbfaae260a42 18:30:28 Removing intermediate container bbfaae260a42 18:30:28 ---> a4d18668543e 18:30:28 Step 21/23 : LABEL arch=arm64 18:30:28 ---> Running in 2b45a96e4f61 18:30:28 Removing intermediate container 2b45a96e4f61 18:30:28 ---> 6768c6771f69 18:30:28 Step 22/23 : LABEL git_sha=4a13dc8cbc9452d90b2dd7765ba07908e93b105b 18:30:28 ---> Running in 6ea452a27829 18:30:29 Removing intermediate container 6ea452a27829 18:30:29 ---> 6744021432a9 18:30:29 Step 23/23 : LABEL version=2.2.0-dev.5 18:30:29 ---> Running in cce28ab1bb18 18:30:29 Removing intermediate container cce28ab1bb18 18:30:29 ---> 33921453b3cc 18:30:29 [Warning] One or more build-args [ARCH] were not consumed 18:30:29 Successfully built 33921453b3cc 18:30:29 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 18:30:29 provisioning config files... 18:30:29 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/22@tmp/config5234097737982082781tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:30:29 ---> docker-login.sh 18:30:29 nexus3.edgexfoundry.org:10001 18:30:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:30 Configure a credential helper to remove this warning. See 18:30:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:30 18:30:30 Login Succeeded 18:30:30 nexus3.edgexfoundry.org:10002 18:30:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:30 Configure a credential helper to remove this warning. See 18:30:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:30 18:30:30 Login Succeeded 18:30:30 nexus3.edgexfoundry.org:10003 18:30:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:31 Configure a credential helper to remove this warning. See 18:30:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:31 18:30:31 Login Succeeded 18:30:31 nexus3.edgexfoundry.org:10004 18:30:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:31 Configure a credential helper to remove this warning. See 18:30:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:31 18:30:31 Login Succeeded 18:30:31 docker.io 18:30:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:32 Configure a credential helper to remove this warning. See 18:30:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:32 18:30:32 Login Succeeded 18:30:32 ---> docker-login.sh ends [Pipeline] } 18:30:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:30:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:30:32 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 18:30:32 4a13dc8cbc9452d90b2dd7765ba07908e93b105b 18:30:32 latest 18:30:32 2.2.0-dev.5 18:30:32 4a13dc8cbc9452d90b2dd7765ba07908e93b105b-2.2.0-dev.5 18:30:32 main 18:30:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:30:33 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4a13dc8cbc9452d90b2dd7765ba07908e93b105b [Pipeline] isUnix [Pipeline] sh 18:30:33 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4a13dc8cbc9452d90b2dd7765ba07908e93b105b 18:30:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 18:30:33 ca5d44eb1fc9: Preparing 18:30:33 bd21c41470e3: Preparing 18:30:33 310adca8110f: Preparing 18:30:33 7e1a1ddbc282: Preparing 18:30:33 46da184533cb: Preparing 18:30:33 62170e181a92: Preparing 18:30:33 62170e181a92: Waiting 18:30:33 ca5d44eb1fc9: Pushed 18:30:33 bd21c41470e3: Pushed 18:30:33 46da184533cb: Pushed 18:30:33 62170e181a92: Layer already exists 18:30:34 7e1a1ddbc282: Pushed 18:30:37 310adca8110f: Pushed 18:30:37 4a13dc8cbc9452d90b2dd7765ba07908e93b105b: digest: sha256:f5adbdd136571ada0ed7cb38476ff683b8ab1ab2840825233adf1182667cc22a size: 1572 [Pipeline] isUnix [Pipeline] sh 18:30:37 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:30:37 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 18:30:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 18:30:37 ca5d44eb1fc9: Preparing 18:30:37 bd21c41470e3: Preparing 18:30:37 310adca8110f: Preparing 18:30:37 7e1a1ddbc282: Preparing 18:30:37 46da184533cb: Preparing 18:30:37 62170e181a92: Preparing 18:30:37 62170e181a92: Waiting 18:30:37 7e1a1ddbc282: Layer already exists 18:30:38 310adca8110f: Layer already exists 18:30:38 bd21c41470e3: Layer already exists 18:30:38 46da184533cb: Layer already exists 18:30:38 ca5d44eb1fc9: Layer already exists 18:30:38 62170e181a92: Layer already exists 18:30:38 latest: digest: sha256:f5adbdd136571ada0ed7cb38476ff683b8ab1ab2840825233adf1182667cc22a size: 1572 [Pipeline] isUnix [Pipeline] sh 18:30:38 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh 18:30:38 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.5 18:30:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 18:30:38 ca5d44eb1fc9: Preparing 18:30:38 bd21c41470e3: Preparing 18:30:38 310adca8110f: Preparing 18:30:38 7e1a1ddbc282: Preparing 18:30:38 46da184533cb: Preparing 18:30:38 62170e181a92: Preparing 18:30:38 62170e181a92: Waiting 18:30:38 ca5d44eb1fc9: Layer already exists 18:30:38 46da184533cb: Layer already exists 18:30:38 310adca8110f: Layer already exists 18:30:38 bd21c41470e3: Layer already exists 18:30:38 7e1a1ddbc282: Layer already exists 18:30:38 62170e181a92: Layer already exists 18:30:39 2.2.0-dev.5: digest: sha256:f5adbdd136571ada0ed7cb38476ff683b8ab1ab2840825233adf1182667cc22a size: 1572 [Pipeline] isUnix [Pipeline] sh 18:30:39 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4a13dc8cbc9452d90b2dd7765ba07908e93b105b-2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh 18:30:39 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4a13dc8cbc9452d90b2dd7765ba07908e93b105b-2.2.0-dev.5 18:30:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 18:30:39 ca5d44eb1fc9: Preparing 18:30:39 bd21c41470e3: Preparing 18:30:39 310adca8110f: Preparing 18:30:39 7e1a1ddbc282: Preparing 18:30:39 46da184533cb: Preparing 18:30:39 62170e181a92: Preparing 18:30:39 62170e181a92: Waiting 18:30:39 ca5d44eb1fc9: Layer already exists 18:30:39 46da184533cb: Layer already exists 18:30:39 7e1a1ddbc282: Layer already exists 18:30:39 310adca8110f: Layer already exists 18:30:39 bd21c41470e3: Layer already exists 18:30:40 62170e181a92: Layer already exists 18:30:40 4a13dc8cbc9452d90b2dd7765ba07908e93b105b-2.2.0-dev.5: digest: sha256:f5adbdd136571ada0ed7cb38476ff683b8ab1ab2840825233adf1182667cc22a size: 1572 [Pipeline] isUnix [Pipeline] sh 18:30:40 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh 18:30:40 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 18:30:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 18:30:40 ca5d44eb1fc9: Preparing 18:30:40 bd21c41470e3: Preparing 18:30:40 310adca8110f: Preparing 18:30:40 7e1a1ddbc282: Preparing 18:30:40 46da184533cb: Preparing 18:30:40 62170e181a92: Preparing 18:30:40 62170e181a92: Waiting 18:30:40 310adca8110f: Layer already exists 18:30:40 7e1a1ddbc282: Layer already exists 18:30:40 bd21c41470e3: Layer already exists 18:30:40 46da184533cb: Layer already exists 18:30:40 ca5d44eb1fc9: Layer already exists 18:30:40 62170e181a92: Layer already exists 18:30:40 main: digest: sha256:f5adbdd136571ada0ed7cb38476ff683b8ab1ab2840825233adf1182667cc22a size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:30:41 ===================================================== [Pipeline] echo 18:30:41 taggedImages: 18:30:41 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4a13dc8cbc9452d90b2dd7765ba07908e93b105b 18:30:41 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 18:30:41 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.5 18:30:41 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4a13dc8cbc9452d90b2dd7765ba07908e93b105b-2.2.0-dev.5 18:30:41 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:30:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:30:41 18:30:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 18:30:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:30:42 arm64: Pulling from edgex-lftools-log-publisher 18:30:42 448f6bf000e3: Pulling fs layer 18:30:42 f757da607395: Pulling fs layer 18:30:42 05883995daec: Pulling fs layer 18:30:42 8603b9c90790: Pulling fs layer 18:30:42 1560dd03e051: Pulling fs layer 18:30:42 27f5ce0e4adf: Pulling fs layer 18:30:42 c2d8d7efcc4b: Pulling fs layer 18:30:42 8603b9c90790: Waiting 18:30:42 27f5ce0e4adf: Waiting 18:30:42 c2d8d7efcc4b: Waiting 18:30:42 1560dd03e051: Waiting 18:30:42 f757da607395: Verifying Checksum 18:30:42 f757da607395: Download complete 18:30:42 8603b9c90790: Verifying Checksum 18:30:42 8603b9c90790: Download complete 18:30:42 1560dd03e051: Download complete 18:30:42 27f5ce0e4adf: Verifying Checksum 18:30:42 27f5ce0e4adf: Download complete 18:30:42 05883995daec: Download complete 18:30:42 448f6bf000e3: Verifying Checksum 18:30:42 448f6bf000e3: Download complete 18:30:45 c2d8d7efcc4b: Verifying Checksum 18:30:45 c2d8d7efcc4b: Download complete 18:30:46 448f6bf000e3: Pull complete 18:30:47 f757da607395: Pull complete 18:30:48 05883995daec: Pull complete 18:30:49 8603b9c90790: Pull complete 18:30:49 1560dd03e051: Pull complete 18:30:50 27f5ce0e4adf: Pull complete 18:31:08 c2d8d7efcc4b: Pull complete 18:31:08 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 18:31:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:31:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 18:31:08 prd-ubuntu18.04-docker-arm64-4c-16g-2857 does not seem to be running inside a container 18:31:08 $ 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/22 -v /w/workspace/device-modbus-go/22:/w/workspace/device-modbus-go/22:rw,z -v /w/workspace/device-modbus-go/22@tmp:/w/workspace/device-modbus-go/22@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 18:31:11 $ docker top d068c3d862f77fcf0ec7f01c14eade46b0f3e45e61c39d6aa349a90d1658a319 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:31:12 ---> job-cost.sh 18:31:12 lf-activate-venv: SKIPPING 18:31:12 INFO: No Stack... 18:31:12 INFO: Retrieving Pricing Info for: v3-standard-4 18:31:12 INFO: Archiving Costs [Pipeline] sh 18:31:13 + cat /w/workspace/device-modbus-go/22/archives/cost.csv 18:31:13 + cut -d, -f6 [Pipeline] lock 18:31:13 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-22-stack-cost] 18:31:13 Resource [jenkins-edgexfoundry-device-modbus-go-main-22-stack-cost] did not exist. Created. 18:31:13 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:31:14 /w/workspace/device-modbus-go/22@tmp/durable-1b8e98da/script.sh: 1: /w/workspace/device-modbus-go/22@tmp/durable-1b8e98da/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 18:31:15 + echo total: 0.10999999940395355 [Pipeline] stash 18:31:15 Warning: overwriting stash ‘stack-cost’ 18:31:15 Stashed 1 file(s) [Pipeline] } 18:31:15 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-22-stack-cost] [Pipeline] // lock [Pipeline] } 18:31:15 $ docker stop --time=1 d068c3d862f77fcf0ec7f01c14eade46b0f3e45e61c39d6aa349a90d1658a319 18:31:16 $ docker rm -f d068c3d862f77fcf0ec7f01c14eade46b0f3e45e61c39d6aa349a90d1658a319 [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 18:31:16 provisioning config files... 18:31:17 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3946329663785265960tmp [Pipeline] { [Pipeline] sh 18:31:17 + set +x 18:31:17 + curl -s https://codecov.io/bash 18:31:17 + bash -s -- 18:31:17 18:31:17 _____ _ 18:31:17 / ____| | | 18:31:17 | | ___ __| | ___ ___ _____ __ 18:31:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:31:17 | |___| (_) | (_| | __/ (_| (_) \ V / 18:31:17 \_____\___/ \__,_|\___|\___\___/ \_/ 18:31:17 Bash-1.0.6 18:31:17 18:31:17 18:31:17 ==> git version 2.24.4 found 18:31:17 ==> 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 18:31:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 18:31:17 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 18:31:17 ==> Jenkins CI detected. 18:31:17 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 18:31:17 project root: . 18:31:17 --> token set from env 18:31:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:31:17 ==> Running gcov in . (disable via -X gcov) 18:31:17 ==> Python coveragepy not found 18:31:17 ==> Searching for coverage reports in: 18:31:17 + . 18:31:17 -> Found 1 reports 18:31:17 ==> Detecting git/mercurial file structure 18:31:17 ==> Reading reports 18:31:17 + ./coverage.out bytes=23727 18:31:17 ==> Appending adjustments 18:31:17 https://docs.codecov.io/docs/fixing-reports 18:31:17 + Found adjustments 18:31:17 ==> Gzipping contents 18:31:17 4.0K /tmp/codecov.FgXu5U.gz 18:31:17 ==> Uploading reports 18:31:17 url: https://codecov.io 18:31:17 query: branch=main&commit=4a13dc8cbc9452d90b2dd7765ba07908e93b105b&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:31:17 -> Pinging Codecov 18:31:17 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=4a13dc8cbc9452d90b2dd7765ba07908e93b105b&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:31:17 -> Uploading to 18:31:17 https://storage.googleapis.com/codecov/v4/raw/2022-01-20/55DBCA73C666E3227836607328DD7E49/4a13dc8cbc9452d90b2dd7765ba07908e93b105b/0067162f-b58d-4327-8134-a8bf23c949a2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220120%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220120T183117Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=08f325a6315be27e759cdcf78d976808fd9a537aad1cdfaad2dac21e358b9da4 18:31:17 % Total % Received % Xferd Average Speed Time Time Time Current 18:31:17 Dload Upload Total Spent Left Speed 18:31:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3983 0 0 100 3983 0 12975 --:--:-- --:--:-- --:--:-- 13016 18:31:18 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/4a13dc8cbc9452d90b2dd7765ba07908e93b105b [Pipeline] } 18:31:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:31:18 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:31:18 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:31:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:31:18 18:31:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 18:31:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:31:18 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:31:18 188c0c94c7c5: Pulling fs layer 18:31:18 0ef7d3d256c8: Pulling fs layer 18:31:18 de9db76c5a1d: Pulling fs layer 18:31:18 0eba1c9be4d2: Pulling fs layer 18:31:18 0d57e429df01: Pulling fs layer 18:31:18 4e4be7b47b0d: Pulling fs layer 18:31:18 e1f770b5df2f: Pulling fs layer 18:31:18 85a0685a4137: Pulling fs layer 18:31:18 0d57e429df01: Waiting 18:31:18 4e4be7b47b0d: Waiting 18:31:18 e1f770b5df2f: Waiting 18:31:18 85a0685a4137: Waiting 18:31:18 0eba1c9be4d2: Waiting 18:31:18 de9db76c5a1d: Verifying Checksum 18:31:18 de9db76c5a1d: Download complete 18:31:18 0ef7d3d256c8: Verifying Checksum 18:31:18 0ef7d3d256c8: Download complete 18:31:18 0d57e429df01: Verifying Checksum 18:31:18 0d57e429df01: Download complete 18:31:18 188c0c94c7c5: Verifying Checksum 18:31:18 188c0c94c7c5: Download complete 18:31:18 4e4be7b47b0d: Verifying Checksum 18:31:18 4e4be7b47b0d: Download complete 18:31:19 e1f770b5df2f: Verifying Checksum 18:31:19 e1f770b5df2f: Download complete 18:31:19 188c0c94c7c5: Pull complete 18:31:19 0eba1c9be4d2: Verifying Checksum 18:31:19 0eba1c9be4d2: Download complete 18:31:19 0ef7d3d256c8: Pull complete 18:31:19 de9db76c5a1d: Pull complete 18:31:19 85a0685a4137: Verifying Checksum 18:31:19 85a0685a4137: Download complete 18:31:23 0eba1c9be4d2: Pull complete 18:31:23 0d57e429df01: Pull complete 18:31:23 4e4be7b47b0d: Pull complete 18:31:23 e1f770b5df2f: Pull complete 18:31:30 85a0685a4137: Pull complete 18:31:30 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 18:31:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:31:30 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 18:31:30 prd-centos7-docker-4c-2g-2479 does not seem to be running inside a container 18:31:30 $ 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 18:31:31 $ docker top 93d3a81b5b2c0a68df0a41aab5353cf7e9b1694a745476cae57f8304919386e5 -eo pid,comm [Pipeline] { [Pipeline] echo 18:31:31 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 18:31:32 + set -o pipefail 18:31:32 + snyk monitor '--org=edgex-jenkins' 18:31:37 18:31:37 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 18:31:37 18:31:37 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/1e2f403f-0c1d-4545-9026-45e051345e95 18:31:37 18:31:37 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 18:31:37 18:31:37 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:31:37 18:31:37 [Pipeline] } 18:31:37 $ docker stop --time=1 93d3a81b5b2c0a68df0a41aab5353cf7e9b1694a745476cae57f8304919386e5 18:31:39 $ docker rm -f 93d3a81b5b2c0a68df0a41aab5353cf7e9b1694a745476cae57f8304919386e5 [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 18:31:40 + git log --format=format:%s -1 4a13dc8cbc9452d90b2dd7765ba07908e93b105b [Pipeline] sh 18:31:40 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 18:31:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 18:31:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:31:40 . [Pipeline] withDockerContainer 18:31:40 prd-centos7-docker-4c-2g-2479 does not seem to be running inside a container 18:31:40 $ 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 18:31:41 $ docker top ea2e304705c4058bc2461c5c7eabf412f84a5087bf13230249343e8e32cab376 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:31:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:31:41 [ssh-agent] Looking for ssh-agent implementation... 18:31:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:31:41 $ docker exec ea2e304705c4058bc2461c5c7eabf412f84a5087bf13230249343e8e32cab376 ssh-agent 18:31:41 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOmcdlK/agent.14 18:31:41 SSH_AGENT_PID=21 18:31:41 Running ssh-add (command line suppressed) 18:31:41 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5943781002924391252.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5943781002924391252.key) 18:31:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:31:42 + git semver tag 18:31:42 # -> Open(): unable to determine branch for HEAD 18:31:42 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 18:31:42 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 18:31:42 # $SEMVER_REMOTE_NAME = origin 18:31:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:31:42 # $SEMVER_USER_NAME = edgex-jenkins 18:31:42 # $SEMVER_BRANCH = main 18:31:42 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver 18:31:42 # 4a13dc8cbc9452d90b2dd7765ba07908e93b105b HEAD 18:31:42 # -> Force: false 18:31:42 # 58c35a733ffcd2d47ee780a01297ef9a3aa48129 refs/tags/v2.2.0-dev.5 [Pipeline] } 18:31:42 $ docker exec --env ******** --env ******** ea2e304705c4058bc2461c5c7eabf412f84a5087bf13230249343e8e32cab376 ssh-agent -k 18:31:42 unset SSH_AUTH_SOCK; 18:31:42 unset SSH_AGENT_PID; 18:31:42 echo Agent pid 21 killed; 18:31:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:31:42 + git semver [Pipeline] } 18:31:42 $ docker stop --time=1 ea2e304705c4058bc2461c5c7eabf412f84a5087bf13230249343e8e32cab376 18:31:43 $ docker rm -f ea2e304705c4058bc2461c5c7eabf412f84a5087bf13230249343e8e32cab376 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 18:31:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:31:44 18:31:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 18:31:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:31:44 0.23.1-centos7: Pulling from edgex-lftools 18:31:44 ab5ef0e58194: Pulling fs layer 18:31:44 9712f1f96733: Pulling fs layer 18:31:44 63f879dbbcfc: Pulling fs layer 18:31:44 0d9ebad4ef96: Pulling fs layer 18:31:44 e9a5061849ea: Pulling fs layer 18:31:44 d747dcd14b5f: Pulling fs layer 18:31:44 2de7ff778b66: Pulling fs layer 18:31:44 e9a5061849ea: Waiting 18:31:44 d747dcd14b5f: Waiting 18:31:44 2de7ff778b66: Waiting 18:31:44 0d9ebad4ef96: Waiting 18:31:44 9712f1f96733: Verifying Checksum 18:31:44 9712f1f96733: Download complete 18:31:44 63f879dbbcfc: Verifying Checksum 18:31:44 63f879dbbcfc: Download complete 18:31:44 ab5ef0e58194: Verifying Checksum 18:31:44 ab5ef0e58194: Download complete 18:31:44 d747dcd14b5f: Verifying Checksum 18:31:44 d747dcd14b5f: Download complete 18:31:44 0d9ebad4ef96: Verifying Checksum 18:31:44 0d9ebad4ef96: Download complete 18:31:44 e9a5061849ea: Verifying Checksum 18:31:44 e9a5061849ea: Download complete 18:31:44 2de7ff778b66: Verifying Checksum 18:31:44 2de7ff778b66: Download complete 18:31:48 ab5ef0e58194: Pull complete 18:31:48 9712f1f96733: Pull complete 18:31:48 63f879dbbcfc: Pull complete 18:31:53 0d9ebad4ef96: Pull complete 18:31:53 e9a5061849ea: Pull complete 18:31:53 d747dcd14b5f: Pull complete 18:31:54 2de7ff778b66: Pull complete 18:31:54 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:31:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:31:54 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 18:31:54 prd-centos7-docker-4c-2g-2479 does not seem to be running inside a container 18:31:54 $ 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 18:31:58 $ docker top 57873384649b6ea26c9cca0b93250f76d916ce9e022c05dacf83ff96cdc7b052 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:31:58 provisioning config files... 18:31:58 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8335678887167074304tmp 18:31:58 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6077338631978978178tmp 18:31:58 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7702835813592695682tmp [Pipeline] { [Pipeline] echo 18:31:58 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:31:58 ---> sigul-configuration.sh 18:31:58 gpg: directory `/root/.gnupg' created 18:31:58 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:31:58 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:31:58 gpg: keyring `/root/.gnupg/secring.gpg' created 18:31:58 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:31:58 gpg: CAST5 encrypted data 18:31:58 gpg: encrypted with 1 passphrase 18:31:58 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:31:58 + mkdir /home/jenkins 18:31:58 + mkdir /home/jenkins/sigul [Pipeline] sh 18:31:59 + 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 18:31:59 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:31:59 ---> sigul-install.sh 18:31:59 Sigul already installed; skipping installation. [Pipeline] sh 18:31:59 + git tag --list 18:31:59 0.7.1 18:31:59 v1.0.0 18:31:59 v1.1.0 18:31:59 v1.1.1 18:31:59 v1.2.2 18:31:59 v1.3.0 18:31:59 v1.3.1 18:31:59 v2.0.0 18:31:59 v2.0.1-dev.1 18:31:59 v2.0.1-dev.10 18:31:59 v2.0.1-dev.11 18:31:59 v2.0.1-dev.12 18:31:59 v2.0.1-dev.2 18:31:59 v2.0.1-dev.3 18:31:59 v2.0.1-dev.4 18:31:59 v2.0.1-dev.5 18:31:59 v2.0.1-dev.6 18:31:59 v2.0.1-dev.7 18:31:59 v2.0.1-dev.8 18:31:59 v2.0.1-dev.9 18:31:59 v2.1.0 18:31:59 v2.2.0-dev.1 18:31:59 v2.2.0-dev.2 18:31:59 v2.2.0-dev.3 18:31:59 v2.2.0-dev.4 18:31:59 v2.2.0-dev.5 [Pipeline] sh 18:31:59 + lftools sign git-tag v2.2.0-dev.5 18:32:00 Signing Git tag with Sigul... 18:32:00 Signing v2.2.0-dev.5 [Pipeline] echo 18:32:01 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:32:01 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:32:01 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:32:01 $ docker stop --time=1 57873384649b6ea26c9cca0b93250f76d916ce9e022c05dacf83ff96cdc7b052 18:32:02 $ docker rm -f 57873384649b6ea26c9cca0b93250f76d916ce9e022c05dacf83ff96cdc7b052 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:32:03 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 18:32:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 18:32:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:32:03 . [Pipeline] withDockerContainer 18:32:03 prd-centos7-docker-4c-2g-2479 does not seem to be running inside a container 18:32:03 $ 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 18:32:03 $ docker top 2640f4e1934a8115b1c5f67613ce94c6d9ddc4d18d463147e414fdaf0ab6d2df -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:32:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:32:03 [ssh-agent] Looking for ssh-agent implementation... 18:32:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:32:04 $ docker exec 2640f4e1934a8115b1c5f67613ce94c6d9ddc4d18d463147e414fdaf0ab6d2df ssh-agent 18:32:04 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAdHEiH/agent.14 18:32:04 SSH_AGENT_PID=20 18:32:04 Running ssh-add (command line suppressed) 18:32:04 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3329740402429162816.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3329740402429162816.key) 18:32:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:32:04 + git semver bump pre 18:32:04 # -> Open(): unable to determine branch for HEAD 18:32:04 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 18:32:04 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 18:32:04 # $SEMVER_REMOTE_NAME = origin 18:32:04 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:32:04 # $SEMVER_USER_NAME = edgex-jenkins 18:32:04 # $SEMVER_BRANCH = main 18:32:04 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver 18:32:04 2.2.0-dev.6 [Pipeline] } 18:32:04 $ docker exec --env ******** --env ******** 2640f4e1934a8115b1c5f67613ce94c6d9ddc4d18d463147e414fdaf0ab6d2df ssh-agent -k 18:32:04 unset SSH_AUTH_SOCK; 18:32:04 unset SSH_AGENT_PID; 18:32:04 echo Agent pid 20 killed; 18:32:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:32:05 + git semver [Pipeline] } 18:32:05 $ docker stop --time=1 2640f4e1934a8115b1c5f67613ce94c6d9ddc4d18d463147e414fdaf0ab6d2df 18:32:06 $ docker rm -f 2640f4e1934a8115b1c5f67613ce94c6d9ddc4d18d463147e414fdaf0ab6d2df [Pipeline] // withDockerContainer [Pipeline] sh 18:32:06 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 18:32:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 18:32:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:32:06 . [Pipeline] withDockerContainer 18:32:06 prd-centos7-docker-4c-2g-2479 does not seem to be running inside a container 18:32:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:32:07 $ docker top 624645e271307f21638e87554d20ef5690eab3a307a932b4edad7457f33873bf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:32:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:32:07 [ssh-agent] Looking for ssh-agent implementation... 18:32:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:32:07 $ docker exec 624645e271307f21638e87554d20ef5690eab3a307a932b4edad7457f33873bf ssh-agent 18:32:07 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBjfhmB/agent.14 18:32:07 SSH_AGENT_PID=21 18:32:07 Running ssh-add (command line suppressed) 18:32:07 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2272124576670919962.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2272124576670919962.key) 18:32:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:32:08 + git semver push 18:32:08 # -> Open(): unable to determine branch for HEAD 18:32:08 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 18:32:08 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 18:32:08 # $SEMVER_REMOTE_NAME = origin 18:32:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:32:08 # $SEMVER_USER_NAME = edgex-jenkins 18:32:08 # $SEMVER_BRANCH = main 18:32:08 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } 18:32:10 $ docker exec --env ******** --env ******** 624645e271307f21638e87554d20ef5690eab3a307a932b4edad7457f33873bf ssh-agent -k 18:32:10 unset SSH_AUTH_SOCK; 18:32:10 unset SSH_AGENT_PID; 18:32:10 echo Agent pid 21 killed; 18:32:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:32:10 + git semver [Pipeline] } 18:32:10 $ docker stop --time=1 624645e271307f21638e87554d20ef5690eab3a307a932b4edad7457f33873bf 18:32:11 $ docker rm -f 624645e271307f21638e87554d20ef5690eab3a307a932b4edad7457f33873bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:32:12 + '[' -d /w/workspace/gexfoundry_device-modbus-go_main/archives ']' 18:32:12 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 18:32:12 total 8 18:32:12 drwxr-xr-x. 3 root root 34 Jan 20 18:18 . 18:32:12 drwxrwxr-x. 11 jenkins jenkins 4096 Jan 20 18:31 .. 18:32:12 drwxr-xr-x. 2 root root 6 Jan 20 18:18 cost 18:32:12 -rw-r--r--. 1 root root 86 Jan 20 18:18 cost.csv 18:32:12 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 18:32:12 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 18:32:12 total 8 18:32:12 drwxr-xr-x. 3 jenkins jenkins 34 Jan 20 18:18 . 18:32:12 drwxrwxr-x. 11 jenkins jenkins 4096 Jan 20 18:31 .. 18:32:12 drwxr-xr-x. 2 jenkins jenkins 6 Jan 20 18:18 cost 18:32:12 -rw-r--r--. 1 jenkins jenkins 86 Jan 20 18:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:32:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:32:13 ---> package-listing.sh 18:32:13 ++ facter osfamily 18:32:13 ++ tr '[:upper:]' '[:lower:]' 18:32:13 + OS_FAMILY=redhat 18:32:13 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 18:32:13 + START_PACKAGES=/tmp/packages_start.txt 18:32:13 + END_PACKAGES=/tmp/packages_end.txt 18:32:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:32:13 + PACKAGES=/tmp/packages_start.txt 18:32:13 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 18:32:13 + PACKAGES=/tmp/packages_end.txt 18:32:13 + case "${OS_FAMILY}" in 18:32:13 + rpm -qa 18:32:13 + sort 18:32:13 + '[' -f /tmp/packages_start.txt ']' 18:32:13 + '[' -f /tmp/packages_end.txt ']' 18:32:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:32:14 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 18:32:14 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 18:32:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 18:32:14 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 18:32:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:32:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:32:15 . [Pipeline] withDockerContainer 18:32:15 prd-centos7-docker-4c-2g-2479 does not seem to be running inside a container 18:32:15 $ 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 18:32:15 $ docker top 44ef1369dd98080a3ffa6428221cc2f2a7b424a242447dad307b40114b78b141 -eo pid,comm [Pipeline] { [Pipeline] sh 18:32:15 + touch /tmp/pre-build-complete [Pipeline] sh 18:32:16 + mkdir -p /var/log/sysstat [Pipeline] sh 18:32:16 + ls /var/log/sa-host 18:32:16 + sadf -c /var/log/sa-host/sa17 18:32:16 file_magic: OK 18:32:16 HZ: Using current value: 100 18:32:16 file_header: OK 18:32:16 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 18:32:16 Statistics: 18:32:16 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:32:16 File successfully converted to sysstat format version 12.0.3 18:32:16 + sadf -c /var/log/sa-host/sa20 18:32:16 file_magic: OK 18:32:16 HZ: Using current value: 100 18:32:16 file_header: OK 18:32:16 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 18:32:16 Statistics: 18:32:16 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:32:16 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:32:16 provisioning config files... 18:32:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7175235366295657591tmp [Pipeline] { [Pipeline] echo 18:32:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:32:16 ---> create-netrc.sh [Pipeline] } 18:32:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:32:17 ---> python-tools-install.sh [Pipeline] echo 18:32:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:32:17 ---> sudo-logs.sh 18:32:17 Archiving 'sudo' log.. 18:32:17 sudo: unable to resolve host prd-centos7-docker-4c-2g-2479.novalocal: Name or service not known 18:32:17 sudo: unable to resolve host prd-centos7-docker-4c-2g-2479.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 18:32:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:32:17 ---> job-cost.sh 18:32:17 lf-activate-venv: SKIPPING 18:32:17 DEBUG: total: 0.05999999865889549 18:32:17 INFO: Retrieving Stack Cost... 18:32:18 INFO: Retrieving Pricing Info for: v3-standard-2 18:32:18 INFO: Archiving Costs [Pipeline] echo 18:32:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:32:18 ---> logs-deploy.sh 18:32:18 lf-activate-venv: SKIPPING 18:32:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/22 18:32:18 INFO: archiving workspace using pattern(s): 18:32:19 Archives upload complete. 18:32:19 INFO: archiving logs to Nexus