Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2cc3518655efefba22ff17e7bf1dcccbd8773e75 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-ssh2188991067902193691.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh7723729652479980079.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh17148179401893201747.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh554477558638157544.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-ssh11966093649578775191.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.20 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 ‘prd-centos7-blackbox-4c-2g-15339’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-15340’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-15709’ is offline Running on prd-ubuntu20.04-docker-8c-8g-15710 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 2cc3518655efefba22ff17e7bf1dcccbd8773e75 (main) Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v3 from 3.0.0-20230315153603-544c6823a1b0 to 3.0.0 in /snap/local/helper-go (#481)" > 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 2cc3518655efefba22ff17e7bf1dcccbd8773e75 # timeout=10 > git rev-list --no-walk 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:48:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:48:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:48:02 ========================================================= 11:48:02 EdgeX Global Pipelines Version Info 11:48:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:48:03 ------------------- 11:48:03 stable info: 11:48:03 ------------------- 11:48:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:48:03 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 11:48:03 Message: update stable to v1.0.249 11:48:03 ------------------- 11:48:03 experimental info: 11:48:03 ------------------- 11:48:03 Commited By: **** collab-it+edgex@linuxfoundation.org 11:48:03 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 11:48:03 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:48:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 11:48:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 11:48:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:48:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:48:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:48:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 11:48:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:48:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:48:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:48:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:48:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:48:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 11:48:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:48:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:48:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:48:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:48:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:48:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:48:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:48:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:48:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:48:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:48:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:48:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:48:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:48:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:48:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:48:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 11:48:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 11:48:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 11:48:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2cc3518655efefba22ff17e7bf1dcccbd8773e75 [Pipeline] echo 11:48:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2cc3518 [Pipeline] echo 11:48:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:48:04 provisioning config files... 11:48:04 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10766120894490450564tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:48:04 ---> docker-login.sh 11:48:04 nexus3.edgexfoundry.org:10001 11:48:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:48:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:48:04 Configure a credential helper to remove this warning. See 11:48:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:48:04 11:48:04 Login Succeeded 11:48:04 nexus3.edgexfoundry.org:10002 11:48:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:48:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:48:05 Configure a credential helper to remove this warning. See 11:48:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:48:05 11:48:05 Login Succeeded 11:48:05 nexus3.edgexfoundry.org:10003 11:48:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:48:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:48:05 Configure a credential helper to remove this warning. See 11:48:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:48:05 11:48:05 Login Succeeded 11:48:05 nexus3.edgexfoundry.org:10004 11:48:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:48:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:48:05 Configure a credential helper to remove this warning. See 11:48:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:48:05 11:48:05 Login Succeeded 11:48:05 docker.io 11:48:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:48:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:48:05 Configure a credential helper to remove this warning. See 11:48:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:48:05 11:48:05 Login Succeeded 11:48:05 ---> docker-login.sh ends [Pipeline] } 11:48:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:48:05 + git rev-list -1 --merges 2cc3518655efefba22ff17e7bf1dcccbd8773e75~1..2cc3518655efefba22ff17e7bf1dcccbd8773e75 [Pipeline] echo 11:48:05 -----------> git rev-list -1 --merges 2cc3518655efefba22ff17e7bf1dcccbd8773e75~1..2cc3518655efefba22ff17e7bf1dcccbd8773e75 2cc3518655efefba22ff17e7bf1dcccbd8773e75 [false] [Pipeline] sh 11:48:06 + git log --format=format:%s -1 2cc3518655efefba22ff17e7bf1dcccbd8773e75 [Pipeline] echo 11:48:06 ========================================================= 11:48:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:48:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:48:06 + git log --format=format:%s -1 2cc3518655efefba22ff17e7bf1dcccbd8773e75 [Pipeline] echo 11:48:06 [semverPrep] GIT_COMMIT: 2cc3518655efefba22ff17e7bf1dcccbd8773e75, Commit Message: build(deps): Bump github.com/canonical/edgex-snap-hooks/v3 from 3.0.0-20230315153603-544c6823a1b0 to 3.0.0 in /snap/local/helper-go (#481) [Pipeline] echo 11:48:06 [semverPrep] This is not a build commit. [Pipeline] sh 11:48:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:48:06 + grep -v github /etc/ssh/ssh_known_hosts 11:48:06 + [ -e /tmp/ssh_known_hosts ] 11:48:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:48:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:48:06 + sudo tee -a /etc/ssh/ssh_known_hosts 11:48:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:48:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:48:07 11:48:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:48:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:48:07 0.1.4: Pulling from edgex-devops/py-git-semver 11:48:07 b85a868b505f: Pulling fs layer 11:48:07 e2be974225ed: Pulling fs layer 11:48:07 339a4e72a1f5: Pulling fs layer 11:48:07 988bab9f4d93: Pulling fs layer 11:48:07 1469e6f7b9e6: Pulling fs layer 11:48:07 eaf3925da568: Pulling fs layer 11:48:07 bab4dde63d76: Pulling fs layer 11:48:07 bde34c3a00c8: Pulling fs layer 11:48:07 b352a97aabf1: Pulling fs layer 11:48:07 4872d77fe225: Pulling fs layer 11:48:07 5851b861e8e6: Pulling fs layer 11:48:07 4872d77fe225: Waiting 11:48:07 5851b861e8e6: Waiting 11:48:07 bde34c3a00c8: Waiting 11:48:07 1469e6f7b9e6: Waiting 11:48:07 eaf3925da568: Waiting 11:48:07 b352a97aabf1: Waiting 11:48:07 bab4dde63d76: Waiting 11:48:07 e2be974225ed: Verifying Checksum 11:48:07 e2be974225ed: Download complete 11:48:07 988bab9f4d93: Verifying Checksum 11:48:07 988bab9f4d93: Download complete 11:48:07 1469e6f7b9e6: Verifying Checksum 11:48:07 1469e6f7b9e6: Download complete 11:48:07 eaf3925da568: Verifying Checksum 11:48:07 eaf3925da568: Download complete 11:48:07 339a4e72a1f5: Download complete 11:48:07 bde34c3a00c8: Verifying Checksum 11:48:07 bde34c3a00c8: Download complete 11:48:07 b352a97aabf1: Download complete 11:48:07 4872d77fe225: Verifying Checksum 11:48:07 4872d77fe225: Download complete 11:48:07 5851b861e8e6: Verifying Checksum 11:48:07 5851b861e8e6: Download complete 11:48:07 b85a868b505f: Verifying Checksum 11:48:07 b85a868b505f: Download complete 11:48:08 bab4dde63d76: Verifying Checksum 11:48:08 bab4dde63d76: Download complete 11:48:09 b85a868b505f: Pull complete 11:48:09 e2be974225ed: Pull complete 11:48:09 339a4e72a1f5: Pull complete 11:48:09 988bab9f4d93: Pull complete 11:48:09 1469e6f7b9e6: Pull complete 11:48:09 eaf3925da568: Pull complete 11:48:11 bab4dde63d76: Pull complete 11:48:11 bde34c3a00c8: Pull complete 11:48:11 b352a97aabf1: Pull complete 11:48:11 4872d77fe225: Pull complete 11:48:12 5851b861e8e6: Pull complete 11:48:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:48:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:48:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:48:12 prd-ubuntu20.04-docker-8c-8g-15710 does not seem to be running inside a container 11:48:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:48:16 $ docker top 52ebf811c48f71f02d8baf944f68b4baa7408b2345df058f80bcf15b7c96efaa -eo pid,comm 11:48:16 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). 11:48:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:48:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:48:16 [ssh-agent] Looking for ssh-agent implementation... 11:48:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:48:16 $ docker exec 52ebf811c48f71f02d8baf944f68b4baa7408b2345df058f80bcf15b7c96efaa ssh-agent 11:48:16 SSH_AUTH_SOCK=/tmp/ssh-pfREl7j5GGjv/agent.32 11:48:16 SSH_AGENT_PID=38 11:48:16 Running ssh-add (command line suppressed) 11:48:17 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1711180828122763519.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1711180828122763519.key) 11:48:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:48:17 + git tag --points-at HEAD [Pipeline] } 11:48:17 $ docker exec --env ******** --env ******** 52ebf811c48f71f02d8baf944f68b4baa7408b2345df058f80bcf15b7c96efaa ssh-agent -k 11:48:17 unset SSH_AUTH_SOCK; 11:48:17 unset SSH_AGENT_PID; 11:48:17 echo Agent pid 38 killed; 11:48:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:48:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:48:17 [ssh-agent] Looking for ssh-agent implementation... 11:48:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:48:17 $ docker exec 52ebf811c48f71f02d8baf944f68b4baa7408b2345df058f80bcf15b7c96efaa ssh-agent 11:48:17 SSH_AUTH_SOCK=/tmp/ssh-DBtrBmpygndJ/agent.71 11:48:17 SSH_AGENT_PID=77 11:48:17 Running ssh-add (command line suppressed) 11:48:17 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7605930437259222284.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7605930437259222284.key) 11:48:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:48:18 + git semver init 11:48:18 2023-05-16 11:48:18,337 [run_init] DEBUG init version:0.0.0 force:False 11:48:18 2023-05-16 11:48:18,338 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 11:48:18 2023-05-16 11:48:18,339 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 11:48:18 2023-05-16 11:48:18,339 [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) 11:48:19 2023-05-16 11:48:19,135 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 11:48:19 2023-05-16 11:48:19,135 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 11:48:19 2023-05-16 11:48:19,135 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 11:48:19 2023-05-16 11:48:19,135 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 11:48:19 3.0.0-dev.41 [Pipeline] } 11:48:19 $ docker exec --env ******** --env ******** 52ebf811c48f71f02d8baf944f68b4baa7408b2345df058f80bcf15b7c96efaa ssh-agent -k 11:48:19 unset SSH_AUTH_SOCK; 11:48:19 unset SSH_AGENT_PID; 11:48:19 echo Agent pid 77 killed; 11:48:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:48:19 + git semver [Pipeline] } 11:48:20 $ docker stop --time=1 52ebf811c48f71f02d8baf944f68b4baa7408b2345df058f80bcf15b7c96efaa 11:48:21 $ docker rm -f --volumes 52ebf811c48f71f02d8baf944f68b4baa7408b2345df058f80bcf15b7c96efaa [Pipeline] // withDockerContainer [Pipeline] sh 11:48:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:48:21 Stashed 1 file(s) [Pipeline] echo 11:48:21 [edgeXSemver]: initialized semver on version 3.0.0-dev.41 [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 11:48:22 provisioning config files... 11:48:22 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10879174848103125011tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:48:22 ---> docker-login.sh 11:48:22 nexus3.edgexfoundry.org:10001 11:48:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:48:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:48:22 Configure a credential helper to remove this warning. See 11:48:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:48:22 11:48:22 Login Succeeded 11:48:22 nexus3.edgexfoundry.org:10002 11:48:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:48:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:48:22 Configure a credential helper to remove this warning. See 11:48:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:48:22 11:48:22 Login Succeeded 11:48:22 nexus3.edgexfoundry.org:10003 11:48:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:48:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:48:22 Configure a credential helper to remove this warning. See 11:48:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:48:22 11:48:22 Login Succeeded 11:48:22 nexus3.edgexfoundry.org:10004 11:48:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:48:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:48:22 Configure a credential helper to remove this warning. See 11:48:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:48:22 11:48:22 Login Succeeded 11:48:22 docker.io 11:48:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:48:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:48:22 Configure a credential helper to remove this warning. See 11:48:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:48:22 11:48:22 Login Succeeded 11:48:22 ---> docker-login.sh ends [Pipeline] } 11:48:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:48:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:48:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:48:23 ========================================================= 11:48:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 11:48:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:48:23 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 11:48:23 Sending build context to Docker daemon 6.516MB 11:48:23 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 11:48:23 Step 2/10 : FROM ${BASE} AS builder 11:48:23 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 11:48:23 f56be85fc22e: Pulling fs layer 11:48:23 85791d961cd3: Pulling fs layer 11:48:23 d694b5ae8c79: Pulling fs layer 11:48:23 9f32a84ed3da: Pulling fs layer 11:48:23 4d19c01a9841: Pulling fs layer 11:48:23 9325e15d5711: Pulling fs layer 11:48:23 556b6ee489ea: Pulling fs layer 11:48:23 c5a4b2cf53e6: Pulling fs layer 11:48:23 9325e15d5711: Waiting 11:48:23 556b6ee489ea: Waiting 11:48:23 c5a4b2cf53e6: Waiting 11:48:23 9f32a84ed3da: Waiting 11:48:23 4d19c01a9841: Waiting 11:48:23 85791d961cd3: Download complete 11:48:23 9f32a84ed3da: Download complete 11:48:23 4d19c01a9841: Verifying Checksum 11:48:23 4d19c01a9841: Download complete 11:48:23 f56be85fc22e: Verifying Checksum 11:48:23 f56be85fc22e: Download complete 11:48:23 9325e15d5711: Verifying Checksum 11:48:23 9325e15d5711: Download complete 11:48:23 f56be85fc22e: Pull complete 11:48:23 85791d961cd3: Pull complete 11:48:24 c5a4b2cf53e6: Verifying Checksum 11:48:24 c5a4b2cf53e6: Download complete 11:48:24 d694b5ae8c79: Verifying Checksum 11:48:24 556b6ee489ea: Verifying Checksum 11:48:24 556b6ee489ea: Download complete 11:48:27 d694b5ae8c79: Pull complete 11:48:27 9f32a84ed3da: Pull complete 11:48:27 4d19c01a9841: Pull complete 11:48:27 9325e15d5711: Pull complete 11:48:30 556b6ee489ea: Pull complete 11:48:30 c5a4b2cf53e6: Pull complete 11:48:30 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 11:48:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 11:48:30 ---> c4be618373d6 11:48:30 Step 3/10 : ARG ADD_BUILD_TAGS="" 11:48:36 ---> Running in c6824b85d821 11:48:36 Removing intermediate container c6824b85d821 11:48:36 ---> 051392f3de81 11:48:36 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:48:36 ---> Running in 729a30ad433a 11:48:36 Removing intermediate container 729a30ad433a 11:48:36 ---> 65b252f909c7 11:48:36 Step 5/10 : RUN apk add --update --no-cache make git openssh 11:48:36 ---> Running in 82942503c4bb 11:48:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:48:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:48:36 (1/8) Installing openssh-keygen (9.1_p1-r3) 11:48:36 (2/8) Installing libedit (20221030.3.1-r0) 11:48:36 (3/8) Installing openssh-client-common (9.1_p1-r3) 11:48:36 (4/8) Installing openssh-client-default (9.1_p1-r3) 11:48:36 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 11:48:36 (6/8) Installing openssh-server-common (9.1_p1-r3) 11:48:36 (7/8) Installing openssh-server (9.1_p1-r3) 11:48:36 (8/8) Installing openssh (9.1_p1-r3) 11:48:36 Executing busybox-1.35.0-r29.trigger 11:48:36 OK: 270 MiB in 61 packages 11:48:37 Still waiting to schedule task 11:48:37 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15711’ is offline 11:48:37 Removing intermediate container 82942503c4bb 11:48:37 ---> 29b4e63c3e8d 11:48:37 Step 6/10 : WORKDIR /device-modbus-go 11:48:37 ---> Running in 4f24f977c803 11:48:37 Removing intermediate container 4f24f977c803 11:48:37 ---> c225b562d0e7 11:48:37 Step 7/10 : COPY go.mod vendor* ./ 11:48:37 ---> b127d28f9a05 11:48:37 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:48:37 ---> Running in 356950d9cb15 11:49:04 Removing intermediate container 356950d9cb15 11:49:04 ---> ae43de22c927 11:49:04 Step 9/10 : COPY . . 11:49:04 ---> 4531ff309feb 11:49:04 Step 10/10 : RUN ${MAKE} 11:49:04 ---> Running in d12e4596d656 11:49:04 noop 11:49:04 Removing intermediate container d12e4596d656 11:49:04 ---> 90d303862705 11:49:04 Successfully built 90d303862705 11:49:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:49:04 + docker inspect -f . ci-base-image-x86_64 11:49:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:49:04 prd-ubuntu20.04-docker-8c-8g-15710 does not seem to be running inside a container 11:49:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:49:04 $ docker top 8a61d12fdb357c65d99619c9d45ad0f60cea216fa7a1057deca18ff071e427ae -eo pid,comm [Pipeline] { [Pipeline] sh 11:49:05 + go version 11:49:05 go version go1.20.2 linux/amd64 [Pipeline] } 11:49:05 $ docker stop --time=1 8a61d12fdb357c65d99619c9d45ad0f60cea216fa7a1057deca18ff071e427ae 11:49:06 $ docker rm -f --volumes 8a61d12fdb357c65d99619c9d45ad0f60cea216fa7a1057deca18ff071e427ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:49:07 + docker inspect -f . ci-base-image-x86_64 11:49:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:49:07 prd-ubuntu20.04-docker-8c-8g-15710 does not seem to be running inside a container 11:49:07 $ 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 ******** ci-base-image-x86_64 cat 11:49:07 $ docker top 29e5da298a6f343ff35efbb73220fdd0bbdeab9e28df68c7d9caf3225d3b395b -eo pid,comm [Pipeline] { [Pipeline] sh 11:49:07 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 11:49:08 + make test 11:49:08 go test ./... -coverprofile=coverage.out 11:49:12 ? github.com/edgexfoundry/device-modbus-go [no test files] 11:49:22 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 11:49:22 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.4% of statements 11:49:27 go vet ./... 11:49:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:49:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:49:30 ./bin/test-attribution-txt.sh [Pipeline] echo 11:49:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:49:30 $ docker stop --time=1 29e5da298a6f343ff35efbb73220fdd0bbdeab9e28df68c7d9caf3225d3b395b 11:49:36 $ docker rm -f --volumes 29e5da298a6f343ff35efbb73220fdd0bbdeab9e28df68c7d9caf3225d3b395b [Pipeline] // withDockerContainer [Pipeline] sh 11:49:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:49:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:49:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:49:38 + ls -al . 11:49:38 total 184 11:49:38 drwxrwxr-x 10 jenkins jenkins 4096 May 16 11:49 . 11:49:38 drwxrwxr-x 4 jenkins jenkins 4096 May 16 11:48 .. 11:49:38 -rw-rw-r-- 1 jenkins jenkins 140 May 16 11:48 .dockerignore 11:49:38 drwxrwxr-x 8 jenkins jenkins 4096 May 16 11:48 .git 11:49:38 drwxrwxr-x 3 jenkins jenkins 4096 May 16 11:48 .github 11:49:38 -rw-rw-r-- 1 jenkins jenkins 331 May 16 11:48 .gitignore 11:49:38 -rw-rw-r-- 1 jenkins jenkins 41 May 16 11:48 .golangci.yml 11:49:38 drwxr-xr-x 3 jenkins jenkins 4096 May 16 11:48 .semver 11:49:38 -rw-rw-r-- 1 jenkins jenkins 10132 May 16 11:48 Attribution.txt 11:49:38 -rw-rw-r-- 1 jenkins jenkins 11576 May 16 11:48 CHANGELOG.md 11:49:38 -rw-rw-r-- 1 jenkins jenkins 1365 May 16 11:48 Dockerfile 11:49:38 -rw-rw-r-- 1 jenkins jenkins 677 May 16 11:48 GOVERNANCE.md 11:49:38 -rw-rw-r-- 1 jenkins jenkins 680 May 16 11:48 Jenkinsfile 11:49:38 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 11:48 LICENSE 11:49:38 -rw-rw-r-- 1 jenkins jenkins 1705 May 16 11:48 Makefile 11:49:38 -rw-rw-r-- 1 jenkins jenkins 622 May 16 11:48 OWNERS.md 11:49:38 -rw-rw-r-- 1 jenkins jenkins 4554 May 16 11:48 README.md 11:49:38 -rw-rw-r-- 1 jenkins jenkins 12 May 16 11:48 VERSION 11:49:38 drwxrwxr-x 2 jenkins jenkins 4096 May 16 11:48 bin 11:49:38 drwxrwxr-x 3 jenkins jenkins 4096 May 16 11:48 cmd 11:49:38 -rw-r--r-- 1 jenkins jenkins 24160 May 16 11:49 coverage.out 11:49:38 -rw-rw-r-- 1 jenkins jenkins 3453 May 16 11:48 go.mod 11:49:38 -rw-rw-r-- 1 jenkins jenkins 31670 May 16 11:48 go.sum 11:49:38 drwxrwxr-x 3 jenkins jenkins 4096 May 16 11:48 internal 11:49:38 drwxrwxr-x 2 jenkins jenkins 4096 May 16 11:48 simulator 11:49:38 drwxrwxr-x 4 jenkins jenkins 4096 May 16 11:48 snap 11:49:38 -rw-rw-r-- 1 jenkins jenkins 229 May 16 11:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:49:38 + 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=2cc3518655efefba22ff17e7bf1dcccbd8773e75 --label arch=amd64 --label version=3.0.0-dev.41 . 11:49:38 Sending build context to Docker daemon 6.541MB 11:49:38 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 11:49:38 Step 2/22 : FROM ${BASE} AS builder 11:49:38 ---> 90d303862705 11:49:38 Step 3/22 : ARG ADD_BUILD_TAGS="" 11:49:38 ---> Running in c7771a19e707 11:49:38 Removing intermediate container c7771a19e707 11:49:38 ---> e4fd5b538a50 11:49:38 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:49:38 ---> Running in 34112ddeef05 11:49:38 Removing intermediate container 34112ddeef05 11:49:38 ---> 7551dcf5c612 11:49:38 Step 5/22 : RUN apk add --update --no-cache make git openssh 11:49:38 ---> Running in a3464f8179f9 11:49:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:49:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:49:39 OK: 270 MiB in 61 packages 11:49:39 Removing intermediate container a3464f8179f9 11:49:39 ---> ff79b05d4c05 11:49:39 Step 6/22 : WORKDIR /device-modbus-go 11:49:39 ---> Running in 6e8e4d77a6f8 11:49:39 Removing intermediate container 6e8e4d77a6f8 11:49:39 ---> 038fa710d752 11:49:39 Step 7/22 : COPY go.mod vendor* ./ 11:49:39 ---> 06494068b602 11:49:39 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:49:39 ---> Running in 30ffb8429c1e 11:49:40 Removing intermediate container 30ffb8429c1e 11:49:40 ---> 60116d5dd188 11:49:40 Step 9/22 : COPY . . 11:49:40 ---> 8b782da3136e 11:49:40 Step 10/22 : RUN ${MAKE} 11:49:40 ---> Running in 45224727ce72 11:49:41 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.41" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 11:50:03 Removing intermediate container 45224727ce72 11:50:03 ---> 21e2e315df5c 11:50:03 Step 11/22 : FROM alpine:3.17 11:50:03 3.17: Pulling from library/alpine 11:50:03 f56be85fc22e: Already exists 11:50:03 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 11:50:03 Status: Downloaded newer image for alpine:3.17 11:50:03 ---> 9ed4aefc74f6 11:50:03 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 11:50:03 ---> Running in d1e77a8768ef 11:50:03 Removing intermediate container d1e77a8768ef 11:50:03 ---> 1caa55b01aac 11:50:03 Step 13/22 : RUN apk add --update --no-cache dumb-init 11:50:03 ---> Running in c08f83edba5c 11:50:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:50:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:50:03 (1/1) Installing dumb-init (1.2.5-r2) 11:50:03 Executing busybox-1.35.0-r29.trigger 11:50:03 OK: 7 MiB in 16 packages 11:50:03 Removing intermediate container c08f83edba5c 11:50:03 ---> 6eae3c477256 11:50:03 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 11:50:04 ---> d31bcf98c925 11:50:04 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 11:50:05 ---> fcbbc079de0c 11:50:05 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 11:50:05 ---> 066258e4f1a4 11:50:05 Step 17/22 : EXPOSE 59901 11:50:05 ---> Running in a10f480305cb 11:50:05 Removing intermediate container a10f480305cb 11:50:05 ---> cf95876bb391 11:50:05 Step 18/22 : ENTRYPOINT ["/device-modbus"] 11:50:05 ---> Running in cd899303ed05 11:50:05 Removing intermediate container cd899303ed05 11:50:05 ---> cdb5a8877def 11:50:05 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 11:50:05 ---> Running in 5e87891e7c6d 11:50:05 Removing intermediate container 5e87891e7c6d 11:50:05 ---> df7519c3d2f9 11:50:05 Step 20/22 : LABEL arch=amd64 11:50:05 ---> Running in 6a0277f04950 11:50:05 Removing intermediate container 6a0277f04950 11:50:05 ---> 15ce950bdda5 11:50:05 Step 21/22 : LABEL git_sha=2cc3518655efefba22ff17e7bf1dcccbd8773e75 11:50:05 ---> Running in 1792dd5059e6 11:50:05 Removing intermediate container 1792dd5059e6 11:50:05 ---> 1ee642e3fbee 11:50:05 Step 22/22 : LABEL version=3.0.0-dev.41 11:50:05 ---> Running in d7792b27fbb2 11:50:05 Removing intermediate container d7792b27fbb2 11:50:05 ---> 033cc97d32d5 11:50:05 [Warning] One or more build-args [ARCH] were not consumed 11:50:05 Successfully built 033cc97d32d5 11:50:05 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:50:05 provisioning config files... 11:50:05 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5556513614931843786tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:50:06 ---> docker-login.sh 11:50:06 nexus3.edgexfoundry.org:10001 11:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:50:06 Configure a credential helper to remove this warning. See 11:50:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:50:06 11:50:06 Login Succeeded 11:50:06 nexus3.edgexfoundry.org:10002 11:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:50:06 Configure a credential helper to remove this warning. See 11:50:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:50:06 11:50:06 Login Succeeded 11:50:06 nexus3.edgexfoundry.org:10003 11:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:50:06 Configure a credential helper to remove this warning. See 11:50:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:50:06 11:50:06 Login Succeeded 11:50:06 nexus3.edgexfoundry.org:10004 11:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:50:06 Configure a credential helper to remove this warning. See 11:50:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:50:06 11:50:06 Login Succeeded 11:50:06 docker.io 11:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:50:06 Configure a credential helper to remove this warning. See 11:50:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:50:06 11:50:06 Login Succeeded 11:50:06 ---> docker-login.sh ends [Pipeline] } 11:50:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:50:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:50:06 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 11:50:06 2cc3518655efefba22ff17e7bf1dcccbd8773e75 11:50:06 latest 11:50:06 3.0.0-dev.41 11:50:06 2cc3518655efefba22ff17e7bf1dcccbd8773e75-3.0.0-dev.41 11:50:06 main 11:50:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:50:07 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2cc3518655efefba22ff17e7bf1dcccbd8773e75 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:50:07 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2cc3518655efefba22ff17e7bf1dcccbd8773e75 11:50:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 11:50:07 fb24dc32a37a: Preparing 11:50:07 761d5ffef8fd: Preparing 11:50:07 7477b2258e9d: Preparing 11:50:07 7c9297daa1bd: Preparing 11:50:07 f1417ff83b31: Preparing 11:50:07 f1417ff83b31: Layer already exists 11:50:07 7c9297daa1bd: Pushed 11:50:07 fb24dc32a37a: Pushed 11:50:07 761d5ffef8fd: Pushed 11:50:09 7477b2258e9d: Pushed 11:50:09 2cc3518655efefba22ff17e7bf1dcccbd8773e75: digest: sha256:211df69c6d37af449cce3af8264c98b4228a22234bc0545a01016f4056dc24b9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:50:10 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:50:10 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 11:50:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 11:50:10 fb24dc32a37a: Preparing 11:50:10 761d5ffef8fd: Preparing 11:50:10 7477b2258e9d: Preparing 11:50:10 7c9297daa1bd: Preparing 11:50:10 f1417ff83b31: Preparing 11:50:10 7477b2258e9d: Layer already exists 11:50:10 7c9297daa1bd: Layer already exists 11:50:10 fb24dc32a37a: Layer already exists 11:50:10 f1417ff83b31: Layer already exists 11:50:10 761d5ffef8fd: Layer already exists 11:50:10 latest: digest: sha256:211df69c6d37af449cce3af8264c98b4228a22234bc0545a01016f4056dc24b9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:50:10 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.41 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:50:11 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.41 11:50:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 11:50:11 fb24dc32a37a: Preparing 11:50:11 761d5ffef8fd: Preparing 11:50:11 7477b2258e9d: Preparing 11:50:11 7c9297daa1bd: Preparing 11:50:11 f1417ff83b31: Preparing 11:50:11 7477b2258e9d: Layer already exists 11:50:11 fb24dc32a37a: Layer already exists 11:50:11 7c9297daa1bd: Layer already exists 11:50:11 761d5ffef8fd: Layer already exists 11:50:11 f1417ff83b31: Layer already exists 11:50:11 3.0.0-dev.41: digest: sha256:211df69c6d37af449cce3af8264c98b4228a22234bc0545a01016f4056dc24b9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:50:11 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2cc3518655efefba22ff17e7bf1dcccbd8773e75-3.0.0-dev.41 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:50:11 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2cc3518655efefba22ff17e7bf1dcccbd8773e75-3.0.0-dev.41 11:50:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 11:50:11 fb24dc32a37a: Preparing 11:50:11 761d5ffef8fd: Preparing 11:50:11 7477b2258e9d: Preparing 11:50:11 7c9297daa1bd: Preparing 11:50:11 f1417ff83b31: Preparing 11:50:11 7477b2258e9d: Layer already exists 11:50:11 fb24dc32a37a: Layer already exists 11:50:11 f1417ff83b31: Layer already exists 11:50:11 761d5ffef8fd: Layer already exists 11:50:11 7c9297daa1bd: Layer already exists 11:50:11 2cc3518655efefba22ff17e7bf1dcccbd8773e75-3.0.0-dev.41: digest: sha256:211df69c6d37af449cce3af8264c98b4228a22234bc0545a01016f4056dc24b9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:50:12 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:50:12 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 11:50:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 11:50:12 fb24dc32a37a: Preparing 11:50:12 761d5ffef8fd: Preparing 11:50:12 7477b2258e9d: Preparing 11:50:12 7c9297daa1bd: Preparing 11:50:12 f1417ff83b31: Preparing 11:50:12 fb24dc32a37a: Layer already exists 11:50:12 7477b2258e9d: Layer already exists 11:50:12 f1417ff83b31: Layer already exists 11:50:12 761d5ffef8fd: Layer already exists 11:50:12 7c9297daa1bd: Layer already exists 11:50:12 main: digest: sha256:211df69c6d37af449cce3af8264c98b4228a22234bc0545a01016f4056dc24b9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:50:12 ===================================================== [Pipeline] echo 11:50:12 taggedImages: 11:50:12 - nexus3.edgexfoundry.org:10004/device-modbus:2cc3518655efefba22ff17e7bf1dcccbd8773e75 11:50:12 - nexus3.edgexfoundry.org:10004/device-modbus:latest 11:50:12 - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.41 11:50:12 - nexus3.edgexfoundry.org:10004/device-modbus:2cc3518655efefba22ff17e7bf1dcccbd8773e75-3.0.0-dev.41 11:50:12 - 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 11:50:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:50:12 11:50:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:50:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:50:13 latest: Pulling from edgex-lftools-log-publisher 11:50:13 5eb5b503b376: Pulling fs layer 11:50:13 5c69ac0246d0: Pulling fs layer 11:50:13 ec43610c2a17: Pulling fs layer 11:50:13 3a2ae6a8a46f: Pulling fs layer 11:50:13 33b1e0a273af: Pulling fs layer 11:50:13 5d3b04190fa2: Pulling fs layer 11:50:13 2f39f015ded8: Pulling fs layer 11:50:13 5d3b04190fa2: Waiting 11:50:13 3a2ae6a8a46f: Waiting 11:50:13 2f39f015ded8: Waiting 11:50:13 33b1e0a273af: Waiting 11:50:13 5c69ac0246d0: Download complete 11:50:13 3a2ae6a8a46f: Verifying Checksum 11:50:13 3a2ae6a8a46f: Download complete 11:50:13 33b1e0a273af: Verifying Checksum 11:50:13 33b1e0a273af: Download complete 11:50:13 5d3b04190fa2: Verifying Checksum 11:50:13 5d3b04190fa2: Download complete 11:50:13 ec43610c2a17: Verifying Checksum 11:50:13 ec43610c2a17: Download complete 11:50:13 5eb5b503b376: Verifying Checksum 11:50:13 5eb5b503b376: Download complete 11:50:13 2f39f015ded8: Download complete 11:50:14 5eb5b503b376: Pull complete 11:50:14 5c69ac0246d0: Pull complete 11:50:15 ec43610c2a17: Pull complete 11:50:15 3a2ae6a8a46f: Pull complete 11:50:15 33b1e0a273af: Pull complete 11:50:15 5d3b04190fa2: Pull complete 11:50:19 2f39f015ded8: Pull complete 11:50:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:50:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:50:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:50:19 prd-ubuntu20.04-docker-8c-8g-15710 does not seem to be running inside a container 11:50:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:50:24 $ docker top 70929462bb39730e0ffa7ab38e82f583d07409fa71c21fd983fba4fe9e6e12ae -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:50:24 ---> job-cost.sh 11:50:24 lf-activate-venv: SKIPPING 11:50:24 INFO: No Stack... 11:50:24 INFO: Retrieving Pricing Info for: v3-standard-8 11:50:25 INFO: Archiving Costs [Pipeline] sh 11:50:25 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 11:50:25 + cut -d, -f6 [Pipeline] lock 11:50:25 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-107-stack-cost] 11:50:25 Resource [jenkins-edgexfoundry-device-modbus-go-main-107-stack-cost] did not exist. Created. 11:50:25 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-107-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:50:25 + echo total: 0.2199999988079071 [Pipeline] stash 11:50:25 Stashed 1 file(s) [Pipeline] } 11:50:25 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-107-stack-cost] [Pipeline] // lock [Pipeline] } 11:50:25 $ docker stop --time=1 70929462bb39730e0ffa7ab38e82f583d07409fa71c21fd983fba4fe9e6e12ae 11:50:27 $ docker rm -f --volumes 70929462bb39730e0ffa7ab38e82f583d07409fa71c21fd983fba4fe9e6e12ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:51:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15714 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 11:51:20 Running in /w/workspace/device-modbus-go/107 [Pipeline] { [Pipeline] checkout 11:51:20 Selected Git installation does not exist. Using Default 11:51:20 The recommended git tool is: NONE 11:51:26 using credential edgex-jenkins-ssh 11:51:26 Cloning the remote Git repository 11:51:26 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 11:51:26 > git init /w/workspace/device-modbus-go/107 # timeout=10 11:51:26 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 11:51:26 > git --version # timeout=10 11:51:26 > git --version # 'git version 2.25.1' 11:51:26 using GIT_SSH to set credentials SSH Credentials for GitHub 11:51:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:51:28 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 11:51:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:51:29 Avoid second fetch 11:51:29 Checking out Revision 2cc3518655efefba22ff17e7bf1dcccbd8773e75 (main) 11:51:29 Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v3 from 3.0.0-20230315153603-544c6823a1b0 to 3.0.0 in /snap/local/helper-go (#481)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:51:29 > git config core.sparsecheckout # timeout=10 11:51:29 > git checkout -f 2cc3518655efefba22ff17e7bf1dcccbd8773e75 # timeout=10 11:51:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:51:30 % Total % Received % Xferd Average Speed Time Time Time Current 11:51:30 Dload Upload Total Spent Left Speed 11:51:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh 11:51:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:51:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:51:31 + sudo tee /etc/docker/daemon.new 11:51:31 { 11:51:31 "registry-mirrors": [ 11:51:31 "https://nexus3.edgexfoundry.org:10001" 11:51:31 ], 11:51:31 "bip": "10.250.0.254/24", 11:51:31 "hosts": [ 11:51:31 "tcp://0.0.0.0:5555", 11:51:31 "unix:///var/run/docker.sock" 11:51:31 ], 11:51:31 "mtu": 1458, 11:51:31 "selinux-enabled": true, 11:51:31 "seccomp-profile": "/etc/docker/seccomp.json" 11:51:31 } [Pipeline] sh 11:51:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:51:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:51:51 provisioning config files... 11:51:51 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/107@tmp/config3688197701291506219tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:51:51 ---> docker-login.sh 11:51:51 nexus3.edgexfoundry.org:10001 11:51:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:51:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:51:52 Configure a credential helper to remove this warning. See 11:51:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:51:52 11:51:52 Login Succeeded 11:51:52 nexus3.edgexfoundry.org:10002 11:51:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:51:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:51:52 Configure a credential helper to remove this warning. See 11:51:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:51:52 11:51:52 Login Succeeded 11:51:52 nexus3.edgexfoundry.org:10003 11:51:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:51:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:51:52 Configure a credential helper to remove this warning. See 11:51:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:51:52 11:51:52 Login Succeeded 11:51:52 nexus3.edgexfoundry.org:10004 11:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:51:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:51:53 Configure a credential helper to remove this warning. See 11:51:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:51:53 11:51:53 Login Succeeded 11:51:53 docker.io 11:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:51:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:51:53 Configure a credential helper to remove this warning. See 11:51:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:51:53 11:51:53 Login Succeeded 11:51:53 ---> docker-login.sh ends [Pipeline] } 11:51:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:51:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:51:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:51:54 ========================================================= 11:51:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 11:51:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:51:54 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 11:51:54 Sending build context to Docker daemon 3.411MB 11:51:54 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 11:51:54 Step 2/10 : FROM ${BASE} AS builder 11:51:55 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:51:55 c41833b44d91: Pulling fs layer 11:51:55 ed15518f5707: Pulling fs layer 11:51:55 feae8fd75edb: Pulling fs layer 11:51:55 242c74f7c9fa: Pulling fs layer 11:51:55 3cdef696dda3: Pulling fs layer 11:51:55 2ced38df9373: Pulling fs layer 11:51:55 58f1dce35555: Pulling fs layer 11:51:55 242c74f7c9fa: Waiting 11:51:55 3cdef696dda3: Waiting 11:51:55 2ced38df9373: Waiting 11:51:55 58f1dce35555: Waiting 11:51:55 ed15518f5707: Download complete 11:51:55 242c74f7c9fa: Download complete 11:51:55 3cdef696dda3: Verifying Checksum 11:51:55 3cdef696dda3: Download complete 11:51:55 c41833b44d91: Verifying Checksum 11:51:55 c41833b44d91: Download complete 11:51:56 c41833b44d91: Pull complete 11:51:56 58f1dce35555: Verifying Checksum 11:51:56 58f1dce35555: Download complete 11:51:56 ed15518f5707: Pull complete 11:51:57 feae8fd75edb: Verifying Checksum 11:51:57 feae8fd75edb: Download complete 11:51:57 2ced38df9373: Verifying Checksum 11:51:57 2ced38df9373: Download complete 11:52:08 feae8fd75edb: Pull complete 11:52:08 242c74f7c9fa: Pull complete 11:52:08 3cdef696dda3: Pull complete 11:52:18 2ced38df9373: Pull complete 11:52:19 58f1dce35555: Pull complete 11:52:19 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 11:52:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 11:52:19 ---> fadd8f120f05 11:52:19 Step 3/10 : ARG ADD_BUILD_TAGS="" 11:52:22 ---> Running in a821c980ffc7 11:52:22 Removing intermediate container a821c980ffc7 11:52:22 ---> 365c29b3d8f3 11:52:22 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:52:22 ---> Running in 7c843f2bf1d4 11:52:22 Removing intermediate container 7c843f2bf1d4 11:52:22 ---> d4a63e1b7b7a 11:52:22 Step 5/10 : RUN apk add --update --no-cache make git openssh 11:52:22 ---> Running in 6628c9435a4d 11:52:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:52:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:52:25 (1/8) Installing openssh-keygen (9.1_p1-r3) 11:52:25 (2/8) Installing libedit (20221030.3.1-r0) 11:52:25 (3/8) Installing openssh-client-common (9.1_p1-r3) 11:52:25 (4/8) Installing openssh-client-default (9.1_p1-r3) 11:52:25 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 11:52:25 (6/8) Installing openssh-server-common (9.1_p1-r3) 11:52:25 (7/8) Installing openssh-server (9.1_p1-r3) 11:52:26 (8/8) Installing openssh (9.1_p1-r3) 11:52:26 Executing busybox-1.35.0-r29.trigger 11:52:26 OK: 270 MiB in 61 packages 11:52:27 Removing intermediate container 6628c9435a4d 11:52:27 ---> 510a2dd82e07 11:52:27 Step 6/10 : WORKDIR /device-modbus-go 11:52:27 ---> Running in 0e914c324410 11:52:27 Removing intermediate container 0e914c324410 11:52:27 ---> a25c4e3cebdd 11:52:27 Step 7/10 : COPY go.mod vendor* ./ 11:52:28 ---> 9dbdda40ff15 11:52:28 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:52:28 ---> Running in f0b7482bebdf 11:53:36 Removing intermediate container f0b7482bebdf 11:53:36 ---> a8eca97fb9d2 11:53:36 Step 9/10 : COPY . . 11:53:36 ---> 73f19061319a 11:53:36 Step 10/10 : RUN ${MAKE} 11:53:36 ---> Running in 8781e0b5e27d 11:53:36 noop 11:53:36 Removing intermediate container 8781e0b5e27d 11:53:36 ---> 959ea07724a5 11:53:36 Successfully built 959ea07724a5 11:53:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:53:36 + docker inspect -f . ci-base-image-arm64 11:53:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:53:36 prd-ubuntu20.04-docker-arm64-4c-16g-15714 does not seem to be running inside a container 11:53:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/107 -v /w/workspace/device-modbus-go/107:/w/workspace/device-modbus-go/107:rw,z -v /w/workspace/device-modbus-go/107@tmp:/w/workspace/device-modbus-go/107@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 11:53:38 $ docker top 2bb78c719a98ef9b600450b127bb2f541ab7fe39d590ca9406e38c0bf61c7ea8 -eo pid,comm [Pipeline] { [Pipeline] sh 11:53:39 + go version 11:53:39 go version go1.20.2 linux/arm64 [Pipeline] } 11:53:39 $ docker stop --time=1 2bb78c719a98ef9b600450b127bb2f541ab7fe39d590ca9406e38c0bf61c7ea8 11:53:40 $ docker rm -f --volumes 2bb78c719a98ef9b600450b127bb2f541ab7fe39d590ca9406e38c0bf61c7ea8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:53:41 + docker inspect -f . ci-base-image-arm64 11:53:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:53:41 prd-ubuntu20.04-docker-arm64-4c-16g-15714 does not seem to be running inside a container 11:53:41 $ 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/107 -v /w/workspace/device-modbus-go/107:/w/workspace/device-modbus-go/107:rw,z -v /w/workspace/device-modbus-go/107@tmp:/w/workspace/device-modbus-go/107@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 11:53:42 $ docker top 4083c4d2a5c1858adf835babc72585005c9b5d34c27c720b607e7bbe441146d8 -eo pid,comm [Pipeline] { [Pipeline] sh 11:53:43 + git config --global --add safe.directory /w/workspace/device-modbus-go/107 [Pipeline] fileExists [Pipeline] sh 11:53:44 + make test 11:53:44 go test ./... -coverprofile=coverage.out 11:54:23 ? github.com/edgexfoundry/device-modbus-go [no test files] 11:56:45 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 11:56:48 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.083s coverage: 47.4% of statements 11:56:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:56:49 go vet ./... 11:57:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:57:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:57:21 ./bin/test-attribution-txt.sh [Pipeline] echo 11:57:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:57:21 $ docker stop --time=1 4083c4d2a5c1858adf835babc72585005c9b5d34c27c720b607e7bbe441146d8 11:57:23 $ docker rm -f --volumes 4083c4d2a5c1858adf835babc72585005c9b5d34c27c720b607e7bbe441146d8 [Pipeline] // withDockerContainer [Pipeline] sh 11:57:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:57:25 Warning: overwriting stash ‘coverage-report’ 11:57:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:57:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:57:26 + ls -al . 11:57:26 total 180 11:57:26 drwxrwxr-x 9 jenkins jenkins 4096 May 16 11:53 . 11:57:26 drwxrwxr-x 4 jenkins jenkins 4096 May 16 11:51 .. 11:57:26 -rw-rw-r-- 1 jenkins jenkins 140 May 16 11:51 .dockerignore 11:57:26 drwxrwxr-x 8 jenkins jenkins 4096 May 16 11:51 .git 11:57:26 drwxrwxr-x 3 jenkins jenkins 4096 May 16 11:51 .github 11:57:26 -rw-rw-r-- 1 jenkins jenkins 331 May 16 11:51 .gitignore 11:57:26 -rw-rw-r-- 1 jenkins jenkins 41 May 16 11:51 .golangci.yml 11:57:26 -rw-rw-r-- 1 jenkins jenkins 10132 May 16 11:51 Attribution.txt 11:57:26 -rw-rw-r-- 1 jenkins jenkins 11576 May 16 11:51 CHANGELOG.md 11:57:26 -rw-rw-r-- 1 jenkins jenkins 1365 May 16 11:51 Dockerfile 11:57:26 -rw-rw-r-- 1 jenkins jenkins 677 May 16 11:51 GOVERNANCE.md 11:57:26 -rw-rw-r-- 1 jenkins jenkins 680 May 16 11:51 Jenkinsfile 11:57:26 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 11:51 LICENSE 11:57:26 -rw-rw-r-- 1 jenkins jenkins 1705 May 16 11:51 Makefile 11:57:26 -rw-rw-r-- 1 jenkins jenkins 622 May 16 11:51 OWNERS.md 11:57:26 -rw-rw-r-- 1 jenkins jenkins 4554 May 16 11:51 README.md 11:57:26 -rw-rw-r-- 1 jenkins jenkins 12 May 16 11:48 VERSION 11:57:26 drwxrwxr-x 2 jenkins jenkins 4096 May 16 11:51 bin 11:57:26 drwxrwxr-x 3 jenkins jenkins 4096 May 16 11:51 cmd 11:57:26 -rw-r--r-- 1 jenkins jenkins 24160 May 16 11:56 coverage.out 11:57:26 -rw-rw-r-- 1 jenkins jenkins 3453 May 16 11:51 go.mod 11:57:26 -rw-rw-r-- 1 jenkins jenkins 31670 May 16 11:51 go.sum 11:57:26 drwxrwxr-x 3 jenkins jenkins 4096 May 16 11:51 internal 11:57:26 drwxrwxr-x 2 jenkins jenkins 4096 May 16 11:51 simulator 11:57:26 drwxrwxr-x 4 jenkins jenkins 4096 May 16 11:51 snap 11:57:26 -rw-rw-r-- 1 jenkins jenkins 229 May 16 11:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:57:26 + 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=2cc3518655efefba22ff17e7bf1dcccbd8773e75 --label arch=arm64 --label version=3.0.0-dev.41 . 11:57:27 Sending build context to Docker daemon 3.437MB 11:57:27 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 11:57:27 Step 2/22 : FROM ${BASE} AS builder 11:57:27 ---> 959ea07724a5 11:57:27 Step 3/22 : ARG ADD_BUILD_TAGS="" 11:57:27 ---> Running in 7f31ca99e2d3 11:57:27 Removing intermediate container 7f31ca99e2d3 11:57:27 ---> 040fa2484628 11:57:27 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:57:27 ---> Running in 7cc22cee8d3f 11:57:27 Removing intermediate container 7cc22cee8d3f 11:57:27 ---> b3c4c5daea7d 11:57:27 Step 5/22 : RUN apk add --update --no-cache make git openssh 11:57:28 ---> Running in e9a46cbe1774 11:57:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:57:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:57:30 OK: 270 MiB in 61 packages 11:57:31 Removing intermediate container e9a46cbe1774 11:57:31 ---> c25e87cd4cc0 11:57:31 Step 6/22 : WORKDIR /device-modbus-go 11:57:31 ---> Running in 41f2517a48d0 11:57:32 Removing intermediate container 41f2517a48d0 11:57:32 ---> 10ae958cc040 11:57:32 Step 7/22 : COPY go.mod vendor* ./ 11:57:32 ---> 628233faaeb4 11:57:32 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:57:33 ---> Running in ada04fcd79e5 11:57:35 Removing intermediate container ada04fcd79e5 11:57:35 ---> e21d3f239781 11:57:35 Step 9/22 : COPY . . 11:57:36 ---> 48c10d3fad30 11:57:36 Step 10/22 : RUN ${MAKE} 11:57:36 ---> Running in 39efcc486d63 11:57:37 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.41" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 12:00:02 Removing intermediate container 39efcc486d63 12:00:02 ---> bba8441f5908 12:00:02 Step 11/22 : FROM alpine:3.17 12:00:02 3.17: Pulling from library/alpine 12:00:02 c41833b44d91: Already exists 12:00:02 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 12:00:02 Status: Downloaded newer image for alpine:3.17 12:00:02 ---> 51e60588ff2c 12:00:02 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 12:00:02 ---> Running in 6351526b1be3 12:00:02 Removing intermediate container 6351526b1be3 12:00:02 ---> d913afefefae 12:00:02 Step 13/22 : RUN apk add --update --no-cache dumb-init 12:00:02 ---> Running in a1def06e9978 12:00:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:00:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:00:03 (1/1) Installing dumb-init (1.2.5-r2) 12:00:03 Executing busybox-1.35.0-r29.trigger 12:00:03 OK: 8 MiB in 16 packages 12:00:04 Removing intermediate container a1def06e9978 12:00:04 ---> dcfa152c1842 12:00:04 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 12:00:05 ---> 48587f621a64 12:00:05 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 12:00:06 ---> 0c20c99d1d6d 12:00:06 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 12:00:06 ---> 777eb33476b2 12:00:06 Step 17/22 : EXPOSE 59901 12:00:06 ---> Running in d0fcae221c51 12:00:06 Removing intermediate container d0fcae221c51 12:00:06 ---> 84f754ec6dc7 12:00:06 Step 18/22 : ENTRYPOINT ["/device-modbus"] 12:00:06 ---> Running in 0bf049d86a86 12:00:07 Removing intermediate container 0bf049d86a86 12:00:07 ---> 36667cd86f81 12:00:07 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 12:00:07 ---> Running in bc30648bc085 12:00:07 Removing intermediate container bc30648bc085 12:00:07 ---> 450fc9b2388a 12:00:07 Step 20/22 : LABEL arch=arm64 12:00:07 ---> Running in dac1d8f323d0 12:00:08 Removing intermediate container dac1d8f323d0 12:00:08 ---> f89799bbeeb8 12:00:08 Step 21/22 : LABEL git_sha=2cc3518655efefba22ff17e7bf1dcccbd8773e75 12:00:08 ---> Running in 7a98dc4320c5 12:00:08 Removing intermediate container 7a98dc4320c5 12:00:08 ---> bc7e9ded3fa7 12:00:08 Step 22/22 : LABEL version=3.0.0-dev.41 12:00:08 ---> Running in b4260ea7a5da 12:00:08 Removing intermediate container b4260ea7a5da 12:00:08 ---> 6e983f03a66f 12:00:08 [Warning] One or more build-args [ARCH] were not consumed 12:00:08 Successfully built 6e983f03a66f 12:00:08 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 12:00:08 provisioning config files... 12:00:08 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/107@tmp/config11903709891392846361tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:00:09 ---> docker-login.sh 12:00:09 nexus3.edgexfoundry.org:10001 12:00:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:00:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:00:09 Configure a credential helper to remove this warning. See 12:00:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:00:09 12:00:09 Login Succeeded 12:00:09 nexus3.edgexfoundry.org:10002 12:00:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:00:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:00:09 Configure a credential helper to remove this warning. See 12:00:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:00:09 12:00:09 Login Succeeded 12:00:09 nexus3.edgexfoundry.org:10003 12:00:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:00:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:00:10 Configure a credential helper to remove this warning. See 12:00:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:00:10 12:00:10 Login Succeeded 12:00:10 nexus3.edgexfoundry.org:10004 12:00:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:00:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:00:10 Configure a credential helper to remove this warning. See 12:00:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:00:10 12:00:10 Login Succeeded 12:00:10 docker.io 12:00:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:00:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:00:17 Configure a credential helper to remove this warning. See 12:00:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:00:17 12:00:17 Login Succeeded 12:00:17 ---> docker-login.sh ends [Pipeline] } 12:00:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:00:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:00:17 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 12:00:17 2cc3518655efefba22ff17e7bf1dcccbd8773e75 12:00:17 latest 12:00:17 3.0.0-dev.41 12:00:17 2cc3518655efefba22ff17e7bf1dcccbd8773e75-3.0.0-dev.41 12:00:17 main 12:00:17 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:00:18 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2cc3518655efefba22ff17e7bf1dcccbd8773e75 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:00:18 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2cc3518655efefba22ff17e7bf1dcccbd8773e75 12:00:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 12:00:18 5f5ad8283a38: Preparing 12:00:18 a77a63509bfa: Preparing 12:00:18 795b78e4c6ae: Preparing 12:00:18 af6a8d9b535e: Preparing 12:00:18 26cbea5cba74: Preparing 12:00:18 26cbea5cba74: Layer already exists 12:00:18 a77a63509bfa: Pushed 12:00:18 af6a8d9b535e: Pushed 12:00:18 5f5ad8283a38: Pushed 12:00:23 795b78e4c6ae: Pushed 12:00:23 2cc3518655efefba22ff17e7bf1dcccbd8773e75: digest: sha256:29dabeb19008f8afa7821c2932c127d4c2616183e6bfe24a46ab1d1813a2d1ae size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:00:24 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:00:24 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 12:00:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 12:00:24 5f5ad8283a38: Preparing 12:00:24 a77a63509bfa: Preparing 12:00:24 795b78e4c6ae: Preparing 12:00:24 af6a8d9b535e: Preparing 12:00:24 26cbea5cba74: Preparing 12:00:24 26cbea5cba74: Layer already exists 12:00:24 5f5ad8283a38: Layer already exists 12:00:24 af6a8d9b535e: Layer already exists 12:00:24 795b78e4c6ae: Layer already exists 12:00:24 a77a63509bfa: Layer already exists 12:00:24 latest: digest: sha256:29dabeb19008f8afa7821c2932c127d4c2616183e6bfe24a46ab1d1813a2d1ae size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:00:25 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.41 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:00:25 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.41 12:00:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 12:00:25 5f5ad8283a38: Preparing 12:00:25 a77a63509bfa: Preparing 12:00:25 795b78e4c6ae: Preparing 12:00:25 af6a8d9b535e: Preparing 12:00:25 26cbea5cba74: Preparing 12:00:25 26cbea5cba74: Layer already exists 12:00:25 795b78e4c6ae: Layer already exists 12:00:25 a77a63509bfa: Layer already exists 12:00:25 5f5ad8283a38: Layer already exists 12:00:25 af6a8d9b535e: Layer already exists 12:00:25 3.0.0-dev.41: digest: sha256:29dabeb19008f8afa7821c2932c127d4c2616183e6bfe24a46ab1d1813a2d1ae size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:00:26 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2cc3518655efefba22ff17e7bf1dcccbd8773e75-3.0.0-dev.41 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:00:26 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2cc3518655efefba22ff17e7bf1dcccbd8773e75-3.0.0-dev.41 12:00:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 12:00:26 5f5ad8283a38: Preparing 12:00:26 a77a63509bfa: Preparing 12:00:26 795b78e4c6ae: Preparing 12:00:26 af6a8d9b535e: Preparing 12:00:26 26cbea5cba74: Preparing 12:00:26 af6a8d9b535e: Layer already exists 12:00:26 5f5ad8283a38: Layer already exists 12:00:26 26cbea5cba74: Layer already exists 12:00:26 a77a63509bfa: Layer already exists 12:00:26 795b78e4c6ae: Layer already exists 12:00:26 2cc3518655efefba22ff17e7bf1dcccbd8773e75-3.0.0-dev.41: digest: sha256:29dabeb19008f8afa7821c2932c127d4c2616183e6bfe24a46ab1d1813a2d1ae size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:00:26 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:00:27 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 12:00:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 12:00:27 5f5ad8283a38: Preparing 12:00:27 a77a63509bfa: Preparing 12:00:27 795b78e4c6ae: Preparing 12:00:27 af6a8d9b535e: Preparing 12:00:27 26cbea5cba74: Preparing 12:00:27 26cbea5cba74: Layer already exists 12:00:27 a77a63509bfa: Layer already exists 12:00:27 795b78e4c6ae: Layer already exists 12:00:27 5f5ad8283a38: Layer already exists 12:00:27 af6a8d9b535e: Layer already exists 12:00:27 main: digest: sha256:29dabeb19008f8afa7821c2932c127d4c2616183e6bfe24a46ab1d1813a2d1ae size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:00:27 ===================================================== [Pipeline] echo 12:00:27 taggedImages: 12:00:27 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2cc3518655efefba22ff17e7bf1dcccbd8773e75 12:00:27 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 12:00:27 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.41 12:00:27 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2cc3518655efefba22ff17e7bf1dcccbd8773e75-3.0.0-dev.41 12:00:27 - 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 12:00:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:00:27 12:00:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:00:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:00:28 arm64: Pulling from edgex-lftools-log-publisher 12:00:28 8998bd30e6a1: Pulling fs layer 12:00:28 04944245beec: Pulling fs layer 12:00:28 699f458cf7ca: Pulling fs layer 12:00:28 765212b225bb: Pulling fs layer 12:00:28 f23df028b6ca: Pulling fs layer 12:00:28 d65c8cfc05b1: Pulling fs layer 12:00:28 2437ff75d9bd: Pulling fs layer 12:00:28 765212b225bb: Waiting 12:00:28 f23df028b6ca: Waiting 12:00:28 d65c8cfc05b1: Waiting 12:00:28 2437ff75d9bd: Waiting 12:00:28 04944245beec: Verifying Checksum 12:00:28 04944245beec: Download complete 12:00:28 765212b225bb: Verifying Checksum 12:00:28 765212b225bb: Download complete 12:00:28 f23df028b6ca: Verifying Checksum 12:00:28 f23df028b6ca: Download complete 12:00:28 d65c8cfc05b1: Verifying Checksum 12:00:28 d65c8cfc05b1: Download complete 12:00:28 699f458cf7ca: Verifying Checksum 12:00:28 699f458cf7ca: Download complete 12:00:28 8998bd30e6a1: Verifying Checksum 12:00:28 8998bd30e6a1: Download complete 12:00:31 2437ff75d9bd: Verifying Checksum 12:00:31 2437ff75d9bd: Download complete 12:00:32 8998bd30e6a1: Pull complete 12:00:33 04944245beec: Pull complete 12:00:34 699f458cf7ca: Pull complete 12:00:34 765212b225bb: Pull complete 12:00:35 f23df028b6ca: Pull complete 12:00:35 d65c8cfc05b1: Pull complete 12:00:50 2437ff75d9bd: Pull complete 12:00:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:00:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:00:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:00:51 prd-ubuntu20.04-docker-arm64-4c-16g-15714 does not seem to be running inside a container 12:00:51 $ 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/107 -v /w/workspace/device-modbus-go/107:/w/workspace/device-modbus-go/107:rw,z -v /w/workspace/device-modbus-go/107@tmp:/w/workspace/device-modbus-go/107@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 12:00:53 $ docker top 2b623ba4e466746978276d494f7ccea39d4d36c496253e13b2f18ab47354a2a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:00:54 ---> job-cost.sh 12:00:54 lf-activate-venv: SKIPPING 12:00:54 INFO: No Stack... 12:00:55 INFO: Retrieving Pricing Info for: v3-standard-4 12:00:55 INFO: Archiving Costs [Pipeline] sh 12:00:56 + cut -d, -f6 12:00:56 + cat /w/workspace/device-modbus-go/107/archives/cost.csv [Pipeline] lock 12:00:56 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-107-stack-cost] 12:00:56 Resource [jenkins-edgexfoundry-device-modbus-go-main-107-stack-cost] did not exist. Created. 12:00:56 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-107-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:00:57 /w/workspace/device-modbus-go/107@tmp/durable-7265c51c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:00:58 + echo total: 0.10999999940395355 [Pipeline] stash 12:00:58 Warning: overwriting stash ‘stack-cost’ 12:00:58 Stashed 1 file(s) [Pipeline] } 12:00:58 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-107-stack-cost] [Pipeline] // lock [Pipeline] } 12:00:58 $ docker stop --time=1 2b623ba4e466746978276d494f7ccea39d4d36c496253e13b2f18ab47354a2a2 12:00:59 $ docker rm -f --volumes 2b623ba4e466746978276d494f7ccea39d4d36c496253e13b2f18ab47354a2a2 [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 12:01:00 provisioning config files... 12:01:00 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5733087799579140004tmp [Pipeline] { [Pipeline] sh 12:01:00 + set +x 12:01:00 + curl -s https://codecov.io/bash 12:01:00 + bash -s -- 12:01:00 12:01:00 _____ _ 12:01:00 / ____| | | 12:01:00 | | ___ __| | ___ ___ _____ __ 12:01:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:01:00 | |___| (_) | (_| | __/ (_| (_) \ V / 12:01:00 \_____\___/ \__,_|\___|\___\___/ \_/ 12:01:00 Bash-1.0.6 12:01:00 12:01:00 12:01:00 ==> git version 2.25.1 found 12:01:00 ==> 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 12:01:00 Release-Date: 2020-01-08 12:01:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:01:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:01:00 ==> Jenkins CI detected. 12:01:00 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 12:01:00 project root: . 12:01:00 --> token set from env 12:01:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:01:00 ==> Running gcov in . (disable via -X gcov) 12:01:00 ==> Python coveragepy not found 12:01:00 ==> Searching for coverage reports in: 12:01:00 + . 12:01:00 -> Found 1 reports 12:01:00 ==> Detecting git/mercurial file structure 12:01:00 ==> Reading reports 12:01:00 + ./coverage.out bytes=24160 12:01:00 ==> Appending adjustments 12:01:00 https://docs.codecov.io/docs/fixing-reports 12:01:00 + Found adjustments 12:01:00 ==> Gzipping contents 12:01:00 4.0K /tmp/codecov.UJoI7z.gz 12:01:00 ==> Uploading reports 12:01:00 url: https://codecov.io 12:01:00 query: branch=main&commit=2cc3518655efefba22ff17e7bf1dcccbd8773e75&build=107&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F107%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 12:01:00 -> Pinging Codecov 12:01:00 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=2cc3518655efefba22ff17e7bf1dcccbd8773e75&build=107&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F107%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 12:01:00 -> Uploading to 12:01:00 https://storage.googleapis.com/codecov/v4/raw/2023-05-16/55DBCA73C666E3227836607328DD7E49/2cc3518655efefba22ff17e7bf1dcccbd8773e75/7270506d-68b2-4e38-a166-a31abd51924e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230516T120100Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d1e3924ce31301f2853c03beef0c062b29687f5d13a4ea053ab59a948d5124df 12:01:00 % Total % Received % Xferd Average Speed Time Time Time Current 12:01:00 Dload Upload Total Spent Left Speed 12:01:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 17917 --:--:-- --:--:-- --:--:-- 17917 12:01:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/2cc3518655efefba22ff17e7bf1dcccbd8773e75 [Pipeline] } 12:01:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 12:01:01 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 12:01:01 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 12:01:01 12:01:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 12:01:01 1.410.4: Pulling from edgex-devops/edgex-snyk-go 12:01:01 df9b9388f04a: Pulling fs layer 12:01:01 52dc419b0ee2: Pulling fs layer 12:01:01 25bc292e5bac: Pulling fs layer 12:01:01 114826534d7a: Pulling fs layer 12:01:01 4657fd5d0bcf: Pulling fs layer 12:01:01 6ad1cebc031e: Pulling fs layer 12:01:01 8a3aa393b2d8: Pulling fs layer 12:01:01 114826534d7a: Waiting 12:01:01 4657fd5d0bcf: Waiting 12:01:01 6ad1cebc031e: Waiting 12:01:01 8a3aa393b2d8: Waiting 12:01:01 25bc292e5bac: Verifying Checksum 12:01:01 25bc292e5bac: Download complete 12:01:01 52dc419b0ee2: Download complete 12:01:01 4657fd5d0bcf: Download complete 12:01:01 df9b9388f04a: Verifying Checksum 12:01:01 6ad1cebc031e: Verifying Checksum 12:01:01 6ad1cebc031e: Download complete 12:01:01 df9b9388f04a: Pull complete 12:01:01 52dc419b0ee2: Pull complete 12:01:01 25bc292e5bac: Pull complete 12:01:02 114826534d7a: Verifying Checksum 12:01:02 114826534d7a: Download complete 12:01:02 8a3aa393b2d8: Verifying Checksum 12:01:02 8a3aa393b2d8: Download complete 12:01:06 114826534d7a: Pull complete 12:01:06 4657fd5d0bcf: Pull complete 12:01:06 6ad1cebc031e: Pull complete 12:01:10 8a3aa393b2d8: Pull complete 12:01:10 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 12:01:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 12:01:10 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:01:10 prd-ubuntu20.04-docker-8c-8g-15710 does not seem to be running inside a container 12:01:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 12:01:14 $ docker top c9ffc3f9b8507e6ff97eae302f2bf1224a853eafb9dd40cdf509874b65b66995 -eo pid,comm [Pipeline] { [Pipeline] echo 12:01:14 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 12:01:14 + set -o pipefail 12:01:14 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 12:01:18 12:01:18 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 12:01:18 12:01:18 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/86d34ff3-ba75-441d-9d94-a5a9ca8d58f8 12:01:18 12:01:18 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 12:01:18 12:01:18 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 12:01:18 12:01:18 12:01:18 A medium severity vulnerability was found in the Snyk CLI versions you are using. 12:01:18 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 12:01:18 More details here: https://snyk.co/ue1NS [Pipeline] } 12:01:18 $ docker stop --time=1 c9ffc3f9b8507e6ff97eae302f2bf1224a853eafb9dd40cdf509874b65b66995 12:01:22 $ docker rm -f --volumes c9ffc3f9b8507e6ff97eae302f2bf1224a853eafb9dd40cdf509874b65b66995 [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 12:01:22 + git log --format=format:%s -1 2cc3518655efefba22ff17e7bf1dcccbd8773e75 [Pipeline] sh 12:01:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:01:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:01:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:01:23 prd-ubuntu20.04-docker-8c-8g-15710 does not seem to be running inside a container 12:01:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:01:24 $ docker top 22e03c132a4c28338a62aab4c1e763d945c093da5271139f151f686bb85e08d6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:01:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:01:24 [ssh-agent] Looking for ssh-agent implementation... 12:01:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:01:24 $ docker exec 22e03c132a4c28338a62aab4c1e763d945c093da5271139f151f686bb85e08d6 ssh-agent 12:01:24 SSH_AUTH_SOCK=/tmp/ssh-fgQlmhVd1OGK/agent.32 12:01:24 SSH_AGENT_PID=38 12:01:24 Running ssh-add (command line suppressed) 12:01:24 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16878739631446262471.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16878739631446262471.key) 12:01:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:01:24 + git semver tag 12:01:25 2023-05-16 12:01:24,917 [run_tag] DEBUG tag force:False 12:01:25 2023-05-16 12:01:24,917 [check_head_tag] DEBUG check head tag 12:01:25 2023-05-16 12:01:24,918 [execute] INFO git cat-file --batch-check 12:01:25 2023-05-16 12:01:24,918 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 12:01:25 2023-05-16 12:01:24,921 [execute] INFO git cat-file --batch 12:01:25 2023-05-16 12:01:24,921 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 12:01:25 2023-05-16 12:01:24,943 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 12:01:25 2023-05-16 12:01:24,944 [execute] INFO git tag -a v3.0.0-dev.41 -m v3.0.0-dev.41 12:01:25 2023-05-16 12:01:24,944 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.41', '-m', 'v3.0.0-dev.41'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 12:01:25 2023-05-16 12:01:24,947 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 12:01:25 3.0.0-dev.41 [Pipeline] } 12:01:25 $ docker exec --env ******** --env ******** 22e03c132a4c28338a62aab4c1e763d945c093da5271139f151f686bb85e08d6 ssh-agent -k 12:01:25 unset SSH_AUTH_SOCK; 12:01:25 unset SSH_AGENT_PID; 12:01:25 echo Agent pid 38 killed; 12:01:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:01:25 + git semver [Pipeline] } 12:01:25 $ docker stop --time=1 22e03c132a4c28338a62aab4c1e763d945c093da5271139f151f686bb85e08d6 12:01:26 $ docker rm -f --volumes 22e03c132a4c28338a62aab4c1e763d945c093da5271139f151f686bb85e08d6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:01:27 12:01:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:01:27 0.23.1-centos7: Pulling from edgex-lftools 12:01:27 ab5ef0e58194: Pulling fs layer 12:01:27 9712f1f96733: Pulling fs layer 12:01:27 63f879dbbcfc: Pulling fs layer 12:01:27 0d9ebad4ef96: Pulling fs layer 12:01:27 e9a5061849ea: Pulling fs layer 12:01:27 d747dcd14b5f: Pulling fs layer 12:01:27 2de7ff778b66: Pulling fs layer 12:01:27 0d9ebad4ef96: Waiting 12:01:27 e9a5061849ea: Waiting 12:01:27 d747dcd14b5f: Waiting 12:01:27 2de7ff778b66: Waiting 12:01:27 9712f1f96733: Verifying Checksum 12:01:27 9712f1f96733: Download complete 12:01:27 63f879dbbcfc: Verifying Checksum 12:01:27 63f879dbbcfc: Download complete 12:01:28 0d9ebad4ef96: Verifying Checksum 12:01:28 0d9ebad4ef96: Download complete 12:01:28 d747dcd14b5f: Verifying Checksum 12:01:28 d747dcd14b5f: Download complete 12:01:28 e9a5061849ea: Verifying Checksum 12:01:28 e9a5061849ea: Download complete 12:01:28 ab5ef0e58194: Verifying Checksum 12:01:28 ab5ef0e58194: Download complete 12:01:28 2de7ff778b66: Verifying Checksum 12:01:28 2de7ff778b66: Download complete 12:01:30 ab5ef0e58194: Pull complete 12:01:30 9712f1f96733: Pull complete 12:01:31 63f879dbbcfc: Pull complete 12:01:34 0d9ebad4ef96: Pull complete 12:01:34 e9a5061849ea: Pull complete 12:01:34 d747dcd14b5f: Pull complete 12:01:35 2de7ff778b66: Pull complete 12:01:35 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 12:01:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:01:35 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:01:35 prd-ubuntu20.04-docker-8c-8g-15710 does not seem to be running inside a container 12:01:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 12:01:40 $ docker top 78282d3e7910415d597fe0cccefd702578a7c2cc364e09d1d1e1b067b3cd948b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 12:01:41 provisioning config files... 12:01:41 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14470901355337782531tmp 12:01:41 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6802171264900016033tmp 12:01:41 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6716015063618677176tmp [Pipeline] { [Pipeline] echo 12:01:41 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 12:01:41 ---> sigul-configuration.sh 12:01:41 gpg: directory `/root/.gnupg' created 12:01:41 gpg: new configuration file `/root/.gnupg/gpg.conf' created 12:01:41 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 12:01:41 gpg: keyring `/root/.gnupg/secring.gpg' created 12:01:41 gpg: keyring `/root/.gnupg/pubring.gpg' created 12:01:41 gpg: CAST5 encrypted data 12:01:41 gpg: encrypted with 1 passphrase 12:01:41 gpg: WARNING: message was not integrity protected [Pipeline] sh 12:01:41 + mkdir /home/jenkins 12:01:41 + mkdir /home/jenkins/sigul [Pipeline] sh 12:01:41 + 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 12:01:41 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 12:01:42 ---> sigul-install.sh 12:01:42 Sigul already installed; skipping installation. [Pipeline] sh 12:01:42 + git tag --list 12:01:42 0.7.1 12:01:42 v1.0.0 12:01:42 v1.1.0 12:01:42 v1.1.1 12:01:42 v1.2.2 12:01:42 v1.3.0 12:01:42 v1.3.1 12:01:42 v2.0.0 12:01:42 v2.1.0 12:01:42 v2.1.1 12:01:42 v2.1.1-dev.1 12:01:42 v2.1.1-dev.2 12:01:42 v2.1.1-dev.3 12:01:42 v2.2.0 12:01:42 v2.2.1-dev.1 12:01:42 v2.2.1-dev.2 12:01:42 v2.2.1-dev.3 12:01:42 v2.2.1-dev.4 12:01:42 v2.2.1-dev.5 12:01:42 v2.2.1-dev.6 12:01:42 v2.2.1-dev.7 12:01:42 v2.3.0 12:01:42 v2.3.0-dev.10 12:01:42 v2.3.0-dev.11 12:01:42 v2.3.0-dev.12 12:01:42 v2.3.0-dev.13 12:01:42 v2.3.0-dev.14 12:01:42 v2.3.0-dev.15 12:01:42 v2.3.0-dev.16 12:01:42 v2.3.0-dev.17 12:01:42 v2.3.0-dev.18 12:01:42 v2.3.0-dev.19 12:01:42 v2.3.0-dev.20 12:01:42 v2.3.0-dev.21 12:01:42 v2.3.0-dev.22 12:01:42 v2.3.0-dev.23 12:01:42 v2.3.0-dev.24 12:01:42 v2.3.0-dev.25 12:01:42 v2.3.0-dev.7 12:01:42 v2.3.0-dev.8 12:01:42 v2.3.0-dev.9 12:01:42 v3.0.0-dev.1 12:01:42 v3.0.0-dev.10 12:01:42 v3.0.0-dev.11 12:01:42 v3.0.0-dev.12 12:01:42 v3.0.0-dev.13 12:01:42 v3.0.0-dev.14 12:01:42 v3.0.0-dev.15 12:01:42 v3.0.0-dev.16 12:01:42 v3.0.0-dev.17 12:01:42 v3.0.0-dev.18 12:01:42 v3.0.0-dev.19 12:01:42 v3.0.0-dev.2 12:01:42 v3.0.0-dev.20 12:01:42 v3.0.0-dev.21 12:01:42 v3.0.0-dev.22 12:01:42 v3.0.0-dev.23 12:01:42 v3.0.0-dev.24 12:01:42 v3.0.0-dev.25 12:01:42 v3.0.0-dev.26 12:01:42 v3.0.0-dev.27 12:01:42 v3.0.0-dev.28 12:01:42 v3.0.0-dev.29 12:01:42 v3.0.0-dev.3 12:01:42 v3.0.0-dev.30 12:01:42 v3.0.0-dev.31 12:01:42 v3.0.0-dev.32 12:01:42 v3.0.0-dev.33 12:01:42 v3.0.0-dev.34 12:01:42 v3.0.0-dev.35 12:01:42 v3.0.0-dev.36 12:01:42 v3.0.0-dev.37 12:01:42 v3.0.0-dev.38 12:01:42 v3.0.0-dev.39 12:01:42 v3.0.0-dev.4 12:01:42 v3.0.0-dev.40 12:01:42 v3.0.0-dev.41 12:01:42 v3.0.0-dev.5 12:01:42 v3.0.0-dev.6 12:01:42 v3.0.0-dev.7 12:01:42 v3.0.0-dev.8 12:01:42 v3.0.0-dev.9 [Pipeline] sh 12:01:42 + lftools sign git-tag v3.0.0-dev.41 12:01:43 Signing Git tag with Sigul... 12:01:43 Signing v3.0.0-dev.41 [Pipeline] echo 12:01:43 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 12:01:43 ---> sigul-configuration-cleanup.sh [Pipeline] } 12:01:43 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 12:01:43 $ docker stop --time=1 78282d3e7910415d597fe0cccefd702578a7c2cc364e09d1d1e1b067b3cd948b 12:01:45 $ docker rm -f --volumes 78282d3e7910415d597fe0cccefd702578a7c2cc364e09d1d1e1b067b3cd948b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 12:01:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:01:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:01:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:01:46 prd-ubuntu20.04-docker-8c-8g-15710 does not seem to be running inside a container 12:01:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:01:46 $ docker top 144843b54b758aca580321ce581b0308fc97589949ea1d4ead27cfcfed8b1273 -eo pid,comm 12:01:46 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). 12:01:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:01:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:01:46 [ssh-agent] Looking for ssh-agent implementation... 12:01:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:01:46 $ docker exec 144843b54b758aca580321ce581b0308fc97589949ea1d4ead27cfcfed8b1273 ssh-agent 12:01:46 SSH_AUTH_SOCK=/tmp/ssh-NW0VZZ4ExfQT/agent.32 12:01:46 SSH_AGENT_PID=38 12:01:46 Running ssh-add (command line suppressed) 12:01:46 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_430102999460377274.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_430102999460377274.key) 12:01:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:01:47 + git semver bump pre 12:01:47 2023-05-16 12:01:47,313 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 12:01:47 2023-05-16 12:01:47,313 [bump_version] DEBUG bumping version:3.0.0-dev.41 on axis:pre with prefix:dev 12:01:47 2023-05-16 12:01:47,314 [bump_version] DEBUG bumped version:3.0.0-dev.42 12:01:47 2023-05-16 12:01:47,314 [write_version] DEBUG write version:3.0.0-dev.42 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 12:01:47 2023-05-16 12:01:47,314 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 12:01:47 2023-05-16 12:01:47,314 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 12:01:47 2023-05-16 12:01:47,316 [execute] INFO git cat-file --batch-check 12:01:47 2023-05-16 12:01:47,316 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 12:01:47 2023-05-16 12:01:47,321 [execute] INFO git cat-file --batch 12:01:47 2023-05-16 12:01:47,321 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 12:01:47 2023-05-16 12:01:47,324 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 12:01:47 3.0.0-dev.42 [Pipeline] } 12:01:47 $ docker exec --env ******** --env ******** 144843b54b758aca580321ce581b0308fc97589949ea1d4ead27cfcfed8b1273 ssh-agent -k 12:01:47 unset SSH_AUTH_SOCK; 12:01:47 unset SSH_AGENT_PID; 12:01:47 echo Agent pid 38 killed; 12:01:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:01:47 + git semver [Pipeline] } 12:01:48 $ docker stop --time=1 144843b54b758aca580321ce581b0308fc97589949ea1d4ead27cfcfed8b1273 12:01:49 $ docker rm -f --volumes 144843b54b758aca580321ce581b0308fc97589949ea1d4ead27cfcfed8b1273 [Pipeline] // withDockerContainer [Pipeline] sh 12:01:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:01:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:01:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:01:50 prd-ubuntu20.04-docker-8c-8g-15710 does not seem to be running inside a container 12:01:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:01:50 $ docker top 7a9cf74f09ffa287c2a1313f3f228e280134089c7e6efc3a7963489a2b227ddc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:01:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:01:50 [ssh-agent] Looking for ssh-agent implementation... 12:01:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:01:50 $ docker exec 7a9cf74f09ffa287c2a1313f3f228e280134089c7e6efc3a7963489a2b227ddc ssh-agent 12:01:50 SSH_AUTH_SOCK=/tmp/ssh-PTIZ1sUuH7v5/agent.31 12:01:50 SSH_AGENT_PID=37 12:01:50 Running ssh-add (command line suppressed) 12:01:50 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14331118818741419714.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14331118818741419714.key) 12:01:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:01:51 + git semver push 12:01:51 2023-05-16 12:01:51,381 [run_push] DEBUG push 12:01:51 2023-05-16 12:01:51,381 [execute] INFO git cat-file --batch-check 12:01:51 2023-05-16 12:01:51,381 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 12:01:51 2023-05-16 12:01:51,385 [execute] INFO git rev-list e884e3d94d082d957305451ab703e895584ff2d1 -- 12:01:51 2023-05-16 12:01:51,386 [execute] DEBUG Popen(['git', 'rev-list', 'e884e3d94d082d957305451ab703e895584ff2d1', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 12:01:51 2023-05-16 12:01:51,393 [execute] INFO git fetch -v origin 12:01:51 2023-05-16 12:01:51,394 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 12:01:52 2023-05-16 12:01:51,888 [run_push] DEBUG no remote changes detected 12:01:52 2023-05-16 12:01:51,888 [execute] INFO git push origin semver 12:01:52 2023-05-16 12:01:51,889 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 12:01:52 2023-05-16 12:01:52,802 [run_push] DEBUG push all version tags 12:01:52 2023-05-16 12:01:52,803 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 12:01:52 2023-05-16 12:01:52,803 [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) 12:01:53 2023-05-16 12:01:53,605 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 12:01:53 3.0.0-dev.42 [Pipeline] } 12:01:53 $ docker exec --env ******** --env ******** 7a9cf74f09ffa287c2a1313f3f228e280134089c7e6efc3a7963489a2b227ddc ssh-agent -k 12:01:54 unset SSH_AUTH_SOCK; 12:01:54 unset SSH_AGENT_PID; 12:01:54 echo Agent pid 37 killed; 12:01:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:01:54 + git semver [Pipeline] } 12:01:54 $ docker stop --time=1 7a9cf74f09ffa287c2a1313f3f228e280134089c7e6efc3a7963489a2b227ddc 12:01:55 $ docker rm -f --volumes 7a9cf74f09ffa287c2a1313f3f228e280134089c7e6efc3a7963489a2b227ddc [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 12:01:56 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 12:01:56 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 12:01:56 total 16 12:01:56 drwxr-xr-x 3 root root 4096 May 16 11:50 . 12:01:56 drwxrwxr-x 11 jenkins jenkins 4096 May 16 12:01 .. 12:01:56 drwxr-xr-x 2 root root 4096 May 16 11:50 cost 12:01:56 -rw-r--r-- 1 root root 88 May 16 11:50 cost.csv 12:01:56 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 12:01:56 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 12:01:56 total 16 12:01:56 drwxr-xr-x 3 jenkins jenkins 4096 May 16 11:50 . 12:01:56 drwxrwxr-x 11 jenkins jenkins 4096 May 16 12:01 .. 12:01:56 drwxr-xr-x 2 jenkins jenkins 4096 May 16 11:50 cost 12:01:56 -rw-r--r-- 1 jenkins jenkins 88 May 16 11:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:01:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:01:57 ---> package-listing.sh 12:01:57 ++ facter osfamily 12:01:57 ++ tr '[:upper:]' '[:lower:]' 12:01:57 + OS_FAMILY=debian 12:01:57 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 12:01:57 + START_PACKAGES=/tmp/packages_start.txt 12:01:57 + END_PACKAGES=/tmp/packages_end.txt 12:01:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:01:57 + PACKAGES=/tmp/packages_start.txt 12:01:57 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 12:01:57 + PACKAGES=/tmp/packages_end.txt 12:01:57 + case "${OS_FAMILY}" in 12:01:57 + dpkg -l 12:01:57 + grep '^ii' 12:01:57 + '[' -f /tmp/packages_start.txt ']' 12:01:57 + '[' -f /tmp/packages_end.txt ']' 12:01:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:01:57 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 12:01:57 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 12:01:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 12:01:57 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 12:01:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:01:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:01:58 prd-ubuntu20.04-docker-8c-8g-15710 does not seem to be running inside a container 12:01:58 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:01:59 $ docker top 5bc1871ef331fc52dbc822f3350417835bf66fd69d17974549e2dadf57435c80 -eo pid,comm [Pipeline] { [Pipeline] sh 12:01:59 + touch /tmp/pre-build-complete [Pipeline] sh 12:01:59 + mkdir -p /var/log/sysstat [Pipeline] sh 12:02:00 + ls /var/log/sa-host 12:02:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:02:00 provisioning config files... 12:02:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12023334682191721586tmp [Pipeline] { [Pipeline] echo 12:02:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:02:00 ---> create-netrc.sh [Pipeline] } 12:02:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:02:00 ---> python-tools-install.sh [Pipeline] echo 12:02:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:02:01 ---> sudo-logs.sh 12:02:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:02:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:02:01 ---> job-cost.sh 12:02:01 lf-activate-venv: SKIPPING 12:02:01 DEBUG: total: 0.2199999988079071 12:02:01 INFO: Retrieving Stack Cost... 12:02:01 INFO: Retrieving Pricing Info for: v3-standard-8 12:02:02 INFO: Archiving Costs [Pipeline] echo 12:02:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:02:02 ---> logs-deploy.sh 12:02:02 lf-activate-venv: SKIPPING 12:02:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/107 12:02:02 INFO: archiving workspace using pattern(s): 12:02:03 Archives upload complete. 12:02:03 INFO: archiving logs to Nexus