Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3e881fe54d34e3489b353c0554336186a92f7554 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-ssh11217853463667347952.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh2642465032494140045.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9937485417269862408.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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 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-ssh3124288256665519867.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12115166159067994800.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 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.18 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4624’ Running on prd-ubuntu20.04-docker-8c-8g-4626 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 3e881fe54d34e3489b353c0554336186a92f7554 (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 3e881fe54d34e3489b353c0554336186a92f7554 # timeout=10 Commit message: "Merge pull request #403 from hahattan/bump-sdk" > git rev-list --no-walk bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:34:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:34:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:34:05 ========================================================= 04:34:05 EdgeX Global Pipelines Version Info 04:34:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:34:06 ------------------- 04:34:06 stable info: 04:34:06 ------------------- 04:34:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:34:06 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:34:06 Message: update stable to v1.0.244 04:34:07 ------------------- 04:34:07 experimental info: 04:34:07 ------------------- 04:34:07 Commited By: **** collab-it+edgex@linuxfoundation.org 04:34:07 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:34:07 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3e881fe54d34e3489b353c0554336186a92f7554 [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3e881fe [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:34:07 provisioning config files... 04:34:07 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1189656755813084862tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:34:08 ---> docker-login.sh 04:34:08 nexus3.edgexfoundry.org:10001 04:34:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:34:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:34:08 Configure a credential helper to remove this warning. See 04:34:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:34:08 04:34:08 Login Succeeded 04:34:08 nexus3.edgexfoundry.org:10002 04:34:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:34:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:34:08 Configure a credential helper to remove this warning. See 04:34:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:34:08 04:34:08 Login Succeeded 04:34:08 nexus3.edgexfoundry.org:10003 04:34:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:34:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:34:08 Configure a credential helper to remove this warning. See 04:34:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:34:08 04:34:08 Login Succeeded 04:34:08 nexus3.edgexfoundry.org:10004 04:34:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:34:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:34:08 Configure a credential helper to remove this warning. See 04:34:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:34:08 04:34:08 Login Succeeded 04:34:08 docker.io 04:34:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:34:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:34:09 Configure a credential helper to remove this warning. See 04:34:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:34:09 04:34:09 Login Succeeded 04:34:09 ---> docker-login.sh ends [Pipeline] } 04:34:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:34:09 + git rev-list -1 --merges 3e881fe54d34e3489b353c0554336186a92f7554~1..3e881fe54d34e3489b353c0554336186a92f7554 [Pipeline] echo 04:34:09 -----------> git rev-list -1 --merges 3e881fe54d34e3489b353c0554336186a92f7554~1..3e881fe54d34e3489b353c0554336186a92f7554 3e881fe54d34e3489b353c0554336186a92f7554 04:34:09 3e881fe54d34e3489b353c0554336186a92f7554 [false] [Pipeline] sh 04:34:10 + git log --format=format:%s -1 3e881fe54d34e3489b353c0554336186a92f7554 [Pipeline] echo 04:34:10 ========================================================= 04:34:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:34:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:34:10 + git log --format=format:%s -1 3e881fe54d34e3489b353c0554336186a92f7554 [Pipeline] echo 04:34:10 [semverPrep] GIT_COMMIT: 3e881fe54d34e3489b353c0554336186a92f7554, Commit Message: Merge pull request #403 from hahattan/bump-sdk [Pipeline] echo 04:34:10 [semverPrep] This is not a build commit. [Pipeline] sh 04:34:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:34:10 + grep -v github /etc/ssh/ssh_known_hosts 04:34:10 + [ -e /tmp/ssh_known_hosts ] 04:34:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:34:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:34:10 + sudo tee -a /etc/ssh/ssh_known_hosts 04:34:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:34:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:34:11 04:34:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:34:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:34:11 0.1.4: Pulling from edgex-devops/py-git-semver 04:34:11 b85a868b505f: Pulling fs layer 04:34:11 e2be974225ed: Pulling fs layer 04:34:11 339a4e72a1f5: Pulling fs layer 04:34:11 988bab9f4d93: Pulling fs layer 04:34:11 1469e6f7b9e6: Pulling fs layer 04:34:11 eaf3925da568: Pulling fs layer 04:34:11 bab4dde63d76: Pulling fs layer 04:34:11 bde34c3a00c8: Pulling fs layer 04:34:11 b352a97aabf1: Pulling fs layer 04:34:11 4872d77fe225: Pulling fs layer 04:34:11 5851b861e8e6: Pulling fs layer 04:34:11 eaf3925da568: Waiting 04:34:11 b352a97aabf1: Waiting 04:34:11 988bab9f4d93: Waiting 04:34:11 4872d77fe225: Waiting 04:34:11 5851b861e8e6: Waiting 04:34:11 1469e6f7b9e6: Waiting 04:34:11 e2be974225ed: Verifying Checksum 04:34:11 e2be974225ed: Download complete 04:34:11 988bab9f4d93: Verifying Checksum 04:34:11 988bab9f4d93: Download complete 04:34:11 1469e6f7b9e6: Verifying Checksum 04:34:11 1469e6f7b9e6: Download complete 04:34:11 eaf3925da568: Verifying Checksum 04:34:11 eaf3925da568: Download complete 04:34:12 339a4e72a1f5: Verifying Checksum 04:34:12 339a4e72a1f5: Download complete 04:34:12 bde34c3a00c8: Verifying Checksum 04:34:12 bde34c3a00c8: Download complete 04:34:12 b85a868b505f: Download complete 04:34:12 b352a97aabf1: Verifying Checksum 04:34:12 b352a97aabf1: Download complete 04:34:12 4872d77fe225: Download complete 04:34:12 5851b861e8e6: Download complete 04:34:12 bab4dde63d76: Verifying Checksum 04:34:12 bab4dde63d76: Download complete 04:34:13 b85a868b505f: Pull complete 04:34:13 e2be974225ed: Pull complete 04:34:13 339a4e72a1f5: Pull complete 04:34:13 988bab9f4d93: Pull complete 04:34:14 1469e6f7b9e6: Pull complete 04:34:14 eaf3925da568: Pull complete 04:34:16 bab4dde63d76: Pull complete 04:34:16 bde34c3a00c8: Pull complete 04:34:16 b352a97aabf1: Pull complete 04:34:16 4872d77fe225: Pull complete 04:34:16 5851b861e8e6: Pull complete 04:34:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:34:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:34:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:34:16 prd-ubuntu20.04-docker-8c-8g-4626 does not seem to be running inside a container 04:34:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:34:17 $ docker top 6a5ade0f5c8d3cc4152c7b8df558a97a761071253e0989384ca93c18650e21a2 -eo pid,comm 04:34:17 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). 04:34:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:34:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:34:18 [ssh-agent] Looking for ssh-agent implementation... 04:34:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:34:18 $ docker exec 6a5ade0f5c8d3cc4152c7b8df558a97a761071253e0989384ca93c18650e21a2 ssh-agent 04:34:18 SSH_AUTH_SOCK=/tmp/ssh-KreceOitdxYc/agent.32 04:34:18 SSH_AGENT_PID=38 04:34:18 Running ssh-add (command line suppressed) 04:34:18 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13565700373301325267.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13565700373301325267.key) 04:34:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:34:18 + git tag --points-at HEAD [Pipeline] } 04:34:18 $ docker exec --env ******** --env ******** 6a5ade0f5c8d3cc4152c7b8df558a97a761071253e0989384ca93c18650e21a2 ssh-agent -k 04:34:18 unset SSH_AUTH_SOCK; 04:34:18 unset SSH_AGENT_PID; 04:34:18 echo Agent pid 38 killed; 04:34:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:34:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:34:18 [ssh-agent] Looking for ssh-agent implementation... 04:34:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:34:18 $ docker exec 6a5ade0f5c8d3cc4152c7b8df558a97a761071253e0989384ca93c18650e21a2 ssh-agent 04:34:19 SSH_AUTH_SOCK=/tmp/ssh-tI100hzm6b93/agent.70 04:34:19 SSH_AGENT_PID=76 04:34:19 Running ssh-add (command line suppressed) 04:34:19 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2438874393295865228.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2438874393295865228.key) 04:34:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:34:19 + git semver init 04:34:19 2023-02-06 04:34:19,649 [run_init] DEBUG init version:0.0.0 force:False 04:34:19 2023-02-06 04:34:19,650 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 04:34:19 2023-02-06 04:34:19,650 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 04:34:19 2023-02-06 04:34:19,651 [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) 04:34:21 2023-02-06 04:34:20,756 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 04:34:21 2023-02-06 04:34:20,757 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 04:34:21 2023-02-06 04:34:20,757 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 04:34:21 2023-02-06 04:34:20,757 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 04:34:21 3.0.0-dev.7 [Pipeline] } 04:34:21 $ docker exec --env ******** --env ******** 6a5ade0f5c8d3cc4152c7b8df558a97a761071253e0989384ca93c18650e21a2 ssh-agent -k 04:34:21 unset SSH_AUTH_SOCK; 04:34:21 unset SSH_AGENT_PID; 04:34:21 echo Agent pid 76 killed; 04:34:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:34:21 + git semver [Pipeline] } 04:34:21 $ docker stop --time=1 6a5ade0f5c8d3cc4152c7b8df558a97a761071253e0989384ca93c18650e21a2 04:34:23 $ docker rm -f --volumes 6a5ade0f5c8d3cc4152c7b8df558a97a761071253e0989384ca93c18650e21a2 [Pipeline] // withDockerContainer [Pipeline] sh 04:34:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:34:23 Stashed 1 file(s) [Pipeline] echo 04:34:23 [edgeXSemver]: initialized semver on version 3.0.0-dev.7 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:34:23 provisioning config files... 04:34:23 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11161962109126778907tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:34:24 ---> docker-login.sh 04:34:24 nexus3.edgexfoundry.org:10001 04:34:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:34:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:34:24 Configure a credential helper to remove this warning. See 04:34:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:34:24 04:34:24 Login Succeeded 04:34:24 nexus3.edgexfoundry.org:10002 04:34:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:34:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:34:24 Configure a credential helper to remove this warning. See 04:34:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:34:24 04:34:24 Login Succeeded 04:34:24 nexus3.edgexfoundry.org:10003 04:34:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:34:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:34:24 Configure a credential helper to remove this warning. See 04:34:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:34:24 04:34:24 Login Succeeded 04:34:24 nexus3.edgexfoundry.org:10004 04:34:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:34:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:34:24 Configure a credential helper to remove this warning. See 04:34:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:34:24 04:34:24 Login Succeeded 04:34:24 docker.io 04:34:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:34:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:34:25 Configure a credential helper to remove this warning. See 04:34:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:34:25 04:34:25 Login Succeeded 04:34:25 ---> docker-login.sh ends [Pipeline] } 04:34:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:34:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:34:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:34:25 ========================================================= 04:34:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:34:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:34:25 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 04:34:25 Sending build context to Docker daemon 6.324MB 04:34:25 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 04:34:25 Step 2/10 : FROM ${BASE} AS builder 04:34:25 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:34:25 213ec9aee27d: Pulling fs layer 04:34:25 4583459ba037: Pulling fs layer 04:34:25 93c1e223e6f2: Pulling fs layer 04:34:25 53926ce57604: Pulling fs layer 04:34:25 21b2b0c7a3f4: Pulling fs layer 04:34:25 22ff95d597cd: Pulling fs layer 04:34:25 12d6caf4c0d1: Pulling fs layer 04:34:25 96b7cbca73a9: Pulling fs layer 04:34:25 a7acece74701: Pulling fs layer 04:34:25 53926ce57604: Waiting 04:34:25 22ff95d597cd: Waiting 04:34:25 a7acece74701: Waiting 04:34:25 12d6caf4c0d1: Waiting 04:34:25 96b7cbca73a9: Waiting 04:34:25 93c1e223e6f2: Verifying Checksum 04:34:25 4583459ba037: Download complete 04:34:25 21b2b0c7a3f4: Verifying Checksum 04:34:25 21b2b0c7a3f4: Download complete 04:34:25 22ff95d597cd: Verifying Checksum 04:34:25 22ff95d597cd: Download complete 04:34:25 213ec9aee27d: Verifying Checksum 04:34:25 213ec9aee27d: Download complete 04:34:25 12d6caf4c0d1: Verifying Checksum 04:34:25 12d6caf4c0d1: Download complete 04:34:25 213ec9aee27d: Pull complete 04:34:26 4583459ba037: Pull complete 04:34:26 93c1e223e6f2: Pull complete 04:34:26 a7acece74701: Verifying Checksum 04:34:26 a7acece74701: Download complete 04:34:27 96b7cbca73a9: Verifying Checksum 04:34:27 96b7cbca73a9: Download complete 04:34:27 53926ce57604: Verifying Checksum 04:34:27 53926ce57604: Download complete 04:34:31 53926ce57604: Pull complete 04:34:31 21b2b0c7a3f4: Pull complete 04:34:31 22ff95d597cd: Pull complete 04:34:31 12d6caf4c0d1: Pull complete 04:34:33 96b7cbca73a9: Pull complete 04:34:34 a7acece74701: Pull complete 04:34:34 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 04:34:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:34:34 ---> db6d94c90886 04:34:34 Step 3/10 : ARG ADD_BUILD_TAGS="" 04:34:37 ---> Running in fa078a9dc5de 04:34:37 Removing intermediate container fa078a9dc5de 04:34:37 ---> a4e5652da8dc 04:34:37 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:34:37 ---> Running in dc48afbba893 04:34:37 Removing intermediate container dc48afbba893 04:34:37 ---> c25923f1ade6 04:34:37 Step 5/10 : RUN apk add --update --no-cache make git openssh 04:34:37 ---> Running in 3491088b9cb7 04:34:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:34:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:34:38 (1/8) Installing openssh-keygen (9.0_p1-r2) 04:34:38 (2/8) Installing libedit (20210910.3.1-r0) 04:34:38 (3/8) Installing openssh-client-common (9.0_p1-r2) 04:34:38 (4/8) Installing openssh-client-default (9.0_p1-r2) 04:34:38 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 04:34:38 (6/8) Installing openssh-server-common (9.0_p1-r2) 04:34:38 (7/8) Installing openssh-server (9.0_p1-r2) 04:34:38 (8/8) Installing openssh (9.0_p1-r2) 04:34:38 Executing busybox-1.35.0-r17.trigger 04:34:38 OK: 217 MiB in 59 packages 04:34:38 Still waiting to schedule task 04:34:38 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4625’ 04:34:39 Removing intermediate container 3491088b9cb7 04:34:39 ---> c9bd855e2ac3 04:34:39 Step 6/10 : WORKDIR /device-modbus-go 04:34:39 ---> Running in 97484c7e994b 04:34:39 Removing intermediate container 97484c7e994b 04:34:39 ---> 501e0c346548 04:34:39 Step 7/10 : COPY go.mod vendor* ./ 04:34:39 ---> 318a57eac0b4 04:34:39 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:34:39 ---> Running in 7d47f34c096c 04:35:06 Removing intermediate container 7d47f34c096c 04:35:06 ---> 4e38cbcc2f14 04:35:06 Step 9/10 : COPY . . 04:35:06 ---> 0617627c56cb 04:35:06 Step 10/10 : RUN ${MAKE} 04:35:06 ---> Running in cf5d347fdf5c 04:35:06 noop 04:35:06 Removing intermediate container cf5d347fdf5c 04:35:06 ---> 9f8797321120 04:35:06 Successfully built 9f8797321120 04:35:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:07 + docker inspect -f . ci-base-image-x86_64 04:35:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:35:07 prd-ubuntu20.04-docker-8c-8g-4626 does not seem to be running inside a container 04:35:07 $ 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 ******** -e ******** ci-base-image-x86_64 cat 04:35:07 $ docker top 10e8b6070e9306fa8fa453f4504a9dca149198839a770fbcf4e15ae91c85c948 -eo pid,comm [Pipeline] { [Pipeline] sh 04:35:08 + go version 04:35:08 go version go1.18.7 linux/amd64 [Pipeline] } 04:35:08 $ docker stop --time=1 10e8b6070e9306fa8fa453f4504a9dca149198839a770fbcf4e15ae91c85c948 04:35:09 $ docker rm -f --volumes 10e8b6070e9306fa8fa453f4504a9dca149198839a770fbcf4e15ae91c85c948 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:09 + docker inspect -f . ci-base-image-x86_64 04:35:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:35:09 prd-ubuntu20.04-docker-8c-8g-4626 does not seem to be running inside a container 04:35:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 ******** -e ******** ci-base-image-x86_64 cat 04:35:10 $ docker top 82a706791889dec491cbbc33631c36f6d60b30e93785996b4b3be0f84cf97f11 -eo pid,comm [Pipeline] { [Pipeline] sh 04:35:10 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 04:35:10 + make test 04:35:10 go test ./... -coverprofile=coverage.out 04:35:11 ? github.com/edgexfoundry/device-modbus-go [no test files] 04:35:21 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 04:35:21 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.7% of statements 04:35:26 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 04:35:26 go vet ./... 04:35:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:35:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:35:29 ./bin/test-attribution-txt.sh 04:35:29 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 04:35:29 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 04:35:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:35:29 $ docker stop --time=1 82a706791889dec491cbbc33631c36f6d60b30e93785996b4b3be0f84cf97f11 04:35:31 $ docker rm -f --volumes 82a706791889dec491cbbc33631c36f6d60b30e93785996b4b3be0f84cf97f11 [Pipeline] // withDockerContainer [Pipeline] sh 04:35:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:35:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:35:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:35:32 + ls -al . 04:35:32 total 184 04:35:32 drwxrwxr-x 10 jenkins jenkins 4096 Feb 6 04:35 . 04:35:32 drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 04:34 .. 04:35:32 -rw-rw-r-- 1 jenkins jenkins 140 Feb 6 04:34 .dockerignore 04:35:32 drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 04:35 .git 04:35:32 drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 04:34 .github 04:35:32 -rw-rw-r-- 1 jenkins jenkins 331 Feb 6 04:34 .gitignore 04:35:32 -rw-rw-r-- 1 jenkins jenkins 41 Feb 6 04:34 .golangci.yml 04:35:32 drwxr-xr-x 3 jenkins jenkins 4096 Feb 6 04:34 .semver 04:35:32 -rw-rw-r-- 1 jenkins jenkins 10017 Feb 6 04:34 Attribution.txt 04:35:32 -rw-rw-r-- 1 jenkins jenkins 11576 Feb 6 04:34 CHANGELOG.md 04:35:32 -rw-rw-r-- 1 jenkins jenkins 1365 Feb 6 04:34 Dockerfile 04:35:32 -rw-rw-r-- 1 jenkins jenkins 677 Feb 6 04:34 GOVERNANCE.md 04:35:32 -rw-rw-r-- 1 jenkins jenkins 680 Feb 6 04:34 Jenkinsfile 04:35:32 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 6 04:34 LICENSE 04:35:32 -rw-rw-r-- 1 jenkins jenkins 1670 Feb 6 04:34 Makefile 04:35:32 -rw-rw-r-- 1 jenkins jenkins 622 Feb 6 04:34 OWNERS.md 04:35:32 -rw-rw-r-- 1 jenkins jenkins 4061 Feb 6 04:34 README.md 04:35:32 -rw-rw-r-- 1 jenkins jenkins 11 Feb 6 04:34 VERSION 04:35:32 drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 04:34 bin 04:35:32 drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 04:34 cmd 04:35:32 -rw-r--r-- 1 jenkins jenkins 23241 Feb 6 04:35 coverage.out 04:35:32 -rw-rw-r-- 1 jenkins jenkins 3495 Feb 6 04:34 go.mod 04:35:32 -rw-rw-r-- 1 jenkins jenkins 33619 Feb 6 04:34 go.sum 04:35:32 drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 04:34 internal 04:35:32 drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 04:34 simulator 04:35:32 drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 04:34 snap 04:35:32 -rw-rw-r-- 1 jenkins jenkins 229 Feb 6 04:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:33 + 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=3e881fe54d34e3489b353c0554336186a92f7554 --label arch=amd64 --label version=3.0.0-dev.7 . 04:35:33 Sending build context to Docker daemon 6.348MB 04:35:33 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 04:35:33 Step 2/22 : FROM ${BASE} AS builder 04:35:33 ---> 9f8797321120 04:35:33 Step 3/22 : ARG ADD_BUILD_TAGS="" 04:35:33 ---> Running in 2beb8527d37b 04:35:33 Removing intermediate container 2beb8527d37b 04:35:33 ---> 4e9720c7af55 04:35:33 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:35:33 ---> Running in ab77b09b167b 04:35:33 Removing intermediate container ab77b09b167b 04:35:33 ---> 61496b162ec2 04:35:33 Step 5/22 : RUN apk add --update --no-cache make git openssh 04:35:33 ---> Running in ce127e843239 04:35:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:35:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:35:34 OK: 217 MiB in 59 packages 04:35:34 Removing intermediate container ce127e843239 04:35:34 ---> 185624a6dd61 04:35:34 Step 6/22 : WORKDIR /device-modbus-go 04:35:34 ---> Running in 8de9b1c48eb8 04:35:34 Removing intermediate container 8de9b1c48eb8 04:35:34 ---> cfe45cd5fc72 04:35:34 Step 7/22 : COPY go.mod vendor* ./ 04:35:35 ---> 4601deaba3a7 04:35:35 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:35:35 ---> Running in 5c1f0e9e115b 04:35:36 Removing intermediate container 5c1f0e9e115b 04:35:36 ---> e8e0ac71bad8 04:35:36 Step 9/22 : COPY . . 04:35:36 ---> eadc249cbc95 04:35:36 Step 10/22 : RUN ${MAKE} 04:35:36 ---> Running in 0a3f25de8160 04:35:36 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.7" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 04:35:54 Removing intermediate container 0a3f25de8160 04:35:54 ---> 8441aa09f96b 04:35:54 Step 11/22 : FROM alpine:3.14 04:35:54 3.14: Pulling from library/alpine 04:35:54 c7ed990a2339: Pulling fs layer 04:35:54 c7ed990a2339: Verifying Checksum 04:35:54 c7ed990a2339: Download complete 04:35:54 c7ed990a2339: Pull complete 04:35:54 Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a 04:35:54 Status: Downloaded newer image for alpine:3.14 04:35:54 ---> dd53f409bf0b 04:35:54 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 04:35:54 ---> Running in ffff5bdc64ca 04:35:54 Removing intermediate container ffff5bdc64ca 04:35:54 ---> 2ce362a430ec 04:35:54 Step 13/22 : RUN apk add --update --no-cache dumb-init 04:35:54 ---> Running in 451c704304e1 04:35:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:35:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:35:55 (1/1) Installing dumb-init (1.2.5-r1) 04:35:55 Executing busybox-1.33.1-r8.trigger 04:35:55 OK: 6 MiB in 15 packages 04:35:55 Removing intermediate container 451c704304e1 04:35:55 ---> 05cd1470d051 04:35:55 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 04:35:56 ---> e97168f3661d 04:35:56 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 04:35:56 ---> aeab91dd4e95 04:35:56 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 04:35:56 ---> 9aff519e497c 04:35:56 Step 17/22 : EXPOSE 59901 04:35:56 ---> Running in 90ce7e2be098 04:35:56 Removing intermediate container 90ce7e2be098 04:35:56 ---> 216460955c2e 04:35:56 Step 18/22 : ENTRYPOINT ["/device-modbus"] 04:35:56 ---> Running in e19037c4d86b 04:35:56 Removing intermediate container e19037c4d86b 04:35:56 ---> 768d5cefccb5 04:35:56 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 04:35:56 ---> Running in c994000edd7e 04:35:56 Removing intermediate container c994000edd7e 04:35:56 ---> e9cd90f84100 04:35:56 Step 20/22 : LABEL arch=amd64 04:35:57 ---> Running in 25e817045706 04:35:57 Removing intermediate container 25e817045706 04:35:57 ---> cd30af5affe6 04:35:57 Step 21/22 : LABEL git_sha=3e881fe54d34e3489b353c0554336186a92f7554 04:35:57 ---> Running in 62ab6e5ea746 04:35:57 Removing intermediate container 62ab6e5ea746 04:35:57 ---> 02e2e67ec49b 04:35:57 Step 22/22 : LABEL version=3.0.0-dev.7 04:35:57 ---> Running in cb5ebc6e443d 04:35:57 Removing intermediate container cb5ebc6e443d 04:35:57 ---> fcef64c64bd6 04:35:57 [Warning] One or more build-args [ARCH] were not consumed 04:35:57 Successfully built fcef64c64bd6 04:35:57 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:35:57 provisioning config files... 04:35:57 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14359648243991730445tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:35:58 ---> docker-login.sh 04:35:58 nexus3.edgexfoundry.org:10001 04:35:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:35:58 Configure a credential helper to remove this warning. See 04:35:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:35:58 04:35:58 Login Succeeded 04:35:58 nexus3.edgexfoundry.org:10002 04:35:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:35:58 Configure a credential helper to remove this warning. See 04:35:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:35:58 04:35:58 Login Succeeded 04:35:58 nexus3.edgexfoundry.org:10003 04:35:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:35:58 Configure a credential helper to remove this warning. See 04:35:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:35:58 04:35:58 Login Succeeded 04:35:58 nexus3.edgexfoundry.org:10004 04:35:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:35:58 Configure a credential helper to remove this warning. See 04:35:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:35:58 04:35:58 Login Succeeded 04:35:58 docker.io 04:35:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:35:58 Configure a credential helper to remove this warning. See 04:35:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:35:58 04:35:58 Login Succeeded 04:35:58 ---> docker-login.sh ends [Pipeline] } 04:35:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:35:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:35:58 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 04:35:58 3e881fe54d34e3489b353c0554336186a92f7554 04:35:58 latest 04:35:58 3.0.0-dev.7 04:35:58 3e881fe54d34e3489b353c0554336186a92f7554-3.0.0-dev.7 04:35:58 main 04:35:58 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:58 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3e881fe54d34e3489b353c0554336186a92f7554 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:59 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3e881fe54d34e3489b353c0554336186a92f7554 04:35:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 04:35:59 6a0a3965b374: Preparing 04:35:59 8d9f8e527a3a: Preparing 04:35:59 506b60bed4d1: Preparing 04:35:59 c7eb2c38d8d3: Preparing 04:35:59 63493a9ab2d4: Preparing 04:35:59 63493a9ab2d4: Layer already exists 04:35:59 6a0a3965b374: Pushed 04:35:59 8d9f8e527a3a: Pushed 04:35:59 c7eb2c38d8d3: Pushed 04:36:01 506b60bed4d1: Pushed 04:36:01 3e881fe54d34e3489b353c0554336186a92f7554: digest: sha256:d7d1dab298fbbab0cd5dd9c7c860c21a1faa7995a53d32289c6b00042cdb753e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:02 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:02 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 04:36:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 04:36:02 6a0a3965b374: Preparing 04:36:02 8d9f8e527a3a: Preparing 04:36:02 506b60bed4d1: Preparing 04:36:02 c7eb2c38d8d3: Preparing 04:36:02 63493a9ab2d4: Preparing 04:36:02 8d9f8e527a3a: Layer already exists 04:36:02 c7eb2c38d8d3: Layer already exists 04:36:02 63493a9ab2d4: Layer already exists 04:36:02 506b60bed4d1: Layer already exists 04:36:02 6a0a3965b374: Layer already exists 04:36:02 latest: digest: sha256:d7d1dab298fbbab0cd5dd9c7c860c21a1faa7995a53d32289c6b00042cdb753e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:02 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:03 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.7 04:36:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 04:36:03 6a0a3965b374: Preparing 04:36:03 8d9f8e527a3a: Preparing 04:36:03 506b60bed4d1: Preparing 04:36:03 c7eb2c38d8d3: Preparing 04:36:03 63493a9ab2d4: Preparing 04:36:03 63493a9ab2d4: Layer already exists 04:36:03 c7eb2c38d8d3: Layer already exists 04:36:03 8d9f8e527a3a: Layer already exists 04:36:03 506b60bed4d1: Layer already exists 04:36:03 6a0a3965b374: Layer already exists 04:36:03 3.0.0-dev.7: digest: sha256:d7d1dab298fbbab0cd5dd9c7c860c21a1faa7995a53d32289c6b00042cdb753e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:03 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3e881fe54d34e3489b353c0554336186a92f7554-3.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:03 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3e881fe54d34e3489b353c0554336186a92f7554-3.0.0-dev.7 04:36:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 04:36:03 6a0a3965b374: Preparing 04:36:03 8d9f8e527a3a: Preparing 04:36:03 506b60bed4d1: Preparing 04:36:03 c7eb2c38d8d3: Preparing 04:36:03 63493a9ab2d4: Preparing 04:36:03 c7eb2c38d8d3: Layer already exists 04:36:03 63493a9ab2d4: Layer already exists 04:36:03 6a0a3965b374: Layer already exists 04:36:03 506b60bed4d1: Layer already exists 04:36:03 8d9f8e527a3a: Layer already exists 04:36:03 3e881fe54d34e3489b353c0554336186a92f7554-3.0.0-dev.7: digest: sha256:d7d1dab298fbbab0cd5dd9c7c860c21a1faa7995a53d32289c6b00042cdb753e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:04 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:04 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 04:36:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 04:36:04 6a0a3965b374: Preparing 04:36:04 8d9f8e527a3a: Preparing 04:36:04 506b60bed4d1: Preparing 04:36:04 c7eb2c38d8d3: Preparing 04:36:04 63493a9ab2d4: Preparing 04:36:04 8d9f8e527a3a: Layer already exists 04:36:04 c7eb2c38d8d3: Layer already exists 04:36:04 6a0a3965b374: Layer already exists 04:36:04 63493a9ab2d4: Layer already exists 04:36:04 506b60bed4d1: Layer already exists 04:36:04 main: digest: sha256:d7d1dab298fbbab0cd5dd9c7c860c21a1faa7995a53d32289c6b00042cdb753e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:36:04 ===================================================== [Pipeline] echo 04:36:04 taggedImages: 04:36:04 - nexus3.edgexfoundry.org:10004/device-modbus:3e881fe54d34e3489b353c0554336186a92f7554 04:36:04 - nexus3.edgexfoundry.org:10004/device-modbus:latest 04:36:04 - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.7 04:36:04 - nexus3.edgexfoundry.org:10004/device-modbus:3e881fe54d34e3489b353c0554336186a92f7554-3.0.0-dev.7 04:36:04 - 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] withEnv [Pipeline] { [Pipeline] sh 04:36:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:36:04 04:36:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:36:05 latest: Pulling from edgex-lftools-log-publisher 04:36:05 5eb5b503b376: Pulling fs layer 04:36:05 5c69ac0246d0: Pulling fs layer 04:36:05 ec43610c2a17: Pulling fs layer 04:36:05 3a2ae6a8a46f: Pulling fs layer 04:36:05 33b1e0a273af: Pulling fs layer 04:36:05 5d3b04190fa2: Pulling fs layer 04:36:05 2f39f015ded8: Pulling fs layer 04:36:05 33b1e0a273af: Waiting 04:36:05 5d3b04190fa2: Waiting 04:36:05 2f39f015ded8: Waiting 04:36:05 3a2ae6a8a46f: Waiting 04:36:05 5c69ac0246d0: Verifying Checksum 04:36:05 5c69ac0246d0: Download complete 04:36:05 3a2ae6a8a46f: Download complete 04:36:05 33b1e0a273af: Verifying Checksum 04:36:05 33b1e0a273af: Download complete 04:36:05 5d3b04190fa2: Download complete 04:36:05 ec43610c2a17: Verifying Checksum 04:36:05 ec43610c2a17: Download complete 04:36:05 5eb5b503b376: Download complete 04:36:06 2f39f015ded8: Download complete 04:36:06 5eb5b503b376: Pull complete 04:36:06 5c69ac0246d0: Pull complete 04:36:07 ec43610c2a17: Pull complete 04:36:07 3a2ae6a8a46f: Pull complete 04:36:07 33b1e0a273af: Pull complete 04:36:07 5d3b04190fa2: Pull complete 04:36:11 2f39f015ded8: Pull complete 04:36:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:36:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:36:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:36:11 prd-ubuntu20.04-docker-8c-8g-4626 does not seem to be running inside a container 04:36:11 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:36:13 $ docker top e427beba3ed8c72444b41cf9747b4bcbb828857919c5404d4dec98170cd16d09 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:36:14 ---> job-cost.sh 04:36:14 lf-activate-venv: SKIPPING 04:36:14 INFO: No Stack... 04:36:14 INFO: Retrieving Pricing Info for: v3-standard-8 04:36:15 INFO: Archiving Costs [Pipeline] sh 04:36:15 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 04:36:15 + cut -d, -f6 [Pipeline] lock 04:36:15 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-73-stack-cost] 04:36:15 Resource [jenkins-edgexfoundry-device-modbus-go-main-73-stack-cost] did not exist. Created. 04:36:15 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-73-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:36:16 + echo total: 0.2199999988079071 [Pipeline] stash 04:36:16 Stashed 1 file(s) [Pipeline] } 04:36:16 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-73-stack-cost] [Pipeline] // lock [Pipeline] } 04:36:16 $ docker stop --time=1 e427beba3ed8c72444b41cf9747b4bcbb828857919c5404d4dec98170cd16d09 04:36:17 $ docker rm -f --volumes e427beba3ed8c72444b41cf9747b4bcbb828857919c5404d4dec98170cd16d09 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:37:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4628 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 04:37:27 Running in /w/workspace/device-modbus-go/73 [Pipeline] { [Pipeline] checkout 04:37:27 Selected Git installation does not exist. Using Default 04:37:27 The recommended git tool is: NONE 04:37:32 using credential edgex-jenkins-ssh 04:37:32 Cloning the remote Git repository 04:37:32 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 04:37:32 > git init /w/workspace/device-modbus-go/73 # timeout=10 04:37:32 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 04:37:32 > git --version # timeout=10 04:37:32 > git --version # 'git version 2.25.1' 04:37:32 using GIT_SSH to set credentials SSH Credentials for GitHub 04:37:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:37:34 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 04:37:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:37:35 Avoid second fetch 04:37:35 Checking out Revision 3e881fe54d34e3489b353c0554336186a92f7554 (main) 04:37:35 > git config core.sparsecheckout # timeout=10 04:37:35 > git checkout -f 3e881fe54d34e3489b353c0554336186a92f7554 # timeout=10 04:37:35 Commit message: "Merge pull request #403 from hahattan/bump-sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:37:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:37:36 % Total % Received % Xferd Average Speed Time Time Time Current 04:37:36 Dload Upload Total Spent Left Speed 04:37:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93757 0 --:--:-- --:--:-- --:--:-- 93757 [Pipeline] sh 04:37:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:37:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:37:37 + sudo tee /etc/docker/daemon.new 04:37:37 { 04:37:37 "registry-mirrors": [ 04:37:37 "https://nexus3.edgexfoundry.org:10001" 04:37:37 ], 04:37:37 "bip": "10.250.0.254/24", 04:37:37 "hosts": [ 04:37:37 "tcp://0.0.0.0:5555", 04:37:37 "unix:///var/run/docker.sock" 04:37:37 ], 04:37:37 "mtu": 1458, 04:37:37 "selinux-enabled": true, 04:37:37 "seccomp-profile": "/etc/docker/seccomp.json" 04:37:37 } [Pipeline] sh 04:37:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:37:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:37:56 provisioning config files... 04:37:56 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/73@tmp/config6127625712414954477tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:37:57 ---> docker-login.sh 04:37:57 nexus3.edgexfoundry.org:10001 04:37:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:57 Configure a credential helper to remove this warning. See 04:37:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:57 04:37:57 Login Succeeded 04:37:57 nexus3.edgexfoundry.org:10002 04:37:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:58 Configure a credential helper to remove this warning. See 04:37:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:58 04:37:58 Login Succeeded 04:37:58 nexus3.edgexfoundry.org:10003 04:37:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:58 Configure a credential helper to remove this warning. See 04:37:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:58 04:37:58 Login Succeeded 04:37:58 nexus3.edgexfoundry.org:10004 04:37:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:59 Configure a credential helper to remove this warning. See 04:37:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:59 04:37:59 Login Succeeded 04:37:59 docker.io 04:37:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:59 Configure a credential helper to remove this warning. See 04:37:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:59 04:37:59 Login Succeeded 04:37:59 ---> docker-login.sh ends [Pipeline] } 04:37:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:37:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:37:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:37:59 ========================================================= 04:37:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:37:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:00 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 04:38:03 Sending build context to Docker daemon 3.292MB 04:38:03 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 04:38:03 Step 2/10 : FROM ${BASE} AS builder 04:38:03 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:38:03 9b18e9b68314: Pulling fs layer 04:38:03 35d82f9e3411: Pulling fs layer 04:38:03 e16973657156: Pulling fs layer 04:38:03 fc693d55d65f: Pulling fs layer 04:38:03 7e9fc2657dce: Pulling fs layer 04:38:03 dda99020689f: Pulling fs layer 04:38:03 db1c61fa0a46: Pulling fs layer 04:38:03 891c053d2c06: Pulling fs layer 04:38:03 fc693d55d65f: Waiting 04:38:03 7e9fc2657dce: Waiting 04:38:03 dda99020689f: Waiting 04:38:03 db1c61fa0a46: Waiting 04:38:03 891c053d2c06: Waiting 04:38:03 e16973657156: Verifying Checksum 04:38:03 e16973657156: Download complete 04:38:03 35d82f9e3411: Download complete 04:38:03 7e9fc2657dce: Verifying Checksum 04:38:03 7e9fc2657dce: Download complete 04:38:03 dda99020689f: Verifying Checksum 04:38:03 dda99020689f: Download complete 04:38:03 9b18e9b68314: Download complete 04:38:04 9b18e9b68314: Pull complete 04:38:04 891c053d2c06: Verifying Checksum 04:38:04 891c053d2c06: Download complete 04:38:04 35d82f9e3411: Pull complete 04:38:05 e16973657156: Pull complete 04:38:05 db1c61fa0a46: Verifying Checksum 04:38:05 db1c61fa0a46: Download complete 04:38:06 fc693d55d65f: Verifying Checksum 04:38:06 fc693d55d65f: Download complete 04:38:19 fc693d55d65f: Pull complete 04:38:19 7e9fc2657dce: Pull complete 04:38:19 dda99020689f: Pull complete 04:38:25 db1c61fa0a46: Pull complete 04:38:27 891c053d2c06: Pull complete 04:38:27 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 04:38:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:38:27 ---> f96f9c87975a 04:38:27 Step 3/10 : ARG ADD_BUILD_TAGS="" 04:38:29 ---> Running in 255505d3a067 04:38:29 Removing intermediate container 255505d3a067 04:38:29 ---> 6e120fbb029b 04:38:29 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:38:29 ---> Running in cf792b0a4df0 04:38:30 Removing intermediate container cf792b0a4df0 04:38:30 ---> 7e769fca7106 04:38:30 Step 5/10 : RUN apk add --update --no-cache make git openssh 04:38:30 ---> Running in faa0e4e95139 04:38:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:38:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:38:33 (1/8) Installing openssh-keygen (9.0_p1-r2) 04:38:33 (2/8) Installing libedit (20210910.3.1-r0) 04:38:33 (3/8) Installing openssh-client-common (9.0_p1-r2) 04:38:33 (4/8) Installing openssh-client-default (9.0_p1-r2) 04:38:33 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 04:38:33 (6/8) Installing openssh-server-common (9.0_p1-r2) 04:38:33 (7/8) Installing openssh-server (9.0_p1-r2) 04:38:33 (8/8) Installing openssh (9.0_p1-r2) 04:38:33 Executing busybox-1.35.0-r17.trigger 04:38:33 OK: 228 MiB in 59 packages 04:38:35 Removing intermediate container faa0e4e95139 04:38:35 ---> d2a845f8adc4 04:38:35 Step 6/10 : WORKDIR /device-modbus-go 04:38:35 ---> Running in ad331be633b5 04:38:35 Removing intermediate container ad331be633b5 04:38:35 ---> ae7903c10d10 04:38:35 Step 7/10 : COPY go.mod vendor* ./ 04:38:35 ---> 9bf064564e7b 04:38:35 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:38:35 ---> Running in cda3b371b634 04:39:43 Removing intermediate container cda3b371b634 04:39:43 ---> 1a6ef63cdd07 04:39:43 Step 9/10 : COPY . . 04:39:43 ---> 4a18bce2dfc6 04:39:43 Step 10/10 : RUN ${MAKE} 04:39:43 ---> Running in 3eba85f57212 04:39:43 noop 04:39:43 Removing intermediate container 3eba85f57212 04:39:43 ---> 2cf0653015ca 04:39:43 Successfully built 2cf0653015ca 04:39:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:44 + docker inspect -f . ci-base-image-arm64 04:39:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:39:44 prd-ubuntu20.04-docker-arm64-4c-16g-4628 does not seem to be running inside a container 04:39:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/73 -v /w/workspace/device-modbus-go/73:/w/workspace/device-modbus-go/73:rw,z -v /w/workspace/device-modbus-go/73@tmp:/w/workspace/device-modbus-go/73@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 04:39:45 $ docker top 4b2ab235f2bd1dd490f44ac8bb864cf041b3f4248e95f9f5a53029654bac4e7b -eo pid,comm [Pipeline] { [Pipeline] sh 04:39:46 + go version 04:39:46 go version go1.18.7 linux/arm64 [Pipeline] } 04:39:46 $ docker stop --time=1 4b2ab235f2bd1dd490f44ac8bb864cf041b3f4248e95f9f5a53029654bac4e7b 04:39:48 $ docker rm -f --volumes 4b2ab235f2bd1dd490f44ac8bb864cf041b3f4248e95f9f5a53029654bac4e7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:48 + docker inspect -f . ci-base-image-arm64 04:39:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:39:48 prd-ubuntu20.04-docker-arm64-4c-16g-4628 does not seem to be running inside a container 04:39:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/73 -v /w/workspace/device-modbus-go/73:/w/workspace/device-modbus-go/73:rw,z -v /w/workspace/device-modbus-go/73@tmp:/w/workspace/device-modbus-go/73@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 04:39:50 $ docker top c411844b3b3715abb688575bdaf3366c4d42ea8fcdfa3c8cfed053254b1a2068 -eo pid,comm [Pipeline] { [Pipeline] sh 04:39:50 + git config --global --add safe.directory /w/workspace/device-modbus-go/73 [Pipeline] fileExists [Pipeline] sh 04:39:51 + make test 04:39:51 go test ./... -coverprofile=coverage.out 04:39:53 ? github.com/edgexfoundry/device-modbus-go [no test files] 04:41:15 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 04:41:15 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.068s coverage: 47.7% of statements 04:41:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:41:15 go vet ./... 04:41:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:41:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:41:37 ./bin/test-attribution-txt.sh 04:41:37 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 04:41:37 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 04:41:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:41:37 $ docker stop --time=1 c411844b3b3715abb688575bdaf3366c4d42ea8fcdfa3c8cfed053254b1a2068 04:41:39 $ docker rm -f --volumes c411844b3b3715abb688575bdaf3366c4d42ea8fcdfa3c8cfed053254b1a2068 [Pipeline] // withDockerContainer [Pipeline] sh 04:41:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:41:40 Warning: overwriting stash ‘coverage-report’ 04:41:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:41:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:41:42 + ls -al . 04:41:42 total 180 04:41:42 drwxrwxr-x 9 jenkins jenkins 4096 Feb 6 04:39 . 04:41:42 drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 04:37 .. 04:41:42 -rw-rw-r-- 1 jenkins jenkins 140 Feb 6 04:37 .dockerignore 04:41:42 drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 04:37 .git 04:41:42 drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 04:37 .github 04:41:42 -rw-rw-r-- 1 jenkins jenkins 331 Feb 6 04:37 .gitignore 04:41:42 -rw-rw-r-- 1 jenkins jenkins 41 Feb 6 04:37 .golangci.yml 04:41:42 -rw-rw-r-- 1 jenkins jenkins 10017 Feb 6 04:37 Attribution.txt 04:41:42 -rw-rw-r-- 1 jenkins jenkins 11576 Feb 6 04:37 CHANGELOG.md 04:41:42 -rw-rw-r-- 1 jenkins jenkins 1365 Feb 6 04:37 Dockerfile 04:41:42 -rw-rw-r-- 1 jenkins jenkins 677 Feb 6 04:37 GOVERNANCE.md 04:41:42 -rw-rw-r-- 1 jenkins jenkins 680 Feb 6 04:37 Jenkinsfile 04:41:42 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 6 04:37 LICENSE 04:41:42 -rw-rw-r-- 1 jenkins jenkins 1670 Feb 6 04:37 Makefile 04:41:42 -rw-rw-r-- 1 jenkins jenkins 622 Feb 6 04:37 OWNERS.md 04:41:42 -rw-rw-r-- 1 jenkins jenkins 4061 Feb 6 04:37 README.md 04:41:42 -rw-rw-r-- 1 jenkins jenkins 11 Feb 6 04:34 VERSION 04:41:42 drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 04:37 bin 04:41:42 drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 04:37 cmd 04:41:42 -rw-r--r-- 1 jenkins jenkins 23241 Feb 6 04:41 coverage.out 04:41:42 -rw-rw-r-- 1 jenkins jenkins 3495 Feb 6 04:37 go.mod 04:41:42 -rw-rw-r-- 1 jenkins jenkins 33619 Feb 6 04:37 go.sum 04:41:42 drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 04:37 internal 04:41:42 drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 04:37 simulator 04:41:42 drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 04:37 snap 04:41:42 -rw-rw-r-- 1 jenkins jenkins 229 Feb 6 04:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:42 + 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=3e881fe54d34e3489b353c0554336186a92f7554 --label arch=arm64 --label version=3.0.0-dev.7 . 04:41:42 Sending build context to Docker daemon 3.316MB 04:41:42 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 04:41:42 Step 2/22 : FROM ${BASE} AS builder 04:41:42 ---> 2cf0653015ca 04:41:42 Step 3/22 : ARG ADD_BUILD_TAGS="" 04:41:42 ---> Running in e4ea129e31e4 04:41:43 Removing intermediate container e4ea129e31e4 04:41:43 ---> c0d4c6e4a43a 04:41:43 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:41:43 ---> Running in 985d5ea58dc9 04:41:43 Removing intermediate container 985d5ea58dc9 04:41:43 ---> 1f28d45cea78 04:41:43 Step 5/22 : RUN apk add --update --no-cache make git openssh 04:41:43 ---> Running in 5e8bbdbc8927 04:41:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:41:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:41:46 OK: 228 MiB in 59 packages 04:41:47 Removing intermediate container 5e8bbdbc8927 04:41:47 ---> 9d106cd3e4ce 04:41:47 Step 6/22 : WORKDIR /device-modbus-go 04:41:47 ---> Running in eead661dcd62 04:41:48 Removing intermediate container eead661dcd62 04:41:48 ---> 794ff82133b4 04:41:48 Step 7/22 : COPY go.mod vendor* ./ 04:41:48 ---> 7c1ddb1d70e2 04:41:48 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:41:48 ---> Running in da1ddc13187d 04:41:51 Removing intermediate container da1ddc13187d 04:41:51 ---> 85c6ac49b0a1 04:41:51 Step 9/22 : COPY . . 04:41:53 ---> 5fbe564c04f9 04:41:53 Step 10/22 : RUN ${MAKE} 04:41:53 ---> Running in a3b649a23635 04:41:54 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.7" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 04:44:31 Removing intermediate container a3b649a23635 04:44:31 ---> e8f456acb6c6 04:44:31 Step 11/22 : FROM alpine:3.14 04:44:31 3.14: Pulling from library/alpine 04:44:31 90cda3b7c325: Pulling fs layer 04:44:31 90cda3b7c325: Verifying Checksum 04:44:31 90cda3b7c325: Download complete 04:44:31 90cda3b7c325: Pull complete 04:44:31 Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a 04:44:31 Status: Downloaded newer image for alpine:3.14 04:44:31 ---> 275902a1839d 04:44:31 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 04:44:31 ---> Running in fef73716777d 04:44:31 Removing intermediate container fef73716777d 04:44:31 ---> 5bf7806052df 04:44:31 Step 13/22 : RUN apk add --update --no-cache dumb-init 04:44:31 ---> Running in f6e521aa2b81 04:44:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:44:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:44:31 (1/1) Installing dumb-init (1.2.5-r1) 04:44:31 Executing busybox-1.33.1-r8.trigger 04:44:31 OK: 6 MiB in 15 packages 04:44:31 Removing intermediate container f6e521aa2b81 04:44:31 ---> 968c14669562 04:44:31 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 04:44:31 ---> d66d22134663 04:44:31 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 04:44:31 ---> 897e9c06d050 04:44:31 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 04:44:31 ---> 0af84f4435e9 04:44:31 Step 17/22 : EXPOSE 59901 04:44:31 ---> Running in 9d2269bd14c1 04:44:31 Removing intermediate container 9d2269bd14c1 04:44:31 ---> 7bf79f2d93db 04:44:31 Step 18/22 : ENTRYPOINT ["/device-modbus"] 04:44:31 ---> Running in 5f32389638f2 04:44:31 Removing intermediate container 5f32389638f2 04:44:31 ---> 0aa775a6f172 04:44:31 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 04:44:31 ---> Running in b1b68b5a6a35 04:44:31 Removing intermediate container b1b68b5a6a35 04:44:31 ---> 9cfd5ee4a23f 04:44:31 Step 20/22 : LABEL arch=arm64 04:44:31 ---> Running in 4116f418a768 04:44:31 Removing intermediate container 4116f418a768 04:44:31 ---> e1de63ea2e57 04:44:31 Step 21/22 : LABEL git_sha=3e881fe54d34e3489b353c0554336186a92f7554 04:44:31 ---> Running in 16dd21d3687d 04:44:31 Removing intermediate container 16dd21d3687d 04:44:31 ---> 1e868fce8f40 04:44:31 Step 22/22 : LABEL version=3.0.0-dev.7 04:44:31 ---> Running in 3f54a0ada543 04:44:31 Removing intermediate container 3f54a0ada543 04:44:31 ---> a061677a2087 04:44:31 [Warning] One or more build-args [ARCH] were not consumed 04:44:31 Successfully built a061677a2087 04:44:31 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:44:32 provisioning config files... 04:44:32 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/73@tmp/config11981761837451029759tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:44:32 ---> docker-login.sh 04:44:32 nexus3.edgexfoundry.org:10001 04:44:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:32 Configure a credential helper to remove this warning. See 04:44:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:32 04:44:32 Login Succeeded 04:44:32 nexus3.edgexfoundry.org:10002 04:44:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:33 Configure a credential helper to remove this warning. See 04:44:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:33 04:44:33 Login Succeeded 04:44:33 nexus3.edgexfoundry.org:10003 04:44:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:33 Configure a credential helper to remove this warning. See 04:44:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:33 04:44:33 Login Succeeded 04:44:33 nexus3.edgexfoundry.org:10004 04:44:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:33 Configure a credential helper to remove this warning. See 04:44:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:33 04:44:33 Login Succeeded 04:44:33 docker.io 04:44:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:34 Configure a credential helper to remove this warning. See 04:44:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:34 04:44:34 Login Succeeded 04:44:34 ---> docker-login.sh ends [Pipeline] } 04:44:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:44:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:44:34 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 04:44:34 3e881fe54d34e3489b353c0554336186a92f7554 04:44:34 latest 04:44:34 3.0.0-dev.7 04:44:34 3e881fe54d34e3489b353c0554336186a92f7554-3.0.0-dev.7 04:44:34 main 04:44:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:34 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3e881fe54d34e3489b353c0554336186a92f7554 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:35 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3e881fe54d34e3489b353c0554336186a92f7554 04:44:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 04:44:35 cf7163158044: Preparing 04:44:35 a3262cb8c212: Preparing 04:44:35 df38d6bb28c1: Preparing 04:44:35 7584376f1f50: Preparing 04:44:35 28c3ef001483: Preparing 04:44:35 28c3ef001483: Layer already exists 04:44:35 a3262cb8c212: Pushed 04:44:35 cf7163158044: Pushed 04:44:35 7584376f1f50: Pushed 04:44:40 df38d6bb28c1: Pushed 04:44:40 3e881fe54d34e3489b353c0554336186a92f7554: digest: sha256:965c53a724aa4e94235471e7efee327d3e394f2789dd8e0c0e55a4d7dd24907d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:41 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:41 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 04:44:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 04:44:41 cf7163158044: Preparing 04:44:41 a3262cb8c212: Preparing 04:44:41 df38d6bb28c1: Preparing 04:44:41 7584376f1f50: Preparing 04:44:41 28c3ef001483: Preparing 04:44:41 df38d6bb28c1: Layer already exists 04:44:41 a3262cb8c212: Layer already exists 04:44:41 28c3ef001483: Layer already exists 04:44:41 7584376f1f50: Layer already exists 04:44:41 cf7163158044: Layer already exists 04:44:41 latest: digest: sha256:965c53a724aa4e94235471e7efee327d3e394f2789dd8e0c0e55a4d7dd24907d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:42 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:42 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.7 04:44:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 04:44:42 cf7163158044: Preparing 04:44:42 a3262cb8c212: Preparing 04:44:42 df38d6bb28c1: Preparing 04:44:42 7584376f1f50: Preparing 04:44:42 28c3ef001483: Preparing 04:44:42 7584376f1f50: Layer already exists 04:44:42 df38d6bb28c1: Layer already exists 04:44:42 a3262cb8c212: Layer already exists 04:44:42 cf7163158044: Layer already exists 04:44:42 28c3ef001483: Layer already exists 04:44:42 3.0.0-dev.7: digest: sha256:965c53a724aa4e94235471e7efee327d3e394f2789dd8e0c0e55a4d7dd24907d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:42 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3e881fe54d34e3489b353c0554336186a92f7554-3.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:43 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3e881fe54d34e3489b353c0554336186a92f7554-3.0.0-dev.7 04:44:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 04:44:43 cf7163158044: Preparing 04:44:43 a3262cb8c212: Preparing 04:44:43 df38d6bb28c1: Preparing 04:44:43 7584376f1f50: Preparing 04:44:43 28c3ef001483: Preparing 04:44:43 a3262cb8c212: Layer already exists 04:44:43 cf7163158044: Layer already exists 04:44:43 7584376f1f50: Layer already exists 04:44:43 df38d6bb28c1: Layer already exists 04:44:43 28c3ef001483: Layer already exists 04:44:43 3e881fe54d34e3489b353c0554336186a92f7554-3.0.0-dev.7: digest: sha256:965c53a724aa4e94235471e7efee327d3e394f2789dd8e0c0e55a4d7dd24907d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:43 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:43 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 04:44:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 04:44:43 cf7163158044: Preparing 04:44:43 a3262cb8c212: Preparing 04:44:43 df38d6bb28c1: Preparing 04:44:43 7584376f1f50: Preparing 04:44:43 28c3ef001483: Preparing 04:44:43 df38d6bb28c1: Layer already exists 04:44:43 28c3ef001483: Layer already exists 04:44:43 7584376f1f50: Layer already exists 04:44:43 a3262cb8c212: Layer already exists 04:44:43 cf7163158044: Layer already exists 04:44:43 main: digest: sha256:965c53a724aa4e94235471e7efee327d3e394f2789dd8e0c0e55a4d7dd24907d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:44:44 ===================================================== [Pipeline] echo 04:44:44 taggedImages: 04:44:44 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3e881fe54d34e3489b353c0554336186a92f7554 04:44:44 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 04:44:44 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.7 04:44:44 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3e881fe54d34e3489b353c0554336186a92f7554-3.0.0-dev.7 04:44:44 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:44:44 04:44:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:44:44 arm64: Pulling from edgex-lftools-log-publisher 04:44:44 8998bd30e6a1: Pulling fs layer 04:44:44 04944245beec: Pulling fs layer 04:44:44 699f458cf7ca: Pulling fs layer 04:44:44 765212b225bb: Pulling fs layer 04:44:44 f23df028b6ca: Pulling fs layer 04:44:44 d65c8cfc05b1: Pulling fs layer 04:44:44 2437ff75d9bd: Pulling fs layer 04:44:44 765212b225bb: Waiting 04:44:44 f23df028b6ca: Waiting 04:44:44 d65c8cfc05b1: Waiting 04:44:44 2437ff75d9bd: Waiting 04:44:45 04944245beec: Verifying Checksum 04:44:45 04944245beec: Download complete 04:44:45 765212b225bb: Verifying Checksum 04:44:45 765212b225bb: Download complete 04:44:45 f23df028b6ca: Verifying Checksum 04:44:45 f23df028b6ca: Download complete 04:44:45 d65c8cfc05b1: Download complete 04:44:45 699f458cf7ca: Verifying Checksum 04:44:45 699f458cf7ca: Download complete 04:44:46 8998bd30e6a1: Verifying Checksum 04:44:46 8998bd30e6a1: Download complete 04:44:47 2437ff75d9bd: Verifying Checksum 04:44:47 2437ff75d9bd: Download complete 04:44:49 8998bd30e6a1: Pull complete 04:44:50 04944245beec: Pull complete 04:44:51 699f458cf7ca: Pull complete 04:44:51 765212b225bb: Pull complete 04:44:53 f23df028b6ca: Pull complete 04:44:53 d65c8cfc05b1: Pull complete 04:45:05 2437ff75d9bd: Pull complete 04:45:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:45:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:45:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:45:06 prd-ubuntu20.04-docker-arm64-4c-16g-4628 does not seem to be running inside a container 04:45:06 $ 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/73 -v /w/workspace/device-modbus-go/73:/w/workspace/device-modbus-go/73:rw,z -v /w/workspace/device-modbus-go/73@tmp:/w/workspace/device-modbus-go/73@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 04:45:08 $ docker top 917128dfcad1bc9999b351d5047ee40187e2ec830db94fd1b6daea244092cf1e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:45:09 ---> job-cost.sh 04:45:09 lf-activate-venv: SKIPPING 04:45:09 INFO: No Stack... 04:45:09 INFO: Retrieving Pricing Info for: v3-standard-4 04:45:10 INFO: Archiving Costs [Pipeline] sh 04:45:11 + cat /w/workspace/device-modbus-go/73/archives/cost.csv 04:45:11 + cut -d, -f6 [Pipeline] lock 04:45:11 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-73-stack-cost] 04:45:11 Resource [jenkins-edgexfoundry-device-modbus-go-main-73-stack-cost] did not exist. Created. 04:45:11 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-73-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:45:11 /w/workspace/device-modbus-go/73@tmp/durable-d578c73d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:45:11 + echo total: 0.10999999940395355 [Pipeline] stash 04:45:11 Warning: overwriting stash ‘stack-cost’ 04:45:11 Stashed 1 file(s) [Pipeline] } 04:45:11 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-73-stack-cost] [Pipeline] // lock [Pipeline] } 04:45:11 $ docker stop --time=1 917128dfcad1bc9999b351d5047ee40187e2ec830db94fd1b6daea244092cf1e 04:45:13 $ docker rm -f --volumes 917128dfcad1bc9999b351d5047ee40187e2ec830db94fd1b6daea244092cf1e [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 04:45:13 provisioning config files... 04:45:13 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18117967444301657187tmp [Pipeline] { [Pipeline] sh 04:45:14 + set +x 04:45:14 + bash -s -- 04:45:14 + curl -s https://codecov.io/bash 04:45:14 04:45:14 _____ _ 04:45:14 / ____| | | 04:45:14 | | ___ __| | ___ ___ _____ __ 04:45:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:45:14 | |___| (_) | (_| | __/ (_| (_) \ V / 04:45:14 \_____\___/ \__,_|\___|\___\___/ \_/ 04:45:14 Bash-1.0.6 04:45:14 04:45:14 04:45:14 ==> git version 2.25.1 found 04:45:14 ==> 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 04:45:14 Release-Date: 2020-01-08 04:45:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:45:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:45:14 ==> Jenkins CI detected. 04:45:14 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 04:45:14 project root: . 04:45:14 --> token set from env 04:45:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:45:14 ==> Running gcov in . (disable via -X gcov) 04:45:14 ==> Python coveragepy not found 04:45:14 ==> Searching for coverage reports in: 04:45:14 + . 04:45:14 -> Found 1 reports 04:45:14 ==> Detecting git/mercurial file structure 04:45:14 ==> Reading reports 04:45:14 + ./coverage.out bytes=23241 04:45:14 ==> Appending adjustments 04:45:14 https://docs.codecov.io/docs/fixing-reports 04:45:14 + Found adjustments 04:45:14 ==> Gzipping contents 04:45:14 4.0K /tmp/codecov.phR05k.gz 04:45:14 ==> Uploading reports 04:45:14 url: https://codecov.io 04:45:14 query: branch=main&commit=3e881fe54d34e3489b353c0554336186a92f7554&build=73&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F73%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:45:14 -> Pinging Codecov 04:45:14 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=3e881fe54d34e3489b353c0554336186a92f7554&build=73&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F73%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:45:14 -> Uploading to 04:45:14 https://storage.googleapis.com/codecov/v4/raw/2023-02-06/55DBCA73C666E3227836607328DD7E49/3e881fe54d34e3489b353c0554336186a92f7554/811c8400-5761-4d17-a6da-d628fafc7706.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230206%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230206T044514Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9e4403aab18a62e7fadcff18fa10b9dea3f1adf44050c09e387429e4c5f66ec4 04:45:14 % Total % Received % Xferd Average Speed Time Time Time Current 04:45:14 Dload Upload Total Spent Left Speed 04:45:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3883 0 0 100 3883 0 13818 --:--:-- --:--:-- --:--:-- 13818 04:45:14 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/3e881fe54d34e3489b353c0554336186a92f7554 [Pipeline] } 04:45:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:45:15 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:45:15 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:45:15 04:45:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:45:15 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:45:15 df9b9388f04a: Pulling fs layer 04:45:15 52dc419b0ee2: Pulling fs layer 04:45:15 25bc292e5bac: Pulling fs layer 04:45:15 114826534d7a: Pulling fs layer 04:45:15 4657fd5d0bcf: Pulling fs layer 04:45:15 6ad1cebc031e: Pulling fs layer 04:45:15 8a3aa393b2d8: Pulling fs layer 04:45:15 114826534d7a: Waiting 04:45:15 4657fd5d0bcf: Waiting 04:45:15 6ad1cebc031e: Waiting 04:45:15 8a3aa393b2d8: Waiting 04:45:15 25bc292e5bac: Download complete 04:45:15 52dc419b0ee2: Verifying Checksum 04:45:15 52dc419b0ee2: Download complete 04:45:15 4657fd5d0bcf: Verifying Checksum 04:45:15 4657fd5d0bcf: Download complete 04:45:15 df9b9388f04a: Verifying Checksum 04:45:15 df9b9388f04a: Download complete 04:45:15 df9b9388f04a: Pull complete 04:45:16 52dc419b0ee2: Pull complete 04:45:16 25bc292e5bac: Pull complete 04:45:16 6ad1cebc031e: Verifying Checksum 04:45:16 6ad1cebc031e: Download complete 04:45:17 114826534d7a: Verifying Checksum 04:45:17 114826534d7a: Download complete 04:45:17 8a3aa393b2d8: Verifying Checksum 04:45:17 8a3aa393b2d8: Download complete 04:45:20 114826534d7a: Pull complete 04:45:20 4657fd5d0bcf: Pull complete 04:45:20 6ad1cebc031e: Pull complete 04:45:23 8a3aa393b2d8: Pull complete 04:45:23 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 04:45:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:45:23 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:45:23 prd-ubuntu20.04-docker-8c-8g-4626 does not seem to be running inside a container 04:45:23 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 04:45:25 $ docker top 2b22e24658672adfd057267cc8e4d8150ef4c5dbfe70d63570690f374f3c015e -eo pid,comm [Pipeline] { [Pipeline] echo 04:45:25 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 04:45:25 + set -o pipefail 04:45:25 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 04:45:29 04:45:29 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 04:45:29 04:45:29 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/d2286d49-5e00-48ad-8cd4-4ebd67268efd 04:45:29 04:45:29 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 04:45:29 04:45:29 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:45:29 04:45:29 04:45:29 A medium severity vulnerability was found in the Snyk CLI versions you are using. 04:45:29 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 04:45:29 More details here: https://snyk.co/ue1NS [Pipeline] } 04:45:30 $ docker stop --time=1 2b22e24658672adfd057267cc8e4d8150ef4c5dbfe70d63570690f374f3c015e 04:45:32 $ docker rm -f --volumes 2b22e24658672adfd057267cc8e4d8150ef4c5dbfe70d63570690f374f3c015e [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 04:45:32 + git log --format=format:%s -1 3e881fe54d34e3489b353c0554336186a92f7554 [Pipeline] sh 04:45:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:45:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:45:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:45:33 prd-ubuntu20.04-docker-8c-8g-4626 does not seem to be running inside a container 04:45:33 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:45:34 $ docker top 8577a11dcffd68467aa8f0a93f3d6f2d0879baf77a06279c4f90ea3ece7d3e60 -eo pid,comm 04:45:34 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). 04:45:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:45:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:45:34 [ssh-agent] Looking for ssh-agent implementation... 04:45:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:45:34 $ docker exec 8577a11dcffd68467aa8f0a93f3d6f2d0879baf77a06279c4f90ea3ece7d3e60 ssh-agent 04:45:34 SSH_AUTH_SOCK=/tmp/ssh-QDIg71vKrTOb/agent.32 04:45:34 SSH_AGENT_PID=38 04:45:34 Running ssh-add (command line suppressed) 04:45:34 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_123154199850059609.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_123154199850059609.key) 04:45:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:45:34 + git semver tag 04:45:34 2023-02-06 04:45:34,920 [run_tag] DEBUG tag force:False 04:45:34 2023-02-06 04:45:34,920 [check_head_tag] DEBUG check head tag 04:45:34 2023-02-06 04:45:34,921 [execute] INFO git cat-file --batch-check 04:45:34 2023-02-06 04:45:34,921 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 04:45:34 2023-02-06 04:45:34,925 [execute] INFO git cat-file --batch 04:45:34 2023-02-06 04:45:34,925 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 04:45:34 2023-02-06 04:45:34,941 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 04:45:34 2023-02-06 04:45:34,941 [execute] INFO git tag -a v3.0.0-dev.7 -m v3.0.0-dev.7 04:45:34 2023-02-06 04:45:34,941 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.7', '-m', 'v3.0.0-dev.7'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 04:45:34 2023-02-06 04:45:34,946 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 04:45:34 3.0.0-dev.7 [Pipeline] } 04:45:35 $ docker exec --env ******** --env ******** 8577a11dcffd68467aa8f0a93f3d6f2d0879baf77a06279c4f90ea3ece7d3e60 ssh-agent -k 04:45:35 unset SSH_AUTH_SOCK; 04:45:35 unset SSH_AGENT_PID; 04:45:35 echo Agent pid 38 killed; 04:45:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:45:35 + git semver [Pipeline] } 04:45:35 $ docker stop --time=1 8577a11dcffd68467aa8f0a93f3d6f2d0879baf77a06279c4f90ea3ece7d3e60 04:45:36 $ docker rm -f --volumes 8577a11dcffd68467aa8f0a93f3d6f2d0879baf77a06279c4f90ea3ece7d3e60 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:45:37 04:45:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:45:37 0.23.1-centos7: Pulling from edgex-lftools 04:45:37 ab5ef0e58194: Pulling fs layer 04:45:37 9712f1f96733: Pulling fs layer 04:45:37 63f879dbbcfc: Pulling fs layer 04:45:37 0d9ebad4ef96: Pulling fs layer 04:45:37 e9a5061849ea: Pulling fs layer 04:45:37 d747dcd14b5f: Pulling fs layer 04:45:37 2de7ff778b66: Pulling fs layer 04:45:37 e9a5061849ea: Waiting 04:45:37 0d9ebad4ef96: Waiting 04:45:37 d747dcd14b5f: Waiting 04:45:37 9712f1f96733: Download complete 04:45:38 63f879dbbcfc: Verifying Checksum 04:45:38 63f879dbbcfc: Download complete 04:45:38 ab5ef0e58194: Verifying Checksum 04:45:38 ab5ef0e58194: Download complete 04:45:38 d747dcd14b5f: Download complete 04:45:38 0d9ebad4ef96: Verifying Checksum 04:45:38 0d9ebad4ef96: Download complete 04:45:38 e9a5061849ea: Verifying Checksum 04:45:38 e9a5061849ea: Download complete 04:45:38 2de7ff778b66: Verifying Checksum 04:45:38 2de7ff778b66: Download complete 04:45:41 ab5ef0e58194: Pull complete 04:45:41 9712f1f96733: Pull complete 04:45:41 63f879dbbcfc: Pull complete 04:45:45 0d9ebad4ef96: Pull complete 04:45:45 e9a5061849ea: Pull complete 04:45:45 d747dcd14b5f: Pull complete 04:45:46 2de7ff778b66: Pull complete 04:45:46 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:45:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:45:46 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:45:46 prd-ubuntu20.04-docker-8c-8g-4626 does not seem to be running inside a container 04:45:46 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:45:48 $ docker top b000eebd11a2a5d8443cd89c2de2bfc9e6c0ad7990888bd25e18fbf8a04e2f59 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:45:48 provisioning config files... 04:45:48 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6364043253306514313tmp 04:45:48 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11653272110238162002tmp 04:45:48 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5230318105009443135tmp [Pipeline] { [Pipeline] echo 04:45:48 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:45:48 ---> sigul-configuration.sh 04:45:48 gpg: directory `/root/.gnupg' created 04:45:48 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:45:48 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:45:48 gpg: keyring `/root/.gnupg/secring.gpg' created 04:45:48 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:45:48 gpg: CAST5 encrypted data 04:45:48 gpg: encrypted with 1 passphrase 04:45:48 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:45:49 + mkdir /home/jenkins 04:45:49 + mkdir /home/jenkins/sigul [Pipeline] sh 04:45:49 + 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 04:45:49 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:45:49 ---> sigul-install.sh 04:45:49 Sigul already installed; skipping installation. [Pipeline] sh 04:45:50 + git tag --list 04:45:50 0.7.1 04:45:50 v1.0.0 04:45:50 v1.1.0 04:45:50 v1.1.1 04:45:50 v1.2.2 04:45:50 v1.3.0 04:45:50 v1.3.1 04:45:50 v2.0.0 04:45:50 v2.1.0 04:45:50 v2.1.1 04:45:50 v2.1.1-dev.1 04:45:50 v2.1.1-dev.2 04:45:50 v2.1.1-dev.3 04:45:50 v2.2.0 04:45:50 v2.2.1-dev.1 04:45:50 v2.2.1-dev.2 04:45:50 v2.2.1-dev.3 04:45:50 v2.2.1-dev.4 04:45:50 v2.2.1-dev.5 04:45:50 v2.2.1-dev.6 04:45:50 v2.2.1-dev.7 04:45:50 v2.3.0 04:45:50 v2.3.0-dev.10 04:45:50 v2.3.0-dev.11 04:45:50 v2.3.0-dev.12 04:45:50 v2.3.0-dev.13 04:45:50 v2.3.0-dev.14 04:45:50 v2.3.0-dev.15 04:45:50 v2.3.0-dev.16 04:45:50 v2.3.0-dev.17 04:45:50 v2.3.0-dev.18 04:45:50 v2.3.0-dev.19 04:45:50 v2.3.0-dev.20 04:45:50 v2.3.0-dev.21 04:45:50 v2.3.0-dev.22 04:45:50 v2.3.0-dev.23 04:45:50 v2.3.0-dev.24 04:45:50 v2.3.0-dev.25 04:45:50 v2.3.0-dev.7 04:45:50 v2.3.0-dev.8 04:45:50 v2.3.0-dev.9 04:45:50 v3.0.0-dev.1 04:45:50 v3.0.0-dev.2 04:45:50 v3.0.0-dev.3 04:45:50 v3.0.0-dev.4 04:45:50 v3.0.0-dev.5 04:45:50 v3.0.0-dev.6 04:45:50 v3.0.0-dev.7 [Pipeline] sh 04:45:50 + lftools sign git-tag v3.0.0-dev.7 04:45:50 Signing Git tag with Sigul... 04:45:50 Signing v3.0.0-dev.7 [Pipeline] echo 04:45:51 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:45:51 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:45:51 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:45:51 $ docker stop --time=1 b000eebd11a2a5d8443cd89c2de2bfc9e6c0ad7990888bd25e18fbf8a04e2f59 04:45:53 $ docker rm -f --volumes b000eebd11a2a5d8443cd89c2de2bfc9e6c0ad7990888bd25e18fbf8a04e2f59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:45:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:45:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:45:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:45:53 prd-ubuntu20.04-docker-8c-8g-4626 does not seem to be running inside a container 04:45:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:45:54 $ docker top 9bae1e5a3920095c2ec42d527e59b29195b3d57ef355b463a40364182022f819 -eo pid,comm 04:45: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). 04:45:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:45:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:45:54 [ssh-agent] Looking for ssh-agent implementation... 04:45:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:45:54 $ docker exec 9bae1e5a3920095c2ec42d527e59b29195b3d57ef355b463a40364182022f819 ssh-agent 04:45:54 SSH_AUTH_SOCK=/tmp/ssh-MRj39FTOpe9q/agent.33 04:45:54 SSH_AGENT_PID=39 04:45:54 Running ssh-add (command line suppressed) 04:45:54 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11904935051743977046.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11904935051743977046.key) 04:45:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:45:55 + git semver bump pre 04:45:55 2023-02-06 04:45:55,300 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 04:45:55 2023-02-06 04:45:55,300 [bump_version] DEBUG bumping version:3.0.0-dev.7 on axis:pre with prefix:dev 04:45:55 2023-02-06 04:45:55,300 [bump_version] DEBUG bumped version:3.0.0-dev.8 04:45:55 2023-02-06 04:45:55,300 [write_version] DEBUG write version:3.0.0-dev.8 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 04:45:55 2023-02-06 04:45:55,300 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 04:45:55 2023-02-06 04:45:55,300 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 04:45:55 2023-02-06 04:45:55,302 [execute] INFO git cat-file --batch-check 04:45:55 2023-02-06 04:45:55,302 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:45:55 2023-02-06 04:45:55,308 [execute] INFO git cat-file --batch 04:45:55 2023-02-06 04:45:55,309 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:45:55 2023-02-06 04:45:55,315 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 04:45:55 3.0.0-dev.8 [Pipeline] } 04:45:55 $ docker exec --env ******** --env ******** 9bae1e5a3920095c2ec42d527e59b29195b3d57ef355b463a40364182022f819 ssh-agent -k 04:45:55 unset SSH_AUTH_SOCK; 04:45:55 unset SSH_AGENT_PID; 04:45:55 echo Agent pid 39 killed; 04:45:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:45:55 + git semver [Pipeline] } 04:45:56 $ docker stop --time=1 9bae1e5a3920095c2ec42d527e59b29195b3d57ef355b463a40364182022f819 04:45:57 $ docker rm -f --volumes 9bae1e5a3920095c2ec42d527e59b29195b3d57ef355b463a40364182022f819 [Pipeline] // withDockerContainer [Pipeline] sh 04:45:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:45:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:45:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:45:58 prd-ubuntu20.04-docker-8c-8g-4626 does not seem to be running inside a container 04:45:58 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:45:58 $ docker top 092c564ac49a55e5cfb9081b9719b55d44a4f10f9a40d57ab0bdf302f308c6fb -eo pid,comm 04:45:58 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). 04:45:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:45:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:45:58 [ssh-agent] Looking for ssh-agent implementation... 04:45:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:45:58 $ docker exec 092c564ac49a55e5cfb9081b9719b55d44a4f10f9a40d57ab0bdf302f308c6fb ssh-agent 04:45:58 SSH_AUTH_SOCK=/tmp/ssh-1rUlZRABk0QF/agent.32 04:45:58 SSH_AGENT_PID=38 04:45:58 Running ssh-add (command line suppressed) 04:45:58 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2853462912765338957.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2853462912765338957.key) 04:45:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:45:59 + git semver push 04:45:59 2023-02-06 04:45:59,436 [run_push] DEBUG push 04:45:59 2023-02-06 04:45:59,437 [execute] INFO git cat-file --batch-check 04:45:59 2023-02-06 04:45:59,437 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:45:59 2023-02-06 04:45:59,441 [execute] INFO git rev-list b289dae33e79dd3e284e4ee327771ca1be21a375 -- 04:45:59 2023-02-06 04:45:59,441 [execute] DEBUG Popen(['git', 'rev-list', 'b289dae33e79dd3e284e4ee327771ca1be21a375', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:45:59 2023-02-06 04:45:59,450 [execute] INFO git fetch -v origin 04:45:59 2023-02-06 04:45:59,450 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 04:46:00 2023-02-06 04:46:00,040 [run_push] DEBUG no remote changes detected 04:46:00 2023-02-06 04:46:00,040 [execute] INFO git push origin semver 04:46:00 2023-02-06 04:46:00,041 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:46:01 2023-02-06 04:46:01,119 [run_push] DEBUG push all version tags 04:46:01 2023-02-06 04:46:01,119 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:46:01 2023-02-06 04:46:01,120 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 04:46:02 2023-02-06 04:46:01,970 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 04:46:02 3.0.0-dev.8 [Pipeline] } 04:46:02 $ docker exec --env ******** --env ******** 092c564ac49a55e5cfb9081b9719b55d44a4f10f9a40d57ab0bdf302f308c6fb ssh-agent -k 04:46:02 unset SSH_AUTH_SOCK; 04:46:02 unset SSH_AGENT_PID; 04:46:02 echo Agent pid 38 killed; 04:46:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:46:02 + git semver [Pipeline] } 04:46:02 $ docker stop --time=1 092c564ac49a55e5cfb9081b9719b55d44a4f10f9a40d57ab0bdf302f308c6fb 04:46:04 $ docker rm -f --volumes 092c564ac49a55e5cfb9081b9719b55d44a4f10f9a40d57ab0bdf302f308c6fb [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 04:46:04 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 04:46:04 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 04:46:04 total 16 04:46:04 drwxr-xr-x 3 root root 4096 Feb 6 04:36 . 04:46:04 drwxrwxr-x 11 jenkins jenkins 4096 Feb 6 04:45 .. 04:46:04 drwxr-xr-x 2 root root 4096 Feb 6 04:36 cost 04:46:04 -rw-r--r-- 1 root root 87 Feb 6 04:36 cost.csv 04:46:04 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 04:46:04 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 04:46:04 total 16 04:46:04 drwxr-xr-x 3 jenkins jenkins 4096 Feb 6 04:36 . 04:46:04 drwxrwxr-x 11 jenkins jenkins 4096 Feb 6 04:45 .. 04:46:04 drwxr-xr-x 2 jenkins jenkins 4096 Feb 6 04:36 cost 04:46:04 -rw-r--r-- 1 jenkins jenkins 87 Feb 6 04:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:46:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:46:05 ---> package-listing.sh 04:46:05 ++ facter osfamily 04:46:05 ++ tr '[:upper:]' '[:lower:]' 04:46:06 + OS_FAMILY=debian 04:46:06 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 04:46:06 + START_PACKAGES=/tmp/packages_start.txt 04:46:06 + END_PACKAGES=/tmp/packages_end.txt 04:46:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:46:06 + PACKAGES=/tmp/packages_start.txt 04:46:06 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 04:46:06 + PACKAGES=/tmp/packages_end.txt 04:46:06 + case "${OS_FAMILY}" in 04:46:06 + dpkg -l 04:46:06 + grep '^ii' 04:46:06 + '[' -f /tmp/packages_start.txt ']' 04:46:06 + '[' -f /tmp/packages_end.txt ']' 04:46:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:46:06 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 04:46:06 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 04:46:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 04:46:06 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 04:46:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:46:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:46:07 prd-ubuntu20.04-docker-8c-8g-4626 does not seem to be running inside a container 04:46:07 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:46:07 $ docker top 2b5acb06faf12da2f5a5265692097ee7fce18e014a4874da1a3a6bd5e94fb6d6 -eo pid,comm [Pipeline] { [Pipeline] sh 04:46:07 + touch /tmp/pre-build-complete [Pipeline] sh 04:46:07 + mkdir -p /var/log/sysstat [Pipeline] sh 04:46:08 + ls /var/log/sa-host 04:46:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:46:08 provisioning config files... 04:46:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4649527253800616283tmp [Pipeline] { [Pipeline] echo 04:46:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:46:08 ---> create-netrc.sh [Pipeline] } 04:46:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:46:08 ---> python-tools-install.sh [Pipeline] echo 04:46:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:46:09 ---> sudo-logs.sh 04:46:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:46:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:46:09 ---> job-cost.sh 04:46:09 lf-activate-venv: SKIPPING 04:46:09 DEBUG: total: 0.2199999988079071 04:46:09 INFO: Retrieving Stack Cost... 04:46:10 INFO: Retrieving Pricing Info for: v3-standard-8 04:46:10 INFO: Archiving Costs [Pipeline] echo 04:46:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:46:10 ---> logs-deploy.sh 04:46:10 lf-activate-venv: SKIPPING 04:46:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/73 04:46:10 INFO: archiving workspace using pattern(s): 04:46:11 Archives upload complete. 04:46:11 INFO: archiving logs to Nexus