Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4043164b7337e1db1bede6ff26841e4d6947650d 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-ssh8035433496119030127.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1929008206115874121.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14833550533234654970.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17540056329526164962.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-ssh9426542072102048819.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16849 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 4043164b7337e1db1bede6ff26841e4d6947650d (main) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4043164b7337e1db1bede6ff26841e4d6947650d # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#487)" > git rev-list --no-walk c2a684ad799e189efd0923067d1fe2be35db2ba6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:12:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:12:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:12:53 ========================================================= 00:12:53 EdgeX Global Pipelines Version Info 00:12:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:12:54 ------------------- 00:12:54 stable info: 00:12:54 ------------------- 00:12:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:12:54 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:12:54 Message: update stable to v1.0.249 00:12:55 ------------------- 00:12:55 experimental info: 00:12:55 ------------------- 00:12:55 Commited By: **** collab-it+edgex@linuxfoundation.org 00:12:55 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:12:55 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:12:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 00:12:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 00:12:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:12:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:12:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:12:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:12:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:12:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:12:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:12:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:12:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:12:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 00:12:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:12:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:12:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:12:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:12:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:12:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:12:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:12:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:12:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:12:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:12:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:12:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:12:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:12:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:12:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:12:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:12:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:12:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:12:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4043164b7337e1db1bede6ff26841e4d6947650d [Pipeline] echo 00:12:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4043164 [Pipeline] echo 00:12:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:12:55 provisioning config files... 00:12:55 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6952083500273897852tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:12:56 ---> docker-login.sh 00:12:56 nexus3.edgexfoundry.org:10001 00:12:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:56 Configure a credential helper to remove this warning. See 00:12:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:56 00:12:56 Login Succeeded 00:12:56 nexus3.edgexfoundry.org:10002 00:12:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:56 Configure a credential helper to remove this warning. See 00:12:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:56 00:12:56 Login Succeeded 00:12:56 nexus3.edgexfoundry.org:10003 00:12:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:56 Configure a credential helper to remove this warning. See 00:12:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:56 00:12:56 Login Succeeded 00:12:56 nexus3.edgexfoundry.org:10004 00:12:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:57 Configure a credential helper to remove this warning. See 00:12:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:57 00:12:57 Login Succeeded 00:12:57 docker.io 00:12:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:57 Configure a credential helper to remove this warning. See 00:12:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:57 00:12:57 Login Succeeded 00:12:57 ---> docker-login.sh ends [Pipeline] } 00:12:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:12:57 + git rev-list -1 --merges 4043164b7337e1db1bede6ff26841e4d6947650d~1..4043164b7337e1db1bede6ff26841e4d6947650d [Pipeline] echo 00:12:57 -----------> git rev-list -1 --merges 4043164b7337e1db1bede6ff26841e4d6947650d~1..4043164b7337e1db1bede6ff26841e4d6947650d 4043164b7337e1db1bede6ff26841e4d6947650d [false] [Pipeline] sh 00:12:58 + git log --format=format:%s -1 4043164b7337e1db1bede6ff26841e4d6947650d [Pipeline] echo 00:12:58 ========================================================= 00:12:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:12:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:12:58 + git log --format=format:%s -1 4043164b7337e1db1bede6ff26841e4d6947650d [Pipeline] echo 00:12:58 [semverPrep] GIT_COMMIT: 4043164b7337e1db1bede6ff26841e4d6947650d, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#487) [Pipeline] echo 00:12:58 [semverPrep] This is not a build commit. [Pipeline] sh 00:12:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:12:58 + grep -v github /etc/ssh/ssh_known_hosts 00:12:58 + [ -e /tmp/ssh_known_hosts ] 00:12:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:12:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:12:58 + sudo tee -a /etc/ssh/ssh_known_hosts 00:12:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:12:59 00:12:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:12:59 0.1.4: Pulling from edgex-devops/py-git-semver 00:12:59 b85a868b505f: Pulling fs layer 00:12:59 e2be974225ed: Pulling fs layer 00:12:59 339a4e72a1f5: Pulling fs layer 00:12:59 988bab9f4d93: Pulling fs layer 00:12:59 1469e6f7b9e6: Pulling fs layer 00:12:59 eaf3925da568: Pulling fs layer 00:12:59 bab4dde63d76: Pulling fs layer 00:12:59 bde34c3a00c8: Pulling fs layer 00:12:59 b352a97aabf1: Pulling fs layer 00:12:59 4872d77fe225: Pulling fs layer 00:12:59 5851b861e8e6: Pulling fs layer 00:12:59 eaf3925da568: Waiting 00:12:59 988bab9f4d93: Waiting 00:12:59 1469e6f7b9e6: Waiting 00:12:59 bab4dde63d76: Waiting 00:12:59 5851b861e8e6: Waiting 00:12:59 bde34c3a00c8: Waiting 00:12:59 e2be974225ed: Download complete 00:12:59 988bab9f4d93: Download complete 00:12:59 339a4e72a1f5: Verifying Checksum 00:12:59 339a4e72a1f5: Download complete 00:12:59 eaf3925da568: Download complete 00:12:59 1469e6f7b9e6: Verifying Checksum 00:12:59 1469e6f7b9e6: Download complete 00:12:59 bde34c3a00c8: Verifying Checksum 00:12:59 bde34c3a00c8: Download complete 00:12:59 b352a97aabf1: Verifying Checksum 00:12:59 b352a97aabf1: Download complete 00:12:59 4872d77fe225: Verifying Checksum 00:12:59 4872d77fe225: Download complete 00:12:59 5851b861e8e6: Download complete 00:12:59 b85a868b505f: Verifying Checksum 00:12:59 b85a868b505f: Download complete 00:13:00 bab4dde63d76: Verifying Checksum 00:13:00 bab4dde63d76: Download complete 00:13:00 b85a868b505f: Pull complete 00:13:01 e2be974225ed: Pull complete 00:13:01 339a4e72a1f5: Pull complete 00:13:01 988bab9f4d93: Pull complete 00:13:02 1469e6f7b9e6: Pull complete 00:13:02 eaf3925da568: Pull complete 00:13:04 bab4dde63d76: Pull complete 00:13:04 bde34c3a00c8: Pull complete 00:13:04 b352a97aabf1: Pull complete 00:13:04 4872d77fe225: Pull complete 00:13:04 5851b861e8e6: Pull complete 00:13:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:13:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:13:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:04 prd-ubuntu20.04-docker-8c-8g-16849 does not seem to be running inside a container 00:13:04 $ 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 00:13:09 $ docker top 4116f3ce20e8b2bbfd0c570a1b7f9a6284e68f99289d8aab64eff9d4582151d0 -eo pid,comm 00:13:09 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). 00:13:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:13:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:13:09 [ssh-agent] Looking for ssh-agent implementation... 00:13:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:13:09 $ docker exec 4116f3ce20e8b2bbfd0c570a1b7f9a6284e68f99289d8aab64eff9d4582151d0 ssh-agent 00:13:09 SSH_AUTH_SOCK=/tmp/ssh-BYfR7EfBJKmR/agent.32 00:13:09 SSH_AGENT_PID=38 00:13:09 Running ssh-add (command line suppressed) 00:13:09 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7286813383057644390.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7286813383057644390.key) 00:13:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:13:09 + git tag --points-at HEAD [Pipeline] } 00:13:09 $ docker exec --env ******** --env ******** 4116f3ce20e8b2bbfd0c570a1b7f9a6284e68f99289d8aab64eff9d4582151d0 ssh-agent -k 00:13:10 unset SSH_AUTH_SOCK; 00:13:10 unset SSH_AGENT_PID; 00:13:10 echo Agent pid 38 killed; 00:13:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:13:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:13:10 [ssh-agent] Looking for ssh-agent implementation... 00:13:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:13:10 $ docker exec 4116f3ce20e8b2bbfd0c570a1b7f9a6284e68f99289d8aab64eff9d4582151d0 ssh-agent 00:13:10 SSH_AUTH_SOCK=/tmp/ssh-UFUy7pBNGvvn/agent.70 00:13:10 SSH_AGENT_PID=76 00:13:10 Running ssh-add (command line suppressed) 00:13:10 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2558407355848395282.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2558407355848395282.key) 00:13:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:13:10 + git semver init 00:13:10 2023-05-25 00:13:10,906 [run_init] DEBUG init version:0.0.0 force:False 00:13:10 2023-05-25 00:13:10,907 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 00:13:10 2023-05-25 00:13:10,908 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 00:13:10 2023-05-25 00:13:10,908 [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) 00:13:11 2023-05-25 00:13:11,692 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 00:13:11 2023-05-25 00:13:11,693 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 00:13:11 2023-05-25 00:13:11,693 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 00:13:11 2023-05-25 00:13:11,694 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 00:13:11 3.0.0-dev.44 [Pipeline] } 00:13:11 $ docker exec --env ******** --env ******** 4116f3ce20e8b2bbfd0c570a1b7f9a6284e68f99289d8aab64eff9d4582151d0 ssh-agent -k 00:13:12 unset SSH_AUTH_SOCK; 00:13:12 unset SSH_AGENT_PID; 00:13:12 echo Agent pid 76 killed; 00:13:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:13:12 + git semver [Pipeline] } 00:13:12 $ docker stop --time=1 4116f3ce20e8b2bbfd0c570a1b7f9a6284e68f99289d8aab64eff9d4582151d0 00:13:13 $ docker rm -f --volumes 4116f3ce20e8b2bbfd0c570a1b7f9a6284e68f99289d8aab64eff9d4582151d0 [Pipeline] // withDockerContainer [Pipeline] sh 00:13:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:13:14 Stashed 1 file(s) [Pipeline] echo 00:13:14 [edgeXSemver]: initialized semver on version 3.0.0-dev.44 [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 00:13:15 provisioning config files... 00:13:15 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3180298876284749424tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:13:15 ---> docker-login.sh 00:13:15 nexus3.edgexfoundry.org:10001 00:13:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:15 Configure a credential helper to remove this warning. See 00:13:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:15 00:13:15 Login Succeeded 00:13:15 nexus3.edgexfoundry.org:10002 00:13:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:15 Configure a credential helper to remove this warning. See 00:13:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:15 00:13:15 Login Succeeded 00:13:15 nexus3.edgexfoundry.org:10003 00:13:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:15 Configure a credential helper to remove this warning. See 00:13:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:15 00:13:15 Login Succeeded 00:13:15 nexus3.edgexfoundry.org:10004 00:13:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:15 Configure a credential helper to remove this warning. See 00:13:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:15 00:13:15 Login Succeeded 00:13:15 docker.io 00:13:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:16 Configure a credential helper to remove this warning. See 00:13:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:16 00:13:16 Login Succeeded 00:13:16 ---> docker-login.sh ends [Pipeline] } 00:13:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:13:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:13:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:13:16 ========================================================= 00:13:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:13:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:16 + 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 . 00:13:16 Sending build context to Docker daemon 6.536MB 00:13:16 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 00:13:16 Step 2/10 : FROM ${BASE} AS builder 00:13:16 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:13:16 f56be85fc22e: Pulling fs layer 00:13:16 85791d961cd3: Pulling fs layer 00:13:16 d694b5ae8c79: Pulling fs layer 00:13:16 9f32a84ed3da: Pulling fs layer 00:13:16 4d19c01a9841: Pulling fs layer 00:13:16 9325e15d5711: Pulling fs layer 00:13:16 556b6ee489ea: Pulling fs layer 00:13:16 c5a4b2cf53e6: Pulling fs layer 00:13:16 9325e15d5711: Waiting 00:13:16 9f32a84ed3da: Waiting 00:13:16 556b6ee489ea: Waiting 00:13:16 4d19c01a9841: Waiting 00:13:16 c5a4b2cf53e6: Waiting 00:13:16 85791d961cd3: Verifying Checksum 00:13:16 85791d961cd3: Download complete 00:13:16 9f32a84ed3da: Download complete 00:13:16 4d19c01a9841: Verifying Checksum 00:13:16 4d19c01a9841: Download complete 00:13:16 f56be85fc22e: Verifying Checksum 00:13:16 f56be85fc22e: Download complete 00:13:16 9325e15d5711: Verifying Checksum 00:13:16 9325e15d5711: Download complete 00:13:16 f56be85fc22e: Pull complete 00:13:17 85791d961cd3: Pull complete 00:13:17 c5a4b2cf53e6: Verifying Checksum 00:13:17 c5a4b2cf53e6: Download complete 00:13:17 d694b5ae8c79: Verifying Checksum 00:13:17 d694b5ae8c79: Download complete 00:13:17 556b6ee489ea: Verifying Checksum 00:13:17 556b6ee489ea: Download complete 00:13:20 d694b5ae8c79: Pull complete 00:13:20 9f32a84ed3da: Pull complete 00:13:20 4d19c01a9841: Pull complete 00:13:20 9325e15d5711: Pull complete 00:13:23 556b6ee489ea: Pull complete 00:13:24 c5a4b2cf53e6: Pull complete 00:13:24 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 00:13:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:13:24 ---> c4be618373d6 00:13:24 Step 3/10 : ARG ADD_BUILD_TAGS="" 00:13:29 Still waiting to schedule task 00:13:29 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:13:32 ---> Running in 89f9f13e31a6 00:13:32 Removing intermediate container 89f9f13e31a6 00:13:32 ---> 13e8f6d934e6 00:13:32 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:13:32 ---> Running in fe137cbbcb5b 00:13:32 Removing intermediate container fe137cbbcb5b 00:13:32 ---> a6879be6c6bd 00:13:32 Step 5/10 : RUN apk add --update --no-cache make git openssh 00:13:32 ---> Running in 0c4d0fab7973 00:13:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:13:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:13:32 (1/8) Installing openssh-keygen (9.1_p1-r3) 00:13:32 (2/8) Installing libedit (20221030.3.1-r0) 00:13:32 (3/8) Installing openssh-client-common (9.1_p1-r3) 00:13:32 (4/8) Installing openssh-client-default (9.1_p1-r3) 00:13:32 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 00:13:32 (6/8) Installing openssh-server-common (9.1_p1-r3) 00:13:32 (7/8) Installing openssh-server (9.1_p1-r3) 00:13:32 (8/8) Installing openssh (9.1_p1-r3) 00:13:32 Executing busybox-1.35.0-r29.trigger 00:13:32 OK: 270 MiB in 61 packages 00:13:33 Removing intermediate container 0c4d0fab7973 00:13:33 ---> d93fbada5d7a 00:13:33 Step 6/10 : WORKDIR /device-modbus-go 00:13:33 ---> Running in 2ec9a4b5e890 00:13:33 Removing intermediate container 2ec9a4b5e890 00:13:33 ---> f065d0fd1960 00:13:33 Step 7/10 : COPY go.mod vendor* ./ 00:13:33 ---> 1d293b3b69e9 00:13:33 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:13:33 ---> Running in 274b8dc556bd 00:14:05 Removing intermediate container 274b8dc556bd 00:14:05 ---> c240a31ec6f7 00:14:05 Step 9/10 : COPY . . 00:14:05 ---> 1153a7aa70a1 00:14:05 Step 10/10 : RUN ${MAKE} 00:14:05 ---> Running in 7952f8b967ee 00:14:05 noop 00:14:05 Removing intermediate container 7952f8b967ee 00:14:05 ---> 49f02baa134b 00:14:05 Successfully built 49f02baa134b 00:14:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:06 + docker inspect -f . ci-base-image-x86_64 00:14:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:14:06 prd-ubuntu20.04-docker-8c-8g-16849 does not seem to be running inside a container 00:14:06 $ 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 00:14:06 $ docker top 18aa9c65a967e502f10569cfe7dd4a3fa74262c93d3d3d6f65b0bc3310b97221 -eo pid,comm [Pipeline] { [Pipeline] sh 00:14:07 + go version 00:14:07 go version go1.20.2 linux/amd64 [Pipeline] } 00:14:07 $ docker stop --time=1 18aa9c65a967e502f10569cfe7dd4a3fa74262c93d3d3d6f65b0bc3310b97221 00:14:08 $ docker rm -f --volumes 18aa9c65a967e502f10569cfe7dd4a3fa74262c93d3d3d6f65b0bc3310b97221 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:08 + docker inspect -f . ci-base-image-x86_64 00:14:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:14:08 prd-ubuntu20.04-docker-8c-8g-16849 does not seem to be running inside a container 00:14:08 $ 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 00:14:09 $ docker top 7b56673e546e844b8282a5c47d180f2cf6a033c1bc350e1dc04704869576561e -eo pid,comm [Pipeline] { [Pipeline] sh 00:14:09 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 00:14:10 + make test 00:14:10 go test ./... -coverprofile=coverage.out 00:14:16 ? github.com/edgexfoundry/device-modbus-go [no test files] 00:14:26 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 00:14:26 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.4% of statements 00:14:30 go vet ./... 00:14:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:14:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:14:34 ./bin/test-attribution-txt.sh [Pipeline] echo 00:14:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:14:34 $ docker stop --time=1 7b56673e546e844b8282a5c47d180f2cf6a033c1bc350e1dc04704869576561e 00:14:39 $ docker rm -f --volumes 7b56673e546e844b8282a5c47d180f2cf6a033c1bc350e1dc04704869576561e [Pipeline] // withDockerContainer [Pipeline] sh 00:14:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:14:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:14:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:14:40 + ls -al . 00:14:40 total 184 00:14:40 drwxrwxr-x 10 jenkins jenkins 4096 May 25 00:14 . 00:14:40 drwxrwxr-x 4 jenkins jenkins 4096 May 25 00:12 .. 00:14:40 -rw-rw-r-- 1 jenkins jenkins 140 May 25 00:12 .dockerignore 00:14:40 drwxrwxr-x 8 jenkins jenkins 4096 May 25 00:13 .git 00:14:40 drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:12 .github 00:14:40 -rw-rw-r-- 1 jenkins jenkins 331 May 25 00:12 .gitignore 00:14:40 -rw-rw-r-- 1 jenkins jenkins 41 May 25 00:12 .golangci.yml 00:14:40 drwxr-xr-x 3 jenkins jenkins 4096 May 25 00:13 .semver 00:14:40 -rw-rw-r-- 1 jenkins jenkins 10132 May 25 00:12 Attribution.txt 00:14:40 -rw-rw-r-- 1 jenkins jenkins 11576 May 25 00:12 CHANGELOG.md 00:14:40 -rw-rw-r-- 1 jenkins jenkins 1365 May 25 00:12 Dockerfile 00:14:40 -rw-rw-r-- 1 jenkins jenkins 677 May 25 00:12 GOVERNANCE.md 00:14:40 -rw-rw-r-- 1 jenkins jenkins 680 May 25 00:12 Jenkinsfile 00:14:40 -rw-rw-r-- 1 jenkins jenkins 11340 May 25 00:12 LICENSE 00:14:40 -rw-rw-r-- 1 jenkins jenkins 1705 May 25 00:12 Makefile 00:14:40 -rw-rw-r-- 1 jenkins jenkins 622 May 25 00:12 OWNERS.md 00:14:40 -rw-rw-r-- 1 jenkins jenkins 4554 May 25 00:12 README.md 00:14:40 -rw-rw-r-- 1 jenkins jenkins 12 May 25 00:13 VERSION 00:14:40 drwxrwxr-x 2 jenkins jenkins 4096 May 25 00:12 bin 00:14:40 drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:12 cmd 00:14:40 -rw-r--r-- 1 jenkins jenkins 24160 May 25 00:14 coverage.out 00:14:40 -rw-rw-r-- 1 jenkins jenkins 3405 May 25 00:12 go.mod 00:14:40 -rw-rw-r-- 1 jenkins jenkins 31574 May 25 00:12 go.sum 00:14:40 drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:12 internal 00:14:40 drwxrwxr-x 2 jenkins jenkins 4096 May 25 00:12 simulator 00:14:40 drwxrwxr-x 4 jenkins jenkins 4096 May 25 00:12 snap 00:14:40 -rw-rw-r-- 1 jenkins jenkins 229 May 25 00:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:41 + 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=4043164b7337e1db1bede6ff26841e4d6947650d --label arch=amd64 --label version=3.0.0-dev.44 . 00:14:41 Sending build context to Docker daemon 6.561MB 00:14:41 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 00:14:41 Step 2/22 : FROM ${BASE} AS builder 00:14:41 ---> 49f02baa134b 00:14:41 Step 3/22 : ARG ADD_BUILD_TAGS="" 00:14:41 ---> Running in 841fc5e383ac 00:14:41 Removing intermediate container 841fc5e383ac 00:14:41 ---> 2d5bf07f195d 00:14:41 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:14:41 ---> Running in 5ec77bba85f2 00:14:41 Removing intermediate container 5ec77bba85f2 00:14:41 ---> 848daa9c8b80 00:14:41 Step 5/22 : RUN apk add --update --no-cache make git openssh 00:14:41 ---> Running in e9dba3e11d9d 00:14:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:14:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:14:42 OK: 270 MiB in 61 packages 00:14:42 Removing intermediate container e9dba3e11d9d 00:14:42 ---> ee94a7912dc3 00:14:42 Step 6/22 : WORKDIR /device-modbus-go 00:14:42 ---> Running in 571af8d403f0 00:14:42 Removing intermediate container 571af8d403f0 00:14:42 ---> 190f966c5f5f 00:14:42 Step 7/22 : COPY go.mod vendor* ./ 00:14:42 ---> 78cadbe4574b 00:14:42 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:14:42 ---> Running in 376d7f268e6d 00:14:43 Removing intermediate container 376d7f268e6d 00:14:43 ---> 24288f19e7df 00:14:43 Step 9/22 : COPY . . 00:14:43 ---> 34c95e4a0241 00:14:43 Step 10/22 : RUN ${MAKE} 00:14:43 ---> Running in b1231a16bc43 00:14:44 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.44" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 00:15:10 Removing intermediate container b1231a16bc43 00:15:10 ---> 5d39e42b6f93 00:15:10 Step 11/22 : FROM alpine:3.17 00:15:10 3.17: Pulling from library/alpine 00:15:10 f56be85fc22e: Already exists 00:15:10 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:15:10 Status: Downloaded newer image for alpine:3.17 00:15:10 ---> 9ed4aefc74f6 00:15:10 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 00:15:10 ---> Running in 0fffddbd2486 00:15:10 Removing intermediate container 0fffddbd2486 00:15:10 ---> 035c7c8b790b 00:15:10 Step 13/22 : RUN apk add --update --no-cache dumb-init 00:15:10 ---> Running in 6413fe1b22eb 00:15:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:15:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:15:10 (1/1) Installing dumb-init (1.2.5-r2) 00:15:10 Executing busybox-1.35.0-r29.trigger 00:15:10 OK: 7 MiB in 16 packages 00:15:10 Removing intermediate container 6413fe1b22eb 00:15:10 ---> 9f408e20033e 00:15:10 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 00:15:10 ---> f828a796606c 00:15:10 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 00:15:10 ---> 8a3c33a7ef11 00:15:10 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 00:15:10 ---> edae5d8e221b 00:15:10 Step 17/22 : EXPOSE 59901 00:15:10 ---> Running in c881f9496e07 00:15:10 Removing intermediate container c881f9496e07 00:15:10 ---> d0400435a1d4 00:15:10 Step 18/22 : ENTRYPOINT ["/device-modbus"] 00:15:10 ---> Running in 3d4474e24449 00:15:10 Removing intermediate container 3d4474e24449 00:15:10 ---> 37cb0c2c9349 00:15:10 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:15:10 ---> Running in df30ef1f998d 00:15:10 Removing intermediate container df30ef1f998d 00:15:10 ---> 555c2c6f6c52 00:15:10 Step 20/22 : LABEL arch=amd64 00:15:10 ---> Running in c743517b699b 00:15:10 Removing intermediate container c743517b699b 00:15:10 ---> 32ee955d0b5f 00:15:10 Step 21/22 : LABEL git_sha=4043164b7337e1db1bede6ff26841e4d6947650d 00:15:10 ---> Running in a547628fb901 00:15:10 Removing intermediate container a547628fb901 00:15:10 ---> 55e5b3ac1062 00:15:10 Step 22/22 : LABEL version=3.0.0-dev.44 00:15:10 ---> Running in 47ac5c81fb07 00:15:10 Removing intermediate container 47ac5c81fb07 00:15:10 ---> 9b0f4eaa3c54 00:15:10 [Warning] One or more build-args [ARCH] were not consumed 00:15:10 Successfully built 9b0f4eaa3c54 00:15:10 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:15:10 provisioning config files... 00:15:10 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14922257804115938744tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:15:11 ---> docker-login.sh 00:15:11 nexus3.edgexfoundry.org:10001 00:15:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:11 Configure a credential helper to remove this warning. See 00:15:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:11 00:15:11 Login Succeeded 00:15:11 nexus3.edgexfoundry.org:10002 00:15:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:11 Configure a credential helper to remove this warning. See 00:15:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:11 00:15:11 Login Succeeded 00:15:11 nexus3.edgexfoundry.org:10003 00:15:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:11 Configure a credential helper to remove this warning. See 00:15:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:11 00:15:11 Login Succeeded 00:15:11 nexus3.edgexfoundry.org:10004 00:15:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:11 Configure a credential helper to remove this warning. See 00:15:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:11 00:15:11 Login Succeeded 00:15:11 docker.io 00:15:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:11 Configure a credential helper to remove this warning. See 00:15:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:11 00:15:11 Login Succeeded 00:15:11 ---> docker-login.sh ends [Pipeline] } 00:15:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:15:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:15:11 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 00:15:11 4043164b7337e1db1bede6ff26841e4d6947650d 00:15:11 latest 00:15:11 3.0.0-dev.44 00:15:11 4043164b7337e1db1bede6ff26841e4d6947650d-3.0.0-dev.44 00:15:11 main 00:15:11 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:12 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4043164b7337e1db1bede6ff26841e4d6947650d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:12 + docker push nexus3.edgexfoundry.org:10004/device-modbus:4043164b7337e1db1bede6ff26841e4d6947650d 00:15:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 00:15:12 d657412b0b35: Preparing 00:15:12 7380e49fd0b2: Preparing 00:15:12 ead8d8d96495: Preparing 00:15:12 9ac64cca1791: Preparing 00:15:12 f1417ff83b31: Preparing 00:15:12 f1417ff83b31: Layer already exists 00:15:12 9ac64cca1791: Pushed 00:15:12 7380e49fd0b2: Pushed 00:15:12 d657412b0b35: Pushed 00:15:14 ead8d8d96495: Pushed 00:15:14 4043164b7337e1db1bede6ff26841e4d6947650d: digest: sha256:0e78c940de596cdaae8996e1d81403bcca665168a241d4dc7455856ce360a288 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:15 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:15 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 00:15:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 00:15:15 d657412b0b35: Preparing 00:15:15 7380e49fd0b2: Preparing 00:15:15 ead8d8d96495: Preparing 00:15:15 9ac64cca1791: Preparing 00:15:15 f1417ff83b31: Preparing 00:15:15 f1417ff83b31: Layer already exists 00:15:15 d657412b0b35: Layer already exists 00:15:15 ead8d8d96495: Layer already exists 00:15:15 9ac64cca1791: Layer already exists 00:15:15 7380e49fd0b2: Layer already exists 00:15:15 latest: digest: sha256:0e78c940de596cdaae8996e1d81403bcca665168a241d4dc7455856ce360a288 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:15 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.44 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:16 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.44 00:15:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 00:15:16 d657412b0b35: Preparing 00:15:16 7380e49fd0b2: Preparing 00:15:16 ead8d8d96495: Preparing 00:15:16 9ac64cca1791: Preparing 00:15:16 f1417ff83b31: Preparing 00:15:16 ead8d8d96495: Layer already exists 00:15:16 d657412b0b35: Layer already exists 00:15:16 7380e49fd0b2: Layer already exists 00:15:16 9ac64cca1791: Layer already exists 00:15:16 f1417ff83b31: Layer already exists 00:15:16 3.0.0-dev.44: digest: sha256:0e78c940de596cdaae8996e1d81403bcca665168a241d4dc7455856ce360a288 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:16 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4043164b7337e1db1bede6ff26841e4d6947650d-3.0.0-dev.44 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:17 + docker push nexus3.edgexfoundry.org:10004/device-modbus:4043164b7337e1db1bede6ff26841e4d6947650d-3.0.0-dev.44 00:15:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 00:15:17 d657412b0b35: Preparing 00:15:17 7380e49fd0b2: Preparing 00:15:17 ead8d8d96495: Preparing 00:15:17 9ac64cca1791: Preparing 00:15:17 f1417ff83b31: Preparing 00:15:17 7380e49fd0b2: Layer already exists 00:15:17 9ac64cca1791: Layer already exists 00:15:17 f1417ff83b31: Layer already exists 00:15:17 d657412b0b35: Layer already exists 00:15:17 ead8d8d96495: Layer already exists 00:15:17 4043164b7337e1db1bede6ff26841e4d6947650d-3.0.0-dev.44: digest: sha256:0e78c940de596cdaae8996e1d81403bcca665168a241d4dc7455856ce360a288 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:18 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:18 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 00:15:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 00:15:18 d657412b0b35: Preparing 00:15:18 7380e49fd0b2: Preparing 00:15:18 ead8d8d96495: Preparing 00:15:18 9ac64cca1791: Preparing 00:15:18 f1417ff83b31: Preparing 00:15:18 7380e49fd0b2: Layer already exists 00:15:18 ead8d8d96495: Layer already exists 00:15:18 f1417ff83b31: Layer already exists 00:15:18 d657412b0b35: Layer already exists 00:15:18 9ac64cca1791: Layer already exists 00:15:18 main: digest: sha256:0e78c940de596cdaae8996e1d81403bcca665168a241d4dc7455856ce360a288 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:15:18 ===================================================== [Pipeline] echo 00:15:18 taggedImages: 00:15:18 - nexus3.edgexfoundry.org:10004/device-modbus:4043164b7337e1db1bede6ff26841e4d6947650d 00:15:18 - nexus3.edgexfoundry.org:10004/device-modbus:latest 00:15:18 - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.44 00:15:18 - nexus3.edgexfoundry.org:10004/device-modbus:4043164b7337e1db1bede6ff26841e4d6947650d-3.0.0-dev.44 00:15:18 - 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 00:15:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:15:19 00:15:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:15:19 latest: Pulling from edgex-lftools-log-publisher 00:15:19 5eb5b503b376: Pulling fs layer 00:15:19 5c69ac0246d0: Pulling fs layer 00:15:19 ec43610c2a17: Pulling fs layer 00:15:19 3a2ae6a8a46f: Pulling fs layer 00:15:19 33b1e0a273af: Pulling fs layer 00:15:19 5d3b04190fa2: Pulling fs layer 00:15:19 2f39f015ded8: Pulling fs layer 00:15:19 3a2ae6a8a46f: Waiting 00:15:19 33b1e0a273af: Waiting 00:15:19 2f39f015ded8: Waiting 00:15:19 5d3b04190fa2: Waiting 00:15:19 5c69ac0246d0: Download complete 00:15:19 3a2ae6a8a46f: Verifying Checksum 00:15:19 3a2ae6a8a46f: Download complete 00:15:19 33b1e0a273af: Verifying Checksum 00:15:19 33b1e0a273af: Download complete 00:15:19 5d3b04190fa2: Download complete 00:15:19 ec43610c2a17: Verifying Checksum 00:15:19 ec43610c2a17: Download complete 00:15:19 5eb5b503b376: Verifying Checksum 00:15:19 5eb5b503b376: Download complete 00:15:21 5eb5b503b376: Pull complete 00:15:21 5c69ac0246d0: Pull complete 00:15:21 ec43610c2a17: Pull complete 00:15:21 3a2ae6a8a46f: Pull complete 00:15:21 33b1e0a273af: Pull complete 00:15:21 5d3b04190fa2: Pull complete 00:15:22 2f39f015ded8: Download complete 00:15:25 2f39f015ded8: Pull complete 00:15:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:15:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:15:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:15:26 prd-ubuntu20.04-docker-8c-8g-16849 does not seem to be running inside a container 00:15:26 $ 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 00:15:36 $ docker top fca3a7b7490940c7c1ccb1529e6d1d724d88ea216a1fccea359261f6ce01c644 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:15:36 ---> job-cost.sh 00:15:36 lf-activate-venv: SKIPPING 00:15:36 INFO: No Stack... 00:15:37 INFO: Retrieving Pricing Info for: v3-standard-8 00:15:37 INFO: Archiving Costs [Pipeline] sh 00:15:38 + cat+ /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 00:15:38 cut -d, -f6 [Pipeline] lock 00:15:38 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-110-stack-cost] 00:15:38 Resource [jenkins-edgexfoundry-device-modbus-go-main-110-stack-cost] did not exist. Created. 00:15:38 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-110-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:15:38 + echo total: 0.2199999988079071 [Pipeline] stash 00:15:38 Stashed 1 file(s) [Pipeline] } 00:15:38 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-110-stack-cost] [Pipeline] // lock [Pipeline] } 00:15:38 $ docker stop --time=1 fca3a7b7490940c7c1ccb1529e6d1d724d88ea216a1fccea359261f6ce01c644 00:15:40 $ docker rm -f --volumes fca3a7b7490940c7c1ccb1529e6d1d724d88ea216a1fccea359261f6ce01c644 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:17:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16873 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 00:17:47 Running in /w/workspace/device-modbus-go/110 [Pipeline] { [Pipeline] checkout 00:17:47 Selected Git installation does not exist. Using Default 00:17:47 The recommended git tool is: NONE 00:17:54 using credential edgex-jenkins-ssh 00:17:54 Cloning the remote Git repository 00:17:55 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 00:17:55 > git init /w/workspace/device-modbus-go/110 # timeout=10 00:17:55 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:17:55 > git --version # timeout=10 00:17:55 > git --version # 'git version 2.25.1' 00:17:55 using GIT_SSH to set credentials SSH Credentials for GitHub 00:17:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:17:57 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:17:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:17:58 Avoid second fetch 00:17:58 Checking out Revision 4043164b7337e1db1bede6ff26841e4d6947650d (main) 00:17:59 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#487)" 00:17:58 > git config core.sparsecheckout # timeout=10 00:17:58 > git checkout -f 4043164b7337e1db1bede6ff26841e4d6947650d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:18:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:18:00 % Total % Received % Xferd Average Speed Time Time Time Current 00:18:00 Dload Upload Total Spent Left Speed 00:18:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 163k 0 --:--:-- --:--:-- --:--:-- 166k [Pipeline] sh 00:18:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:18:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:18:01 + sudo tee /etc/docker/daemon.new 00:18:01 { 00:18:01 "registry-mirrors": [ 00:18:01 "https://nexus3.edgexfoundry.org:10001" 00:18:01 ], 00:18:01 "bip": "10.250.0.254/24", 00:18:01 "hosts": [ 00:18:01 "tcp://0.0.0.0:5555", 00:18:01 "unix:///var/run/docker.sock" 00:18:01 ], 00:18:01 "mtu": 1458, 00:18:01 "selinux-enabled": true, 00:18:01 "seccomp-profile": "/etc/docker/seccomp.json" 00:18:01 } [Pipeline] sh 00:18:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:18:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:18:20 provisioning config files... 00:18:20 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/110@tmp/config3048695666630253417tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:18:21 ---> docker-login.sh 00:18:21 nexus3.edgexfoundry.org:10001 00:18:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:21 Configure a credential helper to remove this warning. See 00:18:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:21 00:18:21 Login Succeeded 00:18:21 nexus3.edgexfoundry.org:10002 00:18:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:22 Configure a credential helper to remove this warning. See 00:18:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:22 00:18:22 Login Succeeded 00:18:22 nexus3.edgexfoundry.org:10003 00:18:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:22 Configure a credential helper to remove this warning. See 00:18:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:22 00:18:22 Login Succeeded 00:18:22 nexus3.edgexfoundry.org:10004 00:18:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:23 Configure a credential helper to remove this warning. See 00:18:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:23 00:18:23 Login Succeeded 00:18:23 docker.io 00:18:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:23 Configure a credential helper to remove this warning. See 00:18:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:23 00:18:23 Login Succeeded 00:18:23 ---> docker-login.sh ends [Pipeline] } 00:18:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:18:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:18:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:18:24 ========================================================= 00:18:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:18:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:24 + 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 . 00:18:24 Sending build context to Docker daemon 3.422MB 00:18:25 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 00:18:25 Step 2/10 : FROM ${BASE} AS builder 00:18:25 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:18:25 c41833b44d91: Pulling fs layer 00:18:25 ed15518f5707: Pulling fs layer 00:18:25 feae8fd75edb: Pulling fs layer 00:18:25 242c74f7c9fa: Pulling fs layer 00:18:25 3cdef696dda3: Pulling fs layer 00:18:25 2ced38df9373: Pulling fs layer 00:18:25 58f1dce35555: Pulling fs layer 00:18:25 3cdef696dda3: Waiting 00:18:25 2ced38df9373: Waiting 00:18:25 58f1dce35555: Waiting 00:18:25 242c74f7c9fa: Waiting 00:18:25 ed15518f5707: Verifying Checksum 00:18:25 ed15518f5707: Download complete 00:18:25 242c74f7c9fa: Download complete 00:18:25 3cdef696dda3: Verifying Checksum 00:18:25 3cdef696dda3: Download complete 00:18:25 c41833b44d91: Verifying Checksum 00:18:25 c41833b44d91: Download complete 00:18:27 c41833b44d91: Pull complete 00:18:27 58f1dce35555: Verifying Checksum 00:18:27 58f1dce35555: Download complete 00:18:27 ed15518f5707: Pull complete 00:18:29 feae8fd75edb: Verifying Checksum 00:18:29 feae8fd75edb: Download complete 00:18:29 2ced38df9373: Verifying Checksum 00:18:29 2ced38df9373: Download complete 00:18:41 feae8fd75edb: Pull complete 00:18:41 242c74f7c9fa: Pull complete 00:18:41 3cdef696dda3: Pull complete 00:18:50 2ced38df9373: Pull complete 00:18:53 58f1dce35555: Pull complete 00:18:53 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 00:18:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:18:53 ---> fadd8f120f05 00:18:53 Step 3/10 : ARG ADD_BUILD_TAGS="" 00:18:55 ---> Running in 0c5a0322b3d9 00:18:55 Removing intermediate container 0c5a0322b3d9 00:18:55 ---> 737d65587b34 00:18:55 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:18:55 ---> Running in eeaff65267b4 00:18:56 Removing intermediate container eeaff65267b4 00:18:56 ---> 42247a07a0cc 00:18:56 Step 5/10 : RUN apk add --update --no-cache make git openssh 00:18:56 ---> Running in b760c3bdce43 00:18:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:18:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:18:59 (1/8) Installing openssh-keygen (9.1_p1-r3) 00:18:59 (2/8) Installing libedit (20221030.3.1-r0) 00:18:59 (3/8) Installing openssh-client-common (9.1_p1-r3) 00:18:59 (4/8) Installing openssh-client-default (9.1_p1-r3) 00:18:59 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 00:18:59 (6/8) Installing openssh-server-common (9.1_p1-r3) 00:18:59 (7/8) Installing openssh-server (9.1_p1-r3) 00:18:59 (8/8) Installing openssh (9.1_p1-r3) 00:18:59 Executing busybox-1.35.0-r29.trigger 00:19:00 OK: 270 MiB in 61 packages 00:19:01 Removing intermediate container b760c3bdce43 00:19:01 ---> 77417b40f7a6 00:19:01 Step 6/10 : WORKDIR /device-modbus-go 00:19:01 ---> Running in 6eac0632c87c 00:19:01 Removing intermediate container 6eac0632c87c 00:19:01 ---> 100f3fa10694 00:19:01 Step 7/10 : COPY go.mod vendor* ./ 00:19:02 ---> faf35ef63e68 00:19:02 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:19:02 ---> Running in c6c37ea4d883 00:20:10 Removing intermediate container c6c37ea4d883 00:20:10 ---> 5e725cb545f0 00:20:10 Step 9/10 : COPY . . 00:20:11 ---> e5c4733e3f4a 00:20:11 Step 10/10 : RUN ${MAKE} 00:20:11 ---> Running in 7bf8da1e770f 00:20:12 noop 00:20:13 Removing intermediate container 7bf8da1e770f 00:20:13 ---> ee13ded101a6 00:20:13 Successfully built ee13ded101a6 00:20:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:13 + docker inspect -f . ci-base-image-arm64 00:20:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:20:14 prd-ubuntu20.04-docker-arm64-4c-16g-16873 does not seem to be running inside a container 00:20:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/110 -v /w/workspace/device-modbus-go/110:/w/workspace/device-modbus-go/110:rw,z -v /w/workspace/device-modbus-go/110@tmp:/w/workspace/device-modbus-go/110@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 00:20:15 $ docker top ac536fb9b7436d66fd155cb41f418148f35c6702ec4af4e67321f87e7f845350 -eo pid,comm [Pipeline] { [Pipeline] sh 00:20:16 + go version 00:20:16 go version go1.20.2 linux/arm64 [Pipeline] } 00:20:16 $ docker stop --time=1 ac536fb9b7436d66fd155cb41f418148f35c6702ec4af4e67321f87e7f845350 00:20:18 $ docker rm -f --volumes ac536fb9b7436d66fd155cb41f418148f35c6702ec4af4e67321f87e7f845350 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:18 + docker inspect -f . ci-base-image-arm64 00:20:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:20:19 prd-ubuntu20.04-docker-arm64-4c-16g-16873 does not seem to be running inside a container 00:20:19 $ 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/110 -v /w/workspace/device-modbus-go/110:/w/workspace/device-modbus-go/110:rw,z -v /w/workspace/device-modbus-go/110@tmp:/w/workspace/device-modbus-go/110@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 00:20:20 $ docker top 6ffd5ca69cb315d804946e405a44b1b2cff375daac8a1ae996ee271feffaf507 -eo pid,comm [Pipeline] { [Pipeline] sh 00:20:21 + git config --global --add safe.directory /w/workspace/device-modbus-go/110 [Pipeline] fileExists [Pipeline] sh 00:20:22 + make test 00:20:22 go test ./... -coverprofile=coverage.out 00:21:09 ? github.com/edgexfoundry/device-modbus-go [no test files] 00:24:00 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 00:24:00 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.084s coverage: 47.4% of statements 00:24:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:24:00 go vet ./... 00:24:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:24:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:24:27 ./bin/test-attribution-txt.sh [Pipeline] echo 00:24:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:24:27 $ docker stop --time=1 6ffd5ca69cb315d804946e405a44b1b2cff375daac8a1ae996ee271feffaf507 00:24:29 $ docker rm -f --volumes 6ffd5ca69cb315d804946e405a44b1b2cff375daac8a1ae996ee271feffaf507 [Pipeline] // withDockerContainer [Pipeline] sh 00:24:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:24:31 Warning: overwriting stash ‘coverage-report’ 00:24:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:24:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:24:32 + ls -al . 00:24:32 total 180 00:24:32 drwxrwxr-x 9 jenkins jenkins 4096 May 25 00:20 . 00:24:32 drwxrwxr-x 4 jenkins jenkins 4096 May 25 00:17 .. 00:24:32 -rw-rw-r-- 1 jenkins jenkins 140 May 25 00:17 .dockerignore 00:24:32 drwxrwxr-x 8 jenkins jenkins 4096 May 25 00:17 .git 00:24:32 drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:17 .github 00:24:32 -rw-rw-r-- 1 jenkins jenkins 331 May 25 00:17 .gitignore 00:24:32 -rw-rw-r-- 1 jenkins jenkins 41 May 25 00:17 .golangci.yml 00:24:32 -rw-rw-r-- 1 jenkins jenkins 10132 May 25 00:17 Attribution.txt 00:24:32 -rw-rw-r-- 1 jenkins jenkins 11576 May 25 00:17 CHANGELOG.md 00:24:32 -rw-rw-r-- 1 jenkins jenkins 1365 May 25 00:17 Dockerfile 00:24:32 -rw-rw-r-- 1 jenkins jenkins 677 May 25 00:17 GOVERNANCE.md 00:24:32 -rw-rw-r-- 1 jenkins jenkins 680 May 25 00:17 Jenkinsfile 00:24:32 -rw-rw-r-- 1 jenkins jenkins 11340 May 25 00:17 LICENSE 00:24:32 -rw-rw-r-- 1 jenkins jenkins 1705 May 25 00:17 Makefile 00:24:32 -rw-rw-r-- 1 jenkins jenkins 622 May 25 00:17 OWNERS.md 00:24:32 -rw-rw-r-- 1 jenkins jenkins 4554 May 25 00:17 README.md 00:24:32 -rw-rw-r-- 1 jenkins jenkins 12 May 25 00:13 VERSION 00:24:32 drwxrwxr-x 2 jenkins jenkins 4096 May 25 00:17 bin 00:24:32 drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:17 cmd 00:24:32 -rw-r--r-- 1 jenkins jenkins 24160 May 25 00:23 coverage.out 00:24:32 -rw-rw-r-- 1 jenkins jenkins 3405 May 25 00:17 go.mod 00:24:32 -rw-rw-r-- 1 jenkins jenkins 31574 May 25 00:17 go.sum 00:24:32 drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:17 internal 00:24:32 drwxrwxr-x 2 jenkins jenkins 4096 May 25 00:17 simulator 00:24:32 drwxrwxr-x 4 jenkins jenkins 4096 May 25 00:17 snap 00:24:32 -rw-rw-r-- 1 jenkins jenkins 229 May 25 00:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24: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=4043164b7337e1db1bede6ff26841e4d6947650d --label arch=arm64 --label version=3.0.0-dev.44 . 00:24:33 Sending build context to Docker daemon 3.447MB 00:24:33 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 00:24:33 Step 2/22 : FROM ${BASE} AS builder 00:24:33 ---> ee13ded101a6 00:24:33 Step 3/22 : ARG ADD_BUILD_TAGS="" 00:24:33 ---> Running in a6e082368ef6 00:24:33 Removing intermediate container a6e082368ef6 00:24:33 ---> 3290fcd9ac70 00:24:33 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:24:33 ---> Running in f4f5af7d45f6 00:24:34 Removing intermediate container f4f5af7d45f6 00:24:34 ---> 2ee9efbe056a 00:24:34 Step 5/22 : RUN apk add --update --no-cache make git openssh 00:24:34 ---> Running in 9e331a72e79e 00:24:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:24:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:24:37 OK: 270 MiB in 61 packages 00:24:38 Removing intermediate container 9e331a72e79e 00:24:38 ---> d5b3f62b9b74 00:24:38 Step 6/22 : WORKDIR /device-modbus-go 00:24:38 ---> Running in 1b9b0662369b 00:24:39 Removing intermediate container 1b9b0662369b 00:24:39 ---> e528a50ad8a8 00:24:39 Step 7/22 : COPY go.mod vendor* ./ 00:24:40 ---> ca8598b46bbd 00:24:40 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:24:40 ---> Running in 1e05911ac2b8 00:24:45 Removing intermediate container 1e05911ac2b8 00:24:45 ---> 87ea76559b18 00:24:45 Step 9/22 : COPY . . 00:24:46 ---> c9430095627b 00:24:46 Step 10/22 : RUN ${MAKE} 00:24:46 ---> Running in 8c9bc266b9be 00:24:47 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.44" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 00:27:24 Removing intermediate container 8c9bc266b9be 00:27:24 ---> 5d862d293e2c 00:27:24 Step 11/22 : FROM alpine:3.17 00:27:24 3.17: Pulling from library/alpine 00:27:24 c41833b44d91: Already exists 00:27:24 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:27:24 Status: Downloaded newer image for alpine:3.17 00:27:24 ---> 51e60588ff2c 00:27:24 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 00:27:24 ---> Running in 558227e7d065 00:27:24 Removing intermediate container 558227e7d065 00:27:24 ---> 1ddcd27f64ab 00:27:24 Step 13/22 : RUN apk add --update --no-cache dumb-init 00:27:24 ---> Running in 90329f0e8344 00:27:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:27:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:27:25 (1/1) Installing dumb-init (1.2.5-r2) 00:27:25 Executing busybox-1.35.0-r29.trigger 00:27:25 OK: 8 MiB in 16 packages 00:27:26 Removing intermediate container 90329f0e8344 00:27:26 ---> 2ea3210ce51f 00:27:26 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 00:27:28 ---> 83e670e49683 00:27:28 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 00:27:28 ---> b2bb6a3922a0 00:27:28 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 00:27:29 ---> a04b848cd3e7 00:27:29 Step 17/22 : EXPOSE 59901 00:27:29 ---> Running in 64fd8d9ea3c3 00:27:29 Removing intermediate container 64fd8d9ea3c3 00:27:29 ---> fb243a8c2c7d 00:27:29 Step 18/22 : ENTRYPOINT ["/device-modbus"] 00:27:29 ---> Running in 5176ea366343 00:27:30 Removing intermediate container 5176ea366343 00:27:30 ---> 0e510cfc8c69 00:27:30 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:27:30 ---> Running in 21cb3fccf95c 00:27:30 Removing intermediate container 21cb3fccf95c 00:27:30 ---> 99d2f8d06f9d 00:27:30 Step 20/22 : LABEL arch=arm64 00:27:30 ---> Running in dcd237a58227 00:27:31 Removing intermediate container dcd237a58227 00:27:31 ---> 753684490cef 00:27:31 Step 21/22 : LABEL git_sha=4043164b7337e1db1bede6ff26841e4d6947650d 00:27:31 ---> Running in 497b533af96f 00:27:31 Removing intermediate container 497b533af96f 00:27:31 ---> 5c00f4b6bbd4 00:27:31 Step 22/22 : LABEL version=3.0.0-dev.44 00:27:31 ---> Running in 2fb9715d7f76 00:27:31 Removing intermediate container 2fb9715d7f76 00:27:31 ---> 153a351624c5 00:27:31 [Warning] One or more build-args [ARCH] were not consumed 00:27:31 Successfully built 153a351624c5 00:27:31 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:27:31 provisioning config files... 00:27:31 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/110@tmp/config12297511458737003312tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:27:32 ---> docker-login.sh 00:27:32 nexus3.edgexfoundry.org:10001 00:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:27:32 Configure a credential helper to remove this warning. See 00:27:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:27:32 00:27:32 Login Succeeded 00:27:32 nexus3.edgexfoundry.org:10002 00:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:27:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:27:33 Configure a credential helper to remove this warning. See 00:27:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:27:33 00:27:33 Login Succeeded 00:27:33 nexus3.edgexfoundry.org:10003 00:27:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:27:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:27:33 Configure a credential helper to remove this warning. See 00:27:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:27:33 00:27:33 Login Succeeded 00:27:33 nexus3.edgexfoundry.org:10004 00:27:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:27:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:27:34 Configure a credential helper to remove this warning. See 00:27:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:27:34 00:27:34 Login Succeeded 00:27:34 docker.io 00:27:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:27:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:27:34 Configure a credential helper to remove this warning. See 00:27:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:27:34 00:27:34 Login Succeeded 00:27:34 ---> docker-login.sh ends [Pipeline] } 00:27:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:27:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:27:34 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 00:27:34 4043164b7337e1db1bede6ff26841e4d6947650d 00:27:34 latest 00:27:34 3.0.0-dev.44 00:27:34 4043164b7337e1db1bede6ff26841e4d6947650d-3.0.0-dev.44 00:27:34 main 00:27:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:27:35 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4043164b7337e1db1bede6ff26841e4d6947650d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:27:35 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4043164b7337e1db1bede6ff26841e4d6947650d 00:27:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 00:27:35 dffb0f9db79b: Preparing 00:27:35 60dabc2b1665: Preparing 00:27:35 b049a22d43c4: Preparing 00:27:35 868a47ff9f2d: Preparing 00:27:35 26cbea5cba74: Preparing 00:27:35 26cbea5cba74: Layer already exists 00:27:35 dffb0f9db79b: Pushed 00:27:35 60dabc2b1665: Pushed 00:27:35 868a47ff9f2d: Pushed 00:27:42 b049a22d43c4: Pushed 00:27:42 4043164b7337e1db1bede6ff26841e4d6947650d: digest: sha256:927863e11cefa7fbc80102bde6a1c9f19a692e7502891640d691ef17445d8300 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:27:42 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:27:43 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 00:27:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 00:27:43 dffb0f9db79b: Preparing 00:27:43 60dabc2b1665: Preparing 00:27:43 b049a22d43c4: Preparing 00:27:43 868a47ff9f2d: Preparing 00:27:43 26cbea5cba74: Preparing 00:27:43 dffb0f9db79b: Layer already exists 00:27:43 868a47ff9f2d: Layer already exists 00:27:43 b049a22d43c4: Layer already exists 00:27:43 26cbea5cba74: Layer already exists 00:27:43 60dabc2b1665: Layer already exists 00:27:43 latest: digest: sha256:927863e11cefa7fbc80102bde6a1c9f19a692e7502891640d691ef17445d8300 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:27:43 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.44 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:27:44 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.44 00:27:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 00:27:44 dffb0f9db79b: Preparing 00:27:44 60dabc2b1665: Preparing 00:27:44 b049a22d43c4: Preparing 00:27:44 868a47ff9f2d: Preparing 00:27:44 26cbea5cba74: Preparing 00:27:44 60dabc2b1665: Layer already exists 00:27:44 b049a22d43c4: Layer already exists 00:27:44 dffb0f9db79b: Layer already exists 00:27:44 868a47ff9f2d: Layer already exists 00:27:44 26cbea5cba74: Layer already exists 00:27:44 3.0.0-dev.44: digest: sha256:927863e11cefa7fbc80102bde6a1c9f19a692e7502891640d691ef17445d8300 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:27:44 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4043164b7337e1db1bede6ff26841e4d6947650d-3.0.0-dev.44 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:27:44 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4043164b7337e1db1bede6ff26841e4d6947650d-3.0.0-dev.44 00:27:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 00:27:44 dffb0f9db79b: Preparing 00:27:44 60dabc2b1665: Preparing 00:27:44 b049a22d43c4: Preparing 00:27:44 868a47ff9f2d: Preparing 00:27:44 26cbea5cba74: Preparing 00:27:44 dffb0f9db79b: Layer already exists 00:27:44 868a47ff9f2d: Layer already exists 00:27:44 b049a22d43c4: Layer already exists 00:27:44 60dabc2b1665: Layer already exists 00:27:44 26cbea5cba74: Layer already exists 00:27:44 4043164b7337e1db1bede6ff26841e4d6947650d-3.0.0-dev.44: digest: sha256:927863e11cefa7fbc80102bde6a1c9f19a692e7502891640d691ef17445d8300 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:27:45 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:27:45 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 00:27:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 00:27:45 dffb0f9db79b: Preparing 00:27:45 60dabc2b1665: Preparing 00:27:45 b049a22d43c4: Preparing 00:27:45 868a47ff9f2d: Preparing 00:27:45 26cbea5cba74: Preparing 00:27:45 26cbea5cba74: Layer already exists 00:27:45 60dabc2b1665: Layer already exists 00:27:45 b049a22d43c4: Layer already exists 00:27:45 868a47ff9f2d: Layer already exists 00:27:45 dffb0f9db79b: Layer already exists 00:27:46 main: digest: sha256:927863e11cefa7fbc80102bde6a1c9f19a692e7502891640d691ef17445d8300 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:27:46 ===================================================== [Pipeline] echo 00:27:46 taggedImages: 00:27:46 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4043164b7337e1db1bede6ff26841e4d6947650d 00:27:46 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 00:27:46 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.44 00:27:46 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4043164b7337e1db1bede6ff26841e4d6947650d-3.0.0-dev.44 00:27:46 - 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 00:27:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:27:46 00:27:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:27:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:27:46 arm64: Pulling from edgex-lftools-log-publisher 00:27:46 8998bd30e6a1: Pulling fs layer 00:27:46 04944245beec: Pulling fs layer 00:27:46 699f458cf7ca: Pulling fs layer 00:27:46 765212b225bb: Pulling fs layer 00:27:46 f23df028b6ca: Pulling fs layer 00:27:46 d65c8cfc05b1: Pulling fs layer 00:27:46 2437ff75d9bd: Pulling fs layer 00:27:46 f23df028b6ca: Waiting 00:27:46 d65c8cfc05b1: Waiting 00:27:46 2437ff75d9bd: Waiting 00:27:46 765212b225bb: Waiting 00:27:47 04944245beec: Verifying Checksum 00:27:47 04944245beec: Download complete 00:27:47 765212b225bb: Verifying Checksum 00:27:47 765212b225bb: Download complete 00:27:47 f23df028b6ca: Verifying Checksum 00:27:47 f23df028b6ca: Download complete 00:27:47 d65c8cfc05b1: Verifying Checksum 00:27:47 d65c8cfc05b1: Download complete 00:27:47 699f458cf7ca: Verifying Checksum 00:27:47 699f458cf7ca: Download complete 00:27:47 8998bd30e6a1: Download complete 00:27:50 2437ff75d9bd: Verifying Checksum 00:27:50 2437ff75d9bd: Download complete 00:27:51 8998bd30e6a1: Pull complete 00:27:52 04944245beec: Pull complete 00:27:53 699f458cf7ca: Pull complete 00:27:53 765212b225bb: Pull complete 00:27:54 f23df028b6ca: Pull complete 00:27:54 d65c8cfc05b1: Pull complete 00:28:09 2437ff75d9bd: Pull complete 00:28:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:28:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:28:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:28:09 prd-ubuntu20.04-docker-arm64-4c-16g-16873 does not seem to be running inside a container 00:28:10 $ 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/110 -v /w/workspace/device-modbus-go/110:/w/workspace/device-modbus-go/110:rw,z -v /w/workspace/device-modbus-go/110@tmp:/w/workspace/device-modbus-go/110@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 00:28:13 $ docker top 14df6552527281b9184eb74479bf5eb26331c9dbc663aeff3189e4d0ab419918 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:28:14 ---> job-cost.sh 00:28:14 lf-activate-venv: SKIPPING 00:28:14 INFO: No Stack... 00:28:14 INFO: Retrieving Pricing Info for: v3-standard-4 00:28:15 INFO: Archiving Costs [Pipeline] sh 00:28:16 + cat /w/workspace/device-modbus-go/110/archives/cost.csv 00:28:16 + cut -d, -f6 [Pipeline] lock 00:28:16 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-110-stack-cost] 00:28:16 Resource [jenkins-edgexfoundry-device-modbus-go-main-110-stack-cost] did not exist. Created. 00:28:16 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-110-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:28:16 /w/workspace/device-modbus-go/110@tmp/durable-d70954a7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:28:17 + echo total: 0.10999999940395355 [Pipeline] stash 00:28:17 Warning: overwriting stash ‘stack-cost’ 00:28:17 Stashed 1 file(s) [Pipeline] } 00:28:17 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-110-stack-cost] [Pipeline] // lock [Pipeline] } 00:28:17 $ docker stop --time=1 14df6552527281b9184eb74479bf5eb26331c9dbc663aeff3189e4d0ab419918 00:28:19 $ docker rm -f --volumes 14df6552527281b9184eb74479bf5eb26331c9dbc663aeff3189e4d0ab419918 [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 00:28:19 provisioning config files... 00:28:19 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17011637310399025937tmp [Pipeline] { [Pipeline] sh 00:28:19 + set +x 00:28:19 + curl -s https://codecov.io/bash 00:28:19 + bash -s -- 00:28:19 00:28:19 _____ _ 00:28:19 / ____| | | 00:28:19 | | ___ __| | ___ ___ _____ __ 00:28:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:28:19 | |___| (_) | (_| | __/ (_| (_) \ V / 00:28:19 \_____\___/ \__,_|\___|\___\___/ \_/ 00:28:19 Bash-1.0.6 00:28:19 00:28:19 00:28:19 ==> git version 2.25.1 found 00:28:19 ==> 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 00:28:19 Release-Date: 2020-01-08 00:28:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:28:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:28:19 ==> Jenkins CI detected. 00:28:19 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 00:28:19 project root: . 00:28:19 --> token set from env 00:28:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:28:19 ==> Running gcov in . (disable via -X gcov) 00:28:19 ==> Python coveragepy not found 00:28:19 ==> Searching for coverage reports in: 00:28:19 + . 00:28:19 -> Found 1 reports 00:28:19 ==> Detecting git/mercurial file structure 00:28:19 ==> Reading reports 00:28:19 + ./coverage.out bytes=24160 00:28:19 ==> Appending adjustments 00:28:19 https://docs.codecov.io/docs/fixing-reports 00:28:20 + Found adjustments 00:28:20 ==> Gzipping contents 00:28:20 4.0K /tmp/codecov.l1eBJn.gz 00:28:20 ==> Uploading reports 00:28:20 url: https://codecov.io 00:28:20 query: branch=main&commit=4043164b7337e1db1bede6ff26841e4d6947650d&build=110&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F110%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:28:20 -> Pinging Codecov 00:28:20 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=4043164b7337e1db1bede6ff26841e4d6947650d&build=110&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F110%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:28:20 -> Uploading to 00:28:20 https://storage.googleapis.com/codecov/v4/raw/2023-05-25/55DBCA73C666E3227836607328DD7E49/4043164b7337e1db1bede6ff26841e4d6947650d/cb5476af-fe0d-4554-b6a2-fb5cdcd00308.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230525T002820Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ea68195b9122bff91134193f344603b9988c734ef81420b53a2c539ae17d0b3a 00:28:20 % Total % Received % Xferd Average Speed Time Time Time Current 00:28:20 Dload Upload Total Spent Left Speed 00:28:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 19330 --:--:-- --:--:-- --:--:-- 19235 100 3924 0 0 100 3924 0 18166 --:--:-- --:--:-- --:--:-- 18082 00:28:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/4043164b7337e1db1bede6ff26841e4d6947650d [Pipeline] } 00:28:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:28:20 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:28:20 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:28:21 00:28:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:28:21 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:28:21 df9b9388f04a: Pulling fs layer 00:28:21 52dc419b0ee2: Pulling fs layer 00:28:21 25bc292e5bac: Pulling fs layer 00:28:21 114826534d7a: Pulling fs layer 00:28:21 4657fd5d0bcf: Pulling fs layer 00:28:21 6ad1cebc031e: Pulling fs layer 00:28:21 8a3aa393b2d8: Pulling fs layer 00:28:21 114826534d7a: Waiting 00:28:21 4657fd5d0bcf: Waiting 00:28:21 6ad1cebc031e: Waiting 00:28:21 8a3aa393b2d8: Waiting 00:28:21 25bc292e5bac: Verifying Checksum 00:28:21 25bc292e5bac: Download complete 00:28:21 52dc419b0ee2: Download complete 00:28:21 4657fd5d0bcf: Verifying Checksum 00:28:21 4657fd5d0bcf: Download complete 00:28:21 df9b9388f04a: Download complete 00:28:21 df9b9388f04a: Pull complete 00:28:21 6ad1cebc031e: Verifying Checksum 00:28:21 6ad1cebc031e: Download complete 00:28:21 52dc419b0ee2: Pull complete 00:28:21 25bc292e5bac: Pull complete 00:28:22 114826534d7a: Verifying Checksum 00:28:22 114826534d7a: Download complete 00:28:22 8a3aa393b2d8: Verifying Checksum 00:28:22 8a3aa393b2d8: Download complete 00:28:25 114826534d7a: Pull complete 00:28:25 4657fd5d0bcf: Pull complete 00:28:25 6ad1cebc031e: Pull complete 00:28:28 8a3aa393b2d8: Pull complete 00:28:28 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:28:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:28:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:28:28 prd-ubuntu20.04-docker-8c-8g-16849 does not seem to be running inside a container 00:28:28 $ 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 00:28:36 $ docker top ef11eb3f144aab6860688d737070effd220e7f2bda55d54cda8af52843659e77 -eo pid,comm [Pipeline] { [Pipeline] echo 00:28:36 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 00:28:36 + set -o pipefail 00:28:36 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 00:28:40 00:28:40 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 00:28:40 00:28:40 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/c0afe7c4-5f0b-4d5e-9f77-f1d408a1489e 00:28:40 00:28:40 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 00:28:40 00:28:40 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:28:40 00:28:40 00:28:40 A medium severity vulnerability was found in the Snyk CLI versions you are using. 00:28:40 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 00:28:40 More details here: https://snyk.co/ue1NS [Pipeline] } 00:28:40 $ docker stop --time=1 ef11eb3f144aab6860688d737070effd220e7f2bda55d54cda8af52843659e77 00:28:45 $ docker rm -f --volumes ef11eb3f144aab6860688d737070effd220e7f2bda55d54cda8af52843659e77 [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 00:28:45 + git log --format=format:%s -1 4043164b7337e1db1bede6ff26841e4d6947650d [Pipeline] sh 00:28:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:28:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:28:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:28:46 prd-ubuntu20.04-docker-8c-8g-16849 does not seem to be running inside a container 00:28:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:28:46 $ docker top 913619c681f679312c2a545d2551d6a35a03813b292b4ca267dcf588dc20b01d -eo pid,comm 00:28:47 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). 00:28:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:28:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:28:47 [ssh-agent] Looking for ssh-agent implementation... 00:28:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:28:47 $ docker exec 913619c681f679312c2a545d2551d6a35a03813b292b4ca267dcf588dc20b01d ssh-agent 00:28:47 SSH_AUTH_SOCK=/tmp/ssh-W7cWNonzI3wX/agent.32 00:28:47 SSH_AGENT_PID=38 00:28:47 Running ssh-add (command line suppressed) 00:28:47 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17819247182419447215.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17819247182419447215.key) 00:28:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:28:47 + git semver tag 00:28:48 2023-05-25 00:28:47,959 [run_tag] DEBUG tag force:False 00:28:48 2023-05-25 00:28:47,959 [check_head_tag] DEBUG check head tag 00:28:48 2023-05-25 00:28:47,961 [execute] INFO git cat-file --batch-check 00:28:48 2023-05-25 00:28:47,961 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 00:28:48 2023-05-25 00:28:47,965 [execute] INFO git cat-file --batch 00:28:48 2023-05-25 00:28:47,965 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 00:28:48 2023-05-25 00:28:47,989 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 00:28:48 2023-05-25 00:28:47,989 [execute] INFO git tag -a v3.0.0-dev.44 -m v3.0.0-dev.44 00:28:48 2023-05-25 00:28:47,989 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.44', '-m', 'v3.0.0-dev.44'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 00:28:48 2023-05-25 00:28:47,993 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 00:28:48 3.0.0-dev.44 [Pipeline] } 00:28:48 $ docker exec --env ******** --env ******** 913619c681f679312c2a545d2551d6a35a03813b292b4ca267dcf588dc20b01d ssh-agent -k 00:28:48 unset SSH_AUTH_SOCK; 00:28:48 unset SSH_AGENT_PID; 00:28:48 echo Agent pid 38 killed; 00:28:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:28:48 + git semver [Pipeline] } 00:28:48 $ docker stop --time=1 913619c681f679312c2a545d2551d6a35a03813b292b4ca267dcf588dc20b01d 00:28:49 $ docker rm -f --volumes 913619c681f679312c2a545d2551d6a35a03813b292b4ca267dcf588dc20b01d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:28:50 00:28:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:28:50 0.23.1-centos7: Pulling from edgex-lftools 00:28:50 ab5ef0e58194: Pulling fs layer 00:28:50 9712f1f96733: Pulling fs layer 00:28:50 63f879dbbcfc: Pulling fs layer 00:28:50 0d9ebad4ef96: Pulling fs layer 00:28:50 e9a5061849ea: Pulling fs layer 00:28:50 d747dcd14b5f: Pulling fs layer 00:28:50 0d9ebad4ef96: Waiting 00:28:50 e9a5061849ea: Waiting 00:28:50 2de7ff778b66: Pulling fs layer 00:28:50 d747dcd14b5f: Waiting 00:28:50 2de7ff778b66: Waiting 00:28:50 9712f1f96733: Download complete 00:28:50 63f879dbbcfc: Verifying Checksum 00:28:50 63f879dbbcfc: Download complete 00:28:51 0d9ebad4ef96: Verifying Checksum 00:28:51 0d9ebad4ef96: Download complete 00:28:51 d747dcd14b5f: Verifying Checksum 00:28:51 d747dcd14b5f: Download complete 00:28:51 ab5ef0e58194: Download complete 00:28:51 e9a5061849ea: Verifying Checksum 00:28:51 e9a5061849ea: Download complete 00:28:51 2de7ff778b66: Verifying Checksum 00:28:51 2de7ff778b66: Download complete 00:28:54 ab5ef0e58194: Pull complete 00:28:54 9712f1f96733: Pull complete 00:28:54 63f879dbbcfc: Pull complete 00:28:58 0d9ebad4ef96: Pull complete 00:28:58 e9a5061849ea: Pull complete 00:28:58 d747dcd14b5f: Pull complete 00:28:59 2de7ff778b66: Pull complete 00:28:59 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:28:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:28:59 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:28:59 prd-ubuntu20.04-docker-8c-8g-16849 does not seem to be running inside a container 00:28:59 $ 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 00:29:05 $ docker top ca6d3ab7ecebdafbde773a63e5a3c75ef97347e3896bbbc7f2f528b9af053540 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:29:05 provisioning config files... 00:29:05 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10713033213094014295tmp 00:29:05 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16602424655788744999tmp 00:29:05 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config281875930246165625tmp [Pipeline] { [Pipeline] echo 00:29:05 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:29:05 ---> sigul-configuration.sh 00:29:05 gpg: directory `/root/.gnupg' created 00:29:05 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:29:05 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:29:05 gpg: keyring `/root/.gnupg/secring.gpg' created 00:29:05 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:29:05 gpg: CAST5 encrypted data 00:29:05 gpg: encrypted with 1 passphrase 00:29:05 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:29:06 + mkdir /home/jenkins 00:29:06 + mkdir /home/jenkins/sigul [Pipeline] sh 00:29:06 + 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 00:29:06 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:29:06 ---> sigul-install.sh 00:29:06 Sigul already installed; skipping installation. [Pipeline] sh 00:29:07 + git tag --list 00:29:07 0.7.1 00:29:07 v1.0.0 00:29:07 v1.1.0 00:29:07 v1.1.1 00:29:07 v1.2.2 00:29:07 v1.3.0 00:29:07 v1.3.1 00:29:07 v2.0.0 00:29:07 v2.1.0 00:29:07 v2.1.1 00:29:07 v2.1.1-dev.1 00:29:07 v2.1.1-dev.2 00:29:07 v2.1.1-dev.3 00:29:07 v2.2.0 00:29:07 v2.2.1-dev.1 00:29:07 v2.2.1-dev.2 00:29:07 v2.2.1-dev.3 00:29:07 v2.2.1-dev.4 00:29:07 v2.2.1-dev.5 00:29:07 v2.2.1-dev.6 00:29:07 v2.2.1-dev.7 00:29:07 v2.3.0 00:29:07 v2.3.0-dev.10 00:29:07 v2.3.0-dev.11 00:29:07 v2.3.0-dev.12 00:29:07 v2.3.0-dev.13 00:29:07 v2.3.0-dev.14 00:29:07 v2.3.0-dev.15 00:29:07 v2.3.0-dev.16 00:29:07 v2.3.0-dev.17 00:29:07 v2.3.0-dev.18 00:29:07 v2.3.0-dev.19 00:29:07 v2.3.0-dev.20 00:29:07 v2.3.0-dev.21 00:29:07 v2.3.0-dev.22 00:29:07 v2.3.0-dev.23 00:29:07 v2.3.0-dev.24 00:29:07 v2.3.0-dev.25 00:29:07 v2.3.0-dev.7 00:29:07 v2.3.0-dev.8 00:29:07 v2.3.0-dev.9 00:29:07 v3.0.0-dev.1 00:29:07 v3.0.0-dev.10 00:29:07 v3.0.0-dev.11 00:29:07 v3.0.0-dev.12 00:29:07 v3.0.0-dev.13 00:29:07 v3.0.0-dev.14 00:29:07 v3.0.0-dev.15 00:29:07 v3.0.0-dev.16 00:29:07 v3.0.0-dev.17 00:29:07 v3.0.0-dev.18 00:29:07 v3.0.0-dev.19 00:29:07 v3.0.0-dev.2 00:29:07 v3.0.0-dev.20 00:29:07 v3.0.0-dev.21 00:29:07 v3.0.0-dev.22 00:29:07 v3.0.0-dev.23 00:29:07 v3.0.0-dev.24 00:29:07 v3.0.0-dev.25 00:29:07 v3.0.0-dev.26 00:29:07 v3.0.0-dev.27 00:29:07 v3.0.0-dev.28 00:29:07 v3.0.0-dev.29 00:29:07 v3.0.0-dev.3 00:29:07 v3.0.0-dev.30 00:29:07 v3.0.0-dev.31 00:29:07 v3.0.0-dev.32 00:29:07 v3.0.0-dev.33 00:29:07 v3.0.0-dev.34 00:29:07 v3.0.0-dev.35 00:29:07 v3.0.0-dev.36 00:29:07 v3.0.0-dev.37 00:29:07 v3.0.0-dev.38 00:29:07 v3.0.0-dev.39 00:29:07 v3.0.0-dev.4 00:29:07 v3.0.0-dev.40 00:29:07 v3.0.0-dev.41 00:29:07 v3.0.0-dev.42 00:29:07 v3.0.0-dev.43 00:29:07 v3.0.0-dev.44 00:29:07 v3.0.0-dev.5 00:29:07 v3.0.0-dev.6 00:29:07 v3.0.0-dev.7 00:29:07 v3.0.0-dev.8 00:29:07 v3.0.0-dev.9 [Pipeline] sh 00:29:07 + lftools sign git-tag v3.0.0-dev.44 00:29:07 Signing Git tag with Sigul... 00:29:07 Signing v3.0.0-dev.44 [Pipeline] echo 00:29:08 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:29:09 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:29:09 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:29:09 $ docker stop --time=1 ca6d3ab7ecebdafbde773a63e5a3c75ef97347e3896bbbc7f2f528b9af053540 00:29:10 $ docker rm -f --volumes ca6d3ab7ecebdafbde773a63e5a3c75ef97347e3896bbbc7f2f528b9af053540 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:29:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:29:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:29:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:29:11 prd-ubuntu20.04-docker-8c-8g-16849 does not seem to be running inside a container 00:29:11 $ 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 00:29:11 $ docker top 28317bec2ddcf0717931084f80f3bd7b4e3226dfdef792bc2d34abc020b2a641 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:29:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:29:11 [ssh-agent] Looking for ssh-agent implementation... 00:29:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:29:11 $ docker exec 28317bec2ddcf0717931084f80f3bd7b4e3226dfdef792bc2d34abc020b2a641 ssh-agent 00:29:11 SSH_AUTH_SOCK=/tmp/ssh-ZssEsw6qQdNW/agent.32 00:29:11 SSH_AGENT_PID=38 00:29:11 Running ssh-add (command line suppressed) 00:29:12 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7199074743428016644.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7199074743428016644.key) 00:29:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:29:12 + git semver bump pre 00:29:12 2023-05-25 00:29:12,513 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 00:29:12 2023-05-25 00:29:12,513 [bump_version] DEBUG bumping version:3.0.0-dev.44 on axis:pre with prefix:dev 00:29:12 2023-05-25 00:29:12,514 [bump_version] DEBUG bumped version:3.0.0-dev.45 00:29:12 2023-05-25 00:29:12,514 [write_version] DEBUG write version:3.0.0-dev.45 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 00:29:12 2023-05-25 00:29:12,514 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 00:29:12 2023-05-25 00:29:12,514 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 00:29:12 2023-05-25 00:29:12,516 [execute] INFO git cat-file --batch-check 00:29:12 2023-05-25 00:29:12,516 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:29:12 2023-05-25 00:29:12,521 [execute] INFO git cat-file --batch 00:29:12 2023-05-25 00:29:12,522 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:29:12 2023-05-25 00:29:12,527 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 00:29:12 3.0.0-dev.45 [Pipeline] } 00:29:12 $ docker exec --env ******** --env ******** 28317bec2ddcf0717931084f80f3bd7b4e3226dfdef792bc2d34abc020b2a641 ssh-agent -k 00:29:12 unset SSH_AUTH_SOCK; 00:29:12 unset SSH_AGENT_PID; 00:29:12 echo Agent pid 38 killed; 00:29:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:29:13 + git semver [Pipeline] } 00:29:13 $ docker stop --time=1 28317bec2ddcf0717931084f80f3bd7b4e3226dfdef792bc2d34abc020b2a641 00:29:14 $ docker rm -f --volumes 28317bec2ddcf0717931084f80f3bd7b4e3226dfdef792bc2d34abc020b2a641 [Pipeline] // withDockerContainer [Pipeline] sh 00:29:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:29:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:29:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:29:15 prd-ubuntu20.04-docker-8c-8g-16849 does not seem to be running inside a container 00:29:15 $ 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 00:29:15 $ docker top 715c9edbd5cb3bf74a9509e62869f6eb731b56b38b0a6f7fdc37968d608884f8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:29:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:29:15 [ssh-agent] Looking for ssh-agent implementation... 00:29:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:29:16 $ docker exec 715c9edbd5cb3bf74a9509e62869f6eb731b56b38b0a6f7fdc37968d608884f8 ssh-agent 00:29:16 SSH_AUTH_SOCK=/tmp/ssh-RtpALPp8t5Pr/agent.32 00:29:16 SSH_AGENT_PID=38 00:29:16 Running ssh-add (command line suppressed) 00:29:16 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6743631195854404044.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6743631195854404044.key) 00:29:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:29:16 + git semver push 00:29:16 2023-05-25 00:29:16,775 [run_push] DEBUG push 00:29:16 2023-05-25 00:29:16,776 [execute] INFO git cat-file --batch-check 00:29:16 2023-05-25 00:29:16,776 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:29:16 2023-05-25 00:29:16,779 [execute] INFO git rev-list ee667930cfcc4e85a5c16ad3f5517a1788ae85b9 -- 00:29:16 2023-05-25 00:29:16,779 [execute] DEBUG Popen(['git', 'rev-list', 'ee667930cfcc4e85a5c16ad3f5517a1788ae85b9', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:29:16 2023-05-25 00:29:16,786 [execute] INFO git fetch -v origin 00:29:16 2023-05-25 00:29:16,787 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 00:29:17 2023-05-25 00:29:17,266 [run_push] DEBUG no remote changes detected 00:29:17 2023-05-25 00:29:17,266 [execute] INFO git push origin semver 00:29:17 2023-05-25 00:29:17,267 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:29:18 2023-05-25 00:29:17,983 [run_push] DEBUG push all version tags 00:29:18 2023-05-25 00:29:17,984 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:29:18 2023-05-25 00:29:17,984 [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) 00:29:18 2023-05-25 00:29:18,716 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 00:29:18 3.0.0-dev.45 [Pipeline] } 00:29:18 $ docker exec --env ******** --env ******** 715c9edbd5cb3bf74a9509e62869f6eb731b56b38b0a6f7fdc37968d608884f8 ssh-agent -k 00:29:19 unset SSH_AUTH_SOCK; 00:29:19 unset SSH_AGENT_PID; 00:29:19 echo Agent pid 38 killed; 00:29:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:29:19 + git semver [Pipeline] } 00:29:19 $ docker stop --time=1 715c9edbd5cb3bf74a9509e62869f6eb731b56b38b0a6f7fdc37968d608884f8 00:29:20 $ docker rm -f --volumes 715c9edbd5cb3bf74a9509e62869f6eb731b56b38b0a6f7fdc37968d608884f8 [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 00:29:21 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 00:29:21 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 00:29:21 total 16 00:29:21 drwxr-xr-x 3 root root 4096 May 25 00:15 . 00:29:21 drwxrwxr-x 11 jenkins jenkins 4096 May 25 00:29 .. 00:29:21 drwxr-xr-x 2 root root 4096 May 25 00:15 cost 00:29:21 -rw-r--r-- 1 root root 88 May 25 00:15 cost.csv 00:29:21 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 00:29:21 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 00:29:21 total 16 00:29:21 drwxr-xr-x 3 jenkins jenkins 4096 May 25 00:15 . 00:29:21 drwxrwxr-x 11 jenkins jenkins 4096 May 25 00:29 .. 00:29:21 drwxr-xr-x 2 jenkins jenkins 4096 May 25 00:15 cost 00:29:21 -rw-r--r-- 1 jenkins jenkins 88 May 25 00:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:29:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:29:22 ---> package-listing.sh 00:29:22 ++ facter osfamily 00:29:22 ++ tr '[:upper:]' '[:lower:]' 00:29:22 + OS_FAMILY=debian 00:29:22 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 00:29:22 + START_PACKAGES=/tmp/packages_start.txt 00:29:22 + END_PACKAGES=/tmp/packages_end.txt 00:29:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:29:22 + PACKAGES=/tmp/packages_start.txt 00:29:22 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 00:29:22 + PACKAGES=/tmp/packages_end.txt 00:29:22 + case "${OS_FAMILY}" in 00:29:22 + dpkg -l 00:29:22 + grep '^ii' 00:29:22 + '[' -f /tmp/packages_start.txt ']' 00:29:22 + '[' -f /tmp/packages_end.txt ']' 00:29:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:29:22 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 00:29:22 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 00:29:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 00:29:22 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 00:29:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:29:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:29:23 prd-ubuntu20.04-docker-8c-8g-16849 does not seem to be running inside a container 00:29:23 $ 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 00:29:24 $ docker top 4b16606b33e6659c659f4fd930fc5ea5fac5c768404a0c2eeedd4f13189be52d -eo pid,comm [Pipeline] { [Pipeline] sh 00:29:24 + touch /tmp/pre-build-complete [Pipeline] sh 00:29:24 + mkdir -p /var/log/sysstat [Pipeline] sh 00:29:25 + ls /var/log/sa-host 00:29:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:29:25 provisioning config files... 00:29:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18317707232872428645tmp [Pipeline] { [Pipeline] echo 00:29:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:29:25 ---> create-netrc.sh [Pipeline] } 00:29:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:29:25 ---> python-tools-install.sh [Pipeline] echo 00:29:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:29:26 ---> sudo-logs.sh 00:29:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:29:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:29:26 ---> job-cost.sh 00:29:26 lf-activate-venv: SKIPPING 00:29:26 DEBUG: total: 0.2199999988079071 00:29:26 INFO: Retrieving Stack Cost... 00:29:26 INFO: Retrieving Pricing Info for: v3-standard-8 00:29:27 INFO: Archiving Costs [Pipeline] echo 00:29:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:29:27 ---> logs-deploy.sh 00:29:27 lf-activate-venv: SKIPPING 00:29:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/110 00:29:27 INFO: archiving workspace using pattern(s): 00:29:28 Archives upload complete. 00:29:28 INFO: archiving logs to Nexus