Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 51bdb209bfe3268f564ccfe93ba09768b0d9e930 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-ssh7750679184535907139.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh1793354276590017122.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh17122976107674431523.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh6960437589073223305.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-ssh2627470221421204689.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6466 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 51bdb209bfe3268f564ccfe93ba09768b0d9e930 (main) Commit message: "Merge pull request #501 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.24" > 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 51bdb209bfe3268f564ccfe93ba09768b0d9e930 # timeout=10 > git rev-list --no-walk aeb07f10ff8131d5f056bccd17568abba8c1758b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:16:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:16:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:16:11 ========================================================= 03:16:11 EdgeX Global Pipelines Version Info 03:16:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:16:12 ------------------- 03:16:12 stable info: 03:16:12 ------------------- 03:16:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:16:12 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 03:16:12 Message: update stable to v1.0.254 03:16:12 ------------------- 03:16:12 experimental info: 03:16:12 ------------------- 03:16:12 Commited By: **** collab-it+edgex@linuxfoundation.org 03:16:12 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 03:16:12 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:16:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 03:16:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 03:16:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:16:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:16:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:16:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 03:16:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:16:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:16:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:16:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:16:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:16:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 03:16:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:16:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:16:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:16:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:16:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:16:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:16:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:16:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:16:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:16:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:16:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:16:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:16:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:16:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:16:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:16:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:16:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:16:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:16:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 51bdb209bfe3268f564ccfe93ba09768b0d9e930 [Pipeline] echo 03:16:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 51bdb20 [Pipeline] echo 03:16:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:16:13 provisioning config files... 03:16:13 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15056454000142928119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:16:13 ---> docker-login.sh 03:16:13 nexus3.edgexfoundry.org:10001 03:16:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:16:13 Configure a credential helper to remove this warning. See 03:16:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:16:13 03:16:13 Login Succeeded 03:16:13 nexus3.edgexfoundry.org:10002 03:16:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:16:14 Configure a credential helper to remove this warning. See 03:16:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:16:14 03:16:14 Login Succeeded 03:16:14 nexus3.edgexfoundry.org:10003 03:16:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:16:14 Configure a credential helper to remove this warning. See 03:16:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:16:14 03:16:14 Login Succeeded 03:16:14 nexus3.edgexfoundry.org:10004 03:16:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:16:14 Configure a credential helper to remove this warning. See 03:16:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:16:14 03:16:14 Login Succeeded 03:16:14 docker.io 03:16:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:16:14 Configure a credential helper to remove this warning. See 03:16:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:16:14 03:16:14 Login Succeeded 03:16:14 ---> docker-login.sh ends [Pipeline] } 03:16:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:16:15 + git rev-list -1 --merges 51bdb209bfe3268f564ccfe93ba09768b0d9e930~1..51bdb209bfe3268f564ccfe93ba09768b0d9e930 [Pipeline] echo 03:16:15 -----------> git rev-list -1 --merges 51bdb209bfe3268f564ccfe93ba09768b0d9e930~1..51bdb209bfe3268f564ccfe93ba09768b0d9e930 51bdb209bfe3268f564ccfe93ba09768b0d9e930 03:16:15 51bdb209bfe3268f564ccfe93ba09768b0d9e930 [false] [Pipeline] sh 03:16:15 + git log --format=format:%s -1 51bdb209bfe3268f564ccfe93ba09768b0d9e930 [Pipeline] echo 03:16:15 ========================================================= 03:16:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:16:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:16:15 + git log --format=format:%s -1 51bdb209bfe3268f564ccfe93ba09768b0d9e930 [Pipeline] echo 03:16:15 [semverPrep] GIT_COMMIT: 51bdb209bfe3268f564ccfe93ba09768b0d9e930, Commit Message: Merge pull request #501 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.24 [Pipeline] echo 03:16:15 [semverPrep] This is not a build commit. [Pipeline] sh 03:16:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:16:16 + grep -v github /etc/ssh/ssh_known_hosts 03:16:16 + [ -e /tmp/ssh_known_hosts ] 03:16:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:16:16 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:16:16 + sudo tee -a /etc/ssh/ssh_known_hosts 03:16:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:16:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:16:16 03:16:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:16:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:16:16 0.1.4: Pulling from edgex-devops/py-git-semver 03:16:16 b85a868b505f: Pulling fs layer 03:16:16 e2be974225ed: Pulling fs layer 03:16:16 339a4e72a1f5: Pulling fs layer 03:16:16 988bab9f4d93: Pulling fs layer 03:16:16 1469e6f7b9e6: Pulling fs layer 03:16:16 eaf3925da568: Pulling fs layer 03:16:16 bab4dde63d76: Pulling fs layer 03:16:16 bde34c3a00c8: Pulling fs layer 03:16:16 b352a97aabf1: Pulling fs layer 03:16:16 4872d77fe225: Pulling fs layer 03:16:16 5851b861e8e6: Pulling fs layer 03:16:16 4872d77fe225: Waiting 03:16:16 bde34c3a00c8: Waiting 03:16:16 988bab9f4d93: Waiting 03:16:16 bab4dde63d76: Waiting 03:16:16 5851b861e8e6: Waiting 03:16:16 1469e6f7b9e6: Waiting 03:16:16 b352a97aabf1: Waiting 03:16:16 eaf3925da568: Waiting 03:16:16 e2be974225ed: Download complete 03:16:16 988bab9f4d93: Verifying Checksum 03:16:16 988bab9f4d93: Download complete 03:16:16 1469e6f7b9e6: Verifying Checksum 03:16:16 1469e6f7b9e6: Download complete 03:16:17 339a4e72a1f5: Verifying Checksum 03:16:17 339a4e72a1f5: Download complete 03:16:17 eaf3925da568: Download complete 03:16:17 bde34c3a00c8: Download complete 03:16:17 b352a97aabf1: Download complete 03:16:17 4872d77fe225: Verifying Checksum 03:16:17 4872d77fe225: Download complete 03:16:17 5851b861e8e6: Download complete 03:16:17 b85a868b505f: Verifying Checksum 03:16:17 b85a868b505f: Download complete 03:16:17 bab4dde63d76: Verifying Checksum 03:16:17 bab4dde63d76: Download complete 03:16:18 b85a868b505f: Pull complete 03:16:18 e2be974225ed: Pull complete 03:16:18 339a4e72a1f5: Pull complete 03:16:18 988bab9f4d93: Pull complete 03:16:19 1469e6f7b9e6: Pull complete 03:16:19 eaf3925da568: Pull complete 03:16:21 bab4dde63d76: Pull complete 03:16:21 bde34c3a00c8: Pull complete 03:16:21 b352a97aabf1: Pull complete 03:16:21 4872d77fe225: Pull complete 03:16:21 5851b861e8e6: Pull complete 03:16:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:16:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:16:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:16:21 prd-ubuntu20.04-docker-8c-8g-6466 does not seem to be running inside a container 03:16:21 $ 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 03:16:24 $ docker top 42cefd8f7827e74ff3b13e208dc461c4d6b414887e3ba4982cb8f2a8a2b164d8 -eo pid,comm 03:16:24 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). 03:16:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:16:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:16:24 [ssh-agent] Looking for ssh-agent implementation... 03:16:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:16:24 $ docker exec 42cefd8f7827e74ff3b13e208dc461c4d6b414887e3ba4982cb8f2a8a2b164d8 ssh-agent 03:16:24 SSH_AUTH_SOCK=/tmp/ssh-ZKYdworhwYmS/agent.32 03:16:24 SSH_AGENT_PID=38 03:16:24 Running ssh-add (command line suppressed) 03:16:24 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4436437441445226027.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4436437441445226027.key) 03:16:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:16:25 + git tag --points-at HEAD [Pipeline] } 03:16:25 $ docker exec --env ******** --env ******** 42cefd8f7827e74ff3b13e208dc461c4d6b414887e3ba4982cb8f2a8a2b164d8 ssh-agent -k 03:16:25 unset SSH_AUTH_SOCK; 03:16:25 unset SSH_AGENT_PID; 03:16:25 echo Agent pid 38 killed; 03:16:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:16:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:16:25 [ssh-agent] Looking for ssh-agent implementation... 03:16:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:16:25 $ docker exec 42cefd8f7827e74ff3b13e208dc461c4d6b414887e3ba4982cb8f2a8a2b164d8 ssh-agent 03:16:25 SSH_AUTH_SOCK=/tmp/ssh-8XHu3lyKVlK9/agent.72 03:16:25 SSH_AGENT_PID=79 03:16:25 Running ssh-add (command line suppressed) 03:16:25 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3443101303609941499.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3443101303609941499.key) 03:16:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:16:25 + git semver init 03:16:26 2023-09-19 03:16:26,041 [run_init] DEBUG init version:0.0.0 force:False 03:16:26 2023-09-19 03:16:26,042 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 03:16:26 2023-09-19 03:16:26,042 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 03:16:26 2023-09-19 03:16:26,043 [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) 03:16:27 2023-09-19 03:16:26,907 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 03:16:27 2023-09-19 03:16:26,908 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 03:16:27 2023-09-19 03:16:26,908 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 03:16:27 2023-09-19 03:16:26,908 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 03:16:27 3.1.0-dev.10 [Pipeline] } 03:16:27 $ docker exec --env ******** --env ******** 42cefd8f7827e74ff3b13e208dc461c4d6b414887e3ba4982cb8f2a8a2b164d8 ssh-agent -k 03:16:27 unset SSH_AUTH_SOCK; 03:16:27 unset SSH_AGENT_PID; 03:16:27 echo Agent pid 79 killed; 03:16:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:16:27 + git semver [Pipeline] } 03:16:27 $ docker stop --time=1 42cefd8f7827e74ff3b13e208dc461c4d6b414887e3ba4982cb8f2a8a2b164d8 03:16:29 $ docker rm -f --volumes 42cefd8f7827e74ff3b13e208dc461c4d6b414887e3ba4982cb8f2a8a2b164d8 [Pipeline] // withDockerContainer [Pipeline] sh 03:16:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:16:29 Stashed 1 file(s) [Pipeline] echo 03:16:29 [edgeXSemver]: initialized semver on version 3.1.0-dev.10 [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 03:16:29 provisioning config files... 03:16:29 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15776696881290025931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:16:30 ---> docker-login.sh 03:16:30 nexus3.edgexfoundry.org:10001 03:16:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:16:30 Configure a credential helper to remove this warning. See 03:16:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:16:30 03:16:30 Login Succeeded 03:16:30 nexus3.edgexfoundry.org:10002 03:16:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:16:30 Configure a credential helper to remove this warning. See 03:16:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:16:30 03:16:30 Login Succeeded 03:16:30 nexus3.edgexfoundry.org:10003 03:16:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:16:30 Configure a credential helper to remove this warning. See 03:16:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:16:30 03:16:30 Login Succeeded 03:16:30 nexus3.edgexfoundry.org:10004 03:16:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:16:30 Configure a credential helper to remove this warning. See 03:16:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:16:30 03:16:30 Login Succeeded 03:16:30 docker.io 03:16:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:16:30 Configure a credential helper to remove this warning. See 03:16:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:16:30 03:16:30 Login Succeeded 03:16:30 ---> docker-login.sh ends [Pipeline] } 03:16:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:16:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:16:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:16:30 ========================================================= 03:16:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 03:16:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:16:30 + 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 . 03:16:30 Sending build context to Docker daemon 6.451MB 03:16:30 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 03:16:30 Step 2/10 : FROM ${BASE} AS builder 03:16:30 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 03:16:30 7264a8db6415: Pulling fs layer 03:16:30 c4d48a809fc2: Pulling fs layer 03:16:30 4f1c88b9dad5: Pulling fs layer 03:16:30 ad3a456e5733: Pulling fs layer 03:16:30 9e4f439ed901: Pulling fs layer 03:16:30 feaf6a47b606: Pulling fs layer 03:16:30 5e8b037d7d82: Pulling fs layer 03:16:30 8ac70367396e: Pulling fs layer 03:16:30 6db16350a2e2: Pulling fs layer 03:16:30 9250d5d63582: Pulling fs layer 03:16:30 ad3a456e5733: Waiting 03:16:30 5e8b037d7d82: Waiting 03:16:30 9e4f439ed901: Waiting 03:16:30 8ac70367396e: Waiting 03:16:30 feaf6a47b606: Waiting 03:16:30 6db16350a2e2: Waiting 03:16:30 9250d5d63582: Waiting 03:16:30 c4d48a809fc2: Verifying Checksum 03:16:30 c4d48a809fc2: Download complete 03:16:30 ad3a456e5733: Verifying Checksum 03:16:30 ad3a456e5733: Download complete 03:16:30 9e4f439ed901: Verifying Checksum 03:16:30 9e4f439ed901: Download complete 03:16:30 7264a8db6415: Verifying Checksum 03:16:30 7264a8db6415: Download complete 03:16:31 feaf6a47b606: Verifying Checksum 03:16:31 feaf6a47b606: Download complete 03:16:31 7264a8db6415: Pull complete 03:16:31 c4d48a809fc2: Pull complete 03:16:31 8ac70367396e: Verifying Checksum 03:16:31 8ac70367396e: Download complete 03:16:31 4f1c88b9dad5: Verifying Checksum 03:16:31 4f1c88b9dad5: Download complete 03:16:31 6db16350a2e2: Verifying Checksum 03:16:31 6db16350a2e2: Download complete 03:16:31 5e8b037d7d82: Verifying Checksum 03:16:32 9250d5d63582: Download complete 03:16:34 4f1c88b9dad5: Pull complete 03:16:34 ad3a456e5733: Pull complete 03:16:34 9e4f439ed901: Pull complete 03:16:34 feaf6a47b606: Pull complete 03:16:36 5e8b037d7d82: Pull complete 03:16:37 8ac70367396e: Pull complete 03:16:37 6db16350a2e2: Pull complete 03:16:38 9250d5d63582: Pull complete 03:16:38 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 03:16:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 03:16:38 ---> fa269f55d9b9 03:16:38 Step 3/10 : ARG ADD_BUILD_TAGS="" 03:16:42 ---> Running in 9ad2b1ca8132 03:16:42 Removing intermediate container 9ad2b1ca8132 03:16:42 ---> 3f0c676c637f 03:16:42 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:16:42 ---> Running in b9faba9bc50b 03:16:42 Removing intermediate container b9faba9bc50b 03:16:42 ---> ed34c58f9545 03:16:42 Step 5/10 : RUN apk add --update --no-cache make git openssh 03:16:42 ---> Running in 14134126b812 03:16:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:16:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:16:43 (1/8) Installing openssh-keygen (9.3_p2-r0) 03:16:43 (2/8) Installing libedit (20221030.3.1-r1) 03:16:43 (3/8) Installing openssh-client-common (9.3_p2-r0) 03:16:43 (4/8) Installing openssh-client-default (9.3_p2-r0) 03:16:43 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 03:16:43 (6/8) Installing openssh-server-common (9.3_p2-r0) 03:16:43 (7/8) Installing openssh-server (9.3_p2-r0) 03:16:43 (8/8) Installing openssh (9.3_p2-r0) 03:16:43 Executing busybox-1.36.1-r2.trigger 03:16:43 OK: 271 MiB in 64 packages 03:16:43 Removing intermediate container 14134126b812 03:16:43 ---> 8f8eb8946d0f 03:16:43 Step 6/10 : WORKDIR /device-modbus-go 03:16:43 ---> Running in 565c36aa0cc6 03:16:43 Removing intermediate container 565c36aa0cc6 03:16:43 ---> ad6ff93a628f 03:16:43 Step 7/10 : COPY go.mod vendor* ./ 03:16:44 ---> e25e5205e883 03:16:44 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:16:44 ---> Running in ea1dfd53607d 03:16:44 Still waiting to schedule task 03:16:44 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:17:10 Removing intermediate container ea1dfd53607d 03:17:10 ---> 5f6d7bd91084 03:17:10 Step 9/10 : COPY . . 03:17:10 ---> 8730e493b652 03:17:10 Step 10/10 : RUN ${MAKE} 03:17:10 ---> Running in c972bbb9c7ee 03:17:10 noop 03:17:10 Removing intermediate container c972bbb9c7ee 03:17:10 ---> e94082564d89 03:17:10 Successfully built e94082564d89 03:17:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:17:10 + docker inspect -f . ci-base-image-x86_64 03:17:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:17:11 prd-ubuntu20.04-docker-8c-8g-6466 does not seem to be running inside a container 03:17:11 $ 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 03:17:11 $ docker top 67e22133f80993775fd1d406f738f24ce0c9a9b5f6c55476f5f14fd60c2beb35 -eo pid,comm [Pipeline] { [Pipeline] sh 03:17:11 + go version 03:17:11 go version go1.21.0 linux/amd64 [Pipeline] } 03:17:11 $ docker stop --time=1 67e22133f80993775fd1d406f738f24ce0c9a9b5f6c55476f5f14fd60c2beb35 03:17:13 $ docker rm -f --volumes 67e22133f80993775fd1d406f738f24ce0c9a9b5f6c55476f5f14fd60c2beb35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:17:13 + docker inspect -f . ci-base-image-x86_64 03:17:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:17:13 prd-ubuntu20.04-docker-8c-8g-6466 does not seem to be running inside a container 03:17:13 $ 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 03:17:13 $ docker top bec0e198414e1c5e8ccd6a79870e64bc222bcf663fe377cd17cfe00eab8038e7 -eo pid,comm [Pipeline] { [Pipeline] sh 03:17:14 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 03:17:14 + make test 03:17:14 go test ./... -coverprofile=coverage.out 03:17:15 ? github.com/edgexfoundry/device-modbus-go [no test files] 03:17:25 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 03:17:25 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.9% of statements 03:17:32 go vet ./... 03:17:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:17:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:17:34 ./bin/test-attribution-txt.sh [Pipeline] echo 03:17:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:17:35 $ docker stop --time=1 bec0e198414e1c5e8ccd6a79870e64bc222bcf663fe377cd17cfe00eab8038e7 03:17:38 $ docker rm -f --volumes bec0e198414e1c5e8ccd6a79870e64bc222bcf663fe377cd17cfe00eab8038e7 [Pipeline] // withDockerContainer [Pipeline] sh 03:17:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:17:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:17:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:17:39 + ls -al . 03:17:39 total 192 03:17:39 drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 03:17 . 03:17:39 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 03:16 .. 03:17:39 -rw-rw-r-- 1 jenkins jenkins 140 Sep 19 03:16 .dockerignore 03:17:39 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 03:17 .git 03:17:39 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 03:16 .github 03:17:39 -rw-rw-r-- 1 jenkins jenkins 331 Sep 19 03:16 .gitignore 03:17:39 -rw-rw-r-- 1 jenkins jenkins 41 Sep 19 03:16 .golangci.yml 03:17:39 drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 03:16 .semver 03:17:39 -rw-rw-r-- 1 jenkins jenkins 11101 Sep 19 03:16 Attribution.txt 03:17:39 -rw-rw-r-- 1 jenkins jenkins 14764 Sep 19 03:16 CHANGELOG.md 03:17:39 -rw-rw-r-- 1 jenkins jenkins 1365 Sep 19 03:16 Dockerfile 03:17:39 -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 03:16 GOVERNANCE.md 03:17:39 -rw-rw-r-- 1 jenkins jenkins 680 Sep 19 03:16 Jenkinsfile 03:17:39 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 19 03:16 LICENSE 03:17:39 -rw-rw-r-- 1 jenkins jenkins 1936 Sep 19 03:16 Makefile 03:17:39 -rw-rw-r-- 1 jenkins jenkins 622 Sep 19 03:16 OWNERS.md 03:17:39 -rw-rw-r-- 1 jenkins jenkins 4578 Sep 19 03:16 README.md 03:17:39 -rw-rw-r-- 1 jenkins jenkins 12 Sep 19 03:16 VERSION 03:17:39 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 03:16 bin 03:17:39 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 03:16 cmd 03:17:39 -rw-r--r-- 1 jenkins jenkins 24334 Sep 19 03:17 coverage.out 03:17:39 -rw-rw-r-- 1 jenkins jenkins 3941 Sep 19 03:16 go.mod 03:17:39 -rw-rw-r-- 1 jenkins jenkins 35965 Sep 19 03:16 go.sum 03:17:39 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 03:16 internal 03:17:39 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 03:16 simulator 03:17:39 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 03:16 snap 03:17:39 -rw-rw-r-- 1 jenkins jenkins 229 Sep 19 03:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:17:40 + 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=51bdb209bfe3268f564ccfe93ba09768b0d9e930 --label arch=amd64 --label version=3.1.0-dev.10 . 03:17:40 Sending build context to Docker daemon 6.476MB 03:17:40 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 03:17:40 Step 2/22 : FROM ${BASE} AS builder 03:17:40 ---> e94082564d89 03:17:40 Step 3/22 : ARG ADD_BUILD_TAGS="" 03:17:40 ---> Running in c7f330fdac8d 03:17:40 Removing intermediate container c7f330fdac8d 03:17:40 ---> f14ec81e850f 03:17:40 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:17:40 ---> Running in 5b6ae552a1f6 03:17:40 Removing intermediate container 5b6ae552a1f6 03:17:40 ---> a8f69bbc8ef8 03:17:40 Step 5/22 : RUN apk add --update --no-cache make git openssh 03:17:40 ---> Running in 04a14200d97d 03:17:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:17:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:17:40 OK: 271 MiB in 64 packages 03:17:41 Removing intermediate container 04a14200d97d 03:17:41 ---> 49ee14ab11f0 03:17:41 Step 6/22 : WORKDIR /device-modbus-go 03:17:41 ---> Running in fb6c2e113750 03:17:41 Removing intermediate container fb6c2e113750 03:17:41 ---> 6d71b48e8a7a 03:17:41 Step 7/22 : COPY go.mod vendor* ./ 03:17:41 ---> 80bf4bf078d4 03:17:41 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:17:41 ---> Running in 08ae359e16c2 03:17:42 Removing intermediate container 08ae359e16c2 03:17:42 ---> 60f2bbe1ea7c 03:17:42 Step 9/22 : COPY . . 03:17:42 ---> a212cdc58a3d 03:17:42 Step 10/22 : RUN ${MAKE} 03:17:42 ---> Running in 753dba47a3c2 03:17:42 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.24" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 03:18:05 Removing intermediate container 753dba47a3c2 03:18:05 ---> 5b2dc3747488 03:18:05 Step 11/22 : FROM alpine:3.18 03:18:05 3.18: Pulling from library/alpine 03:18:05 7264a8db6415: Already exists 03:18:05 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 03:18:05 Status: Downloaded newer image for alpine:3.18 03:18:05 ---> 7e01a0d0a1dc 03:18:05 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 03:18:05 ---> Running in 3812fafdd2e7 03:18:05 Removing intermediate container 3812fafdd2e7 03:18:05 ---> c17558ef5c13 03:18:05 Step 13/22 : RUN apk add --update --no-cache dumb-init 03:18:05 ---> Running in dba5e349c17c 03:18:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:18:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:18:05 (1/1) Installing dumb-init (1.2.5-r2) 03:18:05 Executing busybox-1.36.1-r2.trigger 03:18:05 OK: 7 MiB in 16 packages 03:18:05 Removing intermediate container dba5e349c17c 03:18:05 ---> fb65533e3941 03:18:05 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 03:18:05 ---> 5d4299230641 03:18:05 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 03:18:05 ---> 99b1b61c30f5 03:18:05 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 03:18:05 ---> 0b099b00526f 03:18:05 Step 17/22 : EXPOSE 59901 03:18:05 ---> Running in 867d7333c2d3 03:18:05 Removing intermediate container 867d7333c2d3 03:18:05 ---> 1f0ed1b9ba4f 03:18:05 Step 18/22 : ENTRYPOINT ["/device-modbus"] 03:18:05 ---> Running in 9c48f6feb058 03:18:05 Removing intermediate container 9c48f6feb058 03:18:05 ---> 7815d6920072 03:18:05 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 03:18:05 ---> Running in 1d6eb00cfa25 03:18:05 Removing intermediate container 1d6eb00cfa25 03:18:05 ---> 8a7e99f9c7d6 03:18:05 Step 20/22 : LABEL arch=amd64 03:18:05 ---> Running in 2449fd74acfe 03:18:05 Removing intermediate container 2449fd74acfe 03:18:05 ---> 8e96ab03708d 03:18:05 Step 21/22 : LABEL git_sha=51bdb209bfe3268f564ccfe93ba09768b0d9e930 03:18:05 ---> Running in 70ad84a13500 03:18:05 Removing intermediate container 70ad84a13500 03:18:05 ---> 98f8c9842e98 03:18:05 Step 22/22 : LABEL version=3.1.0-dev.10 03:18:05 ---> Running in e956cd243329 03:18:05 Removing intermediate container e956cd243329 03:18:05 ---> fe711d6905a2 03:18:05 [Warning] One or more build-args [ARCH] were not consumed 03:18:05 Successfully built fe711d6905a2 03:18:05 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:18:05 provisioning config files... 03:18:05 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11239247271092919713tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:18:05 ---> docker-login.sh 03:18:05 nexus3.edgexfoundry.org:10001 03:18:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:05 Configure a credential helper to remove this warning. See 03:18:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:05 03:18:05 Login Succeeded 03:18:05 nexus3.edgexfoundry.org:10002 03:18:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:05 Configure a credential helper to remove this warning. See 03:18:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:05 03:18:05 Login Succeeded 03:18:05 nexus3.edgexfoundry.org:10003 03:18:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:06 Configure a credential helper to remove this warning. See 03:18:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:06 03:18:06 Login Succeeded 03:18:06 nexus3.edgexfoundry.org:10004 03:18:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:06 Configure a credential helper to remove this warning. See 03:18:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:06 03:18:06 Login Succeeded 03:18:06 docker.io 03:18:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:06 Configure a credential helper to remove this warning. See 03:18:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:06 03:18:06 Login Succeeded 03:18:06 ---> docker-login.sh ends [Pipeline] } 03:18:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:18:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:18:06 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 03:18:06 51bdb209bfe3268f564ccfe93ba09768b0d9e930 03:18:06 latest 03:18:06 3.1.0-dev.10 03:18:06 51bdb209bfe3268f564ccfe93ba09768b0d9e930-3.1.0-dev.10 03:18:06 main 03:18:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:06 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:51bdb209bfe3268f564ccfe93ba09768b0d9e930 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:06 + docker push nexus3.edgexfoundry.org:10004/device-modbus:51bdb209bfe3268f564ccfe93ba09768b0d9e930 03:18:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 03:18:06 0378d78c1c95: Preparing 03:18:06 5d97331c1207: Preparing 03:18:06 6acce4dfd5e3: Preparing 03:18:06 5fabe8fd5be2: Preparing 03:18:06 4693057ce236: Preparing 03:18:06 4693057ce236: Layer already exists 03:18:06 5fabe8fd5be2: Pushed 03:18:06 5d97331c1207: Pushed 03:18:06 0378d78c1c95: Pushed 03:18:09 6acce4dfd5e3: Pushed 03:18:09 51bdb209bfe3268f564ccfe93ba09768b0d9e930: digest: sha256:e5e8f4f533c864dfc9ca8a6287d98c5fa43c682b64b711f34a5cfd7f6f5a44b4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:10 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:10 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 03:18:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 03:18:10 0378d78c1c95: Preparing 03:18:10 5d97331c1207: Preparing 03:18:10 6acce4dfd5e3: Preparing 03:18:10 5fabe8fd5be2: Preparing 03:18:10 4693057ce236: Preparing 03:18:10 5d97331c1207: Layer already exists 03:18:10 5fabe8fd5be2: Layer already exists 03:18:10 0378d78c1c95: Layer already exists 03:18:10 4693057ce236: Layer already exists 03:18:10 6acce4dfd5e3: Layer already exists 03:18:10 latest: digest: sha256:e5e8f4f533c864dfc9ca8a6287d98c5fa43c682b64b711f34a5cfd7f6f5a44b4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:10 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:10 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.10 03:18:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 03:18:10 0378d78c1c95: Preparing 03:18:10 5d97331c1207: Preparing 03:18:10 6acce4dfd5e3: Preparing 03:18:10 5fabe8fd5be2: Preparing 03:18:10 4693057ce236: Preparing 03:18:10 0378d78c1c95: Layer already exists 03:18:10 5fabe8fd5be2: Layer already exists 03:18:10 6acce4dfd5e3: Layer already exists 03:18:10 4693057ce236: Layer already exists 03:18:10 5d97331c1207: Layer already exists 03:18:10 3.1.0-dev.10: digest: sha256:e5e8f4f533c864dfc9ca8a6287d98c5fa43c682b64b711f34a5cfd7f6f5a44b4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:11 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:51bdb209bfe3268f564ccfe93ba09768b0d9e930-3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:11 + docker push nexus3.edgexfoundry.org:10004/device-modbus:51bdb209bfe3268f564ccfe93ba09768b0d9e930-3.1.0-dev.10 03:18:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 03:18:11 0378d78c1c95: Preparing 03:18:11 5d97331c1207: Preparing 03:18:11 6acce4dfd5e3: Preparing 03:18:11 5fabe8fd5be2: Preparing 03:18:11 4693057ce236: Preparing 03:18:11 0378d78c1c95: Layer already exists 03:18:11 6acce4dfd5e3: Layer already exists 03:18:11 5fabe8fd5be2: Layer already exists 03:18:11 5d97331c1207: Layer already exists 03:18:11 4693057ce236: Layer already exists 03:18:11 51bdb209bfe3268f564ccfe93ba09768b0d9e930-3.1.0-dev.10: digest: sha256:e5e8f4f533c864dfc9ca8a6287d98c5fa43c682b64b711f34a5cfd7f6f5a44b4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:11 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:12 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 03:18:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 03:18:12 0378d78c1c95: Preparing 03:18:12 5d97331c1207: Preparing 03:18:12 6acce4dfd5e3: Preparing 03:18:12 5fabe8fd5be2: Preparing 03:18:12 4693057ce236: Preparing 03:18:12 5fabe8fd5be2: Layer already exists 03:18:12 0378d78c1c95: Layer already exists 03:18:12 6acce4dfd5e3: Layer already exists 03:18:12 4693057ce236: Layer already exists 03:18:12 5d97331c1207: Layer already exists 03:18:12 main: digest: sha256:e5e8f4f533c864dfc9ca8a6287d98c5fa43c682b64b711f34a5cfd7f6f5a44b4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:18:12 ===================================================== [Pipeline] echo 03:18:12 taggedImages: 03:18:12 - nexus3.edgexfoundry.org:10004/device-modbus:51bdb209bfe3268f564ccfe93ba09768b0d9e930 03:18:12 - nexus3.edgexfoundry.org:10004/device-modbus:latest 03:18:12 - nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.10 03:18:12 - nexus3.edgexfoundry.org:10004/device-modbus:51bdb209bfe3268f564ccfe93ba09768b0d9e930-3.1.0-dev.10 03:18:12 - 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 03:18:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:18:12 03:18:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:18:12 latest: Pulling from edgex-lftools-log-publisher 03:18:12 5eb5b503b376: Pulling fs layer 03:18:12 5c69ac0246d0: Pulling fs layer 03:18:12 ec43610c2a17: Pulling fs layer 03:18:12 3a2ae6a8a46f: Pulling fs layer 03:18:12 33b1e0a273af: Pulling fs layer 03:18:12 5d3b04190fa2: Pulling fs layer 03:18:12 2f39f015ded8: Pulling fs layer 03:18:12 3a2ae6a8a46f: Waiting 03:18:12 5d3b04190fa2: Waiting 03:18:12 33b1e0a273af: Waiting 03:18:12 2f39f015ded8: Waiting 03:18:12 5c69ac0246d0: Verifying Checksum 03:18:12 5c69ac0246d0: Download complete 03:18:12 3a2ae6a8a46f: Verifying Checksum 03:18:12 3a2ae6a8a46f: Download complete 03:18:13 33b1e0a273af: Verifying Checksum 03:18:13 5d3b04190fa2: Verifying Checksum 03:18:13 5d3b04190fa2: Download complete 03:18:13 ec43610c2a17: Verifying Checksum 03:18:13 ec43610c2a17: Download complete 03:18:13 5eb5b503b376: Verifying Checksum 03:18:13 5eb5b503b376: Download complete 03:18:13 2f39f015ded8: Download complete 03:18:14 5eb5b503b376: Pull complete 03:18:14 5c69ac0246d0: Pull complete 03:18:15 ec43610c2a17: Pull complete 03:18:15 3a2ae6a8a46f: Pull complete 03:18:16 33b1e0a273af: Pull complete 03:18:16 5d3b04190fa2: Pull complete 03:18:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6468 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 03:18:18 Running in /w/workspace/device-modbus-go/124 [Pipeline] { [Pipeline] checkout 03:18:18 Selected Git installation does not exist. Using Default 03:18:18 The recommended git tool is: NONE 03:18:20 2f39f015ded8: Pull complete 03:18:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:18:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:18:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:18:20 prd-ubuntu20.04-docker-8c-8g-6466 does not seem to be running inside a container 03:18:20 $ 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 03:18:23 using credential edgex-jenkins-ssh 03:18:23 Cloning the remote Git repository 03:18:23 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 03:18:23 > git init /w/workspace/device-modbus-go/124 # timeout=10 03:18:23 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 03:18:23 > git --version # timeout=10 03:18:23 > git --version # 'git version 2.25.1' 03:18:23 using GIT_SSH to set credentials SSH Credentials for GitHub 03:18:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:18:25 $ docker top 289f009ca7809b6333a4f5c61533df3c8b0b8270fc645a803fe453e9f7e6f9b0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:18:25 ---> job-cost.sh 03:18:25 lf-activate-venv: SKIPPING 03:18:25 INFO: No Stack... 03:18:25 INFO: Retrieving Pricing Info for: v3-standard-8 03:18:26 INFO: Archiving Costs [Pipeline] sh 03:18:26 + cut -d, -f6 03:18:26 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [Pipeline] lock 03:18:26 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-124-stack-cost] 03:18:26 Resource [jenkins-edgexfoundry-device-modbus-go-main-124-stack-cost] did not exist. Created. 03:18:26 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-124-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:18:26 + echo total: 0.2199999988079071 [Pipeline] stash 03:18:26 Stashed 1 file(s) [Pipeline] } 03:18:26 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-124-stack-cost] [Pipeline] // lock [Pipeline] } 03:18:26 $ docker stop --time=1 289f009ca7809b6333a4f5c61533df3c8b0b8270fc645a803fe453e9f7e6f9b0 03:18:26 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 03:18:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:18:27 Avoid second fetch 03:18:27 Checking out Revision 51bdb209bfe3268f564ccfe93ba09768b0d9e930 (main) 03:18:27 Commit message: "Merge pull request #501 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.24" 03:18:28 $ docker rm -f --volumes 289f009ca7809b6333a4f5c61533df3c8b0b8270fc645a803fe453e9f7e6f9b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:18:28 03:18:28 GitHub has been notified of this commit’s build result 03:18:28 [Pipeline] withEnv [Pipeline] { 03:18:27 > git config core.sparsecheckout # timeout=10 03:18:27 > git checkout -f 51bdb209bfe3268f564ccfe93ba09768b0d9e930 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:18:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:18:28 % Total % Received % Xferd Average Speed Time Time Time Current 03:18:28 Dload Upload Total Spent Left Speed 03:18:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh 03:18:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:18:29 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:18:29 + sudo tee /etc/docker/daemon.new 03:18:29 { 03:18:29 "registry-mirrors": [ 03:18:29 "https://nexus3.edgexfoundry.org:10001" 03:18:29 ], 03:18:29 "bip": "10.250.0.254/24", 03:18:29 "hosts": [ 03:18:29 "tcp://0.0.0.0:5555", 03:18:29 "unix:///var/run/docker.sock" 03:18:29 ], 03:18:29 "mtu": 1458, 03:18:29 "selinux-enabled": true, 03:18:29 "seccomp-profile": "/etc/docker/seccomp.json" 03:18:29 } [Pipeline] sh 03:18:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:18:30 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:18:48 provisioning config files... 03:18:48 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/124@tmp/config10463828113386374203tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:18:49 ---> docker-login.sh 03:18:49 nexus3.edgexfoundry.org:10001 03:18:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:49 Configure a credential helper to remove this warning. See 03:18:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:49 03:18:49 Login Succeeded 03:18:49 nexus3.edgexfoundry.org:10002 03:18:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:49 Configure a credential helper to remove this warning. See 03:18:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:49 03:18:49 Login Succeeded 03:18:49 nexus3.edgexfoundry.org:10003 03:18:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:50 Configure a credential helper to remove this warning. See 03:18:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:50 03:18:50 Login Succeeded 03:18:50 nexus3.edgexfoundry.org:10004 03:18:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:50 Configure a credential helper to remove this warning. See 03:18:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:50 03:18:50 Login Succeeded 03:18:50 docker.io 03:18:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:51 Configure a credential helper to remove this warning. See 03:18:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:51 03:18:51 Login Succeeded 03:18:51 ---> docker-login.sh ends [Pipeline] } 03:18:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:18:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:18:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:18:51 ========================================================= 03:18:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 03:18:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:51 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 03:18:52 Sending build context to Docker daemon 3.346MB 03:18:52 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 03:18:52 Step 2/10 : FROM ${BASE} AS builder 03:18:54 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:18:54 9fda8d8052c6: Pulling fs layer 03:18:54 5d54e960e981: Pulling fs layer 03:18:54 c4a7e357bf2a: Pulling fs layer 03:18:54 f0e02332f6b5: Pulling fs layer 03:18:54 66412af1f25a: Pulling fs layer 03:18:54 1baf3a5c0e64: Pulling fs layer 03:18:54 9a37bb91b891: Pulling fs layer 03:18:54 a29adfc67d43: Pulling fs layer 03:18:54 d5de9f91c1a4: Pulling fs layer 03:18:54 1baf3a5c0e64: Waiting 03:18:54 9a37bb91b891: Waiting 03:18:54 a29adfc67d43: Waiting 03:18:54 d5de9f91c1a4: Waiting 03:18:54 f0e02332f6b5: Waiting 03:18:54 66412af1f25a: Waiting 03:18:54 5d54e960e981: Verifying Checksum 03:18:54 5d54e960e981: Download complete 03:18:54 f0e02332f6b5: Verifying Checksum 03:18:54 f0e02332f6b5: Download complete 03:18:54 66412af1f25a: Verifying Checksum 03:18:54 66412af1f25a: Download complete 03:18:54 9fda8d8052c6: Verifying Checksum 03:18:54 9fda8d8052c6: Download complete 03:18:54 9a37bb91b891: Verifying Checksum 03:18:54 9a37bb91b891: Download complete 03:18:55 a29adfc67d43: Verifying Checksum 03:18:55 a29adfc67d43: Download complete 03:18:55 9fda8d8052c6: Pull complete 03:18:55 d5de9f91c1a4: Verifying Checksum 03:18:55 d5de9f91c1a4: Download complete 03:18:55 5d54e960e981: Pull complete 03:18:56 c4a7e357bf2a: Verifying Checksum 03:18:56 c4a7e357bf2a: Download complete 03:18:57 1baf3a5c0e64: Verifying Checksum 03:18:57 1baf3a5c0e64: Download complete 03:19:07 c4a7e357bf2a: Pull complete 03:19:07 f0e02332f6b5: Pull complete 03:19:07 66412af1f25a: Pull complete 03:19:15 1baf3a5c0e64: Pull complete 03:19:15 9a37bb91b891: Pull complete 03:19:17 a29adfc67d43: Pull complete 03:19:20 d5de9f91c1a4: Pull complete 03:19:20 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 03:19:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 03:19:20 ---> 746ca1b523b5 03:19:20 Step 3/10 : ARG ADD_BUILD_TAGS="" 03:19:21 ---> Running in 704ab595b5f8 03:19:22 Removing intermediate container 704ab595b5f8 03:19:22 ---> 396ef555afa6 03:19:22 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:19:22 ---> Running in 7d1d8001cf24 03:19:22 Removing intermediate container 7d1d8001cf24 03:19:22 ---> 942ae824e098 03:19:22 Step 5/10 : RUN apk add --update --no-cache make git openssh 03:19:22 ---> Running in f0b1972cb791 03:19:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:19:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:19:25 (1/8) Installing openssh-keygen (9.3_p2-r0) 03:19:25 (2/8) Installing libedit (20221030.3.1-r1) 03:19:25 (3/8) Installing openssh-client-common (9.3_p2-r0) 03:19:25 (4/8) Installing openssh-client-default (9.3_p2-r0) 03:19:25 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 03:19:25 (6/8) Installing openssh-server-common (9.3_p2-r0) 03:19:25 (7/8) Installing openssh-server (9.3_p2-r0) 03:19:25 (8/8) Installing openssh (9.3_p2-r0) 03:19:25 Executing busybox-1.36.1-r2.trigger 03:19:25 OK: 274 MiB in 64 packages 03:19:26 Removing intermediate container f0b1972cb791 03:19:26 ---> 9bf833817375 03:19:26 Step 6/10 : WORKDIR /device-modbus-go 03:19:26 ---> Running in 1525730e967f 03:19:26 Removing intermediate container 1525730e967f 03:19:26 ---> beabbcc6f5ba 03:19:26 Step 7/10 : COPY go.mod vendor* ./ 03:19:27 ---> 158668a1f88c 03:19:27 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:19:27 ---> Running in 9ff7dd50ef02 03:20:35 Removing intermediate container 9ff7dd50ef02 03:20:35 ---> 0316a1b0a649 03:20:35 Step 9/10 : COPY . . 03:20:35 ---> 8a102c91e8a4 03:20:35 Step 10/10 : RUN ${MAKE} 03:20:35 ---> Running in 1903859528fe 03:20:35 noop 03:20:35 Removing intermediate container 1903859528fe 03:20:35 ---> 10cd5ea7ff6d 03:20:35 Successfully built 10cd5ea7ff6d 03:20:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:20:35 + docker inspect -f . ci-base-image-arm64 03:20:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:20:35 prd-ubuntu20.04-docker-arm64-4c-16g-6468 does not seem to be running inside a container 03:20:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/124 -v /w/workspace/device-modbus-go/124:/w/workspace/device-modbus-go/124:rw,z -v /w/workspace/device-modbus-go/124@tmp:/w/workspace/device-modbus-go/124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:20:37 $ docker top 8be091afe7a9a8b8ea87576f9675acb1f31694109ca65b83b91cec47f16fa8bd -eo pid,comm [Pipeline] { [Pipeline] sh 03:20:37 + go version 03:20:37 go version go1.21.0 linux/arm64 [Pipeline] } 03:20:37 $ docker stop --time=1 8be091afe7a9a8b8ea87576f9675acb1f31694109ca65b83b91cec47f16fa8bd 03:20:41 $ docker rm -f --volumes 8be091afe7a9a8b8ea87576f9675acb1f31694109ca65b83b91cec47f16fa8bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:20:41 + docker inspect -f . ci-base-image-arm64 03:20:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:20:42 prd-ubuntu20.04-docker-arm64-4c-16g-6468 does not seem to be running inside a container 03:20:42 $ 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/124 -v /w/workspace/device-modbus-go/124:/w/workspace/device-modbus-go/124:rw,z -v /w/workspace/device-modbus-go/124@tmp:/w/workspace/device-modbus-go/124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:20:43 $ docker top 98354759e7b4c67ffa0f6054779a8ba8c8d87e168cecfcbcbb5f304a6ed1ae8f -eo pid,comm [Pipeline] { [Pipeline] sh 03:20:43 + git config --global --add safe.directory /w/workspace/device-modbus-go/124 [Pipeline] fileExists [Pipeline] sh 03:20:44 + make test 03:20:44 go test ./... -coverprofile=coverage.out 03:20:48 ? github.com/edgexfoundry/device-modbus-go [no test files] 03:22:25 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 03:22:25 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.065s coverage: 47.9% of statements 03:22:25 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:22:25 go vet ./... 03:22:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:22:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:22:47 ./bin/test-attribution-txt.sh [Pipeline] echo 03:22:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:22:47 $ docker stop --time=1 98354759e7b4c67ffa0f6054779a8ba8c8d87e168cecfcbcbb5f304a6ed1ae8f 03:22:49 $ docker rm -f --volumes 98354759e7b4c67ffa0f6054779a8ba8c8d87e168cecfcbcbb5f304a6ed1ae8f [Pipeline] // withDockerContainer [Pipeline] sh 03:22:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:22:50 Warning: overwriting stash ‘coverage-report’ 03:22:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:22:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:22:51 + ls -al . 03:22:51 total 188 03:22:51 drwxrwxr-x 9 jenkins jenkins 4096 Sep 19 03:20 . 03:22:51 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 03:18 .. 03:22:51 -rw-rw-r-- 1 jenkins jenkins 140 Sep 19 03:18 .dockerignore 03:22:51 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 03:18 .git 03:22:51 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 03:18 .github 03:22:51 -rw-rw-r-- 1 jenkins jenkins 331 Sep 19 03:18 .gitignore 03:22:51 -rw-rw-r-- 1 jenkins jenkins 41 Sep 19 03:18 .golangci.yml 03:22:51 -rw-rw-r-- 1 jenkins jenkins 11101 Sep 19 03:18 Attribution.txt 03:22:51 -rw-rw-r-- 1 jenkins jenkins 14764 Sep 19 03:18 CHANGELOG.md 03:22:51 -rw-rw-r-- 1 jenkins jenkins 1365 Sep 19 03:18 Dockerfile 03:22:51 -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 03:18 GOVERNANCE.md 03:22:51 -rw-rw-r-- 1 jenkins jenkins 680 Sep 19 03:18 Jenkinsfile 03:22:51 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 19 03:18 LICENSE 03:22:51 -rw-rw-r-- 1 jenkins jenkins 1936 Sep 19 03:18 Makefile 03:22:51 -rw-rw-r-- 1 jenkins jenkins 622 Sep 19 03:18 OWNERS.md 03:22:51 -rw-rw-r-- 1 jenkins jenkins 4578 Sep 19 03:18 README.md 03:22:51 -rw-rw-r-- 1 jenkins jenkins 12 Sep 19 03:16 VERSION 03:22:51 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 03:18 bin 03:22:51 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 03:18 cmd 03:22:51 -rw-r--r-- 1 jenkins jenkins 24334 Sep 19 03:22 coverage.out 03:22:51 -rw-rw-r-- 1 jenkins jenkins 3941 Sep 19 03:18 go.mod 03:22:51 -rw-rw-r-- 1 jenkins jenkins 35965 Sep 19 03:18 go.sum 03:22:51 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 03:18 internal 03:22:51 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 03:18 simulator 03:22:51 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 03:18 snap 03:22:51 -rw-rw-r-- 1 jenkins jenkins 229 Sep 19 03:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:22:52 + 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=51bdb209bfe3268f564ccfe93ba09768b0d9e930 --label arch=arm64 --label version=3.1.0-dev.10 . 03:22:52 Sending build context to Docker daemon 3.372MB 03:22:52 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 03:22:52 Step 2/22 : FROM ${BASE} AS builder 03:22:52 ---> 10cd5ea7ff6d 03:22:52 Step 3/22 : ARG ADD_BUILD_TAGS="" 03:22:53 ---> Running in 1f528a53ab43 03:22:53 Removing intermediate container 1f528a53ab43 03:22:53 ---> 29a7b508a1fb 03:22:53 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:22:53 ---> Running in b1a59ca7d485 03:22:53 Removing intermediate container b1a59ca7d485 03:22:53 ---> 7b860517e55f 03:22:53 Step 5/22 : RUN apk add --update --no-cache make git openssh 03:22:54 ---> Running in 073bf240307e 03:22:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:22:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:22:58 OK: 274 MiB in 64 packages 03:22:59 Removing intermediate container 073bf240307e 03:22:59 ---> 34385934ec32 03:22:59 Step 6/22 : WORKDIR /device-modbus-go 03:22:59 ---> Running in 9a1153cdfb5d 03:22:59 Removing intermediate container 9a1153cdfb5d 03:22:59 ---> 3c0cd3b4eb41 03:22:59 Step 7/22 : COPY go.mod vendor* ./ 03:23:00 ---> fa0238b4c2cc 03:23:00 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:23:00 ---> Running in a6b364e8a896 03:23:04 Removing intermediate container a6b364e8a896 03:23:04 ---> 6a789db5d042 03:23:04 Step 9/22 : COPY . . 03:23:06 ---> 9ed2c98a359b 03:23:06 Step 10/22 : RUN ${MAKE} 03:23:06 ---> Running in b400ea88e72e 03:23:08 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.24" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 03:24:59 Removing intermediate container b400ea88e72e 03:24:59 ---> 5722eb806d6c 03:24:59 Step 11/22 : FROM alpine:3.18 03:24:59 3.18: Pulling from library/alpine 03:24:59 9fda8d8052c6: Already exists 03:24:59 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 03:24:59 Status: Downloaded newer image for alpine:3.18 03:24:59 ---> f6648c04cd6c 03:24:59 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 03:24:59 ---> Running in 56e22b65dbaa 03:24:59 Removing intermediate container 56e22b65dbaa 03:24:59 ---> eb5465acc027 03:24:59 Step 13/22 : RUN apk add --update --no-cache dumb-init 03:24:59 ---> Running in f0eccb1bcdb0 03:24:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:24:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:24:59 (1/1) Installing dumb-init (1.2.5-r2) 03:24:59 Executing busybox-1.36.1-r2.trigger 03:24:59 OK: 8 MiB in 16 packages 03:25:00 Removing intermediate container f0eccb1bcdb0 03:25:00 ---> 06a8c517baa3 03:25:00 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 03:25:01 ---> f6f25a7942d1 03:25:01 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 03:25:01 ---> 00ee7ac12c8f 03:25:01 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 03:25:02 ---> 5480e200d5b7 03:25:02 Step 17/22 : EXPOSE 59901 03:25:02 ---> Running in 019b6e41d733 03:25:02 Removing intermediate container 019b6e41d733 03:25:02 ---> 74edaaca5d76 03:25:02 Step 18/22 : ENTRYPOINT ["/device-modbus"] 03:25:02 ---> Running in 048bfb7ec3ed 03:25:02 Removing intermediate container 048bfb7ec3ed 03:25:02 ---> 3b690c29772d 03:25:02 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 03:25:03 ---> Running in f2c7d1d75719 03:25:03 Removing intermediate container f2c7d1d75719 03:25:03 ---> 520ea0b79852 03:25:03 Step 20/22 : LABEL arch=arm64 03:25:03 ---> Running in 89e1b3c1c3dc 03:25:03 Removing intermediate container 89e1b3c1c3dc 03:25:03 ---> 42512f9c27ce 03:25:03 Step 21/22 : LABEL git_sha=51bdb209bfe3268f564ccfe93ba09768b0d9e930 03:25:03 ---> Running in 8c920281c542 03:25:03 Removing intermediate container 8c920281c542 03:25:03 ---> 46138459f43b 03:25:03 Step 22/22 : LABEL version=3.1.0-dev.10 03:25:04 ---> Running in 46702af3281d 03:25:04 Removing intermediate container 46702af3281d 03:25:04 ---> 86e5ef061fa7 03:25:04 [Warning] One or more build-args [ARCH] were not consumed 03:25:04 Successfully built 86e5ef061fa7 03:25:04 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:25:04 provisioning config files... 03:25:04 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/124@tmp/config2214458440800229082tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:25:04 ---> docker-login.sh 03:25:04 nexus3.edgexfoundry.org:10001 03:25:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:05 Configure a credential helper to remove this warning. See 03:25:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:05 03:25:05 Login Succeeded 03:25:05 nexus3.edgexfoundry.org:10002 03:25:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:05 Configure a credential helper to remove this warning. See 03:25:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:05 03:25:05 Login Succeeded 03:25:05 nexus3.edgexfoundry.org:10003 03:25:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:05 Configure a credential helper to remove this warning. See 03:25:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:05 03:25:05 Login Succeeded 03:25:05 nexus3.edgexfoundry.org:10004 03:25:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:06 Configure a credential helper to remove this warning. See 03:25:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:06 03:25:06 Login Succeeded 03:25:06 docker.io 03:25:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:06 Configure a credential helper to remove this warning. See 03:25:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:06 03:25:06 Login Succeeded 03:25:06 ---> docker-login.sh ends [Pipeline] } 03:25:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:25:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:25:06 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 03:25:06 51bdb209bfe3268f564ccfe93ba09768b0d9e930 03:25:06 latest 03:25:06 3.1.0-dev.10 03:25:06 51bdb209bfe3268f564ccfe93ba09768b0d9e930-3.1.0-dev.10 03:25:06 main 03:25:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:07 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:51bdb209bfe3268f564ccfe93ba09768b0d9e930 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:07 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:51bdb209bfe3268f564ccfe93ba09768b0d9e930 03:25:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 03:25:07 6f0ef025ce85: Preparing 03:25:07 89a69713b7be: Preparing 03:25:07 cb55026ab65a: Preparing 03:25:07 41e059b3e48d: Preparing 03:25:07 b2191e2be29d: Preparing 03:25:07 b2191e2be29d: Layer already exists 03:25:07 6f0ef025ce85: Pushed 03:25:07 89a69713b7be: Pushed 03:25:07 41e059b3e48d: Pushed 03:25:14 cb55026ab65a: Pushed 03:25:14 51bdb209bfe3268f564ccfe93ba09768b0d9e930: digest: sha256:df33aad0047a792899a6c304cb8cadaf5d2a44433f520d52323cddeed8581bab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:14 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:15 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 03:25:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 03:25:15 6f0ef025ce85: Preparing 03:25:15 89a69713b7be: Preparing 03:25:15 cb55026ab65a: Preparing 03:25:15 41e059b3e48d: Preparing 03:25:15 b2191e2be29d: Preparing 03:25:15 41e059b3e48d: Layer already exists 03:25:15 b2191e2be29d: Layer already exists 03:25:15 6f0ef025ce85: Layer already exists 03:25:15 89a69713b7be: Layer already exists 03:25:15 cb55026ab65a: Layer already exists 03:25:15 latest: digest: sha256:df33aad0047a792899a6c304cb8cadaf5d2a44433f520d52323cddeed8581bab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:15 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:15 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.10 03:25:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 03:25:15 6f0ef025ce85: Preparing 03:25:15 89a69713b7be: Preparing 03:25:15 cb55026ab65a: Preparing 03:25:15 41e059b3e48d: Preparing 03:25:15 b2191e2be29d: Preparing 03:25:15 cb55026ab65a: Layer already exists 03:25:15 89a69713b7be: Layer already exists 03:25:15 6f0ef025ce85: Layer already exists 03:25:15 b2191e2be29d: Layer already exists 03:25:15 41e059b3e48d: Layer already exists 03:25:15 3.1.0-dev.10: digest: sha256:df33aad0047a792899a6c304cb8cadaf5d2a44433f520d52323cddeed8581bab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:16 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:51bdb209bfe3268f564ccfe93ba09768b0d9e930-3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:16 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:51bdb209bfe3268f564ccfe93ba09768b0d9e930-3.1.0-dev.10 03:25:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 03:25:16 6f0ef025ce85: Preparing 03:25:16 89a69713b7be: Preparing 03:25:16 cb55026ab65a: Preparing 03:25:16 41e059b3e48d: Preparing 03:25:16 b2191e2be29d: Preparing 03:25:16 89a69713b7be: Layer already exists 03:25:16 cb55026ab65a: Layer already exists 03:25:16 6f0ef025ce85: Layer already exists 03:25:16 b2191e2be29d: Layer already exists 03:25:16 41e059b3e48d: Layer already exists 03:25:16 51bdb209bfe3268f564ccfe93ba09768b0d9e930-3.1.0-dev.10: digest: sha256:df33aad0047a792899a6c304cb8cadaf5d2a44433f520d52323cddeed8581bab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:17 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:17 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 03:25:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 03:25:17 6f0ef025ce85: Preparing 03:25:17 89a69713b7be: Preparing 03:25:17 cb55026ab65a: Preparing 03:25:17 41e059b3e48d: Preparing 03:25:17 b2191e2be29d: Preparing 03:25:17 b2191e2be29d: Layer already exists 03:25:17 41e059b3e48d: Layer already exists 03:25:17 6f0ef025ce85: Layer already exists 03:25:17 cb55026ab65a: Layer already exists 03:25:17 89a69713b7be: Layer already exists 03:25:17 main: digest: sha256:df33aad0047a792899a6c304cb8cadaf5d2a44433f520d52323cddeed8581bab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:25:17 ===================================================== [Pipeline] echo 03:25:17 taggedImages: 03:25:17 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:51bdb209bfe3268f564ccfe93ba09768b0d9e930 03:25:17 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 03:25:17 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.10 03:25:17 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:51bdb209bfe3268f564ccfe93ba09768b0d9e930-3.1.0-dev.10 03:25:17 - 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 03:25:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:25:17 03:25:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:25:18 arm64: Pulling from edgex-lftools-log-publisher 03:25:18 8998bd30e6a1: Pulling fs layer 03:25:18 04944245beec: Pulling fs layer 03:25:18 699f458cf7ca: Pulling fs layer 03:25:18 765212b225bb: Pulling fs layer 03:25:18 f23df028b6ca: Pulling fs layer 03:25:18 d65c8cfc05b1: Pulling fs layer 03:25:18 2437ff75d9bd: Pulling fs layer 03:25:18 765212b225bb: Waiting 03:25:18 f23df028b6ca: Waiting 03:25:18 d65c8cfc05b1: Waiting 03:25:18 2437ff75d9bd: Waiting 03:25:18 04944245beec: Verifying Checksum 03:25:18 04944245beec: Download complete 03:25:18 765212b225bb: Verifying Checksum 03:25:18 765212b225bb: Download complete 03:25:18 f23df028b6ca: Verifying Checksum 03:25:18 f23df028b6ca: Download complete 03:25:18 d65c8cfc05b1: Verifying Checksum 03:25:18 d65c8cfc05b1: Download complete 03:25:18 699f458cf7ca: Download complete 03:25:19 8998bd30e6a1: Verifying Checksum 03:25:19 8998bd30e6a1: Download complete 03:25:21 2437ff75d9bd: Verifying Checksum 03:25:21 2437ff75d9bd: Download complete 03:25:23 8998bd30e6a1: Pull complete 03:25:23 04944245beec: Pull complete 03:25:24 699f458cf7ca: Pull complete 03:25:25 765212b225bb: Pull complete 03:25:25 f23df028b6ca: Pull complete 03:25:25 d65c8cfc05b1: Pull complete 03:25:40 2437ff75d9bd: Pull complete 03:25:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:25:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:25:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:25:41 prd-ubuntu20.04-docker-arm64-4c-16g-6468 does not seem to be running inside a container 03:25:41 $ 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/124 -v /w/workspace/device-modbus-go/124:/w/workspace/device-modbus-go/124:rw,z -v /w/workspace/device-modbus-go/124@tmp:/w/workspace/device-modbus-go/124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:25:43 $ docker top afb7ac73dd21307e1d670f8ad551cb0a95e6b09e47978902e0a2c38873186cda -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:25:44 ---> job-cost.sh 03:25:44 lf-activate-venv: SKIPPING 03:25:44 INFO: No Stack... 03:25:44 INFO: Retrieving Pricing Info for: v3-standard-4 03:25:45 INFO: Archiving Costs [Pipeline] sh 03:25:46 + cat /w/workspace/device-modbus-go/124/archives/cost.csv 03:25:46 + cut -d, -f6 [Pipeline] lock 03:25:46 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-124-stack-cost] 03:25:46 Resource [jenkins-edgexfoundry-device-modbus-go-main-124-stack-cost] did not exist. Created. 03:25:46 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-124-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:25:46 /w/workspace/device-modbus-go/124@tmp/durable-262fbdc2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:25:47 + echo total: 0.10999999940395355 [Pipeline] stash 03:25:47 Warning: overwriting stash ‘stack-cost’ 03:25:47 Stashed 1 file(s) [Pipeline] } 03:25:47 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-124-stack-cost] [Pipeline] // lock [Pipeline] } 03:25:47 $ docker stop --time=1 afb7ac73dd21307e1d670f8ad551cb0a95e6b09e47978902e0a2c38873186cda 03:25:48 $ docker rm -f --volumes afb7ac73dd21307e1d670f8ad551cb0a95e6b09e47978902e0a2c38873186cda [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 03:25:50 provisioning config files... 03:25:50 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13359503999561165248tmp [Pipeline] { [Pipeline] sh 03:25:50 + set +x 03:25:50 + curl -s https://codecov.io/bash 03:25:50 + bash -s -- 03:25:50 03:25:50 _____ _ 03:25:50 / ____| | | 03:25:50 | | ___ __| | ___ ___ _____ __ 03:25:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:25:50 | |___| (_) | (_| | __/ (_| (_) \ V / 03:25:50 \_____\___/ \__,_|\___|\___\___/ \_/ 03:25:50 Bash-1.0.6 03:25:50 03:25:50 03:25:50 ==> git version 2.25.1 found 03:25:50 ==> 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 03:25:50 Release-Date: 2020-01-08 03:25:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:25:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:25:50 ==> Jenkins CI detected. 03:25:50 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 03:25:50 project root: . 03:25:50 --> token set from env 03:25:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:25:50 ==> Running gcov in . (disable via -X gcov) 03:25:50 ==> Python coveragepy not found 03:25:50 ==> Searching for coverage reports in: 03:25:50 + . 03:25:50 -> Found 1 reports 03:25:50 ==> Detecting git/mercurial file structure 03:25:50 ==> Reading reports 03:25:50 + ./coverage.out bytes=24334 03:25:50 ==> Appending adjustments 03:25:50 https://docs.codecov.io/docs/fixing-reports 03:25:50 + Found adjustments 03:25:50 ==> Gzipping contents 03:25:50 4.0K /tmp/codecov.YDlfCy.gz 03:25:50 ==> Uploading reports 03:25:50 url: https://codecov.io 03:25:50 query: branch=main&commit=51bdb209bfe3268f564ccfe93ba09768b0d9e930&build=124&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F124%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:25:50 -> Pinging Codecov 03:25:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=main&commit=51bdb209bfe3268f564ccfe93ba09768b0d9e930&build=124&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F124%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:25:50 -> Uploading to 03:25:50 https://storage.googleapis.com/codecov/v4/raw/2023-09-19/55DBCA73C666E3227836607328DD7E49/51bdb209bfe3268f564ccfe93ba09768b0d9e930/c09327e6-8fe5-4ebd-96d6-3bcd9743eacc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230919%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230919T032550Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=91a8b988c1e885a26e6d8cf8e28bca2f4967e515518171e2645c982bf1e71b86 03:25:50 % Total % Received % Xferd Average Speed Time Time Time Current 03:25:50 Dload Upload Total Spent Left Speed 03:25:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 21138 --:--:-- --:--:-- --:--:-- 21251 03:25:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/51bdb209bfe3268f564ccfe93ba09768b0d9e930 [Pipeline] } 03:25:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:25:51 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:25:51 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:25:51 03:25:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:25:51 1.410.4: Pulling from edgex-devops/edgex-snyk-go 03:25:51 df9b9388f04a: Pulling fs layer 03:25:51 52dc419b0ee2: Pulling fs layer 03:25:51 25bc292e5bac: Pulling fs layer 03:25:51 114826534d7a: Pulling fs layer 03:25:51 4657fd5d0bcf: Pulling fs layer 03:25:51 6ad1cebc031e: Pulling fs layer 03:25:51 8a3aa393b2d8: Pulling fs layer 03:25:51 4657fd5d0bcf: Waiting 03:25:51 6ad1cebc031e: Waiting 03:25:51 8a3aa393b2d8: Waiting 03:25:51 114826534d7a: Waiting 03:25:51 25bc292e5bac: Verifying Checksum 03:25:51 25bc292e5bac: Download complete 03:25:51 52dc419b0ee2: Verifying Checksum 03:25:51 52dc419b0ee2: Download complete 03:25:51 4657fd5d0bcf: Verifying Checksum 03:25:51 4657fd5d0bcf: Download complete 03:25:51 df9b9388f04a: Download complete 03:25:52 6ad1cebc031e: Verifying Checksum 03:25:52 6ad1cebc031e: Download complete 03:25:52 df9b9388f04a: Pull complete 03:25:52 52dc419b0ee2: Pull complete 03:25:52 25bc292e5bac: Pull complete 03:25:52 114826534d7a: Verifying Checksum 03:25:52 114826534d7a: Download complete 03:25:52 8a3aa393b2d8: Verifying Checksum 03:25:52 8a3aa393b2d8: Download complete 03:25:56 114826534d7a: Pull complete 03:25:56 4657fd5d0bcf: Pull complete 03:25:56 6ad1cebc031e: Pull complete 03:25:58 8a3aa393b2d8: Pull complete 03:25:58 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 03:25:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:25:58 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:25:58 prd-ubuntu20.04-docker-8c-8g-6466 does not seem to be running inside a container 03:25:58 $ 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 03:26:03 $ docker top afed016a6c28db8165772da1aa2e258ab90456b69ac43361157bd74ba827fdef -eo pid,comm [Pipeline] { [Pipeline] echo 03:26:03 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 03:26:03 + set -o pipefail 03:26:03 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 03:26:09 03:26:09 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 03:26:09 03:26:09 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/7ceb003e-4e63-453d-a618-911074f6e135 03:26:09 03:26:09 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 03:26:09 03:26:09 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:26:09 03:26:09 03:26:09 A medium severity vulnerability was found in the Snyk CLI versions you are using. 03:26:09 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 03:26:09 More details here: https://snyk.co/ue1NS [Pipeline] } 03:26:09 $ docker stop --time=1 afed016a6c28db8165772da1aa2e258ab90456b69ac43361157bd74ba827fdef 03:26:12 $ docker rm -f --volumes afed016a6c28db8165772da1aa2e258ab90456b69ac43361157bd74ba827fdef [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 03:26:13 + git log --format=format:%s -1 51bdb209bfe3268f564ccfe93ba09768b0d9e930 [Pipeline] sh 03:26:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:26:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:26:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:26:13 prd-ubuntu20.04-docker-8c-8g-6466 does not seem to be running inside a container 03:26:13 $ 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 03:26:14 $ docker top be70b7b80f3bb6cb733d39d851e3e4aeee72f147f39ff978b5ffc2afa9893016 -eo pid,comm 03:26: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). 03:26:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:26:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:26:14 [ssh-agent] Looking for ssh-agent implementation... 03:26:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:26:14 $ docker exec be70b7b80f3bb6cb733d39d851e3e4aeee72f147f39ff978b5ffc2afa9893016 ssh-agent 03:26:14 SSH_AUTH_SOCK=/tmp/ssh-BsBGGxhApotW/agent.32 03:26:14 SSH_AGENT_PID=38 03:26:14 Running ssh-add (command line suppressed) 03:26:14 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17790596990562166486.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17790596990562166486.key) 03:26:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:26:14 + git semver tag 03:26:15 2023-09-19 03:26:15,101 [run_tag] DEBUG tag force:False 03:26:15 2023-09-19 03:26:15,101 [check_head_tag] DEBUG check head tag 03:26:15 2023-09-19 03:26:15,101 [execute] INFO git cat-file --batch-check 03:26:15 2023-09-19 03:26:15,102 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 03:26:15 2023-09-19 03:26:15,104 [execute] INFO git cat-file --batch 03:26:15 2023-09-19 03:26:15,105 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 03:26:15 2023-09-19 03:26:15,115 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 03:26:15 2023-09-19 03:26:15,115 [execute] INFO git tag -a v3.1.0-dev.10 -m v3.1.0-dev.10 03:26:15 2023-09-19 03:26:15,115 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.10', '-m', 'v3.1.0-dev.10'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 03:26:15 2023-09-19 03:26:15,118 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 03:26:15 3.1.0-dev.10 [Pipeline] } 03:26:15 $ docker exec --env ******** --env ******** be70b7b80f3bb6cb733d39d851e3e4aeee72f147f39ff978b5ffc2afa9893016 ssh-agent -k 03:26:15 unset SSH_AUTH_SOCK; 03:26:15 unset SSH_AGENT_PID; 03:26:15 echo Agent pid 38 killed; 03:26:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:26:15 + git semver [Pipeline] } 03:26:15 $ docker stop --time=1 be70b7b80f3bb6cb733d39d851e3e4aeee72f147f39ff978b5ffc2afa9893016 03:26:17 $ docker rm -f --volumes be70b7b80f3bb6cb733d39d851e3e4aeee72f147f39ff978b5ffc2afa9893016 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:26:17 03:26:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:26:17 0.23.1-centos7: Pulling from edgex-lftools 03:26:17 ab5ef0e58194: Pulling fs layer 03:26:17 9712f1f96733: Pulling fs layer 03:26:17 63f879dbbcfc: Pulling fs layer 03:26:17 0d9ebad4ef96: Pulling fs layer 03:26:17 e9a5061849ea: Pulling fs layer 03:26:17 d747dcd14b5f: Pulling fs layer 03:26:17 2de7ff778b66: Pulling fs layer 03:26:17 0d9ebad4ef96: Waiting 03:26:17 d747dcd14b5f: Waiting 03:26:17 2de7ff778b66: Waiting 03:26:17 e9a5061849ea: Waiting 03:26:17 9712f1f96733: Verifying Checksum 03:26:17 9712f1f96733: Download complete 03:26:18 63f879dbbcfc: Verifying Checksum 03:26:18 63f879dbbcfc: Download complete 03:26:18 e9a5061849ea: Verifying Checksum 03:26:18 e9a5061849ea: Download complete 03:26:18 d747dcd14b5f: Verifying Checksum 03:26:18 d747dcd14b5f: Download complete 03:26:18 ab5ef0e58194: Verifying Checksum 03:26:18 ab5ef0e58194: Download complete 03:26:18 0d9ebad4ef96: Verifying Checksum 03:26:18 0d9ebad4ef96: Download complete 03:26:18 2de7ff778b66: Verifying Checksum 03:26:18 2de7ff778b66: Download complete 03:26:20 ab5ef0e58194: Pull complete 03:26:20 9712f1f96733: Pull complete 03:26:21 63f879dbbcfc: Pull complete 03:26:26 0d9ebad4ef96: Pull complete 03:26:26 e9a5061849ea: Pull complete 03:26:26 d747dcd14b5f: Pull complete 03:26:26 2de7ff778b66: Pull complete 03:26:26 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:26:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:26:26 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:26:26 prd-ubuntu20.04-docker-8c-8g-6466 does not seem to be running inside a container 03:26:26 $ 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 03:26:31 $ docker top 778a94c5487ad96a5b03d01afb8b317165bb0d03c1b702019fa6e4d5da44d3cd -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:26:31 provisioning config files... 03:26:31 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3384646506145864602tmp 03:26:31 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8480297513667934326tmp 03:26:31 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7891499716684346239tmp [Pipeline] { [Pipeline] echo 03:26:31 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:26:31 ---> sigul-configuration.sh 03:26:31 gpg: directory `/root/.gnupg' created 03:26:31 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:26:31 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:26:31 gpg: keyring `/root/.gnupg/secring.gpg' created 03:26:31 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:26:31 gpg: CAST5 encrypted data 03:26:31 gpg: encrypted with 1 passphrase 03:26:31 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:26:31 + mkdir /home/jenkins 03:26:31 + mkdir /home/jenkins/sigul [Pipeline] sh 03:26:32 + 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 03:26:32 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:26:32 ---> sigul-install.sh 03:26:32 Sigul already installed; skipping installation. [Pipeline] sh 03:26:32 + git tag --list 03:26:32 0.7.1 03:26:32 v1.0.0 03:26:32 v1.1.0 03:26:32 v1.1.1 03:26:32 v1.2.2 03:26:32 v1.3.0 03:26:32 v1.3.1 03:26:32 v2.0.0 03:26:32 v2.1.0 03:26:32 v2.1.1 03:26:32 v2.2.0 03:26:32 v2.3.0 03:26:32 v3.0 03:26:32 v3.0.0 03:26:32 v3.1.0-dev.1 03:26:32 v3.1.0-dev.10 03:26:32 v3.1.0-dev.2 03:26:32 v3.1.0-dev.3 03:26:32 v3.1.0-dev.4 03:26:32 v3.1.0-dev.5 03:26:32 v3.1.0-dev.6 03:26:32 v3.1.0-dev.7 03:26:32 v3.1.0-dev.8 03:26:32 v3.1.0-dev.9 [Pipeline] sh 03:26:32 + lftools sign git-tag v3.1.0-dev.10 03:26:33 Signing Git tag with Sigul... 03:26:33 Signing v3.1.0-dev.10 [Pipeline] echo 03:26:33 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:26:34 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:26:34 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:26:34 $ docker stop --time=1 778a94c5487ad96a5b03d01afb8b317165bb0d03c1b702019fa6e4d5da44d3cd 03:26:35 $ docker rm -f --volumes 778a94c5487ad96a5b03d01afb8b317165bb0d03c1b702019fa6e4d5da44d3cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:26:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:26:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:26:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:26:36 prd-ubuntu20.04-docker-8c-8g-6466 does not seem to be running inside a container 03:26:36 $ 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 03:26:36 $ docker top 4049b84112876f7c60d03e6d18ff1cf2595375416a64c0b16557c37e084a80db -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:26:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:26:36 [ssh-agent] Looking for ssh-agent implementation... 03:26:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:26:36 $ docker exec 4049b84112876f7c60d03e6d18ff1cf2595375416a64c0b16557c37e084a80db ssh-agent 03:26:36 SSH_AUTH_SOCK=/tmp/ssh-hqnq3EEkbQc5/agent.33 03:26:36 SSH_AGENT_PID=39 03:26:36 Running ssh-add (command line suppressed) 03:26:36 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2033754143882328955.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2033754143882328955.key) 03:26:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:26:37 + git semver bump pre 03:26:37 2023-09-19 03:26:37,420 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 03:26:37 2023-09-19 03:26:37,420 [bump_version] DEBUG bumping version:3.1.0-dev.10 on axis:pre with prefix:dev 03:26:37 2023-09-19 03:26:37,420 [bump_version] DEBUG bumped version:3.1.0-dev.11 03:26:37 2023-09-19 03:26:37,420 [write_version] DEBUG write version:3.1.0-dev.11 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 03:26:37 2023-09-19 03:26:37,420 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 03:26:37 2023-09-19 03:26:37,420 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 03:26:37 2023-09-19 03:26:37,422 [execute] INFO git cat-file --batch-check 03:26:37 2023-09-19 03:26:37,422 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:26:37 2023-09-19 03:26:37,427 [execute] INFO git cat-file --batch 03:26:37 2023-09-19 03:26:37,427 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:26:37 2023-09-19 03:26:37,432 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 03:26:37 3.1.0-dev.11 [Pipeline] } 03:26:37 $ docker exec --env ******** --env ******** 4049b84112876f7c60d03e6d18ff1cf2595375416a64c0b16557c37e084a80db ssh-agent -k 03:26:37 unset SSH_AUTH_SOCK; 03:26:37 unset SSH_AGENT_PID; 03:26:37 echo Agent pid 39 killed; 03:26:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:26:37 + git semver [Pipeline] } 03:26:38 $ docker stop --time=1 4049b84112876f7c60d03e6d18ff1cf2595375416a64c0b16557c37e084a80db 03:26:39 $ docker rm -f --volumes 4049b84112876f7c60d03e6d18ff1cf2595375416a64c0b16557c37e084a80db [Pipeline] // withDockerContainer [Pipeline] sh 03:26:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:26:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:26:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:26:40 prd-ubuntu20.04-docker-8c-8g-6466 does not seem to be running inside a container 03:26:40 $ 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 03:26:40 $ docker top 4d3c6fb531ffcb5538445b8dd1ef97b60a5134c5346b9d7aa56d49ef712ce2b6 -eo pid,comm 03:26:40 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). 03:26:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:26:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:26:40 [ssh-agent] Looking for ssh-agent implementation... 03:26:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:26:40 $ docker exec 4d3c6fb531ffcb5538445b8dd1ef97b60a5134c5346b9d7aa56d49ef712ce2b6 ssh-agent 03:26:40 SSH_AUTH_SOCK=/tmp/ssh-On1JIoVQcXqz/agent.32 03:26:40 SSH_AGENT_PID=38 03:26:40 Running ssh-add (command line suppressed) 03:26:40 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5408397025365290416.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5408397025365290416.key) 03:26:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:26:41 + git semver push 03:26:41 2023-09-19 03:26:41,393 [run_push] DEBUG push 03:26:41 2023-09-19 03:26:41,393 [execute] INFO git cat-file --batch-check 03:26:41 2023-09-19 03:26:41,394 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:26:41 2023-09-19 03:26:41,397 [execute] INFO git rev-list 584330c460ab83c1d28679dc13827830bc2e9330 -- 03:26:41 2023-09-19 03:26:41,397 [execute] DEBUG Popen(['git', 'rev-list', '584330c460ab83c1d28679dc13827830bc2e9330', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:26:41 2023-09-19 03:26:41,427 [execute] INFO git fetch -v origin 03:26:41 2023-09-19 03:26:41,427 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 03:26:42 2023-09-19 03:26:41,912 [run_push] DEBUG no remote changes detected 03:26:42 2023-09-19 03:26:41,912 [execute] INFO git push origin semver 03:26:42 2023-09-19 03:26:41,912 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:26:42 2023-09-19 03:26:42,639 [run_push] DEBUG push all version tags 03:26:42 2023-09-19 03:26:42,639 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 03:26:42 2023-09-19 03:26:42,640 [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) 03:26:43 2023-09-19 03:26:43,443 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 03:26:43 3.1.0-dev.11 [Pipeline] } 03:26:43 $ docker exec --env ******** --env ******** 4d3c6fb531ffcb5538445b8dd1ef97b60a5134c5346b9d7aa56d49ef712ce2b6 ssh-agent -k 03:26:43 unset SSH_AUTH_SOCK; 03:26:43 unset SSH_AGENT_PID; 03:26:43 echo Agent pid 38 killed; 03:26:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:26:43 + git semver [Pipeline] } 03:26:44 $ docker stop --time=1 4d3c6fb531ffcb5538445b8dd1ef97b60a5134c5346b9d7aa56d49ef712ce2b6 03:26:45 $ docker rm -f --volumes 4d3c6fb531ffcb5538445b8dd1ef97b60a5134c5346b9d7aa56d49ef712ce2b6 [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 03:26:46 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 03:26:46 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 03:26:46 total 16 03:26:46 drwxr-xr-x 3 root root 4096 Sep 19 03:18 . 03:26:46 drwxrwxr-x 11 jenkins jenkins 4096 Sep 19 03:26 .. 03:26:46 drwxr-xr-x 2 root root 4096 Sep 19 03:18 cost 03:26:46 -rw-r--r-- 1 root root 88 Sep 19 03:18 cost.csv 03:26:46 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 03:26:46 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 03:26:46 total 16 03:26:46 drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 03:18 . 03:26:46 drwxrwxr-x 11 jenkins jenkins 4096 Sep 19 03:26 .. 03:26:46 drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 03:18 cost 03:26:46 -rw-r--r-- 1 jenkins jenkins 88 Sep 19 03:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:26:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:26:47 ---> package-listing.sh 03:26:47 ++ facter osfamily 03:26:47 ++ tr '[:upper:]' '[:lower:]' 03:26:47 + OS_FAMILY=debian 03:26:47 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 03:26:47 + START_PACKAGES=/tmp/packages_start.txt 03:26:47 + END_PACKAGES=/tmp/packages_end.txt 03:26:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:26:47 + PACKAGES=/tmp/packages_start.txt 03:26:47 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 03:26:47 + PACKAGES=/tmp/packages_end.txt 03:26:47 + case "${OS_FAMILY}" in 03:26:47 + dpkg -l 03:26:47 + grep '^ii' 03:26:47 + '[' -f /tmp/packages_start.txt ']' 03:26:47 + '[' -f /tmp/packages_end.txt ']' 03:26:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:26:47 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 03:26:47 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 03:26:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 03:26:47 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 03:26:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:26:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:26:48 prd-ubuntu20.04-docker-8c-8g-6466 does not seem to be running inside a container 03:26:48 $ 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 03:26:48 $ docker top 6e10e7a40a2de5806896e97ce7adcccb98c2fc3296ded18118234d847953a4f5 -eo pid,comm [Pipeline] { [Pipeline] sh 03:26:48 + touch /tmp/pre-build-complete [Pipeline] sh 03:26:49 + mkdir -p /var/log/sysstat [Pipeline] sh 03:26:49 + ls /var/log/sa-host 03:26:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:26:49 provisioning config files... 03:26:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17177189645585199303tmp [Pipeline] { [Pipeline] echo 03:26:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:26:50 ---> create-netrc.sh [Pipeline] } 03:26:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:26:50 ---> python-tools-install.sh [Pipeline] echo 03:26:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:26:50 ---> sudo-logs.sh 03:26:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:26:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:26:51 ---> job-cost.sh 03:26:51 lf-activate-venv: SKIPPING 03:26:51 DEBUG: total: 0.2199999988079071 03:26:51 INFO: Retrieving Stack Cost... 03:26:51 INFO: Retrieving Pricing Info for: v3-standard-8 03:26:51 INFO: Archiving Costs [Pipeline] echo 03:26:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:26:52 ---> logs-deploy.sh 03:26:52 lf-activate-venv: SKIPPING 03:26:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/124 03:26:52 INFO: archiving workspace using pattern(s): 03:26:53 Archives upload complete. 03:26:53 INFO: archiving logs to Nexus