Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e24262ef9183de1c0c5cd9baee4f648fbf1c66fe 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-ssh13740385557507031424.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-ssh8217426514096552384.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-ssh6455910207259128952.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-ssh10982635248437034096.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-ssh7792472059976770548.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 ‘prd-ubuntu20.04-docker-8c-8g-15914’ Running on prd-ubuntu20.04-docker-8c-8g-15923 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 e24262ef9183de1c0c5cd9baee4f648fbf1c66fe (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#483)" > 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 e24262ef9183de1c0c5cd9baee4f648fbf1c66fe # timeout=10 > git rev-list --no-walk 2cc3518655efefba22ff17e7bf1dcccbd8773e75 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:02:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:02:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:02:48 ========================================================= 19:02:48 EdgeX Global Pipelines Version Info 19:02:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:02:49 ------------------- 19:02:49 stable info: 19:02:49 ------------------- 19:02:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:02:49 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 19:02:49 Message: update stable to v1.0.249 19:02:49 ------------------- 19:02:49 experimental info: 19:02:49 ------------------- 19:02:49 Commited By: **** collab-it+edgex@linuxfoundation.org 19:02:49 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 19:02:49 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:02:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 19:02:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 19:02:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:02:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:02:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:02:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 19:02:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:02:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:02:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:02:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:02:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:02:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 19:02:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:02:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:02:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:02:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:02:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:02:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:02:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:02:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:02:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:02:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:02:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:02:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:02:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:02:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:02:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:02:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 19:02:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 19:02:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 19:02:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e24262ef9183de1c0c5cd9baee4f648fbf1c66fe [Pipeline] echo 19:02:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e24262e [Pipeline] echo 19:02:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:02:50 provisioning config files... 19:02:50 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13302020362332186306tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:02:50 ---> docker-login.sh 19:02:50 nexus3.edgexfoundry.org:10001 19:02:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:51 Configure a credential helper to remove this warning. See 19:02:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:51 19:02:51 Login Succeeded 19:02:51 nexus3.edgexfoundry.org:10002 19:02:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:51 Configure a credential helper to remove this warning. See 19:02:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:51 19:02:51 Login Succeeded 19:02:51 nexus3.edgexfoundry.org:10003 19:02:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:51 Configure a credential helper to remove this warning. See 19:02:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:51 19:02:51 Login Succeeded 19:02:51 nexus3.edgexfoundry.org:10004 19:02:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:51 Configure a credential helper to remove this warning. See 19:02:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:51 19:02:51 Login Succeeded 19:02:51 docker.io 19:02:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:51 Configure a credential helper to remove this warning. See 19:02:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:51 19:02:51 Login Succeeded 19:02:51 ---> docker-login.sh ends [Pipeline] } 19:02:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:02:51 + git rev-list -1 --merges e24262ef9183de1c0c5cd9baee4f648fbf1c66fe~1..e24262ef9183de1c0c5cd9baee4f648fbf1c66fe [Pipeline] echo 19:02:52 -----------> git rev-list -1 --merges e24262ef9183de1c0c5cd9baee4f648fbf1c66fe~1..e24262ef9183de1c0c5cd9baee4f648fbf1c66fe e24262ef9183de1c0c5cd9baee4f648fbf1c66fe [false] [Pipeline] sh 19:02:52 + git log --format=format:%s -1 e24262ef9183de1c0c5cd9baee4f648fbf1c66fe [Pipeline] echo 19:02:52 ========================================================= 19:02:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:02:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:02:52 + git log --format=format:%s -1 e24262ef9183de1c0c5cd9baee4f648fbf1c66fe [Pipeline] echo 19:02:52 [semverPrep] GIT_COMMIT: e24262ef9183de1c0c5cd9baee4f648fbf1c66fe, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#483) [Pipeline] echo 19:02:52 [semverPrep] This is not a build commit. [Pipeline] sh 19:02:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:02:53 + grep -v github /etc/ssh/ssh_known_hosts 19:02:53 + [ -e /tmp/ssh_known_hosts ] 19:02:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:02:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:02:53 + sudo tee -a /etc/ssh/ssh_known_hosts 19:02:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:02:53 19:02:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:02:53 0.1.4: Pulling from edgex-devops/py-git-semver 19:02:53 b85a868b505f: Pulling fs layer 19:02:53 e2be974225ed: Pulling fs layer 19:02:53 339a4e72a1f5: Pulling fs layer 19:02:53 988bab9f4d93: Pulling fs layer 19:02:53 1469e6f7b9e6: Pulling fs layer 19:02:53 eaf3925da568: Pulling fs layer 19:02:53 bab4dde63d76: Pulling fs layer 19:02:53 bde34c3a00c8: Pulling fs layer 19:02:53 b352a97aabf1: Pulling fs layer 19:02:53 4872d77fe225: Pulling fs layer 19:02:53 5851b861e8e6: Pulling fs layer 19:02:53 1469e6f7b9e6: Waiting 19:02:53 988bab9f4d93: Waiting 19:02:53 b352a97aabf1: Waiting 19:02:53 eaf3925da568: Waiting 19:02:53 4872d77fe225: Waiting 19:02:53 bab4dde63d76: Waiting 19:02:53 bde34c3a00c8: Waiting 19:02:53 5851b861e8e6: Waiting 19:02:53 e2be974225ed: Verifying Checksum 19:02:53 e2be974225ed: Download complete 19:02:53 988bab9f4d93: Verifying Checksum 19:02:53 988bab9f4d93: Download complete 19:02:53 1469e6f7b9e6: Verifying Checksum 19:02:53 1469e6f7b9e6: Download complete 19:02:53 eaf3925da568: Download complete 19:02:53 339a4e72a1f5: Verifying Checksum 19:02:53 339a4e72a1f5: Download complete 19:02:53 bde34c3a00c8: Download complete 19:02:53 b352a97aabf1: Verifying Checksum 19:02:53 b352a97aabf1: Download complete 19:02:53 4872d77fe225: Download complete 19:02:53 5851b861e8e6: Verifying Checksum 19:02:53 b85a868b505f: Verifying Checksum 19:02:53 b85a868b505f: Download complete 19:02:54 bab4dde63d76: Verifying Checksum 19:02:54 bab4dde63d76: Download complete 19:02:55 b85a868b505f: Pull complete 19:02:55 e2be974225ed: Pull complete 19:02:55 339a4e72a1f5: Pull complete 19:02:55 988bab9f4d93: Pull complete 19:02:55 1469e6f7b9e6: Pull complete 19:02:55 eaf3925da568: Pull complete 19:02:57 bab4dde63d76: Pull complete 19:02:57 bde34c3a00c8: Pull complete 19:02:57 b352a97aabf1: Pull complete 19:02:57 4872d77fe225: Pull complete 19:02:57 5851b861e8e6: Pull complete 19:02:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:02:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:02:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:02:57 prd-ubuntu20.04-docker-8c-8g-15923 does not seem to be running inside a container 19:02:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:03:01 $ docker top a406cf9dbc030020bc0cb298282506b310db74f0ba7c5eb4cdcdd43b2ed7a559 -eo pid,comm 19:03:01 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 19:03:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:03:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:03:01 [ssh-agent] Looking for ssh-agent implementation... 19:03:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:03:01 $ docker exec a406cf9dbc030020bc0cb298282506b310db74f0ba7c5eb4cdcdd43b2ed7a559 ssh-agent 19:03:01 SSH_AUTH_SOCK=/tmp/ssh-tm7v9P1gGInR/agent.32 19:03:01 SSH_AGENT_PID=38 19:03:01 Running ssh-add (command line suppressed) 19:03:01 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10298140440712477575.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10298140440712477575.key) 19:03:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:03:01 + git tag --points-at HEAD [Pipeline] } 19:03:01 $ docker exec --env ******** --env ******** a406cf9dbc030020bc0cb298282506b310db74f0ba7c5eb4cdcdd43b2ed7a559 ssh-agent -k 19:03:01 unset SSH_AUTH_SOCK; 19:03:01 unset SSH_AGENT_PID; 19:03:01 echo Agent pid 38 killed; 19:03:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:03:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:03:01 [ssh-agent] Looking for ssh-agent implementation... 19:03:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:03:01 $ docker exec a406cf9dbc030020bc0cb298282506b310db74f0ba7c5eb4cdcdd43b2ed7a559 ssh-agent 19:03:02 SSH_AUTH_SOCK=/tmp/ssh-bJXHRmj8MDix/agent.71 19:03:02 SSH_AGENT_PID=77 19:03:02 Running ssh-add (command line suppressed) 19:03:02 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8795442100677097629.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8795442100677097629.key) 19:03:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:03:02 + git semver init 19:03:02 2023-05-17 19:03:02,700 [run_init] DEBUG init version:0.0.0 force:False 19:03:02 2023-05-17 19:03:02,701 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 19:03:02 2023-05-17 19:03:02,702 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 19:03:02 2023-05-17 19:03:02,702 [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) 19:03:03 2023-05-17 19:03:03,486 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 19:03:03 2023-05-17 19:03:03,487 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 19:03:03 2023-05-17 19:03:03,487 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 19:03:03 2023-05-17 19:03:03,487 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 19:03:03 3.0.0-dev.42 [Pipeline] } 19:03:03 $ docker exec --env ******** --env ******** a406cf9dbc030020bc0cb298282506b310db74f0ba7c5eb4cdcdd43b2ed7a559 ssh-agent -k 19:03:03 unset SSH_AUTH_SOCK; 19:03:03 unset SSH_AGENT_PID; 19:03:03 echo Agent pid 77 killed; 19:03:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:03:04 + git semver [Pipeline] } 19:03:04 $ docker stop --time=1 a406cf9dbc030020bc0cb298282506b310db74f0ba7c5eb4cdcdd43b2ed7a559 19:03:05 $ docker rm -f --volumes a406cf9dbc030020bc0cb298282506b310db74f0ba7c5eb4cdcdd43b2ed7a559 [Pipeline] // withDockerContainer [Pipeline] sh 19:03:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:03:06 Stashed 1 file(s) [Pipeline] echo 19:03:06 [edgeXSemver]: initialized semver on version 3.0.0-dev.42 [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 19:03:06 provisioning config files... 19:03:06 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config47018238116116325tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:03:06 ---> docker-login.sh 19:03:06 nexus3.edgexfoundry.org:10001 19:03:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:06 Configure a credential helper to remove this warning. See 19:03:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:06 19:03:06 Login Succeeded 19:03:06 nexus3.edgexfoundry.org:10002 19:03:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:06 Configure a credential helper to remove this warning. See 19:03:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:06 19:03:06 Login Succeeded 19:03:06 nexus3.edgexfoundry.org:10003 19:03:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:07 Configure a credential helper to remove this warning. See 19:03:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:07 19:03:07 Login Succeeded 19:03:07 nexus3.edgexfoundry.org:10004 19:03:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:07 Configure a credential helper to remove this warning. See 19:03:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:07 19:03:07 Login Succeeded 19:03:07 docker.io 19:03:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:07 Configure a credential helper to remove this warning. See 19:03:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:07 19:03:07 Login Succeeded 19:03:07 ---> docker-login.sh ends [Pipeline] } 19:03:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:03:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:03:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:03:07 ========================================================= 19:03:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 19:03:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:07 + 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 . 19:03:07 Sending build context to Docker daemon 6.526MB 19:03:07 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 19:03:07 Step 2/10 : FROM ${BASE} AS builder 19:03:07 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 19:03:07 f56be85fc22e: Pulling fs layer 19:03:07 85791d961cd3: Pulling fs layer 19:03:07 d694b5ae8c79: Pulling fs layer 19:03:07 9f32a84ed3da: Pulling fs layer 19:03:07 4d19c01a9841: Pulling fs layer 19:03:07 9325e15d5711: Pulling fs layer 19:03:07 556b6ee489ea: Pulling fs layer 19:03:07 c5a4b2cf53e6: Pulling fs layer 19:03:07 9f32a84ed3da: Waiting 19:03:07 4d19c01a9841: Waiting 19:03:07 556b6ee489ea: Waiting 19:03:07 c5a4b2cf53e6: Waiting 19:03:07 85791d961cd3: Download complete 19:03:07 9f32a84ed3da: Verifying Checksum 19:03:07 9f32a84ed3da: Download complete 19:03:07 4d19c01a9841: Verifying Checksum 19:03:07 4d19c01a9841: Download complete 19:03:08 f56be85fc22e: Verifying Checksum 19:03:08 f56be85fc22e: Download complete 19:03:08 9325e15d5711: Verifying Checksum 19:03:08 9325e15d5711: Download complete 19:03:08 f56be85fc22e: Pull complete 19:03:08 85791d961cd3: Pull complete 19:03:08 c5a4b2cf53e6: Verifying Checksum 19:03:08 c5a4b2cf53e6: Download complete 19:03:08 d694b5ae8c79: Verifying Checksum 19:03:08 d694b5ae8c79: Download complete 19:03:08 556b6ee489ea: Verifying Checksum 19:03:08 556b6ee489ea: Download complete 19:03:12 d694b5ae8c79: Pull complete 19:03:12 9f32a84ed3da: Pull complete 19:03:12 4d19c01a9841: Pull complete 19:03:12 9325e15d5711: Pull complete 19:03:14 556b6ee489ea: Pull complete 19:03:15 c5a4b2cf53e6: Pull complete 19:03:15 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 19:03:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:03:15 ---> c4be618373d6 19:03:15 Step 3/10 : ARG ADD_BUILD_TAGS="" 19:03:19 ---> Running in f0052b13c27f 19:03:19 Removing intermediate container f0052b13c27f 19:03:19 ---> abf671eedfbd 19:03:19 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:03:19 ---> Running in b13f51edfb79 19:03:19 Removing intermediate container b13f51edfb79 19:03:19 ---> 96e27e0709be 19:03:19 Step 5/10 : RUN apk add --update --no-cache make git openssh 19:03:19 ---> Running in a1732ce84d73 19:03:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:03:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:03:19 (1/8) Installing openssh-keygen (9.1_p1-r3) 19:03:19 (2/8) Installing libedit (20221030.3.1-r0) 19:03:19 (3/8) Installing openssh-client-common (9.1_p1-r3) 19:03:19 (4/8) Installing openssh-client-default (9.1_p1-r3) 19:03:19 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 19:03:19 (6/8) Installing openssh-server-common (9.1_p1-r3) 19:03:19 (7/8) Installing openssh-server (9.1_p1-r3) 19:03:19 (8/8) Installing openssh (9.1_p1-r3) 19:03:19 Executing busybox-1.35.0-r29.trigger 19:03:19 OK: 270 MiB in 61 packages 19:03:20 Removing intermediate container a1732ce84d73 19:03:20 ---> f5c59e301149 19:03:20 Step 6/10 : WORKDIR /device-modbus-go 19:03:20 ---> Running in a91f68673d31 19:03:20 Removing intermediate container a91f68673d31 19:03:20 ---> 7fb0bb392e69 19:03:20 Step 7/10 : COPY go.mod vendor* ./ 19:03:20 ---> 749c52713ad1 19:03:20 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:03:20 ---> Running in c8ec5cb1e753 19:03:21 Still waiting to schedule task 19:03:21 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 19:03:46 Removing intermediate container c8ec5cb1e753 19:03:46 ---> bdbb6ca50351 19:03:46 Step 9/10 : COPY . . 19:03:46 ---> fdb7f59eda18 19:03:46 Step 10/10 : RUN ${MAKE} 19:03:46 ---> Running in d8adfea28e11 19:03:46 noop 19:03:46 Removing intermediate container d8adfea28e11 19:03:46 ---> 3b90a549ed48 19:03:46 Successfully built 3b90a549ed48 19:03:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:47 + docker inspect -f . ci-base-image-x86_64 19:03:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:03:47 prd-ubuntu20.04-docker-8c-8g-15923 does not seem to be running inside a container 19:03:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:03:47 $ docker top b53c473b0d2269f25e195b9dd79218e423c293f1e2254eccddb84224815d280d -eo pid,comm [Pipeline] { [Pipeline] sh 19:03:48 + go version 19:03:48 go version go1.20.2 linux/amd64 [Pipeline] } 19:03:48 $ docker stop --time=1 b53c473b0d2269f25e195b9dd79218e423c293f1e2254eccddb84224815d280d 19:03:49 $ docker rm -f --volumes b53c473b0d2269f25e195b9dd79218e423c293f1e2254eccddb84224815d280d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:49 + docker inspect -f . ci-base-image-x86_64 19:03:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:03:49 prd-ubuntu20.04-docker-8c-8g-15923 does not seem to be running inside a container 19:03:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:03:50 $ docker top 01a2c99db7b15e9600b1213f771793bbd41994d845d18bd14618cdaf83d45327 -eo pid,comm [Pipeline] { [Pipeline] sh 19:03:50 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 19:03:50 + make test 19:03:50 go test ./... -coverprofile=coverage.out 19:03:56 ? github.com/edgexfoundry/device-modbus-go [no test files] 19:04:06 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 19:04:06 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.4% of statements 19:04:10 go vet ./... 19:04:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:04:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:04:13 ./bin/test-attribution-txt.sh [Pipeline] echo 19:04:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:04:13 $ docker stop --time=1 01a2c99db7b15e9600b1213f771793bbd41994d845d18bd14618cdaf83d45327 19:04:16 $ docker rm -f --volumes 01a2c99db7b15e9600b1213f771793bbd41994d845d18bd14618cdaf83d45327 [Pipeline] // withDockerContainer [Pipeline] sh 19:04:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:04:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:04:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:04:18 + ls -al . 19:04:18 total 184 19:04:18 drwxrwxr-x 10 jenkins jenkins 4096 May 17 19:03 . 19:04:18 drwxrwxr-x 4 jenkins jenkins 4096 May 17 19:02 .. 19:04:18 -rw-rw-r-- 1 jenkins jenkins 140 May 17 19:02 .dockerignore 19:04:18 drwxrwxr-x 8 jenkins jenkins 4096 May 17 19:03 .git 19:04:18 drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:02 .github 19:04:18 -rw-rw-r-- 1 jenkins jenkins 331 May 17 19:02 .gitignore 19:04:18 -rw-rw-r-- 1 jenkins jenkins 41 May 17 19:02 .golangci.yml 19:04:18 drwxr-xr-x 3 jenkins jenkins 4096 May 17 19:03 .semver 19:04:18 -rw-rw-r-- 1 jenkins jenkins 10132 May 17 19:02 Attribution.txt 19:04:18 -rw-rw-r-- 1 jenkins jenkins 11576 May 17 19:02 CHANGELOG.md 19:04:18 -rw-rw-r-- 1 jenkins jenkins 1365 May 17 19:02 Dockerfile 19:04:18 -rw-rw-r-- 1 jenkins jenkins 677 May 17 19:02 GOVERNANCE.md 19:04:18 -rw-rw-r-- 1 jenkins jenkins 680 May 17 19:02 Jenkinsfile 19:04:18 -rw-rw-r-- 1 jenkins jenkins 11340 May 17 19:02 LICENSE 19:04:18 -rw-rw-r-- 1 jenkins jenkins 1705 May 17 19:02 Makefile 19:04:18 -rw-rw-r-- 1 jenkins jenkins 622 May 17 19:02 OWNERS.md 19:04:18 -rw-rw-r-- 1 jenkins jenkins 4554 May 17 19:02 README.md 19:04:18 -rw-rw-r-- 1 jenkins jenkins 12 May 17 19:03 VERSION 19:04:18 drwxrwxr-x 2 jenkins jenkins 4096 May 17 19:02 bin 19:04:18 drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:02 cmd 19:04:18 -rw-r--r-- 1 jenkins jenkins 24160 May 17 19:04 coverage.out 19:04:18 -rw-rw-r-- 1 jenkins jenkins 3453 May 17 19:02 go.mod 19:04:18 -rw-rw-r-- 1 jenkins jenkins 31670 May 17 19:02 go.sum 19:04:18 drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:02 internal 19:04:18 drwxrwxr-x 2 jenkins jenkins 4096 May 17 19:02 simulator 19:04:18 drwxrwxr-x 4 jenkins jenkins 4096 May 17 19:02 snap 19:04:18 -rw-rw-r-- 1 jenkins jenkins 229 May 17 19:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:18 + 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=e24262ef9183de1c0c5cd9baee4f648fbf1c66fe --label arch=amd64 --label version=3.0.0-dev.42 . 19:04:18 Sending build context to Docker daemon 6.551MB 19:04:18 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 19:04:18 Step 2/22 : FROM ${BASE} AS builder 19:04:18 ---> 3b90a549ed48 19:04:18 Step 3/22 : ARG ADD_BUILD_TAGS="" 19:04:18 ---> Running in 8ed189dee0cc 19:04:18 Removing intermediate container 8ed189dee0cc 19:04:18 ---> da24ea4884b6 19:04:18 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:04:18 ---> Running in 03c13eca1d57 19:04:18 Removing intermediate container 03c13eca1d57 19:04:18 ---> cc70a4715549 19:04:18 Step 5/22 : RUN apk add --update --no-cache make git openssh 19:04:18 ---> Running in bbf6f690159f 19:04:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:04:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:04:19 OK: 270 MiB in 61 packages 19:04:19 Removing intermediate container bbf6f690159f 19:04:19 ---> d3bd43b8d4e0 19:04:19 Step 6/22 : WORKDIR /device-modbus-go 19:04:19 ---> Running in b77a921ee0ac 19:04:19 Removing intermediate container b77a921ee0ac 19:04:19 ---> cda5738308e5 19:04:19 Step 7/22 : COPY go.mod vendor* ./ 19:04:19 ---> e88b2ee68d3c 19:04:19 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:04:19 ---> Running in 5529bd4a5270 19:04:20 Removing intermediate container 5529bd4a5270 19:04:20 ---> 0cb44df541e6 19:04:20 Step 9/22 : COPY . . 19:04:20 ---> bb759949817f 19:04:20 Step 10/22 : RUN ${MAKE} 19:04:21 ---> Running in cc816a2b9841 19:04:21 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.42" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 19:04:39 Removing intermediate container cc816a2b9841 19:04:39 ---> e192ab952f2d 19:04:39 Step 11/22 : FROM alpine:3.17 19:04:39 3.17: Pulling from library/alpine 19:04:39 f56be85fc22e: Already exists 19:04:39 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 19:04:39 Status: Downloaded newer image for alpine:3.17 19:04:39 ---> 9ed4aefc74f6 19:04:39 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 19:04:39 ---> Running in 50dd11ec5606 19:04:39 Removing intermediate container 50dd11ec5606 19:04:39 ---> 1e33baca218d 19:04:39 Step 13/22 : RUN apk add --update --no-cache dumb-init 19:04:39 ---> Running in 653c984f2c59 19:04:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:04:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:04:40 (1/1) Installing dumb-init (1.2.5-r2) 19:04:40 Executing busybox-1.35.0-r29.trigger 19:04:40 OK: 7 MiB in 16 packages 19:04:40 Removing intermediate container 653c984f2c59 19:04:40 ---> 21bcec66314d 19:04:40 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 19:04:40 ---> d3d398fe823e 19:04:40 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 19:04:41 ---> 15b9a0fa4796 19:04:41 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 19:04:41 ---> 6d33234b2ecd 19:04:41 Step 17/22 : EXPOSE 59901 19:04:41 ---> Running in 2b7ba3fe9568 19:04:41 Removing intermediate container 2b7ba3fe9568 19:04:41 ---> 14485962e3b9 19:04:41 Step 18/22 : ENTRYPOINT ["/device-modbus"] 19:04:41 ---> Running in 4484f75bab6c 19:04:41 Removing intermediate container 4484f75bab6c 19:04:41 ---> 95564b89c2de 19:04:41 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 19:04:41 ---> Running in 29362cbe926e 19:04:41 Removing intermediate container 29362cbe926e 19:04:41 ---> 36d63b81cdac 19:04:41 Step 20/22 : LABEL arch=amd64 19:04:41 ---> Running in f2ec255b88a2 19:04:41 Removing intermediate container f2ec255b88a2 19:04:41 ---> aced47bb1453 19:04:41 Step 21/22 : LABEL git_sha=e24262ef9183de1c0c5cd9baee4f648fbf1c66fe 19:04:41 ---> Running in 4933f5db4aaf 19:04:41 Removing intermediate container 4933f5db4aaf 19:04:41 ---> ef83855b8f17 19:04:41 Step 22/22 : LABEL version=3.0.0-dev.42 19:04:41 ---> Running in 147bb4b664f2 19:04:41 Removing intermediate container 147bb4b664f2 19:04:41 ---> d7898f2525ee 19:04:41 [Warning] One or more build-args [ARCH] were not consumed 19:04:41 Successfully built d7898f2525ee 19:04:41 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:04:41 provisioning config files... 19:04:41 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15028064895726560233tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:04:42 ---> docker-login.sh 19:04:42 nexus3.edgexfoundry.org:10001 19:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:42 Configure a credential helper to remove this warning. See 19:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:42 19:04:42 Login Succeeded 19:04:42 nexus3.edgexfoundry.org:10002 19:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:42 Configure a credential helper to remove this warning. See 19:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:42 19:04:42 Login Succeeded 19:04:42 nexus3.edgexfoundry.org:10003 19:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:42 Configure a credential helper to remove this warning. See 19:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:42 19:04:42 Login Succeeded 19:04:42 nexus3.edgexfoundry.org:10004 19:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:42 Configure a credential helper to remove this warning. See 19:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:42 19:04:42 Login Succeeded 19:04:42 docker.io 19:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:42 Configure a credential helper to remove this warning. See 19:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:42 19:04:42 Login Succeeded 19:04:42 ---> docker-login.sh ends [Pipeline] } 19:04:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:04:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:04:42 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 19:04:42 e24262ef9183de1c0c5cd9baee4f648fbf1c66fe 19:04:42 latest 19:04:42 3.0.0-dev.42 19:04:42 e24262ef9183de1c0c5cd9baee4f648fbf1c66fe-3.0.0-dev.42 19:04:42 main 19:04:42 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:43 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:e24262ef9183de1c0c5cd9baee4f648fbf1c66fe [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:43 + docker push nexus3.edgexfoundry.org:10004/device-modbus:e24262ef9183de1c0c5cd9baee4f648fbf1c66fe 19:04:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 19:04:43 54f10fca6138: Preparing 19:04:43 aae3e8a7ad0f: Preparing 19:04:43 ee63f79dbc1b: Preparing 19:04:43 7f5ad85ef53f: Preparing 19:04:43 f1417ff83b31: Preparing 19:04:43 f1417ff83b31: Layer already exists 19:04:43 54f10fca6138: Pushed 19:04:43 aae3e8a7ad0f: Pushed 19:04:43 7f5ad85ef53f: Pushed 19:04:45 ee63f79dbc1b: Pushed 19:04:45 e24262ef9183de1c0c5cd9baee4f648fbf1c66fe: digest: sha256:86f368b50767332e576639455cc05bf6cee7bfa2e3d5aa5d5228acdc06cf6c8d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:46 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:46 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 19:04:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 19:04:46 54f10fca6138: Preparing 19:04:46 aae3e8a7ad0f: Preparing 19:04:46 ee63f79dbc1b: Preparing 19:04:46 7f5ad85ef53f: Preparing 19:04:46 f1417ff83b31: Preparing 19:04:46 7f5ad85ef53f: Layer already exists 19:04:46 54f10fca6138: Layer already exists 19:04:46 f1417ff83b31: Layer already exists 19:04:46 ee63f79dbc1b: Layer already exists 19:04:46 aae3e8a7ad0f: Layer already exists 19:04:46 latest: digest: sha256:86f368b50767332e576639455cc05bf6cee7bfa2e3d5aa5d5228acdc06cf6c8d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:46 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.42 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:47 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.42 19:04:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 19:04:47 54f10fca6138: Preparing 19:04:47 aae3e8a7ad0f: Preparing 19:04:47 ee63f79dbc1b: Preparing 19:04:47 7f5ad85ef53f: Preparing 19:04:47 f1417ff83b31: Preparing 19:04:47 ee63f79dbc1b: Layer already exists 19:04:47 7f5ad85ef53f: Layer already exists 19:04:47 aae3e8a7ad0f: Layer already exists 19:04:47 54f10fca6138: Layer already exists 19:04:47 f1417ff83b31: Layer already exists 19:04:47 3.0.0-dev.42: digest: sha256:86f368b50767332e576639455cc05bf6cee7bfa2e3d5aa5d5228acdc06cf6c8d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:47 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:e24262ef9183de1c0c5cd9baee4f648fbf1c66fe-3.0.0-dev.42 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:47 + docker push nexus3.edgexfoundry.org:10004/device-modbus:e24262ef9183de1c0c5cd9baee4f648fbf1c66fe-3.0.0-dev.42 19:04:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 19:04:47 54f10fca6138: Preparing 19:04:47 aae3e8a7ad0f: Preparing 19:04:47 ee63f79dbc1b: Preparing 19:04:47 7f5ad85ef53f: Preparing 19:04:47 f1417ff83b31: Preparing 19:04:47 f1417ff83b31: Layer already exists 19:04:47 7f5ad85ef53f: Layer already exists 19:04:47 aae3e8a7ad0f: Layer already exists 19:04:47 ee63f79dbc1b: Layer already exists 19:04:47 54f10fca6138: Layer already exists 19:04:47 e24262ef9183de1c0c5cd9baee4f648fbf1c66fe-3.0.0-dev.42: digest: sha256:86f368b50767332e576639455cc05bf6cee7bfa2e3d5aa5d5228acdc06cf6c8d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:48 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:48 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 19:04:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 19:04:48 54f10fca6138: Preparing 19:04:48 aae3e8a7ad0f: Preparing 19:04:48 ee63f79dbc1b: Preparing 19:04:48 7f5ad85ef53f: Preparing 19:04:48 f1417ff83b31: Preparing 19:04:48 54f10fca6138: Layer already exists 19:04:48 aae3e8a7ad0f: Layer already exists 19:04:48 7f5ad85ef53f: Layer already exists 19:04:48 ee63f79dbc1b: Layer already exists 19:04:48 f1417ff83b31: Layer already exists 19:04:48 main: digest: sha256:86f368b50767332e576639455cc05bf6cee7bfa2e3d5aa5d5228acdc06cf6c8d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:04:48 ===================================================== [Pipeline] echo 19:04:48 taggedImages: 19:04:48 - nexus3.edgexfoundry.org:10004/device-modbus:e24262ef9183de1c0c5cd9baee4f648fbf1c66fe 19:04:48 - nexus3.edgexfoundry.org:10004/device-modbus:latest 19:04:48 - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.42 19:04:48 - nexus3.edgexfoundry.org:10004/device-modbus:e24262ef9183de1c0c5cd9baee4f648fbf1c66fe-3.0.0-dev.42 19:04:48 - 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 19:04:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:04:49 19:04:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:04:49 latest: Pulling from edgex-lftools-log-publisher 19:04:49 5eb5b503b376: Pulling fs layer 19:04:49 5c69ac0246d0: Pulling fs layer 19:04:49 ec43610c2a17: Pulling fs layer 19:04:49 3a2ae6a8a46f: Pulling fs layer 19:04:49 33b1e0a273af: Pulling fs layer 19:04:49 5d3b04190fa2: Pulling fs layer 19:04:49 2f39f015ded8: Pulling fs layer 19:04:49 33b1e0a273af: Waiting 19:04:49 5d3b04190fa2: Waiting 19:04:49 2f39f015ded8: Waiting 19:04:49 3a2ae6a8a46f: Waiting 19:04:49 5c69ac0246d0: Verifying Checksum 19:04:49 5c69ac0246d0: Download complete 19:04:49 3a2ae6a8a46f: Verifying Checksum 19:04:49 3a2ae6a8a46f: Download complete 19:04:49 33b1e0a273af: Verifying Checksum 19:04:49 33b1e0a273af: Download complete 19:04:49 ec43610c2a17: Verifying Checksum 19:04:49 ec43610c2a17: Download complete 19:04:49 5d3b04190fa2: Verifying Checksum 19:04:49 5d3b04190fa2: Download complete 19:04:49 5eb5b503b376: Verifying Checksum 19:04:49 5eb5b503b376: Download complete 19:04:50 2f39f015ded8: Verifying Checksum 19:04:50 2f39f015ded8: Download complete 19:04:50 5eb5b503b376: Pull complete 19:04:50 5c69ac0246d0: Pull complete 19:04:51 ec43610c2a17: Pull complete 19:04:51 3a2ae6a8a46f: Pull complete 19:04:51 33b1e0a273af: Pull complete 19:04:51 5d3b04190fa2: Pull complete 19:04:55 2f39f015ded8: Pull complete 19:04:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:04:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:04:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:04:56 prd-ubuntu20.04-docker-8c-8g-15923 does not seem to be running inside a container 19:04:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:04:59 $ docker top 2f1a29331da637e68af57045f149e4399916796d9c8f663d418e25b08ad882d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:05:00 ---> job-cost.sh 19:05:00 lf-activate-venv: SKIPPING 19:05:00 INFO: No Stack... 19:05:00 INFO: Retrieving Pricing Info for: v3-standard-8 19:05:00 INFO: Archiving Costs [Pipeline] sh 19:05:01 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 19:05:01 + cut -d, -f6 [Pipeline] lock 19:05:01 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-108-stack-cost] 19:05:01 Resource [jenkins-edgexfoundry-device-modbus-go-main-108-stack-cost] did not exist. Created. 19:05:01 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-108-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:05:01 + echo total: 0.2199999988079071 [Pipeline] stash 19:05:01 Stashed 1 file(s) [Pipeline] } 19:05:01 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-108-stack-cost] [Pipeline] // lock [Pipeline] } 19:05:01 $ docker stop --time=1 2f1a29331da637e68af57045f149e4399916796d9c8f663d418e25b08ad882d5 19:05:02 $ docker rm -f --volumes 2f1a29331da637e68af57045f149e4399916796d9c8f663d418e25b08ad882d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:08:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15932 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 19:08:19 Running in /w/workspace/device-modbus-go/108 [Pipeline] { [Pipeline] checkout 19:08:20 Selected Git installation does not exist. Using Default 19:08:20 The recommended git tool is: NONE 19:08:27 using credential edgex-jenkins-ssh 19:08:27 Cloning the remote Git repository 19:08:27 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 19:08:27 > git init /w/workspace/device-modbus-go/108 # timeout=10 19:08:28 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 19:08:28 > git --version # timeout=10 19:08:28 > git --version # 'git version 2.25.1' 19:08:28 using GIT_SSH to set credentials SSH Credentials for GitHub 19:08:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:08:29 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 19:08:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:08:30 Avoid second fetch 19:08:30 Checking out Revision e24262ef9183de1c0c5cd9baee4f648fbf1c66fe (main) 19:08:31 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#483)" 19:08:30 > git config core.sparsecheckout # timeout=10 19:08:30 > git checkout -f e24262ef9183de1c0c5cd9baee4f648fbf1c66fe # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:08:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:08:32 % Total % Received % Xferd Average Speed Time Time Time Current 19:08:32 Dload Upload Total Spent Left Speed 19:08:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 75 12751 75 9637 0 0 68835 0 --:--:-- --:--:-- --:--:-- 68347 100 12751 100 12751 0 0 89167 0 --:--:-- --:--:-- --:--:-- 88548 [Pipeline] sh 19:08:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:08:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:08:33 + sudo tee /etc/docker/daemon.new 19:08:33 { 19:08:33 "registry-mirrors": [ 19:08:33 "https://nexus3.edgexfoundry.org:10001" 19:08:33 ], 19:08:33 "bip": "10.250.0.254/24", 19:08:33 "hosts": [ 19:08:33 "tcp://0.0.0.0:5555", 19:08:33 "unix:///var/run/docker.sock" 19:08:33 ], 19:08:33 "mtu": 1458, 19:08:33 "selinux-enabled": true, 19:08:33 "seccomp-profile": "/etc/docker/seccomp.json" 19:08:33 } [Pipeline] sh 19:08:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:08:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:08:53 provisioning config files... 19:08:53 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/108@tmp/config13100510876497892695tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:08:53 ---> docker-login.sh 19:08:53 nexus3.edgexfoundry.org:10001 19:08:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:54 Configure a credential helper to remove this warning. See 19:08:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:54 19:08:54 Login Succeeded 19:08:54 nexus3.edgexfoundry.org:10002 19:08:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:54 Configure a credential helper to remove this warning. See 19:08:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:54 19:08:54 Login Succeeded 19:08:54 nexus3.edgexfoundry.org:10003 19:08:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:55 Configure a credential helper to remove this warning. See 19:08:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:55 19:08:55 Login Succeeded 19:08:55 nexus3.edgexfoundry.org:10004 19:08:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:55 Configure a credential helper to remove this warning. See 19:08:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:55 19:08:55 Login Succeeded 19:08:55 docker.io 19:08:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:55 Configure a credential helper to remove this warning. See 19:08:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:55 19:08:55 Login Succeeded 19:08:55 ---> docker-login.sh ends [Pipeline] } 19:08:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:08:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:08:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:08:56 ========================================================= 19:08:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 19:08:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:56 + 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 . 19:08:57 Sending build context to Docker daemon 3.415MB 19:08:57 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 19:08:57 Step 2/10 : FROM ${BASE} AS builder 19:08:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:08:57 c41833b44d91: Pulling fs layer 19:08:57 ed15518f5707: Pulling fs layer 19:08:57 feae8fd75edb: Pulling fs layer 19:08:57 242c74f7c9fa: Pulling fs layer 19:08:57 3cdef696dda3: Pulling fs layer 19:08:57 2ced38df9373: Pulling fs layer 19:08:57 58f1dce35555: Pulling fs layer 19:08:57 242c74f7c9fa: Waiting 19:08:57 3cdef696dda3: Waiting 19:08:57 2ced38df9373: Waiting 19:08:57 58f1dce35555: Waiting 19:08:57 ed15518f5707: Verifying Checksum 19:08:57 ed15518f5707: Download complete 19:08:57 242c74f7c9fa: Verifying Checksum 19:08:57 242c74f7c9fa: Download complete 19:08:57 3cdef696dda3: Verifying Checksum 19:08:57 3cdef696dda3: Download complete 19:08:57 c41833b44d91: Verifying Checksum 19:08:57 c41833b44d91: Download complete 19:08:58 c41833b44d91: Pull complete 19:08:59 58f1dce35555: Verifying Checksum 19:08:59 58f1dce35555: Download complete 19:08:59 ed15518f5707: Pull complete 19:09:01 feae8fd75edb: Verifying Checksum 19:09:01 feae8fd75edb: Download complete 19:09:01 2ced38df9373: Verifying Checksum 19:09:01 2ced38df9373: Download complete 19:09:12 feae8fd75edb: Pull complete 19:09:12 242c74f7c9fa: Pull complete 19:09:12 3cdef696dda3: Pull complete 19:09:19 2ced38df9373: Pull complete 19:09:22 58f1dce35555: Pull complete 19:09:22 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 19:09:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 19:09:22 ---> fadd8f120f05 19:09:22 Step 3/10 : ARG ADD_BUILD_TAGS="" 19:09:24 ---> Running in be23873ce52b 19:09:24 Removing intermediate container be23873ce52b 19:09:24 ---> f5afe1563b09 19:09:24 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:09:24 ---> Running in 142cb32147a6 19:09:25 Removing intermediate container 142cb32147a6 19:09:25 ---> 171b3104c386 19:09:25 Step 5/10 : RUN apk add --update --no-cache make git openssh 19:09:25 ---> Running in c1599965d2ae 19:09:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:09:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:09:28 (1/8) Installing openssh-keygen (9.1_p1-r3) 19:09:28 (2/8) Installing libedit (20221030.3.1-r0) 19:09:28 (3/8) Installing openssh-client-common (9.1_p1-r3) 19:09:28 (4/8) Installing openssh-client-default (9.1_p1-r3) 19:09:28 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 19:09:28 (6/8) Installing openssh-server-common (9.1_p1-r3) 19:09:28 (7/8) Installing openssh-server (9.1_p1-r3) 19:09:28 (8/8) Installing openssh (9.1_p1-r3) 19:09:28 Executing busybox-1.35.0-r29.trigger 19:09:28 OK: 270 MiB in 61 packages 19:09:30 Removing intermediate container c1599965d2ae 19:09:30 ---> 03669735d4f1 19:09:30 Step 6/10 : WORKDIR /device-modbus-go 19:09:30 ---> Running in 0920b26f81ef 19:09:31 Removing intermediate container 0920b26f81ef 19:09:31 ---> d8764f2df562 19:09:31 Step 7/10 : COPY go.mod vendor* ./ 19:09:31 ---> 07baf382181f 19:09:31 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:09:32 ---> Running in e1be69ff9611 19:10:40 Removing intermediate container e1be69ff9611 19:10:40 ---> d39dd58528db 19:10:40 Step 9/10 : COPY . . 19:10:40 ---> d2a375734366 19:10:40 Step 10/10 : RUN ${MAKE} 19:10:40 ---> Running in b3cd0a6f169d 19:10:42 noop 19:10:43 Removing intermediate container b3cd0a6f169d 19:10:43 ---> 7a18f39d3968 19:10:43 Successfully built 7a18f39d3968 19:10:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:10:43 + docker inspect -f . ci-base-image-arm64 19:10:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:10:43 prd-ubuntu20.04-docker-arm64-4c-16g-15932 does not seem to be running inside a container 19:10:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/108 -v /w/workspace/device-modbus-go/108:/w/workspace/device-modbus-go/108:rw,z -v /w/workspace/device-modbus-go/108@tmp:/w/workspace/device-modbus-go/108@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 19:10:48 $ docker top f7d94f689363d96d4c991fc740a5a2775838519b6e7ff9cb0f8a41bb5feeedd5 -eo pid,comm [Pipeline] { [Pipeline] sh 19:10:49 + go version 19:10:49 go version go1.20.2 linux/arm64 [Pipeline] } 19:10:49 $ docker stop --time=1 f7d94f689363d96d4c991fc740a5a2775838519b6e7ff9cb0f8a41bb5feeedd5 19:10:51 $ docker rm -f --volumes f7d94f689363d96d4c991fc740a5a2775838519b6e7ff9cb0f8a41bb5feeedd5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:10:51 + docker inspect -f . ci-base-image-arm64 19:10:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:10:52 prd-ubuntu20.04-docker-arm64-4c-16g-15932 does not seem to be running inside a container 19:10:52 $ 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/108 -v /w/workspace/device-modbus-go/108:/w/workspace/device-modbus-go/108:rw,z -v /w/workspace/device-modbus-go/108@tmp:/w/workspace/device-modbus-go/108@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 19:10:53 $ docker top d3fcd1c956189fe9af64594b41332e8a038045e88827770e7dcb94e87f10cdc9 -eo pid,comm [Pipeline] { [Pipeline] sh 19:10:54 + git config --global --add safe.directory /w/workspace/device-modbus-go/108 [Pipeline] fileExists [Pipeline] sh 19:10:54 + make test 19:10:54 go test ./... -coverprofile=coverage.out 19:11:33 ? github.com/edgexfoundry/device-modbus-go [no test files] 19:14:10 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 19:14:10 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.080s coverage: 47.4% of statements 19:14:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:14:10 go vet ./... 19:14:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:14:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:14:43 ./bin/test-attribution-txt.sh [Pipeline] echo 19:14:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:14:43 $ docker stop --time=1 d3fcd1c956189fe9af64594b41332e8a038045e88827770e7dcb94e87f10cdc9 19:14:45 $ docker rm -f --volumes d3fcd1c956189fe9af64594b41332e8a038045e88827770e7dcb94e87f10cdc9 [Pipeline] // withDockerContainer [Pipeline] sh 19:14:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:14:46 Warning: overwriting stash ‘coverage-report’ 19:14:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:14:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:14:47 + ls -al . 19:14:47 total 180 19:14:47 drwxrwxr-x 9 jenkins jenkins 4096 May 17 19:10 . 19:14:47 drwxrwxr-x 4 jenkins jenkins 4096 May 17 19:08 .. 19:14:47 -rw-rw-r-- 1 jenkins jenkins 140 May 17 19:08 .dockerignore 19:14:47 drwxrwxr-x 8 jenkins jenkins 4096 May 17 19:08 .git 19:14:47 drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:08 .github 19:14:47 -rw-rw-r-- 1 jenkins jenkins 331 May 17 19:08 .gitignore 19:14:47 -rw-rw-r-- 1 jenkins jenkins 41 May 17 19:08 .golangci.yml 19:14:47 -rw-rw-r-- 1 jenkins jenkins 10132 May 17 19:08 Attribution.txt 19:14:47 -rw-rw-r-- 1 jenkins jenkins 11576 May 17 19:08 CHANGELOG.md 19:14:47 -rw-rw-r-- 1 jenkins jenkins 1365 May 17 19:08 Dockerfile 19:14:47 -rw-rw-r-- 1 jenkins jenkins 677 May 17 19:08 GOVERNANCE.md 19:14:47 -rw-rw-r-- 1 jenkins jenkins 680 May 17 19:08 Jenkinsfile 19:14:47 -rw-rw-r-- 1 jenkins jenkins 11340 May 17 19:08 LICENSE 19:14:47 -rw-rw-r-- 1 jenkins jenkins 1705 May 17 19:08 Makefile 19:14:47 -rw-rw-r-- 1 jenkins jenkins 622 May 17 19:08 OWNERS.md 19:14:47 -rw-rw-r-- 1 jenkins jenkins 4554 May 17 19:08 README.md 19:14:47 -rw-rw-r-- 1 jenkins jenkins 12 May 17 19:03 VERSION 19:14:47 drwxrwxr-x 2 jenkins jenkins 4096 May 17 19:08 bin 19:14:47 drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:08 cmd 19:14:47 -rw-r--r-- 1 jenkins jenkins 24160 May 17 19:14 coverage.out 19:14:47 -rw-rw-r-- 1 jenkins jenkins 3453 May 17 19:08 go.mod 19:14:47 -rw-rw-r-- 1 jenkins jenkins 31670 May 17 19:08 go.sum 19:14:47 drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:08 internal 19:14:47 drwxrwxr-x 2 jenkins jenkins 4096 May 17 19:08 simulator 19:14:47 drwxrwxr-x 4 jenkins jenkins 4096 May 17 19:08 snap 19:14:47 -rw-rw-r-- 1 jenkins jenkins 229 May 17 19:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:14:48 + 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=e24262ef9183de1c0c5cd9baee4f648fbf1c66fe --label arch=arm64 --label version=3.0.0-dev.42 . 19:14:48 Sending build context to Docker daemon 3.44MB 19:14:48 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 19:14:48 Step 2/22 : FROM ${BASE} AS builder 19:14:48 ---> 7a18f39d3968 19:14:48 Step 3/22 : ARG ADD_BUILD_TAGS="" 19:14:48 ---> Running in 93ed5a095322 19:14:48 Removing intermediate container 93ed5a095322 19:14:48 ---> 82f84c170307 19:14:48 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:14:49 ---> Running in b59b9b28816e 19:14:49 Removing intermediate container b59b9b28816e 19:14:49 ---> a13abccd9241 19:14:49 Step 5/22 : RUN apk add --update --no-cache make git openssh 19:14:49 ---> Running in 090c0056b1c4 19:14:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:14:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:14:52 OK: 270 MiB in 61 packages 19:14:55 Removing intermediate container 090c0056b1c4 19:14:55 ---> f63b09a3d585 19:14:55 Step 6/22 : WORKDIR /device-modbus-go 19:14:55 ---> Running in 9db46de6b2d0 19:14:55 Removing intermediate container 9db46de6b2d0 19:14:55 ---> 2e84a59e1f93 19:14:55 Step 7/22 : COPY go.mod vendor* ./ 19:14:55 ---> dbbdd77a400a 19:14:55 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:14:55 ---> Running in f0f03cc56080 19:14:59 Removing intermediate container f0f03cc56080 19:14:59 ---> fa4a01e80c3c 19:14:59 Step 9/22 : COPY . . 19:14:59 ---> 766dd8792e48 19:14:59 Step 10/22 : RUN ${MAKE} 19:14:59 ---> Running in 4b0b6dd790d8 19:15:00 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.42" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 19:17:37 Removing intermediate container 4b0b6dd790d8 19:17:37 ---> 5093bfa8cd87 19:17:37 Step 11/22 : FROM alpine:3.17 19:17:37 3.17: Pulling from library/alpine 19:17:37 c41833b44d91: Already exists 19:17:37 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 19:17:37 Status: Downloaded newer image for alpine:3.17 19:17:37 ---> 51e60588ff2c 19:17:37 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 19:17:37 ---> Running in 37348ef5e5dc 19:17:37 Removing intermediate container 37348ef5e5dc 19:17:37 ---> 09367a0d76be 19:17:37 Step 13/22 : RUN apk add --update --no-cache dumb-init 19:17:37 ---> Running in f9bef6477077 19:17:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:17:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:17:37 (1/1) Installing dumb-init (1.2.5-r2) 19:17:37 Executing busybox-1.35.0-r29.trigger 19:17:37 OK: 8 MiB in 16 packages 19:17:37 Removing intermediate container f9bef6477077 19:17:37 ---> 9510714937eb 19:17:37 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 19:17:37 ---> 04735734bff0 19:17:37 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 19:17:37 ---> 96e4f0d5304b 19:17:37 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 19:17:37 ---> 7b341857764f 19:17:37 Step 17/22 : EXPOSE 59901 19:17:37 ---> Running in b0723911fc0b 19:17:37 Removing intermediate container b0723911fc0b 19:17:37 ---> 835345c99203 19:17:37 Step 18/22 : ENTRYPOINT ["/device-modbus"] 19:17:37 ---> Running in cbfff018723d 19:17:37 Removing intermediate container cbfff018723d 19:17:37 ---> 346417a4abbb 19:17:37 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 19:17:37 ---> Running in 7123d16278a4 19:17:37 Removing intermediate container 7123d16278a4 19:17:37 ---> d89ebe8a6b9f 19:17:37 Step 20/22 : LABEL arch=arm64 19:17:37 ---> Running in 3d2a38ce92c9 19:17:37 Removing intermediate container 3d2a38ce92c9 19:17:37 ---> 3aa31e79cfed 19:17:37 Step 21/22 : LABEL git_sha=e24262ef9183de1c0c5cd9baee4f648fbf1c66fe 19:17:37 ---> Running in 2a2d8e126785 19:17:37 Removing intermediate container 2a2d8e126785 19:17:37 ---> fa2af31c3002 19:17:37 Step 22/22 : LABEL version=3.0.0-dev.42 19:17:37 ---> Running in 42f8172b8fcc 19:17:37 Removing intermediate container 42f8172b8fcc 19:17:37 ---> d94211d50986 19:17:37 [Warning] One or more build-args [ARCH] were not consumed 19:17:37 Successfully built d94211d50986 19:17:37 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 19:17:37 provisioning config files... 19:17:37 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/108@tmp/config13650701012614156593tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:17:38 ---> docker-login.sh 19:17:38 nexus3.edgexfoundry.org:10001 19:17:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:17:38 Configure a credential helper to remove this warning. See 19:17:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:38 19:17:38 Login Succeeded 19:17:38 nexus3.edgexfoundry.org:10002 19:17:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:17:38 Configure a credential helper to remove this warning. See 19:17:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:38 19:17:38 Login Succeeded 19:17:38 nexus3.edgexfoundry.org:10003 19:17:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:17:39 Configure a credential helper to remove this warning. See 19:17:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:39 19:17:39 Login Succeeded 19:17:39 nexus3.edgexfoundry.org:10004 19:17:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:17:39 Configure a credential helper to remove this warning. See 19:17:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:39 19:17:39 Login Succeeded 19:17:39 docker.io 19:17:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:17:40 Configure a credential helper to remove this warning. See 19:17:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:40 19:17:40 Login Succeeded 19:17:40 ---> docker-login.sh ends [Pipeline] } 19:17:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:17:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:17:40 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 19:17:40 e24262ef9183de1c0c5cd9baee4f648fbf1c66fe 19:17:40 latest 19:17:40 3.0.0-dev.42 19:17:40 e24262ef9183de1c0c5cd9baee4f648fbf1c66fe-3.0.0-dev.42 19:17:40 main 19:17:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:40 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:e24262ef9183de1c0c5cd9baee4f648fbf1c66fe [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:41 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:e24262ef9183de1c0c5cd9baee4f648fbf1c66fe 19:17:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 19:17:41 bd34c2be0593: Preparing 19:17:41 e40a94aecd9b: Preparing 19:17:41 805f250e16b6: Preparing 19:17:41 ae33eb4f92bd: Preparing 19:17:41 26cbea5cba74: Preparing 19:17:41 26cbea5cba74: Layer already exists 19:17:41 bd34c2be0593: Pushed 19:17:41 ae33eb4f92bd: Pushed 19:17:41 e40a94aecd9b: Pushed 19:17:46 805f250e16b6: Pushed 19:17:46 e24262ef9183de1c0c5cd9baee4f648fbf1c66fe: digest: sha256:fe0c0d2f86119787bf3570515a887be2aeee92032009802f5e6e715937fbea42 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:49 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:50 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 19:17:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 19:17:50 bd34c2be0593: Preparing 19:17:50 e40a94aecd9b: Preparing 19:17:50 805f250e16b6: Preparing 19:17:50 ae33eb4f92bd: Preparing 19:17:50 26cbea5cba74: Preparing 19:17:50 bd34c2be0593: Layer already exists 19:17:50 ae33eb4f92bd: Layer already exists 19:17:50 805f250e16b6: Layer already exists 19:17:50 26cbea5cba74: Layer already exists 19:17:50 e40a94aecd9b: Layer already exists 19:17:50 latest: digest: sha256:fe0c0d2f86119787bf3570515a887be2aeee92032009802f5e6e715937fbea42 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:50 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.42 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:51 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.42 19:17:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 19:17:51 bd34c2be0593: Preparing 19:17:51 e40a94aecd9b: Preparing 19:17:51 805f250e16b6: Preparing 19:17:51 ae33eb4f92bd: Preparing 19:17:51 26cbea5cba74: Preparing 19:17:51 26cbea5cba74: Layer already exists 19:17:51 bd34c2be0593: Layer already exists 19:17:51 805f250e16b6: Layer already exists 19:17:51 ae33eb4f92bd: Layer already exists 19:17:51 e40a94aecd9b: Layer already exists 19:17:51 3.0.0-dev.42: digest: sha256:fe0c0d2f86119787bf3570515a887be2aeee92032009802f5e6e715937fbea42 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:51 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:e24262ef9183de1c0c5cd9baee4f648fbf1c66fe-3.0.0-dev.42 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:52 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:e24262ef9183de1c0c5cd9baee4f648fbf1c66fe-3.0.0-dev.42 19:17:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 19:17:52 bd34c2be0593: Preparing 19:17:52 e40a94aecd9b: Preparing 19:17:52 805f250e16b6: Preparing 19:17:52 ae33eb4f92bd: Preparing 19:17:52 26cbea5cba74: Preparing 19:17:52 e40a94aecd9b: Layer already exists 19:17:52 ae33eb4f92bd: Layer already exists 19:17:52 bd34c2be0593: Layer already exists 19:17:52 805f250e16b6: Layer already exists 19:17:52 26cbea5cba74: Layer already exists 19:17:52 e24262ef9183de1c0c5cd9baee4f648fbf1c66fe-3.0.0-dev.42: digest: sha256:fe0c0d2f86119787bf3570515a887be2aeee92032009802f5e6e715937fbea42 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:52 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:53 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 19:17:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 19:17:53 bd34c2be0593: Preparing 19:17:53 e40a94aecd9b: Preparing 19:17:53 805f250e16b6: Preparing 19:17:53 ae33eb4f92bd: Preparing 19:17:53 26cbea5cba74: Preparing 19:17:53 e40a94aecd9b: Layer already exists 19:17:53 26cbea5cba74: Layer already exists 19:17:53 805f250e16b6: Layer already exists 19:17:53 ae33eb4f92bd: Layer already exists 19:17:53 bd34c2be0593: Layer already exists 19:17:53 main: digest: sha256:fe0c0d2f86119787bf3570515a887be2aeee92032009802f5e6e715937fbea42 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:17:53 ===================================================== [Pipeline] echo 19:17:53 taggedImages: 19:17:53 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:e24262ef9183de1c0c5cd9baee4f648fbf1c66fe 19:17:53 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 19:17:53 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.42 19:17:53 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:e24262ef9183de1c0c5cd9baee4f648fbf1c66fe-3.0.0-dev.42 19:17:53 - 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 19:17:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:17:53 19:17:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:17:54 arm64: Pulling from edgex-lftools-log-publisher 19:17:54 8998bd30e6a1: Pulling fs layer 19:17:54 04944245beec: Pulling fs layer 19:17:54 699f458cf7ca: Pulling fs layer 19:17:54 765212b225bb: Pulling fs layer 19:17:54 f23df028b6ca: Pulling fs layer 19:17:54 d65c8cfc05b1: Pulling fs layer 19:17:54 2437ff75d9bd: Pulling fs layer 19:17:54 765212b225bb: Waiting 19:17:54 f23df028b6ca: Waiting 19:17:54 d65c8cfc05b1: Waiting 19:17:54 2437ff75d9bd: Waiting 19:17:54 04944245beec: Verifying Checksum 19:17:54 04944245beec: Download complete 19:17:54 765212b225bb: Verifying Checksum 19:17:54 765212b225bb: Download complete 19:17:54 f23df028b6ca: Verifying Checksum 19:17:54 f23df028b6ca: Download complete 19:17:54 d65c8cfc05b1: Verifying Checksum 19:17:54 d65c8cfc05b1: Download complete 19:17:54 699f458cf7ca: Verifying Checksum 19:17:54 699f458cf7ca: Download complete 19:17:54 8998bd30e6a1: Verifying Checksum 19:17:54 8998bd30e6a1: Download complete 19:17:57 2437ff75d9bd: Verifying Checksum 19:17:57 2437ff75d9bd: Download complete 19:17:59 8998bd30e6a1: Pull complete 19:17:59 04944245beec: Pull complete 19:18:00 699f458cf7ca: Pull complete 19:18:02 765212b225bb: Pull complete 19:18:03 f23df028b6ca: Pull complete 19:18:03 d65c8cfc05b1: Pull complete 19:18:18 2437ff75d9bd: Pull complete 19:18:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:18:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:18:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:18:18 prd-ubuntu20.04-docker-arm64-4c-16g-15932 does not seem to be running inside a container 19:18:18 $ 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/108 -v /w/workspace/device-modbus-go/108:/w/workspace/device-modbus-go/108:rw,z -v /w/workspace/device-modbus-go/108@tmp:/w/workspace/device-modbus-go/108@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 19:18:21 $ docker top 5c6cceb177a8dfed69d08c8988e11494cbaadfd328d0363d445c0ed33dec2d81 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:18:22 ---> job-cost.sh 19:18:22 lf-activate-venv: SKIPPING 19:18:22 INFO: No Stack... 19:18:23 INFO: Retrieving Pricing Info for: v3-standard-4 19:18:23 INFO: Archiving Costs [Pipeline] sh 19:18:24 + cat /w/workspace/device-modbus-go/108/archives/cost.csv 19:18:24 + cut -d, -f6 [Pipeline] lock 19:18:24 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-108-stack-cost] 19:18:24 Resource [jenkins-edgexfoundry-device-modbus-go-main-108-stack-cost] did not exist. Created. 19:18:24 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-108-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:18:24 /w/workspace/device-modbus-go/108@tmp/durable-3a71de02/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:18:25 + echo total: 0.10999999940395355 [Pipeline] stash 19:18:25 Warning: overwriting stash ‘stack-cost’ 19:18:25 Stashed 1 file(s) [Pipeline] } 19:18:25 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-108-stack-cost] [Pipeline] // lock [Pipeline] } 19:18:25 $ docker stop --time=1 5c6cceb177a8dfed69d08c8988e11494cbaadfd328d0363d445c0ed33dec2d81 19:18:27 $ docker rm -f --volumes 5c6cceb177a8dfed69d08c8988e11494cbaadfd328d0363d445c0ed33dec2d81 [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 19:18:27 provisioning config files... 19:18:27 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config403615470963588355tmp [Pipeline] { [Pipeline] sh 19:18:28 + set +x 19:18:28 + curl -s https://codecov.io/bash 19:18:28 + bash -s -- 19:18:28 19:18:28 _____ _ 19:18:28 / ____| | | 19:18:28 | | ___ __| | ___ ___ _____ __ 19:18:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:18:28 | |___| (_) | (_| | __/ (_| (_) \ V / 19:18:28 \_____\___/ \__,_|\___|\___\___/ \_/ 19:18:28 Bash-1.0.6 19:18:28 19:18:28 19:18:28 ==> git version 2.25.1 found 19:18:28 ==> 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 19:18:28 Release-Date: 2020-01-08 19:18:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:18:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:18:28 ==> Jenkins CI detected. 19:18:28 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 19:18:28 project root: . 19:18:28 --> token set from env 19:18:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:18:28 ==> Running gcov in . (disable via -X gcov) 19:18:28 ==> Python coveragepy not found 19:18:28 ==> Searching for coverage reports in: 19:18:28 + . 19:18:28 -> Found 1 reports 19:18:28 ==> Detecting git/mercurial file structure 19:18:28 ==> Reading reports 19:18:28 + ./coverage.out bytes=24160 19:18:28 ==> Appending adjustments 19:18:28 https://docs.codecov.io/docs/fixing-reports 19:18:28 + Found adjustments 19:18:28 ==> Gzipping contents 19:18:28 4.0K /tmp/codecov.KbWEtl.gz 19:18:28 ==> Uploading reports 19:18:28 url: https://codecov.io 19:18:28 query: branch=main&commit=e24262ef9183de1c0c5cd9baee4f648fbf1c66fe&build=108&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F108%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:18:28 -> Pinging Codecov 19:18:28 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=e24262ef9183de1c0c5cd9baee4f648fbf1c66fe&build=108&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F108%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:18:28 -> Uploading to 19:18:28 https://storage.googleapis.com/codecov/v4/raw/2023-05-17/55DBCA73C666E3227836607328DD7E49/e24262ef9183de1c0c5cd9baee4f648fbf1c66fe/81f39c97-7665-495c-9aa9-d17862cf500d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230517%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230517T191828Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f3c17da77f1f6d288451908e161fb98ac8c47770566a6baa3bd61f5df968bc4d 19:18:28 % Total % Received % Xferd Average Speed Time Time Time Current 19:18:28 Dload Upload Total Spent Left Speed 19:18:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 21210 --:--:-- --:--:-- --:--:-- 21210 19:18:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/e24262ef9183de1c0c5cd9baee4f648fbf1c66fe [Pipeline] } 19:18:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 19:18:28 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 19:18:28 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:18:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:18:29 19:18:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:18:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:18:29 1.410.4: Pulling from edgex-devops/edgex-snyk-go 19:18:29 df9b9388f04a: Pulling fs layer 19:18:29 52dc419b0ee2: Pulling fs layer 19:18:29 25bc292e5bac: Pulling fs layer 19:18:29 114826534d7a: Pulling fs layer 19:18:29 4657fd5d0bcf: Pulling fs layer 19:18:29 6ad1cebc031e: Pulling fs layer 19:18:29 8a3aa393b2d8: Pulling fs layer 19:18:29 4657fd5d0bcf: Waiting 19:18:29 6ad1cebc031e: Waiting 19:18:29 114826534d7a: Waiting 19:18:29 8a3aa393b2d8: Waiting 19:18:29 25bc292e5bac: Verifying Checksum 19:18:29 25bc292e5bac: Download complete 19:18:29 52dc419b0ee2: Verifying Checksum 19:18:29 52dc419b0ee2: Download complete 19:18:29 4657fd5d0bcf: Verifying Checksum 19:18:29 4657fd5d0bcf: Download complete 19:18:29 df9b9388f04a: Download complete 19:18:29 6ad1cebc031e: Verifying Checksum 19:18:29 6ad1cebc031e: Download complete 19:18:29 df9b9388f04a: Pull complete 19:18:29 52dc419b0ee2: Pull complete 19:18:29 25bc292e5bac: Pull complete 19:18:30 114826534d7a: Verifying Checksum 19:18:30 114826534d7a: Download complete 19:18:30 8a3aa393b2d8: Verifying Checksum 19:18:30 8a3aa393b2d8: Download complete 19:18:33 114826534d7a: Pull complete 19:18:33 4657fd5d0bcf: Pull complete 19:18:33 6ad1cebc031e: Pull complete 19:18:35 8a3aa393b2d8: Pull complete 19:18:35 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 19:18:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:18:35 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:18:36 prd-ubuntu20.04-docker-8c-8g-15923 does not seem to be running inside a container 19:18:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 19:18:39 $ docker top a0e0df7b3fe2d268a45be239970362be35ae4a12810a532e3de27dbe90f7880f -eo pid,comm [Pipeline] { [Pipeline] echo 19:18:39 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 19:18:39 + set -o pipefail 19:18:39 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 19:18:44 19:18:44 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 19:18:44 19:18:44 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/b5f2de89-fd18-4955-9153-79f1291858f6 19:18:44 19:18:44 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 19:18:44 19:18:44 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 19:18:44 19:18:44 19:18:44 A medium severity vulnerability was found in the Snyk CLI versions you are using. 19:18:44 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 19:18:44 More details here: https://snyk.co/ue1NS [Pipeline] } 19:18:44 $ docker stop --time=1 a0e0df7b3fe2d268a45be239970362be35ae4a12810a532e3de27dbe90f7880f 19:18:47 $ docker rm -f --volumes a0e0df7b3fe2d268a45be239970362be35ae4a12810a532e3de27dbe90f7880f [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 19:18:48 + git log --format=format:%s -1 e24262ef9183de1c0c5cd9baee4f648fbf1c66fe [Pipeline] sh 19:18:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:18:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:18:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:18:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:18:48 prd-ubuntu20.04-docker-8c-8g-15923 does not seem to be running inside a container 19:18:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:18:49 $ docker top abc03f9bdae6441e28af75658b3e9c46187cffd9806cec75ddf8e44fbfae702e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:18:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:18:49 [ssh-agent] Looking for ssh-agent implementation... 19:18:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:18:49 $ docker exec abc03f9bdae6441e28af75658b3e9c46187cffd9806cec75ddf8e44fbfae702e ssh-agent 19:18:49 SSH_AUTH_SOCK=/tmp/ssh-404Ex6tirUkr/agent.32 19:18:49 SSH_AGENT_PID=38 19:18:49 Running ssh-add (command line suppressed) 19:18:49 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11986089917836701665.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11986089917836701665.key) 19:18:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:18:49 + git semver tag 19:18:50 2023-05-17 19:18:50,039 [run_tag] DEBUG tag force:False 19:18:50 2023-05-17 19:18:50,039 [check_head_tag] DEBUG check head tag 19:18:50 2023-05-17 19:18:50,041 [execute] INFO git cat-file --batch-check 19:18:50 2023-05-17 19:18:50,041 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 19:18:50 2023-05-17 19:18:50,045 [execute] INFO git cat-file --batch 19:18:50 2023-05-17 19:18:50,045 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 19:18:50 2023-05-17 19:18:50,068 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 19:18:50 2023-05-17 19:18:50,069 [execute] INFO git tag -a v3.0.0-dev.42 -m v3.0.0-dev.42 19:18:50 2023-05-17 19:18:50,069 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.42', '-m', 'v3.0.0-dev.42'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 19:18:50 2023-05-17 19:18:50,073 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 19:18:50 3.0.0-dev.42 [Pipeline] } 19:18:50 $ docker exec --env ******** --env ******** abc03f9bdae6441e28af75658b3e9c46187cffd9806cec75ddf8e44fbfae702e ssh-agent -k 19:18:50 unset SSH_AUTH_SOCK; 19:18:50 unset SSH_AGENT_PID; 19:18:50 echo Agent pid 38 killed; 19:18:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:18:50 + git semver [Pipeline] } 19:18:50 $ docker stop --time=1 abc03f9bdae6441e28af75658b3e9c46187cffd9806cec75ddf8e44fbfae702e 19:18:52 $ docker rm -f --volumes abc03f9bdae6441e28af75658b3e9c46187cffd9806cec75ddf8e44fbfae702e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:18:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:18:52 19:18:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:18:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:18:52 0.23.1-centos7: Pulling from edgex-lftools 19:18:52 ab5ef0e58194: Pulling fs layer 19:18:52 9712f1f96733: Pulling fs layer 19:18:52 63f879dbbcfc: Pulling fs layer 19:18:52 0d9ebad4ef96: Pulling fs layer 19:18:52 e9a5061849ea: Pulling fs layer 19:18:52 d747dcd14b5f: Pulling fs layer 19:18:52 2de7ff778b66: Pulling fs layer 19:18:52 0d9ebad4ef96: Waiting 19:18:52 d747dcd14b5f: Waiting 19:18:52 2de7ff778b66: Waiting 19:18:52 e9a5061849ea: Waiting 19:18:52 9712f1f96733: Download complete 19:18:53 63f879dbbcfc: Verifying Checksum 19:18:53 63f879dbbcfc: Download complete 19:18:53 e9a5061849ea: Verifying Checksum 19:18:53 e9a5061849ea: Download complete 19:18:53 d747dcd14b5f: Download complete 19:18:53 ab5ef0e58194: Verifying Checksum 19:18:53 ab5ef0e58194: Download complete 19:18:53 0d9ebad4ef96: Verifying Checksum 19:18:53 0d9ebad4ef96: Download complete 19:18:53 2de7ff778b66: Verifying Checksum 19:18:53 2de7ff778b66: Download complete 19:18:56 ab5ef0e58194: Pull complete 19:18:56 9712f1f96733: Pull complete 19:18:56 63f879dbbcfc: Pull complete 19:19:01 0d9ebad4ef96: Pull complete 19:19:01 e9a5061849ea: Pull complete 19:19:01 d747dcd14b5f: Pull complete 19:19:01 2de7ff778b66: Pull complete 19:19:01 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 19:19:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:19:01 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:19:02 prd-ubuntu20.04-docker-8c-8g-15923 does not seem to be running inside a container 19:19:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 19:19:06 $ docker top 2e5554f5e0a6f63c31347d9cf485d4fb2e88d8f0c72512345d88d72499e5ddea -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 19:19:06 provisioning config files... 19:19:06 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8471924026311911004tmp 19:19:06 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11896705451384744tmp 19:19:06 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16182820844515429141tmp [Pipeline] { [Pipeline] echo 19:19:06 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 19:19:07 ---> sigul-configuration.sh 19:19:07 gpg: directory `/root/.gnupg' created 19:19:07 gpg: new configuration file `/root/.gnupg/gpg.conf' created 19:19:07 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 19:19:07 gpg: keyring `/root/.gnupg/secring.gpg' created 19:19:07 gpg: keyring `/root/.gnupg/pubring.gpg' created 19:19:07 gpg: CAST5 encrypted data 19:19:07 gpg: encrypted with 1 passphrase 19:19:07 gpg: WARNING: message was not integrity protected [Pipeline] sh 19:19:07 + mkdir /home/jenkins 19:19:07 + mkdir /home/jenkins/sigul [Pipeline] sh 19:19:07 + 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 19:19:07 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 19:19:07 ---> sigul-install.sh 19:19:07 Sigul already installed; skipping installation. [Pipeline] sh 19:19:08 + git tag --list 19:19:08 0.7.1 19:19:08 v1.0.0 19:19:08 v1.1.0 19:19:08 v1.1.1 19:19:08 v1.2.2 19:19:08 v1.3.0 19:19:08 v1.3.1 19:19:08 v2.0.0 19:19:08 v2.1.0 19:19:08 v2.1.1 19:19:08 v2.1.1-dev.1 19:19:08 v2.1.1-dev.2 19:19:08 v2.1.1-dev.3 19:19:08 v2.2.0 19:19:08 v2.2.1-dev.1 19:19:08 v2.2.1-dev.2 19:19:08 v2.2.1-dev.3 19:19:08 v2.2.1-dev.4 19:19:08 v2.2.1-dev.5 19:19:08 v2.2.1-dev.6 19:19:08 v2.2.1-dev.7 19:19:08 v2.3.0 19:19:08 v2.3.0-dev.10 19:19:08 v2.3.0-dev.11 19:19:08 v2.3.0-dev.12 19:19:08 v2.3.0-dev.13 19:19:08 v2.3.0-dev.14 19:19:08 v2.3.0-dev.15 19:19:08 v2.3.0-dev.16 19:19:08 v2.3.0-dev.17 19:19:08 v2.3.0-dev.18 19:19:08 v2.3.0-dev.19 19:19:08 v2.3.0-dev.20 19:19:08 v2.3.0-dev.21 19:19:08 v2.3.0-dev.22 19:19:08 v2.3.0-dev.23 19:19:08 v2.3.0-dev.24 19:19:08 v2.3.0-dev.25 19:19:08 v2.3.0-dev.7 19:19:08 v2.3.0-dev.8 19:19:08 v2.3.0-dev.9 19:19:08 v3.0.0-dev.1 19:19:08 v3.0.0-dev.10 19:19:08 v3.0.0-dev.11 19:19:08 v3.0.0-dev.12 19:19:08 v3.0.0-dev.13 19:19:08 v3.0.0-dev.14 19:19:08 v3.0.0-dev.15 19:19:08 v3.0.0-dev.16 19:19:08 v3.0.0-dev.17 19:19:08 v3.0.0-dev.18 19:19:08 v3.0.0-dev.19 19:19:08 v3.0.0-dev.2 19:19:08 v3.0.0-dev.20 19:19:08 v3.0.0-dev.21 19:19:08 v3.0.0-dev.22 19:19:08 v3.0.0-dev.23 19:19:08 v3.0.0-dev.24 19:19:08 v3.0.0-dev.25 19:19:08 v3.0.0-dev.26 19:19:08 v3.0.0-dev.27 19:19:08 v3.0.0-dev.28 19:19:08 v3.0.0-dev.29 19:19:08 v3.0.0-dev.3 19:19:08 v3.0.0-dev.30 19:19:08 v3.0.0-dev.31 19:19:08 v3.0.0-dev.32 19:19:08 v3.0.0-dev.33 19:19:08 v3.0.0-dev.34 19:19:08 v3.0.0-dev.35 19:19:08 v3.0.0-dev.36 19:19:08 v3.0.0-dev.37 19:19:08 v3.0.0-dev.38 19:19:08 v3.0.0-dev.39 19:19:08 v3.0.0-dev.4 19:19:08 v3.0.0-dev.40 19:19:08 v3.0.0-dev.41 19:19:08 v3.0.0-dev.42 19:19:08 v3.0.0-dev.5 19:19:08 v3.0.0-dev.6 19:19:08 v3.0.0-dev.7 19:19:08 v3.0.0-dev.8 19:19:08 v3.0.0-dev.9 [Pipeline] sh 19:19:08 + lftools sign git-tag v3.0.0-dev.42 19:19:09 Signing Git tag with Sigul... 19:19:09 Signing v3.0.0-dev.42 [Pipeline] echo 19:19:09 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 19:19:09 ---> sigul-configuration-cleanup.sh [Pipeline] } 19:19:09 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 19:19:09 $ docker stop --time=1 2e5554f5e0a6f63c31347d9cf485d4fb2e88d8f0c72512345d88d72499e5ddea 19:19:10 $ docker rm -f --volumes 2e5554f5e0a6f63c31347d9cf485d4fb2e88d8f0c72512345d88d72499e5ddea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 19:19:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:19:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:19:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:19:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:19:11 prd-ubuntu20.04-docker-8c-8g-15923 does not seem to be running inside a container 19:19:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:19:12 $ docker top eab71ee6ed47563af3d71ae4317c853271638c2ae416a3009cde59120fd05fa0 -eo pid,comm 19:19:12 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). 19:19:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:19:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:19:12 [ssh-agent] Looking for ssh-agent implementation... 19:19:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:19:12 $ docker exec eab71ee6ed47563af3d71ae4317c853271638c2ae416a3009cde59120fd05fa0 ssh-agent 19:19:12 SSH_AUTH_SOCK=/tmp/ssh-rejwBnGVfhHU/agent.31 19:19:12 SSH_AGENT_PID=37 19:19:12 Running ssh-add (command line suppressed) 19:19:12 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12865861079483685697.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12865861079483685697.key) 19:19:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:19:12 + git semver bump pre 19:19:13 2023-05-17 19:19:12,958 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 19:19:13 2023-05-17 19:19:12,958 [bump_version] DEBUG bumping version:3.0.0-dev.42 on axis:pre with prefix:dev 19:19:13 2023-05-17 19:19:12,958 [bump_version] DEBUG bumped version:3.0.0-dev.43 19:19:13 2023-05-17 19:19:12,958 [write_version] DEBUG write version:3.0.0-dev.43 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 19:19:13 2023-05-17 19:19:12,958 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 19:19:13 2023-05-17 19:19:12,958 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 19:19:13 2023-05-17 19:19:12,960 [execute] INFO git cat-file --batch-check 19:19:13 2023-05-17 19:19:12,960 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:19:13 2023-05-17 19:19:12,968 [execute] INFO git cat-file --batch 19:19:13 2023-05-17 19:19:12,968 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:19:13 2023-05-17 19:19:12,974 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 19:19:13 3.0.0-dev.43 [Pipeline] } 19:19:13 $ docker exec --env ******** --env ******** eab71ee6ed47563af3d71ae4317c853271638c2ae416a3009cde59120fd05fa0 ssh-agent -k 19:19:13 unset SSH_AUTH_SOCK; 19:19:13 unset SSH_AGENT_PID; 19:19:13 echo Agent pid 37 killed; 19:19:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:19:13 + git semver [Pipeline] } 19:19:13 $ docker stop --time=1 eab71ee6ed47563af3d71ae4317c853271638c2ae416a3009cde59120fd05fa0 19:19:15 $ docker rm -f --volumes eab71ee6ed47563af3d71ae4317c853271638c2ae416a3009cde59120fd05fa0 [Pipeline] // withDockerContainer [Pipeline] sh 19:19:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:19:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:19:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:19:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:19:15 prd-ubuntu20.04-docker-8c-8g-15923 does not seem to be running inside a container 19:19:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:19:16 $ docker top 6657315ae9f924abab8a0e5f5550f321c487a4d9a6049f6429016496f3299af4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:19:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:19:16 [ssh-agent] Looking for ssh-agent implementation... 19:19:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:19:16 $ docker exec 6657315ae9f924abab8a0e5f5550f321c487a4d9a6049f6429016496f3299af4 ssh-agent 19:19:16 SSH_AUTH_SOCK=/tmp/ssh-r4E9CJ74a4bk/agent.31 19:19:16 SSH_AGENT_PID=37 19:19:16 Running ssh-add (command line suppressed) 19:19:16 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13771067982011218415.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13771067982011218415.key) 19:19:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:19:16 + git semver push 19:19:17 2023-05-17 19:19:16,955 [run_push] DEBUG push 19:19:17 2023-05-17 19:19:16,956 [execute] INFO git cat-file --batch-check 19:19:17 2023-05-17 19:19:16,956 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:19:17 2023-05-17 19:19:16,959 [execute] INFO git rev-list 72f1c3c41cc5d75e65459faf23226a8308aa1fc5 -- 19:19:17 2023-05-17 19:19:16,960 [execute] DEBUG Popen(['git', 'rev-list', '72f1c3c41cc5d75e65459faf23226a8308aa1fc5', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 19:19:17 2023-05-17 19:19:16,968 [execute] INFO git fetch -v origin 19:19:17 2023-05-17 19:19:16,969 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 19:19:17 2023-05-17 19:19:17,466 [run_push] DEBUG no remote changes detected 19:19:17 2023-05-17 19:19:17,467 [execute] INFO git push origin semver 19:19:17 2023-05-17 19:19:17,467 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 19:19:18 2023-05-17 19:19:18,279 [run_push] DEBUG push all version tags 19:19:18 2023-05-17 19:19:18,279 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 19:19:18 2023-05-17 19:19:18,280 [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) 19:19:19 2023-05-17 19:19:19,050 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 19:19:19 3.0.0-dev.43 [Pipeline] } 19:19:19 $ docker exec --env ******** --env ******** 6657315ae9f924abab8a0e5f5550f321c487a4d9a6049f6429016496f3299af4 ssh-agent -k 19:19:19 unset SSH_AUTH_SOCK; 19:19:19 unset SSH_AGENT_PID; 19:19:19 echo Agent pid 37 killed; 19:19:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:19:19 + git semver [Pipeline] } 19:19:19 $ docker stop --time=1 6657315ae9f924abab8a0e5f5550f321c487a4d9a6049f6429016496f3299af4 19:19:21 $ docker rm -f --volumes 6657315ae9f924abab8a0e5f5550f321c487a4d9a6049f6429016496f3299af4 [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 19:19:21 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 19:19:21 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 19:19:21 total 16 19:19:21 drwxr-xr-x 3 root root 4096 May 17 19:05 . 19:19:21 drwxrwxr-x 11 jenkins jenkins 4096 May 17 19:19 .. 19:19:21 drwxr-xr-x 2 root root 4096 May 17 19:05 cost 19:19:21 -rw-r--r-- 1 root root 88 May 17 19:05 cost.csv 19:19:21 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 19:19:21 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 19:19:21 total 16 19:19:21 drwxr-xr-x 3 jenkins jenkins 4096 May 17 19:05 . 19:19:21 drwxrwxr-x 11 jenkins jenkins 4096 May 17 19:19 .. 19:19:21 drwxr-xr-x 2 jenkins jenkins 4096 May 17 19:05 cost 19:19:21 -rw-r--r-- 1 jenkins jenkins 88 May 17 19:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:19:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:19:22 ---> package-listing.sh 19:19:22 ++ facter osfamily 19:19:22 ++ tr '[:upper:]' '[:lower:]' 19:19:23 + OS_FAMILY=debian 19:19:23 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 19:19:23 + START_PACKAGES=/tmp/packages_start.txt 19:19:23 + END_PACKAGES=/tmp/packages_end.txt 19:19:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:19:23 + PACKAGES=/tmp/packages_start.txt 19:19:23 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 19:19:23 + PACKAGES=/tmp/packages_end.txt 19:19:23 + case "${OS_FAMILY}" in 19:19:23 + dpkg -l 19:19:23 + grep '^ii' 19:19:23 + '[' -f /tmp/packages_start.txt ']' 19:19:23 + '[' -f /tmp/packages_end.txt ']' 19:19:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:19:23 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 19:19:23 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 19:19:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 19:19:23 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 19:19:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:19:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:19:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:19:24 prd-ubuntu20.04-docker-8c-8g-15923 does not seem to be running inside a container 19:19:24 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:19:24 $ docker top 27d50aece3e95af519be6c184aae3bd99b5e932d3fcee36a5fe5afce4fce0e44 -eo pid,comm [Pipeline] { [Pipeline] sh 19:19:24 + touch /tmp/pre-build-complete [Pipeline] sh 19:19:25 + mkdir -p /var/log/sysstat [Pipeline] sh 19:19:25 + ls /var/log/sa-host 19:19:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:19:25 provisioning config files... 19:19:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10831103991423802308tmp [Pipeline] { [Pipeline] echo 19:19:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:19:25 ---> create-netrc.sh [Pipeline] } 19:19:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:19:26 ---> python-tools-install.sh [Pipeline] echo 19:19:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:19:26 ---> sudo-logs.sh 19:19:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:19:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:19:26 ---> job-cost.sh 19:19:26 lf-activate-venv: SKIPPING 19:19:26 DEBUG: total: 0.2199999988079071 19:19:26 INFO: Retrieving Stack Cost... 19:19:27 INFO: Retrieving Pricing Info for: v3-standard-8 19:19:27 INFO: Archiving Costs [Pipeline] echo 19:19:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:19:27 ---> logs-deploy.sh 19:19:27 lf-activate-venv: SKIPPING 19:19:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/108 19:19:27 INFO: archiving workspace using pattern(s): 19:19:28 Archives upload complete. 19:19:28 INFO: archiving logs to Nexus 19:19:29 ---> uname -a: 19:19:29 Linux prd-ubuntu20-04-docker-8c-8g-15923 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 19:19:29 19:19:29