Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f7c28725686cbfd62f6225fd09367d5909216c89 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-ssh10728159832467914512.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh6293908955698246867.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 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh8528112025695071187.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh260559377396891989.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-ssh9302059155291577767.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 Running on prd-ubuntu20.04-docker-8c-8g-4334 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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 f7c28725686cbfd62f6225fd09367d5909216c89 (main) Commit message: "Merge pull request #555 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.18" > 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 f7c28725686cbfd62f6225fd09367d5909216c89 # timeout=10 > git rev-list --no-walk 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:56:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:56:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:56:37 ========================================================= 06:56:37 EdgeX Global Pipelines Version Info 06:56:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:56:37 ------------------- 06:56:37 stable info: 06:56:37 ------------------- 06:56:37 Commited By: Ginny Guan ginny@iotechsys.com 06:56:37 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 06:56:37 Message: update stable to v1.0.260 06:56:38 ------------------- 06:56:38 experimental info: 06:56:38 ------------------- 06:56:38 Commited By: Ginny Guan ginny@iotechsys.com 06:56:38 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 06:56:38 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:56:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:56:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:56:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:56:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:56:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:56:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 06:56:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:56:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:56:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:56:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:56:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:56:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 06:56:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:56:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:56:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:56:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:56:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:56:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:56:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:56:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:56:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:56:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:56:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:56:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:56:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:56:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:56:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:56:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:56:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:56:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:56:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f7c28725686cbfd62f6225fd09367d5909216c89 [Pipeline] echo 06:56:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f7c2872 [Pipeline] echo 06:56:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:56:39 provisioning config files... 06:56:39 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7622193781578711911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:56:39 ---> ****-login.sh 06:56:39 nexus3.edgexfoundry.org:10001 06:56:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:56:40 Configure a credential helper to remove this warning. See 06:56:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:56:40 06:56:40 Login Succeeded 06:56:40 nexus3.edgexfoundry.org:10002 06:56:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:56:40 Configure a credential helper to remove this warning. See 06:56:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:56:40 06:56:40 Login Succeeded 06:56:40 nexus3.edgexfoundry.org:10003 06:56:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:56:40 Configure a credential helper to remove this warning. See 06:56:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:56:40 06:56:40 Login Succeeded 06:56:40 nexus3.edgexfoundry.org:10004 06:56:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:56:40 Configure a credential helper to remove this warning. See 06:56:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:56:40 06:56:40 Login Succeeded 06:56:40 ****.io 06:56:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:56:40 Configure a credential helper to remove this warning. See 06:56:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:56:40 06:56:40 Login Succeeded 06:56:41 ---> ****-login.sh ends [Pipeline] } 06:56:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:56:41 + git rev-list -1 --merges f7c28725686cbfd62f6225fd09367d5909216c89~1..f7c28725686cbfd62f6225fd09367d5909216c89 [Pipeline] echo 06:56:41 -----------> git rev-list -1 --merges f7c28725686cbfd62f6225fd09367d5909216c89~1..f7c28725686cbfd62f6225fd09367d5909216c89 f7c28725686cbfd62f6225fd09367d5909216c89 06:56:41 f7c28725686cbfd62f6225fd09367d5909216c89 [false] [Pipeline] sh 06:56:41 + git log --format=format:%s -1 f7c28725686cbfd62f6225fd09367d5909216c89 [Pipeline] echo 06:56:41 ========================================================= 06:56:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:56:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:56:42 + git log --format=format:%s -1 f7c28725686cbfd62f6225fd09367d5909216c89 [Pipeline] echo 06:56:42 [semverPrep] GIT_COMMIT: f7c28725686cbfd62f6225fd09367d5909216c89, Commit Message: Merge pull request #555 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.18 [Pipeline] echo 06:56:42 [semverPrep] This is not a build commit. [Pipeline] sh 06:56:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:56:42 + grep -v github /etc/ssh/ssh_known_hosts 06:56:42 + [ -e /tmp/ssh_known_hosts ] 06:56:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:56:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:56:42 + sudo tee -a /etc/ssh/ssh_known_hosts 06:56:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:56:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:56:42 06:56:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:56:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:56:43 0.1.4: Pulling from edgex-devops/py-git-semver 06:56:43 b85a868b505f: Pulling fs layer 06:56:43 e2be974225ed: Pulling fs layer 06:56:43 339a4e72a1f5: Pulling fs layer 06:56:43 988bab9f4d93: Pulling fs layer 06:56:43 1469e6f7b9e6: Pulling fs layer 06:56:43 eaf3925da568: Pulling fs layer 06:56:43 bab4dde63d76: Pulling fs layer 06:56:43 bde34c3a00c8: Pulling fs layer 06:56:43 b352a97aabf1: Pulling fs layer 06:56:43 4872d77fe225: Pulling fs layer 06:56:43 5851b861e8e6: Pulling fs layer 06:56:43 988bab9f4d93: Waiting 06:56:43 1469e6f7b9e6: Waiting 06:56:43 eaf3925da568: Waiting 06:56:43 4872d77fe225: Waiting 06:56:43 bab4dde63d76: Waiting 06:56:43 bde34c3a00c8: Waiting 06:56:43 b352a97aabf1: Waiting 06:56:43 5851b861e8e6: Waiting 06:56:43 e2be974225ed: Download complete 06:56:43 988bab9f4d93: Download complete 06:56:43 1469e6f7b9e6: Verifying Checksum 06:56:43 1469e6f7b9e6: Download complete 06:56:43 eaf3925da568: Verifying Checksum 06:56:43 eaf3925da568: Download complete 06:56:43 339a4e72a1f5: Verifying Checksum 06:56:43 339a4e72a1f5: Download complete 06:56:43 bde34c3a00c8: Download complete 06:56:43 b352a97aabf1: Verifying Checksum 06:56:43 b352a97aabf1: Download complete 06:56:43 4872d77fe225: Verifying Checksum 06:56:43 4872d77fe225: Download complete 06:56:43 5851b861e8e6: Verifying Checksum 06:56:43 5851b861e8e6: Download complete 06:56:43 b85a868b505f: Verifying Checksum 06:56:43 b85a868b505f: Download complete 06:56:43 bab4dde63d76: Verifying Checksum 06:56:43 bab4dde63d76: Download complete 06:56:44 b85a868b505f: Pull complete 06:56:44 e2be974225ed: Pull complete 06:56:45 339a4e72a1f5: Pull complete 06:56:45 988bab9f4d93: Pull complete 06:56:45 1469e6f7b9e6: Pull complete 06:56:45 eaf3925da568: Pull complete 06:56:47 bab4dde63d76: Pull complete 06:56:47 bde34c3a00c8: Pull complete 06:56:47 b352a97aabf1: Pull complete 06:56:48 4872d77fe225: Pull complete 06:56:48 5851b861e8e6: Pull complete 06:56:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:56:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:56:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:56:48 prd-ubuntu20.04-docker-8c-8g-4334 does not seem to be running inside a container 06:56:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:56:50 $ docker top fa23fbd5e10c32ca614b69472390af24bee2ce2ea79d2ffaeb75c8eb340654c8 -eo pid,comm 06:56:50 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). 06:56:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:56:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:56:50 [ssh-agent] Looking for ssh-agent implementation... 06:56:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:56:51 $ docker exec fa23fbd5e10c32ca614b69472390af24bee2ce2ea79d2ffaeb75c8eb340654c8 ssh-agent 06:56:51 SSH_AUTH_SOCK=/tmp/ssh-z3f0Iy4HGDpE/agent.33 06:56:51 SSH_AGENT_PID=39 06:56:51 Running ssh-add (command line suppressed) 06:56:51 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8447871970144327567.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8447871970144327567.key) 06:56:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:56:51 + git tag --points-at HEAD [Pipeline] } 06:56:51 $ docker exec --env ******** --env ******** fa23fbd5e10c32ca614b69472390af24bee2ce2ea79d2ffaeb75c8eb340654c8 ssh-agent -k 06:56:51 unset SSH_AUTH_SOCK; 06:56:51 unset SSH_AGENT_PID; 06:56:51 echo Agent pid 39 killed; 06:56:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:56:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:56:51 [ssh-agent] Looking for ssh-agent implementation... 06:56:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:56:51 $ docker exec fa23fbd5e10c32ca614b69472390af24bee2ce2ea79d2ffaeb75c8eb340654c8 ssh-agent 06:56:51 SSH_AUTH_SOCK=/tmp/ssh-Aw5BQChLmHJV/agent.72 06:56:51 SSH_AGENT_PID=78 06:56:51 Running ssh-add (command line suppressed) 06:56:52 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11660910137475452364.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11660910137475452364.key) 06:56:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:56:52 + git semver init 06:56:52 2024-06-25 06:56:52,604 [run_init] DEBUG init version:0.0.0 force:False 06:56:52 2024-06-25 06:56:52,605 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 06:56:52 2024-06-25 06:56:52,606 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 06:56:52 2024-06-25 06:56:52,606 [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) 06:56:54 2024-06-25 06:56:53,622 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 06:56:54 2024-06-25 06:56:53,623 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 06:56:54 2024-06-25 06:56:53,623 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:56:54 2024-06-25 06:56:53,623 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:56:54 3.2.0-dev.14 [Pipeline] } 06:56:54 $ docker exec --env ******** --env ******** fa23fbd5e10c32ca614b69472390af24bee2ce2ea79d2ffaeb75c8eb340654c8 ssh-agent -k 06:56:54 unset SSH_AUTH_SOCK; 06:56:54 unset SSH_AGENT_PID; 06:56:54 echo Agent pid 78 killed; 06:56:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:56:54 + git semver [Pipeline] } 06:56:54 $ docker stop --time=1 fa23fbd5e10c32ca614b69472390af24bee2ce2ea79d2ffaeb75c8eb340654c8 06:56:56 $ docker rm -f --volumes fa23fbd5e10c32ca614b69472390af24bee2ce2ea79d2ffaeb75c8eb340654c8 [Pipeline] // withDockerContainer [Pipeline] sh 06:56:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:56:56 Stashed 1 file(s) [Pipeline] echo 06:56:56 [edgeXSemver]: initialized semver on version 3.2.0-dev.14 [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 06:56:56 provisioning config files... 06:56:56 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13539668713637060425tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:56:57 ---> ****-login.sh 06:56:57 nexus3.edgexfoundry.org:10001 06:56:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:56:57 Configure a credential helper to remove this warning. See 06:56:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:56:57 06:56:57 Login Succeeded 06:56:57 nexus3.edgexfoundry.org:10002 06:56:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:56:57 Configure a credential helper to remove this warning. See 06:56:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:56:57 06:56:57 Login Succeeded 06:56:57 nexus3.edgexfoundry.org:10003 06:56:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:56:57 Configure a credential helper to remove this warning. See 06:56:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:56:57 06:56:57 Login Succeeded 06:56:57 nexus3.edgexfoundry.org:10004 06:56:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:56:57 Configure a credential helper to remove this warning. See 06:56:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:56:57 06:56:57 Login Succeeded 06:56:57 ****.io 06:56:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:56:57 Configure a credential helper to remove this warning. See 06:56:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:56:57 06:56:57 Login Succeeded 06:56:57 ---> ****-login.sh ends [Pipeline] } 06:56:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:56:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:56:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:56:57 ========================================================= 06:56:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 06:56:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:56:58 + 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 . 06:56:58 Sending build context to Docker daemon 17.81MB 06:56:58 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:56:58 Step 2/10 : FROM ${BASE} AS builder 06:56:58 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 06:56:58 619be1103602: Pulling fs layer 06:56:58 7862e08f4a3e: Pulling fs layer 06:56:58 5df492c9dc93: Pulling fs layer 06:56:58 7629e6793208: Pulling fs layer 06:56:58 4f4fb700ef54: Pulling fs layer 06:56:58 fb5054dd5b73: Pulling fs layer 06:56:58 eeca6798cff9: Pulling fs layer 06:56:58 aa269ceb94a6: Pulling fs layer 06:56:58 ada007ff1a6a: Pulling fs layer 06:56:58 7629e6793208: Waiting 06:56:58 4f4fb700ef54: Waiting 06:56:58 fb5054dd5b73: Waiting 06:56:58 eeca6798cff9: Waiting 06:56:58 aa269ceb94a6: Waiting 06:56:58 ada007ff1a6a: Waiting 06:56:58 7862e08f4a3e: Verifying Checksum 06:56:58 7862e08f4a3e: Download complete 06:56:58 7629e6793208: Download complete 06:56:58 4f4fb700ef54: Verifying Checksum 06:56:58 4f4fb700ef54: Download complete 06:56:58 fb5054dd5b73: Verifying Checksum 06:56:58 fb5054dd5b73: Download complete 06:56:58 619be1103602: Verifying Checksum 06:56:58 619be1103602: Download complete 06:56:58 eeca6798cff9: Verifying Checksum 06:56:58 eeca6798cff9: Download complete 06:56:58 619be1103602: Pull complete 06:56:58 ada007ff1a6a: Verifying Checksum 06:56:58 ada007ff1a6a: Download complete 06:56:58 7862e08f4a3e: Pull complete 06:56:58 5df492c9dc93: Download complete 06:56:59 aa269ceb94a6: Verifying Checksum 06:56:59 aa269ceb94a6: Download complete 06:57:02 5df492c9dc93: Pull complete 06:57:02 7629e6793208: Pull complete 06:57:02 4f4fb700ef54: Pull complete 06:57:02 fb5054dd5b73: Pull complete 06:57:02 eeca6798cff9: Pull complete 06:57:05 aa269ceb94a6: Pull complete 06:57:05 ada007ff1a6a: Pull complete 06:57:05 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 06:57:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 06:57:05 ---> f489d0715acc 06:57:05 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:57:09 ---> Running in 167e1ad3f868 06:57:09 Removing intermediate container 167e1ad3f868 06:57:09 ---> 0dbdc9e8615f 06:57:09 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:57:09 ---> Running in 38cdb8dd67ae 06:57:09 Removing intermediate container 38cdb8dd67ae 06:57:09 ---> 443f8460b5a6 06:57:09 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:57:09 ---> Running in 499ab9b988f9 06:57:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:57:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:57:09 (1/8) Installing openssh-keygen (9.3_p2-r1) 06:57:09 (2/8) Installing libedit (20221030.3.1-r1) 06:57:09 (3/8) Installing openssh-client-common (9.3_p2-r1) 06:57:09 (4/8) Installing openssh-client-default (9.3_p2-r1) 06:57:09 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 06:57:09 (6/8) Installing openssh-server-common (9.3_p2-r1) 06:57:09 (7/8) Installing openssh-server (9.3_p2-r1) 06:57:09 (8/8) Installing openssh (9.3_p2-r1) 06:57:09 Executing busybox-1.36.1-r5.trigger 06:57:09 OK: 270 MiB in 60 packages 06:57:10 Removing intermediate container 499ab9b988f9 06:57:10 ---> 51cb2cb32f57 06:57:10 Step 6/10 : WORKDIR /device-modbus-go 06:57:10 ---> Running in 30d1b7c1429a 06:57:10 Removing intermediate container 30d1b7c1429a 06:57:10 ---> 877364ae8d57 06:57:10 Step 7/10 : COPY go.mod vendor* ./ 06:57:10 ---> b79b49f8a4a0 06:57:10 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:57:10 ---> Running in 7725231355a2 06:57:11 Still waiting to schedule task 06:57:11 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:58:06 Removing intermediate container 7725231355a2 06:58:06 ---> 3e44b070f845 06:58:06 Step 9/10 : COPY . . 06:58:06 ---> 590202a3a684 06:58:06 Step 10/10 : RUN ${MAKE} 06:58:06 ---> Running in e595c8a8074f 06:58:06 noop 06:58:06 Removing intermediate container e595c8a8074f 06:58:06 ---> a05242386859 06:58:06 Successfully built a05242386859 06:58:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:07 + docker inspect -f . ci-base-image-x86_64 06:58:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:58:07 prd-ubuntu20.04-docker-8c-8g-4334 does not seem to be running inside a container 06:58:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:58:07 $ docker top b26bb9bc320a130255d1b655d8450770a56eaf6c4514119e6304349b4d19d88c -eo pid,comm [Pipeline] { [Pipeline] sh 06:58:07 + go version 06:58:07 go version go1.21.9 linux/amd64 [Pipeline] } 06:58:07 $ docker stop --time=1 b26bb9bc320a130255d1b655d8450770a56eaf6c4514119e6304349b4d19d88c 06:58:09 $ docker rm -f --volumes b26bb9bc320a130255d1b655d8450770a56eaf6c4514119e6304349b4d19d88c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:09 + docker inspect -f . ci-base-image-x86_64 06:58:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:58:09 prd-ubuntu20.04-docker-8c-8g-4334 does not seem to be running inside a container 06:58:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:58:10 $ docker top 4d6970482fff065ec50ba63744c941c2d59983e15cc8542c441f815992262ca3 -eo pid,comm [Pipeline] { [Pipeline] sh 06:58:10 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 06:58:10 + make test 06:58:10 go test ./... -coverprofile=coverage.out 06:58:12 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:58:34 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:58:34 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 47.9% of statements 06:58:42 go vet ./... 06:58:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:58:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:58:49 ./bin/test-attribution-txt.sh 06:58:49 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 06:58:49 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 06:58:49 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 06:58:49 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 06:58:49 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 06:58:49 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 06:58:49 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 06:58:49 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 06:58:49 An attribution for golang.org/x/term is missing from Attribution.txt, please add 06:58:49 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 06:58:49 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 06:58:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:58:49 $ docker stop --time=1 4d6970482fff065ec50ba63744c941c2d59983e15cc8542c441f815992262ca3 06:58:53 $ docker rm -f --volumes 4d6970482fff065ec50ba63744c941c2d59983e15cc8542c441f815992262ca3 [Pipeline] // withDockerContainer [Pipeline] sh 06:58:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:58:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:58:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:58:54 + ls -al . 06:58:54 total 264 06:58:54 drwxrwxr-x 9 jenkins jenkins 4096 Jun 25 06:58 . 06:58:54 drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 06:56 .. 06:58:54 -rw-rw-r-- 1 jenkins jenkins 140 Jun 25 06:56 .dockerignore 06:58:54 drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 06:58 .git 06:58:54 drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 06:56 .github 06:58:54 -rw-rw-r-- 1 jenkins jenkins 266 Jun 25 06:56 .gitignore 06:58:54 -rw-rw-r-- 1 jenkins jenkins 41 Jun 25 06:56 .golangci.yml 06:58:54 drwxr-xr-x 3 jenkins jenkins 4096 Jun 25 06:56 .semver 06:58:54 -rw-rw-r-- 1 jenkins jenkins 11101 Jun 25 06:56 Attribution.txt 06:58:54 -rw-rw-r-- 1 jenkins jenkins 16388 Jun 25 06:56 CHANGELOG.md 06:58:54 -rw-rw-r-- 1 jenkins jenkins 1474 Jun 25 06:56 Dockerfile 06:58:54 -rw-rw-r-- 1 jenkins jenkins 677 Jun 25 06:56 GOVERNANCE.md 06:58:54 -rw-rw-r-- 1 jenkins jenkins 658 Jun 25 06:56 Jenkinsfile 06:58:54 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 25 06:56 LICENSE 06:58:54 -rw-rw-r-- 1 jenkins jenkins 1942 Jun 25 06:56 Makefile 06:58:54 -rw-rw-r-- 1 jenkins jenkins 622 Jun 25 06:56 OWNERS.md 06:58:54 -rw-rw-r-- 1 jenkins jenkins 4463 Jun 25 06:56 README.md 06:58:54 -rw-rw-r-- 1 jenkins jenkins 12 Jun 25 06:56 VERSION 06:58:54 drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 06:56 bin 06:58:54 drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 06:56 cmd 06:58:54 -rw-r--r-- 1 jenkins jenkins 24601 Jun 25 06:58 coverage.out 06:58:54 -rw-rw-r-- 1 jenkins jenkins 7241 Jun 25 06:56 go.mod 06:58:54 -rw-rw-r-- 1 jenkins jenkins 102291 Jun 25 06:56 go.sum 06:58:54 drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 06:56 internal 06:58:54 drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 06:56 simulator 06:58:54 -rw-rw-r-- 1 jenkins jenkins 229 Jun 25 06:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:54 + 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=f7c28725686cbfd62f6225fd09367d5909216c89 --label arch=amd64 --label version=3.2.0-dev.14 . 06:58:54 Sending build context to Docker daemon 17.83MB 06:58:54 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 06:58:54 Step 2/23 : FROM ${BASE} AS builder 06:58:54 ---> a05242386859 06:58:54 Step 3/23 : ARG ADD_BUILD_TAGS="" 06:58:55 ---> Running in d66fcbd73663 06:58:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4335 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 06:58:55 Running in /w/workspace/device-modbus-go/153 [Pipeline] { [Pipeline] checkout 06:58:55 The recommended git tool is: git 06:58:55 Removing intermediate container d66fcbd73663 06:58:55 ---> bbee4d52bab4 06:58:55 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:58:55 ---> Running in abffe24d3265 06:58:55 Removing intermediate container abffe24d3265 06:58:55 ---> 9cf419cbb17b 06:58:55 Step 5/23 : RUN apk add --update --no-cache make git openssh 06:58:55 ---> Running in 8b743e613e0e 06:58:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:58:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:58:56 OK: 270 MiB in 60 packages 06:58:56 Removing intermediate container 8b743e613e0e 06:58:56 ---> 124820b38a10 06:58:56 Step 6/23 : WORKDIR /device-modbus-go 06:58:56 ---> Running in f99d4068d9de 06:58:56 Removing intermediate container f99d4068d9de 06:58:56 ---> 5c6dc5613eb3 06:58:56 Step 7/23 : COPY go.mod vendor* ./ 06:58:56 ---> 77370f4bb3ba 06:58:56 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:58:57 ---> Running in 2a887921cc96 06:58:57 Removing intermediate container 2a887921cc96 06:58:57 ---> 448447f6a7a7 06:58:57 Step 9/23 : COPY . . 06:58:58 ---> 023c48a26059 06:58:58 Step 10/23 : RUN ${MAKE} 06:58:58 ---> Running in a50a7a873871 06:58:58 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.18" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:59:03 using credential edgex-jenkins-ssh 06:59:03 Cloning the remote Git repository 06:59:03 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:59:03 > git init /w/workspace/device-modbus-go/153 # timeout=10 06:59:04 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:59:04 > git --version # timeout=10 06:59:04 > git --version # 'git version 2.25.1' 06:59:04 using GIT_SSH to set credentials SSH Credentials for GitHub 06:59:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:59:06 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:59:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:59:07 Avoid second fetch 06:59:07 Checking out Revision f7c28725686cbfd62f6225fd09367d5909216c89 (main) 06:59:08 Commit message: "Merge pull request #555 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.18" 06:59:07 > git config core.sparsecheckout # timeout=10 06:59:07 > git checkout -f f7c28725686cbfd62f6225fd09367d5909216c89 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:59:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:59:13 % Total % Received % Xferd Average Speed Time Time Time Current 06:59:13 Dload Upload Total Spent Left Speed 06:59:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 114k 0 --:--:-- --:--:-- --:--:-- 115k [Pipeline] sh 06:59:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:59:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:59:14 + sudo tee /etc/docker/daemon.new 06:59:14 { 06:59:14 "registry-mirrors": [ 06:59:14 "https://nexus3.edgexfoundry.org:10001" 06:59:14 ], 06:59:14 "bip": "10.250.0.254/24", 06:59:14 "hosts": [ 06:59:14 "tcp://0.0.0.0:5555", 06:59:14 "unix:///var/run/docker.sock" 06:59:14 ], 06:59:14 "mtu": 1458, 06:59:14 "selinux-enabled": true, 06:59:14 "seccomp-profile": "/etc/docker/seccomp.json" 06:59:14 } [Pipeline] sh 06:59:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:59:15 + sudo service docker restart 06:59:30 Removing intermediate container a50a7a873871 06:59:30 ---> 8b57bdab8671 06:59:30 Step 11/23 : FROM alpine:3.18 06:59:30 3.18: Pulling from library/alpine 06:59:30 73baa7ef167e: Pulling fs layer 06:59:31 73baa7ef167e: Verifying Checksum 06:59:31 73baa7ef167e: Download complete 06:59:31 73baa7ef167e: Pull complete 06:59:31 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 06:59:31 Status: Downloaded newer image for alpine:3.18 06:59:31 ---> 8fd7cac70a4a 06:59:31 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:59:31 ---> Running in 01c91b1bebd5 06:59:31 Removing intermediate container 01c91b1bebd5 06:59:31 ---> 41cab744cba1 06:59:31 Step 13/23 : RUN apk add --update --no-cache dumb-init 06:59:31 ---> Running in 8f8f214fd363 06:59:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:59:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:59:32 (1/1) Installing dumb-init (1.2.5-r2) 06:59:32 Executing busybox-1.36.1-r7.trigger 06:59:32 OK: 7 MiB in 16 packages 06:59:32 Removing intermediate container 8f8f214fd363 06:59:32 ---> 407bd1c5911c 06:59:32 Step 14/23 : RUN apk --no-cache upgrade 06:59:32 ---> Running in 3e80cf0f960c 06:59:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:59:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:59:32 OK: 7 MiB in 16 packages [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:59:33 provisioning config files... 06:59:33 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/153@tmp/config10077069922933755336tmp 06:59:33 Removing intermediate container 3e80cf0f960c 06:59:33 ---> cea08761b121 06:59:33 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:59:33 ---> ****-login.sh 06:59:33 nexus3.edgexfoundry.org:10001 06:59:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:34 ---> 0b8ad5332e1d 06:59:34 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 06:59:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:59:34 Configure a credential helper to remove this warning. See 06:59:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:59:34 06:59:34 Login Succeeded 06:59:34 nexus3.edgexfoundry.org:10002 06:59:34 ---> 36a10c535bdd 06:59:34 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:59:34 ---> e4b3a5b37053 06:59:34 Step 18/23 : EXPOSE 59901 06:59:34 ---> Running in dd2258daeca2 06:59:34 Removing intermediate container dd2258daeca2 06:59:34 ---> 9e3157843154 06:59:34 Step 19/23 : ENTRYPOINT ["/device-modbus"] 06:59:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:59:34 Configure a credential helper to remove this warning. See 06:59:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:59:34 06:59:34 Login Succeeded 06:59:34 nexus3.edgexfoundry.org:10003 06:59:34 ---> Running in 662486d0a063 06:59:34 Removing intermediate container 662486d0a063 06:59:34 ---> a328c8a54c32 06:59:34 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:59:34 ---> Running in 1776b57e2bd3 06:59:34 Removing intermediate container 1776b57e2bd3 06:59:34 ---> 5cec5e8ae068 06:59:34 Step 21/23 : LABEL arch=amd64 06:59:34 ---> Running in e509b302693e 06:59:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:35 Removing intermediate container e509b302693e 06:59:35 ---> e882a8c9211b 06:59:35 Step 22/23 : LABEL git_sha=f7c28725686cbfd62f6225fd09367d5909216c89 06:59:35 ---> Running in 23bd75d89e62 06:59:35 Removing intermediate container 23bd75d89e62 06:59:35 ---> 45f0ed615666 06:59:35 Step 23/23 : LABEL version=3.2.0-dev.14 06:59:35 ---> Running in 7b01fdb370d2 06:59:35 Removing intermediate container 7b01fdb370d2 06:59:35 ---> d78ef439fdbb 06:59:35 [Warning] One or more build-args [ARCH] were not consumed 06:59:35 Successfully built d78ef439fdbb 06:59:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:59:35 Configure a credential helper to remove this warning. See 06:59:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:59:35 06:59:35 Login Succeeded 06:59:35 nexus3.edgexfoundry.org:10004 06:59:35 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script 06:59:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:59:35 Configure a credential helper to remove this warning. See 06:59:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:59:35 06:59:35 Login Succeeded 06:59:35 ****.io [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:59:35 provisioning config files... 06:59:35 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17731521173903915396tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:59:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:35 ---> ****-login.sh 06:59:35 nexus3.edgexfoundry.org:10001 06:59:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:59:35 Configure a credential helper to remove this warning. See 06:59:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:59:35 06:59:35 Login Succeeded 06:59:35 nexus3.edgexfoundry.org:10002 06:59:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:59:35 Configure a credential helper to remove this warning. See 06:59:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:59:35 06:59:35 Login Succeeded 06:59:35 nexus3.edgexfoundry.org:10003 06:59:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:59:36 Configure a credential helper to remove this warning. See 06:59:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:59:36 06:59:36 Login Succeeded 06:59:36 ---> ****-login.sh ends [Pipeline] } 06:59:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 06:59:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:59:36 Configure a credential helper to remove this warning. See 06:59:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:59:36 06:59:36 Login Succeeded 06:59:36 nexus3.edgexfoundry.org:10004 06:59:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:59:36 Configure a credential helper to remove this warning. See 06:59:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:59:36 06:59:36 Login Succeeded 06:59:36 ****.io 06:59:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] echo 06:59:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] 06:59:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:59:36 Configure a credential helper to remove this warning. See 06:59:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:59:36 06:59:36 Login Succeeded 06:59:36 ---> ****-login.sh ends [Pipeline] } 06:59:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] echo 06:59:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] // withEnv [Pipeline] echo 06:59:36 ========================================================= 06:59:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 06:59:36 ========================================================= [Pipeline] fileExists [Pipeline] echo 06:59:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] echo 06:59:36 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 06:59:36 f7c28725686cbfd62f6225fd09367d5909216c89 06:59:36 latest 06:59:36 3.2.0-dev.14 06:59:36 f7c28725686cbfd62f6225fd09367d5909216c89-3.2.0-dev.14 06:59:36 main 06:59:36 ===================================================== [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:59:36 + 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 . 06:59:36 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:f7c28725686cbfd62f6225fd09367d5909216c89 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:59:37 Sending build context to Docker daemon 9.031MB 06:59:37 + docker push nexus3.edgexfoundry.org:10004/device-modbus:f7c28725686cbfd62f6225fd09367d5909216c89 06:59:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:59:37 a2b4030a0b26: Preparing 06:59:37 73d33ba8ebca: Preparing 06:59:37 2bab568f53e4: Preparing 06:59:37 927f4a0afa0e: Preparing 06:59:37 5ce89b18c19d: Preparing 06:59:37 63ec0bd56cf3: Preparing 06:59:37 927f4a0afa0e: Pushed 06:59:37 a2b4030a0b26: Pushed 06:59:37 73d33ba8ebca: Pushed 06:59:37 5ce89b18c19d: Pushed 06:59:37 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:59:37 Step 2/10 : FROM ${BASE} AS builder 06:59:37 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:59:37 c6b39de5b339: Pulling fs layer 06:59:37 a69c41024577: Pulling fs layer 06:59:37 d6de4b400683: Pulling fs layer 06:59:37 35cb2a7552d0: Pulling fs layer 06:59:37 4f4fb700ef54: Pulling fs layer 06:59:37 464afbd9ba4c: Pulling fs layer 06:59:37 00f215d4a9da: Pulling fs layer 06:59:37 d496ad576159: Pulling fs layer 06:59:37 35cb2a7552d0: Waiting 06:59:37 4f4fb700ef54: Waiting 06:59:37 464afbd9ba4c: Waiting 06:59:37 00f215d4a9da: Waiting 06:59:37 d496ad576159: Waiting 06:59:37 a69c41024577: Verifying Checksum 06:59:37 a69c41024577: Download complete 06:59:37 35cb2a7552d0: Verifying Checksum 06:59:37 35cb2a7552d0: Download complete 06:59:37 4f4fb700ef54: Verifying Checksum 06:59:37 63ec0bd56cf3: Layer already exists 06:59:37 4f4fb700ef54: Download complete 06:59:37 464afbd9ba4c: Verifying Checksum 06:59:37 464afbd9ba4c: Download complete 06:59:37 c6b39de5b339: Verifying Checksum 06:59:37 c6b39de5b339: Download complete 06:59:37 d496ad576159: Verifying Checksum 06:59:37 d496ad576159: Download complete 06:59:38 c6b39de5b339: Pull complete 06:59:39 a69c41024577: Pull complete 06:59:39 d6de4b400683: Verifying Checksum 06:59:39 d6de4b400683: Download complete 06:59:40 2bab568f53e4: Pushed 06:59:40 f7c28725686cbfd62f6225fd09367d5909216c89: digest: sha256:ba58ca6de7f6cb8041635c2ec66423dfd361b1f6de6b90bd20db02c6d52537d9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:59:40 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:59:40 00f215d4a9da: Download complete 06:59:40 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 06:59:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:59:40 a2b4030a0b26: Preparing 06:59:40 73d33ba8ebca: Preparing 06:59:40 2bab568f53e4: Preparing 06:59:40 927f4a0afa0e: Preparing 06:59:40 5ce89b18c19d: Preparing 06:59:40 63ec0bd56cf3: Preparing 06:59:40 63ec0bd56cf3: Waiting 06:59:40 73d33ba8ebca: Layer already exists 06:59:40 5ce89b18c19d: Layer already exists 06:59:40 a2b4030a0b26: Layer already exists 06:59:40 927f4a0afa0e: Layer already exists 06:59:40 2bab568f53e4: Layer already exists 06:59:40 63ec0bd56cf3: Layer already exists 06:59:40 latest: digest: sha256:ba58ca6de7f6cb8041635c2ec66423dfd361b1f6de6b90bd20db02c6d52537d9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:59:41 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:59:41 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.14 06:59:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:59:41 a2b4030a0b26: Preparing 06:59:41 73d33ba8ebca: Preparing 06:59:41 2bab568f53e4: Preparing 06:59:41 927f4a0afa0e: Preparing 06:59:41 5ce89b18c19d: Preparing 06:59:41 63ec0bd56cf3: Preparing 06:59:41 63ec0bd56cf3: Waiting 06:59:41 5ce89b18c19d: Layer already exists 06:59:41 73d33ba8ebca: Layer already exists 06:59:41 927f4a0afa0e: Layer already exists 06:59:41 2bab568f53e4: Layer already exists 06:59:41 a2b4030a0b26: Layer already exists 06:59:41 63ec0bd56cf3: Layer already exists 06:59:41 3.2.0-dev.14: digest: sha256:ba58ca6de7f6cb8041635c2ec66423dfd361b1f6de6b90bd20db02c6d52537d9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:59:41 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:f7c28725686cbfd62f6225fd09367d5909216c89-3.2.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:59:42 + docker push nexus3.edgexfoundry.org:10004/device-modbus:f7c28725686cbfd62f6225fd09367d5909216c89-3.2.0-dev.14 06:59:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:59:42 a2b4030a0b26: Preparing 06:59:42 73d33ba8ebca: Preparing 06:59:42 2bab568f53e4: Preparing 06:59:42 927f4a0afa0e: Preparing 06:59:42 5ce89b18c19d: Preparing 06:59:42 63ec0bd56cf3: Preparing 06:59:42 63ec0bd56cf3: Waiting 06:59:42 5ce89b18c19d: Layer already exists 06:59:42 a2b4030a0b26: Layer already exists 06:59:42 927f4a0afa0e: Layer already exists 06:59:42 2bab568f53e4: Layer already exists 06:59:42 73d33ba8ebca: Layer already exists 06:59:42 63ec0bd56cf3: Layer already exists 06:59:42 f7c28725686cbfd62f6225fd09367d5909216c89-3.2.0-dev.14: digest: sha256:ba58ca6de7f6cb8041635c2ec66423dfd361b1f6de6b90bd20db02c6d52537d9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:59:42 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:59:42 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 06:59:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:59:42 a2b4030a0b26: Preparing 06:59:42 73d33ba8ebca: Preparing 06:59:42 2bab568f53e4: Preparing 06:59:42 927f4a0afa0e: Preparing 06:59:42 5ce89b18c19d: Preparing 06:59:42 63ec0bd56cf3: Preparing 06:59:42 63ec0bd56cf3: Waiting 06:59:42 73d33ba8ebca: Layer already exists 06:59:42 2bab568f53e4: Layer already exists 06:59:42 a2b4030a0b26: Layer already exists 06:59:42 5ce89b18c19d: Layer already exists 06:59:42 927f4a0afa0e: Layer already exists 06:59:42 63ec0bd56cf3: Layer already exists 06:59:42 main: digest: sha256:ba58ca6de7f6cb8041635c2ec66423dfd361b1f6de6b90bd20db02c6d52537d9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:59:42 ===================================================== [Pipeline] echo 06:59:42 taggedImages: 06:59:42 - nexus3.edgexfoundry.org:10004/device-modbus:f7c28725686cbfd62f6225fd09367d5909216c89 06:59:42 - nexus3.edgexfoundry.org:10004/device-modbus:latest 06:59:42 - nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.14 06:59:42 - nexus3.edgexfoundry.org:10004/device-modbus:f7c28725686cbfd62f6225fd09367d5909216c89-3.2.0-dev.14 06:59:42 - 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:59:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:59:43 06:59:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:59:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:59:43 latest: Pulling from edgex-lftools-log-publisher 06:59:43 5eb5b503b376: Pulling fs layer 06:59:43 5c69ac0246d0: Pulling fs layer 06:59:43 ec43610c2a17: Pulling fs layer 06:59:43 3a2ae6a8a46f: Pulling fs layer 06:59:43 33b1e0a273af: Pulling fs layer 06:59:43 5d3b04190fa2: Pulling fs layer 06:59:43 2f39f015ded8: Pulling fs layer 06:59:43 3a2ae6a8a46f: Waiting 06:59:43 33b1e0a273af: Waiting 06:59:43 5d3b04190fa2: Waiting 06:59:43 2f39f015ded8: Waiting 06:59:43 5c69ac0246d0: Download complete 06:59:43 3a2ae6a8a46f: Verifying Checksum 06:59:43 3a2ae6a8a46f: Download complete 06:59:43 33b1e0a273af: Verifying Checksum 06:59:43 33b1e0a273af: Download complete 06:59:43 5d3b04190fa2: Verifying Checksum 06:59:43 5d3b04190fa2: Download complete 06:59:43 ec43610c2a17: Verifying Checksum 06:59:43 ec43610c2a17: Download complete 06:59:43 5eb5b503b376: Verifying Checksum 06:59:43 5eb5b503b376: Download complete 06:59:44 2f39f015ded8: Download complete 06:59:45 5eb5b503b376: Pull complete 06:59:45 5c69ac0246d0: Pull complete 06:59:45 ec43610c2a17: Pull complete 06:59:45 3a2ae6a8a46f: Pull complete 06:59:45 33b1e0a273af: Pull complete 06:59:46 5d3b04190fa2: Pull complete 06:59:50 2f39f015ded8: Pull complete 06:59:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:59:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:59:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:59:50 prd-ubuntu20.04-docker-8c-8g-4334 does not seem to be running inside a container 06:59:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:59:53 d6de4b400683: Pull complete 06:59:53 35cb2a7552d0: Pull complete 06:59:53 4f4fb700ef54: Pull complete 06:59:53 464afbd9ba4c: Pull complete 06:59:55 $ docker top 74f98d4525ef2500531bca49de05455d4ecaf0347953b3c39dcd465f72f9ecc2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:59:55 ---> job-cost.sh 06:59:55 lf-activate-venv: SKIPPING 06:59:55 INFO: No Stack... 06:59:56 INFO: Retrieving Pricing Info for: v3-standard-8 06:59:56 INFO: Archiving Costs [Pipeline] sh 06:59:56 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 06:59:56 + cut -d, -f6 [Pipeline] lock 06:59:56 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-153-stack-cost] 06:59:57 Resource [jenkins-edgexfoundry-device-modbus-go-main-153-stack-cost] did not exist. Created. 06:59:57 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-153-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:59:57 + echo total: 0.2199999988079071 [Pipeline] stash 06:59:57 Stashed 1 file(s) [Pipeline] } 06:59:57 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-153-stack-cost] [Pipeline] // lock [Pipeline] } 06:59:57 $ docker stop --time=1 74f98d4525ef2500531bca49de05455d4ecaf0347953b3c39dcd465f72f9ecc2 06:59:58 $ docker rm -f --volumes 74f98d4525ef2500531bca49de05455d4ecaf0347953b3c39dcd465f72f9ecc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:00:01 00f215d4a9da: Pull complete 07:00:02 d496ad576159: Pull complete 07:00:02 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 07:00:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 07:00:02 ---> f246e2811388 07:00:02 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:00:04 ---> Running in aeeb1ddccbac 07:00:04 Removing intermediate container aeeb1ddccbac 07:00:04 ---> 61afb87358e0 07:00:04 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:00:04 ---> Running in 0442d9401517 07:00:04 Removing intermediate container 0442d9401517 07:00:04 ---> 7dc723815bdf 07:00:04 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:00:05 ---> Running in 68cfecce9e78 07:00:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:00:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:00:07 (1/8) Installing openssh-keygen (9.3_p2-r1) 07:00:07 (2/8) Installing libedit (20221030.3.1-r1) 07:00:07 (3/8) Installing openssh-client-common (9.3_p2-r1) 07:00:07 (4/8) Installing openssh-client-default (9.3_p2-r1) 07:00:07 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 07:00:07 (6/8) Installing openssh-server-common (9.3_p2-r1) 07:00:07 (7/8) Installing openssh-server (9.3_p2-r1) 07:00:07 (8/8) Installing openssh (9.3_p2-r1) 07:00:07 Executing busybox-1.36.1-r5.trigger 07:00:07 OK: 272 MiB in 60 packages 07:00:08 Removing intermediate container 68cfecce9e78 07:00:08 ---> 6f6953d97bf4 07:00:08 Step 6/10 : WORKDIR /device-modbus-go 07:00:08 ---> Running in a3385cd7bc66 07:00:09 Removing intermediate container a3385cd7bc66 07:00:09 ---> 4d54386a8594 07:00:09 Step 7/10 : COPY go.mod vendor* ./ 07:00:09 ---> 2a4e729ad685 07:00:09 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:00:09 ---> Running in c71a237704d9 07:02:01 Removing intermediate container c71a237704d9 07:02:01 ---> bd5cc0eb4381 07:02:01 Step 9/10 : COPY . . 07:02:01 ---> d1778d8de805 07:02:01 Step 10/10 : RUN ${MAKE} 07:02:01 ---> Running in 943ad69a6aee 07:02:01 noop 07:02:01 Removing intermediate container 943ad69a6aee 07:02:01 ---> 6b8a32e285c1 07:02:01 Successfully built 6b8a32e285c1 07:02:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:02:02 + docker inspect -f . ci-base-image-arm64 07:02:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:02:02 prd-ubuntu20.04-docker-arm64-4c-16g-4335 does not seem to be running inside a container 07:02:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/153 -v /w/workspace/device-modbus-go/153:/w/workspace/device-modbus-go/153:rw,z -v /w/workspace/device-modbus-go/153@tmp:/w/workspace/device-modbus-go/153@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 07:02:03 $ docker top 8b8d38a78d1519fcfe44376eaeefb6e7b7b797c480fb59246d735fe1bc3a0b4f -eo pid,comm [Pipeline] { [Pipeline] sh 07:02:04 + go version 07:02:04 go version go1.21.9 linux/arm64 [Pipeline] } 07:02:04 $ docker stop --time=1 8b8d38a78d1519fcfe44376eaeefb6e7b7b797c480fb59246d735fe1bc3a0b4f 07:02:06 $ docker rm -f --volumes 8b8d38a78d1519fcfe44376eaeefb6e7b7b797c480fb59246d735fe1bc3a0b4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:02:06 + docker inspect -f . ci-base-image-arm64 07:02:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:02:06 prd-ubuntu20.04-docker-arm64-4c-16g-4335 does not seem to be running inside a container 07:02:07 $ 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/153 -v /w/workspace/device-modbus-go/153:/w/workspace/device-modbus-go/153:rw,z -v /w/workspace/device-modbus-go/153@tmp:/w/workspace/device-modbus-go/153@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 07:02:08 $ docker top 4a0d90ba4f859bb6427c94c1309ad6ef35a85591888dcc0132592817e47676d5 -eo pid,comm [Pipeline] { [Pipeline] sh 07:02:09 + git config --global --add safe.directory /w/workspace/device-modbus-go/153 [Pipeline] fileExists [Pipeline] sh 07:02:09 + make test 07:02:09 go test ./... -coverprofile=coverage.out 07:02:16 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:05:38 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:05:38 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.057s coverage: 47.9% of statements 07:05:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:05:38 go vet ./... 07:06:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:06:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:06:25 ./bin/test-attribution-txt.sh 07:06:25 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 07:06:25 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 07:06:25 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 07:06:25 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 07:06:25 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 07:06:25 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 07:06:25 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 07:06:25 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 07:06:25 An attribution for golang.org/x/term is missing from Attribution.txt, please add 07:06:25 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 07:06:25 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 07:06:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:06:25 $ docker stop --time=1 4a0d90ba4f859bb6427c94c1309ad6ef35a85591888dcc0132592817e47676d5 07:06:27 $ docker rm -f --volumes 4a0d90ba4f859bb6427c94c1309ad6ef35a85591888dcc0132592817e47676d5 [Pipeline] // withDockerContainer [Pipeline] sh 07:06:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:06:28 Warning: overwriting stash ‘coverage-report’ 07:06:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:06:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:06:30 + ls -al . 07:06:30 total 260 07:06:30 drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 07:02 . 07:06:30 drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 06:59 .. 07:06:30 -rw-rw-r-- 1 jenkins jenkins 140 Jun 25 06:59 .dockerignore 07:06:30 drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 06:59 .git 07:06:30 drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 06:59 .github 07:06:30 -rw-rw-r-- 1 jenkins jenkins 266 Jun 25 06:59 .gitignore 07:06:30 -rw-rw-r-- 1 jenkins jenkins 41 Jun 25 06:59 .golangci.yml 07:06:30 -rw-rw-r-- 1 jenkins jenkins 11101 Jun 25 06:59 Attribution.txt 07:06:30 -rw-rw-r-- 1 jenkins jenkins 16388 Jun 25 06:59 CHANGELOG.md 07:06:30 -rw-rw-r-- 1 jenkins jenkins 1474 Jun 25 06:59 Dockerfile 07:06:30 -rw-rw-r-- 1 jenkins jenkins 677 Jun 25 06:59 GOVERNANCE.md 07:06:30 -rw-rw-r-- 1 jenkins jenkins 658 Jun 25 06:59 Jenkinsfile 07:06:30 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 25 06:59 LICENSE 07:06:30 -rw-rw-r-- 1 jenkins jenkins 1942 Jun 25 06:59 Makefile 07:06:30 -rw-rw-r-- 1 jenkins jenkins 622 Jun 25 06:59 OWNERS.md 07:06:30 -rw-rw-r-- 1 jenkins jenkins 4463 Jun 25 06:59 README.md 07:06:30 -rw-rw-r-- 1 jenkins jenkins 12 Jun 25 06:56 VERSION 07:06:30 drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 06:59 bin 07:06:30 drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 06:59 cmd 07:06:30 -rw-r--r-- 1 jenkins jenkins 24601 Jun 25 07:05 coverage.out 07:06:30 -rw-rw-r-- 1 jenkins jenkins 7241 Jun 25 06:59 go.mod 07:06:30 -rw-rw-r-- 1 jenkins jenkins 102291 Jun 25 06:59 go.sum 07:06:30 drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 06:59 internal 07:06:30 drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 06:59 simulator 07:06:30 -rw-rw-r-- 1 jenkins jenkins 229 Jun 25 06:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:06:30 + 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=f7c28725686cbfd62f6225fd09367d5909216c89 --label arch=arm64 --label version=3.2.0-dev.14 . 07:06:30 Sending build context to Docker daemon 9.056MB 07:06:30 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 07:06:30 Step 2/23 : FROM ${BASE} AS builder 07:06:30 ---> 6b8a32e285c1 07:06:30 Step 3/23 : ARG ADD_BUILD_TAGS="" 07:06:30 ---> Running in 1f5388ca235b 07:06:31 Removing intermediate container 1f5388ca235b 07:06:31 ---> 6451bcf83bd5 07:06:31 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:06:31 ---> Running in e0759676ec65 07:06:31 Removing intermediate container e0759676ec65 07:06:31 ---> 6bf5949a32a1 07:06:31 Step 5/23 : RUN apk add --update --no-cache make git openssh 07:06:31 ---> Running in 506c3de32690 07:06:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:06:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:06:34 OK: 272 MiB in 60 packages 07:06:35 Removing intermediate container 506c3de32690 07:06:35 ---> f4cdce3fc921 07:06:35 Step 6/23 : WORKDIR /device-modbus-go 07:06:35 ---> Running in 1c7e7769d135 07:06:35 Removing intermediate container 1c7e7769d135 07:06:35 ---> 4cfdd993555f 07:06:35 Step 7/23 : COPY go.mod vendor* ./ 07:06:36 ---> a2500588a906 07:06:36 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:06:36 ---> Running in 4a614672287f 07:06:38 Removing intermediate container 4a614672287f 07:06:38 ---> b6aa8d7ed2d2 07:06:38 Step 9/23 : COPY . . 07:06:39 ---> 6375965fb578 07:06:39 Step 10/23 : RUN ${MAKE} 07:06:39 ---> Running in 25da12979493 07:06:40 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.18" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 07:10:17 Removing intermediate container 25da12979493 07:10:17 ---> 2c4d188c168c 07:10:17 Step 11/23 : FROM alpine:3.18 07:10:17 3.18: Pulling from library/alpine 07:10:17 5c905c7ebe2f: Pulling fs layer 07:10:17 5c905c7ebe2f: Download complete 07:10:17 5c905c7ebe2f: Pull complete 07:10:17 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 07:10:17 Status: Downloaded newer image for alpine:3.18 07:10:17 ---> dec292d02e07 07:10:17 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:10:17 ---> Running in c4d7969f3b80 07:10:17 Removing intermediate container c4d7969f3b80 07:10:17 ---> 94ac7800bd8b 07:10:17 Step 13/23 : RUN apk add --update --no-cache dumb-init 07:10:17 ---> Running in 2c0467535422 07:10:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:10:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:10:17 (1/1) Installing dumb-init (1.2.5-r2) 07:10:17 Executing busybox-1.36.1-r7.trigger 07:10:17 OK: 8 MiB in 16 packages 07:10:17 Removing intermediate container 2c0467535422 07:10:17 ---> 9bed39e04dc2 07:10:17 Step 14/23 : RUN apk --no-cache upgrade 07:10:17 ---> Running in 8d0796d5f473 07:10:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:10:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:10:17 OK: 8 MiB in 16 packages 07:10:17 Removing intermediate container 8d0796d5f473 07:10:17 ---> b343d832398f 07:10:17 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 07:10:17 ---> 9b451f655471 07:10:17 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 07:10:17 ---> 062aec71b1a3 07:10:17 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:10:18 ---> a5199d679f34 07:10:18 Step 18/23 : EXPOSE 59901 07:10:18 ---> Running in d6e158837502 07:10:18 Removing intermediate container d6e158837502 07:10:18 ---> 87e1ef08404b 07:10:18 Step 19/23 : ENTRYPOINT ["/device-modbus"] 07:10:18 ---> Running in a914fb895a41 07:10:19 Removing intermediate container a914fb895a41 07:10:19 ---> fe7da67c9c13 07:10:19 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:10:19 ---> Running in 1785c1faa915 07:10:19 Removing intermediate container 1785c1faa915 07:10:19 ---> ad68492778fd 07:10:19 Step 21/23 : LABEL arch=arm64 07:10:19 ---> Running in 739f847b4da2 07:10:20 Removing intermediate container 739f847b4da2 07:10:20 ---> 3b484f37d7ef 07:10:20 Step 22/23 : LABEL git_sha=f7c28725686cbfd62f6225fd09367d5909216c89 07:10:20 ---> Running in ac55678a958b 07:10:20 Removing intermediate container ac55678a958b 07:10:20 ---> 1f3796513c84 07:10:20 Step 23/23 : LABEL version=3.2.0-dev.14 07:10:20 ---> Running in b3f5655294ed 07:10:20 Removing intermediate container b3f5655294ed 07:10:20 ---> 4b52daa567ec 07:10:20 [Warning] One or more build-args [ARCH] were not consumed 07:10:20 Successfully built 4b52daa567ec 07:10:20 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:10:21 provisioning config files... 07:10:21 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/153@tmp/config17171326051257338828tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:10:21 ---> ****-login.sh 07:10:21 nexus3.edgexfoundry.org:10001 07:10:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:10:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:10:21 Configure a credential helper to remove this warning. See 07:10:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:10:21 07:10:21 Login Succeeded 07:10:21 nexus3.edgexfoundry.org:10002 07:10:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:10:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:10:21 Configure a credential helper to remove this warning. See 07:10:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:10:21 07:10:21 Login Succeeded 07:10:22 nexus3.edgexfoundry.org:10003 07:10:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:10:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:10:22 Configure a credential helper to remove this warning. See 07:10:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:10:22 07:10:22 Login Succeeded 07:10:22 nexus3.edgexfoundry.org:10004 07:10:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:10:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:10:22 Configure a credential helper to remove this warning. See 07:10:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:10:22 07:10:22 Login Succeeded 07:10:22 ****.io 07:10:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:10:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:10:23 Configure a credential helper to remove this warning. See 07:10:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:10:23 07:10:23 Login Succeeded 07:10:23 ---> ****-login.sh ends [Pipeline] } 07:10:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:10:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:10:23 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 07:10:23 f7c28725686cbfd62f6225fd09367d5909216c89 07:10:23 latest 07:10:23 3.2.0-dev.14 07:10:23 f7c28725686cbfd62f6225fd09367d5909216c89-3.2.0-dev.14 07:10:23 main 07:10:23 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:23 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:f7c28725686cbfd62f6225fd09367d5909216c89 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:24 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:f7c28725686cbfd62f6225fd09367d5909216c89 07:10:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:10:24 beaed17d83f7: Preparing 07:10:24 54273835e625: Preparing 07:10:24 e8a4ff48bef4: Preparing 07:10:24 fb2bab510973: Preparing 07:10:24 7743a93a8a12: Preparing 07:10:24 da707bb00cb8: Preparing 07:10:24 da707bb00cb8: Waiting 07:10:24 beaed17d83f7: Pushed 07:10:24 fb2bab510973: Pushed 07:10:24 7743a93a8a12: Pushed 07:10:24 54273835e625: Pushed 07:10:24 da707bb00cb8: Layer already exists 07:10:31 e8a4ff48bef4: Pushed 07:10:31 f7c28725686cbfd62f6225fd09367d5909216c89: digest: sha256:544f43cb02e95f8c5903aba4e733e1e4189a734aaa363315bb1d893f3b769379 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:31 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:31 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 07:10:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:10:31 beaed17d83f7: Preparing 07:10:31 54273835e625: Preparing 07:10:31 e8a4ff48bef4: Preparing 07:10:31 fb2bab510973: Preparing 07:10:31 7743a93a8a12: Preparing 07:10:31 da707bb00cb8: Preparing 07:10:31 da707bb00cb8: Waiting 07:10:31 fb2bab510973: Layer already exists 07:10:31 7743a93a8a12: Layer already exists 07:10:31 beaed17d83f7: Layer already exists 07:10:31 e8a4ff48bef4: Layer already exists 07:10:31 54273835e625: Layer already exists 07:10:31 da707bb00cb8: Layer already exists 07:10:32 latest: digest: sha256:544f43cb02e95f8c5903aba4e733e1e4189a734aaa363315bb1d893f3b769379 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:32 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:32 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.14 07:10:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:10:32 beaed17d83f7: Preparing 07:10:32 54273835e625: Preparing 07:10:32 e8a4ff48bef4: Preparing 07:10:32 fb2bab510973: Preparing 07:10:32 7743a93a8a12: Preparing 07:10:32 da707bb00cb8: Preparing 07:10:32 da707bb00cb8: Waiting 07:10:32 7743a93a8a12: Layer already exists 07:10:32 beaed17d83f7: Layer already exists 07:10:32 e8a4ff48bef4: Layer already exists 07:10:32 54273835e625: Layer already exists 07:10:32 fb2bab510973: Layer already exists 07:10:32 da707bb00cb8: Layer already exists 07:10:32 3.2.0-dev.14: digest: sha256:544f43cb02e95f8c5903aba4e733e1e4189a734aaa363315bb1d893f3b769379 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:33 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:f7c28725686cbfd62f6225fd09367d5909216c89-3.2.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:33 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:f7c28725686cbfd62f6225fd09367d5909216c89-3.2.0-dev.14 07:10:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:10:33 beaed17d83f7: Preparing 07:10:33 54273835e625: Preparing 07:10:33 e8a4ff48bef4: Preparing 07:10:33 fb2bab510973: Preparing 07:10:33 7743a93a8a12: Preparing 07:10:33 da707bb00cb8: Preparing 07:10:33 da707bb00cb8: Waiting 07:10:33 7743a93a8a12: Layer already exists 07:10:33 fb2bab510973: Layer already exists 07:10:33 e8a4ff48bef4: Layer already exists 07:10:33 54273835e625: Layer already exists 07:10:33 beaed17d83f7: Layer already exists 07:10:33 da707bb00cb8: Layer already exists 07:10:33 f7c28725686cbfd62f6225fd09367d5909216c89-3.2.0-dev.14: digest: sha256:544f43cb02e95f8c5903aba4e733e1e4189a734aaa363315bb1d893f3b769379 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:34 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:34 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 07:10:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:10:34 beaed17d83f7: Preparing 07:10:34 54273835e625: Preparing 07:10:34 e8a4ff48bef4: Preparing 07:10:34 fb2bab510973: Preparing 07:10:34 7743a93a8a12: Preparing 07:10:34 da707bb00cb8: Preparing 07:10:34 da707bb00cb8: Waiting 07:10:34 beaed17d83f7: Layer already exists 07:10:34 fb2bab510973: Layer already exists 07:10:34 7743a93a8a12: Layer already exists 07:10:34 e8a4ff48bef4: Layer already exists 07:10:34 54273835e625: Layer already exists 07:10:34 da707bb00cb8: Layer already exists 07:10:34 main: digest: sha256:544f43cb02e95f8c5903aba4e733e1e4189a734aaa363315bb1d893f3b769379 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:10:35 ===================================================== [Pipeline] echo 07:10:35 taggedImages: 07:10:35 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:f7c28725686cbfd62f6225fd09367d5909216c89 07:10:35 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 07:10:35 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.14 07:10:35 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:f7c28725686cbfd62f6225fd09367d5909216c89-3.2.0-dev.14 07:10:35 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:10:35 07:10:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:10:35 arm64: Pulling from edgex-lftools-log-publisher 07:10:35 8998bd30e6a1: Pulling fs layer 07:10:35 04944245beec: Pulling fs layer 07:10:35 699f458cf7ca: Pulling fs layer 07:10:35 765212b225bb: Pulling fs layer 07:10:35 f23df028b6ca: Pulling fs layer 07:10:35 d65c8cfc05b1: Pulling fs layer 07:10:35 2437ff75d9bd: Pulling fs layer 07:10:35 765212b225bb: Waiting 07:10:35 f23df028b6ca: Waiting 07:10:35 2437ff75d9bd: Waiting 07:10:35 d65c8cfc05b1: Waiting 07:10:36 04944245beec: Verifying Checksum 07:10:36 04944245beec: Download complete 07:10:36 765212b225bb: Verifying Checksum 07:10:36 765212b225bb: Download complete 07:10:36 f23df028b6ca: Verifying Checksum 07:10:36 f23df028b6ca: Download complete 07:10:36 d65c8cfc05b1: Verifying Checksum 07:10:36 d65c8cfc05b1: Download complete 07:10:36 699f458cf7ca: Verifying Checksum 07:10:36 699f458cf7ca: Download complete 07:10:36 8998bd30e6a1: Verifying Checksum 07:10:36 8998bd30e6a1: Download complete 07:10:39 2437ff75d9bd: Verifying Checksum 07:10:39 2437ff75d9bd: Download complete 07:10:41 8998bd30e6a1: Pull complete 07:10:42 04944245beec: Pull complete 07:10:43 699f458cf7ca: Pull complete 07:10:43 765212b225bb: Pull complete 07:10:44 f23df028b6ca: Pull complete 07:10:44 d65c8cfc05b1: Pull complete 07:11:03 2437ff75d9bd: Pull complete 07:11:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:11:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:11:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:11:03 prd-ubuntu20.04-docker-arm64-4c-16g-4335 does not seem to be running inside a container 07:11:03 $ 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/153 -v /w/workspace/device-modbus-go/153:/w/workspace/device-modbus-go/153:rw,z -v /w/workspace/device-modbus-go/153@tmp:/w/workspace/device-modbus-go/153@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 07:11:06 $ docker top 23544a590f2c8313ec2380e567297074d4efccfdfba7b61c29b47a56fa05e251 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:11:06 ---> job-cost.sh 07:11:06 lf-activate-venv: SKIPPING 07:11:06 INFO: No Stack... 07:11:07 INFO: Retrieving Pricing Info for: v3-standard-4 07:11:08 INFO: Archiving Costs [Pipeline] sh 07:11:08 + cat /w/workspace/device-modbus-go/153/archives/cost.csv 07:11:08 + cut -d, -f6 [Pipeline] lock 07:11:08 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-153-stack-cost] 07:11:08 Resource [jenkins-edgexfoundry-device-modbus-go-main-153-stack-cost] did not exist. Created. 07:11:08 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-153-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:11:09 /w/workspace/device-modbus-go/153@tmp/durable-2781703e/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:11:09 + echo total: 0.10999999940395355 [Pipeline] stash 07:11:09 Warning: overwriting stash ‘stack-cost’ 07:11:09 Stashed 1 file(s) [Pipeline] } 07:11:09 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-153-stack-cost] [Pipeline] // lock [Pipeline] } 07:11:10 $ docker stop --time=1 23544a590f2c8313ec2380e567297074d4efccfdfba7b61c29b47a56fa05e251 07:11:11 $ docker rm -f --volumes 23544a590f2c8313ec2380e567297074d4efccfdfba7b61c29b47a56fa05e251 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 07:11:12 provisioning config files... 07:11:12 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13865856423276902464tmp [Pipeline] { [Pipeline] sh 07:11:12 + set +x 07:11:12 + bash -s -- 07:11:12 + curl -s https://codecov.io/bash 07:11:12 07:11:12 _____ _ 07:11:12 / ____| | | 07:11:12 | | ___ __| | ___ ___ _____ __ 07:11:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:11:12 | |___| (_) | (_| | __/ (_| (_) \ V / 07:11:12 \_____\___/ \__,_|\___|\___\___/ \_/ 07:11:12 Bash-1.0.6 07:11:12 07:11:12 07:11:12 ==> git version 2.25.1 found 07:11:12 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 07:11:12 Release-Date: 2020-01-08 07:11:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:11:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:11:12 ==> Jenkins CI detected. 07:11:12 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 07:11:12 project root: . 07:11:12 --> token set from env 07:11:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:11:12 ==> Running gcov in . (disable via -X gcov) 07:11:12 ==> Python coveragepy not found 07:11:12 ==> Searching for coverage reports in: 07:11:12 + . 07:11:12 -> Found 1 reports 07:11:12 ==> Detecting git/mercurial file structure 07:11:12 ==> Reading reports 07:11:12 + ./coverage.out bytes=24601 07:11:12 ==> Appending adjustments 07:11:12 https://docs.codecov.io/docs/fixing-reports 07:11:12 + Found adjustments 07:11:12 ==> Gzipping contents 07:11:12 4.0K /tmp/codecov.D3J2ie.gz 07:11:12 ==> Uploading reports 07:11:12 url: https://codecov.io 07:11:12 query: branch=main&commit=f7c28725686cbfd62f6225fd09367d5909216c89&build=153&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F153%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:11:12 -> Pinging Codecov 07:11:12 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=f7c28725686cbfd62f6225fd09367d5909216c89&build=153&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F153%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:11:12 -> Uploading to 07:11:12 https://storage.googleapis.com/codecov/v4/raw/2024-06-25/55DBCA73C666E3227836607328DD7E49/f7c28725686cbfd62f6225fd09367d5909216c89/783adbde-4312-4e11-be46-c09b290005f8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240625%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240625T071112Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4e6a400ce1c205e207dd2d68ee2c6ebbcafb0a219f1b190ca9f03a0158893f3e 07:11:12 % Total % Received % Xferd Average Speed Time Time Time Current 07:11:12 Dload Upload Total Spent Left Speed 07:11:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 15621 --:--:-- --:--:-- --:--:-- 15621 07:11:13 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/f7c28725686cbfd62f6225fd09367d5909216c89 [Pipeline] } 07:11:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:11:13 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:11:13 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:11:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:11:13 07:11:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:11:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:11:14 latest: Pulling from edgex-devops/edgex-snyk-go 07:11:14 619be1103602: Already exists 07:11:14 f8ea3408117e: Pulling fs layer 07:11:14 91320369b822: Pulling fs layer 07:11:14 0406650e8295: Pulling fs layer 07:11:14 4f4fb700ef54: Pulling fs layer 07:11:14 96d80e3f36e1: Pulling fs layer 07:11:14 4f4fb700ef54: Waiting 07:11:14 96d80e3f36e1: Waiting 07:11:14 bcf3aedb951c: Pulling fs layer 07:11:14 bcf3aedb951c: Waiting 07:11:14 0406650e8295: Verifying Checksum 07:11:14 0406650e8295: Download complete 07:11:14 4f4fb700ef54: Verifying Checksum 07:11:14 4f4fb700ef54: Download complete 07:11:14 f8ea3408117e: Verifying Checksum 07:11:14 f8ea3408117e: Pull complete 07:11:14 96d80e3f36e1: Verifying Checksum 07:11:14 96d80e3f36e1: Download complete 07:11:14 91320369b822: Verifying Checksum 07:11:14 91320369b822: Download complete 07:11:15 bcf3aedb951c: Verifying Checksum 07:11:15 bcf3aedb951c: Download complete 07:11:17 91320369b822: Pull complete 07:11:17 0406650e8295: Pull complete 07:11:17 4f4fb700ef54: Pull complete 07:11:17 96d80e3f36e1: Pull complete 07:11:21 bcf3aedb951c: Pull complete 07:11:21 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 07:11:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:11:21 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:11:21 prd-ubuntu20.04-docker-8c-8g-4334 does not seem to be running inside a container 07:11:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 07:11:24 $ docker top 9c19e7b3c528efb4b8795786ae4a1d18f8bb4c12409c20f17e0d6fdbace05bea -eo pid,comm [Pipeline] { [Pipeline] sh 07:11:24 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] echo 07:11:24 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 07:11:24 + set -o pipefail 07:11:24 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 07:11:37 07:11:37 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 07:11:37 07:11:37 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0a0805b9-8982-40eb-8dbc-845f1ef902a3/history/0008514e-2278-4336-afd7-724416838884 07:11:37 07:11:37 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 07:11:37 07:11:37 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:11:37 07:11:39 07:11:39 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 07:11:39 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 07:11:40 $ docker stop --time=1 9c19e7b3c528efb4b8795786ae4a1d18f8bb4c12409c20f17e0d6fdbace05bea 07:11:44 $ docker rm -f --volumes 9c19e7b3c528efb4b8795786ae4a1d18f8bb4c12409c20f17e0d6fdbace05bea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:11:45 + git log --format=format:%s -1 f7c28725686cbfd62f6225fd09367d5909216c89 [Pipeline] sh 07:11:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:11:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:11:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:11:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:11:46 prd-ubuntu20.04-docker-8c-8g-4334 does not seem to be running inside a container 07:11:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:11:46 $ docker top 7345a4d30df15417313ec6816a6671f352eeb7bd35e11b09d82918120a948d92 -eo pid,comm 07:11:46 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:11:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:11:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:11:46 [ssh-agent] Looking for ssh-agent implementation... 07:11:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:11:46 $ docker exec 7345a4d30df15417313ec6816a6671f352eeb7bd35e11b09d82918120a948d92 ssh-agent 07:11:46 SSH_AUTH_SOCK=/tmp/ssh-8N7RbWf0Meib/agent.32 07:11:46 SSH_AGENT_PID=38 07:11:47 Running ssh-add (command line suppressed) 07:11:47 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2500593657936418569.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2500593657936418569.key) 07:11:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:11:47 + git semver tag 07:11:47 2024-06-25 07:11:47,599 [run_tag] DEBUG tag force:False 07:11:47 2024-06-25 07:11:47,599 [check_head_tag] DEBUG check head tag 07:11:47 2024-06-25 07:11:47,600 [execute] INFO git cat-file --batch-check 07:11:47 2024-06-25 07:11:47,600 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 07:11:47 2024-06-25 07:11:47,603 [execute] INFO git cat-file --batch 07:11:47 2024-06-25 07:11:47,604 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 07:11:47 2024-06-25 07:11:47,619 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:11:47 2024-06-25 07:11:47,620 [execute] INFO git tag -a v3.2.0-dev.14 -m v3.2.0-dev.14 07:11:47 2024-06-25 07:11:47,620 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.14', '-m', 'v3.2.0-dev.14'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 07:11:47 2024-06-25 07:11:47,625 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:11:47 3.2.0-dev.14 [Pipeline] } 07:11:47 $ docker exec --env ******** --env ******** 7345a4d30df15417313ec6816a6671f352eeb7bd35e11b09d82918120a948d92 ssh-agent -k 07:11:47 unset SSH_AUTH_SOCK; 07:11:47 unset SSH_AGENT_PID; 07:11:47 echo Agent pid 38 killed; 07:11:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:11:48 + git semver [Pipeline] } 07:11:48 $ docker stop --time=1 7345a4d30df15417313ec6816a6671f352eeb7bd35e11b09d82918120a948d92 07:11:49 $ docker rm -f --volumes 7345a4d30df15417313ec6816a6671f352eeb7bd35e11b09d82918120a948d92 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:11:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:11:50 07:11:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:11:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:11:50 0.23.1-centos7: Pulling from edgex-lftools 07:11:50 ab5ef0e58194: Pulling fs layer 07:11:50 9712f1f96733: Pulling fs layer 07:11:50 63f879dbbcfc: Pulling fs layer 07:11:50 0d9ebad4ef96: Pulling fs layer 07:11:50 e9a5061849ea: Pulling fs layer 07:11:50 d747dcd14b5f: Pulling fs layer 07:11:50 2de7ff778b66: Pulling fs layer 07:11:50 0d9ebad4ef96: Waiting 07:11:50 e9a5061849ea: Waiting 07:11:50 d747dcd14b5f: Waiting 07:11:50 2de7ff778b66: Waiting 07:11:50 9712f1f96733: Download complete 07:11:50 63f879dbbcfc: Verifying Checksum 07:11:50 63f879dbbcfc: Download complete 07:11:50 e9a5061849ea: Verifying Checksum 07:11:50 e9a5061849ea: Download complete 07:11:50 d747dcd14b5f: Verifying Checksum 07:11:50 d747dcd14b5f: Download complete 07:11:50 0d9ebad4ef96: Verifying Checksum 07:11:50 0d9ebad4ef96: Download complete 07:11:50 ab5ef0e58194: Download complete 07:11:50 2de7ff778b66: Verifying Checksum 07:11:50 2de7ff778b66: Download complete 07:11:54 ab5ef0e58194: Pull complete 07:11:54 9712f1f96733: Pull complete 07:11:54 63f879dbbcfc: Pull complete 07:11:58 0d9ebad4ef96: Pull complete 07:11:58 e9a5061849ea: Pull complete 07:11:59 d747dcd14b5f: Pull complete 07:12:00 2de7ff778b66: Pull complete 07:12:00 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:12:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:12:00 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:12:00 prd-ubuntu20.04-docker-8c-8g-4334 does not seem to be running inside a container 07:12:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:12:05 $ docker top 7d3f119afa00c3540c0d933c7065501605c648037d288899634eef4e7f1040e3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:12:05 provisioning config files... 07:12:05 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2294474202001475439tmp 07:12:05 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11995288678310387356tmp 07:12:05 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14376747187924631051tmp [Pipeline] { [Pipeline] echo 07:12:05 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:12:05 ---> sigul-configuration.sh 07:12:05 gpg: directory `/root/.gnupg' created 07:12:05 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:12:05 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:12:05 gpg: keyring `/root/.gnupg/secring.gpg' created 07:12:05 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:12:05 gpg: CAST5 encrypted data 07:12:05 gpg: encrypted with 1 passphrase 07:12:05 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:12:06 + mkdir /home/jenkins 07:12:06 + mkdir /home/jenkins/sigul [Pipeline] sh 07:12:06 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 07:12:06 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:12:06 ---> sigul-install.sh 07:12:06 Sigul already installed; skipping installation. [Pipeline] sh 07:12:06 + git tag --list 07:12:06 0.7.1 07:12:06 v1.0.0 07:12:06 v1.1.0 07:12:06 v1.1.1 07:12:06 v1.2.2 07:12:06 v1.3.0 07:12:06 v1.3.1 07:12:06 v2.0.0 07:12:06 v2.1.0 07:12:06 v2.1.1 07:12:06 v2.2.0 07:12:06 v2.3.0 07:12:06 v3.0 07:12:06 v3.0.0 07:12:06 v3.1 07:12:06 v3.1.0 07:12:06 v3.1.0-dev.1 07:12:06 v3.1.0-dev.10 07:12:06 v3.1.0-dev.11 07:12:06 v3.1.0-dev.12 07:12:06 v3.1.0-dev.13 07:12:06 v3.1.0-dev.14 07:12:06 v3.1.0-dev.15 07:12:06 v3.1.0-dev.16 07:12:06 v3.1.0-dev.17 07:12:06 v3.1.0-dev.18 07:12:06 v3.1.0-dev.19 07:12:06 v3.1.0-dev.2 07:12:06 v3.1.0-dev.20 07:12:06 v3.1.0-dev.21 07:12:06 v3.1.0-dev.22 07:12:06 v3.1.0-dev.23 07:12:06 v3.1.0-dev.24 07:12:06 v3.1.0-dev.25 07:12:06 v3.1.0-dev.3 07:12:06 v3.1.0-dev.4 07:12:06 v3.1.0-dev.5 07:12:06 v3.1.0-dev.6 07:12:06 v3.1.0-dev.7 07:12:06 v3.1.0-dev.8 07:12:06 v3.1.0-dev.9 07:12:06 v3.1.1 07:12:06 v3.1.1-dev.1 07:12:06 v3.2.0-dev.1 07:12:06 v3.2.0-dev.10 07:12:06 v3.2.0-dev.11 07:12:06 v3.2.0-dev.12 07:12:06 v3.2.0-dev.13 07:12:06 v3.2.0-dev.14 07:12:06 v3.2.0-dev.2 07:12:06 v3.2.0-dev.3 07:12:06 v3.2.0-dev.4 07:12:06 v3.2.0-dev.5 07:12:06 v3.2.0-dev.6 07:12:06 v3.2.0-dev.7 07:12:06 v3.2.0-dev.8 07:12:06 v3.2.0-dev.9 [Pipeline] sh 07:12:07 + lftools sign git-tag v3.2.0-dev.14 07:12:07 Signing Git tag with Sigul... 07:12:07 Signing v3.2.0-dev.14 [Pipeline] echo 07:12:08 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:12:08 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:12:08 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:12:08 $ docker stop --time=1 7d3f119afa00c3540c0d933c7065501605c648037d288899634eef4e7f1040e3 07:12:09 $ docker rm -f --volumes 7d3f119afa00c3540c0d933c7065501605c648037d288899634eef4e7f1040e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:12:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:12:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:12:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:12:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:12:10 prd-ubuntu20.04-docker-8c-8g-4334 does not seem to be running inside a container 07:12:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:12:10 $ docker top 560d733413a9ed3edf3e04946ccbfbddb9726452662be49862cf7f4592e09a07 -eo pid,comm 07:12:11 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:12:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:12:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:12:11 [ssh-agent] Looking for ssh-agent implementation... 07:12:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:12:11 $ docker exec 560d733413a9ed3edf3e04946ccbfbddb9726452662be49862cf7f4592e09a07 ssh-agent 07:12:11 SSH_AUTH_SOCK=/tmp/ssh-2U7y3w8Y7atT/agent.31 07:12:11 SSH_AGENT_PID=37 07:12:11 Running ssh-add (command line suppressed) 07:12:11 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17515374978052768622.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17515374978052768622.key) 07:12:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:12:11 + git semver bump pre 07:12:11 2024-06-25 07:12:11,928 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:12:11 2024-06-25 07:12:11,928 [bump_version] DEBUG bumping version:3.2.0-dev.14 on axis:pre with prefix:dev 07:12:11 2024-06-25 07:12:11,928 [bump_version] DEBUG bumped version:3.2.0-dev.15 07:12:11 2024-06-25 07:12:11,928 [write_version] DEBUG write version:3.2.0-dev.15 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 07:12:11 2024-06-25 07:12:11,928 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:12:11 2024-06-25 07:12:11,929 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:12:11 2024-06-25 07:12:11,930 [execute] INFO git cat-file --batch-check 07:12:11 2024-06-25 07:12:11,930 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:12:11 2024-06-25 07:12:11,936 [execute] INFO git cat-file --batch 07:12:11 2024-06-25 07:12:11,936 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:12:11 2024-06-25 07:12:11,941 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:12:11 3.2.0-dev.15 [Pipeline] } 07:12:12 $ docker exec --env ******** --env ******** 560d733413a9ed3edf3e04946ccbfbddb9726452662be49862cf7f4592e09a07 ssh-agent -k 07:12:12 unset SSH_AUTH_SOCK; 07:12:12 unset SSH_AGENT_PID; 07:12:12 echo Agent pid 37 killed; 07:12:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:12:12 + git semver [Pipeline] } 07:12:12 $ docker stop --time=1 560d733413a9ed3edf3e04946ccbfbddb9726452662be49862cf7f4592e09a07 07:12:14 $ docker rm -f --volumes 560d733413a9ed3edf3e04946ccbfbddb9726452662be49862cf7f4592e09a07 [Pipeline] // withDockerContainer [Pipeline] sh 07:12:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:12:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:12:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:12:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:12:14 prd-ubuntu20.04-docker-8c-8g-4334 does not seem to be running inside a container 07:12:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:12:15 $ docker top 6b99a2a7cdb9e3e7907d7b7d3a8ed800e7e4710b3bdb9ddaf69902e078386a32 -eo pid,comm 07:12:15 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:12:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:12:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:12:15 [ssh-agent] Looking for ssh-agent implementation... 07:12:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:12:15 $ docker exec 6b99a2a7cdb9e3e7907d7b7d3a8ed800e7e4710b3bdb9ddaf69902e078386a32 ssh-agent 07:12:15 SSH_AUTH_SOCK=/tmp/ssh-HeJOGWGB2cZ0/agent.32 07:12:15 SSH_AGENT_PID=38 07:12:15 Running ssh-add (command line suppressed) 07:12:15 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11651899923695936200.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11651899923695936200.key) 07:12:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:12:15 + git semver push 07:12:16 2024-06-25 07:12:16,039 [run_push] DEBUG push 07:12:16 2024-06-25 07:12:16,040 [execute] INFO git cat-file --batch-check 07:12:16 2024-06-25 07:12:16,040 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:12:16 2024-06-25 07:12:16,043 [execute] INFO git rev-list d18aa45ff4b9b1b6bcd2f5bc71419982481fa5dd -- 07:12:16 2024-06-25 07:12:16,044 [execute] DEBUG Popen(['git', 'rev-list', 'd18aa45ff4b9b1b6bcd2f5bc71419982481fa5dd', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:12:16 2024-06-25 07:12:16,053 [execute] INFO git fetch -v origin 07:12:16 2024-06-25 07:12:16,053 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:12:16 2024-06-25 07:12:16,505 [run_push] DEBUG no remote changes detected 07:12:16 2024-06-25 07:12:16,505 [execute] INFO git push origin semver 07:12:16 2024-06-25 07:12:16,505 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:12:17 2024-06-25 07:12:17,268 [run_push] DEBUG push all version tags 07:12:17 2024-06-25 07:12:17,269 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:12:17 2024-06-25 07:12:17,269 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 07:12:18 2024-06-25 07:12:17,959 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:12:18 3.2.0-dev.15 [Pipeline] } 07:12:18 $ docker exec --env ******** --env ******** 6b99a2a7cdb9e3e7907d7b7d3a8ed800e7e4710b3bdb9ddaf69902e078386a32 ssh-agent -k 07:12:18 unset SSH_AUTH_SOCK; 07:12:18 unset SSH_AGENT_PID; 07:12:18 echo Agent pid 38 killed; 07:12:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:12:18 + git semver [Pipeline] } 07:12:18 $ docker stop --time=1 6b99a2a7cdb9e3e7907d7b7d3a8ed800e7e4710b3bdb9ddaf69902e078386a32 07:12:20 $ docker rm -f --volumes 6b99a2a7cdb9e3e7907d7b7d3a8ed800e7e4710b3bdb9ddaf69902e078386a32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:12:20 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 07:12:20 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 07:12:20 total 16 07:12:20 drwxr-xr-x 3 root root 4096 Jun 25 06:59 . 07:12:20 drwxrwxr-x 10 jenkins jenkins 4096 Jun 25 07:12 .. 07:12:20 drwxr-xr-x 2 root root 4096 Jun 25 06:59 cost 07:12:20 -rw-r--r-- 1 root root 88 Jun 25 06:59 cost.csv 07:12:20 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 07:12:20 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 07:12:20 total 16 07:12:20 drwxr-xr-x 3 jenkins jenkins 4096 Jun 25 06:59 . 07:12:20 drwxrwxr-x 10 jenkins jenkins 4096 Jun 25 07:12 .. 07:12:20 drwxr-xr-x 2 jenkins jenkins 4096 Jun 25 06:59 cost 07:12:20 -rw-r--r-- 1 jenkins jenkins 88 Jun 25 06:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:12:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:12:21 ---> package-listing.sh 07:12:21 ++ facter osfamily 07:12:21 ++ tr '[:upper:]' '[:lower:]' 07:12:22 + OS_FAMILY=debian 07:12:22 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 07:12:22 + START_PACKAGES=/tmp/packages_start.txt 07:12:22 + END_PACKAGES=/tmp/packages_end.txt 07:12:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:12:22 + PACKAGES=/tmp/packages_start.txt 07:12:22 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 07:12:22 + PACKAGES=/tmp/packages_end.txt 07:12:22 + case "${OS_FAMILY}" in 07:12:22 + dpkg -l 07:12:22 + grep '^ii' 07:12:22 + '[' -f /tmp/packages_start.txt ']' 07:12:22 + '[' -f /tmp/packages_end.txt ']' 07:12:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:12:22 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 07:12:22 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 07:12:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 07:12:22 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:12:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:12:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:12:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:12:23 prd-ubuntu20.04-docker-8c-8g-4334 does not seem to be running inside a container 07:12:23 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:12:23 $ docker top 19715e04990846134fab3eece7a329b117e1319b7cdc3a654fcae6bcc8fe8148 -eo pid,comm [Pipeline] { [Pipeline] sh 07:12:23 + touch /tmp/pre-build-complete [Pipeline] sh 07:12:24 + mkdir -p /var/log/sysstat [Pipeline] sh 07:12:24 + ls /var/log/sa-host 07:12:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:12:24 provisioning config files... 07:12:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5723902833761556421tmp [Pipeline] { [Pipeline] echo 07:12:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:12:24 ---> create-netrc.sh [Pipeline] } 07:12:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:12:25 ---> python-tools-install.sh [Pipeline] echo 07:12:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:12:25 ---> sudo-logs.sh 07:12:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:12:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:12:25 ---> job-cost.sh 07:12:25 lf-activate-venv: SKIPPING 07:12:25 DEBUG: total: 0.2199999988079071 07:12:25 INFO: Retrieving Stack Cost... 07:12:26 INFO: Retrieving Pricing Info for: v3-standard-8 07:12:26 INFO: Archiving Costs [Pipeline] echo 07:12:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:12:26 ---> logs-deploy.sh 07:12:26 lf-activate-venv: SKIPPING 07:12:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/153 07:12:26 INFO: archiving workspace using pattern(s): 07:12:27 Archives upload complete. 07:12:28 INFO: archiving logs to Nexus