Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4de3a8f4fd48ff80f4bd37b19548b6aae5009810 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-ssh8348969025011428388.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-ssh9172071305128216096.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-ssh17559660409535964182.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-ssh8665922713648595637.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-ssh12902097906121418516.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-24230 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 4de3a8f4fd48ff80f4bd37b19548b6aae5009810 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#529)" > 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 4de3a8f4fd48ff80f4bd37b19548b6aae5009810 # timeout=10 > git rev-list --no-walk 600d018d751e79cb36c22856eb8a497d52ddc51b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:27:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:27:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:27:58 ========================================================= 15:27:58 EdgeX Global Pipelines Version Info 15:27:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:27:59 ------------------- 15:27:59 stable info: 15:27:59 ------------------- 15:27:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:27:59 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 15:27:59 Message: update stable to v1.0.258 15:28:00 ------------------- 15:28:00 experimental info: 15:28:00 ------------------- 15:28:00 Commited By: **** collab-it+edgex@linuxfoundation.org 15:28:00 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 15:28:00 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:28:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 15:28:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 15:28:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:28:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:28:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:28:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 15:28:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:28:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:28:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:28:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:28:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:28:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 15:28:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:28:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:28:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:28:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:28:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:28:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:28:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:28:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:28:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:28:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:28:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:28:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:28:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:28:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:28:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:28:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:28:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:28:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:28:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4de3a8f4fd48ff80f4bd37b19548b6aae5009810 [Pipeline] echo 15:28:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4de3a8f [Pipeline] echo 15:28:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:28:01 provisioning config files... 15:28:01 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8199957434051033349tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:28:01 ---> ****-login.sh 15:28:01 nexus3.edgexfoundry.org:10001 15:28:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:28:02 Configure a credential helper to remove this warning. See 15:28:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:28:02 15:28:02 Login Succeeded 15:28:02 nexus3.edgexfoundry.org:10002 15:28:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:28:02 Configure a credential helper to remove this warning. See 15:28:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:28:02 15:28:02 Login Succeeded 15:28:02 nexus3.edgexfoundry.org:10003 15:28:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:28:02 Configure a credential helper to remove this warning. See 15:28:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:28:02 15:28:02 Login Succeeded 15:28:02 nexus3.edgexfoundry.org:10004 15:28:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:28:02 Configure a credential helper to remove this warning. See 15:28:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:28:02 15:28:02 Login Succeeded 15:28:02 ****.io 15:28:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:28:02 Configure a credential helper to remove this warning. See 15:28:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:28:02 15:28:02 Login Succeeded 15:28:02 ---> ****-login.sh ends [Pipeline] } 15:28:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:28:03 + git rev-list -1 --merges 4de3a8f4fd48ff80f4bd37b19548b6aae5009810~1..4de3a8f4fd48ff80f4bd37b19548b6aae5009810 [Pipeline] echo 15:28:03 -----------> git rev-list -1 --merges 4de3a8f4fd48ff80f4bd37b19548b6aae5009810~1..4de3a8f4fd48ff80f4bd37b19548b6aae5009810 4de3a8f4fd48ff80f4bd37b19548b6aae5009810 [false] [Pipeline] sh 15:28:03 + git log --format=format:%s -1 4de3a8f4fd48ff80f4bd37b19548b6aae5009810 [Pipeline] echo 15:28:03 ========================================================= 15:28:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:28:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:28:03 + git log --format=format:%s -1 4de3a8f4fd48ff80f4bd37b19548b6aae5009810 [Pipeline] echo 15:28:03 [semverPrep] GIT_COMMIT: 4de3a8f4fd48ff80f4bd37b19548b6aae5009810, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#529) [Pipeline] echo 15:28:03 [semverPrep] This is not a build commit. [Pipeline] sh 15:28:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:28:04 + grep -v github /etc/ssh/ssh_known_hosts 15:28:04 + [ -e /tmp/ssh_known_hosts ] 15:28:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:28:04 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:28:04 sudo tee -a /etc/ssh/ssh_known_hosts 15:28:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:28:04 15:28:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:28:05 0.1.4: Pulling from edgex-devops/py-git-semver 15:28:05 b85a868b505f: Pulling fs layer 15:28:05 e2be974225ed: Pulling fs layer 15:28:05 339a4e72a1f5: Pulling fs layer 15:28:05 988bab9f4d93: Pulling fs layer 15:28:05 1469e6f7b9e6: Pulling fs layer 15:28:05 eaf3925da568: Pulling fs layer 15:28:05 bab4dde63d76: Pulling fs layer 15:28:05 bde34c3a00c8: Pulling fs layer 15:28:05 b352a97aabf1: Pulling fs layer 15:28:05 4872d77fe225: Pulling fs layer 15:28:05 5851b861e8e6: Pulling fs layer 15:28:05 eaf3925da568: Waiting 15:28:05 b352a97aabf1: Waiting 15:28:05 5851b861e8e6: Waiting 15:28:05 bab4dde63d76: Waiting 15:28:05 4872d77fe225: Waiting 15:28:05 bde34c3a00c8: Waiting 15:28:05 988bab9f4d93: Waiting 15:28:05 1469e6f7b9e6: Waiting 15:28:05 e2be974225ed: Download complete 15:28:05 988bab9f4d93: Verifying Checksum 15:28:05 988bab9f4d93: Download complete 15:28:05 339a4e72a1f5: Verifying Checksum 15:28:05 339a4e72a1f5: Download complete 15:28:05 1469e6f7b9e6: Verifying Checksum 15:28:05 1469e6f7b9e6: Download complete 15:28:05 eaf3925da568: Verifying Checksum 15:28:05 eaf3925da568: Download complete 15:28:05 bde34c3a00c8: Verifying Checksum 15:28:05 bde34c3a00c8: Download complete 15:28:05 b352a97aabf1: Download complete 15:28:05 4872d77fe225: Download complete 15:28:05 5851b861e8e6: Verifying Checksum 15:28:05 5851b861e8e6: Download complete 15:28:05 b85a868b505f: Verifying Checksum 15:28:05 b85a868b505f: Download complete 15:28:05 bab4dde63d76: Verifying Checksum 15:28:05 bab4dde63d76: Download complete 15:28:06 b85a868b505f: Pull complete 15:28:06 e2be974225ed: Pull complete 15:28:06 339a4e72a1f5: Pull complete 15:28:07 988bab9f4d93: Pull complete 15:28:07 1469e6f7b9e6: Pull complete 15:28:07 eaf3925da568: Pull complete 15:28:09 bab4dde63d76: Pull complete 15:28:09 bde34c3a00c8: Pull complete 15:28:09 b352a97aabf1: Pull complete 15:28:09 4872d77fe225: Pull complete 15:28:09 5851b861e8e6: Pull complete 15:28:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:28:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:28:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:28:09 prd-ubuntu20.04-docker-8c-8g-24230 does not seem to be running inside a container 15:28:09 $ 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 15:28:11 $ docker top 896c147fc9008e32b7fa64473adf9409626e6c91403ba3e40269a8b374c51e7a -eo pid,comm 15:28:11 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:28:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:28:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:28:12 [ssh-agent] Looking for ssh-agent implementation... 15:28:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:28:12 $ docker exec 896c147fc9008e32b7fa64473adf9409626e6c91403ba3e40269a8b374c51e7a ssh-agent 15:28:12 SSH_AUTH_SOCK=/tmp/ssh-Qpejn2CzJnUA/agent.33 15:28:12 SSH_AGENT_PID=39 15:28:12 Running ssh-add (command line suppressed) 15:28:12 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_18394606905992492097.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_18394606905992492097.key) 15:28:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:28:12 + git tag --points-at HEAD [Pipeline] } 15:28:12 $ docker exec --env ******** --env ******** 896c147fc9008e32b7fa64473adf9409626e6c91403ba3e40269a8b374c51e7a ssh-agent -k 15:28:12 unset SSH_AUTH_SOCK; 15:28:12 unset SSH_AGENT_PID; 15:28:12 echo Agent pid 39 killed; 15:28:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:28:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:28:12 [ssh-agent] Looking for ssh-agent implementation... 15:28:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:28:13 $ docker exec 896c147fc9008e32b7fa64473adf9409626e6c91403ba3e40269a8b374c51e7a ssh-agent 15:28:13 SSH_AUTH_SOCK=/tmp/ssh-nnn5wfLxw1iW/agent.71 15:28:13 SSH_AGENT_PID=77 15:28:13 Running ssh-add (command line suppressed) 15:28:13 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14516483646094972074.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14516483646094972074.key) 15:28:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:28:13 + git semver init 15:28:13 2023-12-06 15:28:13,710 [run_init] DEBUG init version:0.0.0 force:False 15:28:13 2023-12-06 15:28:13,710 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 15:28:13 2023-12-06 15:28:13,711 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 15:28:13 2023-12-06 15:28:13,711 [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) 15:28:15 2023-12-06 15:28:14,936 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 15:28:15 2023-12-06 15:28:14,936 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 15:28:15 2023-12-06 15:28:14,936 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 15:28:15 2023-12-06 15:28:14,937 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 15:28:15 3.2.0-dev.3 [Pipeline] } 15:28:15 $ docker exec --env ******** --env ******** 896c147fc9008e32b7fa64473adf9409626e6c91403ba3e40269a8b374c51e7a ssh-agent -k 15:28:15 unset SSH_AUTH_SOCK; 15:28:15 unset SSH_AGENT_PID; 15:28:15 echo Agent pid 77 killed; 15:28:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:28:15 + git semver [Pipeline] } 15:28:15 $ docker stop --time=1 896c147fc9008e32b7fa64473adf9409626e6c91403ba3e40269a8b374c51e7a 15:28:17 $ docker rm -f --volumes 896c147fc9008e32b7fa64473adf9409626e6c91403ba3e40269a8b374c51e7a [Pipeline] // withDockerContainer [Pipeline] sh 15:28:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:28:17 Stashed 1 file(s) [Pipeline] echo 15:28:17 [edgeXSemver]: initialized semver on version 3.2.0-dev.3 [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 15:28:18 provisioning config files... 15:28:18 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4915441546146598282tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:28:18 ---> ****-login.sh 15:28:18 nexus3.edgexfoundry.org:10001 15:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:28:18 Configure a credential helper to remove this warning. See 15:28:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:28:18 15:28:18 Login Succeeded 15:28:18 nexus3.edgexfoundry.org:10002 15:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:28:18 Configure a credential helper to remove this warning. See 15:28:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:28:18 15:28:18 Login Succeeded 15:28:18 nexus3.edgexfoundry.org:10003 15:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:28:18 Configure a credential helper to remove this warning. See 15:28:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:28:18 15:28:18 Login Succeeded 15:28:18 nexus3.edgexfoundry.org:10004 15:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:28:18 Configure a credential helper to remove this warning. See 15:28:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:28:18 15:28:18 Login Succeeded 15:28:18 ****.io 15:28:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:28:19 Configure a credential helper to remove this warning. See 15:28:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:28:19 15:28:19 Login Succeeded 15:28:19 ---> ****-login.sh ends [Pipeline] } 15:28:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:28:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:28:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:28:19 ========================================================= 15:28:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 15:28:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:19 + 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 . 15:28:19 Sending build context to Docker daemon 17.21MB 15:28:19 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 15:28:19 Step 2/10 : FROM ${BASE} AS builder 15:28:19 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 15:28:19 7264a8db6415: Pulling fs layer 15:28:19 c4d48a809fc2: Pulling fs layer 15:28:19 4f1c88b9dad5: Pulling fs layer 15:28:19 ad3a456e5733: Pulling fs layer 15:28:19 69c7f0334f64: Pulling fs layer 15:28:19 1f1c1a5573a3: Pulling fs layer 15:28:19 ce7588e14bc9: Pulling fs layer 15:28:19 b5e4710f87ac: Pulling fs layer 15:28:19 ad3a456e5733: Waiting 15:28:19 69c7f0334f64: Waiting 15:28:19 1f1c1a5573a3: Waiting 15:28:19 ce7588e14bc9: Waiting 15:28:19 c4d48a809fc2: Download complete 15:28:19 ad3a456e5733: Verifying Checksum 15:28:19 ad3a456e5733: Download complete 15:28:19 69c7f0334f64: Download complete 15:28:19 7264a8db6415: Verifying Checksum 15:28:19 7264a8db6415: Download complete 15:28:19 1f1c1a5573a3: Verifying Checksum 15:28:19 1f1c1a5573a3: Download complete 15:28:19 7264a8db6415: Pull complete 15:28:20 b5e4710f87ac: Verifying Checksum 15:28:20 b5e4710f87ac: Download complete 15:28:20 c4d48a809fc2: Pull complete 15:28:20 4f1c88b9dad5: Download complete 15:28:20 ce7588e14bc9: Verifying Checksum 15:28:20 ce7588e14bc9: Download complete 15:28:23 4f1c88b9dad5: Pull complete 15:28:23 ad3a456e5733: Pull complete 15:28:23 69c7f0334f64: Pull complete 15:28:23 1f1c1a5573a3: Pull complete 15:28:25 ce7588e14bc9: Pull complete 15:28:25 b5e4710f87ac: Pull complete 15:28:25 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 15:28:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 15:28:25 ---> 88b5674ff536 15:28:25 Step 3/10 : ARG ADD_BUILD_TAGS="" 15:28:29 ---> Running in 7106b2971691 15:28:29 Removing intermediate container 7106b2971691 15:28:29 ---> ddcdd1805e90 15:28:29 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:28:29 ---> Running in 45c76f60c07f 15:28:29 Removing intermediate container 45c76f60c07f 15:28:29 ---> 5f69901844ed 15:28:29 Step 5/10 : RUN apk add --update --no-cache make git openssh 15:28:29 ---> Running in 42751c95c5ae 15:28:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:28:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:28:29 (1/8) Installing openssh-keygen (9.3_p2-r0) 15:28:29 (2/8) Installing libedit (20221030.3.1-r1) 15:28:29 (3/8) Installing openssh-client-common (9.3_p2-r0) 15:28:29 (4/8) Installing openssh-client-default (9.3_p2-r0) 15:28:29 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 15:28:29 (6/8) Installing openssh-server-common (9.3_p2-r0) 15:28:29 (7/8) Installing openssh-server (9.3_p2-r0) 15:28:29 (8/8) Installing openssh (9.3_p2-r0) 15:28:29 Executing busybox-1.36.1-r5.trigger 15:28:29 OK: 270 MiB in 60 packages 15:28:30 Removing intermediate container 42751c95c5ae 15:28:30 ---> 2914e4b0975f 15:28:30 Step 6/10 : WORKDIR /device-modbus-go 15:28:30 ---> Running in f9e556b71397 15:28:30 Removing intermediate container f9e556b71397 15:28:30 ---> 96fa5bce7608 15:28:30 Step 7/10 : COPY go.mod vendor* ./ 15:28:30 ---> 670d2641d8f0 15:28:30 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:28:30 ---> Running in b6f1eb7f7baa 15:28:33 Still waiting to schedule task 15:28:33 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 15:28:57 Removing intermediate container b6f1eb7f7baa 15:28:57 ---> 396aec15262a 15:28:57 Step 9/10 : COPY . . 15:28:57 ---> 41314a829095 15:28:57 Step 10/10 : RUN ${MAKE} 15:28:57 ---> Running in 9630138b51d9 15:28:57 noop 15:28:57 Removing intermediate container 9630138b51d9 15:28:57 ---> f06cfa1ae782 15:28:57 Successfully built f06cfa1ae782 15:28:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:57 + docker inspect -f . ci-base-image-x86_64 15:28:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:28:57 prd-ubuntu20.04-docker-8c-8g-24230 does not seem to be running inside a container 15:28:57 $ 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 15:28:58 $ docker top 8d9ae56cd1891f8ee722107a773d26295ba224e4091116f647aa7be36c9f65ad -eo pid,comm [Pipeline] { [Pipeline] sh 15:28:58 + go version 15:28:58 go version go1.21.0 linux/amd64 [Pipeline] } 15:28:58 $ docker stop --time=1 8d9ae56cd1891f8ee722107a773d26295ba224e4091116f647aa7be36c9f65ad 15:28:59 $ docker rm -f --volumes 8d9ae56cd1891f8ee722107a773d26295ba224e4091116f647aa7be36c9f65ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:00 + docker inspect -f . ci-base-image-x86_64 15:29:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:29:00 prd-ubuntu20.04-docker-8c-8g-24230 does not seem to be running inside a container 15:29:00 $ 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 15:29:00 $ docker top 85db2bfc259595e4dd0c7bb1dbe9420d149f087bc2e5d8a3cc9dc5df5dabc0a0 -eo pid,comm [Pipeline] { [Pipeline] sh 15:29:01 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 15:29:01 + make test 15:29:01 go test ./... -coverprofile=coverage.out 15:29:02 ? github.com/edgexfoundry/device-modbus-go [no test files] 15:29:12 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 15:29:12 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.9% of statements 15:29:17 go vet ./... 15:29:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:29:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:29:20 ./bin/test-attribution-txt.sh [Pipeline] echo 15:29:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:29:20 $ docker stop --time=1 85db2bfc259595e4dd0c7bb1dbe9420d149f087bc2e5d8a3cc9dc5df5dabc0a0 15:29:22 $ docker rm -f --volumes 85db2bfc259595e4dd0c7bb1dbe9420d149f087bc2e5d8a3cc9dc5df5dabc0a0 [Pipeline] // withDockerContainer [Pipeline] sh 15:29:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:29:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:29:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:29:23 + ls -al . 15:29:23 total 192 15:29:23 drwxrwxr-x 9 jenkins jenkins 4096 Dec 6 15:29 . 15:29:23 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 15:27 .. 15:29:23 -rw-rw-r-- 1 jenkins jenkins 140 Dec 6 15:27 .dockerignore 15:29:23 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 15:29 .git 15:29:23 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 15:27 .github 15:29:23 -rw-rw-r-- 1 jenkins jenkins 266 Dec 6 15:27 .gitignore 15:29:23 -rw-rw-r-- 1 jenkins jenkins 41 Dec 6 15:27 .golangci.yml 15:29:23 drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 15:28 .semver 15:29:23 -rw-rw-r-- 1 jenkins jenkins 11101 Dec 6 15:27 Attribution.txt 15:29:23 -rw-rw-r-- 1 jenkins jenkins 16388 Dec 6 15:27 CHANGELOG.md 15:29:23 -rw-rw-r-- 1 jenkins jenkins 1474 Dec 6 15:27 Dockerfile 15:29:23 -rw-rw-r-- 1 jenkins jenkins 677 Dec 6 15:27 GOVERNANCE.md 15:29:23 -rw-rw-r-- 1 jenkins jenkins 658 Dec 6 15:27 Jenkinsfile 15:29:23 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 6 15:27 LICENSE 15:29:23 -rw-rw-r-- 1 jenkins jenkins 1936 Dec 6 15:27 Makefile 15:29:23 -rw-rw-r-- 1 jenkins jenkins 622 Dec 6 15:27 OWNERS.md 15:29:23 -rw-rw-r-- 1 jenkins jenkins 4463 Dec 6 15:27 README.md 15:29:23 -rw-rw-r-- 1 jenkins jenkins 11 Dec 6 15:28 VERSION 15:29:23 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 15:27 bin 15:29:23 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 15:27 cmd 15:29:23 -rw-r--r-- 1 jenkins jenkins 24334 Dec 6 15:29 coverage.out 15:29:23 -rw-rw-r-- 1 jenkins jenkins 3937 Dec 6 15:27 go.mod 15:29:23 -rw-rw-r-- 1 jenkins jenkins 35426 Dec 6 15:27 go.sum 15:29:23 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 15:27 internal 15:29:23 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 15:27 simulator 15:29:23 -rw-rw-r-- 1 jenkins jenkins 229 Dec 6 15:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:24 + 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=4de3a8f4fd48ff80f4bd37b19548b6aae5009810 --label arch=amd64 --label version=3.2.0-dev.3 . 15:29:24 Sending build context to Docker daemon 17.24MB 15:29:24 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 15:29:24 Step 2/23 : FROM ${BASE} AS builder 15:29:24 ---> f06cfa1ae782 15:29:24 Step 3/23 : ARG ADD_BUILD_TAGS="" 15:29:24 ---> Running in 6f50d464957d 15:29:24 Removing intermediate container 6f50d464957d 15:29:24 ---> b274aa30f313 15:29:24 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:29:24 ---> Running in 87f56b5fb7ce 15:29:24 Removing intermediate container 87f56b5fb7ce 15:29:24 ---> 24ecc2ae5398 15:29:24 Step 5/23 : RUN apk add --update --no-cache make git openssh 15:29:24 ---> Running in d789aca6dbf3 15:29:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:29:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:29:25 OK: 270 MiB in 60 packages 15:29:25 Removing intermediate container d789aca6dbf3 15:29:25 ---> d5598990fc5f 15:29:25 Step 6/23 : WORKDIR /device-modbus-go 15:29:25 ---> Running in 2ea2c616f34f 15:29:25 Removing intermediate container 2ea2c616f34f 15:29:25 ---> 85c72bd6af5f 15:29:25 Step 7/23 : COPY go.mod vendor* ./ 15:29:25 ---> 860b52212211 15:29:25 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:29:25 ---> Running in 01254d21e0d2 15:29:26 Removing intermediate container 01254d21e0d2 15:29:26 ---> 73a37b5c3540 15:29:26 Step 9/23 : COPY . . 15:29:26 ---> 97cc1d79f639 15:29:26 Step 10/23 : RUN ${MAKE} 15:29:26 ---> Running in 9f1adcd5efd7 15:29:26 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.3 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.3" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 15:29:41 Removing intermediate container 9f1adcd5efd7 15:29:41 ---> c1abe44ff07a 15:29:41 Step 11/23 : FROM alpine:3.18 15:29:42 3.18: Pulling from library/alpine 15:29:42 c926b61bad3b: Pulling fs layer 15:29:42 c926b61bad3b: Verifying Checksum 15:29:42 c926b61bad3b: Download complete 15:29:42 c926b61bad3b: Pull complete 15:29:42 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 15:29:42 Status: Downloaded newer image for alpine:3.18 15:29:42 ---> b541f2080109 15:29:42 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 15:29:42 ---> Running in 3e61201c4559 15:29:42 Removing intermediate container 3e61201c4559 15:29:42 ---> f0809275a1bb 15:29:42 Step 13/23 : RUN apk add --update --no-cache dumb-init 15:29:42 ---> Running in 3d111acafee3 15:29:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:29:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:29:43 (1/1) Installing dumb-init (1.2.5-r2) 15:29:43 Executing busybox-1.36.1-r5.trigger 15:29:43 OK: 7 MiB in 16 packages 15:29:43 Removing intermediate container 3d111acafee3 15:29:43 ---> 9ea5cad47a67 15:29:43 Step 14/23 : RUN apk --no-cache upgrade 15:29:43 ---> Running in f77aa0e28109 15:29:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:29:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:29:44 OK: 7 MiB in 16 packages 15:29:44 Removing intermediate container f77aa0e28109 15:29:44 ---> 11a5adb33960 15:29:44 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 15:29:45 ---> 4eaccb1b896b 15:29:45 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 15:29:45 ---> 388731494163 15:29:45 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 15:29:45 ---> 519996aa4b1e 15:29:45 Step 18/23 : EXPOSE 59901 15:29:45 ---> Running in 948c1ecf2e66 15:29:45 Removing intermediate container 948c1ecf2e66 15:29:45 ---> c3f490450599 15:29:45 Step 19/23 : ENTRYPOINT ["/device-modbus"] 15:29:45 ---> Running in a69513c7344e 15:29:45 Removing intermediate container a69513c7344e 15:29:45 ---> 10fa8d1eaba7 15:29:45 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:29:45 ---> Running in be942f7ba2a8 15:29:45 Removing intermediate container be942f7ba2a8 15:29:45 ---> 2b021e509b28 15:29:45 Step 21/23 : LABEL arch=amd64 15:29:45 ---> Running in 27ed6b5b52ec 15:29:45 Removing intermediate container 27ed6b5b52ec 15:29:45 ---> 7cddab73d605 15:29:45 Step 22/23 : LABEL git_sha=4de3a8f4fd48ff80f4bd37b19548b6aae5009810 15:29:45 ---> Running in fc0444e1894d 15:29:45 Removing intermediate container fc0444e1894d 15:29:45 ---> ecee226e31c0 15:29:45 Step 23/23 : LABEL version=3.2.0-dev.3 15:29:45 ---> Running in 01ae249912c6 15:29:45 Removing intermediate container 01ae249912c6 15:29:45 ---> 7a5b4013180d 15:29:45 [Warning] One or more build-args [ARCH] were not consumed 15:29:45 Successfully built 7a5b4013180d 15:29:45 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:29:46 provisioning config files... 15:29:46 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17362027824797874105tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:29:46 ---> ****-login.sh 15:29:46 nexus3.edgexfoundry.org:10001 15:29:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:29:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:29:46 Configure a credential helper to remove this warning. See 15:29:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:29:46 15:29:46 Login Succeeded 15:29:46 nexus3.edgexfoundry.org:10002 15:29:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:29:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:29:46 Configure a credential helper to remove this warning. See 15:29:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:29:46 15:29:46 Login Succeeded 15:29:46 nexus3.edgexfoundry.org:10003 15:29:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:29:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:29:46 Configure a credential helper to remove this warning. See 15:29:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:29:46 15:29:46 Login Succeeded 15:29:46 nexus3.edgexfoundry.org:10004 15:29:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:29:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:29:46 Configure a credential helper to remove this warning. See 15:29:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:29:46 15:29:46 Login Succeeded 15:29:46 ****.io 15:29:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:29:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:29:47 Configure a credential helper to remove this warning. See 15:29:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:29:47 15:29:47 Login Succeeded 15:29:47 ---> ****-login.sh ends [Pipeline] } 15:29:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:29:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:29:47 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 15:29:47 4de3a8f4fd48ff80f4bd37b19548b6aae5009810 15:29:47 latest 15:29:47 3.2.0-dev.3 15:29:47 4de3a8f4fd48ff80f4bd37b19548b6aae5009810-3.2.0-dev.3 15:29:47 main 15:29:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:47 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4de3a8f4fd48ff80f4bd37b19548b6aae5009810 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:48 + docker push nexus3.edgexfoundry.org:10004/device-modbus:4de3a8f4fd48ff80f4bd37b19548b6aae5009810 15:29:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 15:29:49 bf1fc1b329aa: Preparing 15:29:49 3619228e97c8: Preparing 15:29:49 c283755a3ced: Preparing 15:29:49 b9256e43dcbf: Preparing 15:29:49 adc804b0d1f8: Preparing 15:29:49 9fe9a137fd00: Preparing 15:29:49 9fe9a137fd00: Waiting 15:29:49 bf1fc1b329aa: Pushed 15:29:49 b9256e43dcbf: Pushed 15:29:49 9fe9a137fd00: Layer already exists 15:29:49 adc804b0d1f8: Pushed 15:29:49 3619228e97c8: Pushed 15:29:52 c283755a3ced: Pushed 15:29:52 4de3a8f4fd48ff80f4bd37b19548b6aae5009810: digest: sha256:2f7ba47a545a939628463649ed5b5c9ad879c795bc79f72230f9ee689311f927 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:53 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:53 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 15:29:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 15:29:53 bf1fc1b329aa: Preparing 15:29:53 3619228e97c8: Preparing 15:29:53 c283755a3ced: Preparing 15:29:53 b9256e43dcbf: Preparing 15:29:53 adc804b0d1f8: Preparing 15:29:53 9fe9a137fd00: Preparing 15:29:53 9fe9a137fd00: Waiting 15:29:53 c283755a3ced: Layer already exists 15:29:53 b9256e43dcbf: Layer already exists 15:29:53 adc804b0d1f8: Layer already exists 15:29:53 3619228e97c8: Layer already exists 15:29:53 bf1fc1b329aa: Layer already exists 15:29:53 9fe9a137fd00: Layer already exists 15:29:53 latest: digest: sha256:2f7ba47a545a939628463649ed5b5c9ad879c795bc79f72230f9ee689311f927 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:54 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:54 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.3 15:29:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 15:29:54 bf1fc1b329aa: Preparing 15:29:54 3619228e97c8: Preparing 15:29:54 c283755a3ced: Preparing 15:29:54 b9256e43dcbf: Preparing 15:29:54 adc804b0d1f8: Preparing 15:29:54 9fe9a137fd00: Preparing 15:29:54 9fe9a137fd00: Waiting 15:29:54 c283755a3ced: Layer already exists 15:29:54 bf1fc1b329aa: Layer already exists 15:29:54 adc804b0d1f8: Layer already exists 15:29:54 b9256e43dcbf: Layer already exists 15:29:54 3619228e97c8: Layer already exists 15:29:54 9fe9a137fd00: Layer already exists 15:29:54 3.2.0-dev.3: digest: sha256:2f7ba47a545a939628463649ed5b5c9ad879c795bc79f72230f9ee689311f927 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:54 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4de3a8f4fd48ff80f4bd37b19548b6aae5009810-3.2.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:55 + docker push nexus3.edgexfoundry.org:10004/device-modbus:4de3a8f4fd48ff80f4bd37b19548b6aae5009810-3.2.0-dev.3 15:29:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 15:29:55 bf1fc1b329aa: Preparing 15:29:55 3619228e97c8: Preparing 15:29:55 c283755a3ced: Preparing 15:29:55 b9256e43dcbf: Preparing 15:29:55 adc804b0d1f8: Preparing 15:29:55 9fe9a137fd00: Preparing 15:29:55 9fe9a137fd00: Waiting 15:29:55 c283755a3ced: Layer already exists 15:29:55 b9256e43dcbf: Layer already exists 15:29:55 adc804b0d1f8: Layer already exists 15:29:55 bf1fc1b329aa: Layer already exists 15:29:55 3619228e97c8: Layer already exists 15:29:55 9fe9a137fd00: Layer already exists 15:29:55 4de3a8f4fd48ff80f4bd37b19548b6aae5009810-3.2.0-dev.3: digest: sha256:2f7ba47a545a939628463649ed5b5c9ad879c795bc79f72230f9ee689311f927 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:55 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:56 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 15:29:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 15:29:56 bf1fc1b329aa: Preparing 15:29:56 3619228e97c8: Preparing 15:29:56 c283755a3ced: Preparing 15:29:56 b9256e43dcbf: Preparing 15:29:56 adc804b0d1f8: Preparing 15:29:56 9fe9a137fd00: Preparing 15:29:56 9fe9a137fd00: Waiting 15:29:56 3619228e97c8: Layer already exists 15:29:56 adc804b0d1f8: Layer already exists 15:29:56 c283755a3ced: Layer already exists 15:29:56 b9256e43dcbf: Layer already exists 15:29:56 bf1fc1b329aa: Layer already exists 15:29:56 9fe9a137fd00: Layer already exists 15:29:56 main: digest: sha256:2f7ba47a545a939628463649ed5b5c9ad879c795bc79f72230f9ee689311f927 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:29:56 ===================================================== [Pipeline] echo 15:29:56 taggedImages: 15:29:56 - nexus3.edgexfoundry.org:10004/device-modbus:4de3a8f4fd48ff80f4bd37b19548b6aae5009810 15:29:56 - nexus3.edgexfoundry.org:10004/device-modbus:latest 15:29:56 - nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.3 15:29:56 - nexus3.edgexfoundry.org:10004/device-modbus:4de3a8f4fd48ff80f4bd37b19548b6aae5009810-3.2.0-dev.3 15:29:56 - 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 15:29:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:29:57 15:29:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:29:57 latest: Pulling from edgex-lftools-log-publisher 15:29:57 5eb5b503b376: Pulling fs layer 15:29:57 5c69ac0246d0: Pulling fs layer 15:29:57 ec43610c2a17: Pulling fs layer 15:29:57 3a2ae6a8a46f: Pulling fs layer 15:29:57 33b1e0a273af: Pulling fs layer 15:29:57 5d3b04190fa2: Pulling fs layer 15:29:57 2f39f015ded8: Pulling fs layer 15:29:57 33b1e0a273af: Waiting 15:29:57 5d3b04190fa2: Waiting 15:29:57 3a2ae6a8a46f: Waiting 15:29:57 2f39f015ded8: Waiting 15:29:57 5c69ac0246d0: Download complete 15:29:57 3a2ae6a8a46f: Verifying Checksum 15:29:57 3a2ae6a8a46f: Download complete 15:29:57 33b1e0a273af: Verifying Checksum 15:29:57 33b1e0a273af: Download complete 15:29:57 5d3b04190fa2: Download complete 15:29:57 ec43610c2a17: Verifying Checksum 15:29:57 ec43610c2a17: Download complete 15:29:57 5eb5b503b376: Verifying Checksum 15:29:57 5eb5b503b376: Download complete 15:29:58 2f39f015ded8: Download complete 15:29:58 5eb5b503b376: Pull complete 15:29:58 5c69ac0246d0: Pull complete 15:29:58 ec43610c2a17: Pull complete 15:29:59 3a2ae6a8a46f: Pull complete 15:29:59 33b1e0a273af: Pull complete 15:29:59 5d3b04190fa2: Pull complete 15:30:02 2f39f015ded8: Pull complete 15:30:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:30:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:30:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:30:02 prd-ubuntu20.04-docker-8c-8g-24230 does not seem to be running inside a container 15:30:03 $ 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 15:30:04 $ docker top 6c52ea652d630e879a4040fe60660333e80e4510f377ec3682733815e8dac07b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:30:04 ---> job-cost.sh 15:30:04 lf-activate-venv: SKIPPING 15:30:04 INFO: No Stack... 15:30:04 INFO: Retrieving Pricing Info for: v3-standard-8 15:30:05 INFO: Archiving Costs [Pipeline] sh 15:30:05 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 15:30:05 + cut -d, -f6 [Pipeline] lock 15:30:05 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-142-stack-cost] 15:30:05 Resource [jenkins-edgexfoundry-device-modbus-go-main-142-stack-cost] did not exist. Created. 15:30:05 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-142-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:30:05 + echo total: 0.2199999988079071 [Pipeline] stash 15:30:05 Stashed 1 file(s) [Pipeline] } 15:30:05 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-142-stack-cost] [Pipeline] // lock [Pipeline] } 15:30:06 $ docker stop --time=1 6c52ea652d630e879a4040fe60660333e80e4510f377ec3682733815e8dac07b 15:30:07 $ docker rm -f --volumes 6c52ea652d630e879a4040fe60660333e80e4510f377ec3682733815e8dac07b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:46:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24544 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 15:46:53 Running in /w/workspace/device-modbus-go/142 [Pipeline] { [Pipeline] checkout 15:46:54 Selected Git installation does not exist. Using Default 15:46:54 The recommended git tool is: NONE 15:47:01 using credential edgex-jenkins-ssh 15:47:01 Cloning the remote Git repository 15:47:01 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 15:47:01 > git init /w/workspace/device-modbus-go/142 # timeout=10 15:47:01 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 15:47:01 > git --version # timeout=10 15:47:01 > git --version # 'git version 2.25.1' 15:47:01 using GIT_SSH to set credentials SSH Credentials for GitHub 15:47:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:47:05 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 15:47:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:47:06 Avoid second fetch 15:47:06 Checking out Revision 4de3a8f4fd48ff80f4bd37b19548b6aae5009810 (main) 15:47:06 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#529)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:47:06 > git config core.sparsecheckout # timeout=10 15:47:06 > git checkout -f 4de3a8f4fd48ff80f4bd37b19548b6aae5009810 # timeout=10 15:47:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:47:08 % Total % Received % Xferd Average Speed Time Time Time Current 15:47:08 Dload Upload Total Spent Left Speed 15:47:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 72468 0 --:--:-- --:--:-- --:--:-- 72885 [Pipeline] sh 15:47:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:47:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:47:08 + sudo tee /etc/docker/daemon.new 15:47:08 { 15:47:08 "registry-mirrors": [ 15:47:08 "https://nexus3.edgexfoundry.org:10001" 15:47:08 ], 15:47:08 "bip": "10.250.0.254/24", 15:47:08 "hosts": [ 15:47:08 "tcp://0.0.0.0:5555", 15:47:08 "unix:///var/run/docker.sock" 15:47:08 ], 15:47:08 "mtu": 1458, 15:47:08 "selinux-enabled": true, 15:47:08 "seccomp-profile": "/etc/docker/seccomp.json" 15:47:08 } [Pipeline] sh 15:47:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:47:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:47:28 provisioning config files... 15:47:28 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/142@tmp/config293364444476049920tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:47:28 ---> ****-login.sh 15:47:28 nexus3.edgexfoundry.org:10001 15:47:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:47:29 Configure a credential helper to remove this warning. See 15:47:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:47:29 15:47:29 Login Succeeded 15:47:29 nexus3.edgexfoundry.org:10002 15:47:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:47:29 Configure a credential helper to remove this warning. See 15:47:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:47:29 15:47:29 Login Succeeded 15:47:29 nexus3.edgexfoundry.org:10003 15:47:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:47:29 Configure a credential helper to remove this warning. See 15:47:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:47:29 15:47:29 Login Succeeded 15:47:29 nexus3.edgexfoundry.org:10004 15:47:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:47:30 Configure a credential helper to remove this warning. See 15:47:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:47:30 15:47:30 Login Succeeded 15:47:30 ****.io 15:47:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:47:30 Configure a credential helper to remove this warning. See 15:47:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:47:30 15:47:30 Login Succeeded 15:47:30 ---> ****-login.sh ends [Pipeline] } 15:47:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:47:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:47:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:47:31 ========================================================= 15:47:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 15:47:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:31 + 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 . 15:47:32 #0 building with "default" instance using docker driver 15:47:32 15:47:32 #1 [internal] load .dockerignore 15:47:32 #1 transferring context: 182B 0.0s done 15:47:32 #1 DONE 0.1s 15:47:32 15:47:32 #2 [internal] load build definition from Dockerfile 15:47:32 #2 transferring dockerfile: 1.51kB done 15:47:32 #2 DONE 0.1s 15:47:32 15:47:32 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 15:47:32 #3 DONE 0.1s 15:47:32 15:47:32 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 15:47:32 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 15:47:32 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 15:47:32 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 15:47:32 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0B / 3.33MB 0.1s 15:47:32 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 15:47:33 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s 15:47:33 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.2s done 15:47:33 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 15:47:33 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 4.19MB / 63.99MB 0.3s 15:47:33 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 15:47:33 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 0B / 440B 0.3s 15:47:33 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 15:47:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0B / 97.63MB 0.3s 15:47:33 #4 ... 15:47:33 15:47:33 #5 [internal] load build context 15:47:33 #5 transferring context: 8.62MB 0.4s done 15:47:33 #5 DONE 0.5s 15:47:33 15:47:33 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 15:47:33 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.49MB / 63.99MB 0.5s 15:47:33 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s done 15:47:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.39MB / 97.63MB 0.5s 15:47:33 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 5.00MB / 11.40MB 0.5s 15:47:33 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 14.68MB / 63.99MB 0.6s 15:47:33 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 8.57MB / 11.40MB 0.6s 15:47:34 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 19.92MB / 63.99MB 0.7s 15:47:34 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.4s done 15:47:34 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 17.83MB / 97.63MB 0.7s 15:47:34 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done 15:47:34 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 15:47:34 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 15:47:35 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 24.12MB / 63.99MB 2.2s 15:47:35 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 24.12MB / 97.63MB 2.2s 15:47:35 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 33.55MB / 63.99MB 2.4s 15:47:35 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 35.65MB / 97.63MB 2.4s 15:47:35 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 44.04MB / 63.99MB 2.6s 15:47:35 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 47.19MB / 97.63MB 2.6s 15:47:35 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 49.28MB / 63.99MB 2.7s 15:47:35 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 52.69MB / 97.63MB 2.7s 15:47:35 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 53.48MB / 63.99MB 2.8s 15:47:35 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 57.67MB / 97.63MB 2.8s 15:47:35 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 58.83MB / 63.99MB 2.9s 15:47:35 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 63.96MB / 97.63MB 2.9s 15:47:36 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 3.1s done 15:47:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 73.40MB / 97.63MB 3.1s 15:47:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 82.84MB / 97.63MB 3.3s 15:47:36 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 15:47:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 88.08MB / 97.63MB 3.4s 15:47:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 93.32MB / 97.63MB 3.5s 15:47:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 3.7s done 15:47:42 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.9s 15:47:47 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.3s 15:47:54 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 18.1s done 15:47:56 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 15:47:56 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 15:47:56 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 15:47:56 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 15:48:01 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.2s 15:48:05 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 9.0s done 15:48:05 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 15:48:07 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.0s done 15:48:08 #4 DONE 35.1s 15:48:08 15:48:08 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh 15:48:08 #6 0.789 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:48:09 #6 1.244 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:48:10 #6 2.571 (1/8) Installing openssh-keygen (9.3_p2-r0) 15:48:10 #6 2.593 (2/8) Installing libedit (20221030.3.1-r1) 15:48:10 #6 2.607 (3/8) Installing openssh-client-common (9.3_p2-r0) 15:48:10 #6 2.676 (4/8) Installing openssh-client-default (9.3_p2-r0) 15:48:10 #6 2.703 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 15:48:10 #6 2.713 (6/8) Installing openssh-server-common (9.3_p2-r0) 15:48:10 #6 2.720 (7/8) Installing openssh-server (9.3_p2-r0) 15:48:10 #6 2.749 (8/8) Installing openssh (9.3_p2-r0) 15:48:10 #6 2.768 Executing busybox-1.36.1-r5.trigger 15:48:10 #6 2.813 OK: 272 MiB in 60 packages 15:48:13 #6 DONE 5.0s 15:48:13 15:48:13 #7 [builder 3/7] WORKDIR /device-modbus-go 15:48:13 #7 DONE 0.1s 15:48:13 15:48:13 #8 [builder 4/7] COPY go.mod vendor* ./ 15:48:13 #8 DONE 0.2s 15:48:13 15:48:13 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:48:40 #9 DONE 24.2s 15:48:40 15:48:40 #10 [builder 6/7] COPY . . 15:48:40 #10 DONE 0.3s 15:48:40 15:48:40 #11 [builder 7/7] RUN echo noop 15:48:40 #11 0.633 noop 15:48:40 #11 DONE 0.7s 15:48:40 15:48:40 #12 exporting to image 15:48:40 #12 exporting layers 15:49:02 #12 exporting layers 22.6s done 15:49:02 #12 writing image sha256:f7036c611878ec78d32fb9c9f4960b8082c2e42bf6cdbb37a6b679089311a23f done 15:49:02 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 15:49:02 #12 DONE 22.7s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:02 + docker inspect -f . ci-base-image-arm64 15:49:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:49:03 prd-ubuntu20.04-docker-arm64-4c-16g-24544 does not seem to be running inside a container 15:49:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/142 -v /w/workspace/device-modbus-go/142:/w/workspace/device-modbus-go/142:rw,z -v /w/workspace/device-modbus-go/142@tmp:/w/workspace/device-modbus-go/142@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:49:04 $ docker top 0a6230deb579c531dccd386281e656518a6792550af54cae78d4b7fb1515c2db -eo pid,comm [Pipeline] { [Pipeline] sh 15:49:05 + go version 15:49:05 go version go1.21.0 linux/arm64 [Pipeline] } 15:49:05 $ docker stop --time=1 0a6230deb579c531dccd386281e656518a6792550af54cae78d4b7fb1515c2db 15:49:06 $ docker rm -f --volumes 0a6230deb579c531dccd386281e656518a6792550af54cae78d4b7fb1515c2db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:07 + docker inspect -f . ci-base-image-arm64 15:49:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:49:08 prd-ubuntu20.04-docker-arm64-4c-16g-24544 does not seem to be running inside a container 15:49:08 $ 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/142 -v /w/workspace/device-modbus-go/142:/w/workspace/device-modbus-go/142:rw,z -v /w/workspace/device-modbus-go/142@tmp:/w/workspace/device-modbus-go/142@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:49:09 $ docker top bdc4929b1553940c07d37d30a842bb61c7fb423699c9426b760c0e5c5469ba4e -eo pid,comm [Pipeline] { [Pipeline] sh 15:49:09 + git config --global --add safe.directory /w/workspace/device-modbus-go/142 [Pipeline] fileExists [Pipeline] sh 15:49:10 + make test 15:49:10 go test ./... -coverprofile=coverage.out 15:49:16 ? github.com/edgexfoundry/device-modbus-go [no test files] 15:50:24 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 15:50:24 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.079s coverage: 47.9% of statements 15:50:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:50:24 go vet ./... 15:50:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:50:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:50:32 ./bin/test-attribution-txt.sh [Pipeline] echo 15:50:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:50:33 $ docker stop --time=1 bdc4929b1553940c07d37d30a842bb61c7fb423699c9426b760c0e5c5469ba4e 15:50:34 $ docker rm -f --volumes bdc4929b1553940c07d37d30a842bb61c7fb423699c9426b760c0e5c5469ba4e [Pipeline] // withDockerContainer [Pipeline] sh 15:50:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:50:36 Warning: overwriting stash ‘coverage-report’ 15:50:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:50:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:50:37 + ls -al . 15:50:37 total 188 15:50:37 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 15:49 . 15:50:37 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 15:47 .. 15:50:37 -rw-rw-r-- 1 jenkins jenkins 140 Dec 6 15:47 .dockerignore 15:50:37 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 15:47 .git 15:50:37 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 15:47 .github 15:50:37 -rw-rw-r-- 1 jenkins jenkins 266 Dec 6 15:47 .gitignore 15:50:37 -rw-rw-r-- 1 jenkins jenkins 41 Dec 6 15:47 .golangci.yml 15:50:37 -rw-rw-r-- 1 jenkins jenkins 11101 Dec 6 15:47 Attribution.txt 15:50:37 -rw-rw-r-- 1 jenkins jenkins 16388 Dec 6 15:47 CHANGELOG.md 15:50:37 -rw-rw-r-- 1 jenkins jenkins 1474 Dec 6 15:47 Dockerfile 15:50:37 -rw-rw-r-- 1 jenkins jenkins 677 Dec 6 15:47 GOVERNANCE.md 15:50:37 -rw-rw-r-- 1 jenkins jenkins 658 Dec 6 15:47 Jenkinsfile 15:50:37 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 6 15:47 LICENSE 15:50:37 -rw-rw-r-- 1 jenkins jenkins 1936 Dec 6 15:47 Makefile 15:50:37 -rw-rw-r-- 1 jenkins jenkins 622 Dec 6 15:47 OWNERS.md 15:50:37 -rw-rw-r-- 1 jenkins jenkins 4463 Dec 6 15:47 README.md 15:50:37 -rw-rw-r-- 1 jenkins jenkins 11 Dec 6 15:28 VERSION 15:50:37 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 15:47 bin 15:50:37 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 15:47 cmd 15:50:37 -rw-r--r-- 1 jenkins jenkins 24334 Dec 6 15:50 coverage.out 15:50:37 -rw-rw-r-- 1 jenkins jenkins 3937 Dec 6 15:47 go.mod 15:50:37 -rw-rw-r-- 1 jenkins jenkins 35426 Dec 6 15:47 go.sum 15:50:37 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 15:47 internal 15:50:37 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 15:47 simulator 15:50:37 -rw-rw-r-- 1 jenkins jenkins 229 Dec 6 15:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:50:38 + 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=4de3a8f4fd48ff80f4bd37b19548b6aae5009810 --label arch=arm64 --label version=3.2.0-dev.3 . 15:50:39 #0 building with "default" instance using docker driver 15:50:39 15:50:39 #1 [internal] load build definition from Dockerfile 15:50:39 #1 transferring dockerfile: 1.51kB done 15:50:39 #1 DONE 0.0s 15:50:39 15:50:39 #2 [internal] load .dockerignore 15:50:39 #2 transferring context: 182B done 15:50:39 #2 DONE 0.0s 15:50:39 15:50:39 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 15:50:39 #3 DONE 0.0s 15:50:39 15:50:39 #4 [internal] load metadata for docker.io/library/alpine:3.18 15:50:39 #4 DONE 0.2s 15:50:39 15:50:39 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 15:50:39 #5 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 15:50:39 #5 ... 15:50:39 15:50:39 #6 [internal] load build context 15:50:39 #6 transferring context: 31.08kB 0.0s done 15:50:39 #6 DONE 0.1s 15:50:39 15:50:39 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 15:50:39 #5 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 15:50:39 #5 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 15:50:39 #5 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 15:50:39 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s 15:50:39 #5 ... 15:50:39 15:50:39 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 15:50:39 #7 DONE 0.2s 15:50:39 15:50:39 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 15:50:39 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.2s done 15:50:39 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 15:50:40 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done 15:50:42 #5 DONE 3.3s 15:50:42 15:50:42 #8 [builder 2/7] RUN apk add --update --no-cache make git openssh 15:50:42 #8 0.729 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:50:42 #8 1.148 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:50:42 #8 2.278 OK: 272 MiB in 60 packages 15:50:42 #8 DONE 3.0s 15:50:42 15:50:42 #9 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 15:50:42 #9 ... 15:50:42 15:50:42 #10 [builder 3/7] WORKDIR /device-modbus-go 15:50:42 #10 DONE 0.2s 15:50:43 15:50:43 #11 [builder 4/7] COPY go.mod vendor* ./ 15:50:43 #11 DONE 0.2s 15:50:43 15:50:43 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:50:44 #12 DONE 1.3s 15:50:44 15:50:44 #9 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 15:50:44 #9 0.836 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:50:44 #9 1.196 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:50:44 #9 ... 15:50:44 15:50:44 #13 [builder 6/7] COPY . . 15:50:44 #13 DONE 0.4s 15:50:44 15:50:44 #14 [builder 7/7] RUN make build 15:50:45 #14 ... 15:50:45 15:50:45 #9 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 15:50:45 #9 2.504 (1/1) Installing dumb-init (1.2.5-r2) 15:50:45 #9 2.516 Executing busybox-1.36.1-r5.trigger 15:50:45 #9 2.548 OK: 8 MiB in 16 packages 15:50:45 #9 DONE 2.9s 15:50:45 15:50:45 #14 [builder 7/7] RUN make build 15:50:45 #14 0.764 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.3 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.3" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 15:50:49 #14 ... 15:50:49 15:50:49 #15 [stage-1 3/6] RUN apk --no-cache upgrade 15:50:49 #15 0.896 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:50:49 #15 1.271 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:50:49 #15 2.545 OK: 8 MiB in 16 packages 15:50:49 #15 DONE 2.9s 15:50:49 15:50:49 #14 [builder 7/7] RUN make build 15:52:10 #14 DONE 80.4s 15:52:10 15:52:10 #16 [stage-1 4/6] COPY --from=builder /device-modbus-go/cmd / 15:52:10 #16 DONE 0.5s 15:52:10 15:52:10 #17 [stage-1 5/6] COPY --from=builder /device-modbus-go/LICENSE / 15:52:10 #17 DONE 0.1s 15:52:10 15:52:10 #18 [stage-1 6/6] COPY --from=builder /device-modbus-go/Attribution.txt / 15:52:10 #18 DONE 0.1s 15:52:10 15:52:10 #19 exporting to image 15:52:10 #19 exporting layers 15:52:10 #19 exporting layers 0.4s done 15:52:10 #19 writing image sha256:64a6c795def0bbc2cae6af19f26aafaeff1840d67fadf208491eaf8508b768bb done 15:52:10 #19 naming to docker.io/library/device-modbus-arm64 0.0s done 15:52:10 #19 DONE 0.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:52:11 provisioning config files... 15:52:11 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/142@tmp/config106726028274132350tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:52:11 ---> ****-login.sh 15:52:11 nexus3.edgexfoundry.org:10001 15:52:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:52:11 Configure a credential helper to remove this warning. See 15:52:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:52:11 15:52:11 Login Succeeded 15:52:11 nexus3.edgexfoundry.org:10002 15:52:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:52:12 Configure a credential helper to remove this warning. See 15:52:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:52:12 15:52:12 Login Succeeded 15:52:12 nexus3.edgexfoundry.org:10003 15:52:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:52:12 Configure a credential helper to remove this warning. See 15:52:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:52:12 15:52:12 Login Succeeded 15:52:12 nexus3.edgexfoundry.org:10004 15:52:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:52:13 Configure a credential helper to remove this warning. See 15:52:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:52:13 15:52:13 Login Succeeded 15:52:13 ****.io 15:52:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:52:13 Configure a credential helper to remove this warning. See 15:52:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:52:13 15:52:13 Login Succeeded 15:52:13 ---> ****-login.sh ends [Pipeline] } 15:52:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:52:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:52:13 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 15:52:13 4de3a8f4fd48ff80f4bd37b19548b6aae5009810 15:52:13 latest 15:52:13 3.2.0-dev.3 15:52:13 4de3a8f4fd48ff80f4bd37b19548b6aae5009810-3.2.0-dev.3 15:52:13 main 15:52:13 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:14 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4de3a8f4fd48ff80f4bd37b19548b6aae5009810 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:14 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4de3a8f4fd48ff80f4bd37b19548b6aae5009810 15:52:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 15:52:14 46a4e847939e: Preparing 15:52:14 377342aa5564: Preparing 15:52:14 9f069f4eb1a8: Preparing 15:52:14 8c47224ff43d: Preparing 15:52:14 c9c0ab942276: Preparing 15:52:14 0faf9b67be60: Preparing 15:52:14 0faf9b67be60: Waiting 15:52:15 377342aa5564: Pushed 15:52:15 8c47224ff43d: Pushed 15:52:15 c9c0ab942276: Pushed 15:52:15 0faf9b67be60: Layer already exists 15:52:15 46a4e847939e: Pushed 15:52:22 9f069f4eb1a8: Pushed 15:52:22 4de3a8f4fd48ff80f4bd37b19548b6aae5009810: digest: sha256:a4208f3f062b527cee787e3f5cf182a80906c7690685cd91a8f69c09ff841161 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:22 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:23 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 15:52:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 15:52:23 46a4e847939e: Preparing 15:52:23 377342aa5564: Preparing 15:52:23 9f069f4eb1a8: Preparing 15:52:23 8c47224ff43d: Preparing 15:52:23 c9c0ab942276: Preparing 15:52:23 0faf9b67be60: Preparing 15:52:23 0faf9b67be60: Waiting 15:52:23 377342aa5564: Layer already exists 15:52:23 9f069f4eb1a8: Layer already exists 15:52:23 46a4e847939e: Layer already exists 15:52:23 8c47224ff43d: Layer already exists 15:52:23 c9c0ab942276: Layer already exists 15:52:23 0faf9b67be60: Layer already exists 15:52:23 latest: digest: sha256:a4208f3f062b527cee787e3f5cf182a80906c7690685cd91a8f69c09ff841161 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:24 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:24 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.3 15:52:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 15:52:24 46a4e847939e: Preparing 15:52:24 377342aa5564: Preparing 15:52:24 9f069f4eb1a8: Preparing 15:52:24 8c47224ff43d: Preparing 15:52:24 c9c0ab942276: Preparing 15:52:24 0faf9b67be60: Preparing 15:52:24 0faf9b67be60: Waiting 15:52:24 8c47224ff43d: Layer already exists 15:52:24 377342aa5564: Layer already exists 15:52:24 46a4e847939e: Layer already exists 15:52:24 c9c0ab942276: Layer already exists 15:52:24 9f069f4eb1a8: Layer already exists 15:52:24 0faf9b67be60: Layer already exists 15:52:24 3.2.0-dev.3: digest: sha256:a4208f3f062b527cee787e3f5cf182a80906c7690685cd91a8f69c09ff841161 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:25 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4de3a8f4fd48ff80f4bd37b19548b6aae5009810-3.2.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:25 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4de3a8f4fd48ff80f4bd37b19548b6aae5009810-3.2.0-dev.3 15:52:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 15:52:25 46a4e847939e: Preparing 15:52:25 377342aa5564: Preparing 15:52:25 9f069f4eb1a8: Preparing 15:52:25 8c47224ff43d: Preparing 15:52:25 c9c0ab942276: Preparing 15:52:25 0faf9b67be60: Preparing 15:52:25 0faf9b67be60: Waiting 15:52:25 377342aa5564: Layer already exists 15:52:25 c9c0ab942276: Layer already exists 15:52:25 46a4e847939e: Layer already exists 15:52:25 8c47224ff43d: Layer already exists 15:52:25 9f069f4eb1a8: Layer already exists 15:52:26 0faf9b67be60: Layer already exists 15:52:26 4de3a8f4fd48ff80f4bd37b19548b6aae5009810-3.2.0-dev.3: digest: sha256:a4208f3f062b527cee787e3f5cf182a80906c7690685cd91a8f69c09ff841161 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:26 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:27 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 15:52:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 15:52:27 46a4e847939e: Preparing 15:52:27 377342aa5564: Preparing 15:52:27 9f069f4eb1a8: Preparing 15:52:27 8c47224ff43d: Preparing 15:52:27 c9c0ab942276: Preparing 15:52:27 0faf9b67be60: Preparing 15:52:27 0faf9b67be60: Waiting 15:52:27 9f069f4eb1a8: Layer already exists 15:52:27 c9c0ab942276: Layer already exists 15:52:27 377342aa5564: Layer already exists 15:52:27 46a4e847939e: Layer already exists 15:52:27 8c47224ff43d: Layer already exists 15:52:27 0faf9b67be60: Layer already exists 15:52:27 main: digest: sha256:a4208f3f062b527cee787e3f5cf182a80906c7690685cd91a8f69c09ff841161 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:52:27 ===================================================== [Pipeline] echo 15:52:27 taggedImages: 15:52:27 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4de3a8f4fd48ff80f4bd37b19548b6aae5009810 15:52:27 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 15:52:27 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.3 15:52:27 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4de3a8f4fd48ff80f4bd37b19548b6aae5009810-3.2.0-dev.3 15:52:27 - 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 15:52:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:52:28 15:52:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:52:29 arm64: Pulling from edgex-lftools-log-publisher 15:52:29 8998bd30e6a1: Pulling fs layer 15:52:29 04944245beec: Pulling fs layer 15:52:29 699f458cf7ca: Pulling fs layer 15:52:29 765212b225bb: Pulling fs layer 15:52:29 f23df028b6ca: Pulling fs layer 15:52:29 d65c8cfc05b1: Pulling fs layer 15:52:29 2437ff75d9bd: Pulling fs layer 15:52:29 765212b225bb: Waiting 15:52:29 f23df028b6ca: Waiting 15:52:29 d65c8cfc05b1: Waiting 15:52:29 2437ff75d9bd: Waiting 15:52:29 04944245beec: Verifying Checksum 15:52:29 04944245beec: Download complete 15:52:29 765212b225bb: Verifying Checksum 15:52:29 765212b225bb: Download complete 15:52:29 f23df028b6ca: Verifying Checksum 15:52:29 f23df028b6ca: Download complete 15:52:29 d65c8cfc05b1: Download complete 15:52:29 699f458cf7ca: Download complete 15:52:30 8998bd30e6a1: Verifying Checksum 15:52:30 8998bd30e6a1: Download complete 15:52:32 2437ff75d9bd: Verifying Checksum 15:52:32 2437ff75d9bd: Download complete 15:52:36 8998bd30e6a1: Pull complete 15:52:36 04944245beec: Pull complete 15:52:38 699f458cf7ca: Pull complete 15:52:39 765212b225bb: Pull complete 15:52:40 f23df028b6ca: Pull complete 15:52:40 d65c8cfc05b1: Pull complete 15:53:07 2437ff75d9bd: Pull complete 15:53:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:53:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:53:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:53:07 prd-ubuntu20.04-docker-arm64-4c-16g-24544 does not seem to be running inside a container 15:53:07 $ 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/142 -v /w/workspace/device-modbus-go/142:/w/workspace/device-modbus-go/142:rw,z -v /w/workspace/device-modbus-go/142@tmp:/w/workspace/device-modbus-go/142@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:53:10 $ docker top 948dc7845dbeae0f0c63d0b70edf07a64e04824ab42db19fa5aa4a7ae86bd12e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:53:10 ---> job-cost.sh 15:53:11 lf-activate-venv: SKIPPING 15:53:11 INFO: No Stack... 15:53:11 INFO: Retrieving Pricing Info for: v3-standard-8 15:53:12 INFO: Archiving Costs [Pipeline] sh 15:53:12 + cat /w/workspace/device-modbus-go/142/archives/cost.csv 15:53:12 + cut -d, -f6 [Pipeline] lock 15:53:12 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-142-stack-cost] 15:53:12 Resource [jenkins-edgexfoundry-device-modbus-go-main-142-stack-cost] did not exist. Created. 15:53:12 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-142-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:53:13 /w/workspace/device-modbus-go/142@tmp/durable-54aabfc3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:53:13 + echo total: 0.2199999988079071 [Pipeline] stash 15:53:13 Warning: overwriting stash ‘stack-cost’ 15:53:13 Stashed 1 file(s) [Pipeline] } 15:53:13 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-142-stack-cost] [Pipeline] // lock [Pipeline] } 15:53:13 $ docker stop --time=1 948dc7845dbeae0f0c63d0b70edf07a64e04824ab42db19fa5aa4a7ae86bd12e 15:53:15 $ docker rm -f --volumes 948dc7845dbeae0f0c63d0b70edf07a64e04824ab42db19fa5aa4a7ae86bd12e [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 15:53:16 provisioning config files... 15:53:16 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11830183082421842156tmp [Pipeline] { [Pipeline] sh 15:53:17 + set +x 15:53:17 + curl -s https://codecov.io/bash 15:53:17 + bash -s -- 15:53:17 15:53:17 _____ _ 15:53:17 / ____| | | 15:53:17 | | ___ __| | ___ ___ _____ __ 15:53:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:53:17 | |___| (_) | (_| | __/ (_| (_) \ V / 15:53:17 \_____\___/ \__,_|\___|\___\___/ \_/ 15:53:17 Bash-1.0.6 15:53:17 15:53:17 15:53:17 ==> git version 2.25.1 found 15:53:17 ==> 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 15:53:17 Release-Date: 2020-01-08 15:53:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:53:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:53:17 ==> Jenkins CI detected. 15:53:17 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 15:53:17 project root: . 15:53:17 --> token set from env 15:53:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:53:17 ==> Running gcov in . (disable via -X gcov) 15:53:17 ==> Python coveragepy not found 15:53:17 ==> Searching for coverage reports in: 15:53:17 + . 15:53:17 -> Found 1 reports 15:53:17 ==> Detecting git/mercurial file structure 15:53:17 ==> Reading reports 15:53:17 + ./coverage.out bytes=24334 15:53:17 ==> Appending adjustments 15:53:17 https://docs.codecov.io/docs/fixing-reports 15:53:17 + Found adjustments 15:53:17 ==> Gzipping contents 15:53:17 4.0K /tmp/codecov.PupY27.gz 15:53:17 ==> Uploading reports 15:53:17 url: https://codecov.io 15:53:17 query: branch=main&commit=4de3a8f4fd48ff80f4bd37b19548b6aae5009810&build=142&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F142%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:53:17 -> Pinging Codecov 15:53:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=4de3a8f4fd48ff80f4bd37b19548b6aae5009810&build=142&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F142%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:53:17 -> Uploading to 15:53:17 https://storage.googleapis.com/codecov/v4/raw/2023-12-06/55DBCA73C666E3227836607328DD7E49/4de3a8f4fd48ff80f4bd37b19548b6aae5009810/6cf9d249-82f7-4ba0-80cc-9a17abc9fff4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231206%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231206T155317Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d92523032987ae1a0234ac1de9f24e1f9deaff905701fcee1e2d476c3db94024 15:53:17 % Total % Received % Xferd Average Speed Time Time Time Current 15:53:17 Dload Upload Total Spent Left Speed 15:53:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3806 0 0 100 3806 0 16334 --:--:-- --:--:-- --:--:-- 16334 15:53:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/4de3a8f4fd48ff80f4bd37b19548b6aae5009810 [Pipeline] } 15:53:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:53:18 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:53:18 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:53:18 15:53:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:53:19 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:53:19 df9b9388f04a: Pulling fs layer 15:53:19 52dc419b0ee2: Pulling fs layer 15:53:19 25bc292e5bac: Pulling fs layer 15:53:19 114826534d7a: Pulling fs layer 15:53:19 4657fd5d0bcf: Pulling fs layer 15:53:19 6ad1cebc031e: Pulling fs layer 15:53:19 8a3aa393b2d8: Pulling fs layer 15:53:19 4657fd5d0bcf: Waiting 15:53:19 6ad1cebc031e: Waiting 15:53:19 8a3aa393b2d8: Waiting 15:53:19 114826534d7a: Waiting 15:53:19 52dc419b0ee2: Verifying Checksum 15:53:19 52dc419b0ee2: Download complete 15:53:19 df9b9388f04a: Download complete 15:53:19 4657fd5d0bcf: Verifying Checksum 15:53:19 4657fd5d0bcf: Download complete 15:53:19 25bc292e5bac: Download complete 15:53:19 6ad1cebc031e: Verifying Checksum 15:53:19 6ad1cebc031e: Download complete 15:53:19 df9b9388f04a: Pull complete 15:53:19 52dc419b0ee2: Pull complete 15:53:19 25bc292e5bac: Pull complete 15:53:20 114826534d7a: Verifying Checksum 15:53:20 114826534d7a: Download complete 15:53:20 8a3aa393b2d8: Download complete 15:53:24 114826534d7a: Pull complete 15:53:24 4657fd5d0bcf: Pull complete 15:53:24 6ad1cebc031e: Pull complete 15:53:27 8a3aa393b2d8: Pull complete 15:53:27 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 15:53:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:53:27 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:53:28 prd-ubuntu20.04-docker-8c-8g-24230 does not seem to be running inside a container 15:53:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 15:53:33 $ docker top 8b839de3f93ec6bcfb5f6bcf10292c721db03b909e4a09cd2d992465f97a821f -eo pid,comm [Pipeline] { [Pipeline] echo 15:53:33 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 15:53:33 + set -o pipefail 15:53:33 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 15:53:38 15:53:38 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 15:53:38 15:53:38 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/b9a9c721-bba3-4347-a2b4-f2b5b9a74a83 15:53:38 15:53:38 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 15:53:38 15:53:38 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:53:38 15:53:38 15:53:38 A medium severity vulnerability was found in the Snyk CLI versions you are using. 15:53:38 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 15:53:38 More details here: https://snyk.co/ue1NS 15:53:38 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 15:53:38 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 15:53:38 $ docker stop --time=1 8b839de3f93ec6bcfb5f6bcf10292c721db03b909e4a09cd2d992465f97a821f 15:53:43 $ docker rm -f --volumes 8b839de3f93ec6bcfb5f6bcf10292c721db03b909e4a09cd2d992465f97a821f [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 15:53:45 + git log --format=format:%s -1 4de3a8f4fd48ff80f4bd37b19548b6aae5009810 [Pipeline] sh 15:53:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:53:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:53:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:53:46 prd-ubuntu20.04-docker-8c-8g-24230 does not seem to be running inside a container 15:53:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:53:46 $ docker top bdc980f1ca4c1f243999967a491ebf06c12569ae2d02de8a3c7785d1f0cd538d -eo pid,comm 15:53:46 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). 15:53:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:53:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:53:47 [ssh-agent] Looking for ssh-agent implementation... 15:53:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:53:47 $ docker exec bdc980f1ca4c1f243999967a491ebf06c12569ae2d02de8a3c7785d1f0cd538d ssh-agent 15:53:47 SSH_AUTH_SOCK=/tmp/ssh-xC8K1o3q8lcp/agent.32 15:53:47 SSH_AGENT_PID=38 15:53:47 Running ssh-add (command line suppressed) 15:53:47 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10406727201297888563.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10406727201297888563.key) 15:53:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:53:47 + git semver tag 15:53:47 2023-12-06 15:53:47,891 [run_tag] DEBUG tag force:False 15:53:47 2023-12-06 15:53:47,891 [check_head_tag] DEBUG check head tag 15:53:47 2023-12-06 15:53:47,892 [execute] INFO git cat-file --batch-check 15:53:47 2023-12-06 15:53:47,892 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 15:53:47 2023-12-06 15:53:47,896 [execute] INFO git cat-file --batch 15:53:47 2023-12-06 15:53:47,896 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 15:53:47 2023-12-06 15:53:47,912 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 15:53:47 2023-12-06 15:53:47,912 [execute] INFO git tag -a v3.2.0-dev.3 -m v3.2.0-dev.3 15:53:47 2023-12-06 15:53:47,913 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.3', '-m', 'v3.2.0-dev.3'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 15:53:47 2023-12-06 15:53:47,918 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 15:53:47 3.2.0-dev.3 [Pipeline] } 15:53:47 $ docker exec --env ******** --env ******** bdc980f1ca4c1f243999967a491ebf06c12569ae2d02de8a3c7785d1f0cd538d ssh-agent -k 15:53:48 unset SSH_AUTH_SOCK; 15:53:48 unset SSH_AGENT_PID; 15:53:48 echo Agent pid 38 killed; 15:53:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:53:48 + git semver [Pipeline] } 15:53:48 $ docker stop --time=1 bdc980f1ca4c1f243999967a491ebf06c12569ae2d02de8a3c7785d1f0cd538d 15:53:50 $ docker rm -f --volumes bdc980f1ca4c1f243999967a491ebf06c12569ae2d02de8a3c7785d1f0cd538d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:53:50 15:53:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:53:51 0.23.1-centos7: Pulling from edgex-lftools 15:53:51 ab5ef0e58194: Pulling fs layer 15:53:51 9712f1f96733: Pulling fs layer 15:53:51 63f879dbbcfc: Pulling fs layer 15:53:51 0d9ebad4ef96: Pulling fs layer 15:53:51 e9a5061849ea: Pulling fs layer 15:53:51 d747dcd14b5f: Pulling fs layer 15:53:51 2de7ff778b66: Pulling fs layer 15:53:51 0d9ebad4ef96: Waiting 15:53:51 e9a5061849ea: Waiting 15:53:51 d747dcd14b5f: Waiting 15:53:51 2de7ff778b66: Waiting 15:53:51 9712f1f96733: Verifying Checksum 15:53:51 9712f1f96733: Download complete 15:53:51 63f879dbbcfc: Verifying Checksum 15:53:51 63f879dbbcfc: Download complete 15:53:51 e9a5061849ea: Verifying Checksum 15:53:51 e9a5061849ea: Download complete 15:53:51 d747dcd14b5f: Verifying Checksum 15:53:51 d747dcd14b5f: Download complete 15:53:51 0d9ebad4ef96: Verifying Checksum 15:53:51 0d9ebad4ef96: Download complete 15:53:51 ab5ef0e58194: Verifying Checksum 15:53:51 ab5ef0e58194: Download complete 15:53:51 2de7ff778b66: Verifying Checksum 15:53:51 2de7ff778b66: Download complete 15:53:54 ab5ef0e58194: Pull complete 15:53:54 9712f1f96733: Pull complete 15:53:55 63f879dbbcfc: Pull complete 15:53:59 0d9ebad4ef96: Pull complete 15:53:59 e9a5061849ea: Pull complete 15:53:59 d747dcd14b5f: Pull complete 15:53:59 2de7ff778b66: Pull complete 15:53:59 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:53:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:53:59 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:54:00 prd-ubuntu20.04-docker-8c-8g-24230 does not seem to be running inside a container 15:54:00 $ 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 15:54:07 $ docker top 0eeedc21b34a7f8c0ff754be95f4b6ec0db7602250185fd37486a0a592109574 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:54:07 provisioning config files... 15:54:07 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17619379597045289589tmp 15:54:07 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3537713080137283736tmp 15:54:07 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config338571246686866084tmp [Pipeline] { [Pipeline] echo 15:54:08 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:54:08 ---> sigul-configuration.sh 15:54:08 gpg: directory `/root/.gnupg' created 15:54:08 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:54:08 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:54:08 gpg: keyring `/root/.gnupg/secring.gpg' created 15:54:08 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:54:08 gpg: CAST5 encrypted data 15:54:08 gpg: encrypted with 1 passphrase 15:54:08 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:54:08 + mkdir /home/jenkins 15:54:08 + mkdir /home/jenkins/sigul [Pipeline] sh 15:54:08 + 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 15:54:08 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:54:09 ---> sigul-install.sh 15:54:09 Sigul already installed; skipping installation. [Pipeline] sh 15:54:09 + git tag --list 15:54:09 0.7.1 15:54:09 v1.0.0 15:54:09 v1.1.0 15:54:09 v1.1.1 15:54:09 v1.2.2 15:54:09 v1.3.0 15:54:09 v1.3.1 15:54:09 v2.0.0 15:54:09 v2.1.0 15:54:09 v2.1.1 15:54:09 v2.2.0 15:54:09 v2.3.0 15:54:09 v3.0 15:54:09 v3.0.0 15:54:09 v3.1 15:54:09 v3.1.0 15:54:09 v3.1.0-dev.1 15:54:09 v3.1.0-dev.10 15:54:09 v3.1.0-dev.11 15:54:09 v3.1.0-dev.12 15:54:09 v3.1.0-dev.13 15:54:09 v3.1.0-dev.14 15:54:09 v3.1.0-dev.15 15:54:09 v3.1.0-dev.16 15:54:09 v3.1.0-dev.17 15:54:09 v3.1.0-dev.18 15:54:09 v3.1.0-dev.19 15:54:09 v3.1.0-dev.2 15:54:09 v3.1.0-dev.20 15:54:09 v3.1.0-dev.21 15:54:09 v3.1.0-dev.22 15:54:09 v3.1.0-dev.23 15:54:09 v3.1.0-dev.24 15:54:09 v3.1.0-dev.25 15:54:09 v3.1.0-dev.3 15:54:09 v3.1.0-dev.4 15:54:09 v3.1.0-dev.5 15:54:09 v3.1.0-dev.6 15:54:09 v3.1.0-dev.7 15:54:09 v3.1.0-dev.8 15:54:09 v3.1.0-dev.9 15:54:09 v3.2.0-dev.1 15:54:09 v3.2.0-dev.2 15:54:09 v3.2.0-dev.3 [Pipeline] sh 15:54:10 + lftools sign git-tag v3.2.0-dev.3 15:54:10 Signing Git tag with Sigul... 15:54:10 Signing v3.2.0-dev.3 [Pipeline] echo 15:54:10 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:54:11 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:54:11 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:54:11 $ docker stop --time=1 0eeedc21b34a7f8c0ff754be95f4b6ec0db7602250185fd37486a0a592109574 15:54:12 $ docker rm -f --volumes 0eeedc21b34a7f8c0ff754be95f4b6ec0db7602250185fd37486a0a592109574 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:54:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:54:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:54:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:54:14 prd-ubuntu20.04-docker-8c-8g-24230 does not seem to be running inside a container 15:54:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:54:14 $ docker top a902873eb937b5968107f4d8a93ad60eb3908142fca8ac5e0291f7c47c5aa547 -eo pid,comm 15:54:14 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). 15:54:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:54:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:54:14 [ssh-agent] Looking for ssh-agent implementation... 15:54:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:54:14 $ docker exec a902873eb937b5968107f4d8a93ad60eb3908142fca8ac5e0291f7c47c5aa547 ssh-agent 15:54:14 SSH_AUTH_SOCK=/tmp/ssh-iuuygJtbpX6H/agent.32 15:54:14 SSH_AGENT_PID=38 15:54:14 Running ssh-add (command line suppressed) 15:54:15 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1163574811457844142.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1163574811457844142.key) 15:54:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:54:15 + git semver bump pre 15:54:15 2023-12-06 15:54:15,538 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 15:54:15 2023-12-06 15:54:15,538 [bump_version] DEBUG bumping version:3.2.0-dev.3 on axis:pre with prefix:dev 15:54:15 2023-12-06 15:54:15,538 [bump_version] DEBUG bumped version:3.2.0-dev.4 15:54:15 2023-12-06 15:54:15,538 [write_version] DEBUG write version:3.2.0-dev.4 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 15:54:15 2023-12-06 15:54:15,538 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 15:54:15 2023-12-06 15:54:15,538 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 15:54:15 2023-12-06 15:54:15,540 [execute] INFO git cat-file --batch-check 15:54:15 2023-12-06 15:54:15,540 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:54:15 2023-12-06 15:54:15,545 [execute] INFO git cat-file --batch 15:54:15 2023-12-06 15:54:15,545 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:54:15 2023-12-06 15:54:15,550 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 15:54:15 3.2.0-dev.4 [Pipeline] } 15:54:15 $ docker exec --env ******** --env ******** a902873eb937b5968107f4d8a93ad60eb3908142fca8ac5e0291f7c47c5aa547 ssh-agent -k 15:54:15 unset SSH_AUTH_SOCK; 15:54:15 unset SSH_AGENT_PID; 15:54:15 echo Agent pid 38 killed; 15:54:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:54:16 + git semver [Pipeline] } 15:54:16 $ docker stop --time=1 a902873eb937b5968107f4d8a93ad60eb3908142fca8ac5e0291f7c47c5aa547 15:54:17 $ docker rm -f --volumes a902873eb937b5968107f4d8a93ad60eb3908142fca8ac5e0291f7c47c5aa547 [Pipeline] // withDockerContainer [Pipeline] sh 15:54:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:54:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:54:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:54:18 prd-ubuntu20.04-docker-8c-8g-24230 does not seem to be running inside a container 15:54:18 $ 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 15:54:19 $ docker top cb8a4b7ba8e7f3d534fc055533110d9641abd0173da43bdc8450a197a68a8aca -eo pid,comm 15:54:19 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). 15:54:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:54:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:54:19 [ssh-agent] Looking for ssh-agent implementation... 15:54:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:54:19 $ docker exec cb8a4b7ba8e7f3d534fc055533110d9641abd0173da43bdc8450a197a68a8aca ssh-agent 15:54:19 SSH_AUTH_SOCK=/tmp/ssh-Zl9WRamTGdbl/agent.31 15:54:19 SSH_AGENT_PID=37 15:54:19 Running ssh-add (command line suppressed) 15:54:19 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12537507432215520644.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12537507432215520644.key) 15:54:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:54:20 + git semver push 15:54:20 2023-12-06 15:54:20,381 [run_push] DEBUG push 15:54:20 2023-12-06 15:54:20,381 [execute] INFO git cat-file --batch-check 15:54:20 2023-12-06 15:54:20,382 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:54:20 2023-12-06 15:54:20,385 [execute] INFO git rev-list 38a9268687d99fbfde5938a7b8569b0e6043cd56 -- 15:54:20 2023-12-06 15:54:20,385 [execute] DEBUG Popen(['git', 'rev-list', '38a9268687d99fbfde5938a7b8569b0e6043cd56', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:54:20 2023-12-06 15:54:20,394 [execute] INFO git fetch -v origin 15:54:20 2023-12-06 15:54:20,395 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 15:54:21 2023-12-06 15:54:20,928 [run_push] DEBUG no remote changes detected 15:54:21 2023-12-06 15:54:20,928 [execute] INFO git push origin semver 15:54:21 2023-12-06 15:54:20,928 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:54:21 2023-12-06 15:54:21,750 [run_push] DEBUG push all version tags 15:54:21 2023-12-06 15:54:21,750 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:54:21 2023-12-06 15:54:21,751 [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) 15:54:22 2023-12-06 15:54:22,562 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 15:54:22 3.2.0-dev.4 [Pipeline] } 15:54:22 $ docker exec --env ******** --env ******** cb8a4b7ba8e7f3d534fc055533110d9641abd0173da43bdc8450a197a68a8aca ssh-agent -k 15:54:23 unset SSH_AUTH_SOCK; 15:54:23 unset SSH_AGENT_PID; 15:54:23 echo Agent pid 37 killed; 15:54:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:54:23 + git semver [Pipeline] } 15:54:23 $ docker stop --time=1 cb8a4b7ba8e7f3d534fc055533110d9641abd0173da43bdc8450a197a68a8aca 15:54:25 $ docker rm -f --volumes cb8a4b7ba8e7f3d534fc055533110d9641abd0173da43bdc8450a197a68a8aca [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 15:54:26 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 15:54:26 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 15:54:26 total 16 15:54:26 drwxr-xr-x 3 root root 4096 Dec 6 15:30 . 15:54:26 drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 15:54 .. 15:54:26 drwxr-xr-x 2 root root 4096 Dec 6 15:30 cost 15:54:26 -rw-r--r-- 1 root root 88 Dec 6 15:30 cost.csv 15:54:26 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 15:54:26 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 15:54:26 total 16 15:54:26 drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 15:30 . 15:54:26 drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 15:54 .. 15:54:26 drwxr-xr-x 2 jenkins jenkins 4096 Dec 6 15:30 cost 15:54:26 -rw-r--r-- 1 jenkins jenkins 88 Dec 6 15:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:54:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:54:27 ---> package-listing.sh 15:54:27 ++ facter osfamily 15:54:27 ++ tr '[:upper:]' '[:lower:]' 15:54:28 + OS_FAMILY=debian 15:54:28 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 15:54:28 + START_PACKAGES=/tmp/packages_start.txt 15:54:28 + END_PACKAGES=/tmp/packages_end.txt 15:54:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:54:28 + PACKAGES=/tmp/packages_start.txt 15:54:28 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 15:54:28 + PACKAGES=/tmp/packages_end.txt 15:54:28 + case "${OS_FAMILY}" in 15:54:28 + dpkg -l 15:54:28 + grep '^ii' 15:54:28 + '[' -f /tmp/packages_start.txt ']' 15:54:28 + '[' -f /tmp/packages_end.txt ']' 15:54:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:54:28 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 15:54:28 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 15:54:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 15:54:28 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 15:54:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:54:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:54:29 prd-ubuntu20.04-docker-8c-8g-24230 does not seem to be running inside a container 15:54:29 $ 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 15:54:29 $ docker top acc671f59a89373352fdfa1ca77dc7c2f50674fd14710d97f4d602eed1c81e26 -eo pid,comm [Pipeline] { [Pipeline] sh 15:54:29 + touch /tmp/pre-build-complete [Pipeline] sh 15:54:30 + mkdir -p /var/log/sysstat [Pipeline] sh 15:54:30 + ls /var/log/sa-host 15:54:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:54:30 provisioning config files... 15:54:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10794046454505529867tmp [Pipeline] { [Pipeline] echo 15:54:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:54:31 ---> create-netrc.sh [Pipeline] } 15:54:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:54:31 ---> python-tools-install.sh [Pipeline] echo 15:54:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:54:31 ---> sudo-logs.sh 15:54:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:54:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:54:32 ---> job-cost.sh 15:54:32 lf-activate-venv: SKIPPING 15:54:32 DEBUG: total: 0.2199999988079071 15:54:32 INFO: Retrieving Stack Cost... 15:54:32 INFO: Retrieving Pricing Info for: v3-standard-8 15:54:33 INFO: Archiving Costs [Pipeline] echo 15:54:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:54:33 ---> logs-deploy.sh 15:54:33 lf-activate-venv: SKIPPING 15:54:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/142 15:54:33 INFO: archiving workspace using pattern(s): 15:54:34 Archives upload complete. 15:54:34 INFO: archiving logs to Nexus