Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ec5780f49cc8d227830b26f24a2b43a0b649d736 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-ssh15059518567491979066.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12916479930026698371.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision dae07dc806156effb2cae02074e2f5f64a063e83 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10117076803649910115.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh69697950093687233.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11301470866120036225.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1657 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-modbus-go_main@tmp/jenkins-gitclient-ssh4643526424384682646.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision ec5780f49cc8d227830b26f24a2b43a0b649d736 (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 ec5780f49cc8d227830b26f24a2b43a0b649d736 # timeout=10 Commit message: "Merge pull request #305 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.8" > git rev-list --no-walk 0698ca903eaff93b131c7e7a67c2b13166d23c43 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:08:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:08:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:08:10 ========================================================= 06:08:10 EdgeX Global Pipelines Version Info 06:08:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:08:11 ------------------- 06:08:11 stable info: 06:08:11 ------------------- 06:08:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:08:11 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 06:08:11 Message: update stable to v1.0.219 06:08:12 ------------------- 06:08:12 experimental info: 06:08:12 ------------------- 06:08:12 Commited By: **** collab-it+edgex@linuxfoundation.org 06:08:12 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 06:08:12 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:08:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:08:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:08:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:08:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:08:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:08:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 06:08:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:08:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:08:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:08:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:08:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:08:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 06:08:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:08:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:08:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:08:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:08:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:08:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:08:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:08:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 06:08:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:08:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:08:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:08:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:08:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:08:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:08:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:08:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:08:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:08:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ec5780f49cc8d227830b26f24a2b43a0b649d736 [Pipeline] echo 06:08:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ec5780f [Pipeline] echo 06:08:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:08:12 provisioning config files... 06:08:12 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7414521355989463124tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:08:12 ---> docker-login.sh 06:08:12 nexus3.edgexfoundry.org:10001 06:08:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:13 Configure a credential helper to remove this warning. See 06:08:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:13 06:08:13 Login Succeeded 06:08:13 nexus3.edgexfoundry.org:10002 06:08:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:13 Configure a credential helper to remove this warning. See 06:08:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:13 06:08:13 Login Succeeded 06:08:13 nexus3.edgexfoundry.org:10003 06:08:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:13 Configure a credential helper to remove this warning. See 06:08:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:13 06:08:13 Login Succeeded 06:08:13 nexus3.edgexfoundry.org:10004 06:08:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:13 Configure a credential helper to remove this warning. See 06:08:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:13 06:08:13 Login Succeeded 06:08:13 docker.io 06:08:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:13 Configure a credential helper to remove this warning. See 06:08:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:13 06:08:13 Login Succeeded 06:08:13 ---> docker-login.sh ends [Pipeline] } 06:08:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:08:14 + git rev-list -1 --merges ec5780f49cc8d227830b26f24a2b43a0b649d736~1..ec5780f49cc8d227830b26f24a2b43a0b649d736 [Pipeline] echo 06:08:14 -----------> git rev-list -1 --merges ec5780f49cc8d227830b26f24a2b43a0b649d736~1..ec5780f49cc8d227830b26f24a2b43a0b649d736 ec5780f49cc8d227830b26f24a2b43a0b649d736 06:08:14 ec5780f49cc8d227830b26f24a2b43a0b649d736 [false] [Pipeline] sh 06:08:14 + git log --format=format:%s -1 ec5780f49cc8d227830b26f24a2b43a0b649d736 [Pipeline] echo 06:08:14 ========================================================= 06:08:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:08:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:08:15 + git log --format=format:%s -1 ec5780f49cc8d227830b26f24a2b43a0b649d736 [Pipeline] echo 06:08:15 [semverPrep] GIT_COMMIT: ec5780f49cc8d227830b26f24a2b43a0b649d736, Commit Message: Merge pull request #305 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.8 [Pipeline] echo 06:08:15 [semverPrep] This is not a build commit. [Pipeline] sh 06:08:15 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 06:08:15 + grep -v github /etc/ssh/ssh_known_hosts 06:08:15 + '[' -e /tmp/ssh_known_hosts ']' 06:08:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:08:15 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 06:08:15 + sudo tee -a /etc/ssh/ssh_known_hosts 06:08:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:08:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:08:15 06:08:15 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:08:16 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:08:16 latest: Pulling from edgex-devops/git-semver 06:08:16 a0d0a0d46f8b: Pulling fs layer 06:08:16 3e5f54012d9b: Pulling fs layer 06:08:16 4c7163046ea9: Pulling fs layer 06:08:16 0c2d73faf560: Pulling fs layer 06:08:16 0c2d73faf560: Waiting 06:08:16 3e5f54012d9b: Verifying Checksum 06:08:16 3e5f54012d9b: Download complete 06:08:16 a0d0a0d46f8b: Verifying Checksum 06:08:16 a0d0a0d46f8b: Download complete 06:08:16 4c7163046ea9: Verifying Checksum 06:08:16 4c7163046ea9: Download complete 06:08:16 0c2d73faf560: Verifying Checksum 06:08:16 0c2d73faf560: Download complete 06:08:16 a0d0a0d46f8b: Pull complete 06:08:16 3e5f54012d9b: Pull complete 06:08:16 4c7163046ea9: Pull complete 06:08:17 0c2d73faf560: Pull complete 06:08:17 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 06:08:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:08:17 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:08:17 prd-centos7-docker-4c-2g-1657 does not seem to be running inside a container 06:08:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:08:17 $ docker top 5ca8f578d9eb3e2cf0caf30be333fd87881e58a7b15fd699934418193e63e311 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:08:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:08:17 [ssh-agent] Looking for ssh-agent implementation... 06:08:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:08:18 $ docker exec 5ca8f578d9eb3e2cf0caf30be333fd87881e58a7b15fd699934418193e63e311 ssh-agent 06:08:18 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeBPnMO/agent.13 06:08:18 SSH_AGENT_PID=19 06:08:18 Running ssh-add (command line suppressed) 06:08:18 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7980124141622096220.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7980124141622096220.key) 06:08:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:08:18 + git tag --points-at HEAD [Pipeline] } 06:08:18 $ docker exec --env ******** --env ******** 5ca8f578d9eb3e2cf0caf30be333fd87881e58a7b15fd699934418193e63e311 ssh-agent -k 06:08:18 unset SSH_AUTH_SOCK; 06:08:18 unset SSH_AGENT_PID; 06:08:18 echo Agent pid 19 killed; 06:08:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:08:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:08:18 [ssh-agent] Looking for ssh-agent implementation... 06:08:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:08:18 $ docker exec 5ca8f578d9eb3e2cf0caf30be333fd87881e58a7b15fd699934418193e63e311 ssh-agent 06:08:18 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkKOlko/agent.52 06:08:18 SSH_AGENT_PID=58 06:08:18 Running ssh-add (command line suppressed) 06:08:19 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4877081450837625328.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4877081450837625328.key) 06:08:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:08:19 + git semver init 06:08:19 # -> Open(): unable to determine branch for HEAD 06:08:19 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 06:08:19 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 06:08:19 # $SEMVER_REMOTE_NAME = origin 06:08:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:08:19 # $SEMVER_USER_NAME = edgex-jenkins 06:08:19 # $SEMVER_BRANCH = main 06:08:19 # $SEMVER_TEMP = /tmp/semver-688121995 06:08:19 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 06:08:20 # '/tmp/semver-688121995' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' 06:08:20 # -> Force: false 06:08:20 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } 06:08:20 $ docker exec --env ******** --env ******** 5ca8f578d9eb3e2cf0caf30be333fd87881e58a7b15fd699934418193e63e311 ssh-agent -k 06:08:20 unset SSH_AUTH_SOCK; 06:08:20 unset SSH_AGENT_PID; 06:08:20 echo Agent pid 58 killed; 06:08:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:08:20 + git semver [Pipeline] } 06:08:20 $ docker stop --time=1 5ca8f578d9eb3e2cf0caf30be333fd87881e58a7b15fd699934418193e63e311 06:08:21 $ docker rm -f 5ca8f578d9eb3e2cf0caf30be333fd87881e58a7b15fd699934418193e63e311 [Pipeline] // withDockerContainer [Pipeline] sh 06:08:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:08:22 Stashed 1 file(s) [Pipeline] echo 06:08:22 [edgeXSemver]: initialized semver on version 2.2.0-dev.3 [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 06:08:22 provisioning config files... 06:08:22 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1199495081108584654tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:08:23 ---> docker-login.sh 06:08:23 nexus3.edgexfoundry.org:10001 06:08:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:23 Configure a credential helper to remove this warning. See 06:08:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:23 06:08:23 Login Succeeded 06:08:23 nexus3.edgexfoundry.org:10002 06:08:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:23 Configure a credential helper to remove this warning. See 06:08:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:23 06:08:23 Login Succeeded 06:08:23 nexus3.edgexfoundry.org:10003 06:08:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:23 Configure a credential helper to remove this warning. See 06:08:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:23 06:08:23 Login Succeeded 06:08:23 nexus3.edgexfoundry.org:10004 06:08:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:23 Configure a credential helper to remove this warning. See 06:08:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:23 06:08:23 Login Succeeded 06:08:23 docker.io 06:08:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:23 Configure a credential helper to remove this warning. See 06:08:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:23 06:08:23 Login Succeeded 06:08:23 ---> docker-login.sh ends [Pipeline] } 06:08:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:08:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:08:23 ========================================================= 06:08:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 06:08:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:08:24 + 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 . 06:08:24 Sending build context to Docker daemon 5.677MB 06:08:24 Step 1/9 : ARG BASE=golang:1.16-alpine3.14 06:08:24 Step 2/9 : FROM ${BASE} AS builder 06:08:24 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 06:08:24 59bf1c3509f3: Pulling fs layer 06:08:24 666ba61612fd: Pulling fs layer 06:08:24 8ed8ca486205: Pulling fs layer 06:08:24 4fe6c5a15a65: Pulling fs layer 06:08:24 22a0e8bec74d: Pulling fs layer 06:08:24 f965cba54748: Pulling fs layer 06:08:24 861ffc35075e: Pulling fs layer 06:08:24 4b385c91608e: Pulling fs layer 06:08:24 560528eb2ebb: Pulling fs layer 06:08:24 4fe6c5a15a65: Waiting 06:08:24 22a0e8bec74d: Waiting 06:08:24 f965cba54748: Waiting 06:08:24 861ffc35075e: Waiting 06:08:24 4b385c91608e: Waiting 06:08:24 560528eb2ebb: Waiting 06:08:24 8ed8ca486205: Verifying Checksum 06:08:24 8ed8ca486205: Download complete 06:08:24 666ba61612fd: Verifying Checksum 06:08:24 666ba61612fd: Download complete 06:08:24 22a0e8bec74d: Verifying Checksum 06:08:24 22a0e8bec74d: Download complete 06:08:24 f965cba54748: Verifying Checksum 06:08:24 f965cba54748: Download complete 06:08:24 59bf1c3509f3: Download complete 06:08:24 861ffc35075e: Verifying Checksum 06:08:24 861ffc35075e: Download complete 06:08:24 4b385c91608e: Verifying Checksum 06:08:24 4b385c91608e: Download complete 06:08:24 59bf1c3509f3: Pull complete 06:08:25 4fe6c5a15a65: Verifying Checksum 06:08:25 4fe6c5a15a65: Download complete 06:08:25 666ba61612fd: Pull complete 06:08:25 560528eb2ebb: Verifying Checksum 06:08:25 560528eb2ebb: Download complete 06:08:25 8ed8ca486205: Pull complete 06:08:29 4fe6c5a15a65: Pull complete 06:08:29 22a0e8bec74d: Pull complete 06:08:29 f965cba54748: Pull complete 06:08:29 861ffc35075e: Pull complete 06:08:29 4b385c91608e: Pull complete 06:08:32 560528eb2ebb: Pull complete 06:08:32 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 06:08:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 06:08:32 ---> dd4a08f94e63 06:08:32 Step 3/9 : ARG MAKE='make build' 06:08:34 ---> Running in 828dc3d98be6 06:08:34 Removing intermediate container 828dc3d98be6 06:08:34 ---> bd6a5c19f203 06:08:34 Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:08:34 ---> Running in dc4745c4ccff 06:08:34 Removing intermediate container dc4745c4ccff 06:08:34 ---> 553f1426fec9 06:08:34 Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 06:08:34 ---> Running in 22b6c106a779 06:08:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:08:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:08:36 (1/8) Installing openssh-keygen (8.8_p1-r1) 06:08:36 (2/8) Installing libedit (20210910.3.1-r0) 06:08:36 (3/8) Installing openssh-client-common (8.8_p1-r1) 06:08:36 (4/8) Installing openssh-client-default (8.8_p1-r1) 06:08:36 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 06:08:36 (6/8) Installing openssh-server-common (8.8_p1-r1) 06:08:36 (7/8) Installing openssh-server (8.8_p1-r1) 06:08:36 (8/8) Installing openssh (8.8_p1-r1) 06:08:36 Executing busybox-1.34.1-r3.trigger 06:08:36 OK: 226 MiB in 60 packages 06:08:36 Removing intermediate container 22b6c106a779 06:08:36 ---> 1c418b641a69 06:08:36 Step 6/9 : WORKDIR /device-modbus-go 06:08:37 ---> Running in d4eddc41bd25 06:08:37 Removing intermediate container d4eddc41bd25 06:08:37 ---> 1addf04ebea8 06:08:37 Step 7/9 : COPY . . 06:08:37 ---> 5ea601a86536 06:08:37 Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:08:37 ---> Running in ef7f3a1cc8f5 06:08:37 Still waiting to schedule task 06:08:37 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:09:09 Removing intermediate container ef7f3a1cc8f5 06:09:09 ---> 48955be04b0a 06:09:09 Step 9/9 : RUN ${MAKE} 06:09:09 ---> Running in 0f7dbb497bcb 06:09:09 noop 06:09:09 Removing intermediate container 0f7dbb497bcb 06:09:09 ---> 28f6950e69e7 06:09:09 Successfully built 28f6950e69e7 06:09:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:09:09 + docker inspect -f . ci-base-image-x86_64 06:09:09 . [Pipeline] withDockerContainer 06:09:09 prd-centos7-docker-4c-2g-1657 does not seem to be running inside a container 06:09:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:09:10 $ docker top 2b15556f42d4d74dee3e555affbffd9e0443cd7be377003b64e300e65547ed78 -eo pid,comm [Pipeline] { [Pipeline] sh 06:09:10 + go version 06:09:10 go version go1.17.6 linux/amd64 [Pipeline] } 06:09:10 $ docker stop --time=1 2b15556f42d4d74dee3e555affbffd9e0443cd7be377003b64e300e65547ed78 06:09:12 $ docker rm -f 2b15556f42d4d74dee3e555affbffd9e0443cd7be377003b64e300e65547ed78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:09:12 + docker inspect -f . ci-base-image-x86_64 06:09:12 . [Pipeline] withDockerContainer 06:09:12 prd-centos7-docker-4c-2g-1657 does not seem to be running inside a container 06:09:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:09:12 $ docker top 3efe61780493cb49ed25a16b6acd62c7e2e6e45507bcb69e4199e00cfe61172e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:09:13 + make test 06:09:13 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:09:13 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:09:31 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:09:31 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.008s coverage: 46.6% of statements 06:09:31 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:09:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:09:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:09:35 ./bin/test-attribution-txt.sh [Pipeline] echo 06:09:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:09:35 $ docker stop --time=1 3efe61780493cb49ed25a16b6acd62c7e2e6e45507bcb69e4199e00cfe61172e 06:09:37 $ docker rm -f 3efe61780493cb49ed25a16b6acd62c7e2e6e45507bcb69e4199e00cfe61172e [Pipeline] // withDockerContainer [Pipeline] sh 06:09:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:09:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:09:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:09:39 + ls -al . 06:09:39 total 152 06:09:39 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 17 06:09 . 06:09:39 drwxrwxr-x. 4 jenkins jenkins 112 Jan 17 06:08 .. 06:09:39 -rw-rw-r--. 1 jenkins jenkins 8010 Jan 17 06:08 Attribution.txt 06:09:39 drwxrwxr-x. 2 jenkins jenkins 60 Jan 17 06:08 bin 06:09:39 -rw-rw-r--. 1 jenkins jenkins 6038 Jan 17 06:08 CHANGELOG.md 06:09:39 drwxrwxr-x. 3 jenkins jenkins 32 Jan 17 06:08 cmd 06:09:39 -rw-r--r--. 1 jenkins jenkins 23727 Jan 17 06:09 coverage.out 06:09:39 -rw-rw-r--. 1 jenkins jenkins 1523 Jan 17 06:08 Dockerfile 06:09:39 -rw-rw-r--. 1 jenkins jenkins 140 Jan 17 06:08 .dockerignore 06:09:39 drwxrwxr-x. 8 jenkins jenkins 162 Jan 17 06:08 .git 06:09:39 drwxrwxr-x. 2 jenkins jenkins 103 Jan 17 06:08 .github 06:09:39 -rw-rw-r--. 1 jenkins jenkins 331 Jan 17 06:08 .gitignore 06:09:39 -rw-rw-r--. 1 jenkins jenkins 300 Jan 17 06:08 go.mod 06:09:39 -rw-rw-r--. 1 jenkins jenkins 49511 Jan 17 06:08 go.sum 06:09:39 -rw-rw-r--. 1 jenkins jenkins 677 Jan 17 06:08 GOVERNANCE.md 06:09:39 drwxrwxr-x. 3 jenkins jenkins 20 Jan 17 06:08 internal 06:09:39 -rw-rw-r--. 1 jenkins jenkins 679 Jan 17 06:08 Jenkinsfile 06:09:39 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 17 06:08 LICENSE 06:09:39 -rw-rw-r--. 1 jenkins jenkins 1009 Jan 17 06:08 Makefile 06:09:39 -rw-rw-r--. 1 jenkins jenkins 622 Jan 17 06:08 OWNERS.md 06:09:39 -rw-rw-r--. 1 jenkins jenkins 3488 Jan 17 06:08 README.md 06:09:39 drwx------. 3 jenkins jenkins 57 Jan 17 06:08 .semver 06:09:39 drwxrwxr-x. 2 jenkins jenkins 52 Jan 17 06:08 simulator 06:09:39 drwxrwxr-x. 4 jenkins jenkins 71 Jan 17 06:08 snap 06:09:39 -rw-rw-r--. 1 jenkins jenkins 11 Jan 17 06:08 VERSION 06:09:39 -rw-rw-r--. 1 jenkins jenkins 229 Jan 17 06:08 version.go [Pipeline] isUnix [Pipeline] sh 06:09:39 + 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=ec5780f49cc8d227830b26f24a2b43a0b649d736 --label arch=amd64 --label version=2.2.0-dev.3 . 06:09:39 Sending build context to Docker daemon 5.702MB 06:09:39 Step 1/22 : ARG BASE=golang:1.16-alpine3.14 06:09:39 Step 2/22 : FROM ${BASE} AS builder 06:09:39 ---> 28f6950e69e7 06:09:39 Step 3/22 : ARG MAKE='make build' 06:09:39 ---> Running in a12564854a41 06:09:39 Removing intermediate container a12564854a41 06:09:39 ---> 6ee2a600e6cb 06:09:39 Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:09:39 ---> Running in 71d2ae373b38 06:09:40 Removing intermediate container 71d2ae373b38 06:09:40 ---> e1f784009de4 06:09:40 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 06:09:40 ---> Running in c6d9e9a26f8c 06:09:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:09:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:09:41 OK: 226 MiB in 60 packages 06:09:41 Removing intermediate container c6d9e9a26f8c 06:09:41 ---> 83ba35c8d170 06:09:41 Step 6/22 : WORKDIR /device-modbus-go 06:09:41 ---> Running in 276b2c4e6b04 06:09:41 Removing intermediate container 276b2c4e6b04 06:09:41 ---> ce7471d760da 06:09:41 Step 7/22 : COPY . . 06:09:42 ---> f39e0239d926 06:09:42 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:09:42 ---> Running in 854ee28e7f47 06:09:42 Removing intermediate container 854ee28e7f47 06:09:42 ---> 7e0d98b96fb5 06:09:42 Step 9/22 : RUN ${MAKE} 06:09:42 ---> Running in 0014c92a482e 06:09:42 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.3" -o cmd/device-modbus ./cmd 06:09:55 Removing intermediate container 0014c92a482e 06:09:55 ---> 8a610325f439 06:09:55 Step 10/22 : FROM alpine:3.14 06:09:55 3.14: Pulling from library/alpine 06:09:55 97518928ae5f: Pulling fs layer 06:09:56 97518928ae5f: Verifying Checksum 06:09:56 97518928ae5f: Download complete 06:09:56 97518928ae5f: Pull complete 06:09:56 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 06:09:56 Status: Downloaded newer image for alpine:3.14 06:09:56 ---> 0a97eee8041e 06:09:56 Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:09:56 ---> Running in f73b04d8fff6 06:09:56 Removing intermediate container f73b04d8fff6 06:09:56 ---> b5d0dcc0ae8f 06:09:56 Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:09:56 ---> Running in 4900bcd74b69 06:09:56 Removing intermediate container 4900bcd74b69 06:09:56 ---> 39e152bc7d4f 06:09:56 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 06:09:56 ---> Running in 0b7e06e5c644 06:09:57 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 06:09:58 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 06:09:58 (1/6) Installing dumb-init (1.2.5-r1) 06:09:58 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:09:58 (3/6) Installing libsodium (1.0.18-r0) 06:09:58 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:09:58 (5/6) Installing libzmq (4.3.4-r0) 06:09:58 (6/6) Installing zeromq (4.3.4-r0) 06:09:58 Executing busybox-1.33.1-r6.trigger 06:09:58 OK: 8 MiB in 20 packages 06:09:59 Removing intermediate container 0b7e06e5c644 06:09:59 ---> 6ebcbe147c47 06:09:59 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:09:59 ---> a943bde39bd6 06:09:59 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:09:59 ---> d203050f646b 06:09:59 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:09:59 ---> a43467a7ff80 06:09:59 Step 17/22 : EXPOSE 59901 06:09:59 ---> Running in 363438de1d84 06:09:59 Removing intermediate container 363438de1d84 06:09:59 ---> 2ca11febee92 06:09:59 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:09:59 ---> Running in 528546887d5a 06:10:00 Removing intermediate container 528546887d5a 06:10:00 ---> 2be53fbd1a3f 06:10:00 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:10:00 ---> Running in 4dd8ee08e174 06:10:00 Removing intermediate container 4dd8ee08e174 06:10:00 ---> b2509af2607e 06:10:00 Step 20/22 : LABEL arch=amd64 06:10:00 ---> Running in 879bbed1021d 06:10:00 Removing intermediate container 879bbed1021d 06:10:00 ---> 00b142013077 06:10:00 Step 21/22 : LABEL git_sha=ec5780f49cc8d227830b26f24a2b43a0b649d736 06:10:00 ---> Running in e99bb8b2009c 06:10:00 Removing intermediate container e99bb8b2009c 06:10:00 ---> 3c4cb4dc1e65 06:10:00 Step 22/22 : LABEL version=2.2.0-dev.3 06:10:00 ---> Running in e837ba3c3226 06:10:00 Removing intermediate container e837ba3c3226 06:10:00 ---> 7f58d5d270ee 06:10:00 [Warning] One or more build-args [ARCH] were not consumed 06:10:00 Successfully built 7f58d5d270ee 06:10:00 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:10:00 provisioning config files... 06:10:00 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5356736432339140238tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:00 ---> docker-login.sh 06:10:00 nexus3.edgexfoundry.org:10001 06:10:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:00 Configure a credential helper to remove this warning. See 06:10:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:00 06:10:00 Login Succeeded 06:10:00 nexus3.edgexfoundry.org:10002 06:10:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:01 Configure a credential helper to remove this warning. See 06:10:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:01 06:10:01 Login Succeeded 06:10:01 nexus3.edgexfoundry.org:10003 06:10:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:01 Configure a credential helper to remove this warning. See 06:10:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:01 06:10:01 Login Succeeded 06:10:01 nexus3.edgexfoundry.org:10004 06:10:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:01 Configure a credential helper to remove this warning. See 06:10:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:01 06:10:01 Login Succeeded 06:10:01 docker.io 06:10:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:01 Configure a credential helper to remove this warning. See 06:10:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:01 06:10:01 Login Succeeded 06:10:01 ---> docker-login.sh ends [Pipeline] } 06:10:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:10:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:10:01 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 06:10:01 ec5780f49cc8d227830b26f24a2b43a0b649d736 06:10:01 latest 06:10:01 2.2.0-dev.3 06:10:01 ec5780f49cc8d227830b26f24a2b43a0b649d736-2.2.0-dev.3 06:10:01 main 06:10:01 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:10:01 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:ec5780f49cc8d227830b26f24a2b43a0b649d736 [Pipeline] isUnix [Pipeline] sh 06:10:02 + docker push nexus3.edgexfoundry.org:10004/device-modbus:ec5780f49cc8d227830b26f24a2b43a0b649d736 06:10:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:10:02 2be72bfaf543: Preparing 06:10:02 ac6a77e9c742: Preparing 06:10:02 e7247eab2867: Preparing 06:10:02 8801f8871662: Preparing 06:10:02 bd3ff94871bc: Preparing 06:10:02 1a058d5342cc: Preparing 06:10:02 1a058d5342cc: Waiting 06:10:02 bd3ff94871bc: Pushed 06:10:02 2be72bfaf543: Pushed 06:10:02 1a058d5342cc: Layer already exists 06:10:02 ac6a77e9c742: Pushed 06:10:02 8801f8871662: Pushed 06:10:03 e7247eab2867: Pushed 06:10:03 ec5780f49cc8d227830b26f24a2b43a0b649d736: digest: sha256:7ca90d5bb834f8d52376138e2d5b4f2cde53bfa62c395232f3522a97060b126f size: 1573 [Pipeline] isUnix [Pipeline] sh 06:10:03 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh 06:10:04 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 06:10:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:10:04 2be72bfaf543: Preparing 06:10:04 ac6a77e9c742: Preparing 06:10:04 e7247eab2867: Preparing 06:10:04 8801f8871662: Preparing 06:10:04 bd3ff94871bc: Preparing 06:10:04 1a058d5342cc: Preparing 06:10:04 1a058d5342cc: Waiting 06:10:04 bd3ff94871bc: Layer already exists 06:10:04 8801f8871662: Layer already exists 06:10:04 ac6a77e9c742: Layer already exists 06:10:04 e7247eab2867: Layer already exists 06:10:04 2be72bfaf543: Layer already exists 06:10:04 1a058d5342cc: Layer already exists 06:10:04 latest: digest: sha256:7ca90d5bb834f8d52376138e2d5b4f2cde53bfa62c395232f3522a97060b126f size: 1573 [Pipeline] isUnix [Pipeline] sh 06:10:04 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.3 [Pipeline] isUnix [Pipeline] sh 06:10:04 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.3 06:10:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:10:04 2be72bfaf543: Preparing 06:10:04 ac6a77e9c742: Preparing 06:10:04 e7247eab2867: Preparing 06:10:04 8801f8871662: Preparing 06:10:04 bd3ff94871bc: Preparing 06:10:04 1a058d5342cc: Preparing 06:10:04 1a058d5342cc: Waiting 06:10:04 8801f8871662: Layer already exists 06:10:04 e7247eab2867: Layer already exists 06:10:04 2be72bfaf543: Layer already exists 06:10:04 bd3ff94871bc: Layer already exists 06:10:04 ac6a77e9c742: Layer already exists 06:10:04 1a058d5342cc: Layer already exists 06:10:04 2.2.0-dev.3: digest: sha256:7ca90d5bb834f8d52376138e2d5b4f2cde53bfa62c395232f3522a97060b126f size: 1573 [Pipeline] isUnix [Pipeline] sh 06:10:04 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:ec5780f49cc8d227830b26f24a2b43a0b649d736-2.2.0-dev.3 [Pipeline] isUnix [Pipeline] sh 06:10:05 + docker push nexus3.edgexfoundry.org:10004/device-modbus:ec5780f49cc8d227830b26f24a2b43a0b649d736-2.2.0-dev.3 06:10:05 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1658 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 06:10:05 Running in /w/workspace/device-modbus-go/20 [Pipeline] { [Pipeline] checkout 06:10:06 Selected Git installation does not exist. Using Default 06:10:06 The recommended git tool is: NONE 06:10:10 using credential edgex-jenkins-ssh 06:10:10 Cloning the remote Git repository 06:10:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:10:10 2be72bfaf543: Preparing 06:10:10 ac6a77e9c742: Preparing 06:10:10 e7247eab2867: Preparing 06:10:10 8801f8871662: Preparing 06:10:10 bd3ff94871bc: Preparing 06:10:10 1a058d5342cc: Preparing 06:10:10 1a058d5342cc: Waiting 06:10:10 2be72bfaf543: Layer already exists 06:10:10 8801f8871662: Layer already exists 06:10:10 e7247eab2867: Layer already exists 06:10:10 bd3ff94871bc: Layer already exists 06:10:10 ac6a77e9c742: Layer already exists 06:10:10 1a058d5342cc: Layer already exists 06:10:10 ec5780f49cc8d227830b26f24a2b43a0b649d736-2.2.0-dev.3: digest: sha256:7ca90d5bb834f8d52376138e2d5b4f2cde53bfa62c395232f3522a97060b126f size: 1573 [Pipeline] isUnix [Pipeline] sh 06:10:10 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh 06:10:10 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:10:10 > git init /w/workspace/device-modbus-go/20 # timeout=10 06:10:10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:10:10 > git --version # timeout=10 06:10:10 > git --version # 'git version 2.17.1' 06:10:10 using GIT_SSH to set credentials SSH Credentials for GitHub 06:10:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:10:11 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 06:10:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:10:11 2be72bfaf543: Preparing 06:10:11 ac6a77e9c742: Preparing 06:10:11 e7247eab2867: Preparing 06:10:11 8801f8871662: Preparing 06:10:11 bd3ff94871bc: Preparing 06:10:11 1a058d5342cc: Preparing 06:10:11 1a058d5342cc: Waiting 06:10:11 e7247eab2867: Layer already exists 06:10:11 bd3ff94871bc: Layer already exists 06:10:11 8801f8871662: Layer already exists 06:10:11 2be72bfaf543: Layer already exists 06:10:11 ac6a77e9c742: Layer already exists 06:10:11 1a058d5342cc: Layer already exists 06:10:11 main: digest: sha256:7ca90d5bb834f8d52376138e2d5b4f2cde53bfa62c395232f3522a97060b126f size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:10:11 ===================================================== [Pipeline] echo 06:10:11 taggedImages: 06:10:11 - nexus3.edgexfoundry.org:10004/device-modbus:ec5780f49cc8d227830b26f24a2b43a0b649d736 06:10:11 - nexus3.edgexfoundry.org:10004/device-modbus:latest 06:10:11 - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.3 06:10:11 - nexus3.edgexfoundry.org:10004/device-modbus:ec5780f49cc8d227830b26f24a2b43a0b649d736-2.2.0-dev.3 06:10:11 - 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 06:10:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:10:11 06:10:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix 06:10:11 Avoid second fetch 06:10:11 Checking out Revision ec5780f49cc8d227830b26f24a2b43a0b649d736 (main) [Pipeline] sh 06:10:11 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:10:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:10:11 > git config core.sparsecheckout # timeout=10 06:10:11 > git checkout -f ec5780f49cc8d227830b26f24a2b43a0b649d736 # timeout=10 06:10:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:10:12 latest: Pulling from edgex-lftools-log-publisher 06:10:12 b4d181a07f80: Pulling fs layer 06:10:12 a1111a8f2ec3: Pulling fs layer 06:10:12 ed53099fbce6: Pulling fs layer 06:10:12 dc539afda2c1: Pulling fs layer 06:10:12 77bc0d833cb6: Pulling fs layer 06:10:12 9065ff56babe: Pulling fs layer 06:10:12 d287ab97295c: Pulling fs layer 06:10:12 dc539afda2c1: Waiting 06:10:12 77bc0d833cb6: Waiting 06:10:12 9065ff56babe: Waiting 06:10:12 d287ab97295c: Waiting 06:10:12 a1111a8f2ec3: Verifying Checksum 06:10:12 a1111a8f2ec3: Download complete 06:10:12 dc539afda2c1: Verifying Checksum 06:10:12 dc539afda2c1: Download complete 06:10:12 ed53099fbce6: Verifying Checksum 06:10:12 ed53099fbce6: Download complete 06:10:12 9065ff56babe: Verifying Checksum 06:10:12 9065ff56babe: Download complete 06:10:12 b4d181a07f80: Verifying Checksum 06:10:12 b4d181a07f80: Download complete 06:10:12 77bc0d833cb6: Verifying Checksum 06:10:12 77bc0d833cb6: Download complete 06:10:13 d287ab97295c: Verifying Checksum 06:10:13 d287ab97295c: Download complete 06:10:14 b4d181a07f80: Pull complete 06:10:14 a1111a8f2ec3: Pull complete 06:10:14 ed53099fbce6: Pull complete 06:10:14 dc539afda2c1: Pull complete 06:10:14 77bc0d833cb6: Pull complete 06:10:14 9065ff56babe: Pull complete 06:10:16 Commit message: "Merge pull request #305 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.8" 06:10:16 06:10:16 GitHub has been notified of this commit’s build result 06:10:16 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:10:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:10:16 % Total % Received % Xferd Average Speed Time Time Time Current 06:10:16 Dload Upload Total Spent Left Speed 06:10:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 95508 0 --:--:-- --:--:-- --:--:-- 96284 [Pipeline] sh 06:10:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:10:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:10:17 + sudo tee /etc/docker/daemon.new 06:10:17 { 06:10:17 "registry-mirrors": [ 06:10:17 "https://nexus3.edgexfoundry.org:10001" 06:10:17 ], 06:10:17 "bip": "10.250.0.254/24", 06:10:17 "hosts": [ 06:10:17 "tcp://0.0.0.0:5555", 06:10:17 "unix:///var/run/docker.sock" 06:10:17 ], 06:10:17 "mtu": 1458, 06:10:17 "selinux-enabled": true, 06:10:17 "seccomp-profile": "/etc/docker/seccomp.json" 06:10:17 } [Pipeline] sh 06:10:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:10:18 + sudo service docker restart 06:10:20 d287ab97295c: Pull complete 06:10:20 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 06:10:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:10:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 06:10:20 prd-centos7-docker-4c-2g-1657 does not seem to be running inside a container 06:10:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 06:10:22 $ docker top ff7d5473d839e7eea93061f209057c4e303758c34c4c4aa52999e4b3c685030d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:23 ---> job-cost.sh 06:10:23 lf-activate-venv: SKIPPING 06:10:23 INFO: No Stack... 06:10:23 INFO: Retrieving Pricing Info for: v3-standard-2 06:10:23 INFO: Archiving Costs [Pipeline] sh 06:10:24 + cut -d, -f6 06:10:24 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [Pipeline] lock 06:10:24 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-20-stack-cost] 06:10:24 Resource [jenkins-edgexfoundry-device-modbus-go-main-20-stack-cost] did not exist. Created. 06:10:24 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:10:24 + echo total: 0.05999999865889549 [Pipeline] stash 06:10:24 Stashed 1 file(s) [Pipeline] } 06:10:24 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-20-stack-cost] [Pipeline] // lock [Pipeline] } 06:10:24 $ docker stop --time=1 ff7d5473d839e7eea93061f209057c4e303758c34c4c4aa52999e4b3c685030d 06:10:25 $ docker rm -f ff7d5473d839e7eea93061f209057c4e303758c34c4c4aa52999e4b3c685030d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:10:36 provisioning config files... 06:10:36 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/20@tmp/config5819261096795933490tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:37 ---> docker-login.sh 06:10:37 nexus3.edgexfoundry.org:10001 06:10:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:38 Configure a credential helper to remove this warning. See 06:10:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:38 06:10:38 Login Succeeded 06:10:38 nexus3.edgexfoundry.org:10002 06:10:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:38 Configure a credential helper to remove this warning. See 06:10:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:38 06:10:38 Login Succeeded 06:10:38 nexus3.edgexfoundry.org:10003 06:10:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:38 Configure a credential helper to remove this warning. See 06:10:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:38 06:10:38 Login Succeeded 06:10:38 nexus3.edgexfoundry.org:10004 06:10:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:39 Configure a credential helper to remove this warning. See 06:10:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:39 06:10:39 Login Succeeded 06:10:39 docker.io 06:10:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:40 Configure a credential helper to remove this warning. See 06:10:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:40 06:10:40 Login Succeeded 06:10:40 ---> docker-login.sh ends [Pipeline] } 06:10:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:10:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:10:40 ========================================================= 06:10:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 06:10:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:10:41 + 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 . 06:10:41 Sending build context to Docker daemon 2.969MB 06:10:41 Step 1/9 : ARG BASE=golang:1.16-alpine3.14 06:10:41 Step 2/9 : FROM ${BASE} AS builder 06:10:41 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:10:41 9b3977197b4f: Pulling fs layer 06:10:41 1a89e8eeedd5: Pulling fs layer 06:10:41 94645a83ff95: Pulling fs layer 06:10:41 3f3a8bcf1eab: Pulling fs layer 06:10:41 0c92f367c5e7: Pulling fs layer 06:10:41 4b8299f9d1f4: Pulling fs layer 06:10:41 9a6b49a46696: Pulling fs layer 06:10:41 cf05db05a679: Pulling fs layer 06:10:41 3f3a8bcf1eab: Waiting 06:10:41 4b8299f9d1f4: Waiting 06:10:41 0c92f367c5e7: Waiting 06:10:41 9a6b49a46696: Waiting 06:10:41 cf05db05a679: Waiting 06:10:41 94645a83ff95: Verifying Checksum 06:10:41 94645a83ff95: Download complete 06:10:41 1a89e8eeedd5: Verifying Checksum 06:10:41 1a89e8eeedd5: Download complete 06:10:41 0c92f367c5e7: Verifying Checksum 06:10:41 0c92f367c5e7: Download complete 06:10:41 4b8299f9d1f4: Verifying Checksum 06:10:41 4b8299f9d1f4: Download complete 06:10:41 9b3977197b4f: Verifying Checksum 06:10:41 9a6b49a46696: Verifying Checksum 06:10:41 9b3977197b4f: Download complete 06:10:41 9a6b49a46696: Download complete 06:10:42 9b3977197b4f: Pull complete 06:10:42 1a89e8eeedd5: Pull complete 06:10:43 94645a83ff95: Pull complete 06:10:43 cf05db05a679: Verifying Checksum 06:10:43 cf05db05a679: Download complete 06:10:44 3f3a8bcf1eab: Verifying Checksum 06:10:44 3f3a8bcf1eab: Download complete 06:10:56 3f3a8bcf1eab: Pull complete 06:10:56 0c92f367c5e7: Pull complete 06:10:56 4b8299f9d1f4: Pull complete 06:10:56 9a6b49a46696: Pull complete 06:11:03 cf05db05a679: Pull complete 06:11:03 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 06:11:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 06:11:03 ---> 0ccda1f7e2ee 06:11:03 Step 3/9 : ARG MAKE='make build' 06:11:04 ---> Running in 4619918c3ca2 06:11:04 Removing intermediate container 4619918c3ca2 06:11:04 ---> 537b9ad0dbf2 06:11:04 Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:11:04 ---> Running in bca1d3d986ca 06:11:06 Removing intermediate container bca1d3d986ca 06:11:06 ---> d68f0a8f81a9 06:11:06 Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 06:11:06 ---> Running in 6266af8c21fe 06:11:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:11:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:11:09 (1/8) Installing openssh-keygen (8.8_p1-r1) 06:11:09 (2/8) Installing libedit (20210910.3.1-r0) 06:11:09 (3/8) Installing openssh-client-common (8.8_p1-r1) 06:11:09 (4/8) Installing openssh-client-default (8.8_p1-r1) 06:11:09 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 06:11:09 (6/8) Installing openssh-server-common (8.8_p1-r1) 06:11:09 (7/8) Installing openssh-server (8.8_p1-r1) 06:11:10 (8/8) Installing openssh (8.8_p1-r1) 06:11:10 Executing busybox-1.34.1-r3.trigger 06:11:10 OK: 226 MiB in 60 packages 06:11:11 Removing intermediate container 6266af8c21fe 06:11:11 ---> 44e1707a5dc7 06:11:11 Step 6/9 : WORKDIR /device-modbus-go 06:11:11 ---> Running in 9d96b62d57d9 06:11:11 Removing intermediate container 9d96b62d57d9 06:11:11 ---> b806654471a8 06:11:11 Step 7/9 : COPY . . 06:11:12 ---> a1d216828751 06:11:12 Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:11:12 ---> Running in 018895a782d6 06:12:34 Removing intermediate container 018895a782d6 06:12:34 ---> 997370040465 06:12:34 Step 9/9 : RUN ${MAKE} 06:12:34 ---> Running in 0573e78cc9b1 06:12:34 noop 06:12:34 Removing intermediate container 0573e78cc9b1 06:12:34 ---> 80753f10d014 06:12:34 Successfully built 80753f10d014 06:12:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:12:34 + docker inspect -f . ci-base-image-arm64 06:12:34 . [Pipeline] withDockerContainer 06:12:34 prd-ubuntu18.04-docker-arm64-4c-16g-1658 does not seem to be running inside a container 06:12:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/20 -v /w/workspace/device-modbus-go/20:/w/workspace/device-modbus-go/20:rw,z -v /w/workspace/device-modbus-go/20@tmp:/w/workspace/device-modbus-go/20@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 06:12:36 $ docker top d9608131aef8213a1d9e30a761b28edecdf34e3360c4a18f9f83b8f87bd8e471 -eo pid,comm [Pipeline] { [Pipeline] sh 06:12:37 + go version 06:12:37 go version go1.17.6 linux/arm64 [Pipeline] } 06:12:37 $ docker stop --time=1 d9608131aef8213a1d9e30a761b28edecdf34e3360c4a18f9f83b8f87bd8e471 06:12:38 $ docker rm -f d9608131aef8213a1d9e30a761b28edecdf34e3360c4a18f9f83b8f87bd8e471 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:12:39 + docker inspect -f . ci-base-image-arm64 06:12:39 . [Pipeline] withDockerContainer 06:12:39 prd-ubuntu18.04-docker-arm64-4c-16g-1658 does not seem to be running inside a container 06:12:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/20 -v /w/workspace/device-modbus-go/20:/w/workspace/device-modbus-go/20:rw,z -v /w/workspace/device-modbus-go/20@tmp:/w/workspace/device-modbus-go/20@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 06:12:41 $ docker top 9fca545be7d85df8b6bcc1a73b7a332624ca1b2ac2a789e40c6b83fd3590d383 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:12:41 + make test 06:12:41 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:12:42 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:13:29 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:13:32 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.052s coverage: 46.6% of statements 06:13:32 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:13:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:13:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:13:54 ./bin/test-attribution-txt.sh [Pipeline] echo 06:13:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:13:54 $ docker stop --time=1 9fca545be7d85df8b6bcc1a73b7a332624ca1b2ac2a789e40c6b83fd3590d383 06:13:56 $ docker rm -f 9fca545be7d85df8b6bcc1a73b7a332624ca1b2ac2a789e40c6b83fd3590d383 [Pipeline] // withDockerContainer [Pipeline] sh 06:13:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:13:57 Warning: overwriting stash ‘coverage-report’ 06:13:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:13:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:13:58 + ls -al . 06:13:58 total 184 06:13:58 drwxrwxr-x 9 jenkins jenkins 4096 Jan 17 06:13 . 06:13:58 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 06:10 .. 06:13:58 -rw-rw-r-- 1 jenkins jenkins 140 Jan 17 06:10 .dockerignore 06:13:58 drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 06:10 .git 06:13:58 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 06:10 .github 06:13:58 -rw-rw-r-- 1 jenkins jenkins 331 Jan 17 06:10 .gitignore 06:13:58 -rw-rw-r-- 1 jenkins jenkins 8010 Jan 17 06:10 Attribution.txt 06:13:58 -rw-rw-r-- 1 jenkins jenkins 6038 Jan 17 06:10 CHANGELOG.md 06:13:58 -rw-rw-r-- 1 jenkins jenkins 1523 Jan 17 06:10 Dockerfile 06:13:58 -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 06:10 GOVERNANCE.md 06:13:58 -rw-rw-r-- 1 jenkins jenkins 679 Jan 17 06:10 Jenkinsfile 06:13:58 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 06:10 LICENSE 06:13:58 -rw-rw-r-- 1 jenkins jenkins 1009 Jan 17 06:10 Makefile 06:13:58 -rw-rw-r-- 1 jenkins jenkins 622 Jan 17 06:10 OWNERS.md 06:13:58 -rw-rw-r-- 1 jenkins jenkins 3488 Jan 17 06:10 README.md 06:13:58 -rw-rw-r-- 1 jenkins jenkins 11 Jan 17 06:08 VERSION 06:13:58 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 06:10 bin 06:13:58 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 06:10 cmd 06:13:58 -rw-r--r-- 1 jenkins jenkins 23727 Jan 17 06:13 coverage.out 06:13:58 -rw-rw-r-- 1 jenkins jenkins 300 Jan 17 06:10 go.mod 06:13:58 -rw-rw-r-- 1 jenkins jenkins 49511 Jan 17 06:10 go.sum 06:13:58 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 06:10 internal 06:13:58 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 06:10 simulator 06:13:58 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 06:10 snap 06:13:58 -rw-rw-r-- 1 jenkins jenkins 229 Jan 17 06:10 version.go [Pipeline] isUnix [Pipeline] sh 06:13:58 + 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=ec5780f49cc8d227830b26f24a2b43a0b649d736 --label arch=arm64 --label version=2.2.0-dev.3 . 06:13:59 Sending build context to Docker daemon 2.993MB 06:13:59 Step 1/22 : ARG BASE=golang:1.16-alpine3.14 06:13:59 Step 2/22 : FROM ${BASE} AS builder 06:13:59 ---> 80753f10d014 06:13:59 Step 3/22 : ARG MAKE='make build' 06:13:59 ---> Running in 7d495fd28ca8 06:13:59 Removing intermediate container 7d495fd28ca8 06:13:59 ---> cd23ddf4958d 06:13:59 Step 4/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:13:59 ---> Running in d285ecc47a32 06:14:01 Removing intermediate container d285ecc47a32 06:14:01 ---> f2011fc64f10 06:14:01 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 06:14:01 ---> Running in e4df961a3315 06:14:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:14:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:14:04 OK: 226 MiB in 60 packages 06:14:04 Removing intermediate container e4df961a3315 06:14:04 ---> acd92ddf8482 06:14:04 Step 6/22 : WORKDIR /device-modbus-go 06:14:05 ---> Running in ffc027ac11cb 06:14:05 Removing intermediate container ffc027ac11cb 06:14:05 ---> 4b8b27c87fdd 06:14:05 Step 7/22 : COPY . . 06:14:06 ---> c7b0d7151dde 06:14:06 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:14:06 ---> Running in eb9b456b866b 06:14:08 Removing intermediate container eb9b456b866b 06:14:08 ---> 25634ad88056 06:14:08 Step 9/22 : RUN ${MAKE} 06:14:08 ---> Running in f5a259ecfce6 06:14:09 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.3" -o cmd/device-modbus ./cmd 06:14:48 Removing intermediate container f5a259ecfce6 06:14:48 ---> 13bac76c0cc0 06:14:48 Step 10/22 : FROM alpine:3.14 06:14:49 3.14: Pulling from library/alpine 06:14:49 be307f383ecc: Pulling fs layer 06:14:49 be307f383ecc: Verifying Checksum 06:14:49 be307f383ecc: Download complete 06:14:50 be307f383ecc: Pull complete 06:14:50 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 06:14:50 Status: Downloaded newer image for alpine:3.14 06:14:50 ---> 5b8b7b635229 06:14:50 Step 11/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:14:50 ---> Running in 303272a571b5 06:14:50 Removing intermediate container 303272a571b5 06:14:50 ---> fa9acfe9a92b 06:14:50 Step 12/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:14:50 ---> Running in 77ba34021e03 06:14:52 Removing intermediate container 77ba34021e03 06:14:52 ---> 0cdc8a81dbbc 06:14:52 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 06:14:52 ---> Running in baf88f87c2c1 06:14:53 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 06:14:54 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 06:14:55 (1/6) Installing dumb-init (1.2.5-r1) 06:14:55 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:14:55 (3/6) Installing libsodium (1.0.18-r0) 06:14:55 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:14:55 (5/6) Installing libzmq (4.3.4-r0) 06:14:55 (6/6) Installing zeromq (4.3.4-r0) 06:14:55 Executing busybox-1.33.1-r6.trigger 06:14:55 OK: 8 MiB in 20 packages 06:14:56 Removing intermediate container baf88f87c2c1 06:14:56 ---> 349be117367d 06:14:56 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:14:57 ---> 42e80ed8426d 06:14:57 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:14:58 ---> 5a21109d5c70 06:14:58 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:14:59 ---> e186ac70192c 06:14:59 Step 17/22 : EXPOSE 59901 06:14:59 ---> Running in dceb8840ca73 06:14:59 Removing intermediate container dceb8840ca73 06:14:59 ---> 004d7212eaa1 06:14:59 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:14:59 ---> Running in 5970535cac02 06:15:00 Removing intermediate container 5970535cac02 06:15:00 ---> 2f76940e6b52 06:15:00 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:15:00 ---> Running in cb018a27fd56 06:15:00 Removing intermediate container cb018a27fd56 06:15:00 ---> afb936254520 06:15:00 Step 20/22 : LABEL arch=arm64 06:15:00 ---> Running in 68fe23607f99 06:15:00 Removing intermediate container 68fe23607f99 06:15:00 ---> 9deea8771ed6 06:15:00 Step 21/22 : LABEL git_sha=ec5780f49cc8d227830b26f24a2b43a0b649d736 06:15:00 ---> Running in a7438caafa2b 06:15:01 Removing intermediate container a7438caafa2b 06:15:01 ---> c5cb8a4ce227 06:15:01 Step 22/22 : LABEL version=2.2.0-dev.3 06:15:01 ---> Running in 82ea9366b905 06:15:01 Removing intermediate container 82ea9366b905 06:15:01 ---> 2d9e91ec5a05 06:15:01 [Warning] One or more build-args [ARCH] were not consumed 06:15:01 Successfully built 2d9e91ec5a05 06:15:01 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 06:15:01 provisioning config files... 06:15:01 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/20@tmp/config8105777492568524927tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:15:02 ---> docker-login.sh 06:15:02 nexus3.edgexfoundry.org:10001 06:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:02 Configure a credential helper to remove this warning. See 06:15:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:02 06:15:02 Login Succeeded 06:15:02 nexus3.edgexfoundry.org:10002 06:15:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:03 Configure a credential helper to remove this warning. See 06:15:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:03 06:15:03 Login Succeeded 06:15:03 nexus3.edgexfoundry.org:10003 06:15:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:03 Configure a credential helper to remove this warning. See 06:15:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:03 06:15:03 Login Succeeded 06:15:03 nexus3.edgexfoundry.org:10004 06:15:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:03 Configure a credential helper to remove this warning. See 06:15:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:03 06:15:03 Login Succeeded 06:15:03 docker.io 06:15:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:04 Configure a credential helper to remove this warning. See 06:15:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:04 06:15:04 Login Succeeded 06:15:04 ---> docker-login.sh ends [Pipeline] } 06:15:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:15:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:15:04 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 06:15:04 ec5780f49cc8d227830b26f24a2b43a0b649d736 06:15:04 latest 06:15:04 2.2.0-dev.3 06:15:04 ec5780f49cc8d227830b26f24a2b43a0b649d736-2.2.0-dev.3 06:15:04 main 06:15:04 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:15:05 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:ec5780f49cc8d227830b26f24a2b43a0b649d736 [Pipeline] isUnix [Pipeline] sh 06:15:05 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:ec5780f49cc8d227830b26f24a2b43a0b649d736 06:15:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:15:05 34484cfd727a: Preparing 06:15:05 47fd270dd0b2: Preparing 06:15:05 26eb0fc89cfb: Preparing 06:15:05 862e74b1008e: Preparing 06:15:05 80decb9b2860: Preparing 06:15:05 62170e181a92: Preparing 06:15:05 62170e181a92: Waiting 06:15:05 80decb9b2860: Pushed 06:15:05 47fd270dd0b2: Pushed 06:15:05 34484cfd727a: Pushed 06:15:05 62170e181a92: Layer already exists 06:15:06 862e74b1008e: Pushed 06:15:08 26eb0fc89cfb: Pushed 06:15:08 ec5780f49cc8d227830b26f24a2b43a0b649d736: digest: sha256:1cfe008ec83314f7b89cc1f20f3efa074dc9de8c9213db27690d00ef0b433a44 size: 1572 [Pipeline] isUnix [Pipeline] sh 06:15:09 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:15:09 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 06:15:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:15:09 34484cfd727a: Preparing 06:15:09 47fd270dd0b2: Preparing 06:15:09 26eb0fc89cfb: Preparing 06:15:09 862e74b1008e: Preparing 06:15:09 80decb9b2860: Preparing 06:15:09 62170e181a92: Preparing 06:15:09 62170e181a92: Waiting 06:15:09 47fd270dd0b2: Layer already exists 06:15:09 34484cfd727a: Layer already exists 06:15:09 80decb9b2860: Layer already exists 06:15:09 26eb0fc89cfb: Layer already exists 06:15:09 862e74b1008e: Layer already exists 06:15:09 62170e181a92: Layer already exists 06:15:09 latest: digest: sha256:1cfe008ec83314f7b89cc1f20f3efa074dc9de8c9213db27690d00ef0b433a44 size: 1572 [Pipeline] isUnix [Pipeline] sh 06:15:10 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.3 [Pipeline] isUnix [Pipeline] sh 06:15:10 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.3 06:15:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:15:10 34484cfd727a: Preparing 06:15:10 47fd270dd0b2: Preparing 06:15:10 26eb0fc89cfb: Preparing 06:15:10 862e74b1008e: Preparing 06:15:10 80decb9b2860: Preparing 06:15:10 62170e181a92: Preparing 06:15:10 62170e181a92: Waiting 06:15:10 34484cfd727a: Layer already exists 06:15:10 47fd270dd0b2: Layer already exists 06:15:10 862e74b1008e: Layer already exists 06:15:10 80decb9b2860: Layer already exists 06:15:10 26eb0fc89cfb: Layer already exists 06:15:10 62170e181a92: Layer already exists 06:15:10 2.2.0-dev.3: digest: sha256:1cfe008ec83314f7b89cc1f20f3efa074dc9de8c9213db27690d00ef0b433a44 size: 1572 [Pipeline] isUnix [Pipeline] sh 06:15:11 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:ec5780f49cc8d227830b26f24a2b43a0b649d736-2.2.0-dev.3 [Pipeline] isUnix [Pipeline] sh 06:15:11 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:ec5780f49cc8d227830b26f24a2b43a0b649d736-2.2.0-dev.3 06:15:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:15:11 34484cfd727a: Preparing 06:15:11 47fd270dd0b2: Preparing 06:15:11 26eb0fc89cfb: Preparing 06:15:11 862e74b1008e: Preparing 06:15:11 80decb9b2860: Preparing 06:15:11 62170e181a92: Preparing 06:15:11 62170e181a92: Waiting 06:15:11 26eb0fc89cfb: Layer already exists 06:15:11 862e74b1008e: Layer already exists 06:15:11 34484cfd727a: Layer already exists 06:15:11 80decb9b2860: Layer already exists 06:15:11 47fd270dd0b2: Layer already exists 06:15:11 62170e181a92: Layer already exists 06:15:11 ec5780f49cc8d227830b26f24a2b43a0b649d736-2.2.0-dev.3: digest: sha256:1cfe008ec83314f7b89cc1f20f3efa074dc9de8c9213db27690d00ef0b433a44 size: 1572 [Pipeline] isUnix [Pipeline] sh 06:15:11 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh 06:15:12 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 06:15:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:15:12 34484cfd727a: Preparing 06:15:12 47fd270dd0b2: Preparing 06:15:12 26eb0fc89cfb: Preparing 06:15:12 862e74b1008e: Preparing 06:15:12 80decb9b2860: Preparing 06:15:12 62170e181a92: Preparing 06:15:12 62170e181a92: Waiting 06:15:12 34484cfd727a: Layer already exists 06:15:12 26eb0fc89cfb: Layer already exists 06:15:12 80decb9b2860: Layer already exists 06:15:12 862e74b1008e: Layer already exists 06:15:12 47fd270dd0b2: Layer already exists 06:15:12 62170e181a92: Layer already exists 06:15:12 main: digest: sha256:1cfe008ec83314f7b89cc1f20f3efa074dc9de8c9213db27690d00ef0b433a44 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:15:12 ===================================================== [Pipeline] echo 06:15:12 taggedImages: 06:15:12 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:ec5780f49cc8d227830b26f24a2b43a0b649d736 06:15:12 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 06:15:12 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.3 06:15:12 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:ec5780f49cc8d227830b26f24a2b43a0b649d736-2.2.0-dev.3 06:15:12 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:15:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:15:13 06:15:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 06:15:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:15:13 arm64: Pulling from edgex-lftools-log-publisher 06:15:13 448f6bf000e3: Pulling fs layer 06:15:13 f757da607395: Pulling fs layer 06:15:13 05883995daec: Pulling fs layer 06:15:13 8603b9c90790: Pulling fs layer 06:15:13 1560dd03e051: Pulling fs layer 06:15:13 27f5ce0e4adf: Pulling fs layer 06:15:13 c2d8d7efcc4b: Pulling fs layer 06:15:13 1560dd03e051: Waiting 06:15:13 27f5ce0e4adf: Waiting 06:15:13 c2d8d7efcc4b: Waiting 06:15:13 8603b9c90790: Waiting 06:15:13 f757da607395: Download complete 06:15:13 8603b9c90790: Verifying Checksum 06:15:13 8603b9c90790: Download complete 06:15:13 1560dd03e051: Verifying Checksum 06:15:13 1560dd03e051: Download complete 06:15:13 27f5ce0e4adf: Verifying Checksum 06:15:13 27f5ce0e4adf: Download complete 06:15:13 05883995daec: Verifying Checksum 06:15:13 05883995daec: Download complete 06:15:14 448f6bf000e3: Verifying Checksum 06:15:14 448f6bf000e3: Download complete 06:15:16 c2d8d7efcc4b: Verifying Checksum 06:15:16 c2d8d7efcc4b: Download complete 06:15:17 448f6bf000e3: Pull complete 06:15:18 f757da607395: Pull complete 06:15:19 05883995daec: Pull complete 06:15:20 8603b9c90790: Pull complete 06:15:21 1560dd03e051: Pull complete 06:15:21 27f5ce0e4adf: Pull complete 06:15:36 c2d8d7efcc4b: Pull complete 06:15:36 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 06:15:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:15:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 06:15:36 prd-ubuntu18.04-docker-arm64-4c-16g-1658 does not seem to be running inside a container 06:15:36 $ 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/20 -v /w/workspace/device-modbus-go/20:/w/workspace/device-modbus-go/20:rw,z -v /w/workspace/device-modbus-go/20@tmp:/w/workspace/device-modbus-go/20@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 06:15:39 $ docker top 084c9833a8285bcad4dacc5a4d3e7a41b373f0449646c277e40a04b1b9476e32 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:15:40 ---> job-cost.sh 06:15:40 lf-activate-venv: SKIPPING 06:15:40 INFO: No Stack... 06:15:40 INFO: Retrieving Pricing Info for: v3-standard-4 06:15:41 INFO: Archiving Costs [Pipeline] sh 06:15:41 + cut -d, -f6 06:15:41 + cat /w/workspace/device-modbus-go/20/archives/cost.csv [Pipeline] lock 06:15:41 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-20-stack-cost] 06:15:41 Resource [jenkins-edgexfoundry-device-modbus-go-main-20-stack-cost] did not exist. Created. 06:15:41 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:15:42 /w/workspace/device-modbus-go/20@tmp/durable-28c61684/script.sh: 1: /w/workspace/device-modbus-go/20@tmp/durable-28c61684/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:15:43 + echo total: 0.10999999940395355 [Pipeline] stash 06:15:43 Warning: overwriting stash ‘stack-cost’ 06:15:43 Stashed 1 file(s) [Pipeline] } 06:15:43 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-20-stack-cost] [Pipeline] // lock [Pipeline] } 06:15:43 $ docker stop --time=1 084c9833a8285bcad4dacc5a4d3e7a41b373f0449646c277e40a04b1b9476e32 06:15:44 $ docker rm -f 084c9833a8285bcad4dacc5a4d3e7a41b373f0449646c277e40a04b1b9476e32 [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 06:15:45 provisioning config files... 06:15:45 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5964834368183194369tmp [Pipeline] { [Pipeline] sh 06:15:45 + set +x 06:15:45 + curl -s https://codecov.io/bash 06:15:45 + bash -s -- 06:15:45 06:15:45 _____ _ 06:15:45 / ____| | | 06:15:45 | | ___ __| | ___ ___ _____ __ 06:15:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:15:45 | |___| (_) | (_| | __/ (_| (_) \ V / 06:15:45 \_____\___/ \__,_|\___|\___\___/ \_/ 06:15:45 Bash-1.0.6 06:15:45 06:15:45 06:15:45 ==> git version 2.24.4 found 06:15:45 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 06:15:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:15:45 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:15:45 ==> Jenkins CI detected. 06:15:45 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 06:15:45 project root: . 06:15:45 --> token set from env 06:15:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:15:45 ==> Running gcov in . (disable via -X gcov) 06:15:45 ==> Python coveragepy not found 06:15:45 ==> Searching for coverage reports in: 06:15:45 + . 06:15:45 -> Found 1 reports 06:15:45 ==> Detecting git/mercurial file structure 06:15:45 ==> Reading reports 06:15:45 + ./coverage.out bytes=23727 06:15:45 ==> Appending adjustments 06:15:45 https://docs.codecov.io/docs/fixing-reports 06:15:45 + Found adjustments 06:15:45 ==> Gzipping contents 06:15:45 4.0K /tmp/codecov.DzUpvo.gz 06:15:45 ==> Uploading reports 06:15:45 url: https://codecov.io 06:15:45 query: branch=main&commit=ec5780f49cc8d227830b26f24a2b43a0b649d736&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:15:45 -> Pinging Codecov 06:15:45 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=ec5780f49cc8d227830b26f24a2b43a0b649d736&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:15:46 -> Uploading to 06:15:46 https://storage.googleapis.com/codecov/v4/raw/2022-01-17/55DBCA73C666E3227836607328DD7E49/ec5780f49cc8d227830b26f24a2b43a0b649d736/bc8ec7ef-ed9e-40e1-b1d5-4bb4c38dfc26.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220117T061546Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a2563f240f70bce445204ba1625bdb6ec475fb01bbd89f6ff27c585d05ac0578 06:15:46 % Total % Received % Xferd Average Speed Time Time Time Current 06:15:46 Dload Upload Total Spent Left Speed 06:15:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3991 0 0 100 3991 0 11381 --:--:-- --:--:-- --:--:-- 11402 06:15:46 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/ec5780f49cc8d227830b26f24a2b43a0b649d736 [Pipeline] } 06:15:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:15:47 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:15:47 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:15:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:15:47 06:15:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 06:15:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:15:47 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:15:47 188c0c94c7c5: Pulling fs layer 06:15:47 0ef7d3d256c8: Pulling fs layer 06:15:47 de9db76c5a1d: Pulling fs layer 06:15:47 0eba1c9be4d2: Pulling fs layer 06:15:47 0d57e429df01: Pulling fs layer 06:15:47 4e4be7b47b0d: Pulling fs layer 06:15:47 e1f770b5df2f: Pulling fs layer 06:15:47 85a0685a4137: Pulling fs layer 06:15:47 0eba1c9be4d2: Waiting 06:15:47 0d57e429df01: Waiting 06:15:47 4e4be7b47b0d: Waiting 06:15:47 e1f770b5df2f: Waiting 06:15:47 85a0685a4137: Waiting 06:15:47 de9db76c5a1d: Verifying Checksum 06:15:47 de9db76c5a1d: Download complete 06:15:47 0ef7d3d256c8: Verifying Checksum 06:15:47 0ef7d3d256c8: Download complete 06:15:47 0d57e429df01: Verifying Checksum 06:15:47 0d57e429df01: Download complete 06:15:47 4e4be7b47b0d: Verifying Checksum 06:15:47 4e4be7b47b0d: Download complete 06:15:47 188c0c94c7c5: Verifying Checksum 06:15:47 188c0c94c7c5: Download complete 06:15:47 e1f770b5df2f: Verifying Checksum 06:15:47 e1f770b5df2f: Download complete 06:15:48 0eba1c9be4d2: Verifying Checksum 06:15:48 0eba1c9be4d2: Download complete 06:15:48 188c0c94c7c5: Pull complete 06:15:48 0ef7d3d256c8: Pull complete 06:15:48 85a0685a4137: Verifying Checksum 06:15:48 85a0685a4137: Download complete 06:15:48 de9db76c5a1d: Pull complete 06:15:52 0eba1c9be4d2: Pull complete 06:15:52 0d57e429df01: Pull complete 06:15:52 4e4be7b47b0d: Pull complete 06:15:52 e1f770b5df2f: Pull complete 06:15:56 85a0685a4137: Pull complete 06:15:56 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 06:15:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:15:56 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 06:15:56 prd-centos7-docker-4c-2g-1657 does not seem to be running inside a container 06:15: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 06:15:58 $ docker top 23c0fd01491a9662e9ad78730bf97dfb57ad3a8d9553dbfead24205facb65b13 -eo pid,comm [Pipeline] { [Pipeline] echo 06:15:58 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 06:15:58 + set -o pipefail 06:15:58 + snyk monitor '--org=edgex-jenkins' 06:16:05 06:16:05 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 06:16:05 06:16:05 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/01b98780-f587-4dba-a26f-4a1d3affc58b 06:16:05 06:16:05 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 06:16:05 06:16:05 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:16:05 06:16:05 [Pipeline] } 06:16:05 $ docker stop --time=1 23c0fd01491a9662e9ad78730bf97dfb57ad3a8d9553dbfead24205facb65b13 06:16:07 $ docker rm -f 23c0fd01491a9662e9ad78730bf97dfb57ad3a8d9553dbfead24205facb65b13 [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 06:16:07 + git log --format=format:%s -1 ec5780f49cc8d227830b26f24a2b43a0b649d736 [Pipeline] sh 06:16:08 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 06:16:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:16:08 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:16:08 . [Pipeline] withDockerContainer 06:16:08 prd-centos7-docker-4c-2g-1657 does not seem to be running inside a container 06:16:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:16:09 $ docker top e82a4fd3df9575700b243956eabf601064f66d47343bf96f0ca538e2e2d146c6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:16:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:16:09 [ssh-agent] Looking for ssh-agent implementation... 06:16:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:16:09 $ docker exec e82a4fd3df9575700b243956eabf601064f66d47343bf96f0ca538e2e2d146c6 ssh-agent 06:16:09 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlfpaAh/agent.14 06:16:09 SSH_AGENT_PID=20 06:16:09 Running ssh-add (command line suppressed) 06:16:09 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_734224827250270050.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_734224827250270050.key) 06:16:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:16:09 + git semver tag 06:16:09 # -> Open(): unable to determine branch for HEAD 06:16:09 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 06:16:09 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 06:16:09 # $SEMVER_REMOTE_NAME = origin 06:16:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:16:09 # $SEMVER_USER_NAME = edgex-jenkins 06:16:09 # $SEMVER_BRANCH = main 06:16:09 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver 06:16:09 # ec5780f49cc8d227830b26f24a2b43a0b649d736 HEAD 06:16:09 # -> Force: false 06:16:09 # a4921505bcec55636fa3eb1d825a065d6bc93ee0 refs/tags/v2.2.0-dev.3 [Pipeline] } 06:16:09 $ docker exec --env ******** --env ******** e82a4fd3df9575700b243956eabf601064f66d47343bf96f0ca538e2e2d146c6 ssh-agent -k 06:16:09 unset SSH_AUTH_SOCK; 06:16:09 unset SSH_AGENT_PID; 06:16:09 echo Agent pid 20 killed; 06:16:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:16:10 + git semver [Pipeline] } 06:16:10 $ docker stop --time=1 e82a4fd3df9575700b243956eabf601064f66d47343bf96f0ca538e2e2d146c6 06:16:11 $ docker rm -f e82a4fd3df9575700b243956eabf601064f66d47343bf96f0ca538e2e2d146c6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 06:16:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:16:11 06:16:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 06:16:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:16:12 0.23.1-centos7: Pulling from edgex-lftools 06:16:12 ab5ef0e58194: Pulling fs layer 06:16:12 9712f1f96733: Pulling fs layer 06:16:12 63f879dbbcfc: Pulling fs layer 06:16:12 0d9ebad4ef96: Pulling fs layer 06:16:12 e9a5061849ea: Pulling fs layer 06:16:12 d747dcd14b5f: Pulling fs layer 06:16:12 2de7ff778b66: Pulling fs layer 06:16:12 e9a5061849ea: Waiting 06:16:12 d747dcd14b5f: Waiting 06:16:12 2de7ff778b66: Waiting 06:16:12 0d9ebad4ef96: Waiting 06:16:12 9712f1f96733: Verifying Checksum 06:16:12 9712f1f96733: Download complete 06:16:12 63f879dbbcfc: Verifying Checksum 06:16:12 63f879dbbcfc: Download complete 06:16:12 ab5ef0e58194: Verifying Checksum 06:16:12 ab5ef0e58194: Download complete 06:16:12 0d9ebad4ef96: Verifying Checksum 06:16:12 0d9ebad4ef96: Download complete 06:16:12 d747dcd14b5f: Verifying Checksum 06:16:12 d747dcd14b5f: Download complete 06:16:12 e9a5061849ea: Verifying Checksum 06:16:12 e9a5061849ea: Download complete 06:16:12 2de7ff778b66: Verifying Checksum 06:16:12 2de7ff778b66: Download complete 06:16:15 ab5ef0e58194: Pull complete 06:16:15 9712f1f96733: Pull complete 06:16:16 63f879dbbcfc: Pull complete 06:16:20 0d9ebad4ef96: Pull complete 06:16:20 e9a5061849ea: Pull complete 06:16:20 d747dcd14b5f: Pull complete 06:16:21 2de7ff778b66: Pull complete 06:16:21 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:16:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:16:21 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 06:16:22 prd-centos7-docker-4c-2g-1657 does not seem to be running inside a container 06:16:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:16:25 $ docker top 4e21e304289adae88c7ff760b1ddf2832853d4aba0635cfd5c30b1746d60b489 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:16:25 provisioning config files... 06:16:25 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4613371107313230900tmp 06:16:25 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6844096728167985531tmp 06:16:25 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3067089927600362160tmp [Pipeline] { [Pipeline] echo 06:16:25 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:16:26 ---> sigul-configuration.sh 06:16:26 gpg: directory `/root/.gnupg' created 06:16:26 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:16:26 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:16:26 gpg: keyring `/root/.gnupg/secring.gpg' created 06:16:26 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:16:26 gpg: CAST5 encrypted data 06:16:26 gpg: encrypted with 1 passphrase 06:16:26 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:16:26 + mkdir /home/jenkins 06:16:26 + mkdir /home/jenkins/sigul [Pipeline] sh 06:16:26 + 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 06:16:26 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:16:27 ---> sigul-install.sh 06:16:27 Sigul already installed; skipping installation. [Pipeline] sh 06:16:27 + git tag --list 06:16:27 0.7.1 06:16:27 v1.0.0 06:16:27 v1.1.0 06:16:27 v1.1.1 06:16:27 v1.2.2 06:16:27 v1.3.0 06:16:27 v1.3.1 06:16:27 v2.0.0 06:16:27 v2.0.1-dev.1 06:16:27 v2.0.1-dev.10 06:16:27 v2.0.1-dev.11 06:16:27 v2.0.1-dev.12 06:16:27 v2.0.1-dev.2 06:16:27 v2.0.1-dev.3 06:16:27 v2.0.1-dev.4 06:16:27 v2.0.1-dev.5 06:16:27 v2.0.1-dev.6 06:16:27 v2.0.1-dev.7 06:16:27 v2.0.1-dev.8 06:16:27 v2.0.1-dev.9 06:16:27 v2.1.0 06:16:27 v2.2.0-dev.1 06:16:27 v2.2.0-dev.2 06:16:27 v2.2.0-dev.3 [Pipeline] sh 06:16:27 + lftools sign git-tag v2.2.0-dev.3 06:16:28 Signing Git tag with Sigul... 06:16:28 Signing v2.2.0-dev.3 [Pipeline] echo 06:16:28 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:16:28 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:16:28 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:16:28 $ docker stop --time=1 4e21e304289adae88c7ff760b1ddf2832853d4aba0635cfd5c30b1746d60b489 06:16:30 $ docker rm -f 4e21e304289adae88c7ff760b1ddf2832853d4aba0635cfd5c30b1746d60b489 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:16:30 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 06:16:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:16:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:16:30 . [Pipeline] withDockerContainer 06:16:30 prd-centos7-docker-4c-2g-1657 does not seem to be running inside a container 06:16:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:16:31 $ docker top 6276af4c69daeecb924f5f52c29d6bf841edba8f6f42dd20f1e43e9fd5684791 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:16:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:16:31 [ssh-agent] Looking for ssh-agent implementation... 06:16:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:16:31 $ docker exec 6276af4c69daeecb924f5f52c29d6bf841edba8f6f42dd20f1e43e9fd5684791 ssh-agent 06:16:31 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKEEOoA/agent.14 06:16:31 SSH_AGENT_PID=20 06:16:31 Running ssh-add (command line suppressed) 06:16:31 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7687455043771800562.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7687455043771800562.key) 06:16:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:16:31 + git semver bump pre 06:16:31 # -> Open(): unable to determine branch for HEAD 06:16:31 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 06:16:31 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 06:16:31 # $SEMVER_REMOTE_NAME = origin 06:16:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:16:31 # $SEMVER_USER_NAME = edgex-jenkins 06:16:31 # $SEMVER_BRANCH = main 06:16:31 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver 06:16:31 2.2.0-dev.4 [Pipeline] } 06:16:31 $ docker exec --env ******** --env ******** 6276af4c69daeecb924f5f52c29d6bf841edba8f6f42dd20f1e43e9fd5684791 ssh-agent -k 06:16:31 unset SSH_AUTH_SOCK; 06:16:31 unset SSH_AGENT_PID; 06:16:31 echo Agent pid 20 killed; 06:16:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:16:32 + git semver [Pipeline] } 06:16:32 $ docker stop --time=1 6276af4c69daeecb924f5f52c29d6bf841edba8f6f42dd20f1e43e9fd5684791 06:16:33 $ docker rm -f 6276af4c69daeecb924f5f52c29d6bf841edba8f6f42dd20f1e43e9fd5684791 [Pipeline] // withDockerContainer [Pipeline] sh 06:16:33 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 06:16:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:16:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:16:34 . [Pipeline] withDockerContainer 06:16:34 prd-centos7-docker-4c-2g-1657 does not seem to be running inside a container 06:16:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:16:34 $ docker top 4cd17d7ade023cab6bd03543163819261bb55d755be15639f38217a15ae34e26 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:16:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:16:34 [ssh-agent] Looking for ssh-agent implementation... 06:16:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:16:34 $ docker exec 4cd17d7ade023cab6bd03543163819261bb55d755be15639f38217a15ae34e26 ssh-agent 06:16:34 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnCPheG/agent.14 06:16:34 SSH_AGENT_PID=21 06:16:34 Running ssh-add (command line suppressed) 06:16:34 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2514242537053642857.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2514242537053642857.key) 06:16:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:16:35 + git semver push 06:16:35 # -> Open(): unable to determine branch for HEAD 06:16:35 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 06:16:35 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 06:16:35 # $SEMVER_REMOTE_NAME = origin 06:16:35 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:16:35 # $SEMVER_USER_NAME = edgex-jenkins 06:16:35 # $SEMVER_BRANCH = main 06:16:35 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } 06:16:37 $ docker exec --env ******** --env ******** 4cd17d7ade023cab6bd03543163819261bb55d755be15639f38217a15ae34e26 ssh-agent -k 06:16:37 unset SSH_AUTH_SOCK; 06:16:37 unset SSH_AGENT_PID; 06:16:37 echo Agent pid 21 killed; 06:16:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:16:37 + git semver [Pipeline] } 06:16:37 $ docker stop --time=1 4cd17d7ade023cab6bd03543163819261bb55d755be15639f38217a15ae34e26 06:16:38 $ docker rm -f 4cd17d7ade023cab6bd03543163819261bb55d755be15639f38217a15ae34e26 [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 06:16:39 + '[' -d /w/workspace/gexfoundry_device-modbus-go_main/archives ']' 06:16:39 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 06:16:39 total 8 06:16:39 drwxr-xr-x. 3 root root 34 Jan 17 06:10 . 06:16:39 drwxrwxr-x. 11 jenkins jenkins 4096 Jan 17 06:16 .. 06:16:39 drwxr-xr-x. 2 root root 6 Jan 17 06:10 cost 06:16:39 -rw-r--r--. 1 root root 86 Jan 17 06:10 cost.csv 06:16:39 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 06:16:39 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 06:16:39 total 8 06:16:39 drwxr-xr-x. 3 jenkins jenkins 34 Jan 17 06:10 . 06:16:39 drwxrwxr-x. 11 jenkins jenkins 4096 Jan 17 06:16 .. 06:16:39 drwxr-xr-x. 2 jenkins jenkins 6 Jan 17 06:10 cost 06:16:39 -rw-r--r--. 1 jenkins jenkins 86 Jan 17 06:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:16:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:16:40 ---> package-listing.sh 06:16:40 ++ facter osfamily 06:16:40 ++ tr '[:upper:]' '[:lower:]' 06:16:40 + OS_FAMILY=redhat 06:16:40 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 06:16:40 + START_PACKAGES=/tmp/packages_start.txt 06:16:40 + END_PACKAGES=/tmp/packages_end.txt 06:16:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:16:40 + PACKAGES=/tmp/packages_start.txt 06:16:40 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 06:16:40 + PACKAGES=/tmp/packages_end.txt 06:16:40 + case "${OS_FAMILY}" in 06:16:40 + sort 06:16:40 + rpm -qa 06:16:41 + '[' -f /tmp/packages_start.txt ']' 06:16:41 + '[' -f /tmp/packages_end.txt ']' 06:16:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:16:41 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 06:16:41 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 06:16:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 06:16:41 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:16:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:16:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:16:42 . [Pipeline] withDockerContainer 06:16:42 prd-centos7-docker-4c-2g-1657 does not seem to be running inside a container 06:16:42 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:16:42 $ docker top 8565067637f3b2e5ea9e294a245e0b140177c94e8dc191c4afd5a818a72a25cb -eo pid,comm [Pipeline] { [Pipeline] sh 06:16:42 + touch /tmp/pre-build-complete [Pipeline] sh 06:16:43 + mkdir -p /var/log/sysstat [Pipeline] sh 06:16:43 + ls /var/log/sa-host 06:16:43 + sadf -c /var/log/sa-host/sa17 06:16:43 file_magic: OK 06:16:43 HZ: Using current value: 100 06:16:43 file_header: OK 06:16:43 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:16:43 Statistics: 06:16:43 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:16:43 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:16:43 provisioning config files... 06:16:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5155832891042976075tmp [Pipeline] { [Pipeline] echo 06:16:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:16:43 ---> create-netrc.sh [Pipeline] } 06:16:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:16:44 ---> python-tools-install.sh [Pipeline] echo 06:16:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:16:44 ---> sudo-logs.sh 06:16:44 Archiving 'sudo' log.. 06:16:44 sudo: unable to resolve host prd-centos7-docker-4c-2g-1657.novalocal: Name or service not known 06:16:44 sudo: unable to resolve host prd-centos7-docker-4c-2g-1657.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 06:16:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:16:44 ---> job-cost.sh 06:16:44 lf-activate-venv: SKIPPING 06:16:44 DEBUG: total: 0.05999999865889549 06:16:44 INFO: Retrieving Stack Cost... 06:16:45 INFO: Retrieving Pricing Info for: v3-standard-2 06:16:45 INFO: Archiving Costs [Pipeline] echo 06:16:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:16:45 ---> logs-deploy.sh 06:16:45 lf-activate-venv: SKIPPING 06:16:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/20 06:16:45 INFO: archiving workspace using pattern(s): 06:16:46 Archives upload complete. 06:16:46 INFO: archiving logs to Nexus