Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c 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-ssh2592980051561652645.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-ssh9880062868986253824.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-ssh1872107180413037155.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-ssh15171229732613384231.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-ssh3136145564076349051.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 ‘prd-centos7-blackbox-4c-2g-14349’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-14350’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-builder-2c-1g-15204’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-15207’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-15206’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15210 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 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#479)" > 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 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c # timeout=10 > git rev-list --no-walk 5189b6b75de2ff976af34f9037f44b6050849efe # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:13:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:13:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:13:16 ========================================================= 14:13:16 EdgeX Global Pipelines Version Info 14:13:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:13:16 ------------------- 14:13:16 stable info: 14:13:16 ------------------- 14:13:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:13:16 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 14:13:16 Message: update stable to v1.0.249 14:13:17 ------------------- 14:13:17 experimental info: 14:13:17 ------------------- 14:13:17 Commited By: **** collab-it+edgex@linuxfoundation.org 14:13:17 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 14:13:17 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:13:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 14:13:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 14:13:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:13:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:13:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:13:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 14:13:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:13:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:13:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:13:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:13:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:13:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 14:13:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:13:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:13:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:13:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:13:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:13:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:13:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:13:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:13:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:13:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:13:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:13:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:13:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:13:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:13:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:13:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 14:13:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 14:13:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 14:13:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c [Pipeline] echo 14:13:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4df1e9a [Pipeline] echo 14:13:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:13:18 provisioning config files... 14:13:18 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11039132582392064555tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:13:18 ---> docker-login.sh 14:13:18 nexus3.edgexfoundry.org:10001 14:13:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:13:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:13:18 Configure a credential helper to remove this warning. See 14:13:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:13:18 14:13:18 Login Succeeded 14:13:18 nexus3.edgexfoundry.org:10002 14:13:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:13:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:13:18 Configure a credential helper to remove this warning. See 14:13:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:13:18 14:13:18 Login Succeeded 14:13:18 nexus3.edgexfoundry.org:10003 14:13:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:13:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:13:18 Configure a credential helper to remove this warning. See 14:13:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:13:18 14:13:18 Login Succeeded 14:13:18 nexus3.edgexfoundry.org:10004 14:13:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:13:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:13:18 Configure a credential helper to remove this warning. See 14:13:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:13:18 14:13:18 Login Succeeded 14:13:18 docker.io 14:13:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:13:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:13:19 Configure a credential helper to remove this warning. See 14:13:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:13:19 14:13:19 Login Succeeded 14:13:19 ---> docker-login.sh ends [Pipeline] } 14:13:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:13:19 + git rev-list -1 --merges 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c~1..4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c [Pipeline] echo 14:13:19 -----------> git rev-list -1 --merges 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c~1..4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c [false] [Pipeline] sh 14:13:20 + git log --format=format:%s -1 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c [Pipeline] echo 14:13:20 ========================================================= 14:13:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:13:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:13:20 + git log --format=format:%s -1 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c [Pipeline] echo 14:13:20 [semverPrep] GIT_COMMIT: 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#479) [Pipeline] echo 14:13:20 [semverPrep] This is not a build commit. [Pipeline] sh 14:13:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:13:20 + grep -v github /etc/ssh/ssh_known_hosts 14:13:20 + [ -e /tmp/ssh_known_hosts ] 14:13:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:13:20 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:13:20 sudo tee -a /etc/ssh/ssh_known_hosts 14:13:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:13:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:13:21 14:13:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:13:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:13:21 0.1.4: Pulling from edgex-devops/py-git-semver 14:13:21 b85a868b505f: Pulling fs layer 14:13:21 e2be974225ed: Pulling fs layer 14:13:21 339a4e72a1f5: Pulling fs layer 14:13:21 988bab9f4d93: Pulling fs layer 14:13:21 1469e6f7b9e6: Pulling fs layer 14:13:21 eaf3925da568: Pulling fs layer 14:13:21 bab4dde63d76: Pulling fs layer 14:13:21 bde34c3a00c8: Pulling fs layer 14:13:21 b352a97aabf1: Pulling fs layer 14:13:21 4872d77fe225: Pulling fs layer 14:13:21 5851b861e8e6: Pulling fs layer 14:13:21 bab4dde63d76: Waiting 14:13:21 bde34c3a00c8: Waiting 14:13:21 b352a97aabf1: Waiting 14:13:21 4872d77fe225: Waiting 14:13:21 5851b861e8e6: Waiting 14:13:21 988bab9f4d93: Waiting 14:13:21 1469e6f7b9e6: Waiting 14:13:21 eaf3925da568: Waiting 14:13:21 e2be974225ed: Verifying Checksum 14:13:21 e2be974225ed: Download complete 14:13:21 988bab9f4d93: Verifying Checksum 14:13:21 988bab9f4d93: Download complete 14:13:21 1469e6f7b9e6: Verifying Checksum 14:13:21 1469e6f7b9e6: Download complete 14:13:21 339a4e72a1f5: Verifying Checksum 14:13:21 339a4e72a1f5: Download complete 14:13:21 eaf3925da568: Verifying Checksum 14:13:21 eaf3925da568: Download complete 14:13:21 bde34c3a00c8: Verifying Checksum 14:13:21 bde34c3a00c8: Download complete 14:13:21 b352a97aabf1: Verifying Checksum 14:13:21 b352a97aabf1: Download complete 14:13:21 4872d77fe225: Verifying Checksum 14:13:21 4872d77fe225: Download complete 14:13:21 5851b861e8e6: Verifying Checksum 14:13:21 5851b861e8e6: Download complete 14:13:21 b85a868b505f: Verifying Checksum 14:13:21 b85a868b505f: Download complete 14:13:21 bab4dde63d76: Verifying Checksum 14:13:21 bab4dde63d76: Download complete 14:13:22 b85a868b505f: Pull complete 14:13:23 e2be974225ed: Pull complete 14:13:23 339a4e72a1f5: Pull complete 14:13:23 988bab9f4d93: Pull complete 14:13:24 1469e6f7b9e6: Pull complete 14:13:24 eaf3925da568: Pull complete 14:13:26 bab4dde63d76: Pull complete 14:13:26 bde34c3a00c8: Pull complete 14:13:27 b352a97aabf1: Pull complete 14:13:27 4872d77fe225: Pull complete 14:13:27 5851b861e8e6: Pull complete 14:13:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:13:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:13:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:13:28 prd-ubuntu20.04-docker-8c-8g-15210 does not seem to be running inside a container 14:13: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 14:13:32 $ docker top bccc708fd4194ab73a47f130c7be8023c7ece3bfc4c3009e1fb644eacaf82d05 -eo pid,comm 14:13:32 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). 14:13:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:13:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:13:33 [ssh-agent] Looking for ssh-agent implementation... 14:13:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:13:33 $ docker exec bccc708fd4194ab73a47f130c7be8023c7ece3bfc4c3009e1fb644eacaf82d05 ssh-agent 14:13:33 SSH_AUTH_SOCK=/tmp/ssh-HcBbTJecQnHU/agent.31 14:13:33 SSH_AGENT_PID=37 14:13:33 Running ssh-add (command line suppressed) 14:13:33 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1341537201491267615.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1341537201491267615.key) 14:13:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:13:33 + git tag --points-at HEAD [Pipeline] } 14:13:33 $ docker exec --env ******** --env ******** bccc708fd4194ab73a47f130c7be8023c7ece3bfc4c3009e1fb644eacaf82d05 ssh-agent -k 14:13:33 unset SSH_AUTH_SOCK; 14:13:33 unset SSH_AGENT_PID; 14:13:33 echo Agent pid 37 killed; 14:13:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:13:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:13:33 [ssh-agent] Looking for ssh-agent implementation... 14:13:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:13:33 $ docker exec bccc708fd4194ab73a47f130c7be8023c7ece3bfc4c3009e1fb644eacaf82d05 ssh-agent 14:13:34 SSH_AUTH_SOCK=/tmp/ssh-pARz9tOhVXZ0/agent.69 14:13:34 SSH_AGENT_PID=75 14:13:34 Running ssh-add (command line suppressed) 14:13:34 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17663550846608322258.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17663550846608322258.key) 14:13:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:13:34 + git semver init 14:13:35 2023-05-11 14:13:34,863 [run_init] DEBUG init version:0.0.0 force:False 14:13:35 2023-05-11 14:13:34,864 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 14:13:35 2023-05-11 14:13:34,865 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 14:13:35 2023-05-11 14:13:34,866 [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) 14:13:36 2023-05-11 14:13:35,721 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 14:13:36 2023-05-11 14:13:35,721 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 14:13:36 2023-05-11 14:13:35,722 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 14:13:36 2023-05-11 14:13:35,722 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 14:13:36 3.0.0-dev.40 [Pipeline] } 14:13:36 $ docker exec --env ******** --env ******** bccc708fd4194ab73a47f130c7be8023c7ece3bfc4c3009e1fb644eacaf82d05 ssh-agent -k 14:13:36 unset SSH_AUTH_SOCK; 14:13:36 unset SSH_AGENT_PID; 14:13:36 echo Agent pid 75 killed; 14:13:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:13:36 + git semver [Pipeline] } 14:13:36 $ docker stop --time=1 bccc708fd4194ab73a47f130c7be8023c7ece3bfc4c3009e1fb644eacaf82d05 14:13:38 $ docker rm -f --volumes bccc708fd4194ab73a47f130c7be8023c7ece3bfc4c3009e1fb644eacaf82d05 [Pipeline] // withDockerContainer [Pipeline] sh 14:13:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:13:38 Stashed 1 file(s) [Pipeline] echo 14:13:38 [edgeXSemver]: initialized semver on version 3.0.0-dev.40 [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 14:13:38 provisioning config files... 14:13:38 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4152310869077263419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:13:39 ---> docker-login.sh 14:13:39 nexus3.edgexfoundry.org:10001 14:13:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:13:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:13:39 Configure a credential helper to remove this warning. See 14:13:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:13:39 14:13:39 Login Succeeded 14:13:39 nexus3.edgexfoundry.org:10002 14:13:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:13:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:13:39 Configure a credential helper to remove this warning. See 14:13:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:13:39 14:13:39 Login Succeeded 14:13:39 nexus3.edgexfoundry.org:10003 14:13:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:13:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:13:39 Configure a credential helper to remove this warning. See 14:13:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:13:39 14:13:39 Login Succeeded 14:13:39 nexus3.edgexfoundry.org:10004 14:13:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:13:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:13:39 Configure a credential helper to remove this warning. See 14:13:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:13:39 14:13:39 Login Succeeded 14:13:39 docker.io 14:13:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:13:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:13:39 Configure a credential helper to remove this warning. See 14:13:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:13:39 14:13:39 Login Succeeded 14:13:39 ---> docker-login.sh ends [Pipeline] } 14:13:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:13:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:13:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:13:39 ========================================================= 14:13:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 14:13:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:13:39 + 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 . 14:13:39 Sending build context to Docker daemon 6.503MB 14:13:39 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 14:13:39 Step 2/10 : FROM ${BASE} AS builder 14:13:39 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 14:13:39 f56be85fc22e: Pulling fs layer 14:13:39 85791d961cd3: Pulling fs layer 14:13:39 d694b5ae8c79: Pulling fs layer 14:13:39 9f32a84ed3da: Pulling fs layer 14:13:39 4d19c01a9841: Pulling fs layer 14:13:39 9325e15d5711: Pulling fs layer 14:13:39 556b6ee489ea: Pulling fs layer 14:13:39 c5a4b2cf53e6: Pulling fs layer 14:13:39 9f32a84ed3da: Waiting 14:13:39 4d19c01a9841: Waiting 14:13:39 9325e15d5711: Waiting 14:13:39 556b6ee489ea: Waiting 14:13:39 c5a4b2cf53e6: Waiting 14:13:39 85791d961cd3: Download complete 14:13:40 9f32a84ed3da: Verifying Checksum 14:13:40 9f32a84ed3da: Download complete 14:13:40 4d19c01a9841: Download complete 14:13:40 f56be85fc22e: Download complete 14:13:40 9325e15d5711: Verifying Checksum 14:13:40 9325e15d5711: Download complete 14:13:40 f56be85fc22e: Pull complete 14:13:40 85791d961cd3: Pull complete 14:13:40 d694b5ae8c79: Verifying Checksum 14:13:40 d694b5ae8c79: Download complete 14:13:40 c5a4b2cf53e6: Verifying Checksum 14:13:40 c5a4b2cf53e6: Download complete 14:13:41 556b6ee489ea: Verifying Checksum 14:13:41 556b6ee489ea: Download complete 14:13:44 d694b5ae8c79: Pull complete 14:13:44 9f32a84ed3da: Pull complete 14:13:44 4d19c01a9841: Pull complete 14:13:44 9325e15d5711: Pull complete 14:13:47 556b6ee489ea: Pull complete 14:13:48 c5a4b2cf53e6: Pull complete 14:13:48 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 14:13:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 14:13:48 ---> c4be618373d6 14:13:48 Step 3/10 : ARG ADD_BUILD_TAGS="" 14:13:53 Still waiting to schedule task 14:13:53 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15206’ 14:13:54 ---> Running in 0c503cd66f92 14:13:54 Removing intermediate container 0c503cd66f92 14:13:54 ---> 14b2fbf47d73 14:13:54 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:13:55 ---> Running in 7bcc17704bdd 14:13:55 Removing intermediate container 7bcc17704bdd 14:13:55 ---> 6d8a289f4190 14:13:55 Step 5/10 : RUN apk add --update --no-cache make git openssh 14:13:55 ---> Running in 14f60091afa5 14:13:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 14:13:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 14:13:55 (1/8) Installing openssh-keygen (9.1_p1-r2) 14:13:55 (2/8) Installing libedit (20221030.3.1-r0) 14:13:55 (3/8) Installing openssh-client-common (9.1_p1-r2) 14:13:55 (4/8) Installing openssh-client-default (9.1_p1-r2) 14:13:55 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 14:13:55 (6/8) Installing openssh-server-common (9.1_p1-r2) 14:13:55 (7/8) Installing openssh-server (9.1_p1-r2) 14:13:55 (8/8) Installing openssh (9.1_p1-r2) 14:13:55 Executing busybox-1.35.0-r29.trigger 14:13:55 OK: 270 MiB in 61 packages 14:13:56 Removing intermediate container 14f60091afa5 14:13:56 ---> e3c33ae10bc2 14:13:56 Step 6/10 : WORKDIR /device-modbus-go 14:13:56 ---> Running in c0e4e5b86e1c 14:13:56 Removing intermediate container c0e4e5b86e1c 14:13:56 ---> 6679bfcbf721 14:13:56 Step 7/10 : COPY go.mod vendor* ./ 14:13:56 ---> b91ca3ae1a04 14:13:56 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:13:56 ---> Running in 46ac7067127c 14:14:29 Removing intermediate container 46ac7067127c 14:14:29 ---> 0f621d7aeb6c 14:14:29 Step 9/10 : COPY . . 14:14:29 ---> 8c2bcb571f77 14:14:29 Step 10/10 : RUN ${MAKE} 14:14:29 ---> Running in 55c69e216926 14:14:29 noop 14:14:29 Removing intermediate container 55c69e216926 14:14:29 ---> 62328b99a700 14:14:29 Successfully built 62328b99a700 14:14:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:14:29 + docker inspect -f . ci-base-image-x86_64 14:14:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:14:29 prd-ubuntu20.04-docker-8c-8g-15210 does not seem to be running inside a container 14:14:29 $ 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 14:14:29 $ docker top 73318f535ad13cae73cd38f9ac2a6ebffd27b2a58d471e779e40e37634771257 -eo pid,comm [Pipeline] { [Pipeline] sh 14:14:30 + go version 14:14:30 go version go1.20.2 linux/amd64 [Pipeline] } 14:14:30 $ docker stop --time=1 73318f535ad13cae73cd38f9ac2a6ebffd27b2a58d471e779e40e37634771257 14:14:31 $ docker rm -f --volumes 73318f535ad13cae73cd38f9ac2a6ebffd27b2a58d471e779e40e37634771257 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:14:32 + docker inspect -f . ci-base-image-x86_64 14:14:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:14:32 prd-ubuntu20.04-docker-8c-8g-15210 does not seem to be running inside a container 14:14:32 $ 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 14:14:32 $ docker top 704fca5051ec73b3e323a69ec2012ef917cd06a92f6832e61d37ecc8697f83e6 -eo pid,comm [Pipeline] { [Pipeline] sh 14:14:32 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 14:14:33 + make test 14:14:33 go test ./... -coverprofile=coverage.out 14:14:38 ? github.com/edgexfoundry/device-modbus-go [no test files] 14:14:48 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 14:14:48 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.4% of statements 14:14:56 go vet ./... 14:14:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:14:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:14:59 ./bin/test-attribution-txt.sh [Pipeline] echo 14:14:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:14:59 $ docker stop --time=1 704fca5051ec73b3e323a69ec2012ef917cd06a92f6832e61d37ecc8697f83e6 14:15:04 $ docker rm -f --volumes 704fca5051ec73b3e323a69ec2012ef917cd06a92f6832e61d37ecc8697f83e6 [Pipeline] // withDockerContainer [Pipeline] sh 14:15:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:15:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:15:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:15:06 + ls -al . 14:15:06 total 184 14:15:06 drwxrwxr-x 10 jenkins jenkins 4096 May 11 14:14 . 14:15:06 drwxrwxr-x 4 jenkins jenkins 4096 May 11 14:13 .. 14:15:06 -rw-rw-r-- 1 jenkins jenkins 140 May 11 14:13 .dockerignore 14:15:06 drwxrwxr-x 8 jenkins jenkins 4096 May 11 14:13 .git 14:15:06 drwxrwxr-x 3 jenkins jenkins 4096 May 11 14:13 .github 14:15:06 -rw-rw-r-- 1 jenkins jenkins 331 May 11 14:13 .gitignore 14:15:06 -rw-rw-r-- 1 jenkins jenkins 41 May 11 14:13 .golangci.yml 14:15:06 drwxr-xr-x 3 jenkins jenkins 4096 May 11 14:13 .semver 14:15:06 -rw-rw-r-- 1 jenkins jenkins 10132 May 11 14:13 Attribution.txt 14:15:06 -rw-rw-r-- 1 jenkins jenkins 11576 May 11 14:13 CHANGELOG.md 14:15:06 -rw-rw-r-- 1 jenkins jenkins 1365 May 11 14:13 Dockerfile 14:15:06 -rw-rw-r-- 1 jenkins jenkins 677 May 11 14:13 GOVERNANCE.md 14:15:06 -rw-rw-r-- 1 jenkins jenkins 680 May 11 14:13 Jenkinsfile 14:15:06 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 14:13 LICENSE 14:15:06 -rw-rw-r-- 1 jenkins jenkins 1705 May 11 14:13 Makefile 14:15:06 -rw-rw-r-- 1 jenkins jenkins 622 May 11 14:13 OWNERS.md 14:15:06 -rw-rw-r-- 1 jenkins jenkins 4554 May 11 14:13 README.md 14:15:06 -rw-rw-r-- 1 jenkins jenkins 12 May 11 14:13 VERSION 14:15:06 drwxrwxr-x 2 jenkins jenkins 4096 May 11 14:13 bin 14:15:06 drwxrwxr-x 3 jenkins jenkins 4096 May 11 14:13 cmd 14:15:06 -rw-r--r-- 1 jenkins jenkins 24160 May 11 14:14 coverage.out 14:15:06 -rw-rw-r-- 1 jenkins jenkins 3453 May 11 14:13 go.mod 14:15:06 -rw-rw-r-- 1 jenkins jenkins 31670 May 11 14:13 go.sum 14:15:06 drwxrwxr-x 3 jenkins jenkins 4096 May 11 14:13 internal 14:15:06 drwxrwxr-x 2 jenkins jenkins 4096 May 11 14:13 simulator 14:15:06 drwxrwxr-x 4 jenkins jenkins 4096 May 11 14:13 snap 14:15:06 -rw-rw-r-- 1 jenkins jenkins 229 May 11 14:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:15:06 + 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=4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c --label arch=amd64 --label version=3.0.0-dev.40 . 14:15:06 Sending build context to Docker daemon 6.529MB 14:15:06 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 14:15:06 Step 2/22 : FROM ${BASE} AS builder 14:15:06 ---> 62328b99a700 14:15:06 Step 3/22 : ARG ADD_BUILD_TAGS="" 14:15:06 ---> Running in 1fed89fda559 14:15:07 Removing intermediate container 1fed89fda559 14:15:07 ---> 15c77184ae80 14:15:07 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:15:07 ---> Running in 156c5e9b3e27 14:15:07 Removing intermediate container 156c5e9b3e27 14:15:07 ---> 10585853424c 14:15:07 Step 5/22 : RUN apk add --update --no-cache make git openssh 14:15:07 ---> Running in 75e50d56dba8 14:15:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 14:15:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 14:15:07 OK: 270 MiB in 61 packages 14:15:08 Removing intermediate container 75e50d56dba8 14:15:08 ---> c4e92d60fdd8 14:15:08 Step 6/22 : WORKDIR /device-modbus-go 14:15:08 ---> Running in c81da9295bdc 14:15:08 Removing intermediate container c81da9295bdc 14:15:08 ---> 63ce84d0ed9f 14:15:08 Step 7/22 : COPY go.mod vendor* ./ 14:15:08 ---> 48357297eee0 14:15:08 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:15:08 ---> Running in 039d63e51580 14:15:09 Removing intermediate container 039d63e51580 14:15:09 ---> b0639ba28a7b 14:15:09 Step 9/22 : COPY . . 14:15:09 ---> 3f7ac79e42ca 14:15:09 Step 10/22 : RUN ${MAKE} 14:15:09 ---> Running in 04b2ac81a7d9 14:15:10 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.40" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 14:15:33 Removing intermediate container 04b2ac81a7d9 14:15:33 ---> a1bd9c0e37a5 14:15:33 Step 11/22 : FROM alpine:3.17 14:15:33 3.17: Pulling from library/alpine 14:15:33 f56be85fc22e: Already exists 14:15:33 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 14:15:33 Status: Downloaded newer image for alpine:3.17 14:15:33 ---> 9ed4aefc74f6 14:15:33 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 14:15:33 ---> Running in 1a07cd4362bd 14:15:33 Removing intermediate container 1a07cd4362bd 14:15:33 ---> 33c260da9963 14:15:33 Step 13/22 : RUN apk add --update --no-cache dumb-init 14:15:33 ---> Running in c1a01ba9398d 14:15:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 14:15:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 14:15:33 (1/1) Installing dumb-init (1.2.5-r2) 14:15:33 Executing busybox-1.35.0-r29.trigger 14:15:33 OK: 7 MiB in 16 packages 14:15:33 Removing intermediate container c1a01ba9398d 14:15:33 ---> e57149aaa2cf 14:15:33 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 14:15:33 ---> abe2d09ee618 14:15:33 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 14:15:33 ---> ea3e7a7a5365 14:15:33 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 14:15:33 ---> f97a409d11fd 14:15:33 Step 17/22 : EXPOSE 59901 14:15:33 ---> Running in 53d97a28c935 14:15:33 Removing intermediate container 53d97a28c935 14:15:33 ---> 43671cd24d64 14:15:33 Step 18/22 : ENTRYPOINT ["/device-modbus"] 14:15:33 ---> Running in a84f3cfc7a6a 14:15:33 Removing intermediate container a84f3cfc7a6a 14:15:33 ---> 7b40c088d9d4 14:15:33 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 14:15:33 ---> Running in 10c11f213480 14:15:33 Removing intermediate container 10c11f213480 14:15:33 ---> 52e0267d7601 14:15:33 Step 20/22 : LABEL arch=amd64 14:15:34 ---> Running in e6d5529acc16 14:15:34 Removing intermediate container e6d5529acc16 14:15:34 ---> a2ab23d1a4d3 14:15:34 Step 21/22 : LABEL git_sha=4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c 14:15:34 ---> Running in f631c45fb7ba 14:15:34 Removing intermediate container f631c45fb7ba 14:15:34 ---> 18a731cd25a5 14:15:34 Step 22/22 : LABEL version=3.0.0-dev.40 14:15:34 ---> Running in e6c158aaeb80 14:15:34 Removing intermediate container e6c158aaeb80 14:15:34 ---> 04f12cf00859 14:15:34 [Warning] One or more build-args [ARCH] were not consumed 14:15:34 Successfully built 04f12cf00859 14:15:34 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:15:34 provisioning config files... 14:15:34 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17187211487010024868tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:15:35 ---> docker-login.sh 14:15:35 nexus3.edgexfoundry.org:10001 14:15:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:15:35 Configure a credential helper to remove this warning. See 14:15:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:15:35 14:15:35 Login Succeeded 14:15:35 nexus3.edgexfoundry.org:10002 14:15:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:15:35 Configure a credential helper to remove this warning. See 14:15:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:15:35 14:15:35 Login Succeeded 14:15:35 nexus3.edgexfoundry.org:10003 14:15:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:15:35 Configure a credential helper to remove this warning. See 14:15:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:15:35 14:15:35 Login Succeeded 14:15:35 nexus3.edgexfoundry.org:10004 14:15:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:15:35 Configure a credential helper to remove this warning. See 14:15:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:15:35 14:15:35 Login Succeeded 14:15:35 docker.io 14:15:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:15:35 Configure a credential helper to remove this warning. See 14:15:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:15:35 14:15:35 Login Succeeded 14:15:35 ---> docker-login.sh ends [Pipeline] } 14:15:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:15:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:15:35 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 14:15:35 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c 14:15:35 latest 14:15:35 3.0.0-dev.40 14:15:35 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c-3.0.0-dev.40 14:15:35 main 14:15:35 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:15:36 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:15:36 + docker push nexus3.edgexfoundry.org:10004/device-modbus:4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c 14:15:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 14:15:36 e0b052a5c53b: Preparing 14:15:36 0554904e289d: Preparing 14:15:36 ecfc4cfb4225: Preparing 14:15:36 d10f1c1f6b3b: Preparing 14:15:36 f1417ff83b31: Preparing 14:15:36 f1417ff83b31: Layer already exists 14:15:36 d10f1c1f6b3b: Pushed 14:15:36 0554904e289d: Pushed 14:15:36 e0b052a5c53b: Pushed 14:15:39 ecfc4cfb4225: Pushed 14:15:39 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c: digest: sha256:a98050f5fd5350d4b9748353707e279b261bc4101599d3b715581e9de67d0e9a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:15:39 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:15:40 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 14:15:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 14:15:40 e0b052a5c53b: Preparing 14:15:40 0554904e289d: Preparing 14:15:40 ecfc4cfb4225: Preparing 14:15:40 d10f1c1f6b3b: Preparing 14:15:40 f1417ff83b31: Preparing 14:15:40 f1417ff83b31: Layer already exists 14:15:40 0554904e289d: Layer already exists 14:15:40 e0b052a5c53b: Layer already exists 14:15:40 d10f1c1f6b3b: Layer already exists 14:15:40 ecfc4cfb4225: Layer already exists 14:15:40 latest: digest: sha256:a98050f5fd5350d4b9748353707e279b261bc4101599d3b715581e9de67d0e9a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:15:40 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.40 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:15:40 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.40 14:15:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 14:15:40 e0b052a5c53b: Preparing 14:15:40 0554904e289d: Preparing 14:15:40 ecfc4cfb4225: Preparing 14:15:40 d10f1c1f6b3b: Preparing 14:15:40 f1417ff83b31: Preparing 14:15:40 d10f1c1f6b3b: Layer already exists 14:15:40 f1417ff83b31: Layer already exists 14:15:40 e0b052a5c53b: Layer already exists 14:15:40 ecfc4cfb4225: Layer already exists 14:15:40 0554904e289d: Layer already exists 14:15:40 3.0.0-dev.40: digest: sha256:a98050f5fd5350d4b9748353707e279b261bc4101599d3b715581e9de67d0e9a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:15:41 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c-3.0.0-dev.40 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:15:41 + docker push nexus3.edgexfoundry.org:10004/device-modbus:4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c-3.0.0-dev.40 14:15:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 14:15:41 e0b052a5c53b: Preparing 14:15:41 0554904e289d: Preparing 14:15:41 ecfc4cfb4225: Preparing 14:15:41 d10f1c1f6b3b: Preparing 14:15:41 f1417ff83b31: Preparing 14:15:41 f1417ff83b31: Layer already exists 14:15:41 d10f1c1f6b3b: Layer already exists 14:15:41 e0b052a5c53b: Layer already exists 14:15:41 0554904e289d: Layer already exists 14:15:41 ecfc4cfb4225: Layer already exists 14:15:41 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c-3.0.0-dev.40: digest: sha256:a98050f5fd5350d4b9748353707e279b261bc4101599d3b715581e9de67d0e9a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:15:41 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:15:42 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 14:15:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 14:15:42 e0b052a5c53b: Preparing 14:15:42 0554904e289d: Preparing 14:15:42 ecfc4cfb4225: Preparing 14:15:42 d10f1c1f6b3b: Preparing 14:15:42 f1417ff83b31: Preparing 14:15:42 f1417ff83b31: Layer already exists 14:15:42 d10f1c1f6b3b: Layer already exists 14:15:42 e0b052a5c53b: Layer already exists 14:15:42 ecfc4cfb4225: Layer already exists 14:15:42 0554904e289d: Layer already exists 14:15:42 main: digest: sha256:a98050f5fd5350d4b9748353707e279b261bc4101599d3b715581e9de67d0e9a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:15:42 ===================================================== [Pipeline] echo 14:15:42 taggedImages: 14:15:42 - nexus3.edgexfoundry.org:10004/device-modbus:4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c 14:15:42 - nexus3.edgexfoundry.org:10004/device-modbus:latest 14:15:42 - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.40 14:15:42 - nexus3.edgexfoundry.org:10004/device-modbus:4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c-3.0.0-dev.40 14:15:42 - 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 14:15:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:15:42 14:15:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:15:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:15:42 latest: Pulling from edgex-lftools-log-publisher 14:15:42 5eb5b503b376: Pulling fs layer 14:15:42 5c69ac0246d0: Pulling fs layer 14:15:42 ec43610c2a17: Pulling fs layer 14:15:42 3a2ae6a8a46f: Pulling fs layer 14:15:42 33b1e0a273af: Pulling fs layer 14:15:42 5d3b04190fa2: Pulling fs layer 14:15:42 2f39f015ded8: Pulling fs layer 14:15:42 33b1e0a273af: Waiting 14:15:42 3a2ae6a8a46f: Waiting 14:15:42 5c69ac0246d0: Download complete 14:15:42 3a2ae6a8a46f: Verifying Checksum 14:15:42 3a2ae6a8a46f: Download complete 14:15:43 33b1e0a273af: Verifying Checksum 14:15:43 33b1e0a273af: Download complete 14:15:43 5d3b04190fa2: Verifying Checksum 14:15:43 5d3b04190fa2: Download complete 14:15:43 ec43610c2a17: Verifying Checksum 14:15:43 ec43610c2a17: Download complete 14:15:43 5eb5b503b376: Verifying Checksum 14:15:43 5eb5b503b376: Download complete 14:15:44 2f39f015ded8: Verifying Checksum 14:15:44 5eb5b503b376: Pull complete 14:15:44 5c69ac0246d0: Pull complete 14:15:45 ec43610c2a17: Pull complete 14:15:45 3a2ae6a8a46f: Pull complete 14:15:45 33b1e0a273af: Pull complete 14:15:45 5d3b04190fa2: Pull complete 14:15:50 2f39f015ded8: Pull complete 14:15:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:15:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:15:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:15:50 prd-ubuntu20.04-docker-8c-8g-15210 does not seem to be running inside a container 14:15:50 $ 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 14:15:55 $ docker top a27c0debd177a102a879f980e77f23168427fd2c8a9ffc1b8917024fb400b113 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:15:56 ---> job-cost.sh 14:15:56 lf-activate-venv: SKIPPING 14:15:56 INFO: No Stack... 14:15:56 INFO: Retrieving Pricing Info for: v3-standard-8 14:15:56 INFO: Archiving Costs [Pipeline] sh 14:15:56 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 14:15:56 + cut -d, -f6 [Pipeline] lock 14:15:56 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-106-stack-cost] 14:15:56 Resource [jenkins-edgexfoundry-device-modbus-go-main-106-stack-cost] did not exist. Created. 14:15:56 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-106-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:15:57 + echo total: 0.2199999988079071 [Pipeline] stash 14:15:57 Stashed 1 file(s) [Pipeline] } 14:15:57 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-106-stack-cost] [Pipeline] // lock [Pipeline] } 14:15:57 $ docker stop --time=1 a27c0debd177a102a879f980e77f23168427fd2c8a9ffc1b8917024fb400b113 14:15:58 $ docker rm -f --volumes a27c0debd177a102a879f980e77f23168427fd2c8a9ffc1b8917024fb400b113 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:16:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15213 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 14:16:12 Running in /w/workspace/device-modbus-go/106 [Pipeline] { [Pipeline] checkout 14:16:12 Selected Git installation does not exist. Using Default 14:16:12 The recommended git tool is: NONE 14:16:19 using credential edgex-jenkins-ssh 14:16:20 Cloning the remote Git repository 14:16:20 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 14:16:20 > git init /w/workspace/device-modbus-go/106 # timeout=10 14:16:20 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 14:16:20 > git --version # timeout=10 14:16:20 > git --version # 'git version 2.25.1' 14:16:20 using GIT_SSH to set credentials SSH Credentials for GitHub 14:16:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:16:21 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 14:16:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:16:23 Avoid second fetch 14:16:23 Checking out Revision 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c (main) 14:16:23 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#479)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:16:23 > git config core.sparsecheckout # timeout=10 14:16:23 > git checkout -f 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c # timeout=10 14:16:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:16:24 % Total % Received % Xferd Average Speed Time Time Time Current 14:16:24 Dload Upload Total Spent Left Speed 14:16:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh 14:16:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:16:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:16:25 + sudo tee /etc/docker/daemon.new 14:16:25 { 14:16:25 "registry-mirrors": [ 14:16:25 "https://nexus3.edgexfoundry.org:10001" 14:16:25 ], 14:16:25 "bip": "10.250.0.254/24", 14:16:25 "hosts": [ 14:16:25 "tcp://0.0.0.0:5555", 14:16:25 "unix:///var/run/docker.sock" 14:16:25 ], 14:16:25 "mtu": 1458, 14:16:25 "selinux-enabled": true, 14:16:25 "seccomp-profile": "/etc/docker/seccomp.json" 14:16:25 } [Pipeline] sh 14:16:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:16:26 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:16:44 provisioning config files... 14:16:45 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/106@tmp/config17282800392764970684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:16:45 ---> docker-login.sh 14:16:45 nexus3.edgexfoundry.org:10001 14:16:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:16:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:16:46 Configure a credential helper to remove this warning. See 14:16:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:16:46 14:16:46 Login Succeeded 14:16:46 nexus3.edgexfoundry.org:10002 14:16:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:16:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:16:46 Configure a credential helper to remove this warning. See 14:16:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:16:46 14:16:46 Login Succeeded 14:16:46 nexus3.edgexfoundry.org:10003 14:16:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:16:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:16:47 Configure a credential helper to remove this warning. See 14:16:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:16:47 14:16:47 Login Succeeded 14:16:47 nexus3.edgexfoundry.org:10004 14:16:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:16:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:16:47 Configure a credential helper to remove this warning. See 14:16:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:16:47 14:16:47 Login Succeeded 14:16:47 docker.io 14:16:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:16:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:16:47 Configure a credential helper to remove this warning. See 14:16:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:16:47 14:16:47 Login Succeeded 14:16:47 ---> docker-login.sh ends [Pipeline] } 14:16:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:16:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:16:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:16:48 ========================================================= 14:16:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 14:16:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:16:48 + 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 . 14:16:49 Sending build context to Docker daemon 3.395MB 14:16:49 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 14:16:49 Step 2/10 : FROM ${BASE} AS builder 14:16:49 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:16:49 c41833b44d91: Pulling fs layer 14:16:49 ed15518f5707: Pulling fs layer 14:16:49 feae8fd75edb: Pulling fs layer 14:16:49 242c74f7c9fa: Pulling fs layer 14:16:49 3cdef696dda3: Pulling fs layer 14:16:49 2ced38df9373: Pulling fs layer 14:16:49 3cdef696dda3: Waiting 14:16:49 58f1dce35555: Pulling fs layer 14:16:49 2ced38df9373: Waiting 14:16:49 58f1dce35555: Waiting 14:16:49 ed15518f5707: Download complete 14:16:49 242c74f7c9fa: Verifying Checksum 14:16:49 242c74f7c9fa: Download complete 14:16:49 3cdef696dda3: Verifying Checksum 14:16:49 3cdef696dda3: Download complete 14:16:49 c41833b44d91: Verifying Checksum 14:16:49 c41833b44d91: Download complete 14:16:50 c41833b44d91: Pull complete 14:16:51 58f1dce35555: Verifying Checksum 14:16:51 58f1dce35555: Download complete 14:16:51 ed15518f5707: Pull complete 14:16:52 feae8fd75edb: Verifying Checksum 14:16:52 feae8fd75edb: Download complete 14:16:52 2ced38df9373: Verifying Checksum 14:16:52 2ced38df9373: Download complete 14:17:05 feae8fd75edb: Pull complete 14:17:05 242c74f7c9fa: Pull complete 14:17:05 3cdef696dda3: Pull complete 14:17:11 2ced38df9373: Pull complete 14:17:14 58f1dce35555: Pull complete 14:17:14 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 14:17:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 14:17:14 ---> fadd8f120f05 14:17:14 Step 3/10 : ARG ADD_BUILD_TAGS="" 14:17:16 ---> Running in ef6ba80d8988 14:17:17 Removing intermediate container ef6ba80d8988 14:17:17 ---> e15509734bdb 14:17:17 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:17:17 ---> Running in d96f7e65b630 14:17:17 Removing intermediate container d96f7e65b630 14:17:17 ---> 24a7796391c9 14:17:17 Step 5/10 : RUN apk add --update --no-cache make git openssh 14:17:17 ---> Running in b7719f91153d 14:17:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 14:17:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 14:17:20 (1/8) Installing openssh-keygen (9.1_p1-r2) 14:17:20 (2/8) Installing libedit (20221030.3.1-r0) 14:17:20 (3/8) Installing openssh-client-common (9.1_p1-r2) 14:17:20 (4/8) Installing openssh-client-default (9.1_p1-r2) 14:17:20 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 14:17:20 (6/8) Installing openssh-server-common (9.1_p1-r2) 14:17:20 (7/8) Installing openssh-server (9.1_p1-r2) 14:17:20 (8/8) Installing openssh (9.1_p1-r2) 14:17:20 Executing busybox-1.35.0-r29.trigger 14:17:20 OK: 270 MiB in 61 packages 14:17:22 Removing intermediate container b7719f91153d 14:17:22 ---> ced837da87f6 14:17:22 Step 6/10 : WORKDIR /device-modbus-go 14:17:22 ---> Running in 4284e1f2e7a7 14:17:22 Removing intermediate container 4284e1f2e7a7 14:17:22 ---> e27651f82e6c 14:17:22 Step 7/10 : COPY go.mod vendor* ./ 14:17:23 ---> 14f5f52f41d9 14:17:23 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:17:23 ---> Running in 0fb072658e57 14:18:31 Removing intermediate container 0fb072658e57 14:18:31 ---> 57ca1abd0771 14:18:31 Step 9/10 : COPY . . 14:18:31 ---> fd9626acf65c 14:18:31 Step 10/10 : RUN ${MAKE} 14:18:31 ---> Running in 12b491375948 14:18:31 noop 14:18:31 Removing intermediate container 12b491375948 14:18:31 ---> 9735a3e5108a 14:18:31 Successfully built 9735a3e5108a 14:18:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:18:31 + docker inspect -f . ci-base-image-arm64 14:18:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:18:31 prd-ubuntu20.04-docker-arm64-4c-16g-15213 does not seem to be running inside a container 14:18:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/106 -v /w/workspace/device-modbus-go/106:/w/workspace/device-modbus-go/106:rw,z -v /w/workspace/device-modbus-go/106@tmp:/w/workspace/device-modbus-go/106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:18:33 $ docker top 51d2f33d9fb6d159fd2114a50209724e9abd9ee7f62402f1d07a41e520a3bd9d -eo pid,comm [Pipeline] { [Pipeline] sh 14:18:34 + go version 14:18:34 go version go1.20.2 linux/arm64 [Pipeline] } 14:18:34 $ docker stop --time=1 51d2f33d9fb6d159fd2114a50209724e9abd9ee7f62402f1d07a41e520a3bd9d 14:18:37 $ docker rm -f --volumes 51d2f33d9fb6d159fd2114a50209724e9abd9ee7f62402f1d07a41e520a3bd9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:18:38 + docker inspect -f . ci-base-image-arm64 14:18:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:18:38 prd-ubuntu20.04-docker-arm64-4c-16g-15213 does not seem to be running inside a container 14:18:38 $ 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/106 -v /w/workspace/device-modbus-go/106:/w/workspace/device-modbus-go/106:rw,z -v /w/workspace/device-modbus-go/106@tmp:/w/workspace/device-modbus-go/106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:18:39 $ docker top 66354dc9bde13a012c515a9405a6d3d694b14382239c05817538f69b221a696d -eo pid,comm [Pipeline] { [Pipeline] sh 14:18:40 + git config --global --add safe.directory /w/workspace/device-modbus-go/106 [Pipeline] fileExists [Pipeline] sh 14:18:41 + make test 14:18:41 go test ./... -coverprofile=coverage.out 14:19:20 ? github.com/edgexfoundry/device-modbus-go [no test files] 14:21:42 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 14:21:42 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.091s coverage: 47.4% of statements 14:21:42 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:21:42 go vet ./... 14:22:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:22:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:22:14 ./bin/test-attribution-txt.sh [Pipeline] echo 14:22:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:22:14 $ docker stop --time=1 66354dc9bde13a012c515a9405a6d3d694b14382239c05817538f69b221a696d 14:22:16 $ docker rm -f --volumes 66354dc9bde13a012c515a9405a6d3d694b14382239c05817538f69b221a696d [Pipeline] // withDockerContainer [Pipeline] sh 14:22:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:22:17 Warning: overwriting stash ‘coverage-report’ 14:22:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:22:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:22:18 + ls -al . 14:22:18 total 180 14:22:18 drwxrwxr-x 9 jenkins jenkins 4096 May 11 14:18 . 14:22:18 drwxrwxr-x 4 jenkins jenkins 4096 May 11 14:16 .. 14:22:18 -rw-rw-r-- 1 jenkins jenkins 140 May 11 14:16 .dockerignore 14:22:18 drwxrwxr-x 8 jenkins jenkins 4096 May 11 14:16 .git 14:22:18 drwxrwxr-x 3 jenkins jenkins 4096 May 11 14:16 .github 14:22:18 -rw-rw-r-- 1 jenkins jenkins 331 May 11 14:16 .gitignore 14:22:18 -rw-rw-r-- 1 jenkins jenkins 41 May 11 14:16 .golangci.yml 14:22:18 -rw-rw-r-- 1 jenkins jenkins 10132 May 11 14:16 Attribution.txt 14:22:18 -rw-rw-r-- 1 jenkins jenkins 11576 May 11 14:16 CHANGELOG.md 14:22:18 -rw-rw-r-- 1 jenkins jenkins 1365 May 11 14:16 Dockerfile 14:22:18 -rw-rw-r-- 1 jenkins jenkins 677 May 11 14:16 GOVERNANCE.md 14:22:18 -rw-rw-r-- 1 jenkins jenkins 680 May 11 14:16 Jenkinsfile 14:22:18 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 14:16 LICENSE 14:22:18 -rw-rw-r-- 1 jenkins jenkins 1705 May 11 14:16 Makefile 14:22:18 -rw-rw-r-- 1 jenkins jenkins 622 May 11 14:16 OWNERS.md 14:22:18 -rw-rw-r-- 1 jenkins jenkins 4554 May 11 14:16 README.md 14:22:18 -rw-rw-r-- 1 jenkins jenkins 12 May 11 14:13 VERSION 14:22:18 drwxrwxr-x 2 jenkins jenkins 4096 May 11 14:16 bin 14:22:18 drwxrwxr-x 3 jenkins jenkins 4096 May 11 14:16 cmd 14:22:18 -rw-r--r-- 1 jenkins jenkins 24160 May 11 14:21 coverage.out 14:22:18 -rw-rw-r-- 1 jenkins jenkins 3453 May 11 14:16 go.mod 14:22:18 -rw-rw-r-- 1 jenkins jenkins 31670 May 11 14:16 go.sum 14:22:18 drwxrwxr-x 3 jenkins jenkins 4096 May 11 14:16 internal 14:22:18 drwxrwxr-x 2 jenkins jenkins 4096 May 11 14:16 simulator 14:22:18 drwxrwxr-x 4 jenkins jenkins 4096 May 11 14:16 snap 14:22:18 -rw-rw-r-- 1 jenkins jenkins 229 May 11 14:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:22:19 + 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=4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c --label arch=arm64 --label version=3.0.0-dev.40 . 14:22:19 Sending build context to Docker daemon 3.42MB 14:22:19 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 14:22:19 Step 2/22 : FROM ${BASE} AS builder 14:22:19 ---> 9735a3e5108a 14:22:19 Step 3/22 : ARG ADD_BUILD_TAGS="" 14:22:19 ---> Running in 45caa7313e57 14:22:20 Removing intermediate container 45caa7313e57 14:22:20 ---> 5360fe19e315 14:22:20 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:22:20 ---> Running in c3779cbc6abb 14:22:20 Removing intermediate container c3779cbc6abb 14:22:20 ---> 6bd69c1305ae 14:22:20 Step 5/22 : RUN apk add --update --no-cache make git openssh 14:22:20 ---> Running in e160c4c3a4ef 14:22:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 14:22:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 14:22:23 OK: 270 MiB in 61 packages 14:22:24 Removing intermediate container e160c4c3a4ef 14:22:24 ---> 3112df3771be 14:22:24 Step 6/22 : WORKDIR /device-modbus-go 14:22:24 ---> Running in 7a7debdc114b 14:22:24 Removing intermediate container 7a7debdc114b 14:22:24 ---> db5c972a8e17 14:22:24 Step 7/22 : COPY go.mod vendor* ./ 14:22:25 ---> 2daa815ac6cd 14:22:25 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:22:25 ---> Running in 2bf40c35a141 14:22:30 Removing intermediate container 2bf40c35a141 14:22:30 ---> fc3697af7eed 14:22:30 Step 9/22 : COPY . . 14:22:31 ---> 9929636a272a 14:22:31 Step 10/22 : RUN ${MAKE} 14:22:31 ---> Running in da7d9e8c0924 14:22:32 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.40" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 14:25:09 Removing intermediate container da7d9e8c0924 14:25:09 ---> 6c5b8f6bb978 14:25:09 Step 11/22 : FROM alpine:3.17 14:25:09 3.17: Pulling from library/alpine 14:25:09 c41833b44d91: Already exists 14:25:09 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 14:25:09 Status: Downloaded newer image for alpine:3.17 14:25:09 ---> 51e60588ff2c 14:25:09 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 14:25:09 ---> Running in 8eb3ee2d6a96 14:25:09 Removing intermediate container 8eb3ee2d6a96 14:25:09 ---> 66d8ede19614 14:25:09 Step 13/22 : RUN apk add --update --no-cache dumb-init 14:25:09 ---> Running in b7d993c15102 14:25:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 14:25:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 14:25:09 (1/1) Installing dumb-init (1.2.5-r2) 14:25:09 Executing busybox-1.35.0-r29.trigger 14:25:09 OK: 8 MiB in 16 packages 14:25:09 Removing intermediate container b7d993c15102 14:25:09 ---> a0849b41fa90 14:25:09 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 14:25:09 ---> 74de52653c31 14:25:09 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 14:25:09 ---> 1f9809c134df 14:25:09 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 14:25:09 ---> cc8348669fc4 14:25:09 Step 17/22 : EXPOSE 59901 14:25:09 ---> Running in 43c848363f3e 14:25:09 Removing intermediate container 43c848363f3e 14:25:09 ---> 656aa6c8a25f 14:25:09 Step 18/22 : ENTRYPOINT ["/device-modbus"] 14:25:09 ---> Running in 82b347cd27f7 14:25:09 Removing intermediate container 82b347cd27f7 14:25:09 ---> 145f5079ce77 14:25:09 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 14:25:09 ---> Running in 7fe5a0d87175 14:25:09 Removing intermediate container 7fe5a0d87175 14:25:09 ---> 3b2c0b0f2e48 14:25:09 Step 20/22 : LABEL arch=arm64 14:25:09 ---> Running in cfc141cdc38a 14:25:09 Removing intermediate container cfc141cdc38a 14:25:09 ---> fa63492bf765 14:25:09 Step 21/22 : LABEL git_sha=4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c 14:25:09 ---> Running in 63d5ffb3d48c 14:25:09 Removing intermediate container 63d5ffb3d48c 14:25:09 ---> c853b1a8e1c0 14:25:09 Step 22/22 : LABEL version=3.0.0-dev.40 14:25:09 ---> Running in fe281898b380 14:25:09 Removing intermediate container fe281898b380 14:25:09 ---> 71e1016a68fa 14:25:09 [Warning] One or more build-args [ARCH] were not consumed 14:25:09 Successfully built 71e1016a68fa 14:25:09 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 14:25:09 provisioning config files... 14:25:09 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/106@tmp/config7566169402488838392tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:25:09 ---> docker-login.sh 14:25:09 nexus3.edgexfoundry.org:10001 14:25:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:25:09 Configure a credential helper to remove this warning. See 14:25:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:25:09 14:25:09 Login Succeeded 14:25:09 nexus3.edgexfoundry.org:10002 14:25:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:25:10 Configure a credential helper to remove this warning. See 14:25:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:25:10 14:25:10 Login Succeeded 14:25:10 nexus3.edgexfoundry.org:10003 14:25:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:25:10 Configure a credential helper to remove this warning. See 14:25:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:25:10 14:25:10 Login Succeeded 14:25:10 nexus3.edgexfoundry.org:10004 14:25:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:25:11 Configure a credential helper to remove this warning. See 14:25:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:25:11 14:25:11 Login Succeeded 14:25:11 docker.io 14:25:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:25:11 Configure a credential helper to remove this warning. See 14:25:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:25:11 14:25:11 Login Succeeded 14:25:11 ---> docker-login.sh ends [Pipeline] } 14:25:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:25:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:25:11 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 14:25:11 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c 14:25:11 latest 14:25:11 3.0.0-dev.40 14:25:11 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c-3.0.0-dev.40 14:25:11 main 14:25:11 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:12 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:12 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c 14:25:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 14:25:12 b1fb245a824c: Preparing 14:25:12 6b6a90a97774: Preparing 14:25:12 3a67707e73bc: Preparing 14:25:12 dc714465f7a6: Preparing 14:25:12 26cbea5cba74: Preparing 14:25:12 26cbea5cba74: Layer already exists 14:25:12 b1fb245a824c: Pushed 14:25:12 dc714465f7a6: Pushed 14:25:12 6b6a90a97774: Pushed 14:25:18 3a67707e73bc: Pushed 14:25:18 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c: digest: sha256:2d997fb3f250bdb6a945b6ab84ffd5d0a759880cc614e919906d4346b994a9ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:18 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:19 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 14:25:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 14:25:19 b1fb245a824c: Preparing 14:25:19 6b6a90a97774: Preparing 14:25:19 3a67707e73bc: Preparing 14:25:19 dc714465f7a6: Preparing 14:25:19 26cbea5cba74: Preparing 14:25:19 dc714465f7a6: Layer already exists 14:25:19 26cbea5cba74: Layer already exists 14:25:19 b1fb245a824c: Layer already exists 14:25:19 3a67707e73bc: Layer already exists 14:25:19 6b6a90a97774: Layer already exists 14:25:19 latest: digest: sha256:2d997fb3f250bdb6a945b6ab84ffd5d0a759880cc614e919906d4346b994a9ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:19 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.40 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:20 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.40 14:25:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 14:25:20 b1fb245a824c: Preparing 14:25:20 6b6a90a97774: Preparing 14:25:20 3a67707e73bc: Preparing 14:25:20 dc714465f7a6: Preparing 14:25:20 26cbea5cba74: Preparing 14:25:20 3a67707e73bc: Layer already exists 14:25:20 b1fb245a824c: Layer already exists 14:25:20 26cbea5cba74: Layer already exists 14:25:20 dc714465f7a6: Layer already exists 14:25:20 6b6a90a97774: Layer already exists 14:25:20 3.0.0-dev.40: digest: sha256:2d997fb3f250bdb6a945b6ab84ffd5d0a759880cc614e919906d4346b994a9ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:20 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c-3.0.0-dev.40 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:21 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c-3.0.0-dev.40 14:25:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 14:25:21 b1fb245a824c: Preparing 14:25:21 6b6a90a97774: Preparing 14:25:21 3a67707e73bc: Preparing 14:25:21 dc714465f7a6: Preparing 14:25:21 26cbea5cba74: Preparing 14:25:21 6b6a90a97774: Layer already exists 14:25:21 26cbea5cba74: Layer already exists 14:25:21 3a67707e73bc: Layer already exists 14:25:21 b1fb245a824c: Layer already exists 14:25:21 dc714465f7a6: Layer already exists 14:25:21 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c-3.0.0-dev.40: digest: sha256:2d997fb3f250bdb6a945b6ab84ffd5d0a759880cc614e919906d4346b994a9ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:21 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:22 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 14:25:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 14:25:22 b1fb245a824c: Preparing 14:25:22 6b6a90a97774: Preparing 14:25:22 3a67707e73bc: Preparing 14:25:22 dc714465f7a6: Preparing 14:25:22 26cbea5cba74: Preparing 14:25:22 b1fb245a824c: Layer already exists 14:25:22 26cbea5cba74: Layer already exists 14:25:22 dc714465f7a6: Layer already exists 14:25:22 6b6a90a97774: Layer already exists 14:25:22 3a67707e73bc: Layer already exists 14:25:22 main: digest: sha256:2d997fb3f250bdb6a945b6ab84ffd5d0a759880cc614e919906d4346b994a9ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:25:22 ===================================================== [Pipeline] echo 14:25:22 taggedImages: 14:25:22 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c 14:25:22 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 14:25:22 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.40 14:25:22 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c-3.0.0-dev.40 14:25:22 - 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 14:25:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:25:22 14:25:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:25:23 arm64: Pulling from edgex-lftools-log-publisher 14:25:23 8998bd30e6a1: Pulling fs layer 14:25:23 04944245beec: Pulling fs layer 14:25:23 699f458cf7ca: Pulling fs layer 14:25:23 765212b225bb: Pulling fs layer 14:25:23 f23df028b6ca: Pulling fs layer 14:25:23 d65c8cfc05b1: Pulling fs layer 14:25:23 2437ff75d9bd: Pulling fs layer 14:25:23 765212b225bb: Waiting 14:25:23 f23df028b6ca: Waiting 14:25:23 d65c8cfc05b1: Waiting 14:25:23 2437ff75d9bd: Waiting 14:25:23 04944245beec: Verifying Checksum 14:25:23 04944245beec: Download complete 14:25:23 765212b225bb: Verifying Checksum 14:25:23 765212b225bb: Download complete 14:25:23 f23df028b6ca: Verifying Checksum 14:25:23 f23df028b6ca: Download complete 14:25:23 d65c8cfc05b1: Verifying Checksum 14:25:23 d65c8cfc05b1: Download complete 14:25:23 699f458cf7ca: Verifying Checksum 14:25:23 699f458cf7ca: Download complete 14:25:24 8998bd30e6a1: Verifying Checksum 14:25:24 8998bd30e6a1: Download complete 14:25:26 2437ff75d9bd: Verifying Checksum 14:25:26 2437ff75d9bd: Download complete 14:25:28 8998bd30e6a1: Pull complete 14:25:28 04944245beec: Pull complete 14:25:30 699f458cf7ca: Pull complete 14:25:30 765212b225bb: Pull complete 14:25:31 f23df028b6ca: Pull complete 14:25:31 d65c8cfc05b1: Pull complete 14:25:46 2437ff75d9bd: Pull complete 14:25:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:25:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:25:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:25:46 prd-ubuntu20.04-docker-arm64-4c-16g-15213 does not seem to be running inside a container 14:25:46 $ 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/106 -v /w/workspace/device-modbus-go/106:/w/workspace/device-modbus-go/106:rw,z -v /w/workspace/device-modbus-go/106@tmp:/w/workspace/device-modbus-go/106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:25:49 $ docker top 76c116770e217c5a796fb55694e4aa87a49cffb74d356040f735a4a035a6864f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:25:50 ---> job-cost.sh 14:25:50 lf-activate-venv: SKIPPING 14:25:50 INFO: No Stack... 14:25:51 INFO: Retrieving Pricing Info for: v3-standard-4 14:25:52 INFO: Archiving Costs [Pipeline] sh 14:25:53 + + cat /w/workspace/device-modbus-go/106/archives/cost.csvcut 14:25:53 -d, -f6 [Pipeline] lock 14:25:53 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-106-stack-cost] 14:25:53 Resource [jenkins-edgexfoundry-device-modbus-go-main-106-stack-cost] did not exist. Created. 14:25:53 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-106-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:25:53 /w/workspace/device-modbus-go/106@tmp/durable-40f2936f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:25:54 + echo total: 0.10999999940395355 [Pipeline] stash 14:25:54 Warning: overwriting stash ‘stack-cost’ 14:25:54 Stashed 1 file(s) [Pipeline] } 14:25:54 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-106-stack-cost] [Pipeline] // lock [Pipeline] } 14:25:54 $ docker stop --time=1 76c116770e217c5a796fb55694e4aa87a49cffb74d356040f735a4a035a6864f 14:25:56 $ docker rm -f --volumes 76c116770e217c5a796fb55694e4aa87a49cffb74d356040f735a4a035a6864f [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 14:25:56 provisioning config files... 14:25:56 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15759872591778180648tmp [Pipeline] { [Pipeline] sh 14:25:57 + set +x 14:25:57 + curl -s https://codecov.io/bash 14:25:57 + bash -s -- 14:25:57 14:25:57 _____ _ 14:25:57 / ____| | | 14:25:57 | | ___ __| | ___ ___ _____ __ 14:25:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:25:57 | |___| (_) | (_| | __/ (_| (_) \ V / 14:25:57 \_____\___/ \__,_|\___|\___\___/ \_/ 14:25:57 Bash-1.0.6 14:25:57 14:25:57 14:25:57 ==> git version 2.25.1 found 14:25:57 ==> 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 14:25:57 Release-Date: 2020-01-08 14:25:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:25:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:25:57 ==> Jenkins CI detected. 14:25:57 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 14:25:57 project root: . 14:25:57 --> token set from env 14:25:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:25:57 ==> Running gcov in . (disable via -X gcov) 14:25:57 ==> Python coveragepy not found 14:25:57 ==> Searching for coverage reports in: 14:25:57 + . 14:25:57 -> Found 1 reports 14:25:57 ==> Detecting git/mercurial file structure 14:25:57 ==> Reading reports 14:25:57 + ./coverage.out bytes=24160 14:25:57 ==> Appending adjustments 14:25:57 https://docs.codecov.io/docs/fixing-reports 14:25:57 + Found adjustments 14:25:57 ==> Gzipping contents 14:25:57 4.0K /tmp/codecov.UMRzkX.gz 14:25:57 ==> Uploading reports 14:25:57 url: https://codecov.io 14:25:57 query: branch=main&commit=4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c&build=106&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F106%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:25:57 -> Pinging Codecov 14:25:57 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=4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c&build=106&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F106%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:25:57 -> Uploading to 14:25:57 https://storage.googleapis.com/codecov/v4/raw/2023-05-11/55DBCA73C666E3227836607328DD7E49/4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c/c1ead52c-6d3e-45bb-ba19-57bba2b67c7e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230511T142557Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=00421d490adf4785ac021e791cbfba128ae773bf875379a2af531cce8fb0ff47 14:25:57 % Total % Received % Xferd Average Speed Time Time Time Current 14:25:57 Dload Upload Total Spent Left Speed 14:25:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 21210 --:--:-- --:--:-- --:--:-- 21210 14:25:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c [Pipeline] } 14:25:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 14:25:58 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 14:25:58 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:25:58 14:25:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:25:59 1.410.4: Pulling from edgex-devops/edgex-snyk-go 14:25:59 df9b9388f04a: Pulling fs layer 14:25:59 52dc419b0ee2: Pulling fs layer 14:25:59 25bc292e5bac: Pulling fs layer 14:25:59 114826534d7a: Pulling fs layer 14:25:59 4657fd5d0bcf: Pulling fs layer 14:25:59 6ad1cebc031e: Pulling fs layer 14:25:59 8a3aa393b2d8: Pulling fs layer 14:25:59 114826534d7a: Waiting 14:25:59 4657fd5d0bcf: Waiting 14:25:59 6ad1cebc031e: Waiting 14:25:59 25bc292e5bac: Verifying Checksum 14:25:59 25bc292e5bac: Download complete 14:25:59 52dc419b0ee2: Download complete 14:25:59 4657fd5d0bcf: Verifying Checksum 14:25:59 4657fd5d0bcf: Download complete 14:25:59 df9b9388f04a: Download complete 14:25:59 6ad1cebc031e: Verifying Checksum 14:25:59 6ad1cebc031e: Download complete 14:25:59 df9b9388f04a: Pull complete 14:26:00 114826534d7a: Verifying Checksum 14:26:00 114826534d7a: Download complete 14:26:00 8a3aa393b2d8: Verifying Checksum 14:26:00 8a3aa393b2d8: Download complete 14:26:00 52dc419b0ee2: Pull complete 14:26:00 25bc292e5bac: Pull complete 14:26:06 114826534d7a: Pull complete 14:26:06 4657fd5d0bcf: Pull complete 14:26:06 6ad1cebc031e: Pull complete 14:26:09 8a3aa393b2d8: Pull complete 14:26:09 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 14:26:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:26:09 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:26:09 prd-ubuntu20.04-docker-8c-8g-15210 does not seem to be running inside a container 14:26:09 $ 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 14:26:18 $ docker top 441485d0de2ea3e288aa1773290a69ab21706bf1b9aca77c78f94cfe9f3ada2a -eo pid,comm [Pipeline] { [Pipeline] echo 14:26:18 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 14:26:18 + set -o pipefail 14:26:18 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 14:26:22 14:26:22 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 14:26:22 14:26:22 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/ebc0b3ed-13bd-40c5-9b71-c8b59b3f7dad 14:26:22 14:26:22 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 14:26:22 14:26:22 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:26:22 14:26:22 14:26:22 A medium severity vulnerability was found in the Snyk CLI versions you are using. 14:26:22 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 14:26:22 More details here: https://snyk.co/ue1NS 14:26:22 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 14:26:22 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 14:26:22 $ docker stop --time=1 441485d0de2ea3e288aa1773290a69ab21706bf1b9aca77c78f94cfe9f3ada2a 14:26:28 $ docker rm -f --volumes 441485d0de2ea3e288aa1773290a69ab21706bf1b9aca77c78f94cfe9f3ada2a [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 14:26:29 + git log --format=format:%s -1 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c [Pipeline] sh 14:26:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:26:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:26:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:26:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:26:29 prd-ubuntu20.04-docker-8c-8g-15210 does not seem to be running inside a container 14:26:29 $ 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 14:26:30 $ docker top 6b5e40e9738426e9c5846757ba3920c45c89f27b18da6313553576dd418b8048 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:26:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:26:30 [ssh-agent] Looking for ssh-agent implementation... 14:26:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:26:30 $ docker exec 6b5e40e9738426e9c5846757ba3920c45c89f27b18da6313553576dd418b8048 ssh-agent 14:26:30 SSH_AUTH_SOCK=/tmp/ssh-QenO4DlgSLsZ/agent.31 14:26:30 SSH_AGENT_PID=38 14:26:30 Running ssh-add (command line suppressed) 14:26:30 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12374081823193107420.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12374081823193107420.key) 14:26:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:26:30 + git semver tag 14:26:31 2023-05-11 14:26:31,176 [run_tag] DEBUG tag force:False 14:26:31 2023-05-11 14:26:31,177 [check_head_tag] DEBUG check head tag 14:26:31 2023-05-11 14:26:31,178 [execute] INFO git cat-file --batch-check 14:26:31 2023-05-11 14:26:31,179 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 14:26:31 2023-05-11 14:26:31,182 [execute] INFO git cat-file --batch 14:26:31 2023-05-11 14:26:31,183 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 14:26:31 2023-05-11 14:26:31,208 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 14:26:31 2023-05-11 14:26:31,208 [execute] INFO git tag -a v3.0.0-dev.40 -m v3.0.0-dev.40 14:26:31 2023-05-11 14:26:31,208 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.40', '-m', 'v3.0.0-dev.40'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 14:26:31 2023-05-11 14:26:31,212 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 14:26:31 3.0.0-dev.40 [Pipeline] } 14:26:31 $ docker exec --env ******** --env ******** 6b5e40e9738426e9c5846757ba3920c45c89f27b18da6313553576dd418b8048 ssh-agent -k 14:26:31 unset SSH_AUTH_SOCK; 14:26:31 unset SSH_AGENT_PID; 14:26:31 echo Agent pid 38 killed; 14:26:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:26:31 + git semver [Pipeline] } 14:26:31 $ docker stop --time=1 6b5e40e9738426e9c5846757ba3920c45c89f27b18da6313553576dd418b8048 14:26:33 $ docker rm -f --volumes 6b5e40e9738426e9c5846757ba3920c45c89f27b18da6313553576dd418b8048 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:26:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:26:33 14:26:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:26:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:26:34 0.23.1-centos7: Pulling from edgex-lftools 14:26:34 ab5ef0e58194: Pulling fs layer 14:26:34 9712f1f96733: Pulling fs layer 14:26:34 63f879dbbcfc: Pulling fs layer 14:26:34 0d9ebad4ef96: Pulling fs layer 14:26:34 e9a5061849ea: Pulling fs layer 14:26:34 d747dcd14b5f: Pulling fs layer 14:26:34 2de7ff778b66: Pulling fs layer 14:26:34 d747dcd14b5f: Waiting 14:26:34 e9a5061849ea: Waiting 14:26:34 2de7ff778b66: Waiting 14:26:34 0d9ebad4ef96: Waiting 14:26:34 9712f1f96733: Verifying Checksum 14:26:34 9712f1f96733: Download complete 14:26:34 63f879dbbcfc: Verifying Checksum 14:26:34 63f879dbbcfc: Download complete 14:26:34 0d9ebad4ef96: Verifying Checksum 14:26:34 0d9ebad4ef96: Download complete 14:26:34 e9a5061849ea: Verifying Checksum 14:26:34 e9a5061849ea: Download complete 14:26:34 d747dcd14b5f: Verifying Checksum 14:26:34 d747dcd14b5f: Download complete 14:26:34 ab5ef0e58194: Verifying Checksum 14:26:34 ab5ef0e58194: Download complete 14:26:35 2de7ff778b66: Verifying Checksum 14:26:35 2de7ff778b66: Download complete 14:26:38 ab5ef0e58194: Pull complete 14:26:38 9712f1f96733: Pull complete 14:26:38 63f879dbbcfc: Pull complete 14:26:42 0d9ebad4ef96: Pull complete 14:26:43 e9a5061849ea: Pull complete 14:26:43 d747dcd14b5f: Pull complete 14:26:44 2de7ff778b66: Pull complete 14:26:44 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:26:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:26:44 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:26:44 prd-ubuntu20.04-docker-8c-8g-15210 does not seem to be running inside a container 14:26:44 $ 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 14:26:52 $ docker top 02b7f130a817756ac98f45321aa085a8c3e962a8a19156e18406cb079a9ee75d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:26:52 provisioning config files... 14:26:52 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1800956146409865862tmp 14:26:52 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17647156061754742303tmp 14:26:52 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13807815042351907414tmp [Pipeline] { [Pipeline] echo 14:26:52 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:26:52 ---> sigul-configuration.sh 14:26:52 gpg: directory `/root/.gnupg' created 14:26:52 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:26:52 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:26:52 gpg: keyring `/root/.gnupg/secring.gpg' created 14:26:52 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:26:52 gpg: CAST5 encrypted data 14:26:52 gpg: encrypted with 1 passphrase 14:26:52 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:26:53 + mkdir /home/jenkins 14:26:53 + mkdir /home/jenkins/sigul [Pipeline] sh 14:26:53 + 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 14:26:53 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:26:53 ---> sigul-install.sh 14:26:53 Sigul already installed; skipping installation. [Pipeline] sh 14:26:54 + git tag --list 14:26:54 0.7.1 14:26:54 v1.0.0 14:26:54 v1.1.0 14:26:54 v1.1.1 14:26:54 v1.2.2 14:26:54 v1.3.0 14:26:54 v1.3.1 14:26:54 v2.0.0 14:26:54 v2.1.0 14:26:54 v2.1.1 14:26:54 v2.1.1-dev.1 14:26:54 v2.1.1-dev.2 14:26:54 v2.1.1-dev.3 14:26:54 v2.2.0 14:26:54 v2.2.1-dev.1 14:26:54 v2.2.1-dev.2 14:26:54 v2.2.1-dev.3 14:26:54 v2.2.1-dev.4 14:26:54 v2.2.1-dev.5 14:26:54 v2.2.1-dev.6 14:26:54 v2.2.1-dev.7 14:26:54 v2.3.0 14:26:54 v2.3.0-dev.10 14:26:54 v2.3.0-dev.11 14:26:54 v2.3.0-dev.12 14:26:54 v2.3.0-dev.13 14:26:54 v2.3.0-dev.14 14:26:54 v2.3.0-dev.15 14:26:54 v2.3.0-dev.16 14:26:54 v2.3.0-dev.17 14:26:54 v2.3.0-dev.18 14:26:54 v2.3.0-dev.19 14:26:54 v2.3.0-dev.20 14:26:54 v2.3.0-dev.21 14:26:54 v2.3.0-dev.22 14:26:54 v2.3.0-dev.23 14:26:54 v2.3.0-dev.24 14:26:54 v2.3.0-dev.25 14:26:54 v2.3.0-dev.7 14:26:54 v2.3.0-dev.8 14:26:54 v2.3.0-dev.9 14:26:54 v3.0.0-dev.1 14:26:54 v3.0.0-dev.10 14:26:54 v3.0.0-dev.11 14:26:54 v3.0.0-dev.12 14:26:54 v3.0.0-dev.13 14:26:54 v3.0.0-dev.14 14:26:54 v3.0.0-dev.15 14:26:54 v3.0.0-dev.16 14:26:54 v3.0.0-dev.17 14:26:54 v3.0.0-dev.18 14:26:54 v3.0.0-dev.19 14:26:54 v3.0.0-dev.2 14:26:54 v3.0.0-dev.20 14:26:54 v3.0.0-dev.21 14:26:54 v3.0.0-dev.22 14:26:54 v3.0.0-dev.23 14:26:54 v3.0.0-dev.24 14:26:54 v3.0.0-dev.25 14:26:54 v3.0.0-dev.26 14:26:54 v3.0.0-dev.27 14:26:54 v3.0.0-dev.28 14:26:54 v3.0.0-dev.29 14:26:54 v3.0.0-dev.3 14:26:54 v3.0.0-dev.30 14:26:54 v3.0.0-dev.31 14:26:54 v3.0.0-dev.32 14:26:54 v3.0.0-dev.33 14:26:54 v3.0.0-dev.34 14:26:54 v3.0.0-dev.35 14:26:54 v3.0.0-dev.36 14:26:54 v3.0.0-dev.37 14:26:54 v3.0.0-dev.38 14:26:54 v3.0.0-dev.39 14:26:54 v3.0.0-dev.4 14:26:54 v3.0.0-dev.40 14:26:54 v3.0.0-dev.5 14:26:54 v3.0.0-dev.6 14:26:54 v3.0.0-dev.7 14:26:54 v3.0.0-dev.8 14:26:54 v3.0.0-dev.9 [Pipeline] sh 14:26:54 + lftools sign git-tag v3.0.0-dev.40 14:26:54 Signing Git tag with Sigul... 14:26:54 Signing v3.0.0-dev.40 [Pipeline] echo 14:26:55 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:26:55 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:26:55 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:26:55 $ docker stop --time=1 02b7f130a817756ac98f45321aa085a8c3e962a8a19156e18406cb079a9ee75d 14:26:57 $ docker rm -f --volumes 02b7f130a817756ac98f45321aa085a8c3e962a8a19156e18406cb079a9ee75d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 14:26:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:26:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:26:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:26:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:26:57 prd-ubuntu20.04-docker-8c-8g-15210 does not seem to be running inside a container 14:26:57 $ 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 14:26:58 $ docker top 25f5590303025d1ccbccdd7e4aed7796bc027327924ae2b43db3214fc0f35de7 -eo pid,comm 14:26:58 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). 14:26:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:26:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:26:58 [ssh-agent] Looking for ssh-agent implementation... 14:26:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:26:58 $ docker exec 25f5590303025d1ccbccdd7e4aed7796bc027327924ae2b43db3214fc0f35de7 ssh-agent 14:26:58 SSH_AUTH_SOCK=/tmp/ssh-wMxPxmBic1St/agent.32 14:26:58 SSH_AGENT_PID=38 14:26:58 Running ssh-add (command line suppressed) 14:26:58 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8984715177914141927.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8984715177914141927.key) 14:26:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:26:58 + git semver bump pre 14:26:59 2023-05-11 14:26:59,090 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 14:26:59 2023-05-11 14:26:59,090 [bump_version] DEBUG bumping version:3.0.0-dev.40 on axis:pre with prefix:dev 14:26:59 2023-05-11 14:26:59,090 [bump_version] DEBUG bumped version:3.0.0-dev.41 14:26:59 2023-05-11 14:26:59,090 [write_version] DEBUG write version:3.0.0-dev.41 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 14:26:59 2023-05-11 14:26:59,090 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 14:26:59 2023-05-11 14:26:59,090 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 14:26:59 2023-05-11 14:26:59,092 [execute] INFO git cat-file --batch-check 14:26:59 2023-05-11 14:26:59,092 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:26:59 2023-05-11 14:26:59,098 [execute] INFO git cat-file --batch 14:26:59 2023-05-11 14:26:59,098 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:26:59 2023-05-11 14:26:59,103 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 14:26:59 3.0.0-dev.41 [Pipeline] } 14:26:59 $ docker exec --env ******** --env ******** 25f5590303025d1ccbccdd7e4aed7796bc027327924ae2b43db3214fc0f35de7 ssh-agent -k 14:26:59 unset SSH_AUTH_SOCK; 14:26:59 unset SSH_AGENT_PID; 14:26:59 echo Agent pid 38 killed; 14:26:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:26:59 + git semver [Pipeline] } 14:26:59 $ docker stop --time=1 25f5590303025d1ccbccdd7e4aed7796bc027327924ae2b43db3214fc0f35de7 14:27:01 $ docker rm -f --volumes 25f5590303025d1ccbccdd7e4aed7796bc027327924ae2b43db3214fc0f35de7 [Pipeline] // withDockerContainer [Pipeline] sh 14:27:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:27:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:27:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:27:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:27:01 prd-ubuntu20.04-docker-8c-8g-15210 does not seem to be running inside a container 14:27:01 $ 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 14:27:02 $ docker top fe3bf87d625cce4ad3c765518186a1903eb7c820faaafc17b24676e4eadd2ed3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:27:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:27:02 [ssh-agent] Looking for ssh-agent implementation... 14:27:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:27:02 $ docker exec fe3bf87d625cce4ad3c765518186a1903eb7c820faaafc17b24676e4eadd2ed3 ssh-agent 14:27:02 SSH_AUTH_SOCK=/tmp/ssh-TPH9qobwf8hh/agent.33 14:27:02 SSH_AGENT_PID=39 14:27:02 Running ssh-add (command line suppressed) 14:27:02 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9879727137988840295.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9879727137988840295.key) 14:27:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:27:02 + git semver push 14:27:03 2023-05-11 14:27:03,094 [run_push] DEBUG push 14:27:03 2023-05-11 14:27:03,094 [execute] INFO git cat-file --batch-check 14:27:03 2023-05-11 14:27:03,095 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:27:03 2023-05-11 14:27:03,097 [execute] INFO git rev-list a8fbb87a0b517b7a42fd25174af7f055160498e3 -- 14:27:03 2023-05-11 14:27:03,097 [execute] DEBUG Popen(['git', 'rev-list', 'a8fbb87a0b517b7a42fd25174af7f055160498e3', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:27:03 2023-05-11 14:27:03,105 [execute] INFO git fetch -v origin 14:27:03 2023-05-11 14:27:03,105 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 14:27:03 2023-05-11 14:27:03,600 [run_push] DEBUG no remote changes detected 14:27:03 2023-05-11 14:27:03,600 [execute] INFO git push origin semver 14:27:03 2023-05-11 14:27:03,601 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:27:04 2023-05-11 14:27:04,558 [run_push] DEBUG push all version tags 14:27:04 2023-05-11 14:27:04,559 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 14:27:04 2023-05-11 14:27:04,559 [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) 14:27:05 2023-05-11 14:27:05,446 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 14:27:05 3.0.0-dev.41 [Pipeline] } 14:27:05 $ docker exec --env ******** --env ******** fe3bf87d625cce4ad3c765518186a1903eb7c820faaafc17b24676e4eadd2ed3 ssh-agent -k 14:27:05 unset SSH_AUTH_SOCK; 14:27:05 unset SSH_AGENT_PID; 14:27:05 echo Agent pid 39 killed; 14:27:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:27:06 + git semver [Pipeline] } 14:27:06 $ docker stop --time=1 fe3bf87d625cce4ad3c765518186a1903eb7c820faaafc17b24676e4eadd2ed3 14:27:07 $ docker rm -f --volumes fe3bf87d625cce4ad3c765518186a1903eb7c820faaafc17b24676e4eadd2ed3 [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 14:27:08 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 14:27:08 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 14:27:08 total 16 14:27:08 drwxr-xr-x 3 root root 4096 May 11 14:15 . 14:27:08 drwxrwxr-x 11 jenkins jenkins 4096 May 11 14:26 .. 14:27:08 drwxr-xr-x 2 root root 4096 May 11 14:15 cost 14:27:08 -rw-r--r-- 1 root root 88 May 11 14:15 cost.csv 14:27:08 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 14:27:08 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 14:27:08 total 16 14:27:08 drwxr-xr-x 3 jenkins jenkins 4096 May 11 14:15 . 14:27:08 drwxrwxr-x 11 jenkins jenkins 4096 May 11 14:26 .. 14:27:08 drwxr-xr-x 2 jenkins jenkins 4096 May 11 14:15 cost 14:27:08 -rw-r--r-- 1 jenkins jenkins 88 May 11 14:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:27:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:27:09 ---> package-listing.sh 14:27:09 ++ facter osfamily 14:27:09 ++ tr '[:upper:]' '[:lower:]' 14:27:09 + OS_FAMILY=debian 14:27:09 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 14:27:09 + START_PACKAGES=/tmp/packages_start.txt 14:27:09 + END_PACKAGES=/tmp/packages_end.txt 14:27:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:27:09 + PACKAGES=/tmp/packages_start.txt 14:27:09 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 14:27:09 + PACKAGES=/tmp/packages_end.txt 14:27:09 + case "${OS_FAMILY}" in 14:27:09 + dpkg -l 14:27:09 + grep '^ii' 14:27:09 + '[' -f /tmp/packages_start.txt ']' 14:27:09 + '[' -f /tmp/packages_end.txt ']' 14:27:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:27:09 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 14:27:09 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 14:27:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 14:27:09 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 14:27:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:27:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:27:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:27:10 prd-ubuntu20.04-docker-8c-8g-15210 does not seem to be running inside a container 14:27:10 $ 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 14:27:10 $ docker top 95466b5f15ca8031828f12a4aae4a4c821d904e8892e633c3db9fcaa001f658b -eo pid,comm [Pipeline] { [Pipeline] sh 14:27:10 + touch /tmp/pre-build-complete [Pipeline] sh 14:27:11 + mkdir -p /var/log/sysstat [Pipeline] sh 14:27:11 + ls /var/log/sa-host 14:27:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:27:11 provisioning config files... 14:27:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12084493749204285473tmp [Pipeline] { [Pipeline] echo 14:27:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:27:11 ---> create-netrc.sh [Pipeline] } 14:27:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:27:12 ---> python-tools-install.sh [Pipeline] echo 14:27:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:27:12 ---> sudo-logs.sh 14:27:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:27:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:27:12 ---> job-cost.sh 14:27:12 lf-activate-venv: SKIPPING 14:27:12 DEBUG: total: 0.2199999988079071 14:27:12 INFO: Retrieving Stack Cost... 14:27:13 INFO: Retrieving Pricing Info for: v3-standard-8 14:27:13 INFO: Archiving Costs [Pipeline] echo 14:27:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:27:13 ---> logs-deploy.sh 14:27:13 lf-activate-venv: SKIPPING 14:27:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/106 14:27:13 INFO: archiving workspace using pattern(s): 14:27:14 Archives upload complete. 14:27:14 INFO: archiving logs to Nexus