Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b 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-ssh8022674683665596704.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh6694150400921563374.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh679063596604084349.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh16774277442510269731.key Verifying host key using known hosts file > 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-ssh2552482559616722884.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-1432’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1435 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b (main) Commit message: "build: Add option to build Service with NATS Capability (#376)" > 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 6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b # timeout=10 > git rev-list --no-walk 892226c059eb5a0163287d1d4603e2b9857b6e84 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:47:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:47:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:47:09 ========================================================= 21:47:09 EdgeX Global Pipelines Version Info 21:47:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:47:10 ------------------- 21:47:10 stable info: 21:47:10 ------------------- 21:47:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:47:10 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:47:10 Message: update stable to v1.0.239 21:47:10 ------------------- 21:47:10 experimental info: 21:47:10 ------------------- 21:47:10 Commited By: **** collab-it+edgex@linuxfoundation.org 21:47:10 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:47:10 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:47:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 21:47:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 21:47:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:47:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:47:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:47:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:47:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:47:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:47:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:47:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:47:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:47:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 21:47:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:47:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:47:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:47:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:47:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:47:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:47:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:47:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:47:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:47:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:47:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:47:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:47:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:47:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:47:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:47:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:47:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:47:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:47:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b [Pipeline] echo 21:47:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6ac2f22 [Pipeline] echo 21:47:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:47:11 provisioning config files... 21:47:11 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16814964456200670509tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:47:11 ---> docker-login.sh 21:47:11 nexus3.edgexfoundry.org:10001 21:47:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:11 Configure a credential helper to remove this warning. See 21:47:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:11 21:47:11 Login Succeeded 21:47:11 nexus3.edgexfoundry.org:10002 21:47:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:11 Configure a credential helper to remove this warning. See 21:47:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:11 21:47:11 Login Succeeded 21:47:11 nexus3.edgexfoundry.org:10003 21:47:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:12 Configure a credential helper to remove this warning. See 21:47:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:12 21:47:12 Login Succeeded 21:47:12 nexus3.edgexfoundry.org:10004 21:47:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:12 Configure a credential helper to remove this warning. See 21:47:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:12 21:47:12 Login Succeeded 21:47:12 docker.io 21:47:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:12 Configure a credential helper to remove this warning. See 21:47:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:12 21:47:12 Login Succeeded 21:47:12 ---> docker-login.sh ends [Pipeline] } 21:47:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:47:12 + git rev-list -1 --merges 6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b~1..6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b [Pipeline] echo 21:47:12 -----------> git rev-list -1 --merges 6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b~1..6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b 6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b [false] [Pipeline] sh 21:47:13 + git log --format=format:%s -1 6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b [Pipeline] echo 21:47:13 ========================================================= 21:47:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:47:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:47:13 + git log --format=format:%s -1 6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b [Pipeline] echo 21:47:13 [semverPrep] GIT_COMMIT: 6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b, Commit Message: build: Add option to build Service with NATS Capability (#376) [Pipeline] echo 21:47:13 [semverPrep] This is not a build commit. [Pipeline] sh 21:47:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:47:13 + grep -v github /etc/ssh/ssh_known_hosts 21:47:13 + [ -e /tmp/ssh_known_hosts ] 21:47:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:47:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:47:13 + sudo tee -a /etc/ssh/ssh_known_hosts 21:47:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:47:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:47:14 21:47:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:47:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:47:14 0.1.4: Pulling from edgex-devops/py-git-semver 21:47:14 b85a868b505f: Pulling fs layer 21:47:14 e2be974225ed: Pulling fs layer 21:47:14 339a4e72a1f5: Pulling fs layer 21:47:14 988bab9f4d93: Pulling fs layer 21:47:14 1469e6f7b9e6: Pulling fs layer 21:47:14 eaf3925da568: Pulling fs layer 21:47:14 bab4dde63d76: Pulling fs layer 21:47:14 bde34c3a00c8: Pulling fs layer 21:47:14 b352a97aabf1: Pulling fs layer 21:47:14 4872d77fe225: Pulling fs layer 21:47:14 5851b861e8e6: Pulling fs layer 21:47:14 988bab9f4d93: Waiting 21:47:14 eaf3925da568: Waiting 21:47:14 bab4dde63d76: Waiting 21:47:14 bde34c3a00c8: Waiting 21:47:14 1469e6f7b9e6: Waiting 21:47:14 b352a97aabf1: Waiting 21:47:14 5851b861e8e6: Waiting 21:47:14 e2be974225ed: Download complete 21:47:14 988bab9f4d93: Verifying Checksum 21:47:14 988bab9f4d93: Download complete 21:47:14 1469e6f7b9e6: Verifying Checksum 21:47:14 1469e6f7b9e6: Download complete 21:47:14 eaf3925da568: Verifying Checksum 21:47:14 eaf3925da568: Download complete 21:47:14 339a4e72a1f5: Verifying Checksum 21:47:14 339a4e72a1f5: Download complete 21:47:14 bde34c3a00c8: Verifying Checksum 21:47:14 bde34c3a00c8: Download complete 21:47:14 b352a97aabf1: Verifying Checksum 21:47:14 b352a97aabf1: Download complete 21:47:14 4872d77fe225: Verifying Checksum 21:47:14 4872d77fe225: Download complete 21:47:14 5851b861e8e6: Download complete 21:47:14 b85a868b505f: Verifying Checksum 21:47:14 b85a868b505f: Download complete 21:47:15 bab4dde63d76: Verifying Checksum 21:47:15 bab4dde63d76: Download complete 21:47:16 b85a868b505f: Pull complete 21:47:16 e2be974225ed: Pull complete 21:47:16 339a4e72a1f5: Pull complete 21:47:16 988bab9f4d93: Pull complete 21:47:17 1469e6f7b9e6: Pull complete 21:47:17 eaf3925da568: Pull complete 21:47:19 bab4dde63d76: Pull complete 21:47:19 bde34c3a00c8: Pull complete 21:47:19 b352a97aabf1: Pull complete 21:47:19 4872d77fe225: Pull complete 21:47:19 5851b861e8e6: Pull complete 21:47:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:47:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:47:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:47:19 prd-ubuntu20.04-docker-8c-8g-1435 does not seem to be running inside a container 21:47:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:47:21 $ docker top a83d87477c05af262488b100f2e3ddb0769c14bb497fd1cefb71121a1edd048c -eo pid,comm 21:47:21 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). 21:47:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:47:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:47:21 [ssh-agent] Looking for ssh-agent implementation... 21:47:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:47:21 $ docker exec a83d87477c05af262488b100f2e3ddb0769c14bb497fd1cefb71121a1edd048c ssh-agent 21:47:22 SSH_AUTH_SOCK=/tmp/ssh-3iYou0SAWHCW/agent.31 21:47:22 SSH_AGENT_PID=37 21:47:22 Running ssh-add (command line suppressed) 21:47:22 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17077124867604074475.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17077124867604074475.key) 21:47:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:47:22 + git tag --points-at HEAD [Pipeline] } 21:47:22 $ docker exec --env ******** --env ******** a83d87477c05af262488b100f2e3ddb0769c14bb497fd1cefb71121a1edd048c ssh-agent -k 21:47:22 unset SSH_AUTH_SOCK; 21:47:22 unset SSH_AGENT_PID; 21:47:22 echo Agent pid 37 killed; 21:47:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:47:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:47:22 [ssh-agent] Looking for ssh-agent implementation... 21:47:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:47:22 $ docker exec a83d87477c05af262488b100f2e3ddb0769c14bb497fd1cefb71121a1edd048c ssh-agent 21:47:22 SSH_AUTH_SOCK=/tmp/ssh-U6NadpfxTO9c/agent.69 21:47:22 SSH_AGENT_PID=75 21:47:22 Running ssh-add (command line suppressed) 21:47:22 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16963961870723211814.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16963961870723211814.key) 21:47:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:47:23 + git semver init 21:47:23 2022-09-27 21:47:23,427 [run_init] DEBUG init version:0.0.0 force:False 21:47:23 2022-09-27 21:47:23,428 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 21:47:23 2022-09-27 21:47:23,429 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 21:47:23 2022-09-27 21:47:23,429 [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) 21:47:24 2022-09-27 21:47:24,256 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 21:47:24 2022-09-27 21:47:24,256 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 21:47:24 2022-09-27 21:47:24,256 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:47:24 2022-09-27 21:47:24,256 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:47:24 2.3.0-dev.14 [Pipeline] } 21:47:24 $ docker exec --env ******** --env ******** a83d87477c05af262488b100f2e3ddb0769c14bb497fd1cefb71121a1edd048c ssh-agent -k 21:47:24 unset SSH_AUTH_SOCK; 21:47:24 unset SSH_AGENT_PID; 21:47:24 echo Agent pid 75 killed; 21:47:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:47:24 + git semver [Pipeline] } 21:47:25 $ docker stop --time=1 a83d87477c05af262488b100f2e3ddb0769c14bb497fd1cefb71121a1edd048c 21:47:26 $ docker rm -f a83d87477c05af262488b100f2e3ddb0769c14bb497fd1cefb71121a1edd048c [Pipeline] // withDockerContainer [Pipeline] sh 21:47:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:47:26 Stashed 1 file(s) [Pipeline] echo 21:47:26 [edgeXSemver]: initialized semver on version 2.3.0-dev.14 [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 21:47:27 provisioning config files... 21:47:27 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15479997720320307830tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:47:27 ---> docker-login.sh 21:47:27 nexus3.edgexfoundry.org:10001 21:47:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:27 Configure a credential helper to remove this warning. See 21:47:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:27 21:47:27 Login Succeeded 21:47:27 nexus3.edgexfoundry.org:10002 21:47:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:27 Configure a credential helper to remove this warning. See 21:47:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:27 21:47:27 Login Succeeded 21:47:27 nexus3.edgexfoundry.org:10003 21:47:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:27 Configure a credential helper to remove this warning. See 21:47:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:27 21:47:27 Login Succeeded 21:47:27 nexus3.edgexfoundry.org:10004 21:47:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:27 Configure a credential helper to remove this warning. See 21:47:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:27 21:47:27 Login Succeeded 21:47:27 docker.io 21:47:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:47:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:47:28 Configure a credential helper to remove this warning. See 21:47:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:47:28 21:47:28 Login Succeeded 21:47:28 ---> docker-login.sh ends [Pipeline] } 21:47:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:47:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:47:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:47:28 ========================================================= 21:47:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:47:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:47:28 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:47:28 Sending build context to Docker daemon 6.139MB 21:47:28 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 21:47:28 Step 2/11 : FROM ${BASE} AS builder 21:47:28 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:47:28 2408cc74d12b: Pulling fs layer 21:47:28 ea60b727a1ce: Pulling fs layer 21:47:28 30c4a7721957: Pulling fs layer 21:47:28 370296b7ddb6: Pulling fs layer 21:47:28 7c6cee850709: Pulling fs layer 21:47:28 39a5fcdaea64: Pulling fs layer 21:47:28 d94ebbe4e438: Pulling fs layer 21:47:28 7c6cee850709: Waiting 21:47:28 39a5fcdaea64: Waiting 21:47:28 bcfd1f05c69d: Pulling fs layer 21:47:28 59ccb84bbe0f: Pulling fs layer 21:47:28 d94ebbe4e438: Waiting 21:47:28 bcfd1f05c69d: Waiting 21:47:28 59ccb84bbe0f: Waiting 21:47:28 30c4a7721957: Verifying Checksum 21:47:28 30c4a7721957: Download complete 21:47:28 ea60b727a1ce: Verifying Checksum 21:47:28 ea60b727a1ce: Download complete 21:47:28 7c6cee850709: Download complete 21:47:28 39a5fcdaea64: Verifying Checksum 21:47:28 39a5fcdaea64: Download complete 21:47:28 2408cc74d12b: Verifying Checksum 21:47:28 2408cc74d12b: Download complete 21:47:28 d94ebbe4e438: Verifying Checksum 21:47:28 d94ebbe4e438: Download complete 21:47:28 2408cc74d12b: Pull complete 21:47:29 ea60b727a1ce: Pull complete 21:47:29 30c4a7721957: Pull complete 21:47:29 59ccb84bbe0f: Verifying Checksum 21:47:29 59ccb84bbe0f: Download complete 21:47:29 370296b7ddb6: Download complete 21:47:29 bcfd1f05c69d: Verifying Checksum 21:47:29 bcfd1f05c69d: Download complete 21:47:33 370296b7ddb6: Pull complete 21:47:33 7c6cee850709: Pull complete 21:47:33 39a5fcdaea64: Pull complete 21:47:33 d94ebbe4e438: Pull complete 21:47:35 bcfd1f05c69d: Pull complete 21:47:36 59ccb84bbe0f: Pull complete 21:47:36 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 21:47:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:47:36 ---> a4fb48ad2a94 21:47:36 Step 3/11 : ARG ADD_BUILD_TAGS="" 21:47:40 ---> Running in 619497cab366 21:47:40 Removing intermediate container 619497cab366 21:47:40 ---> dc72c1f738fe 21:47:40 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:47:40 ---> Running in 178b8a61cd7b 21:47:40 Removing intermediate container 178b8a61cd7b 21:47:40 ---> 65ff07c6c6de 21:47:40 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:47:40 ---> Running in 72b0be9646af 21:47:40 Removing intermediate container 72b0be9646af 21:47:40 ---> 4a0a96633c49 21:47:40 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 21:47:40 ---> Running in 44c9f88d9527 21:47:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:47:41 Still waiting to schedule task 21:47:41 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1433’ is offline 21:47:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:47:42 (1/8) Installing openssh-keygen (9.0_p1-r2) 21:47:42 (2/8) Installing libedit (20210910.3.1-r0) 21:47:42 (3/8) Installing openssh-client-common (9.0_p1-r2) 21:47:42 (4/8) Installing openssh-client-default (9.0_p1-r2) 21:47:42 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 21:47:42 (6/8) Installing openssh-server-common (9.0_p1-r2) 21:47:42 (7/8) Installing openssh-server (9.0_p1-r2) 21:47:42 (8/8) Installing openssh (9.0_p1-r2) 21:47:42 Executing busybox-1.35.0-r13.trigger 21:47:42 OK: 217 MiB in 59 packages 21:47:43 Removing intermediate container 44c9f88d9527 21:47:43 ---> d1967d09077c 21:47:43 Step 7/11 : WORKDIR /device-modbus-go 21:47:43 ---> Running in f67eef424008 21:47:43 Removing intermediate container f67eef424008 21:47:43 ---> 6fb67c3ed7e0 21:47:43 Step 8/11 : COPY go.mod vendor* ./ 21:47:43 ---> 6c3ed0cbe733 21:47:43 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:47:43 ---> Running in 565f4ddc13af 21:48:02 Removing intermediate container 565f4ddc13af 21:48:02 ---> 979b550ed312 21:48:02 Step 10/11 : COPY . . 21:48:02 ---> 84dcea0f4994 21:48:02 Step 11/11 : RUN ${MAKE} 21:48:02 ---> Running in d54f2255da83 21:48:02 noop 21:48:02 Removing intermediate container d54f2255da83 21:48:02 ---> 0b294ccc55cd 21:48:02 Successfully built 0b294ccc55cd 21:48:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:03 + docker inspect -f . ci-base-image-x86_64 21:48:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:48:03 prd-ubuntu20.04-docker-8c-8g-1435 does not seem to be running inside a container 21:48:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:48:03 $ docker top b73f1c42ebe9cc3bb16725bdb2dbb4bd10ff2a5c612919a41a72d1e76c6a2d67 -eo pid,comm [Pipeline] { [Pipeline] sh 21:48:03 + go version 21:48:03 go version go1.18.3 linux/amd64 [Pipeline] } 21:48:03 $ docker stop --time=1 b73f1c42ebe9cc3bb16725bdb2dbb4bd10ff2a5c612919a41a72d1e76c6a2d67 21:48:05 $ docker rm -f b73f1c42ebe9cc3bb16725bdb2dbb4bd10ff2a5c612919a41a72d1e76c6a2d67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:05 + docker inspect -f . ci-base-image-x86_64 21:48:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:48:05 prd-ubuntu20.04-docker-8c-8g-1435 does not seem to be running inside a container 21:48:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:48:06 $ docker top e9cab2ffca64401592a6ce0a77af8a55dfa0ce8bf9002602538fdba08b6407bb -eo pid,comm [Pipeline] { [Pipeline] sh 21:48:06 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 21:48:06 + make test 21:48:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 21:48:06 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:48:16 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:48:16 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 47.7% of statements 21:48:23 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 21:48:23 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:48:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:48:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:48:26 ./bin/test-attribution-txt.sh [Pipeline] echo 21:48:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:48:26 $ docker stop --time=1 e9cab2ffca64401592a6ce0a77af8a55dfa0ce8bf9002602538fdba08b6407bb 21:48:28 $ docker rm -f e9cab2ffca64401592a6ce0a77af8a55dfa0ce8bf9002602538fdba08b6407bb [Pipeline] // withDockerContainer [Pipeline] sh 21:48:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:48:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:48:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:48:30 + ls -al . 21:48:30 total 188 21:48:30 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 21:48 . 21:48:30 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:47 .. 21:48:30 -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 21:47 .dockerignore 21:48:30 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 21:48 .git 21:48:30 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:47 .github 21:48:30 -rw-rw-r-- 1 jenkins jenkins 331 Sep 27 21:47 .gitignore 21:48:30 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 21:47 .golangci.yml 21:48:30 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 21:47 .semver 21:48:30 -rw-rw-r-- 1 jenkins jenkins 10121 Sep 27 21:47 Attribution.txt 21:48:30 -rw-rw-r-- 1 jenkins jenkins 10001 Sep 27 21:47 CHANGELOG.md 21:48:30 -rw-rw-r-- 1 jenkins jenkins 1606 Sep 27 21:47 Dockerfile 21:48:30 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 21:47 GOVERNANCE.md 21:48:30 -rw-rw-r-- 1 jenkins jenkins 680 Sep 27 21:47 Jenkinsfile 21:48:30 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 21:47 LICENSE 21:48:30 -rw-rw-r-- 1 jenkins jenkins 2101 Sep 27 21:47 Makefile 21:48:30 -rw-rw-r-- 1 jenkins jenkins 622 Sep 27 21:47 OWNERS.md 21:48:30 -rw-rw-r-- 1 jenkins jenkins 4061 Sep 27 21:47 README.md 21:48:30 -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 21:47 VERSION 21:48:30 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:47 bin 21:48:30 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:47 cmd 21:48:30 -rw-r--r-- 1 jenkins jenkins 23241 Sep 27 21:48 coverage.out 21:48:30 -rw-rw-r-- 1 jenkins jenkins 3643 Sep 27 21:47 go.mod 21:48:30 -rw-rw-r-- 1 jenkins jenkins 38287 Sep 27 21:47 go.sum 21:48:30 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:47 internal 21:48:30 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:47 simulator 21:48:30 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:47 snap 21:48:30 -rw-rw-r-- 1 jenkins jenkins 229 Sep 27 21:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:30 + 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=6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b --label arch=amd64 --label version=2.3.0-dev.14 . 21:48:30 Sending build context to Docker daemon 6.163MB 21:48:30 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 21:48:30 Step 2/24 : FROM ${BASE} AS builder 21:48:30 ---> 0b294ccc55cd 21:48:30 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:48:30 ---> Running in a233623b6edc 21:48:30 Removing intermediate container a233623b6edc 21:48:30 ---> 739aef750174 21:48:30 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:48:30 ---> Running in 1c3a2a8ea2d9 21:48:30 Removing intermediate container 1c3a2a8ea2d9 21:48:30 ---> c657e656019f 21:48:30 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:48:30 ---> Running in 48ec621ab403 21:48:31 Removing intermediate container 48ec621ab403 21:48:31 ---> d1572e2f9b6c 21:48:31 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 21:48:31 ---> Running in da5f86580636 21:48:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:48:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:48:32 OK: 217 MiB in 59 packages 21:48:32 Removing intermediate container da5f86580636 21:48:32 ---> 3153173f1780 21:48:32 Step 7/24 : WORKDIR /device-modbus-go 21:48:32 ---> Running in 1ee181d46924 21:48:32 Removing intermediate container 1ee181d46924 21:48:32 ---> 8dc4e2aa27f9 21:48:32 Step 8/24 : COPY go.mod vendor* ./ 21:48:33 ---> 72579c6bdf9e 21:48:33 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:48:33 ---> Running in 1cb683550ee5 21:48:33 Removing intermediate container 1cb683550ee5 21:48:33 ---> b99e32889192 21:48:33 Step 10/24 : COPY . . 21:48:34 ---> 794c884e67c9 21:48:34 Step 11/24 : RUN ${MAKE} 21:48:34 ---> Running in 1782e6686a6d 21:48:34 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.14" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 21:48:56 Removing intermediate container 1782e6686a6d 21:48:56 ---> 3cd2e7e7e3cf 21:48:56 Step 12/24 : FROM alpine:3.14 21:48:56 3.14: Pulling from library/alpine 21:48:56 c7ed990a2339: Pulling fs layer 21:48:56 c7ed990a2339: Verifying Checksum 21:48:56 c7ed990a2339: Download complete 21:48:56 c7ed990a2339: Pull complete 21:48:56 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 21:48:56 Status: Downloaded newer image for alpine:3.14 21:48:56 ---> dd53f409bf0b 21:48:56 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:48:56 ---> Running in 1aa461ef0f03 21:48:56 Removing intermediate container 1aa461ef0f03 21:48:56 ---> 31d8d78401fd 21:48:56 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:48:56 ---> Running in 6a99670a0489 21:48:56 Removing intermediate container 6a99670a0489 21:48:56 ---> 23a28a854cc4 21:48:56 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 21:48:56 ---> Running in 85918fa98d4e 21:48:56 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 21:48:57 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 21:48:57 (1/6) Installing dumb-init (1.2.5-r1) 21:48:57 (2/6) Installing libgcc (10.3.1_git20210424-r2) 21:48:57 (3/6) Installing libsodium (1.0.18-r0) 21:48:57 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 21:48:58 (5/6) Installing libzmq (4.3.4-r0) 21:48:58 (6/6) Installing zeromq (4.3.4-r0) 21:48:58 Executing busybox-1.33.1-r8.trigger 21:48:58 OK: 8 MiB in 20 packages 21:48:58 Removing intermediate container 85918fa98d4e 21:48:58 ---> 97e2ae7f520f 21:48:58 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 21:48:59 ---> 5eb35d5e0732 21:48:59 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 21:48:59 ---> 87d56b8e69ee 21:48:59 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:48:59 ---> 3b0e5d99d9fc 21:48:59 Step 19/24 : EXPOSE 59901 21:48:59 ---> Running in 0e8f435e28f5 21:48:59 Removing intermediate container 0e8f435e28f5 21:48:59 ---> d451670dfc41 21:48:59 Step 20/24 : ENTRYPOINT ["/device-modbus"] 21:48:59 ---> Running in 830cd5539f86 21:48:59 Removing intermediate container 830cd5539f86 21:48:59 ---> 6ec5a0427407 21:48:59 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:48:59 ---> Running in a1f100c5e7b5 21:48:59 Removing intermediate container a1f100c5e7b5 21:48:59 ---> 393aabcc0f4e 21:48:59 Step 22/24 : LABEL arch=amd64 21:48:59 ---> Running in 32e6397876f0 21:48:59 Removing intermediate container 32e6397876f0 21:48:59 ---> 5fb06b75b4fe 21:48:59 Step 23/24 : LABEL git_sha=6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b 21:48:59 ---> Running in d42b8dfa4f73 21:48:59 Removing intermediate container d42b8dfa4f73 21:48:59 ---> 8e9dbd8daf4b 21:48:59 Step 24/24 : LABEL version=2.3.0-dev.14 21:48:59 ---> Running in eb46de3fabdc 21:48:59 Removing intermediate container eb46de3fabdc 21:48:59 ---> 218c039561e0 21:48:59 [Warning] One or more build-args [ARCH] were not consumed 21:48:59 Successfully built 218c039561e0 21:49:00 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:49:00 provisioning config files... 21:49:00 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7206491364897163531tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:49:00 ---> docker-login.sh 21:49:00 nexus3.edgexfoundry.org:10001 21:49:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:00 Configure a credential helper to remove this warning. See 21:49:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:00 21:49:00 Login Succeeded 21:49:00 nexus3.edgexfoundry.org:10002 21:49:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:00 Configure a credential helper to remove this warning. See 21:49:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:00 21:49:00 Login Succeeded 21:49:00 nexus3.edgexfoundry.org:10003 21:49:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:00 Configure a credential helper to remove this warning. See 21:49:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:00 21:49:00 Login Succeeded 21:49:00 nexus3.edgexfoundry.org:10004 21:49:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:00 Configure a credential helper to remove this warning. See 21:49:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:00 21:49:00 Login Succeeded 21:49:00 docker.io 21:49:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:01 Configure a credential helper to remove this warning. See 21:49:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:01 21:49:01 Login Succeeded 21:49:01 ---> docker-login.sh ends [Pipeline] } 21:49:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:49:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:49:01 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 21:49:01 6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b 21:49:01 latest 21:49:01 2.3.0-dev.14 21:49:01 6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b-2.3.0-dev.14 21:49:01 main 21:49:01 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:01 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:02 + docker push nexus3.edgexfoundry.org:10004/device-modbus:6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b 21:49:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 21:49:02 013463914517: Preparing 21:49:02 ed59ae43d447: Preparing 21:49:02 35c453b685c2: Preparing 21:49:02 ad18d59abf31: Preparing 21:49:02 e9873a2ac854: Preparing 21:49:02 63493a9ab2d4: Preparing 21:49:02 63493a9ab2d4: Waiting 21:49:02 ed59ae43d447: Pushed 21:49:02 013463914517: Pushed 21:49:02 e9873a2ac854: Pushed 21:49:02 63493a9ab2d4: Layer already exists 21:49:02 ad18d59abf31: Pushed 21:49:04 35c453b685c2: Pushed 21:49:04 6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b: digest: sha256:a915b5d030d6a2a5e58ca4ba821d13ae2b638e8f366d740ba594997dfe1d7f97 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:05 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:05 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 21:49:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 21:49:05 013463914517: Preparing 21:49:05 ed59ae43d447: Preparing 21:49:05 35c453b685c2: Preparing 21:49:05 ad18d59abf31: Preparing 21:49:05 e9873a2ac854: Preparing 21:49:05 63493a9ab2d4: Preparing 21:49:05 63493a9ab2d4: Waiting 21:49:05 ed59ae43d447: Layer already exists 21:49:05 013463914517: Layer already exists 21:49:05 ad18d59abf31: Layer already exists 21:49:05 e9873a2ac854: Layer already exists 21:49:05 35c453b685c2: Layer already exists 21:49:05 63493a9ab2d4: Layer already exists 21:49:05 latest: digest: sha256:a915b5d030d6a2a5e58ca4ba821d13ae2b638e8f366d740ba594997dfe1d7f97 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:05 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:06 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.14 21:49:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 21:49:06 013463914517: Preparing 21:49:06 ed59ae43d447: Preparing 21:49:06 35c453b685c2: Preparing 21:49:06 ad18d59abf31: Preparing 21:49:06 e9873a2ac854: Preparing 21:49:06 63493a9ab2d4: Preparing 21:49:06 63493a9ab2d4: Waiting 21:49:06 35c453b685c2: Layer already exists 21:49:06 e9873a2ac854: Layer already exists 21:49:06 ed59ae43d447: Layer already exists 21:49:06 ad18d59abf31: Layer already exists 21:49:06 013463914517: Layer already exists 21:49:06 63493a9ab2d4: Layer already exists 21:49:06 2.3.0-dev.14: digest: sha256:a915b5d030d6a2a5e58ca4ba821d13ae2b638e8f366d740ba594997dfe1d7f97 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:06 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b-2.3.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:06 + docker push nexus3.edgexfoundry.org:10004/device-modbus:6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b-2.3.0-dev.14 21:49:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 21:49:06 013463914517: Preparing 21:49:06 ed59ae43d447: Preparing 21:49:06 35c453b685c2: Preparing 21:49:06 ad18d59abf31: Preparing 21:49:06 e9873a2ac854: Preparing 21:49:06 63493a9ab2d4: Preparing 21:49:06 63493a9ab2d4: Waiting 21:49:06 35c453b685c2: Layer already exists 21:49:06 ed59ae43d447: Layer already exists 21:49:06 e9873a2ac854: Layer already exists 21:49:06 013463914517: Layer already exists 21:49:06 ad18d59abf31: Layer already exists 21:49:06 63493a9ab2d4: Layer already exists 21:49:06 6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b-2.3.0-dev.14: digest: sha256:a915b5d030d6a2a5e58ca4ba821d13ae2b638e8f366d740ba594997dfe1d7f97 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:07 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:07 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 21:49:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 21:49:07 013463914517: Preparing 21:49:07 ed59ae43d447: Preparing 21:49:07 35c453b685c2: Preparing 21:49:07 ad18d59abf31: Preparing 21:49:07 e9873a2ac854: Preparing 21:49:07 63493a9ab2d4: Preparing 21:49:07 ed59ae43d447: Layer already exists 21:49:07 ad18d59abf31: Layer already exists 21:49:07 013463914517: Layer already exists 21:49:07 e9873a2ac854: Layer already exists 21:49:07 35c453b685c2: Layer already exists 21:49:07 63493a9ab2d4: Layer already exists 21:49:07 main: digest: sha256:a915b5d030d6a2a5e58ca4ba821d13ae2b638e8f366d740ba594997dfe1d7f97 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:49:07 ===================================================== [Pipeline] echo 21:49:07 taggedImages: 21:49:07 - nexus3.edgexfoundry.org:10004/device-modbus:6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b 21:49:07 - nexus3.edgexfoundry.org:10004/device-modbus:latest 21:49:07 - nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.14 21:49:07 - nexus3.edgexfoundry.org:10004/device-modbus:6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b-2.3.0-dev.14 21:49:07 - 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 21:49:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:49:07 21:49:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:49:08 latest: Pulling from edgex-lftools-log-publisher 21:49:08 5eb5b503b376: Pulling fs layer 21:49:08 5c69ac0246d0: Pulling fs layer 21:49:08 ec43610c2a17: Pulling fs layer 21:49:08 3a2ae6a8a46f: Pulling fs layer 21:49:08 33b1e0a273af: Pulling fs layer 21:49:08 5d3b04190fa2: Pulling fs layer 21:49:08 2f39f015ded8: Pulling fs layer 21:49:08 5d3b04190fa2: Waiting 21:49:08 2f39f015ded8: Waiting 21:49:08 3a2ae6a8a46f: Waiting 21:49:08 33b1e0a273af: Waiting 21:49:08 5c69ac0246d0: Download complete 21:49:08 3a2ae6a8a46f: Verifying Checksum 21:49:08 3a2ae6a8a46f: Download complete 21:49:08 33b1e0a273af: Verifying Checksum 21:49:08 33b1e0a273af: Download complete 21:49:08 ec43610c2a17: Verifying Checksum 21:49:08 ec43610c2a17: Download complete 21:49:08 5d3b04190fa2: Verifying Checksum 21:49:08 5d3b04190fa2: Download complete 21:49:08 5eb5b503b376: Download complete 21:49:08 2f39f015ded8: Download complete 21:49:09 5eb5b503b376: Pull complete 21:49:09 5c69ac0246d0: Pull complete 21:49:10 ec43610c2a17: Pull complete 21:49:10 3a2ae6a8a46f: Pull complete 21:49:10 33b1e0a273af: Pull complete 21:49:10 5d3b04190fa2: Pull complete 21:49:14 2f39f015ded8: Pull complete 21:49:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:49:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:49:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:49:14 prd-ubuntu20.04-docker-8c-8g-1435 does not seem to be running inside a container 21:49:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:49:18 $ docker top 2d0366336a2fbf29d0b89462175d3482de1be7cc60b4a9995f4b33fd56ffd598 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:49:18 ---> job-cost.sh 21:49:18 lf-activate-venv: SKIPPING 21:49:18 INFO: No Stack... 21:49:18 INFO: Retrieving Pricing Info for: v3-standard-8 21:49:19 INFO: Archiving Costs [Pipeline] sh 21:49:19 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 21:49:19 + cut -d, -f6 [Pipeline] lock 21:49:19 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-53-stack-cost] 21:49:19 Resource [jenkins-edgexfoundry-device-modbus-go-main-53-stack-cost] did not exist. Created. 21:49:19 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:49:19 + echo total: 0.2199999988079071 [Pipeline] stash 21:49:19 Stashed 1 file(s) [Pipeline] } 21:49:19 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-53-stack-cost] [Pipeline] // lock [Pipeline] } 21:49:19 $ docker stop --time=1 2d0366336a2fbf29d0b89462175d3482de1be7cc60b4a9995f4b33fd56ffd598 21:49:21 $ docker rm -f 2d0366336a2fbf29d0b89462175d3482de1be7cc60b4a9995f4b33fd56ffd598 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:49:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1439 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 21:49:51 Running in /w/workspace/device-modbus-go/53 [Pipeline] { [Pipeline] checkout 21:49:51 Selected Git installation does not exist. Using Default 21:49:51 The recommended git tool is: NONE 21:49:57 using credential edgex-jenkins-ssh 21:49:57 Cloning the remote Git repository 21:49:57 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 21:49:57 > git init /w/workspace/device-modbus-go/53 # timeout=10 21:49:57 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 21:49:57 > git --version # timeout=10 21:49:57 > git --version # 'git version 2.25.1' 21:49:57 using GIT_SSH to set credentials SSH Credentials for GitHub 21:49:57 Verifying host key using known hosts file 21:49:58 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 21:49:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:49:59 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 21:49:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:50:00 Avoid second fetch 21:50:00 Checking out Revision 6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b (main) 21:50:01 Commit message: "build: Add option to build Service with NATS Capability (#376)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:50:00 > git config core.sparsecheckout # timeout=10 21:50:00 > git checkout -f 6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b # timeout=10 21:50:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:50:02 % Total % Received % Xferd Average Speed Time Time Time Current 21:50:02 Dload Upload Total Spent Left Speed 21:50:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 189k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh 21:50:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:50:03 + sudo tee /etc/docker/daemon.new 21:50:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:50:03 { 21:50:03 "registry-mirrors": [ 21:50:03 "https://nexus3.edgexfoundry.org:10001" 21:50:03 ], 21:50:03 "bip": "10.250.0.254/24", 21:50:03 "hosts": [ 21:50:03 "tcp://0.0.0.0:5555", 21:50:03 "unix:///var/run/docker.sock" 21:50:03 ], 21:50:03 "mtu": 1458, 21:50:03 "selinux-enabled": true, 21:50:03 "seccomp-profile": "/etc/docker/seccomp.json" 21:50:03 } [Pipeline] sh 21:50:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:50:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:50:22 provisioning config files... 21:50:22 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/53@tmp/config6997758654014041381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:50:22 ---> docker-login.sh 21:50:22 nexus3.edgexfoundry.org:10001 21:50:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:23 Configure a credential helper to remove this warning. See 21:50:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:23 21:50:23 Login Succeeded 21:50:23 nexus3.edgexfoundry.org:10002 21:50:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:23 Configure a credential helper to remove this warning. See 21:50:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:23 21:50:23 Login Succeeded 21:50:23 nexus3.edgexfoundry.org:10003 21:50:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:24 Configure a credential helper to remove this warning. See 21:50:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:24 21:50:24 Login Succeeded 21:50:24 nexus3.edgexfoundry.org:10004 21:50:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:24 Configure a credential helper to remove this warning. See 21:50:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:24 21:50:24 Login Succeeded 21:50:24 docker.io 21:50:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:25 Configure a credential helper to remove this warning. See 21:50:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:25 21:50:25 Login Succeeded 21:50:25 ---> docker-login.sh ends [Pipeline] } 21:50:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:50:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:50:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:50:25 ========================================================= 21:50:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:50:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:25 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:50:25 Sending build context to Docker daemon 3.19MB 21:50:25 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 21:50:25 Step 2/11 : FROM ${BASE} AS builder 21:50:26 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:50:26 b3c136eddcbf: Pulling fs layer 21:50:26 c0a3192eca97: Pulling fs layer 21:50:26 a050256f5b6f: Pulling fs layer 21:50:26 656be50a0ddc: Pulling fs layer 21:50:26 2bbca73fdf42: Pulling fs layer 21:50:26 46d945488cbd: Pulling fs layer 21:50:26 8a5474983e97: Pulling fs layer 21:50:26 329c88fbcd65: Pulling fs layer 21:50:26 46d945488cbd: Waiting 21:50:26 8a5474983e97: Waiting 21:50:26 329c88fbcd65: Waiting 21:50:26 656be50a0ddc: Waiting 21:50:26 2bbca73fdf42: Waiting 21:50:26 a050256f5b6f: Download complete 21:50:26 c0a3192eca97: Verifying Checksum 21:50:26 c0a3192eca97: Download complete 21:50:26 2bbca73fdf42: Verifying Checksum 21:50:26 2bbca73fdf42: Download complete 21:50:26 46d945488cbd: Verifying Checksum 21:50:26 46d945488cbd: Download complete 21:50:26 b3c136eddcbf: Verifying Checksum 21:50:26 b3c136eddcbf: Download complete 21:50:27 b3c136eddcbf: Pull complete 21:50:27 329c88fbcd65: Verifying Checksum 21:50:27 329c88fbcd65: Download complete 21:50:27 c0a3192eca97: Pull complete 21:50:27 a050256f5b6f: Pull complete 21:50:28 8a5474983e97: Verifying Checksum 21:50:28 8a5474983e97: Download complete 21:50:29 656be50a0ddc: Verifying Checksum 21:50:29 656be50a0ddc: Download complete 21:50:41 656be50a0ddc: Pull complete 21:50:41 2bbca73fdf42: Pull complete 21:50:41 46d945488cbd: Pull complete 21:50:48 8a5474983e97: Pull complete 21:50:49 329c88fbcd65: Pull complete 21:50:49 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 21:50:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:50:49 ---> ff4287adb874 21:50:49 Step 3/11 : ARG ADD_BUILD_TAGS="" 21:50:51 ---> Running in 7dd72fb2ac6f 21:50:51 Removing intermediate container 7dd72fb2ac6f 21:50:51 ---> 96ea922005a1 21:50:51 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:50:52 ---> Running in 8e0dcc66d331 21:50:52 Removing intermediate container 8e0dcc66d331 21:50:52 ---> 85d8aa2bbdbe 21:50:52 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:50:53 ---> Running in 84d2204609fd 21:50:55 Removing intermediate container 84d2204609fd 21:50:55 ---> 3111f2d354d0 21:50:55 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 21:50:55 ---> Running in 4e6f40b2188d 21:50:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:50:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:50:58 (1/8) Installing openssh-keygen (9.0_p1-r2) 21:50:58 (2/8) Installing libedit (20210910.3.1-r0) 21:50:58 (3/8) Installing openssh-client-common (9.0_p1-r2) 21:50:58 (4/8) Installing openssh-client-default (9.0_p1-r2) 21:50:58 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 21:50:58 (6/8) Installing openssh-server-common (9.0_p1-r2) 21:50:58 (7/8) Installing openssh-server (9.0_p1-r2) 21:50:58 (8/8) Installing openssh (9.0_p1-r2) 21:50:58 Executing busybox-1.35.0-r13.trigger 21:50:58 OK: 228 MiB in 59 packages 21:50:59 Removing intermediate container 4e6f40b2188d 21:50:59 ---> 15a7d7fe2bb4 21:50:59 Step 7/11 : WORKDIR /device-modbus-go 21:51:00 ---> Running in 64916bdc1748 21:51:00 Removing intermediate container 64916bdc1748 21:51:00 ---> 20fe00e3d4c3 21:51:00 Step 8/11 : COPY go.mod vendor* ./ 21:51:01 ---> a1ee0a086236 21:51:01 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:51:01 ---> Running in 7ac246b523b6 21:51:57 Removing intermediate container 7ac246b523b6 21:51:57 ---> 414a4090682c 21:51:57 Step 10/11 : COPY . . 21:51:57 ---> 177acc9ded5a 21:51:57 Step 11/11 : RUN ${MAKE} 21:51:57 ---> Running in 6c7c3c624ee1 21:51:57 noop 21:51:57 Removing intermediate container 6c7c3c624ee1 21:51:57 ---> d96a320ae8c2 21:51:57 Successfully built d96a320ae8c2 21:51:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:57 + docker inspect -f . ci-base-image-arm64 21:51:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:51:58 prd-ubuntu20.04-docker-arm64-4c-16g-1439 does not seem to be running inside a container 21:51:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/53 -v /w/workspace/device-modbus-go/53:/w/workspace/device-modbus-go/53:rw,z -v /w/workspace/device-modbus-go/53@tmp:/w/workspace/device-modbus-go/53@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 21:51:59 $ docker top d806ff3fb805ae8e083935ee11fcdc180080bc7ba615bb34a75987d8ac2d60de -eo pid,comm [Pipeline] { [Pipeline] sh 21:52:00 + go version 21:52:00 go version go1.18.3 linux/arm64 [Pipeline] } 21:52:00 $ docker stop --time=1 d806ff3fb805ae8e083935ee11fcdc180080bc7ba615bb34a75987d8ac2d60de 21:52:02 $ docker rm -f d806ff3fb805ae8e083935ee11fcdc180080bc7ba615bb34a75987d8ac2d60de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:02 + docker inspect -f . ci-base-image-arm64 21:52:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:52:02 prd-ubuntu20.04-docker-arm64-4c-16g-1439 does not seem to be running inside a container 21:52:02 $ 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/53 -v /w/workspace/device-modbus-go/53:/w/workspace/device-modbus-go/53:rw,z -v /w/workspace/device-modbus-go/53@tmp:/w/workspace/device-modbus-go/53@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 21:52:04 $ docker top 67fbb7db49d0104362380b6d32a3f5c035a02115812578c08ea5541198aee21e -eo pid,comm [Pipeline] { [Pipeline] sh 21:52:04 + git config --global --add safe.directory /w/workspace/device-modbus-go/53 [Pipeline] fileExists [Pipeline] sh 21:52:05 + make test 21:52:05 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 21:52:07 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:53:44 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:53:44 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.067s coverage: 47.7% of statements 21:53:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:53:44 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:54:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:54:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:54:06 ./bin/test-attribution-txt.sh [Pipeline] echo 21:54:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:54:06 $ docker stop --time=1 67fbb7db49d0104362380b6d32a3f5c035a02115812578c08ea5541198aee21e 21:54:08 $ docker rm -f 67fbb7db49d0104362380b6d32a3f5c035a02115812578c08ea5541198aee21e [Pipeline] // withDockerContainer [Pipeline] sh 21:54:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:54:09 Warning: overwriting stash ‘coverage-report’ 21:54:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:54:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:54:10 + ls -al . 21:54:10 total 184 21:54:10 drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 21:52 . 21:54:10 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:49 .. 21:54:10 -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 21:50 .dockerignore 21:54:10 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 21:50 .git 21:54:10 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:50 .github 21:54:10 -rw-rw-r-- 1 jenkins jenkins 331 Sep 27 21:50 .gitignore 21:54:10 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 21:50 .golangci.yml 21:54:10 -rw-rw-r-- 1 jenkins jenkins 10121 Sep 27 21:50 Attribution.txt 21:54:10 -rw-rw-r-- 1 jenkins jenkins 10001 Sep 27 21:50 CHANGELOG.md 21:54:10 -rw-rw-r-- 1 jenkins jenkins 1606 Sep 27 21:50 Dockerfile 21:54:10 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 21:50 GOVERNANCE.md 21:54:10 -rw-rw-r-- 1 jenkins jenkins 680 Sep 27 21:50 Jenkinsfile 21:54:10 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 21:50 LICENSE 21:54:10 -rw-rw-r-- 1 jenkins jenkins 2101 Sep 27 21:50 Makefile 21:54:10 -rw-rw-r-- 1 jenkins jenkins 622 Sep 27 21:50 OWNERS.md 21:54:10 -rw-rw-r-- 1 jenkins jenkins 4061 Sep 27 21:50 README.md 21:54:10 -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 21:47 VERSION 21:54:10 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:50 bin 21:54:10 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:50 cmd 21:54:10 -rw-r--r-- 1 jenkins jenkins 23241 Sep 27 21:53 coverage.out 21:54:10 -rw-rw-r-- 1 jenkins jenkins 3643 Sep 27 21:50 go.mod 21:54:10 -rw-rw-r-- 1 jenkins jenkins 38287 Sep 27 21:50 go.sum 21:54:10 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:50 internal 21:54:10 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:50 simulator 21:54:10 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:50 snap 21:54:10 -rw-rw-r-- 1 jenkins jenkins 229 Sep 27 21:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:10 + 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=6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b --label arch=arm64 --label version=2.3.0-dev.14 . 21:54:11 Sending build context to Docker daemon 3.214MB 21:54:11 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 21:54:11 Step 2/24 : FROM ${BASE} AS builder 21:54:11 ---> d96a320ae8c2 21:54:11 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:54:11 ---> Running in 8cc824703cee 21:54:11 Removing intermediate container 8cc824703cee 21:54:11 ---> 1c0cf80edb3c 21:54:11 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:54:11 ---> Running in b82377b1452e 21:54:12 Removing intermediate container b82377b1452e 21:54:12 ---> e174d146077a 21:54:12 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:54:12 ---> Running in b8b08f21aa87 21:54:15 Removing intermediate container b8b08f21aa87 21:54:15 ---> c9adb6da12f6 21:54:15 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 21:54:15 ---> Running in 3813a8b5fda5 21:54:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:54:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:54:18 OK: 228 MiB in 59 packages 21:54:19 Removing intermediate container 3813a8b5fda5 21:54:19 ---> e9ff6a16da63 21:54:19 Step 7/24 : WORKDIR /device-modbus-go 21:54:19 ---> Running in b6475083b9df 21:54:19 Removing intermediate container b6475083b9df 21:54:19 ---> d899e7d7f082 21:54:19 Step 8/24 : COPY go.mod vendor* ./ 21:54:20 ---> abb9b38b1f70 21:54:20 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:54:20 ---> Running in a4e581448796 21:54:22 Removing intermediate container a4e581448796 21:54:22 ---> c503818ce3a9 21:54:22 Step 10/24 : COPY . . 21:54:23 ---> 150476baff95 21:54:23 Step 11/24 : RUN ${MAKE} 21:54:23 ---> Running in afb39f6209fe 21:54:24 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.14" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 21:57:01 Removing intermediate container afb39f6209fe 21:57:01 ---> 071b72d90a47 21:57:01 Step 12/24 : FROM alpine:3.14 21:57:01 3.14: Pulling from library/alpine 21:57:01 90cda3b7c325: Pulling fs layer 21:57:01 90cda3b7c325: Verifying Checksum 21:57:01 90cda3b7c325: Download complete 21:57:01 90cda3b7c325: Pull complete 21:57:01 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 21:57:01 Status: Downloaded newer image for alpine:3.14 21:57:01 ---> 376ba31ae3da 21:57:01 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:57:01 ---> Running in 9bef102b4137 21:57:01 Removing intermediate container 9bef102b4137 21:57:01 ---> af79a2a05936 21:57:01 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:57:01 ---> Running in 6cee45943a24 21:57:01 Removing intermediate container 6cee45943a24 21:57:01 ---> ac7785e778d4 21:57:01 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 21:57:01 ---> Running in 0a5add7846dd 21:57:01 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:57:01 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:57:01 (1/6) Installing dumb-init (1.2.5-r1) 21:57:01 (2/6) Installing libgcc (10.3.1_git20210424-r2) 21:57:01 (3/6) Installing libsodium (1.0.18-r0) 21:57:01 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 21:57:01 (5/6) Installing libzmq (4.3.4-r0) 21:57:01 (6/6) Installing zeromq (4.3.4-r0) 21:57:01 Executing busybox-1.33.1-r8.trigger 21:57:01 OK: 8 MiB in 20 packages 21:57:02 Removing intermediate container 0a5add7846dd 21:57:02 ---> f7c89d483afd 21:57:02 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 21:57:03 ---> 586594e7f6b4 21:57:03 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 21:57:03 ---> a4efd677fea6 21:57:03 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:57:04 ---> 51c1a136950c 21:57:04 Step 19/24 : EXPOSE 59901 21:57:04 ---> Running in e4d02552b098 21:57:04 Removing intermediate container e4d02552b098 21:57:04 ---> 2818ba0101f0 21:57:04 Step 20/24 : ENTRYPOINT ["/device-modbus"] 21:57:04 ---> Running in dd7fbc541ca8 21:57:05 Removing intermediate container dd7fbc541ca8 21:57:05 ---> f5396a0951fa 21:57:05 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:57:05 ---> Running in bfc4c7745053 21:57:05 Removing intermediate container bfc4c7745053 21:57:05 ---> 8ad611edf821 21:57:05 Step 22/24 : LABEL arch=arm64 21:57:05 ---> Running in 46c415842e49 21:57:05 Removing intermediate container 46c415842e49 21:57:05 ---> c15c1b6568ff 21:57:05 Step 23/24 : LABEL git_sha=6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b 21:57:05 ---> Running in 552cfc11df31 21:57:06 Removing intermediate container 552cfc11df31 21:57:06 ---> c2a9efcedea6 21:57:06 Step 24/24 : LABEL version=2.3.0-dev.14 21:57:06 ---> Running in f77eb61ca2ca 21:57:06 Removing intermediate container f77eb61ca2ca 21:57:06 ---> 7ea816c5be57 21:57:06 [Warning] One or more build-args [ARCH] were not consumed 21:57:06 Successfully built 7ea816c5be57 21:57:06 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 21:57:06 provisioning config files... 21:57:06 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/53@tmp/config18238786544558521433tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:57:07 ---> docker-login.sh 21:57:07 nexus3.edgexfoundry.org:10001 21:57:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:07 Configure a credential helper to remove this warning. See 21:57:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:07 21:57:07 Login Succeeded 21:57:07 nexus3.edgexfoundry.org:10002 21:57:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:07 Configure a credential helper to remove this warning. See 21:57:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:07 21:57:07 Login Succeeded 21:57:07 nexus3.edgexfoundry.org:10003 21:57:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:08 Configure a credential helper to remove this warning. See 21:57:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:08 21:57:08 Login Succeeded 21:57:08 nexus3.edgexfoundry.org:10004 21:57:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:08 Configure a credential helper to remove this warning. See 21:57:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:08 21:57:08 Login Succeeded 21:57:08 docker.io 21:57:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:08 Configure a credential helper to remove this warning. See 21:57:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:08 21:57:08 Login Succeeded 21:57:08 ---> docker-login.sh ends [Pipeline] } 21:57:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:57:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:57:08 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 21:57:08 6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b 21:57:08 latest 21:57:08 2.3.0-dev.14 21:57:08 6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b-2.3.0-dev.14 21:57:08 main 21:57:08 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:09 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:09 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b 21:57:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:57:09 4e6c22ec4f10: Preparing 21:57:09 23a77ef9ff8d: Preparing 21:57:09 00ead4e68181: Preparing 21:57:09 66f14a1bced9: Preparing 21:57:09 377b3248316b: Preparing 21:57:09 28c3ef001483: Preparing 21:57:09 28c3ef001483: Waiting 21:57:09 4e6c22ec4f10: Pushed 21:57:09 23a77ef9ff8d: Pushed 21:57:09 377b3248316b: Pushed 21:57:09 28c3ef001483: Layer already exists 21:57:10 66f14a1bced9: Pushed 21:57:14 00ead4e68181: Pushed 21:57:14 6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b: digest: sha256:7373b1528e9aa87734256b0b6b385b315def3be284e47505c770405a1a795e87 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:15 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:15 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 21:57:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:57:15 4e6c22ec4f10: Preparing 21:57:15 23a77ef9ff8d: Preparing 21:57:15 00ead4e68181: Preparing 21:57:15 66f14a1bced9: Preparing 21:57:15 377b3248316b: Preparing 21:57:15 28c3ef001483: Preparing 21:57:15 28c3ef001483: Waiting 21:57:15 377b3248316b: Layer already exists 21:57:15 00ead4e68181: Layer already exists 21:57:15 66f14a1bced9: Layer already exists 21:57:15 23a77ef9ff8d: Layer already exists 21:57:15 4e6c22ec4f10: Layer already exists 21:57:15 28c3ef001483: Layer already exists 21:57:15 latest: digest: sha256:7373b1528e9aa87734256b0b6b385b315def3be284e47505c770405a1a795e87 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:16 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:16 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.14 21:57:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:57:16 4e6c22ec4f10: Preparing 21:57:16 23a77ef9ff8d: Preparing 21:57:16 00ead4e68181: Preparing 21:57:16 66f14a1bced9: Preparing 21:57:16 377b3248316b: Preparing 21:57:16 28c3ef001483: Preparing 21:57:16 28c3ef001483: Waiting 21:57:16 23a77ef9ff8d: Layer already exists 21:57:16 00ead4e68181: Layer already exists 21:57:16 377b3248316b: Layer already exists 21:57:16 66f14a1bced9: Layer already exists 21:57:16 4e6c22ec4f10: Layer already exists 21:57:16 28c3ef001483: Layer already exists 21:57:16 2.3.0-dev.14: digest: sha256:7373b1528e9aa87734256b0b6b385b315def3be284e47505c770405a1a795e87 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:17 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b-2.3.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:17 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b-2.3.0-dev.14 21:57:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:57:17 4e6c22ec4f10: Preparing 21:57:17 23a77ef9ff8d: Preparing 21:57:17 00ead4e68181: Preparing 21:57:17 66f14a1bced9: Preparing 21:57:17 377b3248316b: Preparing 21:57:17 28c3ef001483: Preparing 21:57:17 28c3ef001483: Waiting 21:57:17 4e6c22ec4f10: Layer already exists 21:57:17 66f14a1bced9: Layer already exists 21:57:17 00ead4e68181: Layer already exists 21:57:17 377b3248316b: Layer already exists 21:57:17 23a77ef9ff8d: Layer already exists 21:57:17 28c3ef001483: Layer already exists 21:57:17 6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b-2.3.0-dev.14: digest: sha256:7373b1528e9aa87734256b0b6b385b315def3be284e47505c770405a1a795e87 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:18 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:18 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 21:57:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:57:18 4e6c22ec4f10: Preparing 21:57:18 23a77ef9ff8d: Preparing 21:57:18 00ead4e68181: Preparing 21:57:18 66f14a1bced9: Preparing 21:57:18 377b3248316b: Preparing 21:57:18 28c3ef001483: Preparing 21:57:18 28c3ef001483: Waiting 21:57:18 377b3248316b: Layer already exists 21:57:18 00ead4e68181: Layer already exists 21:57:18 4e6c22ec4f10: Layer already exists 21:57:18 66f14a1bced9: Layer already exists 21:57:18 23a77ef9ff8d: Layer already exists 21:57:18 28c3ef001483: Layer already exists 21:57:18 main: digest: sha256:7373b1528e9aa87734256b0b6b385b315def3be284e47505c770405a1a795e87 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:57:18 ===================================================== [Pipeline] echo 21:57:18 taggedImages: 21:57:18 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b 21:57:18 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 21:57:18 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.14 21:57:18 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b-2.3.0-dev.14 21:57:18 - 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 21:57:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:57:19 21:57:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:57:19 arm64: Pulling from edgex-lftools-log-publisher 21:57:19 8998bd30e6a1: Pulling fs layer 21:57:19 04944245beec: Pulling fs layer 21:57:19 699f458cf7ca: Pulling fs layer 21:57:19 765212b225bb: Pulling fs layer 21:57:19 f23df028b6ca: Pulling fs layer 21:57:19 d65c8cfc05b1: Pulling fs layer 21:57:19 2437ff75d9bd: Pulling fs layer 21:57:19 765212b225bb: Waiting 21:57:19 f23df028b6ca: Waiting 21:57:19 d65c8cfc05b1: Waiting 21:57:19 2437ff75d9bd: Waiting 21:57:19 04944245beec: Verifying Checksum 21:57:19 04944245beec: Download complete 21:57:19 765212b225bb: Verifying Checksum 21:57:19 765212b225bb: Download complete 21:57:19 f23df028b6ca: Verifying Checksum 21:57:19 f23df028b6ca: Download complete 21:57:19 d65c8cfc05b1: Verifying Checksum 21:57:19 d65c8cfc05b1: Download complete 21:57:19 699f458cf7ca: Verifying Checksum 21:57:19 699f458cf7ca: Download complete 21:57:20 8998bd30e6a1: Verifying Checksum 21:57:20 8998bd30e6a1: Download complete 21:57:23 2437ff75d9bd: Verifying Checksum 21:57:23 2437ff75d9bd: Download complete 21:57:24 8998bd30e6a1: Pull complete 21:57:24 04944245beec: Pull complete 21:57:26 699f458cf7ca: Pull complete 21:57:26 765212b225bb: Pull complete 21:57:27 f23df028b6ca: Pull complete 21:57:27 d65c8cfc05b1: Pull complete 21:57:42 2437ff75d9bd: Pull complete 21:57:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:57:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:57:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:57:42 prd-ubuntu20.04-docker-arm64-4c-16g-1439 does not seem to be running inside a container 21:57:42 $ 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/53 -v /w/workspace/device-modbus-go/53:/w/workspace/device-modbus-go/53:rw,z -v /w/workspace/device-modbus-go/53@tmp:/w/workspace/device-modbus-go/53@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 21:57:44 $ docker top 74988c7b2f4e34c605e407050546de783ce846175d06007c6bcf537c6c57c936 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:57:45 ---> job-cost.sh 21:57:45 lf-activate-venv: SKIPPING 21:57:45 INFO: No Stack... 21:57:46 INFO: Retrieving Pricing Info for: v3-standard-4 21:57:47 INFO: Archiving Costs [Pipeline] sh 21:57:47 + cat /w/workspace/device-modbus-go/53/archives/cost.csv 21:57:47 + cut -d, -f6 [Pipeline] lock 21:57:47 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-53-stack-cost] 21:57:47 Resource [jenkins-edgexfoundry-device-modbus-go-main-53-stack-cost] did not exist. Created. 21:57:47 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:57:47 /w/workspace/device-modbus-go/53@tmp/durable-5c6b478d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:57:48 + echo total: 0.10999999940395355 [Pipeline] stash 21:57:48 Warning: overwriting stash ‘stack-cost’ 21:57:48 Stashed 1 file(s) [Pipeline] } 21:57:48 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-53-stack-cost] [Pipeline] // lock [Pipeline] } 21:57:48 $ docker stop --time=1 74988c7b2f4e34c605e407050546de783ce846175d06007c6bcf537c6c57c936 21:57:49 $ docker rm -f 74988c7b2f4e34c605e407050546de783ce846175d06007c6bcf537c6c57c936 [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 21:57:50 provisioning config files... 21:57:50 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12457210751280049349tmp [Pipeline] { [Pipeline] sh 21:57:50 + set +x 21:57:50 + curl -s https://codecov.io/bash 21:57:50 + bash -s -- 21:57:50 21:57:50 _____ _ 21:57:50 / ____| | | 21:57:50 | | ___ __| | ___ ___ _____ __ 21:57:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:57:50 | |___| (_) | (_| | __/ (_| (_) \ V / 21:57:50 \_____\___/ \__,_|\___|\___\___/ \_/ 21:57:50 Bash-1.0.6 21:57:50 21:57:50 21:57:50 ==> git version 2.25.1 found 21:57:50 ==> 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 21:57:50 Release-Date: 2020-01-08 21:57:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:57:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:57:50 ==> Jenkins CI detected. 21:57:50 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 21:57:50 project root: . 21:57:50 --> token set from env 21:57:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:57:50 ==> Running gcov in . (disable via -X gcov) 21:57:50 ==> Python coveragepy not found 21:57:50 ==> Searching for coverage reports in: 21:57:50 + . 21:57:50 -> Found 1 reports 21:57:50 ==> Detecting git/mercurial file structure 21:57:50 ==> Reading reports 21:57:50 + ./coverage.out bytes=23241 21:57:50 ==> Appending adjustments 21:57:50 https://docs.codecov.io/docs/fixing-reports 21:57:50 + Found adjustments 21:57:50 ==> Gzipping contents 21:57:50 4.0K /tmp/codecov.pZoOQ4.gz 21:57:50 ==> Uploading reports 21:57:50 url: https://codecov.io 21:57:50 query: branch=main&commit=6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b&build=53&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F53%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:57:50 -> Pinging Codecov 21:57:50 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=6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b&build=53&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F53%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:57:51 -> Uploading to 21:57:51 https://storage.googleapis.com/codecov/v4/raw/2022-09-27/55DBCA73C666E3227836607328DD7E49/6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b/608567d4-e7f9-4f83-aebd-713e945f0bbe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220927T215750Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=43f26cd9bd4c154399fee790d1529829cbaa296802006bbce254c4914d06ef36 21:57:51 % Total % Received % Xferd Average Speed Time Time Time Current 21:57:51 Dload Upload Total Spent Left Speed 21:57:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3904 0 0 100 3904 0 15678 --:--:-- --:--:-- --:--:-- 15741 21:57:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b [Pipeline] } 21:57:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:57:51 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:57:51 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:57:51 21:57:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:57:52 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:57:52 df9b9388f04a: Pulling fs layer 21:57:52 52dc419b0ee2: Pulling fs layer 21:57:52 25bc292e5bac: Pulling fs layer 21:57:52 114826534d7a: Pulling fs layer 21:57:52 4657fd5d0bcf: Pulling fs layer 21:57:52 6ad1cebc031e: Pulling fs layer 21:57:52 8a3aa393b2d8: Pulling fs layer 21:57:52 4657fd5d0bcf: Waiting 21:57:52 8a3aa393b2d8: Waiting 21:57:52 6ad1cebc031e: Waiting 21:57:52 114826534d7a: Waiting 21:57:52 25bc292e5bac: Verifying Checksum 21:57:52 25bc292e5bac: Download complete 21:57:52 52dc419b0ee2: Download complete 21:57:52 4657fd5d0bcf: Verifying Checksum 21:57:52 4657fd5d0bcf: Download complete 21:57:52 df9b9388f04a: Verifying Checksum 21:57:52 df9b9388f04a: Download complete 21:57:52 df9b9388f04a: Pull complete 21:57:52 52dc419b0ee2: Pull complete 21:57:52 6ad1cebc031e: Verifying Checksum 21:57:52 6ad1cebc031e: Download complete 21:57:52 25bc292e5bac: Pull complete 21:57:53 114826534d7a: Verifying Checksum 21:57:53 114826534d7a: Download complete 21:57:53 8a3aa393b2d8: Download complete 21:57:56 114826534d7a: Pull complete 21:57:56 4657fd5d0bcf: Pull complete 21:57:56 6ad1cebc031e: Pull complete 21:57:59 8a3aa393b2d8: Pull complete 21:57:59 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:57:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:57:59 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:57:59 prd-ubuntu20.04-docker-8c-8g-1435 does not seem to be running inside a container 21:57:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:58:01 $ docker top 2c4fb0016d560febafe66a7f6fdfc55e288229e045530e796047e8203ff6f62e -eo pid,comm [Pipeline] { [Pipeline] echo 21:58:01 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 21:58:02 + set -o pipefail 21:58:02 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 21:58:07 21:58:07 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 21:58:07 21:58:07 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/f7c92264-7f96-4a03-905f-3b69391e4e23 21:58:07 21:58:07 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 21:58:07 21:58:07 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:58:07 21:58:07 [Pipeline] } 21:58:07 $ docker stop --time=1 2c4fb0016d560febafe66a7f6fdfc55e288229e045530e796047e8203ff6f62e 21:58:09 $ docker rm -f 2c4fb0016d560febafe66a7f6fdfc55e288229e045530e796047e8203ff6f62e [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 21:58:10 + git log --format=format:%s -1 6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b [Pipeline] sh 21:58:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:58:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:58:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:58:10 prd-ubuntu20.04-docker-8c-8g-1435 does not seem to be running inside a container 21:58:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:58:11 $ docker top 4edbd19592875100bc4ac11963118edd040633a33f165d1be724c4a61f35efa2 -eo pid,comm 21:58:11 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). 21:58:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:58:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:58:11 [ssh-agent] Looking for ssh-agent implementation... 21:58:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:58:11 $ docker exec 4edbd19592875100bc4ac11963118edd040633a33f165d1be724c4a61f35efa2 ssh-agent 21:58:11 SSH_AUTH_SOCK=/tmp/ssh-FXjFLes030HE/agent.32 21:58:11 SSH_AGENT_PID=38 21:58:11 Running ssh-add (command line suppressed) 21:58:11 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_18369035875065465263.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_18369035875065465263.key) 21:58:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:58:11 + git semver tag 21:58:12 2022-09-27 21:58:12,000 [run_tag] DEBUG tag force:False 21:58:12 2022-09-27 21:58:12,000 [check_head_tag] DEBUG check head tag 21:58:12 2022-09-27 21:58:12,001 [execute] INFO git cat-file --batch-check 21:58:12 2022-09-27 21:58:12,001 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 21:58:12 2022-09-27 21:58:12,004 [execute] INFO git cat-file --batch 21:58:12 2022-09-27 21:58:12,004 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 21:58:12 2022-09-27 21:58:12,014 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:58:12 2022-09-27 21:58:12,014 [execute] INFO git tag -a v2.3.0-dev.14 -m v2.3.0-dev.14 21:58:12 2022-09-27 21:58:12,014 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.14', '-m', 'v2.3.0-dev.14'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 21:58:12 2022-09-27 21:58:12,019 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:58:12 2.3.0-dev.14 [Pipeline] } 21:58:12 $ docker exec --env ******** --env ******** 4edbd19592875100bc4ac11963118edd040633a33f165d1be724c4a61f35efa2 ssh-agent -k 21:58:12 unset SSH_AUTH_SOCK; 21:58:12 unset SSH_AGENT_PID; 21:58:12 echo Agent pid 38 killed; 21:58:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:58:12 + git semver [Pipeline] } 21:58:12 $ docker stop --time=1 4edbd19592875100bc4ac11963118edd040633a33f165d1be724c4a61f35efa2 21:58:14 $ docker rm -f 4edbd19592875100bc4ac11963118edd040633a33f165d1be724c4a61f35efa2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:58:14 21:58:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:58:14 0.23.1-centos7: Pulling from edgex-lftools 21:58:14 ab5ef0e58194: Pulling fs layer 21:58:14 9712f1f96733: Pulling fs layer 21:58:14 63f879dbbcfc: Pulling fs layer 21:58:14 0d9ebad4ef96: Pulling fs layer 21:58:14 e9a5061849ea: Pulling fs layer 21:58:14 d747dcd14b5f: Pulling fs layer 21:58:14 2de7ff778b66: Pulling fs layer 21:58:14 d747dcd14b5f: Waiting 21:58:14 2de7ff778b66: Waiting 21:58:14 0d9ebad4ef96: Waiting 21:58:14 e9a5061849ea: Waiting 21:58:14 9712f1f96733: Verifying Checksum 21:58:14 9712f1f96733: Download complete 21:58:15 63f879dbbcfc: Verifying Checksum 21:58:15 63f879dbbcfc: Download complete 21:58:15 e9a5061849ea: Verifying Checksum 21:58:15 e9a5061849ea: Download complete 21:58:15 d747dcd14b5f: Verifying Checksum 21:58:15 d747dcd14b5f: Download complete 21:58:15 ab5ef0e58194: Verifying Checksum 21:58:15 ab5ef0e58194: Download complete 21:58:15 0d9ebad4ef96: Verifying Checksum 21:58:15 0d9ebad4ef96: Download complete 21:58:15 2de7ff778b66: Download complete 21:58:18 ab5ef0e58194: Pull complete 21:58:18 9712f1f96733: Pull complete 21:58:18 63f879dbbcfc: Pull complete 21:58:21 0d9ebad4ef96: Pull complete 21:58:22 e9a5061849ea: Pull complete 21:58:22 d747dcd14b5f: Pull complete 21:58:23 2de7ff778b66: Pull complete 21:58:23 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:58:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:58:23 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:58:23 prd-ubuntu20.04-docker-8c-8g-1435 does not seem to be running inside a container 21:58:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:58:25 $ docker top 5f17c0053125896e06bbb82503ad888e8272167c07bbe5e88d2a01cdf115d417 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:58:25 provisioning config files... 21:58:25 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14057884494756408967tmp 21:58:25 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15320871762134365340tmp 21:58:25 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1943579280820575973tmp [Pipeline] { [Pipeline] echo 21:58:25 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:58:25 ---> sigul-configuration.sh 21:58:25 gpg: directory `/root/.gnupg' created 21:58:25 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:58:25 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:58:25 gpg: keyring `/root/.gnupg/secring.gpg' created 21:58:25 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:58:25 gpg: CAST5 encrypted data 21:58:25 gpg: encrypted with 1 passphrase 21:58:25 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:58:26 + mkdir /home/jenkins 21:58:26 + mkdir /home/jenkins/sigul [Pipeline] sh 21:58:26 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 21:58:26 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:58:26 ---> sigul-install.sh 21:58:26 Sigul already installed; skipping installation. [Pipeline] sh 21:58:26 + git tag --list 21:58:26 0.7.1 21:58:26 v1.0.0 21:58:26 v1.1.0 21:58:26 v1.1.1 21:58:26 v1.2.2 21:58:26 v1.3.0 21:58:26 v1.3.1 21:58:26 v2.0.0 21:58:26 v2.1.0 21:58:26 v2.1.1 21:58:26 v2.1.1-dev.1 21:58:26 v2.1.1-dev.2 21:58:26 v2.1.1-dev.3 21:58:26 v2.2.0 21:58:26 v2.2.1-dev.1 21:58:26 v2.2.1-dev.2 21:58:26 v2.2.1-dev.3 21:58:26 v2.2.1-dev.4 21:58:26 v2.2.1-dev.5 21:58:26 v2.2.1-dev.6 21:58:26 v2.2.1-dev.7 21:58:26 v2.3.0-dev.10 21:58:26 v2.3.0-dev.11 21:58:26 v2.3.0-dev.12 21:58:26 v2.3.0-dev.13 21:58:26 v2.3.0-dev.14 21:58:26 v2.3.0-dev.7 21:58:26 v2.3.0-dev.8 21:58:26 v2.3.0-dev.9 [Pipeline] sh 21:58:27 + lftools sign git-tag v2.3.0-dev.14 21:58:27 Signing Git tag with Sigul... 21:58:27 Signing v2.3.0-dev.14 [Pipeline] echo 21:58:28 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:58:28 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:58:28 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:58:28 $ docker stop --time=1 5f17c0053125896e06bbb82503ad888e8272167c07bbe5e88d2a01cdf115d417 21:58:29 $ docker rm -f 5f17c0053125896e06bbb82503ad888e8272167c07bbe5e88d2a01cdf115d417 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:58:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:58:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:58:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:58:30 prd-ubuntu20.04-docker-8c-8g-1435 does not seem to be running inside a container 21:58:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:58:30 $ docker top 06fa05b8caf474d6728ced60c5fa40988d9b7043e1efff04ce476869ae5cabb8 -eo pid,comm 21:58:30 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). 21:58:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:58:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:58:30 [ssh-agent] Looking for ssh-agent implementation... 21:58:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:58:30 $ docker exec 06fa05b8caf474d6728ced60c5fa40988d9b7043e1efff04ce476869ae5cabb8 ssh-agent 21:58:31 SSH_AUTH_SOCK=/tmp/ssh-24TJMbVsp42W/agent.32 21:58:31 SSH_AGENT_PID=38 21:58:31 Running ssh-add (command line suppressed) 21:58:31 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3248077362949052518.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3248077362949052518.key) 21:58:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:58:31 + git semver bump pre 21:58:31 2022-09-27 21:58:31,678 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:58:31 2022-09-27 21:58:31,678 [bump_version] DEBUG bumping version:2.3.0-dev.14 on axis:pre with prefix:dev 21:58:31 2022-09-27 21:58:31,678 [bump_version] DEBUG bumped version:2.3.0-dev.15 21:58:31 2022-09-27 21:58:31,678 [write_version] DEBUG write version:2.3.0-dev.15 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 21:58:31 2022-09-27 21:58:31,678 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:58:31 2022-09-27 21:58:31,679 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:58:31 2022-09-27 21:58:31,681 [execute] INFO git cat-file --batch-check 21:58:31 2022-09-27 21:58:31,681 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:58:31 2022-09-27 21:58:31,686 [execute] INFO git cat-file --batch 21:58:31 2022-09-27 21:58:31,686 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:58:31 2022-09-27 21:58:31,690 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:58:31 2.3.0-dev.15 [Pipeline] } 21:58:31 $ docker exec --env ******** --env ******** 06fa05b8caf474d6728ced60c5fa40988d9b7043e1efff04ce476869ae5cabb8 ssh-agent -k 21:58:31 unset SSH_AUTH_SOCK; 21:58:31 unset SSH_AGENT_PID; 21:58:31 echo Agent pid 38 killed; 21:58:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:58:32 + git semver [Pipeline] } 21:58:32 $ docker stop --time=1 06fa05b8caf474d6728ced60c5fa40988d9b7043e1efff04ce476869ae5cabb8 21:58:33 $ docker rm -f 06fa05b8caf474d6728ced60c5fa40988d9b7043e1efff04ce476869ae5cabb8 [Pipeline] // withDockerContainer [Pipeline] sh 21:58:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:58:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:58:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:58:34 prd-ubuntu20.04-docker-8c-8g-1435 does not seem to be running inside a container 21:58:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:58:34 $ docker top 0ba5d8717c3ab4190f88dd023ea6330583679f201da20f8f93fc10c91ae98fe6 -eo pid,comm 21:58:34 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:58:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:58:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:58:34 [ssh-agent] Looking for ssh-agent implementation... 21:58:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:58:34 $ docker exec 0ba5d8717c3ab4190f88dd023ea6330583679f201da20f8f93fc10c91ae98fe6 ssh-agent 21:58:35 SSH_AUTH_SOCK=/tmp/ssh-VKMQ9ONvwURA/agent.33 21:58:35 SSH_AGENT_PID=39 21:58:35 Running ssh-add (command line suppressed) 21:58:35 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8309781163640646578.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8309781163640646578.key) 21:58:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:58:35 + git semver push 21:58:35 2022-09-27 21:58:35,642 [run_push] DEBUG push 21:58:35 2022-09-27 21:58:35,643 [execute] INFO git cat-file --batch-check 21:58:35 2022-09-27 21:58:35,643 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:58:35 2022-09-27 21:58:35,647 [execute] INFO git rev-list e32dd63bebdd1f6b0fb03ae36dd5007d73530cd3 -- 21:58:35 2022-09-27 21:58:35,647 [execute] DEBUG Popen(['git', 'rev-list', 'e32dd63bebdd1f6b0fb03ae36dd5007d73530cd3', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:58:35 2022-09-27 21:58:35,654 [execute] INFO git fetch -v origin 21:58:35 2022-09-27 21:58:35,654 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:58:36 2022-09-27 21:58:36,194 [run_push] DEBUG no remote changes detected 21:58:36 2022-09-27 21:58:36,195 [execute] INFO git push origin semver 21:58:36 2022-09-27 21:58:36,196 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:58:37 2022-09-27 21:58:37,086 [run_push] DEBUG push all version tags 21:58:37 2022-09-27 21:58:37,086 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:58:37 2022-09-27 21:58:37,087 [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) 21:58:38 2022-09-27 21:58:37,916 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:58:38 2.3.0-dev.15 [Pipeline] } 21:58:38 $ docker exec --env ******** --env ******** 0ba5d8717c3ab4190f88dd023ea6330583679f201da20f8f93fc10c91ae98fe6 ssh-agent -k 21:58:38 unset SSH_AUTH_SOCK; 21:58:38 unset SSH_AGENT_PID; 21:58:38 echo Agent pid 39 killed; 21:58:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:58:38 + git semver [Pipeline] } 21:58:38 $ docker stop --time=1 0ba5d8717c3ab4190f88dd023ea6330583679f201da20f8f93fc10c91ae98fe6 21:58:40 $ docker rm -f 0ba5d8717c3ab4190f88dd023ea6330583679f201da20f8f93fc10c91ae98fe6 [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 21:58:40 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 21:58:40 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 21:58:40 total 16 21:58:40 drwxr-xr-x 3 root root 4096 Sep 27 21:49 . 21:58:40 drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 21:58 .. 21:58:40 drwxr-xr-x 2 root root 4096 Sep 27 21:49 cost 21:58:40 -rw-r--r-- 1 root root 87 Sep 27 21:49 cost.csv 21:58:40 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 21:58:40 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 21:58:40 total 16 21:58:40 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 21:49 . 21:58:40 drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 21:58 .. 21:58:40 drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 21:49 cost 21:58:40 -rw-r--r-- 1 jenkins jenkins 87 Sep 27 21:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:58:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:58:41 ---> package-listing.sh 21:58:41 ++ facter osfamily 21:58:41 ++ tr '[:upper:]' '[:lower:]' 21:58:42 + OS_FAMILY=debian 21:58:42 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 21:58:42 + START_PACKAGES=/tmp/packages_start.txt 21:58:42 + END_PACKAGES=/tmp/packages_end.txt 21:58:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:58:42 + PACKAGES=/tmp/packages_start.txt 21:58:42 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 21:58:42 + PACKAGES=/tmp/packages_end.txt 21:58:42 + case "${OS_FAMILY}" in 21:58:42 + dpkg -l 21:58:42 + grep '^ii' 21:58:42 + '[' -f /tmp/packages_start.txt ']' 21:58:42 + '[' -f /tmp/packages_end.txt ']' 21:58:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:58:42 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 21:58:42 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 21:58:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 21:58:42 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 21:58:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:58:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:58:42 prd-ubuntu20.04-docker-8c-8g-1435 does not seem to be running inside a container 21:58:43 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:58:43 $ docker top f264bd4fe3e9bc3d398de5c8cf5ad9489885191d814d0709f455ba0094c4ce44 -eo pid,comm [Pipeline] { [Pipeline] sh 21:58:43 + touch /tmp/pre-build-complete [Pipeline] sh 21:58:43 + mkdir -p /var/log/sysstat [Pipeline] sh 21:58:44 + ls /var/log/sa-host 21:58:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:58:44 provisioning config files... 21:58:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12860150414011310506tmp [Pipeline] { [Pipeline] echo 21:58:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:58:44 ---> create-netrc.sh [Pipeline] } 21:58:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:58:45 ---> python-tools-install.sh [Pipeline] echo 21:58:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:58:45 ---> sudo-logs.sh 21:58:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:58:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:58:45 ---> job-cost.sh 21:58:45 lf-activate-venv: SKIPPING 21:58:45 DEBUG: total: 0.2199999988079071 21:58:45 INFO: Retrieving Stack Cost... 21:58:46 INFO: Retrieving Pricing Info for: v3-standard-8 21:58:46 INFO: Archiving Costs [Pipeline] echo 21:58:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:58:46 ---> logs-deploy.sh 21:58:46 lf-activate-venv: SKIPPING 21:58:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/53 21:58:46 INFO: archiving workspace using pattern(s): 21:58:47 Archives upload complete. 21:58:47 INFO: archiving logs to Nexus