Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 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-ssh757043840553207774.key > 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-ssh164666091498670243.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 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-ssh2788322049600223654.key > 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-ssh8083259748134719398.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1665584562382006224.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-29357 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 (#373)" > git rev-list --no-walk 19276090c2e057c4cba34782a88296b78f541de3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:13:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:13:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:13:27 ========================================================= 22:13:27 EdgeX Global Pipelines Version Info 22:13:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:13:28 ------------------- 22:13:28 stable info: 22:13:28 ------------------- 22:13:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:13:28 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:13:28 Message: update stable to v1.0.239 22:13:28 ------------------- 22:13:28 experimental info: 22:13:28 ------------------- 22:13:28 Commited By: **** collab-it+edgex@linuxfoundation.org 22:13:28 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:13:28 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:13:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 22:13:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 22:13:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:13:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:13:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:13:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:13:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:13:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:13:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:13:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:13:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:13:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 22:13:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:13:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:13:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:13:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:13:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:13:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:13:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:13:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:13:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:13:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:13:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:13:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:13:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:13:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:13:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:13:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:13:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:13:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:13:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 [Pipeline] echo 22:13:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 53d947d [Pipeline] echo 22:13:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:13:29 provisioning config files... 22:13:29 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config437574722236375686tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:29 ---> docker-login.sh 22:13:29 nexus3.edgexfoundry.org:10001 22:13:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:30 Configure a credential helper to remove this warning. See 22:13:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:30 22:13:30 Login Succeeded 22:13:30 nexus3.edgexfoundry.org:10002 22:13:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:30 Configure a credential helper to remove this warning. See 22:13:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:30 22:13:30 Login Succeeded 22:13:30 nexus3.edgexfoundry.org:10003 22:13:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:30 Configure a credential helper to remove this warning. See 22:13:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:30 22:13:30 Login Succeeded 22:13:30 nexus3.edgexfoundry.org:10004 22:13:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:30 Configure a credential helper to remove this warning. See 22:13:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:30 22:13:30 Login Succeeded 22:13:30 docker.io 22:13:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:31 Configure a credential helper to remove this warning. See 22:13:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:31 22:13:31 Login Succeeded 22:13:31 ---> docker-login.sh ends [Pipeline] } 22:13:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:13:31 + git rev-list -1 --merges 53d947db5a4f9528d63bb92e74d3c6e84cd7a675~1..53d947db5a4f9528d63bb92e74d3c6e84cd7a675 [Pipeline] echo 22:13:31 -----------> git rev-list -1 --merges 53d947db5a4f9528d63bb92e74d3c6e84cd7a675~1..53d947db5a4f9528d63bb92e74d3c6e84cd7a675 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 [false] [Pipeline] sh 22:13:31 + git log --format=format:%s -1 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 [Pipeline] echo 22:13:31 ========================================================= 22:13:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:13:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:13:32 + git log --format=format:%s -1 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 [Pipeline] echo 22:13:32 [semverPrep] GIT_COMMIT: 53d947db5a4f9528d63bb92e74d3c6e84cd7a675, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 (#373) [Pipeline] echo 22:13:32 [semverPrep] This is not a build commit. [Pipeline] sh 22:13:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:13:32 + grep -v github /etc/ssh/ssh_known_hosts 22:13:32 + [ -e /tmp/ssh_known_hosts ] 22:13:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:13:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:13:32 + sudo tee -a /etc/ssh/ssh_known_hosts 22:13:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:13:32 22:13:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:13:33 0.1.4: Pulling from edgex-devops/py-git-semver 22:13:33 b85a868b505f: Pulling fs layer 22:13:33 e2be974225ed: Pulling fs layer 22:13:33 339a4e72a1f5: Pulling fs layer 22:13:33 988bab9f4d93: Pulling fs layer 22:13:33 1469e6f7b9e6: Pulling fs layer 22:13:33 eaf3925da568: Pulling fs layer 22:13:33 bab4dde63d76: Pulling fs layer 22:13:33 bde34c3a00c8: Pulling fs layer 22:13:33 b352a97aabf1: Pulling fs layer 22:13:33 4872d77fe225: Pulling fs layer 22:13:33 5851b861e8e6: Pulling fs layer 22:13:33 bab4dde63d76: Waiting 22:13:33 bde34c3a00c8: Waiting 22:13:33 4872d77fe225: Waiting 22:13:33 b352a97aabf1: Waiting 22:13:33 988bab9f4d93: Waiting 22:13:33 eaf3925da568: Waiting 22:13:33 988bab9f4d93: Verifying Checksum 22:13:33 988bab9f4d93: Download complete 22:13:33 1469e6f7b9e6: Verifying Checksum 22:13:33 1469e6f7b9e6: Download complete 22:13:33 eaf3925da568: Download complete 22:13:33 339a4e72a1f5: Verifying Checksum 22:13:33 339a4e72a1f5: Download complete 22:13:33 bde34c3a00c8: Verifying Checksum 22:13:33 bde34c3a00c8: Download complete 22:13:33 b85a868b505f: Verifying Checksum 22:13:33 b85a868b505f: Download complete 22:13:33 b352a97aabf1: Verifying Checksum 22:13:33 b352a97aabf1: Download complete 22:13:33 4872d77fe225: Download complete 22:13:33 5851b861e8e6: Download complete 22:13:34 bab4dde63d76: Download complete 22:13:35 b85a868b505f: Pull complete 22:13:35 e2be974225ed: Pull complete 22:13:35 339a4e72a1f5: Pull complete 22:13:35 988bab9f4d93: Pull complete 22:13:36 1469e6f7b9e6: Pull complete 22:13:36 eaf3925da568: Pull complete 22:13:38 bab4dde63d76: Pull complete 22:13:38 bde34c3a00c8: Pull complete 22:13:38 b352a97aabf1: Pull complete 22:13:38 4872d77fe225: Pull complete 22:13:38 5851b861e8e6: Pull complete 22:13:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:13:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:13:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:38 prd-ubuntu20.04-docker-8c-8g-29357 does not seem to be running inside a container 22:13:38 $ 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 22:13:41 $ docker top f0478c0afb4eff8aefda1060737fa71a93127adf29494daa50ed08209bf50b77 -eo pid,comm 22:13:41 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:13:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:13:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:13:41 [ssh-agent] Looking for ssh-agent implementation... 22:13:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:13:41 $ docker exec f0478c0afb4eff8aefda1060737fa71a93127adf29494daa50ed08209bf50b77 ssh-agent 22:13:41 SSH_AUTH_SOCK=/tmp/ssh-Vq0p7xUABymf/agent.34 22:13:41 SSH_AGENT_PID=40 22:13:41 Running ssh-add (command line suppressed) 22:13:41 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3770621594477078032.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3770621594477078032.key) 22:13:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:13:41 + git tag --points-at HEAD [Pipeline] } 22:13:41 $ docker exec --env ******** --env ******** f0478c0afb4eff8aefda1060737fa71a93127adf29494daa50ed08209bf50b77 ssh-agent -k 22:13:42 unset SSH_AUTH_SOCK; 22:13:42 unset SSH_AGENT_PID; 22:13:42 echo Agent pid 40 killed; 22:13:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:13:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:13:42 [ssh-agent] Looking for ssh-agent implementation... 22:13:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:13:42 $ docker exec f0478c0afb4eff8aefda1060737fa71a93127adf29494daa50ed08209bf50b77 ssh-agent 22:13:42 SSH_AUTH_SOCK=/tmp/ssh-1SB4Tlb56u3K/agent.73 22:13:42 SSH_AGENT_PID=79 22:13:42 Running ssh-add (command line suppressed) 22:13:42 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_124651305106214036.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_124651305106214036.key) 22:13:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:13:42 + git semver init 22:13:43 2022-09-15 22:13:42,988 [run_init] DEBUG init version:0.0.0 force:False 22:13:43 2022-09-15 22:13:42,989 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 22:13:43 2022-09-15 22:13:42,990 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 22:13:43 2022-09-15 22:13:42,990 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 22:13:44 2022-09-15 22:13:43,860 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 22:13:44 2022-09-15 22:13:43,861 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 22:13:44 2022-09-15 22:13:43,861 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:13:44 2022-09-15 22:13:43,861 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:13:44 2.3.0-dev.12 [Pipeline] } 22:13:44 $ docker exec --env ******** --env ******** f0478c0afb4eff8aefda1060737fa71a93127adf29494daa50ed08209bf50b77 ssh-agent -k 22:13:44 unset SSH_AUTH_SOCK; 22:13:44 unset SSH_AGENT_PID; 22:13:44 echo Agent pid 79 killed; 22:13:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:13:44 + git semver [Pipeline] } 22:13:44 $ docker stop --time=1 f0478c0afb4eff8aefda1060737fa71a93127adf29494daa50ed08209bf50b77 22:13:46 $ docker rm -f f0478c0afb4eff8aefda1060737fa71a93127adf29494daa50ed08209bf50b77 [Pipeline] // withDockerContainer [Pipeline] sh 22:13:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:13:46 Stashed 1 file(s) [Pipeline] echo 22:13:46 [edgeXSemver]: initialized semver on version 2.3.0-dev.12 [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 22:13:46 provisioning config files... 22:13:46 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8221913375782701684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:47 ---> docker-login.sh 22:13:47 nexus3.edgexfoundry.org:10001 22:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:47 Configure a credential helper to remove this warning. See 22:13:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:47 22:13:47 Login Succeeded 22:13:47 nexus3.edgexfoundry.org:10002 22:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:47 Configure a credential helper to remove this warning. See 22:13:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:47 22:13:47 Login Succeeded 22:13:47 nexus3.edgexfoundry.org:10003 22:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:47 Configure a credential helper to remove this warning. See 22:13:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:47 22:13:47 Login Succeeded 22:13:47 nexus3.edgexfoundry.org:10004 22:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:47 Configure a credential helper to remove this warning. See 22:13:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:47 22:13:47 Login Succeeded 22:13:47 docker.io 22:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:48 Configure a credential helper to remove this warning. See 22:13:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:48 22:13:48 Login Succeeded 22:13:48 ---> docker-login.sh ends [Pipeline] } 22:13:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:13:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:13:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:13:48 ========================================================= 22:13:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:13:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:48 + 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 . 22:13:48 Sending build context to Docker daemon 6.11MB 22:13:48 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 22:13:48 Step 2/10 : FROM ${BASE} AS builder 22:13:48 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:13:48 2408cc74d12b: Pulling fs layer 22:13:48 ea60b727a1ce: Pulling fs layer 22:13:48 30c4a7721957: Pulling fs layer 22:13:48 370296b7ddb6: Pulling fs layer 22:13:48 7c6cee850709: Pulling fs layer 22:13:48 39a5fcdaea64: Pulling fs layer 22:13:48 d94ebbe4e438: Pulling fs layer 22:13:48 bcfd1f05c69d: Pulling fs layer 22:13:48 59ccb84bbe0f: Pulling fs layer 22:13:48 39a5fcdaea64: Waiting 22:13:48 d94ebbe4e438: Waiting 22:13:48 bcfd1f05c69d: Waiting 22:13:48 59ccb84bbe0f: Waiting 22:13:48 7c6cee850709: Waiting 22:13:48 370296b7ddb6: Waiting 22:13:48 30c4a7721957: Verifying Checksum 22:13:48 30c4a7721957: Download complete 22:13:48 ea60b727a1ce: Download complete 22:13:49 7c6cee850709: Verifying Checksum 22:13:49 7c6cee850709: Download complete 22:13:49 39a5fcdaea64: Download complete 22:13:49 2408cc74d12b: Verifying Checksum 22:13:49 2408cc74d12b: Download complete 22:13:49 d94ebbe4e438: Verifying Checksum 22:13:49 d94ebbe4e438: Download complete 22:13:49 2408cc74d12b: Pull complete 22:13:49 ea60b727a1ce: Pull complete 22:13:49 30c4a7721957: Pull complete 22:13:49 59ccb84bbe0f: Verifying Checksum 22:13:49 59ccb84bbe0f: Download complete 22:13:50 370296b7ddb6: Verifying Checksum 22:13:50 370296b7ddb6: Download complete 22:13:50 bcfd1f05c69d: Verifying Checksum 22:13:50 bcfd1f05c69d: Download complete 22:13:54 370296b7ddb6: Pull complete 22:13:54 7c6cee850709: Pull complete 22:13:54 39a5fcdaea64: Pull complete 22:13:54 d94ebbe4e438: Pull complete 22:13:57 bcfd1f05c69d: Pull complete 22:13:57 59ccb84bbe0f: Pull complete 22:13:57 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 22:13:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:13:57 ---> a4fb48ad2a94 22:13:57 Step 3/10 : ARG MAKE='make build' 22:14:01 ---> Running in 44904553f568 22:14:01 Removing intermediate container 44904553f568 22:14:01 ---> 113b0f36ba04 22:14:01 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:14:01 ---> Running in 0b9ae14d2d0c 22:14:01 Removing intermediate container 0b9ae14d2d0c 22:14:01 ---> 439de5b8b0ca 22:14:01 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 22:14:01 ---> Running in 2e30ce278a56 22:14:01 Still waiting to schedule task 22:14:01 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 22:14:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:14:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:14:03 (1/8) Installing openssh-keygen (9.0_p1-r2) 22:14:03 (2/8) Installing libedit (20210910.3.1-r0) 22:14:03 (3/8) Installing openssh-client-common (9.0_p1-r2) 22:14:03 (4/8) Installing openssh-client-default (9.0_p1-r2) 22:14:03 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 22:14:03 (6/8) Installing openssh-server-common (9.0_p1-r2) 22:14:03 (7/8) Installing openssh-server (9.0_p1-r2) 22:14:03 (8/8) Installing openssh (9.0_p1-r2) 22:14:03 Executing busybox-1.35.0-r13.trigger 22:14:03 OK: 217 MiB in 59 packages 22:14:04 Removing intermediate container 2e30ce278a56 22:14:04 ---> 8fb12aae5406 22:14:04 Step 6/10 : WORKDIR /device-modbus-go 22:14:04 ---> Running in c1eb60dbede2 22:14:04 Removing intermediate container c1eb60dbede2 22:14:04 ---> 2f671e09ff25 22:14:04 Step 7/10 : COPY go.mod vendor* ./ 22:14:04 ---> 4998d4d9f2fb 22:14:04 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:14:04 ---> Running in f3967d0bd4c5 22:14:22 Removing intermediate container f3967d0bd4c5 22:14:22 ---> 922f931f71ba 22:14:22 Step 9/10 : COPY . . 22:14:23 ---> b35fd46c0e2d 22:14:23 Step 10/10 : RUN ${MAKE} 22:14:23 ---> Running in 16da05f209cf 22:14:23 noop 22:14:23 Removing intermediate container 16da05f209cf 22:14:23 ---> 52ab669539bb 22:14:23 Successfully built 52ab669539bb 22:14:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:23 + docker inspect -f . ci-base-image-x86_64 22:14:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:23 prd-ubuntu20.04-docker-8c-8g-29357 does not seem to be running inside a container 22:14:24 $ 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 22:14:24 $ docker top 365ec4109c3771f924eb1f65f48423668e4d2e71af63fbfe31eb0923d879aecf -eo pid,comm [Pipeline] { [Pipeline] sh 22:14:24 + go version 22:14:24 go version go1.18.3 linux/amd64 [Pipeline] } 22:14:24 $ docker stop --time=1 365ec4109c3771f924eb1f65f48423668e4d2e71af63fbfe31eb0923d879aecf 22:14:26 $ docker rm -f 365ec4109c3771f924eb1f65f48423668e4d2e71af63fbfe31eb0923d879aecf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:26 + docker inspect -f . ci-base-image-x86_64 22:14:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:26 prd-ubuntu20.04-docker-8c-8g-29357 does not seem to be running inside a container 22:14:26 $ 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 22:14:27 $ docker top f11d28dd8da272f947c6fb8a1f59c775eb4039f3ddc4b58654e210d4568c2a78 -eo pid,comm [Pipeline] { [Pipeline] sh 22:14:27 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 22:14:27 + make test 22:14:27 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:14:28 ? github.com/edgexfoundry/device-modbus-go [no test files] 22:14:38 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 22:14:38 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.7% of statements 22:14:44 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." 22:14:44 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:14:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:14:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:14:48 ./bin/test-attribution-txt.sh 22:14:48 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 22:14:48 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 22:14:48 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 22:14:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:14:48 $ docker stop --time=1 f11d28dd8da272f947c6fb8a1f59c775eb4039f3ddc4b58654e210d4568c2a78 22:14:50 $ docker rm -f f11d28dd8da272f947c6fb8a1f59c775eb4039f3ddc4b58654e210d4568c2a78 [Pipeline] // withDockerContainer [Pipeline] sh 22:14:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:14:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:14:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:14:52 + ls -al . 22:14:52 total 188 22:14:52 drwxrwxr-x 10 jenkins jenkins 4096 Sep 15 22:14 . 22:14:52 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 22:13 .. 22:14:52 -rw-rw-r-- 1 jenkins jenkins 140 Sep 15 22:13 .dockerignore 22:14:52 drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 22:14 .git 22:14:52 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:13 .github 22:14:52 -rw-rw-r-- 1 jenkins jenkins 331 Sep 15 22:13 .gitignore 22:14:52 -rw-rw-r-- 1 jenkins jenkins 41 Sep 15 22:13 .golangci.yml 22:14:52 drwxr-xr-x 3 jenkins jenkins 4096 Sep 15 22:13 .semver 22:14:52 -rw-rw-r-- 1 jenkins jenkins 9744 Sep 15 22:13 Attribution.txt 22:14:52 -rw-rw-r-- 1 jenkins jenkins 10001 Sep 15 22:13 CHANGELOG.md 22:14:52 -rw-rw-r-- 1 jenkins jenkins 1550 Sep 15 22:13 Dockerfile 22:14:52 -rw-rw-r-- 1 jenkins jenkins 677 Sep 15 22:13 GOVERNANCE.md 22:14:52 -rw-rw-r-- 1 jenkins jenkins 680 Sep 15 22:13 Jenkinsfile 22:14:52 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 15 22:13 LICENSE 22:14:52 -rw-rw-r-- 1 jenkins jenkins 1892 Sep 15 22:13 Makefile 22:14:52 -rw-rw-r-- 1 jenkins jenkins 622 Sep 15 22:13 OWNERS.md 22:14:52 -rw-rw-r-- 1 jenkins jenkins 3397 Sep 15 22:13 README.md 22:14:52 -rw-rw-r-- 1 jenkins jenkins 12 Sep 15 22:13 VERSION 22:14:52 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 22:13 bin 22:14:52 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:13 cmd 22:14:52 -rw-r--r-- 1 jenkins jenkins 23241 Sep 15 22:14 coverage.out 22:14:52 -rw-rw-r-- 1 jenkins jenkins 3572 Sep 15 22:13 go.mod 22:14:52 -rw-rw-r-- 1 jenkins jenkins 37058 Sep 15 22:13 go.sum 22:14:52 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:13 internal 22:14:52 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 22:13 simulator 22:14:52 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 22:13 snap 22:14:52 -rw-rw-r-- 1 jenkins jenkins 229 Sep 15 22:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:52 + 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=53d947db5a4f9528d63bb92e74d3c6e84cd7a675 --label arch=amd64 --label version=2.3.0-dev.12 . 22:14:52 Sending build context to Docker daemon 6.134MB 22:14:52 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 22:14:52 Step 2/23 : FROM ${BASE} AS builder 22:14:52 ---> 52ab669539bb 22:14:52 Step 3/23 : ARG MAKE='make build' 22:14:52 ---> Running in 5126d21f680f 22:14:52 Removing intermediate container 5126d21f680f 22:14:52 ---> 1ee17f1d9688 22:14:52 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:14:52 ---> Running in 6e62f50774ce 22:14:53 Removing intermediate container 6e62f50774ce 22:14:53 ---> 19b1d830c62b 22:14:53 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 22:14:53 ---> Running in 62730cf7780f 22:14:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:14:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:14:54 OK: 217 MiB in 59 packages 22:14:55 Removing intermediate container 62730cf7780f 22:14:55 ---> 81b985ddf5a3 22:14:55 Step 6/23 : WORKDIR /device-modbus-go 22:14:55 ---> Running in 186c1a1e607c 22:14:55 Removing intermediate container 186c1a1e607c 22:14:55 ---> 80ab3df43737 22:14:55 Step 7/23 : COPY go.mod vendor* ./ 22:14:55 ---> 983721c6e722 22:14:55 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:14:55 ---> Running in 96bd29a76ea4 22:14:55 Removing intermediate container 96bd29a76ea4 22:14:55 ---> 605c48eceb35 22:14:55 Step 9/23 : COPY . . 22:14:56 ---> d777b75c24a9 22:14:56 Step 10/23 : RUN ${MAKE} 22:14:56 ---> Running in b681e88c4444 22:14:56 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.12" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 22:15:18 Removing intermediate container b681e88c4444 22:15:18 ---> dcc1eb07d1a1 22:15:18 Step 11/23 : FROM alpine:3.14 22:15:18 3.14: Pulling from library/alpine 22:15:18 c7ed990a2339: Pulling fs layer 22:15:18 c7ed990a2339: Verifying Checksum 22:15:18 c7ed990a2339: Download complete 22:15:18 c7ed990a2339: Pull complete 22:15:18 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 22:15:18 Status: Downloaded newer image for alpine:3.14 22:15:18 ---> dd53f409bf0b 22:15:18 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 22:15:18 ---> Running in e3bc6b7d8f09 22:15:18 Removing intermediate container e3bc6b7d8f09 22:15:18 ---> fc3b2d429993 22:15:18 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:15:18 ---> Running in e85d65463fec 22:15:19 Removing intermediate container e85d65463fec 22:15:19 ---> da49c563a911 22:15:19 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 22:15:19 ---> Running in 47462fe3f3e0 22:15:19 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:15:20 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:15:20 (1/6) Installing dumb-init (1.2.5-r1) 22:15:20 (2/6) Installing libgcc (10.3.1_git20210424-r2) 22:15:20 (3/6) Installing libsodium (1.0.18-r0) 22:15:20 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 22:15:20 (5/6) Installing libzmq (4.3.4-r0) 22:15:20 (6/6) Installing zeromq (4.3.4-r0) 22:15:20 Executing busybox-1.33.1-r8.trigger 22:15:20 OK: 8 MiB in 20 packages 22:15:21 Removing intermediate container 47462fe3f3e0 22:15:21 ---> c242af0bc4c2 22:15:21 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 22:15:22 ---> d7e0fee43d96 22:15:22 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 22:15:22 ---> 1cef5609f975 22:15:22 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 22:15:22 ---> 02c061bfcfd6 22:15:22 Step 18/23 : EXPOSE 59901 22:15:22 ---> Running in 545903d6b20c 22:15:22 Removing intermediate container 545903d6b20c 22:15:22 ---> abf64b50704f 22:15:22 Step 19/23 : ENTRYPOINT ["/device-modbus"] 22:15:22 ---> Running in f50c1a5baa07 22:15:22 Removing intermediate container f50c1a5baa07 22:15:22 ---> c8c6b5fcbbdd 22:15:22 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:15:22 ---> Running in d94c9aea3fbc 22:15:22 Removing intermediate container d94c9aea3fbc 22:15:22 ---> 31d03e759545 22:15:22 Step 21/23 : LABEL arch=amd64 22:15:22 ---> Running in cb19259654a7 22:15:22 Removing intermediate container cb19259654a7 22:15:22 ---> 25f0139ae48f 22:15:22 Step 22/23 : LABEL git_sha=53d947db5a4f9528d63bb92e74d3c6e84cd7a675 22:15:22 ---> Running in c5979bd5938a 22:15:23 Removing intermediate container c5979bd5938a 22:15:23 ---> e2755e1f9a3b 22:15:23 Step 23/23 : LABEL version=2.3.0-dev.12 22:15:23 ---> Running in 7a5561b3500e 22:15:23 Removing intermediate container 7a5561b3500e 22:15:23 ---> e9f270bf8f6a 22:15:23 [Warning] One or more build-args [ARCH] were not consumed 22:15:23 Successfully built e9f270bf8f6a 22:15:23 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:15:23 provisioning config files... 22:15:23 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1056611807235795758tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:15:23 ---> docker-login.sh 22:15:23 nexus3.edgexfoundry.org:10001 22:15:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:23 Configure a credential helper to remove this warning. See 22:15:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:23 22:15:23 Login Succeeded 22:15:23 nexus3.edgexfoundry.org:10002 22:15:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:23 Configure a credential helper to remove this warning. See 22:15:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:23 22:15:23 Login Succeeded 22:15:23 nexus3.edgexfoundry.org:10003 22:15:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:23 Configure a credential helper to remove this warning. See 22:15:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:23 22:15:23 Login Succeeded 22:15:23 nexus3.edgexfoundry.org:10004 22:15:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:24 Configure a credential helper to remove this warning. See 22:15:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:24 22:15:24 Login Succeeded 22:15:24 docker.io 22:15:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:24 Configure a credential helper to remove this warning. See 22:15:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:24 22:15:24 Login Succeeded 22:15:24 ---> docker-login.sh ends [Pipeline] } 22:15:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:15:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:15:24 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 22:15:24 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 22:15:24 latest 22:15:24 2.3.0-dev.12 22:15:24 53d947db5a4f9528d63bb92e74d3c6e84cd7a675-2.3.0-dev.12 22:15:24 main 22:15:24 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:24 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:53d947db5a4f9528d63bb92e74d3c6e84cd7a675 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:25 + docker push nexus3.edgexfoundry.org:10004/device-modbus:53d947db5a4f9528d63bb92e74d3c6e84cd7a675 22:15:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 22:15:25 2233064876e2: Preparing 22:15:25 913e49ab66f5: Preparing 22:15:25 4c328debcbb7: Preparing 22:15:25 2bbae20b9681: Preparing 22:15:25 23d23ee92b1a: Preparing 22:15:25 63493a9ab2d4: Preparing 22:15:25 63493a9ab2d4: Waiting 22:15:25 2233064876e2: Pushed 22:15:25 23d23ee92b1a: Pushed 22:15:25 913e49ab66f5: Pushed 22:15:25 63493a9ab2d4: Layer already exists 22:15:25 2bbae20b9681: Pushed 22:15:27 4c328debcbb7: Pushed 22:15:27 53d947db5a4f9528d63bb92e74d3c6e84cd7a675: digest: sha256:fbe854a5ba2f603987b6f7bf991f684a148594e1bd4be6a1866c56e9690e3033 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:28 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:28 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 22:15:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 22:15:28 2233064876e2: Preparing 22:15:28 913e49ab66f5: Preparing 22:15:28 4c328debcbb7: Preparing 22:15:28 2bbae20b9681: Preparing 22:15:28 23d23ee92b1a: Preparing 22:15:28 63493a9ab2d4: Preparing 22:15:28 63493a9ab2d4: Waiting 22:15:28 4c328debcbb7: Layer already exists 22:15:28 2bbae20b9681: Layer already exists 22:15:28 2233064876e2: Layer already exists 22:15:28 913e49ab66f5: Layer already exists 22:15:28 23d23ee92b1a: Layer already exists 22:15:28 63493a9ab2d4: Layer already exists 22:15:28 latest: digest: sha256:fbe854a5ba2f603987b6f7bf991f684a148594e1bd4be6a1866c56e9690e3033 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:28 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:29 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.12 22:15:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 22:15:29 2233064876e2: Preparing 22:15:29 913e49ab66f5: Preparing 22:15:29 4c328debcbb7: Preparing 22:15:29 2bbae20b9681: Preparing 22:15:29 23d23ee92b1a: Preparing 22:15:29 63493a9ab2d4: Preparing 22:15:29 63493a9ab2d4: Waiting 22:15:29 23d23ee92b1a: Layer already exists 22:15:29 4c328debcbb7: Layer already exists 22:15:29 2bbae20b9681: Layer already exists 22:15:29 2233064876e2: Layer already exists 22:15:29 913e49ab66f5: Layer already exists 22:15:29 63493a9ab2d4: Layer already exists 22:15:29 2.3.0-dev.12: digest: sha256:fbe854a5ba2f603987b6f7bf991f684a148594e1bd4be6a1866c56e9690e3033 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:29 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:53d947db5a4f9528d63bb92e74d3c6e84cd7a675-2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:29 + docker push nexus3.edgexfoundry.org:10004/device-modbus:53d947db5a4f9528d63bb92e74d3c6e84cd7a675-2.3.0-dev.12 22:15:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 22:15:29 2233064876e2: Preparing 22:15:29 913e49ab66f5: Preparing 22:15:29 4c328debcbb7: Preparing 22:15:29 2bbae20b9681: Preparing 22:15:29 23d23ee92b1a: Preparing 22:15:29 63493a9ab2d4: Preparing 22:15:29 63493a9ab2d4: Waiting 22:15:29 913e49ab66f5: Layer already exists 22:15:29 2233064876e2: Layer already exists 22:15:29 4c328debcbb7: Layer already exists 22:15:29 2bbae20b9681: Layer already exists 22:15:29 23d23ee92b1a: Layer already exists 22:15:29 63493a9ab2d4: Layer already exists 22:15:29 53d947db5a4f9528d63bb92e74d3c6e84cd7a675-2.3.0-dev.12: digest: sha256:fbe854a5ba2f603987b6f7bf991f684a148594e1bd4be6a1866c56e9690e3033 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:30 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:30 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 22:15:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 22:15:30 2233064876e2: Preparing 22:15:30 913e49ab66f5: Preparing 22:15:30 4c328debcbb7: Preparing 22:15:30 2bbae20b9681: Preparing 22:15:30 23d23ee92b1a: Preparing 22:15:30 63493a9ab2d4: Preparing 22:15:30 63493a9ab2d4: Waiting 22:15:30 2bbae20b9681: Layer already exists 22:15:30 913e49ab66f5: Layer already exists 22:15:30 4c328debcbb7: Layer already exists 22:15:30 23d23ee92b1a: Layer already exists 22:15:30 2233064876e2: Layer already exists 22:15:30 63493a9ab2d4: Layer already exists 22:15:30 main: digest: sha256:fbe854a5ba2f603987b6f7bf991f684a148594e1bd4be6a1866c56e9690e3033 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:15:30 ===================================================== [Pipeline] echo 22:15:30 taggedImages: 22:15:30 - nexus3.edgexfoundry.org:10004/device-modbus:53d947db5a4f9528d63bb92e74d3c6e84cd7a675 22:15:30 - nexus3.edgexfoundry.org:10004/device-modbus:latest 22:15:30 - nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.12 22:15:30 - nexus3.edgexfoundry.org:10004/device-modbus:53d947db5a4f9528d63bb92e74d3c6e84cd7a675-2.3.0-dev.12 22:15:30 - 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 22:15:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:15:30 22:15:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:15:31 latest: Pulling from edgex-lftools-log-publisher 22:15:31 5eb5b503b376: Pulling fs layer 22:15:31 5c69ac0246d0: Pulling fs layer 22:15:31 ec43610c2a17: Pulling fs layer 22:15:31 3a2ae6a8a46f: Pulling fs layer 22:15:31 33b1e0a273af: Pulling fs layer 22:15:31 5d3b04190fa2: Pulling fs layer 22:15:31 2f39f015ded8: Pulling fs layer 22:15:31 3a2ae6a8a46f: Waiting 22:15:31 33b1e0a273af: Waiting 22:15:31 5d3b04190fa2: Waiting 22:15:31 2f39f015ded8: Waiting 22:15:31 5c69ac0246d0: Download complete 22:15:31 3a2ae6a8a46f: Download complete 22:15:31 33b1e0a273af: Verifying Checksum 22:15:31 33b1e0a273af: Download complete 22:15:31 5d3b04190fa2: Verifying Checksum 22:15:31 5d3b04190fa2: Download complete 22:15:31 ec43610c2a17: Download complete 22:15:31 5eb5b503b376: Verifying Checksum 22:15:31 5eb5b503b376: Download complete 22:15:32 2f39f015ded8: Verifying Checksum 22:15:32 2f39f015ded8: Download complete 22:15:32 5eb5b503b376: Pull complete 22:15:33 5c69ac0246d0: Pull complete 22:15:33 ec43610c2a17: Pull complete 22:15:33 3a2ae6a8a46f: Pull complete 22:15:34 33b1e0a273af: Pull complete 22:15:34 5d3b04190fa2: Pull complete 22:15:39 2f39f015ded8: Pull complete 22:15:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:15:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:15:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:39 prd-ubuntu20.04-docker-8c-8g-29357 does not seem to be running inside a container 22:15:39 $ 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 22:15:41 $ docker top 34d1a71ecdc2cefde8f48e18764c9da4279a844d3f1337c04f35ca709b0c2da3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:15:41 ---> job-cost.sh 22:15:41 lf-activate-venv: SKIPPING 22:15:41 INFO: No Stack... 22:15:42 INFO: Retrieving Pricing Info for: v3-standard-8 22:15:42 INFO: Archiving Costs [Pipeline] sh 22:15:42 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 22:15:42 + cut -d, -f6 [Pipeline] lock 22:15:43 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-51-stack-cost] 22:15:43 Resource [jenkins-edgexfoundry-device-modbus-go-main-51-stack-cost] did not exist. Created. 22:15:43 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:15:43 + echo total: 0.2199999988079071 [Pipeline] stash 22:15:43 Stashed 1 file(s) [Pipeline] } 22:15:43 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-51-stack-cost] [Pipeline] // lock [Pipeline] } 22:15:43 $ docker stop --time=1 34d1a71ecdc2cefde8f48e18764c9da4279a844d3f1337c04f35ca709b0c2da3 22:15:44 $ docker rm -f 34d1a71ecdc2cefde8f48e18764c9da4279a844d3f1337c04f35ca709b0c2da3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:24:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-29624 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 22:24:32 Running in /w/workspace/device-modbus-go/51 [Pipeline] { [Pipeline] checkout 22:24:32 Selected Git installation does not exist. Using Default 22:24:32 The recommended git tool is: NONE 22:24:38 using credential edgex-jenkins-ssh 22:24:38 Cloning the remote Git repository 22:24:38 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 22:24:39 > git init /w/workspace/device-modbus-go/51 # timeout=10 22:24:39 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 22:24:39 > git --version # timeout=10 22:24:39 > git --version # 'git version 2.25.1' 22:24:39 using GIT_SSH to set credentials SSH Credentials for GitHub 22:24:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:24:40 Avoid second fetch 22:24:40 Checking out Revision 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 (main) 22:24:40 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 22:24:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:24:40 > git config core.sparsecheckout # timeout=10 22:24:40 > git checkout -f 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 # timeout=10 22:24:45 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 (#373)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:24:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:24:46 % Total % Received % Xferd Average Speed Time Time Time Current 22:24:46 Dload Upload Total Spent Left Speed 22:24:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 232k 0 --:--:-- --:--:-- --:--:-- 232k [Pipeline] sh 22:24:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:24:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:24:47 + sudo tee /etc/docker/daemon.new 22:24:47 { 22:24:47 "registry-mirrors": [ 22:24:47 "https://nexus3.edgexfoundry.org:10001" 22:24:47 ], 22:24:47 "bip": "10.250.0.254/24", 22:24:47 "hosts": [ 22:24:47 "tcp://0.0.0.0:5555", 22:24:47 "unix:///var/run/docker.sock" 22:24:47 ], 22:24:47 "mtu": 1458, 22:24:47 "selinux-enabled": true, 22:24:47 "seccomp-profile": "/etc/docker/seccomp.json" 22:24:47 } [Pipeline] sh 22:24:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:24:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:25:06 provisioning config files... 22:25:06 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/51@tmp/config5805772685424665910tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:25:06 ---> docker-login.sh 22:25:06 nexus3.edgexfoundry.org:10001 22:25:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:07 Configure a credential helper to remove this warning. See 22:25:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:07 22:25:07 Login Succeeded 22:25:07 nexus3.edgexfoundry.org:10002 22:25:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:08 Configure a credential helper to remove this warning. See 22:25:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:08 22:25:08 Login Succeeded 22:25:08 nexus3.edgexfoundry.org:10003 22:25:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:08 Configure a credential helper to remove this warning. See 22:25:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:08 22:25:08 Login Succeeded 22:25:08 nexus3.edgexfoundry.org:10004 22:25:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:09 Configure a credential helper to remove this warning. See 22:25:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:09 22:25:09 Login Succeeded 22:25:09 docker.io 22:25:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:10 Configure a credential helper to remove this warning. See 22:25:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:10 22:25:10 Login Succeeded 22:25:10 ---> docker-login.sh ends [Pipeline] } 22:25:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:25:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:25:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:25:10 ========================================================= 22:25:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:25:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:11 + 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 . 22:25:11 Sending build context to Docker daemon 3.174MB 22:25:11 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 22:25:11 Step 2/10 : FROM ${BASE} AS builder 22:25:11 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:25:11 b3c136eddcbf: Pulling fs layer 22:25:11 c0a3192eca97: Pulling fs layer 22:25:11 a050256f5b6f: Pulling fs layer 22:25:11 656be50a0ddc: Pulling fs layer 22:25:11 2bbca73fdf42: Pulling fs layer 22:25:11 46d945488cbd: Pulling fs layer 22:25:11 8a5474983e97: Pulling fs layer 22:25:11 329c88fbcd65: Pulling fs layer 22:25:11 2bbca73fdf42: Waiting 22:25:11 46d945488cbd: Waiting 22:25:11 8a5474983e97: Waiting 22:25:11 329c88fbcd65: Waiting 22:25:11 656be50a0ddc: Waiting 22:25:11 a050256f5b6f: Download complete 22:25:12 c0a3192eca97: Verifying Checksum 22:25:12 c0a3192eca97: Download complete 22:25:12 2bbca73fdf42: Download complete 22:25:12 46d945488cbd: Verifying Checksum 22:25:12 46d945488cbd: Download complete 22:25:12 b3c136eddcbf: Verifying Checksum 22:25:12 b3c136eddcbf: Download complete 22:25:13 b3c136eddcbf: Pull complete 22:25:13 c0a3192eca97: Pull complete 22:25:13 329c88fbcd65: Verifying Checksum 22:25:13 329c88fbcd65: Download complete 22:25:14 a050256f5b6f: Pull complete 22:25:16 8a5474983e97: Download complete 22:25:16 656be50a0ddc: Verifying Checksum 22:25:16 656be50a0ddc: Download complete 22:25:32 656be50a0ddc: Pull complete 22:25:32 2bbca73fdf42: Pull complete 22:25:32 46d945488cbd: Pull complete 22:25:38 8a5474983e97: Pull complete 22:25:39 329c88fbcd65: Pull complete 22:25:39 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 22:25:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:25:39 ---> ff4287adb874 22:25:39 Step 3/10 : ARG MAKE='make build' 22:25:41 ---> Running in 630cf86bd444 22:25:41 Removing intermediate container 630cf86bd444 22:25:41 ---> 5a0d739efeb6 22:25:41 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:25:41 ---> Running in 14c5a3aa2f24 22:25:43 Removing intermediate container 14c5a3aa2f24 22:25:43 ---> 231dbecd84ce 22:25:43 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 22:25:43 ---> Running in ffa27bdcb071 22:25:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:25:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:25:46 (1/8) Installing openssh-keygen (9.0_p1-r2) 22:25:47 (2/8) Installing libedit (20210910.3.1-r0) 22:25:47 (3/8) Installing openssh-client-common (9.0_p1-r2) 22:25:47 (4/8) Installing openssh-client-default (9.0_p1-r2) 22:25:47 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 22:25:47 (6/8) Installing openssh-server-common (9.0_p1-r2) 22:25:47 (7/8) Installing openssh-server (9.0_p1-r2) 22:25:47 (8/8) Installing openssh (9.0_p1-r2) 22:25:47 Executing busybox-1.35.0-r13.trigger 22:25:47 OK: 228 MiB in 59 packages 22:25:48 Removing intermediate container ffa27bdcb071 22:25:48 ---> 1961218f4807 22:25:48 Step 6/10 : WORKDIR /device-modbus-go 22:25:48 ---> Running in 755f8d83c0c5 22:25:49 Removing intermediate container 755f8d83c0c5 22:25:49 ---> 741edefd843e 22:25:49 Step 7/10 : COPY go.mod vendor* ./ 22:25:49 ---> 9b63d5ca4920 22:25:49 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:25:49 ---> Running in 49c07d7d364a 22:26:46 Removing intermediate container 49c07d7d364a 22:26:46 ---> ee8ddb993d08 22:26:46 Step 9/10 : COPY . . 22:26:46 ---> ab2aa9d59367 22:26:46 Step 10/10 : RUN ${MAKE} 22:26:46 ---> Running in c00872391aa9 22:26:46 noop 22:26:46 Removing intermediate container c00872391aa9 22:26:46 ---> 68f82d1a3f93 22:26:46 Successfully built 68f82d1a3f93 22:26:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:46 + docker inspect -f . ci-base-image-arm64 22:26:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:26:46 prd-ubuntu20.04-docker-arm64-4c-16g-29624 does not seem to be running inside a container 22:26:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/51 -v /w/workspace/device-modbus-go/51:/w/workspace/device-modbus-go/51:rw,z -v /w/workspace/device-modbus-go/51@tmp:/w/workspace/device-modbus-go/51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:26:48 $ docker top 15bdb6abbc57ea8350a57462915be22dae8756f2be1f25c9897eb0854909679d -eo pid,comm [Pipeline] { [Pipeline] sh 22:26:49 + go version 22:26:49 go version go1.18.3 linux/arm64 [Pipeline] } 22:26:49 $ docker stop --time=1 15bdb6abbc57ea8350a57462915be22dae8756f2be1f25c9897eb0854909679d 22:26:51 $ docker rm -f 15bdb6abbc57ea8350a57462915be22dae8756f2be1f25c9897eb0854909679d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:51 + docker inspect -f . ci-base-image-arm64 22:26:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:26:52 prd-ubuntu20.04-docker-arm64-4c-16g-29624 does not seem to be running inside a container 22:26:52 $ 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/51 -v /w/workspace/device-modbus-go/51:/w/workspace/device-modbus-go/51:rw,z -v /w/workspace/device-modbus-go/51@tmp:/w/workspace/device-modbus-go/51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:26:53 $ docker top 156cd58e996a46712fc345f5bd3ac1284434cbbf776d30c0af28a4197617a86b -eo pid,comm [Pipeline] { [Pipeline] sh 22:26:54 + git config --global --add safe.directory /w/workspace/device-modbus-go/51 [Pipeline] fileExists [Pipeline] sh 22:26:55 + make test 22:26:55 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:26:57 ? github.com/edgexfoundry/device-modbus-go [no test files] 22:28:34 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 22:28:38 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.066s coverage: 47.7% of statements 22:28:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:28:38 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:29:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:29:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:29:05 ./bin/test-attribution-txt.sh 22:29:05 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 22:29:05 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 22:29:05 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 22:29:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:29:05 $ docker stop --time=1 156cd58e996a46712fc345f5bd3ac1284434cbbf776d30c0af28a4197617a86b 22:29:07 $ docker rm -f 156cd58e996a46712fc345f5bd3ac1284434cbbf776d30c0af28a4197617a86b [Pipeline] // withDockerContainer [Pipeline] sh 22:29:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:29:08 Warning: overwriting stash ‘coverage-report’ 22:29:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:29:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:29:10 + ls -al . 22:29:10 total 184 22:29:10 drwxrwxr-x 9 jenkins jenkins 4096 Sep 15 22:26 . 22:29:10 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 22:24 .. 22:29:10 -rw-rw-r-- 1 jenkins jenkins 140 Sep 15 22:24 .dockerignore 22:29:10 drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 22:24 .git 22:29:10 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:24 .github 22:29:10 -rw-rw-r-- 1 jenkins jenkins 331 Sep 15 22:24 .gitignore 22:29:10 -rw-rw-r-- 1 jenkins jenkins 41 Sep 15 22:24 .golangci.yml 22:29:10 -rw-rw-r-- 1 jenkins jenkins 9744 Sep 15 22:24 Attribution.txt 22:29:10 -rw-rw-r-- 1 jenkins jenkins 10001 Sep 15 22:24 CHANGELOG.md 22:29:10 -rw-rw-r-- 1 jenkins jenkins 1550 Sep 15 22:24 Dockerfile 22:29:10 -rw-rw-r-- 1 jenkins jenkins 677 Sep 15 22:24 GOVERNANCE.md 22:29:10 -rw-rw-r-- 1 jenkins jenkins 680 Sep 15 22:24 Jenkinsfile 22:29:10 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 15 22:24 LICENSE 22:29:10 -rw-rw-r-- 1 jenkins jenkins 1892 Sep 15 22:24 Makefile 22:29:10 -rw-rw-r-- 1 jenkins jenkins 622 Sep 15 22:24 OWNERS.md 22:29:10 -rw-rw-r-- 1 jenkins jenkins 3397 Sep 15 22:24 README.md 22:29:10 -rw-rw-r-- 1 jenkins jenkins 12 Sep 15 22:13 VERSION 22:29:10 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 22:24 bin 22:29:10 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:24 cmd 22:29:10 -rw-r--r-- 1 jenkins jenkins 23241 Sep 15 22:28 coverage.out 22:29:10 -rw-rw-r-- 1 jenkins jenkins 3572 Sep 15 22:24 go.mod 22:29:10 -rw-rw-r-- 1 jenkins jenkins 37058 Sep 15 22:24 go.sum 22:29:10 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:24 internal 22:29:10 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 22:24 simulator 22:29:10 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 22:24 snap 22:29:10 -rw-rw-r-- 1 jenkins jenkins 229 Sep 15 22:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:11 + 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=53d947db5a4f9528d63bb92e74d3c6e84cd7a675 --label arch=arm64 --label version=2.3.0-dev.12 . 22:29:11 Sending build context to Docker daemon 3.198MB 22:29:11 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 22:29:11 Step 2/23 : FROM ${BASE} AS builder 22:29:11 ---> 68f82d1a3f93 22:29:11 Step 3/23 : ARG MAKE='make build' 22:29:11 ---> Running in c63e8387f25a 22:29:12 Removing intermediate container c63e8387f25a 22:29:12 ---> 2111bf79f9c6 22:29:12 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:29:12 ---> Running in 531dc3c5f070 22:29:14 Removing intermediate container 531dc3c5f070 22:29:14 ---> 0cf29a1d0bd0 22:29:14 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 22:29:14 ---> Running in aba60c73ee6c 22:29:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:29:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:29:17 OK: 228 MiB in 59 packages 22:29:18 Removing intermediate container aba60c73ee6c 22:29:18 ---> f4904183d8f1 22:29:18 Step 6/23 : WORKDIR /device-modbus-go 22:29:18 ---> Running in 98d517cd475a 22:29:19 Removing intermediate container 98d517cd475a 22:29:19 ---> 5dc2b03e5931 22:29:19 Step 7/23 : COPY go.mod vendor* ./ 22:29:19 ---> 95e8b28c481c 22:29:19 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:29:19 ---> Running in 43f7e78a05f0 22:29:22 Removing intermediate container 43f7e78a05f0 22:29:22 ---> be872cd74c99 22:29:22 Step 9/23 : COPY . . 22:29:23 ---> 63ea61a2cf28 22:29:23 Step 10/23 : RUN ${MAKE} 22:29:23 ---> Running in 0f4f187b04b3 22:29:24 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.12" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 22:32:01 Removing intermediate container 0f4f187b04b3 22:32:01 ---> 0b22938f95fe 22:32:01 Step 11/23 : FROM alpine:3.14 22:32:01 3.14: Pulling from library/alpine 22:32:01 90cda3b7c325: Pulling fs layer 22:32:01 90cda3b7c325: Verifying Checksum 22:32:01 90cda3b7c325: Download complete 22:32:01 90cda3b7c325: Pull complete 22:32:01 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 22:32:01 Status: Downloaded newer image for alpine:3.14 22:32:01 ---> 376ba31ae3da 22:32:01 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 22:32:01 ---> Running in a1ea9a73b28a 22:32:01 Removing intermediate container a1ea9a73b28a 22:32:01 ---> 317400921745 22:32:01 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:32:01 ---> Running in 47f497daf609 22:32:03 Removing intermediate container 47f497daf609 22:32:03 ---> 311d2de5d456 22:32:03 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 22:32:03 ---> Running in aed1c95bb71e 22:32:04 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 22:32:05 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 22:32:06 (1/6) Installing dumb-init (1.2.5-r1) 22:32:06 (2/6) Installing libgcc (10.3.1_git20210424-r2) 22:32:07 (3/6) Installing libsodium (1.0.18-r0) 22:32:07 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 22:32:07 (5/6) Installing libzmq (4.3.4-r0) 22:32:07 (6/6) Installing zeromq (4.3.4-r0) 22:32:07 Executing busybox-1.33.1-r8.trigger 22:32:07 OK: 8 MiB in 20 packages 22:32:08 Removing intermediate container aed1c95bb71e 22:32:08 ---> 911eb3869217 22:32:08 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 22:32:10 ---> 4824a7e892b1 22:32:10 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 22:32:10 ---> 2c63d2d7af40 22:32:10 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 22:32:11 ---> 8cb167c7a4cd 22:32:11 Step 18/23 : EXPOSE 59901 22:32:11 ---> Running in 3cbf3cc14214 22:32:12 Removing intermediate container 3cbf3cc14214 22:32:12 ---> 6a426bf1062f 22:32:12 Step 19/23 : ENTRYPOINT ["/device-modbus"] 22:32:12 ---> Running in b80895803523 22:32:12 Removing intermediate container b80895803523 22:32:12 ---> 274f13810aae 22:32:12 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:32:12 ---> Running in 4203146139dc 22:32:12 Removing intermediate container 4203146139dc 22:32:12 ---> bd6170357d68 22:32:12 Step 21/23 : LABEL arch=arm64 22:32:12 ---> Running in ab48a759635e 22:32:13 Removing intermediate container ab48a759635e 22:32:13 ---> 3a36c7e40161 22:32:13 Step 22/23 : LABEL git_sha=53d947db5a4f9528d63bb92e74d3c6e84cd7a675 22:32:13 ---> Running in c91813a06965 22:32:13 Removing intermediate container c91813a06965 22:32:13 ---> e2e39c57168c 22:32:13 Step 23/23 : LABEL version=2.3.0-dev.12 22:32:14 ---> Running in fbf1afe3eab8 22:32:14 Removing intermediate container fbf1afe3eab8 22:32:14 ---> af4b7cb1de7a 22:32:14 [Warning] One or more build-args [ARCH] were not consumed 22:32:14 Successfully built af4b7cb1de7a 22:32:14 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 22:32:14 provisioning config files... 22:32:14 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/51@tmp/config462201027425881941tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:32:14 ---> docker-login.sh 22:32:14 nexus3.edgexfoundry.org:10001 22:32:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:32:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:32:15 Configure a credential helper to remove this warning. See 22:32:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:32:15 22:32:15 Login Succeeded 22:32:15 nexus3.edgexfoundry.org:10002 22:32:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:32:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:32:15 Configure a credential helper to remove this warning. See 22:32:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:32:15 22:32:15 Login Succeeded 22:32:15 nexus3.edgexfoundry.org:10003 22:32:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:32:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:32:16 Configure a credential helper to remove this warning. See 22:32:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:32:16 22:32:16 Login Succeeded 22:32:16 nexus3.edgexfoundry.org:10004 22:32:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:32:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:32:17 Configure a credential helper to remove this warning. See 22:32:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:32:17 22:32:17 Login Succeeded 22:32:17 docker.io 22:32:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:32:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:32:18 Configure a credential helper to remove this warning. See 22:32:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:32:18 22:32:18 Login Succeeded 22:32:18 ---> docker-login.sh ends [Pipeline] } 22:32:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:32:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:32:18 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 22:32:18 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 22:32:18 latest 22:32:18 2.3.0-dev.12 22:32:18 53d947db5a4f9528d63bb92e74d3c6e84cd7a675-2.3.0-dev.12 22:32:18 main 22:32:18 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:18 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:53d947db5a4f9528d63bb92e74d3c6e84cd7a675 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:18 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:53d947db5a4f9528d63bb92e74d3c6e84cd7a675 22:32:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 22:32:18 b49ae3b75dcb: Preparing 22:32:18 7c3dfcc4f028: Preparing 22:32:18 45fa71d5f8c2: Preparing 22:32:18 5e311ca96562: Preparing 22:32:18 c19e1387cca7: Preparing 22:32:18 28c3ef001483: Preparing 22:32:18 28c3ef001483: Waiting 22:32:19 7c3dfcc4f028: Pushed 22:32:19 c19e1387cca7: Pushed 22:32:19 b49ae3b75dcb: Pushed 22:32:19 28c3ef001483: Layer already exists 22:32:20 5e311ca96562: Pushed 22:32:25 45fa71d5f8c2: Pushed 22:32:25 53d947db5a4f9528d63bb92e74d3c6e84cd7a675: digest: sha256:4bbb300b3589725e48017c086b97fb780501f9195310426447b6553ccf0bbe05 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:25 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:26 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 22:32:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 22:32:26 b49ae3b75dcb: Preparing 22:32:26 7c3dfcc4f028: Preparing 22:32:26 45fa71d5f8c2: Preparing 22:32:26 5e311ca96562: Preparing 22:32:26 c19e1387cca7: Preparing 22:32:26 28c3ef001483: Preparing 22:32:26 28c3ef001483: Waiting 22:32:26 c19e1387cca7: Layer already exists 22:32:26 b49ae3b75dcb: Layer already exists 22:32:26 5e311ca96562: Layer already exists 22:32:26 45fa71d5f8c2: Layer already exists 22:32:26 7c3dfcc4f028: Layer already exists 22:32:26 28c3ef001483: Layer already exists 22:32:26 latest: digest: sha256:4bbb300b3589725e48017c086b97fb780501f9195310426447b6553ccf0bbe05 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:26 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:27 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.12 22:32:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 22:32:27 b49ae3b75dcb: Preparing 22:32:27 7c3dfcc4f028: Preparing 22:32:27 45fa71d5f8c2: Preparing 22:32:27 5e311ca96562: Preparing 22:32:27 c19e1387cca7: Preparing 22:32:27 28c3ef001483: Preparing 22:32:27 28c3ef001483: Waiting 22:32:27 c19e1387cca7: Layer already exists 22:32:27 b49ae3b75dcb: Layer already exists 22:32:27 7c3dfcc4f028: Layer already exists 22:32:27 45fa71d5f8c2: Layer already exists 22:32:27 5e311ca96562: Layer already exists 22:32:27 28c3ef001483: Layer already exists 22:32:27 2.3.0-dev.12: digest: sha256:4bbb300b3589725e48017c086b97fb780501f9195310426447b6553ccf0bbe05 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:28 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:53d947db5a4f9528d63bb92e74d3c6e84cd7a675-2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:28 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:53d947db5a4f9528d63bb92e74d3c6e84cd7a675-2.3.0-dev.12 22:32:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 22:32:28 b49ae3b75dcb: Preparing 22:32:28 7c3dfcc4f028: Preparing 22:32:28 45fa71d5f8c2: Preparing 22:32:28 5e311ca96562: Preparing 22:32:28 c19e1387cca7: Preparing 22:32:28 28c3ef001483: Preparing 22:32:28 28c3ef001483: Waiting 22:32:28 b49ae3b75dcb: Layer already exists 22:32:28 7c3dfcc4f028: Layer already exists 22:32:28 5e311ca96562: Layer already exists 22:32:28 c19e1387cca7: Layer already exists 22:32:28 45fa71d5f8c2: Layer already exists 22:32:28 28c3ef001483: Layer already exists 22:32:28 53d947db5a4f9528d63bb92e74d3c6e84cd7a675-2.3.0-dev.12: digest: sha256:4bbb300b3589725e48017c086b97fb780501f9195310426447b6553ccf0bbe05 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:29 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:29 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 22:32:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 22:32:29 b49ae3b75dcb: Preparing 22:32:29 7c3dfcc4f028: Preparing 22:32:29 45fa71d5f8c2: Preparing 22:32:29 5e311ca96562: Preparing 22:32:29 c19e1387cca7: Preparing 22:32:29 28c3ef001483: Preparing 22:32:29 28c3ef001483: Waiting 22:32:29 45fa71d5f8c2: Layer already exists 22:32:29 c19e1387cca7: Layer already exists 22:32:29 5e311ca96562: Layer already exists 22:32:29 b49ae3b75dcb: Layer already exists 22:32:29 7c3dfcc4f028: Layer already exists 22:32:29 28c3ef001483: Layer already exists 22:32:29 main: digest: sha256:4bbb300b3589725e48017c086b97fb780501f9195310426447b6553ccf0bbe05 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:32:29 ===================================================== [Pipeline] echo 22:32:29 taggedImages: 22:32:29 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:53d947db5a4f9528d63bb92e74d3c6e84cd7a675 22:32:29 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 22:32:29 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.12 22:32:29 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:53d947db5a4f9528d63bb92e74d3c6e84cd7a675-2.3.0-dev.12 22:32:29 - 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 22:32:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:32:30 22:32:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:32:30 arm64: Pulling from edgex-lftools-log-publisher 22:32:30 8998bd30e6a1: Pulling fs layer 22:32:30 04944245beec: Pulling fs layer 22:32:30 699f458cf7ca: Pulling fs layer 22:32:30 765212b225bb: Pulling fs layer 22:32:30 f23df028b6ca: Pulling fs layer 22:32:30 d65c8cfc05b1: Pulling fs layer 22:32:30 2437ff75d9bd: Pulling fs layer 22:32:30 f23df028b6ca: Waiting 22:32:30 d65c8cfc05b1: Waiting 22:32:30 2437ff75d9bd: Waiting 22:32:30 765212b225bb: Waiting 22:32:30 04944245beec: Verifying Checksum 22:32:30 04944245beec: Download complete 22:32:30 765212b225bb: Verifying Checksum 22:32:30 765212b225bb: Download complete 22:32:31 f23df028b6ca: Download complete 22:32:31 d65c8cfc05b1: Verifying Checksum 22:32:31 d65c8cfc05b1: Download complete 22:32:31 699f458cf7ca: Verifying Checksum 22:32:31 699f458cf7ca: Download complete 22:32:31 8998bd30e6a1: Verifying Checksum 22:32:31 8998bd30e6a1: Download complete 22:32:34 2437ff75d9bd: Verifying Checksum 22:32:34 2437ff75d9bd: Download complete 22:32:36 8998bd30e6a1: Pull complete 22:32:37 04944245beec: Pull complete 22:32:38 699f458cf7ca: Pull complete 22:32:38 765212b225bb: Pull complete 22:32:39 f23df028b6ca: Pull complete 22:32:40 d65c8cfc05b1: Pull complete 22:32:55 2437ff75d9bd: Pull complete 22:32:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:32:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:32:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:32:55 prd-ubuntu20.04-docker-arm64-4c-16g-29624 does not seem to be running inside a container 22:32:55 $ 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/51 -v /w/workspace/device-modbus-go/51:/w/workspace/device-modbus-go/51:rw,z -v /w/workspace/device-modbus-go/51@tmp:/w/workspace/device-modbus-go/51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:32:58 $ docker top 91bca62c904acf2c46862f2edda10a99c0e9e2972020deac1c35a318a09e40bb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:32:59 ---> job-cost.sh 22:32:59 lf-activate-venv: SKIPPING 22:32:59 INFO: No Stack... 22:33:00 INFO: Retrieving Pricing Info for: v3-standard-4 22:33:00 INFO: Archiving Costs [Pipeline] sh 22:33:01 + + catcut /w/workspace/device-modbus-go/51/archives/cost.csv -d, 22:33:01 -f6 [Pipeline] lock 22:33:01 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-51-stack-cost] 22:33:01 Resource [jenkins-edgexfoundry-device-modbus-go-main-51-stack-cost] did not exist. Created. 22:33:01 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:33:02 /w/workspace/device-modbus-go/51@tmp/durable-5c608771/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:33:03 + echo total: 0.10999999940395355 [Pipeline] stash 22:33:03 Warning: overwriting stash ‘stack-cost’ 22:33:03 Stashed 1 file(s) [Pipeline] } 22:33:03 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-51-stack-cost] [Pipeline] // lock [Pipeline] } 22:33:03 $ docker stop --time=1 91bca62c904acf2c46862f2edda10a99c0e9e2972020deac1c35a318a09e40bb 22:33:04 $ docker rm -f 91bca62c904acf2c46862f2edda10a99c0e9e2972020deac1c35a318a09e40bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 22:33:05 provisioning config files... 22:33:05 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config345374773664227415tmp [Pipeline] { [Pipeline] sh 22:33:05 + set +x 22:33:05 + + curl -s https://codecov.io/bash 22:33:05 bash -s -- 22:33:05 22:33:05 _____ _ 22:33:05 / ____| | | 22:33:05 | | ___ __| | ___ ___ _____ __ 22:33:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:33:05 | |___| (_) | (_| | __/ (_| (_) \ V / 22:33:05 \_____\___/ \__,_|\___|\___\___/ \_/ 22:33:05 Bash-1.0.6 22:33:05 22:33:05 22:33:05 ==> git version 2.25.1 found 22:33:05 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:33:05 Release-Date: 2020-01-08 22:33:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:33:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:33:05 ==> Jenkins CI detected. 22:33:05 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 22:33:05 project root: . 22:33:05 --> token set from env 22:33:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:33:05 ==> Running gcov in . (disable via -X gcov) 22:33:05 ==> Python coveragepy not found 22:33:05 ==> Searching for coverage reports in: 22:33:05 + . 22:33:05 -> Found 1 reports 22:33:05 ==> Detecting git/mercurial file structure 22:33:05 ==> Reading reports 22:33:05 + ./coverage.out bytes=23241 22:33:05 ==> Appending adjustments 22:33:05 https://docs.codecov.io/docs/fixing-reports 22:33:05 + Found adjustments 22:33:05 ==> Gzipping contents 22:33:05 4.0K /tmp/codecov.xFOxni.gz 22:33:05 ==> Uploading reports 22:33:05 url: https://codecov.io 22:33:05 query: branch=main&commit=53d947db5a4f9528d63bb92e74d3c6e84cd7a675&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:33:05 -> Pinging Codecov 22:33:05 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=53d947db5a4f9528d63bb92e74d3c6e84cd7a675&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:33:05 -> Uploading to 22:33:05 https://storage.googleapis.com/codecov/v4/raw/2022-09-15/55DBCA73C666E3227836607328DD7E49/53d947db5a4f9528d63bb92e74d3c6e84cd7a675/724d5e11-364a-41d0-a8e5-0617beb04e4e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220915%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220915T223305Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c2bedda5e8f77cf1365a8c28e38a28352b7c005f64bb12a061f1d1907d4e6339 22:33:05 % Total % Received % Xferd Average Speed Time Time Time Current 22:33:05 Dload Upload Total Spent Left Speed 22:33:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3937 0 0 100 3937 0 16969 --:--:-- --:--:-- --:--:-- 16969 22:33:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/53d947db5a4f9528d63bb92e74d3c6e84cd7a675 [Pipeline] } 22:33:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:33:06 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:33:06 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:33:06 22:33:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:33:07 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:33:07 df9b9388f04a: Pulling fs layer 22:33:07 52dc419b0ee2: Pulling fs layer 22:33:07 25bc292e5bac: Pulling fs layer 22:33:07 114826534d7a: Pulling fs layer 22:33:07 4657fd5d0bcf: Pulling fs layer 22:33:07 6ad1cebc031e: Pulling fs layer 22:33:07 8a3aa393b2d8: Pulling fs layer 22:33:07 114826534d7a: Waiting 22:33:07 4657fd5d0bcf: Waiting 22:33:07 6ad1cebc031e: Waiting 22:33:07 8a3aa393b2d8: Waiting 22:33:07 25bc292e5bac: Verifying Checksum 22:33:07 25bc292e5bac: Download complete 22:33:07 52dc419b0ee2: Verifying Checksum 22:33:07 52dc419b0ee2: Download complete 22:33:07 4657fd5d0bcf: Verifying Checksum 22:33:07 4657fd5d0bcf: Download complete 22:33:07 df9b9388f04a: Verifying Checksum 22:33:07 df9b9388f04a: Download complete 22:33:07 df9b9388f04a: Pull complete 22:33:07 6ad1cebc031e: Download complete 22:33:07 52dc419b0ee2: Pull complete 22:33:07 25bc292e5bac: Pull complete 22:33:07 114826534d7a: Verifying Checksum 22:33:07 114826534d7a: Download complete 22:33:08 8a3aa393b2d8: Verifying Checksum 22:33:08 8a3aa393b2d8: Download complete 22:33:11 114826534d7a: Pull complete 22:33:11 4657fd5d0bcf: Pull complete 22:33:11 6ad1cebc031e: Pull complete 22:33:14 8a3aa393b2d8: Pull complete 22:33:14 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:33:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:33:14 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:33:14 prd-ubuntu20.04-docker-8c-8g-29357 does not seem to be running inside a container 22:33:14 $ 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 22:33:16 $ docker top c9d2893e819eafc61c7792eec063b6806df7724a2b57e9790d3bbcf666864e38 -eo pid,comm [Pipeline] { [Pipeline] echo 22:33:16 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 22:33:17 + set -o pipefail 22:33:17 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 22:33:22 22:33:22 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 22:33:22 22:33:22 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/8e21a9a0-7861-4db1-b409-27b7b639ceba 22:33:22 22:33:22 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 22:33:22 22:33:22 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:33:22 22:33:22 [Pipeline] } 22:33:22 $ docker stop --time=1 c9d2893e819eafc61c7792eec063b6806df7724a2b57e9790d3bbcf666864e38 22:33:25 $ docker rm -f c9d2893e819eafc61c7792eec063b6806df7724a2b57e9790d3bbcf666864e38 [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 22:33:26 + git log --format=format:%s -1 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 [Pipeline] sh 22:33:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:33:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:33:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:33:26 prd-ubuntu20.04-docker-8c-8g-29357 does not seem to be running inside a container 22:33:26 $ 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 22:33:27 $ docker top 02012c2a4022b45af709c03e8403f118fb8e4fab99b39253592290d5c6a3099d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:33:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:33:27 [ssh-agent] Looking for ssh-agent implementation... 22:33:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:33:27 $ docker exec 02012c2a4022b45af709c03e8403f118fb8e4fab99b39253592290d5c6a3099d ssh-agent 22:33:27 SSH_AUTH_SOCK=/tmp/ssh-8ieM8C2Qrc3W/agent.35 22:33:27 SSH_AGENT_PID=41 22:33:27 Running ssh-add (command line suppressed) 22:33:27 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_307848884300966214.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_307848884300966214.key) 22:33:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:33:27 + git semver tag 22:33:28 2022-09-15 22:33:28,155 [run_tag] DEBUG tag force:False 22:33:28 2022-09-15 22:33:28,155 [check_head_tag] DEBUG check head tag 22:33:28 2022-09-15 22:33:28,155 [execute] INFO git cat-file --batch-check 22:33:28 2022-09-15 22:33:28,156 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 22:33:28 2022-09-15 22:33:28,159 [execute] INFO git cat-file --batch 22:33:28 2022-09-15 22:33:28,159 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 22:33:28 2022-09-15 22:33:28,171 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:33:28 2022-09-15 22:33:28,171 [execute] INFO git tag -a v2.3.0-dev.12 -m v2.3.0-dev.12 22:33:28 2022-09-15 22:33:28,172 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.12', '-m', 'v2.3.0-dev.12'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 22:33:28 2022-09-15 22:33:28,177 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:33:28 2.3.0-dev.12 [Pipeline] } 22:33:28 $ docker exec --env ******** --env ******** 02012c2a4022b45af709c03e8403f118fb8e4fab99b39253592290d5c6a3099d ssh-agent -k 22:33:28 unset SSH_AUTH_SOCK; 22:33:28 unset SSH_AGENT_PID; 22:33:28 echo Agent pid 41 killed; 22:33:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:33:28 + git semver [Pipeline] } 22:33:28 $ docker stop --time=1 02012c2a4022b45af709c03e8403f118fb8e4fab99b39253592290d5c6a3099d 22:33:30 $ docker rm -f 02012c2a4022b45af709c03e8403f118fb8e4fab99b39253592290d5c6a3099d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:33:30 22:33:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:33:30 0.23.1-centos7: Pulling from edgex-lftools 22:33:30 ab5ef0e58194: Pulling fs layer 22:33:30 9712f1f96733: Pulling fs layer 22:33:30 63f879dbbcfc: Pulling fs layer 22:33:30 0d9ebad4ef96: Pulling fs layer 22:33:30 e9a5061849ea: Pulling fs layer 22:33:30 d747dcd14b5f: Pulling fs layer 22:33:30 2de7ff778b66: Pulling fs layer 22:33:30 0d9ebad4ef96: Waiting 22:33:30 e9a5061849ea: Waiting 22:33:30 d747dcd14b5f: Waiting 22:33:30 2de7ff778b66: Waiting 22:33:30 9712f1f96733: Verifying Checksum 22:33:30 9712f1f96733: Download complete 22:33:31 63f879dbbcfc: Verifying Checksum 22:33:31 63f879dbbcfc: Download complete 22:33:31 e9a5061849ea: Verifying Checksum 22:33:31 e9a5061849ea: Download complete 22:33:31 d747dcd14b5f: Verifying Checksum 22:33:31 d747dcd14b5f: Download complete 22:33:31 0d9ebad4ef96: Verifying Checksum 22:33:31 0d9ebad4ef96: Download complete 22:33:31 ab5ef0e58194: Verifying Checksum 22:33:31 ab5ef0e58194: Download complete 22:33:31 2de7ff778b66: Verifying Checksum 22:33:31 2de7ff778b66: Download complete 22:33:35 ab5ef0e58194: Pull complete 22:33:35 9712f1f96733: Pull complete 22:33:35 63f879dbbcfc: Pull complete 22:33:39 0d9ebad4ef96: Pull complete 22:33:39 e9a5061849ea: Pull complete 22:33:39 d747dcd14b5f: Pull complete 22:33:40 2de7ff778b66: Pull complete 22:33:40 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:33:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:33:40 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:33:40 prd-ubuntu20.04-docker-8c-8g-29357 does not seem to be running inside a container 22:33:40 $ 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 22:33:43 $ docker top bb0c5eb9676add08f75ea13fb0cb26cbedf9cb425fadd1ed9b76521f11391596 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:33:43 provisioning config files... 22:33:43 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2008662379939402803tmp 22:33:43 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3704316211435293577tmp 22:33:43 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1245583953774573354tmp [Pipeline] { [Pipeline] echo 22:33:43 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:33:43 ---> sigul-configuration.sh 22:33:43 gpg: directory `/root/.gnupg' created 22:33:43 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:33:43 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:33:43 gpg: keyring `/root/.gnupg/secring.gpg' created 22:33:43 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:33:43 gpg: CAST5 encrypted data 22:33:43 gpg: encrypted with 1 passphrase 22:33:43 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:33:43 + mkdir /home/jenkins 22:33:43 + mkdir /home/jenkins/sigul [Pipeline] sh 22:33:44 + 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 22:33:44 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:33:44 ---> sigul-install.sh 22:33:44 Sigul already installed; skipping installation. [Pipeline] sh 22:33:44 + git tag --list 22:33:44 0.7.1 22:33:44 v1.0.0 22:33:44 v1.1.0 22:33:44 v1.1.1 22:33:44 v1.2.2 22:33:44 v1.3.0 22:33:44 v1.3.1 22:33:44 v2.0.0 22:33:44 v2.1.0 22:33:44 v2.1.1 22:33:44 v2.1.1-dev.1 22:33:44 v2.1.1-dev.2 22:33:44 v2.1.1-dev.3 22:33:44 v2.2.0 22:33:44 v2.2.1-dev.1 22:33:44 v2.2.1-dev.2 22:33:44 v2.2.1-dev.3 22:33:44 v2.2.1-dev.4 22:33:44 v2.2.1-dev.5 22:33:44 v2.2.1-dev.6 22:33:44 v2.2.1-dev.7 22:33:44 v2.3.0-dev.10 22:33:44 v2.3.0-dev.11 22:33:44 v2.3.0-dev.12 22:33:44 v2.3.0-dev.7 22:33:44 v2.3.0-dev.8 22:33:44 v2.3.0-dev.9 [Pipeline] sh 22:33:44 + lftools sign git-tag v2.3.0-dev.12 22:33:45 Signing Git tag with Sigul... 22:33:45 Signing v2.3.0-dev.12 [Pipeline] echo 22:33:46 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:33:46 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:33:46 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:33:46 $ docker stop --time=1 bb0c5eb9676add08f75ea13fb0cb26cbedf9cb425fadd1ed9b76521f11391596 22:33:47 $ docker rm -f bb0c5eb9676add08f75ea13fb0cb26cbedf9cb425fadd1ed9b76521f11391596 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:33:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:33:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:33:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:33:48 prd-ubuntu20.04-docker-8c-8g-29357 does not seem to be running inside a container 22:33:48 $ 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 22:33:49 $ docker top 516ec97dbd616bde17204f60d8239488009185f2186fc9821c53b15908158632 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:33:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:33:49 [ssh-agent] Looking for ssh-agent implementation... 22:33:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:33:49 $ docker exec 516ec97dbd616bde17204f60d8239488009185f2186fc9821c53b15908158632 ssh-agent 22:33:49 SSH_AUTH_SOCK=/tmp/ssh-SBW75hctgYEi/agent.32 22:33:49 SSH_AGENT_PID=39 22:33:49 Running ssh-add (command line suppressed) 22:33:49 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3022958614181038388.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3022958614181038388.key) 22:33:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:33:49 + git semver bump pre 22:33:50 2022-09-15 22:33:50,052 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:33:50 2022-09-15 22:33:50,052 [bump_version] DEBUG bumping version:2.3.0-dev.12 on axis:pre with prefix:dev 22:33:50 2022-09-15 22:33:50,052 [bump_version] DEBUG bumped version:2.3.0-dev.13 22:33:50 2022-09-15 22:33:50,052 [write_version] DEBUG write version:2.3.0-dev.13 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 22:33:50 2022-09-15 22:33:50,052 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:33:50 2022-09-15 22:33:50,052 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:33:50 2022-09-15 22:33:50,055 [execute] INFO git cat-file --batch-check 22:33:50 2022-09-15 22:33:50,055 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:33:50 2022-09-15 22:33:50,064 [execute] INFO git cat-file --batch 22:33:50 2022-09-15 22:33:50,064 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:33:50 2022-09-15 22:33:50,070 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:33:50 2.3.0-dev.13 [Pipeline] } 22:33:50 $ docker exec --env ******** --env ******** 516ec97dbd616bde17204f60d8239488009185f2186fc9821c53b15908158632 ssh-agent -k 22:33:50 unset SSH_AUTH_SOCK; 22:33:50 unset SSH_AGENT_PID; 22:33:50 echo Agent pid 39 killed; 22:33:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:33:50 + git semver [Pipeline] } 22:33:50 $ docker stop --time=1 516ec97dbd616bde17204f60d8239488009185f2186fc9821c53b15908158632 22:33:52 $ docker rm -f 516ec97dbd616bde17204f60d8239488009185f2186fc9821c53b15908158632 [Pipeline] // withDockerContainer [Pipeline] sh 22:33:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:33:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:33:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:33:52 prd-ubuntu20.04-docker-8c-8g-29357 does not seem to be running inside a container 22:33:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:33:53 $ docker top 3c81a5a02786f8a8f9c6234beea51f4995e174c9597e5e004890e1d30f9f9107 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:33:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:33:53 [ssh-agent] Looking for ssh-agent implementation... 22:33:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:33:53 $ docker exec 3c81a5a02786f8a8f9c6234beea51f4995e174c9597e5e004890e1d30f9f9107 ssh-agent 22:33:53 SSH_AUTH_SOCK=/tmp/ssh-W3EUCAwVyycM/agent.33 22:33:53 SSH_AGENT_PID=40 22:33:53 Running ssh-add (command line suppressed) 22:33:53 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2852918328429234806.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2852918328429234806.key) 22:33:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:33:53 + git semver push 22:33:54 2022-09-15 22:33:54,184 [run_push] DEBUG push 22:33:54 2022-09-15 22:33:54,185 [execute] INFO git cat-file --batch-check 22:33:54 2022-09-15 22:33:54,185 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:33:54 2022-09-15 22:33:54,189 [execute] INFO git rev-list a2cb130cdac6502881ca4dd96170b05abe49d1b8 -- 22:33:54 2022-09-15 22:33:54,190 [execute] DEBUG Popen(['git', 'rev-list', 'a2cb130cdac6502881ca4dd96170b05abe49d1b8', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:33:54 2022-09-15 22:33:54,197 [execute] INFO git fetch -v origin 22:33:54 2022-09-15 22:33:54,197 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 22:33:54 2022-09-15 22:33:54,753 [run_push] DEBUG no remote changes detected 22:33:54 2022-09-15 22:33:54,754 [execute] INFO git push origin semver 22:33:54 2022-09-15 22:33:54,754 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:33:55 2022-09-15 22:33:55,529 [run_push] DEBUG push all version tags 22:33:55 2022-09-15 22:33:55,530 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:33:55 2022-09-15 22:33:55,530 [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) 22:33:56 2022-09-15 22:33:56,326 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:33:56 2.3.0-dev.13 [Pipeline] } 22:33:56 $ docker exec --env ******** --env ******** 3c81a5a02786f8a8f9c6234beea51f4995e174c9597e5e004890e1d30f9f9107 ssh-agent -k 22:33:56 unset SSH_AUTH_SOCK; 22:33:56 unset SSH_AGENT_PID; 22:33:56 echo Agent pid 40 killed; 22:33:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:33:56 + git semver [Pipeline] } 22:33:57 $ docker stop --time=1 3c81a5a02786f8a8f9c6234beea51f4995e174c9597e5e004890e1d30f9f9107 22:33:58 $ docker rm -f 3c81a5a02786f8a8f9c6234beea51f4995e174c9597e5e004890e1d30f9f9107 [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 22:33:58 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 22:33:58 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 22:33:58 total 16 22:33:58 drwxr-xr-x 3 root root 4096 Sep 15 22:15 . 22:33:58 drwxrwxr-x 11 jenkins jenkins 4096 Sep 15 22:33 .. 22:33:58 drwxr-xr-x 2 root root 4096 Sep 15 22:15 cost 22:33:58 -rw-r--r-- 1 root root 87 Sep 15 22:15 cost.csv 22:33:58 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 22:33:58 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 22:33:58 total 16 22:33:58 drwxr-xr-x 3 jenkins jenkins 4096 Sep 15 22:15 . 22:33:58 drwxrwxr-x 11 jenkins jenkins 4096 Sep 15 22:33 .. 22:33:58 drwxr-xr-x 2 jenkins jenkins 4096 Sep 15 22:15 cost 22:33:58 -rw-r--r-- 1 jenkins jenkins 87 Sep 15 22:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:33:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:34:00 ---> package-listing.sh 22:34:00 ++ facter osfamily 22:34:00 ++ tr '[:upper:]' '[:lower:]' 22:34:00 + OS_FAMILY=debian 22:34:00 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 22:34:00 + START_PACKAGES=/tmp/packages_start.txt 22:34:00 + END_PACKAGES=/tmp/packages_end.txt 22:34:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:34:00 + PACKAGES=/tmp/packages_start.txt 22:34:00 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 22:34:00 + PACKAGES=/tmp/packages_end.txt 22:34:00 + case "${OS_FAMILY}" in 22:34:00 + dpkg -l 22:34:00 + grep '^ii' 22:34:00 + '[' -f /tmp/packages_start.txt ']' 22:34:00 + '[' -f /tmp/packages_end.txt ']' 22:34:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:34:00 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 22:34:00 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 22:34:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 22:34:00 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 22:34:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:34:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:34:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:34:01 prd-ubuntu20.04-docker-8c-8g-29357 does not seem to be running inside a container 22:34:01 $ 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 22:34:01 $ docker top 5d2edc39c53435bb50e530d056ee0079f34ed7ee0d546b4c891c7cf9b0985b14 -eo pid,comm [Pipeline] { [Pipeline] sh 22:34:01 + touch /tmp/pre-build-complete [Pipeline] sh 22:34:02 + mkdir -p /var/log/sysstat [Pipeline] sh 22:34:02 + ls /var/log/sa-host 22:34:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:34:02 provisioning config files... 22:34:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3392465464945623429tmp [Pipeline] { [Pipeline] echo 22:34:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:34:02 ---> create-netrc.sh [Pipeline] } 22:34:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:34:03 ---> python-tools-install.sh [Pipeline] echo 22:34:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:34:03 ---> sudo-logs.sh 22:34:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:34:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:34:03 ---> job-cost.sh 22:34:03 lf-activate-venv: SKIPPING 22:34:03 DEBUG: total: 0.2199999988079071 22:34:03 INFO: Retrieving Stack Cost... 22:34:03 INFO: Retrieving Pricing Info for: v3-standard-8 22:34:04 INFO: Archiving Costs [Pipeline] echo 22:34:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:34:04 ---> logs-deploy.sh 22:34:04 lf-activate-venv: SKIPPING 22:34:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/51 22:34:04 INFO: archiving workspace using pattern(s): 22:34:05 Archives upload complete. 22:34:05 INFO: archiving logs to Nexus