Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7c5acbbe38a78294b2f031b3aca8867e5f1e249e 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-ssh17399215254363555915.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh2797535206699740771.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh3679906031331393176.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh12640795877035718216.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-ssh13485027599532260802.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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-257 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 7c5acbbe38a78294b2f031b3aca8867e5f1e249e (main) Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2 (#426)" > 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 7c5acbbe38a78294b2f031b3aca8867e5f1e249e # timeout=10 > git rev-list --no-walk 4a922296995208ff0e4cc89e50973eb58c03687f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:56:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:56:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:56:27 ========================================================= 20:56:27 EdgeX Global Pipelines Version Info 20:56:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:56:28 ------------------- 20:56:28 stable info: 20:56:28 ------------------- 20:56:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:56:28 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 20:56:28 Message: update stable to v1.0.245 20:56:28 ------------------- 20:56:28 experimental info: 20:56:28 ------------------- 20:56:28 Commited By: **** collab-it+edgex@linuxfoundation.org 20:56:28 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 20:56:28 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:56:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 20:56:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 20:56:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:56:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:56:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:56:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:56:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:56:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:56:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:56:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:56:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:56:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 20:56:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:56:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:56:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:56:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:56:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:56:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:56:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:56:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:56:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:56:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:56:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:56:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:56:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:56:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:56:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:56:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:56:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:56:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:56:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7c5acbbe38a78294b2f031b3aca8867e5f1e249e [Pipeline] echo 20:56:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7c5acbb [Pipeline] echo 20:56:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:56:29 provisioning config files... 20:56:29 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9984789490766239583tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:56:29 ---> docker-login.sh 20:56:29 nexus3.edgexfoundry.org:10001 20:56:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:29 Configure a credential helper to remove this warning. See 20:56:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:29 20:56:29 Login Succeeded 20:56:29 nexus3.edgexfoundry.org:10002 20:56:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:29 Configure a credential helper to remove this warning. See 20:56:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:29 20:56:29 Login Succeeded 20:56:29 nexus3.edgexfoundry.org:10003 20:56:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:30 Configure a credential helper to remove this warning. See 20:56:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:30 20:56:30 Login Succeeded 20:56:30 nexus3.edgexfoundry.org:10004 20:56:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:30 Configure a credential helper to remove this warning. See 20:56:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:30 20:56:30 Login Succeeded 20:56:30 docker.io 20:56:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:30 Configure a credential helper to remove this warning. See 20:56:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:30 20:56:30 Login Succeeded 20:56:30 ---> docker-login.sh ends [Pipeline] } 20:56:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:56:30 + git rev-list -1 --merges 7c5acbbe38a78294b2f031b3aca8867e5f1e249e~1..7c5acbbe38a78294b2f031b3aca8867e5f1e249e [Pipeline] echo 20:56:30 -----------> git rev-list -1 --merges 7c5acbbe38a78294b2f031b3aca8867e5f1e249e~1..7c5acbbe38a78294b2f031b3aca8867e5f1e249e 7c5acbbe38a78294b2f031b3aca8867e5f1e249e [false] [Pipeline] sh 20:56:31 + git log --format=format:%s -1 7c5acbbe38a78294b2f031b3aca8867e5f1e249e [Pipeline] echo 20:56:31 ========================================================= 20:56:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:56:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:56:31 + git log --format=format:%s -1 7c5acbbe38a78294b2f031b3aca8867e5f1e249e [Pipeline] echo 20:56:31 [semverPrep] GIT_COMMIT: 7c5acbbe38a78294b2f031b3aca8867e5f1e249e, Commit Message: build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2 (#426) [Pipeline] echo 20:56:31 [semverPrep] This is not a build commit. [Pipeline] sh 20:56:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:56:31 + grep -v github /etc/ssh/ssh_known_hosts 20:56:31 + [ -e /tmp/ssh_known_hosts ] 20:56:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:56:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:56:31 + sudo tee -a /etc/ssh/ssh_known_hosts 20:56:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:56:32 20:56:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:56:32 0.1.4: Pulling from edgex-devops/py-git-semver 20:56:32 b85a868b505f: Pulling fs layer 20:56:32 e2be974225ed: Pulling fs layer 20:56:32 339a4e72a1f5: Pulling fs layer 20:56:32 988bab9f4d93: Pulling fs layer 20:56:32 1469e6f7b9e6: Pulling fs layer 20:56:32 eaf3925da568: Pulling fs layer 20:56:32 bab4dde63d76: Pulling fs layer 20:56:32 bde34c3a00c8: Pulling fs layer 20:56:32 b352a97aabf1: Pulling fs layer 20:56:32 4872d77fe225: Pulling fs layer 20:56:32 5851b861e8e6: Pulling fs layer 20:56:32 bab4dde63d76: Waiting 20:56:32 bde34c3a00c8: Waiting 20:56:32 b352a97aabf1: Waiting 20:56:32 988bab9f4d93: Waiting 20:56:32 4872d77fe225: Waiting 20:56:32 1469e6f7b9e6: Waiting 20:56:32 5851b861e8e6: Waiting 20:56:32 eaf3925da568: Waiting 20:56:32 e2be974225ed: Verifying Checksum 20:56:32 e2be974225ed: Download complete 20:56:32 988bab9f4d93: Verifying Checksum 20:56:32 988bab9f4d93: Download complete 20:56:32 1469e6f7b9e6: Verifying Checksum 20:56:32 1469e6f7b9e6: Download complete 20:56:32 eaf3925da568: Download complete 20:56:32 339a4e72a1f5: Verifying Checksum 20:56:32 339a4e72a1f5: Download complete 20:56:32 bde34c3a00c8: Verifying Checksum 20:56:32 bde34c3a00c8: Download complete 20:56:32 b352a97aabf1: Verifying Checksum 20:56:32 b352a97aabf1: Download complete 20:56:32 4872d77fe225: Download complete 20:56:32 5851b861e8e6: Verifying Checksum 20:56:32 5851b861e8e6: Download complete 20:56:32 b85a868b505f: Verifying Checksum 20:56:32 b85a868b505f: Download complete 20:56:32 bab4dde63d76: Verifying Checksum 20:56:32 bab4dde63d76: Download complete 20:56:33 b85a868b505f: Pull complete 20:56:34 e2be974225ed: Pull complete 20:56:34 339a4e72a1f5: Pull complete 20:56:34 988bab9f4d93: Pull complete 20:56:34 1469e6f7b9e6: Pull complete 20:56:34 eaf3925da568: Pull complete 20:56:36 bab4dde63d76: Pull complete 20:56:36 bde34c3a00c8: Pull complete 20:56:36 b352a97aabf1: Pull complete 20:56:37 4872d77fe225: Pull complete 20:56:37 5851b861e8e6: Pull complete 20:56:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:56:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:56:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:56:37 prd-ubuntu20.04-docker-8c-8g-257 does not seem to be running inside a container 20:56:37 $ 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 20:56:38 $ docker top edf07628d75f3f2a93ffafa25a8fd0767bf8d49bc4321db4e72dfe26a30ab7bc -eo pid,comm 20:56:38 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). 20:56:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:56:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:56:38 [ssh-agent] Looking for ssh-agent implementation... 20:56:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:56:38 $ docker exec edf07628d75f3f2a93ffafa25a8fd0767bf8d49bc4321db4e72dfe26a30ab7bc ssh-agent 20:56:39 SSH_AUTH_SOCK=/tmp/ssh-UZzWf8bbUgmm/agent.33 20:56:39 SSH_AGENT_PID=39 20:56:39 Running ssh-add (command line suppressed) 20:56:39 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_664203184877247319.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_664203184877247319.key) 20:56:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:56:39 + git tag --points-at HEAD [Pipeline] } 20:56:39 $ docker exec --env ******** --env ******** edf07628d75f3f2a93ffafa25a8fd0767bf8d49bc4321db4e72dfe26a30ab7bc ssh-agent -k 20:56:39 unset SSH_AUTH_SOCK; 20:56:39 unset SSH_AGENT_PID; 20:56:39 echo Agent pid 39 killed; 20:56:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:56:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:56:39 [ssh-agent] Looking for ssh-agent implementation... 20:56:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:56:39 $ docker exec edf07628d75f3f2a93ffafa25a8fd0767bf8d49bc4321db4e72dfe26a30ab7bc ssh-agent 20:56:39 SSH_AUTH_SOCK=/tmp/ssh-Qz1a9y1KhtTA/agent.71 20:56:39 SSH_AGENT_PID=77 20:56:39 Running ssh-add (command line suppressed) 20:56:39 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2993089912393859633.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2993089912393859633.key) 20:56:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:56:40 + git semver init 20:56:40 2023-03-14 20:56:40,424 [run_init] DEBUG init version:0.0.0 force:False 20:56:40 2023-03-14 20:56:40,425 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 20:56:40 2023-03-14 20:56:40,426 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 20:56:40 2023-03-14 20:56:40,426 [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) 20:56:41 2023-03-14 20:56:41,181 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 20:56:41 2023-03-14 20:56:41,182 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 20:56:41 2023-03-14 20:56:41,182 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 20:56:41 2023-03-14 20:56:41,182 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 20:56:41 3.0.0-dev.17 [Pipeline] } 20:56:41 $ docker exec --env ******** --env ******** edf07628d75f3f2a93ffafa25a8fd0767bf8d49bc4321db4e72dfe26a30ab7bc ssh-agent -k 20:56:41 unset SSH_AUTH_SOCK; 20:56:41 unset SSH_AGENT_PID; 20:56:41 echo Agent pid 77 killed; 20:56:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:56:41 + git semver [Pipeline] } 20:56:42 $ docker stop --time=1 edf07628d75f3f2a93ffafa25a8fd0767bf8d49bc4321db4e72dfe26a30ab7bc 20:56:43 $ docker rm -f --volumes edf07628d75f3f2a93ffafa25a8fd0767bf8d49bc4321db4e72dfe26a30ab7bc [Pipeline] // withDockerContainer [Pipeline] sh 20:56:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:56:43 Stashed 1 file(s) [Pipeline] echo 20:56:43 [edgeXSemver]: initialized semver on version 3.0.0-dev.17 [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 20:56:44 provisioning config files... 20:56:44 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config341045429231784061tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:56:44 ---> docker-login.sh 20:56:44 nexus3.edgexfoundry.org:10001 20:56:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:44 Configure a credential helper to remove this warning. See 20:56:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:44 20:56:44 Login Succeeded 20:56:44 nexus3.edgexfoundry.org:10002 20:56:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:44 Configure a credential helper to remove this warning. See 20:56:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:44 20:56:44 Login Succeeded 20:56:44 nexus3.edgexfoundry.org:10003 20:56:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:44 Configure a credential helper to remove this warning. See 20:56:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:44 20:56:44 Login Succeeded 20:56:44 nexus3.edgexfoundry.org:10004 20:56:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:44 Configure a credential helper to remove this warning. See 20:56:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:44 20:56:44 Login Succeeded 20:56:44 docker.io 20:56:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:44 Configure a credential helper to remove this warning. See 20:56:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:44 20:56:44 Login Succeeded 20:56:44 ---> docker-login.sh ends [Pipeline] } 20:56:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:56:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:56:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:56:44 ========================================================= 20:56:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:56:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:45 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:56:45 Sending build context to Docker daemon 6.311MB 20:56:45 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 20:56:45 Step 2/10 : FROM ${BASE} AS builder 20:56:45 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:56:45 63b65145d645: Pulling fs layer 20:56:45 a2d21d5440eb: Pulling fs layer 20:56:45 935e6c44a52c: Pulling fs layer 20:56:45 94cc34f8dd06: Pulling fs layer 20:56:45 30dea6a524f1: Pulling fs layer 20:56:45 a2aff8979fd8: Pulling fs layer 20:56:45 6808be2612f2: Pulling fs layer 20:56:45 f25807f1079a: Pulling fs layer 20:56:45 94cc34f8dd06: Waiting 20:56:45 30dea6a524f1: Waiting 20:56:45 a2aff8979fd8: Waiting 20:56:45 6808be2612f2: Waiting 20:56:45 f25807f1079a: Waiting 20:56:45 a2d21d5440eb: Download complete 20:56:45 94cc34f8dd06: Verifying Checksum 20:56:45 94cc34f8dd06: Download complete 20:56:45 30dea6a524f1: Verifying Checksum 20:56:45 30dea6a524f1: Download complete 20:56:45 63b65145d645: Verifying Checksum 20:56:45 63b65145d645: Download complete 20:56:45 a2aff8979fd8: Verifying Checksum 20:56:45 a2aff8979fd8: Download complete 20:56:45 63b65145d645: Pull complete 20:56:45 a2d21d5440eb: Pull complete 20:56:45 f25807f1079a: Verifying Checksum 20:56:45 f25807f1079a: Download complete 20:56:46 935e6c44a52c: Verifying Checksum 20:56:46 935e6c44a52c: Download complete 20:56:46 6808be2612f2: Verifying Checksum 20:56:46 6808be2612f2: Download complete 20:56:49 935e6c44a52c: Pull complete 20:56:49 94cc34f8dd06: Pull complete 20:56:49 30dea6a524f1: Pull complete 20:56:49 a2aff8979fd8: Pull complete 20:56:52 6808be2612f2: Pull complete 20:56:52 f25807f1079a: Pull complete 20:56:52 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 20:56:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:56:52 ---> 3b553350e43f 20:56:52 Step 3/10 : ARG ADD_BUILD_TAGS="" 20:56:54 ---> Running in e710e14bcd76 20:56:54 Removing intermediate container e710e14bcd76 20:56:54 ---> ffbb401ea105 20:56:54 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:56:54 ---> Running in 329a81b5bd94 20:56:54 Removing intermediate container 329a81b5bd94 20:56:54 ---> 299e6bb9ad77 20:56:54 Step 5/10 : RUN apk add --update --no-cache make git openssh 20:56:54 ---> Running in 11744284b345 20:56:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:56:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:56:55 (1/8) Installing openssh-keygen (9.1_p1-r2) 20:56:55 (2/8) Installing libedit (20221030.3.1-r0) 20:56:55 (3/8) Installing openssh-client-common (9.1_p1-r2) 20:56:55 (4/8) Installing openssh-client-default (9.1_p1-r2) 20:56:55 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 20:56:55 (6/8) Installing openssh-server-common (9.1_p1-r2) 20:56:55 (7/8) Installing openssh-server (9.1_p1-r2) 20:56:55 (8/8) Installing openssh (9.1_p1-r2) 20:56:55 Executing busybox-1.35.0-r29.trigger 20:56:55 OK: 270 MiB in 61 packages 20:56:55 Removing intermediate container 11744284b345 20:56:55 ---> 3e62590dea52 20:56:55 Step 6/10 : WORKDIR /device-modbus-go 20:56:55 ---> Running in cd13129dc376 20:56:55 Removing intermediate container cd13129dc376 20:56:55 ---> 278a23d29c07 20:56:55 Step 7/10 : COPY go.mod vendor* ./ 20:56:55 ---> 7d57add02fc3 20:56:55 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:56:55 ---> Running in 5ca15fa9a709 20:56:59 Still waiting to schedule task 20:56:59 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-254’ 20:57:14 Removing intermediate container 5ca15fa9a709 20:57:14 ---> 939069d6ba5f 20:57:14 Step 9/10 : COPY . . 20:57:14 ---> 98e5db23930a 20:57:14 Step 10/10 : RUN ${MAKE} 20:57:14 ---> Running in 3ef6e3821a0c 20:57:14 noop 20:57:14 Removing intermediate container 3ef6e3821a0c 20:57:14 ---> fbfaf0a9275c 20:57:14 Successfully built fbfaf0a9275c 20:57:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:15 + docker inspect -f . ci-base-image-x86_64 20:57:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:15 prd-ubuntu20.04-docker-8c-8g-257 does not seem to be running inside a container 20:57:15 $ 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 20:57:15 $ docker top 52d58b1409b56e71aa6dc770629f4675587707eff7628b7f4d622326b66c9c2c -eo pid,comm [Pipeline] { [Pipeline] sh 20:57:15 + go version 20:57:15 go version go1.20.2 linux/amd64 [Pipeline] } 20:57:16 $ docker stop --time=1 52d58b1409b56e71aa6dc770629f4675587707eff7628b7f4d622326b66c9c2c 20:57:17 $ docker rm -f --volumes 52d58b1409b56e71aa6dc770629f4675587707eff7628b7f4d622326b66c9c2c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:17 + docker inspect -f . ci-base-image-x86_64 20:57:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:17 prd-ubuntu20.04-docker-8c-8g-257 does not seem to be running inside a container 20:57:17 $ 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 20:57:18 $ docker top 530361c404ef17debe6e0c776e0db0698271f796e15857b348900609727b635b -eo pid,comm [Pipeline] { [Pipeline] sh 20:57:18 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 20:57:18 + make test 20:57:18 go test ./... -coverprofile=coverage.out 20:57:23 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:57:34 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:57:34 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 48.0% of statements 20:57:39 go vet ./... 20:57:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:57:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:57:43 ./bin/test-attribution-txt.sh [Pipeline] echo 20:57:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:57:43 $ docker stop --time=1 530361c404ef17debe6e0c776e0db0698271f796e15857b348900609727b635b 20:57:45 $ docker rm -f --volumes 530361c404ef17debe6e0c776e0db0698271f796e15857b348900609727b635b [Pipeline] // withDockerContainer [Pipeline] sh 20:57:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:57:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:57:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:57:46 + ls -al . 20:57:46 total 180 20:57:46 drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 20:57 . 20:57:46 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 20:56 .. 20:57:46 -rw-rw-r-- 1 jenkins jenkins 140 Mar 14 20:56 .dockerignore 20:57:46 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 20:56 .git 20:57:46 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:56 .github 20:57:46 -rw-rw-r-- 1 jenkins jenkins 331 Mar 14 20:56 .gitignore 20:57:46 -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 20:56 .golangci.yml 20:57:46 drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 20:56 .semver 20:57:46 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 14 20:56 Attribution.txt 20:57:46 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 14 20:56 CHANGELOG.md 20:57:46 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 14 20:56 Dockerfile 20:57:46 -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 20:56 GOVERNANCE.md 20:57:46 -rw-rw-r-- 1 jenkins jenkins 680 Mar 14 20:56 Jenkinsfile 20:57:46 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 20:56 LICENSE 20:57:46 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 14 20:56 Makefile 20:57:46 -rw-rw-r-- 1 jenkins jenkins 622 Mar 14 20:56 OWNERS.md 20:57:46 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 14 20:56 README.md 20:57:46 -rw-rw-r-- 1 jenkins jenkins 12 Mar 14 20:56 VERSION 20:57:46 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 20:56 bin 20:57:46 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:56 cmd 20:57:46 -rw-r--r-- 1 jenkins jenkins 23736 Mar 14 20:57 coverage.out 20:57:46 -rw-rw-r-- 1 jenkins jenkins 3497 Mar 14 20:56 go.mod 20:57:46 -rw-rw-r-- 1 jenkins jenkins 31641 Mar 14 20:56 go.sum 20:57:46 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:56 internal 20:57:46 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 20:56 simulator 20:57:46 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 20:56 snap 20:57:46 -rw-rw-r-- 1 jenkins jenkins 229 Mar 14 20:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:46 + 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=7c5acbbe38a78294b2f031b3aca8867e5f1e249e --label arch=amd64 --label version=3.0.0-dev.17 . 20:57:46 Sending build context to Docker daemon 6.335MB 20:57:46 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 20:57:46 Step 2/22 : FROM ${BASE} AS builder 20:57:46 ---> fbfaf0a9275c 20:57:46 Step 3/22 : ARG ADD_BUILD_TAGS="" 20:57:46 ---> Running in fad021126094 20:57:46 Removing intermediate container fad021126094 20:57:46 ---> 55807815e709 20:57:46 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:57:46 ---> Running in badaa2348f63 20:57:47 Removing intermediate container badaa2348f63 20:57:47 ---> 659b920e1175 20:57:47 Step 5/22 : RUN apk add --update --no-cache make git openssh 20:57:47 ---> Running in 73ce66cd4818 20:57:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:57:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:57:47 OK: 270 MiB in 61 packages 20:57:47 Removing intermediate container 73ce66cd4818 20:57:47 ---> 65d0339efc7c 20:57:47 Step 6/22 : WORKDIR /device-modbus-go 20:57:47 ---> Running in 0725a6c90c00 20:57:48 Removing intermediate container 0725a6c90c00 20:57:48 ---> cae199d56bd6 20:57:48 Step 7/22 : COPY go.mod vendor* ./ 20:57:48 ---> 65c32b1094a7 20:57:48 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:57:48 ---> Running in 2b06e0a88385 20:57:49 Removing intermediate container 2b06e0a88385 20:57:49 ---> bf09d448a6f9 20:57:49 Step 9/22 : COPY . . 20:57:49 ---> bf8351c019aa 20:57:49 Step 10/22 : RUN ${MAKE} 20:57:49 ---> Running in 722979266ff2 20:57:49 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.17" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 20:58:07 Removing intermediate container 722979266ff2 20:58:07 ---> 04ee8e46921e 20:58:07 Step 11/22 : FROM alpine:3.17 20:58:07 3.17: Pulling from library/alpine 20:58:07 63b65145d645: Already exists 20:58:07 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 20:58:07 Status: Downloaded newer image for alpine:3.17 20:58:07 ---> b2aa39c304c2 20:58:07 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 20:58:07 ---> Running in aa68c5187c3d 20:58:07 Removing intermediate container aa68c5187c3d 20:58:07 ---> ce6cdd0fb9d7 20:58:07 Step 13/22 : RUN apk add --update --no-cache dumb-init 20:58:07 ---> Running in 2372f7985d81 20:58:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:58:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:58:07 (1/1) Installing dumb-init (1.2.5-r2) 20:58:07 Executing busybox-1.35.0-r29.trigger 20:58:07 OK: 7 MiB in 16 packages 20:58:07 Removing intermediate container 2372f7985d81 20:58:07 ---> 2552a8f1acbe 20:58:07 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 20:58:07 ---> 93577fe4b437 20:58:07 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 20:58:07 ---> 86ae0a7c2a6b 20:58:07 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 20:58:07 ---> 6144d1470b8c 20:58:07 Step 17/22 : EXPOSE 59901 20:58:07 ---> Running in 58f3b31de4e9 20:58:07 Removing intermediate container 58f3b31de4e9 20:58:07 ---> 040083bd2da4 20:58:07 Step 18/22 : ENTRYPOINT ["/device-modbus"] 20:58:07 ---> Running in 89e93b363fdb 20:58:07 Removing intermediate container 89e93b363fdb 20:58:07 ---> c94c99ca8227 20:58:07 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:58:07 ---> Running in c31eb543774e 20:58:07 Removing intermediate container c31eb543774e 20:58:07 ---> 2b236debe97e 20:58:07 Step 20/22 : LABEL arch=amd64 20:58:07 ---> Running in f239f824fb43 20:58:07 Removing intermediate container f239f824fb43 20:58:07 ---> 14cad2f8f51b 20:58:07 Step 21/22 : LABEL git_sha=7c5acbbe38a78294b2f031b3aca8867e5f1e249e 20:58:08 ---> Running in e80ef38c0771 20:58:08 Removing intermediate container e80ef38c0771 20:58:08 ---> bd27eeac2c03 20:58:08 Step 22/22 : LABEL version=3.0.0-dev.17 20:58:08 ---> Running in 7470193341ef 20:58:08 Removing intermediate container 7470193341ef 20:58:08 ---> 607f41c79c5f 20:58:08 [Warning] One or more build-args [ARCH] were not consumed 20:58:08 Successfully built 607f41c79c5f 20:58:08 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:58:08 provisioning config files... 20:58:08 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2334288178932790105tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:08 ---> docker-login.sh 20:58:08 nexus3.edgexfoundry.org:10001 20:58:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:08 Configure a credential helper to remove this warning. See 20:58:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:08 20:58:08 Login Succeeded 20:58:08 nexus3.edgexfoundry.org:10002 20:58:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:08 Configure a credential helper to remove this warning. See 20:58:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:08 20:58:08 Login Succeeded 20:58:08 nexus3.edgexfoundry.org:10003 20:58:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:08 Configure a credential helper to remove this warning. See 20:58:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:08 20:58:08 Login Succeeded 20:58:08 nexus3.edgexfoundry.org:10004 20:58:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:08 Configure a credential helper to remove this warning. See 20:58:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:08 20:58:08 Login Succeeded 20:58:08 docker.io 20:58:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:08 Configure a credential helper to remove this warning. See 20:58:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:08 20:58:08 Login Succeeded 20:58:08 ---> docker-login.sh ends [Pipeline] } 20:58:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:58:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:58:09 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 20:58:09 7c5acbbe38a78294b2f031b3aca8867e5f1e249e 20:58:09 latest 20:58:09 3.0.0-dev.17 20:58:09 7c5acbbe38a78294b2f031b3aca8867e5f1e249e-3.0.0-dev.17 20:58:09 main 20:58:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:09 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:7c5acbbe38a78294b2f031b3aca8867e5f1e249e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:09 + docker push nexus3.edgexfoundry.org:10004/device-modbus:7c5acbbe38a78294b2f031b3aca8867e5f1e249e 20:58:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:58:09 17a358ecfe39: Preparing 20:58:09 aff7920ab0ef: Preparing 20:58:09 4b569ca7ef25: Preparing 20:58:09 49c05327b00e: Preparing 20:58:09 7cd52847ad77: Preparing 20:58:09 7cd52847ad77: Layer already exists 20:58:09 49c05327b00e: Pushed 20:58:09 aff7920ab0ef: Pushed 20:58:09 17a358ecfe39: Pushed 20:58:12 4b569ca7ef25: Pushed 20:58:12 7c5acbbe38a78294b2f031b3aca8867e5f1e249e: digest: sha256:b3b91aa333c61979ee7f113352a0e95e65ebf37ab727420979bbe073b4c242dc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:12 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:12 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 20:58:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:58:12 17a358ecfe39: Preparing 20:58:12 aff7920ab0ef: Preparing 20:58:12 4b569ca7ef25: Preparing 20:58:12 49c05327b00e: Preparing 20:58:12 7cd52847ad77: Preparing 20:58:12 49c05327b00e: Layer already exists 20:58:12 aff7920ab0ef: Layer already exists 20:58:12 7cd52847ad77: Layer already exists 20:58:12 17a358ecfe39: Layer already exists 20:58:12 4b569ca7ef25: Layer already exists 20:58:12 latest: digest: sha256:b3b91aa333c61979ee7f113352a0e95e65ebf37ab727420979bbe073b4c242dc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:13 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:13 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.17 20:58:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:58:13 17a358ecfe39: Preparing 20:58:13 aff7920ab0ef: Preparing 20:58:13 4b569ca7ef25: Preparing 20:58:13 49c05327b00e: Preparing 20:58:13 7cd52847ad77: Preparing 20:58:13 17a358ecfe39: Layer already exists 20:58:13 aff7920ab0ef: Layer already exists 20:58:13 4b569ca7ef25: Layer already exists 20:58:13 7cd52847ad77: Layer already exists 20:58:13 49c05327b00e: Layer already exists 20:58:13 3.0.0-dev.17: digest: sha256:b3b91aa333c61979ee7f113352a0e95e65ebf37ab727420979bbe073b4c242dc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:13 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:7c5acbbe38a78294b2f031b3aca8867e5f1e249e-3.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:14 + docker push nexus3.edgexfoundry.org:10004/device-modbus:7c5acbbe38a78294b2f031b3aca8867e5f1e249e-3.0.0-dev.17 20:58:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:58:14 17a358ecfe39: Preparing 20:58:14 aff7920ab0ef: Preparing 20:58:14 4b569ca7ef25: Preparing 20:58:14 49c05327b00e: Preparing 20:58:14 7cd52847ad77: Preparing 20:58:14 4b569ca7ef25: Layer already exists 20:58:14 7cd52847ad77: Layer already exists 20:58:14 aff7920ab0ef: Layer already exists 20:58:14 49c05327b00e: Layer already exists 20:58:14 17a358ecfe39: Layer already exists 20:58:14 7c5acbbe38a78294b2f031b3aca8867e5f1e249e-3.0.0-dev.17: digest: sha256:b3b91aa333c61979ee7f113352a0e95e65ebf37ab727420979bbe073b4c242dc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:14 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:14 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 20:58:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:58:14 17a358ecfe39: Preparing 20:58:14 aff7920ab0ef: Preparing 20:58:14 4b569ca7ef25: Preparing 20:58:14 49c05327b00e: Preparing 20:58:14 7cd52847ad77: Preparing 20:58:14 4b569ca7ef25: Layer already exists 20:58:14 7cd52847ad77: Layer already exists 20:58:14 aff7920ab0ef: Layer already exists 20:58:14 17a358ecfe39: Layer already exists 20:58:14 49c05327b00e: Layer already exists 20:58:14 main: digest: sha256:b3b91aa333c61979ee7f113352a0e95e65ebf37ab727420979bbe073b4c242dc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:58:14 ===================================================== [Pipeline] echo 20:58:14 taggedImages: 20:58:14 - nexus3.edgexfoundry.org:10004/device-modbus:7c5acbbe38a78294b2f031b3aca8867e5f1e249e 20:58:14 - nexus3.edgexfoundry.org:10004/device-modbus:latest 20:58:14 - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.17 20:58:14 - nexus3.edgexfoundry.org:10004/device-modbus:7c5acbbe38a78294b2f031b3aca8867e5f1e249e-3.0.0-dev.17 20:58:14 - 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 20:58:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:58:15 20:58:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:58:15 latest: Pulling from edgex-lftools-log-publisher 20:58:15 5eb5b503b376: Pulling fs layer 20:58:15 5c69ac0246d0: Pulling fs layer 20:58:15 ec43610c2a17: Pulling fs layer 20:58:15 3a2ae6a8a46f: Pulling fs layer 20:58:15 33b1e0a273af: Pulling fs layer 20:58:15 5d3b04190fa2: Pulling fs layer 20:58:15 2f39f015ded8: Pulling fs layer 20:58:15 33b1e0a273af: Waiting 20:58:15 5d3b04190fa2: Waiting 20:58:15 3a2ae6a8a46f: Waiting 20:58:15 2f39f015ded8: Waiting 20:58:15 5c69ac0246d0: Verifying Checksum 20:58:15 5c69ac0246d0: Download complete 20:58:15 3a2ae6a8a46f: Verifying Checksum 20:58:15 3a2ae6a8a46f: Download complete 20:58:15 33b1e0a273af: Verifying Checksum 20:58:15 33b1e0a273af: Download complete 20:58:15 5d3b04190fa2: Verifying Checksum 20:58:15 5d3b04190fa2: Download complete 20:58:15 ec43610c2a17: Download complete 20:58:15 5eb5b503b376: Verifying Checksum 20:58:15 5eb5b503b376: Download complete 20:58:16 2f39f015ded8: Download complete 20:58:16 5eb5b503b376: Pull complete 20:58:16 5c69ac0246d0: Pull complete 20:58:17 ec43610c2a17: Pull complete 20:58:17 3a2ae6a8a46f: Pull complete 20:58:17 33b1e0a273af: Pull complete 20:58:17 5d3b04190fa2: Pull complete 20:58:20 2f39f015ded8: Pull complete 20:58:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:58:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:58:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:21 prd-ubuntu20.04-docker-8c-8g-257 does not seem to be running inside a container 20:58:21 $ 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 20:58:22 $ docker top b49aad5cf0fc9df579daf64d190bbf6189bcaf7562cd1675cf04c3a9c431eed1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:22 ---> job-cost.sh 20:58:22 lf-activate-venv: SKIPPING 20:58:22 INFO: No Stack... 20:58:22 INFO: Retrieving Pricing Info for: v3-standard-8 20:58:23 INFO: Archiving Costs [Pipeline] sh 20:58:23 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 20:58:23 + cut -d, -f6 [Pipeline] lock 20:58:23 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-83-stack-cost] 20:58:23 Resource [jenkins-edgexfoundry-device-modbus-go-main-83-stack-cost] did not exist. Created. 20:58:23 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-83-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:58:23 + echo total: 0.2199999988079071 [Pipeline] stash 20:58:23 Stashed 1 file(s) [Pipeline] } 20:58:23 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-83-stack-cost] [Pipeline] // lock [Pipeline] } 20:58:23 $ docker stop --time=1 b49aad5cf0fc9df579daf64d190bbf6189bcaf7562cd1675cf04c3a9c431eed1 20:58:25 $ docker rm -f --volumes b49aad5cf0fc9df579daf64d190bbf6189bcaf7562cd1675cf04c3a9c431eed1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:00:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-263 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 21:00:04 Running in /w/workspace/device-modbus-go/83 [Pipeline] { [Pipeline] checkout 21:00:04 Selected Git installation does not exist. Using Default 21:00:04 The recommended git tool is: NONE 21:00:11 using credential edgex-jenkins-ssh 21:00:11 Cloning the remote Git repository 21:00:11 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 21:00:11 > git init /w/workspace/device-modbus-go/83 # timeout=10 21:00:12 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 21:00:12 > git --version # timeout=10 21:00:12 > git --version # 'git version 2.25.1' 21:00:12 using GIT_SSH to set credentials SSH Credentials for GitHub 21:00:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:00:13 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 21:00:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:00:14 Avoid second fetch 21:00:14 Checking out Revision 7c5acbbe38a78294b2f031b3aca8867e5f1e249e (main) 21:00:14 > git config core.sparsecheckout # timeout=10 21:00:14 > git checkout -f 7c5acbbe38a78294b2f031b3aca8867e5f1e249e # timeout=10 21:00:15 Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2 (#426)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:00:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:00:16 % Total % Received % Xferd Average Speed Time Time Time Current 21:00:16 Dload Upload Total Spent Left Speed 21:00:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh 21:00:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:00:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 21:00:17 sudo tee /etc/docker/daemon.new 21:00:17 { 21:00:17 "registry-mirrors": [ 21:00:17 "https://nexus3.edgexfoundry.org:10001" 21:00:17 ], 21:00:17 "bip": "10.250.0.254/24", 21:00:17 "hosts": [ 21:00:17 "tcp://0.0.0.0:5555", 21:00:17 "unix:///var/run/docker.sock" 21:00:17 ], 21:00:17 "mtu": 1458, 21:00:17 "selinux-enabled": true, 21:00:17 "seccomp-profile": "/etc/docker/seccomp.json" 21:00:17 } [Pipeline] sh 21:00:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:00:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:00:38 provisioning config files... 21:00:38 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/83@tmp/config2157442820251729427tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:00:38 ---> docker-login.sh 21:00:38 nexus3.edgexfoundry.org:10001 21:00:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:39 Configure a credential helper to remove this warning. See 21:00:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:39 21:00:39 Login Succeeded 21:00:39 nexus3.edgexfoundry.org:10002 21:00:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:39 Configure a credential helper to remove this warning. See 21:00:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:39 21:00:39 Login Succeeded 21:00:39 nexus3.edgexfoundry.org:10003 21:00:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:40 Configure a credential helper to remove this warning. See 21:00:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:40 21:00:40 Login Succeeded 21:00:40 nexus3.edgexfoundry.org:10004 21:00:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:40 Configure a credential helper to remove this warning. See 21:00:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:40 21:00:40 Login Succeeded 21:00:40 docker.io 21:00:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:41 Configure a credential helper to remove this warning. See 21:00:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:41 21:00:41 Login Succeeded 21:00:41 ---> docker-login.sh ends [Pipeline] } 21:00:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:00:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:00:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:00:41 ========================================================= 21:00:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:00:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:42 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:00:42 Sending build context to Docker daemon 3.296MB 21:00:42 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 21:00:42 Step 2/10 : FROM ${BASE} AS builder 21:00:42 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:00:42 af6eaf76a39c: Pulling fs layer 21:00:42 55522c791124: Pulling fs layer 21:00:42 ce5c4a1c91eb: Pulling fs layer 21:00:42 169dfbe0d373: Pulling fs layer 21:00:42 e1ff8fa3b103: Pulling fs layer 21:00:42 52ebb69f0ebf: Pulling fs layer 21:00:42 5abe8eddf0d5: Pulling fs layer 21:00:42 169dfbe0d373: Waiting 21:00:42 e1ff8fa3b103: Waiting 21:00:42 52ebb69f0ebf: Waiting 21:00:42 5abe8eddf0d5: Waiting 21:00:42 55522c791124: Download complete 21:00:43 169dfbe0d373: Verifying Checksum 21:00:43 169dfbe0d373: Download complete 21:00:43 e1ff8fa3b103: Verifying Checksum 21:00:43 e1ff8fa3b103: Download complete 21:00:43 af6eaf76a39c: Verifying Checksum 21:00:43 af6eaf76a39c: Download complete 21:00:44 af6eaf76a39c: Pull complete 21:00:44 5abe8eddf0d5: Verifying Checksum 21:00:44 5abe8eddf0d5: Download complete 21:00:44 55522c791124: Pull complete 21:00:45 ce5c4a1c91eb: Verifying Checksum 21:00:45 ce5c4a1c91eb: Download complete 21:00:45 52ebb69f0ebf: Verifying Checksum 21:00:45 52ebb69f0ebf: Download complete 21:00:58 ce5c4a1c91eb: Pull complete 21:00:58 169dfbe0d373: Pull complete 21:00:58 e1ff8fa3b103: Pull complete 21:01:04 52ebb69f0ebf: Pull complete 21:01:05 5abe8eddf0d5: Pull complete 21:01:05 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 21:01:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:01:06 ---> 6cb57ee374ae 21:01:06 Step 3/10 : ARG ADD_BUILD_TAGS="" 21:01:08 ---> Running in 1c8229f97a48 21:01:08 Removing intermediate container 1c8229f97a48 21:01:08 ---> fbcfe49c445f 21:01:08 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:01:08 ---> Running in fefeb6d7241e 21:01:09 Removing intermediate container fefeb6d7241e 21:01:09 ---> 4c37f484dce0 21:01:09 Step 5/10 : RUN apk add --update --no-cache make git openssh 21:01:09 ---> Running in b713e90b8a85 21:01:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:01:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:01:12 (1/8) Installing openssh-keygen (9.1_p1-r2) 21:01:12 (2/8) Installing libedit (20221030.3.1-r0) 21:01:12 (3/8) Installing openssh-client-common (9.1_p1-r2) 21:01:12 (4/8) Installing openssh-client-default (9.1_p1-r2) 21:01:12 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 21:01:12 (6/8) Installing openssh-server-common (9.1_p1-r2) 21:01:12 (7/8) Installing openssh-server (9.1_p1-r2) 21:01:12 (8/8) Installing openssh (9.1_p1-r2) 21:01:12 Executing busybox-1.35.0-r29.trigger 21:01:12 OK: 270 MiB in 61 packages 21:01:14 Removing intermediate container b713e90b8a85 21:01:14 ---> 491099cbc5ee 21:01:14 Step 6/10 : WORKDIR /device-modbus-go 21:01:14 ---> Running in 02059b4911f6 21:01:14 Removing intermediate container 02059b4911f6 21:01:14 ---> 20b3bb5b25bb 21:01:14 Step 7/10 : COPY go.mod vendor* ./ 21:01:15 ---> d7d9cbda16c4 21:01:15 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:01:15 ---> Running in b97edb024047 21:02:23 Removing intermediate container b97edb024047 21:02:23 ---> 0986cd7e38fe 21:02:23 Step 9/10 : COPY . . 21:02:23 ---> 2ae9acf4eb64 21:02:23 Step 10/10 : RUN ${MAKE} 21:02:23 ---> Running in d402bff9eb44 21:02:23 noop 21:02:23 Removing intermediate container d402bff9eb44 21:02:23 ---> 57547249aafa 21:02:23 Successfully built 57547249aafa 21:02:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:23 + docker inspect -f . ci-base-image-arm64 21:02:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:02:23 prd-ubuntu20.04-docker-arm64-4c-16g-263 does not seem to be running inside a container 21:02:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/83 -v /w/workspace/device-modbus-go/83:/w/workspace/device-modbus-go/83:rw,z -v /w/workspace/device-modbus-go/83@tmp:/w/workspace/device-modbus-go/83@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 21:02:25 $ docker top 855cf97a198e3925af68b2fe655fdd3e627e92a9aa8bbf16e2cd5db3da2ea349 -eo pid,comm [Pipeline] { [Pipeline] sh 21:02:26 + go version 21:02:26 go version go1.20.2 linux/arm64 [Pipeline] } 21:02:26 $ docker stop --time=1 855cf97a198e3925af68b2fe655fdd3e627e92a9aa8bbf16e2cd5db3da2ea349 21:02:27 $ docker rm -f --volumes 855cf97a198e3925af68b2fe655fdd3e627e92a9aa8bbf16e2cd5db3da2ea349 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:28 + docker inspect -f . ci-base-image-arm64 21:02:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:02:28 prd-ubuntu20.04-docker-arm64-4c-16g-263 does not seem to be running inside a container 21:02:28 $ 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/83 -v /w/workspace/device-modbus-go/83:/w/workspace/device-modbus-go/83:rw,z -v /w/workspace/device-modbus-go/83@tmp:/w/workspace/device-modbus-go/83@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 21:02:29 $ docker top e85a519d29d2690f2953ba23df339148a6c795118c14b09fef4edd6c79e6e608 -eo pid,comm [Pipeline] { [Pipeline] sh 21:02:30 + git config --global --add safe.directory /w/workspace/device-modbus-go/83 [Pipeline] fileExists [Pipeline] sh 21:02:31 + make test 21:02:31 go test ./... -coverprofile=coverage.out 21:03:10 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:05:47 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:05:47 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.077s coverage: 48.0% of statements 21:05:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:05:47 go vet ./... 21:06:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:06:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:06:19 ./bin/test-attribution-txt.sh [Pipeline] echo 21:06:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:06:19 $ docker stop --time=1 e85a519d29d2690f2953ba23df339148a6c795118c14b09fef4edd6c79e6e608 21:06:22 $ docker rm -f --volumes e85a519d29d2690f2953ba23df339148a6c795118c14b09fef4edd6c79e6e608 [Pipeline] // withDockerContainer [Pipeline] sh 21:06:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:06:24 Warning: overwriting stash ‘coverage-report’ 21:06:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:06:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:06:25 + ls -al . 21:06:25 total 176 21:06:25 drwxrwxr-x 9 jenkins jenkins 4096 Mar 14 21:02 . 21:06:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 21:00 .. 21:06:25 -rw-rw-r-- 1 jenkins jenkins 140 Mar 14 21:00 .dockerignore 21:06:25 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 21:00 .git 21:06:25 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 21:00 .github 21:06:25 -rw-rw-r-- 1 jenkins jenkins 331 Mar 14 21:00 .gitignore 21:06:25 -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 21:00 .golangci.yml 21:06:25 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 14 21:00 Attribution.txt 21:06:25 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 14 21:00 CHANGELOG.md 21:06:25 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 14 21:00 Dockerfile 21:06:25 -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 21:00 GOVERNANCE.md 21:06:25 -rw-rw-r-- 1 jenkins jenkins 680 Mar 14 21:00 Jenkinsfile 21:06:25 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 21:00 LICENSE 21:06:25 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 14 21:00 Makefile 21:06:25 -rw-rw-r-- 1 jenkins jenkins 622 Mar 14 21:00 OWNERS.md 21:06:25 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 14 21:00 README.md 21:06:25 -rw-rw-r-- 1 jenkins jenkins 12 Mar 14 20:56 VERSION 21:06:25 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 21:00 bin 21:06:25 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 21:00 cmd 21:06:25 -rw-r--r-- 1 jenkins jenkins 23736 Mar 14 21:05 coverage.out 21:06:25 -rw-rw-r-- 1 jenkins jenkins 3497 Mar 14 21:00 go.mod 21:06:25 -rw-rw-r-- 1 jenkins jenkins 31641 Mar 14 21:00 go.sum 21:06:25 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 21:00 internal 21:06:25 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 21:00 simulator 21:06:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 21:00 snap 21:06:25 -rw-rw-r-- 1 jenkins jenkins 229 Mar 14 21:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:26 + 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=7c5acbbe38a78294b2f031b3aca8867e5f1e249e --label arch=arm64 --label version=3.0.0-dev.17 . 21:06:26 Sending build context to Docker daemon 3.32MB 21:06:26 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 21:06:26 Step 2/22 : FROM ${BASE} AS builder 21:06:26 ---> 57547249aafa 21:06:26 Step 3/22 : ARG ADD_BUILD_TAGS="" 21:06:26 ---> Running in e0390cba71fc 21:06:26 Removing intermediate container e0390cba71fc 21:06:26 ---> f78fc13dae2e 21:06:26 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:06:27 ---> Running in 8ec19ba5e26c 21:06:27 Removing intermediate container 8ec19ba5e26c 21:06:27 ---> 858a4e09debf 21:06:27 Step 5/22 : RUN apk add --update --no-cache make git openssh 21:06:27 ---> Running in 26c6d08f94e8 21:06:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:06:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:06:30 OK: 270 MiB in 61 packages 21:06:31 Removing intermediate container 26c6d08f94e8 21:06:31 ---> f5b83cd7b942 21:06:31 Step 6/22 : WORKDIR /device-modbus-go 21:06:31 ---> Running in df3653336570 21:06:32 Removing intermediate container df3653336570 21:06:32 ---> e0ee36a79245 21:06:32 Step 7/22 : COPY go.mod vendor* ./ 21:06:33 ---> 3d6aaa4f877f 21:06:33 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:06:33 ---> Running in 4286f3791333 21:06:37 Removing intermediate container 4286f3791333 21:06:37 ---> 462cb929ac0c 21:06:37 Step 9/22 : COPY . . 21:06:38 ---> 672fb7035cad 21:06:38 Step 10/22 : RUN ${MAKE} 21:06:38 ---> Running in 1d348d0bfbb0 21:06:39 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.17" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 21:09:16 Removing intermediate container 1d348d0bfbb0 21:09:16 ---> 20b92a9b2a8c 21:09:16 Step 11/22 : FROM alpine:3.17 21:09:16 3.17: Pulling from library/alpine 21:09:16 af6eaf76a39c: Already exists 21:09:16 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 21:09:16 Status: Downloaded newer image for alpine:3.17 21:09:16 ---> d74e625d9115 21:09:16 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:09:16 ---> Running in 2b413642d3f3 21:09:16 Removing intermediate container 2b413642d3f3 21:09:16 ---> c3068585ae82 21:09:16 Step 13/22 : RUN apk add --update --no-cache dumb-init 21:09:16 ---> Running in 9a535afdf7e4 21:09:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:09:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:09:16 (1/1) Installing dumb-init (1.2.5-r2) 21:09:16 Executing busybox-1.35.0-r29.trigger 21:09:16 OK: 8 MiB in 16 packages 21:09:16 Removing intermediate container 9a535afdf7e4 21:09:16 ---> c5598b4b2820 21:09:16 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 21:09:16 ---> 91449dbec0b7 21:09:16 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 21:09:16 ---> 9659844f2d1f 21:09:16 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:09:16 ---> b9bbe9e2647b 21:09:16 Step 17/22 : EXPOSE 59901 21:09:16 ---> Running in e3324736b5ef 21:09:17 Removing intermediate container e3324736b5ef 21:09:17 ---> 5b90f4452ac3 21:09:17 Step 18/22 : ENTRYPOINT ["/device-modbus"] 21:09:17 ---> Running in b2d583debdcb 21:09:17 Removing intermediate container b2d583debdcb 21:09:17 ---> ec77da11f1c9 21:09:17 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:09:17 ---> Running in 10508fc34d8c 21:09:18 Removing intermediate container 10508fc34d8c 21:09:18 ---> dd9a2e5fa3ac 21:09:18 Step 20/22 : LABEL arch=arm64 21:09:18 ---> Running in 97a35bbf305f 21:09:18 Removing intermediate container 97a35bbf305f 21:09:18 ---> b2f4e98a9cfa 21:09:18 Step 21/22 : LABEL git_sha=7c5acbbe38a78294b2f031b3aca8867e5f1e249e 21:09:18 ---> Running in 4b127534ce9b 21:09:19 Removing intermediate container 4b127534ce9b 21:09:19 ---> 0f94c38f4136 21:09:19 Step 22/22 : LABEL version=3.0.0-dev.17 21:09:19 ---> Running in 18b576c35760 21:09:19 Removing intermediate container 18b576c35760 21:09:19 ---> b2c575ee5ce7 21:09:19 [Warning] One or more build-args [ARCH] were not consumed 21:09:19 Successfully built b2c575ee5ce7 21:09:19 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 21:09:19 provisioning config files... 21:09:19 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/83@tmp/config4422299102467181399tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:20 ---> docker-login.sh 21:09:20 nexus3.edgexfoundry.org:10001 21:09:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:20 Configure a credential helper to remove this warning. See 21:09:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:20 21:09:20 Login Succeeded 21:09:20 nexus3.edgexfoundry.org:10002 21:09:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:20 Configure a credential helper to remove this warning. See 21:09:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:20 21:09:20 Login Succeeded 21:09:20 nexus3.edgexfoundry.org:10003 21:09:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:21 Configure a credential helper to remove this warning. See 21:09:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:21 21:09:21 Login Succeeded 21:09:21 nexus3.edgexfoundry.org:10004 21:09:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:21 Configure a credential helper to remove this warning. See 21:09:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:21 21:09:21 Login Succeeded 21:09:21 docker.io 21:09:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:21 Configure a credential helper to remove this warning. See 21:09:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:21 21:09:21 Login Succeeded 21:09:21 ---> docker-login.sh ends [Pipeline] } 21:09:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:09:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:09:22 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 21:09:22 7c5acbbe38a78294b2f031b3aca8867e5f1e249e 21:09:22 latest 21:09:22 3.0.0-dev.17 21:09:22 7c5acbbe38a78294b2f031b3aca8867e5f1e249e-3.0.0-dev.17 21:09:22 main 21:09:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:22 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:7c5acbbe38a78294b2f031b3aca8867e5f1e249e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:22 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:7c5acbbe38a78294b2f031b3aca8867e5f1e249e 21:09:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:09:22 f7cbca47bf2f: Preparing 21:09:22 9c295dc9394d: Preparing 21:09:22 fe99c21792ff: Preparing 21:09:22 70a9a7748ac3: Preparing 21:09:22 edf70074bd40: Preparing 21:09:22 edf70074bd40: Layer already exists 21:09:23 f7cbca47bf2f: Pushed 21:09:23 9c295dc9394d: Pushed 21:09:23 70a9a7748ac3: Pushed 21:09:28 fe99c21792ff: Pushed 21:09:28 7c5acbbe38a78294b2f031b3aca8867e5f1e249e: digest: sha256:d0e969ec10a9eeaffce763f267143afc87ce9828bc96fb209901632799f2730d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:28 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:29 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 21:09:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:09:29 f7cbca47bf2f: Preparing 21:09:29 9c295dc9394d: Preparing 21:09:29 fe99c21792ff: Preparing 21:09:29 70a9a7748ac3: Preparing 21:09:29 edf70074bd40: Preparing 21:09:29 fe99c21792ff: Layer already exists 21:09:29 f7cbca47bf2f: Layer already exists 21:09:29 9c295dc9394d: Layer already exists 21:09:29 70a9a7748ac3: Layer already exists 21:09:29 edf70074bd40: Layer already exists 21:09:29 latest: digest: sha256:d0e969ec10a9eeaffce763f267143afc87ce9828bc96fb209901632799f2730d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:29 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:29 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.17 21:09:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:09:29 f7cbca47bf2f: Preparing 21:09:29 9c295dc9394d: Preparing 21:09:29 fe99c21792ff: Preparing 21:09:29 70a9a7748ac3: Preparing 21:09:29 edf70074bd40: Preparing 21:09:29 9c295dc9394d: Layer already exists 21:09:29 fe99c21792ff: Layer already exists 21:09:29 edf70074bd40: Layer already exists 21:09:29 70a9a7748ac3: Layer already exists 21:09:29 f7cbca47bf2f: Layer already exists 21:09:30 3.0.0-dev.17: digest: sha256:d0e969ec10a9eeaffce763f267143afc87ce9828bc96fb209901632799f2730d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:30 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:7c5acbbe38a78294b2f031b3aca8867e5f1e249e-3.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:30 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:7c5acbbe38a78294b2f031b3aca8867e5f1e249e-3.0.0-dev.17 21:09:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:09:30 f7cbca47bf2f: Preparing 21:09:30 9c295dc9394d: Preparing 21:09:30 fe99c21792ff: Preparing 21:09:30 70a9a7748ac3: Preparing 21:09:30 edf70074bd40: Preparing 21:09:30 9c295dc9394d: Layer already exists 21:09:30 edf70074bd40: Layer already exists 21:09:30 70a9a7748ac3: Layer already exists 21:09:30 f7cbca47bf2f: Layer already exists 21:09:30 fe99c21792ff: Layer already exists 21:09:30 7c5acbbe38a78294b2f031b3aca8867e5f1e249e-3.0.0-dev.17: digest: sha256:d0e969ec10a9eeaffce763f267143afc87ce9828bc96fb209901632799f2730d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:31 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:31 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 21:09:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:09:31 f7cbca47bf2f: Preparing 21:09:31 9c295dc9394d: Preparing 21:09:31 fe99c21792ff: Preparing 21:09:31 70a9a7748ac3: Preparing 21:09:31 edf70074bd40: Preparing 21:09:31 edf70074bd40: Layer already exists 21:09:31 fe99c21792ff: Layer already exists 21:09:31 f7cbca47bf2f: Layer already exists 21:09:31 9c295dc9394d: Layer already exists 21:09:31 70a9a7748ac3: Layer already exists 21:09:31 main: digest: sha256:d0e969ec10a9eeaffce763f267143afc87ce9828bc96fb209901632799f2730d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:09:31 ===================================================== [Pipeline] echo 21:09:31 taggedImages: 21:09:31 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:7c5acbbe38a78294b2f031b3aca8867e5f1e249e 21:09:31 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 21:09:31 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.17 21:09:31 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:7c5acbbe38a78294b2f031b3aca8867e5f1e249e-3.0.0-dev.17 21:09:31 - 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 21:09:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:09:31 21:09:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:09:32 arm64: Pulling from edgex-lftools-log-publisher 21:09:32 8998bd30e6a1: Pulling fs layer 21:09:32 04944245beec: Pulling fs layer 21:09:32 699f458cf7ca: Pulling fs layer 21:09:32 765212b225bb: Pulling fs layer 21:09:32 f23df028b6ca: Pulling fs layer 21:09:32 d65c8cfc05b1: Pulling fs layer 21:09:32 2437ff75d9bd: Pulling fs layer 21:09:32 f23df028b6ca: Waiting 21:09:32 d65c8cfc05b1: Waiting 21:09:32 2437ff75d9bd: Waiting 21:09:32 765212b225bb: Waiting 21:09:32 04944245beec: Verifying Checksum 21:09:32 04944245beec: Download complete 21:09:32 765212b225bb: Verifying Checksum 21:09:32 765212b225bb: Download complete 21:09:32 f23df028b6ca: Download complete 21:09:32 d65c8cfc05b1: Verifying Checksum 21:09:32 d65c8cfc05b1: Download complete 21:09:32 699f458cf7ca: Verifying Checksum 21:09:32 699f458cf7ca: Download complete 21:09:33 8998bd30e6a1: Verifying Checksum 21:09:33 8998bd30e6a1: Download complete 21:09:35 2437ff75d9bd: Verifying Checksum 21:09:35 2437ff75d9bd: Download complete 21:09:37 8998bd30e6a1: Pull complete 21:09:37 04944245beec: Pull complete 21:09:38 699f458cf7ca: Pull complete 21:09:39 765212b225bb: Pull complete 21:09:39 f23df028b6ca: Pull complete 21:09:39 d65c8cfc05b1: Pull complete 21:09:54 2437ff75d9bd: Pull complete 21:09:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:09:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:09:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:55 prd-ubuntu20.04-docker-arm64-4c-16g-263 does not seem to be running inside a container 21:09:55 $ 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/83 -v /w/workspace/device-modbus-go/83:/w/workspace/device-modbus-go/83:rw,z -v /w/workspace/device-modbus-go/83@tmp:/w/workspace/device-modbus-go/83@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 21:09:59 $ docker top 58d4499929350f7a3c67768ccad75305e8d1cf64964426596ca4dc2167ca8a31 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:59 ---> job-cost.sh 21:09:59 lf-activate-venv: SKIPPING 21:09:59 INFO: No Stack... 21:10:00 INFO: Retrieving Pricing Info for: v3-standard-4 21:10:01 INFO: Archiving Costs [Pipeline] sh 21:10:01 + + catcut /w/workspace/device-modbus-go/83/archives/cost.csv -d, -f6 21:10:01 [Pipeline] lock 21:10:01 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-83-stack-cost] 21:10:01 Resource [jenkins-edgexfoundry-device-modbus-go-main-83-stack-cost] did not exist. Created. 21:10:01 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-83-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:10:02 /w/workspace/device-modbus-go/83@tmp/durable-6c2ddd1a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:10:03 + echo total: 0.10999999940395355 [Pipeline] stash 21:10:03 Warning: overwriting stash ‘stack-cost’ 21:10:03 Stashed 1 file(s) [Pipeline] } 21:10:03 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-83-stack-cost] [Pipeline] // lock [Pipeline] } 21:10:03 $ docker stop --time=1 58d4499929350f7a3c67768ccad75305e8d1cf64964426596ca4dc2167ca8a31 21:10:04 $ docker rm -f --volumes 58d4499929350f7a3c67768ccad75305e8d1cf64964426596ca4dc2167ca8a31 [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 21:10:05 provisioning config files... 21:10:05 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7832456161876851484tmp [Pipeline] { [Pipeline] sh 21:10:05 + set +x 21:10:05 + curl -s https://codecov.io/bash 21:10:05 + bash -s -- 21:10:05 21:10:05 _____ _ 21:10:05 / ____| | | 21:10:05 | | ___ __| | ___ ___ _____ __ 21:10:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:10:05 | |___| (_) | (_| | __/ (_| (_) \ V / 21:10:05 \_____\___/ \__,_|\___|\___\___/ \_/ 21:10:05 Bash-1.0.6 21:10:05 21:10:05 21:10:05 ==> git version 2.25.1 found 21:10:05 ==> 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 21:10:05 Release-Date: 2020-01-08 21:10:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:10:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:10:05 ==> Jenkins CI detected. 21:10:05 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 21:10:05 project root: . 21:10:05 --> token set from env 21:10:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:10:05 ==> Running gcov in . (disable via -X gcov) 21:10:05 ==> Python coveragepy not found 21:10:05 ==> Searching for coverage reports in: 21:10:05 + . 21:10:05 -> Found 1 reports 21:10:05 ==> Detecting git/mercurial file structure 21:10:05 ==> Reading reports 21:10:05 + ./coverage.out bytes=23736 21:10:05 ==> Appending adjustments 21:10:05 https://docs.codecov.io/docs/fixing-reports 21:10:05 + Found adjustments 21:10:05 ==> Gzipping contents 21:10:05 4.0K /tmp/codecov.Eb2keW.gz 21:10:05 ==> Uploading reports 21:10:05 url: https://codecov.io 21:10:05 query: branch=main&commit=7c5acbbe38a78294b2f031b3aca8867e5f1e249e&build=83&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F83%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:10:05 -> Pinging Codecov 21:10:05 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=7c5acbbe38a78294b2f031b3aca8867e5f1e249e&build=83&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F83%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:10:05 -> Uploading to 21:10:05 https://storage.googleapis.com/codecov/v4/raw/2023-03-14/55DBCA73C666E3227836607328DD7E49/7c5acbbe38a78294b2f031b3aca8867e5f1e249e/7c5747c7-5f0d-4b8c-ba6c-158a05d682de.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230314%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230314T211005Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=aa68edca315e1be52bb0f2b628c89df40d5c4efb09006035b7534bef3fb24d37 21:10:05 % Total % Received % Xferd Average Speed Time Time Time Current 21:10:05 Dload Upload Total Spent Left Speed 21:10:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3909 0 0 100 3909 0 14477 --:--:-- --:--:-- --:--:-- 14477 21:10:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/7c5acbbe38a78294b2f031b3aca8867e5f1e249e [Pipeline] } 21:10:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:10:06 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:10:06 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:10:06 21:10:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:10:07 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:10:07 df9b9388f04a: Pulling fs layer 21:10:07 52dc419b0ee2: Pulling fs layer 21:10:07 25bc292e5bac: Pulling fs layer 21:10:07 114826534d7a: Pulling fs layer 21:10:07 4657fd5d0bcf: Pulling fs layer 21:10:07 6ad1cebc031e: Pulling fs layer 21:10:07 8a3aa393b2d8: Pulling fs layer 21:10:07 4657fd5d0bcf: Waiting 21:10:07 8a3aa393b2d8: Waiting 21:10:07 6ad1cebc031e: Waiting 21:10:07 25bc292e5bac: Verifying Checksum 21:10:07 25bc292e5bac: Download complete 21:10:07 52dc419b0ee2: Verifying Checksum 21:10:07 52dc419b0ee2: Download complete 21:10:07 4657fd5d0bcf: Verifying Checksum 21:10:07 4657fd5d0bcf: Download complete 21:10:07 df9b9388f04a: Download complete 21:10:07 df9b9388f04a: Pull complete 21:10:07 52dc419b0ee2: Pull complete 21:10:07 6ad1cebc031e: Verifying Checksum 21:10:07 6ad1cebc031e: Download complete 21:10:07 25bc292e5bac: Pull complete 21:10:08 114826534d7a: Verifying Checksum 21:10:08 114826534d7a: Download complete 21:10:08 8a3aa393b2d8: Verifying Checksum 21:10:08 8a3aa393b2d8: Download complete 21:10:10 114826534d7a: Pull complete 21:10:10 4657fd5d0bcf: Pull complete 21:10:11 6ad1cebc031e: Pull complete 21:10:13 8a3aa393b2d8: Pull complete 21:10:13 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:10:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:10:13 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:13 prd-ubuntu20.04-docker-8c-8g-257 does not seem to be running inside a container 21:10:13 $ 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 21:10:15 $ docker top 07fc60230dc2fa92f12bfcb318cfd57c25bc9ec118dcf775837042934573f5c6 -eo pid,comm [Pipeline] { [Pipeline] echo 21:10:15 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 21:10:15 + set -o pipefail 21:10:15 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 21:10:19 21:10:19 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 21:10:19 21:10:19 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/962e91da-9dfa-4f91-99b9-62f9b45dd63b 21:10:19 21:10:19 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 21:10:19 21:10:19 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:10:19 21:10:20 21:10:20 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:10:20 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:10:20 More details here: https://snyk.co/ue1NS 21:10:20 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 21:10:20 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 21:10:20 $ docker stop --time=1 07fc60230dc2fa92f12bfcb318cfd57c25bc9ec118dcf775837042934573f5c6 21:10:22 $ docker rm -f --volumes 07fc60230dc2fa92f12bfcb318cfd57c25bc9ec118dcf775837042934573f5c6 [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 21:10:22 + git log --format=format:%s -1 7c5acbbe38a78294b2f031b3aca8867e5f1e249e [Pipeline] sh 21:10:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:10:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:10:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:23 prd-ubuntu20.04-docker-8c-8g-257 does not seem to be running inside a container 21:10:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:10:23 $ docker top add74175f075aadfbd32a0e58d0fe3b8c65e886f585f3f6f4759d4cb36689894 -eo pid,comm 21:10:23 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). 21:10:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:10:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:10:24 [ssh-agent] Looking for ssh-agent implementation... 21:10:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:10:24 $ docker exec add74175f075aadfbd32a0e58d0fe3b8c65e886f585f3f6f4759d4cb36689894 ssh-agent 21:10:24 SSH_AUTH_SOCK=/tmp/ssh-LraEtY8iLrwg/agent.31 21:10:24 SSH_AGENT_PID=37 21:10:24 Running ssh-add (command line suppressed) 21:10:24 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15639096513167453356.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15639096513167453356.key) 21:10:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:10:24 + git semver tag 21:10:24 2023-03-14 21:10:24,839 [run_tag] DEBUG tag force:False 21:10:24 2023-03-14 21:10:24,839 [check_head_tag] DEBUG check head tag 21:10:24 2023-03-14 21:10:24,841 [execute] INFO git cat-file --batch-check 21:10:24 2023-03-14 21:10:24,841 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 21:10:24 2023-03-14 21:10:24,845 [execute] INFO git cat-file --batch 21:10:24 2023-03-14 21:10:24,846 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 21:10:24 2023-03-14 21:10:24,866 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:10:24 2023-03-14 21:10:24,866 [execute] INFO git tag -a v3.0.0-dev.17 -m v3.0.0-dev.17 21:10:24 2023-03-14 21:10:24,866 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.17', '-m', 'v3.0.0-dev.17'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 21:10:24 2023-03-14 21:10:24,869 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:10:24 3.0.0-dev.17 [Pipeline] } 21:10:24 $ docker exec --env ******** --env ******** add74175f075aadfbd32a0e58d0fe3b8c65e886f585f3f6f4759d4cb36689894 ssh-agent -k 21:10:25 unset SSH_AUTH_SOCK; 21:10:25 unset SSH_AGENT_PID; 21:10:25 echo Agent pid 37 killed; 21:10:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:10:25 + git semver [Pipeline] } 21:10:25 $ docker stop --time=1 add74175f075aadfbd32a0e58d0fe3b8c65e886f585f3f6f4759d4cb36689894 21:10:26 $ docker rm -f --volumes add74175f075aadfbd32a0e58d0fe3b8c65e886f585f3f6f4759d4cb36689894 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:10:27 21:10:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:10:27 0.23.1-centos7: Pulling from edgex-lftools 21:10:27 ab5ef0e58194: Pulling fs layer 21:10:27 9712f1f96733: Pulling fs layer 21:10:27 63f879dbbcfc: Pulling fs layer 21:10:27 0d9ebad4ef96: Pulling fs layer 21:10:27 e9a5061849ea: Pulling fs layer 21:10:27 d747dcd14b5f: Pulling fs layer 21:10:27 2de7ff778b66: Pulling fs layer 21:10:27 d747dcd14b5f: Waiting 21:10:27 2de7ff778b66: Waiting 21:10:27 0d9ebad4ef96: Waiting 21:10:27 e9a5061849ea: Waiting 21:10:27 9712f1f96733: Verifying Checksum 21:10:27 9712f1f96733: Download complete 21:10:28 63f879dbbcfc: Verifying Checksum 21:10:28 63f879dbbcfc: Download complete 21:10:28 e9a5061849ea: Verifying Checksum 21:10:28 e9a5061849ea: Download complete 21:10:28 d747dcd14b5f: Verifying Checksum 21:10:28 d747dcd14b5f: Download complete 21:10:28 0d9ebad4ef96: Verifying Checksum 21:10:28 0d9ebad4ef96: Download complete 21:10:28 ab5ef0e58194: Verifying Checksum 21:10:28 ab5ef0e58194: Download complete 21:10:28 2de7ff778b66: Verifying Checksum 21:10:28 2de7ff778b66: Download complete 21:10:30 ab5ef0e58194: Pull complete 21:10:30 9712f1f96733: Pull complete 21:10:31 63f879dbbcfc: Pull complete 21:10:34 0d9ebad4ef96: Pull complete 21:10:34 e9a5061849ea: Pull complete 21:10:34 d747dcd14b5f: Pull complete 21:10:35 2de7ff778b66: Pull complete 21:10:35 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:10:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:10:35 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:35 prd-ubuntu20.04-docker-8c-8g-257 does not seem to be running inside a container 21:10:35 $ 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 21:10:37 $ docker top 32c562b4c21b79929192222ceba9201b35572c8d3bf56f523b65c2f984259f47 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:10:37 provisioning config files... 21:10:37 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14815138209444555954tmp 21:10:37 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10051674287668098953tmp 21:10:37 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12042743811401305508tmp [Pipeline] { [Pipeline] echo 21:10:37 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:10:37 ---> sigul-configuration.sh 21:10:37 gpg: directory `/root/.gnupg' created 21:10:37 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:10:37 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:10:37 gpg: keyring `/root/.gnupg/secring.gpg' created 21:10:37 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:10:37 gpg: CAST5 encrypted data 21:10:37 gpg: encrypted with 1 passphrase 21:10:37 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:10:38 + mkdir /home/jenkins 21:10:38 + mkdir /home/jenkins/sigul [Pipeline] sh 21:10:38 + 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 21:10:38 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:10:38 ---> sigul-install.sh 21:10:38 Sigul already installed; skipping installation. [Pipeline] sh 21:10:38 + git tag --list 21:10:38 0.7.1 21:10:38 v1.0.0 21:10:38 v1.1.0 21:10:38 v1.1.1 21:10:38 v1.2.2 21:10:38 v1.3.0 21:10:38 v1.3.1 21:10:38 v2.0.0 21:10:38 v2.1.0 21:10:38 v2.1.1 21:10:38 v2.1.1-dev.1 21:10:38 v2.1.1-dev.2 21:10:38 v2.1.1-dev.3 21:10:38 v2.2.0 21:10:38 v2.2.1-dev.1 21:10:38 v2.2.1-dev.2 21:10:38 v2.2.1-dev.3 21:10:38 v2.2.1-dev.4 21:10:38 v2.2.1-dev.5 21:10:38 v2.2.1-dev.6 21:10:38 v2.2.1-dev.7 21:10:38 v2.3.0 21:10:38 v2.3.0-dev.10 21:10:38 v2.3.0-dev.11 21:10:38 v2.3.0-dev.12 21:10:38 v2.3.0-dev.13 21:10:38 v2.3.0-dev.14 21:10:38 v2.3.0-dev.15 21:10:38 v2.3.0-dev.16 21:10:38 v2.3.0-dev.17 21:10:38 v2.3.0-dev.18 21:10:38 v2.3.0-dev.19 21:10:38 v2.3.0-dev.20 21:10:38 v2.3.0-dev.21 21:10:38 v2.3.0-dev.22 21:10:38 v2.3.0-dev.23 21:10:38 v2.3.0-dev.24 21:10:38 v2.3.0-dev.25 21:10:38 v2.3.0-dev.7 21:10:38 v2.3.0-dev.8 21:10:38 v2.3.0-dev.9 21:10:38 v3.0.0-dev.1 21:10:38 v3.0.0-dev.10 21:10:38 v3.0.0-dev.11 21:10:38 v3.0.0-dev.12 21:10:38 v3.0.0-dev.13 21:10:38 v3.0.0-dev.14 21:10:38 v3.0.0-dev.15 21:10:38 v3.0.0-dev.16 21:10:38 v3.0.0-dev.17 21:10:38 v3.0.0-dev.2 21:10:38 v3.0.0-dev.3 21:10:38 v3.0.0-dev.4 21:10:38 v3.0.0-dev.5 21:10:38 v3.0.0-dev.6 21:10:38 v3.0.0-dev.7 21:10:38 v3.0.0-dev.8 21:10:38 v3.0.0-dev.9 [Pipeline] sh 21:10:39 + lftools sign git-tag v3.0.0-dev.17 21:10:39 Signing Git tag with Sigul... 21:10:39 Signing v3.0.0-dev.17 [Pipeline] echo 21:10:39 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:10:40 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:10:40 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:10:40 $ docker stop --time=1 32c562b4c21b79929192222ceba9201b35572c8d3bf56f523b65c2f984259f47 21:10:41 $ docker rm -f --volumes 32c562b4c21b79929192222ceba9201b35572c8d3bf56f523b65c2f984259f47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:10:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:10:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:10:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:42 prd-ubuntu20.04-docker-8c-8g-257 does not seem to be running inside a container 21:10:42 $ 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 21:10:42 $ docker top 573f6ea8516ea1ed68159c79aee4046672bc8218db5f2a76d6caf69123bb922f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:10:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:10:42 [ssh-agent] Looking for ssh-agent implementation... 21:10:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:10:42 $ docker exec 573f6ea8516ea1ed68159c79aee4046672bc8218db5f2a76d6caf69123bb922f ssh-agent 21:10:42 SSH_AUTH_SOCK=/tmp/ssh-Li6WEvZfX1Am/agent.33 21:10:42 SSH_AGENT_PID=39 21:10:42 Running ssh-add (command line suppressed) 21:10:43 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3162517253535963701.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3162517253535963701.key) 21:10:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:10:43 + git semver bump pre 21:10:43 2023-03-14 21:10:43,556 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:10:43 2023-03-14 21:10:43,557 [bump_version] DEBUG bumping version:3.0.0-dev.17 on axis:pre with prefix:dev 21:10:43 2023-03-14 21:10:43,557 [bump_version] DEBUG bumped version:3.0.0-dev.18 21:10:43 2023-03-14 21:10:43,557 [write_version] DEBUG write version:3.0.0-dev.18 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 21:10:43 2023-03-14 21:10:43,557 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:10:43 2023-03-14 21:10:43,557 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:10:43 2023-03-14 21:10:43,559 [execute] INFO git cat-file --batch-check 21:10:43 2023-03-14 21:10:43,559 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:10:43 2023-03-14 21:10:43,565 [execute] INFO git cat-file --batch 21:10:43 2023-03-14 21:10:43,565 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:10:43 2023-03-14 21:10:43,570 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:10:43 3.0.0-dev.18 [Pipeline] } 21:10:43 $ docker exec --env ******** --env ******** 573f6ea8516ea1ed68159c79aee4046672bc8218db5f2a76d6caf69123bb922f ssh-agent -k 21:10:43 unset SSH_AUTH_SOCK; 21:10:43 unset SSH_AGENT_PID; 21:10:43 echo Agent pid 39 killed; 21:10:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:10:44 + git semver [Pipeline] } 21:10:44 $ docker stop --time=1 573f6ea8516ea1ed68159c79aee4046672bc8218db5f2a76d6caf69123bb922f 21:10:45 $ docker rm -f --volumes 573f6ea8516ea1ed68159c79aee4046672bc8218db5f2a76d6caf69123bb922f [Pipeline] // withDockerContainer [Pipeline] sh 21:10:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:10:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:10:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:46 prd-ubuntu20.04-docker-8c-8g-257 does not seem to be running inside a container 21:10:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:10:46 $ docker top c34943b41122bfaf34ff79f6ad843d28e511232340abae65cee09ed8fd9fed8f -eo pid,comm 21:10:46 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:10:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:10:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:10:46 [ssh-agent] Looking for ssh-agent implementation... 21:10:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:10:46 $ docker exec c34943b41122bfaf34ff79f6ad843d28e511232340abae65cee09ed8fd9fed8f ssh-agent 21:10:46 SSH_AUTH_SOCK=/tmp/ssh-Vq3CVJYL11rh/agent.31 21:10:46 SSH_AGENT_PID=38 21:10:46 Running ssh-add (command line suppressed) 21:10:47 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16726422291532602633.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16726422291532602633.key) 21:10:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:10:47 + git semver push 21:10:47 2023-03-14 21:10:47,544 [run_push] DEBUG push 21:10:47 2023-03-14 21:10:47,545 [execute] INFO git cat-file --batch-check 21:10:47 2023-03-14 21:10:47,545 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:10:47 2023-03-14 21:10:47,549 [execute] INFO git rev-list 7887970608ab6dda9d76792abd69fc5f9b32671d -- 21:10:47 2023-03-14 21:10:47,549 [execute] DEBUG Popen(['git', 'rev-list', '7887970608ab6dda9d76792abd69fc5f9b32671d', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:10:47 2023-03-14 21:10:47,557 [execute] INFO git fetch -v origin 21:10:47 2023-03-14 21:10:47,557 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:10:48 2023-03-14 21:10:48,065 [run_push] DEBUG no remote changes detected 21:10:48 2023-03-14 21:10:48,065 [execute] INFO git push origin semver 21:10:48 2023-03-14 21:10:48,065 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:10:49 2023-03-14 21:10:48,864 [run_push] DEBUG push all version tags 21:10:49 2023-03-14 21:10:48,865 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:10:49 2023-03-14 21:10:48,865 [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) 21:10:49 2023-03-14 21:10:49,609 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:10:49 3.0.0-dev.18 [Pipeline] } 21:10:49 $ docker exec --env ******** --env ******** c34943b41122bfaf34ff79f6ad843d28e511232340abae65cee09ed8fd9fed8f ssh-agent -k 21:10:49 unset SSH_AUTH_SOCK; 21:10:49 unset SSH_AGENT_PID; 21:10:49 echo Agent pid 38 killed; 21:10:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:10:50 + git semver [Pipeline] } 21:10:50 $ docker stop --time=1 c34943b41122bfaf34ff79f6ad843d28e511232340abae65cee09ed8fd9fed8f 21:10:51 $ docker rm -f --volumes c34943b41122bfaf34ff79f6ad843d28e511232340abae65cee09ed8fd9fed8f [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 21:10:52 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 21:10:52 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 21:10:52 total 16 21:10:52 drwxr-xr-x 3 root root 4096 Mar 14 20:58 . 21:10:52 drwxrwxr-x 11 jenkins jenkins 4096 Mar 14 21:10 .. 21:10:52 drwxr-xr-x 2 root root 4096 Mar 14 20:58 cost 21:10:52 -rw-r--r-- 1 root root 87 Mar 14 20:58 cost.csv 21:10:52 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 21:10:52 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 21:10:52 total 16 21:10:52 drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 20:58 . 21:10:52 drwxrwxr-x 11 jenkins jenkins 4096 Mar 14 21:10 .. 21:10:52 drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 20:58 cost 21:10:52 -rw-r--r-- 1 jenkins jenkins 87 Mar 14 20:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:10:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:10:53 ---> package-listing.sh 21:10:53 ++ tr '[:upper:]' '[:lower:]' 21:10:53 ++ facter osfamily 21:10:53 + OS_FAMILY=debian 21:10:53 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 21:10:53 + START_PACKAGES=/tmp/packages_start.txt 21:10:53 + END_PACKAGES=/tmp/packages_end.txt 21:10:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:10:53 + PACKAGES=/tmp/packages_start.txt 21:10:53 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 21:10:53 + PACKAGES=/tmp/packages_end.txt 21:10:53 + case "${OS_FAMILY}" in 21:10:53 + dpkg -l 21:10:53 + grep '^ii' 21:10:53 + '[' -f /tmp/packages_start.txt ']' 21:10:53 + '[' -f /tmp/packages_end.txt ']' 21:10:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:10:53 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 21:10:53 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 21:10:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 21:10:53 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 21:10:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:10:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:54 prd-ubuntu20.04-docker-8c-8g-257 does not seem to be running inside a container 21:10:54 $ 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 21:10:54 $ docker top 14e1b9d575220e366c1c07ffbd2bfca6b9926dfd4fc68cb4a0c1c3c0a808ceb2 -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:55 + touch /tmp/pre-build-complete [Pipeline] sh 21:10:55 + mkdir -p /var/log/sysstat [Pipeline] sh 21:10:55 + ls /var/log/sa-host 21:10:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:10:55 provisioning config files... 21:10:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17301525048900143421tmp [Pipeline] { [Pipeline] echo 21:10:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:10:56 ---> create-netrc.sh [Pipeline] } 21:10:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:10:56 ---> python-tools-install.sh [Pipeline] echo 21:10:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:10:56 ---> sudo-logs.sh 21:10:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:10:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:10:57 ---> job-cost.sh 21:10:57 lf-activate-venv: SKIPPING 21:10:57 DEBUG: total: 0.2199999988079071 21:10:57 INFO: Retrieving Stack Cost... 21:10:57 INFO: Retrieving Pricing Info for: v3-standard-8 21:10:58 INFO: Archiving Costs [Pipeline] echo 21:10:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:10:58 ---> logs-deploy.sh 21:10:58 lf-activate-venv: SKIPPING 21:10:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/83 21:10:58 INFO: archiving workspace using pattern(s): 21:10:59 Archives upload complete. 21:10:59 INFO: archiving logs to Nexus