Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e01a1226a5cf77919213724cb5799907c2b0adaa 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-ssh4653079665008934404.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-ssh15214221547579948608.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-ssh6068354164278342545.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-ssh16174631874626348854.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-ssh14807273242191895795.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-23806 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 e01a1226a5cf77919213724cb5799907c2b0adaa (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 e01a1226a5cf77919213724cb5799907c2b0adaa # timeout=10 Commit message: "feat(snap): add support for env var injection (#336)" > git rev-list --no-walk 244abab361647dcef607fbcbfbdaea3ae1f72309 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:44:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:44:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:44:00 ========================================================= 15:44:00 EdgeX Global Pipelines Version Info 15:44:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:44:01 ------------------- 15:44:01 stable info: 15:44:01 ------------------- 15:44:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:44:01 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 15:44:01 Message: update stable to v1.0.221 15:44:01 ------------------- 15:44:01 experimental info: 15:44:01 ------------------- 15:44:01 Commited By: Emilio Reyes emilio.reyes@intel.com 15:44:01 Commit SHA: 0296cfd70f3001d69e24c2db393b493f66f700db 15:44:01 Message: update experimental to v1.0.225 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e01a1226a5cf77919213724cb5799907c2b0adaa [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e01a122 [Pipeline] echo 15:44:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:44:02 provisioning config files... 15:44:02 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7854436953050804169tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:44:03 ---> docker-login.sh 15:44:03 nexus3.edgexfoundry.org:10001 15:44:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:03 Configure a credential helper to remove this warning. See 15:44:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:03 15:44:03 Login Succeeded 15:44:03 nexus3.edgexfoundry.org:10002 15:44:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:03 Configure a credential helper to remove this warning. See 15:44:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:03 15:44:03 Login Succeeded 15:44:03 nexus3.edgexfoundry.org:10003 15:44:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:03 Configure a credential helper to remove this warning. See 15:44:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:03 15:44:03 Login Succeeded 15:44:03 nexus3.edgexfoundry.org:10004 15:44:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:03 Configure a credential helper to remove this warning. See 15:44:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:03 15:44:03 Login Succeeded 15:44:03 docker.io 15:44:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:04 Configure a credential helper to remove this warning. See 15:44:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:04 15:44:04 Login Succeeded 15:44:04 ---> docker-login.sh ends [Pipeline] } 15:44:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:44:04 + git rev-list -1 --merges e01a1226a5cf77919213724cb5799907c2b0adaa~1..e01a1226a5cf77919213724cb5799907c2b0adaa [Pipeline] echo 15:44:04 -----------> git rev-list -1 --merges e01a1226a5cf77919213724cb5799907c2b0adaa~1..e01a1226a5cf77919213724cb5799907c2b0adaa e01a1226a5cf77919213724cb5799907c2b0adaa [false] [Pipeline] sh 15:44:05 + git log --format=format:%s -1 e01a1226a5cf77919213724cb5799907c2b0adaa [Pipeline] echo 15:44:05 ========================================================= 15:44:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:44:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:44:05 + git log --format=format:%s -1 e01a1226a5cf77919213724cb5799907c2b0adaa [Pipeline] echo 15:44:05 [semverPrep] GIT_COMMIT: e01a1226a5cf77919213724cb5799907c2b0adaa, Commit Message: feat(snap): add support for env var injection (#336) [Pipeline] echo 15:44:05 [semverPrep] This is not a build commit. [Pipeline] sh 15:44:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:44:05 + grep -v github /etc/ssh/ssh_known_hosts 15:44:05 + [ -e /tmp/ssh_known_hosts ] 15:44:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:44:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:44:05 + sudo tee -a /etc/ssh/ssh_known_hosts 15:44:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:44:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:44:06 15:44:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:44:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:44:06 latest: Pulling from edgex-devops/git-semver 15:44:06 a0d0a0d46f8b: Pulling fs layer 15:44:06 3e5f54012d9b: Pulling fs layer 15:44:06 4c7163046ea9: Pulling fs layer 15:44:06 0c2d73faf560: Pulling fs layer 15:44:06 0c2d73faf560: Waiting 15:44:06 3e5f54012d9b: Verifying Checksum 15:44:06 3e5f54012d9b: Download complete 15:44:06 a0d0a0d46f8b: Verifying Checksum 15:44:06 a0d0a0d46f8b: Download complete 15:44:06 4c7163046ea9: Verifying Checksum 15:44:06 4c7163046ea9: Download complete 15:44:06 0c2d73faf560: Verifying Checksum 15:44:06 0c2d73faf560: Download complete 15:44:06 a0d0a0d46f8b: Pull complete 15:44:06 3e5f54012d9b: Pull complete 15:44:07 4c7163046ea9: Pull complete 15:44:07 0c2d73faf560: Pull complete 15:44:07 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 15:44:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:44:07 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:44:07 prd-ubuntu20.04-docker-8c-8g-23806 does not seem to be running inside a container 15:44:07 $ 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 15:44:08 $ docker top ab68d71f4d6b4e87fc69829c680e15fa86d407a6b13b68ce46b8ccabda329f5e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:44:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:44:08 [ssh-agent] Looking for ssh-agent implementation... 15:44:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:44:08 $ docker exec ab68d71f4d6b4e87fc69829c680e15fa86d407a6b13b68ce46b8ccabda329f5e ssh-agent 15:44:08 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkneLeo/agent.14 15:44:08 SSH_AGENT_PID=20 15:44:08 Running ssh-add (command line suppressed) 15:44:08 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4577612401896988897.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4577612401896988897.key) 15:44:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:44:09 + git tag --points-at HEAD [Pipeline] } 15:44:09 $ docker exec --env ******** --env ******** ab68d71f4d6b4e87fc69829c680e15fa86d407a6b13b68ce46b8ccabda329f5e ssh-agent -k 15:44:09 unset SSH_AUTH_SOCK; 15:44:09 unset SSH_AGENT_PID; 15:44:09 echo Agent pid 20 killed; 15:44:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:44:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:44:09 [ssh-agent] Looking for ssh-agent implementation... 15:44:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:44:09 $ docker exec ab68d71f4d6b4e87fc69829c680e15fa86d407a6b13b68ce46b8ccabda329f5e ssh-agent 15:44:09 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIdgNmK/agent.53 15:44:09 SSH_AGENT_PID=59 15:44:09 Running ssh-add (command line suppressed) 15:44:09 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6839247465669850662.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6839247465669850662.key) 15:44:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:44:09 + git semver init 15:44:09 # -> Open(): unable to determine branch for HEAD 15:44:09 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 15:44:09 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 15:44:09 # $SEMVER_REMOTE_NAME = origin 15:44:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:44:09 # $SEMVER_USER_NAME = edgex-jenkins 15:44:09 # $SEMVER_BRANCH = main 15:44:09 # $SEMVER_TEMP = /tmp/semver-537996854 15:44:09 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 15:44:10 # '/tmp/semver-537996854' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' 15:44:10 # -> Force: false 15:44:10 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } 15:44:10 $ docker exec --env ******** --env ******** ab68d71f4d6b4e87fc69829c680e15fa86d407a6b13b68ce46b8ccabda329f5e ssh-agent -k 15:44:11 unset SSH_AUTH_SOCK; 15:44:11 unset SSH_AGENT_PID; 15:44:11 echo Agent pid 59 killed; 15:44:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:44:11 + git semver [Pipeline] } 15:44:11 $ docker stop --time=1 ab68d71f4d6b4e87fc69829c680e15fa86d407a6b13b68ce46b8ccabda329f5e 15:44:13 $ docker rm -f ab68d71f4d6b4e87fc69829c680e15fa86d407a6b13b68ce46b8ccabda329f5e [Pipeline] // withDockerContainer [Pipeline] sh 15:44:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:44:13 Stashed 1 file(s) [Pipeline] echo 15:44:13 [edgeXSemver]: initialized semver on version 2.2.0-dev.13 [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 15:44:13 provisioning config files... 15:44:13 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1903353901066244639tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:44:14 ---> docker-login.sh 15:44:14 nexus3.edgexfoundry.org:10001 15:44:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:14 Configure a credential helper to remove this warning. See 15:44:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:14 15:44:14 Login Succeeded 15:44:14 nexus3.edgexfoundry.org:10002 15:44:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:14 Configure a credential helper to remove this warning. See 15:44:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:14 15:44:14 Login Succeeded 15:44:14 nexus3.edgexfoundry.org:10003 15:44:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:14 Configure a credential helper to remove this warning. See 15:44:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:14 15:44:14 Login Succeeded 15:44:14 nexus3.edgexfoundry.org:10004 15:44:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:14 Configure a credential helper to remove this warning. See 15:44:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:14 15:44:14 Login Succeeded 15:44:14 docker.io 15:44:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:15 Configure a credential helper to remove this warning. See 15:44:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:15 15:44:15 Login Succeeded 15:44:15 ---> docker-login.sh ends [Pipeline] } 15:44:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:44:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:44:15 ========================================================= 15:44:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:44:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:44:15 + 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 . 15:44:15 Sending build context to Docker daemon 5.848MB 15:44:15 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 15:44:15 Step 2/10 : FROM ${BASE} AS builder 15:44:15 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:44:15 59bf1c3509f3: Pulling fs layer 15:44:15 666ba61612fd: Pulling fs layer 15:44:15 8ed8ca486205: Pulling fs layer 15:44:15 4fe6c5a15a65: Pulling fs layer 15:44:15 22a0e8bec74d: Pulling fs layer 15:44:15 ca2b28591e48: Pulling fs layer 15:44:15 a51346096db8: Pulling fs layer 15:44:15 daebc70d1ce1: Pulling fs layer 15:44:15 0e18a0eac166: Pulling fs layer 15:44:15 22a0e8bec74d: Waiting 15:44:15 4fe6c5a15a65: Waiting 15:44:15 a51346096db8: Waiting 15:44:15 ca2b28591e48: Waiting 15:44:15 0e18a0eac166: Waiting 15:44:15 8ed8ca486205: Download complete 15:44:15 666ba61612fd: Download complete 15:44:15 22a0e8bec74d: Verifying Checksum 15:44:15 22a0e8bec74d: Download complete 15:44:15 ca2b28591e48: Verifying Checksum 15:44:15 ca2b28591e48: Download complete 15:44:15 59bf1c3509f3: Download complete 15:44:15 a51346096db8: Verifying Checksum 15:44:15 a51346096db8: Download complete 15:44:15 daebc70d1ce1: Verifying Checksum 15:44:15 daebc70d1ce1: Download complete 15:44:15 59bf1c3509f3: Pull complete 15:44:16 666ba61612fd: Pull complete 15:44:16 8ed8ca486205: Pull complete 15:44:16 0e18a0eac166: Verifying Checksum 15:44:16 0e18a0eac166: Download complete 15:44:16 4fe6c5a15a65: Verifying Checksum 15:44:16 4fe6c5a15a65: Download complete 15:44:20 4fe6c5a15a65: Pull complete 15:44:20 22a0e8bec74d: Pull complete 15:44:20 ca2b28591e48: Pull complete 15:44:20 a51346096db8: Pull complete 15:44:20 daebc70d1ce1: Pull complete 15:44:23 0e18a0eac166: Pull complete 15:44:23 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 15:44:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:44:23 ---> f018257e8ee9 15:44:23 Step 3/10 : ARG MAKE='make build' 15:44:25 ---> Running in ecb864d59cba 15:44:25 Removing intermediate container ecb864d59cba 15:44:25 ---> 9207ad5f0e54 15:44:25 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:44:25 ---> Running in e6b4924ba0fb 15:44:25 Removing intermediate container e6b4924ba0fb 15:44:25 ---> 5b2158519b30 15:44:25 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 15:44:25 ---> Running in e8591601b8dc 15:44:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:44:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:44:27 (1/8) Installing openssh-keygen (8.8_p1-r1) 15:44:27 (2/8) Installing libedit (20210910.3.1-r0) 15:44:27 (3/8) Installing openssh-client-common (8.8_p1-r1) 15:44:27 (4/8) Installing openssh-client-default (8.8_p1-r1) 15:44:27 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 15:44:27 (6/8) Installing openssh-server-common (8.8_p1-r1) 15:44:27 (7/8) Installing openssh-server (8.8_p1-r1) 15:44:27 (8/8) Installing openssh (8.8_p1-r1) 15:44:28 Executing busybox-1.34.1-r3.trigger 15:44:28 OK: 226 MiB in 60 packages 15:44:28 Removing intermediate container e8591601b8dc 15:44:28 ---> 8e7d68a51028 15:44:28 Step 6/10 : WORKDIR /device-modbus-go 15:44:28 ---> Running in 4bc249bb1f98 15:44:28 Removing intermediate container 4bc249bb1f98 15:44:28 ---> b2bd0cc69f4e 15:44:28 Step 7/10 : COPY go.mod vendor* ./ 15:44:28 Still waiting to schedule task 15:44:28 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 15:44:28 ---> 853a93e8c00b 15:44:28 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:44:28 ---> Running in 2ab6506c6f2c 15:44:43 Removing intermediate container 2ab6506c6f2c 15:44:43 ---> bed1a35f11a2 15:44:43 Step 9/10 : COPY . . 15:44:43 ---> f4dc6fc96a1d 15:44:43 Step 10/10 : RUN ${MAKE} 15:44:43 ---> Running in e7928cd52992 15:44:43 noop 15:44:43 Removing intermediate container e7928cd52992 15:44:43 ---> a390403025f2 15:44:43 Successfully built a390403025f2 15:44:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:44:44 + docker inspect -f . ci-base-image-x86_64 15:44:44 . [Pipeline] withDockerContainer 15:44:44 prd-ubuntu20.04-docker-8c-8g-23806 does not seem to be running inside a container 15:44:44 $ 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 15:44:44 $ docker top 80df96fcff69f34b87a8b06774d6cf03d7a16c28be57caa1d89b4c7f54cdf2c3 -eo pid,comm [Pipeline] { [Pipeline] sh 15:44:45 + go version 15:44:45 go version go1.17.6 linux/amd64 [Pipeline] } 15:44:45 $ docker stop --time=1 80df96fcff69f34b87a8b06774d6cf03d7a16c28be57caa1d89b4c7f54cdf2c3 15:44:46 $ docker rm -f 80df96fcff69f34b87a8b06774d6cf03d7a16c28be57caa1d89b4c7f54cdf2c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:44:46 + docker inspect -f . ci-base-image-x86_64 15:44:46 . [Pipeline] withDockerContainer 15:44:46 prd-ubuntu20.04-docker-8c-8g-23806 does not seem to be running inside a container 15:44:47 $ 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 15:44:47 $ docker top 08fb01d1a091e957d0552942ece82796acc68ce50a314a0482a674098f316a98 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:44:47 + make test 15:44:47 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 15:44:48 ? github.com/edgexfoundry/device-modbus-go [no test files] 15:44:58 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 15:44:58 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.008s coverage: 46.4% of statements 15:45:04 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:45:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:45:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:45:07 ./bin/test-attribution-txt.sh [Pipeline] echo 15:45:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:45:08 $ docker stop --time=1 08fb01d1a091e957d0552942ece82796acc68ce50a314a0482a674098f316a98 15:45:10 $ docker rm -f 08fb01d1a091e957d0552942ece82796acc68ce50a314a0482a674098f316a98 [Pipeline] // withDockerContainer [Pipeline] sh 15:45:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:45:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:45:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:45:12 + ls -al . 15:45:12 total 180 15:45:12 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 15:45 . 15:45:12 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 15:43 .. 15:45:12 -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 15:43 .dockerignore 15:45:12 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 15:43 .git 15:45:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:43 .github 15:45:12 -rw-rw-r-- 1 jenkins jenkins 331 Apr 26 15:43 .gitignore 15:45:12 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 15:43 .golangci.yml 15:45:12 drwx------ 3 jenkins jenkins 4096 Apr 26 15:44 .semver 15:45:12 -rw-rw-r-- 1 jenkins jenkins 9244 Apr 26 15:43 Attribution.txt 15:45:12 -rw-rw-r-- 1 jenkins jenkins 6038 Apr 26 15:43 CHANGELOG.md 15:45:12 -rw-rw-r-- 1 jenkins jenkins 1546 Apr 26 15:43 Dockerfile 15:45:12 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 15:43 GOVERNANCE.md 15:45:12 -rw-rw-r-- 1 jenkins jenkins 680 Apr 26 15:43 Jenkinsfile 15:45:12 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 15:43 LICENSE 15:45:12 -rw-rw-r-- 1 jenkins jenkins 1905 Apr 26 15:43 Makefile 15:45:12 -rw-rw-r-- 1 jenkins jenkins 622 Apr 26 15:43 OWNERS.md 15:45:12 -rw-rw-r-- 1 jenkins jenkins 3680 Apr 26 15:43 README.md 15:45:12 -rw-rw-r-- 1 jenkins jenkins 12 Apr 26 15:44 VERSION 15:45:12 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 15:43 bin 15:45:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:43 cmd 15:45:12 -rw-r--r-- 1 jenkins jenkins 24065 Apr 26 15:44 coverage.out 15:45:12 -rw-rw-r-- 1 jenkins jenkins 3306 Apr 26 15:43 go.mod 15:45:12 -rw-rw-r-- 1 jenkins jenkins 34903 Apr 26 15:43 go.sum 15:45:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:43 internal 15:45:12 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 15:43 simulator 15:45:12 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 15:43 snap 15:45:12 -rw-rw-r-- 1 jenkins jenkins 229 Apr 26 15:43 version.go [Pipeline] isUnix [Pipeline] sh 15:45:12 + 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=e01a1226a5cf77919213724cb5799907c2b0adaa --label arch=amd64 --label version=2.2.0-dev.13 . 15:45:12 Sending build context to Docker daemon 5.873MB 15:45:12 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 15:45:12 Step 2/23 : FROM ${BASE} AS builder 15:45:12 ---> a390403025f2 15:45:12 Step 3/23 : ARG MAKE='make build' 15:45:12 ---> Running in 2214f39d97af 15:45:12 Removing intermediate container 2214f39d97af 15:45:12 ---> 61e4984a3646 15:45:12 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:45:12 ---> Running in ddfa499196aa 15:45:13 Removing intermediate container ddfa499196aa 15:45:13 ---> ec9ff35e3137 15:45:13 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 15:45:13 ---> Running in ec86c8223cfb 15:45:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:45:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:45:14 OK: 226 MiB in 60 packages 15:45:15 Removing intermediate container ec86c8223cfb 15:45:15 ---> 2b08d0e42e5f 15:45:15 Step 6/23 : WORKDIR /device-modbus-go 15:45:15 ---> Running in fcf39e090dce 15:45:15 Removing intermediate container fcf39e090dce 15:45:15 ---> 76117c81a6e7 15:45:15 Step 7/23 : COPY go.mod vendor* ./ 15:45:15 ---> 14b46da84fed 15:45:15 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:45:15 ---> Running in 5b93e6f5a562 15:45:15 Removing intermediate container 5b93e6f5a562 15:45:15 ---> 0978ab9c3d3c 15:45:15 Step 9/23 : COPY . . 15:45:16 ---> 5e0c2a964160 15:45:16 Step 10/23 : RUN ${MAKE} 15:45:16 ---> Running in 00768f5e39a6 15:45:16 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.13" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 15:45:38 Removing intermediate container 00768f5e39a6 15:45:38 ---> 29228e6dab25 15:45:38 Step 11/23 : FROM alpine:3.14 15:45:38 3.14: Pulling from library/alpine 15:45:38 8663204ce13b: Pulling fs layer 15:45:38 8663204ce13b: Verifying Checksum 15:45:38 8663204ce13b: Download complete 15:45:38 8663204ce13b: Pull complete 15:45:38 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 15:45:38 Status: Downloaded newer image for alpine:3.14 15:45:38 ---> e04c818066af 15:45:38 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 15:45:38 ---> Running in f0f462daa0a6 15:45:38 Removing intermediate container f0f462daa0a6 15:45:38 ---> a0faa672c1b8 15:45:38 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:45:38 ---> Running in 07e494b0a36c 15:45:38 Removing intermediate container 07e494b0a36c 15:45:38 ---> 5d72c3d87c6c 15:45:38 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 15:45:38 ---> Running in 9ceb47e7faef 15:45:38 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:45:38 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:45:38 (1/6) Installing dumb-init (1.2.5-r1) 15:45:38 (2/6) Installing libgcc (10.3.1_git20210424-r2) 15:45:38 (3/6) Installing libsodium (1.0.18-r0) 15:45:38 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 15:45:39 (5/6) Installing libzmq (4.3.4-r0) 15:45:39 (6/6) Installing zeromq (4.3.4-r0) 15:45:39 Executing busybox-1.33.1-r7.trigger 15:45:39 OK: 8 MiB in 20 packages 15:45:39 Removing intermediate container 9ceb47e7faef 15:45:39 ---> 6b00ff5401b2 15:45:39 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 15:45:40 ---> 63498ded2249 15:45:40 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 15:45:40 ---> 31377a1bdc07 15:45:40 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 15:45:40 ---> dd10fbe3ea16 15:45:40 Step 18/23 : EXPOSE 59901 15:45:40 ---> Running in 6882e71dfd07 15:45:40 Removing intermediate container 6882e71dfd07 15:45:40 ---> 49ac63f3fb30 15:45:40 Step 19/23 : ENTRYPOINT ["/device-modbus"] 15:45:40 ---> Running in 7c3a7ab894ab 15:45:40 Removing intermediate container 7c3a7ab894ab 15:45:40 ---> 1ab13b699453 15:45:40 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:45:40 ---> Running in edf6531f318f 15:45:41 Removing intermediate container edf6531f318f 15:45:41 ---> 0f53f34674ad 15:45:41 Step 21/23 : LABEL arch=amd64 15:45:41 ---> Running in 01f5ff1e9319 15:45:41 Removing intermediate container 01f5ff1e9319 15:45:41 ---> b46857108871 15:45:41 Step 22/23 : LABEL git_sha=e01a1226a5cf77919213724cb5799907c2b0adaa 15:45:41 ---> Running in 60083287fedf 15:45:41 Removing intermediate container 60083287fedf 15:45:41 ---> 64dba97f3fab 15:45:41 Step 23/23 : LABEL version=2.2.0-dev.13 15:45:41 ---> Running in eae4377c1485 15:45:41 Removing intermediate container eae4377c1485 15:45:41 ---> 72bac845cb38 15:45:41 [Warning] One or more build-args [ARCH] were not consumed 15:45:41 Successfully built 72bac845cb38 15:45:41 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:45:41 provisioning config files... 15:45:41 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2023807076159785614tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:45:41 ---> docker-login.sh 15:45:41 nexus3.edgexfoundry.org:10001 15:45:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:41 Configure a credential helper to remove this warning. See 15:45:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:41 15:45:41 Login Succeeded 15:45:41 nexus3.edgexfoundry.org:10002 15:45:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:41 Configure a credential helper to remove this warning. See 15:45:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:41 15:45:41 Login Succeeded 15:45:41 nexus3.edgexfoundry.org:10003 15:45:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:41 Configure a credential helper to remove this warning. See 15:45:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:41 15:45:41 Login Succeeded 15:45:41 nexus3.edgexfoundry.org:10004 15:45:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:42 Configure a credential helper to remove this warning. See 15:45:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:42 15:45:42 Login Succeeded 15:45:42 docker.io 15:45:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:42 Configure a credential helper to remove this warning. See 15:45:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:42 15:45:42 Login Succeeded 15:45:42 ---> docker-login.sh ends [Pipeline] } 15:45:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:45:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:45:42 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 15:45:42 e01a1226a5cf77919213724cb5799907c2b0adaa 15:45:42 latest 15:45:42 2.2.0-dev.13 15:45:42 e01a1226a5cf77919213724cb5799907c2b0adaa-2.2.0-dev.13 15:45:42 main 15:45:42 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:45:42 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:e01a1226a5cf77919213724cb5799907c2b0adaa [Pipeline] isUnix [Pipeline] sh 15:45:43 + docker push nexus3.edgexfoundry.org:10004/device-modbus:e01a1226a5cf77919213724cb5799907c2b0adaa 15:45:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 15:45:43 918890e33a97: Preparing 15:45:43 d1f6c26379f0: Preparing 15:45:43 7dd640b83738: Preparing 15:45:43 3579e8c740bf: Preparing 15:45:43 5156bca52968: Preparing 15:45:43 b541d28bf3b4: Preparing 15:45:43 b541d28bf3b4: Waiting 15:45:43 d1f6c26379f0: Pushed 15:45:43 918890e33a97: Pushed 15:45:43 5156bca52968: Pushed 15:45:43 b541d28bf3b4: Layer already exists 15:45:43 3579e8c740bf: Pushed 15:45:45 7dd640b83738: Pushed 15:45:45 e01a1226a5cf77919213724cb5799907c2b0adaa: digest: sha256:5bad905ed9420f64f053304d047a6d0bb54aa217d68d650626aa648ccad72922 size: 1574 [Pipeline] isUnix [Pipeline] sh 15:45:46 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh 15:45:46 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 15:45:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 15:45:46 918890e33a97: Preparing 15:45:46 d1f6c26379f0: Preparing 15:45:46 7dd640b83738: Preparing 15:45:46 3579e8c740bf: Preparing 15:45:46 5156bca52968: Preparing 15:45:46 b541d28bf3b4: Preparing 15:45:46 b541d28bf3b4: Waiting 15:45:46 5156bca52968: Layer already exists 15:45:46 7dd640b83738: Layer already exists 15:45:46 3579e8c740bf: Layer already exists 15:45:46 918890e33a97: Layer already exists 15:45:46 d1f6c26379f0: Layer already exists 15:45:46 b541d28bf3b4: Layer already exists 15:45:46 latest: digest: sha256:5bad905ed9420f64f053304d047a6d0bb54aa217d68d650626aa648ccad72922 size: 1574 [Pipeline] isUnix [Pipeline] sh 15:45:46 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh 15:45:47 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.13 15:45:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 15:45:47 918890e33a97: Preparing 15:45:47 d1f6c26379f0: Preparing 15:45:47 7dd640b83738: Preparing 15:45:47 3579e8c740bf: Preparing 15:45:47 5156bca52968: Preparing 15:45:47 b541d28bf3b4: Preparing 15:45:47 b541d28bf3b4: Waiting 15:45:47 5156bca52968: Layer already exists 15:45:47 918890e33a97: Layer already exists 15:45:47 7dd640b83738: Layer already exists 15:45:47 d1f6c26379f0: Layer already exists 15:45:47 3579e8c740bf: Layer already exists 15:45:47 b541d28bf3b4: Layer already exists 15:45:47 2.2.0-dev.13: digest: sha256:5bad905ed9420f64f053304d047a6d0bb54aa217d68d650626aa648ccad72922 size: 1574 [Pipeline] isUnix [Pipeline] sh 15:45:47 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:e01a1226a5cf77919213724cb5799907c2b0adaa-2.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh 15:45:47 + docker push nexus3.edgexfoundry.org:10004/device-modbus:e01a1226a5cf77919213724cb5799907c2b0adaa-2.2.0-dev.13 15:45:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 15:45:47 918890e33a97: Preparing 15:45:47 d1f6c26379f0: Preparing 15:45:47 7dd640b83738: Preparing 15:45:47 3579e8c740bf: Preparing 15:45:47 5156bca52968: Preparing 15:45:47 b541d28bf3b4: Preparing 15:45:47 b541d28bf3b4: Waiting 15:45:47 3579e8c740bf: Layer already exists 15:45:47 7dd640b83738: Layer already exists 15:45:47 918890e33a97: Layer already exists 15:45:47 d1f6c26379f0: Layer already exists 15:45:47 5156bca52968: Layer already exists 15:45:47 b541d28bf3b4: Layer already exists 15:45:47 e01a1226a5cf77919213724cb5799907c2b0adaa-2.2.0-dev.13: digest: sha256:5bad905ed9420f64f053304d047a6d0bb54aa217d68d650626aa648ccad72922 size: 1574 [Pipeline] isUnix [Pipeline] sh 15:45:48 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh 15:45:48 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 15:45:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 15:45:48 918890e33a97: Preparing 15:45:48 d1f6c26379f0: Preparing 15:45:48 7dd640b83738: Preparing 15:45:48 3579e8c740bf: Preparing 15:45:48 5156bca52968: Preparing 15:45:48 b541d28bf3b4: Preparing 15:45:48 b541d28bf3b4: Waiting 15:45:48 7dd640b83738: Layer already exists 15:45:48 918890e33a97: Layer already exists 15:45:48 3579e8c740bf: Layer already exists 15:45:48 5156bca52968: Layer already exists 15:45:48 d1f6c26379f0: Layer already exists 15:45:48 b541d28bf3b4: Layer already exists 15:45:48 main: digest: sha256:5bad905ed9420f64f053304d047a6d0bb54aa217d68d650626aa648ccad72922 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:45:48 ===================================================== [Pipeline] echo 15:45:48 taggedImages: 15:45:48 - nexus3.edgexfoundry.org:10004/device-modbus:e01a1226a5cf77919213724cb5799907c2b0adaa 15:45:48 - nexus3.edgexfoundry.org:10004/device-modbus:latest 15:45:48 - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.13 15:45:48 - nexus3.edgexfoundry.org:10004/device-modbus:e01a1226a5cf77919213724cb5799907c2b0adaa-2.2.0-dev.13 15:45:48 - 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 15:45:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:45:48 15:45:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:45:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:45:49 latest: Pulling from edgex-lftools-log-publisher 15:45:49 5eb5b503b376: Pulling fs layer 15:45:49 5c69ac0246d0: Pulling fs layer 15:45:49 ec43610c2a17: Pulling fs layer 15:45:49 3a2ae6a8a46f: Pulling fs layer 15:45:49 33b1e0a273af: Pulling fs layer 15:45:49 5d3b04190fa2: Pulling fs layer 15:45:49 2f39f015ded8: Pulling fs layer 15:45:49 3a2ae6a8a46f: Waiting 15:45:49 33b1e0a273af: Waiting 15:45:49 5d3b04190fa2: Waiting 15:45:49 2f39f015ded8: Waiting 15:45:49 5c69ac0246d0: Download complete 15:45:49 3a2ae6a8a46f: Verifying Checksum 15:45:49 3a2ae6a8a46f: Download complete 15:45:49 33b1e0a273af: Verifying Checksum 15:45:49 33b1e0a273af: Download complete 15:45:49 ec43610c2a17: Verifying Checksum 15:45:49 ec43610c2a17: Download complete 15:45:49 5d3b04190fa2: Download complete 15:45:49 5eb5b503b376: Verifying Checksum 15:45:49 5eb5b503b376: Download complete 15:45:49 2f39f015ded8: Download complete 15:45:50 5eb5b503b376: Pull complete 15:45:50 5c69ac0246d0: Pull complete 15:45:50 ec43610c2a17: Pull complete 15:45:51 3a2ae6a8a46f: Pull complete 15:45:51 33b1e0a273af: Pull complete 15:45:51 5d3b04190fa2: Pull complete 15:45:55 2f39f015ded8: Pull complete 15:45:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:45:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:45:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:45:55 prd-ubuntu20.04-docker-8c-8g-23806 does not seem to be running inside a container 15:45:55 $ 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 15:45:57 $ docker top 4801b3dcac67d0b1f616db4234cbfcfed028e13ed934b3831fdd7c7fd6bda731 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:45:58 ---> job-cost.sh 15:45:58 lf-activate-venv: SKIPPING 15:45:58 INFO: No Stack... 15:45:58 INFO: Retrieving Pricing Info for: v3-standard-8 15:45:59 INFO: Archiving Costs [Pipeline] sh 15:45:59 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 15:45:59 + cut -d, -f6 [Pipeline] lock 15:45:59 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-31-stack-cost] 15:45:59 Resource [jenkins-edgexfoundry-device-modbus-go-main-31-stack-cost] did not exist. Created. 15:45:59 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:45:59 + echo total: 0.2199999988079071 [Pipeline] stash 15:45:59 Stashed 1 file(s) [Pipeline] } 15:45:59 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-31-stack-cost] [Pipeline] // lock [Pipeline] } 15:45:59 $ docker stop --time=1 4801b3dcac67d0b1f616db4234cbfcfed028e13ed934b3831fdd7c7fd6bda731 15:46:00 $ docker rm -f 4801b3dcac67d0b1f616db4234cbfcfed028e13ed934b3831fdd7c7fd6bda731 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:24:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-28021 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 16:24:40 Running in /w/workspace/device-modbus-go/31 [Pipeline] { [Pipeline] checkout 16:24:40 Selected Git installation does not exist. Using Default 16:24:40 The recommended git tool is: NONE 16:24:47 using credential edgex-jenkins-ssh 16:24:47 Cloning the remote Git repository 16:24:47 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 16:24:47 > git init /w/workspace/device-modbus-go/31 # timeout=10 16:24:47 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:24:47 > git --version # timeout=10 16:24:47 > git --version # 'git version 2.25.1' 16:24:47 using GIT_SSH to set credentials SSH Credentials for GitHub 16:24:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:24:49 Avoid second fetch 16:24:49 Checking out Revision e01a1226a5cf77919213724cb5799907c2b0adaa (main) 16:24:49 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:24:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:24:49 > git config core.sparsecheckout # timeout=10 16:24:49 > git checkout -f e01a1226a5cf77919213724cb5799907c2b0adaa # timeout=10 16:24:53 Commit message: "feat(snap): add support for env var injection (#336)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:24:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:24:54 % Total % Received % Xferd Average Speed Time Time Time Current 16:24:54 Dload Upload Total Spent Left Speed 16:24:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 91100 0 --:--:-- --:--:-- --:--:-- 90404 [Pipeline] sh 16:24:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:24:55 + + sudo tee /etc/docker/daemon.new 16:24:55 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:24:55 { 16:24:55 "registry-mirrors": [ 16:24:55 "https://nexus3.edgexfoundry.org:10001" 16:24:55 ], 16:24:55 "bip": "10.250.0.254/24", 16:24:55 "hosts": [ 16:24:55 "tcp://0.0.0.0:5555", 16:24:55 "unix:///var/run/docker.sock" 16:24:55 ], 16:24:55 "mtu": 1458, 16:24:55 "selinux-enabled": true, 16:24:55 "seccomp-profile": "/etc/docker/seccomp.json" 16:24:55 } [Pipeline] sh 16:24:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:24:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:25:14 provisioning config files... 16:25:14 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/31@tmp/config1171347891310675253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:25:14 ---> docker-login.sh 16:25:14 nexus3.edgexfoundry.org:10001 16:25:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:15 Configure a credential helper to remove this warning. See 16:25:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:15 16:25:15 Login Succeeded 16:25:15 nexus3.edgexfoundry.org:10002 16:25:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:15 Configure a credential helper to remove this warning. See 16:25:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:15 16:25:15 Login Succeeded 16:25:15 nexus3.edgexfoundry.org:10003 16:25:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:16 Configure a credential helper to remove this warning. See 16:25:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:16 16:25:16 Login Succeeded 16:25:16 nexus3.edgexfoundry.org:10004 16:25:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:17 Configure a credential helper to remove this warning. See 16:25:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:17 16:25:17 Login Succeeded 16:25:17 docker.io 16:25:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:17 Configure a credential helper to remove this warning. See 16:25:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:17 16:25:17 Login Succeeded 16:25:17 ---> docker-login.sh ends [Pipeline] } 16:25:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:25:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:25:18 ========================================================= 16:25:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 16:25:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:25:18 + 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 . 16:25:18 Sending build context to Docker daemon 3.08MB 16:25:18 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 16:25:18 Step 2/10 : FROM ${BASE} AS builder 16:25:19 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:25:19 9b3977197b4f: Pulling fs layer 16:25:19 1a89e8eeedd5: Pulling fs layer 16:25:19 94645a83ff95: Pulling fs layer 16:25:19 3f3a8bcf1eab: Pulling fs layer 16:25:19 0c92f367c5e7: Pulling fs layer 16:25:19 3096ccb668a1: Pulling fs layer 16:25:19 e8cf19c19ddd: Pulling fs layer 16:25:19 a4caa8a26152: Pulling fs layer 16:25:19 3f3a8bcf1eab: Waiting 16:25:19 3096ccb668a1: Waiting 16:25:19 0c92f367c5e7: Waiting 16:25:19 a4caa8a26152: Waiting 16:25:19 e8cf19c19ddd: Waiting 16:25:19 94645a83ff95: Verifying Checksum 16:25:19 94645a83ff95: Download complete 16:25:19 1a89e8eeedd5: Verifying Checksum 16:25:19 1a89e8eeedd5: Download complete 16:25:19 0c92f367c5e7: Verifying Checksum 16:25:19 3096ccb668a1: Verifying Checksum 16:25:19 3096ccb668a1: Download complete 16:25:19 9b3977197b4f: Verifying Checksum 16:25:19 9b3977197b4f: Download complete 16:25:19 e8cf19c19ddd: Verifying Checksum 16:25:19 e8cf19c19ddd: Download complete 16:25:19 9b3977197b4f: Pull complete 16:25:20 1a89e8eeedd5: Pull complete 16:25:20 94645a83ff95: Pull complete 16:25:21 a4caa8a26152: Verifying Checksum 16:25:21 a4caa8a26152: Download complete 16:25:21 3f3a8bcf1eab: Download complete 16:25:34 3f3a8bcf1eab: Pull complete 16:25:34 0c92f367c5e7: Pull complete 16:25:34 3096ccb668a1: Pull complete 16:25:34 e8cf19c19ddd: Pull complete 16:25:41 a4caa8a26152: Pull complete 16:25:41 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 16:25:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:25:41 ---> 725f1c02e7f9 16:25:41 Step 3/10 : ARG MAKE='make build' 16:25:41 ---> Running in d96b8de88a61 16:25:42 Removing intermediate container d96b8de88a61 16:25:42 ---> 91806c22d43c 16:25:42 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:25:42 ---> Running in 62fb75a73be4 16:25:44 Removing intermediate container 62fb75a73be4 16:25:44 ---> 78db6693186d 16:25:44 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 16:25:44 ---> Running in 25ada07961a3 16:25:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:25:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:25:46 (1/8) Installing openssh-keygen (8.8_p1-r1) 16:25:46 (2/8) Installing libedit (20210910.3.1-r0) 16:25:47 (3/8) Installing openssh-client-common (8.8_p1-r1) 16:25:47 (4/8) Installing openssh-client-default (8.8_p1-r1) 16:25:47 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 16:25:47 (6/8) Installing openssh-server-common (8.8_p1-r1) 16:25:47 (7/8) Installing openssh-server (8.8_p1-r1) 16:25:47 (8/8) Installing openssh (8.8_p1-r1) 16:25:47 Executing busybox-1.34.1-r3.trigger 16:25:47 OK: 226 MiB in 60 packages 16:25:49 Removing intermediate container 25ada07961a3 16:25:49 ---> 5a2b339b8b7f 16:25:49 Step 6/10 : WORKDIR /device-modbus-go 16:25:49 ---> Running in a37bb8f8edc1 16:25:49 Removing intermediate container a37bb8f8edc1 16:25:49 ---> 763f8e663b02 16:25:49 Step 7/10 : COPY go.mod vendor* ./ 16:25:50 ---> 2d229e94190d 16:25:50 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:25:50 ---> Running in 61a489f3363b 16:26:37 Removing intermediate container 61a489f3363b 16:26:37 ---> 9de1a2058280 16:26:37 Step 9/10 : COPY . . 16:26:37 ---> 07d3bf0e61d0 16:26:37 Step 10/10 : RUN ${MAKE} 16:26:37 ---> Running in 6809ed697ce2 16:26:37 noop 16:26:38 Removing intermediate container 6809ed697ce2 16:26:38 ---> 39d910d3015b 16:26:38 Successfully built 39d910d3015b 16:26:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:26:38 + docker inspect -f . ci-base-image-arm64 16:26:38 . [Pipeline] withDockerContainer 16:26:38 prd-ubuntu20.04-docker-arm64-4c-16g-28021 does not seem to be running inside a container 16:26:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/31 -v /w/workspace/device-modbus-go/31:/w/workspace/device-modbus-go/31:rw,z -v /w/workspace/device-modbus-go/31@tmp:/w/workspace/device-modbus-go/31@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 16:26:40 $ docker top 8c7f0a5a4584b7e81c0583a41c18d749cf6767107375681a4af7e98540307c04 -eo pid,comm [Pipeline] { [Pipeline] sh 16:26:40 + go version 16:26:40 go version go1.17.6 linux/arm64 [Pipeline] } 16:26:40 $ docker stop --time=1 8c7f0a5a4584b7e81c0583a41c18d749cf6767107375681a4af7e98540307c04 16:26:42 $ docker rm -f 8c7f0a5a4584b7e81c0583a41c18d749cf6767107375681a4af7e98540307c04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:26:43 + docker inspect -f . ci-base-image-arm64 16:26:43 . [Pipeline] withDockerContainer 16:26:43 prd-ubuntu20.04-docker-arm64-4c-16g-28021 does not seem to be running inside a container 16:26:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/31 -v /w/workspace/device-modbus-go/31:/w/workspace/device-modbus-go/31:rw,z -v /w/workspace/device-modbus-go/31@tmp:/w/workspace/device-modbus-go/31@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 16:26:44 $ docker top 28daa8e462407dd825a58fa63f4433ece1a93d5d02c23a8273b4489c9c8fedef -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:26:45 + make test 16:26:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:26:47 ? github.com/edgexfoundry/device-modbus-go [no test files] 16:28:09 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 16:28:09 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.061s coverage: 46.4% of statements 16:28:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:28:09 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:28:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:28:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:28:27 ./bin/test-attribution-txt.sh [Pipeline] echo 16:28:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:28:30 $ docker stop --time=1 28daa8e462407dd825a58fa63f4433ece1a93d5d02c23a8273b4489c9c8fedef 16:28:32 $ docker rm -f 28daa8e462407dd825a58fa63f4433ece1a93d5d02c23a8273b4489c9c8fedef [Pipeline] // withDockerContainer [Pipeline] sh 16:28:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:28:33 Warning: overwriting stash ‘coverage-report’ 16:28:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:28:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:28:34 + ls -al . 16:28:34 total 176 16:28:34 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 16:28 . 16:28:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 16:24 .. 16:28:34 -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 16:24 .dockerignore 16:28:34 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 16:24 .git 16:28:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:24 .github 16:28:34 -rw-rw-r-- 1 jenkins jenkins 331 Apr 26 16:24 .gitignore 16:28:34 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 16:24 .golangci.yml 16:28:34 -rw-rw-r-- 1 jenkins jenkins 9244 Apr 26 16:24 Attribution.txt 16:28:34 -rw-rw-r-- 1 jenkins jenkins 6038 Apr 26 16:24 CHANGELOG.md 16:28:34 -rw-rw-r-- 1 jenkins jenkins 1546 Apr 26 16:24 Dockerfile 16:28:34 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 16:24 GOVERNANCE.md 16:28:34 -rw-rw-r-- 1 jenkins jenkins 680 Apr 26 16:24 Jenkinsfile 16:28:34 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 16:24 LICENSE 16:28:34 -rw-rw-r-- 1 jenkins jenkins 1905 Apr 26 16:24 Makefile 16:28:34 -rw-rw-r-- 1 jenkins jenkins 622 Apr 26 16:24 OWNERS.md 16:28:34 -rw-rw-r-- 1 jenkins jenkins 3680 Apr 26 16:24 README.md 16:28:34 -rw-rw-r-- 1 jenkins jenkins 12 Apr 26 15:44 VERSION 16:28:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 16:24 bin 16:28:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:24 cmd 16:28:34 -rw-r--r-- 1 jenkins jenkins 24065 Apr 26 16:27 coverage.out 16:28:34 -rw-rw-r-- 1 jenkins jenkins 3306 Apr 26 16:24 go.mod 16:28:34 -rw-rw-r-- 1 jenkins jenkins 34903 Apr 26 16:24 go.sum 16:28:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:24 internal 16:28:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 16:24 simulator 16:28:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 16:24 snap 16:28:34 -rw-rw-r-- 1 jenkins jenkins 229 Apr 26 16:24 version.go [Pipeline] isUnix [Pipeline] sh 16:28:34 + 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=e01a1226a5cf77919213724cb5799907c2b0adaa --label arch=arm64 --label version=2.2.0-dev.13 . 16:28:35 Sending build context to Docker daemon 3.105MB 16:28:35 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 16:28:35 Step 2/23 : FROM ${BASE} AS builder 16:28:35 ---> 39d910d3015b 16:28:35 Step 3/23 : ARG MAKE='make build' 16:28:35 ---> Running in 58f036999ccf 16:28:35 Removing intermediate container 58f036999ccf 16:28:35 ---> 294567b5b7d1 16:28:35 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:28:35 ---> Running in b8aea3790052 16:28:37 Removing intermediate container b8aea3790052 16:28:37 ---> b6aed51e2beb 16:28:37 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 16:28:37 ---> Running in b2c8c640443c 16:28:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:28:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:28:40 OK: 226 MiB in 60 packages 16:28:41 Removing intermediate container b2c8c640443c 16:28:41 ---> 99547a040622 16:28:41 Step 6/23 : WORKDIR /device-modbus-go 16:28:41 ---> Running in 997bacda1d0c 16:28:41 Removing intermediate container 997bacda1d0c 16:28:41 ---> b83a020fc4f1 16:28:41 Step 7/23 : COPY go.mod vendor* ./ 16:28:41 ---> 77a25211852e 16:28:41 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:28:41 ---> Running in f73617187491 16:28:43 Removing intermediate container f73617187491 16:28:43 ---> d68b446070cd 16:28:43 Step 9/23 : COPY . . 16:28:44 ---> 2ce3866f8ba0 16:28:44 Step 10/23 : RUN ${MAKE} 16:28:44 ---> Running in 0521a2fb4c26 16:28:45 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.13" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 16:30:52 Removing intermediate container 0521a2fb4c26 16:30:52 ---> d9ebd2dd94b9 16:30:52 Step 11/23 : FROM alpine:3.14 16:30:52 3.14: Pulling from library/alpine 16:30:52 455c02918c45: Pulling fs layer 16:30:52 455c02918c45: Verifying Checksum 16:30:52 455c02918c45: Pull complete 16:30:52 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 16:30:52 Status: Downloaded newer image for alpine:3.14 16:30:52 ---> ac73e934f311 16:30:52 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 16:30:52 ---> Running in 64dbdfe12947 16:30:52 Removing intermediate container 64dbdfe12947 16:30:52 ---> 767035d1720b 16:30:52 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:30:52 ---> Running in 115352d6b386 16:30:52 Removing intermediate container 115352d6b386 16:30:52 ---> 895788695725 16:30:52 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 16:30:52 ---> Running in 37ade5fbc3c0 16:30:52 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:30:52 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:30:52 (1/6) Installing dumb-init (1.2.5-r1) 16:30:52 (2/6) Installing libgcc (10.3.1_git20210424-r2) 16:30:52 (3/6) Installing libsodium (1.0.18-r0) 16:30:52 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 16:30:52 (5/6) Installing libzmq (4.3.4-r0) 16:30:52 (6/6) Installing zeromq (4.3.4-r0) 16:30:52 Executing busybox-1.33.1-r7.trigger 16:30:52 OK: 8 MiB in 20 packages 16:30:52 Removing intermediate container 37ade5fbc3c0 16:30:52 ---> a97029aef90c 16:30:52 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 16:30:52 ---> defda0679c40 16:30:52 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 16:30:52 ---> 4ea54c98570f 16:30:52 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 16:30:52 ---> 367bc7b2a136 16:30:52 Step 18/23 : EXPOSE 59901 16:30:52 ---> Running in 9e428dbcf9d4 16:30:52 Removing intermediate container 9e428dbcf9d4 16:30:52 ---> 9e7567223491 16:30:52 Step 19/23 : ENTRYPOINT ["/device-modbus"] 16:30:52 ---> Running in 6fa6ba55410e 16:30:52 Removing intermediate container 6fa6ba55410e 16:30:52 ---> bd68c4ed1403 16:30:52 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:30:52 ---> Running in bf8f90c885fa 16:30:52 Removing intermediate container bf8f90c885fa 16:30:52 ---> 9365f7a0d0ad 16:30:52 Step 21/23 : LABEL arch=arm64 16:30:52 ---> Running in b7bfc2ea485f 16:30:52 Removing intermediate container b7bfc2ea485f 16:30:52 ---> db74074ccd47 16:30:52 Step 22/23 : LABEL git_sha=e01a1226a5cf77919213724cb5799907c2b0adaa 16:30:52 ---> Running in a992f301348e 16:30:52 Removing intermediate container a992f301348e 16:30:52 ---> b937467fedd4 16:30:52 Step 23/23 : LABEL version=2.2.0-dev.13 16:30:52 ---> Running in 28375b27d647 16:30:52 Removing intermediate container 28375b27d647 16:30:52 ---> 5ba9e71986e6 16:30:52 [Warning] One or more build-args [ARCH] were not consumed 16:30:52 Successfully built 5ba9e71986e6 16:30:52 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 16:30:52 provisioning config files... 16:30:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/31@tmp/config2812851719414136716tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:30:53 ---> docker-login.sh 16:30:53 nexus3.edgexfoundry.org:10001 16:30:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:53 Configure a credential helper to remove this warning. See 16:30:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:53 16:30:53 Login Succeeded 16:30:53 nexus3.edgexfoundry.org:10002 16:30:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:54 Configure a credential helper to remove this warning. See 16:30:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:54 16:30:54 Login Succeeded 16:30:54 nexus3.edgexfoundry.org:10003 16:30:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:54 Configure a credential helper to remove this warning. See 16:30:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:54 16:30:54 Login Succeeded 16:30:54 nexus3.edgexfoundry.org:10004 16:30:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:55 Configure a credential helper to remove this warning. See 16:30:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:55 16:30:55 Login Succeeded 16:30:55 docker.io 16:30:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:55 Configure a credential helper to remove this warning. See 16:30:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:55 16:30:55 Login Succeeded 16:30:55 ---> docker-login.sh ends [Pipeline] } 16:30:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:30:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:30:55 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 16:30:55 e01a1226a5cf77919213724cb5799907c2b0adaa 16:30:55 latest 16:30:55 2.2.0-dev.13 16:30:55 e01a1226a5cf77919213724cb5799907c2b0adaa-2.2.0-dev.13 16:30:55 main 16:30:55 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:30:56 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:e01a1226a5cf77919213724cb5799907c2b0adaa [Pipeline] isUnix [Pipeline] sh 16:30:56 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:e01a1226a5cf77919213724cb5799907c2b0adaa 16:30:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 16:30:56 cb3a7724c7ec: Preparing 16:30:56 0179d8b42b36: Preparing 16:30:56 b10a23f12424: Preparing 16:30:56 1313d68abd2c: Preparing 16:30:56 063de7fe751e: Preparing 16:30:56 f73e7dbfee58: Preparing 16:30:56 063de7fe751e: Pushed 16:30:56 0179d8b42b36: Pushed 16:30:56 cb3a7724c7ec: Pushed 16:30:56 f73e7dbfee58: Layer already exists 16:30:57 1313d68abd2c: Pushed 16:31:02 b10a23f12424: Pushed 16:31:02 e01a1226a5cf77919213724cb5799907c2b0adaa: digest: sha256:57451720db73b62603d90a55f71843d3e6ebed5b5e1c6e5a60d7c6c4aaecc865 size: 1573 [Pipeline] isUnix [Pipeline] sh 16:31:03 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:31:03 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 16:31:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 16:31:03 cb3a7724c7ec: Preparing 16:31:03 0179d8b42b36: Preparing 16:31:03 b10a23f12424: Preparing 16:31:03 1313d68abd2c: Preparing 16:31:03 063de7fe751e: Preparing 16:31:03 f73e7dbfee58: Preparing 16:31:03 f73e7dbfee58: Waiting 16:31:03 063de7fe751e: Layer already exists 16:31:03 cb3a7724c7ec: Layer already exists 16:31:03 0179d8b42b36: Layer already exists 16:31:03 1313d68abd2c: Layer already exists 16:31:03 b10a23f12424: Layer already exists 16:31:03 f73e7dbfee58: Layer already exists 16:31:03 latest: digest: sha256:57451720db73b62603d90a55f71843d3e6ebed5b5e1c6e5a60d7c6c4aaecc865 size: 1573 [Pipeline] isUnix [Pipeline] sh 16:31:04 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh 16:31:04 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.13 16:31:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 16:31:04 cb3a7724c7ec: Preparing 16:31:04 0179d8b42b36: Preparing 16:31:04 b10a23f12424: Preparing 16:31:04 1313d68abd2c: Preparing 16:31:04 063de7fe751e: Preparing 16:31:04 f73e7dbfee58: Preparing 16:31:04 f73e7dbfee58: Waiting 16:31:04 063de7fe751e: Layer already exists 16:31:04 1313d68abd2c: Layer already exists 16:31:04 b10a23f12424: Layer already exists 16:31:04 cb3a7724c7ec: Layer already exists 16:31:04 0179d8b42b36: Layer already exists 16:31:04 f73e7dbfee58: Layer already exists 16:31:04 2.2.0-dev.13: digest: sha256:57451720db73b62603d90a55f71843d3e6ebed5b5e1c6e5a60d7c6c4aaecc865 size: 1573 [Pipeline] isUnix [Pipeline] sh 16:31:04 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:e01a1226a5cf77919213724cb5799907c2b0adaa-2.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh 16:31:05 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:e01a1226a5cf77919213724cb5799907c2b0adaa-2.2.0-dev.13 16:31:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 16:31:05 cb3a7724c7ec: Preparing 16:31:05 0179d8b42b36: Preparing 16:31:05 b10a23f12424: Preparing 16:31:05 1313d68abd2c: Preparing 16:31:05 063de7fe751e: Preparing 16:31:05 f73e7dbfee58: Preparing 16:31:05 f73e7dbfee58: Waiting 16:31:05 cb3a7724c7ec: Layer already exists 16:31:05 1313d68abd2c: Layer already exists 16:31:05 b10a23f12424: Layer already exists 16:31:05 063de7fe751e: Layer already exists 16:31:05 0179d8b42b36: Layer already exists 16:31:05 f73e7dbfee58: Layer already exists 16:31:05 e01a1226a5cf77919213724cb5799907c2b0adaa-2.2.0-dev.13: digest: sha256:57451720db73b62603d90a55f71843d3e6ebed5b5e1c6e5a60d7c6c4aaecc865 size: 1573 [Pipeline] isUnix [Pipeline] sh 16:31:05 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh 16:31:06 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 16:31:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 16:31:06 cb3a7724c7ec: Preparing 16:31:06 0179d8b42b36: Preparing 16:31:06 b10a23f12424: Preparing 16:31:06 1313d68abd2c: Preparing 16:31:06 063de7fe751e: Preparing 16:31:06 f73e7dbfee58: Preparing 16:31:06 f73e7dbfee58: Waiting 16:31:06 1313d68abd2c: Layer already exists 16:31:06 b10a23f12424: Layer already exists 16:31:06 0179d8b42b36: Layer already exists 16:31:06 cb3a7724c7ec: Layer already exists 16:31:06 063de7fe751e: Layer already exists 16:31:06 f73e7dbfee58: Layer already exists 16:31:06 main: digest: sha256:57451720db73b62603d90a55f71843d3e6ebed5b5e1c6e5a60d7c6c4aaecc865 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:31:06 ===================================================== [Pipeline] echo 16:31:06 taggedImages: 16:31:06 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:e01a1226a5cf77919213724cb5799907c2b0adaa 16:31:06 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 16:31:06 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.13 16:31:06 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:e01a1226a5cf77919213724cb5799907c2b0adaa-2.2.0-dev.13 16:31:06 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:31:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:31:07 16:31:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 16:31:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:31:07 arm64: Pulling from edgex-lftools-log-publisher 16:31:07 8998bd30e6a1: Pulling fs layer 16:31:07 04944245beec: Pulling fs layer 16:31:07 699f458cf7ca: Pulling fs layer 16:31:07 765212b225bb: Pulling fs layer 16:31:07 f23df028b6ca: Pulling fs layer 16:31:07 d65c8cfc05b1: Pulling fs layer 16:31:07 2437ff75d9bd: Pulling fs layer 16:31:07 f23df028b6ca: Waiting 16:31:07 d65c8cfc05b1: Waiting 16:31:07 2437ff75d9bd: Waiting 16:31:07 765212b225bb: Waiting 16:31:07 04944245beec: Verifying Checksum 16:31:07 04944245beec: Download complete 16:31:07 765212b225bb: Verifying Checksum 16:31:07 765212b225bb: Download complete 16:31:07 f23df028b6ca: Verifying Checksum 16:31:07 f23df028b6ca: Download complete 16:31:07 d65c8cfc05b1: Verifying Checksum 16:31:07 d65c8cfc05b1: Download complete 16:31:07 699f458cf7ca: Verifying Checksum 16:31:07 699f458cf7ca: Download complete 16:31:08 8998bd30e6a1: Verifying Checksum 16:31:08 8998bd30e6a1: Download complete 16:31:10 2437ff75d9bd: Verifying Checksum 16:31:10 2437ff75d9bd: Download complete 16:31:12 8998bd30e6a1: Pull complete 16:31:13 04944245beec: Pull complete 16:31:14 699f458cf7ca: Pull complete 16:31:14 765212b225bb: Pull complete 16:31:15 f23df028b6ca: Pull complete 16:31:15 d65c8cfc05b1: Pull complete 16:31:30 2437ff75d9bd: Pull complete 16:31:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:31:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:31:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 16:31:31 prd-ubuntu20.04-docker-arm64-4c-16g-28021 does not seem to be running inside a container 16:31:31 $ 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/31 -v /w/workspace/device-modbus-go/31:/w/workspace/device-modbus-go/31:rw,z -v /w/workspace/device-modbus-go/31@tmp:/w/workspace/device-modbus-go/31@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 16:31:33 $ docker top d84c83e18dc8de8237cf7cfd262490efc0b2b4289785dd7909f10ef833de7688 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:31:34 ---> job-cost.sh 16:31:34 lf-activate-venv: SKIPPING 16:31:34 INFO: No Stack... 16:31:34 INFO: Retrieving Pricing Info for: v3-standard-4 16:31:35 INFO: Archiving Costs [Pipeline] sh 16:31:36 + + catcut -d, -f6 16:31:36 /w/workspace/device-modbus-go/31/archives/cost.csv [Pipeline] lock 16:31:36 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-31-stack-cost] 16:31:36 Resource [jenkins-edgexfoundry-device-modbus-go-main-31-stack-cost] did not exist. Created. 16:31:36 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:31:37 /w/workspace/device-modbus-go/31@tmp/durable-6b822c71/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:31:38 + echo total: 0.10999999940395355 [Pipeline] stash 16:31:38 Warning: overwriting stash ‘stack-cost’ 16:31:38 Stashed 1 file(s) [Pipeline] } 16:31:38 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-31-stack-cost] [Pipeline] // lock [Pipeline] } 16:31:38 $ docker stop --time=1 d84c83e18dc8de8237cf7cfd262490efc0b2b4289785dd7909f10ef833de7688 16:31:39 $ docker rm -f d84c83e18dc8de8237cf7cfd262490efc0b2b4289785dd7909f10ef833de7688 [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 16:31:40 provisioning config files... 16:31:40 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config973360445558829770tmp [Pipeline] { [Pipeline] sh 16:31:40 + set +x 16:31:40 + + bash -s -- 16:31:40 curl -s https://codecov.io/bash 16:31:40 16:31:40 _____ _ 16:31:40 / ____| | | 16:31:40 | | ___ __| | ___ ___ _____ __ 16:31:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:31:40 | |___| (_) | (_| | __/ (_| (_) \ V / 16:31:40 \_____\___/ \__,_|\___|\___\___/ \_/ 16:31:40 Bash-1.0.6 16:31:40 16:31:40 16:31:40 ==> git version 2.25.1 found 16:31:40 ==> 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 16:31:40 Release-Date: 2020-01-08 16:31:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:31:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:31:40 ==> Jenkins CI detected. 16:31:40 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 16:31:40 project root: . 16:31:40 --> token set from env 16:31:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:31:40 ==> Running gcov in . (disable via -X gcov) 16:31:40 ==> Python coveragepy not found 16:31:40 ==> Searching for coverage reports in: 16:31:40 + . 16:31:40 -> Found 1 reports 16:31:40 ==> Detecting git/mercurial file structure 16:31:40 ==> Reading reports 16:31:40 + ./coverage.out bytes=24065 16:31:40 ==> Appending adjustments 16:31:40 https://docs.codecov.io/docs/fixing-reports 16:31:40 + Found adjustments 16:31:40 ==> Gzipping contents 16:31:40 4.0K /tmp/codecov.V8O7rT.gz 16:31:40 ==> Uploading reports 16:31:40 url: https://codecov.io 16:31:40 query: branch=main&commit=e01a1226a5cf77919213724cb5799907c2b0adaa&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:31:40 -> Pinging Codecov 16:31:40 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=e01a1226a5cf77919213724cb5799907c2b0adaa&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:31:41 -> Uploading to 16:31:41 https://storage.googleapis.com/codecov/v4/raw/2022-04-26/55DBCA73C666E3227836607328DD7E49/e01a1226a5cf77919213724cb5799907c2b0adaa/271dfa22-1af3-4f61-8ba5-b4d6adf33061.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220426T163140Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cf23b75910fdfca7fb043fb746c02554bd86fa0d81ff2aae86d4365ced172cb9 16:31:41 % Total % Received % Xferd Average Speed Time Time Time Current 16:31:41 Dload Upload Total Spent Left Speed 16:31:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4012 0 0 100 4012 0 16716 --:--:-- --:--:-- --:--:-- 16716 16:31:41 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/e01a1226a5cf77919213724cb5799907c2b0adaa [Pipeline] } 16:31:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:31:41 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:31:41 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:31:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:31:41 16:31:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 16:31:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:31:42 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:31:42 188c0c94c7c5: Pulling fs layer 16:31:42 0ef7d3d256c8: Pulling fs layer 16:31:42 de9db76c5a1d: Pulling fs layer 16:31:42 0eba1c9be4d2: Pulling fs layer 16:31:42 0d57e429df01: Pulling fs layer 16:31:42 4e4be7b47b0d: Pulling fs layer 16:31:42 e1f770b5df2f: Pulling fs layer 16:31:42 85a0685a4137: Pulling fs layer 16:31:42 0d57e429df01: Waiting 16:31:42 0eba1c9be4d2: Waiting 16:31:42 4e4be7b47b0d: Waiting 16:31:42 e1f770b5df2f: Waiting 16:31:42 de9db76c5a1d: Download complete 16:31:42 0ef7d3d256c8: Verifying Checksum 16:31:42 0ef7d3d256c8: Download complete 16:31:42 0d57e429df01: Verifying Checksum 16:31:42 0d57e429df01: Download complete 16:31:42 4e4be7b47b0d: Verifying Checksum 16:31:42 4e4be7b47b0d: Download complete 16:31:42 188c0c94c7c5: Verifying Checksum 16:31:42 188c0c94c7c5: Download complete 16:31:42 188c0c94c7c5: Pull complete 16:31:42 e1f770b5df2f: Verifying Checksum 16:31:42 e1f770b5df2f: Download complete 16:31:42 0ef7d3d256c8: Pull complete 16:31:42 de9db76c5a1d: Pull complete 16:31:42 0eba1c9be4d2: Verifying Checksum 16:31:42 0eba1c9be4d2: Download complete 16:31:42 85a0685a4137: Verifying Checksum 16:31:42 85a0685a4137: Download complete 16:31:46 0eba1c9be4d2: Pull complete 16:31:46 0d57e429df01: Pull complete 16:31:46 4e4be7b47b0d: Pull complete 16:31:46 e1f770b5df2f: Pull complete 16:31:49 85a0685a4137: Pull complete 16:31:49 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 16:31:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:31:49 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 16:31:50 prd-ubuntu20.04-docker-8c-8g-23806 does not seem to be running inside a container 16:31:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:31:52 $ docker top 2c266952815c209e789a201e19bcf1a5eaf2e89a9dd36124c6ba8e35bbf22602 -eo pid,comm [Pipeline] { [Pipeline] echo 16:31:52 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 16:31:53 + set -o pipefail 16:31:53 + snyk monitor '--org=edgex-jenkins' 16:31:58 16:31:58 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 16:31:58 16:31:58 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/2cbb335f-5088-4c74-8822-0725dd3f5d7c 16:31:58 16:31:58 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 16:31:58 16:31:58 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:31:58 16:31:58 [Pipeline] } 16:31:58 $ docker stop --time=1 2c266952815c209e789a201e19bcf1a5eaf2e89a9dd36124c6ba8e35bbf22602 16:32:01 $ docker rm -f 2c266952815c209e789a201e19bcf1a5eaf2e89a9dd36124c6ba8e35bbf22602 [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 16:32:01 + git log --format=format:%s -1 e01a1226a5cf77919213724cb5799907c2b0adaa [Pipeline] sh 16:32:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:32:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:32:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:32:02 . [Pipeline] withDockerContainer 16:32:02 prd-ubuntu20.04-docker-8c-8g-23806 does not seem to be running inside a container 16:32:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:32:02 $ docker top e89a3520d38cca6a4149025a3ed09477eb0ea09d4e21ba59ef26b62590dc7dab -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:32:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:32:03 [ssh-agent] Looking for ssh-agent implementation... 16:32:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:32:03 $ docker exec e89a3520d38cca6a4149025a3ed09477eb0ea09d4e21ba59ef26b62590dc7dab ssh-agent 16:32:03 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIlnHOc/agent.14 16:32:03 SSH_AGENT_PID=20 16:32:03 Running ssh-add (command line suppressed) 16:32:03 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8111125144545277263.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8111125144545277263.key) 16:32:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:32:03 + git semver tag 16:32:03 # -> Open(): unable to determine branch for HEAD 16:32:03 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 16:32:03 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 16:32:03 # $SEMVER_REMOTE_NAME = origin 16:32:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:32:03 # $SEMVER_USER_NAME = edgex-jenkins 16:32:03 # $SEMVER_BRANCH = main 16:32:03 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver 16:32:03 # e01a1226a5cf77919213724cb5799907c2b0adaa HEAD 16:32:03 # -> Force: false 16:32:03 # 71381e8fbb91020a9acf9f43440a2016c307d25a refs/tags/v2.2.0-dev.13 [Pipeline] } 16:32:03 $ docker exec --env ******** --env ******** e89a3520d38cca6a4149025a3ed09477eb0ea09d4e21ba59ef26b62590dc7dab ssh-agent -k 16:32:03 unset SSH_AUTH_SOCK; 16:32:03 unset SSH_AGENT_PID; 16:32:03 echo Agent pid 20 killed; 16:32:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:32:04 + git semver [Pipeline] } 16:32:04 $ docker stop --time=1 e89a3520d38cca6a4149025a3ed09477eb0ea09d4e21ba59ef26b62590dc7dab 16:32:05 $ docker rm -f e89a3520d38cca6a4149025a3ed09477eb0ea09d4e21ba59ef26b62590dc7dab [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 16:32:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:32:05 16:32:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 16:32:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:32:06 0.23.1-centos7: Pulling from edgex-lftools 16:32:06 ab5ef0e58194: Pulling fs layer 16:32:06 9712f1f96733: Pulling fs layer 16:32:06 63f879dbbcfc: Pulling fs layer 16:32:06 0d9ebad4ef96: Pulling fs layer 16:32:06 e9a5061849ea: Pulling fs layer 16:32:06 d747dcd14b5f: Pulling fs layer 16:32:06 2de7ff778b66: Pulling fs layer 16:32:06 0d9ebad4ef96: Waiting 16:32:06 e9a5061849ea: Waiting 16:32:06 d747dcd14b5f: Waiting 16:32:06 2de7ff778b66: Waiting 16:32:06 9712f1f96733: Verifying Checksum 16:32:06 63f879dbbcfc: Verifying Checksum 16:32:06 63f879dbbcfc: Download complete 16:32:06 e9a5061849ea: Verifying Checksum 16:32:06 e9a5061849ea: Download complete 16:32:06 d747dcd14b5f: Download complete 16:32:06 0d9ebad4ef96: Verifying Checksum 16:32:06 0d9ebad4ef96: Download complete 16:32:06 ab5ef0e58194: Verifying Checksum 16:32:06 ab5ef0e58194: Download complete 16:32:06 2de7ff778b66: Verifying Checksum 16:32:06 2de7ff778b66: Download complete 16:32:09 ab5ef0e58194: Pull complete 16:32:09 9712f1f96733: Pull complete 16:32:10 63f879dbbcfc: Pull complete 16:32:14 0d9ebad4ef96: Pull complete 16:32:14 e9a5061849ea: Pull complete 16:32:14 d747dcd14b5f: Pull complete 16:32:15 2de7ff778b66: Pull complete 16:32:15 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:32:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:32:15 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 16:32:15 prd-ubuntu20.04-docker-8c-8g-23806 does not seem to be running inside a container 16:32:15 $ 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 16:32:17 $ docker top be79224f828dedd0f1dc94d551101bb31124a2e03ce18f1743f7cc055c0c37ed -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:32:17 provisioning config files... 16:32:17 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5461082034192796089tmp 16:32:17 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8255795447252307936tmp 16:32:17 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5036840989751097971tmp [Pipeline] { [Pipeline] echo 16:32:17 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:32:18 ---> sigul-configuration.sh 16:32:18 gpg: directory `/root/.gnupg' created 16:32:18 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:32:18 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:32:18 gpg: keyring `/root/.gnupg/secring.gpg' created 16:32:18 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:32:18 gpg: CAST5 encrypted data 16:32:18 gpg: encrypted with 1 passphrase 16:32:18 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:32:18 + mkdir /home/jenkins 16:32:18 + mkdir /home/jenkins/sigul [Pipeline] sh 16:32:18 + 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 16:32:18 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:32:19 ---> sigul-install.sh 16:32:19 Sigul already installed; skipping installation. [Pipeline] sh 16:32:19 + git tag --list 16:32:19 0.7.1 16:32:19 v1.0.0 16:32:19 v1.1.0 16:32:19 v1.1.1 16:32:19 v1.2.2 16:32:19 v1.3.0 16:32:19 v1.3.1 16:32:19 v2.0.0 16:32:19 v2.0.1-dev.1 16:32:19 v2.0.1-dev.10 16:32:19 v2.0.1-dev.11 16:32:19 v2.0.1-dev.12 16:32:19 v2.0.1-dev.2 16:32:19 v2.0.1-dev.3 16:32:19 v2.0.1-dev.4 16:32:19 v2.0.1-dev.5 16:32:19 v2.0.1-dev.6 16:32:19 v2.0.1-dev.7 16:32:19 v2.0.1-dev.8 16:32:19 v2.0.1-dev.9 16:32:19 v2.1.0 16:32:19 v2.2.0-dev.1 16:32:19 v2.2.0-dev.10 16:32:19 v2.2.0-dev.11 16:32:19 v2.2.0-dev.12 16:32:19 v2.2.0-dev.13 16:32:19 v2.2.0-dev.2 16:32:19 v2.2.0-dev.3 16:32:19 v2.2.0-dev.4 16:32:19 v2.2.0-dev.5 16:32:19 v2.2.0-dev.6 16:32:19 v2.2.0-dev.7 16:32:19 v2.2.0-dev.8 16:32:19 v2.2.0-dev.9 [Pipeline] sh 16:32:19 + lftools sign git-tag v2.2.0-dev.13 16:32:20 Signing Git tag with Sigul... 16:32:20 Signing v2.2.0-dev.13 [Pipeline] echo 16:32:20 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:32:21 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:32:21 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:32:21 $ docker stop --time=1 be79224f828dedd0f1dc94d551101bb31124a2e03ce18f1743f7cc055c0c37ed 16:32:22 $ docker rm -f be79224f828dedd0f1dc94d551101bb31124a2e03ce18f1743f7cc055c0c37ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:32:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:32:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:32:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:32:23 . [Pipeline] withDockerContainer 16:32:23 prd-ubuntu20.04-docker-8c-8g-23806 does not seem to be running inside a container 16:32:23 $ 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 16:32:23 $ docker top 561c745590f6336da80eb8650ab5d756c1c359f976613d7e0a112390c070e3c5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:32:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:32:23 [ssh-agent] Looking for ssh-agent implementation... 16:32:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:32:23 $ docker exec 561c745590f6336da80eb8650ab5d756c1c359f976613d7e0a112390c070e3c5 ssh-agent 16:32:24 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhJbGoG/agent.14 16:32:24 SSH_AGENT_PID=21 16:32:24 Running ssh-add (command line suppressed) 16:32:24 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_247018659505377276.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_247018659505377276.key) 16:32:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:32:24 + git semver bump pre 16:32:24 # -> Open(): unable to determine branch for HEAD 16:32:24 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 16:32:24 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 16:32:24 # $SEMVER_REMOTE_NAME = origin 16:32:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:32:24 # $SEMVER_USER_NAME = edgex-jenkins 16:32:24 # $SEMVER_BRANCH = main 16:32:24 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver 16:32:24 2.2.0-dev.14 [Pipeline] } 16:32:24 $ docker exec --env ******** --env ******** 561c745590f6336da80eb8650ab5d756c1c359f976613d7e0a112390c070e3c5 ssh-agent -k 16:32:24 unset SSH_AUTH_SOCK; 16:32:24 unset SSH_AGENT_PID; 16:32:24 echo Agent pid 21 killed; 16:32:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:32:24 + git semver [Pipeline] } 16:32:24 $ docker stop --time=1 561c745590f6336da80eb8650ab5d756c1c359f976613d7e0a112390c070e3c5 16:32:26 $ docker rm -f 561c745590f6336da80eb8650ab5d756c1c359f976613d7e0a112390c070e3c5 [Pipeline] // withDockerContainer [Pipeline] sh 16:32:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:32:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:32:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:32:26 . [Pipeline] withDockerContainer 16:32:26 prd-ubuntu20.04-docker-8c-8g-23806 does not seem to be running inside a container 16:32:27 $ 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 16:32:27 $ docker top d51a1e137289bf0ea7268994f8d2f812c78d2a3e84f7a907ac9fc4f6eb66e168 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:32:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:32:27 [ssh-agent] Looking for ssh-agent implementation... 16:32:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:32:27 $ docker exec d51a1e137289bf0ea7268994f8d2f812c78d2a3e84f7a907ac9fc4f6eb66e168 ssh-agent 16:32:27 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXboPHac/agent.14 16:32:27 SSH_AGENT_PID=21 16:32:27 Running ssh-add (command line suppressed) 16:32:27 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2826087358061322948.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2826087358061322948.key) 16:32:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:32:28 + git semver push 16:32:28 # -> Open(): unable to determine branch for HEAD 16:32:28 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 16:32:28 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 16:32:28 # $SEMVER_REMOTE_NAME = origin 16:32:28 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:32:28 # $SEMVER_USER_NAME = edgex-jenkins 16:32:28 # $SEMVER_BRANCH = main 16:32:28 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } 16:32:30 $ docker exec --env ******** --env ******** d51a1e137289bf0ea7268994f8d2f812c78d2a3e84f7a907ac9fc4f6eb66e168 ssh-agent -k 16:32:30 unset SSH_AUTH_SOCK; 16:32:30 unset SSH_AGENT_PID; 16:32:30 echo Agent pid 21 killed; 16:32:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:32:31 + git semver [Pipeline] } 16:32:31 $ docker stop --time=1 d51a1e137289bf0ea7268994f8d2f812c78d2a3e84f7a907ac9fc4f6eb66e168 16:32:32 $ docker rm -f d51a1e137289bf0ea7268994f8d2f812c78d2a3e84f7a907ac9fc4f6eb66e168 [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 16:32:33 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 16:32:33 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 16:32:33 total 16 16:32:33 drwxr-xr-x 3 root root 4096 Apr 26 15:45 . 16:32:33 drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 16:32 .. 16:32:33 drwxr-xr-x 2 root root 4096 Apr 26 15:45 cost 16:32:33 -rw-r--r-- 1 root root 86 Apr 26 15:45 cost.csv 16:32:33 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 16:32:33 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 16:32:33 total 16 16:32:33 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 15:45 . 16:32:33 drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 16:32 .. 16:32:33 drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 15:45 cost 16:32:33 -rw-r--r-- 1 jenkins jenkins 86 Apr 26 15:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:32:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:32:34 ---> package-listing.sh 16:32:34 ++ facter osfamily 16:32:34 ++ tr '[:upper:]' '[:lower:]' 16:32:34 + OS_FAMILY=debian 16:32:34 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 16:32:34 + START_PACKAGES=/tmp/packages_start.txt 16:32:34 + END_PACKAGES=/tmp/packages_end.txt 16:32:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:32:34 + PACKAGES=/tmp/packages_start.txt 16:32:34 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 16:32:34 + PACKAGES=/tmp/packages_end.txt 16:32:34 + case "${OS_FAMILY}" in 16:32:34 + dpkg -l 16:32:34 + grep '^ii' 16:32:34 + '[' -f /tmp/packages_start.txt ']' 16:32:34 + '[' -f /tmp/packages_end.txt ']' 16:32:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:32:34 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 16:32:34 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 16:32:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 16:32:34 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 16:32:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:32:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:32:35 . [Pipeline] withDockerContainer 16:32:35 prd-ubuntu20.04-docker-8c-8g-23806 does not seem to be running inside a container 16:32:35 $ 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 16:32:35 $ docker top 6c5da8c52b98777746a34af96b1d5d8c73ee3b9ab8bbc1fd3e35080bc7f0d1c4 -eo pid,comm [Pipeline] { [Pipeline] sh 16:32:36 + touch /tmp/pre-build-complete [Pipeline] sh 16:32:36 + mkdir -p /var/log/sysstat [Pipeline] sh 16:32:36 + ls /var/log/sa-host 16:32:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:32:36 provisioning config files... 16:32:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config128462635144062917tmp [Pipeline] { [Pipeline] echo 16:32:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:32:37 ---> create-netrc.sh [Pipeline] } 16:32:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:32:37 ---> python-tools-install.sh [Pipeline] echo 16:32:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:32:37 ---> sudo-logs.sh 16:32:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:32:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:32:38 ---> job-cost.sh 16:32:38 lf-activate-venv: SKIPPING 16:32:38 DEBUG: total: 0.2199999988079071 16:32:38 INFO: Retrieving Stack Cost... 16:32:38 INFO: Retrieving Pricing Info for: v3-standard-8 16:32:39 INFO: Archiving Costs [Pipeline] echo 16:32:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:32:39 ---> logs-deploy.sh 16:32:39 lf-activate-venv: SKIPPING 16:32:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/31 16:32:39 INFO: archiving workspace using pattern(s): 16:32:40 Archives upload complete. 16:32:40 INFO: archiving logs to Nexus