Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 62ec25a2eb67d4cbe0628602eb20a0741648d64e 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-ssh7066813661233346338.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-ssh10622352330627650438.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-ssh17984879388737273821.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-ssh7298398224476010565.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-ssh15609789913771067331.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-142’ Running on prd-ubuntu20.04-docker-8c-8g-144 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 62ec25a2eb67d4cbe0628602eb20a0741648d64e (main) Commit message: "Merge pull request #393 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.4" > 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 62ec25a2eb67d4cbe0628602eb20a0741648d64e # timeout=10 > git rev-list --no-walk e06bb49e1a76cfe96378d9ace2c77329ab7864d7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:04:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:04:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:04:22 ========================================================= 06:04:22 EdgeX Global Pipelines Version Info 06:04:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:04:23 ------------------- 06:04:23 stable info: 06:04:23 ------------------- 06:04:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:04:23 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 06:04:23 Message: update stable to v1.0.244 06:04:23 ------------------- 06:04:23 experimental info: 06:04:23 ------------------- 06:04:23 Commited By: **** collab-it+edgex@linuxfoundation.org 06:04:23 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 06:04:23 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:04:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:04:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:04:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:04:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:04:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:04:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 06:04:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:04:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:04:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:04:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:04:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:04:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 06:04:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:04:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:04:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:04:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:04:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:04:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:04:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:04:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:04:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:04:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:04:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:04:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:04:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:04:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:04:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:04:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:04:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:04:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:04:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 62ec25a2eb67d4cbe0628602eb20a0741648d64e [Pipeline] echo 06:04:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 62ec25a [Pipeline] echo 06:04:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:04:24 provisioning config files... 06:04:24 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16608697651536869093tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:04:24 ---> docker-login.sh 06:04:24 nexus3.edgexfoundry.org:10001 06:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:24 Configure a credential helper to remove this warning. See 06:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:24 06:04:24 Login Succeeded 06:04:24 nexus3.edgexfoundry.org:10002 06:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:25 Configure a credential helper to remove this warning. See 06:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:25 06:04:25 Login Succeeded 06:04:25 nexus3.edgexfoundry.org:10003 06:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:25 Configure a credential helper to remove this warning. See 06:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:25 06:04:25 Login Succeeded 06:04:25 nexus3.edgexfoundry.org:10004 06:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:25 Configure a credential helper to remove this warning. See 06:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:25 06:04:25 Login Succeeded 06:04:25 docker.io 06:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:25 Configure a credential helper to remove this warning. See 06:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:25 06:04:25 Login Succeeded 06:04:25 ---> docker-login.sh ends [Pipeline] } 06:04:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:04:25 + git rev-list -1 --merges 62ec25a2eb67d4cbe0628602eb20a0741648d64e~1..62ec25a2eb67d4cbe0628602eb20a0741648d64e [Pipeline] echo 06:04:26 -----------> git rev-list -1 --merges 62ec25a2eb67d4cbe0628602eb20a0741648d64e~1..62ec25a2eb67d4cbe0628602eb20a0741648d64e 62ec25a2eb67d4cbe0628602eb20a0741648d64e 06:04:26 62ec25a2eb67d4cbe0628602eb20a0741648d64e [false] [Pipeline] sh 06:04:26 + git log --format=format:%s -1 62ec25a2eb67d4cbe0628602eb20a0741648d64e [Pipeline] echo 06:04:26 ========================================================= 06:04:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:04:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:04:26 + git log --format=format:%s -1 62ec25a2eb67d4cbe0628602eb20a0741648d64e [Pipeline] echo 06:04:26 [semverPrep] GIT_COMMIT: 62ec25a2eb67d4cbe0628602eb20a0741648d64e, Commit Message: Merge pull request #393 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.4 [Pipeline] echo 06:04:26 [semverPrep] This is not a build commit. [Pipeline] sh 06:04:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:04:27 + grep -v github /etc/ssh/ssh_known_hosts 06:04:27 + [ -e /tmp/ssh_known_hosts ] 06:04:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:04:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:04:27 + sudo tee -a /etc/ssh/ssh_known_hosts 06:04:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:04:27 06:04:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:04:27 0.1.4: Pulling from edgex-devops/py-git-semver 06:04:27 b85a868b505f: Pulling fs layer 06:04:27 e2be974225ed: Pulling fs layer 06:04:27 339a4e72a1f5: Pulling fs layer 06:04:27 988bab9f4d93: Pulling fs layer 06:04:27 1469e6f7b9e6: Pulling fs layer 06:04:27 eaf3925da568: Pulling fs layer 06:04:27 bab4dde63d76: Pulling fs layer 06:04:27 bde34c3a00c8: Pulling fs layer 06:04:27 b352a97aabf1: Pulling fs layer 06:04:27 4872d77fe225: Pulling fs layer 06:04:27 5851b861e8e6: Pulling fs layer 06:04:27 bde34c3a00c8: Waiting 06:04:27 bab4dde63d76: Waiting 06:04:27 b352a97aabf1: Waiting 06:04:27 4872d77fe225: Waiting 06:04:27 988bab9f4d93: Waiting 06:04:27 5851b861e8e6: Waiting 06:04:27 1469e6f7b9e6: Waiting 06:04:27 eaf3925da568: Waiting 06:04:27 e2be974225ed: Verifying Checksum 06:04:27 e2be974225ed: Download complete 06:04:27 988bab9f4d93: Verifying Checksum 06:04:27 988bab9f4d93: Download complete 06:04:27 1469e6f7b9e6: Download complete 06:04:27 339a4e72a1f5: Verifying Checksum 06:04:27 339a4e72a1f5: Download complete 06:04:27 eaf3925da568: Download complete 06:04:27 bde34c3a00c8: Download complete 06:04:27 b352a97aabf1: Download complete 06:04:27 4872d77fe225: Verifying Checksum 06:04:27 4872d77fe225: Download complete 06:04:27 b85a868b505f: Verifying Checksum 06:04:27 b85a868b505f: Download complete 06:04:27 5851b861e8e6: Verifying Checksum 06:04:27 5851b861e8e6: Download complete 06:04:28 bab4dde63d76: Verifying Checksum 06:04:28 bab4dde63d76: Download complete 06:04:29 b85a868b505f: Pull complete 06:04:29 e2be974225ed: Pull complete 06:04:29 339a4e72a1f5: Pull complete 06:04:29 988bab9f4d93: Pull complete 06:04:30 1469e6f7b9e6: Pull complete 06:04:30 eaf3925da568: Pull complete 06:04:32 bab4dde63d76: Pull complete 06:04:32 bde34c3a00c8: Pull complete 06:04:32 b352a97aabf1: Pull complete 06:04:32 4872d77fe225: Pull complete 06:04:32 5851b861e8e6: Pull complete 06:04:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:04:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:04:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:04:32 prd-ubuntu20.04-docker-8c-8g-144 does not seem to be running inside a container 06:04:32 $ 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 06:04:33 $ docker top a7d1fcbc944af261eaf1b8b981af1c9c00a6de910a574b2f698fede0af2c9e4e -eo pid,comm 06:04:33 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). 06:04:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:04:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:04:33 [ssh-agent] Looking for ssh-agent implementation... 06:04:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:04:33 $ docker exec a7d1fcbc944af261eaf1b8b981af1c9c00a6de910a574b2f698fede0af2c9e4e ssh-agent 06:04:34 SSH_AUTH_SOCK=/tmp/ssh-6SiUXfB3oldz/agent.32 06:04:34 SSH_AGENT_PID=38 06:04:34 Running ssh-add (command line suppressed) 06:04:34 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17204919915238687238.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17204919915238687238.key) 06:04:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:04:34 + git tag --points-at HEAD [Pipeline] } 06:04:34 $ docker exec --env ******** --env ******** a7d1fcbc944af261eaf1b8b981af1c9c00a6de910a574b2f698fede0af2c9e4e ssh-agent -k 06:04:34 unset SSH_AUTH_SOCK; 06:04:34 unset SSH_AGENT_PID; 06:04:34 echo Agent pid 38 killed; 06:04:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:04:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:04:34 [ssh-agent] Looking for ssh-agent implementation... 06:04:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:04:34 $ docker exec a7d1fcbc944af261eaf1b8b981af1c9c00a6de910a574b2f698fede0af2c9e4e ssh-agent 06:04:34 SSH_AUTH_SOCK=/tmp/ssh-QfWxH8cpXcu5/agent.70 06:04:34 SSH_AGENT_PID=76 06:04:34 Running ssh-add (command line suppressed) 06:04:35 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1475973473648669028.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1475973473648669028.key) 06:04:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:04:35 + git semver init 06:04:35 2022-12-19 06:04:35,480 [run_init] DEBUG init version:0.0.0 force:False 06:04:35 2022-12-19 06:04:35,481 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 06:04:35 2022-12-19 06:04:35,481 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 06:04:35 2022-12-19 06:04:35,482 [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) 06:04:36 2022-12-19 06:04:36,266 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 06:04:36 2022-12-19 06:04:36,266 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 06:04:36 2022-12-19 06:04:36,267 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:04:36 2022-12-19 06:04:36,267 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:04:36 3.0.0-dev.2 [Pipeline] } 06:04:36 $ docker exec --env ******** --env ******** a7d1fcbc944af261eaf1b8b981af1c9c00a6de910a574b2f698fede0af2c9e4e ssh-agent -k 06:04:36 unset SSH_AUTH_SOCK; 06:04:36 unset SSH_AGENT_PID; 06:04:36 echo Agent pid 76 killed; 06:04:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:04:36 + git semver [Pipeline] } 06:04:37 $ docker stop --time=1 a7d1fcbc944af261eaf1b8b981af1c9c00a6de910a574b2f698fede0af2c9e4e 06:04:38 $ docker rm -f --volumes a7d1fcbc944af261eaf1b8b981af1c9c00a6de910a574b2f698fede0af2c9e4e [Pipeline] // withDockerContainer [Pipeline] sh 06:04:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:04:39 Stashed 1 file(s) [Pipeline] echo 06:04:39 [edgeXSemver]: initialized semver on version 3.0.0-dev.2 [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 06:04:39 provisioning config files... 06:04:39 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3456435995723956922tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:04:39 ---> docker-login.sh 06:04:39 nexus3.edgexfoundry.org:10001 06:04:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:39 Configure a credential helper to remove this warning. See 06:04:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:39 06:04:39 Login Succeeded 06:04:39 nexus3.edgexfoundry.org:10002 06:04:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:39 Configure a credential helper to remove this warning. See 06:04:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:39 06:04:39 Login Succeeded 06:04:39 nexus3.edgexfoundry.org:10003 06:04:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:39 Configure a credential helper to remove this warning. See 06:04:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:39 06:04:39 Login Succeeded 06:04:39 nexus3.edgexfoundry.org:10004 06:04:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:39 Configure a credential helper to remove this warning. See 06:04:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:39 06:04:39 Login Succeeded 06:04:39 docker.io 06:04:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:40 Configure a credential helper to remove this warning. See 06:04:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:40 06:04:40 Login Succeeded 06:04:40 ---> docker-login.sh ends [Pipeline] } 06:04:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:04:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:04:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:04:40 ========================================================= 06:04:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 06:04:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:40 + 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 . 06:04:40 Sending build context to Docker daemon 6.284MB 06:04:40 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 06:04:40 Step 2/10 : FROM ${BASE} AS builder 06:04:40 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 06:04:40 213ec9aee27d: Pulling fs layer 06:04:40 4583459ba037: Pulling fs layer 06:04:40 93c1e223e6f2: Pulling fs layer 06:04:40 53926ce57604: Pulling fs layer 06:04:40 21b2b0c7a3f4: Pulling fs layer 06:04:40 22ff95d597cd: Pulling fs layer 06:04:40 53926ce57604: Waiting 06:04:40 12d6caf4c0d1: Pulling fs layer 06:04:40 96b7cbca73a9: Pulling fs layer 06:04:40 a7acece74701: Pulling fs layer 06:04:40 21b2b0c7a3f4: Waiting 06:04:40 96b7cbca73a9: Waiting 06:04:40 22ff95d597cd: Waiting 06:04:40 12d6caf4c0d1: Waiting 06:04:40 a7acece74701: Waiting 06:04:40 93c1e223e6f2: Verifying Checksum 06:04:40 93c1e223e6f2: Download complete 06:04:40 4583459ba037: Verifying Checksum 06:04:40 4583459ba037: Download complete 06:04:40 21b2b0c7a3f4: Verifying Checksum 06:04:40 21b2b0c7a3f4: Download complete 06:04:40 22ff95d597cd: Verifying Checksum 06:04:40 22ff95d597cd: Download complete 06:04:40 213ec9aee27d: Verifying Checksum 06:04:40 12d6caf4c0d1: Download complete 06:04:40 213ec9aee27d: Pull complete 06:04:41 4583459ba037: Pull complete 06:04:41 93c1e223e6f2: Pull complete 06:04:41 a7acece74701: Verifying Checksum 06:04:41 a7acece74701: Download complete 06:04:41 96b7cbca73a9: Verifying Checksum 06:04:41 96b7cbca73a9: Download complete 06:04:41 53926ce57604: Verifying Checksum 06:04:41 53926ce57604: Download complete 06:04:45 53926ce57604: Pull complete 06:04:45 21b2b0c7a3f4: Pull complete 06:04:45 22ff95d597cd: Pull complete 06:04:45 12d6caf4c0d1: Pull complete 06:04:47 96b7cbca73a9: Pull complete 06:04:48 a7acece74701: Pull complete 06:04:48 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 06:04:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 06:04:48 ---> db6d94c90886 06:04:48 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:04:50 ---> Running in df730bc91c45 06:04:50 Removing intermediate container df730bc91c45 06:04:50 ---> cb6f3e28a2e8 06:04:50 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:04:50 ---> Running in 6dfb5c6de5d7 06:04:50 Removing intermediate container 6dfb5c6de5d7 06:04:50 ---> 1b3b84ed347d 06:04:50 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 06:04:50 ---> Running in a5b6ca412f3b 06:04:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:04:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:04:51 (1/8) Installing openssh-keygen (9.0_p1-r2) 06:04:51 (2/8) Installing libedit (20210910.3.1-r0) 06:04:51 (3/8) Installing openssh-client-common (9.0_p1-r2) 06:04:51 (4/8) Installing openssh-client-default (9.0_p1-r2) 06:04:51 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 06:04:51 (6/8) Installing openssh-server-common (9.0_p1-r2) 06:04:51 (7/8) Installing openssh-server (9.0_p1-r2) 06:04:51 (8/8) Installing openssh (9.0_p1-r2) 06:04:51 Executing busybox-1.35.0-r17.trigger 06:04:51 OK: 217 MiB in 59 packages 06:04:51 Removing intermediate container a5b6ca412f3b 06:04:51 ---> 4329a072eb91 06:04:51 Step 6/10 : WORKDIR /device-modbus-go 06:04:51 ---> Running in dca098a7fae8 06:04:51 Removing intermediate container dca098a7fae8 06:04:51 ---> 1782c1856e66 06:04:51 Step 7/10 : COPY go.mod vendor* ./ 06:04:51 ---> 25dc402c981f 06:04:51 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:04:51 ---> Running in de905258ae77 06:04:54 Still waiting to schedule task 06:04:54 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-143’ 06:05:09 Removing intermediate container de905258ae77 06:05:09 ---> 8a60d0dcf7b3 06:05:09 Step 9/10 : COPY . . 06:05:09 ---> 91926f73925c 06:05:09 Step 10/10 : RUN ${MAKE} 06:05:09 ---> Running in f05fc3e966de 06:05:09 noop 06:05:09 Removing intermediate container f05fc3e966de 06:05:09 ---> c2dbb28da8cc 06:05:09 Successfully built c2dbb28da8cc 06:05:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:10 + docker inspect -f . ci-base-image-x86_64 06:05:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:10 prd-ubuntu20.04-docker-8c-8g-144 does not seem to be running inside a container 06:05:10 $ 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 06:05:10 $ docker top 73195b8b89a8a78389c2d720fc17badacc2cae7c0c3e32f56db5e634c8f6af31 -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:11 + go version 06:05:11 go version go1.18.7 linux/amd64 [Pipeline] } 06:05:11 $ docker stop --time=1 73195b8b89a8a78389c2d720fc17badacc2cae7c0c3e32f56db5e634c8f6af31 06:05:12 $ docker rm -f --volumes 73195b8b89a8a78389c2d720fc17badacc2cae7c0c3e32f56db5e634c8f6af31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:12 + docker inspect -f . ci-base-image-x86_64 06:05:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:12 prd-ubuntu20.04-docker-8c-8g-144 does not seem to be running inside a container 06:05:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:05:13 $ docker top c8aaa588937455b328d31ffa957ca877863619bec5dc63134fc68c37f0942390 -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:13 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 06:05:13 + make test 06:05:13 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:05:14 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:05:24 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:05:24 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.7% of statements 06:05:30 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." 06:05:30 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:05:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:05:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:05:33 ./bin/test-attribution-txt.sh [Pipeline] echo 06:05:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:05:34 $ docker stop --time=1 c8aaa588937455b328d31ffa957ca877863619bec5dc63134fc68c37f0942390 06:05:35 $ docker rm -f --volumes c8aaa588937455b328d31ffa957ca877863619bec5dc63134fc68c37f0942390 [Pipeline] // withDockerContainer [Pipeline] sh 06:05:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:05:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:05:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:05:37 + ls -al . 06:05:37 total 196 06:05:37 drwxrwxr-x 10 jenkins jenkins 4096 Dec 19 06:05 . 06:05:37 drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 06:04 .. 06:05:37 -rw-rw-r-- 1 jenkins jenkins 140 Dec 19 06:04 .dockerignore 06:05:37 drwxrwxr-x 8 jenkins jenkins 4096 Dec 19 06:05 .git 06:05:37 drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 06:04 .github 06:05:37 -rw-rw-r-- 1 jenkins jenkins 331 Dec 19 06:04 .gitignore 06:05:37 -rw-rw-r-- 1 jenkins jenkins 41 Dec 19 06:04 .golangci.yml 06:05:37 drwxr-xr-x 3 jenkins jenkins 4096 Dec 19 06:04 .semver 06:05:37 -rw-rw-r-- 1 jenkins jenkins 10121 Dec 19 06:04 Attribution.txt 06:05:37 -rw-rw-r-- 1 jenkins jenkins 11576 Dec 19 06:04 CHANGELOG.md 06:05:37 -rw-rw-r-- 1 jenkins jenkins 1428 Dec 19 06:04 Dockerfile 06:05:37 -rw-rw-r-- 1 jenkins jenkins 677 Dec 19 06:04 GOVERNANCE.md 06:05:37 -rw-rw-r-- 1 jenkins jenkins 680 Dec 19 06:04 Jenkinsfile 06:05:37 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 19 06:04 LICENSE 06:05:37 -rw-rw-r-- 1 jenkins jenkins 2101 Dec 19 06:04 Makefile 06:05:37 -rw-rw-r-- 1 jenkins jenkins 622 Dec 19 06:04 OWNERS.md 06:05:37 -rw-rw-r-- 1 jenkins jenkins 4061 Dec 19 06:04 README.md 06:05:37 -rw-rw-r-- 1 jenkins jenkins 11 Dec 19 06:04 VERSION 06:05:37 drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 06:04 bin 06:05:37 drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 06:04 cmd 06:05:37 -rw-r--r-- 1 jenkins jenkins 23241 Dec 19 06:05 coverage.out 06:05:37 -rw-rw-r-- 1 jenkins jenkins 3584 Dec 19 06:04 go.mod 06:05:37 -rw-rw-r-- 1 jenkins jenkins 45355 Dec 19 06:04 go.sum 06:05:37 drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 06:04 internal 06:05:37 drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 06:04 simulator 06:05:37 drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 06:04 snap 06:05:37 -rw-rw-r-- 1 jenkins jenkins 229 Dec 19 06:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:37 + 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=62ec25a2eb67d4cbe0628602eb20a0741648d64e --label arch=amd64 --label version=3.0.0-dev.2 . 06:05:37 Sending build context to Docker daemon 6.308MB 06:05:37 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 06:05:37 Step 2/22 : FROM ${BASE} AS builder 06:05:37 ---> c2dbb28da8cc 06:05:37 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:05:37 ---> Running in 63c317d39bd8 06:05:37 Removing intermediate container 63c317d39bd8 06:05:37 ---> c6a9046c16cf 06:05:37 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:05:37 ---> Running in fbf4e5bc634a 06:05:37 Removing intermediate container fbf4e5bc634a 06:05:37 ---> a5614bf6dfab 06:05:37 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 06:05:37 ---> Running in 31cf30963bc1 06:05:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:05:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:05:38 OK: 217 MiB in 59 packages 06:05:38 Removing intermediate container 31cf30963bc1 06:05:38 ---> 00cde7461d4c 06:05:38 Step 6/22 : WORKDIR /device-modbus-go 06:05:38 ---> Running in 3bb476d62e9a 06:05:38 Removing intermediate container 3bb476d62e9a 06:05:38 ---> a9aef20704fd 06:05:38 Step 7/22 : COPY go.mod vendor* ./ 06:05:38 ---> 9fd83581115c 06:05:38 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:05:38 ---> Running in 0110e6f4f430 06:05:39 Removing intermediate container 0110e6f4f430 06:05:39 ---> b0f96d26ca3f 06:05:39 Step 9/22 : COPY . . 06:05:39 ---> deb4f78dd16b 06:05:39 Step 10/22 : RUN ${MAKE} 06:05:39 ---> Running in d44cacb5e44d 06:05:40 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.2" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 06:06:02 Removing intermediate container d44cacb5e44d 06:06:02 ---> 80cbb1c90cc3 06:06:02 Step 11/22 : FROM alpine:3.14 06:06:02 3.14: Pulling from library/alpine 06:06:02 c7ed990a2339: Pulling fs layer 06:06:02 c7ed990a2339: Download complete 06:06:02 c7ed990a2339: Pull complete 06:06:02 Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a 06:06:02 Status: Downloaded newer image for alpine:3.14 06:06:02 ---> dd53f409bf0b 06:06:02 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:06:02 ---> Running in 5bf49cec9878 06:06:02 Removing intermediate container 5bf49cec9878 06:06:02 ---> e6597cd9be52 06:06:02 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 06:06:02 ---> Running in 27c926477f4c 06:06:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 06:06:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 06:06:02 (1/6) Installing dumb-init (1.2.5-r1) 06:06:02 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:06:02 (3/6) Installing libsodium (1.0.18-r0) 06:06:02 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:06:02 (5/6) Installing libzmq (4.3.4-r0) 06:06:02 (6/6) Installing zeromq (4.3.4-r0) 06:06:02 Executing busybox-1.33.1-r8.trigger 06:06:02 OK: 8 MiB in 20 packages 06:06:02 Removing intermediate container 27c926477f4c 06:06:02 ---> e70ad3038389 06:06:02 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:06:02 ---> db5491882346 06:06:02 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:06:02 ---> 7aefdcea1708 06:06:02 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:06:02 ---> 320a7cf011b8 06:06:02 Step 17/22 : EXPOSE 59901 06:06:02 ---> Running in 23e7d675d12f 06:06:02 Removing intermediate container 23e7d675d12f 06:06:02 ---> e3992f6237c3 06:06:02 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:06:02 ---> Running in bf630e4d6ce6 06:06:02 Removing intermediate container bf630e4d6ce6 06:06:02 ---> 399320b29aad 06:06:02 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:06:02 ---> Running in 1f5f1c12a1bf 06:06:02 Removing intermediate container 1f5f1c12a1bf 06:06:02 ---> 504533d2d53a 06:06:02 Step 20/22 : LABEL arch=amd64 06:06:02 ---> Running in e4eb5c57224f 06:06:02 Removing intermediate container e4eb5c57224f 06:06:02 ---> f086ab96a23e 06:06:02 Step 21/22 : LABEL git_sha=62ec25a2eb67d4cbe0628602eb20a0741648d64e 06:06:02 ---> Running in 4e5305d63a96 06:06:02 Removing intermediate container 4e5305d63a96 06:06:02 ---> bade1f711bfb 06:06:02 Step 22/22 : LABEL version=3.0.0-dev.2 06:06:02 ---> Running in af376099c60b 06:06:02 Removing intermediate container af376099c60b 06:06:02 ---> 6b7f17e29959 06:06:02 [Warning] One or more build-args [ARCH] were not consumed 06:06:02 Successfully built 6b7f17e29959 06:06:02 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:06:03 provisioning config files... 06:06:03 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16850934013903512045tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:06:03 ---> docker-login.sh 06:06:03 nexus3.edgexfoundry.org:10001 06:06:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:03 Configure a credential helper to remove this warning. See 06:06:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:03 06:06:03 Login Succeeded 06:06:03 nexus3.edgexfoundry.org:10002 06:06:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:03 Configure a credential helper to remove this warning. See 06:06:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:03 06:06:03 Login Succeeded 06:06:03 nexus3.edgexfoundry.org:10003 06:06:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:03 Configure a credential helper to remove this warning. See 06:06:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:03 06:06:03 Login Succeeded 06:06:03 nexus3.edgexfoundry.org:10004 06:06:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:03 Configure a credential helper to remove this warning. See 06:06:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:03 06:06:03 Login Succeeded 06:06:03 docker.io 06:06:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:03 Configure a credential helper to remove this warning. See 06:06:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:03 06:06:03 Login Succeeded 06:06:03 ---> docker-login.sh ends [Pipeline] } 06:06:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:06:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:06:04 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 06:06:04 62ec25a2eb67d4cbe0628602eb20a0741648d64e 06:06:04 latest 06:06:04 3.0.0-dev.2 06:06:04 62ec25a2eb67d4cbe0628602eb20a0741648d64e-3.0.0-dev.2 06:06:04 main 06:06:04 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:04 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:62ec25a2eb67d4cbe0628602eb20a0741648d64e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:04 + docker push nexus3.edgexfoundry.org:10004/device-modbus:62ec25a2eb67d4cbe0628602eb20a0741648d64e 06:06:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:06:04 6eb44cd12d27: Preparing 06:06:04 3ca960cc0d07: Preparing 06:06:04 3f939af649d5: Preparing 06:06:04 7695b8358e4c: Preparing 06:06:04 63493a9ab2d4: Preparing 06:06:04 63493a9ab2d4: Layer already exists 06:06:04 3ca960cc0d07: Pushed 06:06:04 6eb44cd12d27: Pushed 06:06:04 7695b8358e4c: Pushed 06:06:06 3f939af649d5: Pushed 06:06:07 62ec25a2eb67d4cbe0628602eb20a0741648d64e: digest: sha256:baa6278e7edc582a139ee8e4c159255cf1c91077ffd2d09ddeb634cc7553371f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:07 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:07 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 06:06:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:06:07 6eb44cd12d27: Preparing 06:06:07 3ca960cc0d07: Preparing 06:06:07 3f939af649d5: Preparing 06:06:07 7695b8358e4c: Preparing 06:06:07 63493a9ab2d4: Preparing 06:06:07 3ca960cc0d07: Layer already exists 06:06:07 7695b8358e4c: Layer already exists 06:06:07 3f939af649d5: Layer already exists 06:06:07 6eb44cd12d27: Layer already exists 06:06:07 63493a9ab2d4: Layer already exists 06:06:07 latest: digest: sha256:baa6278e7edc582a139ee8e4c159255cf1c91077ffd2d09ddeb634cc7553371f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:08 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:08 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.2 06:06:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:06:08 6eb44cd12d27: Preparing 06:06:08 3ca960cc0d07: Preparing 06:06:08 3f939af649d5: Preparing 06:06:08 7695b8358e4c: Preparing 06:06:08 63493a9ab2d4: Preparing 06:06:08 3ca960cc0d07: Layer already exists 06:06:08 63493a9ab2d4: Layer already exists 06:06:08 3f939af649d5: Layer already exists 06:06:08 6eb44cd12d27: Layer already exists 06:06:08 7695b8358e4c: Layer already exists 06:06:08 3.0.0-dev.2: digest: sha256:baa6278e7edc582a139ee8e4c159255cf1c91077ffd2d09ddeb634cc7553371f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:08 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:62ec25a2eb67d4cbe0628602eb20a0741648d64e-3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:09 + docker push nexus3.edgexfoundry.org:10004/device-modbus:62ec25a2eb67d4cbe0628602eb20a0741648d64e-3.0.0-dev.2 06:06:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:06:09 6eb44cd12d27: Preparing 06:06:09 3ca960cc0d07: Preparing 06:06:09 3f939af649d5: Preparing 06:06:09 7695b8358e4c: Preparing 06:06:09 63493a9ab2d4: Preparing 06:06:09 3ca960cc0d07: Layer already exists 06:06:09 6eb44cd12d27: Layer already exists 06:06:09 63493a9ab2d4: Layer already exists 06:06:09 3f939af649d5: Layer already exists 06:06:09 7695b8358e4c: Layer already exists 06:06:09 62ec25a2eb67d4cbe0628602eb20a0741648d64e-3.0.0-dev.2: digest: sha256:baa6278e7edc582a139ee8e4c159255cf1c91077ffd2d09ddeb634cc7553371f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:09 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:09 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 06:06:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:06:09 6eb44cd12d27: Preparing 06:06:09 3ca960cc0d07: Preparing 06:06:09 3f939af649d5: Preparing 06:06:09 7695b8358e4c: Preparing 06:06:09 63493a9ab2d4: Preparing 06:06:09 6eb44cd12d27: Layer already exists 06:06:09 63493a9ab2d4: Layer already exists 06:06:09 7695b8358e4c: Layer already exists 06:06:09 3f939af649d5: Layer already exists 06:06:09 3ca960cc0d07: Layer already exists 06:06:09 main: digest: sha256:baa6278e7edc582a139ee8e4c159255cf1c91077ffd2d09ddeb634cc7553371f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:06:09 ===================================================== [Pipeline] echo 06:06:09 taggedImages: 06:06:09 - nexus3.edgexfoundry.org:10004/device-modbus:62ec25a2eb67d4cbe0628602eb20a0741648d64e 06:06:09 - nexus3.edgexfoundry.org:10004/device-modbus:latest 06:06:09 - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.2 06:06:09 - nexus3.edgexfoundry.org:10004/device-modbus:62ec25a2eb67d4cbe0628602eb20a0741648d64e-3.0.0-dev.2 06:06:09 - 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 06:06:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:06:10 06:06:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:06:10 latest: Pulling from edgex-lftools-log-publisher 06:06:10 5eb5b503b376: Pulling fs layer 06:06:10 5c69ac0246d0: Pulling fs layer 06:06:10 ec43610c2a17: Pulling fs layer 06:06:10 3a2ae6a8a46f: Pulling fs layer 06:06:10 33b1e0a273af: Pulling fs layer 06:06:10 5d3b04190fa2: Pulling fs layer 06:06:10 3a2ae6a8a46f: Waiting 06:06:10 2f39f015ded8: Pulling fs layer 06:06:10 33b1e0a273af: Waiting 06:06:10 5d3b04190fa2: Waiting 06:06:10 2f39f015ded8: Waiting 06:06:10 5c69ac0246d0: Download complete 06:06:10 3a2ae6a8a46f: Verifying Checksum 06:06:10 3a2ae6a8a46f: Download complete 06:06:10 ec43610c2a17: Verifying Checksum 06:06:10 ec43610c2a17: Download complete 06:06:10 33b1e0a273af: Verifying Checksum 06:06:10 33b1e0a273af: Download complete 06:06:10 5d3b04190fa2: Verifying Checksum 06:06:10 5d3b04190fa2: Download complete 06:06:10 5eb5b503b376: Verifying Checksum 06:06:10 5eb5b503b376: Download complete 06:06:11 2f39f015ded8: Download complete 06:06:11 5eb5b503b376: Pull complete 06:06:11 5c69ac0246d0: Pull complete 06:06:12 ec43610c2a17: Pull complete 06:06:12 3a2ae6a8a46f: Pull complete 06:06:12 33b1e0a273af: Pull complete 06:06:12 5d3b04190fa2: Pull complete 06:06:16 2f39f015ded8: Pull complete 06:06:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:06:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:06:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:06:16 prd-ubuntu20.04-docker-8c-8g-144 does not seem to be running inside a container 06:06:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 06:06:18 $ docker top 0f511d8dbb6ae3b66a0314f1cc2bf756f5fe4b76b8cdba0adb0abf1f12ee9fad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:06:18 ---> job-cost.sh 06:06:18 lf-activate-venv: SKIPPING 06:06:18 INFO: No Stack... 06:06:18 INFO: Retrieving Pricing Info for: v3-standard-8 06:06:19 INFO: Archiving Costs [Pipeline] sh 06:06:19 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 06:06:19 + cut -d, -f6 [Pipeline] lock 06:06:19 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-68-stack-cost] 06:06:19 Resource [jenkins-edgexfoundry-device-modbus-go-main-68-stack-cost] did not exist. Created. 06:06:19 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-68-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:06:20 + echo total: 0.2199999988079071 [Pipeline] stash 06:06:20 Stashed 1 file(s) [Pipeline] } 06:06:20 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-68-stack-cost] [Pipeline] // lock [Pipeline] } 06:06:20 $ docker stop --time=1 0f511d8dbb6ae3b66a0314f1cc2bf756f5fe4b76b8cdba0adb0abf1f12ee9fad 06:06:21 $ docker rm -f --volumes 0f511d8dbb6ae3b66a0314f1cc2bf756f5fe4b76b8cdba0adb0abf1f12ee9fad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:08:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-146 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 06:08:14 Running in /w/workspace/device-modbus-go/68 [Pipeline] { [Pipeline] checkout 06:08:14 Selected Git installation does not exist. Using Default 06:08:14 The recommended git tool is: NONE 06:08:19 using credential edgex-jenkins-ssh 06:08:19 Cloning the remote Git repository 06:08:19 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:08:19 > git init /w/workspace/device-modbus-go/68 # timeout=10 06:08:19 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:08:19 > git --version # timeout=10 06:08:19 > git --version # 'git version 2.25.1' 06:08:19 using GIT_SSH to set credentials SSH Credentials for GitHub 06:08:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:08:21 Avoid second fetch 06:08:21 Checking out Revision 62ec25a2eb67d4cbe0628602eb20a0741648d64e (main) 06:08:20 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:08:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:08:22 Commit message: "Merge pull request #393 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.4" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:08:21 > git config core.sparsecheckout # timeout=10 06:08:21 > git checkout -f 62ec25a2eb67d4cbe0628602eb20a0741648d64e # timeout=10 06:08:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:08:22 % Total % Received % Xferd Average Speed Time Time Time Current 06:08:22 Dload Upload Total Spent Left Speed 06:08:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 93757 100 12751 100 12751 0 0 93757 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh 06:08:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:08:23 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 06:08:23 06:08:23 { 06:08:23 "registry-mirrors": [ 06:08:23 "https://nexus3.edgexfoundry.org:10001" 06:08:23 ], 06:08:23 "bip": "10.250.0.254/24", 06:08:23 "hosts": [ 06:08:23 "tcp://0.0.0.0:5555", 06:08:23 "unix:///var/run/docker.sock" 06:08:23 ], 06:08:23 "mtu": 1458, 06:08:23 "selinux-enabled": true, 06:08:23 "seccomp-profile": "/etc/docker/seccomp.json" 06:08:23 } [Pipeline] sh 06:08:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:08:24 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:08:42 provisioning config files... 06:08:42 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/68@tmp/config9717074155406534636tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:08:43 ---> docker-login.sh 06:08:43 nexus3.edgexfoundry.org:10001 06:08:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:43 Configure a credential helper to remove this warning. See 06:08:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:43 06:08:43 Login Succeeded 06:08:43 nexus3.edgexfoundry.org:10002 06:08:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:44 Configure a credential helper to remove this warning. See 06:08:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:44 06:08:44 Login Succeeded 06:08:44 nexus3.edgexfoundry.org:10003 06:08:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:44 Configure a credential helper to remove this warning. See 06:08:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:44 06:08:44 Login Succeeded 06:08:44 nexus3.edgexfoundry.org:10004 06:08:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:44 Configure a credential helper to remove this warning. See 06:08:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:44 06:08:44 Login Succeeded 06:08:44 docker.io 06:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:45 Configure a credential helper to remove this warning. See 06:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:45 06:08:45 Login Succeeded 06:08:45 ---> docker-login.sh ends [Pipeline] } 06:08:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:08:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:08:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:08:45 ========================================================= 06:08:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 06:08:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:45 + 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 . 06:08:46 Sending build context to Docker daemon 3.271MB 06:08:46 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 06:08:46 Step 2/10 : FROM ${BASE} AS builder 06:08:46 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:08:46 9b18e9b68314: Pulling fs layer 06:08:46 35d82f9e3411: Pulling fs layer 06:08:46 e16973657156: Pulling fs layer 06:08:46 fc693d55d65f: Pulling fs layer 06:08:46 7e9fc2657dce: Pulling fs layer 06:08:46 dda99020689f: Pulling fs layer 06:08:46 db1c61fa0a46: Pulling fs layer 06:08:46 891c053d2c06: Pulling fs layer 06:08:46 fc693d55d65f: Waiting 06:08:46 7e9fc2657dce: Waiting 06:08:46 dda99020689f: Waiting 06:08:46 db1c61fa0a46: Waiting 06:08:46 891c053d2c06: Waiting 06:08:46 e16973657156: Verifying Checksum 06:08:46 e16973657156: Download complete 06:08:46 35d82f9e3411: Verifying Checksum 06:08:46 35d82f9e3411: Download complete 06:08:46 7e9fc2657dce: Verifying Checksum 06:08:46 7e9fc2657dce: Download complete 06:08:46 dda99020689f: Download complete 06:08:46 9b18e9b68314: Verifying Checksum 06:08:46 9b18e9b68314: Download complete 06:08:47 9b18e9b68314: Pull complete 06:08:47 891c053d2c06: Verifying Checksum 06:08:47 891c053d2c06: Download complete 06:08:48 35d82f9e3411: Pull complete 06:08:48 e16973657156: Pull complete 06:08:48 db1c61fa0a46: Verifying Checksum 06:08:48 db1c61fa0a46: Download complete 06:08:49 fc693d55d65f: Verifying Checksum 06:08:49 fc693d55d65f: Download complete 06:09:01 fc693d55d65f: Pull complete 06:09:01 7e9fc2657dce: Pull complete 06:09:01 dda99020689f: Pull complete 06:09:08 db1c61fa0a46: Pull complete 06:09:09 891c053d2c06: Pull complete 06:09:09 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 06:09:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 06:09:09 ---> f96f9c87975a 06:09:09 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:09:11 ---> Running in f8fe04cc1337 06:09:11 Removing intermediate container f8fe04cc1337 06:09:11 ---> d50d7c4bb525 06:09:11 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:09:11 ---> Running in 55e05cf31be3 06:09:11 Removing intermediate container 55e05cf31be3 06:09:11 ---> 3b28d6f704bf 06:09:11 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 06:09:11 ---> Running in 1fd21b67054d 06:09:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:09:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:09:14 (1/8) Installing openssh-keygen (9.0_p1-r2) 06:09:14 (2/8) Installing libedit (20210910.3.1-r0) 06:09:14 (3/8) Installing openssh-client-common (9.0_p1-r2) 06:09:14 (4/8) Installing openssh-client-default (9.0_p1-r2) 06:09:14 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 06:09:14 (6/8) Installing openssh-server-common (9.0_p1-r2) 06:09:14 (7/8) Installing openssh-server (9.0_p1-r2) 06:09:14 (8/8) Installing openssh (9.0_p1-r2) 06:09:14 Executing busybox-1.35.0-r17.trigger 06:09:14 OK: 228 MiB in 59 packages 06:09:15 Removing intermediate container 1fd21b67054d 06:09:15 ---> e23176f5d7c7 06:09:15 Step 6/10 : WORKDIR /device-modbus-go 06:09:15 ---> Running in 38bc4171674f 06:09:15 Removing intermediate container 38bc4171674f 06:09:15 ---> ec835880aed3 06:09:15 Step 7/10 : COPY go.mod vendor* ./ 06:09:18 ---> 4d21cbe5c94f 06:09:18 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:09:18 ---> Running in 550f184a8e20 06:10:14 Removing intermediate container 550f184a8e20 06:10:14 ---> 03302159acf6 06:10:14 Step 9/10 : COPY . . 06:10:14 ---> 973de0bf3e95 06:10:14 Step 10/10 : RUN ${MAKE} 06:10:14 ---> Running in ceda3d32fa7f 06:10:14 noop 06:10:15 Removing intermediate container ceda3d32fa7f 06:10:15 ---> 267ad0cb63e3 06:10:15 Successfully built 267ad0cb63e3 06:10:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:15 + docker inspect -f . ci-base-image-arm64 06:10:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:15 prd-ubuntu20.04-docker-arm64-4c-16g-146 does not seem to be running inside a container 06:10:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/68 -v /w/workspace/device-modbus-go/68:/w/workspace/device-modbus-go/68:rw,z -v /w/workspace/device-modbus-go/68@tmp:/w/workspace/device-modbus-go/68@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 06:10:17 $ docker top 8d89cf1dac266422cd433d262cb982079817ee5e608a48981fed056435dee720 -eo pid,comm [Pipeline] { [Pipeline] sh 06:10:18 + go version 06:10:18 go version go1.18.7 linux/arm64 [Pipeline] } 06:10:18 $ docker stop --time=1 8d89cf1dac266422cd433d262cb982079817ee5e608a48981fed056435dee720 06:10:19 $ docker rm -f --volumes 8d89cf1dac266422cd433d262cb982079817ee5e608a48981fed056435dee720 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:20 + docker inspect -f . ci-base-image-arm64 06:10:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:20 prd-ubuntu20.04-docker-arm64-4c-16g-146 does not seem to be running inside a container 06:10:20 $ 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/68 -v /w/workspace/device-modbus-go/68:/w/workspace/device-modbus-go/68:rw,z -v /w/workspace/device-modbus-go/68@tmp:/w/workspace/device-modbus-go/68@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 06:10:21 $ docker top bc96ff47f72ca53c6031ccd77c386eac93c1fcf6ff7974c3379c309f7c2ff3da -eo pid,comm [Pipeline] { [Pipeline] sh 06:10:22 + git config --global --add safe.directory /w/workspace/device-modbus-go/68 [Pipeline] fileExists [Pipeline] sh 06:10:22 + make test 06:10:22 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:10:24 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:11:45 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:11:45 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.061s coverage: 47.7% of statements 06:11:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:11:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:12:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:12:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:12:04 ./bin/test-attribution-txt.sh [Pipeline] echo 06:12:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:12:04 $ docker stop --time=1 bc96ff47f72ca53c6031ccd77c386eac93c1fcf6ff7974c3379c309f7c2ff3da 06:12:05 $ docker rm -f --volumes bc96ff47f72ca53c6031ccd77c386eac93c1fcf6ff7974c3379c309f7c2ff3da [Pipeline] // withDockerContainer [Pipeline] sh 06:12:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:12:06 Warning: overwriting stash ‘coverage-report’ 06:12:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:12:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:12:07 + ls -al . 06:12:07 total 192 06:12:07 drwxrwxr-x 9 jenkins jenkins 4096 Dec 19 06:10 . 06:12:07 drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 06:08 .. 06:12:07 -rw-rw-r-- 1 jenkins jenkins 140 Dec 19 06:08 .dockerignore 06:12:07 drwxrwxr-x 8 jenkins jenkins 4096 Dec 19 06:08 .git 06:12:07 drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 06:08 .github 06:12:07 -rw-rw-r-- 1 jenkins jenkins 331 Dec 19 06:08 .gitignore 06:12:07 -rw-rw-r-- 1 jenkins jenkins 41 Dec 19 06:08 .golangci.yml 06:12:07 -rw-rw-r-- 1 jenkins jenkins 10121 Dec 19 06:08 Attribution.txt 06:12:07 -rw-rw-r-- 1 jenkins jenkins 11576 Dec 19 06:08 CHANGELOG.md 06:12:07 -rw-rw-r-- 1 jenkins jenkins 1428 Dec 19 06:08 Dockerfile 06:12:07 -rw-rw-r-- 1 jenkins jenkins 677 Dec 19 06:08 GOVERNANCE.md 06:12:07 -rw-rw-r-- 1 jenkins jenkins 680 Dec 19 06:08 Jenkinsfile 06:12:07 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 19 06:08 LICENSE 06:12:07 -rw-rw-r-- 1 jenkins jenkins 2101 Dec 19 06:08 Makefile 06:12:07 -rw-rw-r-- 1 jenkins jenkins 622 Dec 19 06:08 OWNERS.md 06:12:07 -rw-rw-r-- 1 jenkins jenkins 4061 Dec 19 06:08 README.md 06:12:07 -rw-rw-r-- 1 jenkins jenkins 11 Dec 19 06:04 VERSION 06:12:07 drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 06:08 bin 06:12:07 drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 06:08 cmd 06:12:07 -rw-r--r-- 1 jenkins jenkins 23241 Dec 19 06:11 coverage.out 06:12:07 -rw-rw-r-- 1 jenkins jenkins 3584 Dec 19 06:08 go.mod 06:12:07 -rw-rw-r-- 1 jenkins jenkins 45355 Dec 19 06:08 go.sum 06:12:07 drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 06:08 internal 06:12:07 drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 06:08 simulator 06:12:07 drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 06:08 snap 06:12:07 -rw-rw-r-- 1 jenkins jenkins 229 Dec 19 06:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:08 + 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=62ec25a2eb67d4cbe0628602eb20a0741648d64e --label arch=arm64 --label version=3.0.0-dev.2 . 06:12:08 Sending build context to Docker daemon 3.295MB 06:12:08 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 06:12:08 Step 2/22 : FROM ${BASE} AS builder 06:12:08 ---> 267ad0cb63e3 06:12:08 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:12:08 ---> Running in 87220bb7c56a 06:12:09 Removing intermediate container 87220bb7c56a 06:12:09 ---> c6ce98cad7af 06:12:09 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:12:09 ---> Running in 41b25e6afcd7 06:12:09 Removing intermediate container 41b25e6afcd7 06:12:09 ---> 968158ecd0bf 06:12:09 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 06:12:09 ---> Running in 28b15a73541d 06:12:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:12:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:12:11 OK: 228 MiB in 59 packages 06:12:13 Removing intermediate container 28b15a73541d 06:12:13 ---> 39aca379b3e9 06:12:13 Step 6/22 : WORKDIR /device-modbus-go 06:12:13 ---> Running in 394df1ce9eb7 06:12:13 Removing intermediate container 394df1ce9eb7 06:12:13 ---> b8adfce5a70c 06:12:13 Step 7/22 : COPY go.mod vendor* ./ 06:12:14 ---> 42af3ef7708b 06:12:14 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:12:14 ---> Running in c2dad3ebf58b 06:12:16 Removing intermediate container c2dad3ebf58b 06:12:16 ---> 00044ff69bd7 06:12:16 Step 9/22 : COPY . . 06:12:16 ---> e533cb427474 06:12:16 Step 10/22 : RUN ${MAKE} 06:12:16 ---> Running in 6c247f54b600 06:12:17 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.2" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 06:14:39 Removing intermediate container 6c247f54b600 06:14:39 ---> 0b37b985aa49 06:14:39 Step 11/22 : FROM alpine:3.14 06:14:39 3.14: Pulling from library/alpine 06:14:39 90cda3b7c325: Pulling fs layer 06:14:39 90cda3b7c325: Verifying Checksum 06:14:39 90cda3b7c325: Download complete 06:14:39 90cda3b7c325: Pull complete 06:14:39 Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a 06:14:39 Status: Downloaded newer image for alpine:3.14 06:14:39 ---> 275902a1839d 06:14:39 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:14:39 ---> Running in 6b98da558c2c 06:14:39 Removing intermediate container 6b98da558c2c 06:14:39 ---> 88f5454e08ad 06:14:39 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 06:14:39 ---> Running in 268b3324986b 06:14:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 06:14:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 06:14:41 (1/6) Installing dumb-init (1.2.5-r1) 06:14:41 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:14:41 (3/6) Installing libsodium (1.0.18-r0) 06:14:41 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:14:41 (5/6) Installing libzmq (4.3.4-r0) 06:14:41 (6/6) Installing zeromq (4.3.4-r0) 06:14:41 Executing busybox-1.33.1-r8.trigger 06:14:41 OK: 8 MiB in 20 packages 06:14:42 Removing intermediate container 268b3324986b 06:14:42 ---> ebcaecf5002c 06:14:42 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:14:44 ---> cfd0164a5698 06:14:44 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:14:44 ---> 2e9cf8a9a21b 06:14:44 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:14:46 ---> 6166eeeea32d 06:14:46 Step 17/22 : EXPOSE 59901 06:14:46 ---> Running in f5d22c505c71 06:14:46 Removing intermediate container f5d22c505c71 06:14:46 ---> de5df7f61e4d 06:14:46 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:14:46 ---> Running in b0a9b8822606 06:14:46 Removing intermediate container b0a9b8822606 06:14:46 ---> 988757afb2c5 06:14:46 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:14:46 ---> Running in ce8990a48a2b 06:14:47 Removing intermediate container ce8990a48a2b 06:14:47 ---> 709b493225aa 06:14:47 Step 20/22 : LABEL arch=arm64 06:14:47 ---> Running in 9160f70e4fb8 06:14:47 Removing intermediate container 9160f70e4fb8 06:14:47 ---> 6e2ca8169b78 06:14:47 Step 21/22 : LABEL git_sha=62ec25a2eb67d4cbe0628602eb20a0741648d64e 06:14:47 ---> Running in 0cdcb96f8f44 06:14:47 Removing intermediate container 0cdcb96f8f44 06:14:47 ---> 3c8f6cf5e2f1 06:14:47 Step 22/22 : LABEL version=3.0.0-dev.2 06:14:48 ---> Running in fbe6dad4b8df 06:14:48 Removing intermediate container fbe6dad4b8df 06:14:48 ---> 9f394c5083ab 06:14:48 [Warning] One or more build-args [ARCH] were not consumed 06:14:48 Successfully built 9f394c5083ab 06:14:48 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 06:14:48 provisioning config files... 06:14:48 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/68@tmp/config1020238898018620156tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:14:48 ---> docker-login.sh 06:14:48 nexus3.edgexfoundry.org:10001 06:14:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:49 Configure a credential helper to remove this warning. See 06:14:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:49 06:14:49 Login Succeeded 06:14:49 nexus3.edgexfoundry.org:10002 06:14:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:49 Configure a credential helper to remove this warning. See 06:14:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:49 06:14:49 Login Succeeded 06:14:49 nexus3.edgexfoundry.org:10003 06:14:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:49 Configure a credential helper to remove this warning. See 06:14:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:49 06:14:49 Login Succeeded 06:14:49 nexus3.edgexfoundry.org:10004 06:14:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:50 Configure a credential helper to remove this warning. See 06:14:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:50 06:14:50 Login Succeeded 06:14:50 docker.io 06:14:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:50 Configure a credential helper to remove this warning. See 06:14:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:50 06:14:50 Login Succeeded 06:14:50 ---> docker-login.sh ends [Pipeline] } 06:14:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:14:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:14:50 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 06:14:50 62ec25a2eb67d4cbe0628602eb20a0741648d64e 06:14:50 latest 06:14:50 3.0.0-dev.2 06:14:50 62ec25a2eb67d4cbe0628602eb20a0741648d64e-3.0.0-dev.2 06:14:50 main 06:14:50 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:51 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:62ec25a2eb67d4cbe0628602eb20a0741648d64e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:51 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:62ec25a2eb67d4cbe0628602eb20a0741648d64e 06:14:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:14:51 5412fd882010: Preparing 06:14:51 7c33ae5c9853: Preparing 06:14:51 6f6f1d3162ff: Preparing 06:14:51 647a076eaa68: Preparing 06:14:51 28c3ef001483: Preparing 06:14:51 28c3ef001483: Layer already exists 06:14:51 5412fd882010: Pushed 06:14:51 7c33ae5c9853: Pushed 06:14:52 647a076eaa68: Pushed 06:14:56 6f6f1d3162ff: Pushed 06:14:56 62ec25a2eb67d4cbe0628602eb20a0741648d64e: digest: sha256:eec626196ef03514fa5fded4e12d701432a44e4366d12d8373610da987de2410 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:57 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:57 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 06:14:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:14:57 5412fd882010: Preparing 06:14:57 7c33ae5c9853: Preparing 06:14:57 6f6f1d3162ff: Preparing 06:14:57 647a076eaa68: Preparing 06:14:57 28c3ef001483: Preparing 06:14:57 6f6f1d3162ff: Layer already exists 06:14:57 28c3ef001483: Layer already exists 06:14:57 5412fd882010: Layer already exists 06:14:57 7c33ae5c9853: Layer already exists 06:14:57 647a076eaa68: Layer already exists 06:14:57 latest: digest: sha256:eec626196ef03514fa5fded4e12d701432a44e4366d12d8373610da987de2410 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:58 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:58 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.2 06:14:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:14:58 5412fd882010: Preparing 06:14:58 7c33ae5c9853: Preparing 06:14:58 6f6f1d3162ff: Preparing 06:14:58 647a076eaa68: Preparing 06:14:58 28c3ef001483: Preparing 06:14:58 7c33ae5c9853: Layer already exists 06:14:58 6f6f1d3162ff: Layer already exists 06:14:58 647a076eaa68: Layer already exists 06:14:58 28c3ef001483: Layer already exists 06:14:58 5412fd882010: Layer already exists 06:14:58 3.0.0-dev.2: digest: sha256:eec626196ef03514fa5fded4e12d701432a44e4366d12d8373610da987de2410 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:58 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:62ec25a2eb67d4cbe0628602eb20a0741648d64e-3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:59 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:62ec25a2eb67d4cbe0628602eb20a0741648d64e-3.0.0-dev.2 06:14:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:14:59 5412fd882010: Preparing 06:14:59 7c33ae5c9853: Preparing 06:14:59 6f6f1d3162ff: Preparing 06:14:59 647a076eaa68: Preparing 06:14:59 28c3ef001483: Preparing 06:14:59 28c3ef001483: Layer already exists 06:14:59 7c33ae5c9853: Layer already exists 06:14:59 647a076eaa68: Layer already exists 06:14:59 5412fd882010: Layer already exists 06:14:59 6f6f1d3162ff: Layer already exists 06:14:59 62ec25a2eb67d4cbe0628602eb20a0741648d64e-3.0.0-dev.2: digest: sha256:eec626196ef03514fa5fded4e12d701432a44e4366d12d8373610da987de2410 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:59 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:59 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 06:14:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:14:59 5412fd882010: Preparing 06:14:59 7c33ae5c9853: Preparing 06:14:59 6f6f1d3162ff: Preparing 06:14:59 647a076eaa68: Preparing 06:14:59 28c3ef001483: Preparing 06:14:59 647a076eaa68: Layer already exists 06:14:59 5412fd882010: Layer already exists 06:14:59 7c33ae5c9853: Layer already exists 06:14:59 6f6f1d3162ff: Layer already exists 06:14:59 28c3ef001483: Layer already exists 06:14:59 main: digest: sha256:eec626196ef03514fa5fded4e12d701432a44e4366d12d8373610da987de2410 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:15:00 ===================================================== [Pipeline] echo 06:15:00 taggedImages: 06:15:00 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:62ec25a2eb67d4cbe0628602eb20a0741648d64e 06:15:00 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 06:15:00 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.2 06:15:00 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:62ec25a2eb67d4cbe0628602eb20a0741648d64e-3.0.0-dev.2 06:15:00 - 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 06:15:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:15:00 06:15:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:15:00 arm64: Pulling from edgex-lftools-log-publisher 06:15:00 8998bd30e6a1: Pulling fs layer 06:15:00 04944245beec: Pulling fs layer 06:15:00 699f458cf7ca: Pulling fs layer 06:15:00 765212b225bb: Pulling fs layer 06:15:00 f23df028b6ca: Pulling fs layer 06:15:00 d65c8cfc05b1: Pulling fs layer 06:15:00 2437ff75d9bd: Pulling fs layer 06:15:00 f23df028b6ca: Waiting 06:15:00 d65c8cfc05b1: Waiting 06:15:00 765212b225bb: Waiting 06:15:01 04944245beec: Verifying Checksum 06:15:01 04944245beec: Download complete 06:15:01 765212b225bb: Verifying Checksum 06:15:01 765212b225bb: Download complete 06:15:01 f23df028b6ca: Verifying Checksum 06:15:01 f23df028b6ca: Download complete 06:15:01 d65c8cfc05b1: Verifying Checksum 06:15:01 d65c8cfc05b1: Download complete 06:15:01 699f458cf7ca: Verifying Checksum 06:15:01 699f458cf7ca: Download complete 06:15:01 8998bd30e6a1: Verifying Checksum 06:15:01 8998bd30e6a1: Download complete 06:15:04 2437ff75d9bd: Verifying Checksum 06:15:04 2437ff75d9bd: Download complete 06:15:05 8998bd30e6a1: Pull complete 06:15:05 04944245beec: Pull complete 06:15:07 699f458cf7ca: Pull complete 06:15:07 765212b225bb: Pull complete 06:15:07 f23df028b6ca: Pull complete 06:15:08 d65c8cfc05b1: Pull complete 06:15:23 2437ff75d9bd: Pull complete 06:15:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:15:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:15:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:23 prd-ubuntu20.04-docker-arm64-4c-16g-146 does not seem to be running inside a container 06:15:23 $ 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/68 -v /w/workspace/device-modbus-go/68:/w/workspace/device-modbus-go/68:rw,z -v /w/workspace/device-modbus-go/68@tmp:/w/workspace/device-modbus-go/68@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 06:15:25 $ docker top 256c88623a107b372bb21b21bc639747ec8acc5d88e2a53f78e714beb219cb43 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:15:26 ---> job-cost.sh 06:15:26 lf-activate-venv: SKIPPING 06:15:26 INFO: No Stack... 06:15:27 INFO: Retrieving Pricing Info for: v3-standard-4 06:15:28 INFO: Archiving Costs [Pipeline] sh 06:15:28 + cat /w/workspace/device-modbus-go/68/archives/cost.csv 06:15:28 + cut -d, -f6 [Pipeline] lock 06:15:28 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-68-stack-cost] 06:15:28 Resource [jenkins-edgexfoundry-device-modbus-go-main-68-stack-cost] did not exist. Created. 06:15:28 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-68-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:15:29 /w/workspace/device-modbus-go/68@tmp/durable-939ec8e0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:15:29 + echo total: 0.10999999940395355 [Pipeline] stash 06:15:29 Warning: overwriting stash ‘stack-cost’ 06:15:29 Stashed 1 file(s) [Pipeline] } 06:15:29 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-68-stack-cost] [Pipeline] // lock [Pipeline] } 06:15:29 $ docker stop --time=1 256c88623a107b372bb21b21bc639747ec8acc5d88e2a53f78e714beb219cb43 06:15:31 $ docker rm -f --volumes 256c88623a107b372bb21b21bc639747ec8acc5d88e2a53f78e714beb219cb43 [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 06:15:31 provisioning config files... 06:15:31 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17354725503903246461tmp [Pipeline] { [Pipeline] sh 06:15:32 + set +x 06:15:32 + curl -s https://codecov.io/bash 06:15:32 + bash -s -- 06:15:32 06:15:32 _____ _ 06:15:32 / ____| | | 06:15:32 | | ___ __| | ___ ___ _____ __ 06:15:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:15:32 | |___| (_) | (_| | __/ (_| (_) \ V / 06:15:32 \_____\___/ \__,_|\___|\___\___/ \_/ 06:15:32 Bash-1.0.6 06:15:32 06:15:32 06:15:32 ==> git version 2.25.1 found 06:15:32 ==> 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 06:15:32 Release-Date: 2020-01-08 06:15:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:15:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:15:32 ==> Jenkins CI detected. 06:15:32 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 06:15:32 project root: . 06:15:32 --> token set from env 06:15:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:15:32 ==> Running gcov in . (disable via -X gcov) 06:15:32 ==> Python coveragepy not found 06:15:32 ==> Searching for coverage reports in: 06:15:32 + . 06:15:32 -> Found 1 reports 06:15:32 ==> Detecting git/mercurial file structure 06:15:32 ==> Reading reports 06:15:32 + ./coverage.out bytes=23241 06:15:32 ==> Appending adjustments 06:15:32 https://docs.codecov.io/docs/fixing-reports 06:15:32 + Found adjustments 06:15:32 ==> Gzipping contents 06:15:32 4.0K /tmp/codecov.WissAv.gz 06:15:32 ==> Uploading reports 06:15:32 url: https://codecov.io 06:15:32 query: branch=main&commit=62ec25a2eb67d4cbe0628602eb20a0741648d64e&build=68&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F68%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:15:32 -> Pinging Codecov 06:15:32 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=62ec25a2eb67d4cbe0628602eb20a0741648d64e&build=68&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F68%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:15:32 -> Uploading to 06:15:32 https://storage.googleapis.com/codecov/v4/raw/2022-12-19/55DBCA73C666E3227836607328DD7E49/62ec25a2eb67d4cbe0628602eb20a0741648d64e/3fe292d0-b07f-49d5-b783-320006a96341.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221219%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221219T061532Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=87b504a2c37770240453aca577a432d0c2356e32d9f9f9db566f9ecaf23498f4 06:15:32 % Total % Received % Xferd Average Speed Time Time Time Current 06:15:32 Dload Upload Total Spent Left Speed 06:15:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3920 0 0 100 3920 0 19215 --:--:-- --:--:-- --:--:-- 19121 100 3920 0 0 100 3920 0 16752 --:--:-- --:--:-- --:--:-- 16680 06:15:32 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/62ec25a2eb67d4cbe0628602eb20a0741648d64e [Pipeline] } 06:15:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:15:32 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:15:32 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:15:33 06:15:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:15:33 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:15:33 df9b9388f04a: Pulling fs layer 06:15:33 52dc419b0ee2: Pulling fs layer 06:15:33 25bc292e5bac: Pulling fs layer 06:15:33 114826534d7a: Pulling fs layer 06:15:33 4657fd5d0bcf: Pulling fs layer 06:15:33 6ad1cebc031e: Pulling fs layer 06:15:33 8a3aa393b2d8: Pulling fs layer 06:15:33 4657fd5d0bcf: Waiting 06:15:33 6ad1cebc031e: Waiting 06:15:33 8a3aa393b2d8: Waiting 06:15:33 114826534d7a: Waiting 06:15:33 25bc292e5bac: Verifying Checksum 06:15:33 25bc292e5bac: Download complete 06:15:33 52dc419b0ee2: Verifying Checksum 06:15:33 52dc419b0ee2: Download complete 06:15:33 4657fd5d0bcf: Download complete 06:15:33 df9b9388f04a: Verifying Checksum 06:15:33 df9b9388f04a: Download complete 06:15:33 df9b9388f04a: Pull complete 06:15:33 6ad1cebc031e: Verifying Checksum 06:15:33 6ad1cebc031e: Download complete 06:15:33 52dc419b0ee2: Pull complete 06:15:33 25bc292e5bac: Pull complete 06:15:34 114826534d7a: Verifying Checksum 06:15:34 114826534d7a: Download complete 06:15:34 8a3aa393b2d8: Verifying Checksum 06:15:34 8a3aa393b2d8: Download complete 06:15:38 114826534d7a: Pull complete 06:15:38 4657fd5d0bcf: Pull complete 06:15:38 6ad1cebc031e: Pull complete 06:15:40 8a3aa393b2d8: Pull complete 06:15:40 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 06:15:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:15:40 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:40 prd-ubuntu20.04-docker-8c-8g-144 does not seem to be running inside a container 06:15:40 $ 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 06:15:42 $ docker top 42253e9c7005fd242b3fdeca7767c417adaec12edb98922cbaa8e382458c9533 -eo pid,comm [Pipeline] { [Pipeline] echo 06:15:42 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 06:15:43 + set -o pipefail 06:15:43 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 06:15:49 06:15:49 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 06:15:49 06:15:49 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/437224e3-5a9d-49c3-9db7-d3d56771aeb7 06:15:49 06:15:49 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 06:15:49 06:15:49 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:15:49 06:15:49 06:15:49 A medium severity vulnerability was found in the Snyk CLI versions you are using. 06:15:49 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 06:15:49 More details here: https://snyk.co/ue1NS [Pipeline] } 06:15:49 $ docker stop --time=1 42253e9c7005fd242b3fdeca7767c417adaec12edb98922cbaa8e382458c9533 06:15:51 $ docker rm -f --volumes 42253e9c7005fd242b3fdeca7767c417adaec12edb98922cbaa8e382458c9533 [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 06:15:52 + git log --format=format:%s -1 62ec25a2eb67d4cbe0628602eb20a0741648d64e [Pipeline] sh 06:15:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:15:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:15:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:53 prd-ubuntu20.04-docker-8c-8g-144 does not seem to be running inside a container 06:15:53 $ 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 06:15:53 $ docker top c39e7eb3e2da2c3d8b9d01861545ea6f9e143fe358f145263c01bb5548dcdf91 -eo pid,comm 06:15:53 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). 06:15:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:15:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:15:53 [ssh-agent] Looking for ssh-agent implementation... 06:15:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:15:53 $ docker exec c39e7eb3e2da2c3d8b9d01861545ea6f9e143fe358f145263c01bb5548dcdf91 ssh-agent 06:15:54 SSH_AUTH_SOCK=/tmp/ssh-wKZteZ7z05Px/agent.31 06:15:54 SSH_AGENT_PID=37 06:15:54 Running ssh-add (command line suppressed) 06:15:54 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15084607816035034285.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15084607816035034285.key) 06:15:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:15:54 + git semver tag 06:15:54 2022-12-19 06:15:54,647 [run_tag] DEBUG tag force:False 06:15:54 2022-12-19 06:15:54,647 [check_head_tag] DEBUG check head tag 06:15:54 2022-12-19 06:15:54,648 [execute] INFO git cat-file --batch-check 06:15:54 2022-12-19 06:15:54,648 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 06:15:54 2022-12-19 06:15:54,651 [execute] INFO git cat-file --batch 06:15:54 2022-12-19 06:15:54,651 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 06:15:54 2022-12-19 06:15:54,665 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:15:54 2022-12-19 06:15:54,665 [execute] INFO git tag -a v3.0.0-dev.2 -m v3.0.0-dev.2 06:15:54 2022-12-19 06:15:54,665 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.2', '-m', 'v3.0.0-dev.2'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 06:15:54 2022-12-19 06:15:54,669 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:15:54 3.0.0-dev.2 [Pipeline] } 06:15:54 $ docker exec --env ******** --env ******** c39e7eb3e2da2c3d8b9d01861545ea6f9e143fe358f145263c01bb5548dcdf91 ssh-agent -k 06:15:54 unset SSH_AUTH_SOCK; 06:15:54 unset SSH_AGENT_PID; 06:15:54 echo Agent pid 37 killed; 06:15:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:15:55 + git semver [Pipeline] } 06:15:55 $ docker stop --time=1 c39e7eb3e2da2c3d8b9d01861545ea6f9e143fe358f145263c01bb5548dcdf91 06:15:56 $ docker rm -f --volumes c39e7eb3e2da2c3d8b9d01861545ea6f9e143fe358f145263c01bb5548dcdf91 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:15:57 06:15:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:15:57 0.23.1-centos7: Pulling from edgex-lftools 06:15:57 ab5ef0e58194: Pulling fs layer 06:15:57 9712f1f96733: Pulling fs layer 06:15:57 63f879dbbcfc: Pulling fs layer 06:15:57 0d9ebad4ef96: Pulling fs layer 06:15:57 e9a5061849ea: Pulling fs layer 06:15:57 d747dcd14b5f: Pulling fs layer 06:15:57 2de7ff778b66: Pulling fs layer 06:15:57 e9a5061849ea: Waiting 06:15:57 0d9ebad4ef96: Waiting 06:15:57 d747dcd14b5f: Waiting 06:15:57 9712f1f96733: Verifying Checksum 06:15:57 9712f1f96733: Download complete 06:15:57 63f879dbbcfc: Verifying Checksum 06:15:57 63f879dbbcfc: Download complete 06:15:57 e9a5061849ea: Verifying Checksum 06:15:57 e9a5061849ea: Download complete 06:15:57 d747dcd14b5f: Download complete 06:15:58 0d9ebad4ef96: Download complete 06:15:58 ab5ef0e58194: Verifying Checksum 06:15:58 ab5ef0e58194: Download complete 06:15:58 2de7ff778b66: Verifying Checksum 06:15:58 2de7ff778b66: Download complete 06:16:00 ab5ef0e58194: Pull complete 06:16:00 9712f1f96733: Pull complete 06:16:01 63f879dbbcfc: Pull complete 06:16:04 0d9ebad4ef96: Pull complete 06:16:05 e9a5061849ea: Pull complete 06:16:05 d747dcd14b5f: Pull complete 06:16:06 2de7ff778b66: Pull complete 06:16:06 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:16:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:16:06 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:06 prd-ubuntu20.04-docker-8c-8g-144 does not seem to be running inside a container 06:16:06 $ 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 06:16:08 $ docker top d3da6541d2bd979c231c7eaba5a40226398e0382950bc51ed3c328a3d2f02f50 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:16:08 provisioning config files... 06:16:08 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3404703175621667526tmp 06:16:08 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4564502263687364222tmp 06:16:08 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2918981984030818581tmp [Pipeline] { [Pipeline] echo 06:16:08 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:16:08 ---> sigul-configuration.sh 06:16:08 gpg: directory `/root/.gnupg' created 06:16:08 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:16:08 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:16:08 gpg: keyring `/root/.gnupg/secring.gpg' created 06:16:08 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:16:08 gpg: CAST5 encrypted data 06:16:08 gpg: encrypted with 1 passphrase 06:16:08 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:16:08 + mkdir /home/jenkins 06:16:08 + mkdir /home/jenkins/sigul [Pipeline] sh 06:16:09 + 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 06:16:09 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:16:09 ---> sigul-install.sh 06:16:09 Sigul already installed; skipping installation. [Pipeline] sh 06:16:09 + git tag --list 06:16:09 0.7.1 06:16:09 v1.0.0 06:16:09 v1.1.0 06:16:09 v1.1.1 06:16:09 v1.2.2 06:16:09 v1.3.0 06:16:09 v1.3.1 06:16:09 v2.0.0 06:16:09 v2.1.0 06:16:09 v2.1.1 06:16:09 v2.1.1-dev.1 06:16:09 v2.1.1-dev.2 06:16:09 v2.1.1-dev.3 06:16:09 v2.2.0 06:16:09 v2.2.1-dev.1 06:16:09 v2.2.1-dev.2 06:16:09 v2.2.1-dev.3 06:16:09 v2.2.1-dev.4 06:16:09 v2.2.1-dev.5 06:16:09 v2.2.1-dev.6 06:16:09 v2.2.1-dev.7 06:16:09 v2.3.0 06:16:09 v2.3.0-dev.10 06:16:09 v2.3.0-dev.11 06:16:09 v2.3.0-dev.12 06:16:09 v2.3.0-dev.13 06:16:09 v2.3.0-dev.14 06:16:09 v2.3.0-dev.15 06:16:09 v2.3.0-dev.16 06:16:09 v2.3.0-dev.17 06:16:09 v2.3.0-dev.18 06:16:09 v2.3.0-dev.19 06:16:09 v2.3.0-dev.20 06:16:09 v2.3.0-dev.21 06:16:09 v2.3.0-dev.22 06:16:09 v2.3.0-dev.23 06:16:09 v2.3.0-dev.24 06:16:09 v2.3.0-dev.25 06:16:09 v2.3.0-dev.7 06:16:09 v2.3.0-dev.8 06:16:09 v2.3.0-dev.9 06:16:09 v3.0.0-dev.1 06:16:09 v3.0.0-dev.2 [Pipeline] sh 06:16:09 + lftools sign git-tag v3.0.0-dev.2 06:16:10 Signing Git tag with Sigul... 06:16:10 Signing v3.0.0-dev.2 [Pipeline] echo 06:16:11 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:16:11 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:16:11 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:16:11 $ docker stop --time=1 d3da6541d2bd979c231c7eaba5a40226398e0382950bc51ed3c328a3d2f02f50 06:16:12 $ docker rm -f --volumes d3da6541d2bd979c231c7eaba5a40226398e0382950bc51ed3c328a3d2f02f50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:16:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:16:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:16:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:13 prd-ubuntu20.04-docker-8c-8g-144 does not seem to be running inside a container 06:16:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:16:13 $ docker top 8e46a3333813d3a23fa119ab07d33ef0ae5cb6dd757dab8402cedc02f6e727b0 -eo pid,comm 06:16:13 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). 06:16:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:16:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:16:13 [ssh-agent] Looking for ssh-agent implementation... 06:16:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:16:14 $ docker exec 8e46a3333813d3a23fa119ab07d33ef0ae5cb6dd757dab8402cedc02f6e727b0 ssh-agent 06:16:14 SSH_AUTH_SOCK=/tmp/ssh-N5oTHersaCpH/agent.31 06:16:14 SSH_AGENT_PID=37 06:16:14 Running ssh-add (command line suppressed) 06:16:14 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8134103766364181652.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8134103766364181652.key) 06:16:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:16:14 + git semver bump pre 06:16:14 2022-12-19 06:16:14,750 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:16:14 2022-12-19 06:16:14,751 [bump_version] DEBUG bumping version:3.0.0-dev.2 on axis:pre with prefix:dev 06:16:14 2022-12-19 06:16:14,751 [bump_version] DEBUG bumped version:3.0.0-dev.3 06:16:14 2022-12-19 06:16:14,751 [write_version] DEBUG write version:3.0.0-dev.3 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 06:16:14 2022-12-19 06:16:14,751 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:16:14 2022-12-19 06:16:14,751 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:16:14 2022-12-19 06:16:14,753 [execute] INFO git cat-file --batch-check 06:16:14 2022-12-19 06:16:14,753 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:16:14 2022-12-19 06:16:14,758 [execute] INFO git cat-file --batch 06:16:14 2022-12-19 06:16:14,758 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:16:14 2022-12-19 06:16:14,762 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:16:14 3.0.0-dev.3 [Pipeline] } 06:16:14 $ docker exec --env ******** --env ******** 8e46a3333813d3a23fa119ab07d33ef0ae5cb6dd757dab8402cedc02f6e727b0 ssh-agent -k 06:16:14 unset SSH_AUTH_SOCK; 06:16:14 unset SSH_AGENT_PID; 06:16:14 echo Agent pid 37 killed; 06:16:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:16:15 + git semver [Pipeline] } 06:16:15 $ docker stop --time=1 8e46a3333813d3a23fa119ab07d33ef0ae5cb6dd757dab8402cedc02f6e727b0 06:16:16 $ docker rm -f --volumes 8e46a3333813d3a23fa119ab07d33ef0ae5cb6dd757dab8402cedc02f6e727b0 [Pipeline] // withDockerContainer [Pipeline] sh 06:16:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:16:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:16:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:17 prd-ubuntu20.04-docker-8c-8g-144 does not seem to be running inside a container 06:16:17 $ 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 06:16:17 $ docker top b57aeb9349797e41e8317e82d57d1ced9337df4d2a11263a54a8347cb072d956 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:16:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:16:18 [ssh-agent] Looking for ssh-agent implementation... 06:16:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:16:18 $ docker exec b57aeb9349797e41e8317e82d57d1ced9337df4d2a11263a54a8347cb072d956 ssh-agent 06:16:18 SSH_AUTH_SOCK=/tmp/ssh-um3xUYxM4o8y/agent.32 06:16:18 SSH_AGENT_PID=38 06:16:18 Running ssh-add (command line suppressed) 06:16:18 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15335778136991224796.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15335778136991224796.key) 06:16:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:16:18 + git semver push 06:16:18 2022-12-19 06:16:18,824 [run_push] DEBUG push 06:16:18 2022-12-19 06:16:18,824 [execute] INFO git cat-file --batch-check 06:16:18 2022-12-19 06:16:18,825 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:16:18 2022-12-19 06:16:18,828 [execute] INFO git rev-list 9c7d80ef6828101fcce2d76e9526e81e97ac80c9 -- 06:16:18 2022-12-19 06:16:18,828 [execute] DEBUG Popen(['git', 'rev-list', '9c7d80ef6828101fcce2d76e9526e81e97ac80c9', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:16:18 2022-12-19 06:16:18,836 [execute] INFO git fetch -v origin 06:16:18 2022-12-19 06:16:18,837 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:16:19 2022-12-19 06:16:19,345 [run_push] DEBUG no remote changes detected 06:16:19 2022-12-19 06:16:19,346 [execute] INFO git push origin semver 06:16:19 2022-12-19 06:16:19,346 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:16:20 2022-12-19 06:16:20,101 [run_push] DEBUG push all version tags 06:16:20 2022-12-19 06:16:20,102 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:16:20 2022-12-19 06:16:20,102 [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) 06:16:20 2022-12-19 06:16:20,834 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:16:20 3.0.0-dev.3 [Pipeline] } 06:16:20 $ docker exec --env ******** --env ******** b57aeb9349797e41e8317e82d57d1ced9337df4d2a11263a54a8347cb072d956 ssh-agent -k 06:16:21 unset SSH_AUTH_SOCK; 06:16:21 unset SSH_AGENT_PID; 06:16:21 echo Agent pid 38 killed; 06:16:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:16:21 + git semver [Pipeline] } 06:16:21 $ docker stop --time=1 b57aeb9349797e41e8317e82d57d1ced9337df4d2a11263a54a8347cb072d956 06:16:22 $ docker rm -f --volumes b57aeb9349797e41e8317e82d57d1ced9337df4d2a11263a54a8347cb072d956 [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 06:16:23 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 06:16:23 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 06:16:23 total 16 06:16:23 drwxr-xr-x 3 root root 4096 Dec 19 06:06 . 06:16:23 drwxrwxr-x 11 jenkins jenkins 4096 Dec 19 06:16 .. 06:16:23 drwxr-xr-x 2 root root 4096 Dec 19 06:06 cost 06:16:23 -rw-r--r-- 1 root root 87 Dec 19 06:06 cost.csv 06:16:23 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 06:16:23 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 06:16:23 total 16 06:16:23 drwxr-xr-x 3 jenkins jenkins 4096 Dec 19 06:06 . 06:16:23 drwxrwxr-x 11 jenkins jenkins 4096 Dec 19 06:16 .. 06:16:23 drwxr-xr-x 2 jenkins jenkins 4096 Dec 19 06:06 cost 06:16:23 -rw-r--r-- 1 jenkins jenkins 87 Dec 19 06:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:16:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:16:24 ---> package-listing.sh 06:16:24 ++ facter osfamily 06:16:24 ++ tr '[:upper:]' '[:lower:]' 06:16:24 + OS_FAMILY=debian 06:16:24 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 06:16:24 + START_PACKAGES=/tmp/packages_start.txt 06:16:24 + END_PACKAGES=/tmp/packages_end.txt 06:16:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:16:24 + PACKAGES=/tmp/packages_start.txt 06:16:24 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 06:16:24 + PACKAGES=/tmp/packages_end.txt 06:16:24 + case "${OS_FAMILY}" in 06:16:24 + dpkg -l 06:16:24 + grep '^ii' 06:16:24 + '[' -f /tmp/packages_start.txt ']' 06:16:24 + '[' -f /tmp/packages_end.txt ']' 06:16:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:16:24 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 06:16:24 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 06:16:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 06:16:24 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 06:16:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:16:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:25 prd-ubuntu20.04-docker-8c-8g-144 does not seem to be running inside a container 06:16:25 $ 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 06:16:26 $ docker top 5573dbfff843636c1ebd7334344c5cd0e93b1d04a6c1f463723d6566fb6f0866 -eo pid,comm [Pipeline] { [Pipeline] sh 06:16:26 + touch /tmp/pre-build-complete [Pipeline] sh 06:16:26 + mkdir -p /var/log/sysstat [Pipeline] sh 06:16:26 + ls /var/log/sa-host 06:16:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:16:27 provisioning config files... 06:16:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15698911345705513306tmp [Pipeline] { [Pipeline] echo 06:16:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:16:27 ---> create-netrc.sh [Pipeline] } 06:16:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:16:27 ---> python-tools-install.sh [Pipeline] echo 06:16:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:16:28 ---> sudo-logs.sh 06:16:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:16:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:16:28 ---> job-cost.sh 06:16:28 lf-activate-venv: SKIPPING 06:16:28 DEBUG: total: 0.2199999988079071 06:16:28 INFO: Retrieving Stack Cost... 06:16:28 INFO: Retrieving Pricing Info for: v3-standard-8 06:16:29 INFO: Archiving Costs [Pipeline] echo 06:16:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:16:29 ---> logs-deploy.sh 06:16:29 lf-activate-venv: SKIPPING 06:16:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/68 06:16:29 INFO: archiving workspace using pattern(s): 06:16:30 Archives upload complete. 06:16:30 INFO: archiving logs to Nexus