Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 85c9ff1e57050cb21dd0a25e11b91c09e287920a 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-ssh17294730272032322100.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh17454492256367149659.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh14915627322411709762.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh12830402749140484246.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-ssh5586243250119098114.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] ========================================================= [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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24596 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 85c9ff1e57050cb21dd0a25e11b91c09e287920a (main) Commit message: "build: [Device Modbus] Add ldflags to strib debug info from binary (#530)" > 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 85c9ff1e57050cb21dd0a25e11b91c09e287920a # timeout=10 > git rev-list --no-walk 4de3a8f4fd48ff80f4bd37b19548b6aae5009810 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:45:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:45:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:45:08 ========================================================= 20:45:08 EdgeX Global Pipelines Version Info 20:45:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:45:09 ------------------- 20:45:09 stable info: 20:45:09 ------------------- 20:45:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:45:09 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:45:09 Message: update stable to v1.0.258 20:45:10 ------------------- 20:45:10 experimental info: 20:45:10 ------------------- 20:45:10 Commited By: **** collab-it+edgex@linuxfoundation.org 20:45:10 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:45:10 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:45:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 20:45:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 20:45:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:45:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:45:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:45:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:45:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:45:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:45:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:45:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:45:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:45:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 20:45:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:45:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:45:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:45:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:45:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:45:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:45:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:45:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:45:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:45:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:45:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:45:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:45:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:45:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:45:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:45:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:45:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:45:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:45:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 85c9ff1e57050cb21dd0a25e11b91c09e287920a [Pipeline] echo 20:45:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 85c9ff1 [Pipeline] echo 20:45:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:45:11 provisioning config files... 20:45:11 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16884887414549493179tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:45:11 ---> ****-login.sh 20:45:11 nexus3.edgexfoundry.org:10001 20:45:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:45:11 Configure a credential helper to remove this warning. See 20:45:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:45:11 20:45:11 Login Succeeded 20:45:11 nexus3.edgexfoundry.org:10002 20:45:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:45:11 Configure a credential helper to remove this warning. See 20:45:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:45:11 20:45:11 Login Succeeded 20:45:11 nexus3.edgexfoundry.org:10003 20:45:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:45:12 Configure a credential helper to remove this warning. See 20:45:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:45:12 20:45:12 Login Succeeded 20:45:12 nexus3.edgexfoundry.org:10004 20:45:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:45:12 Configure a credential helper to remove this warning. See 20:45:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:45:12 20:45:12 Login Succeeded 20:45:12 ****.io 20:45:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:45:12 Configure a credential helper to remove this warning. See 20:45:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:45:12 20:45:12 Login Succeeded 20:45:12 ---> ****-login.sh ends [Pipeline] } 20:45:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:45:12 + git rev-list -1 --merges 85c9ff1e57050cb21dd0a25e11b91c09e287920a~1..85c9ff1e57050cb21dd0a25e11b91c09e287920a [Pipeline] echo 20:45:12 -----------> git rev-list -1 --merges 85c9ff1e57050cb21dd0a25e11b91c09e287920a~1..85c9ff1e57050cb21dd0a25e11b91c09e287920a 85c9ff1e57050cb21dd0a25e11b91c09e287920a [false] [Pipeline] sh 20:45:13 + git log --format=format:%s -1 85c9ff1e57050cb21dd0a25e11b91c09e287920a [Pipeline] echo 20:45:13 ========================================================= 20:45:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:45:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:45:13 + git log --format=format:%s -1 85c9ff1e57050cb21dd0a25e11b91c09e287920a [Pipeline] echo 20:45:13 [semverPrep] GIT_COMMIT: 85c9ff1e57050cb21dd0a25e11b91c09e287920a, Commit Message: build: [Device Modbus] Add ldflags to strib debug info from binary (#530) [Pipeline] echo 20:45:13 [semverPrep] This is not a build commit. [Pipeline] sh 20:45:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:45:14 + grep -v github /etc/ssh/ssh_known_hosts 20:45:14 + [ -e /tmp/ssh_known_hosts ] 20:45:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:45:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:45:14 + sudo tee -a /etc/ssh/ssh_known_hosts 20:45:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:45:14 20:45:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:45:14 0.1.4: Pulling from edgex-devops/py-git-semver 20:45:14 b85a868b505f: Pulling fs layer 20:45:14 e2be974225ed: Pulling fs layer 20:45:14 339a4e72a1f5: Pulling fs layer 20:45:14 988bab9f4d93: Pulling fs layer 20:45:14 1469e6f7b9e6: Pulling fs layer 20:45:14 eaf3925da568: Pulling fs layer 20:45:14 bab4dde63d76: Pulling fs layer 20:45:14 bde34c3a00c8: Pulling fs layer 20:45:14 b352a97aabf1: Pulling fs layer 20:45:14 4872d77fe225: Pulling fs layer 20:45:14 5851b861e8e6: Pulling fs layer 20:45:14 988bab9f4d93: Waiting 20:45:14 4872d77fe225: Waiting 20:45:14 bab4dde63d76: Waiting 20:45:14 1469e6f7b9e6: Waiting 20:45:14 5851b861e8e6: Waiting 20:45:14 b352a97aabf1: Waiting 20:45:14 e2be974225ed: Verifying Checksum 20:45:14 e2be974225ed: Download complete 20:45:14 988bab9f4d93: Download complete 20:45:14 1469e6f7b9e6: Verifying Checksum 20:45:14 1469e6f7b9e6: Download complete 20:45:14 339a4e72a1f5: Verifying Checksum 20:45:14 339a4e72a1f5: Download complete 20:45:15 eaf3925da568: Verifying Checksum 20:45:15 eaf3925da568: Download complete 20:45:15 bde34c3a00c8: Download complete 20:45:15 b352a97aabf1: Verifying Checksum 20:45:15 b352a97aabf1: Download complete 20:45:15 4872d77fe225: Verifying Checksum 20:45:15 4872d77fe225: Download complete 20:45:15 5851b861e8e6: Verifying Checksum 20:45:15 5851b861e8e6: Download complete 20:45:15 b85a868b505f: Verifying Checksum 20:45:15 b85a868b505f: Download complete 20:45:15 bab4dde63d76: Verifying Checksum 20:45:15 bab4dde63d76: Download complete 20:45:16 b85a868b505f: Pull complete 20:45:16 e2be974225ed: Pull complete 20:45:16 339a4e72a1f5: Pull complete 20:45:16 988bab9f4d93: Pull complete 20:45:17 1469e6f7b9e6: Pull complete 20:45:17 eaf3925da568: Pull complete 20:45:18 bab4dde63d76: Pull complete 20:45:18 bde34c3a00c8: Pull complete 20:45:18 b352a97aabf1: Pull complete 20:45:18 4872d77fe225: Pull complete 20:45:18 5851b861e8e6: Pull complete 20:45:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:45:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:45:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:45:19 prd-ubuntu20.04-docker-8c-8g-24596 does not seem to be running inside a container 20:45:19 $ 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 20:45:21 $ docker top 183344487c57abac7ad7ce3fb8040b9ea40a7e99a378376db95c2e022b6d425c -eo pid,comm 20:45:21 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). 20:45:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:45:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:45:21 [ssh-agent] Looking for ssh-agent implementation... 20:45:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:45:21 $ docker exec 183344487c57abac7ad7ce3fb8040b9ea40a7e99a378376db95c2e022b6d425c ssh-agent 20:45:21 SSH_AUTH_SOCK=/tmp/ssh-7eWkzcmi6qjq/agent.33 20:45:21 SSH_AGENT_PID=39 20:45:21 Running ssh-add (command line suppressed) 20:45:21 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9804762146970963854.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9804762146970963854.key) 20:45:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:45:21 + git tag --points-at HEAD [Pipeline] } 20:45:22 $ docker exec --env ******** --env ******** 183344487c57abac7ad7ce3fb8040b9ea40a7e99a378376db95c2e022b6d425c ssh-agent -k 20:45:22 unset SSH_AUTH_SOCK; 20:45:22 unset SSH_AGENT_PID; 20:45:22 echo Agent pid 39 killed; 20:45:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:45:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:45:22 [ssh-agent] Looking for ssh-agent implementation... 20:45:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:45:22 $ docker exec 183344487c57abac7ad7ce3fb8040b9ea40a7e99a378376db95c2e022b6d425c ssh-agent 20:45:22 SSH_AUTH_SOCK=/tmp/ssh-CIx8Vhv9eBnK/agent.71 20:45:22 SSH_AGENT_PID=77 20:45:22 Running ssh-add (command line suppressed) 20:45:22 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14086003805530257833.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14086003805530257833.key) 20:45:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:45:22 + git semver init 20:45:23 2023-12-06 20:45:22,981 [run_init] DEBUG init version:0.0.0 force:False 20:45:23 2023-12-06 20:45:22,982 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 20:45:23 2023-12-06 20:45:22,982 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 20:45:23 2023-12-06 20:45:22,983 [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) 20:45:24 2023-12-06 20:45:24,331 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 20:45:24 2023-12-06 20:45:24,332 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 20:45:24 2023-12-06 20:45:24,332 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 20:45:24 2023-12-06 20:45:24,332 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 20:45:24 3.2.0-dev.4 [Pipeline] } 20:45:24 $ docker exec --env ******** --env ******** 183344487c57abac7ad7ce3fb8040b9ea40a7e99a378376db95c2e022b6d425c ssh-agent -k 20:45:24 unset SSH_AUTH_SOCK; 20:45:24 unset SSH_AGENT_PID; 20:45:24 echo Agent pid 77 killed; 20:45:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:45:24 + git semver [Pipeline] } 20:45:25 $ docker stop --time=1 183344487c57abac7ad7ce3fb8040b9ea40a7e99a378376db95c2e022b6d425c 20:45:26 $ docker rm -f --volumes 183344487c57abac7ad7ce3fb8040b9ea40a7e99a378376db95c2e022b6d425c [Pipeline] // withDockerContainer [Pipeline] sh 20:45:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:45:27 Stashed 1 file(s) [Pipeline] echo 20:45:27 [edgeXSemver]: initialized semver on version 3.2.0-dev.4 [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 20:45:27 provisioning config files... 20:45:27 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1281517550657741252tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:45:27 ---> ****-login.sh 20:45:27 nexus3.edgexfoundry.org:10001 20:45:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:45:27 Configure a credential helper to remove this warning. See 20:45:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:45:27 20:45:27 Login Succeeded 20:45:27 nexus3.edgexfoundry.org:10002 20:45:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:45:27 Configure a credential helper to remove this warning. See 20:45:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:45:27 20:45:27 Login Succeeded 20:45:27 nexus3.edgexfoundry.org:10003 20:45:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:45:28 Configure a credential helper to remove this warning. See 20:45:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:45:28 20:45:28 Login Succeeded 20:45:28 nexus3.edgexfoundry.org:10004 20:45:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:45:28 Configure a credential helper to remove this warning. See 20:45:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:45:28 20:45:28 Login Succeeded 20:45:28 ****.io 20:45:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:45:28 Configure a credential helper to remove this warning. See 20:45:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:45:28 20:45:28 Login Succeeded 20:45:28 ---> ****-login.sh ends [Pipeline] } 20:45:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:45:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:45:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:45:28 ========================================================= 20:45:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:45:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:28 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 20:45:28 Sending build context to Docker daemon 17.2MB 20:45:28 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 20:45:28 Step 2/10 : FROM ${BASE} AS builder 20:45:29 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:45:29 7264a8db6415: Pulling fs layer 20:45:29 c4d48a809fc2: Pulling fs layer 20:45:29 4f1c88b9dad5: Pulling fs layer 20:45:29 ad3a456e5733: Pulling fs layer 20:45:29 69c7f0334f64: Pulling fs layer 20:45:29 1f1c1a5573a3: Pulling fs layer 20:45:29 ce7588e14bc9: Pulling fs layer 20:45:29 b5e4710f87ac: Pulling fs layer 20:45:29 69c7f0334f64: Waiting 20:45:29 1f1c1a5573a3: Waiting 20:45:29 ad3a456e5733: Waiting 20:45:29 b5e4710f87ac: Waiting 20:45:29 ce7588e14bc9: Waiting 20:45:29 c4d48a809fc2: Download complete 20:45:29 ad3a456e5733: Verifying Checksum 20:45:29 ad3a456e5733: Download complete 20:45:29 69c7f0334f64: Download complete 20:45:29 7264a8db6415: Verifying Checksum 20:45:29 7264a8db6415: Download complete 20:45:29 1f1c1a5573a3: Verifying Checksum 20:45:29 1f1c1a5573a3: Download complete 20:45:29 7264a8db6415: Pull complete 20:45:29 c4d48a809fc2: Pull complete 20:45:29 b5e4710f87ac: Verifying Checksum 20:45:29 b5e4710f87ac: Download complete 20:45:29 4f1c88b9dad5: Verifying Checksum 20:45:29 4f1c88b9dad5: Download complete 20:45:30 ce7588e14bc9: Verifying Checksum 20:45:32 4f1c88b9dad5: Pull complete 20:45:32 ad3a456e5733: Pull complete 20:45:32 69c7f0334f64: Pull complete 20:45:32 1f1c1a5573a3: Pull complete 20:45:35 ce7588e14bc9: Pull complete 20:45:35 b5e4710f87ac: Pull complete 20:45:35 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 20:45:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:45:35 ---> 88b5674ff536 20:45:35 Step 3/10 : ARG ADD_BUILD_TAGS="" 20:45:37 ---> Running in 70b3cd70aa40 20:45:37 Removing intermediate container 70b3cd70aa40 20:45:37 ---> 185ad8e3d153 20:45:37 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:45:37 ---> Running in 2f501d4a4389 20:45:37 Removing intermediate container 2f501d4a4389 20:45:37 ---> 1980f91a3380 20:45:37 Step 5/10 : RUN apk add --update --no-cache make git openssh 20:45:38 ---> Running in 645bfaad9fb0 20:45:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:45:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:45:38 (1/8) Installing openssh-keygen (9.3_p2-r0) 20:45:38 (2/8) Installing libedit (20221030.3.1-r1) 20:45:38 (3/8) Installing openssh-client-common (9.3_p2-r0) 20:45:38 (4/8) Installing openssh-client-default (9.3_p2-r0) 20:45:38 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 20:45:38 (6/8) Installing openssh-server-common (9.3_p2-r0) 20:45:38 (7/8) Installing openssh-server (9.3_p2-r0) 20:45:38 (8/8) Installing openssh (9.3_p2-r0) 20:45:38 Executing busybox-1.36.1-r5.trigger 20:45:38 OK: 270 MiB in 60 packages 20:45:39 Removing intermediate container 645bfaad9fb0 20:45:39 ---> 68efa46db9ea 20:45:39 Step 6/10 : WORKDIR /device-modbus-go 20:45:39 ---> Running in 569ae385a5b9 20:45:39 Removing intermediate container 569ae385a5b9 20:45:39 ---> d15cd53f78bb 20:45:39 Step 7/10 : COPY go.mod vendor* ./ 20:45:39 ---> 1638e085d0ae 20:45:39 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:45:40 ---> Running in ac3c3355f91c 20:45:42 Still waiting to schedule task 20:45:42 ‘prd-ubuntu20.04-docker-arm64-4c-16g-24595’ is offline 20:46:07 Removing intermediate container ac3c3355f91c 20:46:07 ---> d53d33df7b6c 20:46:07 Step 9/10 : COPY . . 20:46:07 ---> a359abb36aee 20:46:07 Step 10/10 : RUN ${MAKE} 20:46:07 ---> Running in 7920f6af2f60 20:46:08 noop 20:46:08 Removing intermediate container 7920f6af2f60 20:46:08 ---> 22b6fd007774 20:46:08 Successfully built 22b6fd007774 20:46:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:08 + docker inspect -f . ci-base-image-x86_64 20:46:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:08 prd-ubuntu20.04-docker-8c-8g-24596 does not seem to be running inside a container 20:46:08 $ 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 20:46:09 $ docker top 6c4f24dc44907c9c695e964f8387be216ac9cb81a7663d6538404f005ba50b7a -eo pid,comm [Pipeline] { [Pipeline] sh 20:46:09 + go version 20:46:09 go version go1.21.0 linux/amd64 [Pipeline] } 20:46:09 $ docker stop --time=1 6c4f24dc44907c9c695e964f8387be216ac9cb81a7663d6538404f005ba50b7a 20:46:10 $ docker rm -f --volumes 6c4f24dc44907c9c695e964f8387be216ac9cb81a7663d6538404f005ba50b7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:11 + docker inspect -f . ci-base-image-x86_64 20:46:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:11 prd-ubuntu20.04-docker-8c-8g-24596 does not seem to be running inside a container 20:46:11 $ 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 20:46:11 $ docker top 6f1e50ffa88948d6ce1dc105a830b53efbd361aaa748926f2abbaf2e121aaa39 -eo pid,comm [Pipeline] { [Pipeline] sh 20:46:12 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 20:46:12 + make test 20:46:12 go test ./... -coverprofile=coverage.out 20:46:13 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:46:23 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:46:23 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.9% of statements 20:46:28 go vet ./... 20:46:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:46:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:46:32 ./bin/test-attribution-txt.sh [Pipeline] echo 20:46:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:46:32 $ docker stop --time=1 6f1e50ffa88948d6ce1dc105a830b53efbd361aaa748926f2abbaf2e121aaa39 20:46:34 $ docker rm -f --volumes 6f1e50ffa88948d6ce1dc105a830b53efbd361aaa748926f2abbaf2e121aaa39 [Pipeline] // withDockerContainer [Pipeline] sh 20:46:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:46:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:46:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:46:36 + ls -al . 20:46:36 total 192 20:46:36 drwxrwxr-x 9 jenkins jenkins 4096 Dec 6 20:46 . 20:46:36 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 20:45 .. 20:46:36 -rw-rw-r-- 1 jenkins jenkins 140 Dec 6 20:45 .dockerignore 20:46:36 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 20:46 .git 20:46:36 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 20:45 .github 20:46:36 -rw-rw-r-- 1 jenkins jenkins 266 Dec 6 20:45 .gitignore 20:46:36 -rw-rw-r-- 1 jenkins jenkins 41 Dec 6 20:45 .golangci.yml 20:46:36 drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 20:45 .semver 20:46:36 -rw-rw-r-- 1 jenkins jenkins 11101 Dec 6 20:45 Attribution.txt 20:46:36 -rw-rw-r-- 1 jenkins jenkins 16388 Dec 6 20:45 CHANGELOG.md 20:46:36 -rw-rw-r-- 1 jenkins jenkins 1474 Dec 6 20:45 Dockerfile 20:46:36 -rw-rw-r-- 1 jenkins jenkins 677 Dec 6 20:45 GOVERNANCE.md 20:46:36 -rw-rw-r-- 1 jenkins jenkins 658 Dec 6 20:45 Jenkinsfile 20:46:36 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 6 20:45 LICENSE 20:46:36 -rw-rw-r-- 1 jenkins jenkins 1942 Dec 6 20:45 Makefile 20:46:36 -rw-rw-r-- 1 jenkins jenkins 622 Dec 6 20:45 OWNERS.md 20:46:36 -rw-rw-r-- 1 jenkins jenkins 4463 Dec 6 20:45 README.md 20:46:36 -rw-rw-r-- 1 jenkins jenkins 11 Dec 6 20:45 VERSION 20:46:36 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 20:45 bin 20:46:36 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 20:45 cmd 20:46:36 -rw-r--r-- 1 jenkins jenkins 24334 Dec 6 20:46 coverage.out 20:46:36 -rw-rw-r-- 1 jenkins jenkins 3937 Dec 6 20:45 go.mod 20:46:36 -rw-rw-r-- 1 jenkins jenkins 35426 Dec 6 20:45 go.sum 20:46:36 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 20:45 internal 20:46:36 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 20:45 simulator 20:46:36 -rw-rw-r-- 1 jenkins jenkins 229 Dec 6 20:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:36 + 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=85c9ff1e57050cb21dd0a25e11b91c09e287920a --label arch=amd64 --label version=3.2.0-dev.4 . 20:46:36 Sending build context to Docker daemon 17.22MB 20:46:36 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 20:46:36 Step 2/23 : FROM ${BASE} AS builder 20:46:36 ---> 22b6fd007774 20:46:36 Step 3/23 : ARG ADD_BUILD_TAGS="" 20:46:36 ---> Running in 7f7f2a9dc445 20:46:36 Removing intermediate container 7f7f2a9dc445 20:46:36 ---> 49136dd2e234 20:46:36 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:46:36 ---> Running in 9a5ad366a75b 20:46:36 Removing intermediate container 9a5ad366a75b 20:46:36 ---> eb2b24be4225 20:46:36 Step 5/23 : RUN apk add --update --no-cache make git openssh 20:46:36 ---> Running in 815eef15ac0c 20:46:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:46:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:46:37 OK: 270 MiB in 60 packages 20:46:37 Removing intermediate container 815eef15ac0c 20:46:37 ---> 1bb2a7868972 20:46:37 Step 6/23 : WORKDIR /device-modbus-go 20:46:37 ---> Running in 90571d440d9e 20:46:37 Removing intermediate container 90571d440d9e 20:46:37 ---> e9f5d2383641 20:46:37 Step 7/23 : COPY go.mod vendor* ./ 20:46:37 ---> 0b565889c740 20:46:37 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:46:38 ---> Running in 827b1c42af82 20:46:38 Removing intermediate container 827b1c42af82 20:46:38 ---> 6304e890e819 20:46:38 Step 9/23 : COPY . . 20:46:38 ---> 45597dd661df 20:46:38 Step 10/23 : RUN ${MAKE} 20:46:38 ---> Running in 5ede066d72d2 20:46:39 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.4 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.3" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 20:46:57 Removing intermediate container 5ede066d72d2 20:46:57 ---> 14a143eebd5e 20:46:57 Step 11/23 : FROM alpine:3.18 20:46:57 3.18: Pulling from library/alpine 20:46:57 c926b61bad3b: Pulling fs layer 20:46:57 c926b61bad3b: Verifying Checksum 20:46:57 c926b61bad3b: Download complete 20:46:57 c926b61bad3b: Pull complete 20:46:57 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 20:46:57 Status: Downloaded newer image for alpine:3.18 20:46:57 ---> b541f2080109 20:46:57 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 20:46:57 ---> Running in 8961643e14f8 20:46:57 Removing intermediate container 8961643e14f8 20:46:57 ---> 39474d2ff92b 20:46:57 Step 13/23 : RUN apk add --update --no-cache dumb-init 20:46:57 ---> Running in 42bbd898a4ff 20:46:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:46:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:46:57 (1/1) Installing dumb-init (1.2.5-r2) 20:46:57 Executing busybox-1.36.1-r5.trigger 20:46:57 OK: 7 MiB in 16 packages 20:46:57 Removing intermediate container 42bbd898a4ff 20:46:57 ---> 84e31aaa502f 20:46:57 Step 14/23 : RUN apk --no-cache upgrade 20:46:57 ---> Running in 30865a8e4b9f 20:46:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:46:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:46:58 OK: 7 MiB in 16 packages 20:46:58 Removing intermediate container 30865a8e4b9f 20:46:58 ---> 06a68a810b77 20:46:58 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 20:46:58 ---> 3ee01dbda7f0 20:46:58 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 20:46:58 ---> 5ddecc0126cc 20:46:58 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 20:46:59 ---> 6ab414c856c1 20:46:59 Step 18/23 : EXPOSE 59901 20:46:59 ---> Running in 2bd2032e56f1 20:46:59 Removing intermediate container 2bd2032e56f1 20:46:59 ---> 12bf2a6a8c6e 20:46:59 Step 19/23 : ENTRYPOINT ["/device-modbus"] 20:46:59 ---> Running in 43002a15b67f 20:46:59 Removing intermediate container 43002a15b67f 20:46:59 ---> 5f27127c5020 20:46:59 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:46:59 ---> Running in 71b03bcde55d 20:46:59 Removing intermediate container 71b03bcde55d 20:46:59 ---> 836361658ae6 20:46:59 Step 21/23 : LABEL arch=amd64 20:46:59 ---> Running in 7ba744d5a96a 20:46:59 Removing intermediate container 7ba744d5a96a 20:46:59 ---> c19950df4cfb 20:46:59 Step 22/23 : LABEL git_sha=85c9ff1e57050cb21dd0a25e11b91c09e287920a 20:46:59 ---> Running in eca860e0d92a 20:46:59 Removing intermediate container eca860e0d92a 20:46:59 ---> 79ff0aaf8e0c 20:46:59 Step 23/23 : LABEL version=3.2.0-dev.4 20:46:59 ---> Running in daa11778384f 20:46:59 Removing intermediate container daa11778384f 20:46:59 ---> bc77524f151d 20:46:59 [Warning] One or more build-args [ARCH] were not consumed 20:46:59 Successfully built bc77524f151d 20:46:59 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:47:00 provisioning config files... 20:47:00 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6727450969700953804tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:47:00 ---> ****-login.sh 20:47:00 nexus3.edgexfoundry.org:10001 20:47:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:47:00 Configure a credential helper to remove this warning. See 20:47:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:47:00 20:47:00 Login Succeeded 20:47:00 nexus3.edgexfoundry.org:10002 20:47:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:47:00 Configure a credential helper to remove this warning. See 20:47:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:47:00 20:47:00 Login Succeeded 20:47:00 nexus3.edgexfoundry.org:10003 20:47:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:47:00 Configure a credential helper to remove this warning. See 20:47:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:47:00 20:47:00 Login Succeeded 20:47:00 nexus3.edgexfoundry.org:10004 20:47:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:47:00 Configure a credential helper to remove this warning. See 20:47:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:47:00 20:47:00 Login Succeeded 20:47:00 ****.io 20:47:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:47:00 Configure a credential helper to remove this warning. See 20:47:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:47:00 20:47:00 Login Succeeded 20:47:00 ---> ****-login.sh ends [Pipeline] } 20:47:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:47:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:47:01 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 20:47:01 85c9ff1e57050cb21dd0a25e11b91c09e287920a 20:47:01 latest 20:47:01 3.2.0-dev.4 20:47:01 85c9ff1e57050cb21dd0a25e11b91c09e287920a-3.2.0-dev.4 20:47:01 main 20:47:01 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:01 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:85c9ff1e57050cb21dd0a25e11b91c09e287920a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:01 + docker push nexus3.edgexfoundry.org:10004/device-modbus:85c9ff1e57050cb21dd0a25e11b91c09e287920a 20:47:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:47:01 01ed0937e354: Preparing 20:47:01 a82a5970c5ca: Preparing 20:47:01 648f2ac2c64b: Preparing 20:47:01 d44fa2508fa6: Preparing 20:47:01 ecf3c11d3a43: Preparing 20:47:01 9fe9a137fd00: Preparing 20:47:01 9fe9a137fd00: Waiting 20:47:01 ecf3c11d3a43: Pushed 20:47:01 d44fa2508fa6: Pushed 20:47:01 01ed0937e354: Pushed 20:47:01 9fe9a137fd00: Layer already exists 20:47:01 a82a5970c5ca: Pushed 20:47:03 648f2ac2c64b: Pushed 20:47:03 85c9ff1e57050cb21dd0a25e11b91c09e287920a: digest: sha256:a2266ee3ae16df260bfa658635a35e22818be3c0b14e994c005e93609a6accd4 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:04 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:04 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 20:47:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:47:04 01ed0937e354: Preparing 20:47:04 a82a5970c5ca: Preparing 20:47:04 648f2ac2c64b: Preparing 20:47:04 d44fa2508fa6: Preparing 20:47:04 ecf3c11d3a43: Preparing 20:47:04 9fe9a137fd00: Preparing 20:47:04 9fe9a137fd00: Waiting 20:47:04 a82a5970c5ca: Layer already exists 20:47:04 d44fa2508fa6: Layer already exists 20:47:04 648f2ac2c64b: Layer already exists 20:47:04 01ed0937e354: Layer already exists 20:47:04 ecf3c11d3a43: Layer already exists 20:47:04 9fe9a137fd00: Layer already exists 20:47:04 latest: digest: sha256:a2266ee3ae16df260bfa658635a35e22818be3c0b14e994c005e93609a6accd4 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:05 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:05 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.4 20:47:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:47:05 01ed0937e354: Preparing 20:47:05 a82a5970c5ca: Preparing 20:47:05 648f2ac2c64b: Preparing 20:47:05 d44fa2508fa6: Preparing 20:47:05 ecf3c11d3a43: Preparing 20:47:05 9fe9a137fd00: Preparing 20:47:05 9fe9a137fd00: Waiting 20:47:05 ecf3c11d3a43: Layer already exists 20:47:05 01ed0937e354: Layer already exists 20:47:05 d44fa2508fa6: Layer already exists 20:47:05 a82a5970c5ca: Layer already exists 20:47:05 648f2ac2c64b: Layer already exists 20:47:05 9fe9a137fd00: Layer already exists 20:47:05 3.2.0-dev.4: digest: sha256:a2266ee3ae16df260bfa658635a35e22818be3c0b14e994c005e93609a6accd4 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:05 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:85c9ff1e57050cb21dd0a25e11b91c09e287920a-3.2.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:06 + docker push nexus3.edgexfoundry.org:10004/device-modbus:85c9ff1e57050cb21dd0a25e11b91c09e287920a-3.2.0-dev.4 20:47:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:47:06 01ed0937e354: Preparing 20:47:06 a82a5970c5ca: Preparing 20:47:06 648f2ac2c64b: Preparing 20:47:06 d44fa2508fa6: Preparing 20:47:06 ecf3c11d3a43: Preparing 20:47:06 9fe9a137fd00: Preparing 20:47:06 9fe9a137fd00: Waiting 20:47:06 01ed0937e354: Layer already exists 20:47:06 648f2ac2c64b: Layer already exists 20:47:06 ecf3c11d3a43: Layer already exists 20:47:06 a82a5970c5ca: Layer already exists 20:47:06 d44fa2508fa6: Layer already exists 20:47:06 9fe9a137fd00: Layer already exists 20:47:06 85c9ff1e57050cb21dd0a25e11b91c09e287920a-3.2.0-dev.4: digest: sha256:a2266ee3ae16df260bfa658635a35e22818be3c0b14e994c005e93609a6accd4 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:06 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:07 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 20:47:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:47:07 01ed0937e354: Preparing 20:47:07 a82a5970c5ca: Preparing 20:47:07 648f2ac2c64b: Preparing 20:47:07 d44fa2508fa6: Preparing 20:47:07 ecf3c11d3a43: Preparing 20:47:07 9fe9a137fd00: Preparing 20:47:07 9fe9a137fd00: Waiting 20:47:07 648f2ac2c64b: Layer already exists 20:47:07 ecf3c11d3a43: Layer already exists 20:47:07 a82a5970c5ca: Layer already exists 20:47:07 d44fa2508fa6: Layer already exists 20:47:07 01ed0937e354: Layer already exists 20:47:07 9fe9a137fd00: Layer already exists 20:47:07 main: digest: sha256:a2266ee3ae16df260bfa658635a35e22818be3c0b14e994c005e93609a6accd4 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:47:07 ===================================================== [Pipeline] echo 20:47:07 taggedImages: 20:47:07 - nexus3.edgexfoundry.org:10004/device-modbus:85c9ff1e57050cb21dd0a25e11b91c09e287920a 20:47:07 - nexus3.edgexfoundry.org:10004/device-modbus:latest 20:47:07 - nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.4 20:47:07 - nexus3.edgexfoundry.org:10004/device-modbus:85c9ff1e57050cb21dd0a25e11b91c09e287920a-3.2.0-dev.4 20:47:07 - 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 20:47:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:47:07 20:47:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:47:08 latest: Pulling from edgex-lftools-log-publisher 20:47:08 5eb5b503b376: Pulling fs layer 20:47:08 5c69ac0246d0: Pulling fs layer 20:47:08 ec43610c2a17: Pulling fs layer 20:47:08 3a2ae6a8a46f: Pulling fs layer 20:47:08 33b1e0a273af: Pulling fs layer 20:47:08 5d3b04190fa2: Pulling fs layer 20:47:08 2f39f015ded8: Pulling fs layer 20:47:08 33b1e0a273af: Waiting 20:47:08 5d3b04190fa2: Waiting 20:47:08 3a2ae6a8a46f: Waiting 20:47:08 2f39f015ded8: Waiting 20:47:08 5c69ac0246d0: Download complete 20:47:08 3a2ae6a8a46f: Verifying Checksum 20:47:08 3a2ae6a8a46f: Download complete 20:47:08 33b1e0a273af: Verifying Checksum 20:47:08 33b1e0a273af: Download complete 20:47:08 ec43610c2a17: Verifying Checksum 20:47:08 ec43610c2a17: Download complete 20:47:08 5d3b04190fa2: Verifying Checksum 20:47:08 5d3b04190fa2: Download complete 20:47:08 5eb5b503b376: Verifying Checksum 20:47:08 5eb5b503b376: Download complete 20:47:09 2f39f015ded8: Download complete 20:47:09 5eb5b503b376: Pull complete 20:47:09 5c69ac0246d0: Pull complete 20:47:09 ec43610c2a17: Pull complete 20:47:09 3a2ae6a8a46f: Pull complete 20:47:10 33b1e0a273af: Pull complete 20:47:10 5d3b04190fa2: Pull complete 20:47:14 2f39f015ded8: Pull complete 20:47:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:47:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:47:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:14 prd-ubuntu20.04-docker-8c-8g-24596 does not seem to be running inside a container 20:47:14 $ 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 20:47:17 $ docker top 7d8b03aa0c02b5154e5038e979c3c8adeb6a29f3554bcb939159df718482ff86 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:47:17 ---> job-cost.sh 20:47:17 lf-activate-venv: SKIPPING 20:47:17 INFO: No Stack... 20:47:18 INFO: Retrieving Pricing Info for: v3-standard-8 20:47:18 INFO: Archiving Costs [Pipeline] sh 20:47:18 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 20:47:18 + cut -d, -f6 [Pipeline] lock 20:47:18 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-143-stack-cost] 20:47:18 Resource [jenkins-edgexfoundry-device-modbus-go-main-143-stack-cost] did not exist. Created. 20:47:18 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-143-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:47:19 + echo total: 0.2199999988079071 [Pipeline] stash 20:47:19 Stashed 1 file(s) [Pipeline] } 20:47:19 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-143-stack-cost] [Pipeline] // lock [Pipeline] } 20:47:19 $ docker stop --time=1 7d8b03aa0c02b5154e5038e979c3c8adeb6a29f3554bcb939159df718482ff86 20:47:20 $ docker rm -f --volumes 7d8b03aa0c02b5154e5038e979c3c8adeb6a29f3554bcb939159df718482ff86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:48:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24599 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 20:48:12 Running in /w/workspace/device-modbus-go/143 [Pipeline] { [Pipeline] checkout 20:48:15 Selected Git installation does not exist. Using Default 20:48:15 The recommended git tool is: NONE 20:48:21 using credential edgex-jenkins-ssh 20:48:21 Cloning the remote Git repository 20:48:22 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 20:48:22 > git init /w/workspace/device-modbus-go/143 # timeout=10 20:48:22 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:48:22 > git --version # timeout=10 20:48:22 > git --version # 'git version 2.25.1' 20:48:22 using GIT_SSH to set credentials SSH Credentials for GitHub 20:48:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:48:25 Avoid second fetch 20:48:25 Checking out Revision 85c9ff1e57050cb21dd0a25e11b91c09e287920a (main) 20:48:24 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:48:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:48:26 Commit message: "build: [Device Modbus] Add ldflags to strib debug info from binary (#530)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:48:25 > git config core.sparsecheckout # timeout=10 20:48:25 > git checkout -f 85c9ff1e57050cb21dd0a25e11b91c09e287920a # timeout=10 20:48:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:48:27 % Total % Received % Xferd Average Speed Time Time Time Current 20:48:27 Dload Upload Total Spent Left Speed 20:48:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 193k 0 --:--:-- --:--:-- --:--:-- 196k [Pipeline] sh 20:48:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:48:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:48:28 + sudo tee /etc/docker/daemon.new 20:48:28 { 20:48:28 "registry-mirrors": [ 20:48:28 "https://nexus3.edgexfoundry.org:10001" 20:48:28 ], 20:48:28 "bip": "10.250.0.254/24", 20:48:28 "hosts": [ 20:48:28 "tcp://0.0.0.0:5555", 20:48:28 "unix:///var/run/docker.sock" 20:48:28 ], 20:48:28 "mtu": 1458, 20:48:28 "selinux-enabled": true, 20:48:28 "seccomp-profile": "/etc/docker/seccomp.json" 20:48:28 } [Pipeline] sh 20:48:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:48:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:48:47 provisioning config files... 20:48:47 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/143@tmp/config10668443809684337754tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:48:48 ---> ****-login.sh 20:48:48 nexus3.edgexfoundry.org:10001 20:48:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:48:48 Configure a credential helper to remove this warning. See 20:48:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:48:48 20:48:48 Login Succeeded 20:48:48 nexus3.edgexfoundry.org:10002 20:48:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:48:49 Configure a credential helper to remove this warning. See 20:48:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:48:49 20:48:49 Login Succeeded 20:48:49 nexus3.edgexfoundry.org:10003 20:48:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:48:49 Configure a credential helper to remove this warning. See 20:48:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:48:49 20:48:49 Login Succeeded 20:48:49 nexus3.edgexfoundry.org:10004 20:48:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:48:49 Configure a credential helper to remove this warning. See 20:48:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:48:49 20:48:49 Login Succeeded 20:48:49 ****.io 20:48:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:48:50 Configure a credential helper to remove this warning. See 20:48:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:48:50 20:48:50 Login Succeeded 20:48:50 ---> ****-login.sh ends [Pipeline] } 20:48:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:48:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:48:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:48:50 ========================================================= 20:48:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:48:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:51 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 20:48:52 #0 building with "default" instance using docker driver 20:48:52 20:48:52 #1 [internal] load build definition from Dockerfile 20:48:53 #1 transferring dockerfile: 1.51kB done 20:48:53 #1 DONE 0.1s 20:48:53 20:48:53 #2 [internal] load .dockerignore 20:48:53 #2 transferring context: 182B 0.0s done 20:48:53 #2 DONE 0.1s 20:48:53 20:48:53 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:48:53 #3 DONE 0.1s 20:48:53 20:48:53 #4 [internal] load build context 20:48:53 #4 DONE 0.0s 20:48:53 20:48:53 #5 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 20:48:53 #5 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 20:48:53 #5 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 20:48:53 #5 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 20:48:53 #5 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 1.29MB / 3.33MB 0.1s 20:48:53 #5 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s 20:48:53 #5 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 20:48:53 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 1.05MB / 63.99MB 0.2s 20:48:53 #5 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 20:48:53 #5 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 20:48:53 #5 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 20:48:53 #5 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s done 20:48:53 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 6.29MB / 63.99MB 0.4s 20:48:53 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 2.10MB / 97.63MB 0.4s 20:48:53 #5 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.05MB / 11.40MB 0.4s 20:48:53 #5 ... 20:48:53 20:48:53 #4 [internal] load build context 20:48:53 #4 transferring context: 8.61MB 0.4s done 20:48:53 #4 DONE 0.5s 20:48:53 20:48:53 #5 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 20:48:53 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 9.60MB / 63.99MB 0.5s 20:48:53 #5 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 4.19MB / 11.40MB 0.5s 20:48:53 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 9.44MB / 97.63MB 0.6s 20:48:53 #5 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 7.34MB / 11.40MB 0.6s 20:48:53 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 22.02MB / 63.99MB 0.8s 20:48:53 #5 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 20:48:53 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 15.73MB / 97.63MB 0.8s 20:48:53 #5 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done 20:48:54 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 26.29MB / 63.99MB 0.9s 20:48:54 #5 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 20:48:54 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 30.41MB / 63.99MB 1.0s 20:48:54 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 22.02MB / 97.63MB 1.0s 20:48:54 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 39.48MB / 63.99MB 1.2s 20:48:54 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 29.36MB / 97.63MB 1.2s 20:48:54 #5 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 20:48:54 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 44.04MB / 63.99MB 1.3s 20:48:54 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 48.23MB / 63.99MB 1.4s 20:48:54 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 36.70MB / 97.63MB 1.4s 20:48:54 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 56.62MB / 63.99MB 1.6s 20:48:54 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 44.04MB / 97.63MB 1.6s 20:48:54 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 60.87MB / 63.99MB 1.7s 20:48:55 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 53.48MB / 97.63MB 1.8s 20:48:55 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.8s done 20:48:55 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 58.72MB / 97.63MB 1.9s 20:48:55 #5 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 20:48:55 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 68.16MB / 97.63MB 2.1s 20:48:55 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 76.55MB / 97.63MB 2.3s 20:48:55 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 85.64MB / 97.63MB 2.5s 20:48:55 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 93.32MB / 97.63MB 2.7s 20:48:56 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.9s done 20:49:01 #5 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 6.1s 20:49:06 #5 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.3s 20:49:13 #5 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 18.1s done 20:49:14 #5 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 20:49:14 #5 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 20:49:14 #5 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 20:49:14 #5 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 20:49:20 #5 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s 20:49:24 #5 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.8s done 20:49:24 #5 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 20:49:25 #5 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.8s done 20:49:26 #5 DONE 33.1s 20:49:26 20:49:26 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh 20:49:27 #6 0.796 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:49:27 #6 1.438 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:49:28 #6 2.724 (1/8) Installing openssh-keygen (9.3_p2-r0) 20:49:29 #6 2.753 (2/8) Installing libedit (20221030.3.1-r1) 20:49:29 #6 2.767 (3/8) Installing openssh-client-common (9.3_p2-r0) 20:49:29 #6 2.835 (4/8) Installing openssh-client-default (9.3_p2-r0) 20:49:29 #6 2.862 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 20:49:29 #6 2.873 (6/8) Installing openssh-server-common (9.3_p2-r0) 20:49:29 #6 2.881 (7/8) Installing openssh-server (9.3_p2-r0) 20:49:29 #6 2.911 (8/8) Installing openssh (9.3_p2-r0) 20:49:29 #6 2.927 Executing busybox-1.36.1-r5.trigger 20:49:29 #6 2.971 OK: 272 MiB in 60 packages 20:49:31 #6 DONE 5.1s 20:49:31 20:49:31 #7 [builder 3/7] WORKDIR /device-modbus-go 20:49:31 #7 DONE 0.1s 20:49:31 20:49:31 #8 [builder 4/7] COPY go.mod vendor* ./ 20:49:31 #8 DONE 0.1s 20:49:31 20:49:31 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:49:58 #9 DONE 26.2s 20:49:58 20:49:58 #10 [builder 6/7] COPY . . 20:49:58 #10 DONE 0.3s 20:49:58 20:49:58 #11 [builder 7/7] RUN echo noop 20:49:58 #11 0.685 noop 20:49:58 #11 DONE 0.8s 20:49:58 20:49:58 #12 exporting to image 20:49:58 #12 exporting layers 20:50:25 #12 exporting layers 24.2s done 20:50:25 #12 writing image sha256:2e5dcf8d3b83c4c90c4dda21f3257abbe3ee03dd8e3aee8b3f7fed46253ea3ff done 20:50:25 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 20:50:25 #12 DONE 24.2s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:26 + docker inspect -f . ci-base-image-arm64 20:50:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:50:26 prd-ubuntu20.04-docker-arm64-4c-16g-24599 does not seem to be running inside a container 20:50:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/143 -v /w/workspace/device-modbus-go/143:/w/workspace/device-modbus-go/143:rw,z -v /w/workspace/device-modbus-go/143@tmp:/w/workspace/device-modbus-go/143@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 20:50:27 $ docker top 54a7145d2c28979c6dbf6067e9029ae77d54bed27dc733ab383f10f6ef72865e -eo pid,comm [Pipeline] { [Pipeline] sh 20:50:28 + go version 20:50:28 go version go1.21.0 linux/arm64 [Pipeline] } 20:50:28 $ docker stop --time=1 54a7145d2c28979c6dbf6067e9029ae77d54bed27dc733ab383f10f6ef72865e 20:50:30 $ docker rm -f --volumes 54a7145d2c28979c6dbf6067e9029ae77d54bed27dc733ab383f10f6ef72865e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:31 + docker inspect -f . ci-base-image-arm64 20:50:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:50:31 prd-ubuntu20.04-docker-arm64-4c-16g-24599 does not seem to be running inside a container 20:50:31 $ 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/143 -v /w/workspace/device-modbus-go/143:/w/workspace/device-modbus-go/143:rw,z -v /w/workspace/device-modbus-go/143@tmp:/w/workspace/device-modbus-go/143@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 20:50:32 $ docker top c9b2bf8c5c19a5ef98ca339e1c35045c1f5d7f2844f26347b8befd5254b05284 -eo pid,comm [Pipeline] { [Pipeline] sh 20:50:33 + git config --global --add safe.directory /w/workspace/device-modbus-go/143 [Pipeline] fileExists [Pipeline] sh 20:50:33 + make test 20:50:33 go test ./... -coverprofile=coverage.out 20:50:39 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:51:47 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:51:47 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.064s coverage: 47.9% of statements 20:51:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:51:47 go vet ./... 20:51:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:51:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:51:55 ./bin/test-attribution-txt.sh [Pipeline] echo 20:51:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:51:55 $ docker stop --time=1 c9b2bf8c5c19a5ef98ca339e1c35045c1f5d7f2844f26347b8befd5254b05284 20:51:57 $ docker rm -f --volumes c9b2bf8c5c19a5ef98ca339e1c35045c1f5d7f2844f26347b8befd5254b05284 [Pipeline] // withDockerContainer [Pipeline] sh 20:51:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:51:58 Warning: overwriting stash ‘coverage-report’ 20:51:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:51:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:51:59 + ls -al . 20:51:59 total 188 20:51:59 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 20:50 . 20:51:59 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 20:48 .. 20:51:59 -rw-rw-r-- 1 jenkins jenkins 140 Dec 6 20:48 .dockerignore 20:51:59 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 20:48 .git 20:51:59 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 20:48 .github 20:51:59 -rw-rw-r-- 1 jenkins jenkins 266 Dec 6 20:48 .gitignore 20:51:59 -rw-rw-r-- 1 jenkins jenkins 41 Dec 6 20:48 .golangci.yml 20:51:59 -rw-rw-r-- 1 jenkins jenkins 11101 Dec 6 20:48 Attribution.txt 20:51:59 -rw-rw-r-- 1 jenkins jenkins 16388 Dec 6 20:48 CHANGELOG.md 20:51:59 -rw-rw-r-- 1 jenkins jenkins 1474 Dec 6 20:48 Dockerfile 20:51:59 -rw-rw-r-- 1 jenkins jenkins 677 Dec 6 20:48 GOVERNANCE.md 20:51:59 -rw-rw-r-- 1 jenkins jenkins 658 Dec 6 20:48 Jenkinsfile 20:51:59 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 6 20:48 LICENSE 20:51:59 -rw-rw-r-- 1 jenkins jenkins 1942 Dec 6 20:48 Makefile 20:51:59 -rw-rw-r-- 1 jenkins jenkins 622 Dec 6 20:48 OWNERS.md 20:51:59 -rw-rw-r-- 1 jenkins jenkins 4463 Dec 6 20:48 README.md 20:51:59 -rw-rw-r-- 1 jenkins jenkins 11 Dec 6 20:45 VERSION 20:51:59 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 20:48 bin 20:51:59 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 20:48 cmd 20:51:59 -rw-r--r-- 1 jenkins jenkins 24334 Dec 6 20:51 coverage.out 20:51:59 -rw-rw-r-- 1 jenkins jenkins 3937 Dec 6 20:48 go.mod 20:51:59 -rw-rw-r-- 1 jenkins jenkins 35426 Dec 6 20:48 go.sum 20:51:59 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 20:48 internal 20:51:59 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 20:48 simulator 20:51:59 -rw-rw-r-- 1 jenkins jenkins 229 Dec 6 20:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:00 + 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=85c9ff1e57050cb21dd0a25e11b91c09e287920a --label arch=arm64 --label version=3.2.0-dev.4 . 20:52:04 #0 building with "default" instance using docker driver 20:52:04 20:52:04 #1 [internal] load build definition from Dockerfile 20:52:04 #1 transferring dockerfile: 1.51kB done 20:52:04 #1 DONE 0.0s 20:52:04 20:52:04 #2 [internal] load .dockerignore 20:52:04 #2 transferring context: 182B done 20:52:04 #2 DONE 0.0s 20:52:04 20:52:04 #3 [internal] load metadata for docker.io/library/alpine:3.18 20:52:04 #3 ... 20:52:04 20:52:04 #4 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 20:52:04 #4 DONE 0.0s 20:52:04 20:52:04 #3 [internal] load metadata for docker.io/library/alpine:3.18 20:52:04 #3 DONE 0.2s 20:52:04 20:52:04 #5 [internal] load build context 20:52:04 #5 DONE 0.0s 20:52:04 20:52:04 #6 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 20:52:04 #6 DONE 0.0s 20:52:04 20:52:04 #7 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 20:52:04 #7 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 20:52:04 #7 ... 20:52:04 20:52:04 #5 [internal] load build context 20:52:04 #5 transferring context: 31.12kB 0.0s done 20:52:04 #5 DONE 0.1s 20:52:04 20:52:04 #7 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 20:52:04 #7 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.2s done 20:52:05 #7 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 20:52:05 #7 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 811.01kB / 3.33MB 0.1s 20:52:05 #7 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 20:52:05 #7 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 20:52:05 #7 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 20:52:05 #7 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 20:52:05 #7 ... 20:52:05 20:52:05 #6 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 20:52:05 #6 DONE 0.4s 20:52:05 20:52:05 #7 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 20:52:05 #7 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 20:52:05 #7 DONE 1.1s 20:52:05 20:52:05 #8 [builder 2/7] RUN apk add --update --no-cache make git openssh 20:52:05 #8 0.716 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:52:06 #8 1.187 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:52:07 #8 2.446 OK: 272 MiB in 60 packages 20:52:07 #8 DONE 2.8s 20:52:07 20:52:07 #9 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 20:52:07 #9 0.693 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:52:07 #9 1.070 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:52:08 #9 ... 20:52:08 20:52:08 #10 [builder 3/7] WORKDIR /device-modbus-go 20:52:08 #10 DONE 0.1s 20:52:08 20:52:08 #11 [builder 4/7] COPY go.mod vendor* ./ 20:52:08 #11 DONE 0.1s 20:52:08 20:52:08 #9 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 20:52:08 #9 2.262 (1/1) Installing dumb-init (1.2.5-r2) 20:52:08 #9 2.278 Executing busybox-1.36.1-r5.trigger 20:52:08 #9 2.307 OK: 8 MiB in 16 packages 20:52:08 #9 DONE 2.7s 20:52:08 20:52:08 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:52:09 #12 DONE 1.3s 20:52:09 20:52:09 #13 [stage-1 3/6] RUN apk --no-cache upgrade 20:52:09 #13 0.835 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:52:10 #13 1.255 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:52:10 #13 ... 20:52:10 20:52:10 #14 [builder 6/7] COPY . . 20:52:10 #14 DONE 0.4s 20:52:10 20:52:10 #15 [builder 7/7] RUN make build 20:52:11 #15 0.714 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.4 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.3" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 20:52:11 #15 ... 20:52:11 20:52:11 #13 [stage-1 3/6] RUN apk --no-cache upgrade 20:52:11 #13 2.541 OK: 8 MiB in 16 packages 20:52:11 #13 DONE 2.9s 20:52:11 20:52:11 #15 [builder 7/7] RUN make build 20:53:33 #15 DONE 80.6s 20:53:33 20:53:33 #16 [stage-1 4/6] COPY --from=builder /device-modbus-go/cmd / 20:53:33 #16 DONE 0.3s 20:53:33 20:53:33 #17 [stage-1 5/6] COPY --from=builder /device-modbus-go/LICENSE / 20:53:33 #17 DONE 0.1s 20:53:33 20:53:33 #18 [stage-1 6/6] COPY --from=builder /device-modbus-go/Attribution.txt / 20:53:33 #18 DONE 0.1s 20:53:33 20:53:33 #19 exporting to image 20:53:33 #19 exporting layers 20:53:33 #19 exporting layers 0.3s done 20:53:33 #19 writing image sha256:05776132c26fd3d7189e458265570cd212d90803c229a52f47b2a43005f1483c done 20:53:33 #19 naming to docker.io/library/device-modbus-arm64 done 20:53:33 #19 DONE 0.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:53:33 provisioning config files... 20:53:33 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/143@tmp/config4630251958732027371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:53:34 ---> ****-login.sh 20:53:34 nexus3.edgexfoundry.org:10001 20:53:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:53:34 Configure a credential helper to remove this warning. See 20:53:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:53:34 20:53:34 Login Succeeded 20:53:34 nexus3.edgexfoundry.org:10002 20:53:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:53:34 Configure a credential helper to remove this warning. See 20:53:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:53:34 20:53:34 Login Succeeded 20:53:34 nexus3.edgexfoundry.org:10003 20:53:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:53:34 Configure a credential helper to remove this warning. See 20:53:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:53:34 20:53:34 Login Succeeded 20:53:34 nexus3.edgexfoundry.org:10004 20:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:53:35 Configure a credential helper to remove this warning. See 20:53:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:53:35 20:53:35 Login Succeeded 20:53:35 ****.io 20:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:53:35 Configure a credential helper to remove this warning. See 20:53:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:53:35 20:53:35 Login Succeeded 20:53:35 ---> ****-login.sh ends [Pipeline] } 20:53:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:53:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:53:35 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 20:53:35 85c9ff1e57050cb21dd0a25e11b91c09e287920a 20:53:35 latest 20:53:35 3.2.0-dev.4 20:53:35 85c9ff1e57050cb21dd0a25e11b91c09e287920a-3.2.0-dev.4 20:53:35 main 20:53:35 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:36 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:85c9ff1e57050cb21dd0a25e11b91c09e287920a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:36 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:85c9ff1e57050cb21dd0a25e11b91c09e287920a 20:53:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 20:53:36 5c075094c04f: Preparing 20:53:36 b95cc6e38a42: Preparing 20:53:36 ae63ccfe9128: Preparing 20:53:36 1251445faf7b: Preparing 20:53:36 80b491c12d9b: Preparing 20:53:36 0faf9b67be60: Preparing 20:53:36 0faf9b67be60: Waiting 20:53:37 b95cc6e38a42: Pushed 20:53:37 5c075094c04f: Pushed 20:53:37 1251445faf7b: Pushed 20:53:37 80b491c12d9b: Pushed 20:53:37 0faf9b67be60: Layer already exists 20:53:41 ae63ccfe9128: Pushed 20:53:41 85c9ff1e57050cb21dd0a25e11b91c09e287920a: digest: sha256:0f8df937b95ad65ac8b9472d0861900117b73db054e2fb8b3da40ad9f0409646 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:42 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:42 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 20:53:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 20:53:42 5c075094c04f: Preparing 20:53:42 b95cc6e38a42: Preparing 20:53:42 ae63ccfe9128: Preparing 20:53:42 1251445faf7b: Preparing 20:53:42 80b491c12d9b: Preparing 20:53:42 0faf9b67be60: Preparing 20:53:42 0faf9b67be60: Waiting 20:53:42 80b491c12d9b: Layer already exists 20:53:42 5c075094c04f: Layer already exists 20:53:42 1251445faf7b: Layer already exists 20:53:42 ae63ccfe9128: Layer already exists 20:53:42 b95cc6e38a42: Layer already exists 20:53:42 0faf9b67be60: Layer already exists 20:53:43 latest: digest: sha256:0f8df937b95ad65ac8b9472d0861900117b73db054e2fb8b3da40ad9f0409646 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:43 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:43 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.4 20:53:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 20:53:43 5c075094c04f: Preparing 20:53:43 b95cc6e38a42: Preparing 20:53:43 ae63ccfe9128: Preparing 20:53:43 1251445faf7b: Preparing 20:53:43 80b491c12d9b: Preparing 20:53:43 0faf9b67be60: Preparing 20:53:43 1251445faf7b: Layer already exists 20:53:43 ae63ccfe9128: Layer already exists 20:53:43 80b491c12d9b: Layer already exists 20:53:43 5c075094c04f: Layer already exists 20:53:43 b95cc6e38a42: Layer already exists 20:53:43 0faf9b67be60: Layer already exists 20:53:44 3.2.0-dev.4: digest: sha256:0f8df937b95ad65ac8b9472d0861900117b73db054e2fb8b3da40ad9f0409646 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:44 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:85c9ff1e57050cb21dd0a25e11b91c09e287920a-3.2.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:45 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:85c9ff1e57050cb21dd0a25e11b91c09e287920a-3.2.0-dev.4 20:53:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 20:53:45 5c075094c04f: Preparing 20:53:45 b95cc6e38a42: Preparing 20:53:45 ae63ccfe9128: Preparing 20:53:45 1251445faf7b: Preparing 20:53:45 80b491c12d9b: Preparing 20:53:45 0faf9b67be60: Preparing 20:53:45 0faf9b67be60: Waiting 20:53:45 5c075094c04f: Layer already exists 20:53:45 1251445faf7b: Layer already exists 20:53:45 80b491c12d9b: Layer already exists 20:53:45 ae63ccfe9128: Layer already exists 20:53:45 b95cc6e38a42: Layer already exists 20:53:45 0faf9b67be60: Layer already exists 20:53:45 85c9ff1e57050cb21dd0a25e11b91c09e287920a-3.2.0-dev.4: digest: sha256:0f8df937b95ad65ac8b9472d0861900117b73db054e2fb8b3da40ad9f0409646 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:45 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:46 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 20:53:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 20:53:46 5c075094c04f: Preparing 20:53:46 b95cc6e38a42: Preparing 20:53:46 ae63ccfe9128: Preparing 20:53:46 1251445faf7b: Preparing 20:53:46 80b491c12d9b: Preparing 20:53:46 0faf9b67be60: Preparing 20:53:46 0faf9b67be60: Waiting 20:53:46 b95cc6e38a42: Layer already exists 20:53:46 80b491c12d9b: Layer already exists 20:53:46 5c075094c04f: Layer already exists 20:53:46 ae63ccfe9128: Layer already exists 20:53:46 1251445faf7b: Layer already exists 20:53:46 0faf9b67be60: Layer already exists 20:53:46 main: digest: sha256:0f8df937b95ad65ac8b9472d0861900117b73db054e2fb8b3da40ad9f0409646 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:53:46 ===================================================== [Pipeline] echo 20:53:47 taggedImages: 20:53:47 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:85c9ff1e57050cb21dd0a25e11b91c09e287920a 20:53:47 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 20:53:47 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.4 20:53:47 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:85c9ff1e57050cb21dd0a25e11b91c09e287920a-3.2.0-dev.4 20:53:47 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:53:47 20:53:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:53:48 arm64: Pulling from edgex-lftools-log-publisher 20:53:48 8998bd30e6a1: Pulling fs layer 20:53:48 04944245beec: Pulling fs layer 20:53:48 699f458cf7ca: Pulling fs layer 20:53:48 765212b225bb: Pulling fs layer 20:53:48 f23df028b6ca: Pulling fs layer 20:53:48 d65c8cfc05b1: Pulling fs layer 20:53:48 2437ff75d9bd: Pulling fs layer 20:53:48 765212b225bb: Waiting 20:53:48 f23df028b6ca: Waiting 20:53:48 d65c8cfc05b1: Waiting 20:53:48 2437ff75d9bd: Waiting 20:53:48 04944245beec: Verifying Checksum 20:53:48 04944245beec: Download complete 20:53:48 765212b225bb: Verifying Checksum 20:53:48 765212b225bb: Download complete 20:53:48 f23df028b6ca: Verifying Checksum 20:53:48 f23df028b6ca: Download complete 20:53:48 699f458cf7ca: Download complete 20:53:48 d65c8cfc05b1: Verifying Checksum 20:53:48 d65c8cfc05b1: Download complete 20:53:48 8998bd30e6a1: Verifying Checksum 20:53:48 8998bd30e6a1: Download complete 20:53:51 2437ff75d9bd: Download complete 20:54:00 8998bd30e6a1: Pull complete 20:54:00 04944245beec: Pull complete 20:54:01 699f458cf7ca: Pull complete 20:54:01 765212b225bb: Pull complete 20:54:02 f23df028b6ca: Pull complete 20:54:02 d65c8cfc05b1: Pull complete 20:54:29 2437ff75d9bd: Pull complete 20:54:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:54:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:54:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:54:30 prd-ubuntu20.04-docker-arm64-4c-16g-24599 does not seem to be running inside a container 20:54:30 $ 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/143 -v /w/workspace/device-modbus-go/143:/w/workspace/device-modbus-go/143:rw,z -v /w/workspace/device-modbus-go/143@tmp:/w/workspace/device-modbus-go/143@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 20:54:31 $ docker top a8fe3e27116578c88bdeda28579ec1534aee7e8d75a132b0747f2e05835934af -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:54:32 ---> job-cost.sh 20:54:32 lf-activate-venv: SKIPPING 20:54:32 INFO: No Stack... 20:54:33 INFO: Retrieving Pricing Info for: v3-standard-8 20:54:33 INFO: Archiving Costs [Pipeline] sh 20:54:34 + cat /w/workspace/device-modbus-go/143/archives/cost.csv 20:54:34 + cut -d, -f6 [Pipeline] lock 20:54:34 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-143-stack-cost] 20:54:34 Resource [jenkins-edgexfoundry-device-modbus-go-main-143-stack-cost] did not exist. Created. 20:54:34 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-143-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:54:34 /w/workspace/device-modbus-go/143@tmp/durable-a7263f04/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:54:35 + echo total: 0.2199999988079071 [Pipeline] stash 20:54:35 Warning: overwriting stash ‘stack-cost’ 20:54:35 Stashed 1 file(s) [Pipeline] } 20:54:35 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-143-stack-cost] [Pipeline] // lock [Pipeline] } 20:54:35 $ docker stop --time=1 a8fe3e27116578c88bdeda28579ec1534aee7e8d75a132b0747f2e05835934af 20:54:36 $ docker rm -f --volumes a8fe3e27116578c88bdeda28579ec1534aee7e8d75a132b0747f2e05835934af [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 20:54:37 provisioning config files... 20:54:37 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8797724291441670631tmp [Pipeline] { [Pipeline] sh 20:54:38 + set +x 20:54:38 + + curl -s https://codecov.io/bashbash 20:54:38 -s -- 20:54:38 20:54:38 _____ _ 20:54:38 / ____| | | 20:54:38 | | ___ __| | ___ ___ _____ __ 20:54:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:54:38 | |___| (_) | (_| | __/ (_| (_) \ V / 20:54:38 \_____\___/ \__,_|\___|\___\___/ \_/ 20:54:38 Bash-1.0.6 20:54:38 20:54:38 20:54:38 ==> git version 2.25.1 found 20:54:38 ==> 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 20:54:38 Release-Date: 2020-01-08 20:54:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:54:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:54:38 ==> Jenkins CI detected. 20:54:38 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 20:54:38 project root: . 20:54:38 --> token set from env 20:54:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:54:38 ==> Running gcov in . (disable via -X gcov) 20:54:38 ==> Python coveragepy not found 20:54:38 ==> Searching for coverage reports in: 20:54:38 + . 20:54:38 -> Found 1 reports 20:54:38 ==> Detecting git/mercurial file structure 20:54:38 ==> Reading reports 20:54:38 + ./coverage.out bytes=24334 20:54:38 ==> Appending adjustments 20:54:38 https://docs.codecov.io/docs/fixing-reports 20:54:38 + Found adjustments 20:54:38 ==> Gzipping contents 20:54:38 4.0K /tmp/codecov.Yw50B7.gz 20:54:38 ==> Uploading reports 20:54:38 url: https://codecov.io 20:54:38 query: branch=main&commit=85c9ff1e57050cb21dd0a25e11b91c09e287920a&build=143&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F143%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:54:38 -> Pinging Codecov 20:54:38 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=85c9ff1e57050cb21dd0a25e11b91c09e287920a&build=143&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F143%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:54:38 -> Uploading to 20:54:38 https://storage.googleapis.com/codecov/v4/raw/2023-12-06/55DBCA73C666E3227836607328DD7E49/85c9ff1e57050cb21dd0a25e11b91c09e287920a/428aae0c-101c-4f7c-9262-d9ce3bda7bbc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231206%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231206T205438Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=81986b775652c9567a0bd3cf5035ecf4609bc9f0c15213e5af03cd6a662bfd4c 20:54:38 % Total % Received % Xferd Average Speed Time Time Time Current 20:54:38 Dload Upload Total Spent Left Speed 20:54:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3806 0 0 100 3806 0 14638 --:--:-- --:--:-- --:--:-- 14638 20:54:38 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/85c9ff1e57050cb21dd0a25e11b91c09e287920a [Pipeline] } 20:54:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:54:39 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:54:39 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:54:39 20:54:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:54:39 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:54:39 df9b9388f04a: Pulling fs layer 20:54:39 52dc419b0ee2: Pulling fs layer 20:54:39 25bc292e5bac: Pulling fs layer 20:54:39 114826534d7a: Pulling fs layer 20:54:39 4657fd5d0bcf: Pulling fs layer 20:54:39 6ad1cebc031e: Pulling fs layer 20:54:39 8a3aa393b2d8: Pulling fs layer 20:54:39 114826534d7a: Waiting 20:54:39 4657fd5d0bcf: Waiting 20:54:39 6ad1cebc031e: Waiting 20:54:39 8a3aa393b2d8: Waiting 20:54:39 25bc292e5bac: Verifying Checksum 20:54:39 25bc292e5bac: Download complete 20:54:39 52dc419b0ee2: Verifying Checksum 20:54:39 52dc419b0ee2: Download complete 20:54:39 4657fd5d0bcf: Verifying Checksum 20:54:39 4657fd5d0bcf: Download complete 20:54:39 df9b9388f04a: Verifying Checksum 20:54:39 df9b9388f04a: Download complete 20:54:39 df9b9388f04a: Pull complete 20:54:40 6ad1cebc031e: Verifying Checksum 20:54:40 6ad1cebc031e: Download complete 20:54:40 52dc419b0ee2: Pull complete 20:54:40 25bc292e5bac: Pull complete 20:54:40 114826534d7a: Verifying Checksum 20:54:40 114826534d7a: Download complete 20:54:40 8a3aa393b2d8: Verifying Checksum 20:54:40 8a3aa393b2d8: Download complete 20:54:44 114826534d7a: Pull complete 20:54:44 4657fd5d0bcf: Pull complete 20:54:44 6ad1cebc031e: Pull complete 20:54:46 8a3aa393b2d8: Pull complete 20:54:46 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 20:54:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:54:46 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:54:46 prd-ubuntu20.04-docker-8c-8g-24596 does not seem to be running inside a container 20:54:46 $ 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 20:54:49 $ docker top 38be0dc5541c806ce6a269c2a15de2dab8347634fd4669c4588098c84f3679b1 -eo pid,comm [Pipeline] { [Pipeline] echo 20:54:49 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 20:54:49 + set -o pipefail 20:54:49 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 20:54:53 20:54:53 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 20:54:53 20:54:53 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/431f8106-f3bf-41a1-8ff5-e761652de803 20:54:53 20:54:53 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:54:53 20:54:53 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:54:53 20:54:54 20:54:54 A medium severity vulnerability was found in the Snyk CLI versions you are using. 20:54:54 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 20:54:54 More details here: https://snyk.co/ue1NS 20:54:54 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 20:54:54 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 20:54:54 $ docker stop --time=1 38be0dc5541c806ce6a269c2a15de2dab8347634fd4669c4588098c84f3679b1 20:54:56 $ docker rm -f --volumes 38be0dc5541c806ce6a269c2a15de2dab8347634fd4669c4588098c84f3679b1 [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 20:54:58 + git log --format=format:%s -1 85c9ff1e57050cb21dd0a25e11b91c09e287920a [Pipeline] sh 20:54:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:54:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:54:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:54:59 prd-ubuntu20.04-docker-8c-8g-24596 does not seem to be running inside a container 20:54:59 $ 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 20:54:59 $ docker top 01ea5581668df53475d1943186118f8d968bde419f3a17b0613ebebc6338564e -eo pid,comm 20:54:59 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). 20:54:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:54:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:54:59 [ssh-agent] Looking for ssh-agent implementation... 20:54:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:54:59 $ docker exec 01ea5581668df53475d1943186118f8d968bde419f3a17b0613ebebc6338564e ssh-agent 20:55:00 SSH_AUTH_SOCK=/tmp/ssh-7dv5C04BdlA8/agent.32 20:55:00 SSH_AGENT_PID=38 20:55:00 Running ssh-add (command line suppressed) 20:55:00 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9461874746822366491.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9461874746822366491.key) 20:55:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:55:00 + git semver tag 20:55:00 2023-12-06 20:55:00,702 [run_tag] DEBUG tag force:False 20:55:00 2023-12-06 20:55:00,702 [check_head_tag] DEBUG check head tag 20:55:00 2023-12-06 20:55:00,703 [execute] INFO git cat-file --batch-check 20:55:00 2023-12-06 20:55:00,703 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 20:55:00 2023-12-06 20:55:00,706 [execute] INFO git cat-file --batch 20:55:00 2023-12-06 20:55:00,706 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 20:55:00 2023-12-06 20:55:00,722 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 20:55:00 2023-12-06 20:55:00,722 [execute] INFO git tag -a v3.2.0-dev.4 -m v3.2.0-dev.4 20:55:00 2023-12-06 20:55:00,722 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.4', '-m', 'v3.2.0-dev.4'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 20:55:00 2023-12-06 20:55:00,726 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 20:55:00 3.2.0-dev.4 [Pipeline] } 20:55:00 $ docker exec --env ******** --env ******** 01ea5581668df53475d1943186118f8d968bde419f3a17b0613ebebc6338564e ssh-agent -k 20:55:00 unset SSH_AUTH_SOCK; 20:55:00 unset SSH_AGENT_PID; 20:55:00 echo Agent pid 38 killed; 20:55:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:55:01 + git semver [Pipeline] } 20:55:01 $ docker stop --time=1 01ea5581668df53475d1943186118f8d968bde419f3a17b0613ebebc6338564e 20:55:02 $ docker rm -f --volumes 01ea5581668df53475d1943186118f8d968bde419f3a17b0613ebebc6338564e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:55:03 20:55:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:55:03 0.23.1-centos7: Pulling from edgex-lftools 20:55:03 ab5ef0e58194: Pulling fs layer 20:55:03 9712f1f96733: Pulling fs layer 20:55:03 63f879dbbcfc: Pulling fs layer 20:55:03 0d9ebad4ef96: Pulling fs layer 20:55:03 e9a5061849ea: Pulling fs layer 20:55:03 d747dcd14b5f: Pulling fs layer 20:55:03 2de7ff778b66: Pulling fs layer 20:55:03 e9a5061849ea: Waiting 20:55:03 d747dcd14b5f: Waiting 20:55:03 2de7ff778b66: Waiting 20:55:03 0d9ebad4ef96: Waiting 20:55:03 9712f1f96733: Verifying Checksum 20:55:03 9712f1f96733: Download complete 20:55:04 63f879dbbcfc: Verifying Checksum 20:55:04 63f879dbbcfc: Download complete 20:55:04 e9a5061849ea: Verifying Checksum 20:55:04 e9a5061849ea: Download complete 20:55:04 0d9ebad4ef96: Verifying Checksum 20:55:04 0d9ebad4ef96: Download complete 20:55:04 d747dcd14b5f: Verifying Checksum 20:55:04 d747dcd14b5f: Download complete 20:55:04 ab5ef0e58194: Verifying Checksum 20:55:04 ab5ef0e58194: Download complete 20:55:04 2de7ff778b66: Verifying Checksum 20:55:04 2de7ff778b66: Download complete 20:55:07 ab5ef0e58194: Pull complete 20:55:07 9712f1f96733: Pull complete 20:55:07 63f879dbbcfc: Pull complete 20:55:10 0d9ebad4ef96: Pull complete 20:55:10 e9a5061849ea: Pull complete 20:55:11 d747dcd14b5f: Pull complete 20:55:12 2de7ff778b66: Pull complete 20:55:12 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:55:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:55:12 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:55:12 prd-ubuntu20.04-docker-8c-8g-24596 does not seem to be running inside a container 20:55:12 $ 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 20:55:16 $ docker top 73180c625b854e67ccab25a8959f050c9872ae30eeb0af2a093419549f6efaec -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:55:16 provisioning config files... 20:55:16 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17397503441307682450tmp 20:55:16 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16422896522251442547tmp 20:55:16 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10909923307785123457tmp [Pipeline] { [Pipeline] echo 20:55:16 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:55:16 ---> sigul-configuration.sh 20:55:16 gpg: directory `/root/.gnupg' created 20:55:16 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:55:16 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:55:16 gpg: keyring `/root/.gnupg/secring.gpg' created 20:55:16 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:55:16 gpg: CAST5 encrypted data 20:55:16 gpg: encrypted with 1 passphrase 20:55:16 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:55:17 + mkdir /home/jenkins 20:55:17 + mkdir /home/jenkins/sigul [Pipeline] sh 20:55:17 + 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 20:55:17 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:55:17 ---> sigul-install.sh 20:55:17 Sigul already installed; skipping installation. [Pipeline] sh 20:55:17 + git tag --list 20:55:17 0.7.1 20:55:17 v1.0.0 20:55:17 v1.1.0 20:55:17 v1.1.1 20:55:17 v1.2.2 20:55:17 v1.3.0 20:55:17 v1.3.1 20:55:17 v2.0.0 20:55:17 v2.1.0 20:55:17 v2.1.1 20:55:17 v2.2.0 20:55:17 v2.3.0 20:55:17 v3.0 20:55:17 v3.0.0 20:55:17 v3.1 20:55:17 v3.1.0 20:55:17 v3.1.0-dev.1 20:55:17 v3.1.0-dev.10 20:55:17 v3.1.0-dev.11 20:55:17 v3.1.0-dev.12 20:55:17 v3.1.0-dev.13 20:55:17 v3.1.0-dev.14 20:55:17 v3.1.0-dev.15 20:55:17 v3.1.0-dev.16 20:55:17 v3.1.0-dev.17 20:55:17 v3.1.0-dev.18 20:55:17 v3.1.0-dev.19 20:55:17 v3.1.0-dev.2 20:55:17 v3.1.0-dev.20 20:55:17 v3.1.0-dev.21 20:55:17 v3.1.0-dev.22 20:55:17 v3.1.0-dev.23 20:55:17 v3.1.0-dev.24 20:55:17 v3.1.0-dev.25 20:55:17 v3.1.0-dev.3 20:55:17 v3.1.0-dev.4 20:55:17 v3.1.0-dev.5 20:55:17 v3.1.0-dev.6 20:55:17 v3.1.0-dev.7 20:55:17 v3.1.0-dev.8 20:55:17 v3.1.0-dev.9 20:55:17 v3.2.0-dev.1 20:55:17 v3.2.0-dev.2 20:55:17 v3.2.0-dev.3 20:55:17 v3.2.0-dev.4 [Pipeline] sh 20:55:18 + lftools sign git-tag v3.2.0-dev.4 20:55:18 Signing Git tag with Sigul... 20:55:18 Signing v3.2.0-dev.4 [Pipeline] echo 20:55:19 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:55:19 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:55:19 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:55:19 $ docker stop --time=1 73180c625b854e67ccab25a8959f050c9872ae30eeb0af2a093419549f6efaec 20:55:20 $ docker rm -f --volumes 73180c625b854e67ccab25a8959f050c9872ae30eeb0af2a093419549f6efaec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:55:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:55:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:55:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:55:22 prd-ubuntu20.04-docker-8c-8g-24596 does not seem to be running inside a container 20:55:22 $ 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 20:55:22 $ docker top f9e11e4f820e7e3dda91ddae9c33b034c447bbb27aef4812628abb25cfe1de38 -eo pid,comm 20:55:22 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). 20:55:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:55:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:55:22 [ssh-agent] Looking for ssh-agent implementation... 20:55:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:55:22 $ docker exec f9e11e4f820e7e3dda91ddae9c33b034c447bbb27aef4812628abb25cfe1de38 ssh-agent 20:55:23 SSH_AUTH_SOCK=/tmp/ssh-SQKDg9erD17q/agent.34 20:55:23 SSH_AGENT_PID=40 20:55:23 Running ssh-add (command line suppressed) 20:55:23 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16258027982475049022.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16258027982475049022.key) 20:55:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:55:23 + git semver bump pre 20:55:23 2023-12-06 20:55:23,652 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 20:55:23 2023-12-06 20:55:23,652 [bump_version] DEBUG bumping version:3.2.0-dev.4 on axis:pre with prefix:dev 20:55:23 2023-12-06 20:55:23,653 [bump_version] DEBUG bumped version:3.2.0-dev.5 20:55:23 2023-12-06 20:55:23,653 [write_version] DEBUG write version:3.2.0-dev.5 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 20:55:23 2023-12-06 20:55:23,653 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 20:55:23 2023-12-06 20:55:23,653 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 20:55:23 2023-12-06 20:55:23,655 [execute] INFO git cat-file --batch-check 20:55:23 2023-12-06 20:55:23,655 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:55:23 2023-12-06 20:55:23,660 [execute] INFO git cat-file --batch 20:55:23 2023-12-06 20:55:23,660 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:55:23 2023-12-06 20:55:23,665 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 20:55:23 3.2.0-dev.5 [Pipeline] } 20:55:23 $ docker exec --env ******** --env ******** f9e11e4f820e7e3dda91ddae9c33b034c447bbb27aef4812628abb25cfe1de38 ssh-agent -k 20:55:23 unset SSH_AUTH_SOCK; 20:55:23 unset SSH_AGENT_PID; 20:55:23 echo Agent pid 40 killed; 20:55:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:55:24 + git semver [Pipeline] } 20:55:24 $ docker stop --time=1 f9e11e4f820e7e3dda91ddae9c33b034c447bbb27aef4812628abb25cfe1de38 20:55:25 $ docker rm -f --volumes f9e11e4f820e7e3dda91ddae9c33b034c447bbb27aef4812628abb25cfe1de38 [Pipeline] // withDockerContainer [Pipeline] sh 20:55:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:55:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:55:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:55:26 prd-ubuntu20.04-docker-8c-8g-24596 does not seem to be running inside a container 20:55:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:55:27 $ docker top 07c5f9429e1654a2dab8e844c2b7fa8ccbe7febf96bc3ab78050919936d568c4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:55:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:55:27 [ssh-agent] Looking for ssh-agent implementation... 20:55:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:55:27 $ docker exec 07c5f9429e1654a2dab8e844c2b7fa8ccbe7febf96bc3ab78050919936d568c4 ssh-agent 20:55:27 SSH_AUTH_SOCK=/tmp/ssh-A0pHrAk1LAUq/agent.31 20:55:27 SSH_AGENT_PID=37 20:55:27 Running ssh-add (command line suppressed) 20:55:27 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13093707894637403101.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13093707894637403101.key) 20:55:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:55:28 + git semver push 20:55:28 2023-12-06 20:55:28,458 [run_push] DEBUG push 20:55:28 2023-12-06 20:55:28,458 [execute] INFO git cat-file --batch-check 20:55:28 2023-12-06 20:55:28,459 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:55:28 2023-12-06 20:55:28,462 [execute] INFO git rev-list b7b49ef1879608aa9d11697c053122b05cabdb03 -- 20:55:28 2023-12-06 20:55:28,462 [execute] DEBUG Popen(['git', 'rev-list', 'b7b49ef1879608aa9d11697c053122b05cabdb03', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:55:28 2023-12-06 20:55:28,470 [execute] INFO git fetch -v origin 20:55:28 2023-12-06 20:55:28,471 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 20:55:29 2023-12-06 20:55:29,008 [run_push] DEBUG no remote changes detected 20:55:29 2023-12-06 20:55:29,009 [execute] INFO git push origin semver 20:55:29 2023-12-06 20:55:29,009 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:55:30 2023-12-06 20:55:29,775 [run_push] DEBUG push all version tags 20:55:30 2023-12-06 20:55:29,775 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 20:55:30 2023-12-06 20:55:29,776 [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) 20:55:30 2023-12-06 20:55:30,541 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 20:55:30 3.2.0-dev.5 [Pipeline] } 20:55:30 $ docker exec --env ******** --env ******** 07c5f9429e1654a2dab8e844c2b7fa8ccbe7febf96bc3ab78050919936d568c4 ssh-agent -k 20:55:30 unset SSH_AUTH_SOCK; 20:55:30 unset SSH_AGENT_PID; 20:55:30 echo Agent pid 37 killed; 20:55:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:55:31 + git semver [Pipeline] } 20:55:31 $ docker stop --time=1 07c5f9429e1654a2dab8e844c2b7fa8ccbe7febf96bc3ab78050919936d568c4 20:55:32 $ docker rm -f --volumes 07c5f9429e1654a2dab8e844c2b7fa8ccbe7febf96bc3ab78050919936d568c4 [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 20:55:34 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 20:55:34 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 20:55:34 total 16 20:55:34 drwxr-xr-x 3 root root 4096 Dec 6 20:47 . 20:55:34 drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 20:55 .. 20:55:34 drwxr-xr-x 2 root root 4096 Dec 6 20:47 cost 20:55:34 -rw-r--r-- 1 root root 88 Dec 6 20:47 cost.csv 20:55:34 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 20:55:34 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 20:55:34 total 16 20:55:34 drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 20:47 . 20:55:34 drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 20:55 .. 20:55:34 drwxr-xr-x 2 jenkins jenkins 4096 Dec 6 20:47 cost 20:55:34 -rw-r--r-- 1 jenkins jenkins 88 Dec 6 20:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:55:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:55:35 ---> package-listing.sh 20:55:35 ++ facter osfamily 20:55:35 ++ tr '[:upper:]' '[:lower:]' 20:55:35 + OS_FAMILY=debian 20:55:35 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 20:55:35 + START_PACKAGES=/tmp/packages_start.txt 20:55:35 + END_PACKAGES=/tmp/packages_end.txt 20:55:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:55:35 + PACKAGES=/tmp/packages_start.txt 20:55:35 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 20:55:35 + PACKAGES=/tmp/packages_end.txt 20:55:35 + case "${OS_FAMILY}" in 20:55:35 + dpkg -l 20:55:35 + grep '^ii' 20:55:35 + '[' -f /tmp/packages_start.txt ']' 20:55:35 + '[' -f /tmp/packages_end.txt ']' 20:55:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:55:35 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 20:55:35 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 20:55:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 20:55:35 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 20:55:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:55:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:55:36 prd-ubuntu20.04-docker-8c-8g-24596 does not seem to be running inside a container 20:55:36 $ 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 20:55:37 $ docker top c8b51af0b024a517f8ea4da38830c028dcad9efc628c483e2c466a61e0c40e82 -eo pid,comm [Pipeline] { [Pipeline] sh 20:55:37 + touch /tmp/pre-build-complete [Pipeline] sh 20:55:37 + mkdir -p /var/log/sysstat [Pipeline] sh 20:55:38 + ls /var/log/sa-host 20:55:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:55:38 provisioning config files... 20:55:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10694419875247616763tmp [Pipeline] { [Pipeline] echo 20:55:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:55:38 ---> create-netrc.sh [Pipeline] } 20:55:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:55:39 ---> python-tools-install.sh [Pipeline] echo 20:55:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:55:39 ---> sudo-logs.sh 20:55:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:55:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:55:39 ---> job-cost.sh 20:55:39 lf-activate-venv: SKIPPING 20:55:39 DEBUG: total: 0.2199999988079071 20:55:39 INFO: Retrieving Stack Cost... 20:55:40 INFO: Retrieving Pricing Info for: v3-standard-8 20:55:40 INFO: Archiving Costs [Pipeline] echo 20:55:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:55:40 ---> logs-deploy.sh 20:55:40 lf-activate-venv: SKIPPING 20:55:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/143 20:55:40 INFO: archiving workspace using pattern(s): 20:55:41 Archives upload complete. 20:55:41 INFO: archiving logs to Nexus