Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c4f8d58e38c56fa084baf69a7312e6a371ed19c6 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-ssh6174648436358352838.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-ssh1030239780912703400.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-ssh6060243982009517519.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-ssh11772429596832084995.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-ssh12036244554085208090.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-9118 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 c4f8d58e38c56fa084baf69a7312e6a371ed19c6 (main) Commit message: "Merge pull request #510 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.34" > 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 c4f8d58e38c56fa084baf69a7312e6a371ed19c6 # timeout=10 > git rev-list --no-walk e06fe215c9f7361cb58f6068d4b3f6dc0080baf2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:15:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:15:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:15:08 ========================================================= 07:15:08 EdgeX Global Pipelines Version Info 07:15:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:15:09 ------------------- 07:15:09 stable info: 07:15:09 ------------------- 07:15:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:15:09 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 07:15:09 Message: update stable to v1.0.254 07:15:09 ------------------- 07:15:09 experimental info: 07:15:09 ------------------- 07:15:09 Commited By: **** collab-it+edgex@linuxfoundation.org 07:15:09 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 07:15:09 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:15:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 07:15:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 07:15:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:15:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:15:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:15:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 07:15:09 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:15:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:15:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:15:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:15:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:15:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 07:15:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:15:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:15:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:15:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:15:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:15:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:15:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:15:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:15:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:15:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:15:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:15:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:15:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:15:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:15:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:15:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:15:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:15:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:15:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c4f8d58e38c56fa084baf69a7312e6a371ed19c6 [Pipeline] echo 07:15:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c4f8d58 [Pipeline] echo 07:15:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:15:10 provisioning config files... 07:15:10 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16266742027659266164tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:15:10 ---> docker-login.sh 07:15:10 nexus3.edgexfoundry.org:10001 07:15:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:10 Configure a credential helper to remove this warning. See 07:15:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:10 07:15:10 Login Succeeded 07:15:10 nexus3.edgexfoundry.org:10002 07:15:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:11 Configure a credential helper to remove this warning. See 07:15:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:11 07:15:11 Login Succeeded 07:15:11 nexus3.edgexfoundry.org:10003 07:15:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:11 Configure a credential helper to remove this warning. See 07:15:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:11 07:15:11 Login Succeeded 07:15:11 nexus3.edgexfoundry.org:10004 07:15:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:11 Configure a credential helper to remove this warning. See 07:15:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:11 07:15:11 Login Succeeded 07:15:11 docker.io 07:15:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:11 Configure a credential helper to remove this warning. See 07:15:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:11 07:15:11 Login Succeeded 07:15:11 ---> docker-login.sh ends [Pipeline] } 07:15:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:15:12 + git rev-list -1 --merges c4f8d58e38c56fa084baf69a7312e6a371ed19c6~1..c4f8d58e38c56fa084baf69a7312e6a371ed19c6 [Pipeline] echo 07:15:12 -----------> git rev-list -1 --merges c4f8d58e38c56fa084baf69a7312e6a371ed19c6~1..c4f8d58e38c56fa084baf69a7312e6a371ed19c6 c4f8d58e38c56fa084baf69a7312e6a371ed19c6 07:15:12 c4f8d58e38c56fa084baf69a7312e6a371ed19c6 [false] [Pipeline] sh 07:15:12 + git log --format=format:%s -1 c4f8d58e38c56fa084baf69a7312e6a371ed19c6 [Pipeline] echo 07:15:12 ========================================================= 07:15:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:15:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:15:12 + git log --format=format:%s -1 c4f8d58e38c56fa084baf69a7312e6a371ed19c6 [Pipeline] echo 07:15:12 [semverPrep] GIT_COMMIT: c4f8d58e38c56fa084baf69a7312e6a371ed19c6, Commit Message: Merge pull request #510 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.34 [Pipeline] echo 07:15:12 [semverPrep] This is not a build commit. [Pipeline] sh 07:15:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:15:13 + grep -v github /etc/ssh/ssh_known_hosts 07:15:13 + [ -e /tmp/ssh_known_hosts ] 07:15:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:15:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:15:13 + sudo tee -a /etc/ssh/ssh_known_hosts 07:15:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:15:13 07:15:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:15:13 0.1.4: Pulling from edgex-devops/py-git-semver 07:15:13 b85a868b505f: Pulling fs layer 07:15:13 e2be974225ed: Pulling fs layer 07:15:13 339a4e72a1f5: Pulling fs layer 07:15:13 988bab9f4d93: Pulling fs layer 07:15:13 1469e6f7b9e6: Pulling fs layer 07:15:13 eaf3925da568: Pulling fs layer 07:15:13 bab4dde63d76: Pulling fs layer 07:15:13 bde34c3a00c8: Pulling fs layer 07:15:13 b352a97aabf1: Pulling fs layer 07:15:13 4872d77fe225: Pulling fs layer 07:15:13 5851b861e8e6: Pulling fs layer 07:15:13 bde34c3a00c8: Waiting 07:15:13 b352a97aabf1: Waiting 07:15:13 4872d77fe225: Waiting 07:15:13 5851b861e8e6: Waiting 07:15:13 eaf3925da568: Waiting 07:15:13 988bab9f4d93: Waiting 07:15:13 bab4dde63d76: Waiting 07:15:13 1469e6f7b9e6: Waiting 07:15:13 e2be974225ed: Verifying Checksum 07:15:13 e2be974225ed: Download complete 07:15:13 988bab9f4d93: Verifying Checksum 07:15:13 988bab9f4d93: Download complete 07:15:14 1469e6f7b9e6: Verifying Checksum 07:15:14 1469e6f7b9e6: Download complete 07:15:14 eaf3925da568: Download complete 07:15:14 339a4e72a1f5: Verifying Checksum 07:15:14 339a4e72a1f5: Download complete 07:15:14 bde34c3a00c8: Verifying Checksum 07:15:14 bde34c3a00c8: Download complete 07:15:14 b352a97aabf1: Download complete 07:15:14 4872d77fe225: Download complete 07:15:14 5851b861e8e6: Verifying Checksum 07:15:14 5851b861e8e6: Download complete 07:15:14 b85a868b505f: Verifying Checksum 07:15:14 b85a868b505f: Download complete 07:15:14 bab4dde63d76: Verifying Checksum 07:15:14 bab4dde63d76: Download complete 07:15:15 b85a868b505f: Pull complete 07:15:15 e2be974225ed: Pull complete 07:15:16 339a4e72a1f5: Pull complete 07:15:16 988bab9f4d93: Pull complete 07:15:17 1469e6f7b9e6: Pull complete 07:15:17 eaf3925da568: Pull complete 07:15:19 bab4dde63d76: Pull complete 07:15:19 bde34c3a00c8: Pull complete 07:15:19 b352a97aabf1: Pull complete 07:15:19 4872d77fe225: Pull complete 07:15:19 5851b861e8e6: Pull complete 07:15:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:15:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:15:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:15:19 prd-ubuntu20.04-docker-8c-8g-9118 does not seem to be running inside a container 07:15:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:15:24 $ docker top e91fea512bba158f9d6fc3822de75978853929ab7b8c217ebbae54714860a05b -eo pid,comm 07:15: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). 07:15:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:15:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:15:24 [ssh-agent] Looking for ssh-agent implementation... 07:15:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:15:24 $ docker exec e91fea512bba158f9d6fc3822de75978853929ab7b8c217ebbae54714860a05b ssh-agent 07:15:24 SSH_AUTH_SOCK=/tmp/ssh-30wbOtvRiW77/agent.32 07:15:24 SSH_AGENT_PID=38 07:15:24 Running ssh-add (command line suppressed) 07:15:24 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8356308202806197713.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8356308202806197713.key) 07:15:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:15:24 + git tag --points-at HEAD [Pipeline] } 07:15:24 $ docker exec --env ******** --env ******** e91fea512bba158f9d6fc3822de75978853929ab7b8c217ebbae54714860a05b ssh-agent -k 07:15:25 unset SSH_AUTH_SOCK; 07:15:25 unset SSH_AGENT_PID; 07:15:25 echo Agent pid 38 killed; 07:15:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:15:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:15:25 [ssh-agent] Looking for ssh-agent implementation... 07:15:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:15:25 $ docker exec e91fea512bba158f9d6fc3822de75978853929ab7b8c217ebbae54714860a05b ssh-agent 07:15:25 SSH_AUTH_SOCK=/tmp/ssh-j0t6s2GeWe5B/agent.71 07:15:25 SSH_AGENT_PID=77 07:15:25 Running ssh-add (command line suppressed) 07:15:25 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8212021913775115360.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8212021913775115360.key) 07:15:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:15:25 + git semver init 07:15:25 2023-10-12 07:15:25,924 [run_init] DEBUG init version:0.0.0 force:False 07:15:25 2023-10-12 07:15:25,924 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 07:15:25 2023-10-12 07:15:25,925 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 07:15:25 2023-10-12 07:15:25,925 [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) 07:15:26 2023-10-12 07:15:26,834 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 07:15:26 2023-10-12 07:15:26,835 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 07:15:26 2023-10-12 07:15:26,835 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:15:26 2023-10-12 07:15:26,835 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:15:26 3.1.0-dev.16 [Pipeline] } 07:15:26 $ docker exec --env ******** --env ******** e91fea512bba158f9d6fc3822de75978853929ab7b8c217ebbae54714860a05b ssh-agent -k 07:15:27 unset SSH_AUTH_SOCK; 07:15:27 unset SSH_AGENT_PID; 07:15:27 echo Agent pid 77 killed; 07:15:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:15:27 + git semver [Pipeline] } 07:15:27 $ docker stop --time=1 e91fea512bba158f9d6fc3822de75978853929ab7b8c217ebbae54714860a05b 07:15:28 $ docker rm -f --volumes e91fea512bba158f9d6fc3822de75978853929ab7b8c217ebbae54714860a05b [Pipeline] // withDockerContainer [Pipeline] sh 07:15:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:15:29 Stashed 1 file(s) [Pipeline] echo 07:15:29 [edgeXSemver]: initialized semver on version 3.1.0-dev.16 [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 07:15:29 provisioning config files... 07:15:29 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18343000754138221202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:15:29 ---> docker-login.sh 07:15:29 nexus3.edgexfoundry.org:10001 07:15:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:29 Configure a credential helper to remove this warning. See 07:15:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:29 07:15:29 Login Succeeded 07:15:29 nexus3.edgexfoundry.org:10002 07:15:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:29 Configure a credential helper to remove this warning. See 07:15:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:29 07:15:29 Login Succeeded 07:15:29 nexus3.edgexfoundry.org:10003 07:15:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:30 Configure a credential helper to remove this warning. See 07:15:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:30 07:15:30 Login Succeeded 07:15:30 nexus3.edgexfoundry.org:10004 07:15:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:30 Configure a credential helper to remove this warning. See 07:15:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:30 07:15:30 Login Succeeded 07:15:30 docker.io 07:15:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:30 Configure a credential helper to remove this warning. See 07:15:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:30 07:15:30 Login Succeeded 07:15:30 ---> docker-login.sh ends [Pipeline] } 07:15:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:15:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:15:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:15:30 ========================================================= 07:15:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 07:15:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15: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 . 07:15:30 Sending build context to Docker daemon 6.5MB 07:15:30 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 07:15:30 Step 2/10 : FROM ${BASE} AS builder 07:15:30 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 07:15:30 7264a8db6415: Pulling fs layer 07:15:30 c4d48a809fc2: Pulling fs layer 07:15:30 4f1c88b9dad5: Pulling fs layer 07:15:30 ad3a456e5733: Pulling fs layer 07:15:30 33e27b845d1e: Pulling fs layer 07:15:30 c68163c4e522: Pulling fs layer 07:15:30 50da416c3ac9: Pulling fs layer 07:15:30 23d2d4c4bb30: Pulling fs layer 07:15:30 ad3a456e5733: Waiting 07:15:30 33e27b845d1e: Waiting 07:15:30 c68163c4e522: Waiting 07:15:30 50da416c3ac9: Waiting 07:15:30 23d2d4c4bb30: Waiting 07:15:30 c4d48a809fc2: Download complete 07:15:30 ad3a456e5733: Verifying Checksum 07:15:30 ad3a456e5733: Download complete 07:15:30 33e27b845d1e: Verifying Checksum 07:15:30 33e27b845d1e: Download complete 07:15:30 7264a8db6415: Verifying Checksum 07:15:30 7264a8db6415: Download complete 07:15:31 c68163c4e522: Verifying Checksum 07:15:31 c68163c4e522: Download complete 07:15:31 7264a8db6415: Pull complete 07:15:31 23d2d4c4bb30: Verifying Checksum 07:15:31 23d2d4c4bb30: Download complete 07:15:31 c4d48a809fc2: Pull complete 07:15:31 4f1c88b9dad5: Verifying Checksum 07:15:31 4f1c88b9dad5: Download complete 07:15:31 50da416c3ac9: Verifying Checksum 07:15:31 50da416c3ac9: Download complete 07:15:35 4f1c88b9dad5: Pull complete 07:15:35 ad3a456e5733: Pull complete 07:15:35 33e27b845d1e: Pull complete 07:15:35 c68163c4e522: Pull complete 07:15:38 50da416c3ac9: Pull complete 07:15:38 23d2d4c4bb30: Pull complete 07:15:38 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 07:15:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 07:15:38 ---> 0786185ac409 07:15:38 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:15:44 Still waiting to schedule task 07:15:44 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:15:46 ---> Running in e50957fb51b8 07:15:46 Removing intermediate container e50957fb51b8 07:15:46 ---> 3e31d2f03486 07:15:46 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:15:46 ---> Running in a0afc9ad28a1 07:15:46 Removing intermediate container a0afc9ad28a1 07:15:46 ---> 85ec3555875a 07:15:46 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:15:46 ---> Running in b0fff1d7a175 07:15:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:15:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:15:46 (1/8) Installing openssh-keygen (9.3_p2-r0) 07:15:46 (2/8) Installing libedit (20221030.3.1-r1) 07:15:46 (3/8) Installing openssh-client-common (9.3_p2-r0) 07:15:46 (4/8) Installing openssh-client-default (9.3_p2-r0) 07:15:46 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 07:15:46 (6/8) Installing openssh-server-common (9.3_p2-r0) 07:15:46 (7/8) Installing openssh-server (9.3_p2-r0) 07:15:46 (8/8) Installing openssh (9.3_p2-r0) 07:15:46 Executing busybox-1.36.1-r2.trigger 07:15:46 OK: 270 MiB in 60 packages 07:15:47 Removing intermediate container b0fff1d7a175 07:15:47 ---> e7ecf81bb37f 07:15:47 Step 6/10 : WORKDIR /device-modbus-go 07:15:47 ---> Running in a235d60d6842 07:15:47 Removing intermediate container a235d60d6842 07:15:47 ---> 7a24f6e90baf 07:15:47 Step 7/10 : COPY go.mod vendor* ./ 07:15:47 ---> c218a0f4313c 07:15:47 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:15:47 ---> Running in a5dbad372c5f 07:17:09 Removing intermediate container a5dbad372c5f 07:17:09 ---> 04ed1b565821 07:17:09 Step 9/10 : COPY . . 07:17:09 ---> 42c72676bbd8 07:17:09 Step 10/10 : RUN ${MAKE} 07:17:09 ---> Running in ffcaeeb111a1 07:17:09 noop 07:17:09 Removing intermediate container ffcaeeb111a1 07:17:09 ---> 7d7bdb54e89e 07:17:09 Successfully built 7d7bdb54e89e 07:17:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:09 + docker inspect -f . ci-base-image-x86_64 07:17:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:17:09 prd-ubuntu20.04-docker-8c-8g-9118 does not seem to be running inside a container 07:17:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:17:10 $ docker top 3596b7a935e507216cbe075bd8feab492f5d98b7d418ae8a7fe6bbaf79ca2a1a -eo pid,comm [Pipeline] { [Pipeline] sh 07:17:10 + go version 07:17:10 go version go1.21.0 linux/amd64 [Pipeline] } 07:17:10 $ docker stop --time=1 3596b7a935e507216cbe075bd8feab492f5d98b7d418ae8a7fe6bbaf79ca2a1a 07:17:11 $ docker rm -f --volumes 3596b7a935e507216cbe075bd8feab492f5d98b7d418ae8a7fe6bbaf79ca2a1a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:12 + docker inspect -f . ci-base-image-x86_64 07:17:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:17:12 prd-ubuntu20.04-docker-8c-8g-9118 does not seem to be running inside a container 07:17:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:17:12 $ docker top b06fcdd829cdbfc184cb50027b3e2d21197146f4013f141ab1c108bb42171611 -eo pid,comm [Pipeline] { [Pipeline] sh 07:17:12 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 07:17:13 + make test 07:17:13 go test ./... -coverprofile=coverage.out 07:17:14 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:17:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9119 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 07:17:19 Running in /w/workspace/device-modbus-go/130 [Pipeline] { [Pipeline] checkout 07:17:19 Selected Git installation does not exist. Using Default 07:17:19 The recommended git tool is: NONE 07:17:24 using credential edgex-jenkins-ssh 07:17:24 Cloning the remote Git repository 07:17:24 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 07:17:24 > git init /w/workspace/device-modbus-go/130 # timeout=10 07:17:25 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:17:25 > git --version # timeout=10 07:17:25 > git --version # 'git version 2.25.1' 07:17:25 using GIT_SSH to set credentials SSH Credentials for GitHub 07:17:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:17:26 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:17:26 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.017s coverage: 47.9% of statements 07:17:27 Avoid second fetch 07:17:27 Checking out Revision c4f8d58e38c56fa084baf69a7312e6a371ed19c6 (main) 07:17:26 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:17:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:17:27 > git config core.sparsecheckout # timeout=10 07:17:27 Commit message: "Merge pull request #510 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.34" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:17:27 > git checkout -f c4f8d58e38c56fa084baf69a7312e6a371ed19c6 # timeout=10 07:17:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:17:28 % Total % Received % Xferd Average Speed Time Time Time Current 07:17:28 Dload Upload Total Spent Left Speed 07:17:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 91733 [Pipeline] sh 07:17:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:17:29 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:17:29 + sudo tee /etc/docker/daemon.new 07:17:29 { 07:17:29 "registry-mirrors": [ 07:17:29 "https://nexus3.edgexfoundry.org:10001" 07:17:29 ], 07:17:29 "bip": "10.250.0.254/24", 07:17:29 "hosts": [ 07:17:29 "tcp://0.0.0.0:5555", 07:17:29 "unix:///var/run/docker.sock" 07:17:29 ], 07:17:29 "mtu": 1458, 07:17:29 "selinux-enabled": true, 07:17:29 "seccomp-profile": "/etc/docker/seccomp.json" 07:17:29 } [Pipeline] sh 07:17:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:17:30 + sudo service docker restart 07:17:32 go vet ./... 07:17:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:17:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:17:36 ./bin/test-attribution-txt.sh [Pipeline] echo 07:17:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:17:36 $ docker stop --time=1 b06fcdd829cdbfc184cb50027b3e2d21197146f4013f141ab1c108bb42171611 07:17:40 $ docker rm -f --volumes b06fcdd829cdbfc184cb50027b3e2d21197146f4013f141ab1c108bb42171611 [Pipeline] // withDockerContainer [Pipeline] sh 07:17:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:17:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:17:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:17:42 + ls -al . 07:17:42 total 192 07:17:42 drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 07:17 . 07:17:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 07:15 .. 07:17:42 -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 07:15 .dockerignore 07:17:42 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 07:17 .git 07:17:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 07:15 .github 07:17:42 -rw-rw-r-- 1 jenkins jenkins 331 Oct 12 07:15 .gitignore 07:17:42 -rw-rw-r-- 1 jenkins jenkins 41 Oct 12 07:15 .golangci.yml 07:17:42 drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 07:15 .semver 07:17:42 -rw-rw-r-- 1 jenkins jenkins 11101 Oct 12 07:15 Attribution.txt 07:17:42 -rw-rw-r-- 1 jenkins jenkins 14764 Oct 12 07:15 CHANGELOG.md 07:17:42 -rw-rw-r-- 1 jenkins jenkins 1365 Oct 12 07:15 Dockerfile 07:17:42 -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 07:15 GOVERNANCE.md 07:17:42 -rw-rw-r-- 1 jenkins jenkins 680 Oct 12 07:15 Jenkinsfile 07:17:42 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 12 07:15 LICENSE 07:17:42 -rw-rw-r-- 1 jenkins jenkins 1936 Oct 12 07:15 Makefile 07:17:42 -rw-rw-r-- 1 jenkins jenkins 622 Oct 12 07:15 OWNERS.md 07:17:42 -rw-rw-r-- 1 jenkins jenkins 4578 Oct 12 07:15 README.md 07:17:42 -rw-rw-r-- 1 jenkins jenkins 12 Oct 12 07:15 VERSION 07:17:42 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 07:15 bin 07:17:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 07:15 cmd 07:17:42 -rw-r--r-- 1 jenkins jenkins 24334 Oct 12 07:17 coverage.out 07:17:42 -rw-rw-r-- 1 jenkins jenkins 3942 Oct 12 07:15 go.mod 07:17:42 -rw-rw-r-- 1 jenkins jenkins 35967 Oct 12 07:15 go.sum 07:17:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 07:15 internal 07:17:42 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 07:15 simulator 07:17:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 07:15 snap 07:17:42 -rw-rw-r-- 1 jenkins jenkins 229 Oct 12 07:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:42 + 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=c4f8d58e38c56fa084baf69a7312e6a371ed19c6 --label arch=amd64 --label version=3.1.0-dev.16 . 07:17:42 Sending build context to Docker daemon 6.525MB 07:17:42 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 07:17:42 Step 2/22 : FROM ${BASE} AS builder 07:17:42 ---> 7d7bdb54e89e 07:17:42 Step 3/22 : ARG ADD_BUILD_TAGS="" 07:17:42 ---> Running in 1d4464497e7b 07:17:42 Removing intermediate container 1d4464497e7b 07:17:42 ---> 2c5d5bb2846f 07:17:42 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:17:42 ---> Running in 27e61f9e6fb4 07:17:42 Removing intermediate container 27e61f9e6fb4 07:17:42 ---> c4df36caf391 07:17:42 Step 5/22 : RUN apk add --update --no-cache make git openssh 07:17:42 ---> Running in b1255d5a2a3d 07:17:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:17:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:17:43 OK: 270 MiB in 60 packages 07:17:44 Removing intermediate container b1255d5a2a3d 07:17:44 ---> a3388dbc59c9 07:17:44 Step 6/22 : WORKDIR /device-modbus-go 07:17:44 ---> Running in e6393517ecfe 07:17:44 Removing intermediate container e6393517ecfe 07:17:44 ---> af1b9fed0c0a 07:17:44 Step 7/22 : COPY go.mod vendor* ./ 07:17:44 ---> 61833c0e8389 07:17:44 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:17:44 ---> Running in 1b24fb7c330b 07:17:44 Removing intermediate container 1b24fb7c330b 07:17:44 ---> e9b6bc7333c9 07:17:44 Step 9/22 : COPY . . 07:17:45 ---> 0ced1520ccce 07:17:45 Step 10/22 : RUN ${MAKE} 07:17:45 ---> Running in 34b1a8ca226f 07:17:45 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.16 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.34" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:17:48 provisioning config files... 07:17:48 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/130@tmp/config8400900242668259346tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:17:48 ---> docker-login.sh 07:17:48 nexus3.edgexfoundry.org:10001 07:17:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:17:49 Configure a credential helper to remove this warning. See 07:17:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:17:49 07:17:49 Login Succeeded 07:17:49 nexus3.edgexfoundry.org:10002 07:17:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:17:49 Configure a credential helper to remove this warning. See 07:17:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:17:49 07:17:49 Login Succeeded 07:17:49 nexus3.edgexfoundry.org:10003 07:17:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:17:50 Configure a credential helper to remove this warning. See 07:17:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:17:50 07:17:50 Login Succeeded 07:17:50 nexus3.edgexfoundry.org:10004 07:17:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:17:50 Configure a credential helper to remove this warning. See 07:17:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:17:50 07:17:50 Login Succeeded 07:17:50 docker.io 07:17:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:17:51 Configure a credential helper to remove this warning. See 07:17:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:17:51 07:17:51 Login Succeeded 07:17:51 ---> docker-login.sh ends [Pipeline] } 07:17:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:17:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:17:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:17:51 ========================================================= 07:17:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 07:17:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17: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 . 07:17:51 Sending build context to Docker daemon 3.374MB 07:17:51 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 07:17:51 Step 2/10 : FROM ${BASE} AS builder 07:17:52 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:17:52 9fda8d8052c6: Pulling fs layer 07:17:52 5d54e960e981: Pulling fs layer 07:17:52 c4a7e357bf2a: Pulling fs layer 07:17:52 f0e02332f6b5: Pulling fs layer 07:17:52 cefa15bbcfad: Pulling fs layer 07:17:52 17808c966233: Pulling fs layer 07:17:52 f4c1fc716caa: Pulling fs layer 07:17:52 cefa15bbcfad: Waiting 07:17:52 f4c1fc716caa: Waiting 07:17:52 f0e02332f6b5: Waiting 07:17:52 17808c966233: Waiting 07:17:52 5d54e960e981: Verifying Checksum 07:17:52 5d54e960e981: Download complete 07:17:52 f0e02332f6b5: Verifying Checksum 07:17:52 f0e02332f6b5: Download complete 07:17:52 cefa15bbcfad: Verifying Checksum 07:17:52 cefa15bbcfad: Download complete 07:17:52 9fda8d8052c6: Verifying Checksum 07:17:52 9fda8d8052c6: Download complete 07:17:52 f4c1fc716caa: Verifying Checksum 07:17:52 f4c1fc716caa: Download complete 07:17:53 9fda8d8052c6: Pull complete 07:17:53 5d54e960e981: Pull complete 07:17:53 c4a7e357bf2a: Download complete 07:17:54 17808c966233: Verifying Checksum 07:17:54 17808c966233: Download complete 07:18:07 c4a7e357bf2a: Pull complete 07:18:07 f0e02332f6b5: Pull complete 07:18:07 cefa15bbcfad: Pull complete 07:18:12 Removing intermediate container 34b1a8ca226f 07:18:12 ---> 460bfd35e17f 07:18:12 Step 11/22 : FROM alpine:3.18 07:18:12 3.18: Pulling from library/alpine 07:18:12 96526aa774ef: Pulling fs layer 07:18:12 96526aa774ef: Verifying Checksum 07:18:12 96526aa774ef: Download complete 07:18:12 96526aa774ef: Pull complete 07:18:12 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 07:18:12 Status: Downloaded newer image for alpine:3.18 07:18:12 ---> 8ca4688f4f35 07:18:12 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:18:12 ---> Running in b747515fc80e 07:18:12 Removing intermediate container b747515fc80e 07:18:12 ---> c8f8f314cb37 07:18:12 Step 13/22 : RUN apk add --update --no-cache dumb-init 07:18:12 ---> Running in f0a1b32f7817 07:18:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:18:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:18:12 (1/1) Installing dumb-init (1.2.5-r2) 07:18:12 Executing busybox-1.36.1-r2.trigger 07:18:12 OK: 7 MiB in 16 packages 07:18:12 Removing intermediate container f0a1b32f7817 07:18:12 ---> 7309b71f48ca 07:18:12 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 07:18:12 ---> 994f36212a34 07:18:12 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 07:18:12 ---> a6eb2476ce39 07:18:12 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:18:12 ---> c7b4be6486f0 07:18:12 Step 17/22 : EXPOSE 59901 07:18:12 ---> Running in d80bbffba0e7 07:18:12 Removing intermediate container d80bbffba0e7 07:18:12 ---> 0ef06ab93f5d 07:18:12 Step 18/22 : ENTRYPOINT ["/device-modbus"] 07:18:12 ---> Running in 382d11e87957 07:18:12 Removing intermediate container 382d11e87957 07:18:12 ---> 77011c64f131 07:18:12 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:18:12 ---> Running in 20344c5688bb 07:18:12 Removing intermediate container 20344c5688bb 07:18:12 ---> 9cc66b08d2be 07:18:12 Step 20/22 : LABEL arch=amd64 07:18:12 ---> Running in c4e3277809c3 07:18:12 Removing intermediate container c4e3277809c3 07:18:12 ---> 7cc091c6aa70 07:18:12 Step 21/22 : LABEL git_sha=c4f8d58e38c56fa084baf69a7312e6a371ed19c6 07:18:12 ---> Running in 51ac8a8b5d44 07:18:12 Removing intermediate container 51ac8a8b5d44 07:18:12 ---> 6b1ca7642ea0 07:18:12 Step 22/22 : LABEL version=3.1.0-dev.16 07:18:13 ---> Running in c55d1f78f8eb 07:18:13 Removing intermediate container c55d1f78f8eb 07:18:13 ---> 0b85b33e9577 07:18:13 [Warning] One or more build-args [ARCH] were not consumed 07:18:13 Successfully built 0b85b33e9577 07:18:13 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:18:13 provisioning config files... 07:18:13 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16084560161871521304tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:18:13 ---> docker-login.sh 07:18:13 nexus3.edgexfoundry.org:10001 07:18:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:13 Configure a credential helper to remove this warning. See 07:18:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:13 07:18:13 Login Succeeded 07:18:13 nexus3.edgexfoundry.org:10002 07:18:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:13 Configure a credential helper to remove this warning. See 07:18:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:13 07:18:13 Login Succeeded 07:18:13 nexus3.edgexfoundry.org:10003 07:18:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:13 Configure a credential helper to remove this warning. See 07:18:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:13 07:18:13 Login Succeeded 07:18:13 nexus3.edgexfoundry.org:10004 07:18:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:13 Configure a credential helper to remove this warning. See 07:18:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:13 07:18:13 Login Succeeded 07:18:13 docker.io 07:18:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:14 Configure a credential helper to remove this warning. See 07:18:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:14 07:18:14 Login Succeeded 07:18:14 ---> docker-login.sh ends [Pipeline] } 07:18:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:18:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:18:14 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 07:18:14 c4f8d58e38c56fa084baf69a7312e6a371ed19c6 07:18:14 latest 07:18:14 3.1.0-dev.16 07:18:14 c4f8d58e38c56fa084baf69a7312e6a371ed19c6-3.1.0-dev.16 07:18:14 main 07:18:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:18:14 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:c4f8d58e38c56fa084baf69a7312e6a371ed19c6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:18:14 + docker push nexus3.edgexfoundry.org:10004/device-modbus:c4f8d58e38c56fa084baf69a7312e6a371ed19c6 07:18:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:18:14 1b34665bfc49: Preparing 07:18:14 d278bf69afbd: Preparing 07:18:14 31d4f3b1b94e: Preparing 07:18:14 8ac895f587b2: Preparing 07:18:14 cc2447e1835a: Preparing 07:18:14 cc2447e1835a: Layer already exists 07:18:14 1b34665bfc49: Pushed 07:18:14 8ac895f587b2: Pushed 07:18:14 d278bf69afbd: Pushed 07:18:15 17808c966233: Pull complete 07:18:17 f4c1fc716caa: Pull complete 07:18:17 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 07:18:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 07:18:17 ---> ea914061e18c 07:18:17 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:18:18 31d4f3b1b94e: Pushed 07:18:18 c4f8d58e38c56fa084baf69a7312e6a371ed19c6: digest: sha256:9de89237b0de9976c600feb9c24aa98064abf70336b96cc00bbeaee0e87b07f8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:18:18 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:18:18 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 07:18:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:18:18 1b34665bfc49: Preparing 07:18:18 d278bf69afbd: Preparing 07:18:18 31d4f3b1b94e: Preparing 07:18:18 8ac895f587b2: Preparing 07:18:18 cc2447e1835a: Preparing 07:18:18 8ac895f587b2: Layer already exists 07:18:18 cc2447e1835a: Layer already exists 07:18:18 31d4f3b1b94e: Layer already exists 07:18:18 1b34665bfc49: Layer already exists 07:18:18 d278bf69afbd: Layer already exists 07:18:18 latest: digest: sha256:9de89237b0de9976c600feb9c24aa98064abf70336b96cc00bbeaee0e87b07f8 size: 1365 [Pipeline] } [Pipeline] // withEnv 07:18:18 ---> Running in a98198fdfb37 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:18:19 Removing intermediate container a98198fdfb37 07:18:19 ---> 950327324ce1 07:18:19 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:18:19 ---> Running in 78552640766a 07:18:19 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:18:19 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.16 07:18:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:18:19 1b34665bfc49: Preparing 07:18:19 d278bf69afbd: Preparing 07:18:19 31d4f3b1b94e: Preparing 07:18:19 8ac895f587b2: Preparing 07:18:19 cc2447e1835a: Preparing 07:18:19 cc2447e1835a: Layer already exists 07:18:19 8ac895f587b2: Layer already exists 07:18:19 31d4f3b1b94e: Layer already exists 07:18:19 d278bf69afbd: Layer already exists 07:18:19 1b34665bfc49: Layer already exists 07:18:19 3.1.0-dev.16: digest: sha256:9de89237b0de9976c600feb9c24aa98064abf70336b96cc00bbeaee0e87b07f8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:18:19 Removing intermediate container 78552640766a 07:18:19 ---> 20238671fb87 07:18:19 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:18:19 ---> Running in f94eb6a71da6 07:18:19 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:c4f8d58e38c56fa084baf69a7312e6a371ed19c6-3.1.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:18:20 + docker push nexus3.edgexfoundry.org:10004/device-modbus:c4f8d58e38c56fa084baf69a7312e6a371ed19c6-3.1.0-dev.16 07:18:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:18:20 1b34665bfc49: Preparing 07:18:20 d278bf69afbd: Preparing 07:18:20 31d4f3b1b94e: Preparing 07:18:20 8ac895f587b2: Preparing 07:18:20 cc2447e1835a: Preparing 07:18:20 cc2447e1835a: Layer already exists 07:18:20 d278bf69afbd: Layer already exists 07:18:20 1b34665bfc49: Layer already exists 07:18:20 31d4f3b1b94e: Layer already exists 07:18:20 8ac895f587b2: Layer already exists 07:18:20 c4f8d58e38c56fa084baf69a7312e6a371ed19c6-3.1.0-dev.16: digest: sha256:9de89237b0de9976c600feb9c24aa98064abf70336b96cc00bbeaee0e87b07f8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:18:20 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:18:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:18:20 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 07:18:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:18:20 1b34665bfc49: Preparing 07:18:20 d278bf69afbd: Preparing 07:18:20 31d4f3b1b94e: Preparing 07:18:20 8ac895f587b2: Preparing 07:18:20 cc2447e1835a: Preparing 07:18:20 1b34665bfc49: Layer already exists 07:18:20 cc2447e1835a: Layer already exists 07:18:20 d278bf69afbd: Layer already exists 07:18:20 31d4f3b1b94e: Layer already exists 07:18:20 8ac895f587b2: Layer already exists 07:18:20 main: digest: sha256:9de89237b0de9976c600feb9c24aa98064abf70336b96cc00bbeaee0e87b07f8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:18:20 ===================================================== [Pipeline] echo 07:18:20 taggedImages: 07:18:20 - nexus3.edgexfoundry.org:10004/device-modbus:c4f8d58e38c56fa084baf69a7312e6a371ed19c6 07:18:20 - nexus3.edgexfoundry.org:10004/device-modbus:latest 07:18:20 - nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.16 07:18:20 - nexus3.edgexfoundry.org:10004/device-modbus:c4f8d58e38c56fa084baf69a7312e6a371ed19c6-3.1.0-dev.16 07:18:20 - 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 07:18:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:18:21 07:18:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:18:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:18:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:18:21 latest: Pulling from edgex-lftools-log-publisher 07:18:21 5eb5b503b376: Pulling fs layer 07:18:21 5c69ac0246d0: Pulling fs layer 07:18:21 ec43610c2a17: Pulling fs layer 07:18:21 3a2ae6a8a46f: Pulling fs layer 07:18:21 33b1e0a273af: Pulling fs layer 07:18:21 5d3b04190fa2: Pulling fs layer 07:18:21 2f39f015ded8: Pulling fs layer 07:18:21 5d3b04190fa2: Waiting 07:18:21 2f39f015ded8: Waiting 07:18:21 3a2ae6a8a46f: Waiting 07:18:21 33b1e0a273af: Waiting 07:18:21 5c69ac0246d0: Verifying Checksum 07:18:21 5c69ac0246d0: Download complete 07:18:21 3a2ae6a8a46f: Verifying Checksum 07:18:21 3a2ae6a8a46f: Download complete 07:18:21 33b1e0a273af: Verifying Checksum 07:18:21 33b1e0a273af: Download complete 07:18:21 5d3b04190fa2: Verifying Checksum 07:18:21 5d3b04190fa2: Download complete 07:18:21 ec43610c2a17: Verifying Checksum 07:18:21 ec43610c2a17: Download complete 07:18:21 5eb5b503b376: Verifying Checksum 07:18:21 5eb5b503b376: Download complete 07:18:22 (1/8) Installing openssh-keygen (9.3_p2-r0) 07:18:22 (2/8) Installing libedit (20221030.3.1-r1) 07:18:22 (3/8) Installing openssh-client-common (9.3_p2-r0) 07:18:22 (4/8) Installing openssh-client-default (9.3_p2-r0) 07:18:22 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 07:18:22 (6/8) Installing openssh-server-common (9.3_p2-r0) 07:18:22 (7/8) Installing openssh-server (9.3_p2-r0) 07:18:22 (8/8) Installing openssh (9.3_p2-r0) 07:18:22 Executing busybox-1.36.1-r2.trigger 07:18:22 OK: 272 MiB in 60 packages 07:18:22 2f39f015ded8: Download complete 07:18:23 5eb5b503b376: Pull complete 07:18:23 5c69ac0246d0: Pull complete 07:18:23 ec43610c2a17: Pull complete 07:18:23 3a2ae6a8a46f: Pull complete 07:18:24 33b1e0a273af: Pull complete 07:18:24 5d3b04190fa2: Pull complete 07:18:27 Removing intermediate container f94eb6a71da6 07:18:27 ---> 8924d0ec3ce6 07:18:27 Step 6/10 : WORKDIR /device-modbus-go 07:18:27 ---> Running in 5333c156abdb 07:18:27 Removing intermediate container 5333c156abdb 07:18:27 ---> a3f159938ce6 07:18:27 Step 7/10 : COPY go.mod vendor* ./ 07:18:27 ---> 5d72f58639e2 07:18:27 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:18:27 ---> Running in c4d6947e4b04 07:18:29 2f39f015ded8: Pull complete 07:18:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:18:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:18:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:18:29 prd-ubuntu20.04-docker-8c-8g-9118 does not seem to be running inside a container 07:18:29 $ 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 07:18:36 $ docker top 90f9884cc5832a6828a0b2dc864f0ff361d885d11bfcdd892d6c2d7b46452fae -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:18:36 ---> job-cost.sh 07:18:36 lf-activate-venv: SKIPPING 07:18:36 INFO: No Stack... 07:18:37 INFO: Retrieving Pricing Info for: v3-standard-8 07:18:37 INFO: Archiving Costs [Pipeline] sh 07:18:38 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 07:18:38 + cut -d, -f6 [Pipeline] lock 07:18:38 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-130-stack-cost] 07:18:38 Resource [jenkins-edgexfoundry-device-modbus-go-main-130-stack-cost] did not exist. Created. 07:18:38 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-130-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:18:38 + echo total: 0.2199999988079071 [Pipeline] stash 07:18:38 Stashed 1 file(s) [Pipeline] } 07:18:38 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-130-stack-cost] [Pipeline] // lock [Pipeline] } 07:18:38 $ docker stop --time=1 90f9884cc5832a6828a0b2dc864f0ff361d885d11bfcdd892d6c2d7b46452fae 07:18:39 $ docker rm -f --volumes 90f9884cc5832a6828a0b2dc864f0ff361d885d11bfcdd892d6c2d7b46452fae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:20:19 Removing intermediate container c4d6947e4b04 07:20:19 ---> 0a29ca592d27 07:20:19 Step 9/10 : COPY . . 07:20:19 ---> e722d3c193ad 07:20:19 Step 10/10 : RUN ${MAKE} 07:20:19 ---> Running in 5b52f95d7812 07:20:19 noop 07:20:19 Removing intermediate container 5b52f95d7812 07:20:19 ---> 6a02cc469b31 07:20:19 Successfully built 6a02cc469b31 07:20:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:20 + docker inspect -f . ci-base-image-arm64 07:20:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:20:20 prd-ubuntu20.04-docker-arm64-4c-16g-9119 does not seem to be running inside a container 07:20:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/130 -v /w/workspace/device-modbus-go/130:/w/workspace/device-modbus-go/130:rw,z -v /w/workspace/device-modbus-go/130@tmp:/w/workspace/device-modbus-go/130@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 07:20:21 $ docker top 54f26ef5dfe0ae3202d30ab418fd3bc4db6f654e227240bdfb0237c7dfb4f190 -eo pid,comm [Pipeline] { [Pipeline] sh 07:20:22 + go version 07:20:22 go version go1.21.0 linux/arm64 [Pipeline] } 07:20:22 $ docker stop --time=1 54f26ef5dfe0ae3202d30ab418fd3bc4db6f654e227240bdfb0237c7dfb4f190 07:20:23 $ docker rm -f --volumes 54f26ef5dfe0ae3202d30ab418fd3bc4db6f654e227240bdfb0237c7dfb4f190 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:24 + docker inspect -f . ci-base-image-arm64 07:20:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:20:24 prd-ubuntu20.04-docker-arm64-4c-16g-9119 does not seem to be running inside a container 07:20:24 $ 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/130 -v /w/workspace/device-modbus-go/130:/w/workspace/device-modbus-go/130:rw,z -v /w/workspace/device-modbus-go/130@tmp:/w/workspace/device-modbus-go/130@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 07:20:25 $ docker top ed13f622e636e2c740ceed776ec523c1cd4e918f77c1de48c86a19e145d9162a -eo pid,comm [Pipeline] { [Pipeline] sh 07:20:26 + git config --global --add safe.directory /w/workspace/device-modbus-go/130 [Pipeline] fileExists [Pipeline] sh 07:20:26 + make test 07:20:27 go test ./... -coverprofile=coverage.out 07:20:31 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:22:07 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:22:07 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.056s coverage: 47.9% of statements 07:22:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:22:07 go vet ./... 07:22:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:22:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:22:18 ./bin/test-attribution-txt.sh [Pipeline] echo 07:22:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:22:18 $ docker stop --time=1 ed13f622e636e2c740ceed776ec523c1cd4e918f77c1de48c86a19e145d9162a 07:22:20 $ docker rm -f --volumes ed13f622e636e2c740ceed776ec523c1cd4e918f77c1de48c86a19e145d9162a [Pipeline] // withDockerContainer [Pipeline] sh 07:22:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:22:21 Warning: overwriting stash ‘coverage-report’ 07:22:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:22:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:22:22 + ls -al . 07:22:22 total 188 07:22:22 drwxrwxr-x 9 jenkins jenkins 4096 Oct 12 07:20 . 07:22:22 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 07:17 .. 07:22:22 -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 07:17 .dockerignore 07:22:22 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 07:17 .git 07:22:22 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 07:17 .github 07:22:22 -rw-rw-r-- 1 jenkins jenkins 331 Oct 12 07:17 .gitignore 07:22:22 -rw-rw-r-- 1 jenkins jenkins 41 Oct 12 07:17 .golangci.yml 07:22:22 -rw-rw-r-- 1 jenkins jenkins 11101 Oct 12 07:17 Attribution.txt 07:22:22 -rw-rw-r-- 1 jenkins jenkins 14764 Oct 12 07:17 CHANGELOG.md 07:22:22 -rw-rw-r-- 1 jenkins jenkins 1365 Oct 12 07:17 Dockerfile 07:22:22 -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 07:17 GOVERNANCE.md 07:22:22 -rw-rw-r-- 1 jenkins jenkins 680 Oct 12 07:17 Jenkinsfile 07:22:22 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 12 07:17 LICENSE 07:22:22 -rw-rw-r-- 1 jenkins jenkins 1936 Oct 12 07:17 Makefile 07:22:22 -rw-rw-r-- 1 jenkins jenkins 622 Oct 12 07:17 OWNERS.md 07:22:22 -rw-rw-r-- 1 jenkins jenkins 4578 Oct 12 07:17 README.md 07:22:22 -rw-rw-r-- 1 jenkins jenkins 12 Oct 12 07:15 VERSION 07:22:22 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 07:17 bin 07:22:22 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 07:17 cmd 07:22:22 -rw-r--r-- 1 jenkins jenkins 24334 Oct 12 07:21 coverage.out 07:22:22 -rw-rw-r-- 1 jenkins jenkins 3942 Oct 12 07:17 go.mod 07:22:22 -rw-rw-r-- 1 jenkins jenkins 35967 Oct 12 07:17 go.sum 07:22:22 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 07:17 internal 07:22:22 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 07:17 simulator 07:22:22 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 07:17 snap 07:22:22 -rw-rw-r-- 1 jenkins jenkins 229 Oct 12 07:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:22 + 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=c4f8d58e38c56fa084baf69a7312e6a371ed19c6 --label arch=arm64 --label version=3.1.0-dev.16 . 07:22:23 Sending build context to Docker daemon 3.399MB 07:22:23 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 07:22:23 Step 2/22 : FROM ${BASE} AS builder 07:22:23 ---> 6a02cc469b31 07:22:23 Step 3/22 : ARG ADD_BUILD_TAGS="" 07:22:23 ---> Running in 7ed127df123e 07:22:23 Removing intermediate container 7ed127df123e 07:22:23 ---> 67a9f7a0bd93 07:22:23 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:22:23 ---> Running in 3dd598b2b03d 07:22:24 Removing intermediate container 3dd598b2b03d 07:22:24 ---> 31c63643d122 07:22:24 Step 5/22 : RUN apk add --update --no-cache make git openssh 07:22:24 ---> Running in 23a462106474 07:22:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:22:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:22:26 OK: 272 MiB in 60 packages 07:22:31 Removing intermediate container 23a462106474 07:22:31 ---> c303667af9e4 07:22:31 Step 6/22 : WORKDIR /device-modbus-go 07:22:31 ---> Running in 4d2df2d3ebb9 07:22:31 Removing intermediate container 4d2df2d3ebb9 07:22:31 ---> a6edea1398b7 07:22:31 Step 7/22 : COPY go.mod vendor* ./ 07:22:32 ---> dfb9e130f682 07:22:32 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:22:32 ---> Running in e154976453a5 07:22:36 Removing intermediate container e154976453a5 07:22:36 ---> e4efd963af62 07:22:36 Step 9/22 : COPY . . 07:22:36 ---> d830c697f63f 07:22:36 Step 10/22 : RUN ${MAKE} 07:22:37 ---> Running in 250ec789f6a6 07:22:39 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.16 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.34" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 07:24:31 Removing intermediate container 250ec789f6a6 07:24:31 ---> 0b66a81202c3 07:24:31 Step 11/22 : FROM alpine:3.18 07:24:31 3.18: Pulling from library/alpine 07:24:31 579b34f0a95b: Pulling fs layer 07:24:31 579b34f0a95b: Verifying Checksum 07:24:31 579b34f0a95b: Download complete 07:24:31 579b34f0a95b: Pull complete 07:24:31 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 07:24:31 Status: Downloaded newer image for alpine:3.18 07:24:31 ---> 3cc203321400 07:24:31 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:24:31 ---> Running in c5d1f7f4a7a0 07:24:31 Removing intermediate container c5d1f7f4a7a0 07:24:31 ---> e75bdff43232 07:24:31 Step 13/22 : RUN apk add --update --no-cache dumb-init 07:24:31 ---> Running in 2a32c929b633 07:24:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:24:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:24:31 (1/1) Installing dumb-init (1.2.5-r2) 07:24:31 Executing busybox-1.36.1-r2.trigger 07:24:31 OK: 8 MiB in 16 packages 07:24:31 Removing intermediate container 2a32c929b633 07:24:31 ---> c8b36da1025e 07:24:31 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 07:24:31 ---> 6ef84189ee51 07:24:31 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 07:24:31 ---> f8d1669185be 07:24:31 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:24:31 ---> 479933814eeb 07:24:31 Step 17/22 : EXPOSE 59901 07:24:31 ---> Running in d6340d7ab951 07:24:31 Removing intermediate container d6340d7ab951 07:24:31 ---> afc780b1ae2a 07:24:31 Step 18/22 : ENTRYPOINT ["/device-modbus"] 07:24:31 ---> Running in c25d4bfb0ed4 07:24:31 Removing intermediate container c25d4bfb0ed4 07:24:31 ---> 61b6b6854691 07:24:31 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:24:31 ---> Running in ecd89dc050b8 07:24:32 Removing intermediate container ecd89dc050b8 07:24:32 ---> e17f4007aa1a 07:24:32 Step 20/22 : LABEL arch=arm64 07:24:32 ---> Running in 83fa2000a549 07:24:32 Removing intermediate container 83fa2000a549 07:24:32 ---> 9ebec36e7b8d 07:24:32 Step 21/22 : LABEL git_sha=c4f8d58e38c56fa084baf69a7312e6a371ed19c6 07:24:32 ---> Running in ad6fbd1cf986 07:24:32 Removing intermediate container ad6fbd1cf986 07:24:32 ---> 93b33152b40e 07:24:32 Step 22/22 : LABEL version=3.1.0-dev.16 07:24:32 ---> Running in 2dd6a2aa31a3 07:24:33 Removing intermediate container 2dd6a2aa31a3 07:24:33 ---> ecae5731e669 07:24:33 [Warning] One or more build-args [ARCH] were not consumed 07:24:33 Successfully built ecae5731e669 07:24:33 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 07:24:33 provisioning config files... 07:24:33 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/130@tmp/config7880003826628148277tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:24:33 ---> docker-login.sh 07:24:33 nexus3.edgexfoundry.org:10001 07:24:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:34 Configure a credential helper to remove this warning. See 07:24:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:34 07:24:34 Login Succeeded 07:24:34 nexus3.edgexfoundry.org:10002 07:24:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:34 Configure a credential helper to remove this warning. See 07:24:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:34 07:24:34 Login Succeeded 07:24:34 nexus3.edgexfoundry.org:10003 07:24:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:34 Configure a credential helper to remove this warning. See 07:24:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:34 07:24:34 Login Succeeded 07:24:34 nexus3.edgexfoundry.org:10004 07:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:35 Configure a credential helper to remove this warning. See 07:24:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:35 07:24:35 Login Succeeded 07:24:35 docker.io 07:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:35 Configure a credential helper to remove this warning. See 07:24:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:35 07:24:35 Login Succeeded 07:24:35 ---> docker-login.sh ends [Pipeline] } 07:24:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:24:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:24:35 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 07:24:35 c4f8d58e38c56fa084baf69a7312e6a371ed19c6 07:24:35 latest 07:24:35 3.1.0-dev.16 07:24:35 c4f8d58e38c56fa084baf69a7312e6a371ed19c6-3.1.0-dev.16 07:24:35 main 07:24:35 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:36 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:c4f8d58e38c56fa084baf69a7312e6a371ed19c6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:36 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:c4f8d58e38c56fa084baf69a7312e6a371ed19c6 07:24:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:24:36 19ef4935747c: Preparing 07:24:36 a1a1dc5b7bd0: Preparing 07:24:36 494733444ec8: Preparing 07:24:36 320df9e37701: Preparing 07:24:36 5f4d9fc4d98d: Preparing 07:24:36 5f4d9fc4d98d: Layer already exists 07:24:36 19ef4935747c: Pushed 07:24:36 320df9e37701: Pushed 07:24:36 a1a1dc5b7bd0: Pushed 07:24:43 494733444ec8: Pushed 07:24:44 c4f8d58e38c56fa084baf69a7312e6a371ed19c6: digest: sha256:0308f728a5bad0a3fe8ecdbe4503002dc88ebd0b52b1a5366659e48f4463b174 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:44 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:44 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 07:24:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:24:44 19ef4935747c: Preparing 07:24:44 a1a1dc5b7bd0: Preparing 07:24:44 494733444ec8: Preparing 07:24:44 320df9e37701: Preparing 07:24:44 5f4d9fc4d98d: Preparing 07:24:44 494733444ec8: Layer already exists 07:24:44 19ef4935747c: Layer already exists 07:24:44 a1a1dc5b7bd0: Layer already exists 07:24:44 5f4d9fc4d98d: Layer already exists 07:24:44 320df9e37701: Layer already exists 07:24:44 latest: digest: sha256:0308f728a5bad0a3fe8ecdbe4503002dc88ebd0b52b1a5366659e48f4463b174 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:45 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:45 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.16 07:24:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:24:45 19ef4935747c: Preparing 07:24:45 a1a1dc5b7bd0: Preparing 07:24:45 494733444ec8: Preparing 07:24:45 320df9e37701: Preparing 07:24:45 5f4d9fc4d98d: Preparing 07:24:45 494733444ec8: Layer already exists 07:24:45 19ef4935747c: Layer already exists 07:24:45 5f4d9fc4d98d: Layer already exists 07:24:45 320df9e37701: Layer already exists 07:24:45 a1a1dc5b7bd0: Layer already exists 07:24:45 3.1.0-dev.16: digest: sha256:0308f728a5bad0a3fe8ecdbe4503002dc88ebd0b52b1a5366659e48f4463b174 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:45 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:c4f8d58e38c56fa084baf69a7312e6a371ed19c6-3.1.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:46 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:c4f8d58e38c56fa084baf69a7312e6a371ed19c6-3.1.0-dev.16 07:24:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:24:46 19ef4935747c: Preparing 07:24:46 a1a1dc5b7bd0: Preparing 07:24:46 494733444ec8: Preparing 07:24:46 320df9e37701: Preparing 07:24:46 5f4d9fc4d98d: Preparing 07:24:46 320df9e37701: Layer already exists 07:24:46 5f4d9fc4d98d: Layer already exists 07:24:46 494733444ec8: Layer already exists 07:24:46 19ef4935747c: Layer already exists 07:24:46 a1a1dc5b7bd0: Layer already exists 07:24:46 c4f8d58e38c56fa084baf69a7312e6a371ed19c6-3.1.0-dev.16: digest: sha256:0308f728a5bad0a3fe8ecdbe4503002dc88ebd0b52b1a5366659e48f4463b174 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:46 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:46 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 07:24:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:24:46 19ef4935747c: Preparing 07:24:46 a1a1dc5b7bd0: Preparing 07:24:46 494733444ec8: Preparing 07:24:46 320df9e37701: Preparing 07:24:46 5f4d9fc4d98d: Preparing 07:24:46 5f4d9fc4d98d: Layer already exists 07:24:46 320df9e37701: Layer already exists 07:24:46 19ef4935747c: Layer already exists 07:24:46 a1a1dc5b7bd0: Layer already exists 07:24:46 494733444ec8: Layer already exists 07:24:46 main: digest: sha256:0308f728a5bad0a3fe8ecdbe4503002dc88ebd0b52b1a5366659e48f4463b174 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:24:46 ===================================================== [Pipeline] echo 07:24:46 taggedImages: 07:24:46 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:c4f8d58e38c56fa084baf69a7312e6a371ed19c6 07:24:46 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 07:24:46 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.16 07:24:46 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:c4f8d58e38c56fa084baf69a7312e6a371ed19c6-3.1.0-dev.16 07:24:46 - 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 07:24:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:24:47 07:24:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:24:47 arm64: Pulling from edgex-lftools-log-publisher 07:24:47 8998bd30e6a1: Pulling fs layer 07:24:47 04944245beec: Pulling fs layer 07:24:47 699f458cf7ca: Pulling fs layer 07:24:47 765212b225bb: Pulling fs layer 07:24:47 f23df028b6ca: Pulling fs layer 07:24:47 765212b225bb: Waiting 07:24:47 d65c8cfc05b1: Pulling fs layer 07:24:47 2437ff75d9bd: Pulling fs layer 07:24:47 d65c8cfc05b1: Waiting 07:24:47 2437ff75d9bd: Waiting 07:24:47 04944245beec: Verifying Checksum 07:24:47 04944245beec: Download complete 07:24:47 765212b225bb: Verifying Checksum 07:24:47 765212b225bb: Download complete 07:24:47 f23df028b6ca: Verifying Checksum 07:24:47 f23df028b6ca: Download complete 07:24:47 d65c8cfc05b1: Verifying Checksum 07:24:47 d65c8cfc05b1: Download complete 07:24:47 699f458cf7ca: Verifying Checksum 07:24:47 699f458cf7ca: Download complete 07:24:48 8998bd30e6a1: Download complete 07:24:51 2437ff75d9bd: Verifying Checksum 07:24:51 2437ff75d9bd: Download complete 07:24:52 8998bd30e6a1: Pull complete 07:24:53 04944245beec: Pull complete 07:24:57 699f458cf7ca: Pull complete 07:24:57 765212b225bb: Pull complete 07:24:58 f23df028b6ca: Pull complete 07:24:58 d65c8cfc05b1: Pull complete 07:25:16 2437ff75d9bd: Pull complete 07:25:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:25:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:25:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:25:16 prd-ubuntu20.04-docker-arm64-4c-16g-9119 does not seem to be running inside a container 07:25:16 $ 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/130 -v /w/workspace/device-modbus-go/130:/w/workspace/device-modbus-go/130:rw,z -v /w/workspace/device-modbus-go/130@tmp:/w/workspace/device-modbus-go/130@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 07:25:19 $ docker top 741fbbcf2de326e18895279710f20fd65e5b44f469dfde46746eaa5b62d5cafb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:25:19 ---> job-cost.sh 07:25:19 lf-activate-venv: SKIPPING 07:25:19 INFO: No Stack... 07:25:20 INFO: Retrieving Pricing Info for: v3-standard-4 07:25:21 INFO: Archiving Costs [Pipeline] sh 07:25:21 + + catcut /w/workspace/device-modbus-go/130/archives/cost.csv -d, 07:25:21 -f6 [Pipeline] lock 07:25:21 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-130-stack-cost] 07:25:21 Resource [jenkins-edgexfoundry-device-modbus-go-main-130-stack-cost] did not exist. Created. 07:25:21 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-130-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:25:22 /w/workspace/device-modbus-go/130@tmp/durable-7dd3a22f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:25:23 + echo total: 0.10999999940395355 [Pipeline] stash 07:25:23 Warning: overwriting stash ‘stack-cost’ 07:25:23 Stashed 1 file(s) [Pipeline] } 07:25:23 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-130-stack-cost] [Pipeline] // lock [Pipeline] } 07:25:23 $ docker stop --time=1 741fbbcf2de326e18895279710f20fd65e5b44f469dfde46746eaa5b62d5cafb 07:25:25 $ docker rm -f --volumes 741fbbcf2de326e18895279710f20fd65e5b44f469dfde46746eaa5b62d5cafb [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 07:25:25 provisioning config files... 07:25:25 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3468260463970520217tmp [Pipeline] { [Pipeline] sh 07:25:26 + set +x 07:25:26 + curl -s https://codecov.io/bash 07:25:26 + bash -s -- 07:25:26 07:25:26 _____ _ 07:25:26 / ____| | | 07:25:26 | | ___ __| | ___ ___ _____ __ 07:25:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:25:26 | |___| (_) | (_| | __/ (_| (_) \ V / 07:25:26 \_____\___/ \__,_|\___|\___\___/ \_/ 07:25:26 Bash-1.0.6 07:25:26 07:25:26 07:25:26 ==> git version 2.25.1 found 07:25:26 ==> 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 07:25:26 Release-Date: 2020-01-08 07:25:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:25:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:25:26 ==> Jenkins CI detected. 07:25:26 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 07:25:26 project root: . 07:25:26 --> token set from env 07:25:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:25:26 ==> Running gcov in . (disable via -X gcov) 07:25:26 ==> Python coveragepy not found 07:25:26 ==> Searching for coverage reports in: 07:25:26 + . 07:25:26 -> Found 1 reports 07:25:26 ==> Detecting git/mercurial file structure 07:25:26 ==> Reading reports 07:25:26 + ./coverage.out bytes=24334 07:25:26 ==> Appending adjustments 07:25:26 https://docs.codecov.io/docs/fixing-reports 07:25:26 + Found adjustments 07:25:26 ==> Gzipping contents 07:25:26 4.0K /tmp/codecov.RjCM2s.gz 07:25:26 ==> Uploading reports 07:25:26 url: https://codecov.io 07:25:26 query: branch=main&commit=c4f8d58e38c56fa084baf69a7312e6a371ed19c6&build=130&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F130%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:25:26 -> Pinging Codecov 07:25:26 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=c4f8d58e38c56fa084baf69a7312e6a371ed19c6&build=130&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F130%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:25:26 -> Uploading to 07:25:26 https://storage.googleapis.com/codecov/v4/raw/2023-10-12/55DBCA73C666E3227836607328DD7E49/c4f8d58e38c56fa084baf69a7312e6a371ed19c6/5e50fe65-c895-4c14-ac58-d71602a086a9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231012T072526Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2958fe0903f3e6726c873a8e6b314f17d9b753d0fbc8cd349127b5213068db98 07:25:26 % Total % Received % Xferd Average Speed Time Time Time Current 07:25:26 Dload Upload Total Spent Left Speed 07:25:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 13380 --:--:-- --:--:-- --:--:-- 13380 07:25:27 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/c4f8d58e38c56fa084baf69a7312e6a371ed19c6 [Pipeline] } 07:25:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:25:27 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:25:27 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:25:27 07:25:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:25:27 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:25:27 df9b9388f04a: Pulling fs layer 07:25:27 52dc419b0ee2: Pulling fs layer 07:25:27 25bc292e5bac: Pulling fs layer 07:25:27 114826534d7a: Pulling fs layer 07:25:27 4657fd5d0bcf: Pulling fs layer 07:25:27 6ad1cebc031e: Pulling fs layer 07:25:27 8a3aa393b2d8: Pulling fs layer 07:25:27 6ad1cebc031e: Waiting 07:25:27 8a3aa393b2d8: Waiting 07:25:27 4657fd5d0bcf: Waiting 07:25:27 25bc292e5bac: Verifying Checksum 07:25:27 25bc292e5bac: Download complete 07:25:27 52dc419b0ee2: Download complete 07:25:27 4657fd5d0bcf: Verifying Checksum 07:25:27 4657fd5d0bcf: Download complete 07:25:27 df9b9388f04a: Download complete 07:25:28 df9b9388f04a: Pull complete 07:25:28 6ad1cebc031e: Verifying Checksum 07:25:28 6ad1cebc031e: Download complete 07:25:28 52dc419b0ee2: Pull complete 07:25:28 25bc292e5bac: Pull complete 07:25:28 114826534d7a: Verifying Checksum 07:25:28 114826534d7a: Download complete 07:25:28 8a3aa393b2d8: Verifying Checksum 07:25:28 8a3aa393b2d8: Download complete 07:25:32 114826534d7a: Pull complete 07:25:32 4657fd5d0bcf: Pull complete 07:25:32 6ad1cebc031e: Pull complete 07:25:35 8a3aa393b2d8: Pull complete 07:25:35 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 07:25:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:25:35 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:25:36 prd-ubuntu20.04-docker-8c-8g-9118 does not seem to be running inside a container 07:25:36 $ 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 07:25:43 $ docker top 5881147cc4f75c17ad8339542173a5759c3c6ef8a166552b92a1624cafb0a09c -eo pid,comm [Pipeline] { [Pipeline] echo 07:25:43 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 07:25:44 + set -o pipefail 07:25:44 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 07:25:52 07:25:52 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 07:25:52 07:25:52 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/dc8c463f-6b62-4b28-81c3-1f0daf3bb8eb 07:25:52 07:25:52 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 07:25:52 07:25:52 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:25:52 07:25:52 07:25:52 A medium severity vulnerability was found in the Snyk CLI versions you are using. 07:25:52 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 07:25:52 More details here: https://snyk.co/ue1NS 07:25:52 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 07:25:52 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 07:25:52 $ docker stop --time=1 5881147cc4f75c17ad8339542173a5759c3c6ef8a166552b92a1624cafb0a09c 07:25:56 $ docker rm -f --volumes 5881147cc4f75c17ad8339542173a5759c3c6ef8a166552b92a1624cafb0a09c [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 07:25:57 + git log --format=format:%s -1 c4f8d58e38c56fa084baf69a7312e6a371ed19c6 [Pipeline] sh 07:25:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:25:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:25:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:25:58 prd-ubuntu20.04-docker-8c-8g-9118 does not seem to be running inside a container 07:25:58 $ 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 07:25:58 $ docker top 47b2fbfa43c5b92264adb19becc203bc05043cd8ecf4bfe49975402daf24f85b -eo pid,comm 07:25:58 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:25:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:25:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:25:58 [ssh-agent] Looking for ssh-agent implementation... 07:25:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:25:58 $ docker exec 47b2fbfa43c5b92264adb19becc203bc05043cd8ecf4bfe49975402daf24f85b ssh-agent 07:25:58 SSH_AUTH_SOCK=/tmp/ssh-hxZBGSF0AE3p/agent.32 07:25:58 SSH_AGENT_PID=38 07:25:58 Running ssh-add (command line suppressed) 07:25:58 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13662313711763519456.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13662313711763519456.key) 07:25:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:25:59 + git semver tag 07:25:59 2023-10-12 07:25:59,450 [run_tag] DEBUG tag force:False 07:25:59 2023-10-12 07:25:59,450 [check_head_tag] DEBUG check head tag 07:25:59 2023-10-12 07:25:59,451 [execute] INFO git cat-file --batch-check 07:25:59 2023-10-12 07:25:59,451 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 07:25:59 2023-10-12 07:25:59,457 [execute] INFO git cat-file --batch 07:25:59 2023-10-12 07:25:59,457 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 07:25:59 2023-10-12 07:25:59,470 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:25:59 2023-10-12 07:25:59,470 [execute] INFO git tag -a v3.1.0-dev.16 -m v3.1.0-dev.16 07:25:59 2023-10-12 07:25:59,470 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.16', '-m', 'v3.1.0-dev.16'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 07:25:59 2023-10-12 07:25:59,475 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:25:59 3.1.0-dev.16 [Pipeline] } 07:25:59 $ docker exec --env ******** --env ******** 47b2fbfa43c5b92264adb19becc203bc05043cd8ecf4bfe49975402daf24f85b ssh-agent -k 07:25:59 unset SSH_AUTH_SOCK; 07:25:59 unset SSH_AGENT_PID; 07:25:59 echo Agent pid 38 killed; 07:25:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:25:59 + git semver [Pipeline] } 07:26:00 $ docker stop --time=1 47b2fbfa43c5b92264adb19becc203bc05043cd8ecf4bfe49975402daf24f85b 07:26:01 $ docker rm -f --volumes 47b2fbfa43c5b92264adb19becc203bc05043cd8ecf4bfe49975402daf24f85b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:26:01 07:26:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:26:02 0.23.1-centos7: Pulling from edgex-lftools 07:26:02 ab5ef0e58194: Pulling fs layer 07:26:02 9712f1f96733: Pulling fs layer 07:26:02 63f879dbbcfc: Pulling fs layer 07:26:02 0d9ebad4ef96: Pulling fs layer 07:26:02 e9a5061849ea: Pulling fs layer 07:26:02 d747dcd14b5f: Pulling fs layer 07:26:02 2de7ff778b66: Pulling fs layer 07:26:02 0d9ebad4ef96: Waiting 07:26:02 e9a5061849ea: Waiting 07:26:02 2de7ff778b66: Waiting 07:26:02 d747dcd14b5f: Waiting 07:26:02 9712f1f96733: Verifying Checksum 07:26:02 9712f1f96733: Download complete 07:26:02 63f879dbbcfc: Verifying Checksum 07:26:02 63f879dbbcfc: Download complete 07:26:02 0d9ebad4ef96: Verifying Checksum 07:26:02 0d9ebad4ef96: Download complete 07:26:02 e9a5061849ea: Verifying Checksum 07:26:02 e9a5061849ea: Download complete 07:26:02 d747dcd14b5f: Verifying Checksum 07:26:02 d747dcd14b5f: Download complete 07:26:02 ab5ef0e58194: Verifying Checksum 07:26:02 ab5ef0e58194: Download complete 07:26:02 2de7ff778b66: Verifying Checksum 07:26:02 2de7ff778b66: Download complete 07:26:05 ab5ef0e58194: Pull complete 07:26:05 9712f1f96733: Pull complete 07:26:06 63f879dbbcfc: Pull complete 07:26:10 0d9ebad4ef96: Pull complete 07:26:10 e9a5061849ea: Pull complete 07:26:10 d747dcd14b5f: Pull complete 07:26:11 2de7ff778b66: Pull complete 07:26:11 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:26:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:26:11 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:26:11 prd-ubuntu20.04-docker-8c-8g-9118 does not seem to be running inside a container 07:26: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:26:21 $ docker top d8622d38a951b51931ead4687664841f05f09f8515535ef73eaf976ebeed3fdd -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:26:21 provisioning config files... 07:26:21 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8375087622526001492tmp 07:26:21 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2970781132348321725tmp 07:26:21 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10733859945240186049tmp [Pipeline] { [Pipeline] echo 07:26:21 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:26:21 ---> sigul-configuration.sh 07:26:21 gpg: directory `/root/.gnupg' created 07:26:21 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:26:21 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:26:21 gpg: keyring `/root/.gnupg/secring.gpg' created 07:26:21 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:26:21 gpg: CAST5 encrypted data 07:26:21 gpg: encrypted with 1 passphrase 07:26:21 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:26:22 + mkdir /home/jenkins 07:26:22 + mkdir /home/jenkins/sigul [Pipeline] sh 07:26:22 + 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 07:26:22 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:26:22 ---> sigul-install.sh 07:26:22 Sigul already installed; skipping installation. [Pipeline] sh 07:26:22 + git tag --list 07:26:22 0.7.1 07:26:22 v1.0.0 07:26:22 v1.1.0 07:26:22 v1.1.1 07:26:22 v1.2.2 07:26:22 v1.3.0 07:26:22 v1.3.1 07:26:22 v2.0.0 07:26:22 v2.1.0 07:26:22 v2.1.1 07:26:22 v2.2.0 07:26:22 v2.3.0 07:26:22 v3.0 07:26:22 v3.0.0 07:26:22 v3.1.0-dev.1 07:26:22 v3.1.0-dev.10 07:26:22 v3.1.0-dev.11 07:26:22 v3.1.0-dev.12 07:26:22 v3.1.0-dev.13 07:26:22 v3.1.0-dev.14 07:26:22 v3.1.0-dev.15 07:26:22 v3.1.0-dev.16 07:26:22 v3.1.0-dev.2 07:26:22 v3.1.0-dev.3 07:26:22 v3.1.0-dev.4 07:26:22 v3.1.0-dev.5 07:26:22 v3.1.0-dev.6 07:26:22 v3.1.0-dev.7 07:26:22 v3.1.0-dev.8 07:26:22 v3.1.0-dev.9 [Pipeline] sh 07:26:23 + lftools sign git-tag v3.1.0-dev.16 07:26:23 Signing Git tag with Sigul... 07:26:23 Signing v3.1.0-dev.16 [Pipeline] echo 07:26:25 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:26:25 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:26:25 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:26:25 $ docker stop --time=1 d8622d38a951b51931ead4687664841f05f09f8515535ef73eaf976ebeed3fdd 07:26:26 $ docker rm -f --volumes d8622d38a951b51931ead4687664841f05f09f8515535ef73eaf976ebeed3fdd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:26:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:26:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:26:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:26:27 prd-ubuntu20.04-docker-8c-8g-9118 does not seem to be running inside a container 07:26:27 $ 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 07:26:27 $ docker top fae3ac638b21e487c364292405e0ab2e23ebaf0d4ae577d738ece35d0fff7b50 -eo pid,comm 07:26:28 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). 07:26:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:26:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:26:28 [ssh-agent] Looking for ssh-agent implementation... 07:26:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:26:28 $ docker exec fae3ac638b21e487c364292405e0ab2e23ebaf0d4ae577d738ece35d0fff7b50 ssh-agent 07:26:28 SSH_AUTH_SOCK=/tmp/ssh-8Dpt5xLjeVIH/agent.33 07:26:28 SSH_AGENT_PID=39 07:26:28 Running ssh-add (command line suppressed) 07:26:28 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2330061418411170820.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2330061418411170820.key) 07:26:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:26:28 + git semver bump pre 07:26:28 2023-10-12 07:26:28,842 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:26:28 2023-10-12 07:26:28,842 [bump_version] DEBUG bumping version:3.1.0-dev.16 on axis:pre with prefix:dev 07:26:28 2023-10-12 07:26:28,842 [bump_version] DEBUG bumped version:3.1.0-dev.17 07:26:28 2023-10-12 07:26:28,842 [write_version] DEBUG write version:3.1.0-dev.17 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 07:26:28 2023-10-12 07:26:28,842 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:26:28 2023-10-12 07:26:28,843 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:26:28 2023-10-12 07:26:28,845 [execute] INFO git cat-file --batch-check 07:26:28 2023-10-12 07:26:28,845 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:26:28 2023-10-12 07:26:28,850 [execute] INFO git cat-file --batch 07:26:28 2023-10-12 07:26:28,851 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:26:28 2023-10-12 07:26:28,856 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:26:28 3.1.0-dev.17 [Pipeline] } 07:26:28 $ docker exec --env ******** --env ******** fae3ac638b21e487c364292405e0ab2e23ebaf0d4ae577d738ece35d0fff7b50 ssh-agent -k 07:26:29 unset SSH_AUTH_SOCK; 07:26:29 unset SSH_AGENT_PID; 07:26:29 echo Agent pid 39 killed; 07:26:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:26:29 + git semver [Pipeline] } 07:26:29 $ docker stop --time=1 fae3ac638b21e487c364292405e0ab2e23ebaf0d4ae577d738ece35d0fff7b50 07:26:30 $ docker rm -f --volumes fae3ac638b21e487c364292405e0ab2e23ebaf0d4ae577d738ece35d0fff7b50 [Pipeline] // withDockerContainer [Pipeline] sh 07:26:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:26:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:26:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:26:31 prd-ubuntu20.04-docker-8c-8g-9118 does not seem to be running inside a container 07:26:31 $ 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 07:26:31 $ docker top c9518d6681629415ea7d622399f6c70941e70e183ded763f47a26145a0acc15d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:26:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:26:32 [ssh-agent] Looking for ssh-agent implementation... 07:26:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:26:32 $ docker exec c9518d6681629415ea7d622399f6c70941e70e183ded763f47a26145a0acc15d ssh-agent 07:26:32 SSH_AUTH_SOCK=/tmp/ssh-m2ggWaVjxtjv/agent.32 07:26:32 SSH_AGENT_PID=38 07:26:32 Running ssh-add (command line suppressed) 07:26:32 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6417367251137428637.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6417367251137428637.key) 07:26:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:26:32 + git semver push 07:26:33 2023-10-12 07:26:33,040 [run_push] DEBUG push 07:26:33 2023-10-12 07:26:33,041 [execute] INFO git cat-file --batch-check 07:26:33 2023-10-12 07:26:33,041 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:26:33 2023-10-12 07:26:33,045 [execute] INFO git rev-list b97a99540d19da650e2f30a83cc1af5a113df31e -- 07:26:33 2023-10-12 07:26:33,046 [execute] DEBUG Popen(['git', 'rev-list', 'b97a99540d19da650e2f30a83cc1af5a113df31e', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:26:33 2023-10-12 07:26:33,055 [execute] INFO git fetch -v origin 07:26:33 2023-10-12 07:26:33,055 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:26:33 2023-10-12 07:26:33,620 [run_push] DEBUG no remote changes detected 07:26:33 2023-10-12 07:26:33,620 [execute] INFO git push origin semver 07:26:33 2023-10-12 07:26:33,621 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:26:34 2023-10-12 07:26:34,400 [run_push] DEBUG push all version tags 07:26:34 2023-10-12 07:26:34,400 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:26:34 2023-10-12 07:26:34,401 [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) 07:26:35 2023-10-12 07:26:35,161 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:26:35 3.1.0-dev.17 [Pipeline] } 07:26:35 $ docker exec --env ******** --env ******** c9518d6681629415ea7d622399f6c70941e70e183ded763f47a26145a0acc15d ssh-agent -k 07:26:35 unset SSH_AUTH_SOCK; 07:26:35 unset SSH_AGENT_PID; 07:26:35 echo Agent pid 38 killed; 07:26:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:26:35 + git semver [Pipeline] } 07:26:35 $ docker stop --time=1 c9518d6681629415ea7d622399f6c70941e70e183ded763f47a26145a0acc15d 07:26:37 $ docker rm -f --volumes c9518d6681629415ea7d622399f6c70941e70e183ded763f47a26145a0acc15d [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 07:26:37 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 07:26:37 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 07:26:37 total 16 07:26:37 drwxr-xr-x 3 root root 4096 Oct 12 07:18 . 07:26:37 drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 07:26 .. 07:26:37 drwxr-xr-x 2 root root 4096 Oct 12 07:18 cost 07:26:37 -rw-r--r-- 1 root root 88 Oct 12 07:18 cost.csv 07:26:37 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 07:26:37 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 07:26:37 total 16 07:26:37 drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 07:18 . 07:26:37 drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 07:26 .. 07:26:37 drwxr-xr-x 2 jenkins jenkins 4096 Oct 12 07:18 cost 07:26:37 -rw-r--r-- 1 jenkins jenkins 88 Oct 12 07:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:26:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:26:38 ---> package-listing.sh 07:26:38 ++ facter osfamily 07:26:38 ++ tr '[:upper:]' '[:lower:]' 07:26:39 + OS_FAMILY=debian 07:26:39 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 07:26:39 + START_PACKAGES=/tmp/packages_start.txt 07:26:39 + END_PACKAGES=/tmp/packages_end.txt 07:26:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:26:39 + PACKAGES=/tmp/packages_start.txt 07:26:39 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 07:26:39 + PACKAGES=/tmp/packages_end.txt 07:26:39 + case "${OS_FAMILY}" in 07:26:39 + dpkg -l 07:26:39 + grep '^ii' 07:26:39 + '[' -f /tmp/packages_start.txt ']' 07:26:39 + '[' -f /tmp/packages_end.txt ']' 07:26:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:26:39 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 07:26:39 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 07:26:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 07:26:39 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 07:26:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:26:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:26:40 prd-ubuntu20.04-docker-8c-8g-9118 does not seem to be running inside a container 07:26:40 $ 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 07:26:40 $ docker top 69e830d5daf3453e6f4691e892503c4459428f01807b422f0d74442490dcfe11 -eo pid,comm [Pipeline] { [Pipeline] sh 07:26:40 + touch /tmp/pre-build-complete [Pipeline] sh 07:26:41 + mkdir -p /var/log/sysstat [Pipeline] sh 07:26:41 + ls /var/log/sa-host 07:26:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:26:41 provisioning config files... 07:26:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10788646264600422374tmp [Pipeline] { [Pipeline] echo 07:26:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:26:41 ---> create-netrc.sh [Pipeline] } 07:26:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:26:42 ---> python-tools-install.sh [Pipeline] echo 07:26:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:26:42 ---> sudo-logs.sh 07:26:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:26:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:26:42 ---> job-cost.sh 07:26:42 lf-activate-venv: SKIPPING 07:26:42 DEBUG: total: 0.2199999988079071 07:26:42 INFO: Retrieving Stack Cost... 07:26:42 INFO: Retrieving Pricing Info for: v3-standard-8 07:26:43 INFO: Archiving Costs [Pipeline] echo 07:26:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:26:43 ---> logs-deploy.sh 07:26:43 lf-activate-venv: SKIPPING 07:26:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/130 07:26:43 INFO: archiving workspace using pattern(s): 07:26:44 Archives upload complete. 07:26:45 INFO: archiving logs to Nexus