Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1c15b26e628de1330ea15a2b39e616284bb6f9fc 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-ssh11391676195275445562.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-ssh11071874370424256202.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-ssh6745581413808829432.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-ssh11739112890278530968.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-ssh12084046777641247786.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:true] ========================================================= [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: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-11758 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 1c15b26e628de1330ea15a2b39e616284bb6f9fc (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 1c15b26e628de1330ea15a2b39e616284bb6f9fc # timeout=10 Commit message: "Merge pull request #326 from jpwhitemn/enable-security-hardening" > git rev-list --no-walk 9122622c7a3d7137d535c6a9496be9c9c3374114 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:05:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:05:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:05:15 ========================================================= 05:05:15 EdgeX Global Pipelines Version Info 05:05:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:05:16 ------------------- 05:05:16 stable info: 05:05:16 ------------------- 05:05:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:05:16 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 05:05:16 Message: update stable to v1.0.221 05:05:16 ------------------- 05:05:16 experimental info: 05:05:16 ------------------- 05:05:16 Commited By: **** collab-it+edgex@linuxfoundation.org 05:05:16 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 05:05:16 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:05:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:05:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:05:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:05:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:05:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:05:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:05:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:05:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:05:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:05:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:05:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:05:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:05:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:05:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:05:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:05:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:05:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:05:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:05:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:05:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 05:05:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:05:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:05:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:05:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:05:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:05:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:05:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:05:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:05:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:05:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1c15b26e628de1330ea15a2b39e616284bb6f9fc [Pipeline] echo 05:05:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1c15b26 [Pipeline] echo 05:05:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:05:17 provisioning config files... 05:05:17 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config913833380396349504tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:17 ---> docker-login.sh 05:05:17 nexus3.edgexfoundry.org:10001 05:05:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:17 Configure a credential helper to remove this warning. See 05:05:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:17 05:05:17 Login Succeeded 05:05:17 nexus3.edgexfoundry.org:10002 05:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:18 Configure a credential helper to remove this warning. See 05:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:18 05:05:18 Login Succeeded 05:05:18 nexus3.edgexfoundry.org:10003 05:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:18 Configure a credential helper to remove this warning. See 05:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:18 05:05:18 Login Succeeded 05:05:18 nexus3.edgexfoundry.org:10004 05:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:18 Configure a credential helper to remove this warning. See 05:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:18 05:05:18 Login Succeeded 05:05:18 docker.io 05:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:19 Configure a credential helper to remove this warning. See 05:05:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:19 05:05:19 Login Succeeded 05:05:19 ---> docker-login.sh ends [Pipeline] } 05:05:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:05:19 + git rev-list -1 --merges 1c15b26e628de1330ea15a2b39e616284bb6f9fc~1..1c15b26e628de1330ea15a2b39e616284bb6f9fc [Pipeline] echo 05:05:19 -----------> git rev-list -1 --merges 1c15b26e628de1330ea15a2b39e616284bb6f9fc~1..1c15b26e628de1330ea15a2b39e616284bb6f9fc 1c15b26e628de1330ea15a2b39e616284bb6f9fc 05:05:19 1c15b26e628de1330ea15a2b39e616284bb6f9fc [false] [Pipeline] sh 05:05:19 + git log --format=format:%s -1 1c15b26e628de1330ea15a2b39e616284bb6f9fc [Pipeline] echo 05:05:19 ========================================================= 05:05:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:05:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:05:20 + git log --format=format:%s -1 1c15b26e628de1330ea15a2b39e616284bb6f9fc [Pipeline] echo 05:05:20 [semverPrep] GIT_COMMIT: 1c15b26e628de1330ea15a2b39e616284bb6f9fc, Commit Message: Merge pull request #326 from jpwhitemn/enable-security-hardening [Pipeline] echo 05:05:20 [semverPrep] This is not a build commit. [Pipeline] sh 05:05:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:05:20 + grep -v github /etc/ssh/ssh_known_hosts 05:05:20 + [ -e /tmp/ssh_known_hosts ] 05:05:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:05:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:05:20 + sudo tee -a /etc/ssh/ssh_known_hosts 05:05:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:05:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:05:21 05:05:21 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:05:21 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:05:21 latest: Pulling from edgex-devops/git-semver 05:05:21 a0d0a0d46f8b: Pulling fs layer 05:05:21 3e5f54012d9b: Pulling fs layer 05:05:21 4c7163046ea9: Pulling fs layer 05:05:21 0c2d73faf560: Pulling fs layer 05:05:21 0c2d73faf560: Waiting 05:05:21 3e5f54012d9b: Download complete 05:05:21 a0d0a0d46f8b: Download complete 05:05:21 0c2d73faf560: Verifying Checksum 05:05:21 0c2d73faf560: Download complete 05:05:21 4c7163046ea9: Verifying Checksum 05:05:21 4c7163046ea9: Download complete 05:05:21 a0d0a0d46f8b: Pull complete 05:05:21 3e5f54012d9b: Pull complete 05:05:21 4c7163046ea9: Pull complete 05:05:22 0c2d73faf560: Pull complete 05:05:22 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 05:05:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:05:22 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:05:22 prd-ubuntu20.04-docker-8c-8g-11758 does not seem to be running inside a container 05:05:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:05:22 $ docker top 5f67508b9506d56566d3ea7595e38e8ef1f4009e2e15279c3442d5a76c1dbae5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:05:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:05:23 [ssh-agent] Looking for ssh-agent implementation... 05:05:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:05:23 $ docker exec 5f67508b9506d56566d3ea7595e38e8ef1f4009e2e15279c3442d5a76c1dbae5 ssh-agent 05:05:23 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCCciKl/agent.14 05:05:23 SSH_AGENT_PID=21 05:05:23 Running ssh-add (command line suppressed) 05:05:23 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3927931897840046108.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3927931897840046108.key) 05:05:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:05:23 + git tag --points-at HEAD [Pipeline] } 05:05:23 $ docker exec --env ******** --env ******** 5f67508b9506d56566d3ea7595e38e8ef1f4009e2e15279c3442d5a76c1dbae5 ssh-agent -k 05:05:23 unset SSH_AUTH_SOCK; 05:05:23 unset SSH_AGENT_PID; 05:05:23 echo Agent pid 21 killed; 05:05:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:05:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:05:23 [ssh-agent] Looking for ssh-agent implementation... 05:05:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:05:24 $ docker exec 5f67508b9506d56566d3ea7595e38e8ef1f4009e2e15279c3442d5a76c1dbae5 ssh-agent 05:05:24 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdkCjFE/agent.55 05:05:24 SSH_AGENT_PID=61 05:05:24 Running ssh-add (command line suppressed) 05:05:24 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6035351820201250274.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6035351820201250274.key) 05:05:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:05:24 + git semver init 05:05:24 # -> Open(): unable to determine branch for HEAD 05:05:24 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 05:05:24 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 05:05:24 # $SEMVER_REMOTE_NAME = origin 05:05:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:05:24 # $SEMVER_USER_NAME = edgex-jenkins 05:05:24 # $SEMVER_BRANCH = main 05:05:24 # $SEMVER_TEMP = /tmp/semver-688361841 05:05:24 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 05:05:25 # '/tmp/semver-688361841' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' 05:05:25 # -> Force: false 05:05:25 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } 05:05:25 $ docker exec --env ******** --env ******** 5f67508b9506d56566d3ea7595e38e8ef1f4009e2e15279c3442d5a76c1dbae5 ssh-agent -k 05:05:25 unset SSH_AUTH_SOCK; 05:05:25 unset SSH_AGENT_PID; 05:05:25 echo Agent pid 61 killed; 05:05:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:05:26 + git semver [Pipeline] } 05:05:26 $ docker stop --time=1 5f67508b9506d56566d3ea7595e38e8ef1f4009e2e15279c3442d5a76c1dbae5 05:05:27 $ docker rm -f 5f67508b9506d56566d3ea7595e38e8ef1f4009e2e15279c3442d5a76c1dbae5 [Pipeline] // withDockerContainer [Pipeline] sh 05:05:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:05:28 Stashed 1 file(s) [Pipeline] echo 05:05:28 [edgeXSemver]: initialized semver on version 2.2.0-dev.10 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:05:28 provisioning config files... 05:05:28 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2026708001386756684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:28 ---> docker-login.sh 05:05:28 nexus3.edgexfoundry.org:10001 05:05:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:28 Configure a credential helper to remove this warning. See 05:05:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:28 05:05:28 Login Succeeded 05:05:28 nexus3.edgexfoundry.org:10002 05:05:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:28 Configure a credential helper to remove this warning. See 05:05:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:28 05:05:28 Login Succeeded 05:05:28 nexus3.edgexfoundry.org:10003 05:05:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:28 Configure a credential helper to remove this warning. See 05:05:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:28 05:05:28 Login Succeeded 05:05:28 nexus3.edgexfoundry.org:10004 05:05:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:29 Configure a credential helper to remove this warning. See 05:05:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:29 05:05:29 Login Succeeded 05:05:29 docker.io 05:05:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:29 Configure a credential helper to remove this warning. See 05:05:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:29 05:05:29 Login Succeeded 05:05:29 ---> docker-login.sh ends [Pipeline] } 05:05:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:05:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:05:29 ========================================================= 05:05:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:05:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:05:29 + 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 . 05:05:29 Sending build context to Docker daemon 5.757MB 05:05:29 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 05:05:29 Step 2/10 : FROM ${BASE} AS builder 05:05:29 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:05:29 59bf1c3509f3: Pulling fs layer 05:05:29 666ba61612fd: Pulling fs layer 05:05:29 8ed8ca486205: Pulling fs layer 05:05:29 4fe6c5a15a65: Pulling fs layer 05:05:29 22a0e8bec74d: Pulling fs layer 05:05:29 640e595b4fbd: Pulling fs layer 05:05:29 763cafe07f6e: Pulling fs layer 05:05:29 0c0b528cf693: Pulling fs layer 05:05:29 10935f4eaf8b: Pulling fs layer 05:05:29 4fe6c5a15a65: Waiting 05:05:29 22a0e8bec74d: Waiting 05:05:29 640e595b4fbd: Waiting 05:05:29 10935f4eaf8b: Waiting 05:05:29 763cafe07f6e: Waiting 05:05:29 0c0b528cf693: Waiting 05:05:29 8ed8ca486205: Download complete 05:05:29 666ba61612fd: Verifying Checksum 05:05:29 666ba61612fd: Download complete 05:05:29 22a0e8bec74d: Verifying Checksum 05:05:29 22a0e8bec74d: Download complete 05:05:29 640e595b4fbd: Verifying Checksum 05:05:29 640e595b4fbd: Download complete 05:05:29 59bf1c3509f3: Verifying Checksum 05:05:29 59bf1c3509f3: Download complete 05:05:29 763cafe07f6e: Download complete 05:05:29 0c0b528cf693: Verifying Checksum 05:05:29 0c0b528cf693: Download complete 05:05:29 59bf1c3509f3: Pull complete 05:05:30 666ba61612fd: Pull complete 05:05:30 8ed8ca486205: Pull complete 05:05:30 10935f4eaf8b: Verifying Checksum 05:05:30 10935f4eaf8b: Download complete 05:05:30 4fe6c5a15a65: Verifying Checksum 05:05:30 4fe6c5a15a65: Download complete 05:05:34 4fe6c5a15a65: Pull complete 05:05:34 22a0e8bec74d: Pull complete 05:05:34 640e595b4fbd: Pull complete 05:05:34 763cafe07f6e: Pull complete 05:05:35 0c0b528cf693: Pull complete 05:05:37 10935f4eaf8b: Pull complete 05:05:37 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 05:05:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:05:37 ---> 99d49a6021b9 05:05:37 Step 3/10 : ARG MAKE='make build' 05:05:39 ---> Running in 9f0864a8464a 05:05:39 Removing intermediate container 9f0864a8464a 05:05:39 ---> 073d4229d120 05:05:39 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:05:39 ---> Running in 616bcfc6d9a7 05:05:40 Removing intermediate container 616bcfc6d9a7 05:05:40 ---> 5a31919f615a 05:05:40 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:05:40 ---> Running in da7d7c029318 05:05:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:05:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:05:41 (1/8) Installing openssh-keygen (8.8_p1-r1) 05:05:42 (2/8) Installing libedit (20210910.3.1-r0) 05:05:42 (3/8) Installing openssh-client-common (8.8_p1-r1) 05:05:42 (4/8) Installing openssh-client-default (8.8_p1-r1) 05:05:42 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 05:05:42 (6/8) Installing openssh-server-common (8.8_p1-r1) 05:05:42 (7/8) Installing openssh-server (8.8_p1-r1) 05:05:42 (8/8) Installing openssh (8.8_p1-r1) 05:05:42 Executing busybox-1.34.1-r3.trigger 05:05:42 OK: 226 MiB in 60 packages 05:05:43 Still waiting to schedule task 05:05:43 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 05:05:43 Removing intermediate container da7d7c029318 05:05:43 ---> 497321f6a1cf 05:05:43 Step 6/10 : WORKDIR /device-modbus-go 05:05:43 ---> Running in ef4dcef96e2f 05:05:43 Removing intermediate container ef4dcef96e2f 05:05:43 ---> 77dd5111b788 05:05:43 Step 7/10 : COPY go.mod vendor* ./ 05:05:43 ---> acc58e608a82 05:05:43 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:05:43 ---> Running in c9c7ae62344e 05:05:58 Removing intermediate container c9c7ae62344e 05:05:58 ---> 1ac596751e59 05:05:58 Step 9/10 : COPY . . 05:05:58 ---> ddec90786936 05:05:58 Step 10/10 : RUN ${MAKE} 05:05:58 ---> Running in b619a9b9e47a 05:05:59 noop 05:05:59 Removing intermediate container b619a9b9e47a 05:05:59 ---> 7510122318cb 05:05:59 Successfully built 7510122318cb 05:05:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:05:59 + docker inspect -f . ci-base-image-x86_64 05:05:59 . [Pipeline] withDockerContainer 05:05:59 prd-ubuntu20.04-docker-8c-8g-11758 does not seem to be running inside a container 05:05:59 $ 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 ******** -e ******** ci-base-image-x86_64 cat 05:06:00 $ docker top 7c7288bdb4b1bcf71e08ef681562196666a81320c53e40ae1bfd5370704815f5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:06:00 + go version 05:06:00 go version go1.17.6 linux/amd64 [Pipeline] } 05:06:00 $ docker stop --time=1 7c7288bdb4b1bcf71e08ef681562196666a81320c53e40ae1bfd5370704815f5 05:06:01 $ docker rm -f 7c7288bdb4b1bcf71e08ef681562196666a81320c53e40ae1bfd5370704815f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:06:02 + docker inspect -f . ci-base-image-x86_64 05:06:02 . [Pipeline] withDockerContainer 05:06:02 prd-ubuntu20.04-docker-8c-8g-11758 does not seem to be running inside a container 05:06:02 $ 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 ******** -e ******** ci-base-image-x86_64 cat 05:06:02 $ docker top c5833d6dba901240b1edaa4fbab175c64ee1375cb8c4d5a13e6900f7b9a1b9d2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:06:03 + make test 05:06:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:06:03 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:06:13 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:06:13 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 46.4% of statements 05:06:18 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:06:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:06:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:06:22 ./bin/test-attribution-txt.sh [Pipeline] echo 05:06:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:06:22 $ docker stop --time=1 c5833d6dba901240b1edaa4fbab175c64ee1375cb8c4d5a13e6900f7b9a1b9d2 05:06:24 $ docker rm -f c5833d6dba901240b1edaa4fbab175c64ee1375cb8c4d5a13e6900f7b9a1b9d2 [Pipeline] // withDockerContainer [Pipeline] sh 05:06:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:06:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:06:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:06:25 + ls -al . 05:06:25 total 180 05:06:25 drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 05:06 . 05:06:25 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 05:05 .. 05:06:25 -rw-rw-r-- 1 jenkins jenkins 140 Apr 10 05:05 .dockerignore 05:06:25 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 05:05 .git 05:06:25 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:05 .github 05:06:25 -rw-rw-r-- 1 jenkins jenkins 331 Apr 10 05:05 .gitignore 05:06:25 -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 05:05 .golangci.yml 05:06:25 drwx------ 3 jenkins jenkins 4096 Apr 10 05:05 .semver 05:06:25 -rw-rw-r-- 1 jenkins jenkins 9244 Apr 10 05:05 Attribution.txt 05:06:25 -rw-rw-r-- 1 jenkins jenkins 6038 Apr 10 05:05 CHANGELOG.md 05:06:25 -rw-rw-r-- 1 jenkins jenkins 1546 Apr 10 05:05 Dockerfile 05:06:25 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 05:05 GOVERNANCE.md 05:06:25 -rw-rw-r-- 1 jenkins jenkins 679 Apr 10 05:05 Jenkinsfile 05:06:25 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 05:05 LICENSE 05:06:25 -rw-rw-r-- 1 jenkins jenkins 1905 Apr 10 05:05 Makefile 05:06:25 -rw-rw-r-- 1 jenkins jenkins 622 Apr 10 05:05 OWNERS.md 05:06:25 -rw-rw-r-- 1 jenkins jenkins 3680 Apr 10 05:05 README.md 05:06:25 -rw-rw-r-- 1 jenkins jenkins 12 Apr 10 05:05 VERSION 05:06:25 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:05 bin 05:06:25 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:05 cmd 05:06:25 -rw-r--r-- 1 jenkins jenkins 24065 Apr 10 05:06 coverage.out 05:06:25 -rw-rw-r-- 1 jenkins jenkins 3306 Apr 10 05:05 go.mod 05:06:25 -rw-rw-r-- 1 jenkins jenkins 34903 Apr 10 05:05 go.sum 05:06:25 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:05 internal 05:06:25 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:05 simulator 05:06:25 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 05:05 snap 05:06:25 -rw-rw-r-- 1 jenkins jenkins 229 Apr 10 05:05 version.go [Pipeline] isUnix [Pipeline] sh 05:06:25 + 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=1c15b26e628de1330ea15a2b39e616284bb6f9fc --label arch=amd64 --label version=2.2.0-dev.10 . 05:06:25 Sending build context to Docker daemon 5.782MB 05:06:25 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 05:06:25 Step 2/23 : FROM ${BASE} AS builder 05:06:25 ---> 7510122318cb 05:06:25 Step 3/23 : ARG MAKE='make build' 05:06:25 ---> Running in fda1f28e478a 05:06:26 Removing intermediate container fda1f28e478a 05:06:26 ---> 3eab2c1381a7 05:06:26 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:06:26 ---> Running in 1bbbb7e319db 05:06:26 Removing intermediate container 1bbbb7e319db 05:06:26 ---> c834f16696c8 05:06:26 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:06:26 ---> Running in 9da1c085f969 05:06:27 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:06:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:06:28 OK: 226 MiB in 60 packages 05:06:28 Removing intermediate container 9da1c085f969 05:06:28 ---> d28c9757765e 05:06:28 Step 6/23 : WORKDIR /device-modbus-go 05:06:28 ---> Running in a21f4bc98259 05:06:28 Removing intermediate container a21f4bc98259 05:06:28 ---> be996c183d30 05:06:28 Step 7/23 : COPY go.mod vendor* ./ 05:06:29 ---> 0911f7b78323 05:06:29 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:06:29 ---> Running in 2109cd2e7c12 05:06:29 Removing intermediate container 2109cd2e7c12 05:06:29 ---> 78a65044e6af 05:06:29 Step 9/23 : COPY . . 05:06:30 ---> 8b711548e7fb 05:06:30 Step 10/23 : RUN ${MAKE} 05:06:30 ---> Running in b971d9e4c1eb 05:06:30 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.10" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 05:06:52 Removing intermediate container b971d9e4c1eb 05:06:52 ---> 9b8ee33b6ee1 05:06:52 Step 11/23 : FROM alpine:3.14 05:06:52 3.14: Pulling from library/alpine 05:06:52 8663204ce13b: Pulling fs layer 05:06:52 8663204ce13b: Download complete 05:06:52 8663204ce13b: Pull complete 05:06:52 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:06:52 Status: Downloaded newer image for alpine:3.14 05:06:52 ---> e04c818066af 05:06:52 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:06:52 ---> Running in a7e7de652745 05:06:52 Removing intermediate container a7e7de652745 05:06:52 ---> d1204efb67dc 05:06:52 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:06:52 ---> Running in a1670fdd18f7 05:06:52 Removing intermediate container a1670fdd18f7 05:06:52 ---> e15328fa122e 05:06:52 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 05:06:52 ---> Running in 2cb42e534792 05:06:52 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:06:52 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:06:52 (1/6) Installing dumb-init (1.2.5-r1) 05:06:52 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:06:52 (3/6) Installing libsodium (1.0.18-r0) 05:06:52 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:06:52 (5/6) Installing libzmq (4.3.4-r0) 05:06:52 (6/6) Installing zeromq (4.3.4-r0) 05:06:52 Executing busybox-1.33.1-r7.trigger 05:06:52 OK: 8 MiB in 20 packages 05:06:53 Removing intermediate container 2cb42e534792 05:06:53 ---> 357f301c10fa 05:06:53 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:06:54 ---> 50770cabf856 05:06:54 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:06:54 ---> 27cbceb66a58 05:06:54 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:06:54 ---> 7cc69fb7b7bc 05:06:54 Step 18/23 : EXPOSE 59901 05:06:54 ---> Running in 1fcdf2d090c9 05:06:54 Removing intermediate container 1fcdf2d090c9 05:06:54 ---> fd429802736a 05:06:54 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:06:54 ---> Running in 984d54111adb 05:06:54 Removing intermediate container 984d54111adb 05:06:54 ---> e5871c0a15f6 05:06:54 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:06:54 ---> Running in e37bee0d750c 05:06:54 Removing intermediate container e37bee0d750c 05:06:54 ---> 043fbf123c09 05:06:54 Step 21/23 : LABEL arch=amd64 05:06:54 ---> Running in 5022b7316cfd 05:06:54 Removing intermediate container 5022b7316cfd 05:06:54 ---> 40af0be76618 05:06:54 Step 22/23 : LABEL git_sha=1c15b26e628de1330ea15a2b39e616284bb6f9fc 05:06:54 ---> Running in e5d2c1ea46a9 05:06:54 Removing intermediate container e5d2c1ea46a9 05:06:54 ---> 04e05ba71ed7 05:06:54 Step 23/23 : LABEL version=2.2.0-dev.10 05:06:54 ---> Running in 1548f296ad37 05:06:54 Removing intermediate container 1548f296ad37 05:06:54 ---> 49527007c314 05:06:54 [Warning] One or more build-args [ARCH] were not consumed 05:06:54 Successfully built 49527007c314 05:06:54 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:06:55 provisioning config files... 05:06:55 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config327596969869188959tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:55 ---> docker-login.sh 05:06:55 nexus3.edgexfoundry.org:10001 05:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:55 Configure a credential helper to remove this warning. See 05:06:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:55 05:06:55 Login Succeeded 05:06:55 nexus3.edgexfoundry.org:10002 05:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:55 Configure a credential helper to remove this warning. See 05:06:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:55 05:06:55 Login Succeeded 05:06:55 nexus3.edgexfoundry.org:10003 05:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:55 Configure a credential helper to remove this warning. See 05:06:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:55 05:06:55 Login Succeeded 05:06:55 nexus3.edgexfoundry.org:10004 05:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:55 Configure a credential helper to remove this warning. See 05:06:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:55 05:06:55 Login Succeeded 05:06:55 docker.io 05:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:56 Configure a credential helper to remove this warning. See 05:06:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:56 05:06:56 Login Succeeded 05:06:56 ---> docker-login.sh ends [Pipeline] } 05:06:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:06:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:06:56 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 05:06:56 1c15b26e628de1330ea15a2b39e616284bb6f9fc 05:06:56 latest 05:06:56 2.2.0-dev.10 05:06:56 1c15b26e628de1330ea15a2b39e616284bb6f9fc-2.2.0-dev.10 05:06:56 main 05:06:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:06:56 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1c15b26e628de1330ea15a2b39e616284bb6f9fc [Pipeline] isUnix [Pipeline] sh 05:06:56 + docker push nexus3.edgexfoundry.org:10004/device-modbus:1c15b26e628de1330ea15a2b39e616284bb6f9fc 05:06:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:06:56 b5b4e0df074c: Preparing 05:06:56 c59b94917484: Preparing 05:06:56 93966508ca67: Preparing 05:06:56 74cfab2e0265: Preparing 05:06:56 dc28cdfda21e: Preparing 05:06:56 b541d28bf3b4: Preparing 05:06:56 b541d28bf3b4: Waiting 05:06:56 c59b94917484: Pushed 05:06:56 dc28cdfda21e: Pushed 05:06:56 b5b4e0df074c: Pushed 05:06:56 b541d28bf3b4: Layer already exists 05:06:57 74cfab2e0265: Pushed 05:06:59 93966508ca67: Pushed 05:06:59 1c15b26e628de1330ea15a2b39e616284bb6f9fc: digest: sha256:6ec7d3a25bd770dc1aee9e43627b21d47736ff1353dbf6e4110ba6bd46a03336 size: 1574 [Pipeline] isUnix [Pipeline] sh 05:06:59 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh 05:07:00 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 05:07:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:07:00 b5b4e0df074c: Preparing 05:07:00 c59b94917484: Preparing 05:07:00 93966508ca67: Preparing 05:07:00 74cfab2e0265: Preparing 05:07:00 dc28cdfda21e: Preparing 05:07:00 b541d28bf3b4: Preparing 05:07:00 b541d28bf3b4: Waiting 05:07:00 93966508ca67: Layer already exists 05:07:00 c59b94917484: Layer already exists 05:07:00 b5b4e0df074c: Layer already exists 05:07:00 74cfab2e0265: Layer already exists 05:07:00 dc28cdfda21e: Layer already exists 05:07:00 b541d28bf3b4: Layer already exists 05:07:00 latest: digest: sha256:6ec7d3a25bd770dc1aee9e43627b21d47736ff1353dbf6e4110ba6bd46a03336 size: 1574 [Pipeline] isUnix [Pipeline] sh 05:07:00 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh 05:07:00 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.10 05:07:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:07:00 b5b4e0df074c: Preparing 05:07:00 c59b94917484: Preparing 05:07:00 93966508ca67: Preparing 05:07:00 74cfab2e0265: Preparing 05:07:00 dc28cdfda21e: Preparing 05:07:00 b541d28bf3b4: Preparing 05:07:00 b541d28bf3b4: Waiting 05:07:00 c59b94917484: Layer already exists 05:07:00 dc28cdfda21e: Layer already exists 05:07:00 93966508ca67: Layer already exists 05:07:00 b5b4e0df074c: Layer already exists 05:07:00 74cfab2e0265: Layer already exists 05:07:00 b541d28bf3b4: Layer already exists 05:07:00 2.2.0-dev.10: digest: sha256:6ec7d3a25bd770dc1aee9e43627b21d47736ff1353dbf6e4110ba6bd46a03336 size: 1574 [Pipeline] isUnix [Pipeline] sh 05:07:01 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1c15b26e628de1330ea15a2b39e616284bb6f9fc-2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh 05:07:01 + docker push nexus3.edgexfoundry.org:10004/device-modbus:1c15b26e628de1330ea15a2b39e616284bb6f9fc-2.2.0-dev.10 05:07:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:07:01 b5b4e0df074c: Preparing 05:07:01 c59b94917484: Preparing 05:07:01 93966508ca67: Preparing 05:07:01 74cfab2e0265: Preparing 05:07:01 dc28cdfda21e: Preparing 05:07:01 b541d28bf3b4: Preparing 05:07:01 b541d28bf3b4: Waiting 05:07:01 c59b94917484: Layer already exists 05:07:01 74cfab2e0265: Layer already exists 05:07:01 dc28cdfda21e: Layer already exists 05:07:01 93966508ca67: Layer already exists 05:07:01 b5b4e0df074c: Layer already exists 05:07:01 b541d28bf3b4: Layer already exists 05:07:01 1c15b26e628de1330ea15a2b39e616284bb6f9fc-2.2.0-dev.10: digest: sha256:6ec7d3a25bd770dc1aee9e43627b21d47736ff1353dbf6e4110ba6bd46a03336 size: 1574 [Pipeline] isUnix [Pipeline] sh 05:07:01 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh 05:07:02 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 05:07:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:07:02 b5b4e0df074c: Preparing 05:07:02 c59b94917484: Preparing 05:07:02 93966508ca67: Preparing 05:07:02 74cfab2e0265: Preparing 05:07:02 dc28cdfda21e: Preparing 05:07:02 b541d28bf3b4: Preparing 05:07:02 b541d28bf3b4: Waiting 05:07:02 74cfab2e0265: Layer already exists 05:07:02 c59b94917484: Layer already exists 05:07:02 b5b4e0df074c: Layer already exists 05:07:02 dc28cdfda21e: Layer already exists 05:07:02 93966508ca67: Layer already exists 05:07:02 b541d28bf3b4: Layer already exists 05:07:02 main: digest: sha256:6ec7d3a25bd770dc1aee9e43627b21d47736ff1353dbf6e4110ba6bd46a03336 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:07:02 ===================================================== [Pipeline] echo 05:07:02 taggedImages: 05:07:02 - nexus3.edgexfoundry.org:10004/device-modbus:1c15b26e628de1330ea15a2b39e616284bb6f9fc 05:07:02 - nexus3.edgexfoundry.org:10004/device-modbus:latest 05:07:02 - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.10 05:07:02 - nexus3.edgexfoundry.org:10004/device-modbus:1c15b26e628de1330ea15a2b39e616284bb6f9fc-2.2.0-dev.10 05:07:02 - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:07:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:07:02 05:07:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:07:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:07:02 latest: Pulling from edgex-lftools-log-publisher 05:07:02 5eb5b503b376: Pulling fs layer 05:07:02 5c69ac0246d0: Pulling fs layer 05:07:02 ec43610c2a17: Pulling fs layer 05:07:02 3a2ae6a8a46f: Pulling fs layer 05:07:02 33b1e0a273af: Pulling fs layer 05:07:02 5d3b04190fa2: Pulling fs layer 05:07:02 2f39f015ded8: Pulling fs layer 05:07:02 5d3b04190fa2: Waiting 05:07:02 33b1e0a273af: Waiting 05:07:02 2f39f015ded8: Waiting 05:07:02 3a2ae6a8a46f: Waiting 05:07:02 5c69ac0246d0: Verifying Checksum 05:07:02 5c69ac0246d0: Download complete 05:07:02 3a2ae6a8a46f: Verifying Checksum 05:07:02 3a2ae6a8a46f: Download complete 05:07:02 33b1e0a273af: Verifying Checksum 05:07:02 33b1e0a273af: Download complete 05:07:02 ec43610c2a17: Verifying Checksum 05:07:02 ec43610c2a17: Download complete 05:07:03 5eb5b503b376: Verifying Checksum 05:07:03 5eb5b503b376: Download complete 05:07:03 2f39f015ded8: Verifying Checksum 05:07:03 2f39f015ded8: Download complete 05:07:04 5eb5b503b376: Pull complete 05:07:04 5c69ac0246d0: Pull complete 05:07:04 ec43610c2a17: Pull complete 05:07:04 3a2ae6a8a46f: Pull complete 05:07:05 33b1e0a273af: Pull complete 05:07:05 5d3b04190fa2: Pull complete 05:07:09 2f39f015ded8: Pull complete 05:07:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:07:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:07:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:07:09 prd-ubuntu20.04-docker-8c-8g-11758 does not seem to be running inside a container 05:07:09 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:07:11 $ docker top ee78bd81d82b9e4bed0640af4615e7da9848359ad104ee62e8c0fc98a1ee2111 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:11 ---> job-cost.sh 05:07:11 lf-activate-venv: SKIPPING 05:07:11 INFO: No Stack... 05:07:12 INFO: Retrieving Pricing Info for: v3-standard-8 05:07:12 INFO: Archiving Costs [Pipeline] sh 05:07:12 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 05:07:12 + cut -d, -f6 [Pipeline] lock 05:07:12 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-28-stack-cost] 05:07:13 Resource [jenkins-edgexfoundry-device-modbus-go-main-28-stack-cost] did not exist. Created. 05:07:13 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:07:13 + echo total: 0.2199999988079071 [Pipeline] stash 05:07:13 Stashed 1 file(s) [Pipeline] } 05:07:13 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-28-stack-cost] [Pipeline] // lock [Pipeline] } 05:07:13 $ docker stop --time=1 ee78bd81d82b9e4bed0640af4615e7da9848359ad104ee62e8c0fc98a1ee2111 05:07:14 $ docker rm -f ee78bd81d82b9e4bed0640af4615e7da9848359ad104ee62e8c0fc98a1ee2111 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:14:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11866 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 05:14:59 Running in /w/workspace/device-modbus-go/28 [Pipeline] { [Pipeline] checkout 05:14:59 Selected Git installation does not exist. Using Default 05:14:59 The recommended git tool is: NONE 05:15:10 using credential edgex-jenkins-ssh 05:15:10 Cloning the remote Git repository 05:15:10 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:15:10 > git init /w/workspace/device-modbus-go/28 # timeout=10 05:15:10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:15:10 > git --version # timeout=10 05:15:10 > git --version # 'git version 2.25.1' 05:15:10 using GIT_SSH to set credentials SSH Credentials for GitHub 05:15:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:15:12 Avoid second fetch 05:15:12 Checking out Revision 1c15b26e628de1330ea15a2b39e616284bb6f9fc (main) 05:15:12 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:15:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:15:12 > git config core.sparsecheckout # timeout=10 05:15:12 > git checkout -f 1c15b26e628de1330ea15a2b39e616284bb6f9fc # timeout=10 05:15:18 Commit message: "Merge pull request #326 from jpwhitemn/enable-security-hardening" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:15:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:15:19 % Total % Received % Xferd Average Speed Time Time Time Current 05:15:19 Dload Upload Total Spent Left Speed 05:15:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 183k 0 --:--:-- --:--:-- --:--:-- 183k [Pipeline] sh 05:15:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:15:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:15:20 + sudo tee /etc/docker/daemon.new 05:15:20 { 05:15:20 "registry-mirrors": [ 05:15:20 "https://nexus3.edgexfoundry.org:10001" 05:15:20 ], 05:15:20 "bip": "10.250.0.254/24", 05:15:20 "hosts": [ 05:15:20 "tcp://0.0.0.0:5555", 05:15:20 "unix:///var/run/docker.sock" 05:15:20 ], 05:15:20 "mtu": 1458, 05:15:20 "selinux-enabled": true, 05:15:20 "seccomp-profile": "/etc/docker/seccomp.json" 05:15:20 } [Pipeline] sh 05:15:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:15:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:15:39 provisioning config files... 05:15:39 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/28@tmp/config2523741769846658744tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:15:40 ---> docker-login.sh 05:15:40 nexus3.edgexfoundry.org:10001 05:15:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:40 Configure a credential helper to remove this warning. See 05:15:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:40 05:15:40 Login Succeeded 05:15:40 nexus3.edgexfoundry.org:10002 05:15:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:41 Configure a credential helper to remove this warning. See 05:15:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:41 05:15:41 Login Succeeded 05:15:41 nexus3.edgexfoundry.org:10003 05:15:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:42 Configure a credential helper to remove this warning. See 05:15:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:42 05:15:42 Login Succeeded 05:15:42 nexus3.edgexfoundry.org:10004 05:15:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:42 Configure a credential helper to remove this warning. See 05:15:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:42 05:15:42 Login Succeeded 05:15:42 docker.io 05:15:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:43 Configure a credential helper to remove this warning. See 05:15:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:43 05:15:43 Login Succeeded 05:15:43 ---> docker-login.sh ends [Pipeline] } 05:15:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:15:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:15:44 ========================================================= 05:15:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:15:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:15:44 + 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 . 05:15:44 Sending build context to Docker daemon 3.014MB 05:15:44 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 05:15:44 Step 2/10 : FROM ${BASE} AS builder 05:15:45 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:15:45 9b3977197b4f: Pulling fs layer 05:15:45 1a89e8eeedd5: Pulling fs layer 05:15:45 94645a83ff95: Pulling fs layer 05:15:45 3f3a8bcf1eab: Pulling fs layer 05:15:45 0c92f367c5e7: Pulling fs layer 05:15:45 f7c0051592d6: Pulling fs layer 05:15:45 a227ed2f7395: Pulling fs layer 05:15:45 7b1c46037f91: Pulling fs layer 05:15:45 f7c0051592d6: Waiting 05:15:45 a227ed2f7395: Waiting 05:15:45 7b1c46037f91: Waiting 05:15:45 0c92f367c5e7: Waiting 05:15:45 3f3a8bcf1eab: Waiting 05:15:45 94645a83ff95: Verifying Checksum 05:15:45 94645a83ff95: Download complete 05:15:45 1a89e8eeedd5: Download complete 05:15:45 0c92f367c5e7: Verifying Checksum 05:15:45 0c92f367c5e7: Download complete 05:15:45 f7c0051592d6: Download complete 05:15:45 a227ed2f7395: Verifying Checksum 05:15:45 a227ed2f7395: Download complete 05:15:45 9b3977197b4f: Download complete 05:15:46 9b3977197b4f: Pull complete 05:15:46 1a89e8eeedd5: Pull complete 05:15:47 94645a83ff95: Pull complete 05:15:47 7b1c46037f91: Download complete 05:15:48 3f3a8bcf1eab: Verifying Checksum 05:15:48 3f3a8bcf1eab: Download complete 05:16:03 3f3a8bcf1eab: Pull complete 05:16:03 0c92f367c5e7: Pull complete 05:16:03 f7c0051592d6: Pull complete 05:16:03 a227ed2f7395: Pull complete 05:16:10 7b1c46037f91: Pull complete 05:16:10 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 05:16:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:16:10 ---> f79e39bc4007 05:16:10 Step 3/10 : ARG MAKE='make build' 05:16:10 ---> Running in d6630faec0dd 05:16:10 Removing intermediate container d6630faec0dd 05:16:10 ---> e8e7db9fe72f 05:16:10 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:16:10 ---> Running in 9e4cc52cd990 05:16:12 Removing intermediate container 9e4cc52cd990 05:16:12 ---> 13d23f7e6649 05:16:12 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:16:12 ---> Running in 924f3cd2a6c9 05:16:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:16:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:16:15 (1/8) Installing openssh-keygen (8.8_p1-r1) 05:16:15 (2/8) Installing libedit (20210910.3.1-r0) 05:16:15 (3/8) Installing openssh-client-common (8.8_p1-r1) 05:16:16 (4/8) Installing openssh-client-default (8.8_p1-r1) 05:16:16 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 05:16:16 (6/8) Installing openssh-server-common (8.8_p1-r1) 05:16:16 (7/8) Installing openssh-server (8.8_p1-r1) 05:16:16 (8/8) Installing openssh (8.8_p1-r1) 05:16:16 Executing busybox-1.34.1-r3.trigger 05:16:16 OK: 226 MiB in 60 packages 05:16:17 Removing intermediate container 924f3cd2a6c9 05:16:17 ---> c18e76966813 05:16:17 Step 6/10 : WORKDIR /device-modbus-go 05:16:17 ---> Running in fd353b1b6337 05:16:18 Removing intermediate container fd353b1b6337 05:16:18 ---> 14a4e9908011 05:16:18 Step 7/10 : COPY go.mod vendor* ./ 05:16:18 ---> 8c68235d0fa1 05:16:18 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:16:18 ---> Running in 2cf8344b8898 05:17:15 Removing intermediate container 2cf8344b8898 05:17:15 ---> 0e470f849638 05:17:15 Step 9/10 : COPY . . 05:17:15 ---> 1636f2e757ac 05:17:15 Step 10/10 : RUN ${MAKE} 05:17:15 ---> Running in e4cefbb78260 05:17:15 noop 05:17:15 Removing intermediate container e4cefbb78260 05:17:15 ---> 19e38c6ea6c7 05:17:15 Successfully built 19e38c6ea6c7 05:17:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:17:15 + docker inspect -f . ci-base-image-arm64 05:17:15 . [Pipeline] withDockerContainer 05:17:15 prd-ubuntu20.04-docker-arm64-4c-16g-11866 does not seem to be running inside a container 05:17:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/28 -v /w/workspace/device-modbus-go/28:/w/workspace/device-modbus-go/28:rw,z -v /w/workspace/device-modbus-go/28@tmp:/w/workspace/device-modbus-go/28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:17:17 $ docker top a56220f7b278e89ac5ed82274a942b5d6314be1f37cff415d2ce34d5e0f0f441 -eo pid,comm [Pipeline] { [Pipeline] sh 05:17:18 + go version 05:17:18 go version go1.17.6 linux/arm64 [Pipeline] } 05:17:18 $ docker stop --time=1 a56220f7b278e89ac5ed82274a942b5d6314be1f37cff415d2ce34d5e0f0f441 05:17:20 $ docker rm -f a56220f7b278e89ac5ed82274a942b5d6314be1f37cff415d2ce34d5e0f0f441 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:17:20 + docker inspect -f . ci-base-image-arm64 05:17:20 . [Pipeline] withDockerContainer 05:17:21 prd-ubuntu20.04-docker-arm64-4c-16g-11866 does not seem to be running inside a container 05:17:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/28 -v /w/workspace/device-modbus-go/28:/w/workspace/device-modbus-go/28:rw,z -v /w/workspace/device-modbus-go/28@tmp:/w/workspace/device-modbus-go/28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:17:22 $ docker top 6989b3f0d1b44a1aeef0b0b0324c9983aec10be79b5f4d5072113d92d1fd449e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:17:23 + make test 05:17:23 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:17:25 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:19:02 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:19:02 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.061s coverage: 46.4% of statements 05:19:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:19:02 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:19:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:19:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:19:24 ./bin/test-attribution-txt.sh [Pipeline] echo 05:19:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:19:24 $ docker stop --time=1 6989b3f0d1b44a1aeef0b0b0324c9983aec10be79b5f4d5072113d92d1fd449e 05:19:26 $ docker rm -f 6989b3f0d1b44a1aeef0b0b0324c9983aec10be79b5f4d5072113d92d1fd449e [Pipeline] // withDockerContainer [Pipeline] sh 05:19:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:19:27 Warning: overwriting stash ‘coverage-report’ 05:19:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:19:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:19:29 + ls -al . 05:19:29 total 176 05:19:29 drwxrwxr-x 9 jenkins jenkins 4096 Apr 10 05:19 . 05:19:29 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 05:15 .. 05:19:29 -rw-rw-r-- 1 jenkins jenkins 140 Apr 10 05:15 .dockerignore 05:19:29 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 05:15 .git 05:19:29 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:15 .github 05:19:29 -rw-rw-r-- 1 jenkins jenkins 331 Apr 10 05:15 .gitignore 05:19:29 -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 05:15 .golangci.yml 05:19:29 -rw-rw-r-- 1 jenkins jenkins 9244 Apr 10 05:15 Attribution.txt 05:19:29 -rw-rw-r-- 1 jenkins jenkins 6038 Apr 10 05:15 CHANGELOG.md 05:19:29 -rw-rw-r-- 1 jenkins jenkins 1546 Apr 10 05:15 Dockerfile 05:19:29 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 05:15 GOVERNANCE.md 05:19:29 -rw-rw-r-- 1 jenkins jenkins 679 Apr 10 05:15 Jenkinsfile 05:19:29 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 05:15 LICENSE 05:19:29 -rw-rw-r-- 1 jenkins jenkins 1905 Apr 10 05:15 Makefile 05:19:29 -rw-rw-r-- 1 jenkins jenkins 622 Apr 10 05:15 OWNERS.md 05:19:29 -rw-rw-r-- 1 jenkins jenkins 3680 Apr 10 05:15 README.md 05:19:29 -rw-rw-r-- 1 jenkins jenkins 12 Apr 10 05:05 VERSION 05:19:29 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:15 bin 05:19:29 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:15 cmd 05:19:29 -rw-r--r-- 1 jenkins jenkins 24065 Apr 10 05:18 coverage.out 05:19:29 -rw-rw-r-- 1 jenkins jenkins 3306 Apr 10 05:15 go.mod 05:19:29 -rw-rw-r-- 1 jenkins jenkins 34903 Apr 10 05:15 go.sum 05:19:29 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:15 internal 05:19:29 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:15 simulator 05:19:29 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 05:15 snap 05:19:29 -rw-rw-r-- 1 jenkins jenkins 229 Apr 10 05:15 version.go [Pipeline] isUnix [Pipeline] sh 05:19:29 + 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=1c15b26e628de1330ea15a2b39e616284bb6f9fc --label arch=arm64 --label version=2.2.0-dev.10 . 05:19:29 Sending build context to Docker daemon 3.039MB 05:19:29 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 05:19:29 Step 2/23 : FROM ${BASE} AS builder 05:19:29 ---> 19e38c6ea6c7 05:19:29 Step 3/23 : ARG MAKE='make build' 05:19:29 ---> Running in 982a6ddfea38 05:19:30 Removing intermediate container 982a6ddfea38 05:19:30 ---> 1dce478ca8a8 05:19:30 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:19:30 ---> Running in 8c1c8909e50d 05:19:32 Removing intermediate container 8c1c8909e50d 05:19:32 ---> fd77b39d9662 05:19:32 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:19:32 ---> Running in 8132f33c9409 05:19:33 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:19:34 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:19:35 OK: 226 MiB in 60 packages 05:19:36 Removing intermediate container 8132f33c9409 05:19:36 ---> 4fb85ffb2abd 05:19:36 Step 6/23 : WORKDIR /device-modbus-go 05:19:36 ---> Running in bed31d8c5597 05:19:36 Removing intermediate container bed31d8c5597 05:19:36 ---> b570d3caeae7 05:19:36 Step 7/23 : COPY go.mod vendor* ./ 05:19:37 ---> 09031543fc91 05:19:37 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:19:37 ---> Running in 45ffe7b98024 05:19:39 Removing intermediate container 45ffe7b98024 05:19:39 ---> a2e064b8329c 05:19:39 Step 9/23 : COPY . . 05:19:40 ---> b7cae32b81c5 05:19:40 Step 10/23 : RUN ${MAKE} 05:19:40 ---> Running in 644a8d4c35c8 05:19:41 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.10" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 05:21:48 Removing intermediate container 644a8d4c35c8 05:21:48 ---> c3a893d760ae 05:21:48 Step 11/23 : FROM alpine:3.14 05:21:48 3.14: Pulling from library/alpine 05:21:48 455c02918c45: Pulling fs layer 05:21:48 455c02918c45: Verifying Checksum 05:21:48 455c02918c45: Download complete 05:21:48 455c02918c45: Pull complete 05:21:48 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:21:48 Status: Downloaded newer image for alpine:3.14 05:21:48 ---> ac73e934f311 05:21:48 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:21:48 ---> Running in 39653c8a4e3c 05:21:48 Removing intermediate container 39653c8a4e3c 05:21:48 ---> 25aedc59cf71 05:21:48 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:21:48 ---> Running in 444c2c52c06b 05:21:49 Removing intermediate container 444c2c52c06b 05:21:49 ---> 846e4125c758 05:21:49 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 05:21:49 ---> Running in f073ce46354d 05:21:50 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:21:51 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:21:52 (1/6) Installing dumb-init (1.2.5-r1) 05:21:52 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:21:52 (3/6) Installing libsodium (1.0.18-r0) 05:21:52 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:21:52 (5/6) Installing libzmq (4.3.4-r0) 05:21:52 (6/6) Installing zeromq (4.3.4-r0) 05:21:52 Executing busybox-1.33.1-r7.trigger 05:21:52 OK: 8 MiB in 20 packages 05:21:53 Removing intermediate container f073ce46354d 05:21:53 ---> 946880c6beb0 05:21:53 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:21:55 ---> 9704e4d1edd4 05:21:55 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:21:55 ---> 48b3a96bb293 05:21:55 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:21:56 ---> a819815fefec 05:21:56 Step 18/23 : EXPOSE 59901 05:21:56 ---> Running in a1ccf67f3649 05:21:56 Removing intermediate container a1ccf67f3649 05:21:56 ---> 3076ebc2ac8c 05:21:56 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:21:56 ---> Running in 142d159cf017 05:21:56 Removing intermediate container 142d159cf017 05:21:56 ---> ced197397127 05:21:56 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:21:56 ---> Running in d577f9fc34fb 05:21:57 Removing intermediate container d577f9fc34fb 05:21:57 ---> e6b527ab6edc 05:21:57 Step 21/23 : LABEL arch=arm64 05:21:57 ---> Running in 068cb26f3edc 05:21:57 Removing intermediate container 068cb26f3edc 05:21:57 ---> 107ba49ff245 05:21:57 Step 22/23 : LABEL git_sha=1c15b26e628de1330ea15a2b39e616284bb6f9fc 05:21:57 ---> Running in 5b335eefaa94 05:21:58 Removing intermediate container 5b335eefaa94 05:21:58 ---> 365234414f09 05:21:58 Step 23/23 : LABEL version=2.2.0-dev.10 05:21:58 ---> Running in 200127b0ef52 05:21:58 Removing intermediate container 200127b0ef52 05:21:58 ---> 6a531e2a7835 05:21:58 [Warning] One or more build-args [ARCH] were not consumed 05:21:58 Successfully built 6a531e2a7835 05:21:58 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:21:58 provisioning config files... 05:21:58 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/28@tmp/config618592559255782157tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:21:59 ---> docker-login.sh 05:21:59 nexus3.edgexfoundry.org:10001 05:21:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:21:59 Configure a credential helper to remove this warning. See 05:21:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:21:59 05:21:59 Login Succeeded 05:21:59 nexus3.edgexfoundry.org:10002 05:21:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:21:59 Configure a credential helper to remove this warning. See 05:21:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:21:59 05:21:59 Login Succeeded 05:21:59 nexus3.edgexfoundry.org:10003 05:22:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:22:00 Configure a credential helper to remove this warning. See 05:22:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:22:00 05:22:00 Login Succeeded 05:22:00 nexus3.edgexfoundry.org:10004 05:22:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:22:01 Configure a credential helper to remove this warning. See 05:22:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:22:01 05:22:01 Login Succeeded 05:22:01 docker.io 05:22:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:22:01 Configure a credential helper to remove this warning. See 05:22:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:22:01 05:22:01 Login Succeeded 05:22:01 ---> docker-login.sh ends [Pipeline] } 05:22:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:22:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:22:02 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 05:22:02 1c15b26e628de1330ea15a2b39e616284bb6f9fc 05:22:02 latest 05:22:02 2.2.0-dev.10 05:22:02 1c15b26e628de1330ea15a2b39e616284bb6f9fc-2.2.0-dev.10 05:22:02 main 05:22:02 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:22:02 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1c15b26e628de1330ea15a2b39e616284bb6f9fc [Pipeline] isUnix [Pipeline] sh 05:22:02 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1c15b26e628de1330ea15a2b39e616284bb6f9fc 05:22:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:22:02 01d89403cd66: Preparing 05:22:02 40e35cd09216: Preparing 05:22:02 8216c5eb6de4: Preparing 05:22:02 0aca7159ed00: Preparing 05:22:02 aad0ff63bb20: Preparing 05:22:02 f73e7dbfee58: Preparing 05:22:02 f73e7dbfee58: Waiting 05:22:03 40e35cd09216: Pushed 05:22:03 aad0ff63bb20: Pushed 05:22:03 01d89403cd66: Pushed 05:22:03 f73e7dbfee58: Layer already exists 05:22:03 0aca7159ed00: Pushed 05:22:09 8216c5eb6de4: Pushed 05:22:09 1c15b26e628de1330ea15a2b39e616284bb6f9fc: digest: sha256:cfc21ea7986e3d2cc2bb4a7ac7d228595fb4e9279f18f58d3a6dab224e2dda29 size: 1573 [Pipeline] isUnix [Pipeline] sh 05:22:09 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:22:09 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 05:22:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:22:09 01d89403cd66: Preparing 05:22:09 40e35cd09216: Preparing 05:22:09 8216c5eb6de4: Preparing 05:22:09 0aca7159ed00: Preparing 05:22:09 aad0ff63bb20: Preparing 05:22:09 f73e7dbfee58: Preparing 05:22:09 0aca7159ed00: Layer already exists 05:22:09 8216c5eb6de4: Layer already exists 05:22:09 01d89403cd66: Layer already exists 05:22:09 40e35cd09216: Layer already exists 05:22:09 aad0ff63bb20: Layer already exists 05:22:10 f73e7dbfee58: Layer already exists 05:22:10 latest: digest: sha256:cfc21ea7986e3d2cc2bb4a7ac7d228595fb4e9279f18f58d3a6dab224e2dda29 size: 1573 [Pipeline] isUnix [Pipeline] sh 05:22:10 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh 05:22:10 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.10 05:22:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:22:10 01d89403cd66: Preparing 05:22:10 40e35cd09216: Preparing 05:22:10 8216c5eb6de4: Preparing 05:22:10 0aca7159ed00: Preparing 05:22:10 aad0ff63bb20: Preparing 05:22:10 f73e7dbfee58: Preparing 05:22:10 f73e7dbfee58: Waiting 05:22:10 aad0ff63bb20: Layer already exists 05:22:10 01d89403cd66: Layer already exists 05:22:10 40e35cd09216: Layer already exists 05:22:10 8216c5eb6de4: Layer already exists 05:22:10 0aca7159ed00: Layer already exists 05:22:11 f73e7dbfee58: Layer already exists 05:22:11 2.2.0-dev.10: digest: sha256:cfc21ea7986e3d2cc2bb4a7ac7d228595fb4e9279f18f58d3a6dab224e2dda29 size: 1573 [Pipeline] isUnix [Pipeline] sh 05:22:11 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1c15b26e628de1330ea15a2b39e616284bb6f9fc-2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh 05:22:11 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1c15b26e628de1330ea15a2b39e616284bb6f9fc-2.2.0-dev.10 05:22:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:22:11 01d89403cd66: Preparing 05:22:11 40e35cd09216: Preparing 05:22:11 8216c5eb6de4: Preparing 05:22:11 0aca7159ed00: Preparing 05:22:11 aad0ff63bb20: Preparing 05:22:11 f73e7dbfee58: Preparing 05:22:11 f73e7dbfee58: Waiting 05:22:11 40e35cd09216: Layer already exists 05:22:11 0aca7159ed00: Layer already exists 05:22:11 01d89403cd66: Layer already exists 05:22:11 8216c5eb6de4: Layer already exists 05:22:11 aad0ff63bb20: Layer already exists 05:22:11 f73e7dbfee58: Layer already exists 05:22:11 1c15b26e628de1330ea15a2b39e616284bb6f9fc-2.2.0-dev.10: digest: sha256:cfc21ea7986e3d2cc2bb4a7ac7d228595fb4e9279f18f58d3a6dab224e2dda29 size: 1573 [Pipeline] isUnix [Pipeline] sh 05:22:12 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh 05:22:12 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 05:22:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:22:12 01d89403cd66: Preparing 05:22:12 40e35cd09216: Preparing 05:22:12 8216c5eb6de4: Preparing 05:22:12 0aca7159ed00: Preparing 05:22:12 aad0ff63bb20: Preparing 05:22:12 f73e7dbfee58: Preparing 05:22:12 f73e7dbfee58: Waiting 05:22:12 01d89403cd66: Layer already exists 05:22:12 aad0ff63bb20: Layer already exists 05:22:12 8216c5eb6de4: Layer already exists 05:22:12 0aca7159ed00: Layer already exists 05:22:12 40e35cd09216: Layer already exists 05:22:12 f73e7dbfee58: Layer already exists 05:22:12 main: digest: sha256:cfc21ea7986e3d2cc2bb4a7ac7d228595fb4e9279f18f58d3a6dab224e2dda29 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:22:13 ===================================================== [Pipeline] echo 05:22:13 taggedImages: 05:22:13 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1c15b26e628de1330ea15a2b39e616284bb6f9fc 05:22:13 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 05:22:13 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.10 05:22:13 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1c15b26e628de1330ea15a2b39e616284bb6f9fc-2.2.0-dev.10 05:22:13 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:22:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:22:13 05:22:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:22:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:22:14 arm64: Pulling from edgex-lftools-log-publisher 05:22:14 8998bd30e6a1: Pulling fs layer 05:22:14 04944245beec: Pulling fs layer 05:22:14 699f458cf7ca: Pulling fs layer 05:22:14 765212b225bb: Pulling fs layer 05:22:14 f23df028b6ca: Pulling fs layer 05:22:14 d65c8cfc05b1: Pulling fs layer 05:22:14 2437ff75d9bd: Pulling fs layer 05:22:14 f23df028b6ca: Waiting 05:22:14 d65c8cfc05b1: Waiting 05:22:14 2437ff75d9bd: Waiting 05:22:14 765212b225bb: Waiting 05:22:14 04944245beec: Download complete 05:22:14 765212b225bb: Verifying Checksum 05:22:14 765212b225bb: Download complete 05:22:14 f23df028b6ca: Verifying Checksum 05:22:14 f23df028b6ca: Download complete 05:22:14 d65c8cfc05b1: Verifying Checksum 05:22:14 d65c8cfc05b1: Download complete 05:22:14 699f458cf7ca: Verifying Checksum 05:22:14 699f458cf7ca: Download complete 05:22:14 8998bd30e6a1: Verifying Checksum 05:22:14 8998bd30e6a1: Download complete 05:22:17 2437ff75d9bd: Verifying Checksum 05:22:17 2437ff75d9bd: Download complete 05:22:19 8998bd30e6a1: Pull complete 05:22:19 04944245beec: Pull complete 05:22:20 699f458cf7ca: Pull complete 05:22:21 765212b225bb: Pull complete 05:22:22 f23df028b6ca: Pull complete 05:22:22 d65c8cfc05b1: Pull complete 05:22:37 2437ff75d9bd: Pull complete 05:22:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:22:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:22:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:22:37 prd-ubuntu20.04-docker-arm64-4c-16g-11866 does not seem to be running inside a container 05:22:37 $ 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/28 -v /w/workspace/device-modbus-go/28:/w/workspace/device-modbus-go/28:rw,z -v /w/workspace/device-modbus-go/28@tmp:/w/workspace/device-modbus-go/28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:22:40 $ docker top f20a3c3d8519be4ede37e7a1d7ff633a4b49ba010e3fdf51af17af2b0c5474ad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:22:41 ---> job-cost.sh 05:22:41 lf-activate-venv: SKIPPING 05:22:41 INFO: No Stack... 05:22:41 INFO: Retrieving Pricing Info for: v3-standard-4 05:22:42 INFO: Archiving Costs [Pipeline] sh 05:22:43 + + catcut /w/workspace/device-modbus-go/28/archives/cost.csv -d, 05:22:43 -f6 [Pipeline] lock 05:22:43 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-28-stack-cost] 05:22:43 Resource [jenkins-edgexfoundry-device-modbus-go-main-28-stack-cost] did not exist. Created. 05:22:43 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:22:43 /w/workspace/device-modbus-go/28@tmp/durable-b5063acd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:22:44 + echo total: 0.10999999940395355 [Pipeline] stash 05:22:44 Warning: overwriting stash ‘stack-cost’ 05:22:44 Stashed 1 file(s) [Pipeline] } 05:22:44 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-28-stack-cost] [Pipeline] // lock [Pipeline] } 05:22:44 $ docker stop --time=1 f20a3c3d8519be4ede37e7a1d7ff633a4b49ba010e3fdf51af17af2b0c5474ad 05:22:46 $ docker rm -f f20a3c3d8519be4ede37e7a1d7ff633a4b49ba010e3fdf51af17af2b0c5474ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:22:46 provisioning config files... 05:22:46 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config118181980917229906tmp [Pipeline] { [Pipeline] sh 05:22:46 + set +x 05:22:46 + + bashcurl -s -s -- https://codecov.io/bash 05:22:46 05:22:46 05:22:46 _____ _ 05:22:46 / ____| | | 05:22:46 | | ___ __| | ___ ___ _____ __ 05:22:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:22:46 | |___| (_) | (_| | __/ (_| (_) \ V / 05:22:46 \_____\___/ \__,_|\___|\___\___/ \_/ 05:22:46 Bash-1.0.6 05:22:46 05:22:46 05:22:46 ==> git version 2.25.1 found 05:22:46 ==> 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 05:22:46 Release-Date: 2020-01-08 05:22:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:22:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:22:46 ==> Jenkins CI detected. 05:22:46 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 05:22:46 project root: . 05:22:46 --> token set from env 05:22:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:22:46 ==> Running gcov in . (disable via -X gcov) 05:22:46 ==> Python coveragepy not found 05:22:46 ==> Searching for coverage reports in: 05:22:46 + . 05:22:46 -> Found 1 reports 05:22:46 ==> Detecting git/mercurial file structure 05:22:46 ==> Reading reports 05:22:46 + ./coverage.out bytes=24065 05:22:46 ==> Appending adjustments 05:22:46 https://docs.codecov.io/docs/fixing-reports 05:22:46 + Found adjustments 05:22:47 ==> Gzipping contents 05:22:47 4.0K /tmp/codecov.HGCQyu.gz 05:22:47 ==> Uploading reports 05:22:47 url: https://codecov.io 05:22:47 query: branch=main&commit=1c15b26e628de1330ea15a2b39e616284bb6f9fc&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:22:47 -> Pinging Codecov 05:22:47 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=1c15b26e628de1330ea15a2b39e616284bb6f9fc&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:22:47 -> Uploading to 05:22:47 https://storage.googleapis.com/codecov/v4/raw/2022-04-10/55DBCA73C666E3227836607328DD7E49/1c15b26e628de1330ea15a2b39e616284bb6f9fc/b46b33c8-d7ee-4e1c-b9ce-bf317d893d73.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220410%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220410T052247Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5f9fb97d01cf38508b0a81db266b8e9511b890cdd1946e933a561333c2b83a27 05:22:47 % Total % Received % Xferd Average Speed Time Time Time Current 05:22:47 Dload Upload Total Spent Left Speed 05:22:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4031 0 0 100 4031 0 19567 --:--:-- --:--:-- --:--:-- 19567 05:22:47 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/1c15b26e628de1330ea15a2b39e616284bb6f9fc [Pipeline] } 05:22:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:22:47 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:22:47 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:22:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:22:47 05:22:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 05:22:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:22:48 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:22:48 188c0c94c7c5: Pulling fs layer 05:22:48 0ef7d3d256c8: Pulling fs layer 05:22:48 de9db76c5a1d: Pulling fs layer 05:22:48 0eba1c9be4d2: Pulling fs layer 05:22:48 0d57e429df01: Pulling fs layer 05:22:48 4e4be7b47b0d: Pulling fs layer 05:22:48 e1f770b5df2f: Pulling fs layer 05:22:48 85a0685a4137: Pulling fs layer 05:22:48 0d57e429df01: Waiting 05:22:48 4e4be7b47b0d: Waiting 05:22:48 e1f770b5df2f: Waiting 05:22:48 85a0685a4137: Waiting 05:22:48 0eba1c9be4d2: Waiting 05:22:48 de9db76c5a1d: Verifying Checksum 05:22:48 de9db76c5a1d: Download complete 05:22:48 0ef7d3d256c8: Verifying Checksum 05:22:48 0ef7d3d256c8: Download complete 05:22:48 0d57e429df01: Verifying Checksum 05:22:48 0d57e429df01: Download complete 05:22:48 4e4be7b47b0d: Verifying Checksum 05:22:48 4e4be7b47b0d: Download complete 05:22:48 188c0c94c7c5: Verifying Checksum 05:22:48 188c0c94c7c5: Download complete 05:22:48 e1f770b5df2f: Verifying Checksum 05:22:48 e1f770b5df2f: Download complete 05:22:48 188c0c94c7c5: Pull complete 05:22:48 0ef7d3d256c8: Pull complete 05:22:48 de9db76c5a1d: Pull complete 05:22:48 0eba1c9be4d2: Download complete 05:22:48 85a0685a4137: Verifying Checksum 05:22:48 85a0685a4137: Download complete 05:22:52 0eba1c9be4d2: Pull complete 05:22:52 0d57e429df01: Pull complete 05:22:52 4e4be7b47b0d: Pull complete 05:22:52 e1f770b5df2f: Pull complete 05:22:56 85a0685a4137: Pull complete 05:22:56 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 05:22:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:22:56 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 05:22:56 prd-ubuntu20.04-docker-8c-8g-11758 does not seem to be running inside a container 05:22:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 05:22:58 $ docker top 740c47f00472adf252467f35900aa6ee4029eab3ab953b4f5033ab1b61b881e1 -eo pid,comm [Pipeline] { [Pipeline] echo 05:22:58 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 05:22:58 + set -o pipefail 05:22:58 + snyk monitor '--org=edgex-jenkins' 05:23:04 05:23:04 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 05:23:04 05:23:04 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/89c750cd-c330-4adf-8c6f-f2d9f26cd2a8 05:23:04 05:23:04 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 05:23:04 05:23:04 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:23:04 05:23:04 [Pipeline] } 05:23:04 $ docker stop --time=1 740c47f00472adf252467f35900aa6ee4029eab3ab953b4f5033ab1b61b881e1 05:23:06 $ docker rm -f 740c47f00472adf252467f35900aa6ee4029eab3ab953b4f5033ab1b61b881e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:23:06 + git log --format=format:%s -1 1c15b26e628de1330ea15a2b39e616284bb6f9fc [Pipeline] sh 05:23:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:23:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:23:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:23:07 . [Pipeline] withDockerContainer 05:23:07 prd-ubuntu20.04-docker-8c-8g-11758 does not seem to be running inside a container 05:23: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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:23:08 $ docker top c743bdcbcbc6ac25aa3c73b536da97cb3e527d4dc3f73edc76b9919aa2f8c41b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:23:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:23:08 [ssh-agent] Looking for ssh-agent implementation... 05:23:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:23:08 $ docker exec c743bdcbcbc6ac25aa3c73b536da97cb3e527d4dc3f73edc76b9919aa2f8c41b ssh-agent 05:23:08 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMnDgHI/agent.13 05:23:08 SSH_AGENT_PID=20 05:23:08 Running ssh-add (command line suppressed) 05:23:08 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1168485486363220756.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1168485486363220756.key) 05:23:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:23:08 + git semver tag 05:23:08 # -> Open(): unable to determine branch for HEAD 05:23:08 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 05:23:08 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 05:23:08 # $SEMVER_REMOTE_NAME = origin 05:23:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:23:08 # $SEMVER_USER_NAME = edgex-jenkins 05:23:08 # $SEMVER_BRANCH = main 05:23:08 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver 05:23:08 # 1c15b26e628de1330ea15a2b39e616284bb6f9fc HEAD 05:23:08 # -> Force: false 05:23:08 # 205f2dbb846efb195e816033a56bf8c56f0f78c4 refs/tags/v2.2.0-dev.10 [Pipeline] } 05:23:08 $ docker exec --env ******** --env ******** c743bdcbcbc6ac25aa3c73b536da97cb3e527d4dc3f73edc76b9919aa2f8c41b ssh-agent -k 05:23:09 unset SSH_AUTH_SOCK; 05:23:09 unset SSH_AGENT_PID; 05:23:09 echo Agent pid 20 killed; 05:23:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:23:09 + git semver [Pipeline] } 05:23:09 $ docker stop --time=1 c743bdcbcbc6ac25aa3c73b536da97cb3e527d4dc3f73edc76b9919aa2f8c41b 05:23:10 $ docker rm -f c743bdcbcbc6ac25aa3c73b536da97cb3e527d4dc3f73edc76b9919aa2f8c41b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 05:23:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:23:11 05:23:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 05:23:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:23:11 0.23.1-centos7: Pulling from edgex-lftools 05:23:11 ab5ef0e58194: Pulling fs layer 05:23:11 9712f1f96733: Pulling fs layer 05:23:11 63f879dbbcfc: Pulling fs layer 05:23:11 0d9ebad4ef96: Pulling fs layer 05:23:11 e9a5061849ea: Pulling fs layer 05:23:11 d747dcd14b5f: Pulling fs layer 05:23:11 2de7ff778b66: Pulling fs layer 05:23:11 e9a5061849ea: Waiting 05:23:11 d747dcd14b5f: Waiting 05:23:11 2de7ff778b66: Waiting 05:23:11 0d9ebad4ef96: Waiting 05:23:11 9712f1f96733: Verifying Checksum 05:23:11 9712f1f96733: Download complete 05:23:11 63f879dbbcfc: Verifying Checksum 05:23:11 63f879dbbcfc: Download complete 05:23:11 e9a5061849ea: Verifying Checksum 05:23:11 e9a5061849ea: Download complete 05:23:11 d747dcd14b5f: Verifying Checksum 05:23:11 d747dcd14b5f: Download complete 05:23:11 0d9ebad4ef96: Verifying Checksum 05:23:11 0d9ebad4ef96: Download complete 05:23:11 ab5ef0e58194: Verifying Checksum 05:23:11 ab5ef0e58194: Download complete 05:23:11 2de7ff778b66: Download complete 05:23:15 ab5ef0e58194: Pull complete 05:23:15 9712f1f96733: Pull complete 05:23:15 63f879dbbcfc: Pull complete 05:23:18 0d9ebad4ef96: Pull complete 05:23:19 e9a5061849ea: Pull complete 05:23:19 d747dcd14b5f: Pull complete 05:23:20 2de7ff778b66: Pull complete 05:23:20 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:23:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:23:20 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 05:23:20 prd-ubuntu20.04-docker-8c-8g-11758 does not seem to be running inside a container 05:23:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:23:22 $ docker top d7f1385c23730baa2bb803bae45167c2de69a1e7398d5b51b4a3dfa0b31b47f8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:23:22 provisioning config files... 05:23:22 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5436175596666458786tmp 05:23:22 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1334218999559909552tmp 05:23:22 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2827996258368028825tmp [Pipeline] { [Pipeline] echo 05:23:22 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:23:22 ---> sigul-configuration.sh 05:23:22 gpg: directory `/root/.gnupg' created 05:23:22 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:23:22 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:23:22 gpg: keyring `/root/.gnupg/secring.gpg' created 05:23:22 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:23:22 gpg: CAST5 encrypted data 05:23:22 gpg: encrypted with 1 passphrase 05:23:22 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:23:23 + mkdir /home/jenkins 05:23:23 + mkdir /home/jenkins/sigul [Pipeline] sh 05:23:23 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 05:23:23 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:23:23 ---> sigul-install.sh 05:23:23 Sigul already installed; skipping installation. [Pipeline] sh 05:23:23 + git tag --list 05:23:23 0.7.1 05:23:23 v1.0.0 05:23:23 v1.1.0 05:23:23 v1.1.1 05:23:23 v1.2.2 05:23:23 v1.3.0 05:23:23 v1.3.1 05:23:23 v2.0.0 05:23:23 v2.0.1-dev.1 05:23:23 v2.0.1-dev.10 05:23:23 v2.0.1-dev.11 05:23:23 v2.0.1-dev.12 05:23:23 v2.0.1-dev.2 05:23:23 v2.0.1-dev.3 05:23:23 v2.0.1-dev.4 05:23:23 v2.0.1-dev.5 05:23:23 v2.0.1-dev.6 05:23:23 v2.0.1-dev.7 05:23:23 v2.0.1-dev.8 05:23:23 v2.0.1-dev.9 05:23:23 v2.1.0 05:23:23 v2.2.0-dev.1 05:23:23 v2.2.0-dev.10 05:23:23 v2.2.0-dev.2 05:23:23 v2.2.0-dev.3 05:23:23 v2.2.0-dev.4 05:23:23 v2.2.0-dev.5 05:23:23 v2.2.0-dev.6 05:23:23 v2.2.0-dev.7 05:23:23 v2.2.0-dev.8 05:23:23 v2.2.0-dev.9 [Pipeline] sh 05:23:24 + lftools sign git-tag v2.2.0-dev.10 05:23:24 Signing Git tag with Sigul... 05:23:24 Signing v2.2.0-dev.10 [Pipeline] echo 05:23:25 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:23:25 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:23:25 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:23:25 $ docker stop --time=1 d7f1385c23730baa2bb803bae45167c2de69a1e7398d5b51b4a3dfa0b31b47f8 05:23:26 $ docker rm -f d7f1385c23730baa2bb803bae45167c2de69a1e7398d5b51b4a3dfa0b31b47f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:23:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:23:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:23:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:23:27 . [Pipeline] withDockerContainer 05:23:27 prd-ubuntu20.04-docker-8c-8g-11758 does not seem to be running inside a container 05:23: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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:23:27 $ docker top 0956ef3ba2ceeb526ecb93f8f420590fb7ae76f8a8a4718c430337d19935a337 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:23:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:23:28 [ssh-agent] Looking for ssh-agent implementation... 05:23:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:23:28 $ docker exec 0956ef3ba2ceeb526ecb93f8f420590fb7ae76f8a8a4718c430337d19935a337 ssh-agent 05:23:28 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdBBmoH/agent.14 05:23:28 SSH_AGENT_PID=20 05:23:28 Running ssh-add (command line suppressed) 05:23:28 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1775724834577223354.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1775724834577223354.key) 05:23:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:23:28 + git semver bump pre 05:23:28 # -> Open(): unable to determine branch for HEAD 05:23:28 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 05:23:28 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 05:23:28 # $SEMVER_REMOTE_NAME = origin 05:23:28 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:23:28 # $SEMVER_USER_NAME = edgex-jenkins 05:23:28 # $SEMVER_BRANCH = main 05:23:28 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver 05:23:28 2.2.0-dev.11 [Pipeline] } 05:23:28 $ docker exec --env ******** --env ******** 0956ef3ba2ceeb526ecb93f8f420590fb7ae76f8a8a4718c430337d19935a337 ssh-agent -k 05:23:28 unset SSH_AUTH_SOCK; 05:23:28 unset SSH_AGENT_PID; 05:23:28 echo Agent pid 20 killed; 05:23:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:23:29 + git semver [Pipeline] } 05:23:29 $ docker stop --time=1 0956ef3ba2ceeb526ecb93f8f420590fb7ae76f8a8a4718c430337d19935a337 05:23:30 $ docker rm -f 0956ef3ba2ceeb526ecb93f8f420590fb7ae76f8a8a4718c430337d19935a337 [Pipeline] // withDockerContainer [Pipeline] sh 05:23:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:23:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:23:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:23:31 . [Pipeline] withDockerContainer 05:23:31 prd-ubuntu20.04-docker-8c-8g-11758 does not seem to be running inside a container 05:23:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:23:31 $ docker top 9a493112c22bcd96f802cd8a96eee60776f93760da2fad58ab8b4e9a6577529e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:23:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:23:31 [ssh-agent] Looking for ssh-agent implementation... 05:23:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:23:31 $ docker exec 9a493112c22bcd96f802cd8a96eee60776f93760da2fad58ab8b4e9a6577529e ssh-agent 05:23:31 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkOelCp/agent.14 05:23:31 SSH_AGENT_PID=20 05:23:31 Running ssh-add (command line suppressed) 05:23:32 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7412012174360922006.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7412012174360922006.key) 05:23:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:23:32 + git semver push 05:23:32 # -> Open(): unable to determine branch for HEAD 05:23:32 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 05:23:32 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 05:23:32 # $SEMVER_REMOTE_NAME = origin 05:23:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:23:32 # $SEMVER_USER_NAME = edgex-jenkins 05:23:32 # $SEMVER_BRANCH = main 05:23:32 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } 05:23:33 $ docker exec --env ******** --env ******** 9a493112c22bcd96f802cd8a96eee60776f93760da2fad58ab8b4e9a6577529e ssh-agent -k 05:23:33 unset SSH_AUTH_SOCK; 05:23:33 unset SSH_AGENT_PID; 05:23:33 echo Agent pid 20 killed; 05:23:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:23:34 + git semver [Pipeline] } 05:23:34 $ docker stop --time=1 9a493112c22bcd96f802cd8a96eee60776f93760da2fad58ab8b4e9a6577529e 05:23:35 $ docker rm -f 9a493112c22bcd96f802cd8a96eee60776f93760da2fad58ab8b4e9a6577529e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:23:36 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 05:23:36 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 05:23:36 total 16 05:23:36 drwxr-xr-x 3 root root 4096 Apr 10 05:07 . 05:23:36 drwxrwxr-x 11 jenkins jenkins 4096 Apr 10 05:23 .. 05:23:36 drwxr-xr-x 2 root root 4096 Apr 10 05:07 cost 05:23:36 -rw-r--r-- 1 root root 86 Apr 10 05:07 cost.csv 05:23:36 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 05:23:36 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 05:23:36 total 16 05:23:36 drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 05:07 . 05:23:36 drwxrwxr-x 11 jenkins jenkins 4096 Apr 10 05:23 .. 05:23:36 drwxr-xr-x 2 jenkins jenkins 4096 Apr 10 05:07 cost 05:23:36 -rw-r--r-- 1 jenkins jenkins 86 Apr 10 05:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:23:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:23:37 ---> package-listing.sh 05:23:37 ++ facter osfamily 05:23:37 ++ tr '[:upper:]' '[:lower:]' 05:23:37 + OS_FAMILY=debian 05:23:37 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 05:23:37 + START_PACKAGES=/tmp/packages_start.txt 05:23:37 + END_PACKAGES=/tmp/packages_end.txt 05:23:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:23:37 + PACKAGES=/tmp/packages_start.txt 05:23:37 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 05:23:37 + PACKAGES=/tmp/packages_end.txt 05:23:37 + case "${OS_FAMILY}" in 05:23:37 + dpkg -l 05:23:37 + grep '^ii' 05:23:37 + '[' -f /tmp/packages_start.txt ']' 05:23:37 + '[' -f /tmp/packages_end.txt ']' 05:23:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:23:37 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 05:23:37 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 05:23:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 05:23:37 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 05:23:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:23:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:23:38 . [Pipeline] withDockerContainer 05:23:38 prd-ubuntu20.04-docker-8c-8g-11758 does not seem to be running inside a container 05:23:38 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:23:38 $ docker top b0ba07877aaa47accc8f112d5ff8940160809272e82cb3e532420de9d737323c -eo pid,comm [Pipeline] { [Pipeline] sh 05:23:39 + touch /tmp/pre-build-complete [Pipeline] sh 05:23:39 + mkdir -p /var/log/sysstat [Pipeline] sh 05:23:39 + ls /var/log/sa-host 05:23:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:23:39 provisioning config files... 05:23:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6086372891699956533tmp [Pipeline] { [Pipeline] echo 05:23:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:23:40 ---> create-netrc.sh [Pipeline] } 05:23:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:23:40 ---> python-tools-install.sh [Pipeline] echo 05:23:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:23:40 ---> sudo-logs.sh 05:23:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:23:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:23:41 ---> job-cost.sh 05:23:41 lf-activate-venv: SKIPPING 05:23:41 DEBUG: total: 0.2199999988079071 05:23:41 INFO: Retrieving Stack Cost... 05:23:41 INFO: Retrieving Pricing Info for: v3-standard-8 05:23:41 INFO: Archiving Costs [Pipeline] echo 05:23:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:23:42 ---> logs-deploy.sh 05:23:42 lf-activate-venv: SKIPPING 05:23:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/28 05:23:42 INFO: archiving workspace using pattern(s): 05:23:43 Archives upload complete. 05:23:43 INFO: archiving logs to Nexus