Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 96c9b25060a854e15776706019f04b40fe16d5e0 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-ssh8169728442223751917.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh18146154423929683080.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh13613459356367128878.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh16130285671390813096.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-ssh3335983076022107508.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.18 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-7589 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 96c9b25060a854e15776706019f04b40fe16d5e0 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#418)" > 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 96c9b25060a854e15776706019f04b40fe16d5e0 # timeout=10 > git rev-list --no-walk e3fb6b6c893123b5784ccc2dd10ff9f0848293eb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:15:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:15:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:15:35 ========================================================= 15:15:35 EdgeX Global Pipelines Version Info 15:15:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:15:35 ------------------- 15:15:35 stable info: 15:15:35 ------------------- 15:15:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:15:35 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:15:35 Message: update stable to v1.0.244 15:15:36 ------------------- 15:15:36 experimental info: 15:15:36 ------------------- 15:15:36 Commited By: **** collab-it+edgex@linuxfoundation.org 15:15:36 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:15:36 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:15:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 15:15:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 15:15:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:15:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:15:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:15:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 15:15:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:15:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:15:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:15:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:15:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:15:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 15:15:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:15:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:15:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:15:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:15:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:15:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:15:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:15:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:15:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:15:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:15:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:15:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:15:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:15:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:15:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:15:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:15:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:15:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:15:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 96c9b25060a854e15776706019f04b40fe16d5e0 [Pipeline] echo 15:15:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 96c9b25 [Pipeline] echo 15:15:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:15:36 provisioning config files... 15:15:36 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3909610565576712493tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:15:37 ---> docker-login.sh 15:15:37 nexus3.edgexfoundry.org:10001 15:15:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:15:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:15:37 Configure a credential helper to remove this warning. See 15:15:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:15:37 15:15:37 Login Succeeded 15:15:37 nexus3.edgexfoundry.org:10002 15:15:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:15:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:15:37 Configure a credential helper to remove this warning. See 15:15:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:15:37 15:15:37 Login Succeeded 15:15:37 nexus3.edgexfoundry.org:10003 15:15:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:15:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:15:37 Configure a credential helper to remove this warning. See 15:15:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:15:37 15:15:37 Login Succeeded 15:15:37 nexus3.edgexfoundry.org:10004 15:15:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:15:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:15:38 Configure a credential helper to remove this warning. See 15:15:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:15:38 15:15:38 Login Succeeded 15:15:38 docker.io 15:15:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:15:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:15:38 Configure a credential helper to remove this warning. See 15:15:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:15:38 15:15:38 Login Succeeded 15:15:38 ---> docker-login.sh ends [Pipeline] } 15:15:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:15:38 + git rev-list -1 --merges 96c9b25060a854e15776706019f04b40fe16d5e0~1..96c9b25060a854e15776706019f04b40fe16d5e0 [Pipeline] echo 15:15:38 -----------> git rev-list -1 --merges 96c9b25060a854e15776706019f04b40fe16d5e0~1..96c9b25060a854e15776706019f04b40fe16d5e0 96c9b25060a854e15776706019f04b40fe16d5e0 [false] [Pipeline] sh 15:15:39 + git log --format=format:%s -1 96c9b25060a854e15776706019f04b40fe16d5e0 [Pipeline] echo 15:15:39 ========================================================= 15:15:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:15:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:15:39 + git log --format=format:%s -1 96c9b25060a854e15776706019f04b40fe16d5e0 [Pipeline] echo 15:15:39 [semverPrep] GIT_COMMIT: 96c9b25060a854e15776706019f04b40fe16d5e0, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#418) [Pipeline] echo 15:15:39 [semverPrep] This is not a build commit. [Pipeline] sh 15:15:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:15:39 + grep -v github /etc/ssh/ssh_known_hosts 15:15:39 + [ -e /tmp/ssh_known_hosts ] 15:15:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:15:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:15:39 + sudo tee -a /etc/ssh/ssh_known_hosts 15:15:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:15:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:15:40 15:15:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:15:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:15:40 0.1.4: Pulling from edgex-devops/py-git-semver 15:15:40 b85a868b505f: Pulling fs layer 15:15:40 e2be974225ed: Pulling fs layer 15:15:40 339a4e72a1f5: Pulling fs layer 15:15:40 988bab9f4d93: Pulling fs layer 15:15:40 1469e6f7b9e6: Pulling fs layer 15:15:40 eaf3925da568: Pulling fs layer 15:15:40 bab4dde63d76: Pulling fs layer 15:15:40 bde34c3a00c8: Pulling fs layer 15:15:40 b352a97aabf1: Pulling fs layer 15:15:40 4872d77fe225: Pulling fs layer 15:15:40 5851b861e8e6: Pulling fs layer 15:15:40 988bab9f4d93: Waiting 15:15:40 1469e6f7b9e6: Waiting 15:15:40 eaf3925da568: Waiting 15:15:40 bde34c3a00c8: Waiting 15:15:40 b352a97aabf1: Waiting 15:15:40 4872d77fe225: Waiting 15:15:40 5851b861e8e6: Waiting 15:15:40 e2be974225ed: Verifying Checksum 15:15:40 e2be974225ed: Download complete 15:15:40 988bab9f4d93: Download complete 15:15:40 1469e6f7b9e6: Verifying Checksum 15:15:40 1469e6f7b9e6: Download complete 15:15:40 339a4e72a1f5: Verifying Checksum 15:15:40 339a4e72a1f5: Download complete 15:15:40 eaf3925da568: Verifying Checksum 15:15:40 eaf3925da568: Download complete 15:15:40 bde34c3a00c8: Download complete 15:15:40 b85a868b505f: Verifying Checksum 15:15:40 b85a868b505f: Download complete 15:15:40 b352a97aabf1: Verifying Checksum 15:15:40 b352a97aabf1: Download complete 15:15:40 4872d77fe225: Download complete 15:15:40 5851b861e8e6: Verifying Checksum 15:15:40 5851b861e8e6: Download complete 15:15:41 bab4dde63d76: Verifying Checksum 15:15:41 bab4dde63d76: Download complete 15:15:42 b85a868b505f: Pull complete 15:15:42 e2be974225ed: Pull complete 15:15:42 339a4e72a1f5: Pull complete 15:15:42 988bab9f4d93: Pull complete 15:15:43 1469e6f7b9e6: Pull complete 15:15:43 eaf3925da568: Pull complete 15:15:45 bab4dde63d76: Pull complete 15:15:45 bde34c3a00c8: Pull complete 15:15:45 b352a97aabf1: Pull complete 15:15:45 4872d77fe225: Pull complete 15:15:45 5851b861e8e6: Pull complete 15:15:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:15:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:15:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:15:45 prd-ubuntu20.04-docker-8c-8g-7589 does not seem to be running inside a container 15:15:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:15:47 $ docker top 548bb49110933ef1376ac6b4523d63939a51aa8b57532b9dcad71402736f739d -eo pid,comm 15:15:48 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:15:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:15:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:15:48 [ssh-agent] Looking for ssh-agent implementation... 15:15:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:15:48 $ docker exec 548bb49110933ef1376ac6b4523d63939a51aa8b57532b9dcad71402736f739d ssh-agent 15:15:48 SSH_AUTH_SOCK=/tmp/ssh-nHUMvwHcAPe5/agent.33 15:15:48 SSH_AGENT_PID=39 15:15:48 Running ssh-add (command line suppressed) 15:15:48 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2476101091944898267.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2476101091944898267.key) 15:15:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:15:48 + git tag --points-at HEAD [Pipeline] } 15:15:48 $ docker exec --env ******** --env ******** 548bb49110933ef1376ac6b4523d63939a51aa8b57532b9dcad71402736f739d ssh-agent -k 15:15:48 unset SSH_AUTH_SOCK; 15:15:48 unset SSH_AGENT_PID; 15:15:48 echo Agent pid 39 killed; 15:15:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:15:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:15:48 [ssh-agent] Looking for ssh-agent implementation... 15:15:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:15:48 $ docker exec 548bb49110933ef1376ac6b4523d63939a51aa8b57532b9dcad71402736f739d ssh-agent 15:15:49 SSH_AUTH_SOCK=/tmp/ssh-hlZ33tMdqXfT/agent.71 15:15:49 SSH_AGENT_PID=77 15:15:49 Running ssh-add (command line suppressed) 15:15:49 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2477477874573831790.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2477477874573831790.key) 15:15:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:15:49 + git semver init 15:15:49 2023-02-27 15:15:49,719 [run_init] DEBUG init version:0.0.0 force:False 15:15:49 2023-02-27 15:15:49,720 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 15:15:49 2023-02-27 15:15:49,720 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 15:15:49 2023-02-27 15:15:49,720 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 15:15:50 2023-02-27 15:15:50,702 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 15:15:50 2023-02-27 15:15:50,703 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 15:15:50 2023-02-27 15:15:50,703 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 15:15:50 2023-02-27 15:15:50,703 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 15:15:50 3.0.0-dev.14 [Pipeline] } 15:15:50 $ docker exec --env ******** --env ******** 548bb49110933ef1376ac6b4523d63939a51aa8b57532b9dcad71402736f739d ssh-agent -k 15:15:51 unset SSH_AUTH_SOCK; 15:15:51 unset SSH_AGENT_PID; 15:15:51 echo Agent pid 77 killed; 15:15:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:15:51 + git semver [Pipeline] } 15:15:51 $ docker stop --time=1 548bb49110933ef1376ac6b4523d63939a51aa8b57532b9dcad71402736f739d 15:15:53 $ docker rm -f --volumes 548bb49110933ef1376ac6b4523d63939a51aa8b57532b9dcad71402736f739d [Pipeline] // withDockerContainer [Pipeline] sh 15:15:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:15:53 Stashed 1 file(s) [Pipeline] echo 15:15:53 [edgeXSemver]: initialized semver on version 3.0.0-dev.14 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:15:53 provisioning config files... 15:15:53 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10640827101888007316tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:15:54 ---> docker-login.sh 15:15:54 nexus3.edgexfoundry.org:10001 15:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:15:54 Configure a credential helper to remove this warning. See 15:15:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:15:54 15:15:54 Login Succeeded 15:15:54 nexus3.edgexfoundry.org:10002 15:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:15:54 Configure a credential helper to remove this warning. See 15:15:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:15:54 15:15:54 Login Succeeded 15:15:54 nexus3.edgexfoundry.org:10003 15:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:15:54 Configure a credential helper to remove this warning. See 15:15:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:15:54 15:15:54 Login Succeeded 15:15:54 nexus3.edgexfoundry.org:10004 15:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:15:54 Configure a credential helper to remove this warning. See 15:15:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:15:54 15:15:54 Login Succeeded 15:15:54 docker.io 15:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:15:54 Configure a credential helper to remove this warning. See 15:15:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:15:54 15:15:54 Login Succeeded 15:15:54 ---> docker-login.sh ends [Pipeline] } 15:15:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:15:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:15:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:15:54 ========================================================= 15:15:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 15:15:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:15:55 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 15:15:55 Sending build context to Docker daemon 6.402MB 15:15:55 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 15:15:55 Step 2/10 : FROM ${BASE} AS builder 15:15:55 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 15:15:55 213ec9aee27d: Pulling fs layer 15:15:55 4583459ba037: Pulling fs layer 15:15:55 93c1e223e6f2: Pulling fs layer 15:15:55 53926ce57604: Pulling fs layer 15:15:55 21b2b0c7a3f4: Pulling fs layer 15:15:55 22ff95d597cd: Pulling fs layer 15:15:55 12d6caf4c0d1: Pulling fs layer 15:15:55 96b7cbca73a9: Pulling fs layer 15:15:55 a7acece74701: Pulling fs layer 15:15:55 21b2b0c7a3f4: Waiting 15:15:55 22ff95d597cd: Waiting 15:15:55 12d6caf4c0d1: Waiting 15:15:55 53926ce57604: Waiting 15:15:55 96b7cbca73a9: Waiting 15:15:55 a7acece74701: Waiting 15:15:55 93c1e223e6f2: Verifying Checksum 15:15:55 93c1e223e6f2: Download complete 15:15:55 4583459ba037: Download complete 15:15:55 21b2b0c7a3f4: Verifying Checksum 15:15:55 21b2b0c7a3f4: Download complete 15:15:55 22ff95d597cd: Download complete 15:15:55 213ec9aee27d: Verifying Checksum 15:15:55 213ec9aee27d: Download complete 15:15:55 12d6caf4c0d1: Verifying Checksum 15:15:55 12d6caf4c0d1: Download complete 15:15:55 213ec9aee27d: Pull complete 15:15:55 4583459ba037: Pull complete 15:15:55 93c1e223e6f2: Pull complete 15:15:55 a7acece74701: Verifying Checksum 15:15:55 a7acece74701: Download complete 15:15:56 96b7cbca73a9: Verifying Checksum 15:15:56 96b7cbca73a9: Download complete 15:15:56 53926ce57604: Verifying Checksum 15:15:56 53926ce57604: Download complete 15:16:00 53926ce57604: Pull complete 15:16:00 21b2b0c7a3f4: Pull complete 15:16:00 22ff95d597cd: Pull complete 15:16:00 12d6caf4c0d1: Pull complete 15:16:02 96b7cbca73a9: Pull complete 15:16:03 a7acece74701: Pull complete 15:16:03 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 15:16:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:16:03 ---> db6d94c90886 15:16:03 Step 3/10 : ARG ADD_BUILD_TAGS="" 15:16:07 ---> Running in acdddcc56743 15:16:07 Removing intermediate container acdddcc56743 15:16:07 ---> 2fc6b177958f 15:16:07 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:16:07 ---> Running in 0adce4b6b42d 15:16:07 Removing intermediate container 0adce4b6b42d 15:16:07 ---> fc93dab07c9c 15:16:07 Step 5/10 : RUN apk add --update --no-cache make git openssh 15:16:07 ---> Running in d410c669dfff 15:16:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:16:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:16:08 (1/8) Installing openssh-keygen (9.0_p1-r2) 15:16:08 (2/8) Installing libedit (20210910.3.1-r0) 15:16:08 (3/8) Installing openssh-client-common (9.0_p1-r2) 15:16:08 (4/8) Installing openssh-client-default (9.0_p1-r2) 15:16:08 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 15:16:08 (6/8) Installing openssh-server-common (9.0_p1-r2) 15:16:08 (7/8) Installing openssh-server (9.0_p1-r2) 15:16:08 (8/8) Installing openssh (9.0_p1-r2) 15:16:08 Executing busybox-1.35.0-r17.trigger 15:16:08 OK: 217 MiB in 59 packages 15:16:08 Still waiting to schedule task 15:16:08 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:16:08 Removing intermediate container d410c669dfff 15:16:08 ---> b6b5c1c599c8 15:16:08 Step 6/10 : WORKDIR /device-modbus-go 15:16:08 ---> Running in 5d0ee7148918 15:16:09 Removing intermediate container 5d0ee7148918 15:16:09 ---> 0e1f3a0453fd 15:16:09 Step 7/10 : COPY go.mod vendor* ./ 15:16:09 ---> f637a10398a3 15:16:09 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:16:09 ---> Running in 6270735b66c5 15:16:41 Removing intermediate container 6270735b66c5 15:16:41 ---> 4f096cd38afd 15:16:41 Step 9/10 : COPY . . 15:16:41 ---> 08675639cc76 15:16:41 Step 10/10 : RUN ${MAKE} 15:16:41 ---> Running in dd6ef7cd7451 15:16:41 noop 15:16:41 Removing intermediate container dd6ef7cd7451 15:16:41 ---> 4042004c26d7 15:16:41 Successfully built 4042004c26d7 15:16:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:16:41 + docker inspect -f . ci-base-image-x86_64 15:16:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:16:41 prd-ubuntu20.04-docker-8c-8g-7589 does not seem to be running inside a container 15:16:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:16:42 $ docker top 7db6390e2337a1cb5fab061282ebc89469618da79d337dda42feb824b68dde14 -eo pid,comm [Pipeline] { [Pipeline] sh 15:16:42 + go version 15:16:42 go version go1.18.7 linux/amd64 [Pipeline] } 15:16:42 $ docker stop --time=1 7db6390e2337a1cb5fab061282ebc89469618da79d337dda42feb824b68dde14 15:16:43 $ docker rm -f --volumes 7db6390e2337a1cb5fab061282ebc89469618da79d337dda42feb824b68dde14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:16:44 + docker inspect -f . ci-base-image-x86_64 15:16:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:16:44 prd-ubuntu20.04-docker-8c-8g-7589 does not seem to be running inside a container 15:16:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:16:44 $ docker top 7e13ed41d56f40cc0f5f01c6c559c4a221eef3208ba8ad087d4acbe5a9cbd4c0 -eo pid,comm [Pipeline] { [Pipeline] sh 15:16:44 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 15:16:45 + make test 15:16:45 go test ./... -coverprofile=coverage.out 15:16:45 ? github.com/edgexfoundry/device-modbus-go [no test files] 15:16:55 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 15:16:55 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.025s coverage: 47.7% of statements 15:17:03 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 15:17:03 go vet ./... 15:17:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:17:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:17:06 ./bin/test-attribution-txt.sh [Pipeline] echo 15:17:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:17:06 $ docker stop --time=1 7e13ed41d56f40cc0f5f01c6c559c4a221eef3208ba8ad087d4acbe5a9cbd4c0 15:17:08 $ docker rm -f --volumes 7e13ed41d56f40cc0f5f01c6c559c4a221eef3208ba8ad087d4acbe5a9cbd4c0 [Pipeline] // withDockerContainer [Pipeline] sh 15:17:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:17:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:17:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:17:09 + ls -al . 15:17:09 total 184 15:17:09 drwxrwxr-x 10 jenkins jenkins 4096 Feb 27 15:16 . 15:17:09 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 15:15 .. 15:17:09 -rw-rw-r-- 1 jenkins jenkins 140 Feb 27 15:15 .dockerignore 15:17:09 drwxrwxr-x 8 jenkins jenkins 4096 Feb 27 15:16 .git 15:17:09 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 15:15 .github 15:17:09 -rw-rw-r-- 1 jenkins jenkins 331 Feb 27 15:15 .gitignore 15:17:09 -rw-rw-r-- 1 jenkins jenkins 41 Feb 27 15:15 .golangci.yml 15:17:09 drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 15:15 .semver 15:17:09 -rw-rw-r-- 1 jenkins jenkins 10236 Feb 27 15:15 Attribution.txt 15:17:09 -rw-rw-r-- 1 jenkins jenkins 11576 Feb 27 15:15 CHANGELOG.md 15:17:09 -rw-rw-r-- 1 jenkins jenkins 1365 Feb 27 15:15 Dockerfile 15:17:09 -rw-rw-r-- 1 jenkins jenkins 677 Feb 27 15:15 GOVERNANCE.md 15:17:09 -rw-rw-r-- 1 jenkins jenkins 680 Feb 27 15:15 Jenkinsfile 15:17:09 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 27 15:15 LICENSE 15:17:09 -rw-rw-r-- 1 jenkins jenkins 1670 Feb 27 15:15 Makefile 15:17:09 -rw-rw-r-- 1 jenkins jenkins 622 Feb 27 15:15 OWNERS.md 15:17:09 -rw-rw-r-- 1 jenkins jenkins 4061 Feb 27 15:15 README.md 15:17:09 -rw-rw-r-- 1 jenkins jenkins 12 Feb 27 15:15 VERSION 15:17:09 drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 15:15 bin 15:17:09 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 15:15 cmd 15:17:09 -rw-r--r-- 1 jenkins jenkins 23241 Feb 27 15:16 coverage.out 15:17:09 -rw-rw-r-- 1 jenkins jenkins 3497 Feb 27 15:15 go.mod 15:17:09 -rw-rw-r-- 1 jenkins jenkins 33596 Feb 27 15:15 go.sum 15:17:09 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 15:15 internal 15:17:09 drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 15:15 simulator 15:17:09 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 15:15 snap 15:17:09 -rw-rw-r-- 1 jenkins jenkins 229 Feb 27 15:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:09 + 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=96c9b25060a854e15776706019f04b40fe16d5e0 --label arch=amd64 --label version=3.0.0-dev.14 . 15:17:09 Sending build context to Docker daemon 6.426MB 15:17:09 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 15:17:09 Step 2/22 : FROM ${BASE} AS builder 15:17:09 ---> 4042004c26d7 15:17:09 Step 3/22 : ARG ADD_BUILD_TAGS="" 15:17:10 ---> Running in 975ce549bbed 15:17:10 Removing intermediate container 975ce549bbed 15:17:10 ---> 1555fd4c72e6 15:17:10 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:17:10 ---> Running in b50ab3a1b587 15:17:10 Removing intermediate container b50ab3a1b587 15:17:10 ---> 10e1d6d98d07 15:17:10 Step 5/22 : RUN apk add --update --no-cache make git openssh 15:17:10 ---> Running in af8d3d08f189 15:17:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:17:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:17:10 OK: 217 MiB in 59 packages 15:17:11 Removing intermediate container af8d3d08f189 15:17:11 ---> 4358239274d6 15:17:11 Step 6/22 : WORKDIR /device-modbus-go 15:17:11 ---> Running in 08efc13e80c7 15:17:11 Removing intermediate container 08efc13e80c7 15:17:11 ---> 32a48a568116 15:17:11 Step 7/22 : COPY go.mod vendor* ./ 15:17:11 ---> e4592e47d5bd 15:17:11 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:17:11 ---> Running in 0498fcf18548 15:17:12 Removing intermediate container 0498fcf18548 15:17:12 ---> 773b077b22c3 15:17:12 Step 9/22 : COPY . . 15:17:12 ---> 2c8bf524c258 15:17:12 Step 10/22 : RUN ${MAKE} 15:17:12 ---> Running in 3586a9e41b7d 15:17:12 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.14" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 15:17:34 Removing intermediate container 3586a9e41b7d 15:17:34 ---> 829a35f6ee53 15:17:34 Step 11/22 : FROM alpine:3.14 15:17:34 3.14: Pulling from library/alpine 15:17:34 d261077062b2: Pulling fs layer 15:17:34 d261077062b2: Verifying Checksum 15:17:34 d261077062b2: Download complete 15:17:34 d261077062b2: Pull complete 15:17:34 Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 15:17:34 Status: Downloaded newer image for alpine:3.14 15:17:34 ---> 6dff1269bc79 15:17:34 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 15:17:34 ---> Running in 01b7fd405cf0 15:17:34 Removing intermediate container 01b7fd405cf0 15:17:34 ---> e5449a041457 15:17:34 Step 13/22 : RUN apk add --update --no-cache dumb-init 15:17:34 ---> Running in c8eb657befae 15:17:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:17:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:17:34 (1/1) Installing dumb-init (1.2.5-r1) 15:17:34 Executing busybox-1.33.1-r8.trigger 15:17:34 OK: 6 MiB in 15 packages 15:17:34 Removing intermediate container c8eb657befae 15:17:34 ---> 95c6c0d098d7 15:17:34 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 15:17:34 ---> 3fe52a66c32b 15:17:34 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 15:17:34 ---> bab3c9324e5e 15:17:34 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 15:17:34 ---> f8341ffffc5b 15:17:34 Step 17/22 : EXPOSE 59901 15:17:34 ---> Running in 82c0db883cb6 15:17:34 Removing intermediate container 82c0db883cb6 15:17:34 ---> 2a08fb95ce36 15:17:34 Step 18/22 : ENTRYPOINT ["/device-modbus"] 15:17:34 ---> Running in 604c78846ec0 15:17:34 Removing intermediate container 604c78846ec0 15:17:34 ---> 2318352d62a5 15:17:34 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:17:34 ---> Running in 3edc36ca608b 15:17:34 Removing intermediate container 3edc36ca608b 15:17:34 ---> d190286d9e44 15:17:34 Step 20/22 : LABEL arch=amd64 15:17:34 ---> Running in fa093d9d0bda 15:17:34 Removing intermediate container fa093d9d0bda 15:17:34 ---> d9350ecaae3c 15:17:34 Step 21/22 : LABEL git_sha=96c9b25060a854e15776706019f04b40fe16d5e0 15:17:34 ---> Running in 08777c9efc82 15:17:35 Removing intermediate container 08777c9efc82 15:17:35 ---> b74792eab6d0 15:17:35 Step 22/22 : LABEL version=3.0.0-dev.14 15:17:35 ---> Running in 1db87b6e27c2 15:17:35 Removing intermediate container 1db87b6e27c2 15:17:35 ---> ca029b82bb8e 15:17:35 [Warning] One or more build-args [ARCH] were not consumed 15:17:35 Successfully built ca029b82bb8e 15:17:35 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:17:35 provisioning config files... 15:17:35 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8955789923578976418tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:17:35 ---> docker-login.sh 15:17:35 nexus3.edgexfoundry.org:10001 15:17:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:35 Configure a credential helper to remove this warning. See 15:17:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:35 15:17:35 Login Succeeded 15:17:35 nexus3.edgexfoundry.org:10002 15:17:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:35 Configure a credential helper to remove this warning. See 15:17:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:35 15:17:35 Login Succeeded 15:17:35 nexus3.edgexfoundry.org:10003 15:17:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:35 Configure a credential helper to remove this warning. See 15:17:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:35 15:17:35 Login Succeeded 15:17:35 nexus3.edgexfoundry.org:10004 15:17:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:35 Configure a credential helper to remove this warning. See 15:17:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:35 15:17:35 Login Succeeded 15:17:35 docker.io 15:17:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:36 Configure a credential helper to remove this warning. See 15:17:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:36 15:17:36 Login Succeeded 15:17:36 ---> docker-login.sh ends [Pipeline] } 15:17:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:17:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:17:36 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 15:17:36 96c9b25060a854e15776706019f04b40fe16d5e0 15:17:36 latest 15:17:36 3.0.0-dev.14 15:17:36 96c9b25060a854e15776706019f04b40fe16d5e0-3.0.0-dev.14 15:17:36 main 15:17:36 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:36 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:96c9b25060a854e15776706019f04b40fe16d5e0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:36 + docker push nexus3.edgexfoundry.org:10004/device-modbus:96c9b25060a854e15776706019f04b40fe16d5e0 15:17:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 15:17:36 09ebcaf788f2: Preparing 15:17:36 152e39a5fe1c: Preparing 15:17:36 afb5c2453d3b: Preparing 15:17:36 1ffb6e44a5cc: Preparing 15:17:36 625523cb9cce: Preparing 15:17:36 625523cb9cce: Layer already exists 15:17:36 09ebcaf788f2: Pushed 15:17:36 1ffb6e44a5cc: Pushed 15:17:36 152e39a5fe1c: Pushed 15:17:39 afb5c2453d3b: Pushed 15:17:39 96c9b25060a854e15776706019f04b40fe16d5e0: digest: sha256:f07026eba07396c8bbb76f3bc5dc30f63ef3fe765f2c5619c3b6181f58123d8b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:39 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:40 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 15:17:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 15:17:40 09ebcaf788f2: Preparing 15:17:40 152e39a5fe1c: Preparing 15:17:40 afb5c2453d3b: Preparing 15:17:40 1ffb6e44a5cc: Preparing 15:17:40 625523cb9cce: Preparing 15:17:40 09ebcaf788f2: Layer already exists 15:17:40 152e39a5fe1c: Layer already exists 15:17:40 afb5c2453d3b: Layer already exists 15:17:40 1ffb6e44a5cc: Layer already exists 15:17:40 625523cb9cce: Layer already exists 15:17:40 latest: digest: sha256:f07026eba07396c8bbb76f3bc5dc30f63ef3fe765f2c5619c3b6181f58123d8b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:40 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:40 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.14 15:17:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 15:17:40 09ebcaf788f2: Preparing 15:17:40 152e39a5fe1c: Preparing 15:17:40 afb5c2453d3b: Preparing 15:17:40 1ffb6e44a5cc: Preparing 15:17:40 625523cb9cce: Preparing 15:17:40 625523cb9cce: Layer already exists 15:17:40 09ebcaf788f2: Layer already exists 15:17:40 1ffb6e44a5cc: Layer already exists 15:17:40 152e39a5fe1c: Layer already exists 15:17:40 afb5c2453d3b: Layer already exists 15:17:40 3.0.0-dev.14: digest: sha256:f07026eba07396c8bbb76f3bc5dc30f63ef3fe765f2c5619c3b6181f58123d8b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:40 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:96c9b25060a854e15776706019f04b40fe16d5e0-3.0.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:41 + docker push nexus3.edgexfoundry.org:10004/device-modbus:96c9b25060a854e15776706019f04b40fe16d5e0-3.0.0-dev.14 15:17:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 15:17:41 09ebcaf788f2: Preparing 15:17:41 152e39a5fe1c: Preparing 15:17:41 afb5c2453d3b: Preparing 15:17:41 1ffb6e44a5cc: Preparing 15:17:41 625523cb9cce: Preparing 15:17:41 152e39a5fe1c: Layer already exists 15:17:41 09ebcaf788f2: Layer already exists 15:17:41 625523cb9cce: Layer already exists 15:17:41 afb5c2453d3b: Layer already exists 15:17:41 1ffb6e44a5cc: Layer already exists 15:17:41 96c9b25060a854e15776706019f04b40fe16d5e0-3.0.0-dev.14: digest: sha256:f07026eba07396c8bbb76f3bc5dc30f63ef3fe765f2c5619c3b6181f58123d8b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7591 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 15:17:41 Running in /w/workspace/device-modbus-go/80 [Pipeline] { [Pipeline] checkout 15:17:41 Selected Git installation does not exist. Using Default 15:17:41 The recommended git tool is: NONE 15:17:41 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:41 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 15:17:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 15:17:41 09ebcaf788f2: Preparing 15:17:41 152e39a5fe1c: Preparing 15:17:41 afb5c2453d3b: Preparing 15:17:41 1ffb6e44a5cc: Preparing 15:17:41 625523cb9cce: Preparing 15:17:41 09ebcaf788f2: Layer already exists 15:17:41 afb5c2453d3b: Layer already exists 15:17:41 152e39a5fe1c: Layer already exists 15:17:41 1ffb6e44a5cc: Layer already exists 15:17:41 625523cb9cce: Layer already exists 15:17:41 main: digest: sha256:f07026eba07396c8bbb76f3bc5dc30f63ef3fe765f2c5619c3b6181f58123d8b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:17:41 ===================================================== [Pipeline] echo 15:17:41 taggedImages: 15:17:41 - nexus3.edgexfoundry.org:10004/device-modbus:96c9b25060a854e15776706019f04b40fe16d5e0 15:17:41 - nexus3.edgexfoundry.org:10004/device-modbus:latest 15:17:41 - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.14 15:17:41 - nexus3.edgexfoundry.org:10004/device-modbus:96c9b25060a854e15776706019f04b40fe16d5e0-3.0.0-dev.14 15:17:41 - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:17:42 15:17:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:17:42 latest: Pulling from edgex-lftools-log-publisher 15:17:42 5eb5b503b376: Pulling fs layer 15:17:42 5c69ac0246d0: Pulling fs layer 15:17:42 ec43610c2a17: Pulling fs layer 15:17:42 3a2ae6a8a46f: Pulling fs layer 15:17:42 33b1e0a273af: Pulling fs layer 15:17:42 5d3b04190fa2: Pulling fs layer 15:17:42 2f39f015ded8: Pulling fs layer 15:17:42 33b1e0a273af: Waiting 15:17:42 5d3b04190fa2: Waiting 15:17:42 2f39f015ded8: Waiting 15:17:42 3a2ae6a8a46f: Waiting 15:17:42 5c69ac0246d0: Download complete 15:17:42 3a2ae6a8a46f: Verifying Checksum 15:17:42 3a2ae6a8a46f: Download complete 15:17:42 33b1e0a273af: Verifying Checksum 15:17:42 33b1e0a273af: Download complete 15:17:42 5d3b04190fa2: Verifying Checksum 15:17:42 5d3b04190fa2: Download complete 15:17:42 ec43610c2a17: Verifying Checksum 15:17:42 ec43610c2a17: Download complete 15:17:42 5eb5b503b376: Verifying Checksum 15:17:42 5eb5b503b376: Download complete 15:17:43 2f39f015ded8: Download complete 15:17:43 5eb5b503b376: Pull complete 15:17:44 5c69ac0246d0: Pull complete 15:17:44 ec43610c2a17: Pull complete 15:17:44 3a2ae6a8a46f: Pull complete 15:17:45 33b1e0a273af: Pull complete 15:17:45 5d3b04190fa2: Pull complete 15:17:46 using credential edgex-jenkins-ssh 15:17:46 Cloning the remote Git repository 15:17:46 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 15:17:46 > git init /w/workspace/device-modbus-go/80 # timeout=10 15:17:46 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 15:17:46 > git --version # timeout=10 15:17:46 > git --version # 'git version 2.25.1' 15:17:46 using GIT_SSH to set credentials SSH Credentials for GitHub 15:17:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:17:48 Avoid second fetch 15:17:48 Checking out Revision 96c9b25060a854e15776706019f04b40fe16d5e0 (main) 15:17:47 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 15:17:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:17:48 > git config core.sparsecheckout # timeout=10 15:17:48 > git checkout -f 96c9b25060a854e15776706019f04b40fe16d5e0 # timeout=10 15:17:49 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#418)" 15:17:49 2f39f015ded8: Pull complete 15:17:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:17:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:17:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:17:49 prd-ubuntu20.04-docker-8c-8g-7589 does not seem to be running inside a container 15:17:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:17:49 15:17:49 GitHub has been notified of this commit’s build result 15:17:49 15:17:52 $ docker top c4f684ede4b3c2862a42a93872709743f3c875ba47c325e407507d79f62d83d0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:17:53 ---> job-cost.sh 15:17:53 lf-activate-venv: SKIPPING 15:17:53 INFO: No Stack... 15:17:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:17:53 % Total % Received % Xferd Average Speed Time Time Time Current 15:17:53 Dload Upload Total Spent Left Speed 15:17:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93072 15:17:53 INFO: Retrieving Pricing Info for: v3-standard-8 15:17:53 INFO: Archiving Costs [Pipeline] sh [Pipeline] sh 15:17:53 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 15:17:53 + cut -d, -f6 [Pipeline] lock 15:17:53 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-80-stack-cost] 15:17:53 Resource [jenkins-edgexfoundry-device-modbus-go-main-80-stack-cost] did not exist. Created. 15:17:53 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-80-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:17:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:17:54 + echo total: 0.2199999988079071 [Pipeline] stash 15:17:54 Stashed 1 file(s) [Pipeline] } 15:17:54 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-80-stack-cost] [Pipeline] // lock [Pipeline] } 15:17:54 $ docker stop --time=1 c4f684ede4b3c2862a42a93872709743f3c875ba47c325e407507d79f62d83d0 15:17:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:17:54 + sudo tee /etc/docker/daemon.new 15:17:54 { 15:17:54 "registry-mirrors": [ 15:17:54 "https://nexus3.edgexfoundry.org:10001" 15:17:54 ], 15:17:54 "bip": "10.250.0.254/24", 15:17:54 "hosts": [ 15:17:54 "tcp://0.0.0.0:5555", 15:17:54 "unix:///var/run/docker.sock" 15:17:54 ], 15:17:54 "mtu": 1458, 15:17:54 "selinux-enabled": true, 15:17:54 "seccomp-profile": "/etc/docker/seccomp.json" 15:17:54 } 15:17:55 $ docker rm -f --volumes c4f684ede4b3c2862a42a93872709743f3c875ba47c325e407507d79f62d83d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:17:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:17:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:18:14 provisioning config files... 15:18:14 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/80@tmp/config11076251056409022312tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:18:14 ---> docker-login.sh 15:18:14 nexus3.edgexfoundry.org:10001 15:18:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:18:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:18:18 Configure a credential helper to remove this warning. See 15:18:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:18:18 15:18:18 Login Succeeded 15:18:18 nexus3.edgexfoundry.org:10002 15:18:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:18:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:18:18 Configure a credential helper to remove this warning. See 15:18:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:18:18 15:18:18 Login Succeeded 15:18:18 nexus3.edgexfoundry.org:10003 15:18:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:18:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:18:19 Configure a credential helper to remove this warning. See 15:18:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:18:19 15:18:19 Login Succeeded 15:18:19 nexus3.edgexfoundry.org:10004 15:18:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:18:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:18:19 Configure a credential helper to remove this warning. See 15:18:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:18:19 15:18:19 Login Succeeded 15:18:19 docker.io 15:18:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:18:20 Configure a credential helper to remove this warning. See 15:18:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:18:20 15:18:20 Login Succeeded 15:18:20 ---> docker-login.sh ends [Pipeline] } 15:18:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:18:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:18:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:18:20 ========================================================= 15:18:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 15:18:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:18:20 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 15:18:20 Sending build context to Docker daemon 3.341MB 15:18:20 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 15:18:20 Step 2/10 : FROM ${BASE} AS builder 15:18:21 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:18:21 9b18e9b68314: Pulling fs layer 15:18:21 35d82f9e3411: Pulling fs layer 15:18:21 e16973657156: Pulling fs layer 15:18:21 fc693d55d65f: Pulling fs layer 15:18:21 7e9fc2657dce: Pulling fs layer 15:18:21 dda99020689f: Pulling fs layer 15:18:21 db1c61fa0a46: Pulling fs layer 15:18:21 891c053d2c06: Pulling fs layer 15:18:21 dda99020689f: Waiting 15:18:21 db1c61fa0a46: Waiting 15:18:21 fc693d55d65f: Waiting 15:18:21 7e9fc2657dce: Waiting 15:18:21 e16973657156: Verifying Checksum 15:18:21 e16973657156: Download complete 15:18:21 35d82f9e3411: Verifying Checksum 15:18:21 35d82f9e3411: Download complete 15:18:21 7e9fc2657dce: Verifying Checksum 15:18:21 7e9fc2657dce: Download complete 15:18:21 dda99020689f: Verifying Checksum 15:18:21 dda99020689f: Download complete 15:18:21 9b18e9b68314: Verifying Checksum 15:18:22 9b18e9b68314: Pull complete 15:18:22 891c053d2c06: Verifying Checksum 15:18:22 891c053d2c06: Download complete 15:18:23 35d82f9e3411: Pull complete 15:18:23 e16973657156: Pull complete 15:18:24 db1c61fa0a46: Verifying Checksum 15:18:24 db1c61fa0a46: Download complete 15:18:24 fc693d55d65f: Verifying Checksum 15:18:24 fc693d55d65f: Download complete 15:18:36 fc693d55d65f: Pull complete 15:18:36 7e9fc2657dce: Pull complete 15:18:36 dda99020689f: Pull complete 15:18:43 db1c61fa0a46: Pull complete 15:18:46 891c053d2c06: Pull complete 15:18:46 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 15:18:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:18:46 ---> f96f9c87975a 15:18:46 Step 3/10 : ARG ADD_BUILD_TAGS="" 15:18:46 ---> Running in 66dc81160253 15:18:47 Removing intermediate container 66dc81160253 15:18:47 ---> 1442a5d7136a 15:18:47 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:18:47 ---> Running in b38965dd450b 15:18:47 Removing intermediate container b38965dd450b 15:18:47 ---> c75c509a0bd0 15:18:47 Step 5/10 : RUN apk add --update --no-cache make git openssh 15:18:47 ---> Running in 2ac99637526e 15:18:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:18:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:18:50 (1/8) Installing openssh-keygen (9.0_p1-r2) 15:18:50 (2/8) Installing libedit (20210910.3.1-r0) 15:18:50 (3/8) Installing openssh-client-common (9.0_p1-r2) 15:18:50 (4/8) Installing openssh-client-default (9.0_p1-r2) 15:18:50 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 15:18:50 (6/8) Installing openssh-server-common (9.0_p1-r2) 15:18:50 (7/8) Installing openssh-server (9.0_p1-r2) 15:18:50 (8/8) Installing openssh (9.0_p1-r2) 15:18:50 Executing busybox-1.35.0-r17.trigger 15:18:50 OK: 228 MiB in 59 packages 15:18:51 Removing intermediate container 2ac99637526e 15:18:51 ---> dbc1066b0585 15:18:51 Step 6/10 : WORKDIR /device-modbus-go 15:18:51 ---> Running in 00093034c5d6 15:18:51 Removing intermediate container 00093034c5d6 15:18:51 ---> b998501aac0e 15:18:51 Step 7/10 : COPY go.mod vendor* ./ 15:18:52 ---> cfe6a5e4070f 15:18:52 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:18:52 ---> Running in 62d1b7900c5f 15:20:00 Removing intermediate container 62d1b7900c5f 15:20:00 ---> aeb19f0387f0 15:20:00 Step 9/10 : COPY . . 15:20:00 ---> 8864b042d532 15:20:00 Step 10/10 : RUN ${MAKE} 15:20:00 ---> Running in 9abedf34dc69 15:20:00 noop 15:20:00 Removing intermediate container 9abedf34dc69 15:20:00 ---> 73202b628440 15:20:00 Successfully built 73202b628440 15:20:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:00 + docker inspect -f . ci-base-image-arm64 15:20:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:20:01 prd-ubuntu20.04-docker-arm64-4c-16g-7591 does not seem to be running inside a container 15:20:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/80 -v /w/workspace/device-modbus-go/80:/w/workspace/device-modbus-go/80:rw,z -v /w/workspace/device-modbus-go/80@tmp:/w/workspace/device-modbus-go/80@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 15:20:02 $ docker top 7e31f5443cf39a91eb4bec5b56308cf9e9c3c692fb2ee9e90c136002b83fa8f0 -eo pid,comm [Pipeline] { [Pipeline] sh 15:20:03 + go version 15:20:03 go version go1.18.7 linux/arm64 [Pipeline] } 15:20:03 $ docker stop --time=1 7e31f5443cf39a91eb4bec5b56308cf9e9c3c692fb2ee9e90c136002b83fa8f0 15:20:04 $ docker rm -f --volumes 7e31f5443cf39a91eb4bec5b56308cf9e9c3c692fb2ee9e90c136002b83fa8f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:05 + docker inspect -f . ci-base-image-arm64 15:20:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:20:05 prd-ubuntu20.04-docker-arm64-4c-16g-7591 does not seem to be running inside a container 15:20:05 $ 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/80 -v /w/workspace/device-modbus-go/80:/w/workspace/device-modbus-go/80:rw,z -v /w/workspace/device-modbus-go/80@tmp:/w/workspace/device-modbus-go/80@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 15:20:06 $ docker top c126958f5a43feedd67cc334db193650688d53141608200fab31b3164e7e6f85 -eo pid,comm [Pipeline] { [Pipeline] sh 15:20:07 + git config --global --add safe.directory /w/workspace/device-modbus-go/80 [Pipeline] fileExists [Pipeline] sh 15:20:07 + make test 15:20:07 go test ./... -coverprofile=coverage.out 15:20:09 ? github.com/edgexfoundry/device-modbus-go [no test files] 15:21:31 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 15:21:33 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.062s coverage: 47.7% of statements 15:21:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:21:33 go vet ./... 15:21:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:21:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:21:55 ./bin/test-attribution-txt.sh [Pipeline] echo 15:21:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:21:56 $ docker stop --time=1 c126958f5a43feedd67cc334db193650688d53141608200fab31b3164e7e6f85 15:21:57 $ docker rm -f --volumes c126958f5a43feedd67cc334db193650688d53141608200fab31b3164e7e6f85 [Pipeline] // withDockerContainer [Pipeline] sh 15:21:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:21:58 Warning: overwriting stash ‘coverage-report’ 15:21:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:21:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:21:59 + ls -al . 15:21:59 total 180 15:21:59 drwxrwxr-x 9 jenkins jenkins 4096 Feb 27 15:20 . 15:21:59 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 15:17 .. 15:21:59 -rw-rw-r-- 1 jenkins jenkins 140 Feb 27 15:17 .dockerignore 15:21:59 drwxrwxr-x 8 jenkins jenkins 4096 Feb 27 15:17 .git 15:21:59 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 15:17 .github 15:21:59 -rw-rw-r-- 1 jenkins jenkins 331 Feb 27 15:17 .gitignore 15:21:59 -rw-rw-r-- 1 jenkins jenkins 41 Feb 27 15:17 .golangci.yml 15:21:59 -rw-rw-r-- 1 jenkins jenkins 10236 Feb 27 15:17 Attribution.txt 15:21:59 -rw-rw-r-- 1 jenkins jenkins 11576 Feb 27 15:17 CHANGELOG.md 15:21:59 -rw-rw-r-- 1 jenkins jenkins 1365 Feb 27 15:17 Dockerfile 15:21:59 -rw-rw-r-- 1 jenkins jenkins 677 Feb 27 15:17 GOVERNANCE.md 15:21:59 -rw-rw-r-- 1 jenkins jenkins 680 Feb 27 15:17 Jenkinsfile 15:21:59 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 27 15:17 LICENSE 15:21:59 -rw-rw-r-- 1 jenkins jenkins 1670 Feb 27 15:17 Makefile 15:21:59 -rw-rw-r-- 1 jenkins jenkins 622 Feb 27 15:17 OWNERS.md 15:21:59 -rw-rw-r-- 1 jenkins jenkins 4061 Feb 27 15:17 README.md 15:21:59 -rw-rw-r-- 1 jenkins jenkins 12 Feb 27 15:15 VERSION 15:21:59 drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 15:17 bin 15:21:59 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 15:17 cmd 15:21:59 -rw-r--r-- 1 jenkins jenkins 23241 Feb 27 15:21 coverage.out 15:21:59 -rw-rw-r-- 1 jenkins jenkins 3497 Feb 27 15:17 go.mod 15:21:59 -rw-rw-r-- 1 jenkins jenkins 33596 Feb 27 15:17 go.sum 15:21:59 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 15:17 internal 15:21:59 drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 15:17 simulator 15:21:59 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 15:17 snap 15:21:59 -rw-rw-r-- 1 jenkins jenkins 229 Feb 27 15:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:22:00 + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=96c9b25060a854e15776706019f04b40fe16d5e0 --label arch=arm64 --label version=3.0.0-dev.14 . 15:22:00 Sending build context to Docker daemon 3.365MB 15:22:00 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 15:22:00 Step 2/22 : FROM ${BASE} AS builder 15:22:00 ---> 73202b628440 15:22:00 Step 3/22 : ARG ADD_BUILD_TAGS="" 15:22:02 ---> Running in c4d4cfa72a4a 15:22:02 Removing intermediate container c4d4cfa72a4a 15:22:02 ---> 83bc7a9e0461 15:22:02 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:22:03 ---> Running in 500dd3a43f2c 15:22:03 Removing intermediate container 500dd3a43f2c 15:22:03 ---> dfcda0f51536 15:22:03 Step 5/22 : RUN apk add --update --no-cache make git openssh 15:22:03 ---> Running in 587d2a8888dc 15:22:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:22:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:22:05 OK: 228 MiB in 59 packages 15:22:07 Removing intermediate container 587d2a8888dc 15:22:07 ---> 1d70c2c43286 15:22:07 Step 6/22 : WORKDIR /device-modbus-go 15:22:07 ---> Running in 244f7fac51e2 15:22:07 Removing intermediate container 244f7fac51e2 15:22:07 ---> 261922cfe47e 15:22:07 Step 7/22 : COPY go.mod vendor* ./ 15:22:08 ---> 8236e129696d 15:22:08 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:22:08 ---> Running in b7ab6fa34614 15:22:11 Removing intermediate container b7ab6fa34614 15:22:11 ---> 4741ffc92d37 15:22:11 Step 9/22 : COPY . . 15:22:12 ---> 8a39ef8ec85d 15:22:12 Step 10/22 : RUN ${MAKE} 15:22:12 ---> Running in 94397580058b 15:22:13 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.14" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 15:24:50 Removing intermediate container 94397580058b 15:24:50 ---> 16d417431778 15:24:50 Step 11/22 : FROM alpine:3.14 15:24:50 3.14: Pulling from library/alpine 15:24:50 6f0e733d82e2: Pulling fs layer 15:24:50 6f0e733d82e2: Verifying Checksum 15:24:50 6f0e733d82e2: Download complete 15:24:50 6f0e733d82e2: Pull complete 15:24:50 Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 15:24:50 Status: Downloaded newer image for alpine:3.14 15:24:50 ---> bf97f6347a60 15:24:50 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 15:24:50 ---> Running in 86163829a3fa 15:24:50 Removing intermediate container 86163829a3fa 15:24:50 ---> 67e80689f473 15:24:50 Step 13/22 : RUN apk add --update --no-cache dumb-init 15:24:50 ---> Running in dcc5d04bec6c 15:24:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 15:24:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 15:24:50 (1/1) Installing dumb-init (1.2.5-r1) 15:24:50 Executing busybox-1.33.1-r8.trigger 15:24:50 OK: 6 MiB in 15 packages 15:24:50 Removing intermediate container dcc5d04bec6c 15:24:50 ---> b648274d495c 15:24:50 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 15:24:50 ---> ac6766e8e8f3 15:24:50 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 15:24:50 ---> 9ae6afdd317a 15:24:50 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 15:24:50 ---> d5af94a1d60e 15:24:50 Step 17/22 : EXPOSE 59901 15:24:50 ---> Running in 4c5c16bd7320 15:24:50 Removing intermediate container 4c5c16bd7320 15:24:50 ---> 11f278f25743 15:24:50 Step 18/22 : ENTRYPOINT ["/device-modbus"] 15:24:50 ---> Running in 67184d202a15 15:24:50 Removing intermediate container 67184d202a15 15:24:50 ---> 09a914296559 15:24:50 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:24:50 ---> Running in 703aa00f6d89 15:24:50 Removing intermediate container 703aa00f6d89 15:24:50 ---> b00632fa0df8 15:24:50 Step 20/22 : LABEL arch=arm64 15:24:50 ---> Running in d92cd4000705 15:24:50 Removing intermediate container d92cd4000705 15:24:50 ---> 384223603c5e 15:24:50 Step 21/22 : LABEL git_sha=96c9b25060a854e15776706019f04b40fe16d5e0 15:24:50 ---> Running in fe1dea816d0d 15:24:50 Removing intermediate container fe1dea816d0d 15:24:50 ---> 74670be0b9e6 15:24:50 Step 22/22 : LABEL version=3.0.0-dev.14 15:24:50 ---> Running in f175b246432c 15:24:50 Removing intermediate container f175b246432c 15:24:50 ---> 0abc2c67219f 15:24:50 [Warning] One or more build-args [ARCH] were not consumed 15:24:50 Successfully built 0abc2c67219f 15:24:50 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 15:24:50 provisioning config files... 15:24:50 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/80@tmp/config670758294435391907tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:24:50 ---> docker-login.sh 15:24:50 nexus3.edgexfoundry.org:10001 15:24:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:50 Configure a credential helper to remove this warning. See 15:24:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:50 15:24:50 Login Succeeded 15:24:50 nexus3.edgexfoundry.org:10002 15:24:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:51 Configure a credential helper to remove this warning. See 15:24:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:51 15:24:51 Login Succeeded 15:24:51 nexus3.edgexfoundry.org:10003 15:24:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:51 Configure a credential helper to remove this warning. See 15:24:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:51 15:24:51 Login Succeeded 15:24:51 nexus3.edgexfoundry.org:10004 15:24:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:51 Configure a credential helper to remove this warning. See 15:24:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:51 15:24:51 Login Succeeded 15:24:51 docker.io 15:24:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:52 Configure a credential helper to remove this warning. See 15:24:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:52 15:24:52 Login Succeeded 15:24:52 ---> docker-login.sh ends [Pipeline] } 15:24:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:24:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:24:52 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 15:24:52 96c9b25060a854e15776706019f04b40fe16d5e0 15:24:52 latest 15:24:52 3.0.0-dev.14 15:24:52 96c9b25060a854e15776706019f04b40fe16d5e0-3.0.0-dev.14 15:24:52 main 15:24:52 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:24:52 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:96c9b25060a854e15776706019f04b40fe16d5e0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:24:53 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:96c9b25060a854e15776706019f04b40fe16d5e0 15:24:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 15:24:53 6dfba2fce239: Preparing 15:24:53 410416efa4cc: Preparing 15:24:53 e5aa02960f21: Preparing 15:24:53 3ca86cde4e14: Preparing 15:24:53 c39af2d4cb8d: Preparing 15:24:53 c39af2d4cb8d: Layer already exists 15:24:53 6dfba2fce239: Pushed 15:24:53 3ca86cde4e14: Pushed 15:24:53 410416efa4cc: Pushed 15:24:58 e5aa02960f21: Pushed 15:24:58 96c9b25060a854e15776706019f04b40fe16d5e0: digest: sha256:b3a2516a8b5bb27a83696ae615b9fca13826537fa0d72eb71cfa63681828e57a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:24:59 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:24:59 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 15:24:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 15:24:59 6dfba2fce239: Preparing 15:24:59 410416efa4cc: Preparing 15:24:59 e5aa02960f21: Preparing 15:24:59 3ca86cde4e14: Preparing 15:24:59 c39af2d4cb8d: Preparing 15:24:59 c39af2d4cb8d: Layer already exists 15:24:59 6dfba2fce239: Layer already exists 15:24:59 e5aa02960f21: Layer already exists 15:24:59 3ca86cde4e14: Layer already exists 15:24:59 410416efa4cc: Layer already exists 15:24:59 latest: digest: sha256:b3a2516a8b5bb27a83696ae615b9fca13826537fa0d72eb71cfa63681828e57a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:24:59 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:00 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.14 15:25:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 15:25:00 6dfba2fce239: Preparing 15:25:00 410416efa4cc: Preparing 15:25:00 e5aa02960f21: Preparing 15:25:00 3ca86cde4e14: Preparing 15:25:00 c39af2d4cb8d: Preparing 15:25:00 c39af2d4cb8d: Layer already exists 15:25:00 3ca86cde4e14: Layer already exists 15:25:00 410416efa4cc: Layer already exists 15:25:00 6dfba2fce239: Layer already exists 15:25:00 e5aa02960f21: Layer already exists 15:25:00 3.0.0-dev.14: digest: sha256:b3a2516a8b5bb27a83696ae615b9fca13826537fa0d72eb71cfa63681828e57a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:00 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:96c9b25060a854e15776706019f04b40fe16d5e0-3.0.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:00 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:96c9b25060a854e15776706019f04b40fe16d5e0-3.0.0-dev.14 15:25:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 15:25:00 6dfba2fce239: Preparing 15:25:00 410416efa4cc: Preparing 15:25:00 e5aa02960f21: Preparing 15:25:00 3ca86cde4e14: Preparing 15:25:00 c39af2d4cb8d: Preparing 15:25:00 c39af2d4cb8d: Layer already exists 15:25:00 3ca86cde4e14: Layer already exists 15:25:00 6dfba2fce239: Layer already exists 15:25:00 410416efa4cc: Layer already exists 15:25:00 e5aa02960f21: Layer already exists 15:25:00 96c9b25060a854e15776706019f04b40fe16d5e0-3.0.0-dev.14: digest: sha256:b3a2516a8b5bb27a83696ae615b9fca13826537fa0d72eb71cfa63681828e57a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:01 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:01 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 15:25:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 15:25:01 6dfba2fce239: Preparing 15:25:01 410416efa4cc: Preparing 15:25:01 e5aa02960f21: Preparing 15:25:01 3ca86cde4e14: Preparing 15:25:01 c39af2d4cb8d: Preparing 15:25:01 3ca86cde4e14: Layer already exists 15:25:01 410416efa4cc: Layer already exists 15:25:01 c39af2d4cb8d: Layer already exists 15:25:01 e5aa02960f21: Layer already exists 15:25:01 6dfba2fce239: Layer already exists 15:25:01 main: digest: sha256:b3a2516a8b5bb27a83696ae615b9fca13826537fa0d72eb71cfa63681828e57a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:25:01 ===================================================== [Pipeline] echo 15:25:02 taggedImages: 15:25:02 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:96c9b25060a854e15776706019f04b40fe16d5e0 15:25:02 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 15:25:02 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.14 15:25:02 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:96c9b25060a854e15776706019f04b40fe16d5e0-3.0.0-dev.14 15:25:02 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:25:02 15:25:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:25:06 arm64: Pulling from edgex-lftools-log-publisher 15:25:06 8998bd30e6a1: Pulling fs layer 15:25:06 04944245beec: Pulling fs layer 15:25:06 699f458cf7ca: Pulling fs layer 15:25:06 765212b225bb: Pulling fs layer 15:25:06 f23df028b6ca: Pulling fs layer 15:25:06 d65c8cfc05b1: Pulling fs layer 15:25:06 2437ff75d9bd: Pulling fs layer 15:25:06 f23df028b6ca: Waiting 15:25:06 d65c8cfc05b1: Waiting 15:25:06 2437ff75d9bd: Waiting 15:25:06 765212b225bb: Waiting 15:25:06 04944245beec: Verifying Checksum 15:25:06 04944245beec: Download complete 15:25:06 765212b225bb: Verifying Checksum 15:25:06 765212b225bb: Download complete 15:25:06 f23df028b6ca: Verifying Checksum 15:25:06 f23df028b6ca: Download complete 15:25:06 d65c8cfc05b1: Verifying Checksum 15:25:06 d65c8cfc05b1: Download complete 15:25:06 699f458cf7ca: Verifying Checksum 15:25:06 699f458cf7ca: Download complete 15:25:06 8998bd30e6a1: Verifying Checksum 15:25:06 8998bd30e6a1: Download complete 15:25:08 2437ff75d9bd: Verifying Checksum 15:25:08 2437ff75d9bd: Download complete 15:25:10 8998bd30e6a1: Pull complete 15:25:11 04944245beec: Pull complete 15:25:12 699f458cf7ca: Pull complete 15:25:13 765212b225bb: Pull complete 15:25:13 f23df028b6ca: Pull complete 15:25:13 d65c8cfc05b1: Pull complete 15:25:28 2437ff75d9bd: Pull complete 15:25:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:25:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:25:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:25:29 prd-ubuntu20.04-docker-arm64-4c-16g-7591 does not seem to be running inside a container 15:25: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/device-modbus-go/80 -v /w/workspace/device-modbus-go/80:/w/workspace/device-modbus-go/80:rw,z -v /w/workspace/device-modbus-go/80@tmp:/w/workspace/device-modbus-go/80@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 15:25:31 $ docker top 45aef759361392dbd6a1a4fac60a71ce7dbfc495da2b33eb29ddc0060d94ee79 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:25:32 ---> job-cost.sh 15:25:32 lf-activate-venv: SKIPPING 15:25:32 INFO: No Stack... 15:25:33 INFO: Retrieving Pricing Info for: v3-standard-4 15:25:34 INFO: Archiving Costs [Pipeline] sh 15:25:34 + cat /w/workspace/device-modbus-go/80/archives/cost.csv 15:25:34 + cut -d, -f6 [Pipeline] lock 15:25:34 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-80-stack-cost] 15:25:34 Resource [jenkins-edgexfoundry-device-modbus-go-main-80-stack-cost] did not exist. Created. 15:25:34 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-80-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:25:35 /w/workspace/device-modbus-go/80@tmp/durable-04870c0e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:25:36 + echo total: 0.10999999940395355 [Pipeline] stash 15:25:36 Warning: overwriting stash ‘stack-cost’ 15:25:36 Stashed 1 file(s) [Pipeline] } 15:25:36 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-80-stack-cost] [Pipeline] // lock [Pipeline] } 15:25:36 $ docker stop --time=1 45aef759361392dbd6a1a4fac60a71ce7dbfc495da2b33eb29ddc0060d94ee79 15:25:37 $ docker rm -f --volumes 45aef759361392dbd6a1a4fac60a71ce7dbfc495da2b33eb29ddc0060d94ee79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 15:25:38 provisioning config files... 15:25:38 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config705032349432364281tmp [Pipeline] { [Pipeline] sh 15:25:38 + set +x 15:25:38 + curl -s https://codecov.io/bash 15:25:38 + bash -s -- 15:25:38 15:25:38 _____ _ 15:25:38 / ____| | | 15:25:38 | | ___ __| | ___ ___ _____ __ 15:25:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:25:38 | |___| (_) | (_| | __/ (_| (_) \ V / 15:25:38 \_____\___/ \__,_|\___|\___\___/ \_/ 15:25:38 Bash-1.0.6 15:25:38 15:25:38 15:25:38 ==> git version 2.25.1 found 15:25:38 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 15:25:38 Release-Date: 2020-01-08 15:25:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:25:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:25:38 ==> Jenkins CI detected. 15:25:38 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 15:25:38 project root: . 15:25:38 --> token set from env 15:25:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:25:38 ==> Running gcov in . (disable via -X gcov) 15:25:38 ==> Python coveragepy not found 15:25:38 ==> Searching for coverage reports in: 15:25:38 + . 15:25:38 -> Found 1 reports 15:25:38 ==> Detecting git/mercurial file structure 15:25:38 ==> Reading reports 15:25:38 + ./coverage.out bytes=23241 15:25:38 ==> Appending adjustments 15:25:38 https://docs.codecov.io/docs/fixing-reports 15:25:38 + Found adjustments 15:25:38 ==> Gzipping contents 15:25:38 4.0K /tmp/codecov.EJQ9hT.gz 15:25:38 ==> Uploading reports 15:25:38 url: https://codecov.io 15:25:38 query: branch=main&commit=96c9b25060a854e15776706019f04b40fe16d5e0&build=80&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F80%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:25:38 -> Pinging Codecov 15:25:38 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=96c9b25060a854e15776706019f04b40fe16d5e0&build=80&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F80%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:25:38 -> Uploading to 15:25:38 https://storage.googleapis.com/codecov/v4/raw/2023-02-27/55DBCA73C666E3227836607328DD7E49/96c9b25060a854e15776706019f04b40fe16d5e0/86ca1ce2-78e5-4d5f-81e1-40547120a479.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230227%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230227T152538Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1446c12799f4c89d459fe28eb295d1aeda7d5af3ce330adec763e6335dfaa62f 15:25:38 % Total % Received % Xferd Average Speed Time Time Time Current 15:25:38 Dload Upload Total Spent Left Speed 15:25:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3879 0 0 100 3879 0 15392 --:--:-- --:--:-- --:--:-- 15392 15:25:39 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/96c9b25060a854e15776706019f04b40fe16d5e0 [Pipeline] } 15:25:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:25:39 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:25:39 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:25:39 15:25:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:25:40 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:25:40 df9b9388f04a: Pulling fs layer 15:25:40 52dc419b0ee2: Pulling fs layer 15:25:40 25bc292e5bac: Pulling fs layer 15:25:40 114826534d7a: Pulling fs layer 15:25:40 4657fd5d0bcf: Pulling fs layer 15:25:40 6ad1cebc031e: Pulling fs layer 15:25:40 8a3aa393b2d8: Pulling fs layer 15:25:40 4657fd5d0bcf: Waiting 15:25:40 6ad1cebc031e: Waiting 15:25:40 114826534d7a: Waiting 15:25:40 25bc292e5bac: Verifying Checksum 15:25:40 25bc292e5bac: Download complete 15:25:40 52dc419b0ee2: Download complete 15:25:40 4657fd5d0bcf: Download complete 15:25:40 df9b9388f04a: Download complete 15:25:40 df9b9388f04a: Pull complete 15:25:40 6ad1cebc031e: Verifying Checksum 15:25:40 6ad1cebc031e: Download complete 15:25:40 52dc419b0ee2: Pull complete 15:25:40 25bc292e5bac: Pull complete 15:25:40 114826534d7a: Verifying Checksum 15:25:40 114826534d7a: Download complete 15:25:40 8a3aa393b2d8: Verifying Checksum 15:25:40 8a3aa393b2d8: Download complete 15:25:44 114826534d7a: Pull complete 15:25:44 4657fd5d0bcf: Pull complete 15:25:44 6ad1cebc031e: Pull complete 15:25:47 8a3aa393b2d8: Pull complete 15:25:47 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 15:25:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:25:47 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:25:48 prd-ubuntu20.04-docker-8c-8g-7589 does not seem to be running inside a container 15:25:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 15:25:51 $ docker top aab1c66cd9fed6e03af4b54940d13b29d02145d92572c79d3d6ef103b17559b2 -eo pid,comm [Pipeline] { [Pipeline] echo 15:25:51 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 15:25:51 + set -o pipefail 15:25:51 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 15:25:56 15:25:56 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 15:25:56 15:25:56 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/afd190c9-b487-4af8-a333-afe9a187b945 15:25:56 15:25:56 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 15:25:56 15:25:56 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:25:56 15:25:56 15:25:56 A medium severity vulnerability was found in the Snyk CLI versions you are using. 15:25:56 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 15:25:56 More details here: https://snyk.co/ue1NS [Pipeline] } 15:25:56 $ docker stop --time=1 aab1c66cd9fed6e03af4b54940d13b29d02145d92572c79d3d6ef103b17559b2 15:25:59 $ docker rm -f --volumes aab1c66cd9fed6e03af4b54940d13b29d02145d92572c79d3d6ef103b17559b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:26:00 + git log --format=format:%s -1 96c9b25060a854e15776706019f04b40fe16d5e0 [Pipeline] sh 15:26:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:26:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:26:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:26:00 prd-ubuntu20.04-docker-8c-8g-7589 does not seem to be running inside a container 15:26:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:26:01 $ docker top 81a66e0b58077887838137ffd99565e836329de6c81740621b668b33c86b0528 -eo pid,comm 15:26:01 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:26:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:26:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:26:01 [ssh-agent] Looking for ssh-agent implementation... 15:26:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:26:01 $ docker exec 81a66e0b58077887838137ffd99565e836329de6c81740621b668b33c86b0528 ssh-agent 15:26:01 SSH_AUTH_SOCK=/tmp/ssh-MzPxjsHNpD7J/agent.32 15:26:01 SSH_AGENT_PID=38 15:26:01 Running ssh-add (command line suppressed) 15:26:01 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1847766212468444547.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1847766212468444547.key) 15:26:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:26:02 + git semver tag 15:26:02 2023-02-27 15:26:02,218 [run_tag] DEBUG tag force:False 15:26:02 2023-02-27 15:26:02,218 [check_head_tag] DEBUG check head tag 15:26:02 2023-02-27 15:26:02,219 [execute] INFO git cat-file --batch-check 15:26:02 2023-02-27 15:26:02,219 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 15:26:02 2023-02-27 15:26:02,223 [execute] INFO git cat-file --batch 15:26:02 2023-02-27 15:26:02,223 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 15:26:02 2023-02-27 15:26:02,240 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 15:26:02 2023-02-27 15:26:02,240 [execute] INFO git tag -a v3.0.0-dev.14 -m v3.0.0-dev.14 15:26:02 2023-02-27 15:26:02,240 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.14', '-m', 'v3.0.0-dev.14'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 15:26:02 2023-02-27 15:26:02,244 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 15:26:02 3.0.0-dev.14 [Pipeline] } 15:26:02 $ docker exec --env ******** --env ******** 81a66e0b58077887838137ffd99565e836329de6c81740621b668b33c86b0528 ssh-agent -k 15:26:02 unset SSH_AUTH_SOCK; 15:26:02 unset SSH_AGENT_PID; 15:26:02 echo Agent pid 38 killed; 15:26:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:26:02 + git semver [Pipeline] } 15:26:02 $ docker stop --time=1 81a66e0b58077887838137ffd99565e836329de6c81740621b668b33c86b0528 15:26:04 $ docker rm -f --volumes 81a66e0b58077887838137ffd99565e836329de6c81740621b668b33c86b0528 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:26:04 15:26:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:26:04 0.23.1-centos7: Pulling from edgex-lftools 15:26:04 ab5ef0e58194: Pulling fs layer 15:26:04 9712f1f96733: Pulling fs layer 15:26:04 63f879dbbcfc: Pulling fs layer 15:26:04 0d9ebad4ef96: Pulling fs layer 15:26:04 e9a5061849ea: Pulling fs layer 15:26:04 d747dcd14b5f: Pulling fs layer 15:26:04 2de7ff778b66: Pulling fs layer 15:26:04 d747dcd14b5f: Waiting 15:26:04 e9a5061849ea: Waiting 15:26:04 0d9ebad4ef96: Waiting 15:26:04 9712f1f96733: Download complete 15:26:05 63f879dbbcfc: Verifying Checksum 15:26:05 63f879dbbcfc: Download complete 15:26:05 0d9ebad4ef96: Verifying Checksum 15:26:05 0d9ebad4ef96: Download complete 15:26:05 d747dcd14b5f: Verifying Checksum 15:26:05 d747dcd14b5f: Download complete 15:26:05 e9a5061849ea: Verifying Checksum 15:26:05 e9a5061849ea: Download complete 15:26:05 ab5ef0e58194: Verifying Checksum 15:26:05 ab5ef0e58194: Download complete 15:26:05 2de7ff778b66: Verifying Checksum 15:26:05 2de7ff778b66: Download complete 15:26:08 ab5ef0e58194: Pull complete 15:26:08 9712f1f96733: Pull complete 15:26:08 63f879dbbcfc: Pull complete 15:26:13 0d9ebad4ef96: Pull complete 15:26:13 e9a5061849ea: Pull complete 15:26:13 d747dcd14b5f: Pull complete 15:26:14 2de7ff778b66: Pull complete 15:26:14 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:26:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:26:14 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:26:14 prd-ubuntu20.04-docker-8c-8g-7589 does not seem to be running inside a container 15:26:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:26:18 $ docker top 8dcb951fd4a0046d24a9a7d68baccfb9f883d6c8329c99a5dae9faae087e6c58 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:26:18 provisioning config files... 15:26:18 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16545206264101522198tmp 15:26:18 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17090630533491563359tmp 15:26:18 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17815255651472724375tmp [Pipeline] { [Pipeline] echo 15:26:18 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:26:18 ---> sigul-configuration.sh 15:26:18 gpg: directory `/root/.gnupg' created 15:26:18 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:26:18 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:26:18 gpg: keyring `/root/.gnupg/secring.gpg' created 15:26:18 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:26:18 gpg: CAST5 encrypted data 15:26:18 gpg: encrypted with 1 passphrase 15:26:18 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:26:18 + mkdir /home/jenkins 15:26:18 + mkdir /home/jenkins/sigul [Pipeline] sh 15:26:18 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 15:26:18 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:26:19 ---> sigul-install.sh 15:26:19 Sigul already installed; skipping installation. [Pipeline] sh 15:26:19 + git tag --list 15:26:19 0.7.1 15:26:19 v1.0.0 15:26:19 v1.1.0 15:26:19 v1.1.1 15:26:19 v1.2.2 15:26:19 v1.3.0 15:26:19 v1.3.1 15:26:19 v2.0.0 15:26:19 v2.1.0 15:26:19 v2.1.1 15:26:19 v2.1.1-dev.1 15:26:19 v2.1.1-dev.2 15:26:19 v2.1.1-dev.3 15:26:19 v2.2.0 15:26:19 v2.2.1-dev.1 15:26:19 v2.2.1-dev.2 15:26:19 v2.2.1-dev.3 15:26:19 v2.2.1-dev.4 15:26:19 v2.2.1-dev.5 15:26:19 v2.2.1-dev.6 15:26:19 v2.2.1-dev.7 15:26:19 v2.3.0 15:26:19 v2.3.0-dev.10 15:26:19 v2.3.0-dev.11 15:26:19 v2.3.0-dev.12 15:26:19 v2.3.0-dev.13 15:26:19 v2.3.0-dev.14 15:26:19 v2.3.0-dev.15 15:26:19 v2.3.0-dev.16 15:26:19 v2.3.0-dev.17 15:26:19 v2.3.0-dev.18 15:26:19 v2.3.0-dev.19 15:26:19 v2.3.0-dev.20 15:26:19 v2.3.0-dev.21 15:26:19 v2.3.0-dev.22 15:26:19 v2.3.0-dev.23 15:26:19 v2.3.0-dev.24 15:26:19 v2.3.0-dev.25 15:26:19 v2.3.0-dev.7 15:26:19 v2.3.0-dev.8 15:26:19 v2.3.0-dev.9 15:26:19 v3.0.0-dev.1 15:26:19 v3.0.0-dev.10 15:26:19 v3.0.0-dev.11 15:26:19 v3.0.0-dev.12 15:26:19 v3.0.0-dev.13 15:26:19 v3.0.0-dev.14 15:26:19 v3.0.0-dev.2 15:26:19 v3.0.0-dev.3 15:26:19 v3.0.0-dev.4 15:26:19 v3.0.0-dev.5 15:26:19 v3.0.0-dev.6 15:26:19 v3.0.0-dev.7 15:26:19 v3.0.0-dev.8 15:26:19 v3.0.0-dev.9 [Pipeline] sh 15:26:19 + lftools sign git-tag v3.0.0-dev.14 15:26:20 Signing Git tag with Sigul... 15:26:20 Signing v3.0.0-dev.14 [Pipeline] echo 15:26:20 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:26:20 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:26:20 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:26:21 $ docker stop --time=1 8dcb951fd4a0046d24a9a7d68baccfb9f883d6c8329c99a5dae9faae087e6c58 15:26:22 $ docker rm -f --volumes 8dcb951fd4a0046d24a9a7d68baccfb9f883d6c8329c99a5dae9faae087e6c58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:26:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:26:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:26:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:26:23 prd-ubuntu20.04-docker-8c-8g-7589 does not seem to be running inside a container 15:26:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:26:23 $ docker top ea41d01cb03c27a6ebafc216a0a6a6ecb4cbdbf4fbd4e272c19187608b7af7d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:26:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:26:23 [ssh-agent] Looking for ssh-agent implementation... 15:26:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:26:23 $ docker exec ea41d01cb03c27a6ebafc216a0a6a6ecb4cbdbf4fbd4e272c19187608b7af7d4 ssh-agent 15:26:23 SSH_AUTH_SOCK=/tmp/ssh-Am1xuehiXH1o/agent.32 15:26:23 SSH_AGENT_PID=38 15:26:23 Running ssh-add (command line suppressed) 15:26:23 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6564031962521504335.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6564031962521504335.key) 15:26:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:26:24 + git semver bump pre 15:26:24 2023-02-27 15:26:24,275 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 15:26:24 2023-02-27 15:26:24,275 [bump_version] DEBUG bumping version:3.0.0-dev.14 on axis:pre with prefix:dev 15:26:24 2023-02-27 15:26:24,275 [bump_version] DEBUG bumped version:3.0.0-dev.15 15:26:24 2023-02-27 15:26:24,275 [write_version] DEBUG write version:3.0.0-dev.15 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 15:26:24 2023-02-27 15:26:24,275 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 15:26:24 2023-02-27 15:26:24,276 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 15:26:24 2023-02-27 15:26:24,278 [execute] INFO git cat-file --batch-check 15:26:24 2023-02-27 15:26:24,278 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:26:24 2023-02-27 15:26:24,283 [execute] INFO git cat-file --batch 15:26:24 2023-02-27 15:26:24,283 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:26:24 2023-02-27 15:26:24,288 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 15:26:24 3.0.0-dev.15 [Pipeline] } 15:26:24 $ docker exec --env ******** --env ******** ea41d01cb03c27a6ebafc216a0a6a6ecb4cbdbf4fbd4e272c19187608b7af7d4 ssh-agent -k 15:26:24 unset SSH_AUTH_SOCK; 15:26:24 unset SSH_AGENT_PID; 15:26:24 echo Agent pid 38 killed; 15:26:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:26:24 + git semver [Pipeline] } 15:26:25 $ docker stop --time=1 ea41d01cb03c27a6ebafc216a0a6a6ecb4cbdbf4fbd4e272c19187608b7af7d4 15:26:26 $ docker rm -f --volumes ea41d01cb03c27a6ebafc216a0a6a6ecb4cbdbf4fbd4e272c19187608b7af7d4 [Pipeline] // withDockerContainer [Pipeline] sh 15:26:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:26:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:26:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:26:27 prd-ubuntu20.04-docker-8c-8g-7589 does not seem to be running inside a container 15: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 15:26:27 $ docker top 70383286a256840371e7580ff997b9a08b6522d2f1fbdbaf3b4c6973d3d70f3c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:26:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:26:27 [ssh-agent] Looking for ssh-agent implementation... 15:26:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:26:27 $ docker exec 70383286a256840371e7580ff997b9a08b6522d2f1fbdbaf3b4c6973d3d70f3c ssh-agent 15:26:27 SSH_AUTH_SOCK=/tmp/ssh-383ARz0g4cZ4/agent.32 15:26:27 SSH_AGENT_PID=38 15:26:27 Running ssh-add (command line suppressed) 15:26:27 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4715857937368455289.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4715857937368455289.key) 15:26:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:26:28 + git semver push 15:26:28 2023-02-27 15:26:28,350 [run_push] DEBUG push 15:26:28 2023-02-27 15:26:28,350 [execute] INFO git cat-file --batch-check 15:26:28 2023-02-27 15:26:28,350 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:26:28 2023-02-27 15:26:28,354 [execute] INFO git rev-list 1431ab0ecd5f522a8b9660c9c7e99fc56f5a121b -- 15:26:28 2023-02-27 15:26:28,354 [execute] DEBUG Popen(['git', 'rev-list', '1431ab0ecd5f522a8b9660c9c7e99fc56f5a121b', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:26:28 2023-02-27 15:26:28,361 [execute] INFO git fetch -v origin 15:26:28 2023-02-27 15:26:28,361 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 15:26:29 2023-02-27 15:26:29,100 [run_push] DEBUG no remote changes detected 15:26:29 2023-02-27 15:26:29,101 [execute] INFO git push origin semver 15:26:29 2023-02-27 15:26:29,101 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:26:30 2023-02-27 15:26:30,051 [run_push] DEBUG push all version tags 15:26:30 2023-02-27 15:26:30,051 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:26:30 2023-02-27 15:26:30,051 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 15:26:31 2023-02-27 15:26:31,039 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 15:26:31 3.0.0-dev.15 [Pipeline] } 15:26:31 $ docker exec --env ******** --env ******** 70383286a256840371e7580ff997b9a08b6522d2f1fbdbaf3b4c6973d3d70f3c ssh-agent -k 15:26:31 unset SSH_AUTH_SOCK; 15:26:31 unset SSH_AGENT_PID; 15:26:31 echo Agent pid 38 killed; 15:26:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:26:31 + git semver [Pipeline] } 15:26:31 $ docker stop --time=1 70383286a256840371e7580ff997b9a08b6522d2f1fbdbaf3b4c6973d3d70f3c 15:26:33 $ docker rm -f --volumes 70383286a256840371e7580ff997b9a08b6522d2f1fbdbaf3b4c6973d3d70f3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:26:33 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 15:26:33 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 15:26:33 total 16 15:26:33 drwxr-xr-x 3 root root 4096 Feb 27 15:17 . 15:26:33 drwxrwxr-x 11 jenkins jenkins 4096 Feb 27 15:26 .. 15:26:33 drwxr-xr-x 2 root root 4096 Feb 27 15:17 cost 15:26:33 -rw-r--r-- 1 root root 87 Feb 27 15:17 cost.csv 15:26:33 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 15:26:33 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 15:26:33 total 16 15:26:33 drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 15:17 . 15:26:33 drwxrwxr-x 11 jenkins jenkins 4096 Feb 27 15:26 .. 15:26:33 drwxr-xr-x 2 jenkins jenkins 4096 Feb 27 15:17 cost 15:26:33 -rw-r--r-- 1 jenkins jenkins 87 Feb 27 15:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:26:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:26:34 ---> package-listing.sh 15:26:34 ++ facter osfamily 15:26:34 ++ tr '[:upper:]' '[:lower:]' 15:26:35 + OS_FAMILY=debian 15:26:35 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 15:26:35 + START_PACKAGES=/tmp/packages_start.txt 15:26:35 + END_PACKAGES=/tmp/packages_end.txt 15:26:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:26:35 + PACKAGES=/tmp/packages_start.txt 15:26:35 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 15:26:35 + PACKAGES=/tmp/packages_end.txt 15:26:35 + case "${OS_FAMILY}" in 15:26:35 + dpkg -l 15:26:35 + grep '^ii' 15:26:35 + '[' -f /tmp/packages_start.txt ']' 15:26:35 + '[' -f /tmp/packages_end.txt ']' 15:26:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:26:35 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 15:26:35 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 15:26:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 15:26:35 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:26:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:26:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:26:36 prd-ubuntu20.04-docker-8c-8g-7589 does not seem to be running inside a container 15:26:36 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:26:36 $ docker top b242cd0b1c7aee8ce8259b9cb0e2d99e3757c7c9e7c9fa80dfa12ce351111bb2 -eo pid,comm [Pipeline] { [Pipeline] sh 15:26:36 + touch /tmp/pre-build-complete [Pipeline] sh 15:26:36 + mkdir -p /var/log/sysstat [Pipeline] sh 15:26:37 + ls /var/log/sa-host 15:26:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:26:37 provisioning config files... 15:26:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config532494305719084811tmp [Pipeline] { [Pipeline] echo 15:26:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:26:37 ---> create-netrc.sh [Pipeline] } 15:26:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:26:38 ---> python-tools-install.sh [Pipeline] echo 15:26:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:26:38 ---> sudo-logs.sh 15:26:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:26:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:26:38 ---> job-cost.sh 15:26:38 lf-activate-venv: SKIPPING 15:26:38 DEBUG: total: 0.2199999988079071 15:26:38 INFO: Retrieving Stack Cost... 15:26:39 INFO: Retrieving Pricing Info for: v3-standard-8 15:26:39 INFO: Archiving Costs [Pipeline] echo 15:26:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:26:39 ---> logs-deploy.sh 15:26:39 lf-activate-venv: SKIPPING 15:26:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/80 15:26:39 INFO: archiving workspace using pattern(s): 15:26:40 Archives upload complete. 15:26:41 INFO: archiving logs to Nexus