Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3673e51062d5a24ca3a0eb46c133605be474e190 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-ssh14744377541065363292.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh1446210853462220088.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh7680353859250634838.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh6519039751431411241.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-ssh5788360187489834858.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] ========================================================= [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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-10303 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 3673e51062d5a24ca3a0eb46c133605be474e190 (main) Commit message: "refactor: Remove obsolete comments from config file (#515)" > 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 3673e51062d5a24ca3a0eb46c133605be474e190 # timeout=10 > git rev-list --no-walk 8605cffecbdc9fcb52dd0eb94cc366191c17ee41 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:53:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:53:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:53:16 ========================================================= 21:53:16 EdgeX Global Pipelines Version Info 21:53:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:53:17 ------------------- 21:53:17 stable info: 21:53:17 ------------------- 21:53:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:53:17 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:53:17 Message: update stable to v1.0.254 21:53:18 ------------------- 21:53:18 experimental info: 21:53:18 ------------------- 21:53:18 Commited By: **** collab-it+edgex@linuxfoundation.org 21:53:18 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:53:18 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3673e51062d5a24ca3a0eb46c133605be474e190 [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3673e51 [Pipeline] echo 21:53:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:53:18 provisioning config files... 21:53:18 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11836132586013255332tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:53:19 ---> docker-login.sh 21:53:19 nexus3.edgexfoundry.org:10001 21:53:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:19 Configure a credential helper to remove this warning. See 21:53:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:19 21:53:19 Login Succeeded 21:53:19 nexus3.edgexfoundry.org:10002 21:53:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:19 Configure a credential helper to remove this warning. See 21:53:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:19 21:53:19 Login Succeeded 21:53:19 nexus3.edgexfoundry.org:10003 21:53:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:19 Configure a credential helper to remove this warning. See 21:53:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:19 21:53:19 Login Succeeded 21:53:19 nexus3.edgexfoundry.org:10004 21:53:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:19 Configure a credential helper to remove this warning. See 21:53:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:19 21:53:19 Login Succeeded 21:53:19 docker.io 21:53:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:19 Configure a credential helper to remove this warning. See 21:53:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:19 21:53:19 Login Succeeded 21:53:19 ---> docker-login.sh ends [Pipeline] } 21:53:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:53:20 + git rev-list -1 --merges 3673e51062d5a24ca3a0eb46c133605be474e190~1..3673e51062d5a24ca3a0eb46c133605be474e190 [Pipeline] echo 21:53:20 -----------> git rev-list -1 --merges 3673e51062d5a24ca3a0eb46c133605be474e190~1..3673e51062d5a24ca3a0eb46c133605be474e190 3673e51062d5a24ca3a0eb46c133605be474e190 [false] [Pipeline] sh 21:53:20 + git log --format=format:%s -1 3673e51062d5a24ca3a0eb46c133605be474e190 [Pipeline] echo 21:53:20 ========================================================= 21:53:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:53:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:53:20 + git log --format=format:%s -1 3673e51062d5a24ca3a0eb46c133605be474e190 [Pipeline] echo 21:53:20 [semverPrep] GIT_COMMIT: 3673e51062d5a24ca3a0eb46c133605be474e190, Commit Message: refactor: Remove obsolete comments from config file (#515) [Pipeline] echo 21:53:20 [semverPrep] This is not a build commit. [Pipeline] sh 21:53:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:53:21 + grep -v github /etc/ssh/ssh_known_hosts 21:53:21 + [ -e /tmp/ssh_known_hosts ] 21:53:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:53:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:53:21 + sudo tee -a /etc/ssh/ssh_known_hosts 21:53:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:53:21 21:53:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:53:21 0.1.4: Pulling from edgex-devops/py-git-semver 21:53:21 b85a868b505f: Pulling fs layer 21:53:21 e2be974225ed: Pulling fs layer 21:53:21 339a4e72a1f5: Pulling fs layer 21:53:21 988bab9f4d93: Pulling fs layer 21:53:21 1469e6f7b9e6: Pulling fs layer 21:53:21 eaf3925da568: Pulling fs layer 21:53:21 bab4dde63d76: Pulling fs layer 21:53:21 bde34c3a00c8: Pulling fs layer 21:53:21 b352a97aabf1: Pulling fs layer 21:53:21 4872d77fe225: Pulling fs layer 21:53:21 5851b861e8e6: Pulling fs layer 21:53:21 b352a97aabf1: Waiting 21:53:21 bde34c3a00c8: Waiting 21:53:21 bab4dde63d76: Waiting 21:53:21 4872d77fe225: Waiting 21:53:21 5851b861e8e6: Waiting 21:53:21 988bab9f4d93: Waiting 21:53:21 eaf3925da568: Waiting 21:53:21 e2be974225ed: Verifying Checksum 21:53:21 e2be974225ed: Download complete 21:53:21 988bab9f4d93: Download complete 21:53:21 1469e6f7b9e6: Verifying Checksum 21:53:21 1469e6f7b9e6: Download complete 21:53:21 eaf3925da568: Verifying Checksum 21:53:21 eaf3925da568: Download complete 21:53:21 339a4e72a1f5: Verifying Checksum 21:53:21 339a4e72a1f5: Download complete 21:53:22 bde34c3a00c8: Download complete 21:53:22 b352a97aabf1: Download complete 21:53:22 4872d77fe225: Download complete 21:53:22 5851b861e8e6: Download complete 21:53:22 b85a868b505f: Verifying Checksum 21:53:22 b85a868b505f: Download complete 21:53:22 bab4dde63d76: Verifying Checksum 21:53:22 bab4dde63d76: Download complete 21:53:23 b85a868b505f: Pull complete 21:53:23 e2be974225ed: Pull complete 21:53:24 339a4e72a1f5: Pull complete 21:53:24 988bab9f4d93: Pull complete 21:53:24 1469e6f7b9e6: Pull complete 21:53:24 eaf3925da568: Pull complete 21:53:26 bab4dde63d76: Pull complete 21:53:26 bde34c3a00c8: Pull complete 21:53:26 b352a97aabf1: Pull complete 21:53:26 4872d77fe225: Pull complete 21:53:26 5851b861e8e6: Pull complete 21:53:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:53:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:53:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:53:26 prd-ubuntu20.04-docker-8c-8g-10303 does not seem to be running inside a container 21:53:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:53:27 $ docker top 6fd1124e81356234e1498d5f6f5fce78771faa39bf282542765fffece6691570 -eo pid,comm 21:53:27 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:53:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:53:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:53:27 [ssh-agent] Looking for ssh-agent implementation... 21:53:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:53:27 $ docker exec 6fd1124e81356234e1498d5f6f5fce78771faa39bf282542765fffece6691570 ssh-agent 21:53:27 SSH_AUTH_SOCK=/tmp/ssh-5nlZ9JGYvhjl/agent.32 21:53:27 SSH_AGENT_PID=38 21:53:27 Running ssh-add (command line suppressed) 21:53:28 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6666278949158903660.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6666278949158903660.key) 21:53:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:53:28 + git tag --points-at HEAD [Pipeline] } 21:53:28 $ docker exec --env ******** --env ******** 6fd1124e81356234e1498d5f6f5fce78771faa39bf282542765fffece6691570 ssh-agent -k 21:53:28 unset SSH_AUTH_SOCK; 21:53:28 unset SSH_AGENT_PID; 21:53:28 echo Agent pid 38 killed; 21:53:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:53:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:53:28 [ssh-agent] Looking for ssh-agent implementation... 21:53:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:53:28 $ docker exec 6fd1124e81356234e1498d5f6f5fce78771faa39bf282542765fffece6691570 ssh-agent 21:53:28 SSH_AUTH_SOCK=/tmp/ssh-nHFFYGt2K5pp/agent.70 21:53:28 SSH_AGENT_PID=76 21:53:28 Running ssh-add (command line suppressed) 21:53:28 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6041103660962444003.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6041103660962444003.key) 21:53:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:53:29 + git semver init 21:53:29 2023-10-24 21:53:29,450 [run_init] DEBUG init version:0.0.0 force:False 21:53:29 2023-10-24 21:53:29,451 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 21:53:29 2023-10-24 21:53:29,451 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 21:53:29 2023-10-24 21:53:29,452 [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) 21:53:30 2023-10-24 21:53:30,323 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 21:53:30 2023-10-24 21:53:30,324 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 21:53:30 2023-10-24 21:53:30,324 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:53:30 2023-10-24 21:53:30,324 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:53:30 3.1.0-dev.20 [Pipeline] } 21:53:30 $ docker exec --env ******** --env ******** 6fd1124e81356234e1498d5f6f5fce78771faa39bf282542765fffece6691570 ssh-agent -k 21:53:30 unset SSH_AUTH_SOCK; 21:53:30 unset SSH_AGENT_PID; 21:53:30 echo Agent pid 76 killed; 21:53:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:53:30 + git semver [Pipeline] } 21:53:31 $ docker stop --time=1 6fd1124e81356234e1498d5f6f5fce78771faa39bf282542765fffece6691570 21:53:32 $ docker rm -f --volumes 6fd1124e81356234e1498d5f6f5fce78771faa39bf282542765fffece6691570 [Pipeline] // withDockerContainer [Pipeline] sh 21:53:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:53:33 Stashed 1 file(s) [Pipeline] echo 21:53:33 [edgeXSemver]: initialized semver on version 3.1.0-dev.20 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:53:33 provisioning config files... 21:53:33 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11851098302491634072tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:53:33 ---> docker-login.sh 21:53:33 nexus3.edgexfoundry.org:10001 21:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:33 Configure a credential helper to remove this warning. See 21:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:33 21:53:33 Login Succeeded 21:53:33 nexus3.edgexfoundry.org:10002 21:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:33 Configure a credential helper to remove this warning. See 21:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:33 21:53:33 Login Succeeded 21:53:33 nexus3.edgexfoundry.org:10003 21:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:33 Configure a credential helper to remove this warning. See 21:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:33 21:53:33 Login Succeeded 21:53:33 nexus3.edgexfoundry.org:10004 21:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:33 Configure a credential helper to remove this warning. See 21:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:33 21:53:33 Login Succeeded 21:53:33 docker.io 21:53:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:53:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:53:34 Configure a credential helper to remove this warning. See 21:53:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:53:34 21:53:34 Login Succeeded 21:53:34 ---> docker-login.sh ends [Pipeline] } 21:53:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:53:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:53:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:53:34 ========================================================= 21:53:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 21:53:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:34 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:53:34 Sending build context to Docker daemon 6.496MB 21:53:34 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 21:53:34 Step 2/10 : FROM ${BASE} AS builder 21:53:34 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 21:53:34 7264a8db6415: Pulling fs layer 21:53:34 c4d48a809fc2: Pulling fs layer 21:53:34 4f1c88b9dad5: Pulling fs layer 21:53:34 ad3a456e5733: Pulling fs layer 21:53:34 33e27b845d1e: Pulling fs layer 21:53:34 c68163c4e522: Pulling fs layer 21:53:34 50da416c3ac9: Pulling fs layer 21:53:34 23d2d4c4bb30: Pulling fs layer 21:53:34 ad3a456e5733: Waiting 21:53:34 c68163c4e522: Waiting 21:53:34 50da416c3ac9: Waiting 21:53:34 33e27b845d1e: Waiting 21:53:34 23d2d4c4bb30: Waiting 21:53:34 c4d48a809fc2: Verifying Checksum 21:53:34 c4d48a809fc2: Download complete 21:53:34 ad3a456e5733: Verifying Checksum 21:53:34 ad3a456e5733: Download complete 21:53:34 33e27b845d1e: Verifying Checksum 21:53:34 33e27b845d1e: Download complete 21:53:34 7264a8db6415: Verifying Checksum 21:53:34 7264a8db6415: Download complete 21:53:34 c68163c4e522: Verifying Checksum 21:53:34 c68163c4e522: Download complete 21:53:34 7264a8db6415: Pull complete 21:53:34 c4d48a809fc2: Pull complete 21:53:34 23d2d4c4bb30: Verifying Checksum 21:53:34 23d2d4c4bb30: Download complete 21:53:34 4f1c88b9dad5: Verifying Checksum 21:53:34 4f1c88b9dad5: Download complete 21:53:35 50da416c3ac9: Verifying Checksum 21:53:35 50da416c3ac9: Download complete 21:53:38 4f1c88b9dad5: Pull complete 21:53:38 ad3a456e5733: Pull complete 21:53:38 33e27b845d1e: Pull complete 21:53:38 c68163c4e522: Pull complete 21:53:40 50da416c3ac9: Pull complete 21:53:40 23d2d4c4bb30: Pull complete 21:53:40 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 21:53:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 21:53:40 ---> 0786185ac409 21:53:40 Step 3/10 : ARG ADD_BUILD_TAGS="" 21:53:41 ---> Running in 7b937dcf1637 21:53:42 Removing intermediate container 7b937dcf1637 21:53:42 ---> 97988d03b00a 21:53:42 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:53:42 ---> Running in 24cc911b9b4c 21:53:42 Removing intermediate container 24cc911b9b4c 21:53:42 ---> f84d432516fb 21:53:42 Step 5/10 : RUN apk add --update --no-cache make git openssh 21:53:42 ---> Running in 6d4f74bf7191 21:53:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:53:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:53:42 (1/8) Installing openssh-keygen (9.3_p2-r0) 21:53:42 (2/8) Installing libedit (20221030.3.1-r1) 21:53:42 (3/8) Installing openssh-client-common (9.3_p2-r0) 21:53:42 (4/8) Installing openssh-client-default (9.3_p2-r0) 21:53:42 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 21:53:42 (6/8) Installing openssh-server-common (9.3_p2-r0) 21:53:42 (7/8) Installing openssh-server (9.3_p2-r0) 21:53:42 (8/8) Installing openssh (9.3_p2-r0) 21:53:42 Executing busybox-1.36.1-r2.trigger 21:53:43 OK: 270 MiB in 60 packages 21:53:43 Removing intermediate container 6d4f74bf7191 21:53:43 ---> 8e137a1140d8 21:53:43 Step 6/10 : WORKDIR /device-modbus-go 21:53:43 ---> Running in 0a8c5a411c57 21:53:43 Removing intermediate container 0a8c5a411c57 21:53:43 ---> 082d5ad85d5f 21:53:43 Step 7/10 : COPY go.mod vendor* ./ 21:53:43 ---> b15a16f2c7d7 21:53:43 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:53:43 ---> Running in 748a88b5dd75 21:53:48 Still waiting to schedule task 21:53:48 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:54:22 Removing intermediate container 748a88b5dd75 21:54:22 ---> 634a79d2f2e8 21:54:22 Step 9/10 : COPY . . 21:54:22 ---> 4e1628ea6a3c 21:54:22 Step 10/10 : RUN ${MAKE} 21:54:22 ---> Running in 21b0ea856d5c 21:54:22 noop 21:54:22 Removing intermediate container 21b0ea856d5c 21:54:22 ---> 457ef3032e4c 21:54:22 Successfully built 457ef3032e4c 21:54:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:22 + docker inspect -f . ci-base-image-x86_64 21:54:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:54:22 prd-ubuntu20.04-docker-8c-8g-10303 does not seem to be running inside a container 21:54:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:54:23 $ docker top bc5e762310b24efd4717e3c41f4ff353bc645e7f3f89f188245f522be94120f9 -eo pid,comm [Pipeline] { [Pipeline] sh 21:54:23 + go version 21:54:23 go version go1.21.0 linux/amd64 [Pipeline] } 21:54:23 $ docker stop --time=1 bc5e762310b24efd4717e3c41f4ff353bc645e7f3f89f188245f522be94120f9 21:54:24 $ docker rm -f --volumes bc5e762310b24efd4717e3c41f4ff353bc645e7f3f89f188245f522be94120f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:25 + docker inspect -f . ci-base-image-x86_64 21:54:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:54:25 prd-ubuntu20.04-docker-8c-8g-10303 does not seem to be running inside a container 21:54:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:54:25 $ docker top bf76026bc6974d7e7c5201ad0beb8d06ee740ced48f2e7b2eacf312bef4b58c6 -eo pid,comm [Pipeline] { [Pipeline] sh 21:54:26 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 21:54:26 + make test 21:54:26 go test ./... -coverprofile=coverage.out 21:54:27 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:54:37 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:54:37 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 47.9% of statements 21:54:43 go vet ./... 21:54:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:54:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:54:47 ./bin/test-attribution-txt.sh [Pipeline] echo 21:54:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:54:47 $ docker stop --time=1 bf76026bc6974d7e7c5201ad0beb8d06ee740ced48f2e7b2eacf312bef4b58c6 21:54:49 $ docker rm -f --volumes bf76026bc6974d7e7c5201ad0beb8d06ee740ced48f2e7b2eacf312bef4b58c6 [Pipeline] // withDockerContainer [Pipeline] sh 21:54:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:54:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:54:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:54:50 + ls -al . 21:54:50 total 188 21:54:50 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 21:54 . 21:54:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 21:53 .. 21:54:50 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 21:53 .dockerignore 21:54:50 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 21:54 .git 21:54:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 21:53 .github 21:54:50 -rw-rw-r-- 1 jenkins jenkins 266 Oct 24 21:53 .gitignore 21:54:50 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 21:53 .golangci.yml 21:54:50 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 21:53 .semver 21:54:50 -rw-rw-r-- 1 jenkins jenkins 11101 Oct 24 21:53 Attribution.txt 21:54:50 -rw-rw-r-- 1 jenkins jenkins 14764 Oct 24 21:53 CHANGELOG.md 21:54:50 -rw-rw-r-- 1 jenkins jenkins 1365 Oct 24 21:53 Dockerfile 21:54:50 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 21:53 GOVERNANCE.md 21:54:50 -rw-rw-r-- 1 jenkins jenkins 658 Oct 24 21:53 Jenkinsfile 21:54:50 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 21:53 LICENSE 21:54:50 -rw-rw-r-- 1 jenkins jenkins 1936 Oct 24 21:53 Makefile 21:54:50 -rw-rw-r-- 1 jenkins jenkins 622 Oct 24 21:53 OWNERS.md 21:54:50 -rw-rw-r-- 1 jenkins jenkins 4463 Oct 24 21:53 README.md 21:54:50 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 21:53 VERSION 21:54:50 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 21:53 bin 21:54:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 21:53 cmd 21:54:50 -rw-r--r-- 1 jenkins jenkins 24334 Oct 24 21:54 coverage.out 21:54:50 -rw-rw-r-- 1 jenkins jenkins 3942 Oct 24 21:53 go.mod 21:54:50 -rw-rw-r-- 1 jenkins jenkins 35436 Oct 24 21:53 go.sum 21:54:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 21:53 internal 21:54:50 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 21:53 simulator 21:54:50 -rw-rw-r-- 1 jenkins jenkins 229 Oct 24 21:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:51 + 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=3673e51062d5a24ca3a0eb46c133605be474e190 --label arch=amd64 --label version=3.1.0-dev.20 . 21:54:51 Sending build context to Docker daemon 6.521MB 21:54:51 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 21:54:51 Step 2/22 : FROM ${BASE} AS builder 21:54:51 ---> 457ef3032e4c 21:54:51 Step 3/22 : ARG ADD_BUILD_TAGS="" 21:54:51 ---> Running in a977eede4fae 21:54:51 Removing intermediate container a977eede4fae 21:54:51 ---> b9fbe6801938 21:54:51 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:54:51 ---> Running in 5e3e46558962 21:54:51 Removing intermediate container 5e3e46558962 21:54:51 ---> ba9e70baebfd 21:54:51 Step 5/22 : RUN apk add --update --no-cache make git openssh 21:54:51 ---> Running in b48f123562e2 21:54:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:54:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:54:52 OK: 270 MiB in 60 packages 21:54:52 Removing intermediate container b48f123562e2 21:54:52 ---> 15f758cc8235 21:54:52 Step 6/22 : WORKDIR /device-modbus-go 21:54:52 ---> Running in edad1c1c0601 21:54:52 Removing intermediate container edad1c1c0601 21:54:52 ---> 937cb07f64fb 21:54:52 Step 7/22 : COPY go.mod vendor* ./ 21:54:52 ---> 00d2533de0bc 21:54:52 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:54:52 ---> Running in c5fc0eefdb7a 21:54:53 Removing intermediate container c5fc0eefdb7a 21:54:53 ---> d2d852e0cf93 21:54:53 Step 9/22 : COPY . . 21:54:53 ---> 870c45d85335 21:54:53 Step 10/22 : RUN ${MAKE} 21:54:53 ---> Running in 8118f3e4af7f 21:54:53 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 21:55:11 Removing intermediate container 8118f3e4af7f 21:55:11 ---> 3830adb98d45 21:55:11 Step 11/22 : FROM alpine:3.18 21:55:11 3.18: Pulling from library/alpine 21:55:11 96526aa774ef: Pulling fs layer 21:55:11 96526aa774ef: Verifying Checksum 21:55:11 96526aa774ef: Download complete 21:55:11 96526aa774ef: Pull complete 21:55:11 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:55:11 Status: Downloaded newer image for alpine:3.18 21:55:11 ---> 8ca4688f4f35 21:55:11 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:55:11 ---> Running in ba75b6c95006 21:55:11 Removing intermediate container ba75b6c95006 21:55:11 ---> 87a28203a7b2 21:55:11 Step 13/22 : RUN apk add --update --no-cache dumb-init 21:55:11 ---> Running in 1adb9c182fb6 21:55:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:55:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:55:12 (1/1) Installing dumb-init (1.2.5-r2) 21:55:12 Executing busybox-1.36.1-r2.trigger 21:55:12 OK: 7 MiB in 16 packages 21:55:12 Removing intermediate container 1adb9c182fb6 21:55:12 ---> 35689239c622 21:55:12 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 21:55:12 ---> 6d7842c6a50d 21:55:12 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 21:55:13 ---> 56d81ca75938 21:55:13 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:55:13 ---> 9d8e99b5bd84 21:55:13 Step 17/22 : EXPOSE 59901 21:55:13 ---> Running in c05728889239 21:55:13 Removing intermediate container c05728889239 21:55:13 ---> 71c8ff66160e 21:55:13 Step 18/22 : ENTRYPOINT ["/device-modbus"] 21:55:13 ---> Running in 94510b34afb9 21:55:13 Removing intermediate container 94510b34afb9 21:55:13 ---> 07093b442fd7 21:55:13 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:55:13 ---> Running in 3a320f18fee5 21:55:13 Removing intermediate container 3a320f18fee5 21:55:13 ---> 22ac94522924 21:55:13 Step 20/22 : LABEL arch=amd64 21:55:13 ---> Running in fef391b814c6 21:55:13 Removing intermediate container fef391b814c6 21:55:13 ---> 4e9d4dc4e4c9 21:55:13 Step 21/22 : LABEL git_sha=3673e51062d5a24ca3a0eb46c133605be474e190 21:55:13 ---> Running in fa3d3696e20e 21:55:13 Removing intermediate container fa3d3696e20e 21:55:13 ---> 55edce9c9733 21:55:13 Step 22/22 : LABEL version=3.1.0-dev.20 21:55:13 ---> Running in c236b2b6866e 21:55:13 Removing intermediate container c236b2b6866e 21:55:13 ---> 7247c41e616d 21:55:13 [Warning] One or more build-args [ARCH] were not consumed 21:55:13 Successfully built 7247c41e616d 21:55:13 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:55:13 provisioning config files... 21:55:13 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1315590483200692239tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:55:14 ---> docker-login.sh 21:55:14 nexus3.edgexfoundry.org:10001 21:55:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:14 Configure a credential helper to remove this warning. See 21:55:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:14 21:55:14 Login Succeeded 21:55:14 nexus3.edgexfoundry.org:10002 21:55:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:14 Configure a credential helper to remove this warning. See 21:55:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:14 21:55:14 Login Succeeded 21:55:14 nexus3.edgexfoundry.org:10003 21:55:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:14 Configure a credential helper to remove this warning. See 21:55:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:14 21:55:14 Login Succeeded 21:55:14 nexus3.edgexfoundry.org:10004 21:55:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:14 Configure a credential helper to remove this warning. See 21:55:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:14 21:55:14 Login Succeeded 21:55:14 docker.io 21:55:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:55:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:55:14 Configure a credential helper to remove this warning. See 21:55:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:55:14 21:55:14 Login Succeeded 21:55:14 ---> docker-login.sh ends [Pipeline] } 21:55:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:55:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:55:14 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 21:55:14 3673e51062d5a24ca3a0eb46c133605be474e190 21:55:14 latest 21:55:14 3.1.0-dev.20 21:55:14 3673e51062d5a24ca3a0eb46c133605be474e190-3.1.0-dev.20 21:55:14 main 21:55:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:55:15 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3673e51062d5a24ca3a0eb46c133605be474e190 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:55:15 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3673e51062d5a24ca3a0eb46c133605be474e190 21:55:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 21:55:15 e51d84d3ee41: Preparing 21:55:15 996811ac938e: Preparing 21:55:15 cdc6a44a1f39: Preparing 21:55:15 e73c62071aaf: Preparing 21:55:15 cc2447e1835a: Preparing 21:55:15 cc2447e1835a: Layer already exists 21:55:15 996811ac938e: Pushed 21:55:15 e73c62071aaf: Pushed 21:55:15 e51d84d3ee41: Pushed 21:55:18 cdc6a44a1f39: Pushed 21:55:18 3673e51062d5a24ca3a0eb46c133605be474e190: digest: sha256:4d62e82e8fd36074ae3998a97bc386d0d0cdfd86162846892ff5e85b657f00a5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:55:18 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:55:18 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 21:55:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 21:55:18 e51d84d3ee41: Preparing 21:55:18 996811ac938e: Preparing 21:55:18 cdc6a44a1f39: Preparing 21:55:18 e73c62071aaf: Preparing 21:55:18 cc2447e1835a: Preparing 21:55:18 e51d84d3ee41: Layer already exists 21:55:18 e73c62071aaf: Layer already exists 21:55:18 996811ac938e: Layer already exists 21:55:18 cc2447e1835a: Layer already exists 21:55:18 cdc6a44a1f39: Layer already exists 21:55:18 latest: digest: sha256:4d62e82e8fd36074ae3998a97bc386d0d0cdfd86162846892ff5e85b657f00a5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:55:19 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:55:19 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.20 21:55:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 21:55:19 e51d84d3ee41: Preparing 21:55:19 996811ac938e: Preparing 21:55:19 cdc6a44a1f39: Preparing 21:55:19 e73c62071aaf: Preparing 21:55:19 cc2447e1835a: Preparing 21:55:19 cdc6a44a1f39: Layer already exists 21:55:19 e51d84d3ee41: Layer already exists 21:55:19 e73c62071aaf: Layer already exists 21:55:19 996811ac938e: Layer already exists 21:55:19 cc2447e1835a: Layer already exists 21:55:19 3.1.0-dev.20: digest: sha256:4d62e82e8fd36074ae3998a97bc386d0d0cdfd86162846892ff5e85b657f00a5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:55:19 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3673e51062d5a24ca3a0eb46c133605be474e190-3.1.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:55:19 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3673e51062d5a24ca3a0eb46c133605be474e190-3.1.0-dev.20 21:55:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 21:55:19 e51d84d3ee41: Preparing 21:55:19 996811ac938e: Preparing 21:55:19 cdc6a44a1f39: Preparing 21:55:19 e73c62071aaf: Preparing 21:55:19 cc2447e1835a: Preparing 21:55:19 996811ac938e: Layer already exists 21:55:19 e51d84d3ee41: Layer already exists 21:55:19 cc2447e1835a: Layer already exists 21:55:19 e73c62071aaf: Layer already exists 21:55:19 cdc6a44a1f39: Layer already exists 21:55:19 3673e51062d5a24ca3a0eb46c133605be474e190-3.1.0-dev.20: digest: sha256:4d62e82e8fd36074ae3998a97bc386d0d0cdfd86162846892ff5e85b657f00a5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:55:20 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:55:20 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 21:55:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 21:55:20 e51d84d3ee41: Preparing 21:55:20 996811ac938e: Preparing 21:55:20 cdc6a44a1f39: Preparing 21:55:20 e73c62071aaf: Preparing 21:55:20 cc2447e1835a: Preparing 21:55:20 996811ac938e: Layer already exists 21:55:20 cc2447e1835a: Layer already exists 21:55:20 e51d84d3ee41: Layer already exists 21:55:20 cdc6a44a1f39: Layer already exists 21:55:20 e73c62071aaf: Layer already exists 21:55:20 main: digest: sha256:4d62e82e8fd36074ae3998a97bc386d0d0cdfd86162846892ff5e85b657f00a5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:55:20 ===================================================== [Pipeline] echo 21:55:20 taggedImages: 21:55:20 - nexus3.edgexfoundry.org:10004/device-modbus:3673e51062d5a24ca3a0eb46c133605be474e190 21:55:20 - nexus3.edgexfoundry.org:10004/device-modbus:latest 21:55:20 - nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.20 21:55:20 - nexus3.edgexfoundry.org:10004/device-modbus:3673e51062d5a24ca3a0eb46c133605be474e190-3.1.0-dev.20 21:55:20 - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:55:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:55:20 21:55:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:55:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:55:21 latest: Pulling from edgex-lftools-log-publisher 21:55:21 5eb5b503b376: Pulling fs layer 21:55:21 5c69ac0246d0: Pulling fs layer 21:55:21 ec43610c2a17: Pulling fs layer 21:55:21 3a2ae6a8a46f: Pulling fs layer 21:55:21 33b1e0a273af: Pulling fs layer 21:55:21 5d3b04190fa2: Pulling fs layer 21:55:21 2f39f015ded8: Pulling fs layer 21:55:21 33b1e0a273af: Waiting 21:55:21 3a2ae6a8a46f: Waiting 21:55:21 2f39f015ded8: Waiting 21:55:21 5c69ac0246d0: Download complete 21:55:21 3a2ae6a8a46f: Verifying Checksum 21:55:21 3a2ae6a8a46f: Download complete 21:55:21 33b1e0a273af: Verifying Checksum 21:55:21 33b1e0a273af: Download complete 21:55:21 5d3b04190fa2: Download complete 21:55:21 ec43610c2a17: Verifying Checksum 21:55:21 ec43610c2a17: Download complete 21:55:21 5eb5b503b376: Verifying Checksum 21:55:21 5eb5b503b376: Download complete 21:55:22 2f39f015ded8: Download complete 21:55:22 5eb5b503b376: Pull complete 21:55:22 5c69ac0246d0: Pull complete 21:55:23 ec43610c2a17: Pull complete 21:55:23 3a2ae6a8a46f: Pull complete 21:55:23 33b1e0a273af: Pull complete 21:55:23 5d3b04190fa2: Pull complete 21:55:27 2f39f015ded8: Pull complete 21:55:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:55:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:55:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:55:28 prd-ubuntu20.04-docker-8c-8g-10303 does not seem to be running inside a container 21:55:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:55:29 $ docker top cc62dd2f3686cb3e4f8f395bb53b762be32a4ffb2b455c5791c7115c8ed5ee56 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:55:29 ---> job-cost.sh 21:55:29 lf-activate-venv: SKIPPING 21:55:29 INFO: No Stack... 21:55:29 INFO: Retrieving Pricing Info for: v3-standard-8 21:55:30 INFO: Archiving Costs [Pipeline] sh 21:55:30 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 21:55:30 + cut -d, -f6 [Pipeline] lock 21:55:30 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-134-stack-cost] 21:55:30 Resource [jenkins-edgexfoundry-device-modbus-go-main-134-stack-cost] did not exist. Created. 21:55:30 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-134-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:55:30 + echo total: 0.2199999988079071 [Pipeline] stash 21:55:31 Stashed 1 file(s) [Pipeline] } 21:55:31 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-134-stack-cost] [Pipeline] // lock [Pipeline] } 21:55:31 $ docker stop --time=1 cc62dd2f3686cb3e4f8f395bb53b762be32a4ffb2b455c5791c7115c8ed5ee56 21:55:32 $ docker rm -f --volumes cc62dd2f3686cb3e4f8f395bb53b762be32a4ffb2b455c5791c7115c8ed5ee56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:56:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10305 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 21:56:55 Running in /w/workspace/device-modbus-go/134 [Pipeline] { [Pipeline] checkout 21:56:55 Selected Git installation does not exist. Using Default 21:56:55 The recommended git tool is: NONE 21:57:02 using credential edgex-jenkins-ssh 21:57:02 Cloning the remote Git repository 21:57:02 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 21:57:02 > git init /w/workspace/device-modbus-go/134 # timeout=10 21:57:02 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 21:57:02 > git --version # timeout=10 21:57:02 > git --version # 'git version 2.25.1' 21:57:02 using GIT_SSH to set credentials SSH Credentials for GitHub 21:57:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:57:06 Avoid second fetch 21:57:06 Checking out Revision 3673e51062d5a24ca3a0eb46c133605be474e190 (main) 21:57:05 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 21:57:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:57:06 > git config core.sparsecheckout # timeout=10 21:57:06 > git checkout -f 3673e51062d5a24ca3a0eb46c133605be474e190 # timeout=10 21:57:07 Commit message: "refactor: Remove obsolete comments from config file (#515)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:57:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:57:08 % Total % Received % Xferd Average Speed Time Time Time Current 21:57:08 Dload Upload Total Spent Left Speed 21:57:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 163k 0 --:--:-- --:--:-- --:--:-- 163k [Pipeline] sh 21:57:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:57:09 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 21:57:09 21:57:09 { 21:57:09 "registry-mirrors": [ 21:57:09 "https://nexus3.edgexfoundry.org:10001" 21:57:09 ], 21:57:09 "bip": "10.250.0.254/24", 21:57:09 "hosts": [ 21:57:09 "tcp://0.0.0.0:5555", 21:57:09 "unix:///var/run/docker.sock" 21:57:09 ], 21:57:09 "mtu": 1458, 21:57:09 "selinux-enabled": true, 21:57:09 "seccomp-profile": "/etc/docker/seccomp.json" 21:57:09 } [Pipeline] sh 21:57:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:57:10 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:57:28 provisioning config files... 21:57:28 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/134@tmp/config6935131450483354050tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:57:28 ---> docker-login.sh 21:57:28 nexus3.edgexfoundry.org:10001 21:57:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:32 Configure a credential helper to remove this warning. See 21:57:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:32 21:57:32 Login Succeeded 21:57:32 nexus3.edgexfoundry.org:10002 21:57:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:32 Configure a credential helper to remove this warning. See 21:57:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:32 21:57:32 Login Succeeded 21:57:32 nexus3.edgexfoundry.org:10003 21:57:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:33 Configure a credential helper to remove this warning. See 21:57:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:33 21:57:33 Login Succeeded 21:57:33 nexus3.edgexfoundry.org:10004 21:57:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:33 Configure a credential helper to remove this warning. See 21:57:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:33 21:57:33 Login Succeeded 21:57:33 docker.io 21:57:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:34 Configure a credential helper to remove this warning. See 21:57:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:34 21:57:34 Login Succeeded 21:57:34 ---> docker-login.sh ends [Pipeline] } 21:57:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:57:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:57:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:57:34 ========================================================= 21:57:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:57:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:35 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:57:35 Sending build context to Docker daemon 3.363MB 21:57:35 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 21:57:35 Step 2/10 : FROM ${BASE} AS builder 21:57:35 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:57:35 9fda8d8052c6: Pulling fs layer 21:57:35 5d54e960e981: Pulling fs layer 21:57:35 c4a7e357bf2a: Pulling fs layer 21:57:35 f0e02332f6b5: Pulling fs layer 21:57:35 cefa15bbcfad: Pulling fs layer 21:57:35 17808c966233: Pulling fs layer 21:57:35 f0e02332f6b5: Waiting 21:57:35 f4c1fc716caa: Pulling fs layer 21:57:35 cefa15bbcfad: Waiting 21:57:35 f4c1fc716caa: Waiting 21:57:35 17808c966233: Waiting 21:57:35 5d54e960e981: Verifying Checksum 21:57:35 5d54e960e981: Download complete 21:57:35 f0e02332f6b5: Verifying Checksum 21:57:35 f0e02332f6b5: Download complete 21:57:35 cefa15bbcfad: Verifying Checksum 21:57:35 9fda8d8052c6: Verifying Checksum 21:57:35 9fda8d8052c6: Download complete 21:57:36 f4c1fc716caa: Verifying Checksum 21:57:36 f4c1fc716caa: Download complete 21:57:36 9fda8d8052c6: Pull complete 21:57:37 5d54e960e981: Pull complete 21:57:37 c4a7e357bf2a: Download complete 21:57:38 17808c966233: Verifying Checksum 21:57:38 17808c966233: Download complete 21:57:51 c4a7e357bf2a: Pull complete 21:57:51 f0e02332f6b5: Pull complete 21:57:51 cefa15bbcfad: Pull complete 21:58:02 17808c966233: Pull complete 21:58:03 f4c1fc716caa: Pull complete 21:58:03 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 21:58:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:58:03 ---> ea914061e18c 21:58:03 Step 3/10 : ARG ADD_BUILD_TAGS="" 21:58:05 ---> Running in 63803fe9ed5e 21:58:05 Removing intermediate container 63803fe9ed5e 21:58:05 ---> a6ae123619cc 21:58:05 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:58:05 ---> Running in a3e47d700e69 21:58:05 Removing intermediate container a3e47d700e69 21:58:05 ---> c267908306e6 21:58:05 Step 5/10 : RUN apk add --update --no-cache make git openssh 21:58:05 ---> Running in 7898a2d1884d 21:58:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:58:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:58:09 (1/8) Installing openssh-keygen (9.3_p2-r0) 21:58:09 (2/8) Installing libedit (20221030.3.1-r1) 21:58:09 (3/8) Installing openssh-client-common (9.3_p2-r0) 21:58:09 (4/8) Installing openssh-client-default (9.3_p2-r0) 21:58:09 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 21:58:09 (6/8) Installing openssh-server-common (9.3_p2-r0) 21:58:09 (7/8) Installing openssh-server (9.3_p2-r0) 21:58:09 (8/8) Installing openssh (9.3_p2-r0) 21:58:09 Executing busybox-1.36.1-r2.trigger 21:58:09 OK: 272 MiB in 60 packages 21:58:10 Removing intermediate container 7898a2d1884d 21:58:10 ---> 2a53e00021fb 21:58:10 Step 6/10 : WORKDIR /device-modbus-go 21:58:10 ---> Running in 56bd84b1033d 21:58:11 Removing intermediate container 56bd84b1033d 21:58:11 ---> 38768ce0fe3d 21:58:11 Step 7/10 : COPY go.mod vendor* ./ 21:58:11 ---> 16d3e562880d 21:58:11 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:58:12 ---> Running in 72aecf9cba23 21:59:48 Removing intermediate container 72aecf9cba23 21:59:48 ---> 3bcb328f1390 21:59:48 Step 9/10 : COPY . . 21:59:48 ---> 47a52d500fa1 21:59:48 Step 10/10 : RUN ${MAKE} 21:59:48 ---> Running in e1380bb8901c 21:59:48 noop 21:59:49 Removing intermediate container e1380bb8901c 21:59:49 ---> 682616b2189b 21:59:49 Successfully built 682616b2189b 21:59:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:49 + docker inspect -f . ci-base-image-arm64 21:59:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:59:49 prd-ubuntu20.04-docker-arm64-4c-16g-10305 does not seem to be running inside a container 21:59:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/134 -v /w/workspace/device-modbus-go/134:/w/workspace/device-modbus-go/134:rw,z -v /w/workspace/device-modbus-go/134@tmp:/w/workspace/device-modbus-go/134@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:59:51 $ docker top 3667aedd1a25a9082ac3f3e0fecd0e416b3804152a11004997fa803572e5af2a -eo pid,comm [Pipeline] { [Pipeline] sh 21:59:52 + go version 21:59:52 go version go1.21.0 linux/arm64 [Pipeline] } 21:59:52 $ docker stop --time=1 3667aedd1a25a9082ac3f3e0fecd0e416b3804152a11004997fa803572e5af2a 21:59:53 $ docker rm -f --volumes 3667aedd1a25a9082ac3f3e0fecd0e416b3804152a11004997fa803572e5af2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:54 + docker inspect -f . ci-base-image-arm64 21:59:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:59:54 prd-ubuntu20.04-docker-arm64-4c-16g-10305 does not seem to be running inside a container 21:59:54 $ 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/134 -v /w/workspace/device-modbus-go/134:/w/workspace/device-modbus-go/134:rw,z -v /w/workspace/device-modbus-go/134@tmp:/w/workspace/device-modbus-go/134@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:59:56 $ docker top ed9b20e802d94753905c402917c814b86d8f2d2b75bec6097c74c523827eba20 -eo pid,comm [Pipeline] { [Pipeline] sh 21:59:57 + git config --global --add safe.directory /w/workspace/device-modbus-go/134 [Pipeline] fileExists [Pipeline] sh 21:59:57 + make test 21:59:57 go test ./... -coverprofile=coverage.out 22:00:03 ? github.com/edgexfoundry/device-modbus-go [no test files] 22:02:09 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 22:02:09 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.075s coverage: 47.9% of statements 22:02:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:02:09 go vet ./... 22:02:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:02:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:02:36 ./bin/test-attribution-txt.sh [Pipeline] echo 22:02:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:02:36 $ docker stop --time=1 ed9b20e802d94753905c402917c814b86d8f2d2b75bec6097c74c523827eba20 22:02:40 $ docker rm -f --volumes ed9b20e802d94753905c402917c814b86d8f2d2b75bec6097c74c523827eba20 [Pipeline] // withDockerContainer [Pipeline] sh 22:02:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:02:41 Warning: overwriting stash ‘coverage-report’ 22:02:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:02:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:02:42 + ls -al . 22:02:42 total 184 22:02:42 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 22:00 . 22:02:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 21:57 .. 22:02:42 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 21:57 .dockerignore 22:02:42 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 21:57 .git 22:02:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 21:57 .github 22:02:42 -rw-rw-r-- 1 jenkins jenkins 266 Oct 24 21:57 .gitignore 22:02:42 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 21:57 .golangci.yml 22:02:42 -rw-rw-r-- 1 jenkins jenkins 11101 Oct 24 21:57 Attribution.txt 22:02:42 -rw-rw-r-- 1 jenkins jenkins 14764 Oct 24 21:57 CHANGELOG.md 22:02:42 -rw-rw-r-- 1 jenkins jenkins 1365 Oct 24 21:57 Dockerfile 22:02:42 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 21:57 GOVERNANCE.md 22:02:42 -rw-rw-r-- 1 jenkins jenkins 658 Oct 24 21:57 Jenkinsfile 22:02:42 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 21:57 LICENSE 22:02:42 -rw-rw-r-- 1 jenkins jenkins 1936 Oct 24 21:57 Makefile 22:02:42 -rw-rw-r-- 1 jenkins jenkins 622 Oct 24 21:57 OWNERS.md 22:02:42 -rw-rw-r-- 1 jenkins jenkins 4463 Oct 24 21:57 README.md 22:02:42 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 21:53 VERSION 22:02:42 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 21:57 bin 22:02:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 21:57 cmd 22:02:42 -rw-r--r-- 1 jenkins jenkins 24334 Oct 24 22:02 coverage.out 22:02:42 -rw-rw-r-- 1 jenkins jenkins 3942 Oct 24 21:57 go.mod 22:02:42 -rw-rw-r-- 1 jenkins jenkins 35436 Oct 24 21:57 go.sum 22:02:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 21:57 internal 22:02:42 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 21:57 simulator 22:02:42 -rw-rw-r-- 1 jenkins jenkins 229 Oct 24 21:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:43 + 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=3673e51062d5a24ca3a0eb46c133605be474e190 --label arch=arm64 --label version=3.1.0-dev.20 . 22:02:43 Sending build context to Docker daemon 3.388MB 22:02:43 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 22:02:43 Step 2/22 : FROM ${BASE} AS builder 22:02:43 ---> 682616b2189b 22:02:43 Step 3/22 : ARG ADD_BUILD_TAGS="" 22:02:43 ---> Running in 559f38409b76 22:02:44 Removing intermediate container 559f38409b76 22:02:44 ---> 21fd42eed907 22:02:44 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:02:44 ---> Running in 3fac6a08d4fd 22:02:44 Removing intermediate container 3fac6a08d4fd 22:02:44 ---> cc7f17208b61 22:02:44 Step 5/22 : RUN apk add --update --no-cache make git openssh 22:02:44 ---> Running in 15719b29a892 22:02:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:02:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:02:47 OK: 272 MiB in 60 packages 22:02:48 Removing intermediate container 15719b29a892 22:02:48 ---> dde4f4dbc06f 22:02:48 Step 6/22 : WORKDIR /device-modbus-go 22:02:49 ---> Running in 6399a6169ccc 22:02:49 Removing intermediate container 6399a6169ccc 22:02:49 ---> 5512d84937d5 22:02:49 Step 7/22 : COPY go.mod vendor* ./ 22:02:50 ---> d7f6a04b02da 22:02:50 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:02:50 ---> Running in 62ffd82f154b 22:02:52 Removing intermediate container 62ffd82f154b 22:02:52 ---> a43724852a32 22:02:52 Step 9/22 : COPY . . 22:02:53 ---> 66bfa088d2e0 22:02:53 Step 10/22 : RUN ${MAKE} 22:02:53 ---> Running in f6e13d82661e 22:02:55 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 22:05:02 Removing intermediate container f6e13d82661e 22:05:02 ---> 1c2dfefd8959 22:05:02 Step 11/22 : FROM alpine:3.18 22:05:02 3.18: Pulling from library/alpine 22:05:02 579b34f0a95b: Pulling fs layer 22:05:02 579b34f0a95b: Verifying Checksum 22:05:02 579b34f0a95b: Download complete 22:05:02 579b34f0a95b: Pull complete 22:05:02 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:05:02 Status: Downloaded newer image for alpine:3.18 22:05:02 ---> 3cc203321400 22:05:02 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 22:05:02 ---> Running in 3ca9c73eb496 22:05:02 Removing intermediate container 3ca9c73eb496 22:05:02 ---> 00a086e7a3ab 22:05:02 Step 13/22 : RUN apk add --update --no-cache dumb-init 22:05:02 ---> Running in 9762b275e195 22:05:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:05:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:05:06 (1/1) Installing dumb-init (1.2.5-r2) 22:05:06 Executing busybox-1.36.1-r2.trigger 22:05:06 OK: 8 MiB in 16 packages 22:05:08 Removing intermediate container 9762b275e195 22:05:08 ---> e347e1c5f99d 22:05:08 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 22:05:10 ---> 88b4788f6e60 22:05:10 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 22:05:10 ---> bbaada473328 22:05:10 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 22:05:11 ---> 42cde50e1727 22:05:11 Step 17/22 : EXPOSE 59901 22:05:11 ---> Running in b97fd437ceba 22:05:11 Removing intermediate container b97fd437ceba 22:05:11 ---> 4163ce18fbcd 22:05:11 Step 18/22 : ENTRYPOINT ["/device-modbus"] 22:05:12 ---> Running in f2f37a9063c7 22:05:12 Removing intermediate container f2f37a9063c7 22:05:12 ---> b95a35f65450 22:05:12 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:05:12 ---> Running in 1ab94efee047 22:05:12 Removing intermediate container 1ab94efee047 22:05:12 ---> a22674ad84ef 22:05:12 Step 20/22 : LABEL arch=arm64 22:05:12 ---> Running in 1d3e5d761f8c 22:05:13 Removing intermediate container 1d3e5d761f8c 22:05:13 ---> f8f24ee7c748 22:05:13 Step 21/22 : LABEL git_sha=3673e51062d5a24ca3a0eb46c133605be474e190 22:05:13 ---> Running in 914b6460a488 22:05:13 Removing intermediate container 914b6460a488 22:05:13 ---> 93b3629f88f8 22:05:13 Step 22/22 : LABEL version=3.1.0-dev.20 22:05:13 ---> Running in 8c4fd677c869 22:05:14 Removing intermediate container 8c4fd677c869 22:05:14 ---> 47335197e48b 22:05:14 [Warning] One or more build-args [ARCH] were not consumed 22:05:14 Successfully built 47335197e48b 22:05:14 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:05:14 provisioning config files... 22:05:14 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/134@tmp/config3942651354074427788tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:05:14 ---> docker-login.sh 22:05:14 nexus3.edgexfoundry.org:10001 22:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:14 Configure a credential helper to remove this warning. See 22:05:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:14 22:05:14 Login Succeeded 22:05:14 nexus3.edgexfoundry.org:10002 22:05:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:15 Configure a credential helper to remove this warning. See 22:05:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:15 22:05:15 Login Succeeded 22:05:15 nexus3.edgexfoundry.org:10003 22:05:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:16 Configure a credential helper to remove this warning. See 22:05:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:16 22:05:16 Login Succeeded 22:05:16 nexus3.edgexfoundry.org:10004 22:05:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:16 Configure a credential helper to remove this warning. See 22:05:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:16 22:05:16 Login Succeeded 22:05:16 docker.io 22:05:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:17 Configure a credential helper to remove this warning. See 22:05:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:17 22:05:17 Login Succeeded 22:05:17 ---> docker-login.sh ends [Pipeline] } 22:05:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:05:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:05:17 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 22:05:17 3673e51062d5a24ca3a0eb46c133605be474e190 22:05:17 latest 22:05:17 3.1.0-dev.20 22:05:17 3673e51062d5a24ca3a0eb46c133605be474e190-3.1.0-dev.20 22:05:17 main 22:05:17 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:17 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3673e51062d5a24ca3a0eb46c133605be474e190 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:17 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3673e51062d5a24ca3a0eb46c133605be474e190 22:05:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 22:05:17 1cecc008b9e3: Preparing 22:05:17 e42ae256046f: Preparing 22:05:17 58c094bcc2fc: Preparing 22:05:17 a0986411e7bc: Preparing 22:05:17 5f4d9fc4d98d: Preparing 22:05:17 5f4d9fc4d98d: Layer already exists 22:05:18 a0986411e7bc: Pushed 22:05:18 1cecc008b9e3: Pushed 22:05:18 e42ae256046f: Pushed 22:05:24 58c094bcc2fc: Pushed 22:05:24 3673e51062d5a24ca3a0eb46c133605be474e190: digest: sha256:f52c3ed656f4a8bd75f4234fe8a3fd375935cbe325de760732aaf6cb3cf7596f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:25 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:25 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 22:05:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 22:05:25 1cecc008b9e3: Preparing 22:05:25 e42ae256046f: Preparing 22:05:25 58c094bcc2fc: Preparing 22:05:25 a0986411e7bc: Preparing 22:05:25 5f4d9fc4d98d: Preparing 22:05:25 1cecc008b9e3: Layer already exists 22:05:25 5f4d9fc4d98d: Layer already exists 22:05:25 58c094bcc2fc: Layer already exists 22:05:25 a0986411e7bc: Layer already exists 22:05:25 e42ae256046f: Layer already exists 22:05:25 latest: digest: sha256:f52c3ed656f4a8bd75f4234fe8a3fd375935cbe325de760732aaf6cb3cf7596f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:26 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:26 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.20 22:05:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 22:05:26 1cecc008b9e3: Preparing 22:05:26 e42ae256046f: Preparing 22:05:26 58c094bcc2fc: Preparing 22:05:26 a0986411e7bc: Preparing 22:05:26 5f4d9fc4d98d: Preparing 22:05:26 58c094bcc2fc: Layer already exists 22:05:26 5f4d9fc4d98d: Layer already exists 22:05:26 1cecc008b9e3: Layer already exists 22:05:26 e42ae256046f: Layer already exists 22:05:26 a0986411e7bc: Layer already exists 22:05:26 3.1.0-dev.20: digest: sha256:f52c3ed656f4a8bd75f4234fe8a3fd375935cbe325de760732aaf6cb3cf7596f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:27 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3673e51062d5a24ca3a0eb46c133605be474e190-3.1.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:27 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3673e51062d5a24ca3a0eb46c133605be474e190-3.1.0-dev.20 22:05:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 22:05:27 1cecc008b9e3: Preparing 22:05:27 e42ae256046f: Preparing 22:05:27 58c094bcc2fc: Preparing 22:05:27 a0986411e7bc: Preparing 22:05:27 5f4d9fc4d98d: Preparing 22:05:27 5f4d9fc4d98d: Layer already exists 22:05:27 a0986411e7bc: Layer already exists 22:05:27 1cecc008b9e3: Layer already exists 22:05:27 58c094bcc2fc: Layer already exists 22:05:27 e42ae256046f: Layer already exists 22:05:27 3673e51062d5a24ca3a0eb46c133605be474e190-3.1.0-dev.20: digest: sha256:f52c3ed656f4a8bd75f4234fe8a3fd375935cbe325de760732aaf6cb3cf7596f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:28 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:28 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 22:05:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 22:05:28 1cecc008b9e3: Preparing 22:05:28 e42ae256046f: Preparing 22:05:28 58c094bcc2fc: Preparing 22:05:28 a0986411e7bc: Preparing 22:05:28 5f4d9fc4d98d: Preparing 22:05:28 5f4d9fc4d98d: Layer already exists 22:05:28 a0986411e7bc: Layer already exists 22:05:28 e42ae256046f: Layer already exists 22:05:28 1cecc008b9e3: Layer already exists 22:05:28 58c094bcc2fc: Layer already exists 22:05:28 main: digest: sha256:f52c3ed656f4a8bd75f4234fe8a3fd375935cbe325de760732aaf6cb3cf7596f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:05:28 ===================================================== [Pipeline] echo 22:05:28 taggedImages: 22:05:28 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3673e51062d5a24ca3a0eb46c133605be474e190 22:05:28 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 22:05:28 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.20 22:05:28 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3673e51062d5a24ca3a0eb46c133605be474e190-3.1.0-dev.20 22:05:28 - 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 22:05:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:05:29 22:05:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:05:29 arm64: Pulling from edgex-lftools-log-publisher 22:05:29 8998bd30e6a1: Pulling fs layer 22:05:29 04944245beec: Pulling fs layer 22:05:29 699f458cf7ca: Pulling fs layer 22:05:29 765212b225bb: Pulling fs layer 22:05:29 f23df028b6ca: Pulling fs layer 22:05:29 765212b225bb: Waiting 22:05:29 d65c8cfc05b1: Pulling fs layer 22:05:29 f23df028b6ca: Waiting 22:05:29 d65c8cfc05b1: Waiting 22:05:29 2437ff75d9bd: Pulling fs layer 22:05:29 2437ff75d9bd: Waiting 22:05:29 04944245beec: Verifying Checksum 22:05:29 04944245beec: Download complete 22:05:29 765212b225bb: Verifying Checksum 22:05:29 765212b225bb: Download complete 22:05:29 f23df028b6ca: Verifying Checksum 22:05:29 f23df028b6ca: Download complete 22:05:29 d65c8cfc05b1: Verifying Checksum 22:05:29 d65c8cfc05b1: Download complete 22:05:30 699f458cf7ca: Verifying Checksum 22:05:30 699f458cf7ca: Download complete 22:05:30 8998bd30e6a1: Download complete 22:05:32 2437ff75d9bd: Verifying Checksum 22:05:32 2437ff75d9bd: Download complete 22:05:34 8998bd30e6a1: Pull complete 22:05:35 04944245beec: Pull complete 22:05:36 699f458cf7ca: Pull complete 22:05:37 765212b225bb: Pull complete 22:05:38 f23df028b6ca: Pull complete 22:05:38 d65c8cfc05b1: Pull complete 22:05:56 2437ff75d9bd: Pull complete 22:05:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:05:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:05:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:56 prd-ubuntu20.04-docker-arm64-4c-16g-10305 does not seem to be running inside a container 22:05: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/device-modbus-go/134 -v /w/workspace/device-modbus-go/134:/w/workspace/device-modbus-go/134:rw,z -v /w/workspace/device-modbus-go/134@tmp:/w/workspace/device-modbus-go/134@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 22:06:00 $ docker top 715e250d30133dc1b8ee45d85be7cd4d447348a7a72e85f0431cd23a15dfec73 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:06:01 ---> job-cost.sh 22:06:01 lf-activate-venv: SKIPPING 22:06:01 INFO: No Stack... 22:06:01 INFO: Retrieving Pricing Info for: v3-standard-4 22:06:02 INFO: Archiving Costs [Pipeline] sh 22:06:02 + cat /w/workspace/device-modbus-go/134/archives/cost.csv 22:06:02 + cut -d, -f6 [Pipeline] lock 22:06:02 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-134-stack-cost] 22:06:02 Resource [jenkins-edgexfoundry-device-modbus-go-main-134-stack-cost] did not exist. Created. 22:06:02 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-134-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:06:03 /w/workspace/device-modbus-go/134@tmp/durable-77a130b0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:06:04 + echo total: 0.10999999940395355 [Pipeline] stash 22:06:04 Warning: overwriting stash ‘stack-cost’ 22:06:04 Stashed 1 file(s) [Pipeline] } 22:06:04 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-134-stack-cost] [Pipeline] // lock [Pipeline] } 22:06:04 $ docker stop --time=1 715e250d30133dc1b8ee45d85be7cd4d447348a7a72e85f0431cd23a15dfec73 22:06:05 $ docker rm -f --volumes 715e250d30133dc1b8ee45d85be7cd4d447348a7a72e85f0431cd23a15dfec73 [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 22:06:06 provisioning config files... 22:06:06 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9868057942754321524tmp [Pipeline] { [Pipeline] sh 22:06:06 + set +x 22:06:06 + + bash -s -- 22:06:06 curl -s https://codecov.io/bash 22:06:06 22:06:06 _____ _ 22:06:06 / ____| | | 22:06:06 | | ___ __| | ___ ___ _____ __ 22:06:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:06:06 | |___| (_) | (_| | __/ (_| (_) \ V / 22:06:06 \_____\___/ \__,_|\___|\___\___/ \_/ 22:06:06 Bash-1.0.6 22:06:06 22:06:06 22:06:06 ==> git version 2.25.1 found 22:06:06 ==> 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 22:06:06 Release-Date: 2020-01-08 22:06:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:06:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:06:06 ==> Jenkins CI detected. 22:06:06 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 22:06:06 project root: . 22:06:06 --> token set from env 22:06:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:06:06 ==> Running gcov in . (disable via -X gcov) 22:06:06 ==> Python coveragepy not found 22:06:06 ==> Searching for coverage reports in: 22:06:06 + . 22:06:06 -> Found 1 reports 22:06:06 ==> Detecting git/mercurial file structure 22:06:06 ==> Reading reports 22:06:06 + ./coverage.out bytes=24334 22:06:06 ==> Appending adjustments 22:06:06 https://docs.codecov.io/docs/fixing-reports 22:06:06 + Found adjustments 22:06:06 ==> Gzipping contents 22:06:06 4.0K /tmp/codecov.5eW51Z.gz 22:06:06 ==> Uploading reports 22:06:06 url: https://codecov.io 22:06:06 query: branch=main&commit=3673e51062d5a24ca3a0eb46c133605be474e190&build=134&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F134%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:06:06 -> Pinging Codecov 22:06:06 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=3673e51062d5a24ca3a0eb46c133605be474e190&build=134&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F134%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:06:07 -> Uploading to 22:06:07 https://storage.googleapis.com/codecov/v4/raw/2023-10-24/55DBCA73C666E3227836607328DD7E49/3673e51062d5a24ca3a0eb46c133605be474e190/ddefd78e-d463-4847-9507-11662fc6fad0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T220606Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9fcb916732142e19c485353c3ce9f9815f3691c20dfbe53d8839575f466a2962 22:06:07 % Total % Received % Xferd Average Speed Time Time Time Current 22:06:07 Dload Upload Total Spent Left Speed 22:06:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3806 0 0 100 3806 0 12082 --:--:-- --:--:-- --:--:-- 12044 22:06:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/3673e51062d5a24ca3a0eb46c133605be474e190 [Pipeline] } 22:06:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:06:07 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:06:07 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:06:07 22:06:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:06:08 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:06:08 df9b9388f04a: Pulling fs layer 22:06:08 52dc419b0ee2: Pulling fs layer 22:06:08 25bc292e5bac: Pulling fs layer 22:06:08 114826534d7a: Pulling fs layer 22:06:08 4657fd5d0bcf: Pulling fs layer 22:06:08 6ad1cebc031e: Pulling fs layer 22:06:08 8a3aa393b2d8: Pulling fs layer 22:06:08 4657fd5d0bcf: Waiting 22:06:08 6ad1cebc031e: Waiting 22:06:08 8a3aa393b2d8: Waiting 22:06:08 114826534d7a: Waiting 22:06:08 25bc292e5bac: Verifying Checksum 22:06:08 25bc292e5bac: Download complete 22:06:08 52dc419b0ee2: Verifying Checksum 22:06:08 52dc419b0ee2: Download complete 22:06:08 4657fd5d0bcf: Verifying Checksum 22:06:08 4657fd5d0bcf: Download complete 22:06:08 df9b9388f04a: Verifying Checksum 22:06:08 df9b9388f04a: Download complete 22:06:08 df9b9388f04a: Pull complete 22:06:08 6ad1cebc031e: Verifying Checksum 22:06:08 6ad1cebc031e: Download complete 22:06:08 52dc419b0ee2: Pull complete 22:06:08 25bc292e5bac: Pull complete 22:06:09 8a3aa393b2d8: Verifying Checksum 22:06:09 8a3aa393b2d8: Download complete 22:06:09 114826534d7a: Verifying Checksum 22:06:09 114826534d7a: Download complete 22:06:12 114826534d7a: Pull complete 22:06:12 4657fd5d0bcf: Pull complete 22:06:12 6ad1cebc031e: Pull complete 22:06:15 8a3aa393b2d8: Pull complete 22:06:15 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:06:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:06:15 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:06:15 prd-ubuntu20.04-docker-8c-8g-10303 does not seem to be running inside a container 22:06:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:06:16 $ docker top ce4e56ce4cfb635640e9ed92c7c2a150b4a3ab17222bcc05223e14306ab62ddc -eo pid,comm [Pipeline] { [Pipeline] echo 22:06:16 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 22:06:16 + set -o pipefail 22:06:16 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 22:06:29 22:06:29 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 22:06:29 22:06:29 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/080d935e-77c4-4481-9b15-1ea79e874941 22:06:29 22:06:29 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 22:06:29 22:06:29 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:06:29 22:06:29 22:06:29 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:06:29 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:06:29 More details here: https://snyk.co/ue1NS [Pipeline] } 22:06:29 $ docker stop --time=1 ce4e56ce4cfb635640e9ed92c7c2a150b4a3ab17222bcc05223e14306ab62ddc 22:06:31 $ docker rm -f --volumes ce4e56ce4cfb635640e9ed92c7c2a150b4a3ab17222bcc05223e14306ab62ddc [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 22:06:32 + git log --format=format:%s -1 3673e51062d5a24ca3a0eb46c133605be474e190 [Pipeline] sh 22:06:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:06:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:06:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:06:32 prd-ubuntu20.04-docker-8c-8g-10303 does not seem to be running inside a container 22:06:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:06:33 $ docker top 44f6786b604bd64482b616195a9b2432d1be81f19331b0e3ccb974b905c03639 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:06:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:06:33 [ssh-agent] Looking for ssh-agent implementation... 22:06:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:06:33 $ docker exec 44f6786b604bd64482b616195a9b2432d1be81f19331b0e3ccb974b905c03639 ssh-agent 22:06:33 SSH_AUTH_SOCK=/tmp/ssh-ZkRXAoDcsjxX/agent.32 22:06:33 SSH_AGENT_PID=38 22:06:33 Running ssh-add (command line suppressed) 22:06:33 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13824738546433947675.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13824738546433947675.key) 22:06:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:06:33 + git semver tag 22:06:34 2023-10-24 22:06:33,905 [run_tag] DEBUG tag force:False 22:06:34 2023-10-24 22:06:33,905 [check_head_tag] DEBUG check head tag 22:06:34 2023-10-24 22:06:33,906 [execute] INFO git cat-file --batch-check 22:06:34 2023-10-24 22:06:33,907 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 22:06:34 2023-10-24 22:06:33,909 [execute] INFO git cat-file --batch 22:06:34 2023-10-24 22:06:33,910 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 22:06:34 2023-10-24 22:06:33,924 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:06:34 2023-10-24 22:06:33,924 [execute] INFO git tag -a v3.1.0-dev.20 -m v3.1.0-dev.20 22:06:34 2023-10-24 22:06:33,925 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.20', '-m', 'v3.1.0-dev.20'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 22:06:34 2023-10-24 22:06:33,929 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:06:34 3.1.0-dev.20 [Pipeline] } 22:06:34 $ docker exec --env ******** --env ******** 44f6786b604bd64482b616195a9b2432d1be81f19331b0e3ccb974b905c03639 ssh-agent -k 22:06:34 unset SSH_AUTH_SOCK; 22:06:34 unset SSH_AGENT_PID; 22:06:34 echo Agent pid 38 killed; 22:06:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:06:34 + git semver [Pipeline] } 22:06:34 $ docker stop --time=1 44f6786b604bd64482b616195a9b2432d1be81f19331b0e3ccb974b905c03639 22:06:35 $ docker rm -f --volumes 44f6786b604bd64482b616195a9b2432d1be81f19331b0e3ccb974b905c03639 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:06:36 22:06:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:06:36 0.23.1-centos7: Pulling from edgex-lftools 22:06:36 ab5ef0e58194: Pulling fs layer 22:06:36 9712f1f96733: Pulling fs layer 22:06:36 63f879dbbcfc: Pulling fs layer 22:06:36 0d9ebad4ef96: Pulling fs layer 22:06:36 e9a5061849ea: Pulling fs layer 22:06:36 d747dcd14b5f: Pulling fs layer 22:06:36 2de7ff778b66: Pulling fs layer 22:06:36 0d9ebad4ef96: Waiting 22:06:36 e9a5061849ea: Waiting 22:06:36 2de7ff778b66: Waiting 22:06:36 d747dcd14b5f: Waiting 22:06:36 63f879dbbcfc: Verifying Checksum 22:06:36 63f879dbbcfc: Download complete 22:06:37 e9a5061849ea: Verifying Checksum 22:06:37 e9a5061849ea: Download complete 22:06:37 0d9ebad4ef96: Verifying Checksum 22:06:37 0d9ebad4ef96: Download complete 22:06:37 d747dcd14b5f: Download complete 22:06:37 ab5ef0e58194: Verifying Checksum 22:06:37 ab5ef0e58194: Download complete 22:06:37 2de7ff778b66: Verifying Checksum 22:06:37 2de7ff778b66: Download complete 22:06:39 ab5ef0e58194: Pull complete 22:06:39 9712f1f96733: Pull complete 22:06:40 63f879dbbcfc: Pull complete 22:06:44 0d9ebad4ef96: Pull complete 22:06:44 e9a5061849ea: Pull complete 22:06:44 d747dcd14b5f: Pull complete 22:06:45 2de7ff778b66: Pull complete 22:06:45 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:06:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:06:45 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:06:45 prd-ubuntu20.04-docker-8c-8g-10303 does not seem to be running inside a container 22:06:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:06:46 $ docker top aff5a170fe380bf3629c79efdaf56292b277598f4bfe008367aac6f3ebf0858e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:06:47 provisioning config files... 22:06:47 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config217970747648173903tmp 22:06:47 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9195690069356052887tmp 22:06:47 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1889370955293600139tmp [Pipeline] { [Pipeline] echo 22:06:47 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:06:47 ---> sigul-configuration.sh 22:06:47 gpg: directory `/root/.gnupg' created 22:06:47 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:06:47 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:06:47 gpg: keyring `/root/.gnupg/secring.gpg' created 22:06:47 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:06:47 gpg: CAST5 encrypted data 22:06:47 gpg: encrypted with 1 passphrase 22:06:47 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:06:47 + mkdir /home/jenkins 22:06:47 + mkdir /home/jenkins/sigul [Pipeline] sh 22:06:47 + 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 22:06:47 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:06:48 ---> sigul-install.sh 22:06:48 Sigul already installed; skipping installation. [Pipeline] sh 22:06:48 + git tag --list 22:06:48 0.7.1 22:06:48 v1.0.0 22:06:48 v1.1.0 22:06:48 v1.1.1 22:06:48 v1.2.2 22:06:48 v1.3.0 22:06:48 v1.3.1 22:06:48 v2.0.0 22:06:48 v2.1.0 22:06:48 v2.1.1 22:06:48 v2.2.0 22:06:48 v2.3.0 22:06:48 v3.0 22:06:48 v3.0.0 22:06:48 v3.1.0-dev.1 22:06:48 v3.1.0-dev.10 22:06:48 v3.1.0-dev.11 22:06:48 v3.1.0-dev.12 22:06:48 v3.1.0-dev.13 22:06:48 v3.1.0-dev.14 22:06:48 v3.1.0-dev.15 22:06:48 v3.1.0-dev.16 22:06:48 v3.1.0-dev.17 22:06:48 v3.1.0-dev.18 22:06:48 v3.1.0-dev.19 22:06:48 v3.1.0-dev.2 22:06:48 v3.1.0-dev.20 22:06:48 v3.1.0-dev.3 22:06:48 v3.1.0-dev.4 22:06:48 v3.1.0-dev.5 22:06:48 v3.1.0-dev.6 22:06:48 v3.1.0-dev.7 22:06:48 v3.1.0-dev.8 22:06:48 v3.1.0-dev.9 [Pipeline] sh 22:06:48 + lftools sign git-tag v3.1.0-dev.20 22:06:49 Signing Git tag with Sigul... 22:06:49 Signing v3.1.0-dev.20 [Pipeline] echo 22:06:49 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:06:49 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:06:49 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:06:49 $ docker stop --time=1 aff5a170fe380bf3629c79efdaf56292b277598f4bfe008367aac6f3ebf0858e 22:06:51 $ docker rm -f --volumes aff5a170fe380bf3629c79efdaf56292b277598f4bfe008367aac6f3ebf0858e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:06:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:06:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:06:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:06:51 prd-ubuntu20.04-docker-8c-8g-10303 does not seem to be running inside a container 22:06:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:06:52 $ docker top c43656ecbec4d38d69912210ded318161f305793a642a440da2c0c4513f89e39 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:06:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:06:52 [ssh-agent] Looking for ssh-agent implementation... 22:06:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:06:52 $ docker exec c43656ecbec4d38d69912210ded318161f305793a642a440da2c0c4513f89e39 ssh-agent 22:06:52 SSH_AUTH_SOCK=/tmp/ssh-dNBzh8VFF4K2/agent.32 22:06:52 SSH_AGENT_PID=38 22:06:52 Running ssh-add (command line suppressed) 22:06:52 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_523902134026910912.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_523902134026910912.key) 22:06:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:06:53 + git semver bump pre 22:06:53 2023-10-24 22:06:53,251 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:06:53 2023-10-24 22:06:53,251 [bump_version] DEBUG bumping version:3.1.0-dev.20 on axis:pre with prefix:dev 22:06:53 2023-10-24 22:06:53,251 [bump_version] DEBUG bumped version:3.1.0-dev.21 22:06:53 2023-10-24 22:06:53,251 [write_version] DEBUG write version:3.1.0-dev.21 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 22:06:53 2023-10-24 22:06:53,251 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:06:53 2023-10-24 22:06:53,251 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:06:53 2023-10-24 22:06:53,253 [execute] INFO git cat-file --batch-check 22:06:53 2023-10-24 22:06:53,253 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:06:53 2023-10-24 22:06:53,259 [execute] INFO git cat-file --batch 22:06:53 2023-10-24 22:06:53,259 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:06:53 2023-10-24 22:06:53,265 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:06:53 3.1.0-dev.21 [Pipeline] } 22:06:53 $ docker exec --env ******** --env ******** c43656ecbec4d38d69912210ded318161f305793a642a440da2c0c4513f89e39 ssh-agent -k 22:06:53 unset SSH_AUTH_SOCK; 22:06:53 unset SSH_AGENT_PID; 22:06:53 echo Agent pid 38 killed; 22:06:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:06:53 + git semver [Pipeline] } 22:06:54 $ docker stop --time=1 c43656ecbec4d38d69912210ded318161f305793a642a440da2c0c4513f89e39 22:06:55 $ docker rm -f --volumes c43656ecbec4d38d69912210ded318161f305793a642a440da2c0c4513f89e39 [Pipeline] // withDockerContainer [Pipeline] sh 22:06:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:06:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:06:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:06:56 prd-ubuntu20.04-docker-8c-8g-10303 does not seem to be running inside a container 22:06:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:06:56 $ docker top f589c7e9ee7e1659900730a8334830c9c78b0984bf57c7cd23377208cf4ed83d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:06:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:06:56 [ssh-agent] Looking for ssh-agent implementation... 22:06:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:06:56 $ docker exec f589c7e9ee7e1659900730a8334830c9c78b0984bf57c7cd23377208cf4ed83d ssh-agent 22:06:56 SSH_AUTH_SOCK=/tmp/ssh-jWAMYY8uDGE8/agent.32 22:06:56 SSH_AGENT_PID=38 22:06:56 Running ssh-add (command line suppressed) 22:06:56 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5544643895249734303.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5544643895249734303.key) 22:06:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:06:57 + git semver push 22:06:57 2023-10-24 22:06:57,254 [run_push] DEBUG push 22:06:57 2023-10-24 22:06:57,254 [execute] INFO git cat-file --batch-check 22:06:57 2023-10-24 22:06:57,255 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:06:57 2023-10-24 22:06:57,259 [execute] INFO git rev-list d9f732f57eb4bd808fd4e9198d5e164e567bc66e -- 22:06:57 2023-10-24 22:06:57,259 [execute] DEBUG Popen(['git', 'rev-list', 'd9f732f57eb4bd808fd4e9198d5e164e567bc66e', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:06:57 2023-10-24 22:06:57,269 [execute] INFO git fetch -v origin 22:06:57 2023-10-24 22:06:57,269 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 22:06:57 2023-10-24 22:06:57,812 [run_push] DEBUG no remote changes detected 22:06:57 2023-10-24 22:06:57,812 [execute] INFO git push origin semver 22:06:57 2023-10-24 22:06:57,813 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:06:58 2023-10-24 22:06:58,590 [run_push] DEBUG push all version tags 22:06:58 2023-10-24 22:06:58,590 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:06:58 2023-10-24 22:06:58,591 [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) 22:06:59 2023-10-24 22:06:59,354 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:06:59 3.1.0-dev.21 [Pipeline] } 22:06:59 $ docker exec --env ******** --env ******** f589c7e9ee7e1659900730a8334830c9c78b0984bf57c7cd23377208cf4ed83d ssh-agent -k 22:06:59 unset SSH_AUTH_SOCK; 22:06:59 unset SSH_AGENT_PID; 22:06:59 echo Agent pid 38 killed; 22:06:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:06:59 + git semver [Pipeline] } 22:07:00 $ docker stop --time=1 f589c7e9ee7e1659900730a8334830c9c78b0984bf57c7cd23377208cf4ed83d 22:07:01 $ docker rm -f --volumes f589c7e9ee7e1659900730a8334830c9c78b0984bf57c7cd23377208cf4ed83d [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 22:07:01 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 22:07:01 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 22:07:01 total 16 22:07:01 drwxr-xr-x 3 root root 4096 Oct 24 21:55 . 22:07:01 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 22:06 .. 22:07:01 drwxr-xr-x 2 root root 4096 Oct 24 21:55 cost 22:07:01 -rw-r--r-- 1 root root 88 Oct 24 21:55 cost.csv 22:07:01 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 22:07:01 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 22:07:01 total 16 22:07:01 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 21:55 . 22:07:01 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 22:06 .. 22:07:01 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 21:55 cost 22:07:01 -rw-r--r-- 1 jenkins jenkins 88 Oct 24 21:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:07:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:07:03 ---> package-listing.sh 22:07:03 ++ facter osfamily 22:07:03 ++ tr '[:upper:]' '[:lower:]' 22:07:03 + OS_FAMILY=debian 22:07:03 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 22:07:03 + START_PACKAGES=/tmp/packages_start.txt 22:07:03 + END_PACKAGES=/tmp/packages_end.txt 22:07:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:07:03 + PACKAGES=/tmp/packages_start.txt 22:07:03 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 22:07:03 + PACKAGES=/tmp/packages_end.txt 22:07:03 + case "${OS_FAMILY}" in 22:07:03 + dpkg -l 22:07:03 + grep '^ii' 22:07:03 + '[' -f /tmp/packages_start.txt ']' 22:07:03 + '[' -f /tmp/packages_end.txt ']' 22:07:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:07:03 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 22:07:03 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 22:07:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 22:07:03 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 22:07:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:07:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:07:04 prd-ubuntu20.04-docker-8c-8g-10303 does not seem to be running inside a container 22:07:04 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:07:04 $ docker top 55c78da265b922a10e86e40f854c28e11b0cfa80408072d9eb25fd06c94c6715 -eo pid,comm [Pipeline] { [Pipeline] sh 22:07:04 + touch /tmp/pre-build-complete [Pipeline] sh 22:07:05 + mkdir -p /var/log/sysstat [Pipeline] sh 22:07:05 + ls /var/log/sa-host 22:07:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:07:05 provisioning config files... 22:07:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7311894477260540735tmp [Pipeline] { [Pipeline] echo 22:07:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:07:05 ---> create-netrc.sh [Pipeline] } 22:07:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:07:06 ---> python-tools-install.sh [Pipeline] echo 22:07:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:07:06 ---> sudo-logs.sh 22:07:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:07:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:07:06 ---> job-cost.sh 22:07:06 lf-activate-venv: SKIPPING 22:07:06 DEBUG: total: 0.2199999988079071 22:07:06 INFO: Retrieving Stack Cost... 22:07:07 INFO: Retrieving Pricing Info for: v3-standard-8 22:07:07 INFO: Archiving Costs [Pipeline] echo 22:07:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:07:07 ---> logs-deploy.sh 22:07:07 lf-activate-venv: SKIPPING 22:07:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/134 22:07:07 INFO: archiving workspace using pattern(s): 22:07:08 Archives upload complete. 22:07:08 INFO: archiving logs to Nexus