Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8b019029337577f55c3ddf5891f69e829d86b4f5 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-ssh11338892778165999569.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-ssh1743720236125380967.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-ssh13206876459590206357.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-ssh4711180709011221800.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-ssh18040681544711122203.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-14804 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 8b019029337577f55c3ddf5891f69e829d86b4f5 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#475)" > 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 8b019029337577f55c3ddf5891f69e829d86b4f5 # timeout=10 > git rev-list --no-walk d01bb302454877eccf2a920557973b90075242ea # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:48:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:48:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:48:18 ========================================================= 22:48:18 EdgeX Global Pipelines Version Info 22:48:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:48:19 ------------------- 22:48:19 stable info: 22:48:19 ------------------- 22:48:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:48:19 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:48:19 Message: update stable to v1.0.249 22:48:19 ------------------- 22:48:19 experimental info: 22:48:19 ------------------- 22:48:19 Commited By: **** collab-it+edgex@linuxfoundation.org 22:48:19 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:48:19 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:48:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 22:48:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 22:48:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:48:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:48:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:48:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:48:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:48:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:48:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:48:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:48:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:48:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 22:48:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:48:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:48:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:48:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:48:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:48:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:48:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:48:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:48:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:48:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:48:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:48:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:48:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:48:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:48:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:48:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:48:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:48:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:48:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8b019029337577f55c3ddf5891f69e829d86b4f5 [Pipeline] echo 22:48:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8b01902 [Pipeline] echo 22:48:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:48:20 provisioning config files... 22:48:20 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13876230714960002565tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:48:20 ---> docker-login.sh 22:48:20 nexus3.edgexfoundry.org:10001 22:48:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:20 Configure a credential helper to remove this warning. See 22:48:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:20 22:48:20 Login Succeeded 22:48:20 nexus3.edgexfoundry.org:10002 22:48:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:20 Configure a credential helper to remove this warning. See 22:48:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:20 22:48:20 Login Succeeded 22:48:20 nexus3.edgexfoundry.org:10003 22:48:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:21 Configure a credential helper to remove this warning. See 22:48:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:21 22:48:21 Login Succeeded 22:48:21 nexus3.edgexfoundry.org:10004 22:48:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:21 Configure a credential helper to remove this warning. See 22:48:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:21 22:48:21 Login Succeeded 22:48:21 docker.io 22:48:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:21 Configure a credential helper to remove this warning. See 22:48:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:21 22:48:21 Login Succeeded 22:48:21 ---> docker-login.sh ends [Pipeline] } 22:48:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:48:21 + git rev-list -1 --merges 8b019029337577f55c3ddf5891f69e829d86b4f5~1..8b019029337577f55c3ddf5891f69e829d86b4f5 [Pipeline] echo 22:48:21 -----------> git rev-list -1 --merges 8b019029337577f55c3ddf5891f69e829d86b4f5~1..8b019029337577f55c3ddf5891f69e829d86b4f5 8b019029337577f55c3ddf5891f69e829d86b4f5 [false] [Pipeline] sh 22:48:22 + git log --format=format:%s -1 8b019029337577f55c3ddf5891f69e829d86b4f5 [Pipeline] echo 22:48:22 ========================================================= 22:48:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:48:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:48:22 + git log --format=format:%s -1 8b019029337577f55c3ddf5891f69e829d86b4f5 [Pipeline] echo 22:48:22 [semverPrep] GIT_COMMIT: 8b019029337577f55c3ddf5891f69e829d86b4f5, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#475) [Pipeline] echo 22:48:22 [semverPrep] This is not a build commit. [Pipeline] sh 22:48:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:48:22 + grep -v github /etc/ssh/ssh_known_hosts 22:48:22 + [ -e /tmp/ssh_known_hosts ] 22:48:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:48:22 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:48:22 + sudo tee -a /etc/ssh/ssh_known_hosts 22:48:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:48:23 22:48:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:48:23 0.1.4: Pulling from edgex-devops/py-git-semver 22:48:23 b85a868b505f: Pulling fs layer 22:48:23 e2be974225ed: Pulling fs layer 22:48:23 339a4e72a1f5: Pulling fs layer 22:48:23 988bab9f4d93: Pulling fs layer 22:48:23 1469e6f7b9e6: Pulling fs layer 22:48:23 eaf3925da568: Pulling fs layer 22:48:23 bab4dde63d76: Pulling fs layer 22:48:23 bde34c3a00c8: Pulling fs layer 22:48:23 b352a97aabf1: Pulling fs layer 22:48:23 4872d77fe225: Pulling fs layer 22:48:23 5851b861e8e6: Pulling fs layer 22:48:23 988bab9f4d93: Waiting 22:48:23 1469e6f7b9e6: Waiting 22:48:23 b352a97aabf1: Waiting 22:48:23 eaf3925da568: Waiting 22:48:23 bab4dde63d76: Waiting 22:48:23 5851b861e8e6: Waiting 22:48:23 bde34c3a00c8: Waiting 22:48:23 4872d77fe225: Waiting 22:48:23 e2be974225ed: Download complete 22:48:23 988bab9f4d93: Verifying Checksum 22:48:23 988bab9f4d93: Download complete 22:48:23 1469e6f7b9e6: Verifying Checksum 22:48:23 1469e6f7b9e6: Download complete 22:48:23 339a4e72a1f5: Verifying Checksum 22:48:23 339a4e72a1f5: Download complete 22:48:23 eaf3925da568: Verifying Checksum 22:48:23 eaf3925da568: Download complete 22:48:23 bde34c3a00c8: Download complete 22:48:23 b352a97aabf1: Download complete 22:48:23 4872d77fe225: Verifying Checksum 22:48:23 4872d77fe225: Download complete 22:48:23 5851b861e8e6: Verifying Checksum 22:48:23 5851b861e8e6: Download complete 22:48:23 b85a868b505f: Download complete 22:48:24 bab4dde63d76: Verifying Checksum 22:48:24 bab4dde63d76: Download complete 22:48:25 b85a868b505f: Pull complete 22:48:25 e2be974225ed: Pull complete 22:48:25 339a4e72a1f5: Pull complete 22:48:25 988bab9f4d93: Pull complete 22:48:26 1469e6f7b9e6: Pull complete 22:48:26 eaf3925da568: Pull complete 22:48:28 bab4dde63d76: Pull complete 22:48:28 bde34c3a00c8: Pull complete 22:48:28 b352a97aabf1: Pull complete 22:48:28 4872d77fe225: Pull complete 22:48:28 5851b861e8e6: Pull complete 22:48:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:48:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:48:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:48:28 prd-ubuntu20.04-docker-8c-8g-14804 does not seem to be running inside a container 22:48:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:48:29 $ docker top b8b23b380e2653a99a8e8159092c9e6ecc66c1a6e45f62f06b68af0053c0e5a5 -eo pid,comm 22:48:29 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:48:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:48:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:48:29 [ssh-agent] Looking for ssh-agent implementation... 22:48:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:48:29 $ docker exec b8b23b380e2653a99a8e8159092c9e6ecc66c1a6e45f62f06b68af0053c0e5a5 ssh-agent 22:48:30 SSH_AUTH_SOCK=/tmp/ssh-YSojsRgK5kPh/agent.32 22:48:30 SSH_AGENT_PID=38 22:48:30 Running ssh-add (command line suppressed) 22:48:30 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4774944413506377148.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4774944413506377148.key) 22:48:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:48:30 + git tag --points-at HEAD [Pipeline] } 22:48:30 $ docker exec --env ******** --env ******** b8b23b380e2653a99a8e8159092c9e6ecc66c1a6e45f62f06b68af0053c0e5a5 ssh-agent -k 22:48:30 unset SSH_AUTH_SOCK; 22:48:30 unset SSH_AGENT_PID; 22:48:30 echo Agent pid 38 killed; 22:48:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:48:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:48:30 [ssh-agent] Looking for ssh-agent implementation... 22:48:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:48:30 $ docker exec b8b23b380e2653a99a8e8159092c9e6ecc66c1a6e45f62f06b68af0053c0e5a5 ssh-agent 22:48:30 SSH_AUTH_SOCK=/tmp/ssh-DroT9Dhyroie/agent.70 22:48:30 SSH_AGENT_PID=76 22:48:30 Running ssh-add (command line suppressed) 22:48:31 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9985308113759464471.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9985308113759464471.key) 22:48:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:48:31 + git semver init 22:48:31 2023-05-09 22:48:31,510 [run_init] DEBUG init version:0.0.0 force:False 22:48:31 2023-05-09 22:48:31,511 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 22:48:31 2023-05-09 22:48:31,511 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 22:48:31 2023-05-09 22:48:31,512 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 22:48:32 2023-05-09 22:48:32,248 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 22:48:32 2023-05-09 22:48:32,249 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 22:48:32 2023-05-09 22:48:32,249 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:48:32 2023-05-09 22:48:32,249 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:48:32 3.0.0-dev.37 [Pipeline] } 22:48:32 $ docker exec --env ******** --env ******** b8b23b380e2653a99a8e8159092c9e6ecc66c1a6e45f62f06b68af0053c0e5a5 ssh-agent -k 22:48:32 unset SSH_AUTH_SOCK; 22:48:32 unset SSH_AGENT_PID; 22:48:32 echo Agent pid 76 killed; 22:48:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:48:32 + git semver [Pipeline] } 22:48:33 $ docker stop --time=1 b8b23b380e2653a99a8e8159092c9e6ecc66c1a6e45f62f06b68af0053c0e5a5 22:48:34 $ docker rm -f --volumes b8b23b380e2653a99a8e8159092c9e6ecc66c1a6e45f62f06b68af0053c0e5a5 [Pipeline] // withDockerContainer [Pipeline] sh 22:48:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:48:35 Stashed 1 file(s) [Pipeline] echo 22:48:35 [edgeXSemver]: initialized semver on version 3.0.0-dev.37 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:48:35 provisioning config files... 22:48:35 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14307966898773066310tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:48:35 ---> docker-login.sh 22:48:35 nexus3.edgexfoundry.org:10001 22:48:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:35 Configure a credential helper to remove this warning. See 22:48:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:35 22:48:35 Login Succeeded 22:48:35 nexus3.edgexfoundry.org:10002 22:48:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:35 Configure a credential helper to remove this warning. See 22:48:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:35 22:48:35 Login Succeeded 22:48:35 nexus3.edgexfoundry.org:10003 22:48:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14803 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 22:48:35 Running in /w/workspace/device-modbus-go/103 [Pipeline] { [Pipeline] checkout 22:48:35 Selected Git installation does not exist. Using Default 22:48:35 The recommended git tool is: NONE 22:48:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:35 Configure a credential helper to remove this warning. See 22:48:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:35 22:48:35 Login Succeeded 22:48:35 nexus3.edgexfoundry.org:10004 22:48:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:35 Configure a credential helper to remove this warning. See 22:48:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:35 22:48:35 Login Succeeded 22:48:35 docker.io 22:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:36 Configure a credential helper to remove this warning. See 22:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:36 22:48:36 Login Succeeded 22:48:36 ---> docker-login.sh ends [Pipeline] } 22:48:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:48:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:48:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:48:36 ========================================================= 22:48:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:48:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:36 + 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 . 22:48:36 Sending build context to Docker daemon 6.488MB 22:48:36 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 22:48:36 Step 2/10 : FROM ${BASE} AS builder 22:48:36 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:48:36 f56be85fc22e: Pulling fs layer 22:48:36 85791d961cd3: Pulling fs layer 22:48:36 d694b5ae8c79: Pulling fs layer 22:48:36 9f32a84ed3da: Pulling fs layer 22:48:36 4d19c01a9841: Pulling fs layer 22:48:36 9f32a84ed3da: Waiting 22:48:36 9325e15d5711: Pulling fs layer 22:48:36 556b6ee489ea: Pulling fs layer 22:48:36 c5a4b2cf53e6: Pulling fs layer 22:48:36 4d19c01a9841: Waiting 22:48:36 556b6ee489ea: Waiting 22:48:36 c5a4b2cf53e6: Waiting 22:48:36 9325e15d5711: Waiting 22:48:36 85791d961cd3: Download complete 22:48:36 9f32a84ed3da: Verifying Checksum 22:48:36 9f32a84ed3da: Download complete 22:48:36 4d19c01a9841: Verifying Checksum 22:48:36 4d19c01a9841: Download complete 22:48:36 f56be85fc22e: Verifying Checksum 22:48:36 f56be85fc22e: Download complete 22:48:36 9325e15d5711: Verifying Checksum 22:48:36 9325e15d5711: Download complete 22:48:36 f56be85fc22e: Pull complete 22:48:36 85791d961cd3: Pull complete 22:48:37 c5a4b2cf53e6: Verifying Checksum 22:48:37 c5a4b2cf53e6: Download complete 22:48:37 d694b5ae8c79: Verifying Checksum 22:48:37 d694b5ae8c79: Download complete 22:48:37 556b6ee489ea: Verifying Checksum 22:48:37 556b6ee489ea: Download complete 22:48:40 d694b5ae8c79: Pull complete 22:48:40 9f32a84ed3da: Pull complete 22:48:40 4d19c01a9841: Pull complete 22:48:40 9325e15d5711: Pull complete 22:48:41 using credential edgex-jenkins-ssh 22:48:41 Cloning the remote Git repository 22:48:42 556b6ee489ea: Pull complete 22:48:41 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 22:48:42 > git init /w/workspace/device-modbus-go/103 # timeout=10 22:48:42 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 22:48:42 > git --version # timeout=10 22:48:42 > git --version # 'git version 2.25.1' 22:48:42 using GIT_SSH to set credentials SSH Credentials for GitHub 22:48:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:48:44 c5a4b2cf53e6: Pull complete 22:48:44 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 22:48:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:48:44 ---> c4be618373d6 22:48:44 Step 3/10 : ARG ADD_BUILD_TAGS="" 22:48:43 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 22:48:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:48:44 Avoid second fetch 22:48:44 Checking out Revision 8b019029337577f55c3ddf5891f69e829d86b4f5 (main) 22:48:45 ---> Running in a8d742e76d1e 22:48:45 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#475)" 22:48:45 Removing intermediate container a8d742e76d1e 22:48:45 ---> b25e75b9d519 22:48:45 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:48:45 ---> Running in 7e97ae120103 22:48:45 Removing intermediate container 7e97ae120103 22:48:45 ---> 14ba6ed8e3d5 22:48:45 Step 5/10 : RUN apk add --update --no-cache make git openssh 22:48:45 ---> Running in 59290463f7fa 22:48:44 > git config core.sparsecheckout # timeout=10 22:48:44 > git checkout -f 8b019029337577f55c3ddf5891f69e829d86b4f5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:48:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:48:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:48:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:48:46 % Total % Received % Xferd Average Speed Time Time Time Current 22:48:46 Dload Upload Total Spent Left Speed 22:48:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 185k 22:48:46 (1/8) Installing openssh-keygen (9.1_p1-r2) 22:48:46 (2/8) Installing libedit (20221030.3.1-r0) 22:48:46 (3/8) Installing openssh-client-common (9.1_p1-r2) 22:48:46 (4/8) Installing openssh-client-default (9.1_p1-r2) 22:48:46 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 22:48:46 (6/8) Installing openssh-server-common (9.1_p1-r2) 22:48:46 (7/8) Installing openssh-server (9.1_p1-r2) 22:48:46 (8/8) Installing openssh (9.1_p1-r2) 22:48:46 Executing busybox-1.35.0-r29.trigger 22:48:46 OK: 270 MiB in 61 packages [Pipeline] sh 22:48:47 Removing intermediate container 59290463f7fa 22:48:47 ---> c97e2450af4c 22:48:47 Step 6/10 : WORKDIR /device-modbus-go 22:48:47 ---> Running in c139228ac047 22:48:47 Removing intermediate container c139228ac047 22:48:47 ---> ddf4abccc649 22:48:47 Step 7/10 : COPY go.mod vendor* ./ 22:48:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:48:47 ---> b636cda129ea 22:48:47 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:48:47 ---> Running in f644a8924686 22:48:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ sudo tee 22:48:47 /etc/docker/daemon.new 22:48:47 { 22:48:47 "registry-mirrors": [ 22:48:47 "https://nexus3.edgexfoundry.org:10001" 22:48:47 ], 22:48:47 "bip": "10.250.0.254/24", 22:48:47 "hosts": [ 22:48:47 "tcp://0.0.0.0:5555", 22:48:47 "unix:///var/run/docker.sock" 22:48:47 ], 22:48:47 "mtu": 1458, 22:48:47 "selinux-enabled": true, 22:48:47 "seccomp-profile": "/etc/docker/seccomp.json" 22:48:47 } [Pipeline] sh 22:48:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:48:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:49:06 provisioning config files... 22:49:06 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/103@tmp/config11339964380666733583tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:49:06 ---> docker-login.sh 22:49:06 nexus3.edgexfoundry.org:10001 22:49:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:07 Configure a credential helper to remove this warning. See 22:49:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:07 22:49:07 Login Succeeded 22:49:07 nexus3.edgexfoundry.org:10002 22:49:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:08 Configure a credential helper to remove this warning. See 22:49:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:08 22:49:08 Login Succeeded 22:49:08 nexus3.edgexfoundry.org:10003 22:49:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:08 Configure a credential helper to remove this warning. See 22:49:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:08 22:49:08 Login Succeeded 22:49:08 nexus3.edgexfoundry.org:10004 22:49:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:08 Configure a credential helper to remove this warning. See 22:49:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:08 22:49:08 Login Succeeded 22:49:08 docker.io 22:49:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:09 Removing intermediate container f644a8924686 22:49:09 ---> 1344f491a819 22:49:09 Step 9/10 : COPY . . 22:49:09 ---> b94fc6f724f5 22:49:09 Step 10/10 : RUN ${MAKE} 22:49:09 ---> Running in 5179c2f03ae7 22:49:09 noop 22:49:09 Removing intermediate container 5179c2f03ae7 22:49:09 ---> 18b7e0b9ef66 22:49:09 Successfully built 18b7e0b9ef66 22:49:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:49:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:09 Configure a credential helper to remove this warning. See 22:49:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:09 22:49:09 Login Succeeded 22:49:09 ---> docker-login.sh ends [Pipeline] } 22:49:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 22:49:09 + docker inspect -f . ci-base-image-x86_64 22:49:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:49:09 prd-ubuntu20.04-docker-8c-8g-14804 does not seem to be running inside a container 22:49:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:49:10 $ docker top 3bcac68c87c274865345bff08c8c55af6df3a9f1b533a0da4c00554cc58e6b35 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] echo 22:49:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:49:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:49:10 ========================================================= 22:49:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:49:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:49:10 + go version 22:49:10 go version go1.20.2 linux/amd64 [Pipeline] } 22:49:10 $ docker stop --time=1 3bcac68c87c274865345bff08c8c55af6df3a9f1b533a0da4c00554cc58e6b35 22:49:10 + 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 . 22:49:10 Sending build context to Docker daemon 3.389MB 22:49:10 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 22:49:10 Step 2/10 : FROM ${BASE} AS builder 22:49:11 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:49:11 c41833b44d91: Pulling fs layer 22:49:11 ed15518f5707: Pulling fs layer 22:49:11 feae8fd75edb: Pulling fs layer 22:49:11 242c74f7c9fa: Pulling fs layer 22:49:11 3cdef696dda3: Pulling fs layer 22:49:11 2ced38df9373: Pulling fs layer 22:49:11 58f1dce35555: Pulling fs layer 22:49:11 3cdef696dda3: Waiting 22:49:11 2ced38df9373: Waiting 22:49:11 58f1dce35555: Waiting 22:49:11 242c74f7c9fa: Waiting 22:49:11 ed15518f5707: Verifying Checksum 22:49:11 ed15518f5707: Download complete 22:49:11 242c74f7c9fa: Download complete 22:49:11 3cdef696dda3: Verifying Checksum 22:49:11 3cdef696dda3: Download complete 22:49:11 c41833b44d91: Verifying Checksum 22:49:11 c41833b44d91: Download complete 22:49:11 $ docker rm -f --volumes 3bcac68c87c274865345bff08c8c55af6df3a9f1b533a0da4c00554cc58e6b35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:49:12 + docker inspect -f . ci-base-image-x86_64 22:49:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:49:12 prd-ubuntu20.04-docker-8c-8g-14804 does not seem to be running inside a container 22:49:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:49:12 c41833b44d91: Pull complete 22:49:12 58f1dce35555: Verifying Checksum 22:49:12 58f1dce35555: Download complete 22:49:12 $ docker top 59d52b789bf393ccebb69d8feee2d447ddc273f634ac0e18f71f4b8a5bcbfd1b -eo pid,comm [Pipeline] { [Pipeline] sh 22:49:12 ed15518f5707: Pull complete 22:49:12 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 22:49:13 + make test 22:49:13 go test ./... -coverprofile=coverage.out 22:49:13 feae8fd75edb: Verifying Checksum 22:49:13 feae8fd75edb: Download complete 22:49:13 2ced38df9373: Verifying Checksum 22:49:13 2ced38df9373: Download complete 22:49:18 ? github.com/edgexfoundry/device-modbus-go [no test files] 22:49:26 feae8fd75edb: Pull complete 22:49:26 242c74f7c9fa: Pull complete 22:49:26 3cdef696dda3: Pull complete 22:49:30 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 22:49:30 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 47.4% of statements 22:49:34 2ced38df9373: Pull complete 22:49:36 go vet ./... 22:49:36 58f1dce35555: Pull complete 22:49:36 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 22:49:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:49:36 ---> fadd8f120f05 22:49:36 Step 3/10 : ARG ADD_BUILD_TAGS="" 22:49:37 ---> Running in e3855e22f010 22:49:38 Removing intermediate container e3855e22f010 22:49:38 ---> 06e5fa92f8b2 22:49:38 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:49:38 ---> Running in e0bd74f8f38d 22:49:38 Removing intermediate container e0bd74f8f38d 22:49:38 ---> cdb729de7992 22:49:38 Step 5/10 : RUN apk add --update --no-cache make git openssh 22:49:38 ---> Running in 64449510ca22 22:49:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:49:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:49:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:49:40 ./bin/test-attribution-txt.sh [Pipeline] echo 22:49:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:49:40 $ docker stop --time=1 59d52b789bf393ccebb69d8feee2d447ddc273f634ac0e18f71f4b8a5bcbfd1b 22:49:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:49:41 (1/8) Installing openssh-keygen (9.1_p1-r2) 22:49:41 (2/8) Installing libedit (20221030.3.1-r0) 22:49:41 (3/8) Installing openssh-client-common (9.1_p1-r2) 22:49:41 (4/8) Installing openssh-client-default (9.1_p1-r2) 22:49:41 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 22:49:41 (6/8) Installing openssh-server-common (9.1_p1-r2) 22:49:41 (7/8) Installing openssh-server (9.1_p1-r2) 22:49:41 (8/8) Installing openssh (9.1_p1-r2) 22:49:41 Executing busybox-1.35.0-r29.trigger 22:49:41 OK: 270 MiB in 61 packages 22:49:42 $ docker rm -f --volumes 59d52b789bf393ccebb69d8feee2d447ddc273f634ac0e18f71f4b8a5bcbfd1b [Pipeline] // withDockerContainer [Pipeline] sh 22:49:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:49:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:49:43 Removing intermediate container 64449510ca22 22:49:43 ---> 8553e47020b0 22:49:43 Step 6/10 : WORKDIR /device-modbus-go 22:49:43 ---> Running in 806e3aaa2910 22:49:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:49:43 Removing intermediate container 806e3aaa2910 22:49:43 ---> f86e59505784 22:49:43 Step 7/10 : COPY go.mod vendor* ./ 22:49:43 + ls -al . 22:49:43 total 180 22:49:43 drwxrwxr-x 10 jenkins jenkins 4096 May 9 22:49 . 22:49:43 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:48 .. 22:49:43 -rw-rw-r-- 1 jenkins jenkins 140 May 9 22:48 .dockerignore 22:49:43 drwxrwxr-x 8 jenkins jenkins 4096 May 9 22:48 .git 22:49:43 drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:48 .github 22:49:43 -rw-rw-r-- 1 jenkins jenkins 331 May 9 22:48 .gitignore 22:49:43 -rw-rw-r-- 1 jenkins jenkins 41 May 9 22:48 .golangci.yml 22:49:43 drwxr-xr-x 3 jenkins jenkins 4096 May 9 22:48 .semver 22:49:43 -rw-rw-r-- 1 jenkins jenkins 10132 May 9 22:48 Attribution.txt 22:49:43 -rw-rw-r-- 1 jenkins jenkins 11576 May 9 22:48 CHANGELOG.md 22:49:43 -rw-rw-r-- 1 jenkins jenkins 1365 May 9 22:48 Dockerfile 22:49:43 -rw-rw-r-- 1 jenkins jenkins 677 May 9 22:48 GOVERNANCE.md 22:49:43 -rw-rw-r-- 1 jenkins jenkins 680 May 9 22:48 Jenkinsfile 22:49:43 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 22:48 LICENSE 22:49:43 -rw-rw-r-- 1 jenkins jenkins 1705 May 9 22:48 Makefile 22:49:43 -rw-rw-r-- 1 jenkins jenkins 622 May 9 22:48 OWNERS.md 22:49:43 -rw-rw-r-- 1 jenkins jenkins 4045 May 9 22:48 README.md 22:49:43 -rw-rw-r-- 1 jenkins jenkins 12 May 9 22:48 VERSION 22:49:43 drwxrwxr-x 2 jenkins jenkins 4096 May 9 22:48 bin 22:49:43 drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:48 cmd 22:49:43 -rw-r--r-- 1 jenkins jenkins 24160 May 9 22:49 coverage.out 22:49:43 -rw-rw-r-- 1 jenkins jenkins 3453 May 9 22:48 go.mod 22:49:43 -rw-rw-r-- 1 jenkins jenkins 31670 May 9 22:48 go.sum 22:49:43 drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:48 internal 22:49:43 drwxrwxr-x 2 jenkins jenkins 4096 May 9 22:48 simulator 22:49:43 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:48 snap 22:49:43 -rw-rw-r-- 1 jenkins jenkins 229 May 9 22:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:49:44 + 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=8b019029337577f55c3ddf5891f69e829d86b4f5 --label arch=amd64 --label version=3.0.0-dev.37 . 22:49:44 Sending build context to Docker daemon 6.513MB 22:49:44 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 22:49:44 Step 2/22 : FROM ${BASE} AS builder 22:49:44 ---> 18b7e0b9ef66 22:49:44 Step 3/22 : ARG ADD_BUILD_TAGS="" 22:49:44 ---> bd90b95770a4 22:49:44 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:49:44 ---> Running in 76b0ef376861 22:49:44 ---> Running in 3b177e49ab93 22:49:44 Removing intermediate container 3b177e49ab93 22:49:44 ---> 292e74c776dd 22:49:44 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:49:44 ---> Running in c4b3f29f5806 22:49:44 Removing intermediate container c4b3f29f5806 22:49:44 ---> 1a588a1dcca3 22:49:44 Step 5/22 : RUN apk add --update --no-cache make git openssh 22:49:44 ---> Running in fa490a05a890 22:49:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:49:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:49:45 OK: 270 MiB in 61 packages 22:49:45 Removing intermediate container fa490a05a890 22:49:45 ---> 03a50b477750 22:49:45 Step 6/22 : WORKDIR /device-modbus-go 22:49:45 ---> Running in ed56c7cc0221 22:49:45 Removing intermediate container ed56c7cc0221 22:49:45 ---> d5fabda8af2b 22:49:45 Step 7/22 : COPY go.mod vendor* ./ 22:49:45 ---> 6a0668efd357 22:49:45 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:49:45 ---> Running in 917dc11f6400 22:49:46 Removing intermediate container 917dc11f6400 22:49:46 ---> b76da673dc0f 22:49:46 Step 9/22 : COPY . . 22:49:46 ---> 13f86680f934 22:49:46 Step 10/22 : RUN ${MAKE} 22:49:46 ---> Running in 321fcdfc00a2 22:49:47 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.37" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 22:50:09 Removing intermediate container 321fcdfc00a2 22:50:09 ---> 97d33b0c88c0 22:50:09 Step 11/22 : FROM alpine:3.17 22:50:09 3.17: Pulling from library/alpine 22:50:09 f56be85fc22e: Already exists 22:50:09 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:50:09 Status: Downloaded newer image for alpine:3.17 22:50:09 ---> 9ed4aefc74f6 22:50:09 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 22:50:09 ---> Running in 1fddb8afae65 22:50:09 Removing intermediate container 1fddb8afae65 22:50:09 ---> 7c57bd0dfa46 22:50:09 Step 13/22 : RUN apk add --update --no-cache dumb-init 22:50:09 ---> Running in 5b8a65e72123 22:50:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:50:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:50:09 (1/1) Installing dumb-init (1.2.5-r2) 22:50:09 Executing busybox-1.35.0-r29.trigger 22:50:09 OK: 7 MiB in 16 packages 22:50:09 Removing intermediate container 5b8a65e72123 22:50:09 ---> 2b546bbf6955 22:50:09 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 22:50:09 ---> 947a1063aeb6 22:50:09 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 22:50:09 ---> 35accbf48c37 22:50:09 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 22:50:09 ---> 5fc97d524413 22:50:09 Step 17/22 : EXPOSE 59901 22:50:09 ---> Running in 430637e242b1 22:50:09 Removing intermediate container 430637e242b1 22:50:09 ---> 1d407460a808 22:50:09 Step 18/22 : ENTRYPOINT ["/device-modbus"] 22:50:09 ---> Running in 5b023ef6985a 22:50:09 Removing intermediate container 5b023ef6985a 22:50:09 ---> 3e1bb0887ce1 22:50:09 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:50:09 ---> Running in 51861a40fc8c 22:50:09 Removing intermediate container 51861a40fc8c 22:50:09 ---> 17832ac12d5a 22:50:09 Step 20/22 : LABEL arch=amd64 22:50:09 ---> Running in 42f23b8f6286 22:50:09 Removing intermediate container 42f23b8f6286 22:50:09 ---> a5d42b5a1ec4 22:50:09 Step 21/22 : LABEL git_sha=8b019029337577f55c3ddf5891f69e829d86b4f5 22:50:09 ---> Running in 3c97d79b839f 22:50:09 Removing intermediate container 3c97d79b839f 22:50:09 ---> a70155e11875 22:50:09 Step 22/22 : LABEL version=3.0.0-dev.37 22:50:09 ---> Running in e6e215bc459e 22:50:09 Removing intermediate container e6e215bc459e 22:50:09 ---> 27236636234c 22:50:09 [Warning] One or more build-args [ARCH] were not consumed 22:50:09 Successfully built 27236636234c 22:50:09 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:50:09 provisioning config files... 22:50:09 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2709314202000068043tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:50:09 ---> docker-login.sh 22:50:09 nexus3.edgexfoundry.org:10001 22:50:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:09 Configure a credential helper to remove this warning. See 22:50:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:09 22:50:09 Login Succeeded 22:50:09 nexus3.edgexfoundry.org:10002 22:50:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:09 Configure a credential helper to remove this warning. See 22:50:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:09 22:50:09 Login Succeeded 22:50:09 nexus3.edgexfoundry.org:10003 22:50:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:10 Configure a credential helper to remove this warning. See 22:50:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:10 22:50:10 Login Succeeded 22:50:10 nexus3.edgexfoundry.org:10004 22:50:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:10 Configure a credential helper to remove this warning. See 22:50:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:10 22:50:10 Login Succeeded 22:50:10 docker.io 22:50:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:10 Configure a credential helper to remove this warning. See 22:50:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:10 22:50:10 Login Succeeded 22:50:10 ---> docker-login.sh ends [Pipeline] } 22:50:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:50:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:50:10 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 22:50:10 8b019029337577f55c3ddf5891f69e829d86b4f5 22:50:10 latest 22:50:10 3.0.0-dev.37 22:50:10 8b019029337577f55c3ddf5891f69e829d86b4f5-3.0.0-dev.37 22:50:10 main 22:50:10 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:10 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:8b019029337577f55c3ddf5891f69e829d86b4f5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:11 + docker push nexus3.edgexfoundry.org:10004/device-modbus:8b019029337577f55c3ddf5891f69e829d86b4f5 22:50:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 22:50:11 97be059de322: Preparing 22:50:11 6e0bb01af105: Preparing 22:50:11 12c554ba2a06: Preparing 22:50:11 e8a9ccea52ff: Preparing 22:50:11 f1417ff83b31: Preparing 22:50:11 f1417ff83b31: Layer already exists 22:50:11 e8a9ccea52ff: Pushed 22:50:11 97be059de322: Pushed 22:50:11 6e0bb01af105: Pushed 22:50:14 12c554ba2a06: Pushed 22:50:14 8b019029337577f55c3ddf5891f69e829d86b4f5: digest: sha256:3d80bc252bbff550473668755800ba8f1f679b509dfa003d38d4e47f3bef1614 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:14 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:14 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 22:50:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 22:50:14 97be059de322: Preparing 22:50:14 6e0bb01af105: Preparing 22:50:14 12c554ba2a06: Preparing 22:50:14 e8a9ccea52ff: Preparing 22:50:14 f1417ff83b31: Preparing 22:50:14 12c554ba2a06: Layer already exists 22:50:14 e8a9ccea52ff: Layer already exists 22:50:14 6e0bb01af105: Layer already exists 22:50:14 97be059de322: Layer already exists 22:50:14 f1417ff83b31: Layer already exists 22:50:14 latest: digest: sha256:3d80bc252bbff550473668755800ba8f1f679b509dfa003d38d4e47f3bef1614 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:15 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:15 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.37 22:50:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 22:50:15 97be059de322: Preparing 22:50:15 6e0bb01af105: Preparing 22:50:15 12c554ba2a06: Preparing 22:50:15 e8a9ccea52ff: Preparing 22:50:15 f1417ff83b31: Preparing 22:50:15 12c554ba2a06: Layer already exists 22:50:15 97be059de322: Layer already exists 22:50:15 e8a9ccea52ff: Layer already exists 22:50:15 f1417ff83b31: Layer already exists 22:50:15 6e0bb01af105: Layer already exists 22:50:15 3.0.0-dev.37: digest: sha256:3d80bc252bbff550473668755800ba8f1f679b509dfa003d38d4e47f3bef1614 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:15 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:8b019029337577f55c3ddf5891f69e829d86b4f5-3.0.0-dev.37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:16 + docker push nexus3.edgexfoundry.org:10004/device-modbus:8b019029337577f55c3ddf5891f69e829d86b4f5-3.0.0-dev.37 22:50:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 22:50:16 97be059de322: Preparing 22:50:16 6e0bb01af105: Preparing 22:50:16 12c554ba2a06: Preparing 22:50:16 e8a9ccea52ff: Preparing 22:50:16 f1417ff83b31: Preparing 22:50:16 12c554ba2a06: Layer already exists 22:50:16 97be059de322: Layer already exists 22:50:16 e8a9ccea52ff: Layer already exists 22:50:16 f1417ff83b31: Layer already exists 22:50:16 6e0bb01af105: Layer already exists 22:50:16 8b019029337577f55c3ddf5891f69e829d86b4f5-3.0.0-dev.37: digest: sha256:3d80bc252bbff550473668755800ba8f1f679b509dfa003d38d4e47f3bef1614 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:16 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:16 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 22:50:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 22:50:16 97be059de322: Preparing 22:50:16 6e0bb01af105: Preparing 22:50:16 12c554ba2a06: Preparing 22:50:16 e8a9ccea52ff: Preparing 22:50:16 f1417ff83b31: Preparing 22:50:16 97be059de322: Layer already exists 22:50:16 e8a9ccea52ff: Layer already exists 22:50:16 6e0bb01af105: Layer already exists 22:50:16 12c554ba2a06: Layer already exists 22:50:16 f1417ff83b31: Layer already exists 22:50:16 main: digest: sha256:3d80bc252bbff550473668755800ba8f1f679b509dfa003d38d4e47f3bef1614 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:50:16 ===================================================== [Pipeline] echo 22:50:16 taggedImages: 22:50:16 - nexus3.edgexfoundry.org:10004/device-modbus:8b019029337577f55c3ddf5891f69e829d86b4f5 22:50:16 - nexus3.edgexfoundry.org:10004/device-modbus:latest 22:50:16 - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.37 22:50:16 - nexus3.edgexfoundry.org:10004/device-modbus:8b019029337577f55c3ddf5891f69e829d86b4f5-3.0.0-dev.37 22:50:16 - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:50:17 22:50:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:50:17 latest: Pulling from edgex-lftools-log-publisher 22:50:17 5eb5b503b376: Pulling fs layer 22:50:17 5c69ac0246d0: Pulling fs layer 22:50:17 ec43610c2a17: Pulling fs layer 22:50:17 3a2ae6a8a46f: Pulling fs layer 22:50:17 33b1e0a273af: Pulling fs layer 22:50:17 5d3b04190fa2: Pulling fs layer 22:50:17 3a2ae6a8a46f: Waiting 22:50:17 33b1e0a273af: Waiting 22:50:17 2f39f015ded8: Pulling fs layer 22:50:17 5d3b04190fa2: Waiting 22:50:17 2f39f015ded8: Waiting 22:50:17 5c69ac0246d0: Verifying Checksum 22:50:17 5c69ac0246d0: Download complete 22:50:17 3a2ae6a8a46f: Download complete 22:50:17 33b1e0a273af: Verifying Checksum 22:50:17 33b1e0a273af: Download complete 22:50:17 ec43610c2a17: Verifying Checksum 22:50:17 ec43610c2a17: Download complete 22:50:17 5d3b04190fa2: Download complete 22:50:17 5eb5b503b376: Verifying Checksum 22:50:17 5eb5b503b376: Download complete 22:50:18 2f39f015ded8: Verifying Checksum 22:50:18 2f39f015ded8: Download complete 22:50:18 5eb5b503b376: Pull complete 22:50:19 5c69ac0246d0: Pull complete 22:50:19 ec43610c2a17: Pull complete 22:50:19 3a2ae6a8a46f: Pull complete 22:50:19 33b1e0a273af: Pull complete 22:50:19 5d3b04190fa2: Pull complete 22:50:24 2f39f015ded8: Pull complete 22:50:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:50:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:50:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:50:24 prd-ubuntu20.04-docker-8c-8g-14804 does not seem to be running inside a container 22:50:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:50:26 $ docker top 323a515926c38e0009a614efe64088a0434b8f9cee5146e0c8f2a6c47c9789b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:50:26 ---> job-cost.sh 22:50:26 lf-activate-venv: SKIPPING 22:50:26 INFO: No Stack... 22:50:26 INFO: Retrieving Pricing Info for: v3-standard-8 22:50:27 INFO: Archiving Costs [Pipeline] sh 22:50:27 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 22:50:27 + cut -d, -f6 [Pipeline] lock 22:50:27 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-103-stack-cost] 22:50:27 Resource [jenkins-edgexfoundry-device-modbus-go-main-103-stack-cost] did not exist. Created. 22:50:27 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-103-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:50:27 + echo total: 0.2199999988079071 [Pipeline] stash 22:50:27 Stashed 1 file(s) [Pipeline] } 22:50:27 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-103-stack-cost] [Pipeline] // lock [Pipeline] } 22:50:27 $ docker stop --time=1 323a515926c38e0009a614efe64088a0434b8f9cee5146e0c8f2a6c47c9789b4 22:50:28 $ docker rm -f --volumes 323a515926c38e0009a614efe64088a0434b8f9cee5146e0c8f2a6c47c9789b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:50:52 Removing intermediate container 76b0ef376861 22:50:52 ---> fc1e1841e46a 22:50:52 Step 9/10 : COPY . . 22:50:52 ---> ca2ea19240c3 22:50:52 Step 10/10 : RUN ${MAKE} 22:50:52 ---> Running in e6584eb8ffcb 22:50:52 noop 22:50:52 Removing intermediate container e6584eb8ffcb 22:50:52 ---> b65c154662cb 22:50:52 Successfully built b65c154662cb 22:50:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:52 + docker inspect -f . ci-base-image-arm64 22:50:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:50:52 prd-ubuntu20.04-docker-arm64-4c-16g-14803 does not seem to be running inside a container 22:50:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/103 -v /w/workspace/device-modbus-go/103:/w/workspace/device-modbus-go/103:rw,z -v /w/workspace/device-modbus-go/103@tmp:/w/workspace/device-modbus-go/103@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:50:54 $ docker top a2b09025d63a0233cbe1bf6dffba767577090a7b13bce177d4d0d2332a7ef717 -eo pid,comm [Pipeline] { [Pipeline] sh 22:50:55 + go version 22:50:55 go version go1.20.2 linux/arm64 [Pipeline] } 22:50:55 $ docker stop --time=1 a2b09025d63a0233cbe1bf6dffba767577090a7b13bce177d4d0d2332a7ef717 22:50:56 $ docker rm -f --volumes a2b09025d63a0233cbe1bf6dffba767577090a7b13bce177d4d0d2332a7ef717 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:57 + docker inspect -f . ci-base-image-arm64 22:50:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:50:57 prd-ubuntu20.04-docker-arm64-4c-16g-14803 does not seem to be running inside a container 22:50:57 $ 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/103 -v /w/workspace/device-modbus-go/103:/w/workspace/device-modbus-go/103:rw,z -v /w/workspace/device-modbus-go/103@tmp:/w/workspace/device-modbus-go/103@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:50:58 $ docker top 5e6f79941f72123944aee7087ce045099aa4d08f5048d9fccb1cb39a51fbf6ea -eo pid,comm [Pipeline] { [Pipeline] sh 22:50:59 + git config --global --add safe.directory /w/workspace/device-modbus-go/103 [Pipeline] fileExists [Pipeline] sh 22:51:00 + make test 22:51:00 go test ./... -coverprofile=coverage.out 22:51:36 ? github.com/edgexfoundry/device-modbus-go [no test files] 22:54:13 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 22:54:13 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.079s coverage: 47.4% of statements 22:54:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:54:13 go vet ./... 22:54:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:54:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:54:40 ./bin/test-attribution-txt.sh [Pipeline] echo 22:54:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:54:40 $ docker stop --time=1 5e6f79941f72123944aee7087ce045099aa4d08f5048d9fccb1cb39a51fbf6ea 22:54:42 $ docker rm -f --volumes 5e6f79941f72123944aee7087ce045099aa4d08f5048d9fccb1cb39a51fbf6ea [Pipeline] // withDockerContainer [Pipeline] sh 22:54:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:54:43 Warning: overwriting stash ‘coverage-report’ 22:54:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:54:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:54:44 + ls -al . 22:54:44 total 176 22:54:44 drwxrwxr-x 9 jenkins jenkins 4096 May 9 22:51 . 22:54:44 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:48 .. 22:54:44 -rw-rw-r-- 1 jenkins jenkins 140 May 9 22:48 .dockerignore 22:54:44 drwxrwxr-x 8 jenkins jenkins 4096 May 9 22:48 .git 22:54:44 drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:48 .github 22:54:44 -rw-rw-r-- 1 jenkins jenkins 331 May 9 22:48 .gitignore 22:54:44 -rw-rw-r-- 1 jenkins jenkins 41 May 9 22:48 .golangci.yml 22:54:44 -rw-rw-r-- 1 jenkins jenkins 10132 May 9 22:48 Attribution.txt 22:54:44 -rw-rw-r-- 1 jenkins jenkins 11576 May 9 22:48 CHANGELOG.md 22:54:44 -rw-rw-r-- 1 jenkins jenkins 1365 May 9 22:48 Dockerfile 22:54:44 -rw-rw-r-- 1 jenkins jenkins 677 May 9 22:48 GOVERNANCE.md 22:54:44 -rw-rw-r-- 1 jenkins jenkins 680 May 9 22:48 Jenkinsfile 22:54:44 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 22:48 LICENSE 22:54:44 -rw-rw-r-- 1 jenkins jenkins 1705 May 9 22:48 Makefile 22:54:44 -rw-rw-r-- 1 jenkins jenkins 622 May 9 22:48 OWNERS.md 22:54:44 -rw-rw-r-- 1 jenkins jenkins 4045 May 9 22:48 README.md 22:54:44 -rw-rw-r-- 1 jenkins jenkins 12 May 9 22:48 VERSION 22:54:44 drwxrwxr-x 2 jenkins jenkins 4096 May 9 22:48 bin 22:54:44 drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:48 cmd 22:54:44 -rw-r--r-- 1 jenkins jenkins 24160 May 9 22:54 coverage.out 22:54:44 -rw-rw-r-- 1 jenkins jenkins 3453 May 9 22:48 go.mod 22:54:44 -rw-rw-r-- 1 jenkins jenkins 31670 May 9 22:48 go.sum 22:54:44 drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:48 internal 22:54:44 drwxrwxr-x 2 jenkins jenkins 4096 May 9 22:48 simulator 22:54:44 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:48 snap 22:54:44 -rw-rw-r-- 1 jenkins jenkins 229 May 9 22:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:45 + 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=8b019029337577f55c3ddf5891f69e829d86b4f5 --label arch=arm64 --label version=3.0.0-dev.37 . 22:54:45 Sending build context to Docker daemon 3.415MB 22:54:45 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 22:54:45 Step 2/22 : FROM ${BASE} AS builder 22:54:45 ---> b65c154662cb 22:54:45 Step 3/22 : ARG ADD_BUILD_TAGS="" 22:54:45 ---> Running in 5f904b2113ad 22:54:45 Removing intermediate container 5f904b2113ad 22:54:45 ---> cd091c802f15 22:54:45 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:54:45 ---> Running in e9eca0141fa0 22:54:46 Removing intermediate container e9eca0141fa0 22:54:46 ---> cc95fe210768 22:54:46 Step 5/22 : RUN apk add --update --no-cache make git openssh 22:54:46 ---> Running in c505d9b1e07c 22:54:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:54:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:54:49 OK: 270 MiB in 61 packages 22:54:50 Removing intermediate container c505d9b1e07c 22:54:50 ---> 4e781f1cd738 22:54:50 Step 6/22 : WORKDIR /device-modbus-go 22:54:50 ---> Running in 07274a54db17 22:54:50 Removing intermediate container 07274a54db17 22:54:50 ---> 53382465c110 22:54:50 Step 7/22 : COPY go.mod vendor* ./ 22:54:51 ---> 5d58cb6a7051 22:54:51 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:54:51 ---> Running in 6d512c832c0e 22:54:54 Removing intermediate container 6d512c832c0e 22:54:54 ---> 02cee6928e73 22:54:54 Step 9/22 : COPY . . 22:54:55 ---> cc345a660440 22:54:55 Step 10/22 : RUN ${MAKE} 22:54:55 ---> Running in 7e76f8a659dd 22:54:56 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.37" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 22:57:33 Removing intermediate container 7e76f8a659dd 22:57:33 ---> 714b9787646d 22:57:33 Step 11/22 : FROM alpine:3.17 22:57:33 3.17: Pulling from library/alpine 22:57:33 c41833b44d91: Already exists 22:57:33 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:57:33 Status: Downloaded newer image for alpine:3.17 22:57:33 ---> 51e60588ff2c 22:57:33 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 22:57:33 ---> Running in f8bf5d29d981 22:57:33 Removing intermediate container f8bf5d29d981 22:57:33 ---> 0680020a9f0b 22:57:33 Step 13/22 : RUN apk add --update --no-cache dumb-init 22:57:33 ---> Running in 95c34b3aed0d 22:57:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:57:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:57:33 (1/1) Installing dumb-init (1.2.5-r2) 22:57:33 Executing busybox-1.35.0-r29.trigger 22:57:33 OK: 8 MiB in 16 packages 22:57:33 Removing intermediate container 95c34b3aed0d 22:57:33 ---> 2c9005ddc5ea 22:57:33 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 22:57:33 ---> 20438f914645 22:57:33 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 22:57:33 ---> 53b2eaca7eb9 22:57:33 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 22:57:33 ---> 061ce22bbf30 22:57:33 Step 17/22 : EXPOSE 59901 22:57:33 ---> Running in c9ffb8b2a85b 22:57:33 Removing intermediate container c9ffb8b2a85b 22:57:33 ---> 4069f2e3eb34 22:57:33 Step 18/22 : ENTRYPOINT ["/device-modbus"] 22:57:33 ---> Running in eb377b60e46a 22:57:33 Removing intermediate container eb377b60e46a 22:57:33 ---> 1458cd7ce608 22:57:33 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:57:33 ---> Running in ae57a631a6d1 22:57:34 Removing intermediate container ae57a631a6d1 22:57:34 ---> cc0fbd029268 22:57:34 Step 20/22 : LABEL arch=arm64 22:57:34 ---> Running in bcec9ff3527c 22:57:34 Removing intermediate container bcec9ff3527c 22:57:34 ---> 9cdc49fed286 22:57:34 Step 21/22 : LABEL git_sha=8b019029337577f55c3ddf5891f69e829d86b4f5 22:57:34 ---> Running in f6cad7077a35 22:57:34 Removing intermediate container f6cad7077a35 22:57:34 ---> 3c72e2496f37 22:57:34 Step 22/22 : LABEL version=3.0.0-dev.37 22:57:34 ---> Running in 948535c8a75f 22:57:35 Removing intermediate container 948535c8a75f 22:57:35 ---> 2731d8d9d4c6 22:57:35 [Warning] One or more build-args [ARCH] were not consumed 22:57:35 Successfully built 2731d8d9d4c6 22:57:35 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:57:35 provisioning config files... 22:57:35 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/103@tmp/config9751581281189943948tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:57:35 ---> docker-login.sh 22:57:35 nexus3.edgexfoundry.org:10001 22:57:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:35 Configure a credential helper to remove this warning. See 22:57:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:35 22:57:35 Login Succeeded 22:57:35 nexus3.edgexfoundry.org:10002 22:57:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:36 Configure a credential helper to remove this warning. See 22:57:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:36 22:57:36 Login Succeeded 22:57:36 nexus3.edgexfoundry.org:10003 22:57:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:36 Configure a credential helper to remove this warning. See 22:57:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:36 22:57:36 Login Succeeded 22:57:36 nexus3.edgexfoundry.org:10004 22:57:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:37 Configure a credential helper to remove this warning. See 22:57:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:37 22:57:37 Login Succeeded 22:57:37 docker.io 22:57:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:37 Configure a credential helper to remove this warning. See 22:57:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:37 22:57:37 Login Succeeded 22:57:37 ---> docker-login.sh ends [Pipeline] } 22:57:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:57:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:57:37 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 22:57:37 8b019029337577f55c3ddf5891f69e829d86b4f5 22:57:37 latest 22:57:37 3.0.0-dev.37 22:57:37 8b019029337577f55c3ddf5891f69e829d86b4f5-3.0.0-dev.37 22:57:37 main 22:57:37 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:37 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:8b019029337577f55c3ddf5891f69e829d86b4f5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:38 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:8b019029337577f55c3ddf5891f69e829d86b4f5 22:57:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 22:57:38 94a3dfd0b944: Preparing 22:57:38 c235bc3763ef: Preparing 22:57:38 44835793cee7: Preparing 22:57:38 8ea6b08412ef: Preparing 22:57:38 26cbea5cba74: Preparing 22:57:38 26cbea5cba74: Layer already exists 22:57:38 94a3dfd0b944: Pushed 22:57:38 8ea6b08412ef: Pushed 22:57:38 c235bc3763ef: Pushed 22:57:43 44835793cee7: Pushed 22:57:43 8b019029337577f55c3ddf5891f69e829d86b4f5: digest: sha256:777613ef303b529d3d3383cbb2452dfafa8fd32b17acc2f9844c38739c8181f9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:44 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:44 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 22:57:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 22:57:44 94a3dfd0b944: Preparing 22:57:44 c235bc3763ef: Preparing 22:57:44 44835793cee7: Preparing 22:57:44 8ea6b08412ef: Preparing 22:57:44 26cbea5cba74: Preparing 22:57:44 26cbea5cba74: Layer already exists 22:57:44 44835793cee7: Layer already exists 22:57:44 8ea6b08412ef: Layer already exists 22:57:44 c235bc3763ef: Layer already exists 22:57:44 94a3dfd0b944: Layer already exists 22:57:45 latest: digest: sha256:777613ef303b529d3d3383cbb2452dfafa8fd32b17acc2f9844c38739c8181f9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:45 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:45 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.37 22:57:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 22:57:45 94a3dfd0b944: Preparing 22:57:45 c235bc3763ef: Preparing 22:57:45 44835793cee7: Preparing 22:57:45 8ea6b08412ef: Preparing 22:57:45 26cbea5cba74: Preparing 22:57:45 94a3dfd0b944: Layer already exists 22:57:45 44835793cee7: Layer already exists 22:57:45 26cbea5cba74: Layer already exists 22:57:45 c235bc3763ef: Layer already exists 22:57:45 8ea6b08412ef: Layer already exists 22:57:45 3.0.0-dev.37: digest: sha256:777613ef303b529d3d3383cbb2452dfafa8fd32b17acc2f9844c38739c8181f9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:46 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:8b019029337577f55c3ddf5891f69e829d86b4f5-3.0.0-dev.37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:46 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:8b019029337577f55c3ddf5891f69e829d86b4f5-3.0.0-dev.37 22:57:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 22:57:46 94a3dfd0b944: Preparing 22:57:46 c235bc3763ef: Preparing 22:57:46 44835793cee7: Preparing 22:57:46 8ea6b08412ef: Preparing 22:57:46 26cbea5cba74: Preparing 22:57:46 c235bc3763ef: Layer already exists 22:57:46 26cbea5cba74: Layer already exists 22:57:46 94a3dfd0b944: Layer already exists 22:57:46 8ea6b08412ef: Layer already exists 22:57:46 44835793cee7: Layer already exists 22:57:46 8b019029337577f55c3ddf5891f69e829d86b4f5-3.0.0-dev.37: digest: sha256:777613ef303b529d3d3383cbb2452dfafa8fd32b17acc2f9844c38739c8181f9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:46 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:47 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 22:57:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 22:57:47 94a3dfd0b944: Preparing 22:57:47 c235bc3763ef: Preparing 22:57:47 44835793cee7: Preparing 22:57:47 8ea6b08412ef: Preparing 22:57:47 26cbea5cba74: Preparing 22:57:47 94a3dfd0b944: Layer already exists 22:57:47 44835793cee7: Layer already exists 22:57:47 c235bc3763ef: Layer already exists 22:57:47 8ea6b08412ef: Layer already exists 22:57:47 26cbea5cba74: Layer already exists 22:57:47 main: digest: sha256:777613ef303b529d3d3383cbb2452dfafa8fd32b17acc2f9844c38739c8181f9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:57:47 ===================================================== [Pipeline] echo 22:57:47 taggedImages: 22:57:47 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:8b019029337577f55c3ddf5891f69e829d86b4f5 22:57:47 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 22:57:47 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.37 22:57:47 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:8b019029337577f55c3ddf5891f69e829d86b4f5-3.0.0-dev.37 22:57:47 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:57:47 22:57:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:57:47 arm64: Pulling from edgex-lftools-log-publisher 22:57:47 8998bd30e6a1: Pulling fs layer 22:57:47 04944245beec: Pulling fs layer 22:57:47 699f458cf7ca: Pulling fs layer 22:57:47 765212b225bb: Pulling fs layer 22:57:47 f23df028b6ca: Pulling fs layer 22:57:47 d65c8cfc05b1: Pulling fs layer 22:57:47 2437ff75d9bd: Pulling fs layer 22:57:47 765212b225bb: Waiting 22:57:47 f23df028b6ca: Waiting 22:57:47 d65c8cfc05b1: Waiting 22:57:47 2437ff75d9bd: Waiting 22:57:48 04944245beec: Verifying Checksum 22:57:48 04944245beec: Download complete 22:57:48 765212b225bb: Verifying Checksum 22:57:48 765212b225bb: Download complete 22:57:48 f23df028b6ca: Verifying Checksum 22:57:48 f23df028b6ca: Download complete 22:57:48 d65c8cfc05b1: Verifying Checksum 22:57:48 d65c8cfc05b1: Download complete 22:57:48 699f458cf7ca: Verifying Checksum 22:57:48 699f458cf7ca: Download complete 22:57:48 8998bd30e6a1: Verifying Checksum 22:57:48 8998bd30e6a1: Download complete 22:57:50 2437ff75d9bd: Verifying Checksum 22:57:50 2437ff75d9bd: Download complete 22:57:54 8998bd30e6a1: Pull complete 22:57:54 04944245beec: Pull complete 22:57:55 699f458cf7ca: Pull complete 22:57:55 765212b225bb: Pull complete 22:57:56 f23df028b6ca: Pull complete 22:57:56 d65c8cfc05b1: Pull complete 22:58:08 2437ff75d9bd: Pull complete 22:58:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:58:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:58:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:58:09 prd-ubuntu20.04-docker-arm64-4c-16g-14803 does not seem to be running inside a container 22:58:09 $ 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/103 -v /w/workspace/device-modbus-go/103:/w/workspace/device-modbus-go/103:rw,z -v /w/workspace/device-modbus-go/103@tmp:/w/workspace/device-modbus-go/103@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:arm64 cat 22:58:11 $ docker top 5d957a318384c3430729dfd95c000c062055395208d6d2342f776f098cfa7ea0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:58:12 ---> job-cost.sh 22:58:12 lf-activate-venv: SKIPPING 22:58:12 INFO: No Stack... 22:58:13 INFO: Retrieving Pricing Info for: v3-standard-4 22:58:14 INFO: Archiving Costs [Pipeline] sh 22:58:14 + cut -d, -f6 22:58:14 + cat /w/workspace/device-modbus-go/103/archives/cost.csv [Pipeline] lock 22:58:15 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-103-stack-cost] 22:58:15 Resource [jenkins-edgexfoundry-device-modbus-go-main-103-stack-cost] did not exist. Created. 22:58:15 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-103-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:58:15 /w/workspace/device-modbus-go/103@tmp/durable-6b91727e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:58:16 + echo total: 0.10999999940395355 [Pipeline] stash 22:58:16 Warning: overwriting stash ‘stack-cost’ 22:58:16 Stashed 1 file(s) [Pipeline] } 22:58:16 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-103-stack-cost] [Pipeline] // lock [Pipeline] } 22:58:16 $ docker stop --time=1 5d957a318384c3430729dfd95c000c062055395208d6d2342f776f098cfa7ea0 22:58:18 $ docker rm -f --volumes 5d957a318384c3430729dfd95c000c062055395208d6d2342f776f098cfa7ea0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 22:58:18 provisioning config files... 22:58:18 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9576702782784390544tmp [Pipeline] { [Pipeline] sh 22:58:18 + set +x 22:58:18 + curl -s https://codecov.io/bash 22:58:18 + bash -s -- 22:58:18 22:58:18 _____ _ 22:58:18 / ____| | | 22:58:18 | | ___ __| | ___ ___ _____ __ 22:58:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:58:18 | |___| (_) | (_| | __/ (_| (_) \ V / 22:58:18 \_____\___/ \__,_|\___|\___\___/ \_/ 22:58:18 Bash-1.0.6 22:58:18 22:58:18 22:58:18 ==> git version 2.25.1 found 22:58:18 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:58:18 Release-Date: 2020-01-08 22:58:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:58:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:58:18 ==> Jenkins CI detected. 22:58:18 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 22:58:18 project root: . 22:58:18 --> token set from env 22:58:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:58:18 ==> Running gcov in . (disable via -X gcov) 22:58:18 ==> Python coveragepy not found 22:58:18 ==> Searching for coverage reports in: 22:58:18 + . 22:58:18 -> Found 1 reports 22:58:18 ==> Detecting git/mercurial file structure 22:58:18 ==> Reading reports 22:58:18 + ./coverage.out bytes=24160 22:58:18 ==> Appending adjustments 22:58:18 https://docs.codecov.io/docs/fixing-reports 22:58:19 + Found adjustments 22:58:19 ==> Gzipping contents 22:58:19 4.0K /tmp/codecov.ANG24M.gz 22:58:19 ==> Uploading reports 22:58:19 url: https://codecov.io 22:58:19 query: branch=main&commit=8b019029337577f55c3ddf5891f69e829d86b4f5&build=103&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F103%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:58:19 -> Pinging Codecov 22:58:19 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=8b019029337577f55c3ddf5891f69e829d86b4f5&build=103&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F103%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:58:19 -> Uploading to 22:58:19 https://storage.googleapis.com/codecov/v4/raw/2023-05-09/55DBCA73C666E3227836607328DD7E49/8b019029337577f55c3ddf5891f69e829d86b4f5/410319b6-8e03-4a9f-a32a-42f14d010d3e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230509T225818Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a7ec1a3be66fa8bb91c5abf47f72697dead485f363bf7c8913b1ceddbc745f82 22:58:19 % Total % Received % Xferd Average Speed Time Time Time Current 22:58:19 Dload Upload Total Spent Left Speed 22:58:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 20020 --:--:-- --:--:-- --:--:-- 20020 22:58:19 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/8b019029337577f55c3ddf5891f69e829d86b4f5 [Pipeline] } 22:58:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:58:19 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:58:19 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:58:19 22:58:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:58:20 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:58:20 df9b9388f04a: Pulling fs layer 22:58:20 52dc419b0ee2: Pulling fs layer 22:58:20 25bc292e5bac: Pulling fs layer 22:58:20 114826534d7a: Pulling fs layer 22:58:20 4657fd5d0bcf: Pulling fs layer 22:58:20 6ad1cebc031e: Pulling fs layer 22:58:20 8a3aa393b2d8: Pulling fs layer 22:58:20 114826534d7a: Waiting 22:58:20 6ad1cebc031e: Waiting 22:58:20 8a3aa393b2d8: Waiting 22:58:20 4657fd5d0bcf: Waiting 22:58:20 25bc292e5bac: Download complete 22:58:20 52dc419b0ee2: Verifying Checksum 22:58:20 52dc419b0ee2: Download complete 22:58:20 4657fd5d0bcf: Download complete 22:58:20 df9b9388f04a: Verifying Checksum 22:58:20 df9b9388f04a: Download complete 22:58:20 6ad1cebc031e: Verifying Checksum 22:58:20 6ad1cebc031e: Download complete 22:58:20 df9b9388f04a: Pull complete 22:58:20 52dc419b0ee2: Pull complete 22:58:20 25bc292e5bac: Pull complete 22:58:20 114826534d7a: Verifying Checksum 22:58:20 114826534d7a: Download complete 22:58:20 8a3aa393b2d8: Verifying Checksum 22:58:20 8a3aa393b2d8: Download complete 22:58:24 114826534d7a: Pull complete 22:58:24 4657fd5d0bcf: Pull complete 22:58:24 6ad1cebc031e: Pull complete 22:58:28 8a3aa393b2d8: Pull complete 22:58:28 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:58:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:58:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:58:29 prd-ubuntu20.04-docker-8c-8g-14804 does not seem to be running inside a container 22:58:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:58:31 $ docker top 84151b7e0cd3142a5667f7f6ad6e8b1871f901d58ece00267a821de8bdf3c426 -eo pid,comm [Pipeline] { [Pipeline] echo 22:58:31 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 22:58:31 + set -o pipefail 22:58:31 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 22:58:43 22:58:43 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 22:58:43 22:58:43 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/18256459-73fa-4830-9d66-ae5326ad8b13 22:58:43 22:58:43 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 22:58:43 22:58:43 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:58:43 22:58:43 22:58:43 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:58:43 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:58:43 More details here: https://snyk.co/ue1NS 22:58:43 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 22:58:43 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 22:58:43 $ docker stop --time=1 84151b7e0cd3142a5667f7f6ad6e8b1871f901d58ece00267a821de8bdf3c426 22:58:47 $ docker rm -f --volumes 84151b7e0cd3142a5667f7f6ad6e8b1871f901d58ece00267a821de8bdf3c426 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:58:48 + git log --format=format:%s -1 8b019029337577f55c3ddf5891f69e829d86b4f5 [Pipeline] sh 22:58:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:58:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:58:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:58:49 prd-ubuntu20.04-docker-8c-8g-14804 does not seem to be running inside a container 22:58:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:58:49 $ docker top 887821347b76c216af916d6a07fe93fdbd0afc8a77b1cf37f588a072adfccdba -eo pid,comm 22:58:49 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:58:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:58:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:58:49 [ssh-agent] Looking for ssh-agent implementation... 22:58:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:58:49 $ docker exec 887821347b76c216af916d6a07fe93fdbd0afc8a77b1cf37f588a072adfccdba ssh-agent 22:58:49 SSH_AUTH_SOCK=/tmp/ssh-gvSwQ88uagvO/agent.32 22:58:49 SSH_AGENT_PID=38 22:58:49 Running ssh-add (command line suppressed) 22:58:50 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16481458232604105397.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16481458232604105397.key) 22:58:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:58:50 + git semver tag 22:58:50 2023-05-09 22:58:50,539 [run_tag] DEBUG tag force:False 22:58:50 2023-05-09 22:58:50,539 [check_head_tag] DEBUG check head tag 22:58:50 2023-05-09 22:58:50,541 [execute] INFO git cat-file --batch-check 22:58:50 2023-05-09 22:58:50,541 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 22:58:50 2023-05-09 22:58:50,545 [execute] INFO git cat-file --batch 22:58:50 2023-05-09 22:58:50,545 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 22:58:50 2023-05-09 22:58:50,571 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:58:50 2023-05-09 22:58:50,571 [execute] INFO git tag -a v3.0.0-dev.37 -m v3.0.0-dev.37 22:58:50 2023-05-09 22:58:50,571 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.37', '-m', 'v3.0.0-dev.37'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 22:58:50 2023-05-09 22:58:50,577 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:58:50 3.0.0-dev.37 [Pipeline] } 22:58:50 $ docker exec --env ******** --env ******** 887821347b76c216af916d6a07fe93fdbd0afc8a77b1cf37f588a072adfccdba ssh-agent -k 22:58:50 unset SSH_AUTH_SOCK; 22:58:50 unset SSH_AGENT_PID; 22:58:50 echo Agent pid 38 killed; 22:58:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:58:51 + git semver [Pipeline] } 22:58:51 $ docker stop --time=1 887821347b76c216af916d6a07fe93fdbd0afc8a77b1cf37f588a072adfccdba 22:58:52 $ docker rm -f --volumes 887821347b76c216af916d6a07fe93fdbd0afc8a77b1cf37f588a072adfccdba [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:58:52 22:58:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:58:53 0.23.1-centos7: Pulling from edgex-lftools 22:58:53 ab5ef0e58194: Pulling fs layer 22:58:53 9712f1f96733: Pulling fs layer 22:58:53 63f879dbbcfc: Pulling fs layer 22:58:53 0d9ebad4ef96: Pulling fs layer 22:58:53 e9a5061849ea: Pulling fs layer 22:58:53 d747dcd14b5f: Pulling fs layer 22:58:53 2de7ff778b66: Pulling fs layer 22:58:53 e9a5061849ea: Waiting 22:58:53 d747dcd14b5f: Waiting 22:58:53 0d9ebad4ef96: Waiting 22:58:53 2de7ff778b66: Waiting 22:58:53 9712f1f96733: Verifying Checksum 22:58:53 9712f1f96733: Download complete 22:58:53 63f879dbbcfc: Verifying Checksum 22:58:53 63f879dbbcfc: Download complete 22:58:53 e9a5061849ea: Verifying Checksum 22:58:53 e9a5061849ea: Download complete 22:58:53 0d9ebad4ef96: Verifying Checksum 22:58:53 0d9ebad4ef96: Download complete 22:58:53 d747dcd14b5f: Verifying Checksum 22:58:53 d747dcd14b5f: Download complete 22:58:53 ab5ef0e58194: Verifying Checksum 22:58:53 ab5ef0e58194: Download complete 22:58:53 2de7ff778b66: Verifying Checksum 22:58:53 2de7ff778b66: Download complete 22:58:57 ab5ef0e58194: Pull complete 22:58:57 9712f1f96733: Pull complete 22:58:57 63f879dbbcfc: Pull complete 22:59:01 0d9ebad4ef96: Pull complete 22:59:01 e9a5061849ea: Pull complete 22:59:02 d747dcd14b5f: Pull complete 22:59:03 2de7ff778b66: Pull complete 22:59:03 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:59:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:59:03 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:59:03 prd-ubuntu20.04-docker-8c-8g-14804 does not seem to be running inside a container 22:59:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:59:05 $ docker top 036ff2595c701dfad2d2a8cdc192cbc15ec2c240b9dd3da86dcd94b73039587d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:59:05 provisioning config files... 22:59:05 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8433607045115753544tmp 22:59:05 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18203190717084678782tmp 22:59:05 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9833740207397408513tmp [Pipeline] { [Pipeline] echo 22:59:05 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:59:06 ---> sigul-configuration.sh 22:59:06 gpg: directory `/root/.gnupg' created 22:59:06 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:59:06 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:59:06 gpg: keyring `/root/.gnupg/secring.gpg' created 22:59:06 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:59:06 gpg: CAST5 encrypted data 22:59:06 gpg: encrypted with 1 passphrase 22:59:06 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:59:06 + mkdir /home/jenkins 22:59:06 + mkdir /home/jenkins/sigul [Pipeline] sh 22:59: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 22:59:06 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:59:06 ---> sigul-install.sh 22:59:06 Sigul already installed; skipping installation. [Pipeline] sh 22:59:07 + git tag --list 22:59:07 0.7.1 22:59:07 v1.0.0 22:59:07 v1.1.0 22:59:07 v1.1.1 22:59:07 v1.2.2 22:59:07 v1.3.0 22:59:07 v1.3.1 22:59:07 v2.0.0 22:59:07 v2.1.0 22:59:07 v2.1.1 22:59:07 v2.1.1-dev.1 22:59:07 v2.1.1-dev.2 22:59:07 v2.1.1-dev.3 22:59:07 v2.2.0 22:59:07 v2.2.1-dev.1 22:59:07 v2.2.1-dev.2 22:59:07 v2.2.1-dev.3 22:59:07 v2.2.1-dev.4 22:59:07 v2.2.1-dev.5 22:59:07 v2.2.1-dev.6 22:59:07 v2.2.1-dev.7 22:59:07 v2.3.0 22:59:07 v2.3.0-dev.10 22:59:07 v2.3.0-dev.11 22:59:07 v2.3.0-dev.12 22:59:07 v2.3.0-dev.13 22:59:07 v2.3.0-dev.14 22:59:07 v2.3.0-dev.15 22:59:07 v2.3.0-dev.16 22:59:07 v2.3.0-dev.17 22:59:07 v2.3.0-dev.18 22:59:07 v2.3.0-dev.19 22:59:07 v2.3.0-dev.20 22:59:07 v2.3.0-dev.21 22:59:07 v2.3.0-dev.22 22:59:07 v2.3.0-dev.23 22:59:07 v2.3.0-dev.24 22:59:07 v2.3.0-dev.25 22:59:07 v2.3.0-dev.7 22:59:07 v2.3.0-dev.8 22:59:07 v2.3.0-dev.9 22:59:07 v3.0.0-dev.1 22:59:07 v3.0.0-dev.10 22:59:07 v3.0.0-dev.11 22:59:07 v3.0.0-dev.12 22:59:07 v3.0.0-dev.13 22:59:07 v3.0.0-dev.14 22:59:07 v3.0.0-dev.15 22:59:07 v3.0.0-dev.16 22:59:07 v3.0.0-dev.17 22:59:07 v3.0.0-dev.18 22:59:07 v3.0.0-dev.19 22:59:07 v3.0.0-dev.2 22:59:07 v3.0.0-dev.20 22:59:07 v3.0.0-dev.21 22:59:07 v3.0.0-dev.22 22:59:07 v3.0.0-dev.23 22:59:07 v3.0.0-dev.24 22:59:07 v3.0.0-dev.25 22:59:07 v3.0.0-dev.26 22:59:07 v3.0.0-dev.27 22:59:07 v3.0.0-dev.28 22:59:07 v3.0.0-dev.29 22:59:07 v3.0.0-dev.3 22:59:07 v3.0.0-dev.30 22:59:07 v3.0.0-dev.31 22:59:07 v3.0.0-dev.32 22:59:07 v3.0.0-dev.33 22:59:07 v3.0.0-dev.34 22:59:07 v3.0.0-dev.35 22:59:07 v3.0.0-dev.36 22:59:07 v3.0.0-dev.37 22:59:07 v3.0.0-dev.4 22:59:07 v3.0.0-dev.5 22:59:07 v3.0.0-dev.6 22:59:07 v3.0.0-dev.7 22:59:07 v3.0.0-dev.8 22:59:07 v3.0.0-dev.9 [Pipeline] sh 22:59:07 + lftools sign git-tag v3.0.0-dev.37 22:59:08 Signing Git tag with Sigul... 22:59:08 Signing v3.0.0-dev.37 [Pipeline] echo 22:59:08 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:59:08 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:59:08 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:59:08 $ docker stop --time=1 036ff2595c701dfad2d2a8cdc192cbc15ec2c240b9dd3da86dcd94b73039587d 22:59:09 $ docker rm -f --volumes 036ff2595c701dfad2d2a8cdc192cbc15ec2c240b9dd3da86dcd94b73039587d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:59:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:59:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:59:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:59:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:59:10 prd-ubuntu20.04-docker-8c-8g-14804 does not seem to be running inside a container 22:59:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:59:11 $ docker top 01263243bf0b38e6a91b2ca475fa65e12bb430e86bce603aeaa9f515e866a93b -eo pid,comm 22:59:11 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:59:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:59:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:59:11 [ssh-agent] Looking for ssh-agent implementation... 22:59:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:59:11 $ docker exec 01263243bf0b38e6a91b2ca475fa65e12bb430e86bce603aeaa9f515e866a93b ssh-agent 22:59:11 SSH_AUTH_SOCK=/tmp/ssh-jMYev3Qo3axI/agent.32 22:59:11 SSH_AGENT_PID=38 22:59:11 Running ssh-add (command line suppressed) 22:59:11 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3144997432988610205.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3144997432988610205.key) 22:59:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:59:11 + git semver bump pre 22:59:12 2023-05-09 22:59:12,009 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:59:12 2023-05-09 22:59:12,010 [bump_version] DEBUG bumping version:3.0.0-dev.37 on axis:pre with prefix:dev 22:59:12 2023-05-09 22:59:12,010 [bump_version] DEBUG bumped version:3.0.0-dev.38 22:59:12 2023-05-09 22:59:12,010 [write_version] DEBUG write version:3.0.0-dev.38 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 22:59:12 2023-05-09 22:59:12,010 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:59:12 2023-05-09 22:59:12,010 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:59:12 2023-05-09 22:59:12,012 [execute] INFO git cat-file --batch-check 22:59:12 2023-05-09 22:59:12,012 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:59:12 2023-05-09 22:59:12,018 [execute] INFO git cat-file --batch 22:59:12 2023-05-09 22:59:12,018 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:59:12 2023-05-09 22:59:12,025 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:59:12 3.0.0-dev.38 [Pipeline] } 22:59:12 $ docker exec --env ******** --env ******** 01263243bf0b38e6a91b2ca475fa65e12bb430e86bce603aeaa9f515e866a93b ssh-agent -k 22:59:12 unset SSH_AUTH_SOCK; 22:59:12 unset SSH_AGENT_PID; 22:59:12 echo Agent pid 38 killed; 22:59:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:59:12 + git semver [Pipeline] } 22:59:12 $ docker stop --time=1 01263243bf0b38e6a91b2ca475fa65e12bb430e86bce603aeaa9f515e866a93b 22:59:14 $ docker rm -f --volumes 01263243bf0b38e6a91b2ca475fa65e12bb430e86bce603aeaa9f515e866a93b [Pipeline] // withDockerContainer [Pipeline] sh 22:59:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:59:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:59:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:59:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:59:14 prd-ubuntu20.04-docker-8c-8g-14804 does not seem to be running inside a container 22:59:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:59:15 $ docker top b63ba312424126a4ea407065506887fca58e5550fb54a4b1b268662c1b1a91c4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:59:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:59:15 [ssh-agent] Looking for ssh-agent implementation... 22:59:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:59:15 $ docker exec b63ba312424126a4ea407065506887fca58e5550fb54a4b1b268662c1b1a91c4 ssh-agent 22:59:15 SSH_AUTH_SOCK=/tmp/ssh-c7R507ahWYRh/agent.31 22:59:15 SSH_AGENT_PID=37 22:59:15 Running ssh-add (command line suppressed) 22:59:15 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3439675883645363023.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3439675883645363023.key) 22:59:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:59:15 + git semver push 22:59:16 2023-05-09 22:59:16,033 [run_push] DEBUG push 22:59:16 2023-05-09 22:59:16,034 [execute] INFO git cat-file --batch-check 22:59:16 2023-05-09 22:59:16,034 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:59:16 2023-05-09 22:59:16,038 [execute] INFO git rev-list 9999a876683840c0fa80f2e96689722106988558 -- 22:59:16 2023-05-09 22:59:16,039 [execute] DEBUG Popen(['git', 'rev-list', '9999a876683840c0fa80f2e96689722106988558', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:59:16 2023-05-09 22:59:16,047 [execute] INFO git fetch -v origin 22:59:16 2023-05-09 22:59:16,047 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 22:59:16 2023-05-09 22:59:16,514 [run_push] DEBUG no remote changes detected 22:59:16 2023-05-09 22:59:16,515 [execute] INFO git push origin semver 22:59:16 2023-05-09 22:59:16,515 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:59:17 2023-05-09 22:59:17,301 [run_push] DEBUG push all version tags 22:59:17 2023-05-09 22:59:17,301 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:59:17 2023-05-09 22:59:17,302 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 22:59:18 2023-05-09 22:59:18,033 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:59:18 3.0.0-dev.38 [Pipeline] } 22:59:18 $ docker exec --env ******** --env ******** b63ba312424126a4ea407065506887fca58e5550fb54a4b1b268662c1b1a91c4 ssh-agent -k 22:59:18 unset SSH_AUTH_SOCK; 22:59:18 unset SSH_AGENT_PID; 22:59:18 echo Agent pid 37 killed; 22:59:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:59:18 + git semver [Pipeline] } 22:59:18 $ docker stop --time=1 b63ba312424126a4ea407065506887fca58e5550fb54a4b1b268662c1b1a91c4 22:59:20 $ docker rm -f --volumes b63ba312424126a4ea407065506887fca58e5550fb54a4b1b268662c1b1a91c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:59:20 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 22:59:20 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 22:59:20 total 16 22:59:20 drwxr-xr-x 3 root root 4096 May 9 22:50 . 22:59:20 drwxrwxr-x 11 jenkins jenkins 4096 May 9 22:59 .. 22:59:20 drwxr-xr-x 2 root root 4096 May 9 22:50 cost 22:59:20 -rw-r--r-- 1 root root 88 May 9 22:50 cost.csv 22:59:20 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 22:59:20 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 22:59:20 total 16 22:59:20 drwxr-xr-x 3 jenkins jenkins 4096 May 9 22:50 . 22:59:20 drwxrwxr-x 11 jenkins jenkins 4096 May 9 22:59 .. 22:59:20 drwxr-xr-x 2 jenkins jenkins 4096 May 9 22:50 cost 22:59:20 -rw-r--r-- 1 jenkins jenkins 88 May 9 22:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:59:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:59:21 ---> package-listing.sh 22:59:21 ++ facter osfamily 22:59:21 ++ tr '[:upper:]' '[:lower:]' 22:59:22 + OS_FAMILY=debian 22:59:22 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 22:59:22 + START_PACKAGES=/tmp/packages_start.txt 22:59:22 + END_PACKAGES=/tmp/packages_end.txt 22:59:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:59:22 + PACKAGES=/tmp/packages_start.txt 22:59:22 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 22:59:22 + PACKAGES=/tmp/packages_end.txt 22:59:22 + case "${OS_FAMILY}" in 22:59:22 + dpkg -l 22:59:22 + grep '^ii' 22:59:22 + '[' -f /tmp/packages_start.txt ']' 22:59:22 + '[' -f /tmp/packages_end.txt ']' 22:59:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:59:22 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 22:59:22 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 22:59: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 22:59: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 22:59:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:59:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:59:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:59:23 prd-ubuntu20.04-docker-8c-8g-14804 does not seem to be running inside a container 22:59: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 22:59:23 $ docker top 800413698a934acd1673a046edeb6fec2cfda0e933224b90f6442c6a29111375 -eo pid,comm [Pipeline] { [Pipeline] sh 22:59:23 + touch /tmp/pre-build-complete [Pipeline] sh 22:59:23 + mkdir -p /var/log/sysstat [Pipeline] sh 22:59:24 + ls /var/log/sa-host 22:59:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:59:24 provisioning config files... 22:59:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15862581367509533319tmp [Pipeline] { [Pipeline] echo 22:59:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:59:24 ---> create-netrc.sh [Pipeline] } 22:59:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:59:25 ---> python-tools-install.sh [Pipeline] echo 22:59:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:59:25 ---> sudo-logs.sh 22:59:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:59:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:59:25 ---> job-cost.sh 22:59:25 lf-activate-venv: SKIPPING 22:59:25 DEBUG: total: 0.2199999988079071 22:59:25 INFO: Retrieving Stack Cost... 22:59:26 INFO: Retrieving Pricing Info for: v3-standard-8 22:59:26 INFO: Archiving Costs [Pipeline] echo 22:59:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:59:26 ---> logs-deploy.sh 22:59:26 lf-activate-venv: SKIPPING 22:59:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/103 22:59:26 INFO: archiving workspace using pattern(s): 22:59:27 Archives upload complete. 22:59:27 INFO: archiving logs to Nexus