Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b7c00ecea16ee3fe559c969829072d5131dcac71 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-ssh4762392685704546854.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh901694135063606290.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh4799669825199321979.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh7426033885533835914.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-ssh10215976890258601535.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-17218 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b7c00ecea16ee3fe559c969829072d5131dcac71 (main) Commit message: "Merge pull request #488 from jumpingliu/update-readme" > 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 b7c00ecea16ee3fe559c969829072d5131dcac71 # timeout=10 > git rev-list --no-walk 4043164b7337e1db1bede6ff26841e4d6947650d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:14:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:14:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:14:46 ========================================================= 00:14:46 EdgeX Global Pipelines Version Info 00:14:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:14:46 ------------------- 00:14:46 stable info: 00:14:46 ------------------- 00:14:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:14:46 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:14:46 Message: update stable to v1.0.249 00:14:47 ------------------- 00:14:47 experimental info: 00:14:47 ------------------- 00:14:47 Commited By: **** collab-it+edgex@linuxfoundation.org 00:14:47 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:14:47 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:14:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 00:14:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 00:14:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:14:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:14:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:14:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:14:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:14:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:14:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:14:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:14:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:14:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 00:14:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:14:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:14:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:14:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:14:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:14:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:14:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:14:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:14:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:14:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:14:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:14:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:14:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:14:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:14:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:14:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:14:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:14:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:14:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b7c00ecea16ee3fe559c969829072d5131dcac71 [Pipeline] echo 00:14:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b7c00ec [Pipeline] echo 00:14:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:14:47 provisioning config files... 00:14:47 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13635224056997174087tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:14:48 ---> docker-login.sh 00:14:48 nexus3.edgexfoundry.org:10001 00:14:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:48 Configure a credential helper to remove this warning. See 00:14:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:48 00:14:48 Login Succeeded 00:14:48 nexus3.edgexfoundry.org:10002 00:14:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:48 Configure a credential helper to remove this warning. See 00:14:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:48 00:14:48 Login Succeeded 00:14:48 nexus3.edgexfoundry.org:10003 00:14:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:48 Configure a credential helper to remove this warning. See 00:14:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:48 00:14:48 Login Succeeded 00:14:48 nexus3.edgexfoundry.org:10004 00:14:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:48 Configure a credential helper to remove this warning. See 00:14:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:48 00:14:48 Login Succeeded 00:14:48 docker.io 00:14:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:49 Configure a credential helper to remove this warning. See 00:14:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:49 00:14:49 Login Succeeded 00:14:49 ---> docker-login.sh ends [Pipeline] } 00:14:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:14:49 + git rev-list -1 --merges b7c00ecea16ee3fe559c969829072d5131dcac71~1..b7c00ecea16ee3fe559c969829072d5131dcac71 [Pipeline] echo 00:14:49 -----------> git rev-list -1 --merges b7c00ecea16ee3fe559c969829072d5131dcac71~1..b7c00ecea16ee3fe559c969829072d5131dcac71 b7c00ecea16ee3fe559c969829072d5131dcac71 00:14:49 b7c00ecea16ee3fe559c969829072d5131dcac71 [false] [Pipeline] sh 00:14:50 + git log --format=format:%s -1 b7c00ecea16ee3fe559c969829072d5131dcac71 [Pipeline] echo 00:14:50 ========================================================= 00:14:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:14:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:14:50 + git log --format=format:%s -1 b7c00ecea16ee3fe559c969829072d5131dcac71 [Pipeline] echo 00:14:50 [semverPrep] GIT_COMMIT: b7c00ecea16ee3fe559c969829072d5131dcac71, Commit Message: Merge pull request #488 from jumpingliu/update-readme [Pipeline] echo 00:14:50 [semverPrep] This is not a build commit. [Pipeline] sh 00:14:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:14:50 + grep -v github /etc/ssh/ssh_known_hosts 00:14:50 + [ -e /tmp/ssh_known_hosts ] 00:14:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:14:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:14:50 + sudo tee -a /etc/ssh/ssh_known_hosts 00:14:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:14:51 00:14:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:14:51 0.1.4: Pulling from edgex-devops/py-git-semver 00:14:51 b85a868b505f: Pulling fs layer 00:14:51 e2be974225ed: Pulling fs layer 00:14:51 339a4e72a1f5: Pulling fs layer 00:14:51 988bab9f4d93: Pulling fs layer 00:14:51 1469e6f7b9e6: Pulling fs layer 00:14:51 eaf3925da568: Pulling fs layer 00:14:51 bab4dde63d76: Pulling fs layer 00:14:51 bde34c3a00c8: Pulling fs layer 00:14:51 b352a97aabf1: Pulling fs layer 00:14:51 4872d77fe225: Pulling fs layer 00:14:51 5851b861e8e6: Pulling fs layer 00:14:51 bde34c3a00c8: Waiting 00:14:51 b352a97aabf1: Waiting 00:14:51 bab4dde63d76: Waiting 00:14:51 eaf3925da568: Waiting 00:14:51 4872d77fe225: Waiting 00:14:51 988bab9f4d93: Waiting 00:14:51 5851b861e8e6: Waiting 00:14:51 1469e6f7b9e6: Waiting 00:14:51 e2be974225ed: Download complete 00:14:51 988bab9f4d93: Verifying Checksum 00:14:51 988bab9f4d93: Download complete 00:14:51 1469e6f7b9e6: Verifying Checksum 00:14:51 1469e6f7b9e6: Download complete 00:14:51 eaf3925da568: Verifying Checksum 00:14:51 339a4e72a1f5: Verifying Checksum 00:14:51 339a4e72a1f5: Download complete 00:14:51 bde34c3a00c8: Verifying Checksum 00:14:51 bde34c3a00c8: Download complete 00:14:51 b352a97aabf1: Verifying Checksum 00:14:51 b352a97aabf1: Download complete 00:14:51 4872d77fe225: Verifying Checksum 00:14:51 4872d77fe225: Download complete 00:14:51 5851b861e8e6: Download complete 00:14:51 b85a868b505f: Verifying Checksum 00:14:51 b85a868b505f: Download complete 00:14:52 bab4dde63d76: Verifying Checksum 00:14:52 bab4dde63d76: Download complete 00:14:53 b85a868b505f: Pull complete 00:14:53 e2be974225ed: Pull complete 00:14:54 339a4e72a1f5: Pull complete 00:14:54 988bab9f4d93: Pull complete 00:14:54 1469e6f7b9e6: Pull complete 00:14:54 eaf3925da568: Pull complete 00:14:56 bab4dde63d76: Pull complete 00:14:56 bde34c3a00c8: Pull complete 00:14:56 b352a97aabf1: Pull complete 00:14:56 4872d77fe225: Pull complete 00:14:56 5851b861e8e6: Pull complete 00:14:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:14:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:14:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:14:56 prd-ubuntu20.04-docker-8c-8g-17218 does not seem to be running inside a container 00:14:56 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:14:58 $ docker top a5464e9172835506023b544417a829824b5b1ed445ce0728662297b4e1109e47 -eo pid,comm 00:14:58 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:14:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:14:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:14:58 [ssh-agent] Looking for ssh-agent implementation... 00:14:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:14:58 $ docker exec a5464e9172835506023b544417a829824b5b1ed445ce0728662297b4e1109e47 ssh-agent 00:14:58 SSH_AUTH_SOCK=/tmp/ssh-DDHK0NAQvx2s/agent.33 00:14:58 SSH_AGENT_PID=39 00:14:58 Running ssh-add (command line suppressed) 00:14:59 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12981364097405069426.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12981364097405069426.key) 00:14:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:14:59 + git tag --points-at HEAD [Pipeline] } 00:14:59 $ docker exec --env ******** --env ******** a5464e9172835506023b544417a829824b5b1ed445ce0728662297b4e1109e47 ssh-agent -k 00:14:59 unset SSH_AUTH_SOCK; 00:14:59 unset SSH_AGENT_PID; 00:14:59 echo Agent pid 39 killed; 00:14:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:14:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:14:59 [ssh-agent] Looking for ssh-agent implementation... 00:14:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:14:59 $ docker exec a5464e9172835506023b544417a829824b5b1ed445ce0728662297b4e1109e47 ssh-agent 00:14:59 SSH_AUTH_SOCK=/tmp/ssh-jBpNNG1HVIIS/agent.71 00:14:59 SSH_AGENT_PID=77 00:14:59 Running ssh-add (command line suppressed) 00:14:59 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14952996744379399774.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14952996744379399774.key) 00:14:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:15:00 + git semver init 00:15:00 2023-05-30 00:15:00,328 [run_init] DEBUG init version:0.0.0 force:False 00:15:00 2023-05-30 00:15:00,329 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 00:15:00 2023-05-30 00:15:00,329 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 00:15:00 2023-05-30 00:15:00,330 [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) 00:15:01 2023-05-30 00:15:01,178 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 00:15:01 2023-05-30 00:15:01,179 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 00:15:01 2023-05-30 00:15:01,179 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 00:15:01 2023-05-30 00:15:01,179 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 00:15:01 3.0.0-dev.45 [Pipeline] } 00:15:01 $ docker exec --env ******** --env ******** a5464e9172835506023b544417a829824b5b1ed445ce0728662297b4e1109e47 ssh-agent -k 00:15:01 unset SSH_AUTH_SOCK; 00:15:01 unset SSH_AGENT_PID; 00:15:01 echo Agent pid 77 killed; 00:15:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:15:01 + git semver [Pipeline] } 00:15:02 $ docker stop --time=1 a5464e9172835506023b544417a829824b5b1ed445ce0728662297b4e1109e47 00:15:03 $ docker rm -f --volumes a5464e9172835506023b544417a829824b5b1ed445ce0728662297b4e1109e47 [Pipeline] // withDockerContainer [Pipeline] sh 00:15:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:15:03 Stashed 1 file(s) [Pipeline] echo 00:15:03 [edgeXSemver]: initialized semver on version 3.0.0-dev.45 [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 00:15:04 provisioning config files... 00:15:04 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3279566586061051312tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:15:04 ---> docker-login.sh 00:15:04 nexus3.edgexfoundry.org:10001 00:15:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:04 Configure a credential helper to remove this warning. See 00:15:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:04 00:15:04 Login Succeeded 00:15:04 nexus3.edgexfoundry.org:10002 00:15:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:04 Configure a credential helper to remove this warning. See 00:15:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:04 00:15:04 Login Succeeded 00:15:04 nexus3.edgexfoundry.org:10003 00:15:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:04 Configure a credential helper to remove this warning. See 00:15:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:04 00:15:04 Login Succeeded 00:15:04 nexus3.edgexfoundry.org:10004 00:15:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:04 Configure a credential helper to remove this warning. See 00:15:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:04 00:15:04 Login Succeeded 00:15:04 docker.io 00:15:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:05 Configure a credential helper to remove this warning. See 00:15:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:05 00:15:05 Login Succeeded 00:15:05 ---> docker-login.sh ends [Pipeline] } 00:15:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:15:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:15:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:15:05 ========================================================= 00:15:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:15:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:05 + 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 . 00:15:05 Sending build context to Docker daemon 6.55MB 00:15:05 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 00:15:05 Step 2/10 : FROM ${BASE} AS builder 00:15:05 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:15:05 f56be85fc22e: Pulling fs layer 00:15:05 85791d961cd3: Pulling fs layer 00:15:05 d694b5ae8c79: Pulling fs layer 00:15:05 9f32a84ed3da: Pulling fs layer 00:15:05 4d19c01a9841: Pulling fs layer 00:15:05 9325e15d5711: Pulling fs layer 00:15:05 556b6ee489ea: Pulling fs layer 00:15:05 c5a4b2cf53e6: Pulling fs layer 00:15:05 4d19c01a9841: Waiting 00:15:05 9f32a84ed3da: Waiting 00:15:05 9325e15d5711: Waiting 00:15:05 c5a4b2cf53e6: Waiting 00:15:05 85791d961cd3: Download complete 00:15:05 9f32a84ed3da: Verifying Checksum 00:15:05 9f32a84ed3da: Download complete 00:15:05 4d19c01a9841: Verifying Checksum 00:15:05 4d19c01a9841: Download complete 00:15:05 f56be85fc22e: Verifying Checksum 00:15:05 f56be85fc22e: Download complete 00:15:05 9325e15d5711: Verifying Checksum 00:15:05 9325e15d5711: Download complete 00:15:05 f56be85fc22e: Pull complete 00:15:06 85791d961cd3: Pull complete 00:15:06 c5a4b2cf53e6: Verifying Checksum 00:15:06 c5a4b2cf53e6: Download complete 00:15:06 d694b5ae8c79: Verifying Checksum 00:15:06 d694b5ae8c79: Download complete 00:15:06 556b6ee489ea: Verifying Checksum 00:15:06 556b6ee489ea: Download complete 00:15:09 d694b5ae8c79: Pull complete 00:15:09 9f32a84ed3da: Pull complete 00:15:09 4d19c01a9841: Pull complete 00:15:09 9325e15d5711: Pull complete 00:15:12 556b6ee489ea: Pull complete 00:15:13 c5a4b2cf53e6: Pull complete 00:15:13 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 00:15:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:15:13 ---> c4be618373d6 00:15:13 Step 3/10 : ARG ADD_BUILD_TAGS="" 00:15:16 ---> Running in 29c94ea304b5 00:15:17 Removing intermediate container 29c94ea304b5 00:15:17 ---> 91984e032a36 00:15:17 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:15:17 ---> Running in aacbcf6ef32b 00:15:17 Removing intermediate container aacbcf6ef32b 00:15:17 ---> c6f146589efd 00:15:17 Step 5/10 : RUN apk add --update --no-cache make git openssh 00:15:17 ---> Running in 248a4a49a93b 00:15:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:15:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:15:17 (1/8) Installing openssh-keygen (9.1_p1-r3) 00:15:17 (2/8) Installing libedit (20221030.3.1-r0) 00:15:17 (3/8) Installing openssh-client-common (9.1_p1-r3) 00:15:17 (4/8) Installing openssh-client-default (9.1_p1-r3) 00:15:17 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 00:15:17 (6/8) Installing openssh-server-common (9.1_p1-r3) 00:15:17 (7/8) Installing openssh-server (9.1_p1-r3) 00:15:17 (8/8) Installing openssh (9.1_p1-r3) 00:15:17 Executing busybox-1.35.0-r29.trigger 00:15:17 OK: 270 MiB in 61 packages 00:15:18 Removing intermediate container 248a4a49a93b 00:15:18 ---> 638ea5f03d10 00:15:18 Step 6/10 : WORKDIR /device-modbus-go 00:15:18 ---> Running in 42bfb4629860 00:15:18 Removing intermediate container 42bfb4629860 00:15:18 ---> 67d80068d3dd 00:15:18 Step 7/10 : COPY go.mod vendor* ./ 00:15:18 ---> 2dea4f6f48c9 00:15:18 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:15:18 ---> Running in dcb6a1ce78e9 00:15:19 Still waiting to schedule task 00:15:19 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:15:57 Removing intermediate container dcb6a1ce78e9 00:15:57 ---> 075ae25d366e 00:15:57 Step 9/10 : COPY . . 00:15:57 ---> 56688453d83c 00:15:57 Step 10/10 : RUN ${MAKE} 00:15:57 ---> Running in 048726f6da0f 00:15:57 noop 00:15:57 Removing intermediate container 048726f6da0f 00:15:57 ---> 2ad79661d0ce 00:15:57 Successfully built 2ad79661d0ce 00:15:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:57 + docker inspect -f . ci-base-image-x86_64 00:15:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:15:57 prd-ubuntu20.04-docker-8c-8g-17218 does not seem to be running inside a container 00:15:57 $ 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 ******** ci-base-image-x86_64 cat 00:15:58 $ docker top 6dbf00e388e393849def37980eae1e48a971fd19e17ac1e0c4a907d27b76d023 -eo pid,comm [Pipeline] { [Pipeline] sh 00:15:58 + go version 00:15:58 go version go1.20.2 linux/amd64 [Pipeline] } 00:15:58 $ docker stop --time=1 6dbf00e388e393849def37980eae1e48a971fd19e17ac1e0c4a907d27b76d023 00:15:59 $ docker rm -f --volumes 6dbf00e388e393849def37980eae1e48a971fd19e17ac1e0c4a907d27b76d023 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:00 + docker inspect -f . ci-base-image-x86_64 00:16:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:16:00 prd-ubuntu20.04-docker-8c-8g-17218 does not seem to be running inside a container 00:16:00 $ 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 ******** ci-base-image-x86_64 cat 00:16:00 $ docker top a68e1a1b6e12de0cb09b24d3c3eae62057d8e8ab7ba183d464abaa3951152234 -eo pid,comm [Pipeline] { [Pipeline] sh 00:16:00 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 00:16:01 + make test 00:16:01 go test ./... -coverprofile=coverage.out 00:16:06 ? github.com/edgexfoundry/device-modbus-go [no test files] 00:16:16 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 00:16:16 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.016s coverage: 47.4% of statements 00:16:23 go vet ./... 00:16:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:16:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:16:27 ./bin/test-attribution-txt.sh [Pipeline] echo 00:16:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:16:27 $ docker stop --time=1 a68e1a1b6e12de0cb09b24d3c3eae62057d8e8ab7ba183d464abaa3951152234 00:16:30 $ docker rm -f --volumes a68e1a1b6e12de0cb09b24d3c3eae62057d8e8ab7ba183d464abaa3951152234 [Pipeline] // withDockerContainer [Pipeline] sh 00:16:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:16:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:16:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:16:31 + ls -al . 00:16:31 total 184 00:16:31 drwxrwxr-x 10 jenkins jenkins 4096 May 30 00:16 . 00:16:31 drwxrwxr-x 4 jenkins jenkins 4096 May 30 00:14 .. 00:16:31 -rw-rw-r-- 1 jenkins jenkins 140 May 30 00:14 .dockerignore 00:16:31 drwxrwxr-x 8 jenkins jenkins 4096 May 30 00:15 .git 00:16:31 drwxrwxr-x 3 jenkins jenkins 4096 May 30 00:14 .github 00:16:31 -rw-rw-r-- 1 jenkins jenkins 331 May 30 00:14 .gitignore 00:16:31 -rw-rw-r-- 1 jenkins jenkins 41 May 30 00:14 .golangci.yml 00:16:31 drwxr-xr-x 3 jenkins jenkins 4096 May 30 00:15 .semver 00:16:31 -rw-rw-r-- 1 jenkins jenkins 10132 May 30 00:14 Attribution.txt 00:16:31 -rw-rw-r-- 1 jenkins jenkins 11576 May 30 00:14 CHANGELOG.md 00:16:31 -rw-rw-r-- 1 jenkins jenkins 1365 May 30 00:14 Dockerfile 00:16:31 -rw-rw-r-- 1 jenkins jenkins 677 May 30 00:14 GOVERNANCE.md 00:16:31 -rw-rw-r-- 1 jenkins jenkins 680 May 30 00:14 Jenkinsfile 00:16:31 -rw-rw-r-- 1 jenkins jenkins 11340 May 30 00:14 LICENSE 00:16:31 -rw-rw-r-- 1 jenkins jenkins 1705 May 30 00:14 Makefile 00:16:31 -rw-rw-r-- 1 jenkins jenkins 622 May 30 00:14 OWNERS.md 00:16:31 -rw-rw-r-- 1 jenkins jenkins 4578 May 30 00:14 README.md 00:16:31 -rw-rw-r-- 1 jenkins jenkins 12 May 30 00:15 VERSION 00:16:31 drwxrwxr-x 2 jenkins jenkins 4096 May 30 00:14 bin 00:16:31 drwxrwxr-x 3 jenkins jenkins 4096 May 30 00:14 cmd 00:16:31 -rw-r--r-- 1 jenkins jenkins 24160 May 30 00:16 coverage.out 00:16:31 -rw-rw-r-- 1 jenkins jenkins 3405 May 30 00:14 go.mod 00:16:31 -rw-rw-r-- 1 jenkins jenkins 31574 May 30 00:14 go.sum 00:16:31 drwxrwxr-x 3 jenkins jenkins 4096 May 30 00:14 internal 00:16:31 drwxrwxr-x 2 jenkins jenkins 4096 May 30 00:14 simulator 00:16:31 drwxrwxr-x 4 jenkins jenkins 4096 May 30 00:14 snap 00:16:31 -rw-rw-r-- 1 jenkins jenkins 229 May 30 00:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:31 + 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=b7c00ecea16ee3fe559c969829072d5131dcac71 --label arch=amd64 --label version=3.0.0-dev.45 . 00:16:31 Sending build context to Docker daemon 6.575MB 00:16:31 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 00:16:31 Step 2/22 : FROM ${BASE} AS builder 00:16:31 ---> 2ad79661d0ce 00:16:31 Step 3/22 : ARG ADD_BUILD_TAGS="" 00:16:31 ---> Running in 01275b2c9873 00:16:32 Removing intermediate container 01275b2c9873 00:16:32 ---> a04aad2349c0 00:16:32 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:16:32 ---> Running in 110697c3e30c 00:16:32 Removing intermediate container 110697c3e30c 00:16:32 ---> 30ce0733c905 00:16:32 Step 5/22 : RUN apk add --update --no-cache make git openssh 00:16:32 ---> Running in a770796df87a 00:16:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:16:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:16:32 OK: 270 MiB in 61 packages 00:16:33 Removing intermediate container a770796df87a 00:16:33 ---> 6d9efb37eaa3 00:16:33 Step 6/22 : WORKDIR /device-modbus-go 00:16:33 ---> Running in 2863c1575323 00:16:33 Removing intermediate container 2863c1575323 00:16:33 ---> c9c5f06d0389 00:16:33 Step 7/22 : COPY go.mod vendor* ./ 00:16:33 ---> c3880f45048b 00:16:33 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:16:33 ---> Running in 2fd8f9e61be3 00:16:34 Removing intermediate container 2fd8f9e61be3 00:16:34 ---> 97219294e540 00:16:34 Step 9/22 : COPY . . 00:16:34 ---> ed269e5db600 00:16:34 Step 10/22 : RUN ${MAKE} 00:16:34 ---> Running in 9de7ec31889b 00:16:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.45" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 00:16:53 Removing intermediate container 9de7ec31889b 00:16:53 ---> a7da635a66a2 00:16:53 Step 11/22 : FROM alpine:3.17 00:16:53 3.17: Pulling from library/alpine 00:16:53 f56be85fc22e: Already exists 00:16:53 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:16:53 Status: Downloaded newer image for alpine:3.17 00:16:53 ---> 9ed4aefc74f6 00:16:53 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 00:16:53 ---> Running in 403dc3fd62cd 00:16:54 Removing intermediate container 403dc3fd62cd 00:16:54 ---> f8de717b98d7 00:16:54 Step 13/22 : RUN apk add --update --no-cache dumb-init 00:16:54 ---> Running in c2136274a36e 00:16:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:16:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:16:54 (1/1) Installing dumb-init (1.2.5-r2) 00:16:54 Executing busybox-1.35.0-r29.trigger 00:16:54 OK: 7 MiB in 16 packages 00:16:54 Removing intermediate container c2136274a36e 00:16:54 ---> 4aedd2e4c309 00:16:54 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 00:16:55 ---> ce9372f2068e 00:16:55 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 00:16:55 ---> 1e209db78d69 00:16:55 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 00:16:55 ---> 2d22c4546756 00:16:55 Step 17/22 : EXPOSE 59901 00:16:55 ---> Running in c6945c0b55bb 00:16:55 Removing intermediate container c6945c0b55bb 00:16:55 ---> 3bc5a0fefad1 00:16:55 Step 18/22 : ENTRYPOINT ["/device-modbus"] 00:16:55 ---> Running in 608283c4ff9f 00:16:56 Removing intermediate container 608283c4ff9f 00:16:56 ---> 49f32e6420c9 00:16:56 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:16:56 ---> Running in 59c99ae0bf35 00:16:56 Removing intermediate container 59c99ae0bf35 00:16:56 ---> 876d6ab476fe 00:16:56 Step 20/22 : LABEL arch=amd64 00:16:56 ---> Running in cd145c870f3e 00:16:56 Removing intermediate container cd145c870f3e 00:16:56 ---> 1ee5b28c5ff5 00:16:56 Step 21/22 : LABEL git_sha=b7c00ecea16ee3fe559c969829072d5131dcac71 00:16:56 ---> Running in 2325beefb86a 00:16:56 Removing intermediate container 2325beefb86a 00:16:56 ---> 80551e22e92b 00:16:56 Step 22/22 : LABEL version=3.0.0-dev.45 00:16:56 ---> Running in f4c7b7577c6c 00:16:56 Removing intermediate container f4c7b7577c6c 00:16:56 ---> 881d524d1036 00:16:56 [Warning] One or more build-args [ARCH] were not consumed 00:16:56 Successfully built 881d524d1036 00:16:56 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:16:56 provisioning config files... 00:16:56 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14801808752655936995tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:16:56 ---> docker-login.sh 00:16:56 nexus3.edgexfoundry.org:10001 00:16:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:57 Configure a credential helper to remove this warning. See 00:16:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:57 00:16:57 Login Succeeded 00:16:57 nexus3.edgexfoundry.org:10002 00:16:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:57 Configure a credential helper to remove this warning. See 00:16:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:57 00:16:57 Login Succeeded 00:16:57 nexus3.edgexfoundry.org:10003 00:16:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:57 Configure a credential helper to remove this warning. See 00:16:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:57 00:16:57 Login Succeeded 00:16:57 nexus3.edgexfoundry.org:10004 00:16:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:57 Configure a credential helper to remove this warning. See 00:16:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:57 00:16:57 Login Succeeded 00:16:57 docker.io 00:16:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:57 Configure a credential helper to remove this warning. See 00:16:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:57 00:16:57 Login Succeeded 00:16:57 ---> docker-login.sh ends [Pipeline] } 00:16:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:16:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:16:57 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 00:16:57 b7c00ecea16ee3fe559c969829072d5131dcac71 00:16:57 latest 00:16:57 3.0.0-dev.45 00:16:57 b7c00ecea16ee3fe559c969829072d5131dcac71-3.0.0-dev.45 00:16:57 main 00:16:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:57 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:b7c00ecea16ee3fe559c969829072d5131dcac71 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:58 + docker push nexus3.edgexfoundry.org:10004/device-modbus:b7c00ecea16ee3fe559c969829072d5131dcac71 00:16:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 00:16:58 f990eb94a057: Preparing 00:16:58 37058e14063f: Preparing 00:16:58 3544f46f9e75: Preparing 00:16:58 6edd2d8f1255: Preparing 00:16:58 f1417ff83b31: Preparing 00:16:58 f1417ff83b31: Layer already exists 00:16:58 f990eb94a057: Pushed 00:16:58 37058e14063f: Pushed 00:16:58 6edd2d8f1255: Pushed 00:17:00 3544f46f9e75: Pushed 00:17:00 b7c00ecea16ee3fe559c969829072d5131dcac71: digest: sha256:df70bc24fd7254774c5dd55258f07f071637a78aae3372d1e5d81bcccc6d5783 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:01 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:01 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 00:17:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 00:17:01 f990eb94a057: Preparing 00:17:01 37058e14063f: Preparing 00:17:01 3544f46f9e75: Preparing 00:17:01 6edd2d8f1255: Preparing 00:17:01 f1417ff83b31: Preparing 00:17:01 37058e14063f: Layer already exists 00:17:01 3544f46f9e75: Layer already exists 00:17:01 6edd2d8f1255: Layer already exists 00:17:01 f990eb94a057: Layer already exists 00:17:01 f1417ff83b31: Layer already exists 00:17:01 latest: digest: sha256:df70bc24fd7254774c5dd55258f07f071637a78aae3372d1e5d81bcccc6d5783 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:01 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.45 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:02 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.45 00:17:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 00:17:02 f990eb94a057: Preparing 00:17:02 37058e14063f: Preparing 00:17:02 3544f46f9e75: Preparing 00:17:02 6edd2d8f1255: Preparing 00:17:02 f1417ff83b31: Preparing 00:17:02 f1417ff83b31: Layer already exists 00:17:02 37058e14063f: Layer already exists 00:17:02 f990eb94a057: Layer already exists 00:17:02 6edd2d8f1255: Layer already exists 00:17:02 3544f46f9e75: Layer already exists 00:17:02 3.0.0-dev.45: digest: sha256:df70bc24fd7254774c5dd55258f07f071637a78aae3372d1e5d81bcccc6d5783 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:02 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:b7c00ecea16ee3fe559c969829072d5131dcac71-3.0.0-dev.45 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:02 + docker push nexus3.edgexfoundry.org:10004/device-modbus:b7c00ecea16ee3fe559c969829072d5131dcac71-3.0.0-dev.45 00:17:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 00:17:02 f990eb94a057: Preparing 00:17:02 37058e14063f: Preparing 00:17:02 3544f46f9e75: Preparing 00:17:02 6edd2d8f1255: Preparing 00:17:02 f1417ff83b31: Preparing 00:17:02 f990eb94a057: Layer already exists 00:17:02 37058e14063f: Layer already exists 00:17:02 3544f46f9e75: Layer already exists 00:17:02 6edd2d8f1255: Layer already exists 00:17:02 f1417ff83b31: Layer already exists 00:17:02 b7c00ecea16ee3fe559c969829072d5131dcac71-3.0.0-dev.45: digest: sha256:df70bc24fd7254774c5dd55258f07f071637a78aae3372d1e5d81bcccc6d5783 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:03 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:03 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 00:17:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 00:17:03 f990eb94a057: Preparing 00:17:03 37058e14063f: Preparing 00:17:03 3544f46f9e75: Preparing 00:17:03 6edd2d8f1255: Preparing 00:17:03 f1417ff83b31: Preparing 00:17:03 37058e14063f: Layer already exists 00:17:03 f1417ff83b31: Layer already exists 00:17:03 3544f46f9e75: Layer already exists 00:17:03 f990eb94a057: Layer already exists 00:17:03 6edd2d8f1255: Layer already exists 00:17:03 main: digest: sha256:df70bc24fd7254774c5dd55258f07f071637a78aae3372d1e5d81bcccc6d5783 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:17:03 ===================================================== [Pipeline] echo 00:17:03 taggedImages: 00:17:03 - nexus3.edgexfoundry.org:10004/device-modbus:b7c00ecea16ee3fe559c969829072d5131dcac71 00:17:03 - nexus3.edgexfoundry.org:10004/device-modbus:latest 00:17:03 - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.45 00:17:03 - nexus3.edgexfoundry.org:10004/device-modbus:b7c00ecea16ee3fe559c969829072d5131dcac71-3.0.0-dev.45 00:17:03 - 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 00:17:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:17:03 00:17:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:17:04 latest: Pulling from edgex-lftools-log-publisher 00:17:04 5eb5b503b376: Pulling fs layer 00:17:04 5c69ac0246d0: Pulling fs layer 00:17:04 ec43610c2a17: Pulling fs layer 00:17:04 3a2ae6a8a46f: Pulling fs layer 00:17:04 33b1e0a273af: Pulling fs layer 00:17:04 5d3b04190fa2: Pulling fs layer 00:17:04 2f39f015ded8: Pulling fs layer 00:17:04 33b1e0a273af: Waiting 00:17:04 5d3b04190fa2: Waiting 00:17:04 2f39f015ded8: Waiting 00:17:04 3a2ae6a8a46f: Waiting 00:17:04 5c69ac0246d0: Download complete 00:17:04 3a2ae6a8a46f: Verifying Checksum 00:17:04 3a2ae6a8a46f: Download complete 00:17:04 33b1e0a273af: Verifying Checksum 00:17:04 33b1e0a273af: Download complete 00:17:04 ec43610c2a17: Download complete 00:17:04 5d3b04190fa2: Download complete 00:17:04 5eb5b503b376: Verifying Checksum 00:17:04 5eb5b503b376: Download complete 00:17:05 2f39f015ded8: Download complete 00:17:05 5eb5b503b376: Pull complete 00:17:05 5c69ac0246d0: Pull complete 00:17:06 ec43610c2a17: Pull complete 00:17:06 3a2ae6a8a46f: Pull complete 00:17:06 33b1e0a273af: Pull complete 00:17:06 5d3b04190fa2: Pull complete 00:17:10 2f39f015ded8: Pull complete 00:17:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:17:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:17:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:17:10 prd-ubuntu20.04-docker-8c-8g-17218 does not seem to be running inside a container 00:17:10 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:17:13 $ docker top 0e2e4d825dea867b51dc219c8c3ea1cc85367eac1ab1f5a6863537064e5e51ac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:17:14 ---> job-cost.sh 00:17:14 lf-activate-venv: SKIPPING 00:17:14 INFO: No Stack... 00:17:14 INFO: Retrieving Pricing Info for: v3-standard-8 00:17:14 INFO: Archiving Costs [Pipeline] sh 00:17:15 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 00:17:15 + cut -d, -f6 [Pipeline] lock 00:17:15 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-111-stack-cost] 00:17:15 Resource [jenkins-edgexfoundry-device-modbus-go-main-111-stack-cost] did not exist. Created. 00:17:15 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-111-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:17:15 + echo total: 0.2199999988079071 [Pipeline] stash 00:17:15 Stashed 1 file(s) [Pipeline] } 00:17:15 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-111-stack-cost] [Pipeline] // lock [Pipeline] } 00:17:15 $ docker stop --time=1 0e2e4d825dea867b51dc219c8c3ea1cc85367eac1ab1f5a6863537064e5e51ac 00:17:16 $ docker rm -f --volumes 0e2e4d825dea867b51dc219c8c3ea1cc85367eac1ab1f5a6863537064e5e51ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:18:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17221 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 00:18:13 Running in /w/workspace/device-modbus-go/111 [Pipeline] { [Pipeline] checkout 00:18:13 Selected Git installation does not exist. Using Default 00:18:13 The recommended git tool is: NONE 00:18:20 using credential edgex-jenkins-ssh 00:18:20 Cloning the remote Git repository 00:18:20 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 00:18:20 > git init /w/workspace/device-modbus-go/111 # timeout=10 00:18:20 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:18:20 > git --version # timeout=10 00:18:20 > git --version # 'git version 2.25.1' 00:18:20 using GIT_SSH to set credentials SSH Credentials for GitHub 00:18:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:18:22 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:18:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:18:23 Avoid second fetch 00:18:23 Checking out Revision b7c00ecea16ee3fe559c969829072d5131dcac71 (main) 00:18:23 Commit message: "Merge pull request #488 from jumpingliu/update-readme" 00:18:23 > git config core.sparsecheckout # timeout=10 00:18:23 > git checkout -f b7c00ecea16ee3fe559c969829072d5131dcac71 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:18:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:18:24 % Total % Received % Xferd Average Speed Time Time Time Current 00:18:24 Dload Upload Total Spent Left Speed 00:18:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 90432 [Pipeline] sh 00:18:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:18:25 + sudo tee /etc/docker/daemon.new 00:18:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:18:25 { 00:18:25 "registry-mirrors": [ 00:18:25 "https://nexus3.edgexfoundry.org:10001" 00:18:25 ], 00:18:25 "bip": "10.250.0.254/24", 00:18:25 "hosts": [ 00:18:25 "tcp://0.0.0.0:5555", 00:18:25 "unix:///var/run/docker.sock" 00:18:25 ], 00:18:25 "mtu": 1458, 00:18:25 "selinux-enabled": true, 00:18:25 "seccomp-profile": "/etc/docker/seccomp.json" 00:18:25 } [Pipeline] sh 00:18:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:18:26 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:18:44 provisioning config files... 00:18:44 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/111@tmp/config208381651372998189tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:18:45 ---> docker-login.sh 00:18:45 nexus3.edgexfoundry.org:10001 00:18:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:45 Configure a credential helper to remove this warning. See 00:18:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:45 00:18:45 Login Succeeded 00:18:45 nexus3.edgexfoundry.org:10002 00:18:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:46 Configure a credential helper to remove this warning. See 00:18:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:46 00:18:46 Login Succeeded 00:18:46 nexus3.edgexfoundry.org:10003 00:18:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:46 Configure a credential helper to remove this warning. See 00:18:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:46 00:18:46 Login Succeeded 00:18:46 nexus3.edgexfoundry.org:10004 00:18:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:47 Configure a credential helper to remove this warning. See 00:18:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:47 00:18:47 Login Succeeded 00:18:47 docker.io 00:18:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:47 Configure a credential helper to remove this warning. See 00:18:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:47 00:18:47 Login Succeeded 00:18:47 ---> docker-login.sh ends [Pipeline] } 00:18:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:18:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:18:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:18:47 ========================================================= 00:18:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:18:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:48 + 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 . 00:18:48 Sending build context to Docker daemon 3.427MB 00:18:48 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 00:18:48 Step 2/10 : FROM ${BASE} AS builder 00:18:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:18:48 c41833b44d91: Pulling fs layer 00:18:48 ed15518f5707: Pulling fs layer 00:18:48 feae8fd75edb: Pulling fs layer 00:18:48 242c74f7c9fa: Pulling fs layer 00:18:48 3cdef696dda3: Pulling fs layer 00:18:48 2ced38df9373: Pulling fs layer 00:18:48 58f1dce35555: Pulling fs layer 00:18:48 2ced38df9373: Waiting 00:18:48 242c74f7c9fa: Waiting 00:18:48 3cdef696dda3: Waiting 00:18:48 58f1dce35555: Waiting 00:18:48 ed15518f5707: Verifying Checksum 00:18:48 ed15518f5707: Download complete 00:18:49 242c74f7c9fa: Verifying Checksum 00:18:49 242c74f7c9fa: Download complete 00:18:49 3cdef696dda3: Verifying Checksum 00:18:49 3cdef696dda3: Download complete 00:18:49 c41833b44d91: Verifying Checksum 00:18:49 c41833b44d91: Download complete 00:18:50 c41833b44d91: Pull complete 00:18:50 58f1dce35555: Verifying Checksum 00:18:50 58f1dce35555: Download complete 00:18:51 ed15518f5707: Pull complete 00:18:52 feae8fd75edb: Verifying Checksum 00:18:52 feae8fd75edb: Download complete 00:18:52 2ced38df9373: Verifying Checksum 00:18:52 2ced38df9373: Download complete 00:19:02 feae8fd75edb: Pull complete 00:19:02 242c74f7c9fa: Pull complete 00:19:02 3cdef696dda3: Pull complete 00:19:09 2ced38df9373: Pull complete 00:19:11 58f1dce35555: Pull complete 00:19:11 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 00:19:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:19:11 ---> fadd8f120f05 00:19:11 Step 3/10 : ARG ADD_BUILD_TAGS="" 00:19:13 ---> Running in 3b69610be8a6 00:19:13 Removing intermediate container 3b69610be8a6 00:19:13 ---> aa96d691d495 00:19:13 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:19:13 ---> Running in 0712adac88bf 00:19:14 Removing intermediate container 0712adac88bf 00:19:14 ---> 1f84550de4c3 00:19:14 Step 5/10 : RUN apk add --update --no-cache make git openssh 00:19:14 ---> Running in 35c9ba78bd27 00:19:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:19:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:19:17 (1/8) Installing openssh-keygen (9.1_p1-r3) 00:19:17 (2/8) Installing libedit (20221030.3.1-r0) 00:19:17 (3/8) Installing openssh-client-common (9.1_p1-r3) 00:19:17 (4/8) Installing openssh-client-default (9.1_p1-r3) 00:19:17 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 00:19:17 (6/8) Installing openssh-server-common (9.1_p1-r3) 00:19:17 (7/8) Installing openssh-server (9.1_p1-r3) 00:19:17 (8/8) Installing openssh (9.1_p1-r3) 00:19:17 Executing busybox-1.35.0-r29.trigger 00:19:17 OK: 270 MiB in 61 packages 00:19:19 Removing intermediate container 35c9ba78bd27 00:19:19 ---> d0e335623e27 00:19:19 Step 6/10 : WORKDIR /device-modbus-go 00:19:19 ---> Running in c877f65ac132 00:19:19 Removing intermediate container c877f65ac132 00:19:19 ---> 37dac7ad78bb 00:19:19 Step 7/10 : COPY go.mod vendor* ./ 00:19:19 ---> 8c995d3c0395 00:19:19 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:19:19 ---> Running in 7468d661499a 00:20:27 Removing intermediate container 7468d661499a 00:20:27 ---> 5f5157937694 00:20:27 Step 9/10 : COPY . . 00:20:27 ---> 573a4d87c5dd 00:20:27 Step 10/10 : RUN ${MAKE} 00:20:27 ---> Running in 4e5812d8e638 00:20:27 noop 00:20:27 Removing intermediate container 4e5812d8e638 00:20:27 ---> 86b2e16fdc85 00:20:27 Successfully built 86b2e16fdc85 00:20:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:28 + docker inspect -f . ci-base-image-arm64 00:20:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:20:28 prd-ubuntu20.04-docker-arm64-4c-16g-17221 does not seem to be running inside a container 00:20:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/111 -v /w/workspace/device-modbus-go/111:/w/workspace/device-modbus-go/111:rw,z -v /w/workspace/device-modbus-go/111@tmp:/w/workspace/device-modbus-go/111@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:20:29 $ docker top 39a8d7a5eab30f50feecc059d2630325b6c8b914253946f2b2c895b0c46733c8 -eo pid,comm [Pipeline] { [Pipeline] sh 00:20:30 + go version 00:20:30 go version go1.20.2 linux/arm64 [Pipeline] } 00:20:30 $ docker stop --time=1 39a8d7a5eab30f50feecc059d2630325b6c8b914253946f2b2c895b0c46733c8 00:20:32 $ docker rm -f --volumes 39a8d7a5eab30f50feecc059d2630325b6c8b914253946f2b2c895b0c46733c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:32 + docker inspect -f . ci-base-image-arm64 00:20:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:20:33 prd-ubuntu20.04-docker-arm64-4c-16g-17221 does not seem to be running inside a container 00:20:33 $ 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/111 -v /w/workspace/device-modbus-go/111:/w/workspace/device-modbus-go/111:rw,z -v /w/workspace/device-modbus-go/111@tmp:/w/workspace/device-modbus-go/111@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:20:34 $ docker top 1a7b573cb8d091143417f824e1447d992019aa44e729737fd301186f9a9510c6 -eo pid,comm [Pipeline] { [Pipeline] sh 00:20:35 + git config --global --add safe.directory /w/workspace/device-modbus-go/111 [Pipeline] fileExists [Pipeline] sh 00:20:35 + make test 00:20:35 go test ./... -coverprofile=coverage.out 00:21:15 ? github.com/edgexfoundry/device-modbus-go [no test files] 00:23:37 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 00:23:38 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.101s coverage: 47.4% of statements 00:23:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:23:38 go vet ./... 00:24:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:24:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:24:18 ./bin/test-attribution-txt.sh [Pipeline] echo 00:24:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:24:18 $ docker stop --time=1 1a7b573cb8d091143417f824e1447d992019aa44e729737fd301186f9a9510c6 00:24:20 $ docker rm -f --volumes 1a7b573cb8d091143417f824e1447d992019aa44e729737fd301186f9a9510c6 [Pipeline] // withDockerContainer [Pipeline] sh 00:24:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:24:21 Warning: overwriting stash ‘coverage-report’ 00:24:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:24:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:24:22 + ls -al . 00:24:22 total 180 00:24:22 drwxrwxr-x 9 jenkins jenkins 4096 May 30 00:20 . 00:24:22 drwxrwxr-x 4 jenkins jenkins 4096 May 30 00:18 .. 00:24:22 -rw-rw-r-- 1 jenkins jenkins 140 May 30 00:18 .dockerignore 00:24:22 drwxrwxr-x 8 jenkins jenkins 4096 May 30 00:18 .git 00:24:22 drwxrwxr-x 3 jenkins jenkins 4096 May 30 00:18 .github 00:24:22 -rw-rw-r-- 1 jenkins jenkins 331 May 30 00:18 .gitignore 00:24:22 -rw-rw-r-- 1 jenkins jenkins 41 May 30 00:18 .golangci.yml 00:24:22 -rw-rw-r-- 1 jenkins jenkins 10132 May 30 00:18 Attribution.txt 00:24:22 -rw-rw-r-- 1 jenkins jenkins 11576 May 30 00:18 CHANGELOG.md 00:24:22 -rw-rw-r-- 1 jenkins jenkins 1365 May 30 00:18 Dockerfile 00:24:22 -rw-rw-r-- 1 jenkins jenkins 677 May 30 00:18 GOVERNANCE.md 00:24:22 -rw-rw-r-- 1 jenkins jenkins 680 May 30 00:18 Jenkinsfile 00:24:22 -rw-rw-r-- 1 jenkins jenkins 11340 May 30 00:18 LICENSE 00:24:22 -rw-rw-r-- 1 jenkins jenkins 1705 May 30 00:18 Makefile 00:24:22 -rw-rw-r-- 1 jenkins jenkins 622 May 30 00:18 OWNERS.md 00:24:22 -rw-rw-r-- 1 jenkins jenkins 4578 May 30 00:18 README.md 00:24:22 -rw-rw-r-- 1 jenkins jenkins 12 May 30 00:15 VERSION 00:24:22 drwxrwxr-x 2 jenkins jenkins 4096 May 30 00:18 bin 00:24:22 drwxrwxr-x 3 jenkins jenkins 4096 May 30 00:18 cmd 00:24:22 -rw-r--r-- 1 jenkins jenkins 24160 May 30 00:23 coverage.out 00:24:22 -rw-rw-r-- 1 jenkins jenkins 3405 May 30 00:18 go.mod 00:24:22 -rw-rw-r-- 1 jenkins jenkins 31574 May 30 00:18 go.sum 00:24:22 drwxrwxr-x 3 jenkins jenkins 4096 May 30 00:18 internal 00:24:22 drwxrwxr-x 2 jenkins jenkins 4096 May 30 00:18 simulator 00:24:22 drwxrwxr-x 4 jenkins jenkins 4096 May 30 00:18 snap 00:24:22 -rw-rw-r-- 1 jenkins jenkins 229 May 30 00:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:23 + 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=b7c00ecea16ee3fe559c969829072d5131dcac71 --label arch=arm64 --label version=3.0.0-dev.45 . 00:24:23 Sending build context to Docker daemon 3.452MB 00:24:23 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 00:24:23 Step 2/22 : FROM ${BASE} AS builder 00:24:23 ---> 86b2e16fdc85 00:24:23 Step 3/22 : ARG ADD_BUILD_TAGS="" 00:24:25 ---> Running in 3e0cb0bddc14 00:24:25 Removing intermediate container 3e0cb0bddc14 00:24:25 ---> 681a9dbc4348 00:24:25 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:24:25 ---> Running in 8442f89817ad 00:24:26 Removing intermediate container 8442f89817ad 00:24:26 ---> 21dca2f0e2e3 00:24:26 Step 5/22 : RUN apk add --update --no-cache make git openssh 00:24:26 ---> Running in 33af318214e7 00:24:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:24:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:24:29 OK: 270 MiB in 61 packages 00:24:30 Removing intermediate container 33af318214e7 00:24:30 ---> 908cd4241c74 00:24:30 Step 6/22 : WORKDIR /device-modbus-go 00:24:30 ---> Running in 30b960fc24b0 00:24:31 Removing intermediate container 30b960fc24b0 00:24:31 ---> d12eaf7a333a 00:24:31 Step 7/22 : COPY go.mod vendor* ./ 00:24:31 ---> 36085d988036 00:24:31 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:24:31 ---> Running in c2911ae794fb 00:24:34 Removing intermediate container c2911ae794fb 00:24:34 ---> 129c32687ea7 00:24:34 Step 9/22 : COPY . . 00:24:35 ---> ff9ad9b3f02a 00:24:35 Step 10/22 : RUN ${MAKE} 00:24:35 ---> Running in d5b2fe2fd881 00:24:36 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.45" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 00:27:13 Removing intermediate container d5b2fe2fd881 00:27:13 ---> cf9d83572aa4 00:27:13 Step 11/22 : FROM alpine:3.17 00:27:13 3.17: Pulling from library/alpine 00:27:13 c41833b44d91: Already exists 00:27:13 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:27:13 Status: Downloaded newer image for alpine:3.17 00:27:13 ---> 51e60588ff2c 00:27:13 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 00:27:13 ---> Running in f9dc85137e4c 00:27:13 Removing intermediate container f9dc85137e4c 00:27:13 ---> de75b031a351 00:27:13 Step 13/22 : RUN apk add --update --no-cache dumb-init 00:27:13 ---> Running in 7774b52ad375 00:27:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:27:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:27:13 (1/1) Installing dumb-init (1.2.5-r2) 00:27:13 Executing busybox-1.35.0-r29.trigger 00:27:13 OK: 8 MiB in 16 packages 00:27:13 Removing intermediate container 7774b52ad375 00:27:13 ---> acce831b924d 00:27:13 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 00:27:13 ---> 0d295f6bc3e7 00:27:13 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 00:27:13 ---> 20725dac99d0 00:27:13 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 00:27:13 ---> e351130ffdac 00:27:13 Step 17/22 : EXPOSE 59901 00:27:13 ---> Running in e41fa3a2e2ea 00:27:13 Removing intermediate container e41fa3a2e2ea 00:27:13 ---> ca59ea750111 00:27:13 Step 18/22 : ENTRYPOINT ["/device-modbus"] 00:27:13 ---> Running in 4607623fd1e7 00:27:13 Removing intermediate container 4607623fd1e7 00:27:13 ---> e279a1702daf 00:27:13 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:27:13 ---> Running in 6cf3d8eb3117 00:27:13 Removing intermediate container 6cf3d8eb3117 00:27:13 ---> 87e9d91292aa 00:27:13 Step 20/22 : LABEL arch=arm64 00:27:13 ---> Running in 8764e624c001 00:27:13 Removing intermediate container 8764e624c001 00:27:13 ---> eb333594c380 00:27:13 Step 21/22 : LABEL git_sha=b7c00ecea16ee3fe559c969829072d5131dcac71 00:27:13 ---> Running in 24f6b9234b9d 00:27:13 Removing intermediate container 24f6b9234b9d 00:27:13 ---> cfb1cc101f3a 00:27:13 Step 22/22 : LABEL version=3.0.0-dev.45 00:27:13 ---> Running in abeabf8a516e 00:27:14 Removing intermediate container abeabf8a516e 00:27:14 ---> 546c75b718c8 00:27:14 [Warning] One or more build-args [ARCH] were not consumed 00:27:14 Successfully built 546c75b718c8 00:27: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 00:27:14 provisioning config files... 00:27:14 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/111@tmp/config13633367309159489511tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:27:14 ---> docker-login.sh 00:27:14 nexus3.edgexfoundry.org:10001 00:27:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:27:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:27:14 Configure a credential helper to remove this warning. See 00:27:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:27:14 00:27:14 Login Succeeded 00:27:14 nexus3.edgexfoundry.org:10002 00:27:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:27:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:27:15 Configure a credential helper to remove this warning. See 00:27:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:27:15 00:27:15 Login Succeeded 00:27:15 nexus3.edgexfoundry.org:10003 00:27:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:27:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:27:15 Configure a credential helper to remove this warning. See 00:27:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:27:15 00:27:15 Login Succeeded 00:27:15 nexus3.edgexfoundry.org:10004 00:27:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:27:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:27:15 Configure a credential helper to remove this warning. See 00:27:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:27:15 00:27:15 Login Succeeded 00:27:15 docker.io 00:27:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:27:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:27:16 Configure a credential helper to remove this warning. See 00:27:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:27:16 00:27:16 Login Succeeded 00:27:16 ---> docker-login.sh ends [Pipeline] } 00:27:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:27:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:27:16 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 00:27:16 b7c00ecea16ee3fe559c969829072d5131dcac71 00:27:16 latest 00:27:16 3.0.0-dev.45 00:27:16 b7c00ecea16ee3fe559c969829072d5131dcac71-3.0.0-dev.45 00:27:16 main 00:27:16 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:27:16 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:b7c00ecea16ee3fe559c969829072d5131dcac71 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:27:17 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:b7c00ecea16ee3fe559c969829072d5131dcac71 00:27:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 00:27:17 3b3fd50a1d2a: Preparing 00:27:17 d9c10192fe7e: Preparing 00:27:17 3f7b10b0343b: Preparing 00:27:17 eebddc48a6ff: Preparing 00:27:17 26cbea5cba74: Preparing 00:27:17 26cbea5cba74: Layer already exists 00:27:17 3b3fd50a1d2a: Pushed 00:27:17 eebddc48a6ff: Pushed 00:27:17 d9c10192fe7e: Pushed 00:27:22 3f7b10b0343b: Pushed 00:27:22 b7c00ecea16ee3fe559c969829072d5131dcac71: digest: sha256:0b48570e5c7d466a4a9679a5f954dfa4c1ae9dbc14ffe9d751ddd0b186f5d0a0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:27:23 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:27:23 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 00:27:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 00:27:23 3b3fd50a1d2a: Preparing 00:27:23 d9c10192fe7e: Preparing 00:27:23 3f7b10b0343b: Preparing 00:27:23 eebddc48a6ff: Preparing 00:27:23 26cbea5cba74: Preparing 00:27:23 eebddc48a6ff: Layer already exists 00:27:23 26cbea5cba74: Layer already exists 00:27:23 3b3fd50a1d2a: Layer already exists 00:27:23 3f7b10b0343b: Layer already exists 00:27:23 d9c10192fe7e: Layer already exists 00:27:23 latest: digest: sha256:0b48570e5c7d466a4a9679a5f954dfa4c1ae9dbc14ffe9d751ddd0b186f5d0a0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:27:24 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.45 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:27:24 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.45 00:27:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 00:27:24 3b3fd50a1d2a: Preparing 00:27:24 d9c10192fe7e: Preparing 00:27:24 3f7b10b0343b: Preparing 00:27:24 eebddc48a6ff: Preparing 00:27:24 26cbea5cba74: Preparing 00:27:24 d9c10192fe7e: Layer already exists 00:27:24 26cbea5cba74: Layer already exists 00:27:24 eebddc48a6ff: Layer already exists 00:27:24 3f7b10b0343b: Layer already exists 00:27:24 3b3fd50a1d2a: Layer already exists 00:27:24 3.0.0-dev.45: digest: sha256:0b48570e5c7d466a4a9679a5f954dfa4c1ae9dbc14ffe9d751ddd0b186f5d0a0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:27:25 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:b7c00ecea16ee3fe559c969829072d5131dcac71-3.0.0-dev.45 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:27:25 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:b7c00ecea16ee3fe559c969829072d5131dcac71-3.0.0-dev.45 00:27:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 00:27:25 3b3fd50a1d2a: Preparing 00:27:25 d9c10192fe7e: Preparing 00:27:25 3f7b10b0343b: Preparing 00:27:25 eebddc48a6ff: Preparing 00:27:25 26cbea5cba74: Preparing 00:27:25 eebddc48a6ff: Layer already exists 00:27:25 3f7b10b0343b: Layer already exists 00:27:25 26cbea5cba74: Layer already exists 00:27:25 d9c10192fe7e: Layer already exists 00:27:25 3b3fd50a1d2a: Layer already exists 00:27:25 b7c00ecea16ee3fe559c969829072d5131dcac71-3.0.0-dev.45: digest: sha256:0b48570e5c7d466a4a9679a5f954dfa4c1ae9dbc14ffe9d751ddd0b186f5d0a0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:27:25 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:27:26 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 00:27:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 00:27:26 3b3fd50a1d2a: Preparing 00:27:26 d9c10192fe7e: Preparing 00:27:26 3f7b10b0343b: Preparing 00:27:26 eebddc48a6ff: Preparing 00:27:26 26cbea5cba74: Preparing 00:27:26 eebddc48a6ff: Layer already exists 00:27:26 3b3fd50a1d2a: Layer already exists 00:27:26 3f7b10b0343b: Layer already exists 00:27:26 d9c10192fe7e: Layer already exists 00:27:26 26cbea5cba74: Layer already exists 00:27:26 main: digest: sha256:0b48570e5c7d466a4a9679a5f954dfa4c1ae9dbc14ffe9d751ddd0b186f5d0a0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:27:26 ===================================================== [Pipeline] echo 00:27:26 taggedImages: 00:27:26 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:b7c00ecea16ee3fe559c969829072d5131dcac71 00:27:26 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 00:27:26 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.45 00:27:26 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:b7c00ecea16ee3fe559c969829072d5131dcac71-3.0.0-dev.45 00:27:26 - 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 00:27:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:27:26 00:27:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:27:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:27:27 arm64: Pulling from edgex-lftools-log-publisher 00:27:27 8998bd30e6a1: Pulling fs layer 00:27:27 04944245beec: Pulling fs layer 00:27:27 699f458cf7ca: Pulling fs layer 00:27:27 765212b225bb: Pulling fs layer 00:27:27 f23df028b6ca: Pulling fs layer 00:27:27 d65c8cfc05b1: Pulling fs layer 00:27:27 2437ff75d9bd: Pulling fs layer 00:27:27 f23df028b6ca: Waiting 00:27:27 d65c8cfc05b1: Waiting 00:27:27 2437ff75d9bd: Waiting 00:27:27 765212b225bb: Waiting 00:27:27 04944245beec: Verifying Checksum 00:27:27 04944245beec: Download complete 00:27:27 765212b225bb: Verifying Checksum 00:27:27 765212b225bb: Download complete 00:27:27 f23df028b6ca: Download complete 00:27:27 699f458cf7ca: Verifying Checksum 00:27:27 699f458cf7ca: Download complete 00:27:27 d65c8cfc05b1: Verifying Checksum 00:27:27 d65c8cfc05b1: Download complete 00:27:28 8998bd30e6a1: Verifying Checksum 00:27:28 8998bd30e6a1: Download complete 00:27:30 2437ff75d9bd: Download complete 00:27:31 8998bd30e6a1: Pull complete 00:27:32 04944245beec: Pull complete 00:27:33 699f458cf7ca: Pull complete 00:27:33 765212b225bb: Pull complete 00:27:34 f23df028b6ca: Pull complete 00:27:34 d65c8cfc05b1: Pull complete 00:27:49 2437ff75d9bd: Pull complete 00:27:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:27:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:27:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:27:50 prd-ubuntu20.04-docker-arm64-4c-16g-17221 does not seem to be running inside a container 00:27: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/111 -v /w/workspace/device-modbus-go/111:/w/workspace/device-modbus-go/111:rw,z -v /w/workspace/device-modbus-go/111@tmp:/w/workspace/device-modbus-go/111@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:27:53 $ docker top d7dd375cbabdedd4cd163243300aa02ef6126fdf08dd8e349d563ae835bb7f8d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:27:53 ---> job-cost.sh 00:27:53 lf-activate-venv: SKIPPING 00:27:53 INFO: No Stack... 00:27:54 INFO: Retrieving Pricing Info for: v3-standard-4 00:27:55 INFO: Archiving Costs [Pipeline] sh 00:27:56 + + cat /w/workspace/device-modbus-go/111/archives/cost.csv 00:27:56 cut -d, -f6 [Pipeline] lock 00:27:56 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-111-stack-cost] 00:27:56 Resource [jenkins-edgexfoundry-device-modbus-go-main-111-stack-cost] did not exist. Created. 00:27:56 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-111-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:27:56 /w/workspace/device-modbus-go/111@tmp/durable-c774a723/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:27:57 + echo total: 0.10999999940395355 [Pipeline] stash 00:27:57 Warning: overwriting stash ‘stack-cost’ 00:27:57 Stashed 1 file(s) [Pipeline] } 00:27:57 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-111-stack-cost] [Pipeline] // lock [Pipeline] } 00:27:57 $ docker stop --time=1 d7dd375cbabdedd4cd163243300aa02ef6126fdf08dd8e349d563ae835bb7f8d 00:27:59 $ docker rm -f --volumes d7dd375cbabdedd4cd163243300aa02ef6126fdf08dd8e349d563ae835bb7f8d [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 00:27:59 provisioning config files... 00:27:59 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14929538408143270410tmp [Pipeline] { [Pipeline] sh 00:27:59 + set +x 00:27:59 + bash -s -- 00:27:59 + curl -s https://codecov.io/bash 00:27:59 00:27:59 _____ _ 00:27:59 / ____| | | 00:27:59 | | ___ __| | ___ ___ _____ __ 00:27:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:27:59 | |___| (_) | (_| | __/ (_| (_) \ V / 00:27:59 \_____\___/ \__,_|\___|\___\___/ \_/ 00:27:59 Bash-1.0.6 00:27:59 00:27:59 00:27:59 ==> git version 2.25.1 found 00:27: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 00:27:59 Release-Date: 2020-01-08 00:27: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 00:27:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:27:59 ==> Jenkins CI detected. 00:27:59 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 00:27:59 project root: . 00:27:59 --> token set from env 00:27:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:27:59 ==> Running gcov in . (disable via -X gcov) 00:27:59 ==> Python coveragepy not found 00:27:59 ==> Searching for coverage reports in: 00:27:59 + . 00:27:59 -> Found 1 reports 00:27:59 ==> Detecting git/mercurial file structure 00:27:59 ==> Reading reports 00:28:00 + ./coverage.out bytes=24160 00:28:00 ==> Appending adjustments 00:28:00 https://docs.codecov.io/docs/fixing-reports 00:28:00 + Found adjustments 00:28:00 ==> Gzipping contents 00:28:00 4.0K /tmp/codecov.NLdrDg.gz 00:28:00 ==> Uploading reports 00:28:00 url: https://codecov.io 00:28:00 query: branch=main&commit=b7c00ecea16ee3fe559c969829072d5131dcac71&build=111&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F111%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:28:00 -> Pinging Codecov 00:28:00 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=b7c00ecea16ee3fe559c969829072d5131dcac71&build=111&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F111%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:28:00 -> Uploading to 00:28:00 https://storage.googleapis.com/codecov/v4/raw/2023-05-30/55DBCA73C666E3227836607328DD7E49/b7c00ecea16ee3fe559c969829072d5131dcac71/f1083fdb-0b8b-41fb-8abc-9720819200fa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230530%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230530T002800Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4412557c611ee86e8fa11025b738b60f8e72c7ad17a7c62a53100af910d279b7 00:28:00 % Total % Received % Xferd Average Speed Time Time Time Current 00:28:00 Dload Upload Total Spent Left Speed 00:28:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 16148 --:--:-- --:--:-- --:--:-- 16148 00:28:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/b7c00ecea16ee3fe559c969829072d5131dcac71 [Pipeline] } 00:28:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:28:00 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:28:00 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:28:01 00:28:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:28:01 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:28:01 df9b9388f04a: Pulling fs layer 00:28:01 52dc419b0ee2: Pulling fs layer 00:28:01 25bc292e5bac: Pulling fs layer 00:28:01 114826534d7a: Pulling fs layer 00:28:01 4657fd5d0bcf: Pulling fs layer 00:28:01 6ad1cebc031e: Pulling fs layer 00:28:01 8a3aa393b2d8: Pulling fs layer 00:28:01 6ad1cebc031e: Waiting 00:28:01 4657fd5d0bcf: Waiting 00:28:01 8a3aa393b2d8: Waiting 00:28:01 114826534d7a: Waiting 00:28:01 25bc292e5bac: Download complete 00:28:01 52dc419b0ee2: Verifying Checksum 00:28:01 52dc419b0ee2: Download complete 00:28:01 4657fd5d0bcf: Download complete 00:28:01 df9b9388f04a: Verifying Checksum 00:28:01 df9b9388f04a: Download complete 00:28:01 df9b9388f04a: Pull complete 00:28:01 6ad1cebc031e: Verifying Checksum 00:28:01 6ad1cebc031e: Download complete 00:28:01 52dc419b0ee2: Pull complete 00:28:01 25bc292e5bac: Pull complete 00:28:02 114826534d7a: Verifying Checksum 00:28:02 114826534d7a: Download complete 00:28:02 8a3aa393b2d8: Verifying Checksum 00:28:02 8a3aa393b2d8: Download complete 00:28:05 114826534d7a: Pull complete 00:28:05 4657fd5d0bcf: Pull complete 00:28:05 6ad1cebc031e: Pull complete 00:28:08 8a3aa393b2d8: Pull complete 00:28:08 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:28:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:28:08 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:28:08 prd-ubuntu20.04-docker-8c-8g-17218 does not seem to be running inside a container 00:28:08 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 00:28:11 $ docker top 4fa0a043390153a9c86d5eb0efef138a38416c0da8249a9965c8ae9295cec324 -eo pid,comm [Pipeline] { [Pipeline] echo 00:28:11 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 00:28:11 + set -o pipefail 00:28:11 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 00:28:16 00:28:16 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 00:28:16 00:28:16 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/e1e51352-6f13-45f8-a46e-4bb1579e3681 00:28:16 00:28:16 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 00:28:16 00:28:16 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:28:16 00:28:16 00:28:16 A medium severity vulnerability was found in the Snyk CLI versions you are using. 00:28:16 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 00:28:16 More details here: https://snyk.co/ue1NS [Pipeline] } 00:28:16 $ docker stop --time=1 4fa0a043390153a9c86d5eb0efef138a38416c0da8249a9965c8ae9295cec324 00:28:19 $ docker rm -f --volumes 4fa0a043390153a9c86d5eb0efef138a38416c0da8249a9965c8ae9295cec324 [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 00:28:20 + git log --format=format:%s -1 b7c00ecea16ee3fe559c969829072d5131dcac71 [Pipeline] sh 00:28:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:28:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:28:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:28:20 prd-ubuntu20.04-docker-8c-8g-17218 does not seem to be running inside a container 00:28:20 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:28:21 $ docker top 1a715024db1db95d2bc4cfbcc129dc003e043bbfe98e00d6efc7315adae32e25 -eo pid,comm 00:28:21 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). 00:28:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:28:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:28:21 [ssh-agent] Looking for ssh-agent implementation... 00:28:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:28:21 $ docker exec 1a715024db1db95d2bc4cfbcc129dc003e043bbfe98e00d6efc7315adae32e25 ssh-agent 00:28:21 SSH_AUTH_SOCK=/tmp/ssh-qPFZuj0ZaLeI/agent.31 00:28:21 SSH_AGENT_PID=38 00:28:21 Running ssh-add (command line suppressed) 00:28:21 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16268288260177039683.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16268288260177039683.key) 00:28:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:28:22 + git semver tag 00:28:22 2023-05-30 00:28:22,254 [run_tag] DEBUG tag force:False 00:28:22 2023-05-30 00:28:22,255 [check_head_tag] DEBUG check head tag 00:28:22 2023-05-30 00:28:22,256 [execute] INFO git cat-file --batch-check 00:28:22 2023-05-30 00:28:22,257 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 00:28:22 2023-05-30 00:28:22,261 [execute] INFO git cat-file --batch 00:28:22 2023-05-30 00:28:22,261 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 00:28:22 2023-05-30 00:28:22,290 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 00:28:22 2023-05-30 00:28:22,290 [execute] INFO git tag -a v3.0.0-dev.45 -m v3.0.0-dev.45 00:28:22 2023-05-30 00:28:22,290 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.45', '-m', 'v3.0.0-dev.45'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 00:28:22 2023-05-30 00:28:22,295 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 00:28:22 3.0.0-dev.45 [Pipeline] } 00:28:22 $ docker exec --env ******** --env ******** 1a715024db1db95d2bc4cfbcc129dc003e043bbfe98e00d6efc7315adae32e25 ssh-agent -k 00:28:22 unset SSH_AUTH_SOCK; 00:28:22 unset SSH_AGENT_PID; 00:28:22 echo Agent pid 38 killed; 00:28:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:28:22 + git semver [Pipeline] } 00:28:23 $ docker stop --time=1 1a715024db1db95d2bc4cfbcc129dc003e043bbfe98e00d6efc7315adae32e25 00:28:24 $ docker rm -f --volumes 1a715024db1db95d2bc4cfbcc129dc003e043bbfe98e00d6efc7315adae32e25 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:28:24 00:28:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:28:25 0.23.1-centos7: Pulling from edgex-lftools 00:28:25 ab5ef0e58194: Pulling fs layer 00:28:25 9712f1f96733: Pulling fs layer 00:28:25 63f879dbbcfc: Pulling fs layer 00:28:25 0d9ebad4ef96: Pulling fs layer 00:28:25 e9a5061849ea: Pulling fs layer 00:28:25 d747dcd14b5f: Pulling fs layer 00:28:25 2de7ff778b66: Pulling fs layer 00:28:25 e9a5061849ea: Waiting 00:28:25 d747dcd14b5f: Waiting 00:28:25 2de7ff778b66: Waiting 00:28:25 0d9ebad4ef96: Waiting 00:28:25 63f879dbbcfc: Verifying Checksum 00:28:25 63f879dbbcfc: Download complete 00:28:25 0d9ebad4ef96: Verifying Checksum 00:28:25 0d9ebad4ef96: Download complete 00:28:25 ab5ef0e58194: Verifying Checksum 00:28:25 ab5ef0e58194: Download complete 00:28:25 e9a5061849ea: Verifying Checksum 00:28:25 e9a5061849ea: Download complete 00:28:25 d747dcd14b5f: Verifying Checksum 00:28:25 d747dcd14b5f: Download complete 00:28:25 2de7ff778b66: Verifying Checksum 00:28:25 2de7ff778b66: Download complete 00:28:28 ab5ef0e58194: Pull complete 00:28:28 9712f1f96733: Pull complete 00:28:28 63f879dbbcfc: Pull complete 00:28:31 0d9ebad4ef96: Pull complete 00:28:31 e9a5061849ea: Pull complete 00:28:31 d747dcd14b5f: Pull complete 00:28:32 2de7ff778b66: Pull complete 00:28:32 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:28:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:28:32 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:28:32 prd-ubuntu20.04-docker-8c-8g-17218 does not seem to be running inside a container 00:28:32 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:28:36 $ docker top 2c8ad1b86273fd3b9b113ad8370b621442bb2c4aa52dc8f5c3535d89e3438f1d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:28:36 provisioning config files... 00:28:36 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12272291509121453894tmp 00:28:36 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9734051303830517187tmp 00:28:36 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10400111263660134220tmp [Pipeline] { [Pipeline] echo 00:28:36 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:28:37 ---> sigul-configuration.sh 00:28:37 gpg: directory `/root/.gnupg' created 00:28:37 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:28:37 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:28:37 gpg: keyring `/root/.gnupg/secring.gpg' created 00:28:37 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:28:37 gpg: CAST5 encrypted data 00:28:37 gpg: encrypted with 1 passphrase 00:28:37 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:28:37 + mkdir /home/jenkins 00:28:37 + mkdir /home/jenkins/sigul [Pipeline] sh 00:28:37 + 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 00:28:37 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:28:38 ---> sigul-install.sh 00:28:38 Sigul already installed; skipping installation. [Pipeline] sh 00:28:38 + git tag --list 00:28:38 0.7.1 00:28:38 v1.0.0 00:28:38 v1.1.0 00:28:38 v1.1.1 00:28:38 v1.2.2 00:28:38 v1.3.0 00:28:38 v1.3.1 00:28:38 v2.0.0 00:28:38 v2.1.0 00:28:38 v2.1.1 00:28:38 v2.1.1-dev.1 00:28:38 v2.1.1-dev.2 00:28:38 v2.1.1-dev.3 00:28:38 v2.2.0 00:28:38 v2.2.1-dev.1 00:28:38 v2.2.1-dev.2 00:28:38 v2.2.1-dev.3 00:28:38 v2.2.1-dev.4 00:28:38 v2.2.1-dev.5 00:28:38 v2.2.1-dev.6 00:28:38 v2.2.1-dev.7 00:28:38 v2.3.0 00:28:38 v2.3.0-dev.10 00:28:38 v2.3.0-dev.11 00:28:38 v2.3.0-dev.12 00:28:38 v2.3.0-dev.13 00:28:38 v2.3.0-dev.14 00:28:38 v2.3.0-dev.15 00:28:38 v2.3.0-dev.16 00:28:38 v2.3.0-dev.17 00:28:38 v2.3.0-dev.18 00:28:38 v2.3.0-dev.19 00:28:38 v2.3.0-dev.20 00:28:38 v2.3.0-dev.21 00:28:38 v2.3.0-dev.22 00:28:38 v2.3.0-dev.23 00:28:38 v2.3.0-dev.24 00:28:38 v2.3.0-dev.25 00:28:38 v2.3.0-dev.7 00:28:38 v2.3.0-dev.8 00:28:38 v2.3.0-dev.9 00:28:38 v3.0.0-dev.1 00:28:38 v3.0.0-dev.10 00:28:38 v3.0.0-dev.11 00:28:38 v3.0.0-dev.12 00:28:38 v3.0.0-dev.13 00:28:38 v3.0.0-dev.14 00:28:38 v3.0.0-dev.15 00:28:38 v3.0.0-dev.16 00:28:38 v3.0.0-dev.17 00:28:38 v3.0.0-dev.18 00:28:38 v3.0.0-dev.19 00:28:38 v3.0.0-dev.2 00:28:38 v3.0.0-dev.20 00:28:38 v3.0.0-dev.21 00:28:38 v3.0.0-dev.22 00:28:38 v3.0.0-dev.23 00:28:38 v3.0.0-dev.24 00:28:38 v3.0.0-dev.25 00:28:38 v3.0.0-dev.26 00:28:38 v3.0.0-dev.27 00:28:38 v3.0.0-dev.28 00:28:38 v3.0.0-dev.29 00:28:38 v3.0.0-dev.3 00:28:38 v3.0.0-dev.30 00:28:38 v3.0.0-dev.31 00:28:38 v3.0.0-dev.32 00:28:38 v3.0.0-dev.33 00:28:38 v3.0.0-dev.34 00:28:38 v3.0.0-dev.35 00:28:38 v3.0.0-dev.36 00:28:38 v3.0.0-dev.37 00:28:38 v3.0.0-dev.38 00:28:38 v3.0.0-dev.39 00:28:38 v3.0.0-dev.4 00:28:38 v3.0.0-dev.40 00:28:38 v3.0.0-dev.41 00:28:38 v3.0.0-dev.42 00:28:38 v3.0.0-dev.43 00:28:38 v3.0.0-dev.44 00:28:38 v3.0.0-dev.45 00:28:38 v3.0.0-dev.5 00:28:38 v3.0.0-dev.6 00:28:38 v3.0.0-dev.7 00:28:38 v3.0.0-dev.8 00:28:38 v3.0.0-dev.9 [Pipeline] sh 00:28:38 + lftools sign git-tag v3.0.0-dev.45 00:28:39 Signing Git tag with Sigul... 00:28:39 Signing v3.0.0-dev.45 [Pipeline] echo 00:28:39 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:28:39 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:28:39 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:28:39 $ docker stop --time=1 2c8ad1b86273fd3b9b113ad8370b621442bb2c4aa52dc8f5c3535d89e3438f1d 00:28:41 $ docker rm -f --volumes 2c8ad1b86273fd3b9b113ad8370b621442bb2c4aa52dc8f5c3535d89e3438f1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:28:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:28:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:28:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:28:41 prd-ubuntu20.04-docker-8c-8g-17218 does not seem to be running inside a container 00:28:41 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:28:42 $ docker top 40477841d5141b2cfe3322aa92a3df802e945c3a09c147dcb3df11185ba60831 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:28:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:28:42 [ssh-agent] Looking for ssh-agent implementation... 00:28:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:28:42 $ docker exec 40477841d5141b2cfe3322aa92a3df802e945c3a09c147dcb3df11185ba60831 ssh-agent 00:28:42 SSH_AUTH_SOCK=/tmp/ssh-nxqjElCjSPvf/agent.31 00:28:42 SSH_AGENT_PID=37 00:28:42 Running ssh-add (command line suppressed) 00:28:42 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_346061567934668155.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_346061567934668155.key) 00:28:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:28:42 + git semver bump pre 00:28:43 2023-05-30 00:28:43,071 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 00:28:43 2023-05-30 00:28:43,072 [bump_version] DEBUG bumping version:3.0.0-dev.45 on axis:pre with prefix:dev 00:28:43 2023-05-30 00:28:43,072 [bump_version] DEBUG bumped version:3.0.0-dev.46 00:28:43 2023-05-30 00:28:43,072 [write_version] DEBUG write version:3.0.0-dev.46 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 00:28:43 2023-05-30 00:28:43,072 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 00:28:43 2023-05-30 00:28:43,072 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 00:28:43 2023-05-30 00:28:43,074 [execute] INFO git cat-file --batch-check 00:28:43 2023-05-30 00:28:43,074 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:28:43 2023-05-30 00:28:43,079 [execute] INFO git cat-file --batch 00:28:43 2023-05-30 00:28:43,079 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:28:43 2023-05-30 00:28:43,084 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 00:28:43 3.0.0-dev.46 [Pipeline] } 00:28:43 $ docker exec --env ******** --env ******** 40477841d5141b2cfe3322aa92a3df802e945c3a09c147dcb3df11185ba60831 ssh-agent -k 00:28:43 unset SSH_AUTH_SOCK; 00:28:43 unset SSH_AGENT_PID; 00:28:43 echo Agent pid 37 killed; 00:28:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:28:43 + git semver [Pipeline] } 00:28:43 $ docker stop --time=1 40477841d5141b2cfe3322aa92a3df802e945c3a09c147dcb3df11185ba60831 00:28:45 $ docker rm -f --volumes 40477841d5141b2cfe3322aa92a3df802e945c3a09c147dcb3df11185ba60831 [Pipeline] // withDockerContainer [Pipeline] sh 00:28:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:28:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:28:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:28:45 prd-ubuntu20.04-docker-8c-8g-17218 does not seem to be running inside a container 00:28: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:28:46 $ docker top 6ba6e5d18f01d7a128cb8babe018c9e0ec46613d0229f459cde7cb9aeb7cb1cd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:28:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:28:46 [ssh-agent] Looking for ssh-agent implementation... 00:28:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:28:46 $ docker exec 6ba6e5d18f01d7a128cb8babe018c9e0ec46613d0229f459cde7cb9aeb7cb1cd ssh-agent 00:28:46 SSH_AUTH_SOCK=/tmp/ssh-yJFWM5ICtrWS/agent.32 00:28:46 SSH_AGENT_PID=38 00:28:46 Running ssh-add (command line suppressed) 00:28:46 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16390037392263758082.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16390037392263758082.key) 00:28:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:28:47 + git semver push 00:28:47 2023-05-30 00:28:47,167 [run_push] DEBUG push 00:28:47 2023-05-30 00:28:47,167 [execute] INFO git cat-file --batch-check 00:28:47 2023-05-30 00:28:47,167 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:28:47 2023-05-30 00:28:47,171 [execute] INFO git rev-list b95122475d8f6b2d526737383998b2c3bddebdbb -- 00:28:47 2023-05-30 00:28:47,171 [execute] DEBUG Popen(['git', 'rev-list', 'b95122475d8f6b2d526737383998b2c3bddebdbb', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:28:47 2023-05-30 00:28:47,179 [execute] INFO git fetch -v origin 00:28:47 2023-05-30 00:28:47,180 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 00:28:47 2023-05-30 00:28:47,652 [run_push] DEBUG no remote changes detected 00:28:47 2023-05-30 00:28:47,652 [execute] INFO git push origin semver 00:28:47 2023-05-30 00:28:47,652 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:28:48 2023-05-30 00:28:48,414 [run_push] DEBUG push all version tags 00:28:48 2023-05-30 00:28:48,415 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:28:48 2023-05-30 00:28:48,415 [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) 00:28:49 2023-05-30 00:28:49,191 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 00:28:49 3.0.0-dev.46 [Pipeline] } 00:28:49 $ docker exec --env ******** --env ******** 6ba6e5d18f01d7a128cb8babe018c9e0ec46613d0229f459cde7cb9aeb7cb1cd ssh-agent -k 00:28:49 unset SSH_AUTH_SOCK; 00:28:49 unset SSH_AGENT_PID; 00:28:49 echo Agent pid 38 killed; 00:28:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:28:49 + git semver [Pipeline] } 00:28:50 $ docker stop --time=1 6ba6e5d18f01d7a128cb8babe018c9e0ec46613d0229f459cde7cb9aeb7cb1cd 00:28:51 $ docker rm -f --volumes 6ba6e5d18f01d7a128cb8babe018c9e0ec46613d0229f459cde7cb9aeb7cb1cd [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 00:28:51 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 00:28:51 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 00:28:51 total 16 00:28:51 drwxr-xr-x 3 root root 4096 May 30 00:17 . 00:28:51 drwxrwxr-x 11 jenkins jenkins 4096 May 30 00:28 .. 00:28:51 drwxr-xr-x 2 root root 4096 May 30 00:17 cost 00:28:51 -rw-r--r-- 1 root root 88 May 30 00:17 cost.csv 00:28:51 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 00:28:51 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 00:28:51 total 16 00:28:51 drwxr-xr-x 3 jenkins jenkins 4096 May 30 00:17 . 00:28:51 drwxrwxr-x 11 jenkins jenkins 4096 May 30 00:28 .. 00:28:51 drwxr-xr-x 2 jenkins jenkins 4096 May 30 00:17 cost 00:28:51 -rw-r--r-- 1 jenkins jenkins 88 May 30 00:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:28:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:28:53 ---> package-listing.sh 00:28:53 ++ facter osfamily 00:28:53 ++ tr '[:upper:]' '[:lower:]' 00:28:53 + OS_FAMILY=debian 00:28:53 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 00:28:53 + START_PACKAGES=/tmp/packages_start.txt 00:28:53 + END_PACKAGES=/tmp/packages_end.txt 00:28:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:28:53 + PACKAGES=/tmp/packages_start.txt 00:28:53 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 00:28:53 + PACKAGES=/tmp/packages_end.txt 00:28:53 + case "${OS_FAMILY}" in 00:28:53 + dpkg -l 00:28:53 + grep '^ii' 00:28:53 + '[' -f /tmp/packages_start.txt ']' 00:28:53 + '[' -f /tmp/packages_end.txt ']' 00:28:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:28:53 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 00:28:53 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 00:28:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 00:28:53 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:28:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:28:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:28:54 prd-ubuntu20.04-docker-8c-8g-17218 does not seem to be running inside a container 00:28:54 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:28:54 $ docker top 235cda3710b3f866d20390f50ab2d4f70ffa6573fd292425fa1de114153b8b4c -eo pid,comm [Pipeline] { [Pipeline] sh 00:28:54 + touch /tmp/pre-build-complete [Pipeline] sh 00:28:55 + mkdir -p /var/log/sysstat [Pipeline] sh 00:28:55 + ls /var/log/sa-host 00:28:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:28:55 provisioning config files... 00:28:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16677456833329517615tmp [Pipeline] { [Pipeline] echo 00:28:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:28:55 ---> create-netrc.sh [Pipeline] } 00:28:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:28:56 ---> python-tools-install.sh [Pipeline] echo 00:28:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:28:56 ---> sudo-logs.sh 00:28:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:28:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:28:56 ---> job-cost.sh 00:28:56 lf-activate-venv: SKIPPING 00:28:56 DEBUG: total: 0.2199999988079071 00:28:56 INFO: Retrieving Stack Cost... 00:28:56 INFO: Retrieving Pricing Info for: v3-standard-8 00:28:57 INFO: Archiving Costs [Pipeline] echo 00:28:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:28:57 ---> logs-deploy.sh 00:28:57 lf-activate-venv: SKIPPING 00:28:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/111 00:28:57 INFO: archiving workspace using pattern(s): 00:28:58 Archives upload complete. 00:28:58 INFO: archiving logs to Nexus