Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 65be627d22220786ca580fff7b0bf73c9ac4aaab 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-ssh16691701386462624888.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh13567270786356963141.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh2100887494452240975.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh4890220148633666579.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-ssh15569008036657347943.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5781 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 65be627d22220786ca580fff7b0bf73c9ac4aaab (main) Commit message: "Merge pull request #499 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.20" > 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 65be627d22220786ca580fff7b0bf73c9ac4aaab # timeout=10 > git rev-list --no-walk 1acbf7f5d5843a7481e353b92dd344f6df368a1e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:56:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:56:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:56:14 ========================================================= 07:56:14 EdgeX Global Pipelines Version Info 07:56:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:56:15 ------------------- 07:56:15 stable info: 07:56:15 ------------------- 07:56:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:56:15 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 07:56:15 Message: update stable to v1.0.253 07:56:15 ------------------- 07:56:15 experimental info: 07:56:15 ------------------- 07:56:15 Commited By: **** collab-it+edgex@linuxfoundation.org 07:56:15 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 07:56:15 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:56:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 07:56:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 07:56:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:56:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:56:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:56:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:56:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:56:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:56:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:56:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:56:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:56:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 07:56:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:56:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:56:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:56:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:56:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:56:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:56:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:56:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:56:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:56:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:56:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:56:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:56:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:56:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:56:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:56:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:56:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:56:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:56:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 65be627d22220786ca580fff7b0bf73c9ac4aaab [Pipeline] echo 07:56:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 65be627 [Pipeline] echo 07:56:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:56:16 provisioning config files... 07:56:16 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3777508375060619252tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:56:16 ---> docker-login.sh 07:56:16 nexus3.edgexfoundry.org:10001 07:56:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:56:17 Configure a credential helper to remove this warning. See 07:56:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:56:17 07:56:17 Login Succeeded 07:56:17 nexus3.edgexfoundry.org:10002 07:56:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:56:17 Configure a credential helper to remove this warning. See 07:56:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:56:17 07:56:17 Login Succeeded 07:56:17 nexus3.edgexfoundry.org:10003 07:56:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:56:17 Configure a credential helper to remove this warning. See 07:56:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:56:17 07:56:17 Login Succeeded 07:56:17 nexus3.edgexfoundry.org:10004 07:56:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:56:17 Configure a credential helper to remove this warning. See 07:56:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:56:17 07:56:17 Login Succeeded 07:56:17 docker.io 07:56:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:56:17 Configure a credential helper to remove this warning. See 07:56:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:56:17 07:56:17 Login Succeeded 07:56:17 ---> docker-login.sh ends [Pipeline] } 07:56:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:56:18 + git rev-list -1 --merges 65be627d22220786ca580fff7b0bf73c9ac4aaab~1..65be627d22220786ca580fff7b0bf73c9ac4aaab [Pipeline] echo 07:56:18 -----------> git rev-list -1 --merges 65be627d22220786ca580fff7b0bf73c9ac4aaab~1..65be627d22220786ca580fff7b0bf73c9ac4aaab 65be627d22220786ca580fff7b0bf73c9ac4aaab 07:56:18 65be627d22220786ca580fff7b0bf73c9ac4aaab [false] [Pipeline] sh 07:56:18 + git log --format=format:%s -1 65be627d22220786ca580fff7b0bf73c9ac4aaab [Pipeline] echo 07:56:18 ========================================================= 07:56:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:56:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:56:18 + git log --format=format:%s -1 65be627d22220786ca580fff7b0bf73c9ac4aaab [Pipeline] echo 07:56:18 [semverPrep] GIT_COMMIT: 65be627d22220786ca580fff7b0bf73c9ac4aaab, Commit Message: Merge pull request #499 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.20 [Pipeline] echo 07:56:18 [semverPrep] This is not a build commit. [Pipeline] sh 07:56:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:56:19 + grep -v github /etc/ssh/ssh_known_hosts 07:56:19 + [ -e /tmp/ssh_known_hosts ] 07:56:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:56:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:56:19 + sudo tee -a /etc/ssh/ssh_known_hosts 07:56:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:56:19 07:56:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:56:20 0.1.4: Pulling from edgex-devops/py-git-semver 07:56:20 b85a868b505f: Pulling fs layer 07:56:20 e2be974225ed: Pulling fs layer 07:56:20 339a4e72a1f5: Pulling fs layer 07:56:20 988bab9f4d93: Pulling fs layer 07:56:20 1469e6f7b9e6: Pulling fs layer 07:56:20 eaf3925da568: Pulling fs layer 07:56:20 bab4dde63d76: Pulling fs layer 07:56:20 bde34c3a00c8: Pulling fs layer 07:56:20 b352a97aabf1: Pulling fs layer 07:56:20 4872d77fe225: Pulling fs layer 07:56:20 5851b861e8e6: Pulling fs layer 07:56:20 bde34c3a00c8: Waiting 07:56:20 988bab9f4d93: Waiting 07:56:20 1469e6f7b9e6: Waiting 07:56:20 eaf3925da568: Waiting 07:56:20 b352a97aabf1: Waiting 07:56:20 4872d77fe225: Waiting 07:56:20 bab4dde63d76: Waiting 07:56:20 5851b861e8e6: Waiting 07:56:20 e2be974225ed: Verifying Checksum 07:56:20 e2be974225ed: Download complete 07:56:20 988bab9f4d93: Verifying Checksum 07:56:20 988bab9f4d93: Download complete 07:56:20 1469e6f7b9e6: Verifying Checksum 07:56:20 1469e6f7b9e6: Download complete 07:56:20 eaf3925da568: Verifying Checksum 07:56:20 eaf3925da568: Download complete 07:56:20 339a4e72a1f5: Verifying Checksum 07:56:20 339a4e72a1f5: Download complete 07:56:20 bde34c3a00c8: Verifying Checksum 07:56:20 bde34c3a00c8: Download complete 07:56:20 b352a97aabf1: Verifying Checksum 07:56:20 b352a97aabf1: Download complete 07:56:20 4872d77fe225: Verifying Checksum 07:56:20 4872d77fe225: Download complete 07:56:20 5851b861e8e6: Verifying Checksum 07:56:20 5851b861e8e6: Download complete 07:56:20 b85a868b505f: Verifying Checksum 07:56:20 b85a868b505f: Download complete 07:56:20 bab4dde63d76: Verifying Checksum 07:56:20 bab4dde63d76: Download complete 07:56:21 b85a868b505f: Pull complete 07:56:21 e2be974225ed: Pull complete 07:56:22 339a4e72a1f5: Pull complete 07:56:22 988bab9f4d93: Pull complete 07:56:22 1469e6f7b9e6: Pull complete 07:56:22 eaf3925da568: Pull complete 07:56:24 bab4dde63d76: Pull complete 07:56:24 bde34c3a00c8: Pull complete 07:56:24 b352a97aabf1: Pull complete 07:56:24 4872d77fe225: Pull complete 07:56:24 5851b861e8e6: Pull complete 07:56:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:56:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:56:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:56:24 prd-ubuntu20.04-docker-8c-8g-5781 does not seem to be running inside a container 07:56:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:56:28 $ docker top 8c074685fd0fb19db78b67bcef48b4aab83f4bcfda568823b232a1b8c61a73ee -eo pid,comm 07:56:28 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). 07:56:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:56:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:56:28 [ssh-agent] Looking for ssh-agent implementation... 07:56:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:56:28 $ docker exec 8c074685fd0fb19db78b67bcef48b4aab83f4bcfda568823b232a1b8c61a73ee ssh-agent 07:56:28 SSH_AUTH_SOCK=/tmp/ssh-QU41zvCGhbHw/agent.31 07:56:28 SSH_AGENT_PID=37 07:56:29 Running ssh-add (command line suppressed) 07:56:29 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10441683168722775135.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10441683168722775135.key) 07:56:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:56:29 + git tag --points-at HEAD [Pipeline] } 07:56:29 $ docker exec --env ******** --env ******** 8c074685fd0fb19db78b67bcef48b4aab83f4bcfda568823b232a1b8c61a73ee ssh-agent -k 07:56:29 unset SSH_AUTH_SOCK; 07:56:29 unset SSH_AGENT_PID; 07:56:29 echo Agent pid 37 killed; 07:56:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:56:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:56:29 [ssh-agent] Looking for ssh-agent implementation... 07:56:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:56:29 $ docker exec 8c074685fd0fb19db78b67bcef48b4aab83f4bcfda568823b232a1b8c61a73ee ssh-agent 07:56:29 SSH_AUTH_SOCK=/tmp/ssh-NR6fQ3Mh3Ous/agent.69 07:56:29 SSH_AGENT_PID=75 07:56:29 Running ssh-add (command line suppressed) 07:56:29 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3398780911655058856.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3398780911655058856.key) 07:56:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:56:30 + git semver init 07:56:30 2023-09-11 07:56:30,381 [run_init] DEBUG init version:0.0.0 force:False 07:56:30 2023-09-11 07:56:30,382 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 07:56:30 2023-09-11 07:56:30,382 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 07:56:30 2023-09-11 07:56:30,382 [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) 07:56:31 2023-09-11 07:56:31,183 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 07:56:31 2023-09-11 07:56:31,184 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 07:56:31 2023-09-11 07:56:31,184 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:56:31 2023-09-11 07:56:31,184 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:56:31 3.1.0-dev.8 [Pipeline] } 07:56:31 $ docker exec --env ******** --env ******** 8c074685fd0fb19db78b67bcef48b4aab83f4bcfda568823b232a1b8c61a73ee ssh-agent -k 07:56:31 unset SSH_AUTH_SOCK; 07:56:31 unset SSH_AGENT_PID; 07:56:31 echo Agent pid 75 killed; 07:56:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:56:31 + git semver [Pipeline] } 07:56:32 $ docker stop --time=1 8c074685fd0fb19db78b67bcef48b4aab83f4bcfda568823b232a1b8c61a73ee 07:56:33 $ docker rm -f --volumes 8c074685fd0fb19db78b67bcef48b4aab83f4bcfda568823b232a1b8c61a73ee [Pipeline] // withDockerContainer [Pipeline] sh 07:56:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:56:33 Stashed 1 file(s) [Pipeline] echo 07:56:33 [edgeXSemver]: initialized semver on version 3.1.0-dev.8 [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 07:56:34 provisioning config files... 07:56:34 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10313662942689620216tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:56:34 ---> docker-login.sh 07:56:34 nexus3.edgexfoundry.org:10001 07:56:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:56:34 Configure a credential helper to remove this warning. See 07:56:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:56:34 07:56:34 Login Succeeded 07:56:34 nexus3.edgexfoundry.org:10002 07:56:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:56:34 Configure a credential helper to remove this warning. See 07:56:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:56:34 07:56:34 Login Succeeded 07:56:34 nexus3.edgexfoundry.org:10003 07:56:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:56:34 Configure a credential helper to remove this warning. See 07:56:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:56:34 07:56:34 Login Succeeded 07:56:34 nexus3.edgexfoundry.org:10004 07:56:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:56:34 Configure a credential helper to remove this warning. See 07:56:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:56:34 07:56:34 Login Succeeded 07:56:34 docker.io 07:56:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:56:34 Configure a credential helper to remove this warning. See 07:56:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:56:34 07:56:34 Login Succeeded 07:56:34 ---> docker-login.sh ends [Pipeline] } 07:56:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:56:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:56:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:56:34 ========================================================= 07:56:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:56:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:35 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 07:56:35 Sending build context to Docker daemon 6.416MB 07:56:35 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 07:56:35 Step 2/10 : FROM ${BASE} AS builder 07:56:35 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:56:35 4db1b89c0bd1: Pulling fs layer 07:56:35 6911f1a30b25: Pulling fs layer 07:56:35 e194b8c5c2a9: Pulling fs layer 07:56:35 6863d3e3a2b1: Pulling fs layer 07:56:35 ec0bb842ea78: Pulling fs layer 07:56:35 40a00589a448: Pulling fs layer 07:56:35 6c08303d61cc: Pulling fs layer 07:56:35 798269fcf238: Pulling fs layer 07:56:35 6863d3e3a2b1: Waiting 07:56:35 ec0bb842ea78: Waiting 07:56:35 40a00589a448: Waiting 07:56:35 6911f1a30b25: Download complete 07:56:35 6863d3e3a2b1: Verifying Checksum 07:56:35 6863d3e3a2b1: Download complete 07:56:35 ec0bb842ea78: Verifying Checksum 07:56:35 ec0bb842ea78: Download complete 07:56:35 4db1b89c0bd1: Verifying Checksum 07:56:35 4db1b89c0bd1: Download complete 07:56:35 40a00589a448: Verifying Checksum 07:56:35 40a00589a448: Download complete 07:56:35 4db1b89c0bd1: Pull complete 07:56:35 6911f1a30b25: Pull complete 07:56:36 798269fcf238: Verifying Checksum 07:56:36 798269fcf238: Download complete 07:56:36 e194b8c5c2a9: Verifying Checksum 07:56:36 e194b8c5c2a9: Download complete 07:56:36 6c08303d61cc: Verifying Checksum 07:56:36 6c08303d61cc: Download complete 07:56:39 e194b8c5c2a9: Pull complete 07:56:39 6863d3e3a2b1: Pull complete 07:56:39 ec0bb842ea78: Pull complete 07:56:39 40a00589a448: Pull complete 07:56:41 6c08303d61cc: Pull complete 07:56:42 798269fcf238: Pull complete 07:56:42 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 07:56:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:56:42 ---> ec979cd7f677 07:56:42 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:56:47 ---> Running in 0144a59ab2dc 07:56:47 Removing intermediate container 0144a59ab2dc 07:56:47 ---> f1ffe57337af 07:56:47 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:56:47 ---> Running in 03c54683e90a 07:56:48 Removing intermediate container 03c54683e90a 07:56:48 ---> f4c099bcb7bb 07:56:48 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:56:48 ---> Running in b507296800dd 07:56:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:56:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:56:48 (1/8) Installing openssh-keygen (9.1_p1-r4) 07:56:48 (2/8) Installing libedit (20221030.3.1-r0) 07:56:48 (3/8) Installing openssh-client-common (9.1_p1-r4) 07:56:48 (4/8) Installing openssh-client-default (9.1_p1-r4) 07:56:48 (5/8) Installing openssh-sftp-server (9.1_p1-r4) 07:56:48 (6/8) Installing openssh-server-common (9.1_p1-r4) 07:56:48 (7/8) Installing openssh-server (9.1_p1-r4) 07:56:48 (8/8) Installing openssh (9.1_p1-r4) 07:56:48 Executing busybox-1.35.0-r29.trigger 07:56:48 OK: 270 MiB in 61 packages 07:56:49 Still waiting to schedule task 07:56:49 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:56:49 Removing intermediate container b507296800dd 07:56:49 ---> d4821e66c470 07:56:49 Step 6/10 : WORKDIR /device-modbus-go 07:56:49 ---> Running in 4c63a3b159dd 07:56:49 Removing intermediate container 4c63a3b159dd 07:56:49 ---> 48ddb1cf9a06 07:56:49 Step 7/10 : COPY go.mod vendor* ./ 07:56:49 ---> 5c3360815c36 07:56:49 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:56:49 ---> Running in 397881d6adf9 07:57:36 Removing intermediate container 397881d6adf9 07:57:36 ---> dc039f585f7a 07:57:36 Step 9/10 : COPY . . 07:57:37 ---> ccdc483fc0d3 07:57:37 Step 10/10 : RUN ${MAKE} 07:57:37 ---> Running in 25f3a033ea3c 07:57:37 noop 07:57:37 Removing intermediate container 25f3a033ea3c 07:57:37 ---> c1fd63520705 07:57:37 Successfully built c1fd63520705 07:57:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:57:38 + docker inspect -f . ci-base-image-x86_64 07:57:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:57:38 prd-ubuntu20.04-docker-8c-8g-5781 does not seem to be running inside a container 07:57:38 $ 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 07:57:38 $ docker top b6359cba2abcc48d012bfcbe6be0fff95deb5069704ef6b1551d8ce509c30901 -eo pid,comm [Pipeline] { [Pipeline] sh 07:57:38 + go version 07:57:38 go version go1.20.6 linux/amd64 [Pipeline] } 07:57:38 $ docker stop --time=1 b6359cba2abcc48d012bfcbe6be0fff95deb5069704ef6b1551d8ce509c30901 07:57:40 $ docker rm -f --volumes b6359cba2abcc48d012bfcbe6be0fff95deb5069704ef6b1551d8ce509c30901 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:57:40 + docker inspect -f . ci-base-image-x86_64 07:57:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:57:40 prd-ubuntu20.04-docker-8c-8g-5781 does not seem to be running inside a container 07:57:40 $ 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 07:57:41 $ docker top 508722949aecec64139e95a961e0745dd41765eee4234e5f33aa75960603b2e1 -eo pid,comm [Pipeline] { [Pipeline] sh 07:57:41 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 07:57:41 + make test 07:57:41 go test ./... -coverprofile=coverage.out 07:57:47 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:57:56 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:57:56 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.018s coverage: 47.9% of statements 07:58:02 go vet ./... 07:58:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:58:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:58:06 ./bin/test-attribution-txt.sh [Pipeline] echo 07:58:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:58:06 $ docker stop --time=1 508722949aecec64139e95a961e0745dd41765eee4234e5f33aa75960603b2e1 07:58:10 $ docker rm -f --volumes 508722949aecec64139e95a961e0745dd41765eee4234e5f33aa75960603b2e1 [Pipeline] // withDockerContainer [Pipeline] sh 07:58:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:58:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:58:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:58:12 + ls -al . 07:58:12 total 192 07:58:12 drwxrwxr-x 10 jenkins jenkins 4096 Sep 11 07:57 . 07:58:12 drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 07:56 .. 07:58:12 -rw-rw-r-- 1 jenkins jenkins 140 Sep 11 07:56 .dockerignore 07:58:12 drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 07:56 .git 07:58:12 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 07:56 .github 07:58:12 -rw-rw-r-- 1 jenkins jenkins 331 Sep 11 07:56 .gitignore 07:58:12 -rw-rw-r-- 1 jenkins jenkins 41 Sep 11 07:56 .golangci.yml 07:58:12 drwxr-xr-x 3 jenkins jenkins 4096 Sep 11 07:56 .semver 07:58:12 -rw-rw-r-- 1 jenkins jenkins 11101 Sep 11 07:56 Attribution.txt 07:58:12 -rw-rw-r-- 1 jenkins jenkins 14764 Sep 11 07:56 CHANGELOG.md 07:58:12 -rw-rw-r-- 1 jenkins jenkins 1365 Sep 11 07:56 Dockerfile 07:58:12 -rw-rw-r-- 1 jenkins jenkins 677 Sep 11 07:56 GOVERNANCE.md 07:58:12 -rw-rw-r-- 1 jenkins jenkins 680 Sep 11 07:56 Jenkinsfile 07:58:12 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 11 07:56 LICENSE 07:58:12 -rw-rw-r-- 1 jenkins jenkins 1936 Sep 11 07:56 Makefile 07:58:12 -rw-rw-r-- 1 jenkins jenkins 622 Sep 11 07:56 OWNERS.md 07:58:12 -rw-rw-r-- 1 jenkins jenkins 4578 Sep 11 07:56 README.md 07:58:12 -rw-rw-r-- 1 jenkins jenkins 11 Sep 11 07:56 VERSION 07:58:12 drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 07:56 bin 07:58:12 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 07:56 cmd 07:58:12 -rw-r--r-- 1 jenkins jenkins 24334 Sep 11 07:57 coverage.out 07:58:12 -rw-rw-r-- 1 jenkins jenkins 3940 Sep 11 07:56 go.mod 07:58:12 -rw-rw-r-- 1 jenkins jenkins 34434 Sep 11 07:56 go.sum 07:58:12 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 07:56 internal 07:58:12 drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 07:56 simulator 07:58:12 drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 07:56 snap 07:58:12 -rw-rw-r-- 1 jenkins jenkins 229 Sep 11 07:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:58:12 + 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=65be627d22220786ca580fff7b0bf73c9ac4aaab --label arch=amd64 --label version=3.1.0-dev.8 . 07:58:12 Sending build context to Docker daemon 6.441MB 07:58:12 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 07:58:12 Step 2/22 : FROM ${BASE} AS builder 07:58:12 ---> c1fd63520705 07:58:12 Step 3/22 : ARG ADD_BUILD_TAGS="" 07:58:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5782 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 07:58:12 Running in /w/workspace/device-modbus-go/122 [Pipeline] { [Pipeline] checkout 07:58:12 Selected Git installation does not exist. Using Default 07:58:12 The recommended git tool is: NONE 07:58:12 ---> Running in add83648e9dc 07:58:12 Removing intermediate container add83648e9dc 07:58:12 ---> f5530c76d5e4 07:58:12 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:58:12 ---> Running in 37f709faf6fb 07:58:13 Removing intermediate container 37f709faf6fb 07:58:13 ---> 6b55db228c19 07:58:13 Step 5/22 : RUN apk add --update --no-cache make git openssh 07:58:13 ---> Running in 38e5e50319a3 07:58:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:58:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:58:13 OK: 270 MiB in 61 packages 07:58:13 Removing intermediate container 38e5e50319a3 07:58:13 ---> 8f5a375ede39 07:58:13 Step 6/22 : WORKDIR /device-modbus-go 07:58:13 ---> Running in f7a704153cbe 07:58:14 Removing intermediate container f7a704153cbe 07:58:14 ---> c2f2a703d3eb 07:58:14 Step 7/22 : COPY go.mod vendor* ./ 07:58:14 ---> 8d17d4af7c32 07:58:14 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:58:14 ---> Running in 3b66fa865d0a 07:58:14 Removing intermediate container 3b66fa865d0a 07:58:14 ---> dfa12a6c5204 07:58:14 Step 9/22 : COPY . . 07:58:15 ---> 62dcee042443 07:58:15 Step 10/22 : RUN ${MAKE} 07:58:15 ---> Running in 6e4921dd3dd8 07:58:15 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 07:58:17 using credential edgex-jenkins-ssh 07:58:17 Cloning the remote Git repository 07:58:17 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 07:58:17 > git init /w/workspace/device-modbus-go/122 # timeout=10 07:58:17 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:58:17 > git --version # timeout=10 07:58:17 > git --version # 'git version 2.25.1' 07:58:17 using GIT_SSH to set credentials SSH Credentials for GitHub 07:58:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:58:19 Avoid second fetch 07:58:19 Checking out Revision 65be627d22220786ca580fff7b0bf73c9ac4aaab (main) 07:58:19 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:58:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:58:19 > git config core.sparsecheckout # timeout=10 07:58:19 > git checkout -f 65be627d22220786ca580fff7b0bf73c9ac4aaab # timeout=10 07:58:20 Commit message: "Merge pull request #499 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.20" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:58:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:58:21 % Total % Received % Xferd Average Speed Time Time Time Current 07:58:21 Dload Upload Total Spent Left Speed 07:58:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 103k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh 07:58:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:58:22 + sudo tee /etc/docker/daemon.new 07:58:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:58:22 { 07:58:22 "registry-mirrors": [ 07:58:22 "https://nexus3.edgexfoundry.org:10001" 07:58:22 ], 07:58:22 "bip": "10.250.0.254/24", 07:58:22 "hosts": [ 07:58:22 "tcp://0.0.0.0:5555", 07:58:22 "unix:///var/run/docker.sock" 07:58:22 ], 07:58:22 "mtu": 1458, 07:58:22 "selinux-enabled": true, 07:58:22 "seccomp-profile": "/etc/docker/seccomp.json" 07:58:22 } [Pipeline] sh 07:58:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:58:23 + sudo service docker restart 07:58:37 Removing intermediate container 6e4921dd3dd8 07:58:37 ---> 3b2278b0632c 07:58:37 Step 11/22 : FROM alpine:3.17 07:58:37 3.17: Pulling from library/alpine 07:58:37 9398808236ff: Pulling fs layer 07:58:37 9398808236ff: Verifying Checksum 07:58:37 9398808236ff: Download complete 07:58:37 9398808236ff: Pull complete 07:58:37 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 07:58:37 Status: Downloaded newer image for alpine:3.17 07:58:37 ---> 1e0b8b5322fc 07:58:37 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:58:37 ---> Running in f2d3c5d58e48 07:58:37 Removing intermediate container f2d3c5d58e48 07:58:37 ---> b66d45f0d47a 07:58:37 Step 13/22 : RUN apk add --update --no-cache dumb-init 07:58:37 ---> Running in 16386ed44e42 07:58:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:58:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:58:38 (1/1) Installing dumb-init (1.2.5-r2) 07:58:38 Executing busybox-1.35.0-r29.trigger 07:58:38 OK: 7 MiB in 16 packages 07:58:38 Removing intermediate container 16386ed44e42 07:58:38 ---> 51321fc3c120 07:58:38 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 07:58:39 ---> 51b85c19960d 07:58:39 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 07:58:39 ---> e3908d142886 07:58:39 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:58:40 ---> 96bbd43aa873 07:58:40 Step 17/22 : EXPOSE 59901 07:58:40 ---> Running in 5e86db522af3 07:58:40 Removing intermediate container 5e86db522af3 07:58:40 ---> fd003806010e 07:58:40 Step 18/22 : ENTRYPOINT ["/device-modbus"] 07:58:40 ---> Running in d9c9562774b2 07:58:40 Removing intermediate container d9c9562774b2 07:58:40 ---> c57b23c62589 07:58:40 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:58:40 ---> Running in 033bcb7a9b81 07:58:40 Removing intermediate container 033bcb7a9b81 07:58:40 ---> 7a640151914b 07:58:40 Step 20/22 : LABEL arch=amd64 07:58:40 ---> Running in fb5dbb6554fe 07:58:40 Removing intermediate container fb5dbb6554fe 07:58:40 ---> a6786f231f99 07:58:40 Step 21/22 : LABEL git_sha=65be627d22220786ca580fff7b0bf73c9ac4aaab 07:58:40 ---> Running in 1a83f754525d 07:58:40 Removing intermediate container 1a83f754525d 07:58:40 ---> f22edd84961a 07:58:40 Step 22/22 : LABEL version=3.1.0-dev.8 07:58:40 ---> Running in 35b9fbd7225a 07:58:40 Removing intermediate container 35b9fbd7225a 07:58:40 ---> 1ab41e96d974 07:58:40 [Warning] One or more build-args [ARCH] were not consumed 07:58:40 Successfully built 1ab41e96d974 07:58:40 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:58:40 provisioning config files... 07:58:40 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15307202496541247263tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:58:41 ---> docker-login.sh 07:58:41 nexus3.edgexfoundry.org:10001 07:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:41 Configure a credential helper to remove this warning. See 07:58:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:41 07:58:41 Login Succeeded 07:58:41 nexus3.edgexfoundry.org:10002 07:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:41 Configure a credential helper to remove this warning. See 07:58:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:41 07:58:41 Login Succeeded 07:58:41 nexus3.edgexfoundry.org:10003 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:58:41 provisioning config files... 07:58:41 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/122@tmp/config11583425329835678636tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:41 Configure a credential helper to remove this warning. See 07:58:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:41 07:58:41 Login Succeeded 07:58:41 nexus3.edgexfoundry.org:10004 07:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:41 Configure a credential helper to remove this warning. See 07:58:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:41 07:58:41 Login Succeeded 07:58:41 docker.io 07:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:41 Configure a credential helper to remove this warning. See 07:58:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:41 07:58:41 Login Succeeded 07:58:41 ---> docker-login.sh ends [Pipeline] } 07:58:41 Deleting 1 temporary files 07:58:41 ---> docker-login.sh 07:58:41 nexus3.edgexfoundry.org:10001 [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:58:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:58:41 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 07:58:41 65be627d22220786ca580fff7b0bf73c9ac4aaab 07:58:41 latest 07:58:41 3.1.0-dev.8 07:58:41 65be627d22220786ca580fff7b0bf73c9ac4aaab-3.1.0-dev.8 07:58:41 main 07:58:41 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:42 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:65be627d22220786ca580fff7b0bf73c9ac4aaab [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:58:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:42 Configure a credential helper to remove this warning. See 07:58:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:42 07:58:42 Login Succeeded 07:58:42 nexus3.edgexfoundry.org:10002 07:58:42 + docker push nexus3.edgexfoundry.org:10004/device-modbus:65be627d22220786ca580fff7b0bf73c9ac4aaab 07:58:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:58:42 bee24bb337c8: Preparing 07:58:42 109762c1d8e7: Preparing 07:58:42 837c00569da5: Preparing 07:58:42 42b20caa9bfd: Preparing 07:58:42 36b50b131297: Preparing 07:58:42 36b50b131297: Layer already exists 07:58:42 bee24bb337c8: Pushed 07:58:42 42b20caa9bfd: Pushed 07:58:42 109762c1d8e7: Pushed 07:58:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:42 Configure a credential helper to remove this warning. See 07:58:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:42 07:58:42 Login Succeeded 07:58:42 nexus3.edgexfoundry.org:10003 07:58:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:43 Configure a credential helper to remove this warning. See 07:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:43 07:58:43 Login Succeeded 07:58:43 nexus3.edgexfoundry.org:10004 07:58:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:43 Configure a credential helper to remove this warning. See 07:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:43 07:58:43 Login Succeeded 07:58:43 docker.io 07:58:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:43 Configure a credential helper to remove this warning. See 07:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:43 07:58:43 Login Succeeded 07:58:43 ---> docker-login.sh ends [Pipeline] } 07:58:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:58:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:58:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:58:44 ========================================================= 07:58:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:58:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:58:44 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 07:58:44 Sending build context to Docker daemon 3.327MB 07:58:44 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 07:58:44 Step 2/10 : FROM ${BASE} AS builder 07:58:45 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:58:45 edb6bdbacee9: Pulling fs layer 07:58:45 5f9638ab2659: Pulling fs layer 07:58:45 8d51d6327a98: Pulling fs layer 07:58:45 8b374f2dd631: Pulling fs layer 07:58:45 ec14aa9079de: Pulling fs layer 07:58:45 2f466654f4bb: Pulling fs layer 07:58:45 554e91adad29: Pulling fs layer 07:58:45 ec14aa9079de: Waiting 07:58:45 2f466654f4bb: Waiting 07:58:45 554e91adad29: Waiting 07:58:45 8b374f2dd631: Waiting 07:58:45 5f9638ab2659: Download complete 07:58:45 8b374f2dd631: Download complete 07:58:45 ec14aa9079de: Verifying Checksum 07:58:45 ec14aa9079de: Download complete 07:58:45 edb6bdbacee9: Verifying Checksum 07:58:45 edb6bdbacee9: Download complete 07:58:45 837c00569da5: Pushed 07:58:45 65be627d22220786ca580fff7b0bf73c9ac4aaab: digest: sha256:cbbeb68ed1d086bbb78f0d4539ccb72a527e01db27f03affb429ef64676f9d21 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:58:46 edb6bdbacee9: Pull complete 07:58:46 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:58:46 554e91adad29: Verifying Checksum 07:58:46 554e91adad29: Download complete 07:58:46 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 07:58:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:58:46 bee24bb337c8: Preparing 07:58:46 109762c1d8e7: Preparing 07:58:46 837c00569da5: Preparing 07:58:46 42b20caa9bfd: Preparing 07:58:46 36b50b131297: Preparing 07:58:46 109762c1d8e7: Layer already exists 07:58:46 36b50b131297: Layer already exists 07:58:46 bee24bb337c8: Layer already exists 07:58:46 837c00569da5: Layer already exists 07:58:46 42b20caa9bfd: Layer already exists 07:58:46 latest: digest: sha256:cbbeb68ed1d086bbb78f0d4539ccb72a527e01db27f03affb429ef64676f9d21 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:58:46 5f9638ab2659: Pull complete 07:58:46 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:58:46 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.8 07:58:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:58:46 bee24bb337c8: Preparing 07:58:46 109762c1d8e7: Preparing 07:58:46 837c00569da5: Preparing 07:58:46 42b20caa9bfd: Preparing 07:58:46 36b50b131297: Preparing 07:58:46 837c00569da5: Layer already exists 07:58:46 36b50b131297: Layer already exists 07:58:46 bee24bb337c8: Layer already exists 07:58:46 109762c1d8e7: Layer already exists 07:58:46 42b20caa9bfd: Layer already exists 07:58:46 3.1.0-dev.8: digest: sha256:cbbeb68ed1d086bbb78f0d4539ccb72a527e01db27f03affb429ef64676f9d21 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:58:47 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:65be627d22220786ca580fff7b0bf73c9ac4aaab-3.1.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:58:47 8d51d6327a98: Verifying Checksum 07:58:47 8d51d6327a98: Download complete 07:58:47 2f466654f4bb: Download complete 07:58:47 + docker push nexus3.edgexfoundry.org:10004/device-modbus:65be627d22220786ca580fff7b0bf73c9ac4aaab-3.1.0-dev.8 07:58:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:58:47 bee24bb337c8: Preparing 07:58:47 109762c1d8e7: Preparing 07:58:47 837c00569da5: Preparing 07:58:47 42b20caa9bfd: Preparing 07:58:47 36b50b131297: Preparing 07:58:47 bee24bb337c8: Layer already exists 07:58:47 109762c1d8e7: Layer already exists 07:58:47 837c00569da5: Layer already exists 07:58:47 36b50b131297: Layer already exists 07:58:47 42b20caa9bfd: Layer already exists 07:58:47 65be627d22220786ca580fff7b0bf73c9ac4aaab-3.1.0-dev.8: digest: sha256:cbbeb68ed1d086bbb78f0d4539ccb72a527e01db27f03affb429ef64676f9d21 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:58:47 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:58:48 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 07:58:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:58:48 bee24bb337c8: Preparing 07:58:48 109762c1d8e7: Preparing 07:58:48 837c00569da5: Preparing 07:58:48 42b20caa9bfd: Preparing 07:58:48 36b50b131297: Preparing 07:58:48 bee24bb337c8: Layer already exists 07:58:48 42b20caa9bfd: Layer already exists 07:58:48 837c00569da5: Layer already exists 07:58:48 109762c1d8e7: Layer already exists 07:58:48 36b50b131297: Layer already exists 07:58:48 main: digest: sha256:cbbeb68ed1d086bbb78f0d4539ccb72a527e01db27f03affb429ef64676f9d21 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:58:48 ===================================================== [Pipeline] echo 07:58:48 taggedImages: 07:58:48 - nexus3.edgexfoundry.org:10004/device-modbus:65be627d22220786ca580fff7b0bf73c9ac4aaab 07:58:48 - nexus3.edgexfoundry.org:10004/device-modbus:latest 07:58:48 - nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.8 07:58:48 - nexus3.edgexfoundry.org:10004/device-modbus:65be627d22220786ca580fff7b0bf73c9ac4aaab-3.1.0-dev.8 07:58:48 - 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 07:58:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:58:48 07:58:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:58:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:58:48 latest: Pulling from edgex-lftools-log-publisher 07:58:48 5eb5b503b376: Pulling fs layer 07:58:48 5c69ac0246d0: Pulling fs layer 07:58:48 ec43610c2a17: Pulling fs layer 07:58:48 3a2ae6a8a46f: Pulling fs layer 07:58:48 33b1e0a273af: Pulling fs layer 07:58:48 5d3b04190fa2: Pulling fs layer 07:58:48 2f39f015ded8: Pulling fs layer 07:58:48 3a2ae6a8a46f: Waiting 07:58:48 33b1e0a273af: Waiting 07:58:48 5d3b04190fa2: Waiting 07:58:48 2f39f015ded8: Waiting 07:58:48 5c69ac0246d0: Download complete 07:58:48 3a2ae6a8a46f: Verifying Checksum 07:58:48 3a2ae6a8a46f: Download complete 07:58:48 33b1e0a273af: Verifying Checksum 07:58:48 33b1e0a273af: Download complete 07:58:48 ec43610c2a17: Verifying Checksum 07:58:48 ec43610c2a17: Download complete 07:58:48 5d3b04190fa2: Verifying Checksum 07:58:48 5d3b04190fa2: Download complete 07:58:49 5eb5b503b376: Verifying Checksum 07:58:49 5eb5b503b376: Download complete 07:58:49 2f39f015ded8: Download complete 07:58:50 5eb5b503b376: Pull complete 07:58:50 5c69ac0246d0: Pull complete 07:58:50 ec43610c2a17: Pull complete 07:58:50 3a2ae6a8a46f: Pull complete 07:58:51 33b1e0a273af: Pull complete 07:58:51 5d3b04190fa2: Pull complete 07:58:55 2f39f015ded8: Pull complete 07:58:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:58:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:58:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:58:55 prd-ubuntu20.04-docker-8c-8g-5781 does not seem to be running inside a container 07:58: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/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 07:58:59 8d51d6327a98: Pull complete 07:58:59 8b374f2dd631: Pull complete 07:58:59 ec14aa9079de: Pull complete 07:59:01 $ docker top d3f473bd97c1883c40eaf646dcb79974fcc353d751e2ce9b560cdec2f2b3bd0a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:59:02 ---> job-cost.sh 07:59:02 lf-activate-venv: SKIPPING 07:59:02 INFO: No Stack... 07:59:02 INFO: Retrieving Pricing Info for: v3-standard-8 07:59:02 INFO: Archiving Costs [Pipeline] sh 07:59:02 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 07:59:02 + cut -d, -f6 [Pipeline] lock 07:59:02 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-122-stack-cost] 07:59:02 Resource [jenkins-edgexfoundry-device-modbus-go-main-122-stack-cost] did not exist. Created. 07:59:02 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-122-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:59:03 + echo total: 0.2199999988079071 [Pipeline] stash 07:59:03 Stashed 1 file(s) [Pipeline] } 07:59:03 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-122-stack-cost] [Pipeline] // lock [Pipeline] } 07:59:03 $ docker stop --time=1 d3f473bd97c1883c40eaf646dcb79974fcc353d751e2ce9b560cdec2f2b3bd0a 07:59:04 $ docker rm -f --volumes d3f473bd97c1883c40eaf646dcb79974fcc353d751e2ce9b560cdec2f2b3bd0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:59:06 2f466654f4bb: Pull complete 07:59:09 554e91adad29: Pull complete 07:59:09 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 07:59:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:59:09 ---> 1e15ea492957 07:59:09 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:59:10 ---> Running in 345ae3e9c153 07:59:10 Removing intermediate container 345ae3e9c153 07:59:10 ---> f3bb649b2d1c 07:59:10 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:59:10 ---> Running in f4537021f520 07:59:11 Removing intermediate container f4537021f520 07:59:11 ---> d83c4a7a394a 07:59:11 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:59:11 ---> Running in d4e27d6bd545 07:59:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:59:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:59:14 (1/8) Installing openssh-keygen (9.1_p1-r4) 07:59:14 (2/8) Installing libedit (20221030.3.1-r0) 07:59:14 (3/8) Installing openssh-client-common (9.1_p1-r4) 07:59:14 (4/8) Installing openssh-client-default (9.1_p1-r4) 07:59:14 (5/8) Installing openssh-sftp-server (9.1_p1-r4) 07:59:14 (6/8) Installing openssh-server-common (9.1_p1-r4) 07:59:14 (7/8) Installing openssh-server (9.1_p1-r4) 07:59:14 (8/8) Installing openssh (9.1_p1-r4) 07:59:14 Executing busybox-1.35.0-r29.trigger 07:59:14 OK: 270 MiB in 61 packages 07:59:15 Removing intermediate container d4e27d6bd545 07:59:15 ---> 7c1f0ff737ea 07:59:15 Step 6/10 : WORKDIR /device-modbus-go 07:59:15 ---> Running in 2f744b9f27b3 07:59:15 Removing intermediate container 2f744b9f27b3 07:59:15 ---> 566fe6fe30bf 07:59:15 Step 7/10 : COPY go.mod vendor* ./ 07:59:15 ---> 431aa2dc47c8 07:59:15 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:59:15 ---> Running in 629517f74fcb 08:00:23 Removing intermediate container 629517f74fcb 08:00:23 ---> e5e66d27badd 08:00:23 Step 9/10 : COPY . . 08:00:23 ---> b7f2c5d1123c 08:00:23 Step 10/10 : RUN ${MAKE} 08:00:23 ---> Running in 92c988812e47 08:00:23 noop 08:00:23 Removing intermediate container 92c988812e47 08:00:23 ---> e7276e9ea68e 08:00:23 Successfully built e7276e9ea68e 08:00:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:00:24 + docker inspect -f . ci-base-image-arm64 08:00:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:00:24 prd-ubuntu20.04-docker-arm64-4c-16g-5782 does not seem to be running inside a container 08:00:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/122 -v /w/workspace/device-modbus-go/122:/w/workspace/device-modbus-go/122:rw,z -v /w/workspace/device-modbus-go/122@tmp:/w/workspace/device-modbus-go/122@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 08:00:25 $ docker top 1d4517fa85d3836f1c9f1dd5ef4dd4c9aebb78f7bc96e7442fc1b00ae6fefa6c -eo pid,comm [Pipeline] { [Pipeline] sh 08:00:26 + go version 08:00:26 go version go1.20.6 linux/arm64 [Pipeline] } 08:00:26 $ docker stop --time=1 1d4517fa85d3836f1c9f1dd5ef4dd4c9aebb78f7bc96e7442fc1b00ae6fefa6c 08:00:28 $ docker rm -f --volumes 1d4517fa85d3836f1c9f1dd5ef4dd4c9aebb78f7bc96e7442fc1b00ae6fefa6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:00:28 + docker inspect -f . ci-base-image-arm64 08:00:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:00:28 prd-ubuntu20.04-docker-arm64-4c-16g-5782 does not seem to be running inside a container 08:00:28 $ 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/122 -v /w/workspace/device-modbus-go/122:/w/workspace/device-modbus-go/122:rw,z -v /w/workspace/device-modbus-go/122@tmp:/w/workspace/device-modbus-go/122@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 08:00:29 $ docker top 5f6aa0dc23426d24bd99e301691fb0d90a5f8cb44f99785bbcccf482ea074690 -eo pid,comm [Pipeline] { [Pipeline] sh 08:00:30 + git config --global --add safe.directory /w/workspace/device-modbus-go/122 [Pipeline] fileExists [Pipeline] sh 08:00:30 + make test 08:00:30 go test ./... -coverprofile=coverage.out 08:01:02 ? github.com/edgexfoundry/device-modbus-go [no test files] 08:02:54 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 08:02:55 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.085s coverage: 47.9% of statements 08:02:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:02:56 go vet ./... 08:03:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:03:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:03:28 ./bin/test-attribution-txt.sh [Pipeline] echo 08:03:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:03:28 $ docker stop --time=1 5f6aa0dc23426d24bd99e301691fb0d90a5f8cb44f99785bbcccf482ea074690 08:03:30 $ docker rm -f --volumes 5f6aa0dc23426d24bd99e301691fb0d90a5f8cb44f99785bbcccf482ea074690 [Pipeline] // withDockerContainer [Pipeline] sh 08:03:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:03:31 Warning: overwriting stash ‘coverage-report’ 08:03:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:03:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:03:32 + ls -al . 08:03:32 total 188 08:03:32 drwxrwxr-x 9 jenkins jenkins 4096 Sep 11 08:00 . 08:03:32 drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 07:58 .. 08:03:32 -rw-rw-r-- 1 jenkins jenkins 140 Sep 11 07:58 .dockerignore 08:03:32 drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 07:58 .git 08:03:32 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 07:58 .github 08:03:32 -rw-rw-r-- 1 jenkins jenkins 331 Sep 11 07:58 .gitignore 08:03:32 -rw-rw-r-- 1 jenkins jenkins 41 Sep 11 07:58 .golangci.yml 08:03:32 -rw-rw-r-- 1 jenkins jenkins 11101 Sep 11 07:58 Attribution.txt 08:03:32 -rw-rw-r-- 1 jenkins jenkins 14764 Sep 11 07:58 CHANGELOG.md 08:03:32 -rw-rw-r-- 1 jenkins jenkins 1365 Sep 11 07:58 Dockerfile 08:03:32 -rw-rw-r-- 1 jenkins jenkins 677 Sep 11 07:58 GOVERNANCE.md 08:03:32 -rw-rw-r-- 1 jenkins jenkins 680 Sep 11 07:58 Jenkinsfile 08:03:32 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 11 07:58 LICENSE 08:03:32 -rw-rw-r-- 1 jenkins jenkins 1936 Sep 11 07:58 Makefile 08:03:32 -rw-rw-r-- 1 jenkins jenkins 622 Sep 11 07:58 OWNERS.md 08:03:32 -rw-rw-r-- 1 jenkins jenkins 4578 Sep 11 07:58 README.md 08:03:32 -rw-rw-r-- 1 jenkins jenkins 11 Sep 11 07:56 VERSION 08:03:32 drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 07:58 bin 08:03:32 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 07:58 cmd 08:03:32 -rw-r--r-- 1 jenkins jenkins 24334 Sep 11 08:02 coverage.out 08:03:32 -rw-rw-r-- 1 jenkins jenkins 3940 Sep 11 07:58 go.mod 08:03:32 -rw-rw-r-- 1 jenkins jenkins 34434 Sep 11 07:58 go.sum 08:03:32 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 07:58 internal 08:03:32 drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 07:58 simulator 08:03:32 drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 07:58 snap 08:03:32 -rw-rw-r-- 1 jenkins jenkins 229 Sep 11 07:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:32 + 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=65be627d22220786ca580fff7b0bf73c9ac4aaab --label arch=arm64 --label version=3.1.0-dev.8 . 08:03:33 Sending build context to Docker daemon 3.353MB 08:03:33 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 08:03:33 Step 2/22 : FROM ${BASE} AS builder 08:03:33 ---> e7276e9ea68e 08:03:33 Step 3/22 : ARG ADD_BUILD_TAGS="" 08:03:33 ---> Running in a17e89c1342e 08:03:33 Removing intermediate container a17e89c1342e 08:03:33 ---> 4c0b95da255a 08:03:33 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:03:33 ---> Running in 3989c47df857 08:03:33 Removing intermediate container 3989c47df857 08:03:33 ---> b35d262b13df 08:03:33 Step 5/22 : RUN apk add --update --no-cache make git openssh 08:03:33 ---> Running in 7c99d710ca2f 08:03:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:03:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:03:36 OK: 270 MiB in 61 packages 08:03:37 Removing intermediate container 7c99d710ca2f 08:03:37 ---> 70d3bae27125 08:03:37 Step 6/22 : WORKDIR /device-modbus-go 08:03:37 ---> Running in 2792b5bfeabd 08:03:37 Removing intermediate container 2792b5bfeabd 08:03:37 ---> 51ee1cf8d83a 08:03:37 Step 7/22 : COPY go.mod vendor* ./ 08:03:37 ---> 6937fbe12853 08:03:37 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:03:38 ---> Running in 0916c08da3dd 08:03:40 Removing intermediate container 0916c08da3dd 08:03:40 ---> c25d8d18c4e2 08:03:40 Step 9/22 : COPY . . 08:03:40 ---> aabfe80d76c0 08:03:40 Step 10/22 : RUN ${MAKE} 08:03:40 ---> Running in 8cf2b7c19a20 08:03:41 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 08:05:48 Removing intermediate container 8cf2b7c19a20 08:05:48 ---> fcd654356d4f 08:05:48 Step 11/22 : FROM alpine:3.17 08:05:48 3.17: Pulling from library/alpine 08:05:48 4060ece20d7a: Pulling fs layer 08:05:48 4060ece20d7a: Download complete 08:05:49 4060ece20d7a: Pull complete 08:05:49 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 08:05:49 Status: Downloaded newer image for alpine:3.17 08:05:49 ---> 8650cd65339b 08:05:49 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 08:05:50 ---> Running in 533a1e09d132 08:05:50 Removing intermediate container 533a1e09d132 08:05:50 ---> f0321b6ccba7 08:05:50 Step 13/22 : RUN apk add --update --no-cache dumb-init 08:05:50 ---> Running in f0a3ef05bc99 08:05:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:05:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:05:53 (1/1) Installing dumb-init (1.2.5-r2) 08:05:53 Executing busybox-1.35.0-r29.trigger 08:05:53 OK: 8 MiB in 16 packages 08:05:54 Removing intermediate container f0a3ef05bc99 08:05:54 ---> 931f4007dff9 08:05:54 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 08:05:55 ---> 9e924b46350a 08:05:55 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 08:05:55 ---> 7029543f248d 08:05:55 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 08:05:56 ---> 89955cb2a12c 08:05:56 Step 17/22 : EXPOSE 59901 08:05:56 ---> Running in 78a0dc72632a 08:05:56 Removing intermediate container 78a0dc72632a 08:05:56 ---> ad8969923065 08:05:56 Step 18/22 : ENTRYPOINT ["/device-modbus"] 08:05:56 ---> Running in 3cdfa5918098 08:05:57 Removing intermediate container 3cdfa5918098 08:05:57 ---> 3f37e00e9675 08:05:57 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 08:05:57 ---> Running in 07564969f50a 08:05:57 Removing intermediate container 07564969f50a 08:05:57 ---> 17346c623e48 08:05:57 Step 20/22 : LABEL arch=arm64 08:05:57 ---> Running in 36617434db1e 08:05:57 Removing intermediate container 36617434db1e 08:05:57 ---> e2b51ee2ce0c 08:05:57 Step 21/22 : LABEL git_sha=65be627d22220786ca580fff7b0bf73c9ac4aaab 08:05:57 ---> Running in de36e98f1c53 08:05:58 Removing intermediate container de36e98f1c53 08:05:58 ---> 6fc718d4bd16 08:05:58 Step 22/22 : LABEL version=3.1.0-dev.8 08:05:58 ---> Running in 4b30c911fa6b 08:05:58 Removing intermediate container 4b30c911fa6b 08:05:58 ---> 5f75fbff162f 08:05:58 [Warning] One or more build-args [ARCH] were not consumed 08:05:58 Successfully built 5f75fbff162f 08:05:58 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 08:05:58 provisioning config files... 08:05:58 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/122@tmp/config17562726684601214661tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:05:58 ---> docker-login.sh 08:05:58 nexus3.edgexfoundry.org:10001 08:05:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:05:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:05:59 Configure a credential helper to remove this warning. See 08:05:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:05:59 08:05:59 Login Succeeded 08:05:59 nexus3.edgexfoundry.org:10002 08:05:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:05:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:05:59 Configure a credential helper to remove this warning. See 08:05:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:05:59 08:05:59 Login Succeeded 08:05:59 nexus3.edgexfoundry.org:10003 08:05:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:05:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:05:59 Configure a credential helper to remove this warning. See 08:05:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:05:59 08:05:59 Login Succeeded 08:05:59 nexus3.edgexfoundry.org:10004 08:05:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:06:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:06:00 Configure a credential helper to remove this warning. See 08:06:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:06:00 08:06:00 Login Succeeded 08:06:00 docker.io 08:06:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:06:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:06:00 Configure a credential helper to remove this warning. See 08:06:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:06:00 08:06:00 Login Succeeded 08:06:00 ---> docker-login.sh ends [Pipeline] } 08:06:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:06:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:06:00 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 08:06:00 65be627d22220786ca580fff7b0bf73c9ac4aaab 08:06:00 latest 08:06:00 3.1.0-dev.8 08:06:00 65be627d22220786ca580fff7b0bf73c9ac4aaab-3.1.0-dev.8 08:06:00 main 08:06:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:06:01 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:65be627d22220786ca580fff7b0bf73c9ac4aaab [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:06:01 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:65be627d22220786ca580fff7b0bf73c9ac4aaab 08:06:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 08:06:01 87e6ad0eb6b3: Preparing 08:06:01 5473e657f991: Preparing 08:06:01 4290a98a2ebd: Preparing 08:06:01 a9cfcf5570aa: Preparing 08:06:01 d2d9d24a8c2a: Preparing 08:06:01 d2d9d24a8c2a: Layer already exists 08:06:01 87e6ad0eb6b3: Pushed 08:06:01 a9cfcf5570aa: Pushed 08:06:01 5473e657f991: Pushed 08:06:07 4290a98a2ebd: Pushed 08:06:07 65be627d22220786ca580fff7b0bf73c9ac4aaab: digest: sha256:986986ee2c248a6fb0d2eaf5bce53afe1dc5554e3fd40697b01e4f1f515c4df5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:06:07 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:06:07 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 08:06:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 08:06:07 87e6ad0eb6b3: Preparing 08:06:07 5473e657f991: Preparing 08:06:07 4290a98a2ebd: Preparing 08:06:07 a9cfcf5570aa: Preparing 08:06:07 d2d9d24a8c2a: Preparing 08:06:07 4290a98a2ebd: Layer already exists 08:06:07 5473e657f991: Layer already exists 08:06:07 87e6ad0eb6b3: Layer already exists 08:06:07 a9cfcf5570aa: Layer already exists 08:06:07 d2d9d24a8c2a: Layer already exists 08:06:07 latest: digest: sha256:986986ee2c248a6fb0d2eaf5bce53afe1dc5554e3fd40697b01e4f1f515c4df5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:06:08 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:06:08 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.8 08:06:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 08:06:08 87e6ad0eb6b3: Preparing 08:06:08 5473e657f991: Preparing 08:06:08 4290a98a2ebd: Preparing 08:06:08 a9cfcf5570aa: Preparing 08:06:08 d2d9d24a8c2a: Preparing 08:06:08 5473e657f991: Layer already exists 08:06:08 a9cfcf5570aa: Layer already exists 08:06:08 d2d9d24a8c2a: Layer already exists 08:06:08 87e6ad0eb6b3: Layer already exists 08:06:08 4290a98a2ebd: Layer already exists 08:06:08 3.1.0-dev.8: digest: sha256:986986ee2c248a6fb0d2eaf5bce53afe1dc5554e3fd40697b01e4f1f515c4df5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:06:08 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:65be627d22220786ca580fff7b0bf73c9ac4aaab-3.1.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:06:09 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:65be627d22220786ca580fff7b0bf73c9ac4aaab-3.1.0-dev.8 08:06:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 08:06:09 87e6ad0eb6b3: Preparing 08:06:09 5473e657f991: Preparing 08:06:09 4290a98a2ebd: Preparing 08:06:09 a9cfcf5570aa: Preparing 08:06:09 d2d9d24a8c2a: Preparing 08:06:09 d2d9d24a8c2a: Layer already exists 08:06:09 a9cfcf5570aa: Layer already exists 08:06:09 4290a98a2ebd: Layer already exists 08:06:09 5473e657f991: Layer already exists 08:06:09 87e6ad0eb6b3: Layer already exists 08:06:09 65be627d22220786ca580fff7b0bf73c9ac4aaab-3.1.0-dev.8: digest: sha256:986986ee2c248a6fb0d2eaf5bce53afe1dc5554e3fd40697b01e4f1f515c4df5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:06:09 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:06:09 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 08:06:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 08:06:09 87e6ad0eb6b3: Preparing 08:06:09 5473e657f991: Preparing 08:06:09 4290a98a2ebd: Preparing 08:06:09 a9cfcf5570aa: Preparing 08:06:09 d2d9d24a8c2a: Preparing 08:06:09 87e6ad0eb6b3: Layer already exists 08:06:09 a9cfcf5570aa: Layer already exists 08:06:09 d2d9d24a8c2a: Layer already exists 08:06:09 5473e657f991: Layer already exists 08:06:09 4290a98a2ebd: Layer already exists 08:06:09 main: digest: sha256:986986ee2c248a6fb0d2eaf5bce53afe1dc5554e3fd40697b01e4f1f515c4df5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:06:09 ===================================================== [Pipeline] echo 08:06:09 taggedImages: 08:06:09 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:65be627d22220786ca580fff7b0bf73c9ac4aaab 08:06:09 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 08:06:09 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.8 08:06:09 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:65be627d22220786ca580fff7b0bf73c9ac4aaab-3.1.0-dev.8 08:06:09 - 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 08:06:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:06:10 08:06:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:06:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:06:10 arm64: Pulling from edgex-lftools-log-publisher 08:06:10 8998bd30e6a1: Pulling fs layer 08:06:10 04944245beec: Pulling fs layer 08:06:10 699f458cf7ca: Pulling fs layer 08:06:10 765212b225bb: Pulling fs layer 08:06:10 f23df028b6ca: Pulling fs layer 08:06:10 d65c8cfc05b1: Pulling fs layer 08:06:10 2437ff75d9bd: Pulling fs layer 08:06:10 765212b225bb: Waiting 08:06:10 f23df028b6ca: Waiting 08:06:10 d65c8cfc05b1: Waiting 08:06:10 04944245beec: Verifying Checksum 08:06:10 04944245beec: Download complete 08:06:10 765212b225bb: Verifying Checksum 08:06:10 765212b225bb: Download complete 08:06:10 f23df028b6ca: Verifying Checksum 08:06:10 f23df028b6ca: Download complete 08:06:10 d65c8cfc05b1: Verifying Checksum 08:06:10 d65c8cfc05b1: Download complete 08:06:10 699f458cf7ca: Verifying Checksum 08:06:10 699f458cf7ca: Download complete 08:06:11 8998bd30e6a1: Verifying Checksum 08:06:11 8998bd30e6a1: Download complete 08:06:13 2437ff75d9bd: Verifying Checksum 08:06:13 2437ff75d9bd: Download complete 08:06:15 8998bd30e6a1: Pull complete 08:06:15 04944245beec: Pull complete 08:06:17 699f458cf7ca: Pull complete 08:06:17 765212b225bb: Pull complete 08:06:17 f23df028b6ca: Pull complete 08:06:18 d65c8cfc05b1: Pull complete 08:06:33 2437ff75d9bd: Pull complete 08:06:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:06:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:06:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:06:33 prd-ubuntu20.04-docker-arm64-4c-16g-5782 does not seem to be running inside a container 08:06:33 $ 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/122 -v /w/workspace/device-modbus-go/122:/w/workspace/device-modbus-go/122:rw,z -v /w/workspace/device-modbus-go/122@tmp:/w/workspace/device-modbus-go/122@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 08:06:35 $ docker top f20e01116033bde6d8d76af918b024ac92f328ad218ba615ee9b1685d34c3010 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:06:36 ---> job-cost.sh 08:06:36 lf-activate-venv: SKIPPING 08:06:36 INFO: No Stack... 08:06:37 INFO: Retrieving Pricing Info for: v3-standard-4 08:06:37 INFO: Archiving Costs [Pipeline] sh 08:06:38 + cat /w/workspace/device-modbus-go/122/archives/cost.csv 08:06:38 + cut -d, -f6 [Pipeline] lock 08:06:38 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-122-stack-cost] 08:06:38 Resource [jenkins-edgexfoundry-device-modbus-go-main-122-stack-cost] did not exist. Created. 08:06:38 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-122-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:06:38 /w/workspace/device-modbus-go/122@tmp/durable-1743f619/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:06:38 + echo total: 0.10999999940395355 [Pipeline] stash 08:06:38 Warning: overwriting stash ‘stack-cost’ 08:06:38 Stashed 1 file(s) [Pipeline] } 08:06:38 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-122-stack-cost] [Pipeline] // lock [Pipeline] } 08:06:38 $ docker stop --time=1 f20e01116033bde6d8d76af918b024ac92f328ad218ba615ee9b1685d34c3010 08:06:40 $ docker rm -f --volumes f20e01116033bde6d8d76af918b024ac92f328ad218ba615ee9b1685d34c3010 [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 08:06:40 provisioning config files... 08:06:40 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14103268527453211062tmp [Pipeline] { [Pipeline] sh 08:06:40 + set +x 08:06:40 + curl -s https://codecov.io/bash 08:06:40 + bash -s -- 08:06:41 08:06:41 _____ _ 08:06:41 / ____| | | 08:06:41 | | ___ __| | ___ ___ _____ __ 08:06:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:06:41 | |___| (_) | (_| | __/ (_| (_) \ V / 08:06:41 \_____\___/ \__,_|\___|\___\___/ \_/ 08:06:41 Bash-1.0.6 08:06:41 08:06:41 08:06:41 ==> git version 2.25.1 found 08:06:41 ==> 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 08:06:41 Release-Date: 2020-01-08 08:06:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:06:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:06:41 ==> Jenkins CI detected. 08:06:41 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 08:06:41 project root: . 08:06:41 --> token set from env 08:06:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:06:41 ==> Running gcov in . (disable via -X gcov) 08:06:41 ==> Python coveragepy not found 08:06:41 ==> Searching for coverage reports in: 08:06:41 + . 08:06:41 -> Found 1 reports 08:06:41 ==> Detecting git/mercurial file structure 08:06:41 ==> Reading reports 08:06:41 + ./coverage.out bytes=24334 08:06:41 ==> Appending adjustments 08:06:41 https://docs.codecov.io/docs/fixing-reports 08:06:41 + Found adjustments 08:06:41 ==> Gzipping contents 08:06:41 4.0K /tmp/codecov.ep0Sf0.gz 08:06:41 ==> Uploading reports 08:06:41 url: https://codecov.io 08:06:41 query: branch=main&commit=65be627d22220786ca580fff7b0bf73c9ac4aaab&build=122&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F122%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:06:41 -> Pinging Codecov 08:06:41 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=65be627d22220786ca580fff7b0bf73c9ac4aaab&build=122&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F122%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:06:41 -> Uploading to 08:06:41 https://storage.googleapis.com/codecov/v4/raw/2023-09-11/55DBCA73C666E3227836607328DD7E49/65be627d22220786ca580fff7b0bf73c9ac4aaab/468495f2-6c75-42fe-b9c0-5ad1fbd27dc5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230911%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230911T080641Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6b89a9e8d7c7bbf75ae60ded1ff0a7782a3e990ffaa3d356016f317032a51c2e 08:06:41 % Total % Received % Xferd Average Speed Time Time Time Current 08:06:41 Dload Upload Total Spent Left Speed 08:06:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 21715 --:--:-- --:--:-- --:--:-- 21597 100 3974 0 0 100 3974 0 21715 --:--:-- --:--:-- --:--:-- 21597 08:06:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/65be627d22220786ca580fff7b0bf73c9ac4aaab [Pipeline] } 08:06:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 08:06:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 08:06:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:06:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:06:42 08:06:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:06:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:06:42 1.410.4: Pulling from edgex-devops/edgex-snyk-go 08:06:42 df9b9388f04a: Pulling fs layer 08:06:42 52dc419b0ee2: Pulling fs layer 08:06:42 25bc292e5bac: Pulling fs layer 08:06:42 114826534d7a: Pulling fs layer 08:06:42 4657fd5d0bcf: Pulling fs layer 08:06:42 6ad1cebc031e: Pulling fs layer 08:06:42 8a3aa393b2d8: Pulling fs layer 08:06:42 4657fd5d0bcf: Waiting 08:06:42 6ad1cebc031e: Waiting 08:06:42 8a3aa393b2d8: Waiting 08:06:42 114826534d7a: Waiting 08:06:42 52dc419b0ee2: Verifying Checksum 08:06:42 52dc419b0ee2: Download complete 08:06:42 25bc292e5bac: Download complete 08:06:42 4657fd5d0bcf: Verifying Checksum 08:06:42 4657fd5d0bcf: Download complete 08:06:42 df9b9388f04a: Download complete 08:06:42 df9b9388f04a: Pull complete 08:06:42 6ad1cebc031e: Verifying Checksum 08:06:42 6ad1cebc031e: Download complete 08:06:42 52dc419b0ee2: Pull complete 08:06:42 25bc292e5bac: Pull complete 08:06:43 114826534d7a: Verifying Checksum 08:06:43 114826534d7a: Download complete 08:06:43 8a3aa393b2d8: Verifying Checksum 08:06:43 8a3aa393b2d8: Download complete 08:06:46 114826534d7a: Pull complete 08:06:46 4657fd5d0bcf: Pull complete 08:06:47 6ad1cebc031e: Pull complete 08:06:49 8a3aa393b2d8: Pull complete 08:06:49 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 08:06:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:06:49 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:06:49 prd-ubuntu20.04-docker-8c-8g-5781 does not seem to be running inside a container 08:06:49 $ 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 08:06:55 $ docker top cffd070beb7ab22b61f3f5b4dfb13609cf092702678251804b56983765450fce -eo pid,comm [Pipeline] { [Pipeline] echo 08:06:55 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 08:06:55 + set -o pipefail 08:06:55 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 08:07:00 08:07:00 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 08:07:00 08:07:00 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/fa9ed3a3-447f-4769-b955-7677d9b4e18b 08:07:00 08:07:00 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 08:07:00 08:07:00 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:07:00 08:07:00 08:07:00 A medium severity vulnerability was found in the Snyk CLI versions you are using. 08:07:00 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 08:07:00 More details here: https://snyk.co/ue1NS 08:07:00 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 08:07:00 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 08:07:00 $ docker stop --time=1 cffd070beb7ab22b61f3f5b4dfb13609cf092702678251804b56983765450fce 08:07:04 $ docker rm -f --volumes cffd070beb7ab22b61f3f5b4dfb13609cf092702678251804b56983765450fce [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 08:07:05 + git log --format=format:%s -1 65be627d22220786ca580fff7b0bf73c9ac4aaab [Pipeline] sh 08:07:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:07:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:07:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:07:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:07:06 prd-ubuntu20.04-docker-8c-8g-5781 does not seem to be running inside a container 08:07:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:07:06 $ docker top 9a98b2ae5857fc71a86e32791c905b021fb1372aa7b9a5c5da85d90606c1f768 -eo pid,comm 08:07:06 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). 08:07:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:07:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:07:06 [ssh-agent] Looking for ssh-agent implementation... 08:07:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:07:06 $ docker exec 9a98b2ae5857fc71a86e32791c905b021fb1372aa7b9a5c5da85d90606c1f768 ssh-agent 08:07:06 SSH_AUTH_SOCK=/tmp/ssh-kJ5HqPYcQYPv/agent.32 08:07:06 SSH_AGENT_PID=38 08:07:06 Running ssh-add (command line suppressed) 08:07:07 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15699468447606455471.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15699468447606455471.key) 08:07:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:07:07 + git semver tag 08:07:07 2023-09-11 08:07:07,534 [run_tag] DEBUG tag force:False 08:07:07 2023-09-11 08:07:07,535 [check_head_tag] DEBUG check head tag 08:07:07 2023-09-11 08:07:07,535 [execute] INFO git cat-file --batch-check 08:07:07 2023-09-11 08:07:07,535 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 08:07:07 2023-09-11 08:07:07,539 [execute] INFO git cat-file --batch 08:07:07 2023-09-11 08:07:07,540 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 08:07:07 2023-09-11 08:07:07,549 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:07:07 2023-09-11 08:07:07,550 [execute] INFO git tag -a v3.1.0-dev.8 -m v3.1.0-dev.8 08:07:07 2023-09-11 08:07:07,550 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.8', '-m', 'v3.1.0-dev.8'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 08:07:07 2023-09-11 08:07:07,555 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:07:07 3.1.0-dev.8 [Pipeline] } 08:07:07 $ docker exec --env ******** --env ******** 9a98b2ae5857fc71a86e32791c905b021fb1372aa7b9a5c5da85d90606c1f768 ssh-agent -k 08:07:07 unset SSH_AUTH_SOCK; 08:07:07 unset SSH_AGENT_PID; 08:07:07 echo Agent pid 38 killed; 08:07:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:07:08 + git semver [Pipeline] } 08:07:08 $ docker stop --time=1 9a98b2ae5857fc71a86e32791c905b021fb1372aa7b9a5c5da85d90606c1f768 08:07:09 $ docker rm -f --volumes 9a98b2ae5857fc71a86e32791c905b021fb1372aa7b9a5c5da85d90606c1f768 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:07:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:07:10 08:07:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:07:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:07:10 0.23.1-centos7: Pulling from edgex-lftools 08:07:10 ab5ef0e58194: Pulling fs layer 08:07:10 9712f1f96733: Pulling fs layer 08:07:10 63f879dbbcfc: Pulling fs layer 08:07:10 0d9ebad4ef96: Pulling fs layer 08:07:10 e9a5061849ea: Pulling fs layer 08:07:10 d747dcd14b5f: Pulling fs layer 08:07:10 2de7ff778b66: Pulling fs layer 08:07:10 e9a5061849ea: Waiting 08:07:10 d747dcd14b5f: Waiting 08:07:10 2de7ff778b66: Waiting 08:07:10 0d9ebad4ef96: Waiting 08:07:10 9712f1f96733: Verifying Checksum 08:07:10 9712f1f96733: Download complete 08:07:10 63f879dbbcfc: Verifying Checksum 08:07:10 63f879dbbcfc: Download complete 08:07:10 e9a5061849ea: Verifying Checksum 08:07:10 e9a5061849ea: Download complete 08:07:10 d747dcd14b5f: Verifying Checksum 08:07:10 d747dcd14b5f: Download complete 08:07:10 0d9ebad4ef96: Verifying Checksum 08:07:10 0d9ebad4ef96: Download complete 08:07:10 ab5ef0e58194: Verifying Checksum 08:07:10 ab5ef0e58194: Download complete 08:07:11 2de7ff778b66: Verifying Checksum 08:07:11 2de7ff778b66: Download complete 08:07:13 ab5ef0e58194: Pull complete 08:07:13 9712f1f96733: Pull complete 08:07:13 63f879dbbcfc: Pull complete 08:07:18 0d9ebad4ef96: Pull complete 08:07:18 e9a5061849ea: Pull complete 08:07:18 d747dcd14b5f: Pull complete 08:07:18 2de7ff778b66: Pull complete 08:07:19 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:07:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:07:19 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:07:19 prd-ubuntu20.04-docker-8c-8g-5781 does not seem to be running inside a container 08:07:19 $ 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 08:07:25 $ docker top 7041591ba034aa57a1f523a4eb80caeecf19ad0c40543efd2ad7a87a6102e15e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:07:25 provisioning config files... 08:07:25 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4180378380273279414tmp 08:07:25 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8316729132032451621tmp 08:07:25 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6138700619992008152tmp [Pipeline] { [Pipeline] echo 08:07:25 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:07:25 ---> sigul-configuration.sh 08:07:25 gpg: directory `/root/.gnupg' created 08:07:25 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:07:25 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:07:25 gpg: keyring `/root/.gnupg/secring.gpg' created 08:07:25 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:07:25 gpg: CAST5 encrypted data 08:07:25 gpg: encrypted with 1 passphrase 08:07:25 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:07:25 + mkdir /home/jenkins 08:07:25 + mkdir /home/jenkins/sigul [Pipeline] sh 08:07:26 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 08:07:26 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:07:26 ---> sigul-install.sh 08:07:26 Sigul already installed; skipping installation. [Pipeline] sh 08:07:26 + git tag --list 08:07:26 0.7.1 08:07:26 v1.0.0 08:07:26 v1.1.0 08:07:26 v1.1.1 08:07:26 v1.2.2 08:07:26 v1.3.0 08:07:26 v1.3.1 08:07:26 v2.0.0 08:07:26 v2.1.0 08:07:26 v2.1.1 08:07:26 v2.2.0 08:07:26 v2.3.0 08:07:26 v3.0 08:07:26 v3.0.0 08:07:26 v3.1.0-dev.1 08:07:26 v3.1.0-dev.2 08:07:26 v3.1.0-dev.3 08:07:26 v3.1.0-dev.4 08:07:26 v3.1.0-dev.5 08:07:26 v3.1.0-dev.6 08:07:26 v3.1.0-dev.7 08:07:26 v3.1.0-dev.8 [Pipeline] sh 08:07:27 + lftools sign git-tag v3.1.0-dev.8 08:07:27 Signing Git tag with Sigul... 08:07:27 Signing v3.1.0-dev.8 [Pipeline] echo 08:07:27 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:07:28 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:07:28 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:07:28 $ docker stop --time=1 7041591ba034aa57a1f523a4eb80caeecf19ad0c40543efd2ad7a87a6102e15e 08:07:29 $ docker rm -f --volumes 7041591ba034aa57a1f523a4eb80caeecf19ad0c40543efd2ad7a87a6102e15e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 08:07:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:07:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:07:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:07:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:07:30 prd-ubuntu20.04-docker-8c-8g-5781 does not seem to be running inside a container 08:07:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:07:30 $ docker top 9d3dab1b0027de0968d29ebd1f57f98b506e822a96d2e60be289436a3e91cb51 -eo pid,comm 08:07:30 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 08:07:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:07:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:07:30 [ssh-agent] Looking for ssh-agent implementation... 08:07:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:07:30 $ docker exec 9d3dab1b0027de0968d29ebd1f57f98b506e822a96d2e60be289436a3e91cb51 ssh-agent 08:07:30 SSH_AUTH_SOCK=/tmp/ssh-0LLSCMyIZQMm/agent.32 08:07:30 SSH_AGENT_PID=38 08:07:30 Running ssh-add (command line suppressed) 08:07:31 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10529076720322035784.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10529076720322035784.key) 08:07:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:07:31 + git semver bump pre 08:07:31 2023-09-11 08:07:31,536 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:07:31 2023-09-11 08:07:31,536 [bump_version] DEBUG bumping version:3.1.0-dev.8 on axis:pre with prefix:dev 08:07:31 2023-09-11 08:07:31,537 [bump_version] DEBUG bumped version:3.1.0-dev.9 08:07:31 2023-09-11 08:07:31,537 [write_version] DEBUG write version:3.1.0-dev.9 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 08:07:31 2023-09-11 08:07:31,537 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:07:31 2023-09-11 08:07:31,537 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:07:31 2023-09-11 08:07:31,538 [execute] INFO git cat-file --batch-check 08:07:31 2023-09-11 08:07:31,539 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:07:31 2023-09-11 08:07:31,544 [execute] INFO git cat-file --batch 08:07:31 2023-09-11 08:07:31,544 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:07:31 2023-09-11 08:07:31,549 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:07:31 3.1.0-dev.9 [Pipeline] } 08:07:31 $ docker exec --env ******** --env ******** 9d3dab1b0027de0968d29ebd1f57f98b506e822a96d2e60be289436a3e91cb51 ssh-agent -k 08:07:31 unset SSH_AUTH_SOCK; 08:07:31 unset SSH_AGENT_PID; 08:07:31 echo Agent pid 38 killed; 08:07:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:07:32 + git semver [Pipeline] } 08:07:32 $ docker stop --time=1 9d3dab1b0027de0968d29ebd1f57f98b506e822a96d2e60be289436a3e91cb51 08:07:33 $ docker rm -f --volumes 9d3dab1b0027de0968d29ebd1f57f98b506e822a96d2e60be289436a3e91cb51 [Pipeline] // withDockerContainer [Pipeline] sh 08:07:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:07:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:07:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:07:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:07:34 prd-ubuntu20.04-docker-8c-8g-5781 does not seem to be running inside a container 08:07:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:07:34 $ docker top 2ebee1eef07975c11b2bc841aee9f260b30375c2e07c2c2dc24b5cddfc1b4ec9 -eo pid,comm 08:07:34 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 08:07:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:07:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:07:34 [ssh-agent] Looking for ssh-agent implementation... 08:07:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:07:34 $ docker exec 2ebee1eef07975c11b2bc841aee9f260b30375c2e07c2c2dc24b5cddfc1b4ec9 ssh-agent 08:07:34 SSH_AUTH_SOCK=/tmp/ssh-NFkaPmOzPQx0/agent.33 08:07:34 SSH_AGENT_PID=39 08:07:34 Running ssh-add (command line suppressed) 08:07:34 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13989080586294247889.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13989080586294247889.key) 08:07:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:07:35 + git semver push 08:07:35 2023-09-11 08:07:35,443 [run_push] DEBUG push 08:07:35 2023-09-11 08:07:35,444 [execute] INFO git cat-file --batch-check 08:07:35 2023-09-11 08:07:35,444 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:07:35 2023-09-11 08:07:35,449 [execute] INFO git rev-list 696635e2661c22508d214b771b0f3f9f6477afd8 -- 08:07:35 2023-09-11 08:07:35,449 [execute] DEBUG Popen(['git', 'rev-list', '696635e2661c22508d214b771b0f3f9f6477afd8', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 08:07:35 2023-09-11 08:07:35,458 [execute] INFO git fetch -v origin 08:07:35 2023-09-11 08:07:35,458 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 08:07:36 2023-09-11 08:07:35,931 [run_push] DEBUG no remote changes detected 08:07:36 2023-09-11 08:07:35,932 [execute] INFO git push origin semver 08:07:36 2023-09-11 08:07:35,932 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 08:07:37 2023-09-11 08:07:36,695 [run_push] DEBUG push all version tags 08:07:37 2023-09-11 08:07:36,695 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 08:07:37 2023-09-11 08:07:36,696 [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) 08:07:37 2023-09-11 08:07:37,439 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:07:37 3.1.0-dev.9 [Pipeline] } 08:07:37 $ docker exec --env ******** --env ******** 2ebee1eef07975c11b2bc841aee9f260b30375c2e07c2c2dc24b5cddfc1b4ec9 ssh-agent -k 08:07:37 unset SSH_AUTH_SOCK; 08:07:37 unset SSH_AGENT_PID; 08:07:37 echo Agent pid 39 killed; 08:07:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:07:38 + git semver [Pipeline] } 08:07:38 $ docker stop --time=1 2ebee1eef07975c11b2bc841aee9f260b30375c2e07c2c2dc24b5cddfc1b4ec9 08:07:39 $ docker rm -f --volumes 2ebee1eef07975c11b2bc841aee9f260b30375c2e07c2c2dc24b5cddfc1b4ec9 [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 08:07:40 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 08:07:40 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 08:07:40 total 16 08:07:40 drwxr-xr-x 3 root root 4096 Sep 11 07:59 . 08:07:40 drwxrwxr-x 11 jenkins jenkins 4096 Sep 11 08:07 .. 08:07:40 drwxr-xr-x 2 root root 4096 Sep 11 07:59 cost 08:07:40 -rw-r--r-- 1 root root 88 Sep 11 07:59 cost.csv 08:07:40 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 08:07:40 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 08:07:40 total 16 08:07:40 drwxr-xr-x 3 jenkins jenkins 4096 Sep 11 07:59 . 08:07:40 drwxrwxr-x 11 jenkins jenkins 4096 Sep 11 08:07 .. 08:07:40 drwxr-xr-x 2 jenkins jenkins 4096 Sep 11 07:59 cost 08:07:40 -rw-r--r-- 1 jenkins jenkins 88 Sep 11 07:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:07:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:07:41 ---> package-listing.sh 08:07:41 ++ facter osfamily 08:07:41 ++ tr '[:upper:]' '[:lower:]' 08:07:41 + OS_FAMILY=debian 08:07:41 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 08:07:41 + START_PACKAGES=/tmp/packages_start.txt 08:07:41 + END_PACKAGES=/tmp/packages_end.txt 08:07:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:07:41 + PACKAGES=/tmp/packages_start.txt 08:07:41 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 08:07:41 + PACKAGES=/tmp/packages_end.txt 08:07:41 + case "${OS_FAMILY}" in 08:07:41 + dpkg -l 08:07:41 + grep '^ii' 08:07:41 + '[' -f /tmp/packages_start.txt ']' 08:07:41 + '[' -f /tmp/packages_end.txt ']' 08:07:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:07:41 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 08:07:41 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 08:07:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 08:07:41 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 08:07:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:07:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:07:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:07:42 prd-ubuntu20.04-docker-8c-8g-5781 does not seem to be running inside a container 08:07:42 $ 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 08:07:42 $ docker top 481631cda7eb31c2da8a2d40d976c0d1cc9e00082be092ac4112bb57c6692b17 -eo pid,comm [Pipeline] { [Pipeline] sh 08:07:42 + touch /tmp/pre-build-complete [Pipeline] sh 08:07:43 + mkdir -p /var/log/sysstat [Pipeline] sh 08:07:43 + ls /var/log/sa-host 08:07:43 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:07:43 provisioning config files... 08:07:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16301484401153882327tmp [Pipeline] { [Pipeline] echo 08:07:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:07:43 ---> create-netrc.sh [Pipeline] } 08:07:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:07:44 ---> python-tools-install.sh [Pipeline] echo 08:07:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:07:44 ---> sudo-logs.sh 08:07:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:07:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:07:44 ---> job-cost.sh 08:07:44 lf-activate-venv: SKIPPING 08:07:44 DEBUG: total: 0.2199999988079071 08:07:44 INFO: Retrieving Stack Cost... 08:07:45 INFO: Retrieving Pricing Info for: v3-standard-8 08:07:46 INFO: Archiving Costs [Pipeline] echo 08:07:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:07:46 ---> logs-deploy.sh 08:07:46 lf-activate-venv: SKIPPING 08:07:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/122 08:07:46 INFO: archiving workspace using pattern(s): 08:07:47 Archives upload complete. 08:07:47 INFO: archiving logs to Nexus