Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 82ff0da3d76fda56b8be828932abbd4e3fc098e3 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-ssh13079004768771471866.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-ssh11818130348331623184.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-ssh2434845730690795080.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-ssh525282975811187468.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-ssh18056057063356762040.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-4761 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 Avoid second fetch Checking out Revision 82ff0da3d76fda56b8be828932abbd4e3fc098e3 (main) > 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 > 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 82ff0da3d76fda56b8be828932abbd4e3fc098e3 # timeout=10 Commit message: "Merge pull request #434 from weichou1229/bump-sdk" > git rev-list --no-walk d976059f8bfb405a00b06a9502768812e8b859e1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:19:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:19:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:19:35 ========================================================= 07:19:35 EdgeX Global Pipelines Version Info 07:19:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:19:35 ------------------- 07:19:35 stable info: 07:19:35 ------------------- 07:19:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:19:35 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 07:19:35 Message: update stable to v1.0.245 07:19:36 ------------------- 07:19:36 experimental info: 07:19:36 ------------------- 07:19:36 Commited By: **** collab-it+edgex@linuxfoundation.org 07:19:36 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 07:19:36 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:19:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 07:19:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 07:19:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:19:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:19:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:19:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:19:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:19:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:19:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:19:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:19:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:19:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 07:19:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:19:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:19:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:19:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:19:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:19:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:19:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:19:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:19:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:19:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:19:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:19:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:19:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:19:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:19:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:19:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:19:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:19:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:19:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 82ff0da3d76fda56b8be828932abbd4e3fc098e3 [Pipeline] echo 07:19:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 82ff0da [Pipeline] echo 07:19:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:19:37 provisioning config files... 07:19:37 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14632929737831166054tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:19:37 ---> docker-login.sh 07:19:37 nexus3.edgexfoundry.org:10001 07:19:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:37 Configure a credential helper to remove this warning. See 07:19:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:37 07:19:37 Login Succeeded 07:19:37 nexus3.edgexfoundry.org:10002 07:19:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:37 Configure a credential helper to remove this warning. See 07:19:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:37 07:19:37 Login Succeeded 07:19:37 nexus3.edgexfoundry.org:10003 07:19:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:37 Configure a credential helper to remove this warning. See 07:19:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:37 07:19:37 Login Succeeded 07:19:37 nexus3.edgexfoundry.org:10004 07:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:38 Configure a credential helper to remove this warning. See 07:19:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:38 07:19:38 Login Succeeded 07:19:38 docker.io 07:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:38 Configure a credential helper to remove this warning. See 07:19:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:38 07:19:38 Login Succeeded 07:19:38 ---> docker-login.sh ends [Pipeline] } 07:19:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:19:38 + git rev-list -1 --merges 82ff0da3d76fda56b8be828932abbd4e3fc098e3~1..82ff0da3d76fda56b8be828932abbd4e3fc098e3 [Pipeline] echo 07:19:38 -----------> git rev-list -1 --merges 82ff0da3d76fda56b8be828932abbd4e3fc098e3~1..82ff0da3d76fda56b8be828932abbd4e3fc098e3 82ff0da3d76fda56b8be828932abbd4e3fc098e3 07:19:38 82ff0da3d76fda56b8be828932abbd4e3fc098e3 [false] [Pipeline] sh 07:19:39 + git log --format=format:%s -1 82ff0da3d76fda56b8be828932abbd4e3fc098e3 [Pipeline] echo 07:19:39 ========================================================= 07:19:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:19:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:19:39 + git log --format=format:%s -1 82ff0da3d76fda56b8be828932abbd4e3fc098e3 [Pipeline] echo 07:19:39 [semverPrep] GIT_COMMIT: 82ff0da3d76fda56b8be828932abbd4e3fc098e3, Commit Message: Merge pull request #434 from weichou1229/bump-sdk [Pipeline] echo 07:19:39 [semverPrep] This is not a build commit. [Pipeline] sh 07:19:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:19:39 + grep -v github /etc/ssh/ssh_known_hosts 07:19:39 + [ -e /tmp/ssh_known_hosts ] 07:19:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:19:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:19:39 + sudo tee -a /etc/ssh/ssh_known_hosts 07:19:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:19:40 07:19:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:19:40 0.1.4: Pulling from edgex-devops/py-git-semver 07:19:40 b85a868b505f: Pulling fs layer 07:19:40 e2be974225ed: Pulling fs layer 07:19:40 339a4e72a1f5: Pulling fs layer 07:19:40 988bab9f4d93: Pulling fs layer 07:19:40 1469e6f7b9e6: Pulling fs layer 07:19:40 eaf3925da568: Pulling fs layer 07:19:40 bab4dde63d76: Pulling fs layer 07:19:40 bde34c3a00c8: Pulling fs layer 07:19:40 b352a97aabf1: Pulling fs layer 07:19:40 4872d77fe225: Pulling fs layer 07:19:40 988bab9f4d93: Waiting 07:19:40 1469e6f7b9e6: Waiting 07:19:40 bab4dde63d76: Waiting 07:19:40 bde34c3a00c8: Waiting 07:19:40 b352a97aabf1: Waiting 07:19:40 5851b861e8e6: Pulling fs layer 07:19:40 4872d77fe225: Waiting 07:19:40 5851b861e8e6: Waiting 07:19:40 e2be974225ed: Verifying Checksum 07:19:40 e2be974225ed: Download complete 07:19:40 988bab9f4d93: Verifying Checksum 07:19:40 988bab9f4d93: Download complete 07:19:40 1469e6f7b9e6: Verifying Checksum 07:19:40 1469e6f7b9e6: Download complete 07:19:40 eaf3925da568: Download complete 07:19:40 339a4e72a1f5: Verifying Checksum 07:19:40 339a4e72a1f5: Download complete 07:19:40 bde34c3a00c8: Download complete 07:19:40 b352a97aabf1: Download complete 07:19:40 4872d77fe225: Verifying Checksum 07:19:40 4872d77fe225: Download complete 07:19:40 5851b861e8e6: Verifying Checksum 07:19:40 5851b861e8e6: Download complete 07:19:40 b85a868b505f: Verifying Checksum 07:19:40 b85a868b505f: Download complete 07:19:41 bab4dde63d76: Verifying Checksum 07:19:41 bab4dde63d76: Download complete 07:19:42 b85a868b505f: Pull complete 07:19:42 e2be974225ed: Pull complete 07:19:42 339a4e72a1f5: Pull complete 07:19:42 988bab9f4d93: Pull complete 07:19:43 1469e6f7b9e6: Pull complete 07:19:43 eaf3925da568: Pull complete 07:19:44 bab4dde63d76: Pull complete 07:19:44 bde34c3a00c8: Pull complete 07:19:44 b352a97aabf1: Pull complete 07:19:44 4872d77fe225: Pull complete 07:19:44 5851b861e8e6: Pull complete 07:19:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:19:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:19:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:19:45 prd-ubuntu20.04-docker-8c-8g-4761 does not seem to be running inside a container 07:19:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:19:47 $ docker top fee877e36cb789459fe77fca152f2bb182c1acf50fb12e9e99dd67f7f650a81e -eo pid,comm 07:19:47 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:19:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:19:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:19:47 [ssh-agent] Looking for ssh-agent implementation... 07:19:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:19:48 $ docker exec fee877e36cb789459fe77fca152f2bb182c1acf50fb12e9e99dd67f7f650a81e ssh-agent 07:19:48 SSH_AUTH_SOCK=/tmp/ssh-E0KkdghGZ9DW/agent.32 07:19:48 SSH_AGENT_PID=38 07:19:48 Running ssh-add (command line suppressed) 07:19:48 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10320461155764326439.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10320461155764326439.key) 07:19:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:19:48 + git tag --points-at HEAD [Pipeline] } 07:19:48 $ docker exec --env ******** --env ******** fee877e36cb789459fe77fca152f2bb182c1acf50fb12e9e99dd67f7f650a81e ssh-agent -k 07:19:48 unset SSH_AUTH_SOCK; 07:19:48 unset SSH_AGENT_PID; 07:19:48 echo Agent pid 38 killed; 07:19:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:19:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:19:48 [ssh-agent] Looking for ssh-agent implementation... 07:19:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:19:48 $ docker exec fee877e36cb789459fe77fca152f2bb182c1acf50fb12e9e99dd67f7f650a81e ssh-agent 07:19:48 SSH_AUTH_SOCK=/tmp/ssh-suKJXpn2epTy/agent.70 07:19:48 SSH_AGENT_PID=76 07:19:48 Running ssh-add (command line suppressed) 07:19:48 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17601555386284108653.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17601555386284108653.key) 07:19:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:19:49 + git semver init 07:19:49 2023-03-21 07:19:49,472 [run_init] DEBUG init version:0.0.0 force:False 07:19:49 2023-03-21 07:19:49,473 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 07:19:49 2023-03-21 07:19:49,474 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 07:19:49 2023-03-21 07:19:49,474 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 07:19:50 2023-03-21 07:19:50,235 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 07:19:50 2023-03-21 07:19:50,236 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 07:19:50 2023-03-21 07:19:50,236 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:19:50 2023-03-21 07:19:50,236 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:19:50 3.0.0-dev.20 [Pipeline] } 07:19:50 $ docker exec --env ******** --env ******** fee877e36cb789459fe77fca152f2bb182c1acf50fb12e9e99dd67f7f650a81e ssh-agent -k 07:19:50 unset SSH_AUTH_SOCK; 07:19:50 unset SSH_AGENT_PID; 07:19:50 echo Agent pid 76 killed; 07:19:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:19:50 + git semver [Pipeline] } 07:19:51 $ docker stop --time=1 fee877e36cb789459fe77fca152f2bb182c1acf50fb12e9e99dd67f7f650a81e 07:19:52 $ docker rm -f --volumes fee877e36cb789459fe77fca152f2bb182c1acf50fb12e9e99dd67f7f650a81e [Pipeline] // withDockerContainer [Pipeline] sh 07:19:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:19:53 Stashed 1 file(s) [Pipeline] echo 07:19:53 [edgeXSemver]: initialized semver on version 3.0.0-dev.20 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:19:53 provisioning config files... 07:19:53 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5659579617403886565tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:19:53 ---> docker-login.sh 07:19:53 nexus3.edgexfoundry.org:10001 07:19:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:53 Configure a credential helper to remove this warning. See 07:19:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:53 07:19:53 Login Succeeded 07:19:53 nexus3.edgexfoundry.org:10002 07:19:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:53 Configure a credential helper to remove this warning. See 07:19:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:53 07:19:53 Login Succeeded 07:19:53 nexus3.edgexfoundry.org:10003 07:19:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:53 Configure a credential helper to remove this warning. See 07:19:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:53 07:19:53 Login Succeeded 07:19:53 nexus3.edgexfoundry.org:10004 07:19:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:53 Configure a credential helper to remove this warning. See 07:19:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:53 07:19:53 Login Succeeded 07:19:53 docker.io 07:19:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:54 Configure a credential helper to remove this warning. See 07:19:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:54 07:19:54 Login Succeeded 07:19:54 ---> docker-login.sh ends [Pipeline] } 07:19:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:19:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:19:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:19:54 ========================================================= 07:19:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:19:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:54 + 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 . 07:19:54 Sending build context to Docker daemon 6.363MB 07:19:54 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 07:19:54 Step 2/10 : FROM ${BASE} AS builder 07:19:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:19:54 63b65145d645: Pulling fs layer 07:19:54 a2d21d5440eb: Pulling fs layer 07:19:54 935e6c44a52c: Pulling fs layer 07:19:54 94cc34f8dd06: Pulling fs layer 07:19:54 30dea6a524f1: Pulling fs layer 07:19:54 a2aff8979fd8: Pulling fs layer 07:19:54 6808be2612f2: Pulling fs layer 07:19:54 f25807f1079a: Pulling fs layer 07:19:54 94cc34f8dd06: Waiting 07:19:54 30dea6a524f1: Waiting 07:19:54 a2aff8979fd8: Waiting 07:19:54 6808be2612f2: Waiting 07:19:54 f25807f1079a: Waiting 07:19:54 a2d21d5440eb: Download complete 07:19:54 94cc34f8dd06: Verifying Checksum 07:19:54 94cc34f8dd06: Download complete 07:19:54 30dea6a524f1: Verifying Checksum 07:19:54 30dea6a524f1: Download complete 07:19:54 63b65145d645: Verifying Checksum 07:19:54 63b65145d645: Download complete 07:19:54 a2aff8979fd8: Verifying Checksum 07:19:54 a2aff8979fd8: Download complete 07:19:54 63b65145d645: Pull complete 07:19:54 a2d21d5440eb: Pull complete 07:19:55 f25807f1079a: Verifying Checksum 07:19:55 f25807f1079a: Download complete 07:19:55 935e6c44a52c: Verifying Checksum 07:19:55 935e6c44a52c: Download complete 07:19:55 6808be2612f2: Verifying Checksum 07:19:55 6808be2612f2: Download complete 07:19:59 935e6c44a52c: Pull complete 07:19:59 94cc34f8dd06: Pull complete 07:19:59 30dea6a524f1: Pull complete 07:19:59 a2aff8979fd8: Pull complete 07:20:01 6808be2612f2: Pull complete 07:20:02 f25807f1079a: Pull complete 07:20:02 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 07:20:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:20:02 ---> 3b553350e43f 07:20:02 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:20:08 Still waiting to schedule task 07:20:08 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4756’ 07:20:12 ---> Running in 4a4a7b998fdc 07:20:12 Removing intermediate container 4a4a7b998fdc 07:20:12 ---> c5bf05f391a6 07:20:12 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:20:12 ---> Running in 44d4a62a6fc7 07:20:12 Removing intermediate container 44d4a62a6fc7 07:20:12 ---> 40a6e3fc1e5e 07:20:12 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:20:12 ---> Running in 6ec14ab2e89a 07:20:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:20:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:20:12 (1/8) Installing openssh-keygen (9.1_p1-r2) 07:20:12 (2/8) Installing libedit (20221030.3.1-r0) 07:20:12 (3/8) Installing openssh-client-common (9.1_p1-r2) 07:20:12 (4/8) Installing openssh-client-default (9.1_p1-r2) 07:20:12 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 07:20:12 (6/8) Installing openssh-server-common (9.1_p1-r2) 07:20:12 (7/8) Installing openssh-server (9.1_p1-r2) 07:20:12 (8/8) Installing openssh (9.1_p1-r2) 07:20:12 Executing busybox-1.35.0-r29.trigger 07:20:12 OK: 270 MiB in 61 packages 07:20:13 Removing intermediate container 6ec14ab2e89a 07:20:13 ---> ffe8d02aca86 07:20:13 Step 6/10 : WORKDIR /device-modbus-go 07:20:13 ---> Running in 541ad287cb76 07:20:13 Removing intermediate container 541ad287cb76 07:20:13 ---> 9d73f6ea7dd0 07:20:13 Step 7/10 : COPY go.mod vendor* ./ 07:20:13 ---> 168c5d2143d8 07:20:13 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:20:13 ---> Running in df5b86258be5 07:21:11 Removing intermediate container df5b86258be5 07:21:11 ---> 0e38c1bc1c97 07:21:11 Step 9/10 : COPY . . 07:21:11 ---> 737c9ff9cd0e 07:21:11 Step 10/10 : RUN ${MAKE} 07:21:11 ---> Running in d121f33dcea0 07:21:11 noop 07:21:11 Removing intermediate container d121f33dcea0 07:21:11 ---> 2f41d2fa5474 07:21:11 Successfully built 2f41d2fa5474 07:21:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:11 + docker inspect -f . ci-base-image-x86_64 07:21:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:21:11 prd-ubuntu20.04-docker-8c-8g-4761 does not seem to be running inside a container 07:21:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:21:11 $ docker top 975dcca92102805a77e542d7678883a84f138e5d5e2f50a20c3d8e70f5b4c132 -eo pid,comm [Pipeline] { [Pipeline] sh 07:21:12 + go version 07:21:12 go version go1.20.2 linux/amd64 [Pipeline] } 07:21:12 $ docker stop --time=1 975dcca92102805a77e542d7678883a84f138e5d5e2f50a20c3d8e70f5b4c132 07:21:13 $ docker rm -f --volumes 975dcca92102805a77e542d7678883a84f138e5d5e2f50a20c3d8e70f5b4c132 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:13 + docker inspect -f . ci-base-image-x86_64 07:21:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:21:14 prd-ubuntu20.04-docker-8c-8g-4761 does not seem to be running inside a container 07:21:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:21:14 $ docker top 1be1f6e08e74010895fb625e9f51cb59b7a0c4459c893d0411c333394bde2e30 -eo pid,comm [Pipeline] { [Pipeline] sh 07:21:14 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 07:21:15 + make test 07:21:15 go test ./... -coverprofile=coverage.out 07:21:20 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:21:30 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:21:30 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.016s coverage: 48.0% of statements 07:21:35 go vet ./... 07:21:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:21:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:21:38 ./bin/test-attribution-txt.sh [Pipeline] echo 07:21:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:21:38 $ docker stop --time=1 1be1f6e08e74010895fb625e9f51cb59b7a0c4459c893d0411c333394bde2e30 07:21:43 $ docker rm -f --volumes 1be1f6e08e74010895fb625e9f51cb59b7a0c4459c893d0411c333394bde2e30 [Pipeline] // withDockerContainer [Pipeline] sh 07:21:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:21:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:21:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:21:45 + ls -al . 07:21:45 total 180 07:21:45 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 07:21 . 07:21:45 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 07:19 .. 07:21:45 -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 07:19 .dockerignore 07:21:45 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 07:19 .git 07:21:45 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 07:19 .github 07:21:45 -rw-rw-r-- 1 jenkins jenkins 331 Mar 21 07:19 .gitignore 07:21:45 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 07:19 .golangci.yml 07:21:45 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 07:19 .semver 07:21:45 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 21 07:19 Attribution.txt 07:21:45 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 21 07:19 CHANGELOG.md 07:21:45 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 21 07:19 Dockerfile 07:21:45 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 07:19 GOVERNANCE.md 07:21:45 -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 07:19 Jenkinsfile 07:21:45 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 07:19 LICENSE 07:21:45 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 21 07:19 Makefile 07:21:45 -rw-rw-r-- 1 jenkins jenkins 622 Mar 21 07:19 OWNERS.md 07:21:45 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 21 07:19 README.md 07:21:45 -rw-rw-r-- 1 jenkins jenkins 12 Mar 21 07:19 VERSION 07:21:45 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 07:19 bin 07:21:45 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 07:19 cmd 07:21:45 -rw-r--r-- 1 jenkins jenkins 23736 Mar 21 07:21 coverage.out 07:21:45 -rw-rw-r-- 1 jenkins jenkins 3497 Mar 21 07:19 go.mod 07:21:45 -rw-rw-r-- 1 jenkins jenkins 31641 Mar 21 07:19 go.sum 07:21:45 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 07:19 internal 07:21:45 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 07:19 simulator 07:21:45 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 07:19 snap 07:21:45 -rw-rw-r-- 1 jenkins jenkins 229 Mar 21 07:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:45 + 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=82ff0da3d76fda56b8be828932abbd4e3fc098e3 --label arch=amd64 --label version=3.0.0-dev.20 . 07:21:45 Sending build context to Docker daemon 6.387MB 07:21:45 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 07:21:45 Step 2/22 : FROM ${BASE} AS builder 07:21:45 ---> 2f41d2fa5474 07:21:45 Step 3/22 : ARG ADD_BUILD_TAGS="" 07:21:46 ---> Running in dd73fdaa1ee2 07:21:46 Removing intermediate container dd73fdaa1ee2 07:21:46 ---> b26194d4d9d5 07:21:46 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:21:46 ---> Running in 538b8dc3418b 07:21:46 Removing intermediate container 538b8dc3418b 07:21:46 ---> 6bddb5429cba 07:21:46 Step 5/22 : RUN apk add --update --no-cache make git openssh 07:21:46 ---> Running in c3fc6b91f531 07:21:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:21:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:21:46 OK: 270 MiB in 61 packages 07:21:47 Removing intermediate container c3fc6b91f531 07:21:47 ---> 0330f6d23f3f 07:21:47 Step 6/22 : WORKDIR /device-modbus-go 07:21:47 ---> Running in 8c0381a3d2d8 07:21:47 Removing intermediate container 8c0381a3d2d8 07:21:47 ---> a80a3d7375bf 07:21:47 Step 7/22 : COPY go.mod vendor* ./ 07:21:47 ---> 5ee335d53fa5 07:21:47 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:21:47 ---> Running in d9143eec10e7 07:21:48 Removing intermediate container d9143eec10e7 07:21:48 ---> 5bd8a541696f 07:21:48 Step 9/22 : COPY . . 07:21:48 ---> 7c5ed6c60716 07:21:48 Step 10/22 : RUN ${MAKE} 07:21:48 ---> Running in 89d838dc7f81 07:21:49 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.20" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 07:22:11 Removing intermediate container 89d838dc7f81 07:22:11 ---> fe4d4461b336 07:22:11 Step 11/22 : FROM alpine:3.17 07:22:11 3.17: Pulling from library/alpine 07:22:11 63b65145d645: Already exists 07:22:11 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 07:22:11 Status: Downloaded newer image for alpine:3.17 07:22:11 ---> b2aa39c304c2 07:22:11 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:22:11 ---> Running in 71b9f98d06dd 07:22:11 Removing intermediate container 71b9f98d06dd 07:22:11 ---> d6b77462b256 07:22:11 Step 13/22 : RUN apk add --update --no-cache dumb-init 07:22:11 ---> Running in 919b6710eea3 07:22:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:22:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:22:11 (1/1) Installing dumb-init (1.2.5-r2) 07:22:11 Executing busybox-1.35.0-r29.trigger 07:22:11 OK: 7 MiB in 16 packages 07:22:11 Removing intermediate container 919b6710eea3 07:22:11 ---> 4354a9b6e3b3 07:22:11 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 07:22:12 ---> 05ba28a0c83a 07:22:12 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 07:22:12 ---> 67f429b383d9 07:22:12 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:22:12 ---> 93164526bdd5 07:22:12 Step 17/22 : EXPOSE 59901 07:22:12 ---> Running in 7a60b8f64f60 07:22:12 Removing intermediate container 7a60b8f64f60 07:22:12 ---> 14e22f8a541f 07:22:12 Step 18/22 : ENTRYPOINT ["/device-modbus"] 07:22:12 ---> Running in 2c070864e347 07:22:12 Removing intermediate container 2c070864e347 07:22:12 ---> 2d3c4fd03864 07:22:12 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:22:12 ---> Running in 8354de46285e 07:22:12 Removing intermediate container 8354de46285e 07:22:12 ---> 70965b75a2f2 07:22:12 Step 20/22 : LABEL arch=amd64 07:22:12 ---> Running in f26975d3f66e 07:22:12 Removing intermediate container f26975d3f66e 07:22:12 ---> 454904ad0f07 07:22:12 Step 21/22 : LABEL git_sha=82ff0da3d76fda56b8be828932abbd4e3fc098e3 07:22:12 ---> Running in 79e5f11b9193 07:22:12 Removing intermediate container 79e5f11b9193 07:22:12 ---> 66d6f5b9cc3c 07:22:12 Step 22/22 : LABEL version=3.0.0-dev.20 07:22:12 ---> Running in 94bf2dbef100 07:22:13 Removing intermediate container 94bf2dbef100 07:22:13 ---> 3f2e8d65b625 07:22:13 [Warning] One or more build-args [ARCH] were not consumed 07:22:13 Successfully built 3f2e8d65b625 07:22:13 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:22:13 provisioning config files... 07:22:13 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12031008676452783578tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:22:13 ---> docker-login.sh 07:22:13 nexus3.edgexfoundry.org:10001 07:22:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:13 Configure a credential helper to remove this warning. See 07:22:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:13 07:22:13 Login Succeeded 07:22:13 nexus3.edgexfoundry.org:10002 07:22:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:13 Configure a credential helper to remove this warning. See 07:22:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:13 07:22:13 Login Succeeded 07:22:13 nexus3.edgexfoundry.org:10003 07:22:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:13 Configure a credential helper to remove this warning. See 07:22:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:13 07:22:13 Login Succeeded 07:22:13 nexus3.edgexfoundry.org:10004 07:22:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:13 Configure a credential helper to remove this warning. See 07:22:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:13 07:22:13 Login Succeeded 07:22:13 docker.io 07:22:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:14 Configure a credential helper to remove this warning. See 07:22:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:14 07:22:14 Login Succeeded 07:22:14 ---> docker-login.sh ends [Pipeline] } 07:22:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:22:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:22:14 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 07:22:14 82ff0da3d76fda56b8be828932abbd4e3fc098e3 07:22:14 latest 07:22:14 3.0.0-dev.20 07:22:14 82ff0da3d76fda56b8be828932abbd4e3fc098e3-3.0.0-dev.20 07:22:14 main 07:22:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:14 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:82ff0da3d76fda56b8be828932abbd4e3fc098e3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:14 + docker push nexus3.edgexfoundry.org:10004/device-modbus:82ff0da3d76fda56b8be828932abbd4e3fc098e3 07:22:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:22:14 c7e18171c7c1: Preparing 07:22:14 218488468d64: Preparing 07:22:14 1aabf5f5eae0: Preparing 07:22:14 63d5a06d40d6: Preparing 07:22:14 7cd52847ad77: Preparing 07:22:14 7cd52847ad77: Layer already exists 07:22:14 63d5a06d40d6: Pushed 07:22:14 218488468d64: Pushed 07:22:14 c7e18171c7c1: Pushed 07:22:17 1aabf5f5eae0: Pushed 07:22:17 82ff0da3d76fda56b8be828932abbd4e3fc098e3: digest: sha256:224046af7c3e92155856f97e3213d5c27cdb8baf53f6bd569e30d3b9773e4dbf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:17 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:18 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 07:22:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:22:18 c7e18171c7c1: Preparing 07:22:18 218488468d64: Preparing 07:22:18 1aabf5f5eae0: Preparing 07:22:18 63d5a06d40d6: Preparing 07:22:18 7cd52847ad77: Preparing 07:22:18 1aabf5f5eae0: Layer already exists 07:22:18 218488468d64: Layer already exists 07:22:18 7cd52847ad77: Layer already exists 07:22:18 c7e18171c7c1: Layer already exists 07:22:18 63d5a06d40d6: Layer already exists 07:22:18 latest: digest: sha256:224046af7c3e92155856f97e3213d5c27cdb8baf53f6bd569e30d3b9773e4dbf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:18 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:18 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.20 07:22:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:22:18 c7e18171c7c1: Preparing 07:22:18 218488468d64: Preparing 07:22:18 1aabf5f5eae0: Preparing 07:22:18 63d5a06d40d6: Preparing 07:22:18 7cd52847ad77: Preparing 07:22:18 7cd52847ad77: Layer already exists 07:22:18 63d5a06d40d6: Layer already exists 07:22:18 218488468d64: Layer already exists 07:22:18 1aabf5f5eae0: Layer already exists 07:22:18 c7e18171c7c1: Layer already exists 07:22:18 3.0.0-dev.20: digest: sha256:224046af7c3e92155856f97e3213d5c27cdb8baf53f6bd569e30d3b9773e4dbf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:19 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:82ff0da3d76fda56b8be828932abbd4e3fc098e3-3.0.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:19 + docker push nexus3.edgexfoundry.org:10004/device-modbus:82ff0da3d76fda56b8be828932abbd4e3fc098e3-3.0.0-dev.20 07:22:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:22:19 c7e18171c7c1: Preparing 07:22:19 218488468d64: Preparing 07:22:19 1aabf5f5eae0: Preparing 07:22:19 63d5a06d40d6: Preparing 07:22:19 7cd52847ad77: Preparing 07:22:19 218488468d64: Layer already exists 07:22:19 1aabf5f5eae0: Layer already exists 07:22:19 c7e18171c7c1: Layer already exists 07:22:19 63d5a06d40d6: Layer already exists 07:22:19 7cd52847ad77: Layer already exists 07:22:19 82ff0da3d76fda56b8be828932abbd4e3fc098e3-3.0.0-dev.20: digest: sha256:224046af7c3e92155856f97e3213d5c27cdb8baf53f6bd569e30d3b9773e4dbf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:19 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:19 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 07:22:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:22:19 c7e18171c7c1: Preparing 07:22:19 218488468d64: Preparing 07:22:19 1aabf5f5eae0: Preparing 07:22:19 63d5a06d40d6: Preparing 07:22:19 7cd52847ad77: Preparing 07:22:19 7cd52847ad77: Layer already exists 07:22:19 218488468d64: Layer already exists 07:22:19 1aabf5f5eae0: Layer already exists 07:22:19 c7e18171c7c1: Layer already exists 07:22:19 63d5a06d40d6: Layer already exists 07:22:19 main: digest: sha256:224046af7c3e92155856f97e3213d5c27cdb8baf53f6bd569e30d3b9773e4dbf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:22:19 ===================================================== [Pipeline] echo 07:22:20 taggedImages: 07:22:20 - nexus3.edgexfoundry.org:10004/device-modbus:82ff0da3d76fda56b8be828932abbd4e3fc098e3 07:22:20 - nexus3.edgexfoundry.org:10004/device-modbus:latest 07:22:20 - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.20 07:22:20 - nexus3.edgexfoundry.org:10004/device-modbus:82ff0da3d76fda56b8be828932abbd4e3fc098e3-3.0.0-dev.20 07:22:20 - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:22:20 07:22:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:22:20 latest: Pulling from edgex-lftools-log-publisher 07:22:20 5eb5b503b376: Pulling fs layer 07:22:20 5c69ac0246d0: Pulling fs layer 07:22:20 ec43610c2a17: Pulling fs layer 07:22:20 3a2ae6a8a46f: Pulling fs layer 07:22:20 33b1e0a273af: Pulling fs layer 07:22:20 5d3b04190fa2: Pulling fs layer 07:22:20 2f39f015ded8: Pulling fs layer 07:22:20 33b1e0a273af: Waiting 07:22:20 5d3b04190fa2: Waiting 07:22:20 3a2ae6a8a46f: Waiting 07:22:20 2f39f015ded8: Waiting 07:22:20 5c69ac0246d0: Download complete 07:22:20 3a2ae6a8a46f: Verifying Checksum 07:22:20 3a2ae6a8a46f: Download complete 07:22:20 ec43610c2a17: Verifying Checksum 07:22:20 ec43610c2a17: Download complete 07:22:20 33b1e0a273af: Verifying Checksum 07:22:20 33b1e0a273af: Download complete 07:22:20 5d3b04190fa2: Download complete 07:22:20 5eb5b503b376: Verifying Checksum 07:22:20 5eb5b503b376: Download complete 07:22:21 2f39f015ded8: Download complete 07:22:22 5eb5b503b376: Pull complete 07:22:22 5c69ac0246d0: Pull complete 07:22:22 ec43610c2a17: Pull complete 07:22:22 3a2ae6a8a46f: Pull complete 07:22:23 33b1e0a273af: Pull complete 07:22:23 5d3b04190fa2: Pull complete 07:22:27 2f39f015ded8: Pull complete 07:22:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:22:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:22:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:22:27 prd-ubuntu20.04-docker-8c-8g-4761 does not seem to be running inside a container 07:22:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:22:33 $ docker top 8c96eb7c4bc48040a2e348f324b3a7b4f48921500a683511107b7ea4212d1901 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:22:34 ---> job-cost.sh 07:22:34 lf-activate-venv: SKIPPING 07:22:34 INFO: No Stack... 07:22:34 INFO: Retrieving Pricing Info for: v3-standard-8 07:22:34 INFO: Archiving Costs [Pipeline] sh 07:22:35 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 07:22:35 + cut -d, -f6 [Pipeline] lock 07:22:35 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-86-stack-cost] 07:22:35 Resource [jenkins-edgexfoundry-device-modbus-go-main-86-stack-cost] did not exist. Created. 07:22:35 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-86-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:22:35 + echo total: 0.2199999988079071 [Pipeline] stash 07:22:35 Stashed 1 file(s) [Pipeline] } 07:22:35 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-86-stack-cost] [Pipeline] // lock [Pipeline] } 07:22:35 $ docker stop --time=1 8c96eb7c4bc48040a2e348f324b3a7b4f48921500a683511107b7ea4212d1901 07:22:36 $ docker rm -f --volumes 8c96eb7c4bc48040a2e348f324b3a7b4f48921500a683511107b7ea4212d1901 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:22:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4764 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 07:22:39 Running in /w/workspace/device-modbus-go/86 [Pipeline] { [Pipeline] checkout 07:22:39 Selected Git installation does not exist. Using Default 07:22:39 The recommended git tool is: NONE 07:22:45 using credential edgex-jenkins-ssh 07:22:45 Cloning the remote Git repository 07:22:45 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 07:22:46 > git init /w/workspace/device-modbus-go/86 # timeout=10 07:22:46 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:22:46 > git --version # timeout=10 07:22:46 > git --version # 'git version 2.25.1' 07:22:46 using GIT_SSH to set credentials SSH Credentials for GitHub 07:22:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:22:48 Avoid second fetch 07:22:48 Checking out Revision 82ff0da3d76fda56b8be828932abbd4e3fc098e3 (main) 07:22:47 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:22:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:22:48 > git config core.sparsecheckout # timeout=10 07:22:48 > git checkout -f 82ff0da3d76fda56b8be828932abbd4e3fc098e3 # timeout=10 07:22:49 Commit message: "Merge pull request #434 from weichou1229/bump-sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:23:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:23:00 % Total % Received % Xferd Average Speed Time Time Time Current 07:23:00 Dload Upload Total Spent Left Speed 07:23:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 72039 0 --:--:-- --:--:-- --:--:-- 72448 [Pipeline] sh 07:23:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:23:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:23:01 + sudo tee /etc/docker/daemon.new 07:23:01 { 07:23:01 "registry-mirrors": [ 07:23:01 "https://nexus3.edgexfoundry.org:10001" 07:23:01 ], 07:23:01 "bip": "10.250.0.254/24", 07:23:01 "hosts": [ 07:23:01 "tcp://0.0.0.0:5555", 07:23:01 "unix:///var/run/docker.sock" 07:23:01 ], 07:23:01 "mtu": 1458, 07:23:01 "selinux-enabled": true, 07:23:01 "seccomp-profile": "/etc/docker/seccomp.json" 07:23:01 } [Pipeline] sh 07:23:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:23:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:23:24 provisioning config files... 07:23:24 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/86@tmp/config4613166402852826992tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:23:24 ---> docker-login.sh 07:23:24 nexus3.edgexfoundry.org:10001 07:23:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:25 Configure a credential helper to remove this warning. See 07:23:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:25 07:23:25 Login Succeeded 07:23:25 nexus3.edgexfoundry.org:10002 07:23:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:26 Configure a credential helper to remove this warning. See 07:23:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:26 07:23:26 Login Succeeded 07:23:26 nexus3.edgexfoundry.org:10003 07:23:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:26 Configure a credential helper to remove this warning. See 07:23:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:26 07:23:26 Login Succeeded 07:23:26 nexus3.edgexfoundry.org:10004 07:23:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:26 Configure a credential helper to remove this warning. See 07:23:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:26 07:23:26 Login Succeeded 07:23:26 docker.io 07:23:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:27 Configure a credential helper to remove this warning. See 07:23:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:27 07:23:27 Login Succeeded 07:23:27 ---> docker-login.sh ends [Pipeline] } 07:23:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:23:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:23:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:23:27 ========================================================= 07:23:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:23:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:23:28 + 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 . 07:23:28 Sending build context to Docker daemon 3.324MB 07:23:28 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 07:23:28 Step 2/10 : FROM ${BASE} AS builder 07:23:28 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:23:28 af6eaf76a39c: Pulling fs layer 07:23:28 55522c791124: Pulling fs layer 07:23:28 ce5c4a1c91eb: Pulling fs layer 07:23:28 169dfbe0d373: Pulling fs layer 07:23:28 e1ff8fa3b103: Pulling fs layer 07:23:28 52ebb69f0ebf: Pulling fs layer 07:23:28 5abe8eddf0d5: Pulling fs layer 07:23:28 e1ff8fa3b103: Waiting 07:23:28 52ebb69f0ebf: Waiting 07:23:28 169dfbe0d373: Waiting 07:23:28 5abe8eddf0d5: Waiting 07:23:28 55522c791124: Verifying Checksum 07:23:28 55522c791124: Download complete 07:23:28 169dfbe0d373: Verifying Checksum 07:23:28 169dfbe0d373: Download complete 07:23:28 e1ff8fa3b103: Verifying Checksum 07:23:28 e1ff8fa3b103: Download complete 07:23:28 af6eaf76a39c: Verifying Checksum 07:23:28 af6eaf76a39c: Download complete 07:23:29 af6eaf76a39c: Pull complete 07:23:30 5abe8eddf0d5: Verifying Checksum 07:23:30 5abe8eddf0d5: Download complete 07:23:30 55522c791124: Pull complete 07:23:31 ce5c4a1c91eb: Verifying Checksum 07:23:31 ce5c4a1c91eb: Download complete 07:23:31 52ebb69f0ebf: Verifying Checksum 07:23:31 52ebb69f0ebf: Download complete 07:23:44 ce5c4a1c91eb: Pull complete 07:23:44 169dfbe0d373: Pull complete 07:23:44 e1ff8fa3b103: Pull complete 07:23:50 52ebb69f0ebf: Pull complete 07:23:52 5abe8eddf0d5: Pull complete 07:23:52 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 07:23:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:23:52 ---> 6cb57ee374ae 07:23:52 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:23:54 ---> Running in 2f4de0331f40 07:23:54 Removing intermediate container 2f4de0331f40 07:23:54 ---> 69007530b865 07:23:54 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:23:54 ---> Running in f4a36b8f397b 07:23:54 Removing intermediate container f4a36b8f397b 07:23:54 ---> fecaf9c1645f 07:23:54 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:23:54 ---> Running in 674fe3366b4d 07:23:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:23:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:23:58 (1/8) Installing openssh-keygen (9.1_p1-r2) 07:23:58 (2/8) Installing libedit (20221030.3.1-r0) 07:23:58 (3/8) Installing openssh-client-common (9.1_p1-r2) 07:23:58 (4/8) Installing openssh-client-default (9.1_p1-r2) 07:23:58 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 07:23:58 (6/8) Installing openssh-server-common (9.1_p1-r2) 07:23:58 (7/8) Installing openssh-server (9.1_p1-r2) 07:23:58 (8/8) Installing openssh (9.1_p1-r2) 07:23:58 Executing busybox-1.35.0-r29.trigger 07:23:58 OK: 270 MiB in 61 packages 07:23:59 Removing intermediate container 674fe3366b4d 07:23:59 ---> b8077ec1f5a6 07:23:59 Step 6/10 : WORKDIR /device-modbus-go 07:23:59 ---> Running in 50c158ab664c 07:23:59 Removing intermediate container 50c158ab664c 07:23:59 ---> 32d7b72415ac 07:23:59 Step 7/10 : COPY go.mod vendor* ./ 07:24:00 ---> a82b51ff13db 07:24:00 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:24:00 ---> Running in 133086ae97e8 07:25:07 Removing intermediate container 133086ae97e8 07:25:07 ---> ac42520c8f8c 07:25:07 Step 9/10 : COPY . . 07:25:07 ---> f41b6ce369b9 07:25:07 Step 10/10 : RUN ${MAKE} 07:25:07 ---> Running in 638ade4b4fb6 07:25:07 noop 07:25:07 Removing intermediate container 638ade4b4fb6 07:25:07 ---> dd847d6d93b0 07:25:07 Successfully built dd847d6d93b0 07:25:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:08 + docker inspect -f . ci-base-image-arm64 07:25:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:25:08 prd-ubuntu20.04-docker-arm64-4c-16g-4764 does not seem to be running inside a container 07:25:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/86 -v /w/workspace/device-modbus-go/86:/w/workspace/device-modbus-go/86:rw,z -v /w/workspace/device-modbus-go/86@tmp:/w/workspace/device-modbus-go/86@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 ******** ci-base-image-arm64 cat 07:25:09 $ docker top 84065bd720e55298e434dbead4b6077e46893bf1c5f49d3909429d8c0e254041 -eo pid,comm [Pipeline] { [Pipeline] sh 07:25:10 + go version 07:25:10 go version go1.20.2 linux/arm64 [Pipeline] } 07:25:10 $ docker stop --time=1 84065bd720e55298e434dbead4b6077e46893bf1c5f49d3909429d8c0e254041 07:25:12 $ docker rm -f --volumes 84065bd720e55298e434dbead4b6077e46893bf1c5f49d3909429d8c0e254041 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:12 + docker inspect -f . ci-base-image-arm64 07:25:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:25:13 prd-ubuntu20.04-docker-arm64-4c-16g-4764 does not seem to be running inside a container 07:25:13 $ 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/86 -v /w/workspace/device-modbus-go/86:/w/workspace/device-modbus-go/86:rw,z -v /w/workspace/device-modbus-go/86@tmp:/w/workspace/device-modbus-go/86@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 ******** ci-base-image-arm64 cat 07:25:14 $ docker top 338b1ec42e61fde0669b0d9a98a53af314b1f849205689fe23b4b413ddd4699c -eo pid,comm [Pipeline] { [Pipeline] sh 07:25:15 + git config --global --add safe.directory /w/workspace/device-modbus-go/86 [Pipeline] fileExists [Pipeline] sh 07:25:15 + make test 07:25:15 go test ./... -coverprofile=coverage.out 07:25:54 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:28:01 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:28:01 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.074s coverage: 48.0% of statements 07:28:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:28:01 go vet ./... 07:28:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:28:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:28:28 ./bin/test-attribution-txt.sh [Pipeline] echo 07:28:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:28:28 $ docker stop --time=1 338b1ec42e61fde0669b0d9a98a53af314b1f849205689fe23b4b413ddd4699c 07:28:29 $ docker rm -f --volumes 338b1ec42e61fde0669b0d9a98a53af314b1f849205689fe23b4b413ddd4699c [Pipeline] // withDockerContainer [Pipeline] sh 07:28:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:28:31 Warning: overwriting stash ‘coverage-report’ 07:28:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:28:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:28:32 + ls -al . 07:28:32 total 176 07:28:32 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 07:25 . 07:28:32 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 07:22 .. 07:28:32 -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 07:22 .dockerignore 07:28:32 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 07:22 .git 07:28:32 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 07:22 .github 07:28:32 -rw-rw-r-- 1 jenkins jenkins 331 Mar 21 07:22 .gitignore 07:28:32 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 07:22 .golangci.yml 07:28:32 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 21 07:22 Attribution.txt 07:28:32 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 21 07:22 CHANGELOG.md 07:28:32 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 21 07:22 Dockerfile 07:28:32 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 07:22 GOVERNANCE.md 07:28:32 -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 07:22 Jenkinsfile 07:28:32 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 07:22 LICENSE 07:28:32 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 21 07:22 Makefile 07:28:32 -rw-rw-r-- 1 jenkins jenkins 622 Mar 21 07:22 OWNERS.md 07:28:32 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 21 07:22 README.md 07:28:32 -rw-rw-r-- 1 jenkins jenkins 12 Mar 21 07:19 VERSION 07:28:32 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 07:22 bin 07:28:32 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 07:22 cmd 07:28:32 -rw-r--r-- 1 jenkins jenkins 23736 Mar 21 07:27 coverage.out 07:28:32 -rw-rw-r-- 1 jenkins jenkins 3497 Mar 21 07:22 go.mod 07:28:32 -rw-rw-r-- 1 jenkins jenkins 31641 Mar 21 07:22 go.sum 07:28:32 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 07:22 internal 07:28:32 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 07:22 simulator 07:28:32 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 07:22 snap 07:28:32 -rw-rw-r-- 1 jenkins jenkins 229 Mar 21 07:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:32 + 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=82ff0da3d76fda56b8be828932abbd4e3fc098e3 --label arch=arm64 --label version=3.0.0-dev.20 . 07:28:33 Sending build context to Docker daemon 3.348MB 07:28:33 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 07:28:33 Step 2/22 : FROM ${BASE} AS builder 07:28:33 ---> dd847d6d93b0 07:28:33 Step 3/22 : ARG ADD_BUILD_TAGS="" 07:28:33 ---> Running in 69559361919b 07:28:33 Removing intermediate container 69559361919b 07:28:33 ---> e625ca3e8999 07:28:33 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:28:33 ---> Running in c732e798b331 07:28:33 Removing intermediate container c732e798b331 07:28:33 ---> 43fc3230d592 07:28:33 Step 5/22 : RUN apk add --update --no-cache make git openssh 07:28:34 ---> Running in a37e60284d63 07:28:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:28:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:28:37 OK: 270 MiB in 61 packages 07:28:40 Removing intermediate container a37e60284d63 07:28:40 ---> cbf9afb83e44 07:28:40 Step 6/22 : WORKDIR /device-modbus-go 07:28:40 ---> Running in c1e646818c61 07:28:40 Removing intermediate container c1e646818c61 07:28:40 ---> f6e31cd0edd8 07:28:40 Step 7/22 : COPY go.mod vendor* ./ 07:28:41 ---> 4a73fcca4584 07:28:41 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:28:41 ---> Running in a18e3d25161c 07:28:44 Removing intermediate container a18e3d25161c 07:28:44 ---> 4fee6f8d5479 07:28:44 Step 9/22 : COPY . . 07:28:45 ---> d68d87570c7a 07:28:45 Step 10/22 : RUN ${MAKE} 07:28:45 ---> Running in 801a935bb16f 07:28:46 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.20" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 07:31:07 Removing intermediate container 801a935bb16f 07:31:07 ---> 24f817d5723b 07:31:07 Step 11/22 : FROM alpine:3.17 07:31:07 3.17: Pulling from library/alpine 07:31:07 af6eaf76a39c: Already exists 07:31:07 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 07:31:07 Status: Downloaded newer image for alpine:3.17 07:31:07 ---> d74e625d9115 07:31:07 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:31:07 ---> Running in a09b94eeb3d3 07:31:07 Removing intermediate container a09b94eeb3d3 07:31:07 ---> 211d0f4e1f48 07:31:07 Step 13/22 : RUN apk add --update --no-cache dumb-init 07:31:07 ---> Running in 713e6945a2ad 07:31:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:31:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:31:09 (1/1) Installing dumb-init (1.2.5-r2) 07:31:09 Executing busybox-1.35.0-r29.trigger 07:31:09 OK: 8 MiB in 16 packages 07:31:10 Removing intermediate container 713e6945a2ad 07:31:10 ---> ce0970bd0dc5 07:31:10 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 07:31:11 ---> 48e46418f9d9 07:31:11 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 07:31:12 ---> b98732a7e2da 07:31:12 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:31:12 ---> 76ec9e1cae3d 07:31:12 Step 17/22 : EXPOSE 59901 07:31:12 ---> Running in baf8358388c4 07:31:12 Removing intermediate container baf8358388c4 07:31:12 ---> e4050f90e0c9 07:31:12 Step 18/22 : ENTRYPOINT ["/device-modbus"] 07:31:13 ---> Running in d7f22a32f13b 07:31:13 Removing intermediate container d7f22a32f13b 07:31:13 ---> 725bdc7cce1d 07:31:13 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:31:13 ---> Running in 98a2f38110cc 07:31:13 Removing intermediate container 98a2f38110cc 07:31:13 ---> bfec94674d95 07:31:13 Step 20/22 : LABEL arch=arm64 07:31:13 ---> Running in a2725f25bdb2 07:31:13 Removing intermediate container a2725f25bdb2 07:31:13 ---> c094a297b255 07:31:13 Step 21/22 : LABEL git_sha=82ff0da3d76fda56b8be828932abbd4e3fc098e3 07:31:13 ---> Running in 319288ff81dd 07:31:14 Removing intermediate container 319288ff81dd 07:31:14 ---> e00445e6bf3d 07:31:14 Step 22/22 : LABEL version=3.0.0-dev.20 07:31:14 ---> Running in 718381c8cd60 07:31:14 Removing intermediate container 718381c8cd60 07:31:14 ---> ca8bcb990f47 07:31:14 [Warning] One or more build-args [ARCH] were not consumed 07:31:14 Successfully built ca8bcb990f47 07:31:14 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:31:14 provisioning config files... 07:31:14 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/86@tmp/config425332952159054344tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:31:15 ---> docker-login.sh 07:31:15 nexus3.edgexfoundry.org:10001 07:31:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:31:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:31:15 Configure a credential helper to remove this warning. See 07:31:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:31:15 07:31:15 Login Succeeded 07:31:15 nexus3.edgexfoundry.org:10002 07:31:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:31:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:31:15 Configure a credential helper to remove this warning. See 07:31:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:31:15 07:31:15 Login Succeeded 07:31:15 nexus3.edgexfoundry.org:10003 07:31:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:31:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:31:16 Configure a credential helper to remove this warning. See 07:31:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:31:16 07:31:16 Login Succeeded 07:31:16 nexus3.edgexfoundry.org:10004 07:31:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:31:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:31:16 Configure a credential helper to remove this warning. See 07:31:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:31:16 07:31:16 Login Succeeded 07:31:16 docker.io 07:31:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:31:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:31:17 Configure a credential helper to remove this warning. See 07:31:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:31:17 07:31:17 Login Succeeded 07:31:17 ---> docker-login.sh ends [Pipeline] } 07:31:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:31:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:31:17 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 07:31:17 82ff0da3d76fda56b8be828932abbd4e3fc098e3 07:31:17 latest 07:31:17 3.0.0-dev.20 07:31:17 82ff0da3d76fda56b8be828932abbd4e3fc098e3-3.0.0-dev.20 07:31:17 main 07:31:17 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:17 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:82ff0da3d76fda56b8be828932abbd4e3fc098e3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:17 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:82ff0da3d76fda56b8be828932abbd4e3fc098e3 07:31:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:31:17 1895e5f3edbf: Preparing 07:31:17 061488ab47f8: Preparing 07:31:17 7878bbbb0e5a: Preparing 07:31:17 1ec4b2feb319: Preparing 07:31:17 edf70074bd40: Preparing 07:31:17 edf70074bd40: Layer already exists 07:31:18 1ec4b2feb319: Pushed 07:31:18 061488ab47f8: Pushed 07:31:18 1895e5f3edbf: Pushed 07:31:23 7878bbbb0e5a: Pushed 07:31:23 82ff0da3d76fda56b8be828932abbd4e3fc098e3: digest: sha256:f65fb91edbcd49937010588b7659eacd16df70ab8b989d3749f91960d50e4cbf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:23 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:24 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 07:31:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:31:24 1895e5f3edbf: Preparing 07:31:24 061488ab47f8: Preparing 07:31:24 7878bbbb0e5a: Preparing 07:31:24 1ec4b2feb319: Preparing 07:31:24 edf70074bd40: Preparing 07:31:24 edf70074bd40: Layer already exists 07:31:24 1895e5f3edbf: Layer already exists 07:31:24 7878bbbb0e5a: Layer already exists 07:31:24 061488ab47f8: Layer already exists 07:31:24 1ec4b2feb319: Layer already exists 07:31:24 latest: digest: sha256:f65fb91edbcd49937010588b7659eacd16df70ab8b989d3749f91960d50e4cbf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:24 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:25 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.20 07:31:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:31:25 1895e5f3edbf: Preparing 07:31:25 061488ab47f8: Preparing 07:31:25 7878bbbb0e5a: Preparing 07:31:25 1ec4b2feb319: Preparing 07:31:25 edf70074bd40: Preparing 07:31:25 edf70074bd40: Layer already exists 07:31:25 1895e5f3edbf: Layer already exists 07:31:25 7878bbbb0e5a: Layer already exists 07:31:25 061488ab47f8: Layer already exists 07:31:25 1ec4b2feb319: Layer already exists 07:31:25 3.0.0-dev.20: digest: sha256:f65fb91edbcd49937010588b7659eacd16df70ab8b989d3749f91960d50e4cbf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:25 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:82ff0da3d76fda56b8be828932abbd4e3fc098e3-3.0.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:26 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:82ff0da3d76fda56b8be828932abbd4e3fc098e3-3.0.0-dev.20 07:31:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:31:26 1895e5f3edbf: Preparing 07:31:26 061488ab47f8: Preparing 07:31:26 7878bbbb0e5a: Preparing 07:31:26 1ec4b2feb319: Preparing 07:31:26 edf70074bd40: Preparing 07:31:26 1ec4b2feb319: Layer already exists 07:31:26 1895e5f3edbf: Layer already exists 07:31:26 7878bbbb0e5a: Layer already exists 07:31:26 edf70074bd40: Layer already exists 07:31:26 061488ab47f8: Layer already exists 07:31:26 82ff0da3d76fda56b8be828932abbd4e3fc098e3-3.0.0-dev.20: digest: sha256:f65fb91edbcd49937010588b7659eacd16df70ab8b989d3749f91960d50e4cbf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:26 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:26 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 07:31:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:31:26 1895e5f3edbf: Preparing 07:31:26 061488ab47f8: Preparing 07:31:26 7878bbbb0e5a: Preparing 07:31:26 1ec4b2feb319: Preparing 07:31:26 edf70074bd40: Preparing 07:31:26 edf70074bd40: Layer already exists 07:31:26 1895e5f3edbf: Layer already exists 07:31:26 7878bbbb0e5a: Layer already exists 07:31:26 061488ab47f8: Layer already exists 07:31:26 1ec4b2feb319: Layer already exists 07:31:26 main: digest: sha256:f65fb91edbcd49937010588b7659eacd16df70ab8b989d3749f91960d50e4cbf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:31:27 ===================================================== [Pipeline] echo 07:31:27 taggedImages: 07:31:27 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:82ff0da3d76fda56b8be828932abbd4e3fc098e3 07:31:27 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 07:31:27 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.20 07:31:27 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:82ff0da3d76fda56b8be828932abbd4e3fc098e3-3.0.0-dev.20 07:31:27 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:31:27 07:31:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:31:27 arm64: Pulling from edgex-lftools-log-publisher 07:31:27 8998bd30e6a1: Pulling fs layer 07:31:27 04944245beec: Pulling fs layer 07:31:27 699f458cf7ca: Pulling fs layer 07:31:27 765212b225bb: Pulling fs layer 07:31:27 f23df028b6ca: Pulling fs layer 07:31:27 d65c8cfc05b1: Pulling fs layer 07:31:27 2437ff75d9bd: Pulling fs layer 07:31:27 765212b225bb: Waiting 07:31:27 f23df028b6ca: Waiting 07:31:27 d65c8cfc05b1: Waiting 07:31:27 2437ff75d9bd: Waiting 07:31:27 04944245beec: Verifying Checksum 07:31:27 04944245beec: Download complete 07:31:27 765212b225bb: Verifying Checksum 07:31:27 765212b225bb: Download complete 07:31:27 f23df028b6ca: Verifying Checksum 07:31:27 f23df028b6ca: Download complete 07:31:27 d65c8cfc05b1: Verifying Checksum 07:31:27 d65c8cfc05b1: Download complete 07:31:28 699f458cf7ca: Verifying Checksum 07:31:28 699f458cf7ca: Download complete 07:31:28 8998bd30e6a1: Verifying Checksum 07:31:28 8998bd30e6a1: Download complete 07:31:31 2437ff75d9bd: Verifying Checksum 07:31:31 2437ff75d9bd: Download complete 07:31:32 8998bd30e6a1: Pull complete 07:31:32 04944245beec: Pull complete 07:31:34 699f458cf7ca: Pull complete 07:31:34 765212b225bb: Pull complete 07:31:34 f23df028b6ca: Pull complete 07:31:35 d65c8cfc05b1: Pull complete 07:31:50 2437ff75d9bd: Pull complete 07:31:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:31:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:31:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:31:50 prd-ubuntu20.04-docker-arm64-4c-16g-4764 does not seem to be running inside a container 07:31:50 $ 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/86 -v /w/workspace/device-modbus-go/86:/w/workspace/device-modbus-go/86:rw,z -v /w/workspace/device-modbus-go/86@tmp:/w/workspace/device-modbus-go/86@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:arm64 cat 07:31:53 $ docker top 86a2a233090c412c028a09caa1c5662d5bdb04bc0b2048cf5307c4f81502b6cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:31:54 ---> job-cost.sh 07:31:54 lf-activate-venv: SKIPPING 07:31:54 INFO: No Stack... 07:31:54 INFO: Retrieving Pricing Info for: v3-standard-4 07:31:55 INFO: Archiving Costs [Pipeline] sh 07:31:55 + cut -d, -f6 07:31:55 + cat /w/workspace/device-modbus-go/86/archives/cost.csv [Pipeline] lock 07:31:55 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-86-stack-cost] 07:31:55 Resource [jenkins-edgexfoundry-device-modbus-go-main-86-stack-cost] did not exist. Created. 07:31:55 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-86-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:31:56 /w/workspace/device-modbus-go/86@tmp/durable-f1a0deb6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:31:57 + echo total: 0.10999999940395355 [Pipeline] stash 07:31:57 Warning: overwriting stash ‘stack-cost’ 07:31:57 Stashed 1 file(s) [Pipeline] } 07:31:57 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-86-stack-cost] [Pipeline] // lock [Pipeline] } 07:31:57 $ docker stop --time=1 86a2a233090c412c028a09caa1c5662d5bdb04bc0b2048cf5307c4f81502b6cc 07:31:58 $ docker rm -f --volumes 86a2a233090c412c028a09caa1c5662d5bdb04bc0b2048cf5307c4f81502b6cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 07:31:59 provisioning config files... 07:31:59 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5665103138801124347tmp [Pipeline] { [Pipeline] sh 07:31:59 + set +x 07:31:59 + curl -s https://codecov.io/bash 07:31:59 + bash -s -- 07:31:59 07:31:59 _____ _ 07:31:59 / ____| | | 07:31:59 | | ___ __| | ___ ___ _____ __ 07:31:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:31:59 | |___| (_) | (_| | __/ (_| (_) \ V / 07:31:59 \_____\___/ \__,_|\___|\___\___/ \_/ 07:31:59 Bash-1.0.6 07:31:59 07:31:59 07:31:59 ==> git version 2.25.1 found 07:31:59 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 07:31:59 Release-Date: 2020-01-08 07:31:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:31:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:31:59 ==> Jenkins CI detected. 07:31:59 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 07:31:59 project root: . 07:31:59 --> token set from env 07:31:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:31:59 ==> Running gcov in . (disable via -X gcov) 07:31:59 ==> Python coveragepy not found 07:31:59 ==> Searching for coverage reports in: 07:31:59 + . 07:31:59 -> Found 1 reports 07:31:59 ==> Detecting git/mercurial file structure 07:31:59 ==> Reading reports 07:31:59 + ./coverage.out bytes=23736 07:31:59 ==> Appending adjustments 07:31:59 https://docs.codecov.io/docs/fixing-reports 07:31:59 + Found adjustments 07:31:59 ==> Gzipping contents 07:31:59 4.0K /tmp/codecov.9W7rnS.gz 07:31:59 ==> Uploading reports 07:31:59 url: https://codecov.io 07:31:59 query: branch=main&commit=82ff0da3d76fda56b8be828932abbd4e3fc098e3&build=86&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F86%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:31:59 -> Pinging Codecov 07:31:59 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=82ff0da3d76fda56b8be828932abbd4e3fc098e3&build=86&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F86%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:32:00 -> Uploading to 07:32:00 https://storage.googleapis.com/codecov/v4/raw/2023-03-21/55DBCA73C666E3227836607328DD7E49/82ff0da3d76fda56b8be828932abbd4e3fc098e3/0fbf8958-cbe6-4bd5-8b60-e1f926f120d6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T073159Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ee9f9ba6346ffbb5a7ab053bddf0bcf8de0cc5298c8bb380c41348f566eaae21 07:32:00 % Total % Received % Xferd Average Speed Time Time Time Current 07:32:00 Dload Upload Total Spent Left Speed 07:32:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3909 0 0 100 3909 0 18614 --:--:-- --:--:-- --:--:-- 18614 100 3909 0 0 100 3909 0 12816 --:--:-- --:--:-- --:--:-- 12774 07:32:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/82ff0da3d76fda56b8be828932abbd4e3fc098e3 [Pipeline] } 07:32:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:32:00 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:32:00 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:32:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:32:00 07:32:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:32:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:32:01 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:32:01 df9b9388f04a: Pulling fs layer 07:32:01 52dc419b0ee2: Pulling fs layer 07:32:01 25bc292e5bac: Pulling fs layer 07:32:01 114826534d7a: Pulling fs layer 07:32:01 4657fd5d0bcf: Pulling fs layer 07:32:01 114826534d7a: Waiting 07:32:01 6ad1cebc031e: Pulling fs layer 07:32:01 8a3aa393b2d8: Pulling fs layer 07:32:01 4657fd5d0bcf: Waiting 07:32:01 6ad1cebc031e: Waiting 07:32:01 25bc292e5bac: Download complete 07:32:01 52dc419b0ee2: Download complete 07:32:01 4657fd5d0bcf: Verifying Checksum 07:32:01 4657fd5d0bcf: Download complete 07:32:01 df9b9388f04a: Download complete 07:32:02 6ad1cebc031e: Download complete 07:32:02 df9b9388f04a: Pull complete 07:32:02 114826534d7a: Verifying Checksum 07:32:02 114826534d7a: Download complete 07:32:02 52dc419b0ee2: Pull complete 07:32:02 8a3aa393b2d8: Verifying Checksum 07:32:02 8a3aa393b2d8: Download complete 07:32:03 25bc292e5bac: Pull complete 07:32:07 114826534d7a: Pull complete 07:32:07 4657fd5d0bcf: Pull complete 07:32:08 6ad1cebc031e: Pull complete 07:32:11 8a3aa393b2d8: Pull complete 07:32:11 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 07:32:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:32:11 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:32:11 prd-ubuntu20.04-docker-8c-8g-4761 does not seem to be running inside a container 07:32:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 07:32:21 $ docker top bc476f4f5191a37df3b529a064a8a5fbaa84ffad166adf373b9ecfb61630d97f -eo pid,comm [Pipeline] { [Pipeline] echo 07:32:21 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 07:32:21 + set -o pipefail 07:32:21 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 07:32:27 07:32:27 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 07:32:27 07:32:27 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/4f0a7254-48e2-45eb-8b55-99e822aa7d0c 07:32:27 07:32:27 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 07:32:27 07:32:27 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:32:27 07:32:27 07:32:27 A medium severity vulnerability was found in the Snyk CLI versions you are using. 07:32:27 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 07:32:27 More details here: https://snyk.co/ue1NS [Pipeline] } 07:32:27 $ docker stop --time=1 bc476f4f5191a37df3b529a064a8a5fbaa84ffad166adf373b9ecfb61630d97f 07:32:33 $ docker rm -f --volumes bc476f4f5191a37df3b529a064a8a5fbaa84ffad166adf373b9ecfb61630d97f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:32:34 + git log --format=format:%s -1 82ff0da3d76fda56b8be828932abbd4e3fc098e3 [Pipeline] sh 07:32:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:32:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:32:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:32:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:32:35 prd-ubuntu20.04-docker-8c-8g-4761 does not seem to be running inside a container 07:32:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:32:35 $ docker top a1854e4cae0ca1f2e62e41bd09dde7ea0e4c157e31f50115fa1da2410e196896 -eo pid,comm 07:32:35 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:32:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:32:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:32:35 [ssh-agent] Looking for ssh-agent implementation... 07:32:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:32:35 $ docker exec a1854e4cae0ca1f2e62e41bd09dde7ea0e4c157e31f50115fa1da2410e196896 ssh-agent 07:32:36 SSH_AUTH_SOCK=/tmp/ssh-RCeZzoKBCm80/agent.32 07:32:36 SSH_AGENT_PID=38 07:32:36 Running ssh-add (command line suppressed) 07:32:36 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5475659587431510184.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5475659587431510184.key) 07:32:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:32:36 + git semver tag 07:32:36 2023-03-21 07:32:36,663 [run_tag] DEBUG tag force:False 07:32:36 2023-03-21 07:32:36,663 [check_head_tag] DEBUG check head tag 07:32:36 2023-03-21 07:32:36,664 [execute] INFO git cat-file --batch-check 07:32:36 2023-03-21 07:32:36,664 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 07:32:36 2023-03-21 07:32:36,667 [execute] INFO git cat-file --batch 07:32:36 2023-03-21 07:32:36,667 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 07:32:36 2023-03-21 07:32:36,689 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:32:36 2023-03-21 07:32:36,689 [execute] INFO git tag -a v3.0.0-dev.20 -m v3.0.0-dev.20 07:32:36 2023-03-21 07:32:36,689 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.20', '-m', 'v3.0.0-dev.20'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 07:32:36 2023-03-21 07:32:36,694 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:32:36 3.0.0-dev.20 [Pipeline] } 07:32:36 $ docker exec --env ******** --env ******** a1854e4cae0ca1f2e62e41bd09dde7ea0e4c157e31f50115fa1da2410e196896 ssh-agent -k 07:32:36 unset SSH_AUTH_SOCK; 07:32:36 unset SSH_AGENT_PID; 07:32:36 echo Agent pid 38 killed; 07:32:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:32:37 + git semver [Pipeline] } 07:32:37 $ docker stop --time=1 a1854e4cae0ca1f2e62e41bd09dde7ea0e4c157e31f50115fa1da2410e196896 07:32:38 $ docker rm -f --volumes a1854e4cae0ca1f2e62e41bd09dde7ea0e4c157e31f50115fa1da2410e196896 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:32:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:32:39 07:32:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:32:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:32:39 0.23.1-centos7: Pulling from edgex-lftools 07:32:39 ab5ef0e58194: Pulling fs layer 07:32:39 9712f1f96733: Pulling fs layer 07:32:39 63f879dbbcfc: Pulling fs layer 07:32:39 0d9ebad4ef96: Pulling fs layer 07:32:39 e9a5061849ea: Pulling fs layer 07:32:39 0d9ebad4ef96: Waiting 07:32:39 d747dcd14b5f: Pulling fs layer 07:32:39 e9a5061849ea: Waiting 07:32:39 2de7ff778b66: Pulling fs layer 07:32:39 d747dcd14b5f: Waiting 07:32:39 9712f1f96733: Verifying Checksum 07:32:39 9712f1f96733: Download complete 07:32:40 63f879dbbcfc: Verifying Checksum 07:32:40 63f879dbbcfc: Download complete 07:32:40 e9a5061849ea: Verifying Checksum 07:32:40 e9a5061849ea: Download complete 07:32:40 d747dcd14b5f: Download complete 07:32:40 0d9ebad4ef96: Verifying Checksum 07:32:40 ab5ef0e58194: Verifying Checksum 07:32:40 ab5ef0e58194: Download complete 07:32:40 2de7ff778b66: Verifying Checksum 07:32:40 2de7ff778b66: Download complete 07:32:43 ab5ef0e58194: Pull complete 07:32:43 9712f1f96733: Pull complete 07:32:44 63f879dbbcfc: Pull complete 07:32:48 0d9ebad4ef96: Pull complete 07:32:48 e9a5061849ea: Pull complete 07:32:48 d747dcd14b5f: Pull complete 07:32:49 2de7ff778b66: Pull complete 07:32:49 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:32:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:32:49 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:32:49 prd-ubuntu20.04-docker-8c-8g-4761 does not seem to be running inside a container 07:32:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:32:58 $ docker top a6390840cc941b0e474978a6a9aa22d932dc4a211be8b089da0a5aae3a999e1b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:32:58 provisioning config files... 07:32:58 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4945094774684135959tmp 07:32:58 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config366606154870437761tmp 07:32:58 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3938810665184501594tmp [Pipeline] { [Pipeline] echo 07:32:58 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:32:58 ---> sigul-configuration.sh 07:32:58 gpg: directory `/root/.gnupg' created 07:32:58 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:32:58 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:32:58 gpg: keyring `/root/.gnupg/secring.gpg' created 07:32:58 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:32:58 gpg: CAST5 encrypted data 07:32:58 gpg: encrypted with 1 passphrase 07:32:58 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:32:59 + mkdir /home/jenkins 07:32:59 + mkdir /home/jenkins/sigul [Pipeline] sh 07:32:59 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 07:32:59 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:32:59 ---> sigul-install.sh 07:32:59 Sigul already installed; skipping installation. [Pipeline] sh 07:33:00 + git tag --list 07:33:00 0.7.1 07:33:00 v1.0.0 07:33:00 v1.1.0 07:33:00 v1.1.1 07:33:00 v1.2.2 07:33:00 v1.3.0 07:33:00 v1.3.1 07:33:00 v2.0.0 07:33:00 v2.1.0 07:33:00 v2.1.1 07:33:00 v2.1.1-dev.1 07:33:00 v2.1.1-dev.2 07:33:00 v2.1.1-dev.3 07:33:00 v2.2.0 07:33:00 v2.2.1-dev.1 07:33:00 v2.2.1-dev.2 07:33:00 v2.2.1-dev.3 07:33:00 v2.2.1-dev.4 07:33:00 v2.2.1-dev.5 07:33:00 v2.2.1-dev.6 07:33:00 v2.2.1-dev.7 07:33:00 v2.3.0 07:33:00 v2.3.0-dev.10 07:33:00 v2.3.0-dev.11 07:33:00 v2.3.0-dev.12 07:33:00 v2.3.0-dev.13 07:33:00 v2.3.0-dev.14 07:33:00 v2.3.0-dev.15 07:33:00 v2.3.0-dev.16 07:33:00 v2.3.0-dev.17 07:33:00 v2.3.0-dev.18 07:33:00 v2.3.0-dev.19 07:33:00 v2.3.0-dev.20 07:33:00 v2.3.0-dev.21 07:33:00 v2.3.0-dev.22 07:33:00 v2.3.0-dev.23 07:33:00 v2.3.0-dev.24 07:33:00 v2.3.0-dev.25 07:33:00 v2.3.0-dev.7 07:33:00 v2.3.0-dev.8 07:33:00 v2.3.0-dev.9 07:33:00 v3.0.0-dev.1 07:33:00 v3.0.0-dev.10 07:33:00 v3.0.0-dev.11 07:33:00 v3.0.0-dev.12 07:33:00 v3.0.0-dev.13 07:33:00 v3.0.0-dev.14 07:33:00 v3.0.0-dev.15 07:33:00 v3.0.0-dev.16 07:33:00 v3.0.0-dev.17 07:33:00 v3.0.0-dev.18 07:33:00 v3.0.0-dev.19 07:33:00 v3.0.0-dev.2 07:33:00 v3.0.0-dev.20 07:33:00 v3.0.0-dev.3 07:33:00 v3.0.0-dev.4 07:33:00 v3.0.0-dev.5 07:33:00 v3.0.0-dev.6 07:33:00 v3.0.0-dev.7 07:33:00 v3.0.0-dev.8 07:33:00 v3.0.0-dev.9 [Pipeline] sh 07:33:00 + lftools sign git-tag v3.0.0-dev.20 07:33:00 Signing Git tag with Sigul... 07:33:00 Signing v3.0.0-dev.20 [Pipeline] echo 07:33:01 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:33:01 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:33:01 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:33:01 $ docker stop --time=1 a6390840cc941b0e474978a6a9aa22d932dc4a211be8b089da0a5aae3a999e1b 07:33:02 $ docker rm -f --volumes a6390840cc941b0e474978a6a9aa22d932dc4a211be8b089da0a5aae3a999e1b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:33:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:33:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:33:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:33:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:33:03 prd-ubuntu20.04-docker-8c-8g-4761 does not seem to be running inside a container 07:33:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:33:04 $ docker top 147463c7d4043b2c080c5e4ce2ff418de7599ee6869e060766fe999dc6f80c39 -eo pid,comm 07:33:04 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:33:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:33:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:33:04 [ssh-agent] Looking for ssh-agent implementation... 07:33:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:33:04 $ docker exec 147463c7d4043b2c080c5e4ce2ff418de7599ee6869e060766fe999dc6f80c39 ssh-agent 07:33:04 SSH_AUTH_SOCK=/tmp/ssh-JLrF9GgYYtfy/agent.32 07:33:04 SSH_AGENT_PID=38 07:33:04 Running ssh-add (command line suppressed) 07:33:04 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4433953619887733846.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4433953619887733846.key) 07:33:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:33:04 + git semver bump pre 07:33:05 2023-03-21 07:33:05,155 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:33:05 2023-03-21 07:33:05,156 [bump_version] DEBUG bumping version:3.0.0-dev.20 on axis:pre with prefix:dev 07:33:05 2023-03-21 07:33:05,156 [bump_version] DEBUG bumped version:3.0.0-dev.21 07:33:05 2023-03-21 07:33:05,156 [write_version] DEBUG write version:3.0.0-dev.21 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 07:33:05 2023-03-21 07:33:05,156 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:33:05 2023-03-21 07:33:05,156 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:33:05 2023-03-21 07:33:05,160 [execute] INFO git cat-file --batch-check 07:33:05 2023-03-21 07:33:05,160 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:33:05 2023-03-21 07:33:05,166 [execute] INFO git cat-file --batch 07:33:05 2023-03-21 07:33:05,167 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:33:05 2023-03-21 07:33:05,170 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:33:05 3.0.0-dev.21 [Pipeline] } 07:33:05 $ docker exec --env ******** --env ******** 147463c7d4043b2c080c5e4ce2ff418de7599ee6869e060766fe999dc6f80c39 ssh-agent -k 07:33:05 unset SSH_AUTH_SOCK; 07:33:05 unset SSH_AGENT_PID; 07:33:05 echo Agent pid 38 killed; 07:33:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:33:05 + git semver [Pipeline] } 07:33:06 $ docker stop --time=1 147463c7d4043b2c080c5e4ce2ff418de7599ee6869e060766fe999dc6f80c39 07:33:07 $ docker rm -f --volumes 147463c7d4043b2c080c5e4ce2ff418de7599ee6869e060766fe999dc6f80c39 [Pipeline] // withDockerContainer [Pipeline] sh 07:33:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:33:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:33:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:33:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:33:08 prd-ubuntu20.04-docker-8c-8g-4761 does not seem to be running inside a container 07:33:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:33:08 $ docker top 209c4d107fb694b0a71b8a14aec3f36772dc6418a0f780543e40d5a02ecdb1fb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:33:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:33:08 [ssh-agent] Looking for ssh-agent implementation... 07:33:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:33:08 $ docker exec 209c4d107fb694b0a71b8a14aec3f36772dc6418a0f780543e40d5a02ecdb1fb ssh-agent 07:33:08 SSH_AUTH_SOCK=/tmp/ssh-LJs1byCt5uEC/agent.32 07:33:08 SSH_AGENT_PID=39 07:33:08 Running ssh-add (command line suppressed) 07:33:09 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4540634590980337424.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4540634590980337424.key) 07:33:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:33:09 + git semver push 07:33:09 2023-03-21 07:33:09,594 [run_push] DEBUG push 07:33:09 2023-03-21 07:33:09,594 [execute] INFO git cat-file --batch-check 07:33:09 2023-03-21 07:33:09,595 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:33:09 2023-03-21 07:33:09,598 [execute] INFO git rev-list 7afab5f47fd7099263b75bbb3e2d73dfcd1c76b5 -- 07:33:09 2023-03-21 07:33:09,598 [execute] DEBUG Popen(['git', 'rev-list', '7afab5f47fd7099263b75bbb3e2d73dfcd1c76b5', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:33:09 2023-03-21 07:33:09,605 [execute] INFO git fetch -v origin 07:33:09 2023-03-21 07:33:09,606 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:33:10 2023-03-21 07:33:10,090 [run_push] DEBUG no remote changes detected 07:33:10 2023-03-21 07:33:10,091 [execute] INFO git push origin semver 07:33:10 2023-03-21 07:33:10,091 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:33:11 2023-03-21 07:33:10,948 [run_push] DEBUG push all version tags 07:33:11 2023-03-21 07:33:10,949 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:33:11 2023-03-21 07:33:10,949 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 07:33:11 2023-03-21 07:33:11,702 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:33:11 3.0.0-dev.21 [Pipeline] } 07:33:11 $ docker exec --env ******** --env ******** 209c4d107fb694b0a71b8a14aec3f36772dc6418a0f780543e40d5a02ecdb1fb ssh-agent -k 07:33:11 unset SSH_AUTH_SOCK; 07:33:11 unset SSH_AGENT_PID; 07:33:11 echo Agent pid 39 killed; 07:33:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:33:12 + git semver [Pipeline] } 07:33:12 $ docker stop --time=1 209c4d107fb694b0a71b8a14aec3f36772dc6418a0f780543e40d5a02ecdb1fb 07:33:13 $ docker rm -f --volumes 209c4d107fb694b0a71b8a14aec3f36772dc6418a0f780543e40d5a02ecdb1fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:33:14 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 07:33:14 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 07:33:14 total 16 07:33:14 drwxr-xr-x 3 root root 4096 Mar 21 07:22 . 07:33:14 drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 07:32 .. 07:33:14 drwxr-xr-x 2 root root 4096 Mar 21 07:22 cost 07:33:14 -rw-r--r-- 1 root root 87 Mar 21 07:22 cost.csv 07:33:14 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 07:33:14 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 07:33:14 total 16 07:33:14 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 07:22 . 07:33:14 drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 07:32 .. 07:33:14 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 07:22 cost 07:33:14 -rw-r--r-- 1 jenkins jenkins 87 Mar 21 07:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:33:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:33:15 ---> package-listing.sh 07:33:15 ++ facter osfamily 07:33:15 ++ tr '[:upper:]' '[:lower:]' 07:33:15 + OS_FAMILY=debian 07:33:15 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 07:33:15 + START_PACKAGES=/tmp/packages_start.txt 07:33:15 + END_PACKAGES=/tmp/packages_end.txt 07:33:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:33:15 + PACKAGES=/tmp/packages_start.txt 07:33:15 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 07:33:15 + PACKAGES=/tmp/packages_end.txt 07:33:15 + case "${OS_FAMILY}" in 07:33:15 + dpkg -l 07:33:15 + grep '^ii' 07:33:15 + '[' -f /tmp/packages_start.txt ']' 07:33:15 + '[' -f /tmp/packages_end.txt ']' 07:33:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:33:15 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 07:33:15 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 07:33:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 07:33:15 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:33:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:33:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:33:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:33:16 prd-ubuntu20.04-docker-8c-8g-4761 does not seem to be running inside a container 07:33:16 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:33:16 $ docker top a71a7a28d5c04013fc392176219e092931749dc19305a65a94bc5bcecf3a03bd -eo pid,comm [Pipeline] { [Pipeline] sh 07:33:17 + touch /tmp/pre-build-complete [Pipeline] sh 07:33:17 + mkdir -p /var/log/sysstat [Pipeline] sh 07:33:17 + ls /var/log/sa-host 07:33:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:33:17 provisioning config files... 07:33:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17897514292220740735tmp [Pipeline] { [Pipeline] echo 07:33:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:33:18 ---> create-netrc.sh [Pipeline] } 07:33:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:33:18 ---> python-tools-install.sh [Pipeline] echo 07:33:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:33:18 ---> sudo-logs.sh 07:33:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:33:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:33:19 ---> job-cost.sh 07:33:19 lf-activate-venv: SKIPPING 07:33:19 DEBUG: total: 0.2199999988079071 07:33:19 INFO: Retrieving Stack Cost... 07:33:19 INFO: Retrieving Pricing Info for: v3-standard-8 07:33:19 INFO: Archiving Costs [Pipeline] echo 07:33:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:33:20 ---> logs-deploy.sh 07:33:20 lf-activate-venv: SKIPPING 07:33:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/86 07:33:20 INFO: archiving workspace using pattern(s): 07:33:21 Archives upload complete. 07:33:21 INFO: archiving logs to Nexus