Started by upstream project "edgexfoundry/cd-management/release" build number 96 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0da803b9e852e60e6d0c38932136853af8aaf1e9 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-ssh9189521156869299201.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh9578477993043365597.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh7039498973655884516.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh3391902554360058242.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16774754903527751318.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-63286 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0da803b9e852e60e6d0c38932136853af8aaf1e9 (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 0da803b9e852e60e6d0c38932136853af8aaf1e9 # timeout=10 Commit message: "Merge pull request #346 from jinlinGuan/released-go-mods" > git rev-list --no-walk 0da803b9e852e60e6d0c38932136853af8aaf1e9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:48:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:48:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:48:41 ========================================================= 22:48:41 EdgeX Global Pipelines Version Info 22:48:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:48:41 ------------------- 22:48:41 stable info: 22:48:41 ------------------- 22:48:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:48:41 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 22:48:41 Message: update stable to v1.0.230 22:48:42 ------------------- 22:48:42 experimental info: 22:48:42 ------------------- 22:48:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:48:42 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 22:48:42 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:48:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 22:48:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 22:48:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:48:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:48:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:48:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 22:48:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:48:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:48:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:48:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:48:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:48:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 22:48:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:48:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:48:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:48:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:48:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:48:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:48:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:48:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:48:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:48:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:48:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:48:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:48:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:48:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:48:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:48:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:48:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:48:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] echo 22:48:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0da803b [Pipeline] echo 22:48:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:48:43 provisioning config files... 22:48:43 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config245496638888412034tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:48:43 ---> docker-login.sh 22:48:43 nexus3.edgexfoundry.org:10001 22:48:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:44 Configure a credential helper to remove this warning. See 22:48:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:44 22:48:44 Login Succeeded 22:48:44 nexus3.edgexfoundry.org:10002 22:48:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:44 Configure a credential helper to remove this warning. See 22:48:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:44 22:48:44 Login Succeeded 22:48:44 nexus3.edgexfoundry.org:10003 22:48:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:44 Configure a credential helper to remove this warning. See 22:48:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:44 22:48:44 Login Succeeded 22:48:44 nexus3.edgexfoundry.org:10004 22:48:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:44 Configure a credential helper to remove this warning. See 22:48:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:44 22:48:44 Login Succeeded 22:48:44 docker.io 22:48:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:44 Configure a credential helper to remove this warning. See 22:48:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:44 22:48:44 Login Succeeded 22:48:44 ---> docker-login.sh ends [Pipeline] } 22:48:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:48:45 + git rev-list -1 --merges 0da803b9e852e60e6d0c38932136853af8aaf1e9~1..0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] echo 22:48:45 -----------> git rev-list -1 --merges 0da803b9e852e60e6d0c38932136853af8aaf1e9~1..0da803b9e852e60e6d0c38932136853af8aaf1e9 0da803b9e852e60e6d0c38932136853af8aaf1e9 22:48:45 0da803b9e852e60e6d0c38932136853af8aaf1e9 [false] [Pipeline] sh 22:48:45 + git log --format=format:%s -1 0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] echo 22:48:45 ========================================================= 22:48:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 22:48:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:48:46 + git log --format=format:%s -1 0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] echo 22:48:46 [semverPrep] GIT_COMMIT: 0da803b9e852e60e6d0c38932136853af8aaf1e9, Commit Message: Merge pull request #346 from jinlinGuan/released-go-mods [Pipeline] echo 22:48:46 [semverPrep] This is not a build commit. [Pipeline] sh 22:48:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:48:46 + grep -v github /etc/ssh/ssh_known_hosts 22:48:46 + [ -e /tmp/ssh_known_hosts ] 22:48:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:48:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:48:46 + sudo tee -a /etc/ssh/ssh_known_hosts 22:48:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 22:48:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:48:46 22:48:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:48:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:48:47 latest: Pulling from edgex-devops/py-git-semver 22:48:47 1fe172e4850f: Pulling fs layer 22:48:47 caf521ccaac6: Pulling fs layer 22:48:47 3ead6fa29328: Pulling fs layer 22:48:47 5c2a1cbceb83: Pulling fs layer 22:48:47 a8d5f1318db7: Pulling fs layer 22:48:47 c427282e49a2: Pulling fs layer 22:48:47 1827001aaf11: Pulling fs layer 22:48:47 0714d37db230: Pulling fs layer 22:48:47 ac28cf19c067: Pulling fs layer 22:48:47 ca983d60f3e2: Pulling fs layer 22:48:47 9f894cec8388: Pulling fs layer 22:48:47 1827001aaf11: Waiting 22:48:47 ac28cf19c067: Waiting 22:48:47 ca983d60f3e2: Waiting 22:48:47 5c2a1cbceb83: Waiting 22:48:47 0714d37db230: Waiting 22:48:47 9f894cec8388: Waiting 22:48:47 a8d5f1318db7: Waiting 22:48:47 c427282e49a2: Waiting 22:48:47 caf521ccaac6: Verifying Checksum 22:48:47 caf521ccaac6: Download complete 22:48:47 5c2a1cbceb83: Download complete 22:48:47 3ead6fa29328: Verifying Checksum 22:48:47 3ead6fa29328: Download complete 22:48:47 a8d5f1318db7: Verifying Checksum 22:48:47 a8d5f1318db7: Download complete 22:48:47 c427282e49a2: Verifying Checksum 22:48:47 c427282e49a2: Download complete 22:48:47 0714d37db230: Verifying Checksum 22:48:47 0714d37db230: Download complete 22:48:47 ac28cf19c067: Verifying Checksum 22:48:47 ac28cf19c067: Download complete 22:48:47 ca983d60f3e2: Verifying Checksum 22:48:47 ca983d60f3e2: Download complete 22:48:47 9f894cec8388: Download complete 22:48:47 1fe172e4850f: Verifying Checksum 22:48:47 1fe172e4850f: Download complete 22:48:47 1827001aaf11: Download complete 22:48:49 1fe172e4850f: Pull complete 22:48:49 caf521ccaac6: Pull complete 22:48:49 3ead6fa29328: Pull complete 22:48:49 5c2a1cbceb83: Pull complete 22:48:49 a8d5f1318db7: Pull complete 22:48:49 c427282e49a2: Pull complete 22:48:51 1827001aaf11: Pull complete 22:48:52 0714d37db230: Pull complete 22:48:52 ac28cf19c067: Pull complete 22:48:52 ca983d60f3e2: Pull complete 22:48:52 9f894cec8388: Pull complete 22:48:52 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 22:48:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:48:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 22:48:52 prd-ubuntu20.04-docker-8c-8g-63286 does not seem to be running inside a container 22:48:52 $ 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:10003/edgex-devops/py-git-semver:latest cat 22:48:54 $ docker top 733ad8b21b17efb33264936ccdf273dbe03a9b067d53a12d76fa5aae077bafa9 -eo pid,comm 22:48:54 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:48:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:48:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:48:54 [ssh-agent] Looking for ssh-agent implementation... 22:48:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:48:54 $ docker exec 733ad8b21b17efb33264936ccdf273dbe03a9b067d53a12d76fa5aae077bafa9 ssh-agent 22:48:54 SSH_AUTH_SOCK=/tmp/ssh-8pAfMYu65970/agent.34 22:48:54 SSH_AGENT_PID=40 22:48:54 Running ssh-add (command line suppressed) 22:48:54 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9047434051739749011.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9047434051739749011.key) 22:48:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:48:54 + git tag --points-at 0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] } 22:48:54 $ docker exec --env ******** --env ******** 733ad8b21b17efb33264936ccdf273dbe03a9b067d53a12d76fa5aae077bafa9 ssh-agent -k 22:48:55 unset SSH_AUTH_SOCK; 22:48:55 unset SSH_AGENT_PID; 22:48:55 echo Agent pid 40 killed; 22:48:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 22:48:55 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.2.0|v2.2.0-dev.20' [Pipeline] sshagent 22:48:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:48:55 [ssh-agent] Looking for ssh-agent implementation... 22:48:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:48:55 $ docker exec 733ad8b21b17efb33264936ccdf273dbe03a9b067d53a12d76fa5aae077bafa9 ssh-agent 22:48:55 SSH_AUTH_SOCK=/tmp/ssh-ZzxDojnFG8Ve/agent.74 22:48:55 SSH_AGENT_PID=81 22:48:55 Running ssh-add (command line suppressed) 22:48:55 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2529702120067057348.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2529702120067057348.key) 22:48:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:48:55 + git semver init 22:48:56 2022-05-11 22:48:55,997 [run_init] DEBUG init version:0.0.0 force:False 22:48:56 2022-05-11 22:48:55,998 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 22:48:56 2022-05-11 22:48:55,999 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 22:48:56 2022-05-11 22:48:56,000 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 22:48:56 2022-05-11 22:48:56,892 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 22:48:56 2022-05-11 22:48:56,893 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 22:48:56 2022-05-11 22:48:56,893 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:48:56 2022-05-11 22:48:56,894 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:48:56 2.2.0 [Pipeline] } 22:48:56 $ docker exec --env ******** --env ******** 733ad8b21b17efb33264936ccdf273dbe03a9b067d53a12d76fa5aae077bafa9 ssh-agent -k 22:48:57 unset SSH_AUTH_SOCK; 22:48:57 unset SSH_AGENT_PID; 22:48:57 echo Agent pid 81 killed; 22:48:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:48:57 + git semver [Pipeline] } 22:48:57 $ docker stop --time=1 733ad8b21b17efb33264936ccdf273dbe03a9b067d53a12d76fa5aae077bafa9 22:48:59 $ docker rm -f 733ad8b21b17efb33264936ccdf273dbe03a9b067d53a12d76fa5aae077bafa9 [Pipeline] // withDockerContainer [Pipeline] sh 22:48:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:48:59 Stashed 1 file(s) [Pipeline] echo 22:48:59 [edgeXSemver]: initialized semver on version 2.2.0 [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] sh 22:49:00 + git checkout 0da803b9e852e60e6d0c38932136853af8aaf1e9 22:49:00 HEAD is now at 0da803b Merge pull request #346 from jinlinGuan/released-go-mods [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:49:00 provisioning config files... 22:49:00 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7692095881264233685tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:49:00 ---> docker-login.sh 22:49:00 nexus3.edgexfoundry.org:10001 22:49:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:00 Configure a credential helper to remove this warning. See 22:49:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:00 22:49:00 Login Succeeded 22:49:00 nexus3.edgexfoundry.org:10002 22:49:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:00 Configure a credential helper to remove this warning. See 22:49:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:00 22:49:00 Login Succeeded 22:49:00 nexus3.edgexfoundry.org:10003 22:49:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:00 Configure a credential helper to remove this warning. See 22:49:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:00 22:49:00 Login Succeeded 22:49:00 nexus3.edgexfoundry.org:10004 22:49:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:00 Configure a credential helper to remove this warning. See 22:49:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:00 22:49:00 Login Succeeded 22:49:00 docker.io 22:49:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:01 Configure a credential helper to remove this warning. See 22:49:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:01 22:49:01 Login Succeeded 22:49:01 ---> docker-login.sh ends [Pipeline] } 22:49:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:49:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:49:01 ========================================================= 22:49:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 22:49:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:49:01 + 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 . 22:49:01 Sending build context to Docker daemon 5.9MB 22:49:01 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 22:49:01 Step 2/10 : FROM ${BASE} AS builder 22:49:01 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 22:49:01 59bf1c3509f3: Pulling fs layer 22:49:01 666ba61612fd: Pulling fs layer 22:49:01 8ed8ca486205: Pulling fs layer 22:49:01 4fe6c5a15a65: Pulling fs layer 22:49:01 22a0e8bec74d: Pulling fs layer 22:49:01 ca2b28591e48: Pulling fs layer 22:49:01 a51346096db8: Pulling fs layer 22:49:01 daebc70d1ce1: Pulling fs layer 22:49:01 0e18a0eac166: Pulling fs layer 22:49:01 4fe6c5a15a65: Waiting 22:49:01 daebc70d1ce1: Waiting 22:49:01 0e18a0eac166: Waiting 22:49:01 22a0e8bec74d: Waiting 22:49:01 ca2b28591e48: Waiting 22:49:01 a51346096db8: Waiting 22:49:01 8ed8ca486205: Download complete 22:49:01 666ba61612fd: Verifying Checksum 22:49:01 666ba61612fd: Download complete 22:49:01 22a0e8bec74d: Download complete 22:49:01 ca2b28591e48: Download complete 22:49:01 a51346096db8: Verifying Checksum 22:49:01 a51346096db8: Download complete 22:49:01 59bf1c3509f3: Verifying Checksum 22:49:01 59bf1c3509f3: Download complete 22:49:01 daebc70d1ce1: Verifying Checksum 22:49:01 daebc70d1ce1: Download complete 22:49:01 59bf1c3509f3: Pull complete 22:49:02 666ba61612fd: Pull complete 22:49:02 8ed8ca486205: Pull complete 22:49:02 0e18a0eac166: Verifying Checksum 22:49:02 0e18a0eac166: Download complete 22:49:02 4fe6c5a15a65: Verifying Checksum 22:49:02 4fe6c5a15a65: Download complete 22:49:06 4fe6c5a15a65: Pull complete 22:49:06 22a0e8bec74d: Pull complete 22:49:06 ca2b28591e48: Pull complete 22:49:06 a51346096db8: Pull complete 22:49:06 daebc70d1ce1: Pull complete 22:49:09 0e18a0eac166: Pull complete 22:49:09 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 22:49:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 22:49:09 ---> f018257e8ee9 22:49:09 Step 3/10 : ARG MAKE='make build' 22:49:11 ---> Running in be2c832fb53e 22:49:11 Removing intermediate container be2c832fb53e 22:49:11 ---> f04fbf4683f3 22:49:11 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:49:11 ---> Running in 7773d728bca5 22:49:11 Removing intermediate container 7773d728bca5 22:49:11 ---> d3d97aaea2c8 22:49:11 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 22:49:11 ---> Running in ae44776ad0fe 22:49:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:49:12 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:49:13 (1/8) Installing openssh-keygen (8.8_p1-r1) 22:49:13 (2/8) Installing libedit (20210910.3.1-r0) 22:49:13 (3/8) Installing openssh-client-common (8.8_p1-r1) 22:49:13 (4/8) Installing openssh-client-default (8.8_p1-r1) 22:49:13 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 22:49:13 (6/8) Installing openssh-server-common (8.8_p1-r1) 22:49:13 (7/8) Installing openssh-server (8.8_p1-r1) 22:49:13 (8/8) Installing openssh (8.8_p1-r1) 22:49:13 Executing busybox-1.34.1-r3.trigger 22:49:13 OK: 226 MiB in 60 packages 22:49:14 Removing intermediate container ae44776ad0fe 22:49:14 ---> b7f5ce450184 22:49:14 Step 6/10 : WORKDIR /device-modbus-go 22:49:14 ---> Running in d8d9d1a4b626 22:49:14 Removing intermediate container d8d9d1a4b626 22:49:14 ---> 95c43f8cd455 22:49:14 Step 7/10 : COPY go.mod vendor* ./ 22:49:14 ---> 9c5ef283963d 22:49:14 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:49:14 ---> Running in c05369982632 22:49:14 Still waiting to schedule task 22:49:14 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:49:29 Removing intermediate container c05369982632 22:49:29 ---> 67c1e6df26c2 22:49:29 Step 9/10 : COPY . . 22:49:29 ---> 50c776f02dd5 22:49:29 Step 10/10 : RUN ${MAKE} 22:49:29 ---> Running in feed5a2739d9 22:49:29 noop 22:49:29 Removing intermediate container feed5a2739d9 22:49:29 ---> cb9fce864274 22:49:29 Successfully built cb9fce864274 22:49:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:49:29 + docker inspect -f . ci-base-image-x86_64 22:49:29 . [Pipeline] withDockerContainer 22:49:29 prd-ubuntu20.04-docker-8c-8g-63286 does not seem to be running inside a container 22:49:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:49:31 $ docker top eaee04145eda1e74e30a96995004c8818bfddd057653c49f8aaa7f5d49f4b4b0 -eo pid,comm [Pipeline] { [Pipeline] sh 22:49:31 + go version 22:49:31 go version go1.17.6 linux/amd64 [Pipeline] } 22:49:31 $ docker stop --time=1 eaee04145eda1e74e30a96995004c8818bfddd057653c49f8aaa7f5d49f4b4b0 22:49:32 $ docker rm -f eaee04145eda1e74e30a96995004c8818bfddd057653c49f8aaa7f5d49f4b4b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:49:33 + docker inspect -f . ci-base-image-x86_64 22:49:33 . [Pipeline] withDockerContainer 22:49:33 prd-ubuntu20.04-docker-8c-8g-63286 does not seem to be running inside a container 22:49:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:49:33 $ docker top a69e868b493c487b62f843a0998121805d7badb736ab95a94a302794d55afcfa -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:49:34 + make test 22:49:34 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:49:34 ? github.com/edgexfoundry/device-modbus-go [no test files] 22:49:44 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 22:49:44 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 46.4% of statements 22:49:50 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:49:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:49:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:49:54 ./bin/test-attribution-txt.sh [Pipeline] echo 22:49:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:49:54 $ docker stop --time=1 a69e868b493c487b62f843a0998121805d7badb736ab95a94a302794d55afcfa 22:49:56 $ docker rm -f a69e868b493c487b62f843a0998121805d7badb736ab95a94a302794d55afcfa [Pipeline] // withDockerContainer [Pipeline] sh 22:49:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:49:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:49:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:49:57 + ls -al . 22:49:57 total 184 22:49:57 drwxrwxr-x 10 jenkins jenkins 4096 May 11 22:49 . 22:49:57 drwxrwxr-x 4 jenkins jenkins 4096 May 11 22:48 .. 22:49:57 -rw-rw-r-- 1 jenkins jenkins 140 May 11 22:48 .dockerignore 22:49:57 drwxrwxr-x 8 jenkins jenkins 4096 May 11 22:48 .git 22:49:57 drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:48 .github 22:49:57 -rw-rw-r-- 1 jenkins jenkins 331 May 11 22:48 .gitignore 22:49:57 -rw-rw-r-- 1 jenkins jenkins 41 May 11 22:48 .golangci.yml 22:49:57 drwxr-xr-x 3 jenkins jenkins 4096 May 11 22:48 .semver 22:49:57 -rw-rw-r-- 1 jenkins jenkins 9377 May 11 22:48 Attribution.txt 22:49:57 -rw-rw-r-- 1 jenkins jenkins 10001 May 11 22:48 CHANGELOG.md 22:49:57 -rw-rw-r-- 1 jenkins jenkins 1546 May 11 22:48 Dockerfile 22:49:57 -rw-rw-r-- 1 jenkins jenkins 677 May 11 22:48 GOVERNANCE.md 22:49:57 -rw-rw-r-- 1 jenkins jenkins 680 May 11 22:48 Jenkinsfile 22:49:57 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 22:48 LICENSE 22:49:57 -rw-rw-r-- 1 jenkins jenkins 1905 May 11 22:48 Makefile 22:49:57 -rw-rw-r-- 1 jenkins jenkins 622 May 11 22:48 OWNERS.md 22:49:57 -rw-rw-r-- 1 jenkins jenkins 3397 May 11 22:48 README.md 22:49:57 -rw-rw-r-- 1 jenkins jenkins 5 May 11 22:48 VERSION 22:49:57 drwxrwxr-x 2 jenkins jenkins 4096 May 11 22:48 bin 22:49:57 drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:48 cmd 22:49:57 -rw-r--r-- 1 jenkins jenkins 24065 May 11 22:49 coverage.out 22:49:57 -rw-rw-r-- 1 jenkins jenkins 3353 May 11 22:48 go.mod 22:49:57 -rw-rw-r-- 1 jenkins jenkins 34983 May 11 22:48 go.sum 22:49:57 drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:48 internal 22:49:57 drwxrwxr-x 2 jenkins jenkins 4096 May 11 22:48 simulator 22:49:57 drwxrwxr-x 4 jenkins jenkins 4096 May 11 22:48 snap 22:49:57 -rw-rw-r-- 1 jenkins jenkins 229 May 11 22:48 version.go [Pipeline] isUnix [Pipeline] sh 22:49:57 + 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=0da803b9e852e60e6d0c38932136853af8aaf1e9 --label arch=amd64 --label version=2.2.0 . 22:49:57 Sending build context to Docker daemon 5.925MB 22:49:57 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 22:49:57 Step 2/23 : FROM ${BASE} AS builder 22:49:57 ---> cb9fce864274 22:49:57 Step 3/23 : ARG MAKE='make build' 22:49:58 ---> Running in 04b5ce56aa6d 22:49:58 Removing intermediate container 04b5ce56aa6d 22:49:58 ---> a4104d59256a 22:49:58 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:49:58 ---> Running in e160c3342768 22:49:58 Removing intermediate container e160c3342768 22:49:58 ---> 5f9ef744bdf6 22:49:58 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 22:49:58 ---> Running in c8cb0e841d08 22:49:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:49:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:50:00 OK: 226 MiB in 60 packages 22:50:00 Removing intermediate container c8cb0e841d08 22:50:00 ---> ff20c1e1af99 22:50:00 Step 6/23 : WORKDIR /device-modbus-go 22:50:00 ---> Running in 8ff3d0a8ae09 22:50:00 Removing intermediate container 8ff3d0a8ae09 22:50:00 ---> e38a31a1c077 22:50:00 Step 7/23 : COPY go.mod vendor* ./ 22:50:00 ---> 39ae95976620 22:50:00 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:50:00 ---> Running in 05459dcfd99d 22:50:01 Removing intermediate container 05459dcfd99d 22:50:01 ---> 2cad3c9cf612 22:50:01 Step 9/23 : COPY . . 22:50:01 ---> 049601240aff 22:50:01 Step 10/23 : RUN ${MAKE} 22:50:01 ---> Running in 4a559b00cb3f 22:50:01 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 22:50:23 Removing intermediate container 4a559b00cb3f 22:50:23 ---> e5ce0a9f2f60 22:50:23 Step 11/23 : FROM alpine:3.14 22:50:23 3.14: Pulling from library/alpine 22:50:23 8663204ce13b: Pulling fs layer 22:50:23 8663204ce13b: Verifying Checksum 22:50:23 8663204ce13b: Download complete 22:50:23 8663204ce13b: Pull complete 22:50:23 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:50:23 Status: Downloaded newer image for alpine:3.14 22:50:23 ---> e04c818066af 22:50:23 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 22:50:23 ---> Running in 88487b4a189a 22:50:23 Removing intermediate container 88487b4a189a 22:50:23 ---> fd8ebfe01c87 22:50:23 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:50:23 ---> Running in bbf891c833d7 22:50:23 Removing intermediate container bbf891c833d7 22:50:23 ---> 5ae14bfb288d 22:50:23 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 22:50:23 ---> Running in 177935b41361 22:50:23 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:50:23 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:50:23 (1/6) Installing dumb-init (1.2.5-r1) 22:50:23 (2/6) Installing libgcc (10.3.1_git20210424-r2) 22:50:24 (3/6) Installing libsodium (1.0.18-r0) 22:50:24 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 22:50:24 (5/6) Installing libzmq (4.3.4-r0) 22:50:24 (6/6) Installing zeromq (4.3.4-r0) 22:50:24 Executing busybox-1.33.1-r7.trigger 22:50:24 OK: 8 MiB in 20 packages 22:50:25 Removing intermediate container 177935b41361 22:50:25 ---> 521b2eebcb03 22:50:25 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 22:50:25 ---> b9eabaf9f231 22:50:25 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 22:50:25 ---> 452726ac8701 22:50:25 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 22:50:25 ---> b65c5d86d58b 22:50:25 Step 18/23 : EXPOSE 59901 22:50:25 ---> Running in 6ed6b405d286 22:50:25 Removing intermediate container 6ed6b405d286 22:50:25 ---> fc27fa9df081 22:50:25 Step 19/23 : ENTRYPOINT ["/device-modbus"] 22:50:25 ---> Running in 1237dc656b54 22:50:25 Removing intermediate container 1237dc656b54 22:50:25 ---> 1f8e09f1a846 22:50:25 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:50:25 ---> Running in bfce6faaaa51 22:50:26 Removing intermediate container bfce6faaaa51 22:50:26 ---> 487a0ca3e76c 22:50:26 Step 21/23 : LABEL arch=amd64 22:50:26 ---> Running in edd3a066271d 22:50:26 Removing intermediate container edd3a066271d 22:50:26 ---> 64a4a2ea4074 22:50:26 Step 22/23 : LABEL git_sha=0da803b9e852e60e6d0c38932136853af8aaf1e9 22:50:26 ---> Running in 0c8772f3c4be 22:50:26 Removing intermediate container 0c8772f3c4be 22:50:26 ---> e353f3703a06 22:50:26 Step 23/23 : LABEL version=2.2.0 22:50:26 ---> Running in 8a4c00a93431 22:50:26 Removing intermediate container 8a4c00a93431 22:50:26 ---> 75b1543f77b0 22:50:26 [Warning] One or more build-args [ARCH] were not consumed 22:50:26 Successfully built 75b1543f77b0 22:50:26 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:50:26 provisioning config files... 22:50:26 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config388958552352980992tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:50:26 ---> docker-login.sh 22:50:26 nexus3.edgexfoundry.org:10001 22:50:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:26 Configure a credential helper to remove this warning. See 22:50:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:26 22:50:26 Login Succeeded 22:50:26 nexus3.edgexfoundry.org:10002 22:50:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:26 Configure a credential helper to remove this warning. See 22:50:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:26 22:50:26 Login Succeeded 22:50:26 nexus3.edgexfoundry.org:10003 22:50:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:26 Configure a credential helper to remove this warning. See 22:50:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:26 22:50:26 Login Succeeded 22:50:26 nexus3.edgexfoundry.org:10004 22:50:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:27 Configure a credential helper to remove this warning. See 22:50:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:27 22:50:27 Login Succeeded 22:50:27 docker.io 22:50:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:27 Configure a credential helper to remove this warning. See 22:50:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:27 22:50:27 Login Succeeded 22:50:27 ---> docker-login.sh ends [Pipeline] } 22:50:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:50:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:50:27 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 22:50:27 0da803b9e852e60e6d0c38932136853af8aaf1e9 22:50:27 latest 22:50:27 2.2.0 22:50:27 0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0 22:50:27 main 22:50:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:50:27 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] isUnix [Pipeline] sh 22:50:28 + docker push nexus3.edgexfoundry.org:10004/device-modbus:0da803b9e852e60e6d0c38932136853af8aaf1e9 22:50:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 22:50:28 8eea776883be: Preparing 22:50:28 55240b8e4aec: Preparing 22:50:28 397de7d44b11: Preparing 22:50:28 1d5234e2f73a: Preparing 22:50:28 d0de25bd1a17: Preparing 22:50:28 b541d28bf3b4: Preparing 22:50:28 d0de25bd1a17: Pushed 22:50:28 8eea776883be: Pushed 22:50:28 55240b8e4aec: Pushed 22:50:28 b541d28bf3b4: Layer already exists 22:50:28 1d5234e2f73a: Pushed 22:50:30 397de7d44b11: Pushed 22:50:30 0da803b9e852e60e6d0c38932136853af8aaf1e9: digest: sha256:9f263266885ab2ffa8bd182da4ac92399d51ad2da2f564ef4e575dad8077d69d size: 1574 [Pipeline] isUnix [Pipeline] sh 22:50:31 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh 22:50:31 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 22:50:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 22:50:31 8eea776883be: Preparing 22:50:31 55240b8e4aec: Preparing 22:50:31 397de7d44b11: Preparing 22:50:31 1d5234e2f73a: Preparing 22:50:31 d0de25bd1a17: Preparing 22:50:31 b541d28bf3b4: Preparing 22:50:31 b541d28bf3b4: Waiting 22:50:31 397de7d44b11: Layer already exists 22:50:31 8eea776883be: Layer already exists 22:50:31 d0de25bd1a17: Layer already exists 22:50:31 1d5234e2f73a: Layer already exists 22:50:31 55240b8e4aec: Layer already exists 22:50:31 b541d28bf3b4: Layer already exists 22:50:31 latest: digest: sha256:9f263266885ab2ffa8bd182da4ac92399d51ad2da2f564ef4e575dad8077d69d size: 1574 [Pipeline] isUnix [Pipeline] sh 22:50:31 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0 [Pipeline] isUnix [Pipeline] sh 22:50:32 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0 22:50:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 22:50:32 8eea776883be: Preparing 22:50:32 55240b8e4aec: Preparing 22:50:32 397de7d44b11: Preparing 22:50:32 1d5234e2f73a: Preparing 22:50:32 d0de25bd1a17: Preparing 22:50:32 b541d28bf3b4: Preparing 22:50:32 b541d28bf3b4: Waiting 22:50:32 d0de25bd1a17: Layer already exists 22:50:32 55240b8e4aec: Layer already exists 22:50:32 397de7d44b11: Layer already exists 22:50:32 8eea776883be: Layer already exists 22:50:32 1d5234e2f73a: Layer already exists 22:50:32 b541d28bf3b4: Layer already exists 22:50:32 2.2.0: digest: sha256:9f263266885ab2ffa8bd182da4ac92399d51ad2da2f564ef4e575dad8077d69d size: 1574 [Pipeline] isUnix [Pipeline] sh 22:50:32 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0 [Pipeline] isUnix [Pipeline] sh 22:50:32 + docker push nexus3.edgexfoundry.org:10004/device-modbus:0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0 22:50:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 22:50:32 8eea776883be: Preparing 22:50:32 55240b8e4aec: Preparing 22:50:32 397de7d44b11: Preparing 22:50:32 1d5234e2f73a: Preparing 22:50:32 d0de25bd1a17: Preparing 22:50:32 b541d28bf3b4: Preparing 22:50:32 b541d28bf3b4: Waiting 22:50:32 1d5234e2f73a: Layer already exists 22:50:32 397de7d44b11: Layer already exists 22:50:32 d0de25bd1a17: Layer already exists 22:50:32 8eea776883be: Layer already exists 22:50:32 55240b8e4aec: Layer already exists 22:50:32 b541d28bf3b4: Layer already exists 22:50:32 0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0: digest: sha256:9f263266885ab2ffa8bd182da4ac92399d51ad2da2f564ef4e575dad8077d69d size: 1574 [Pipeline] isUnix [Pipeline] sh 22:50:33 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh 22:50:33 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 22:50:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 22:50:33 8eea776883be: Preparing 22:50:33 55240b8e4aec: Preparing 22:50:33 397de7d44b11: Preparing 22:50:33 1d5234e2f73a: Preparing 22:50:33 d0de25bd1a17: Preparing 22:50:33 b541d28bf3b4: Preparing 22:50:33 b541d28bf3b4: Waiting 22:50:33 d0de25bd1a17: Layer already exists 22:50:33 8eea776883be: Layer already exists 22:50:33 1d5234e2f73a: Layer already exists 22:50:33 397de7d44b11: Layer already exists 22:50:33 55240b8e4aec: Layer already exists 22:50:33 b541d28bf3b4: Layer already exists 22:50:33 main: digest: sha256:9f263266885ab2ffa8bd182da4ac92399d51ad2da2f564ef4e575dad8077d69d size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:50:33 ===================================================== [Pipeline] echo 22:50:33 taggedImages: 22:50:33 - nexus3.edgexfoundry.org:10004/device-modbus:0da803b9e852e60e6d0c38932136853af8aaf1e9 22:50:33 - nexus3.edgexfoundry.org:10004/device-modbus:latest 22:50:33 - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0 22:50:33 - nexus3.edgexfoundry.org:10004/device-modbus:0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0 22:50:33 - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:50:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:50:33 22:50:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:50:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:50:34 latest: Pulling from edgex-lftools-log-publisher 22:50:34 5eb5b503b376: Pulling fs layer 22:50:34 5c69ac0246d0: Pulling fs layer 22:50:34 ec43610c2a17: Pulling fs layer 22:50:34 3a2ae6a8a46f: Pulling fs layer 22:50:34 33b1e0a273af: Pulling fs layer 22:50:34 5d3b04190fa2: Pulling fs layer 22:50:34 2f39f015ded8: Pulling fs layer 22:50:34 33b1e0a273af: Waiting 22:50:34 3a2ae6a8a46f: Waiting 22:50:34 5d3b04190fa2: Waiting 22:50:34 2f39f015ded8: Waiting 22:50:34 5c69ac0246d0: Verifying Checksum 22:50:34 5c69ac0246d0: Download complete 22:50:34 3a2ae6a8a46f: Verifying Checksum 22:50:34 3a2ae6a8a46f: Download complete 22:50:34 33b1e0a273af: Verifying Checksum 22:50:34 33b1e0a273af: Download complete 22:50:34 5d3b04190fa2: Download complete 22:50:34 ec43610c2a17: Verifying Checksum 22:50:34 ec43610c2a17: Download complete 22:50:34 5eb5b503b376: Verifying Checksum 22:50:34 5eb5b503b376: Download complete 22:50:35 2f39f015ded8: Download complete 22:50:35 5eb5b503b376: Pull complete 22:50:35 5c69ac0246d0: Pull complete 22:50:36 ec43610c2a17: Pull complete 22:50:36 3a2ae6a8a46f: Pull complete 22:50:36 33b1e0a273af: Pull complete 22:50:36 5d3b04190fa2: Pull complete 22:50:40 2f39f015ded8: Pull complete 22:50:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:50:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:50:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:50:40 prd-ubuntu20.04-docker-8c-8g-63286 does not seem to be running inside a container 22:50:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:50:42 $ docker top 42b0481a9dd4be0f045e7f03ed3512f2287f335a5fca0d8aaffc2013f04ba41c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:50:42 ---> job-cost.sh 22:50:42 lf-activate-venv: SKIPPING 22:50:42 INFO: No Stack... 22:50:43 INFO: Retrieving Pricing Info for: v3-standard-8 22:50:43 INFO: Archiving Costs [Pipeline] sh 22:50:43 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 22:50:43 + cut -d, -f6 [Pipeline] lock 22:50:43 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-39-stack-cost] 22:50:43 Resource [jenkins-edgexfoundry-device-modbus-go-main-39-stack-cost] did not exist. Created. 22:50:43 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-39-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:50:44 + echo total: 0.2199999988079071 [Pipeline] stash 22:50:44 Stashed 1 file(s) [Pipeline] } 22:50:44 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-39-stack-cost] [Pipeline] // lock [Pipeline] } 22:50:44 $ docker stop --time=1 42b0481a9dd4be0f045e7f03ed3512f2287f335a5fca0d8aaffc2013f04ba41c 22:50:45 $ docker rm -f 42b0481a9dd4be0f045e7f03ed3512f2287f335a5fca0d8aaffc2013f04ba41c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:51:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63291 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 22:51:47 Running in /w/workspace/device-modbus-go/39 [Pipeline] { [Pipeline] checkout 22:51:47 Selected Git installation does not exist. Using Default 22:51:47 The recommended git tool is: NONE 22:51:54 using credential edgex-jenkins-ssh 22:51:54 Cloning the remote Git repository 22:51:54 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 22:51:54 > git init /w/workspace/device-modbus-go/39 # timeout=10 22:51:54 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 22:51:54 > git --version # timeout=10 22:51:54 > git --version # 'git version 2.25.1' 22:51:54 using GIT_SSH to set credentials SSH Credentials for GitHub 22:51:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:51:55 Avoid second fetch 22:51:55 Checking out Revision 0da803b9e852e60e6d0c38932136853af8aaf1e9 (main) 22:51:55 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 22:51:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:51:55 > git config core.sparsecheckout # timeout=10 22:51:55 > git checkout -f 0da803b9e852e60e6d0c38932136853af8aaf1e9 # timeout=10 22:52:00 Commit message: "Merge pull request #346 from jinlinGuan/released-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:52:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:52:00 % Total % Received % Xferd Average Speed Time Time Time Current 22:52:00 Dload Upload Total Spent Left Speed 22:52:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 170k 0 --:--:-- --:--:-- --:--:-- 170k [Pipeline] sh 22:52:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:52:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 22:52:01 sudo tee /etc/docker/daemon.new 22:52:01 { 22:52:01 "registry-mirrors": [ 22:52:01 "https://nexus3.edgexfoundry.org:10001" 22:52:01 ], 22:52:01 "bip": "10.250.0.254/24", 22:52:01 "hosts": [ 22:52:01 "tcp://0.0.0.0:5555", 22:52:01 "unix:///var/run/docker.sock" 22:52:01 ], 22:52:01 "mtu": 1458, 22:52:01 "selinux-enabled": true, 22:52:01 "seccomp-profile": "/etc/docker/seccomp.json" 22:52:01 } [Pipeline] sh 22:52:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:52:02 + sudo service docker restart [Pipeline] sh 22:52:21 + git checkout 0da803b9e852e60e6d0c38932136853af8aaf1e9 22:52:21 HEAD is now at 0da803b Merge pull request #346 from jinlinGuan/released-go-mods [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:52:21 provisioning config files... 22:52:21 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/39@tmp/config6659507744561840008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:52:21 ---> docker-login.sh 22:52:21 nexus3.edgexfoundry.org:10001 22:52:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:23 Configure a credential helper to remove this warning. See 22:52:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:23 22:52:23 Login Succeeded 22:52:23 nexus3.edgexfoundry.org:10002 22:52:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:23 Configure a credential helper to remove this warning. See 22:52:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:23 22:52:23 Login Succeeded 22:52:23 nexus3.edgexfoundry.org:10003 22:52:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:24 Configure a credential helper to remove this warning. See 22:52:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:24 22:52:24 Login Succeeded 22:52:24 nexus3.edgexfoundry.org:10004 22:52:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:25 Configure a credential helper to remove this warning. See 22:52:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:25 22:52:25 Login Succeeded 22:52:25 docker.io 22:52:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:25 Configure a credential helper to remove this warning. See 22:52:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:25 22:52:25 Login Succeeded 22:52:25 ---> docker-login.sh ends [Pipeline] } 22:52:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:52:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:52:26 ========================================================= 22:52:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 22:52:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:52:26 + 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 . 22:52:26 Sending build context to Docker daemon 3.078MB 22:52:27 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 22:52:27 Step 2/10 : FROM ${BASE} AS builder 22:52:27 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:52:27 9b3977197b4f: Pulling fs layer 22:52:27 1a89e8eeedd5: Pulling fs layer 22:52:27 94645a83ff95: Pulling fs layer 22:52:27 3f3a8bcf1eab: Pulling fs layer 22:52:27 0c92f367c5e7: Pulling fs layer 22:52:27 3096ccb668a1: Pulling fs layer 22:52:27 e8cf19c19ddd: Pulling fs layer 22:52:27 a4caa8a26152: Pulling fs layer 22:52:27 0c92f367c5e7: Waiting 22:52:27 3096ccb668a1: Waiting 22:52:27 e8cf19c19ddd: Waiting 22:52:27 a4caa8a26152: Waiting 22:52:27 3f3a8bcf1eab: Waiting 22:52:27 94645a83ff95: Verifying Checksum 22:52:27 94645a83ff95: Download complete 22:52:27 1a89e8eeedd5: Download complete 22:52:27 0c92f367c5e7: Download complete 22:52:27 3096ccb668a1: Download complete 22:52:27 e8cf19c19ddd: Verifying Checksum 22:52:27 e8cf19c19ddd: Download complete 22:52:27 9b3977197b4f: Verifying Checksum 22:52:27 9b3977197b4f: Download complete 22:52:28 9b3977197b4f: Pull complete 22:52:29 1a89e8eeedd5: Pull complete 22:52:29 94645a83ff95: Pull complete 22:52:29 a4caa8a26152: Verifying Checksum 22:52:29 a4caa8a26152: Download complete 22:52:30 3f3a8bcf1eab: Verifying Checksum 22:52:30 3f3a8bcf1eab: Download complete 22:52:45 3f3a8bcf1eab: Pull complete 22:52:45 0c92f367c5e7: Pull complete 22:52:45 3096ccb668a1: Pull complete 22:52:45 e8cf19c19ddd: Pull complete 22:52:50 a4caa8a26152: Pull complete 22:52:50 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 22:52:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 22:52:50 ---> 725f1c02e7f9 22:52:50 Step 3/10 : ARG MAKE='make build' 22:52:50 ---> Running in e3cdd5c73c82 22:52:51 Removing intermediate container e3cdd5c73c82 22:52:51 ---> 76b22a5de4db 22:52:51 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:52:51 ---> Running in be4748dd6423 22:52:53 Removing intermediate container be4748dd6423 22:52:53 ---> b55a3a7efd52 22:52:53 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 22:52:53 ---> Running in 23eb334594ca 22:52:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:52:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:52:57 (1/8) Installing openssh-keygen (8.8_p1-r1) 22:52:57 (2/8) Installing libedit (20210910.3.1-r0) 22:52:58 (3/8) Installing openssh-client-common (8.8_p1-r1) 22:52:58 (4/8) Installing openssh-client-default (8.8_p1-r1) 22:52:58 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 22:52:58 (6/8) Installing openssh-server-common (8.8_p1-r1) 22:52:58 (7/8) Installing openssh-server (8.8_p1-r1) 22:52:58 (8/8) Installing openssh (8.8_p1-r1) 22:52:58 Executing busybox-1.34.1-r3.trigger 22:52:58 OK: 226 MiB in 60 packages 22:53:00 Removing intermediate container 23eb334594ca 22:53:00 ---> 11d57369b465 22:53:00 Step 6/10 : WORKDIR /device-modbus-go 22:53:00 ---> Running in 033b84dbc54b 22:53:00 Removing intermediate container 033b84dbc54b 22:53:00 ---> 1ab2d83a31e6 22:53:00 Step 7/10 : COPY go.mod vendor* ./ 22:53:00 ---> 4ecb6ccd0a7f 22:53:00 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:53:00 ---> Running in cf0cc6180a8a 22:53:57 Removing intermediate container cf0cc6180a8a 22:53:57 ---> 2b11a706a909 22:53:57 Step 9/10 : COPY . . 22:53:57 ---> bf8834f85c47 22:53:57 Step 10/10 : RUN ${MAKE} 22:53:57 ---> Running in f8e11650aa59 22:53:57 noop 22:53:57 Removing intermediate container f8e11650aa59 22:53:57 ---> eef3bb48096a 22:53:57 Successfully built eef3bb48096a 22:53:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:53:57 + docker inspect -f . ci-base-image-arm64 22:53:57 . [Pipeline] withDockerContainer 22:53:58 prd-ubuntu20.04-docker-arm64-4c-16g-63291 does not seem to be running inside a container 22:53:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/39 -v /w/workspace/device-modbus-go/39:/w/workspace/device-modbus-go/39:rw,z -v /w/workspace/device-modbus-go/39@tmp:/w/workspace/device-modbus-go/39@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 ******** -e ******** ci-base-image-arm64 cat 22:53:59 $ docker top 23ee38f2df6b88a03c59e8d4c06b39b57ad31ef2326be93e16e37d83d6168f9a -eo pid,comm [Pipeline] { [Pipeline] sh 22:54:00 + go version 22:54:00 go version go1.17.6 linux/arm64 [Pipeline] } 22:54:00 $ docker stop --time=1 23ee38f2df6b88a03c59e8d4c06b39b57ad31ef2326be93e16e37d83d6168f9a 22:54:02 $ docker rm -f 23ee38f2df6b88a03c59e8d4c06b39b57ad31ef2326be93e16e37d83d6168f9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:54:02 + docker inspect -f . ci-base-image-arm64 22:54:02 . [Pipeline] withDockerContainer 22:54:03 prd-ubuntu20.04-docker-arm64-4c-16g-63291 does not seem to be running inside a container 22:54:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/39 -v /w/workspace/device-modbus-go/39:/w/workspace/device-modbus-go/39:rw,z -v /w/workspace/device-modbus-go/39@tmp:/w/workspace/device-modbus-go/39@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 ******** -e ******** ci-base-image-arm64 cat 22:54:04 $ docker top fb37ee7afbadbf7a4275a65da88df05a4712364b032da2cffc86691d4894ac64 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:54:05 + make test 22:54:05 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:54:07 ? github.com/edgexfoundry/device-modbus-go [no test files] 22:55:44 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 22:55:44 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.072s coverage: 46.4% of statements 22:55:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:55:44 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:56:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:56:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:56:06 ./bin/test-attribution-txt.sh [Pipeline] echo 22:56:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:56:09 $ docker stop --time=1 fb37ee7afbadbf7a4275a65da88df05a4712364b032da2cffc86691d4894ac64 22:56:11 $ docker rm -f fb37ee7afbadbf7a4275a65da88df05a4712364b032da2cffc86691d4894ac64 [Pipeline] // withDockerContainer [Pipeline] sh 22:56:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:56:12 Warning: overwriting stash ‘coverage-report’ 22:56:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:56:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:56:13 + ls -al . 22:56:13 total 180 22:56:13 drwxrwxr-x 9 jenkins jenkins 4096 May 11 22:56 . 22:56:13 drwxrwxr-x 4 jenkins jenkins 4096 May 11 22:51 .. 22:56:13 -rw-rw-r-- 1 jenkins jenkins 140 May 11 22:51 .dockerignore 22:56:13 drwxrwxr-x 8 jenkins jenkins 4096 May 11 22:52 .git 22:56:13 drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:51 .github 22:56:13 -rw-rw-r-- 1 jenkins jenkins 331 May 11 22:51 .gitignore 22:56:13 -rw-rw-r-- 1 jenkins jenkins 41 May 11 22:51 .golangci.yml 22:56:13 -rw-rw-r-- 1 jenkins jenkins 9377 May 11 22:51 Attribution.txt 22:56:13 -rw-rw-r-- 1 jenkins jenkins 10001 May 11 22:51 CHANGELOG.md 22:56:13 -rw-rw-r-- 1 jenkins jenkins 1546 May 11 22:51 Dockerfile 22:56:13 -rw-rw-r-- 1 jenkins jenkins 677 May 11 22:51 GOVERNANCE.md 22:56:13 -rw-rw-r-- 1 jenkins jenkins 680 May 11 22:51 Jenkinsfile 22:56:13 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 22:51 LICENSE 22:56:13 -rw-rw-r-- 1 jenkins jenkins 1905 May 11 22:51 Makefile 22:56:13 -rw-rw-r-- 1 jenkins jenkins 622 May 11 22:51 OWNERS.md 22:56:13 -rw-rw-r-- 1 jenkins jenkins 3397 May 11 22:51 README.md 22:56:13 -rw-rw-r-- 1 jenkins jenkins 5 May 11 22:48 VERSION 22:56:13 drwxrwxr-x 2 jenkins jenkins 4096 May 11 22:51 bin 22:56:13 drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:51 cmd 22:56:13 -rw-r--r-- 1 jenkins jenkins 24065 May 11 22:55 coverage.out 22:56:13 -rw-rw-r-- 1 jenkins jenkins 3353 May 11 22:51 go.mod 22:56:13 -rw-rw-r-- 1 jenkins jenkins 34983 May 11 22:51 go.sum 22:56:13 drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:51 internal 22:56:13 drwxrwxr-x 2 jenkins jenkins 4096 May 11 22:51 simulator 22:56:13 drwxrwxr-x 4 jenkins jenkins 4096 May 11 22:51 snap 22:56:13 -rw-rw-r-- 1 jenkins jenkins 229 May 11 22:51 version.go [Pipeline] isUnix [Pipeline] sh 22:56:14 + 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=0da803b9e852e60e6d0c38932136853af8aaf1e9 --label arch=arm64 --label version=2.2.0 . 22:56:14 Sending build context to Docker daemon 3.103MB 22:56:14 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 22:56:14 Step 2/23 : FROM ${BASE} AS builder 22:56:14 ---> eef3bb48096a 22:56:14 Step 3/23 : ARG MAKE='make build' 22:56:14 ---> Running in de37aca7d153 22:56:14 Removing intermediate container de37aca7d153 22:56:14 ---> 0d1ebad80d57 22:56:14 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:56:14 ---> Running in a6530eac49e9 22:56:16 Removing intermediate container a6530eac49e9 22:56:16 ---> f3c6999864b0 22:56:16 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 22:56:16 ---> Running in 20a66f1529a3 22:56:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:56:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:56:19 OK: 226 MiB in 60 packages 22:56:20 Removing intermediate container 20a66f1529a3 22:56:20 ---> 3492e70878e6 22:56:20 Step 6/23 : WORKDIR /device-modbus-go 22:56:20 ---> Running in 3053a5118298 22:56:21 Removing intermediate container 3053a5118298 22:56:21 ---> 55a49b2800a9 22:56:21 Step 7/23 : COPY go.mod vendor* ./ 22:56:21 ---> 9c0bb718b17c 22:56:21 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:56:21 ---> Running in 700cd2daaf00 22:56:23 Removing intermediate container 700cd2daaf00 22:56:23 ---> 29eb20c3ff17 22:56:23 Step 9/23 : COPY . . 22:56:24 ---> fd72b253c19c 22:56:24 Step 10/23 : RUN ${MAKE} 22:56:24 ---> Running in 28fb2b95288a 22:56:25 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 22:58:47 Removing intermediate container 28fb2b95288a 22:58:47 ---> 93c4f187ea66 22:58:47 Step 11/23 : FROM alpine:3.14 22:58:47 3.14: Pulling from library/alpine 22:58:47 455c02918c45: Pulling fs layer 22:58:47 455c02918c45: Pull complete 22:58:47 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:58:47 Status: Downloaded newer image for alpine:3.14 22:58:47 ---> ac73e934f311 22:58:47 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 22:58:47 ---> Running in 80cdea40b691 22:58:47 Removing intermediate container 80cdea40b691 22:58:47 ---> 4be497be0218 22:58:47 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:58:47 ---> Running in f6981fb2ee51 22:58:47 Removing intermediate container f6981fb2ee51 22:58:47 ---> 6fca1b683081 22:58:47 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 22:58:47 ---> Running in bc3bef743f4e 22:58:47 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 22:58:48 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 22:58:49 (1/6) Installing dumb-init (1.2.5-r1) 22:58:49 (2/6) Installing libgcc (10.3.1_git20210424-r2) 22:58:49 (3/6) Installing libsodium (1.0.18-r0) 22:58:50 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 22:58:50 (5/6) Installing libzmq (4.3.4-r0) 22:58:50 (6/6) Installing zeromq (4.3.4-r0) 22:58:50 Executing busybox-1.33.1-r7.trigger 22:58:50 OK: 8 MiB in 20 packages 22:58:51 Removing intermediate container bc3bef743f4e 22:58:51 ---> 8b4b0408ba1b 22:58:51 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 22:58:52 ---> a68dceedd90c 22:58:52 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 22:58:53 ---> bf36de372d3a 22:58:53 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 22:58:53 ---> 9024107fa257 22:58:53 Step 18/23 : EXPOSE 59901 22:58:53 ---> Running in 2ab404caa94f 22:58:54 Removing intermediate container 2ab404caa94f 22:58:54 ---> 8e2f5b069b6f 22:58:54 Step 19/23 : ENTRYPOINT ["/device-modbus"] 22:58:54 ---> Running in 6365f995d311 22:58:54 Removing intermediate container 6365f995d311 22:58:54 ---> b45f1aac4cf1 22:58:54 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:58:54 ---> Running in 8ef9c154e994 22:58:54 Removing intermediate container 8ef9c154e994 22:58:54 ---> 8c757e00535e 22:58:54 Step 21/23 : LABEL arch=arm64 22:58:55 ---> Running in edc701e343a9 22:58:55 Removing intermediate container edc701e343a9 22:58:55 ---> bc0aeb969dcd 22:58:55 Step 22/23 : LABEL git_sha=0da803b9e852e60e6d0c38932136853af8aaf1e9 22:58:55 ---> Running in c81efe3801ae 22:58:55 Removing intermediate container c81efe3801ae 22:58:55 ---> 8d1bf5ceb252 22:58:55 Step 23/23 : LABEL version=2.2.0 22:58:55 ---> Running in 9e567b1ebc8f 22:58:55 Removing intermediate container 9e567b1ebc8f 22:58:55 ---> a041a600caed 22:58:55 [Warning] One or more build-args [ARCH] were not consumed 22:58:56 Successfully built a041a600caed 22:58:56 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 22:58:56 provisioning config files... 22:58:56 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/39@tmp/config120809011616608603tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:58:56 ---> docker-login.sh 22:58:56 nexus3.edgexfoundry.org:10001 22:58:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:56 Configure a credential helper to remove this warning. See 22:58:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:56 22:58:56 Login Succeeded 22:58:56 nexus3.edgexfoundry.org:10002 22:58:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:57 Configure a credential helper to remove this warning. See 22:58:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:57 22:58:57 Login Succeeded 22:58:57 nexus3.edgexfoundry.org:10003 22:58:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:58 Configure a credential helper to remove this warning. See 22:58:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:58 22:58:58 Login Succeeded 22:58:58 nexus3.edgexfoundry.org:10004 22:58:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:58 Configure a credential helper to remove this warning. See 22:58:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:58 22:58:58 Login Succeeded 22:58:58 docker.io 22:58:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:59 Configure a credential helper to remove this warning. See 22:58:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:59 22:58:59 Login Succeeded 22:58:59 ---> docker-login.sh ends [Pipeline] } 22:58:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:58:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:58:59 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 22:58:59 0da803b9e852e60e6d0c38932136853af8aaf1e9 22:58:59 latest 22:58:59 2.2.0 22:58:59 0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0 22:58:59 main 22:58:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:58:59 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] isUnix [Pipeline] sh 22:58:59 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:0da803b9e852e60e6d0c38932136853af8aaf1e9 22:58:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 22:58:59 95e51a59d647: Preparing 22:58:59 c2dee975b071: Preparing 22:58:59 179445e56fa9: Preparing 22:58:59 6b6ec725e00c: Preparing 22:58:59 0c3c4d2d570c: Preparing 22:58:59 f73e7dbfee58: Preparing 22:58:59 f73e7dbfee58: Waiting 22:59:00 c2dee975b071: Pushed 22:59:00 0c3c4d2d570c: Pushed 22:59:00 95e51a59d647: Pushed 22:59:00 f73e7dbfee58: Layer already exists 22:59:00 6b6ec725e00c: Pushed 22:59:07 179445e56fa9: Pushed 22:59:07 0da803b9e852e60e6d0c38932136853af8aaf1e9: digest: sha256:070589f4dd154c1d22ff2e62378ab33b8848c9e07cfd05c5026dbf1e4cef9e4d size: 1573 [Pipeline] isUnix [Pipeline] sh 22:59:07 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:59:08 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 22:59:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 22:59:08 95e51a59d647: Preparing 22:59:08 c2dee975b071: Preparing 22:59:08 179445e56fa9: Preparing 22:59:08 6b6ec725e00c: Preparing 22:59:08 0c3c4d2d570c: Preparing 22:59:08 f73e7dbfee58: Preparing 22:59:08 f73e7dbfee58: Waiting 22:59:08 6b6ec725e00c: Layer already exists 22:59:08 179445e56fa9: Layer already exists 22:59:08 c2dee975b071: Layer already exists 22:59:08 0c3c4d2d570c: Layer already exists 22:59:08 95e51a59d647: Layer already exists 22:59:08 f73e7dbfee58: Layer already exists 22:59:08 latest: digest: sha256:070589f4dd154c1d22ff2e62378ab33b8848c9e07cfd05c5026dbf1e4cef9e4d size: 1573 [Pipeline] isUnix [Pipeline] sh 22:59:08 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0 [Pipeline] isUnix [Pipeline] sh 22:59:09 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0 22:59:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 22:59:09 95e51a59d647: Preparing 22:59:09 c2dee975b071: Preparing 22:59:09 179445e56fa9: Preparing 22:59:09 6b6ec725e00c: Preparing 22:59:09 0c3c4d2d570c: Preparing 22:59:09 f73e7dbfee58: Preparing 22:59:09 f73e7dbfee58: Waiting 22:59:09 95e51a59d647: Layer already exists 22:59:09 6b6ec725e00c: Layer already exists 22:59:09 0c3c4d2d570c: Layer already exists 22:59:09 179445e56fa9: Layer already exists 22:59:09 c2dee975b071: Layer already exists 22:59:09 f73e7dbfee58: Layer already exists 22:59:09 2.2.0: digest: sha256:070589f4dd154c1d22ff2e62378ab33b8848c9e07cfd05c5026dbf1e4cef9e4d size: 1573 [Pipeline] isUnix [Pipeline] sh 22:59:09 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0 [Pipeline] isUnix [Pipeline] sh 22:59:10 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0 22:59:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 22:59:10 95e51a59d647: Preparing 22:59:10 c2dee975b071: Preparing 22:59:10 179445e56fa9: Preparing 22:59:10 6b6ec725e00c: Preparing 22:59:10 0c3c4d2d570c: Preparing 22:59:10 f73e7dbfee58: Preparing 22:59:10 f73e7dbfee58: Waiting 22:59:10 0c3c4d2d570c: Layer already exists 22:59:10 95e51a59d647: Layer already exists 22:59:10 c2dee975b071: Layer already exists 22:59:10 6b6ec725e00c: Layer already exists 22:59:10 179445e56fa9: Layer already exists 22:59:10 f73e7dbfee58: Layer already exists 22:59:10 0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0: digest: sha256:070589f4dd154c1d22ff2e62378ab33b8848c9e07cfd05c5026dbf1e4cef9e4d size: 1573 [Pipeline] isUnix [Pipeline] sh 22:59:10 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh 22:59:11 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 22:59:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 22:59:11 95e51a59d647: Preparing 22:59:11 c2dee975b071: Preparing 22:59:11 179445e56fa9: Preparing 22:59:11 6b6ec725e00c: Preparing 22:59:11 0c3c4d2d570c: Preparing 22:59:11 f73e7dbfee58: Preparing 22:59:11 f73e7dbfee58: Waiting 22:59:11 c2dee975b071: Layer already exists 22:59:11 0c3c4d2d570c: Layer already exists 22:59:11 179445e56fa9: Layer already exists 22:59:11 95e51a59d647: Layer already exists 22:59:11 6b6ec725e00c: Layer already exists 22:59:11 f73e7dbfee58: Layer already exists 22:59:11 main: digest: sha256:070589f4dd154c1d22ff2e62378ab33b8848c9e07cfd05c5026dbf1e4cef9e4d size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:59:11 ===================================================== [Pipeline] echo 22:59:11 taggedImages: 22:59:11 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:0da803b9e852e60e6d0c38932136853af8aaf1e9 22:59:11 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 22:59:11 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0 22:59:11 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:0da803b9e852e60e6d0c38932136853af8aaf1e9-2.2.0 22:59:11 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:59:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:59:11 22:59:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 22:59:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:59:12 arm64: Pulling from edgex-lftools-log-publisher 22:59:12 8998bd30e6a1: Pulling fs layer 22:59:12 04944245beec: Pulling fs layer 22:59:12 699f458cf7ca: Pulling fs layer 22:59:12 765212b225bb: Pulling fs layer 22:59:12 f23df028b6ca: Pulling fs layer 22:59:12 d65c8cfc05b1: Pulling fs layer 22:59:12 2437ff75d9bd: Pulling fs layer 22:59:12 765212b225bb: Waiting 22:59:12 f23df028b6ca: Waiting 22:59:12 d65c8cfc05b1: Waiting 22:59:12 2437ff75d9bd: Waiting 22:59:12 04944245beec: Verifying Checksum 22:59:12 04944245beec: Download complete 22:59:12 765212b225bb: Verifying Checksum 22:59:12 765212b225bb: Download complete 22:59:12 f23df028b6ca: Verifying Checksum 22:59:12 f23df028b6ca: Download complete 22:59:12 d65c8cfc05b1: Verifying Checksum 22:59:12 d65c8cfc05b1: Download complete 22:59:12 699f458cf7ca: Verifying Checksum 22:59:12 699f458cf7ca: Download complete 22:59:13 8998bd30e6a1: Verifying Checksum 22:59:15 2437ff75d9bd: Verifying Checksum 22:59:15 2437ff75d9bd: Download complete 22:59:17 8998bd30e6a1: Pull complete 22:59:17 04944245beec: Pull complete 22:59:19 699f458cf7ca: Pull complete 22:59:19 765212b225bb: Pull complete 22:59:19 f23df028b6ca: Pull complete 22:59:20 d65c8cfc05b1: Pull complete 22:59:35 2437ff75d9bd: Pull complete 22:59:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:59:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:59:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 22:59:35 prd-ubuntu20.04-docker-arm64-4c-16g-63291 does not seem to be running inside a container 22:59:35 $ 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/39 -v /w/workspace/device-modbus-go/39:/w/workspace/device-modbus-go/39:rw,z -v /w/workspace/device-modbus-go/39@tmp:/w/workspace/device-modbus-go/39@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:59:38 $ docker top 29727a5e5ac3b382e8a5de8e8cc6df9030819966c4aed471777f206e60d62152 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:59:39 ---> job-cost.sh 22:59:40 lf-activate-venv: SKIPPING 22:59:40 INFO: No Stack... 22:59:40 INFO: Retrieving Pricing Info for: v3-standard-4 22:59:41 INFO: Archiving Costs [Pipeline] sh 22:59:42 + cat /w/workspace/device-modbus-go/39/archives/cost.csv 22:59:42 + cut -d, -f6 [Pipeline] lock 22:59:42 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-39-stack-cost] 22:59:42 Resource [jenkins-edgexfoundry-device-modbus-go-main-39-stack-cost] did not exist. Created. 22:59:42 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-39-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:59:42 /w/workspace/device-modbus-go/39@tmp/durable-40ead710/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:59:43 + echo total: 0.10999999940395355 [Pipeline] stash 22:59:43 Warning: overwriting stash ‘stack-cost’ 22:59:43 Stashed 1 file(s) [Pipeline] } 22:59:43 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-39-stack-cost] [Pipeline] // lock [Pipeline] } 22:59:43 $ docker stop --time=1 29727a5e5ac3b382e8a5de8e8cc6df9030819966c4aed471777f206e60d62152 22:59:45 $ docker rm -f 29727a5e5ac3b382e8a5de8e8cc6df9030819966c4aed471777f206e60d62152 [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 22:59:45 provisioning config files... 22:59:45 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8509702901218291171tmp [Pipeline] { [Pipeline] sh 22:59:45 + set +x 22:59:45 + curl -s https://codecov.io/bash 22:59:45 + bash -s -- 22:59:45 22:59:45 _____ _ 22:59:45 / ____| | | 22:59:45 | | ___ __| | ___ ___ _____ __ 22:59:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:59:45 | |___| (_) | (_| | __/ (_| (_) \ V / 22:59:45 \_____\___/ \__,_|\___|\___\___/ \_/ 22:59:45 Bash-1.0.6 22:59:45 22:59:45 22:59:45 ==> git version 2.25.1 found 22:59:45 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:59:45 Release-Date: 2020-01-08 22:59:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:59:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:59:45 ==> Jenkins CI detected. 22:59:45 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 22:59:45 project root: . 22:59:45 --> token set from env 22:59:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:59:45 ==> Running gcov in . (disable via -X gcov) 22:59:45 ==> Python coveragepy not found 22:59:45 ==> Searching for coverage reports in: 22:59:45 + . 22:59:45 -> Found 1 reports 22:59:45 ==> Detecting git/mercurial file structure 22:59:45 ==> Reading reports 22:59:45 + ./coverage.out bytes=24065 22:59:45 ==> Appending adjustments 22:59:45 https://docs.codecov.io/docs/fixing-reports 22:59:46 + Found adjustments 22:59:46 ==> Gzipping contents 22:59:46 4.0K /tmp/codecov.NeuIEH.gz 22:59:46 ==> Uploading reports 22:59:46 url: https://codecov.io 22:59:46 query: branch=main&commit=0da803b9e852e60e6d0c38932136853af8aaf1e9&build=39&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F39%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:59:46 -> Pinging Codecov 22:59:46 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=0da803b9e852e60e6d0c38932136853af8aaf1e9&build=39&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F39%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:59:46 -> Uploading to 22:59:46 https://storage.googleapis.com/codecov/v4/raw/2022-05-11/55DBCA73C666E3227836607328DD7E49/0da803b9e852e60e6d0c38932136853af8aaf1e9/e3097af4-da4b-4c70-99f9-0c26a2da7df6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220511T225946Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=988e16b20560bfd42347f881e0cf363fa1d7a3bc5faea313311ea4a46e590f39 22:59:46 % Total % Received % Xferd Average Speed Time Time Time Current 22:59:46 Dload Upload Total Spent Left Speed 22:59:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4011 0 0 100 4011 0 17669 --:--:-- --:--:-- --:--:-- 17669 22:59:46 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] } 22:59:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:59:46 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:59:46 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:59:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:59:47 22:59:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 22:59:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:59:47 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:59:47 188c0c94c7c5: Pulling fs layer 22:59:47 0ef7d3d256c8: Pulling fs layer 22:59:47 de9db76c5a1d: Pulling fs layer 22:59:47 0eba1c9be4d2: Pulling fs layer 22:59:47 0d57e429df01: Pulling fs layer 22:59:47 4e4be7b47b0d: Pulling fs layer 22:59:47 e1f770b5df2f: Pulling fs layer 22:59:47 85a0685a4137: Pulling fs layer 22:59:47 0d57e429df01: Waiting 22:59:47 4e4be7b47b0d: Waiting 22:59:47 e1f770b5df2f: Waiting 22:59:47 85a0685a4137: Waiting 22:59:47 de9db76c5a1d: Verifying Checksum 22:59:47 de9db76c5a1d: Download complete 22:59:47 0ef7d3d256c8: Download complete 22:59:47 0d57e429df01: Download complete 22:59:47 4e4be7b47b0d: Verifying Checksum 22:59:47 4e4be7b47b0d: Download complete 22:59:47 188c0c94c7c5: Verifying Checksum 22:59:47 188c0c94c7c5: Download complete 22:59:47 188c0c94c7c5: Pull complete 22:59:47 e1f770b5df2f: Verifying Checksum 22:59:47 e1f770b5df2f: Download complete 22:59:47 0ef7d3d256c8: Pull complete 22:59:47 de9db76c5a1d: Pull complete 22:59:48 0eba1c9be4d2: Verifying Checksum 22:59:48 0eba1c9be4d2: Download complete 22:59:48 85a0685a4137: Verifying Checksum 22:59:48 85a0685a4137: Download complete 22:59:51 0eba1c9be4d2: Pull complete 22:59:51 0d57e429df01: Pull complete 22:59:51 4e4be7b47b0d: Pull complete 22:59:51 e1f770b5df2f: Pull complete 22:59:55 85a0685a4137: Pull complete 22:59:55 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 22:59:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:59:55 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 22:59:55 prd-ubuntu20.04-docker-8c-8g-63286 does not seem to be running inside a container 22:59:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:59:57 $ docker top f0bd3dbc485306eefc3752f8e5d6d0e7400cb0dc53fc883e8bbe45a476802f17 -eo pid,comm [Pipeline] { [Pipeline] echo 22:59:57 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 22:59:57 + set -o pipefail 22:59:57 + snyk monitor '--org=edgex-jenkins' 23:00:02 23:00:02 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 23:00:02 23:00:02 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/ca313876-a878-46c1-baaf-72aaebbead98 23:00:02 23:00:02 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 23:00:02 23:00:02 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:00:02 23:00:02 [Pipeline] } 23:00:02 $ docker stop --time=1 f0bd3dbc485306eefc3752f8e5d6d0e7400cb0dc53fc883e8bbe45a476802f17 23:00:04 $ docker rm -f f0bd3dbc485306eefc3752f8e5d6d0e7400cb0dc53fc883e8bbe45a476802f17 [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 23:00:05 + git log --format=format:%s -1 0da803b9e852e60e6d0c38932136853af8aaf1e9 [Pipeline] sh 23:00:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:00:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 23:00:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:00:05 . [Pipeline] withDockerContainer 23:00:06 prd-ubuntu20.04-docker-8c-8g-63286 does not seem to be running inside a container 23:00:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 23:00:06 $ docker top 9550dd001862509eed6445188c4d029a8842c86cfb2ae792b5cea876bd343f8e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:00:06 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.2.0|v2.2.0-dev.20' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:00:06 + git semver [Pipeline] } 23:00:07 $ docker stop --time=1 9550dd001862509eed6445188c4d029a8842c86cfb2ae792b5cea876bd343f8e 23:00:08 $ docker rm -f 9550dd001862509eed6445188c4d029a8842c86cfb2ae792b5cea876bd343f8e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 23:00:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:00:08 23:00:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 23:00:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:00:09 0.23.1-centos7: Pulling from edgex-lftools 23:00:09 ab5ef0e58194: Pulling fs layer 23:00:09 9712f1f96733: Pulling fs layer 23:00:09 63f879dbbcfc: Pulling fs layer 23:00:09 0d9ebad4ef96: Pulling fs layer 23:00:09 e9a5061849ea: Pulling fs layer 23:00:09 d747dcd14b5f: Pulling fs layer 23:00:09 2de7ff778b66: Pulling fs layer 23:00:09 0d9ebad4ef96: Waiting 23:00:09 e9a5061849ea: Waiting 23:00:09 d747dcd14b5f: Waiting 23:00:09 2de7ff778b66: Waiting 23:00:09 9712f1f96733: Download complete 23:00:09 63f879dbbcfc: Verifying Checksum 23:00:09 63f879dbbcfc: Download complete 23:00:09 e9a5061849ea: Verifying Checksum 23:00:09 e9a5061849ea: Download complete 23:00:09 d747dcd14b5f: Download complete 23:00:09 ab5ef0e58194: Verifying Checksum 23:00:09 ab5ef0e58194: Download complete 23:00:09 2de7ff778b66: Verifying Checksum 23:00:09 2de7ff778b66: Download complete 23:00:09 0d9ebad4ef96: Verifying Checksum 23:00:09 0d9ebad4ef96: Download complete 23:00:12 ab5ef0e58194: Pull complete 23:00:12 9712f1f96733: Pull complete 23:00:13 63f879dbbcfc: Pull complete 23:00:16 0d9ebad4ef96: Pull complete 23:00:16 e9a5061849ea: Pull complete 23:00:16 d747dcd14b5f: Pull complete 23:00:18 2de7ff778b66: Pull complete 23:00:18 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:00:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:00:18 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 23:00:18 prd-ubuntu20.04-docker-8c-8g-63286 does not seem to be running inside a container 23:00:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 23:00:20 $ docker top 7e51b39f5c23976332e68844b26ce1f677f3ce9c4adc7a475851d0739133d68f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:00:20 provisioning config files... 23:00:20 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config260959470684842961tmp 23:00:20 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config489364225512387516tmp 23:00:20 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7859678169448279665tmp [Pipeline] { [Pipeline] echo 23:00:20 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:00:20 ---> sigul-configuration.sh 23:00:20 gpg: directory `/root/.gnupg' created 23:00:20 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:00:20 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:00:20 gpg: keyring `/root/.gnupg/secring.gpg' created 23:00:20 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:00:20 gpg: CAST5 encrypted data 23:00:20 gpg: encrypted with 1 passphrase 23:00:20 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:00:20 + mkdir /home/jenkins 23:00:20 + mkdir /home/jenkins/sigul [Pipeline] sh 23:00:21 + 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 23:00:21 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:00:21 ---> sigul-install.sh 23:00:21 Sigul already installed; skipping installation. [Pipeline] sh 23:00:21 + git tag --list 23:00:21 0.7.1 23:00:21 v1.0.0 23:00:21 v1.1.0 23:00:21 v1.1.1 23:00:21 v1.2.2 23:00:21 v1.3.0 23:00:21 v1.3.1 23:00:21 v2.0.0 23:00:21 v2.0.1-dev.1 23:00:21 v2.0.1-dev.10 23:00:21 v2.0.1-dev.11 23:00:21 v2.0.1-dev.12 23:00:21 v2.0.1-dev.2 23:00:21 v2.0.1-dev.3 23:00:21 v2.0.1-dev.4 23:00:21 v2.0.1-dev.5 23:00:21 v2.0.1-dev.6 23:00:21 v2.0.1-dev.7 23:00:21 v2.0.1-dev.8 23:00:21 v2.0.1-dev.9 23:00:21 v2.1.0 23:00:21 v2.2.0 23:00:21 v2.2.0-dev.1 23:00:21 v2.2.0-dev.10 23:00:21 v2.2.0-dev.11 23:00:21 v2.2.0-dev.12 23:00:21 v2.2.0-dev.13 23:00:21 v2.2.0-dev.14 23:00:21 v2.2.0-dev.15 23:00:21 v2.2.0-dev.16 23:00:21 v2.2.0-dev.17 23:00:21 v2.2.0-dev.18 23:00:21 v2.2.0-dev.19 23:00:21 v2.2.0-dev.2 23:00:21 v2.2.0-dev.20 23:00:21 v2.2.0-dev.3 23:00:21 v2.2.0-dev.4 23:00:21 v2.2.0-dev.5 23:00:21 v2.2.0-dev.6 23:00:21 v2.2.0-dev.7 23:00:21 v2.2.0-dev.8 23:00:21 v2.2.0-dev.9 [Pipeline] sh 23:00:21 + lftools sign git-tag v2.2.0 23:00:22 Signing Git tag with Sigul... 23:00:22 Signing v2.2.0 [Pipeline] echo 23:00:22 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:00:23 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:00:23 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:00:23 $ docker stop --time=1 7e51b39f5c23976332e68844b26ce1f677f3ce9c4adc7a475851d0739133d68f 23:00:24 $ docker rm -f 7e51b39f5c23976332e68844b26ce1f677f3ce9c4adc7a475851d0739133d68f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 23:00:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:00:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 23:00:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:00:25 . [Pipeline] withDockerContainer 23:00:25 prd-ubuntu20.04-docker-8c-8g-63286 does not seem to be running inside a container 23:00:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 23:00:25 $ docker top 9fbda412fe486d85da96855b17d4698b3e623f815ed204bd3005d3059df96f50 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:00:25 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.2.0|v2.2.0-dev.20' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:00:26 + git semver [Pipeline] } 23:00:26 $ docker stop --time=1 9fbda412fe486d85da96855b17d4698b3e623f815ed204bd3005d3059df96f50 23:00:27 $ docker rm -f 9fbda412fe486d85da96855b17d4698b3e623f815ed204bd3005d3059df96f50 [Pipeline] // withDockerContainer [Pipeline] sh 23:00:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:00:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 23:00:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:00:28 . [Pipeline] withDockerContainer 23:00:28 prd-ubuntu20.04-docker-8c-8g-63286 does not seem to be running inside a container 23:00:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 23:00:28 $ docker top da8ea926bd3847374e904b1c5272643ccae01968ae8e3beca2adc17f3247f355 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:00:28 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.2.0|v2.2.0-dev.20' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:00:29 + git semver [Pipeline] } 23:00:29 $ docker stop --time=1 da8ea926bd3847374e904b1c5272643ccae01968ae8e3beca2adc17f3247f355 23:00:30 $ docker rm -f da8ea926bd3847374e904b1c5272643ccae01968ae8e3beca2adc17f3247f355 [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 23:00:31 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 23:00:31 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 23:00:31 total 16 23:00:31 drwxr-xr-x 3 root root 4096 May 11 22:50 . 23:00:31 drwxrwxr-x 11 jenkins jenkins 4096 May 11 23:00 .. 23:00:31 drwxr-xr-x 2 root root 4096 May 11 22:50 cost 23:00:31 -rw-r--r-- 1 root root 86 May 11 22:50 cost.csv 23:00:31 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 23:00:31 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 23:00:31 total 16 23:00:31 drwxr-xr-x 3 jenkins jenkins 4096 May 11 22:50 . 23:00:31 drwxrwxr-x 11 jenkins jenkins 4096 May 11 23:00 .. 23:00:31 drwxr-xr-x 2 jenkins jenkins 4096 May 11 22:50 cost 23:00:31 -rw-r--r-- 1 jenkins jenkins 86 May 11 22:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:00:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:00:32 ---> package-listing.sh 23:00:32 ++ facter osfamily 23:00:32 ++ tr '[:upper:]' '[:lower:]' 23:00:32 + OS_FAMILY=debian 23:00:32 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 23:00:32 + START_PACKAGES=/tmp/packages_start.txt 23:00:32 + END_PACKAGES=/tmp/packages_end.txt 23:00:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:00:32 + PACKAGES=/tmp/packages_start.txt 23:00:32 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 23:00:32 + PACKAGES=/tmp/packages_end.txt 23:00:32 + case "${OS_FAMILY}" in 23:00:32 + dpkg -l 23:00:32 + grep '^ii' 23:00:32 + '[' -f /tmp/packages_start.txt ']' 23:00:32 + '[' -f /tmp/packages_end.txt ']' 23:00:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:00:32 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 23:00:32 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 23:00:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 23:00:32 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:00:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:00:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:00:33 . [Pipeline] withDockerContainer 23:00:33 prd-ubuntu20.04-docker-8c-8g-63286 does not seem to be running inside a container 23:00:33 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:00:33 $ docker top a4805e6e7b242b71e4afb32745331198380a78ea2e8ac4f4d804c944b5a4a6ee -eo pid,comm [Pipeline] { [Pipeline] sh 23:00:34 + touch /tmp/pre-build-complete [Pipeline] sh 23:00:34 + mkdir -p /var/log/sysstat [Pipeline] sh 23:00:34 + ls /var/log/sa-host 23:00:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:00:34 provisioning config files... 23:00:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config172426194307749400tmp [Pipeline] { [Pipeline] echo 23:00:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:00:35 ---> create-netrc.sh [Pipeline] } 23:00:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:00:35 ---> python-tools-install.sh [Pipeline] echo 23:00:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:00:35 ---> sudo-logs.sh 23:00:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:00:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:00:36 ---> job-cost.sh 23:00:36 lf-activate-venv: SKIPPING 23:00:36 DEBUG: total: 0.2199999988079071 23:00:36 INFO: Retrieving Stack Cost... 23:00:36 INFO: Retrieving Pricing Info for: v3-standard-8 23:00:37 INFO: Archiving Costs [Pipeline] echo 23:00:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:00:37 ---> logs-deploy.sh 23:00:37 lf-activate-venv: SKIPPING 23:00:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/39 23:00:37 INFO: archiving workspace using pattern(s): 23:00:38 Archives upload complete. 23:00:38 INFO: archiving logs to Nexus