Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 19472f7a5fdc6e4787d855a3cc3865d021cdd964 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-ssh937149406751257800.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh7124220461319157145.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh5885083506001357900.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15747932739474077066.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-ssh959002552782455854.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.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: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-33464’ Running on prd-ubuntu20.04-docker-8c-8g-33467 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.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 19472f7a5fdc6e4787d855a3cc3865d021cdd964 (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 19472f7a5fdc6e4787d855a3cc3865d021cdd964 # timeout=10 Commit message: "Merge pull request #339 from jinlinGuan/issue-338" > git rev-list --no-walk e01a1226a5cf77919213724cb5799907c2b0adaa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:06:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:06:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:06:03 ========================================================= 11:06:03 EdgeX Global Pipelines Version Info 11:06:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:06:04 ------------------- 11:06:04 stable info: 11:06:04 ------------------- 11:06:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:06:04 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 11:06:04 Message: update stable to v1.0.221 11:06:05 ------------------- 11:06:05 experimental info: 11:06:05 ------------------- 11:06:05 Commited By: **** collab-it+edgex@linuxfoundation.org 11:06:05 Commit SHA: 47c9b3891b578ce509e33c5bc61a4c29aa566c02 11:06:05 Message: update experimental to v1.0.226 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:06:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 11:06:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 11:06:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:06:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:06:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:06:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 11:06:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:06:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:06:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:06:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:06:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:06:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 11:06:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:06:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:06:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:06:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:06:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:06:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:06:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:06:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:06:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:06:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:06:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:06:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:06:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:06:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:06:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 11:06:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 11:06:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 11:06:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 19472f7a5fdc6e4787d855a3cc3865d021cdd964 [Pipeline] echo 11:06:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 19472f7 [Pipeline] echo 11:06:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:06:05 provisioning config files... 11:06:05 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config723434586258022422tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:06:06 ---> docker-login.sh 11:06:06 nexus3.edgexfoundry.org:10001 11:06:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:06 Configure a credential helper to remove this warning. See 11:06:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:06 11:06:06 Login Succeeded 11:06:06 nexus3.edgexfoundry.org:10002 11:06:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:06 Configure a credential helper to remove this warning. See 11:06:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:06 11:06:06 Login Succeeded 11:06:06 nexus3.edgexfoundry.org:10003 11:06:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:06 Configure a credential helper to remove this warning. See 11:06:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:06 11:06:06 Login Succeeded 11:06:06 nexus3.edgexfoundry.org:10004 11:06:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:06 Configure a credential helper to remove this warning. See 11:06:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:06 11:06:06 Login Succeeded 11:06:06 docker.io 11:06:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:07 Configure a credential helper to remove this warning. See 11:06:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:07 11:06:07 Login Succeeded 11:06:07 ---> docker-login.sh ends [Pipeline] } 11:06:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:06:07 + git rev-list -1 --merges 19472f7a5fdc6e4787d855a3cc3865d021cdd964~1..19472f7a5fdc6e4787d855a3cc3865d021cdd964 [Pipeline] echo 11:06:07 -----------> git rev-list -1 --merges 19472f7a5fdc6e4787d855a3cc3865d021cdd964~1..19472f7a5fdc6e4787d855a3cc3865d021cdd964 19472f7a5fdc6e4787d855a3cc3865d021cdd964 11:06:07 19472f7a5fdc6e4787d855a3cc3865d021cdd964 [false] [Pipeline] sh 11:06:08 + git log --format=format:%s -1 19472f7a5fdc6e4787d855a3cc3865d021cdd964 [Pipeline] echo 11:06:08 ========================================================= 11:06:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:06:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:06:08 + git log --format=format:%s -1 19472f7a5fdc6e4787d855a3cc3865d021cdd964 [Pipeline] echo 11:06:08 [semverPrep] GIT_COMMIT: 19472f7a5fdc6e4787d855a3cc3865d021cdd964, Commit Message: Merge pull request #339 from jinlinGuan/issue-338 [Pipeline] echo 11:06:08 [semverPrep] This is not a build commit. [Pipeline] sh 11:06:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:06:08 + grep -v github /etc/ssh/ssh_known_hosts 11:06:08 + [ -e /tmp/ssh_known_hosts ] 11:06:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:06:08 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:06:08 sudo tee -a /etc/ssh/ssh_known_hosts 11:06:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:06:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:06:09 11:06:09 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:06:09 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:06:09 latest: Pulling from edgex-devops/git-semver 11:06:09 a0d0a0d46f8b: Pulling fs layer 11:06:09 3e5f54012d9b: Pulling fs layer 11:06:09 4c7163046ea9: Pulling fs layer 11:06:09 0c2d73faf560: Pulling fs layer 11:06:09 0c2d73faf560: Waiting 11:06:09 3e5f54012d9b: Verifying Checksum 11:06:09 3e5f54012d9b: Download complete 11:06:09 a0d0a0d46f8b: Download complete 11:06:09 0c2d73faf560: Verifying Checksum 11:06:09 0c2d73faf560: Download complete 11:06:09 4c7163046ea9: Verifying Checksum 11:06:09 4c7163046ea9: Download complete 11:06:09 a0d0a0d46f8b: Pull complete 11:06:09 3e5f54012d9b: Pull complete 11:06:10 4c7163046ea9: Pull complete 11:06:10 0c2d73faf560: Pull complete 11:06:10 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 11:06:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:06:10 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:06:10 prd-ubuntu20.04-docker-8c-8g-33467 does not seem to be running inside a container 11:06:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:06:11 $ docker top f7ab1181d29a0dac05378940e8efa883425c271582b15e366d82183b001f4d97 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:06:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:06:11 [ssh-agent] Looking for ssh-agent implementation... 11:06:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:06:11 $ docker exec f7ab1181d29a0dac05378940e8efa883425c271582b15e366d82183b001f4d97 ssh-agent 11:06:11 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAPGehh/agent.14 11:06:11 SSH_AGENT_PID=20 11:06:11 Running ssh-add (command line suppressed) 11:06:11 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8181878013110293339.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8181878013110293339.key) 11:06:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:06:12 + git tag --points-at HEAD [Pipeline] } 11:06:12 $ docker exec --env ******** --env ******** f7ab1181d29a0dac05378940e8efa883425c271582b15e366d82183b001f4d97 ssh-agent -k 11:06:12 unset SSH_AUTH_SOCK; 11:06:12 unset SSH_AGENT_PID; 11:06:12 echo Agent pid 20 killed; 11:06:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:06:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:06:12 [ssh-agent] Looking for ssh-agent implementation... 11:06:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:06:12 $ docker exec f7ab1181d29a0dac05378940e8efa883425c271582b15e366d82183b001f4d97 ssh-agent 11:06:12 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCONpFH/agent.53 11:06:12 SSH_AGENT_PID=60 11:06:12 Running ssh-add (command line suppressed) 11:06:12 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4817405197187993964.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4817405197187993964.key) 11:06:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:06:13 + git semver init 11:06:13 # -> Open(): unable to determine branch for HEAD 11:06:13 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 11:06:13 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 11:06:13 # $SEMVER_REMOTE_NAME = origin 11:06:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:06:13 # $SEMVER_USER_NAME = edgex-jenkins 11:06:13 # $SEMVER_BRANCH = main 11:06:13 # $SEMVER_TEMP = /tmp/semver-823705371 11:06:13 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 11:06:14 # '/tmp/semver-823705371' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' 11:06:14 # -> Force: false 11:06:14 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } 11:06:14 $ docker exec --env ******** --env ******** f7ab1181d29a0dac05378940e8efa883425c271582b15e366d82183b001f4d97 ssh-agent -k 11:06:14 unset SSH_AUTH_SOCK; 11:06:14 unset SSH_AGENT_PID; 11:06:14 echo Agent pid 60 killed; 11:06:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:06:14 + git semver [Pipeline] } 11:06:14 $ docker stop --time=1 f7ab1181d29a0dac05378940e8efa883425c271582b15e366d82183b001f4d97 11:06:16 $ docker rm -f f7ab1181d29a0dac05378940e8efa883425c271582b15e366d82183b001f4d97 [Pipeline] // withDockerContainer [Pipeline] sh 11:06:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:06:16 Stashed 1 file(s) [Pipeline] echo 11:06:16 [edgeXSemver]: initialized semver on version 2.2.0-dev.14 [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 11:06:16 provisioning config files... 11:06:16 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6772335749938286532tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:06:17 ---> docker-login.sh 11:06:17 nexus3.edgexfoundry.org:10001 11:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:17 Configure a credential helper to remove this warning. See 11:06:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:17 11:06:17 Login Succeeded 11:06:17 nexus3.edgexfoundry.org:10002 11:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:17 Configure a credential helper to remove this warning. See 11:06:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:17 11:06:17 Login Succeeded 11:06:17 nexus3.edgexfoundry.org:10003 11:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:17 Configure a credential helper to remove this warning. See 11:06:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:17 11:06:17 Login Succeeded 11:06:17 nexus3.edgexfoundry.org:10004 11:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:17 Configure a credential helper to remove this warning. See 11:06:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:17 11:06:17 Login Succeeded 11:06:17 docker.io 11:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:17 Configure a credential helper to remove this warning. See 11:06:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:17 11:06:17 Login Succeeded 11:06:17 ---> docker-login.sh ends [Pipeline] } 11:06:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:06:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:06:18 ========================================================= 11:06:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 11:06:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:06:18 + 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 . 11:06:18 Sending build context to Docker daemon 5.823MB 11:06:18 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 11:06:18 Step 2/10 : FROM ${BASE} AS builder 11:06:18 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 11:06:18 59bf1c3509f3: Pulling fs layer 11:06:18 666ba61612fd: Pulling fs layer 11:06:18 8ed8ca486205: Pulling fs layer 11:06:18 4fe6c5a15a65: Pulling fs layer 11:06:18 22a0e8bec74d: Pulling fs layer 11:06:18 ca2b28591e48: Pulling fs layer 11:06:18 a51346096db8: Pulling fs layer 11:06:18 daebc70d1ce1: Pulling fs layer 11:06:18 0e18a0eac166: Pulling fs layer 11:06:18 4fe6c5a15a65: Waiting 11:06:18 22a0e8bec74d: Waiting 11:06:18 ca2b28591e48: Waiting 11:06:18 a51346096db8: Waiting 11:06:18 daebc70d1ce1: Waiting 11:06:18 0e18a0eac166: Waiting 11:06:18 8ed8ca486205: Verifying Checksum 11:06:18 8ed8ca486205: Download complete 11:06:18 666ba61612fd: Verifying Checksum 11:06:18 666ba61612fd: Download complete 11:06:18 22a0e8bec74d: Download complete 11:06:18 59bf1c3509f3: Verifying Checksum 11:06:18 59bf1c3509f3: Download complete 11:06:18 ca2b28591e48: Verifying Checksum 11:06:18 ca2b28591e48: Download complete 11:06:18 a51346096db8: Verifying Checksum 11:06:18 a51346096db8: Download complete 11:06:18 daebc70d1ce1: Verifying Checksum 11:06:18 daebc70d1ce1: Download complete 11:06:18 59bf1c3509f3: Pull complete 11:06:18 666ba61612fd: Pull complete 11:06:18 8ed8ca486205: Pull complete 11:06:19 0e18a0eac166: Verifying Checksum 11:06:19 0e18a0eac166: Download complete 11:06:19 4fe6c5a15a65: Verifying Checksum 11:06:19 4fe6c5a15a65: Download complete 11:06:23 4fe6c5a15a65: Pull complete 11:06:23 22a0e8bec74d: Pull complete 11:06:23 ca2b28591e48: Pull complete 11:06:23 a51346096db8: Pull complete 11:06:23 daebc70d1ce1: Pull complete 11:06:26 0e18a0eac166: Pull complete 11:06:26 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 11:06:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 11:06:26 ---> f018257e8ee9 11:06:26 Step 3/10 : ARG MAKE='make build' 11:06:28 ---> Running in 70abab2f233d 11:06:28 Removing intermediate container 70abab2f233d 11:06:28 ---> f5cec018efcc 11:06:28 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:06:28 ---> Running in 4456333af4fa 11:06:29 Removing intermediate container 4456333af4fa 11:06:29 ---> 7ae5d2674473 11:06:29 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 11:06:29 ---> Running in 78891925958a 11:06:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:06:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:06:30 (1/8) Installing openssh-keygen (8.8_p1-r1) 11:06:30 (2/8) Installing libedit (20210910.3.1-r0) 11:06:30 (3/8) Installing openssh-client-common (8.8_p1-r1) 11:06:30 (4/8) Installing openssh-client-default (8.8_p1-r1) 11:06:31 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 11:06:31 (6/8) Installing openssh-server-common (8.8_p1-r1) 11:06:31 (7/8) Installing openssh-server (8.8_p1-r1) 11:06:31 (8/8) Installing openssh (8.8_p1-r1) 11:06:31 Executing busybox-1.34.1-r3.trigger 11:06:31 OK: 226 MiB in 60 packages 11:06:31 Still waiting to schedule task 11:06:31 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-33465’ 11:06:32 Removing intermediate container 78891925958a 11:06:32 ---> 0b5e8ddf99ca 11:06:32 Step 6/10 : WORKDIR /device-modbus-go 11:06:32 ---> Running in 4ea12404a242 11:06:32 Removing intermediate container 4ea12404a242 11:06:32 ---> f2336747891a 11:06:32 Step 7/10 : COPY go.mod vendor* ./ 11:06:32 ---> d3baffa3273b 11:06:32 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:06:32 ---> Running in 944c39c22a7b 11:06:50 Removing intermediate container 944c39c22a7b 11:06:50 ---> 07ecfe49b32b 11:06:50 Step 9/10 : COPY . . 11:06:50 ---> 6bcb15c04826 11:06:50 Step 10/10 : RUN ${MAKE} 11:06:50 ---> Running in 16798ce5a718 11:06:50 noop 11:06:50 Removing intermediate container 16798ce5a718 11:06:50 ---> 5aa64f846342 11:06:50 Successfully built 5aa64f846342 11:06:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 11:06:50 + docker inspect -f . ci-base-image-x86_64 11:06:50 . [Pipeline] withDockerContainer 11:06:50 prd-ubuntu20.04-docker-8c-8g-33467 does not seem to be running inside a container 11:06:50 $ 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 11:06:51 $ docker top 33554d0b2be0d993f682bd0594d3ac66b8ec35b2c4791b51f2f518493b83b0f1 -eo pid,comm [Pipeline] { [Pipeline] sh 11:06:51 + go version 11:06:51 go version go1.17.6 linux/amd64 [Pipeline] } 11:06:51 $ docker stop --time=1 33554d0b2be0d993f682bd0594d3ac66b8ec35b2c4791b51f2f518493b83b0f1 11:06:52 $ docker rm -f 33554d0b2be0d993f682bd0594d3ac66b8ec35b2c4791b51f2f518493b83b0f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:06:53 + docker inspect -f . ci-base-image-x86_64 11:06:53 . [Pipeline] withDockerContainer 11:06:53 prd-ubuntu20.04-docker-8c-8g-33467 does not seem to be running inside a container 11:06:53 $ 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 11:06:53 $ docker top 83612fc970050f1a875996a3012f444dd39a25d7b01216d20815557d6ae2f025 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:06:54 + make test 11:06:54 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:06:54 ? github.com/edgexfoundry/device-modbus-go [no test files] 11:07:04 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 11:07:04 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 46.4% of statements 11:07:11 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:07:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:07:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:07:14 ./bin/test-attribution-txt.sh [Pipeline] echo 11:07:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:07:15 $ docker stop --time=1 83612fc970050f1a875996a3012f444dd39a25d7b01216d20815557d6ae2f025 11:07:17 $ docker rm -f 83612fc970050f1a875996a3012f444dd39a25d7b01216d20815557d6ae2f025 [Pipeline] // withDockerContainer [Pipeline] sh 11:07:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:07:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:07:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:07:18 + ls -al . 11:07:18 total 180 11:07:18 drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 11:07 . 11:07:18 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 11:05 .. 11:07:18 -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 11:05 .dockerignore 11:07:18 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 11:06 .git 11:07:18 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:05 .github 11:07:18 -rw-rw-r-- 1 jenkins jenkins 331 Apr 27 11:05 .gitignore 11:07:18 -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 11:05 .golangci.yml 11:07:18 drwx------ 3 jenkins jenkins 4096 Apr 27 11:06 .semver 11:07:18 -rw-rw-r-- 1 jenkins jenkins 9377 Apr 27 11:05 Attribution.txt 11:07:18 -rw-rw-r-- 1 jenkins jenkins 6038 Apr 27 11:05 CHANGELOG.md 11:07:18 -rw-rw-r-- 1 jenkins jenkins 1546 Apr 27 11:05 Dockerfile 11:07:18 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 11:05 GOVERNANCE.md 11:07:18 -rw-rw-r-- 1 jenkins jenkins 680 Apr 27 11:05 Jenkinsfile 11:07:18 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 11:05 LICENSE 11:07:18 -rw-rw-r-- 1 jenkins jenkins 1905 Apr 27 11:05 Makefile 11:07:18 -rw-rw-r-- 1 jenkins jenkins 622 Apr 27 11:05 OWNERS.md 11:07:18 -rw-rw-r-- 1 jenkins jenkins 3680 Apr 27 11:05 README.md 11:07:18 -rw-rw-r-- 1 jenkins jenkins 12 Apr 27 11:06 VERSION 11:07:18 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 11:05 bin 11:07:18 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:05 cmd 11:07:18 -rw-r--r-- 1 jenkins jenkins 24065 Apr 27 11:07 coverage.out 11:07:18 -rw-rw-r-- 1 jenkins jenkins 3399 Apr 27 11:05 go.mod 11:07:18 -rw-rw-r-- 1 jenkins jenkins 35075 Apr 27 11:05 go.sum 11:07:18 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:05 internal 11:07:18 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 11:05 simulator 11:07:18 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 11:05 snap 11:07:18 -rw-rw-r-- 1 jenkins jenkins 229 Apr 27 11:05 version.go [Pipeline] isUnix [Pipeline] sh 11:07:18 + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=19472f7a5fdc6e4787d855a3cc3865d021cdd964 --label arch=amd64 --label version=2.2.0-dev.14 . 11:07:18 Sending build context to Docker daemon 5.848MB 11:07:18 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 11:07:18 Step 2/23 : FROM ${BASE} AS builder 11:07:18 ---> 5aa64f846342 11:07:18 Step 3/23 : ARG MAKE='make build' 11:07:19 ---> Running in e368cfdb109f 11:07:19 Removing intermediate container e368cfdb109f 11:07:19 ---> 1bce5c9b2a14 11:07:19 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:07:19 ---> Running in 0aba34280b8c 11:07:19 Removing intermediate container 0aba34280b8c 11:07:19 ---> ad9168b1d3e0 11:07:19 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 11:07:19 ---> Running in a1204cac4da6 11:07:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:07:20 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:07:21 OK: 226 MiB in 60 packages 11:07:21 Removing intermediate container a1204cac4da6 11:07:21 ---> 56122b2fc800 11:07:21 Step 6/23 : WORKDIR /device-modbus-go 11:07:21 ---> Running in 2dd09e02285e 11:07:21 Removing intermediate container 2dd09e02285e 11:07:21 ---> d90239ab9f21 11:07:21 Step 7/23 : COPY go.mod vendor* ./ 11:07:21 ---> 460fb3061094 11:07:21 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:07:21 ---> Running in 68ff8a91531c 11:07:22 Removing intermediate container 68ff8a91531c 11:07:22 ---> d904eeee7013 11:07:22 Step 9/23 : COPY . . 11:07:23 ---> e821b718bc2a 11:07:23 Step 10/23 : RUN ${MAKE} 11:07:23 ---> Running in 48f03ba8a5ef 11:07:23 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.14" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 11:07:45 Removing intermediate container 48f03ba8a5ef 11:07:45 ---> e0429011eb30 11:07:45 Step 11/23 : FROM alpine:3.14 11:07:45 3.14: Pulling from library/alpine 11:07:45 8663204ce13b: Pulling fs layer 11:07:45 8663204ce13b: Download complete 11:07:45 8663204ce13b: Pull complete 11:07:45 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 11:07:45 Status: Downloaded newer image for alpine:3.14 11:07:45 ---> e04c818066af 11:07:45 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 11:07:45 ---> Running in 5e5d2faa6348 11:07:45 Removing intermediate container 5e5d2faa6348 11:07:45 ---> 2fb08cbbd21f 11:07:45 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:07:45 ---> Running in b9bce6e30a02 11:07:45 Removing intermediate container b9bce6e30a02 11:07:45 ---> d514bdc61b00 11:07:45 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 11:07:45 ---> Running in 9e1a872b9e09 11:07:45 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 11:07:45 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 11:07:45 (1/6) Installing dumb-init (1.2.5-r1) 11:07:46 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:07:46 (3/6) Installing libsodium (1.0.18-r0) 11:07:46 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:07:46 (5/6) Installing libzmq (4.3.4-r0) 11:07:46 (6/6) Installing zeromq (4.3.4-r0) 11:07:46 Executing busybox-1.33.1-r7.trigger 11:07:46 OK: 8 MiB in 20 packages 11:07:46 Removing intermediate container 9e1a872b9e09 11:07:46 ---> 8fd6f4f80168 11:07:46 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 11:07:47 ---> ba89921f2e30 11:07:47 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 11:07:47 ---> 4ed9ed6d2e77 11:07:47 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 11:07:47 ---> 60e2e85dc1f4 11:07:47 Step 18/23 : EXPOSE 59901 11:07:47 ---> Running in 82ffb1f47ab8 11:07:47 Removing intermediate container 82ffb1f47ab8 11:07:47 ---> d49c55d4ec6e 11:07:47 Step 19/23 : ENTRYPOINT ["/device-modbus"] 11:07:47 ---> Running in ea2dac392193 11:07:48 Removing intermediate container ea2dac392193 11:07:48 ---> 959a190b5a53 11:07:48 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:07:48 ---> Running in f001dc19e4b4 11:07:48 Removing intermediate container f001dc19e4b4 11:07:48 ---> 95bbaba3e2e8 11:07:48 Step 21/23 : LABEL arch=amd64 11:07:48 ---> Running in 2f0ab87d824b 11:07:48 Removing intermediate container 2f0ab87d824b 11:07:48 ---> a9ac77c277be 11:07:48 Step 22/23 : LABEL git_sha=19472f7a5fdc6e4787d855a3cc3865d021cdd964 11:07:48 ---> Running in 6e4af4e6eadd 11:07:48 Removing intermediate container 6e4af4e6eadd 11:07:48 ---> d5e67a37e064 11:07:48 Step 23/23 : LABEL version=2.2.0-dev.14 11:07:48 ---> Running in e25c534b1df7 11:07:48 Removing intermediate container e25c534b1df7 11:07:48 ---> 767f23d0e0d4 11:07:48 [Warning] One or more build-args [ARCH] were not consumed 11:07:48 Successfully built 767f23d0e0d4 11:07:48 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:07:49 provisioning config files... 11:07:49 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2010569720188017077tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:07:49 ---> docker-login.sh 11:07:49 nexus3.edgexfoundry.org:10001 11:07:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:49 Configure a credential helper to remove this warning. See 11:07:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:49 11:07:49 Login Succeeded 11:07:49 nexus3.edgexfoundry.org:10002 11:07:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:49 Configure a credential helper to remove this warning. See 11:07:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:49 11:07:49 Login Succeeded 11:07:49 nexus3.edgexfoundry.org:10003 11:07:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:49 Configure a credential helper to remove this warning. See 11:07:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:49 11:07:49 Login Succeeded 11:07:49 nexus3.edgexfoundry.org:10004 11:07:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:49 Configure a credential helper to remove this warning. See 11:07:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:49 11:07:49 Login Succeeded 11:07:49 docker.io 11:07:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:50 Configure a credential helper to remove this warning. See 11:07:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:50 11:07:50 Login Succeeded 11:07:50 ---> docker-login.sh ends [Pipeline] } 11:07:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:07:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:07:50 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 11:07:50 19472f7a5fdc6e4787d855a3cc3865d021cdd964 11:07:50 latest 11:07:50 2.2.0-dev.14 11:07:50 19472f7a5fdc6e4787d855a3cc3865d021cdd964-2.2.0-dev.14 11:07:50 main 11:07:50 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:07:50 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:19472f7a5fdc6e4787d855a3cc3865d021cdd964 [Pipeline] isUnix [Pipeline] sh 11:07:50 + docker push nexus3.edgexfoundry.org:10004/device-modbus:19472f7a5fdc6e4787d855a3cc3865d021cdd964 11:07:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 11:07:50 6e9d927676a6: Preparing 11:07:50 24d0f636feb5: Preparing 11:07:50 050646adc094: Preparing 11:07:50 09189e9ec110: Preparing 11:07:50 1e906f144ff8: Preparing 11:07:50 b541d28bf3b4: Preparing 11:07:50 b541d28bf3b4: Waiting 11:07:50 6e9d927676a6: Pushed 11:07:50 1e906f144ff8: Pushed 11:07:50 24d0f636feb5: Pushed 11:07:50 b541d28bf3b4: Layer already exists 11:07:51 09189e9ec110: Pushed 11:07:53 050646adc094: Pushed 11:07:53 19472f7a5fdc6e4787d855a3cc3865d021cdd964: digest: sha256:9fb9f25da5c4777ce5035012e8d62869c592633db35fbc2123e278a6547bf6cd size: 1574 [Pipeline] isUnix [Pipeline] sh 11:07:53 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh 11:07:54 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 11:07:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 11:07:54 6e9d927676a6: Preparing 11:07:54 24d0f636feb5: Preparing 11:07:54 050646adc094: Preparing 11:07:54 09189e9ec110: Preparing 11:07:54 1e906f144ff8: Preparing 11:07:54 b541d28bf3b4: Preparing 11:07:54 b541d28bf3b4: Waiting 11:07:54 24d0f636feb5: Layer already exists 11:07:54 1e906f144ff8: Layer already exists 11:07:54 050646adc094: Layer already exists 11:07:54 6e9d927676a6: Layer already exists 11:07:54 09189e9ec110: Layer already exists 11:07:54 b541d28bf3b4: Layer already exists 11:07:54 latest: digest: sha256:9fb9f25da5c4777ce5035012e8d62869c592633db35fbc2123e278a6547bf6cd size: 1574 [Pipeline] isUnix [Pipeline] sh 11:07:54 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.14 [Pipeline] isUnix [Pipeline] sh 11:07:54 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.14 11:07:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 11:07:54 6e9d927676a6: Preparing 11:07:54 24d0f636feb5: Preparing 11:07:54 050646adc094: Preparing 11:07:54 09189e9ec110: Preparing 11:07:54 1e906f144ff8: Preparing 11:07:54 b541d28bf3b4: Preparing 11:07:54 b541d28bf3b4: Waiting 11:07:54 24d0f636feb5: Layer already exists 11:07:54 09189e9ec110: Layer already exists 11:07:54 050646adc094: Layer already exists 11:07:54 1e906f144ff8: Layer already exists 11:07:54 6e9d927676a6: Layer already exists 11:07:54 b541d28bf3b4: Layer already exists 11:07:54 2.2.0-dev.14: digest: sha256:9fb9f25da5c4777ce5035012e8d62869c592633db35fbc2123e278a6547bf6cd size: 1574 [Pipeline] isUnix [Pipeline] sh 11:07:55 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:19472f7a5fdc6e4787d855a3cc3865d021cdd964-2.2.0-dev.14 [Pipeline] isUnix [Pipeline] sh 11:07:55 + docker push nexus3.edgexfoundry.org:10004/device-modbus:19472f7a5fdc6e4787d855a3cc3865d021cdd964-2.2.0-dev.14 11:07:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 11:07:55 6e9d927676a6: Preparing 11:07:55 24d0f636feb5: Preparing 11:07:55 050646adc094: Preparing 11:07:55 09189e9ec110: Preparing 11:07:55 1e906f144ff8: Preparing 11:07:55 b541d28bf3b4: Preparing 11:07:55 b541d28bf3b4: Waiting 11:07:55 050646adc094: Layer already exists 11:07:55 1e906f144ff8: Layer already exists 11:07:55 24d0f636feb5: Layer already exists 11:07:55 6e9d927676a6: Layer already exists 11:07:55 09189e9ec110: Layer already exists 11:07:55 b541d28bf3b4: Layer already exists 11:07:55 19472f7a5fdc6e4787d855a3cc3865d021cdd964-2.2.0-dev.14: digest: sha256:9fb9f25da5c4777ce5035012e8d62869c592633db35fbc2123e278a6547bf6cd size: 1574 [Pipeline] isUnix [Pipeline] sh 11:07:55 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh 11:07:56 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 11:07:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 11:07:56 6e9d927676a6: Preparing 11:07:56 24d0f636feb5: Preparing 11:07:56 050646adc094: Preparing 11:07:56 09189e9ec110: Preparing 11:07:56 1e906f144ff8: Preparing 11:07:56 b541d28bf3b4: Preparing 11:07:56 b541d28bf3b4: Waiting 11:07:56 1e906f144ff8: Layer already exists 11:07:56 09189e9ec110: Layer already exists 11:07:56 24d0f636feb5: Layer already exists 11:07:56 6e9d927676a6: Layer already exists 11:07:56 050646adc094: Layer already exists 11:07:56 b541d28bf3b4: Layer already exists 11:07:56 main: digest: sha256:9fb9f25da5c4777ce5035012e8d62869c592633db35fbc2123e278a6547bf6cd size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:07:56 ===================================================== [Pipeline] echo 11:07:56 taggedImages: 11:07:56 - nexus3.edgexfoundry.org:10004/device-modbus:19472f7a5fdc6e4787d855a3cc3865d021cdd964 11:07:56 - nexus3.edgexfoundry.org:10004/device-modbus:latest 11:07:56 - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.14 11:07:56 - nexus3.edgexfoundry.org:10004/device-modbus:19472f7a5fdc6e4787d855a3cc3865d021cdd964-2.2.0-dev.14 11:07:56 - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:07:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:07:56 11:07:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 11:07:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:07:56 latest: Pulling from edgex-lftools-log-publisher 11:07:56 5eb5b503b376: Pulling fs layer 11:07:56 5c69ac0246d0: Pulling fs layer 11:07:56 ec43610c2a17: Pulling fs layer 11:07:56 3a2ae6a8a46f: Pulling fs layer 11:07:56 33b1e0a273af: Pulling fs layer 11:07:56 5d3b04190fa2: Pulling fs layer 11:07:56 2f39f015ded8: Pulling fs layer 11:07:56 5d3b04190fa2: Waiting 11:07:56 33b1e0a273af: Waiting 11:07:56 2f39f015ded8: Waiting 11:07:56 3a2ae6a8a46f: Waiting 11:07:56 5c69ac0246d0: Verifying Checksum 11:07:56 5c69ac0246d0: Download complete 11:07:56 3a2ae6a8a46f: Verifying Checksum 11:07:56 3a2ae6a8a46f: Download complete 11:07:56 33b1e0a273af: Verifying Checksum 11:07:56 33b1e0a273af: Download complete 11:07:56 ec43610c2a17: Verifying Checksum 11:07:56 ec43610c2a17: Download complete 11:07:56 5d3b04190fa2: Verifying Checksum 11:07:56 5d3b04190fa2: Download complete 11:07:57 5eb5b503b376: Verifying Checksum 11:07:57 5eb5b503b376: Download complete 11:07:57 2f39f015ded8: Download complete 11:07:58 5eb5b503b376: Pull complete 11:07:58 5c69ac0246d0: Pull complete 11:07:59 ec43610c2a17: Pull complete 11:07:59 3a2ae6a8a46f: Pull complete 11:07:59 33b1e0a273af: Pull complete 11:07:59 5d3b04190fa2: Pull complete 11:08:04 2f39f015ded8: Pull complete 11:08:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:08:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:08:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 11:08:04 prd-ubuntu20.04-docker-8c-8g-33467 does not seem to be running inside a container 11:08:04 $ 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 11:08:06 $ docker top 6db06922a5c86cc4c48f35d86da1068475091bd5b02e9c5b351a1f097a7cb776 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:08:07 ---> job-cost.sh 11:08:07 lf-activate-venv: SKIPPING 11:08:07 INFO: No Stack... 11:08:07 INFO: Retrieving Pricing Info for: v3-standard-8 11:08:08 INFO: Archiving Costs [Pipeline] sh 11:08:08 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 11:08:08 + cut -d, -f6 [Pipeline] lock 11:08:08 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-32-stack-cost] 11:08:08 Resource [jenkins-edgexfoundry-device-modbus-go-main-32-stack-cost] did not exist. Created. 11:08:08 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-32-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:08:08 + echo total: 0.2199999988079071 [Pipeline] stash 11:08:08 Stashed 1 file(s) [Pipeline] } 11:08:08 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-32-stack-cost] [Pipeline] // lock [Pipeline] } 11:08:08 $ docker stop --time=1 6db06922a5c86cc4c48f35d86da1068475091bd5b02e9c5b351a1f097a7cb776 11:08:10 $ docker rm -f 6db06922a5c86cc4c48f35d86da1068475091bd5b02e9c5b351a1f097a7cb776 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:09:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-33470 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 11:09:22 Running in /w/workspace/device-modbus-go/32 [Pipeline] { [Pipeline] checkout 11:09:22 Selected Git installation does not exist. Using Default 11:09:22 The recommended git tool is: NONE 11:09:30 using credential edgex-jenkins-ssh 11:09:30 Cloning the remote Git repository 11:09:30 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 11:09:30 > git init /w/workspace/device-modbus-go/32 # timeout=10 11:09:30 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 11:09:30 > git --version # timeout=10 11:09:30 > git --version # 'git version 2.25.1' 11:09:30 using GIT_SSH to set credentials SSH Credentials for GitHub 11:09:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:09:32 Avoid second fetch 11:09:32 Checking out Revision 19472f7a5fdc6e4787d855a3cc3865d021cdd964 (main) 11:09:32 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 11:09:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:09:32 > git config core.sparsecheckout # timeout=10 11:09:32 > git checkout -f 19472f7a5fdc6e4787d855a3cc3865d021cdd964 # timeout=10 11:09:36 Commit message: "Merge pull request #339 from jinlinGuan/issue-338" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:09:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:09:37 % Total % Received % Xferd Average Speed Time Time Time Current 11:09:37 Dload Upload Total Spent Left Speed 11:09:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 58053 0 --:--:-- --:--:-- --:--:-- 58339 [Pipeline] sh 11:09:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:09:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:09:38 + sudo tee /etc/docker/daemon.new 11:09:38 { 11:09:38 "registry-mirrors": [ 11:09:38 "https://nexus3.edgexfoundry.org:10001" 11:09:38 ], 11:09:38 "bip": "10.250.0.254/24", 11:09:38 "hosts": [ 11:09:38 "tcp://0.0.0.0:5555", 11:09:38 "unix:///var/run/docker.sock" 11:09:38 ], 11:09:38 "mtu": 1458, 11:09:38 "selinux-enabled": true, 11:09:38 "seccomp-profile": "/etc/docker/seccomp.json" 11:09:38 } [Pipeline] sh 11:09:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:09:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:09:58 provisioning config files... 11:09:58 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/32@tmp/config2237105161150203156tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:09:58 ---> docker-login.sh 11:09:58 nexus3.edgexfoundry.org:10001 11:09:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:59 Configure a credential helper to remove this warning. See 11:09:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:59 11:09:59 Login Succeeded 11:09:59 nexus3.edgexfoundry.org:10002 11:09:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:59 Configure a credential helper to remove this warning. See 11:09:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:59 11:09:59 Login Succeeded 11:09:59 nexus3.edgexfoundry.org:10003 11:10:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:00 Configure a credential helper to remove this warning. See 11:10:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:00 11:10:00 Login Succeeded 11:10:00 nexus3.edgexfoundry.org:10004 11:10:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:00 Configure a credential helper to remove this warning. See 11:10:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:00 11:10:00 Login Succeeded 11:10:00 docker.io 11:10:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:01 Configure a credential helper to remove this warning. See 11:10:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:01 11:10:01 Login Succeeded 11:10:01 ---> docker-login.sh ends [Pipeline] } 11:10:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:10:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:10:02 ========================================================= 11:10:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 11:10:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:10:02 + 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 . 11:10:02 Sending build context to Docker daemon 3.05MB 11:10:02 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 11:10:02 Step 2/10 : FROM ${BASE} AS builder 11:10:03 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:10:03 9b3977197b4f: Pulling fs layer 11:10:03 1a89e8eeedd5: Pulling fs layer 11:10:03 94645a83ff95: Pulling fs layer 11:10:03 3f3a8bcf1eab: Pulling fs layer 11:10:03 0c92f367c5e7: Pulling fs layer 11:10:03 3096ccb668a1: Pulling fs layer 11:10:03 e8cf19c19ddd: Pulling fs layer 11:10:03 a4caa8a26152: Pulling fs layer 11:10:03 3096ccb668a1: Waiting 11:10:03 e8cf19c19ddd: Waiting 11:10:03 0c92f367c5e7: Waiting 11:10:03 3f3a8bcf1eab: Waiting 11:10:03 a4caa8a26152: Waiting 11:10:03 94645a83ff95: Verifying Checksum 11:10:03 94645a83ff95: Download complete 11:10:03 1a89e8eeedd5: Verifying Checksum 11:10:03 1a89e8eeedd5: Download complete 11:10:03 0c92f367c5e7: Verifying Checksum 11:10:03 0c92f367c5e7: Download complete 11:10:03 3096ccb668a1: Verifying Checksum 11:10:03 3096ccb668a1: Download complete 11:10:03 9b3977197b4f: Download complete 11:10:03 e8cf19c19ddd: Verifying Checksum 11:10:03 e8cf19c19ddd: Download complete 11:10:03 9b3977197b4f: Pull complete 11:10:04 1a89e8eeedd5: Pull complete 11:10:04 94645a83ff95: Pull complete 11:10:05 a4caa8a26152: Verifying Checksum 11:10:05 a4caa8a26152: Download complete 11:10:05 3f3a8bcf1eab: Verifying Checksum 11:10:05 3f3a8bcf1eab: Download complete 11:10:20 3f3a8bcf1eab: Pull complete 11:10:20 0c92f367c5e7: Pull complete 11:10:20 3096ccb668a1: Pull complete 11:10:20 e8cf19c19ddd: Pull complete 11:10:26 a4caa8a26152: Pull complete 11:10:26 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 11:10:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 11:10:26 ---> 725f1c02e7f9 11:10:26 Step 3/10 : ARG MAKE='make build' 11:10:27 ---> Running in 23ea73a87751 11:10:29 Removing intermediate container 23ea73a87751 11:10:29 ---> ce71c22b941b 11:10:29 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:10:29 ---> Running in a9cbca8a6ca1 11:10:31 Removing intermediate container a9cbca8a6ca1 11:10:31 ---> 38bb7cacebce 11:10:31 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 11:10:31 ---> Running in 6300c620b776 11:10:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:10:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:10:34 (1/8) Installing openssh-keygen (8.8_p1-r1) 11:10:34 (2/8) Installing libedit (20210910.3.1-r0) 11:10:34 (3/8) Installing openssh-client-common (8.8_p1-r1) 11:10:34 (4/8) Installing openssh-client-default (8.8_p1-r1) 11:10:34 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 11:10:34 (6/8) Installing openssh-server-common (8.8_p1-r1) 11:10:34 (7/8) Installing openssh-server (8.8_p1-r1) 11:10:34 (8/8) Installing openssh (8.8_p1-r1) 11:10:34 Executing busybox-1.34.1-r3.trigger 11:10:34 OK: 226 MiB in 60 packages 11:10:36 Removing intermediate container 6300c620b776 11:10:36 ---> 7f2b14889cb0 11:10:36 Step 6/10 : WORKDIR /device-modbus-go 11:10:36 ---> Running in 38d3b5747296 11:10:36 Removing intermediate container 38d3b5747296 11:10:36 ---> 247d51661e61 11:10:36 Step 7/10 : COPY go.mod vendor* ./ 11:10:36 ---> 78685e5d3302 11:10:36 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:10:37 ---> Running in 7da58266b430 11:11:33 Removing intermediate container 7da58266b430 11:11:33 ---> 114b45844675 11:11:33 Step 9/10 : COPY . . 11:11:33 ---> 4147d3947cbe 11:11:33 Step 10/10 : RUN ${MAKE} 11:11:33 ---> Running in f69fac329110 11:11:33 noop 11:11:33 Removing intermediate container f69fac329110 11:11:33 ---> 3d8bc8656658 11:11:33 Successfully built 3d8bc8656658 11:11:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:11:34 + docker inspect -f . ci-base-image-arm64 11:11:34 . [Pipeline] withDockerContainer 11:11:34 prd-ubuntu20.04-docker-arm64-4c-16g-33470 does not seem to be running inside a container 11:11:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/32 -v /w/workspace/device-modbus-go/32:/w/workspace/device-modbus-go/32:rw,z -v /w/workspace/device-modbus-go/32@tmp:/w/workspace/device-modbus-go/32@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 11:11:35 $ docker top 8803c1d47e87fe09220c47c8d153cfd16181b4f54f7ab20a54b2783ce61c4a59 -eo pid,comm [Pipeline] { [Pipeline] sh 11:11:36 + go version 11:11:36 go version go1.17.6 linux/arm64 [Pipeline] } 11:11:36 $ docker stop --time=1 8803c1d47e87fe09220c47c8d153cfd16181b4f54f7ab20a54b2783ce61c4a59 11:11:38 $ docker rm -f 8803c1d47e87fe09220c47c8d153cfd16181b4f54f7ab20a54b2783ce61c4a59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:11:39 + docker inspect -f . ci-base-image-arm64 11:11:39 . [Pipeline] withDockerContainer 11:11:39 prd-ubuntu20.04-docker-arm64-4c-16g-33470 does not seem to be running inside a container 11:11:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/32 -v /w/workspace/device-modbus-go/32:/w/workspace/device-modbus-go/32:rw,z -v /w/workspace/device-modbus-go/32@tmp:/w/workspace/device-modbus-go/32@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 11:11:40 $ docker top a0fa98f9e4bfcf70fd9c8ba0dc6cdd7d6a12203dc0101b283b70ef5d7e0ba48f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:11:41 + make test 11:11:41 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:11:43 ? github.com/edgexfoundry/device-modbus-go [no test files] 11:13:20 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 11:13:20 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.124s coverage: 46.4% of statements 11:13:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:13:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:13:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:13:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:13:38 ./bin/test-attribution-txt.sh [Pipeline] echo 11:13:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:13:41 $ docker stop --time=1 a0fa98f9e4bfcf70fd9c8ba0dc6cdd7d6a12203dc0101b283b70ef5d7e0ba48f 11:13:43 $ docker rm -f a0fa98f9e4bfcf70fd9c8ba0dc6cdd7d6a12203dc0101b283b70ef5d7e0ba48f [Pipeline] // withDockerContainer [Pipeline] sh 11:13:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:13:44 Warning: overwriting stash ‘coverage-report’ 11:13:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:13:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:13:45 + ls -al . 11:13:45 total 176 11:13:45 drwxrwxr-x 9 jenkins jenkins 4096 Apr 27 11:13 . 11:13:45 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 11:09 .. 11:13:45 -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 11:09 .dockerignore 11:13:45 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 11:09 .git 11:13:45 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:09 .github 11:13:45 -rw-rw-r-- 1 jenkins jenkins 331 Apr 27 11:09 .gitignore 11:13:45 -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 11:09 .golangci.yml 11:13:45 -rw-rw-r-- 1 jenkins jenkins 9377 Apr 27 11:09 Attribution.txt 11:13:45 -rw-rw-r-- 1 jenkins jenkins 6038 Apr 27 11:09 CHANGELOG.md 11:13:45 -rw-rw-r-- 1 jenkins jenkins 1546 Apr 27 11:09 Dockerfile 11:13:45 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 11:09 GOVERNANCE.md 11:13:45 -rw-rw-r-- 1 jenkins jenkins 680 Apr 27 11:09 Jenkinsfile 11:13:45 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 11:09 LICENSE 11:13:45 -rw-rw-r-- 1 jenkins jenkins 1905 Apr 27 11:09 Makefile 11:13:45 -rw-rw-r-- 1 jenkins jenkins 622 Apr 27 11:09 OWNERS.md 11:13:45 -rw-rw-r-- 1 jenkins jenkins 3680 Apr 27 11:09 README.md 11:13:45 -rw-rw-r-- 1 jenkins jenkins 12 Apr 27 11:06 VERSION 11:13:45 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 11:09 bin 11:13:45 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:09 cmd 11:13:45 -rw-r--r-- 1 jenkins jenkins 24065 Apr 27 11:13 coverage.out 11:13:45 -rw-rw-r-- 1 jenkins jenkins 3399 Apr 27 11:09 go.mod 11:13:45 -rw-rw-r-- 1 jenkins jenkins 35075 Apr 27 11:09 go.sum 11:13:45 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:09 internal 11:13:45 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 11:09 simulator 11:13:45 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 11:09 snap 11:13:45 -rw-rw-r-- 1 jenkins jenkins 229 Apr 27 11:09 version.go [Pipeline] isUnix [Pipeline] sh 11:13:46 + 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=19472f7a5fdc6e4787d855a3cc3865d021cdd964 --label arch=arm64 --label version=2.2.0-dev.14 . 11:13:46 Sending build context to Docker daemon 3.075MB 11:13:46 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 11:13:46 Step 2/23 : FROM ${BASE} AS builder 11:13:46 ---> 3d8bc8656658 11:13:46 Step 3/23 : ARG MAKE='make build' 11:13:46 ---> Running in efab3bac905b 11:13:47 Removing intermediate container efab3bac905b 11:13:47 ---> dba62bf07ee6 11:13:47 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:13:47 ---> Running in 2f8c0883bb86 11:13:49 Removing intermediate container 2f8c0883bb86 11:13:49 ---> 13136aa77dd8 11:13:49 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 11:13:49 ---> Running in d45eb06b0164 11:13:50 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:13:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:13:51 OK: 226 MiB in 60 packages 11:13:52 Removing intermediate container d45eb06b0164 11:13:52 ---> d3c587b23607 11:13:52 Step 6/23 : WORKDIR /device-modbus-go 11:13:52 ---> Running in ed2851adb79f 11:13:53 Removing intermediate container ed2851adb79f 11:13:53 ---> 01f560abb2d5 11:13:53 Step 7/23 : COPY go.mod vendor* ./ 11:13:53 ---> c94fec70821c 11:13:53 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:13:54 ---> Running in fc05693b57b2 11:13:56 Removing intermediate container fc05693b57b2 11:13:56 ---> 778edf3ebb7d 11:13:56 Step 9/23 : COPY . . 11:13:57 ---> b6e114d5410b 11:13:57 Step 10/23 : RUN ${MAKE} 11:13:57 ---> Running in a3bcdce0ac77 11:13:58 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.14" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 11:16:20 Removing intermediate container a3bcdce0ac77 11:16:20 ---> ed2bb958b045 11:16:20 Step 11/23 : FROM alpine:3.14 11:16:20 3.14: Pulling from library/alpine 11:16:20 455c02918c45: Pulling fs layer 11:16:20 455c02918c45: Verifying Checksum 11:16:20 455c02918c45: Download complete 11:16:20 455c02918c45: Pull complete 11:16:20 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 11:16:20 Status: Downloaded newer image for alpine:3.14 11:16:20 ---> ac73e934f311 11:16:20 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 11:16:20 ---> Running in 384f9428efcf 11:16:20 Removing intermediate container 384f9428efcf 11:16:20 ---> 9f4ccf2db252 11:16:20 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:16:20 ---> Running in 3a2244a0f17d 11:16:20 Removing intermediate container 3a2244a0f17d 11:16:20 ---> 2e161cb4201f 11:16:20 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 11:16:20 ---> Running in b2464015d4c0 11:16:20 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 11:16:20 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 11:16:20 (1/6) Installing dumb-init (1.2.5-r1) 11:16:20 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:16:20 (3/6) Installing libsodium (1.0.18-r0) 11:16:20 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:16:20 (5/6) Installing libzmq (4.3.4-r0) 11:16:20 (6/6) Installing zeromq (4.3.4-r0) 11:16:20 Executing busybox-1.33.1-r7.trigger 11:16:20 OK: 8 MiB in 20 packages 11:16:20 Removing intermediate container b2464015d4c0 11:16:20 ---> 2e00d0bf5c4b 11:16:20 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 11:16:20 ---> d2d250956f9b 11:16:20 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 11:16:20 ---> 7dfcb7d2a5b6 11:16:20 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 11:16:20 ---> 85f9bb8fc609 11:16:20 Step 18/23 : EXPOSE 59901 11:16:20 ---> Running in 3c1b0212dc99 11:16:20 Removing intermediate container 3c1b0212dc99 11:16:20 ---> 326a4db0f80d 11:16:20 Step 19/23 : ENTRYPOINT ["/device-modbus"] 11:16:20 ---> Running in 888a9954dbf5 11:16:20 Removing intermediate container 888a9954dbf5 11:16:20 ---> 7ec39a783af8 11:16:20 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:16:20 ---> Running in ad9f60faa186 11:16:20 Removing intermediate container ad9f60faa186 11:16:20 ---> 7b879dcfda5b 11:16:20 Step 21/23 : LABEL arch=arm64 11:16:20 ---> Running in 68c553992d6a 11:16:20 Removing intermediate container 68c553992d6a 11:16:20 ---> 76f09ed335eb 11:16:20 Step 22/23 : LABEL git_sha=19472f7a5fdc6e4787d855a3cc3865d021cdd964 11:16:20 ---> Running in 54716438eb71 11:16:20 Removing intermediate container 54716438eb71 11:16:20 ---> bacda7ab292f 11:16:20 Step 23/23 : LABEL version=2.2.0-dev.14 11:16:20 ---> Running in e5105f307376 11:16:21 Removing intermediate container e5105f307376 11:16:21 ---> 3b3ddd66ad5a 11:16:21 [Warning] One or more build-args [ARCH] were not consumed 11:16:21 Successfully built 3b3ddd66ad5a 11:16:21 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:16:21 provisioning config files... 11:16:21 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/32@tmp/config6052428498676695605tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:16:21 ---> docker-login.sh 11:16:21 nexus3.edgexfoundry.org:10001 11:16:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:16:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:16:21 Configure a credential helper to remove this warning. See 11:16:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:16:21 11:16:21 Login Succeeded 11:16:21 nexus3.edgexfoundry.org:10002 11:16:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:16:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:16:22 Configure a credential helper to remove this warning. See 11:16:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:16:22 11:16:22 Login Succeeded 11:16:22 nexus3.edgexfoundry.org:10003 11:16:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:16:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:16:23 Configure a credential helper to remove this warning. See 11:16:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:16:23 11:16:23 Login Succeeded 11:16:23 nexus3.edgexfoundry.org:10004 11:16:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:16:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:16:23 Configure a credential helper to remove this warning. See 11:16:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:16:23 11:16:23 Login Succeeded 11:16:23 docker.io 11:16:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:16:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:16:24 Configure a credential helper to remove this warning. See 11:16:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:16:24 11:16:24 Login Succeeded 11:16:24 ---> docker-login.sh ends [Pipeline] } 11:16:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:16:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:16:24 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 11:16:24 19472f7a5fdc6e4787d855a3cc3865d021cdd964 11:16:24 latest 11:16:24 2.2.0-dev.14 11:16:24 19472f7a5fdc6e4787d855a3cc3865d021cdd964-2.2.0-dev.14 11:16:24 main 11:16:24 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:16:24 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:19472f7a5fdc6e4787d855a3cc3865d021cdd964 [Pipeline] isUnix [Pipeline] sh 11:16:24 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:19472f7a5fdc6e4787d855a3cc3865d021cdd964 11:16:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 11:16:24 8606c16fa344: Preparing 11:16:24 a49aa90a3612: Preparing 11:16:24 6b1eefeb19dd: Preparing 11:16:24 bbc94139f3b3: Preparing 11:16:24 332756b87c35: Preparing 11:16:24 f73e7dbfee58: Preparing 11:16:24 f73e7dbfee58: Waiting 11:16:25 a49aa90a3612: Pushed 11:16:25 332756b87c35: Pushed 11:16:25 8606c16fa344: Pushed 11:16:25 f73e7dbfee58: Layer already exists 11:16:25 bbc94139f3b3: Pushed 11:16:31 6b1eefeb19dd: Pushed 11:16:31 19472f7a5fdc6e4787d855a3cc3865d021cdd964: digest: sha256:f19215d49eb0a7117e1c5ed2dfbb5e9060ba178998d67b9ab3abbe8377bd71ad size: 1573 [Pipeline] isUnix [Pipeline] sh 11:16:31 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:16:32 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 11:16:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 11:16:32 8606c16fa344: Preparing 11:16:32 a49aa90a3612: Preparing 11:16:32 6b1eefeb19dd: Preparing 11:16:32 bbc94139f3b3: Preparing 11:16:32 332756b87c35: Preparing 11:16:32 f73e7dbfee58: Preparing 11:16:32 f73e7dbfee58: Waiting 11:16:32 a49aa90a3612: Layer already exists 11:16:32 bbc94139f3b3: Layer already exists 11:16:32 6b1eefeb19dd: Layer already exists 11:16:32 8606c16fa344: Layer already exists 11:16:32 332756b87c35: Layer already exists 11:16:32 f73e7dbfee58: Layer already exists 11:16:32 latest: digest: sha256:f19215d49eb0a7117e1c5ed2dfbb5e9060ba178998d67b9ab3abbe8377bd71ad size: 1573 [Pipeline] isUnix [Pipeline] sh 11:16:32 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.14 [Pipeline] isUnix [Pipeline] sh 11:16:33 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.14 11:16:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 11:16:33 8606c16fa344: Preparing 11:16:33 a49aa90a3612: Preparing 11:16:33 6b1eefeb19dd: Preparing 11:16:33 bbc94139f3b3: Preparing 11:16:33 332756b87c35: Preparing 11:16:33 f73e7dbfee58: Preparing 11:16:33 f73e7dbfee58: Waiting 11:16:33 6b1eefeb19dd: Layer already exists 11:16:33 332756b87c35: Layer already exists 11:16:33 8606c16fa344: Layer already exists 11:16:33 bbc94139f3b3: Layer already exists 11:16:33 a49aa90a3612: Layer already exists 11:16:33 f73e7dbfee58: Layer already exists 11:16:33 2.2.0-dev.14: digest: sha256:f19215d49eb0a7117e1c5ed2dfbb5e9060ba178998d67b9ab3abbe8377bd71ad size: 1573 [Pipeline] isUnix [Pipeline] sh 11:16:33 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:19472f7a5fdc6e4787d855a3cc3865d021cdd964-2.2.0-dev.14 [Pipeline] isUnix [Pipeline] sh 11:16:34 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:19472f7a5fdc6e4787d855a3cc3865d021cdd964-2.2.0-dev.14 11:16:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 11:16:34 8606c16fa344: Preparing 11:16:34 a49aa90a3612: Preparing 11:16:34 6b1eefeb19dd: Preparing 11:16:34 bbc94139f3b3: Preparing 11:16:34 332756b87c35: Preparing 11:16:34 f73e7dbfee58: Preparing 11:16:34 f73e7dbfee58: Waiting 11:16:34 6b1eefeb19dd: Layer already exists 11:16:34 bbc94139f3b3: Layer already exists 11:16:34 a49aa90a3612: Layer already exists 11:16:34 332756b87c35: Layer already exists 11:16:34 8606c16fa344: Layer already exists 11:16:34 f73e7dbfee58: Layer already exists 11:16:34 19472f7a5fdc6e4787d855a3cc3865d021cdd964-2.2.0-dev.14: digest: sha256:f19215d49eb0a7117e1c5ed2dfbb5e9060ba178998d67b9ab3abbe8377bd71ad size: 1573 [Pipeline] isUnix [Pipeline] sh 11:16:34 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh 11:16:35 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 11:16:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 11:16:35 8606c16fa344: Preparing 11:16:35 a49aa90a3612: Preparing 11:16:35 6b1eefeb19dd: Preparing 11:16:35 bbc94139f3b3: Preparing 11:16:35 332756b87c35: Preparing 11:16:35 f73e7dbfee58: Preparing 11:16:35 f73e7dbfee58: Waiting 11:16:35 8606c16fa344: Layer already exists 11:16:35 332756b87c35: Layer already exists 11:16:35 bbc94139f3b3: Layer already exists 11:16:35 6b1eefeb19dd: Layer already exists 11:16:35 a49aa90a3612: Layer already exists 11:16:35 f73e7dbfee58: Layer already exists 11:16:35 main: digest: sha256:f19215d49eb0a7117e1c5ed2dfbb5e9060ba178998d67b9ab3abbe8377bd71ad size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:16:35 ===================================================== [Pipeline] echo 11:16:35 taggedImages: 11:16:35 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:19472f7a5fdc6e4787d855a3cc3865d021cdd964 11:16:35 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 11:16:35 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.14 11:16:35 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:19472f7a5fdc6e4787d855a3cc3865d021cdd964-2.2.0-dev.14 11:16:35 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:16:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:16:35 11:16:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 11:16:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:16:36 arm64: Pulling from edgex-lftools-log-publisher 11:16:36 8998bd30e6a1: Pulling fs layer 11:16:36 04944245beec: Pulling fs layer 11:16:36 699f458cf7ca: Pulling fs layer 11:16:36 765212b225bb: Pulling fs layer 11:16:36 f23df028b6ca: Pulling fs layer 11:16:36 d65c8cfc05b1: Pulling fs layer 11:16:36 2437ff75d9bd: Pulling fs layer 11:16:36 f23df028b6ca: Waiting 11:16:36 d65c8cfc05b1: Waiting 11:16:36 2437ff75d9bd: Waiting 11:16:36 765212b225bb: Waiting 11:16:36 04944245beec: Verifying Checksum 11:16:36 04944245beec: Download complete 11:16:36 765212b225bb: Download complete 11:16:36 f23df028b6ca: Verifying Checksum 11:16:36 f23df028b6ca: Download complete 11:16:36 d65c8cfc05b1: Download complete 11:16:36 699f458cf7ca: Verifying Checksum 11:16:36 699f458cf7ca: Download complete 11:16:37 8998bd30e6a1: Verifying Checksum 11:16:37 8998bd30e6a1: Download complete 11:16:39 2437ff75d9bd: Verifying Checksum 11:16:39 2437ff75d9bd: Download complete 11:16:41 8998bd30e6a1: Pull complete 11:16:41 04944245beec: Pull complete 11:16:42 699f458cf7ca: Pull complete 11:16:43 765212b225bb: Pull complete 11:16:43 f23df028b6ca: Pull complete 11:16:43 d65c8cfc05b1: Pull complete 11:16:59 2437ff75d9bd: Pull complete 11:16:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:16:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:16:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 11:16:59 prd-ubuntu20.04-docker-arm64-4c-16g-33470 does not seem to be running inside a container 11:16: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/device-modbus-go/32 -v /w/workspace/device-modbus-go/32:/w/workspace/device-modbus-go/32:rw,z -v /w/workspace/device-modbus-go/32@tmp:/w/workspace/device-modbus-go/32@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 11:17:02 $ docker top df75ba8bd551e0c6c07d81bdce6b23b82952a89b9abdbbdde0dbe2a4415cbac6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:17:03 ---> job-cost.sh 11:17:03 lf-activate-venv: SKIPPING 11:17:03 INFO: No Stack... 11:17:03 INFO: Retrieving Pricing Info for: v3-standard-4 11:17:04 INFO: Archiving Costs [Pipeline] sh 11:17:05 + + cutcat -d, /w/workspace/device-modbus-go/32/archives/cost.csv -f6 11:17:05 [Pipeline] lock 11:17:05 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-32-stack-cost] 11:17:05 Resource [jenkins-edgexfoundry-device-modbus-go-main-32-stack-cost] did not exist. Created. 11:17:05 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-32-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:17:05 /w/workspace/device-modbus-go/32@tmp/durable-98584b20/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:17:06 + echo total: 0.10999999940395355 [Pipeline] stash 11:17:06 Warning: overwriting stash ‘stack-cost’ 11:17:06 Stashed 1 file(s) [Pipeline] } 11:17:06 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-32-stack-cost] [Pipeline] // lock [Pipeline] } 11:17:06 $ docker stop --time=1 df75ba8bd551e0c6c07d81bdce6b23b82952a89b9abdbbdde0dbe2a4415cbac6 11:17:08 $ docker rm -f df75ba8bd551e0c6c07d81bdce6b23b82952a89b9abdbbdde0dbe2a4415cbac6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 11:17:08 provisioning config files... 11:17:08 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config884387529535867661tmp [Pipeline] { [Pipeline] sh 11:17:09 + set +x 11:17:09 + curl -s https://codecov.io/bash 11:17:09 + bash -s -- 11:17:09 11:17:09 _____ _ 11:17:09 / ____| | | 11:17:09 | | ___ __| | ___ ___ _____ __ 11:17:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:17:09 | |___| (_) | (_| | __/ (_| (_) \ V / 11:17:09 \_____\___/ \__,_|\___|\___\___/ \_/ 11:17:09 Bash-1.0.6 11:17:09 11:17:09 11:17:09 ==> git version 2.25.1 found 11:17:09 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 11:17:09 Release-Date: 2020-01-08 11:17:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:17:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:17:09 ==> Jenkins CI detected. 11:17:09 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 11:17:09 project root: . 11:17:09 --> token set from env 11:17:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:17:09 ==> Running gcov in . (disable via -X gcov) 11:17:09 ==> Python coveragepy not found 11:17:09 ==> Searching for coverage reports in: 11:17:09 + . 11:17:09 -> Found 1 reports 11:17:09 ==> Detecting git/mercurial file structure 11:17:09 ==> Reading reports 11:17:09 + ./coverage.out bytes=24065 11:17:09 ==> Appending adjustments 11:17:09 https://docs.codecov.io/docs/fixing-reports 11:17:09 + Found adjustments 11:17:09 ==> Gzipping contents 11:17:09 4.0K /tmp/codecov.1TFK1N.gz 11:17:09 ==> Uploading reports 11:17:09 url: https://codecov.io 11:17:09 query: branch=main&commit=19472f7a5fdc6e4787d855a3cc3865d021cdd964&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:17:09 -> Pinging Codecov 11:17:09 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=19472f7a5fdc6e4787d855a3cc3865d021cdd964&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:17:09 -> Uploading to 11:17:09 https://storage.googleapis.com/codecov/v4/raw/2022-04-27/55DBCA73C666E3227836607328DD7E49/19472f7a5fdc6e4787d855a3cc3865d021cdd964/970c3424-ba60-47cf-aad0-ee717dc474f2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220427T111709Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5a4fd5956a81cf65f2d73c9f5a9cb5d538eb19e70066550a7dda476d7d9b84b6 11:17:09 % Total % Received % Xferd Average Speed Time Time Time Current 11:17:09 Dload Upload Total Spent Left Speed 11:17:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4026 0 0 100 4026 0 17814 --:--:-- --:--:-- --:--:-- 17814 11:17:09 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/19472f7a5fdc6e4787d855a3cc3865d021cdd964 [Pipeline] } 11:17:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 11:17:10 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 11:17:10 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:17:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:17:10 11:17:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 11:17:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:17:10 1.410.4: Pulling from edgex-devops/edgex-snyk-go 11:17:10 188c0c94c7c5: Pulling fs layer 11:17:10 0ef7d3d256c8: Pulling fs layer 11:17:10 de9db76c5a1d: Pulling fs layer 11:17:10 0eba1c9be4d2: Pulling fs layer 11:17:10 0d57e429df01: Pulling fs layer 11:17:10 4e4be7b47b0d: Pulling fs layer 11:17:10 e1f770b5df2f: Pulling fs layer 11:17:10 85a0685a4137: Pulling fs layer 11:17:10 0eba1c9be4d2: Waiting 11:17:10 0d57e429df01: Waiting 11:17:10 4e4be7b47b0d: Waiting 11:17:10 e1f770b5df2f: Waiting 11:17:10 de9db76c5a1d: Verifying Checksum 11:17:10 de9db76c5a1d: Download complete 11:17:10 0ef7d3d256c8: Download complete 11:17:10 0d57e429df01: Verifying Checksum 11:17:10 0d57e429df01: Download complete 11:17:10 4e4be7b47b0d: Verifying Checksum 11:17:10 4e4be7b47b0d: Download complete 11:17:10 188c0c94c7c5: Verifying Checksum 11:17:10 188c0c94c7c5: Download complete 11:17:10 188c0c94c7c5: Pull complete 11:17:10 e1f770b5df2f: Verifying Checksum 11:17:10 e1f770b5df2f: Download complete 11:17:10 0ef7d3d256c8: Pull complete 11:17:11 de9db76c5a1d: Pull complete 11:17:11 0eba1c9be4d2: Verifying Checksum 11:17:11 0eba1c9be4d2: Download complete 11:17:11 85a0685a4137: Verifying Checksum 11:17:11 85a0685a4137: Download complete 11:17:15 0eba1c9be4d2: Pull complete 11:17:15 0d57e429df01: Pull complete 11:17:15 4e4be7b47b0d: Pull complete 11:17:15 e1f770b5df2f: Pull complete 11:17:19 85a0685a4137: Pull complete 11:17:19 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 11:17:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:17:19 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 11:17:19 prd-ubuntu20.04-docker-8c-8g-33467 does not seem to be running inside a container 11:17:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 11:17:21 $ docker top e29bd533445e551e33a07bbd10369b00c0a5724159c9b1a6a7a1ea438ac8efb3 -eo pid,comm [Pipeline] { [Pipeline] echo 11:17:21 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 11:17:21 + set -o pipefail 11:17:21 + snyk monitor '--org=edgex-jenkins' 11:17:28 11:17:28 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 11:17:28 11:17:28 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/6162894e-bff5-457d-a6ae-3e34be861951 11:17:28 11:17:28 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 11:17:28 11:17:28 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 11:17:28 11:17:28 [Pipeline] } 11:17:28 $ docker stop --time=1 e29bd533445e551e33a07bbd10369b00c0a5724159c9b1a6a7a1ea438ac8efb3 11:17:30 $ docker rm -f e29bd533445e551e33a07bbd10369b00c0a5724159c9b1a6a7a1ea438ac8efb3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:17:31 + git log --format=format:%s -1 19472f7a5fdc6e4787d855a3cc3865d021cdd964 [Pipeline] sh 11:17:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:17:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:17:32 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:17:32 . [Pipeline] withDockerContainer 11:17:32 prd-ubuntu20.04-docker-8c-8g-33467 does not seem to be running inside a container 11:17:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:17:32 $ docker top 5c379a05da5db261f9f85896e68142697caa824b548494cfc46b0df1ea290f15 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:17:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:17:32 [ssh-agent] Looking for ssh-agent implementation... 11:17:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:17:32 $ docker exec 5c379a05da5db261f9f85896e68142697caa824b548494cfc46b0df1ea290f15 ssh-agent 11:17:32 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNGcACD/agent.14 11:17:32 SSH_AGENT_PID=20 11:17:33 Running ssh-add (command line suppressed) 11:17:33 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9156329477165053482.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9156329477165053482.key) 11:17:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:17:33 + git semver tag 11:17:33 # -> Open(): unable to determine branch for HEAD 11:17:33 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 11:17:33 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 11:17:33 # $SEMVER_REMOTE_NAME = origin 11:17:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:17:33 # $SEMVER_USER_NAME = edgex-jenkins 11:17:33 # $SEMVER_BRANCH = main 11:17:33 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver 11:17:33 # 19472f7a5fdc6e4787d855a3cc3865d021cdd964 HEAD 11:17:33 # -> Force: false 11:17:33 # fae722699d514bf0df20deb6ec1a935614782785 refs/tags/v2.2.0-dev.14 [Pipeline] } 11:17:33 $ docker exec --env ******** --env ******** 5c379a05da5db261f9f85896e68142697caa824b548494cfc46b0df1ea290f15 ssh-agent -k 11:17:33 unset SSH_AUTH_SOCK; 11:17:33 unset SSH_AGENT_PID; 11:17:33 echo Agent pid 20 killed; 11:17:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:17:33 + git semver [Pipeline] } 11:17:33 $ docker stop --time=1 5c379a05da5db261f9f85896e68142697caa824b548494cfc46b0df1ea290f15 11:17:35 $ docker rm -f 5c379a05da5db261f9f85896e68142697caa824b548494cfc46b0df1ea290f15 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 11:17:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:17:35 11:17:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 11:17:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:17:35 0.23.1-centos7: Pulling from edgex-lftools 11:17:35 ab5ef0e58194: Pulling fs layer 11:17:35 9712f1f96733: Pulling fs layer 11:17:35 63f879dbbcfc: Pulling fs layer 11:17:35 0d9ebad4ef96: Pulling fs layer 11:17:35 e9a5061849ea: Pulling fs layer 11:17:35 d747dcd14b5f: Pulling fs layer 11:17:35 2de7ff778b66: Pulling fs layer 11:17:35 0d9ebad4ef96: Waiting 11:17:35 e9a5061849ea: Waiting 11:17:35 2de7ff778b66: Waiting 11:17:35 d747dcd14b5f: Waiting 11:17:35 9712f1f96733: Download complete 11:17:36 63f879dbbcfc: Verifying Checksum 11:17:36 63f879dbbcfc: Download complete 11:17:36 e9a5061849ea: Download complete 11:17:36 0d9ebad4ef96: Verifying Checksum 11:17:36 0d9ebad4ef96: Download complete 11:17:36 d747dcd14b5f: Download complete 11:17:36 2de7ff778b66: Download complete 11:17:36 ab5ef0e58194: Verifying Checksum 11:17:36 ab5ef0e58194: Download complete 11:17:39 ab5ef0e58194: Pull complete 11:17:39 9712f1f96733: Pull complete 11:17:40 63f879dbbcfc: Pull complete 11:17:44 0d9ebad4ef96: Pull complete 11:17:44 e9a5061849ea: Pull complete 11:17:44 d747dcd14b5f: Pull complete 11:17:45 2de7ff778b66: Pull complete 11:17:45 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 11:17:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:17:45 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 11:17:45 prd-ubuntu20.04-docker-8c-8g-33467 does not seem to be running inside a container 11:17:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 11:17:47 $ docker top 5fb6f93dd83afdc9e7e3c43d20da33d469ed88fb59e40d042e002e1157185bbe -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 11:17:47 provisioning config files... 11:17:48 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3743822088473797820tmp 11:17:48 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6430327588420865298tmp 11:17:48 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7531562318734358445tmp [Pipeline] { [Pipeline] echo 11:17:48 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 11:17:48 ---> sigul-configuration.sh 11:17:48 gpg: directory `/root/.gnupg' created 11:17:48 gpg: new configuration file `/root/.gnupg/gpg.conf' created 11:17:48 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 11:17:48 gpg: keyring `/root/.gnupg/secring.gpg' created 11:17:48 gpg: keyring `/root/.gnupg/pubring.gpg' created 11:17:48 gpg: CAST5 encrypted data 11:17:48 gpg: encrypted with 1 passphrase 11:17:48 gpg: WARNING: message was not integrity protected [Pipeline] sh 11:17:48 + mkdir /home/jenkins 11:17:48 + mkdir /home/jenkins/sigul [Pipeline] sh 11:17:48 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 11:17:48 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 11:17:49 ---> sigul-install.sh 11:17:49 Sigul already installed; skipping installation. [Pipeline] sh 11:17:49 + git tag --list 11:17:49 0.7.1 11:17:49 v1.0.0 11:17:49 v1.1.0 11:17:49 v1.1.1 11:17:49 v1.2.2 11:17:49 v1.3.0 11:17:49 v1.3.1 11:17:49 v2.0.0 11:17:49 v2.0.1-dev.1 11:17:49 v2.0.1-dev.10 11:17:49 v2.0.1-dev.11 11:17:49 v2.0.1-dev.12 11:17:49 v2.0.1-dev.2 11:17:49 v2.0.1-dev.3 11:17:49 v2.0.1-dev.4 11:17:49 v2.0.1-dev.5 11:17:49 v2.0.1-dev.6 11:17:49 v2.0.1-dev.7 11:17:49 v2.0.1-dev.8 11:17:49 v2.0.1-dev.9 11:17:49 v2.1.0 11:17:49 v2.2.0-dev.1 11:17:49 v2.2.0-dev.10 11:17:49 v2.2.0-dev.11 11:17:49 v2.2.0-dev.12 11:17:49 v2.2.0-dev.13 11:17:49 v2.2.0-dev.14 11:17:49 v2.2.0-dev.2 11:17:49 v2.2.0-dev.3 11:17:49 v2.2.0-dev.4 11:17:49 v2.2.0-dev.5 11:17:49 v2.2.0-dev.6 11:17:49 v2.2.0-dev.7 11:17:49 v2.2.0-dev.8 11:17:49 v2.2.0-dev.9 [Pipeline] sh 11:17:49 + lftools sign git-tag v2.2.0-dev.14 11:17:50 Signing Git tag with Sigul... 11:17:50 Signing v2.2.0-dev.14 [Pipeline] echo 11:17:50 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 11:17:50 ---> sigul-configuration-cleanup.sh [Pipeline] } 11:17:50 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:17:51 $ docker stop --time=1 5fb6f93dd83afdc9e7e3c43d20da33d469ed88fb59e40d042e002e1157185bbe 11:17:52 $ docker rm -f 5fb6f93dd83afdc9e7e3c43d20da33d469ed88fb59e40d042e002e1157185bbe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 11:17:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:17:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:17:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:17:53 . [Pipeline] withDockerContainer 11:17:53 prd-ubuntu20.04-docker-8c-8g-33467 does not seem to be running inside a container 11:17:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:17:53 $ docker top 96c83a22d684abf69403834de2f4c3168c6ae2596e787f7ac8aba5d1d7bfafe3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:17:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:17:53 [ssh-agent] Looking for ssh-agent implementation... 11:17:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:17:53 $ docker exec 96c83a22d684abf69403834de2f4c3168c6ae2596e787f7ac8aba5d1d7bfafe3 ssh-agent 11:17:53 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhFLNAM/agent.13 11:17:53 SSH_AGENT_PID=19 11:17:53 Running ssh-add (command line suppressed) 11:17:53 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6367849150874587280.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6367849150874587280.key) 11:17:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:17:54 + git semver bump pre 11:17:54 # -> Open(): unable to determine branch for HEAD 11:17:54 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 11:17:54 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 11:17:54 # $SEMVER_REMOTE_NAME = origin 11:17:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:17:54 # $SEMVER_USER_NAME = edgex-jenkins 11:17:54 # $SEMVER_BRANCH = main 11:17:54 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver 11:17:54 2.2.0-dev.15 [Pipeline] } 11:17:54 $ docker exec --env ******** --env ******** 96c83a22d684abf69403834de2f4c3168c6ae2596e787f7ac8aba5d1d7bfafe3 ssh-agent -k 11:17:54 unset SSH_AUTH_SOCK; 11:17:54 unset SSH_AGENT_PID; 11:17:54 echo Agent pid 19 killed; 11:17:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:17:54 + git semver [Pipeline] } 11:17:54 $ docker stop --time=1 96c83a22d684abf69403834de2f4c3168c6ae2596e787f7ac8aba5d1d7bfafe3 11:17:56 $ docker rm -f 96c83a22d684abf69403834de2f4c3168c6ae2596e787f7ac8aba5d1d7bfafe3 [Pipeline] // withDockerContainer [Pipeline] sh 11:17:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:17:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:17:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:17:56 . [Pipeline] withDockerContainer 11:17:56 prd-ubuntu20.04-docker-8c-8g-33467 does not seem to be running inside a container 11:17:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:17:57 $ docker top c652dad7559cc6921a5888d43421bded48a297422493a48be800ff5a2c47c0b6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:17:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:17:57 [ssh-agent] Looking for ssh-agent implementation... 11:17:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:17:57 $ docker exec c652dad7559cc6921a5888d43421bded48a297422493a48be800ff5a2c47c0b6 ssh-agent 11:17:57 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIpMkeG/agent.14 11:17:57 SSH_AGENT_PID=20 11:17:57 Running ssh-add (command line suppressed) 11:17:57 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1266292379177063527.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1266292379177063527.key) 11:17:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:17:58 + git semver push 11:17:58 # -> Open(): unable to determine branch for HEAD 11:17:58 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 11:17:58 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 11:17:58 # $SEMVER_REMOTE_NAME = origin 11:17:58 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:17:58 # $SEMVER_USER_NAME = edgex-jenkins 11:17:58 # $SEMVER_BRANCH = main 11:17:58 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } 11:17:59 $ docker exec --env ******** --env ******** c652dad7559cc6921a5888d43421bded48a297422493a48be800ff5a2c47c0b6 ssh-agent -k 11:18:00 unset SSH_AUTH_SOCK; 11:18:00 unset SSH_AGENT_PID; 11:18:00 echo Agent pid 20 killed; 11:18:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:18:00 + git semver [Pipeline] } 11:18:00 $ docker stop --time=1 c652dad7559cc6921a5888d43421bded48a297422493a48be800ff5a2c47c0b6 11:18:01 $ docker rm -f c652dad7559cc6921a5888d43421bded48a297422493a48be800ff5a2c47c0b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:18:02 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 11:18:02 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 11:18:02 total 16 11:18:02 drwxr-xr-x 3 root root 4096 Apr 27 11:08 . 11:18:02 drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 11:17 .. 11:18:02 drwxr-xr-x 2 root root 4096 Apr 27 11:08 cost 11:18:02 -rw-r--r-- 1 root root 86 Apr 27 11:08 cost.csv 11:18:02 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 11:18:02 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 11:18:02 total 16 11:18:02 drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 11:08 . 11:18:02 drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 11:17 .. 11:18:02 drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 11:08 cost 11:18:02 -rw-r--r-- 1 jenkins jenkins 86 Apr 27 11:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:18:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:18:03 ---> package-listing.sh 11:18:03 ++ facter osfamily 11:18:03 ++ tr '[:upper:]' '[:lower:]' 11:18:03 + OS_FAMILY=debian 11:18:03 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 11:18:03 + START_PACKAGES=/tmp/packages_start.txt 11:18:03 + END_PACKAGES=/tmp/packages_end.txt 11:18:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:18:03 + PACKAGES=/tmp/packages_start.txt 11:18:03 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 11:18:03 + PACKAGES=/tmp/packages_end.txt 11:18:03 + case "${OS_FAMILY}" in 11:18:03 + dpkg -l 11:18:03 + grep '^ii' 11:18:03 + '[' -f /tmp/packages_start.txt ']' 11:18:03 + '[' -f /tmp/packages_end.txt ']' 11:18:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:18:03 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 11:18:03 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 11:18:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 11:18:03 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:18:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:18:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:18:04 . [Pipeline] withDockerContainer 11:18:04 prd-ubuntu20.04-docker-8c-8g-33467 does not seem to be running inside a container 11:18:04 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:18:04 $ docker top 4c61359ae991460576817b136cc65a19336e3327bd473e6ab1fa0777f7f0968f -eo pid,comm [Pipeline] { [Pipeline] sh 11:18:05 + touch /tmp/pre-build-complete [Pipeline] sh 11:18:05 + mkdir -p /var/log/sysstat [Pipeline] sh 11:18:05 + ls /var/log/sa-host 11:18:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:18:05 provisioning config files... 11:18:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7170765827750584895tmp [Pipeline] { [Pipeline] echo 11:18:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:18:06 ---> create-netrc.sh [Pipeline] } 11:18:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:18:06 ---> python-tools-install.sh [Pipeline] echo 11:18:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:18:06 ---> sudo-logs.sh 11:18:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:18:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:18:07 ---> job-cost.sh 11:18:07 lf-activate-venv: SKIPPING 11:18:07 DEBUG: total: 0.2199999988079071 11:18:07 INFO: Retrieving Stack Cost... 11:18:07 INFO: Retrieving Pricing Info for: v3-standard-8 11:18:08 INFO: Archiving Costs [Pipeline] echo 11:18:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:18:08 ---> logs-deploy.sh 11:18:08 lf-activate-venv: SKIPPING 11:18:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/32 11:18:08 INFO: archiving workspace using pattern(s): 11:18:09 Archives upload complete. 11:18:09 INFO: archiving logs to Nexus