Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 016774ad856346449abec6a76f039c0b34c03e63 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-ssh2567839333293457057.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-ssh2656015412966045217.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-ssh305005724034784210.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-ssh13983789039219749302.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-ssh11895899988997643467.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 ‘prd-centos7-blackbox-4c-2g-4589’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-4546’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-4802’ is offline Running on prd-ubuntu20.04-docker-8c-8g-4803 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 016774ad856346449abec6a76f039c0b34c03e63 (main) Commit message: "Merge pull request #557 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.19" > 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 016774ad856346449abec6a76f039c0b34c03e63 # timeout=10 > git rev-list --no-walk f7c28725686cbfd62f6225fd09367d5909216c89 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:08:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:08:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:08:25 ========================================================= 09:08:25 EdgeX Global Pipelines Version Info 09:08:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:08:26 ------------------- 09:08:26 stable info: 09:08:26 ------------------- 09:08:26 Commited By: Ginny Guan ginny@iotechsys.com 09:08:26 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 09:08:26 Message: update stable to v1.0.260 09:08:26 ------------------- 09:08:26 experimental info: 09:08:26 ------------------- 09:08:26 Commited By: Ginny Guan ginny@iotechsys.com 09:08:26 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 09:08:26 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:08:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 09:08:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 09:08:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:08:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:08:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:08:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 09:08:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:08:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:08:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:08:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:08:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:08:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 09:08:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:08:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:08:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:08:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:08:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:08:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:08:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:08:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:08:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:08:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:08:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:08:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:08:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:08:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:08:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:08:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:08:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:08:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:08:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 016774ad856346449abec6a76f039c0b34c03e63 [Pipeline] echo 09:08:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 016774a [Pipeline] echo 09:08:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:08:27 provisioning config files... 09:08:27 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13066112645545093364tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:08:28 ---> ****-login.sh 09:08:28 nexus3.edgexfoundry.org:10001 09:08:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:08:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:08:28 Configure a credential helper to remove this warning. See 09:08:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:08:28 09:08:28 Login Succeeded 09:08:28 nexus3.edgexfoundry.org:10002 09:08:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:08:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:08:28 Configure a credential helper to remove this warning. See 09:08:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:08:28 09:08:28 Login Succeeded 09:08:28 nexus3.edgexfoundry.org:10003 09:08:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:08:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:08:28 Configure a credential helper to remove this warning. See 09:08:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:08:28 09:08:28 Login Succeeded 09:08:28 nexus3.edgexfoundry.org:10004 09:08:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:08:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:08:28 Configure a credential helper to remove this warning. See 09:08:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:08:28 09:08:28 Login Succeeded 09:08:28 ****.io 09:08:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:08:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:08:28 Configure a credential helper to remove this warning. See 09:08:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:08:28 09:08:28 Login Succeeded 09:08:28 ---> ****-login.sh ends [Pipeline] } 09:08:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:08:29 + git rev-list -1 --merges 016774ad856346449abec6a76f039c0b34c03e63~1..016774ad856346449abec6a76f039c0b34c03e63 [Pipeline] echo 09:08:29 -----------> git rev-list -1 --merges 016774ad856346449abec6a76f039c0b34c03e63~1..016774ad856346449abec6a76f039c0b34c03e63 016774ad856346449abec6a76f039c0b34c03e63 09:08:29 016774ad856346449abec6a76f039c0b34c03e63 [false] [Pipeline] sh 09:08:29 + git log --format=format:%s -1 016774ad856346449abec6a76f039c0b34c03e63 [Pipeline] echo 09:08:29 ========================================================= 09:08:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:08:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:08:30 + git log --format=format:%s -1 016774ad856346449abec6a76f039c0b34c03e63 [Pipeline] echo 09:08:30 [semverPrep] GIT_COMMIT: 016774ad856346449abec6a76f039c0b34c03e63, Commit Message: Merge pull request #557 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.19 [Pipeline] echo 09:08:30 [semverPrep] This is not a build commit. [Pipeline] sh 09:08:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:08:30 + grep -v github /etc/ssh/ssh_known_hosts 09:08:30 + [ -e /tmp/ssh_known_hosts ] 09:08:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:08:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:08:30 + sudo tee -a /etc/ssh/ssh_known_hosts 09:08:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:08:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:08:30 09:08:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:08:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:08:31 0.1.4: Pulling from edgex-devops/py-git-semver 09:08:31 b85a868b505f: Pulling fs layer 09:08:31 e2be974225ed: Pulling fs layer 09:08:31 339a4e72a1f5: Pulling fs layer 09:08:31 988bab9f4d93: Pulling fs layer 09:08:31 1469e6f7b9e6: Pulling fs layer 09:08:31 eaf3925da568: Pulling fs layer 09:08:31 bab4dde63d76: Pulling fs layer 09:08:31 bde34c3a00c8: Pulling fs layer 09:08:31 b352a97aabf1: Pulling fs layer 09:08:31 4872d77fe225: Pulling fs layer 09:08:31 5851b861e8e6: Pulling fs layer 09:08:31 eaf3925da568: Waiting 09:08:31 bab4dde63d76: Waiting 09:08:31 bde34c3a00c8: Waiting 09:08:31 b352a97aabf1: Waiting 09:08:31 4872d77fe225: Waiting 09:08:31 5851b861e8e6: Waiting 09:08:31 988bab9f4d93: Waiting 09:08:31 e2be974225ed: Verifying Checksum 09:08:31 e2be974225ed: Download complete 09:08:31 988bab9f4d93: Verifying Checksum 09:08:31 988bab9f4d93: Download complete 09:08:31 1469e6f7b9e6: Verifying Checksum 09:08:31 1469e6f7b9e6: Download complete 09:08:31 eaf3925da568: Download complete 09:08:31 339a4e72a1f5: Download complete 09:08:31 bde34c3a00c8: Download complete 09:08:31 b352a97aabf1: Download complete 09:08:31 4872d77fe225: Download complete 09:08:31 5851b861e8e6: Download complete 09:08:31 b85a868b505f: Verifying Checksum 09:08:31 b85a868b505f: Download complete 09:08:31 bab4dde63d76: Verifying Checksum 09:08:31 bab4dde63d76: Download complete 09:08:32 b85a868b505f: Pull complete 09:08:32 e2be974225ed: Pull complete 09:08:33 339a4e72a1f5: Pull complete 09:08:33 988bab9f4d93: Pull complete 09:08:33 1469e6f7b9e6: Pull complete 09:08:33 eaf3925da568: Pull complete 09:08:35 bab4dde63d76: Pull complete 09:08:35 bde34c3a00c8: Pull complete 09:08:35 b352a97aabf1: Pull complete 09:08:35 4872d77fe225: Pull complete 09:08:35 5851b861e8e6: Pull complete 09:08:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:08:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:08:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:08:35 prd-ubuntu20.04-docker-8c-8g-4803 does not seem to be running inside a container 09:08:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:08:38 $ docker top 9943b3663615c588c0772f9e8aeb555c981c2d08844507c1ffc6d62375089832 -eo pid,comm 09:08:39 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). 09:08:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:08:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:08:39 [ssh-agent] Looking for ssh-agent implementation... 09:08:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:08:39 $ docker exec 9943b3663615c588c0772f9e8aeb555c981c2d08844507c1ffc6d62375089832 ssh-agent 09:08:39 SSH_AUTH_SOCK=/tmp/ssh-sVk5zUVKF0Ls/agent.33 09:08:39 SSH_AGENT_PID=39 09:08:39 Running ssh-add (command line suppressed) 09:08:39 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8459289522681683172.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8459289522681683172.key) 09:08:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:08:39 + git tag --points-at HEAD [Pipeline] } 09:08:39 $ docker exec --env ******** --env ******** 9943b3663615c588c0772f9e8aeb555c981c2d08844507c1ffc6d62375089832 ssh-agent -k 09:08:39 unset SSH_AUTH_SOCK; 09:08:39 unset SSH_AGENT_PID; 09:08:39 echo Agent pid 39 killed; 09:08:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:08:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:08:39 [ssh-agent] Looking for ssh-agent implementation... 09:08:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:08:40 $ docker exec 9943b3663615c588c0772f9e8aeb555c981c2d08844507c1ffc6d62375089832 ssh-agent 09:08:40 SSH_AUTH_SOCK=/tmp/ssh-rmvk7fTDev0U/agent.73 09:08:40 SSH_AGENT_PID=79 09:08:40 Running ssh-add (command line suppressed) 09:08:40 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11026160811059673300.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11026160811059673300.key) 09:08:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:08:40 + git semver init 09:08:40 2024-07-02 09:08:40,760 [run_init] DEBUG init version:0.0.0 force:False 09:08:40 2024-07-02 09:08:40,761 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 09:08:40 2024-07-02 09:08:40,761 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 09:08:40 2024-07-02 09:08:40,761 [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) 09:08:41 2024-07-02 09:08:41,759 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 09:08:41 2024-07-02 09:08:41,759 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 09:08:41 2024-07-02 09:08:41,759 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:08:41 2024-07-02 09:08:41,760 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:08:41 3.2.0-dev.15 [Pipeline] } 09:08:42 $ docker exec --env ******** --env ******** 9943b3663615c588c0772f9e8aeb555c981c2d08844507c1ffc6d62375089832 ssh-agent -k 09:08:42 unset SSH_AUTH_SOCK; 09:08:42 unset SSH_AGENT_PID; 09:08:42 echo Agent pid 79 killed; 09:08:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:08:42 + git semver [Pipeline] } 09:08:42 $ docker stop --time=1 9943b3663615c588c0772f9e8aeb555c981c2d08844507c1ffc6d62375089832 09:08:44 $ docker rm -f --volumes 9943b3663615c588c0772f9e8aeb555c981c2d08844507c1ffc6d62375089832 [Pipeline] // withDockerContainer [Pipeline] sh 09:08:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:08:44 Stashed 1 file(s) [Pipeline] echo 09:08:44 [edgeXSemver]: initialized semver on version 3.2.0-dev.15 [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 09:08:44 provisioning config files... 09:08:44 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13699348391388431617tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:08:45 ---> ****-login.sh 09:08:45 nexus3.edgexfoundry.org:10001 09:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:08:45 Configure a credential helper to remove this warning. See 09:08:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:08:45 09:08:45 Login Succeeded 09:08:45 nexus3.edgexfoundry.org:10002 09:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:08:45 Configure a credential helper to remove this warning. See 09:08:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:08:45 09:08:45 Login Succeeded 09:08:45 nexus3.edgexfoundry.org:10003 09:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:08:45 Configure a credential helper to remove this warning. See 09:08:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:08:45 09:08:45 Login Succeeded 09:08:45 nexus3.edgexfoundry.org:10004 09:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:08:45 Configure a credential helper to remove this warning. See 09:08:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:08:45 09:08:45 Login Succeeded 09:08:45 ****.io 09:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:08:45 Configure a credential helper to remove this warning. See 09:08:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:08:45 09:08:45 Login Succeeded 09:08:45 ---> ****-login.sh ends [Pipeline] } 09:08:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:08:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:08:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:08:45 ========================================================= 09:08:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 09:08:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:08:46 + 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 . 09:08:46 Sending build context to Docker daemon 17.83MB 09:08:46 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 09:08:46 Step 2/10 : FROM ${BASE} AS builder 09:08:46 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 09:08:46 619be1103602: Pulling fs layer 09:08:46 7862e08f4a3e: Pulling fs layer 09:08:46 5df492c9dc93: Pulling fs layer 09:08:46 7629e6793208: Pulling fs layer 09:08:46 4f4fb700ef54: Pulling fs layer 09:08:46 fb5054dd5b73: Pulling fs layer 09:08:46 eeca6798cff9: Pulling fs layer 09:08:46 aa269ceb94a6: Pulling fs layer 09:08:46 ada007ff1a6a: Pulling fs layer 09:08:46 eeca6798cff9: Waiting 09:08:46 aa269ceb94a6: Waiting 09:08:46 ada007ff1a6a: Waiting 09:08:46 fb5054dd5b73: Waiting 09:08:46 4f4fb700ef54: Waiting 09:08:46 7862e08f4a3e: Verifying Checksum 09:08:46 7862e08f4a3e: Download complete 09:08:46 7629e6793208: Verifying Checksum 09:08:46 7629e6793208: Download complete 09:08:46 4f4fb700ef54: Verifying Checksum 09:08:46 4f4fb700ef54: Download complete 09:08:46 619be1103602: Verifying Checksum 09:08:46 619be1103602: Download complete 09:08:46 fb5054dd5b73: Verifying Checksum 09:08:46 fb5054dd5b73: Download complete 09:08:46 eeca6798cff9: Verifying Checksum 09:08:46 eeca6798cff9: Download complete 09:08:46 619be1103602: Pull complete 09:08:46 ada007ff1a6a: Verifying Checksum 09:08:46 ada007ff1a6a: Download complete 09:08:46 7862e08f4a3e: Pull complete 09:08:46 5df492c9dc93: Verifying Checksum 09:08:46 5df492c9dc93: Download complete 09:08:47 aa269ceb94a6: Download complete 09:08:50 5df492c9dc93: Pull complete 09:08:50 7629e6793208: Pull complete 09:08:50 4f4fb700ef54: Pull complete 09:08:50 fb5054dd5b73: Pull complete 09:08:50 eeca6798cff9: Pull complete 09:08:52 aa269ceb94a6: Pull complete 09:08:53 ada007ff1a6a: Pull complete 09:08:53 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 09:08:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 09:08:53 ---> f489d0715acc 09:08:53 Step 3/10 : ARG ADD_BUILD_TAGS="" 09:08:59 Still waiting to schedule task 09:08:59 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4798’ 09:09:00 ---> Running in 786aa48138ad 09:09:00 Removing intermediate container 786aa48138ad 09:09:00 ---> 072a6cf393b9 09:09:00 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:09:00 ---> Running in 2509b0b6f3c5 09:09:00 Removing intermediate container 2509b0b6f3c5 09:09:00 ---> ee2a26e119f5 09:09:00 Step 5/10 : RUN apk add --update --no-cache make git openssh 09:09:00 ---> Running in 09fe006a7bfc 09:09:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:09:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:09:00 (1/8) Installing openssh-keygen (9.3_p2-r1) 09:09:00 (2/8) Installing libedit (20221030.3.1-r1) 09:09:00 (3/8) Installing openssh-client-common (9.3_p2-r1) 09:09:00 (4/8) Installing openssh-client-default (9.3_p2-r1) 09:09:00 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 09:09:00 (6/8) Installing openssh-server-common (9.3_p2-r1) 09:09:00 (7/8) Installing openssh-server (9.3_p2-r1) 09:09:00 (8/8) Installing openssh (9.3_p2-r1) 09:09:00 Executing busybox-1.36.1-r5.trigger 09:09:00 OK: 270 MiB in 60 packages 09:09:01 Removing intermediate container 09fe006a7bfc 09:09:01 ---> 82dfe8e6729a 09:09:01 Step 6/10 : WORKDIR /device-modbus-go 09:09:01 ---> Running in f198851d68fb 09:09:01 Removing intermediate container f198851d68fb 09:09:01 ---> 73aeee428efa 09:09:01 Step 7/10 : COPY go.mod vendor* ./ 09:09:01 ---> 11b22daa578c 09:09:01 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:09:01 ---> Running in 39c1e327c7dc 09:09:48 Removing intermediate container 39c1e327c7dc 09:09:48 ---> 67833c94ff3f 09:09:48 Step 9/10 : COPY . . 09:09:48 ---> af97bbb41840 09:09:48 Step 10/10 : RUN ${MAKE} 09:09:48 ---> Running in f9d86f84e53a 09:09:48 noop 09:09:48 Removing intermediate container f9d86f84e53a 09:09:48 ---> 0a54ab81240d 09:09:48 Successfully built 0a54ab81240d 09:09:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:09:48 + docker inspect -f . ci-base-image-x86_64 09:09:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:09:48 prd-ubuntu20.04-docker-8c-8g-4803 does not seem to be running inside a container 09:09:48 $ 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 09:09:49 $ docker top 0961b050b1ea012fca8c6fe54146b6ae9841ffed8152f3a5b7afca3f6f97a006 -eo pid,comm [Pipeline] { [Pipeline] sh 09:09:49 + go version 09:09:49 go version go1.21.9 linux/amd64 [Pipeline] } 09:09:49 $ docker stop --time=1 0961b050b1ea012fca8c6fe54146b6ae9841ffed8152f3a5b7afca3f6f97a006 09:09:50 $ docker rm -f --volumes 0961b050b1ea012fca8c6fe54146b6ae9841ffed8152f3a5b7afca3f6f97a006 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:09:51 + docker inspect -f . ci-base-image-x86_64 09:09:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:09:51 prd-ubuntu20.04-docker-8c-8g-4803 does not seem to be running inside a container 09:09:51 $ 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 09:09:51 $ docker top 223a9bd485891e13a8a1e9aa335cc210c98b677b122afd86a7ae0f2e8247d8aa -eo pid,comm [Pipeline] { [Pipeline] sh 09:09:51 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 09:09:52 + make test 09:09:52 go test ./... -coverprofile=coverage.out 09:09:53 ? github.com/edgexfoundry/device-modbus-go [no test files] 09:10:11 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 09:10:11 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 47.9% of statements 09:10:21 go vet ./... 09:10:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:10:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:10:28 ./bin/test-attribution-txt.sh 09:10:28 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 09:10:28 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 09:10:28 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 09:10:28 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 09:10:28 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 09:10:28 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 09:10:28 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 09:10:28 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 09:10:28 An attribution for golang.org/x/term is missing from Attribution.txt, please add 09:10:28 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 09:10:28 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 09:10:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:10:28 $ docker stop --time=1 223a9bd485891e13a8a1e9aa335cc210c98b677b122afd86a7ae0f2e8247d8aa 09:10:31 $ docker rm -f --volumes 223a9bd485891e13a8a1e9aa335cc210c98b677b122afd86a7ae0f2e8247d8aa [Pipeline] // withDockerContainer [Pipeline] sh 09:10:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:10:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:10:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:10:32 + ls -al . 09:10:32 total 264 09:10:32 drwxrwxr-x 9 jenkins jenkins 4096 Jul 2 09:09 . 09:10:32 drwxrwxr-x 4 jenkins jenkins 4096 Jul 2 09:08 .. 09:10:32 -rw-rw-r-- 1 jenkins jenkins 140 Jul 2 09:08 .dockerignore 09:10:32 drwxrwxr-x 8 jenkins jenkins 4096 Jul 2 09:10 .git 09:10:32 drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 09:08 .github 09:10:32 -rw-rw-r-- 1 jenkins jenkins 266 Jul 2 09:08 .gitignore 09:10:32 -rw-rw-r-- 1 jenkins jenkins 41 Jul 2 09:08 .golangci.yml 09:10:32 drwxr-xr-x 3 jenkins jenkins 4096 Jul 2 09:08 .semver 09:10:32 -rw-rw-r-- 1 jenkins jenkins 11101 Jul 2 09:08 Attribution.txt 09:10:32 -rw-rw-r-- 1 jenkins jenkins 16388 Jul 2 09:08 CHANGELOG.md 09:10:32 -rw-rw-r-- 1 jenkins jenkins 1474 Jul 2 09:08 Dockerfile 09:10:32 -rw-rw-r-- 1 jenkins jenkins 677 Jul 2 09:08 GOVERNANCE.md 09:10:32 -rw-rw-r-- 1 jenkins jenkins 658 Jul 2 09:08 Jenkinsfile 09:10:32 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 2 09:08 LICENSE 09:10:32 -rw-rw-r-- 1 jenkins jenkins 1942 Jul 2 09:08 Makefile 09:10:32 -rw-rw-r-- 1 jenkins jenkins 622 Jul 2 09:08 OWNERS.md 09:10:32 -rw-rw-r-- 1 jenkins jenkins 4463 Jul 2 09:08 README.md 09:10:32 -rw-rw-r-- 1 jenkins jenkins 12 Jul 2 09:08 VERSION 09:10:32 drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 09:08 bin 09:10:32 drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 09:08 cmd 09:10:32 -rw-r--r-- 1 jenkins jenkins 24601 Jul 2 09:10 coverage.out 09:10:32 -rw-rw-r-- 1 jenkins jenkins 7241 Jul 2 09:08 go.mod 09:10:32 -rw-rw-r-- 1 jenkins jenkins 102291 Jul 2 09:08 go.sum 09:10:32 drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 09:08 internal 09:10:32 drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 09:08 simulator 09:10:32 -rw-rw-r-- 1 jenkins jenkins 229 Jul 2 09:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:10:33 + 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=016774ad856346449abec6a76f039c0b34c03e63 --label arch=amd64 --label version=3.2.0-dev.15 . 09:10:33 Sending build context to Docker daemon 17.85MB 09:10:33 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 09:10:33 Step 2/23 : FROM ${BASE} AS builder 09:10:33 ---> 0a54ab81240d 09:10:33 Step 3/23 : ARG ADD_BUILD_TAGS="" 09:10:33 ---> Running in 6ba3af27d7ac 09:10:33 Removing intermediate container 6ba3af27d7ac 09:10:33 ---> f18bf3220baf 09:10:33 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:10:33 ---> Running in 981595dc92f2 09:10:33 Removing intermediate container 981595dc92f2 09:10:33 ---> d43fee73536e 09:10:33 Step 5/23 : RUN apk add --update --no-cache make git openssh 09:10:33 ---> Running in 62feaf31b51a 09:10:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:10:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:10:34 OK: 270 MiB in 60 packages 09:10:34 Removing intermediate container 62feaf31b51a 09:10:34 ---> 44424a001f7f 09:10:34 Step 6/23 : WORKDIR /device-modbus-go 09:10:34 ---> Running in c5d14ea8335c 09:10:34 Removing intermediate container c5d14ea8335c 09:10:34 ---> 0380eaa7b097 09:10:34 Step 7/23 : COPY go.mod vendor* ./ 09:10:34 ---> c9256adc077a 09:10:34 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:10:34 ---> Running in 5f7eb7de2603 09:10:35 Removing intermediate container 5f7eb7de2603 09:10:35 ---> b80b562bb5e5 09:10:35 Step 9/23 : COPY . . 09:10:36 ---> 27b02e2a642a 09:10:36 Step 10/23 : RUN ${MAKE} 09:10:36 ---> Running in ba2ce66e693e 09:10:36 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.15 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.19" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 09:11:02 Removing intermediate container ba2ce66e693e 09:11:02 ---> 951e130558e7 09:11:02 Step 11/23 : FROM alpine:3.18 09:11:02 3.18: Pulling from library/alpine 09:11:02 73baa7ef167e: Pulling fs layer 09:11:02 73baa7ef167e: Verifying Checksum 09:11:02 73baa7ef167e: Download complete 09:11:02 73baa7ef167e: Pull complete 09:11:02 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 09:11:02 Status: Downloaded newer image for alpine:3.18 09:11:02 ---> 8fd7cac70a4a 09:11:02 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 09:11:02 ---> Running in efc74fad8019 09:11:02 Removing intermediate container efc74fad8019 09:11:02 ---> b14e318ed2b3 09:11:02 Step 13/23 : RUN apk add --update --no-cache dumb-init 09:11:02 ---> Running in 5b3e30d12bfe 09:11:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:11:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:11:03 (1/1) Installing dumb-init (1.2.5-r2) 09:11:03 Executing busybox-1.36.1-r7.trigger 09:11:03 OK: 7 MiB in 16 packages 09:11:03 Removing intermediate container 5b3e30d12bfe 09:11:03 ---> 464936930595 09:11:03 Step 14/23 : RUN apk --no-cache upgrade 09:11:03 ---> Running in e0c6cfddc350 09:11:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:11:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:11:04 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 09:11:04 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 09:11:04 OK: 7 MiB in 16 packages 09:11:04 Removing intermediate container e0c6cfddc350 09:11:04 ---> 96a182b3558c 09:11:04 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 09:11:06 ---> 5846732214a3 09:11:06 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 09:11:06 ---> b1e3c3e9a24f 09:11:06 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 09:11:06 ---> ed1c87eb6696 09:11:06 Step 18/23 : EXPOSE 59901 09:11:06 ---> Running in a962241d870e 09:11:06 Removing intermediate container a962241d870e 09:11:06 ---> 4d911392d828 09:11:06 Step 19/23 : ENTRYPOINT ["/device-modbus"] 09:11:06 ---> Running in 7ae455987373 09:11:06 Removing intermediate container 7ae455987373 09:11:06 ---> 6f34972ed3b1 09:11:06 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 09:11:06 ---> Running in f735918ede2c 09:11:06 Removing intermediate container f735918ede2c 09:11:06 ---> 303167a96dfc 09:11:06 Step 21/23 : LABEL arch=amd64 09:11:06 ---> Running in 1edc3b83f341 09:11:06 Removing intermediate container 1edc3b83f341 09:11:06 ---> 324447943f40 09:11:06 Step 22/23 : LABEL git_sha=016774ad856346449abec6a76f039c0b34c03e63 09:11:06 ---> Running in be98c1b9b5b1 09:11:06 Removing intermediate container be98c1b9b5b1 09:11:06 ---> 034b86eaf226 09:11:06 Step 23/23 : LABEL version=3.2.0-dev.15 09:11:06 ---> Running in dcf6523afdf6 09:11:06 Removing intermediate container dcf6523afdf6 09:11:06 ---> dbb75c3ea206 09:11:06 [Warning] One or more build-args [ARCH] were not consumed 09:11:06 Successfully built dbb75c3ea206 09:11:06 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:11:07 provisioning config files... 09:11:07 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10134307668169468611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:11:07 ---> ****-login.sh 09:11:07 nexus3.edgexfoundry.org:10001 09:11:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:11:07 Configure a credential helper to remove this warning. See 09:11:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:11:07 09:11:07 Login Succeeded 09:11:07 nexus3.edgexfoundry.org:10002 09:11:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:11:07 Configure a credential helper to remove this warning. See 09:11:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:11:07 09:11:07 Login Succeeded 09:11:07 nexus3.edgexfoundry.org:10003 09:11:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:11:07 Configure a credential helper to remove this warning. See 09:11:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:11:07 09:11:07 Login Succeeded 09:11:07 nexus3.edgexfoundry.org:10004 09:11:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:11:07 Configure a credential helper to remove this warning. See 09:11:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:11:07 09:11:07 Login Succeeded 09:11:07 ****.io 09:11:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:11:07 Configure a credential helper to remove this warning. See 09:11:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:11:07 09:11:07 Login Succeeded 09:11:07 ---> ****-login.sh ends [Pipeline] } 09:11:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:11:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:11:07 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 09:11:07 016774ad856346449abec6a76f039c0b34c03e63 09:11:07 latest 09:11:07 3.2.0-dev.15 09:11:07 016774ad856346449abec6a76f039c0b34c03e63-3.2.0-dev.15 09:11:07 main 09:11:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:08 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:016774ad856346449abec6a76f039c0b34c03e63 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:08 + docker push nexus3.edgexfoundry.org:10004/device-modbus:016774ad856346449abec6a76f039c0b34c03e63 09:11:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:11:08 8fdbd10c14c8: Preparing 09:11:08 78fa373dc03a: Preparing 09:11:08 3b326b2c6803: Preparing 09:11:08 bfa4b2c09b0a: Preparing 09:11:08 9b545aa4b39c: Preparing 09:11:08 63ec0bd56cf3: Preparing 09:11:08 63ec0bd56cf3: Waiting 09:11:08 8fdbd10c14c8: Pushed 09:11:08 78fa373dc03a: Pushed 09:11:08 9b545aa4b39c: Pushed 09:11:09 63ec0bd56cf3: Layer already exists 09:11:09 bfa4b2c09b0a: Pushed 09:11:11 3b326b2c6803: Pushed 09:11:11 016774ad856346449abec6a76f039c0b34c03e63: digest: sha256:79d26ca561a04ec5447166224660b7a5bd010a5bb125a9a7343e3efe73bfdee5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:12 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:12 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 09:11:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:11:12 8fdbd10c14c8: Preparing 09:11:12 78fa373dc03a: Preparing 09:11:12 3b326b2c6803: Preparing 09:11:12 bfa4b2c09b0a: Preparing 09:11:12 9b545aa4b39c: Preparing 09:11:12 63ec0bd56cf3: Preparing 09:11:12 9b545aa4b39c: Layer already exists 09:11:12 8fdbd10c14c8: Layer already exists 09:11:12 3b326b2c6803: Layer already exists 09:11:12 78fa373dc03a: Layer already exists 09:11:12 bfa4b2c09b0a: Layer already exists 09:11:12 63ec0bd56cf3: Layer already exists 09:11:12 latest: digest: sha256:79d26ca561a04ec5447166224660b7a5bd010a5bb125a9a7343e3efe73bfdee5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:12 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:13 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.15 09:11:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:11:13 8fdbd10c14c8: Preparing 09:11:13 78fa373dc03a: Preparing 09:11:13 3b326b2c6803: Preparing 09:11:13 bfa4b2c09b0a: Preparing 09:11:13 9b545aa4b39c: Preparing 09:11:13 63ec0bd56cf3: Preparing 09:11:13 63ec0bd56cf3: Waiting 09:11:13 bfa4b2c09b0a: Layer already exists 09:11:13 78fa373dc03a: Layer already exists 09:11:13 3b326b2c6803: Layer already exists 09:11:13 8fdbd10c14c8: Layer already exists 09:11:13 9b545aa4b39c: Layer already exists 09:11:13 63ec0bd56cf3: Layer already exists 09:11:13 3.2.0-dev.15: digest: sha256:79d26ca561a04ec5447166224660b7a5bd010a5bb125a9a7343e3efe73bfdee5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:13 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:016774ad856346449abec6a76f039c0b34c03e63-3.2.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:13 + docker push nexus3.edgexfoundry.org:10004/device-modbus:016774ad856346449abec6a76f039c0b34c03e63-3.2.0-dev.15 09:11:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:11:13 8fdbd10c14c8: Preparing 09:11:13 78fa373dc03a: Preparing 09:11:13 3b326b2c6803: Preparing 09:11:13 bfa4b2c09b0a: Preparing 09:11:13 9b545aa4b39c: Preparing 09:11:13 63ec0bd56cf3: Preparing 09:11:13 63ec0bd56cf3: Waiting 09:11:13 9b545aa4b39c: Layer already exists 09:11:13 8fdbd10c14c8: Layer already exists 09:11:13 bfa4b2c09b0a: Layer already exists 09:11:13 3b326b2c6803: Layer already exists 09:11:13 78fa373dc03a: Layer already exists 09:11:13 63ec0bd56cf3: Layer already exists 09:11:13 016774ad856346449abec6a76f039c0b34c03e63-3.2.0-dev.15: digest: sha256:79d26ca561a04ec5447166224660b7a5bd010a5bb125a9a7343e3efe73bfdee5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:13 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:14 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 09:11:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:11:14 8fdbd10c14c8: Preparing 09:11:14 78fa373dc03a: Preparing 09:11:14 3b326b2c6803: Preparing 09:11:14 bfa4b2c09b0a: Preparing 09:11:14 9b545aa4b39c: Preparing 09:11:14 63ec0bd56cf3: Preparing 09:11:14 63ec0bd56cf3: Waiting 09:11:14 bfa4b2c09b0a: Layer already exists 09:11:14 3b326b2c6803: Layer already exists 09:11:14 78fa373dc03a: Layer already exists 09:11:14 8fdbd10c14c8: Layer already exists 09:11:14 9b545aa4b39c: Layer already exists 09:11:14 63ec0bd56cf3: Layer already exists 09:11:14 main: digest: sha256:79d26ca561a04ec5447166224660b7a5bd010a5bb125a9a7343e3efe73bfdee5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:11:14 ===================================================== [Pipeline] echo 09:11:14 taggedImages: 09:11:14 - nexus3.edgexfoundry.org:10004/device-modbus:016774ad856346449abec6a76f039c0b34c03e63 09:11:14 - nexus3.edgexfoundry.org:10004/device-modbus:latest 09:11:14 - nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.15 09:11:14 - nexus3.edgexfoundry.org:10004/device-modbus:016774ad856346449abec6a76f039c0b34c03e63-3.2.0-dev.15 09:11:14 - 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 09:11:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:11:14 09:11:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:11:15 latest: Pulling from edgex-lftools-log-publisher 09:11:15 5eb5b503b376: Pulling fs layer 09:11:15 5c69ac0246d0: Pulling fs layer 09:11:15 ec43610c2a17: Pulling fs layer 09:11:15 3a2ae6a8a46f: Pulling fs layer 09:11:15 33b1e0a273af: Pulling fs layer 09:11:15 5d3b04190fa2: Pulling fs layer 09:11:15 2f39f015ded8: Pulling fs layer 09:11:15 5d3b04190fa2: Waiting 09:11:15 3a2ae6a8a46f: Waiting 09:11:15 2f39f015ded8: Waiting 09:11:15 33b1e0a273af: Waiting 09:11:15 5c69ac0246d0: Verifying Checksum 09:11:15 5c69ac0246d0: Download complete 09:11:15 3a2ae6a8a46f: Verifying Checksum 09:11:15 3a2ae6a8a46f: Download complete 09:11:15 33b1e0a273af: Verifying Checksum 09:11:15 33b1e0a273af: Download complete 09:11:15 5d3b04190fa2: Verifying Checksum 09:11:15 5d3b04190fa2: Download complete 09:11:15 ec43610c2a17: Verifying Checksum 09:11:15 ec43610c2a17: Download complete 09:11:15 5eb5b503b376: Verifying Checksum 09:11:15 5eb5b503b376: Download complete 09:11:15 2f39f015ded8: Download complete 09:11:16 5eb5b503b376: Pull complete 09:11:16 5c69ac0246d0: Pull complete 09:11:17 ec43610c2a17: Pull complete 09:11:17 3a2ae6a8a46f: Pull complete 09:11:17 33b1e0a273af: Pull complete 09:11:17 5d3b04190fa2: Pull complete 09:11:21 2f39f015ded8: Pull complete 09:11:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:11:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:11:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:11:21 prd-ubuntu20.04-docker-8c-8g-4803 does not seem to be running inside a container 09:11:21 $ 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 09:11:23 $ docker top f1dfa939430e97e159fdebfc81c29b551543335524b91c6f6c494ac3a573fdde -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:11:23 ---> job-cost.sh 09:11:23 lf-activate-venv: SKIPPING 09:11:23 INFO: No Stack... 09:11:23 INFO: Retrieving Pricing Info for: v3-standard-8 09:11:24 INFO: Archiving Costs [Pipeline] sh 09:11:24 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 09:11:24 + cut -d, -f6 [Pipeline] lock 09:11:24 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-154-stack-cost] 09:11:24 Resource [jenkins-edgexfoundry-device-modbus-go-main-154-stack-cost] did not exist. Created. 09:11:24 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-154-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:11:24 + echo total: 0.2199999988079071 [Pipeline] stash 09:11:24 Stashed 1 file(s) [Pipeline] } 09:11:24 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-154-stack-cost] [Pipeline] // lock [Pipeline] } 09:11:24 $ docker stop --time=1 f1dfa939430e97e159fdebfc81c29b551543335524b91c6f6c494ac3a573fdde 09:11:25 $ docker rm -f --volumes f1dfa939430e97e159fdebfc81c29b551543335524b91c6f6c494ac3a573fdde [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:12:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4805 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 09:12:16 Running in /w/workspace/device-modbus-go/154 [Pipeline] { [Pipeline] checkout 09:12:16 The recommended git tool is: git 09:12:23 using credential edgex-jenkins-ssh 09:12:23 Cloning the remote Git repository 09:12:24 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 09:12:24 > git init /w/workspace/device-modbus-go/154 # timeout=10 09:12:24 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 09:12:24 > git --version # timeout=10 09:12:24 > git --version # 'git version 2.25.1' 09:12:24 using GIT_SSH to set credentials SSH Credentials for GitHub 09:12:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:12:26 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 09:12:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:12:27 Avoid second fetch 09:12:27 Checking out Revision 016774ad856346449abec6a76f039c0b34c03e63 (main) 09:12:27 > git config core.sparsecheckout # timeout=10 09:12:28 > git checkout -f 016774ad856346449abec6a76f039c0b34c03e63 # timeout=10 09:12:28 Commit message: "Merge pull request #557 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.19" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:12:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:12:33 % Total % Received % Xferd Average Speed Time Time Time Current 09:12:33 Dload Upload Total Spent Left Speed 09:12:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 202k 0 --:--:-- --:--:-- --:--:-- 202k [Pipeline] sh 09:12:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:12:33 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 09:12:33 /etc/docker/daemon.new 09:12:33 { 09:12:33 "registry-mirrors": [ 09:12:33 "https://nexus3.edgexfoundry.org:10001" 09:12:33 ], 09:12:33 "bip": "10.250.0.254/24", 09:12:33 "hosts": [ 09:12:33 "tcp://0.0.0.0:5555", 09:12:33 "unix:///var/run/docker.sock" 09:12:33 ], 09:12:33 "mtu": 1458, 09:12:33 "selinux-enabled": true, 09:12:33 "seccomp-profile": "/etc/docker/seccomp.json" 09:12:33 } [Pipeline] sh 09:12:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:12:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:12:52 provisioning config files... 09:12:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/154@tmp/config5470824924853697686tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:12:53 ---> ****-login.sh 09:12:53 nexus3.edgexfoundry.org:10001 09:12:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:12:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:12:54 Configure a credential helper to remove this warning. See 09:12:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:12:54 09:12:54 Login Succeeded 09:12:54 nexus3.edgexfoundry.org:10002 09:12:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:12:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:12:54 Configure a credential helper to remove this warning. See 09:12:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:12:54 09:12:54 Login Succeeded 09:12:54 nexus3.edgexfoundry.org:10003 09:12:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:12:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:12:54 Configure a credential helper to remove this warning. See 09:12:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:12:54 09:12:54 Login Succeeded 09:12:55 nexus3.edgexfoundry.org:10004 09:12:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:12:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:12:55 Configure a credential helper to remove this warning. See 09:12:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:12:55 09:12:55 Login Succeeded 09:12:55 ****.io 09:12:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:12:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:12:55 Configure a credential helper to remove this warning. See 09:12:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:12:55 09:12:55 Login Succeeded 09:12:55 ---> ****-login.sh ends [Pipeline] } 09:12:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:12:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:12:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:12:56 ========================================================= 09:12:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 09:12:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:12:56 + 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 . 09:12:57 Sending build context to Docker daemon 9.041MB 09:12:57 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 09:12:57 Step 2/10 : FROM ${BASE} AS builder 09:12:57 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:12:57 c6b39de5b339: Pulling fs layer 09:12:57 a69c41024577: Pulling fs layer 09:12:57 d6de4b400683: Pulling fs layer 09:12:57 35cb2a7552d0: Pulling fs layer 09:12:57 4f4fb700ef54: Pulling fs layer 09:12:57 464afbd9ba4c: Pulling fs layer 09:12:57 00f215d4a9da: Pulling fs layer 09:12:57 d496ad576159: Pulling fs layer 09:12:57 464afbd9ba4c: Waiting 09:12:57 35cb2a7552d0: Waiting 09:12:57 00f215d4a9da: Waiting 09:12:57 d496ad576159: Waiting 09:12:57 4f4fb700ef54: Waiting 09:12:57 a69c41024577: Verifying Checksum 09:12:57 a69c41024577: Download complete 09:12:57 35cb2a7552d0: Verifying Checksum 09:12:57 35cb2a7552d0: Download complete 09:12:57 4f4fb700ef54: Verifying Checksum 09:12:57 4f4fb700ef54: Download complete 09:12:57 464afbd9ba4c: Verifying Checksum 09:12:57 464afbd9ba4c: Download complete 09:12:57 c6b39de5b339: Download complete 09:12:58 d496ad576159: Verifying Checksum 09:12:58 d496ad576159: Download complete 09:12:58 c6b39de5b339: Pull complete 09:12:59 a69c41024577: Pull complete 09:12:59 d6de4b400683: Verifying Checksum 09:12:59 d6de4b400683: Download complete 09:13:00 00f215d4a9da: Verifying Checksum 09:13:00 00f215d4a9da: Download complete 09:13:12 d6de4b400683: Pull complete 09:13:12 35cb2a7552d0: Pull complete 09:13:12 4f4fb700ef54: Pull complete 09:13:12 464afbd9ba4c: Pull complete 09:13:21 00f215d4a9da: Pull complete 09:13:22 d496ad576159: Pull complete 09:13:22 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 09:13:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 09:13:22 ---> f246e2811388 09:13:22 Step 3/10 : ARG ADD_BUILD_TAGS="" 09:13:23 ---> Running in 15b308fa30df 09:13:23 Removing intermediate container 15b308fa30df 09:13:23 ---> 9365c62bba4b 09:13:23 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:13:23 ---> Running in 6fe18c267462 09:13:24 Removing intermediate container 6fe18c267462 09:13:24 ---> 2748c28bc8c1 09:13:24 Step 5/10 : RUN apk add --update --no-cache make git openssh 09:13:24 ---> Running in 53465e6b1c6c 09:13:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:13:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:13:26 (1/8) Installing openssh-keygen (9.3_p2-r1) 09:13:26 (2/8) Installing libedit (20221030.3.1-r1) 09:13:26 (3/8) Installing openssh-client-common (9.3_p2-r1) 09:13:26 (4/8) Installing openssh-client-default (9.3_p2-r1) 09:13:27 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 09:13:27 (6/8) Installing openssh-server-common (9.3_p2-r1) 09:13:27 (7/8) Installing openssh-server (9.3_p2-r1) 09:13:27 (8/8) Installing openssh (9.3_p2-r1) 09:13:27 Executing busybox-1.36.1-r5.trigger 09:13:27 OK: 272 MiB in 60 packages 09:13:28 Removing intermediate container 53465e6b1c6c 09:13:28 ---> 2c456c644ac3 09:13:28 Step 6/10 : WORKDIR /device-modbus-go 09:13:28 ---> Running in 437506ddec62 09:13:29 Removing intermediate container 437506ddec62 09:13:29 ---> db43b2a0fd8f 09:13:29 Step 7/10 : COPY go.mod vendor* ./ 09:13:30 ---> fa19ddaa4c3f 09:13:30 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:13:30 ---> Running in 871e2cd59cbe 09:15:36 Removing intermediate container 871e2cd59cbe 09:15:36 ---> ca56b31f5aa1 09:15:36 Step 9/10 : COPY . . 09:15:37 ---> 6c7f688bd12f 09:15:37 Step 10/10 : RUN ${MAKE} 09:15:37 ---> Running in a4ea358df90f 09:15:38 noop 09:15:39 Removing intermediate container a4ea358df90f 09:15:39 ---> 7f52bfcb1150 09:15:39 Successfully built 7f52bfcb1150 09:15:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:40 + docker inspect -f . ci-base-image-arm64 09:15:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:15:40 prd-ubuntu20.04-docker-arm64-4c-16g-4805 does not seem to be running inside a container 09:15:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/154 -v /w/workspace/device-modbus-go/154:/w/workspace/device-modbus-go/154:rw,z -v /w/workspace/device-modbus-go/154@tmp:/w/workspace/device-modbus-go/154@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:15:41 $ docker top 7874e3ae0d46997f9e0904511f2a63eb5c8357e86a0f362dcbdb4cf723023d7f -eo pid,comm [Pipeline] { [Pipeline] sh 09:15:42 + go version 09:15:42 go version go1.21.9 linux/arm64 [Pipeline] } 09:15:42 $ docker stop --time=1 7874e3ae0d46997f9e0904511f2a63eb5c8357e86a0f362dcbdb4cf723023d7f 09:15:44 $ docker rm -f --volumes 7874e3ae0d46997f9e0904511f2a63eb5c8357e86a0f362dcbdb4cf723023d7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:44 + docker inspect -f . ci-base-image-arm64 09:15:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:15:45 prd-ubuntu20.04-docker-arm64-4c-16g-4805 does not seem to be running inside a container 09:15:45 $ 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/154 -v /w/workspace/device-modbus-go/154:/w/workspace/device-modbus-go/154:rw,z -v /w/workspace/device-modbus-go/154@tmp:/w/workspace/device-modbus-go/154@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:15:46 $ docker top 13bec60853ff7a2d492af934d9ba8948e2d46cdcbe9afb72f57bc54d733c49c5 -eo pid,comm [Pipeline] { [Pipeline] sh 09:15:47 + git config --global --add safe.directory /w/workspace/device-modbus-go/154 [Pipeline] fileExists [Pipeline] sh 09:15:48 + make test 09:15:48 go test ./... -coverprofile=coverage.out 09:15:54 ? github.com/edgexfoundry/device-modbus-go [no test files] 09:19:32 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 09:19:35 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.059s coverage: 47.9% of statements 09:19:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:19:35 go vet ./... 09:20:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:20:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:20:22 ./bin/test-attribution-txt.sh 09:20:22 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 09:20:22 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 09:20:22 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 09:20:22 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 09:20:22 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 09:20:22 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 09:20:22 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 09:20:22 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 09:20:22 An attribution for golang.org/x/term is missing from Attribution.txt, please add 09:20:22 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 09:20:22 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 09:20:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:20:22 $ docker stop --time=1 13bec60853ff7a2d492af934d9ba8948e2d46cdcbe9afb72f57bc54d733c49c5 09:20:24 $ docker rm -f --volumes 13bec60853ff7a2d492af934d9ba8948e2d46cdcbe9afb72f57bc54d733c49c5 [Pipeline] // withDockerContainer [Pipeline] sh 09:20:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:20:26 Warning: overwriting stash ‘coverage-report’ 09:20:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:20:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:20:27 + ls -al . 09:20:27 total 260 09:20:27 drwxrwxr-x 8 jenkins jenkins 4096 Jul 2 09:15 . 09:20:27 drwxrwxr-x 4 jenkins jenkins 4096 Jul 2 09:12 .. 09:20:27 -rw-rw-r-- 1 jenkins jenkins 140 Jul 2 09:12 .dockerignore 09:20:27 drwxrwxr-x 8 jenkins jenkins 4096 Jul 2 09:12 .git 09:20:27 drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 09:12 .github 09:20:27 -rw-rw-r-- 1 jenkins jenkins 266 Jul 2 09:12 .gitignore 09:20:27 -rw-rw-r-- 1 jenkins jenkins 41 Jul 2 09:12 .golangci.yml 09:20:27 -rw-rw-r-- 1 jenkins jenkins 11101 Jul 2 09:12 Attribution.txt 09:20:27 -rw-rw-r-- 1 jenkins jenkins 16388 Jul 2 09:12 CHANGELOG.md 09:20:27 -rw-rw-r-- 1 jenkins jenkins 1474 Jul 2 09:12 Dockerfile 09:20:27 -rw-rw-r-- 1 jenkins jenkins 677 Jul 2 09:12 GOVERNANCE.md 09:20:27 -rw-rw-r-- 1 jenkins jenkins 658 Jul 2 09:12 Jenkinsfile 09:20:27 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 2 09:12 LICENSE 09:20:27 -rw-rw-r-- 1 jenkins jenkins 1942 Jul 2 09:12 Makefile 09:20:27 -rw-rw-r-- 1 jenkins jenkins 622 Jul 2 09:12 OWNERS.md 09:20:27 -rw-rw-r-- 1 jenkins jenkins 4463 Jul 2 09:12 README.md 09:20:27 -rw-rw-r-- 1 jenkins jenkins 12 Jul 2 09:08 VERSION 09:20:27 drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 09:12 bin 09:20:27 drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 09:12 cmd 09:20:27 -rw-r--r-- 1 jenkins jenkins 24601 Jul 2 09:19 coverage.out 09:20:27 -rw-rw-r-- 1 jenkins jenkins 7241 Jul 2 09:12 go.mod 09:20:27 -rw-rw-r-- 1 jenkins jenkins 102291 Jul 2 09:12 go.sum 09:20:27 drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 09:12 internal 09:20:27 drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 09:12 simulator 09:20:27 -rw-rw-r-- 1 jenkins jenkins 229 Jul 2 09:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:20:27 + 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=016774ad856346449abec6a76f039c0b34c03e63 --label arch=arm64 --label version=3.2.0-dev.15 . 09:20:28 Sending build context to Docker daemon 9.066MB 09:20:28 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 09:20:28 Step 2/23 : FROM ${BASE} AS builder 09:20:28 ---> 7f52bfcb1150 09:20:28 Step 3/23 : ARG ADD_BUILD_TAGS="" 09:20:28 ---> Running in 1f17562440a0 09:20:28 Removing intermediate container 1f17562440a0 09:20:28 ---> 6ca34fe396c3 09:20:28 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:20:28 ---> Running in 91b5406339cb 09:20:29 Removing intermediate container 91b5406339cb 09:20:29 ---> 74d38893a25e 09:20:29 Step 5/23 : RUN apk add --update --no-cache make git openssh 09:20:29 ---> Running in d5dfbe07f367 09:20:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:20:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:20:31 OK: 272 MiB in 60 packages 09:20:32 Removing intermediate container d5dfbe07f367 09:20:32 ---> b268edea3e66 09:20:32 Step 6/23 : WORKDIR /device-modbus-go 09:20:33 ---> Running in 16b98d9decbd 09:20:33 Removing intermediate container 16b98d9decbd 09:20:33 ---> c167f429c8dd 09:20:33 Step 7/23 : COPY go.mod vendor* ./ 09:20:33 ---> 1f8e8b2b4280 09:20:33 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:20:33 ---> Running in d15c36ea38e0 09:20:36 Removing intermediate container d15c36ea38e0 09:20:36 ---> 121eee6e4b44 09:20:36 Step 9/23 : COPY . . 09:20:37 ---> f0362c527166 09:20:37 Step 10/23 : RUN ${MAKE} 09:20:37 ---> Running in ce24bc832d3f 09:20:38 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.15 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.19" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 09:24:15 Removing intermediate container ce24bc832d3f 09:24:15 ---> 9ef2a2b9b54c 09:24:15 Step 11/23 : FROM alpine:3.18 09:24:15 3.18: Pulling from library/alpine 09:24:15 5c905c7ebe2f: Pulling fs layer 09:24:15 5c905c7ebe2f: Verifying Checksum 09:24:15 5c905c7ebe2f: Download complete 09:24:15 5c905c7ebe2f: Pull complete 09:24:15 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 09:24:15 Status: Downloaded newer image for alpine:3.18 09:24:15 ---> dec292d02e07 09:24:15 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 09:24:15 ---> Running in 9dffcdb41881 09:24:15 Removing intermediate container 9dffcdb41881 09:24:15 ---> 2d3bf2c16bf0 09:24:15 Step 13/23 : RUN apk add --update --no-cache dumb-init 09:24:15 ---> Running in 859f20e37f79 09:24:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:24:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:24:16 (1/1) Installing dumb-init (1.2.5-r2) 09:24:16 Executing busybox-1.36.1-r7.trigger 09:24:16 OK: 8 MiB in 16 packages 09:24:17 Removing intermediate container 859f20e37f79 09:24:17 ---> dac06fd623b4 09:24:17 Step 14/23 : RUN apk --no-cache upgrade 09:24:17 ---> Running in fa2e1c6c2ba9 09:24:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:24:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:24:19 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 09:24:19 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 09:24:19 OK: 8 MiB in 16 packages 09:24:20 Removing intermediate container fa2e1c6c2ba9 09:24:20 ---> b38356e1e6dc 09:24:20 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 09:24:22 ---> 7a0996c43edc 09:24:22 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 09:24:23 ---> 76e8da973f85 09:24:23 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 09:24:23 ---> a32b30698f73 09:24:23 Step 18/23 : EXPOSE 59901 09:24:23 ---> Running in 8121e400a86d 09:24:23 Removing intermediate container 8121e400a86d 09:24:23 ---> 9907e5f2c1b1 09:24:23 Step 19/23 : ENTRYPOINT ["/device-modbus"] 09:24:24 ---> Running in b8142220dbfb 09:24:24 Removing intermediate container b8142220dbfb 09:24:24 ---> ac93f087361a 09:24:24 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 09:24:25 ---> Running in 69ecbdf487d7 09:24:25 Removing intermediate container 69ecbdf487d7 09:24:25 ---> 615279d6c0f7 09:24:25 Step 21/23 : LABEL arch=arm64 09:24:25 ---> Running in b9542b266bf7 09:24:25 Removing intermediate container b9542b266bf7 09:24:25 ---> d6f4e2136260 09:24:25 Step 22/23 : LABEL git_sha=016774ad856346449abec6a76f039c0b34c03e63 09:24:25 ---> Running in f0fca624bce6 09:24:26 Removing intermediate container f0fca624bce6 09:24:26 ---> 0828e886da2c 09:24:26 Step 23/23 : LABEL version=3.2.0-dev.15 09:24:26 ---> Running in 80974ecac2cf 09:24:26 Removing intermediate container 80974ecac2cf 09:24:26 ---> 21755b712bf5 09:24:26 [Warning] One or more build-args [ARCH] were not consumed 09:24:26 Successfully built 21755b712bf5 09:24:26 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 09:24:26 provisioning config files... 09:24:26 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/154@tmp/config16816457978407631688tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:24:27 ---> ****-login.sh 09:24:27 nexus3.edgexfoundry.org:10001 09:24:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:27 Configure a credential helper to remove this warning. See 09:24:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:27 09:24:27 Login Succeeded 09:24:27 nexus3.edgexfoundry.org:10002 09:24:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:27 Configure a credential helper to remove this warning. See 09:24:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:27 09:24:27 Login Succeeded 09:24:27 nexus3.edgexfoundry.org:10003 09:24:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:28 Configure a credential helper to remove this warning. See 09:24:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:28 09:24:28 Login Succeeded 09:24:28 nexus3.edgexfoundry.org:10004 09:24:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:28 Configure a credential helper to remove this warning. See 09:24:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:28 09:24:28 Login Succeeded 09:24:28 ****.io 09:24:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:24:29 Configure a credential helper to remove this warning. See 09:24:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:24:29 09:24:29 Login Succeeded 09:24:29 ---> ****-login.sh ends [Pipeline] } 09:24:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:24:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:24:29 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 09:24:29 016774ad856346449abec6a76f039c0b34c03e63 09:24:29 latest 09:24:29 3.2.0-dev.15 09:24:29 016774ad856346449abec6a76f039c0b34c03e63-3.2.0-dev.15 09:24:29 main 09:24:29 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:29 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:016774ad856346449abec6a76f039c0b34c03e63 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:29 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:016774ad856346449abec6a76f039c0b34c03e63 09:24:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 09:24:29 5f9078a27cfd: Preparing 09:24:29 2d1005baef94: Preparing 09:24:29 c82ea177ec55: Preparing 09:24:29 b0ab0cec44e6: Preparing 09:24:29 198d231b7889: Preparing 09:24:29 da707bb00cb8: Preparing 09:24:29 da707bb00cb8: Waiting 09:24:30 2d1005baef94: Pushed 09:24:30 5f9078a27cfd: Pushed 09:24:30 198d231b7889: Pushed 09:24:30 da707bb00cb8: Layer already exists 09:24:31 b0ab0cec44e6: Pushed 09:24:38 c82ea177ec55: Pushed 09:24:38 016774ad856346449abec6a76f039c0b34c03e63: digest: sha256:4f71b0c35de444e9441c44996639e3c1b40c84bab4809539023f83e721d1afa6 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:38 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:38 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 09:24:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 09:24:38 5f9078a27cfd: Preparing 09:24:38 2d1005baef94: Preparing 09:24:38 c82ea177ec55: Preparing 09:24:38 b0ab0cec44e6: Preparing 09:24:38 198d231b7889: Preparing 09:24:38 da707bb00cb8: Preparing 09:24:38 da707bb00cb8: Waiting 09:24:38 198d231b7889: Layer already exists 09:24:38 c82ea177ec55: Layer already exists 09:24:38 b0ab0cec44e6: Layer already exists 09:24:38 5f9078a27cfd: Layer already exists 09:24:38 2d1005baef94: Layer already exists 09:24:38 da707bb00cb8: Layer already exists 09:24:39 latest: digest: sha256:4f71b0c35de444e9441c44996639e3c1b40c84bab4809539023f83e721d1afa6 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:39 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:39 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.15 09:24:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 09:24:39 5f9078a27cfd: Preparing 09:24:39 2d1005baef94: Preparing 09:24:39 c82ea177ec55: Preparing 09:24:39 b0ab0cec44e6: Preparing 09:24:39 198d231b7889: Preparing 09:24:39 da707bb00cb8: Preparing 09:24:39 da707bb00cb8: Waiting 09:24:39 2d1005baef94: Layer already exists 09:24:39 c82ea177ec55: Layer already exists 09:24:39 198d231b7889: Layer already exists 09:24:39 b0ab0cec44e6: Layer already exists 09:24:39 5f9078a27cfd: Layer already exists 09:24:39 da707bb00cb8: Layer already exists 09:24:40 3.2.0-dev.15: digest: sha256:4f71b0c35de444e9441c44996639e3c1b40c84bab4809539023f83e721d1afa6 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:40 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:016774ad856346449abec6a76f039c0b34c03e63-3.2.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:40 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:016774ad856346449abec6a76f039c0b34c03e63-3.2.0-dev.15 09:24:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 09:24:40 5f9078a27cfd: Preparing 09:24:40 2d1005baef94: Preparing 09:24:40 c82ea177ec55: Preparing 09:24:40 b0ab0cec44e6: Preparing 09:24:40 198d231b7889: Preparing 09:24:40 da707bb00cb8: Preparing 09:24:40 da707bb00cb8: Waiting 09:24:40 2d1005baef94: Layer already exists 09:24:40 c82ea177ec55: Layer already exists 09:24:40 5f9078a27cfd: Layer already exists 09:24:40 198d231b7889: Layer already exists 09:24:40 b0ab0cec44e6: Layer already exists 09:24:40 da707bb00cb8: Layer already exists 09:24:40 016774ad856346449abec6a76f039c0b34c03e63-3.2.0-dev.15: digest: sha256:4f71b0c35de444e9441c44996639e3c1b40c84bab4809539023f83e721d1afa6 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:41 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:41 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 09:24:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 09:24:41 5f9078a27cfd: Preparing 09:24:41 2d1005baef94: Preparing 09:24:41 c82ea177ec55: Preparing 09:24:41 b0ab0cec44e6: Preparing 09:24:41 198d231b7889: Preparing 09:24:41 da707bb00cb8: Preparing 09:24:41 da707bb00cb8: Waiting 09:24:41 b0ab0cec44e6: Layer already exists 09:24:41 2d1005baef94: Layer already exists 09:24:41 198d231b7889: Layer already exists 09:24:41 5f9078a27cfd: Layer already exists 09:24:41 c82ea177ec55: Layer already exists 09:24:41 da707bb00cb8: Layer already exists 09:24:41 main: digest: sha256:4f71b0c35de444e9441c44996639e3c1b40c84bab4809539023f83e721d1afa6 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:24:41 ===================================================== [Pipeline] echo 09:24:42 taggedImages: 09:24:42 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:016774ad856346449abec6a76f039c0b34c03e63 09:24:42 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 09:24:42 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.15 09:24:42 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:016774ad856346449abec6a76f039c0b34c03e63-3.2.0-dev.15 09:24:42 - 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 09:24:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:24:42 09:24:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:24:42 arm64: Pulling from edgex-lftools-log-publisher 09:24:42 8998bd30e6a1: Pulling fs layer 09:24:42 04944245beec: Pulling fs layer 09:24:42 699f458cf7ca: Pulling fs layer 09:24:42 765212b225bb: Pulling fs layer 09:24:42 f23df028b6ca: Pulling fs layer 09:24:42 d65c8cfc05b1: Pulling fs layer 09:24:42 2437ff75d9bd: Pulling fs layer 09:24:42 f23df028b6ca: Waiting 09:24:42 d65c8cfc05b1: Waiting 09:24:42 765212b225bb: Waiting 09:24:42 2437ff75d9bd: Waiting 09:24:43 04944245beec: Verifying Checksum 09:24:43 04944245beec: Download complete 09:24:43 765212b225bb: Verifying Checksum 09:24:43 765212b225bb: Download complete 09:24:43 f23df028b6ca: Verifying Checksum 09:24:43 f23df028b6ca: Download complete 09:24:43 d65c8cfc05b1: Verifying Checksum 09:24:43 d65c8cfc05b1: Download complete 09:24:43 699f458cf7ca: Verifying Checksum 09:24:43 699f458cf7ca: Download complete 09:24:43 8998bd30e6a1: Verifying Checksum 09:24:43 8998bd30e6a1: Download complete 09:24:46 2437ff75d9bd: Verifying Checksum 09:24:46 2437ff75d9bd: Download complete 09:24:48 8998bd30e6a1: Pull complete 09:24:48 04944245beec: Pull complete 09:24:50 699f458cf7ca: Pull complete 09:24:50 765212b225bb: Pull complete 09:24:51 f23df028b6ca: Pull complete 09:24:51 d65c8cfc05b1: Pull complete 09:25:10 2437ff75d9bd: Pull complete 09:25:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:25:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:25:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:25:10 prd-ubuntu20.04-docker-arm64-4c-16g-4805 does not seem to be running inside a container 09:25:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/154 -v /w/workspace/device-modbus-go/154:/w/workspace/device-modbus-go/154:rw,z -v /w/workspace/device-modbus-go/154@tmp:/w/workspace/device-modbus-go/154@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:25:13 $ docker top 5d298f258fdcfbda2a2009ee1b8efa1706f2a65f8c5b39ae6c0469ee99306f73 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:25:14 ---> job-cost.sh 09:25:14 lf-activate-venv: SKIPPING 09:25:14 INFO: No Stack... 09:25:14 INFO: Retrieving Pricing Info for: v3-standard-4 09:25:15 INFO: Archiving Costs [Pipeline] sh 09:25:15 + cat /w/workspace/device-modbus-go/154/archives/cost.csv 09:25:15 + cut -d, -f6 [Pipeline] lock 09:25:16 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-154-stack-cost] 09:25:16 Resource [jenkins-edgexfoundry-device-modbus-go-main-154-stack-cost] did not exist. Created. 09:25:16 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-154-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:25:16 /w/workspace/device-modbus-go/154@tmp/durable-04f9f05d/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:25:17 + echo total: 0.10999999940395355 [Pipeline] stash 09:25:17 Warning: overwriting stash ‘stack-cost’ 09:25:17 Stashed 1 file(s) [Pipeline] } 09:25:17 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-154-stack-cost] [Pipeline] // lock [Pipeline] } 09:25:17 $ docker stop --time=1 5d298f258fdcfbda2a2009ee1b8efa1706f2a65f8c5b39ae6c0469ee99306f73 09:25:19 $ docker rm -f --volumes 5d298f258fdcfbda2a2009ee1b8efa1706f2a65f8c5b39ae6c0469ee99306f73 [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 09:25:19 provisioning config files... 09:25:19 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12310348944137519549tmp [Pipeline] { [Pipeline] sh 09:25:19 + set +x 09:25:19 + curl -s https://codecov.io/bash 09:25:19 + bash -s -- 09:25:19 09:25:19 _____ _ 09:25:19 / ____| | | 09:25:19 | | ___ __| | ___ ___ _____ __ 09:25:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:25:19 | |___| (_) | (_| | __/ (_| (_) \ V / 09:25:19 \_____\___/ \__,_|\___|\___\___/ \_/ 09:25:19 Bash-1.0.6 09:25:19 09:25:19 09:25:19 ==> git version 2.25.1 found 09:25:19 ==> 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 09:25:19 Release-Date: 2020-01-08 09:25:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:25:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:25:19 ==> Jenkins CI detected. 09:25:19 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 09:25:19 project root: . 09:25:19 --> token set from env 09:25:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:25:20 ==> Running gcov in . (disable via -X gcov) 09:25:20 ==> Python coveragepy not found 09:25:20 ==> Searching for coverage reports in: 09:25:20 + . 09:25:20 -> Found 1 reports 09:25:20 ==> Detecting git/mercurial file structure 09:25:20 ==> Reading reports 09:25:20 + ./coverage.out bytes=24601 09:25:20 ==> Appending adjustments 09:25:20 https://docs.codecov.io/docs/fixing-reports 09:25:20 + Found adjustments 09:25:20 ==> Gzipping contents 09:25:20 4.0K /tmp/codecov.ujA5FH.gz 09:25:20 ==> Uploading reports 09:25:20 url: https://codecov.io 09:25:20 query: branch=main&commit=016774ad856346449abec6a76f039c0b34c03e63&build=154&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F154%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:25:20 -> Pinging Codecov 09:25:20 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=016774ad856346449abec6a76f039c0b34c03e63&build=154&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F154%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:25:20 -> Uploading to 09:25:20 https://storage.googleapis.com/codecov/v4/raw/2024-07-02/55DBCA73C666E3227836607328DD7E49/016774ad856346449abec6a76f039c0b34c03e63/047626cc-75fa-4f27-a2cf-3e7039e865ce.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240702%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240702T092520Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d2add8b171a48ffa788041e4fea934031ae86d434470e3579ff5d059b5efbe0b 09:25:20 % Total % Received % Xferd Average Speed Time Time Time Current 09:25:20 Dload Upload Total Spent Left Speed 09:25:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 17389 --:--:-- --:--:-- --:--:-- 17389 09:25:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/016774ad856346449abec6a76f039c0b34c03e63 [Pipeline] } 09:25:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:25:20 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:25:20 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 09:25:21 09:25:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 09:25:21 latest: Pulling from edgex-devops/edgex-snyk-go 09:25:21 619be1103602: Already exists 09:25:21 f8ea3408117e: Pulling fs layer 09:25:21 91320369b822: Pulling fs layer 09:25:21 0406650e8295: Pulling fs layer 09:25:21 4f4fb700ef54: Pulling fs layer 09:25:21 96d80e3f36e1: Pulling fs layer 09:25:21 bcf3aedb951c: Pulling fs layer 09:25:21 4f4fb700ef54: Waiting 09:25:21 96d80e3f36e1: Waiting 09:25:21 bcf3aedb951c: Waiting 09:25:21 0406650e8295: Download complete 09:25:21 f8ea3408117e: Download complete 09:25:21 4f4fb700ef54: Verifying Checksum 09:25:21 4f4fb700ef54: Download complete 09:25:21 f8ea3408117e: Pull complete 09:25:21 96d80e3f36e1: Verifying Checksum 09:25:21 96d80e3f36e1: Download complete 09:25:21 91320369b822: Verifying Checksum 09:25:21 91320369b822: Download complete 09:25:22 bcf3aedb951c: Verifying Checksum 09:25:22 bcf3aedb951c: Download complete 09:25:25 91320369b822: Pull complete 09:25:25 0406650e8295: Pull complete 09:25:25 4f4fb700ef54: Pull complete 09:25:25 96d80e3f36e1: Pull complete 09:25:28 bcf3aedb951c: Pull complete 09:25:28 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 09:25:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 09:25:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:25:29 prd-ubuntu20.04-docker-8c-8g-4803 does not seem to be running inside a container 09:25:29 $ 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 09:25:35 $ docker top ac562867bb5cd2581c07681944cedd6f8936c48ed775e3b80a614846d1bbfe78 -eo pid,comm [Pipeline] { [Pipeline] sh 09:25:35 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] echo 09:25:35 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 09:25:35 + set -o pipefail 09:25:35 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 09:25:43 09:25:43 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 09:25:43 09:25:43 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0a0805b9-8982-40eb-8dbc-845f1ef902a3/history/240d64fd-c141-4970-9267-713c2679b372 09:25:43 09:25:43 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 09:25:43 09:25:43 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:25:43 09:25:43 09:25:43 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 09:25:43 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 09:25:43 $ docker stop --time=1 ac562867bb5cd2581c07681944cedd6f8936c48ed775e3b80a614846d1bbfe78 09:25:51 $ docker rm -f --volumes ac562867bb5cd2581c07681944cedd6f8936c48ed775e3b80a614846d1bbfe78 [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 09:25:52 + git log --format=format:%s -1 016774ad856346449abec6a76f039c0b34c03e63 [Pipeline] sh 09:25:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:25:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:25:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:25:52 prd-ubuntu20.04-docker-8c-8g-4803 does not seem to be running inside a container 09:25:52 $ 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 09:25:53 $ docker top 886fc76339751cd0d16929a24026c8507719b363e389754e3a83701a17708ce6 -eo pid,comm 09:25:53 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). 09:25:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:25:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:25:54 [ssh-agent] Looking for ssh-agent implementation... 09:25:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:25:54 $ docker exec 886fc76339751cd0d16929a24026c8507719b363e389754e3a83701a17708ce6 ssh-agent 09:25:54 SSH_AUTH_SOCK=/tmp/ssh-PczgRj2BQJax/agent.33 09:25:54 SSH_AGENT_PID=39 09:25:54 Running ssh-add (command line suppressed) 09:25:54 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9485524957284149221.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9485524957284149221.key) 09:25:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:25:55 + git semver tag 09:25:55 2024-07-02 09:25:55,230 [run_tag] DEBUG tag force:False 09:25:55 2024-07-02 09:25:55,230 [check_head_tag] DEBUG check head tag 09:25:55 2024-07-02 09:25:55,231 [execute] INFO git cat-file --batch-check 09:25:55 2024-07-02 09:25:55,231 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 09:25:55 2024-07-02 09:25:55,235 [execute] INFO git cat-file --batch 09:25:55 2024-07-02 09:25:55,236 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 09:25:55 2024-07-02 09:25:55,253 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:25:55 2024-07-02 09:25:55,254 [execute] INFO git tag -a v3.2.0-dev.15 -m v3.2.0-dev.15 09:25:55 2024-07-02 09:25:55,254 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.15', '-m', 'v3.2.0-dev.15'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 09:25:55 2024-07-02 09:25:55,259 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:25:55 3.2.0-dev.15 [Pipeline] } 09:25:55 $ docker exec --env ******** --env ******** 886fc76339751cd0d16929a24026c8507719b363e389754e3a83701a17708ce6 ssh-agent -k 09:25:55 unset SSH_AUTH_SOCK; 09:25:55 unset SSH_AGENT_PID; 09:25:55 echo Agent pid 39 killed; 09:25:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:25:55 + git semver [Pipeline] } 09:25:55 $ docker stop --time=1 886fc76339751cd0d16929a24026c8507719b363e389754e3a83701a17708ce6 09:25:57 $ docker rm -f --volumes 886fc76339751cd0d16929a24026c8507719b363e389754e3a83701a17708ce6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:25:57 09:25:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:25:58 0.23.1-centos7: Pulling from edgex-lftools 09:25:58 ab5ef0e58194: Pulling fs layer 09:25:58 9712f1f96733: Pulling fs layer 09:25:58 63f879dbbcfc: Pulling fs layer 09:25:58 0d9ebad4ef96: Pulling fs layer 09:25:58 e9a5061849ea: Pulling fs layer 09:25:58 d747dcd14b5f: Pulling fs layer 09:25:58 2de7ff778b66: Pulling fs layer 09:25:58 d747dcd14b5f: Waiting 09:25:58 0d9ebad4ef96: Waiting 09:25:58 2de7ff778b66: Waiting 09:25:58 e9a5061849ea: Waiting 09:25:58 9712f1f96733: Verifying Checksum 09:25:58 9712f1f96733: Download complete 09:25:58 63f879dbbcfc: Verifying Checksum 09:25:58 63f879dbbcfc: Download complete 09:25:58 e9a5061849ea: Verifying Checksum 09:25:58 e9a5061849ea: Download complete 09:25:58 d747dcd14b5f: Download complete 09:25:58 0d9ebad4ef96: Verifying Checksum 09:25:58 0d9ebad4ef96: Download complete 09:25:58 ab5ef0e58194: Verifying Checksum 09:25:58 ab5ef0e58194: Download complete 09:25:58 2de7ff778b66: Verifying Checksum 09:25:58 2de7ff778b66: Download complete 09:26:01 ab5ef0e58194: Pull complete 09:26:01 9712f1f96733: Pull complete 09:26:02 63f879dbbcfc: Pull complete 09:26:06 0d9ebad4ef96: Pull complete 09:26:06 e9a5061849ea: Pull complete 09:26:07 d747dcd14b5f: Pull complete 09:26:08 2de7ff778b66: Pull complete 09:26:08 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:26:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:26:08 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:26:08 prd-ubuntu20.04-docker-8c-8g-4803 does not seem to be running inside a container 09:26:08 $ 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 09:26:11 $ docker top b9530afb53b004429b0f931abcf40acd6ea43460baa1e939fc0a46140d59e38e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:26:11 provisioning config files... 09:26:11 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4154164845923285457tmp 09:26:11 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5988352193566878899tmp 09:26:11 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8960837843100537253tmp [Pipeline] { [Pipeline] echo 09:26:11 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:26:12 ---> sigul-configuration.sh 09:26:12 gpg: directory `/root/.gnupg' created 09:26:12 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:26:12 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:26:12 gpg: keyring `/root/.gnupg/secring.gpg' created 09:26:12 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:26:12 gpg: CAST5 encrypted data 09:26:12 gpg: encrypted with 1 passphrase 09:26:12 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:26:12 + mkdir /home/jenkins 09:26:12 + mkdir /home/jenkins/sigul [Pipeline] sh 09:26:12 + 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 09:26:12 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:26:12 ---> sigul-install.sh 09:26:12 Sigul already installed; skipping installation. [Pipeline] sh 09:26:13 + git tag --list 09:26:13 0.7.1 09:26:13 v1.0.0 09:26:13 v1.1.0 09:26:13 v1.1.1 09:26:13 v1.2.2 09:26:13 v1.3.0 09:26:13 v1.3.1 09:26:13 v2.0.0 09:26:13 v2.1.0 09:26:13 v2.1.1 09:26:13 v2.2.0 09:26:13 v2.3.0 09:26:13 v3.0 09:26:13 v3.0.0 09:26:13 v3.1 09:26:13 v3.1.0 09:26:13 v3.1.0-dev.1 09:26:13 v3.1.0-dev.10 09:26:13 v3.1.0-dev.11 09:26:13 v3.1.0-dev.12 09:26:13 v3.1.0-dev.13 09:26:13 v3.1.0-dev.14 09:26:13 v3.1.0-dev.15 09:26:13 v3.1.0-dev.16 09:26:13 v3.1.0-dev.17 09:26:13 v3.1.0-dev.18 09:26:13 v3.1.0-dev.19 09:26:13 v3.1.0-dev.2 09:26:13 v3.1.0-dev.20 09:26:13 v3.1.0-dev.21 09:26:13 v3.1.0-dev.22 09:26:13 v3.1.0-dev.23 09:26:13 v3.1.0-dev.24 09:26:13 v3.1.0-dev.25 09:26:13 v3.1.0-dev.3 09:26:13 v3.1.0-dev.4 09:26:13 v3.1.0-dev.5 09:26:13 v3.1.0-dev.6 09:26:13 v3.1.0-dev.7 09:26:13 v3.1.0-dev.8 09:26:13 v3.1.0-dev.9 09:26:13 v3.1.1 09:26:13 v3.1.1-dev.1 09:26:13 v3.2.0-dev.1 09:26:13 v3.2.0-dev.10 09:26:13 v3.2.0-dev.11 09:26:13 v3.2.0-dev.12 09:26:13 v3.2.0-dev.13 09:26:13 v3.2.0-dev.14 09:26:13 v3.2.0-dev.15 09:26:13 v3.2.0-dev.2 09:26:13 v3.2.0-dev.3 09:26:13 v3.2.0-dev.4 09:26:13 v3.2.0-dev.5 09:26:13 v3.2.0-dev.6 09:26:13 v3.2.0-dev.7 09:26:13 v3.2.0-dev.8 09:26:13 v3.2.0-dev.9 [Pipeline] sh 09:26:13 + lftools sign git-tag v3.2.0-dev.15 09:26:14 Signing Git tag with Sigul... 09:26:14 Signing v3.2.0-dev.15 [Pipeline] echo 09:26:14 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:26:15 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:26:15 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:26:15 $ docker stop --time=1 b9530afb53b004429b0f931abcf40acd6ea43460baa1e939fc0a46140d59e38e 09:26:16 $ docker rm -f --volumes b9530afb53b004429b0f931abcf40acd6ea43460baa1e939fc0a46140d59e38e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:26:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:26:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:26:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:26:17 prd-ubuntu20.04-docker-8c-8g-4803 does not seem to be running inside a container 09:26:17 $ 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 09:26:17 $ docker top 5a95fdeeb71799489f624ecb5167568ec1a5965d39f8edcca63ddf6d29f5e83b -eo pid,comm 09:26:17 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). 09:26:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:26:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:26:17 [ssh-agent] Looking for ssh-agent implementation... 09:26:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:26:17 $ docker exec 5a95fdeeb71799489f624ecb5167568ec1a5965d39f8edcca63ddf6d29f5e83b ssh-agent 09:26:17 SSH_AUTH_SOCK=/tmp/ssh-DkNLHTKd8ctL/agent.32 09:26:17 SSH_AGENT_PID=38 09:26:17 Running ssh-add (command line suppressed) 09:26:18 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_18331222164708313007.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_18331222164708313007.key) 09:26:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:26:18 + git semver bump pre 09:26:18 2024-07-02 09:26:18,573 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:26:18 2024-07-02 09:26:18,573 [bump_version] DEBUG bumping version:3.2.0-dev.15 on axis:pre with prefix:dev 09:26:18 2024-07-02 09:26:18,573 [bump_version] DEBUG bumped version:3.2.0-dev.16 09:26:18 2024-07-02 09:26:18,573 [write_version] DEBUG write version:3.2.0-dev.16 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 09:26:18 2024-07-02 09:26:18,574 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:26:18 2024-07-02 09:26:18,574 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:26:18 2024-07-02 09:26:18,575 [execute] INFO git cat-file --batch-check 09:26:18 2024-07-02 09:26:18,576 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:26:18 2024-07-02 09:26:18,581 [execute] INFO git cat-file --batch 09:26:18 2024-07-02 09:26:18,581 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:26:18 2024-07-02 09:26:18,587 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:26:18 3.2.0-dev.16 [Pipeline] } 09:26:18 $ docker exec --env ******** --env ******** 5a95fdeeb71799489f624ecb5167568ec1a5965d39f8edcca63ddf6d29f5e83b ssh-agent -k 09:26:18 unset SSH_AUTH_SOCK; 09:26:18 unset SSH_AGENT_PID; 09:26:18 echo Agent pid 38 killed; 09:26:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:26:19 + git semver [Pipeline] } 09:26:19 $ docker stop --time=1 5a95fdeeb71799489f624ecb5167568ec1a5965d39f8edcca63ddf6d29f5e83b 09:26:21 $ docker rm -f --volumes 5a95fdeeb71799489f624ecb5167568ec1a5965d39f8edcca63ddf6d29f5e83b [Pipeline] // withDockerContainer [Pipeline] sh 09:26:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:26:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:26:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:26:21 prd-ubuntu20.04-docker-8c-8g-4803 does not seem to be running inside a container 09:26:21 $ 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 09:26:22 $ docker top e8a7c73f0038f109d28c46045a531668b525335aa86667046d811b6ce78d5bef -eo pid,comm 09:26:22 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). 09:26:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:26:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:26:22 [ssh-agent] Looking for ssh-agent implementation... 09:26:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:26:22 $ docker exec e8a7c73f0038f109d28c46045a531668b525335aa86667046d811b6ce78d5bef ssh-agent 09:26:22 SSH_AUTH_SOCK=/tmp/ssh-SpQMmQAAdnPO/agent.32 09:26:22 SSH_AGENT_PID=38 09:26:22 Running ssh-add (command line suppressed) 09:26:22 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7736703460699336271.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7736703460699336271.key) 09:26:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:26:22 + git semver push 09:26:23 2024-07-02 09:26:23,200 [run_push] DEBUG push 09:26:23 2024-07-02 09:26:23,200 [execute] INFO git cat-file --batch-check 09:26:23 2024-07-02 09:26:23,201 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:26:23 2024-07-02 09:26:23,205 [execute] INFO git rev-list 93a1487b658f8850f3419b079739b74439b7d735 -- 09:26:23 2024-07-02 09:26:23,205 [execute] DEBUG Popen(['git', 'rev-list', '93a1487b658f8850f3419b079739b74439b7d735', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:26:23 2024-07-02 09:26:23,213 [execute] INFO git fetch -v origin 09:26:23 2024-07-02 09:26:23,213 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 09:26:23 2024-07-02 09:26:23,672 [run_push] DEBUG no remote changes detected 09:26:23 2024-07-02 09:26:23,672 [execute] INFO git push origin semver 09:26:23 2024-07-02 09:26:23,673 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:26:24 2024-07-02 09:26:24,518 [run_push] DEBUG push all version tags 09:26:24 2024-07-02 09:26:24,519 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:26:24 2024-07-02 09:26:24,519 [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) 09:26:25 2024-07-02 09:26:25,155 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:26:25 3.2.0-dev.16 [Pipeline] } 09:26:25 $ docker exec --env ******** --env ******** e8a7c73f0038f109d28c46045a531668b525335aa86667046d811b6ce78d5bef ssh-agent -k 09:26:25 unset SSH_AUTH_SOCK; 09:26:25 unset SSH_AGENT_PID; 09:26:25 echo Agent pid 38 killed; 09:26:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:26:25 + git semver [Pipeline] } 09:26:26 $ docker stop --time=1 e8a7c73f0038f109d28c46045a531668b525335aa86667046d811b6ce78d5bef 09:26:27 $ docker rm -f --volumes e8a7c73f0038f109d28c46045a531668b525335aa86667046d811b6ce78d5bef [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 09:26:27 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 09:26:27 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 09:26:27 total 16 09:26:27 drwxr-xr-x 3 root root 4096 Jul 2 09:11 . 09:26:27 drwxrwxr-x 10 jenkins jenkins 4096 Jul 2 09:26 .. 09:26:27 drwxr-xr-x 2 root root 4096 Jul 2 09:11 cost 09:26:27 -rw-r--r-- 1 root root 88 Jul 2 09:11 cost.csv 09:26:27 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 09:26:27 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 09:26:27 total 16 09:26:27 drwxr-xr-x 3 jenkins jenkins 4096 Jul 2 09:11 . 09:26:27 drwxrwxr-x 10 jenkins jenkins 4096 Jul 2 09:26 .. 09:26:27 drwxr-xr-x 2 jenkins jenkins 4096 Jul 2 09:11 cost 09:26:27 -rw-r--r-- 1 jenkins jenkins 88 Jul 2 09:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:26:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:26:29 ---> package-listing.sh 09:26:29 ++ facter osfamily 09:26:29 ++ tr '[:upper:]' '[:lower:]' 09:26:29 + OS_FAMILY=debian 09:26:29 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 09:26:29 + START_PACKAGES=/tmp/packages_start.txt 09:26:29 + END_PACKAGES=/tmp/packages_end.txt 09:26:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:26:29 + PACKAGES=/tmp/packages_start.txt 09:26:29 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 09:26:29 + PACKAGES=/tmp/packages_end.txt 09:26:29 + case "${OS_FAMILY}" in 09:26:29 + dpkg -l 09:26:29 + grep '^ii' 09:26:29 + '[' -f /tmp/packages_start.txt ']' 09:26:29 + '[' -f /tmp/packages_end.txt ']' 09:26:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:26:29 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 09:26:29 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 09:26:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 09:26:29 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 09:26:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:26:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:26:30 prd-ubuntu20.04-docker-8c-8g-4803 does not seem to be running inside a container 09:26:30 $ 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 09:26:30 $ docker top dbbf6ec0892c64d759b069651d081272582f7dbc855f404fd1271bff439719e8 -eo pid,comm [Pipeline] { [Pipeline] sh 09:26:30 + touch /tmp/pre-build-complete [Pipeline] sh 09:26:31 + mkdir -p /var/log/sysstat [Pipeline] sh 09:26:31 + ls /var/log/sa-host 09:26:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:26:31 provisioning config files... 09:26:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15406360286913578691tmp [Pipeline] { [Pipeline] echo 09:26:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:26:31 ---> create-netrc.sh [Pipeline] } 09:26:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:26:32 ---> python-tools-install.sh [Pipeline] echo 09:26:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:26:32 ---> sudo-logs.sh 09:26:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:26:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:26:32 ---> job-cost.sh 09:26:32 lf-activate-venv: SKIPPING 09:26:32 DEBUG: total: 0.2199999988079071 09:26:32 INFO: Retrieving Stack Cost... 09:26:33 INFO: Retrieving Pricing Info for: v3-standard-8 09:26:33 INFO: Archiving Costs [Pipeline] echo 09:26:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:26:33 ---> logs-deploy.sh 09:26:33 lf-activate-venv: SKIPPING 09:26:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/154 09:26:33 INFO: archiving workspace using pattern(s): 09:26:34 Archives upload complete. 09:26:34 INFO: archiving logs to Nexus 09:26:35 ---> uname -a: 09:26:35 Linux prd-ubuntu20-04-docker-8c-8g-4803 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 09:26:35 09:26:35 09:26:35 ---> lscpu: 09:26:35 Architecture: x86_64 09:26:35 CPU op-mode(s): 32-bit, 64-bit 09:26:35 Byte Order: Little Endian 09:26:35 Address sizes: 40 bits physical, 48 bits virtual 09:26:35 CPU(s): 8 09:26:35 On-line CPU(s) list: 0-7 09:26:35 Thread(s) per core: 1 09:26:35 Core(s) per socket: 1 09:26:35 Socket(s): 8 09:26:35 NUMA node(s): 1 09:26:35 Vendor ID: AuthenticAMD 09:26:35 CPU family: 23 09:26:35 Model: 49 09:26:35 Model name: AMD EPYC-Rome Processor 09:26:35 Stepping: 0 09:26:35 CPU MHz: 2799.998 09:26:35 BogoMIPS: 5599.99 09:26:35 Virtualization: AMD-V 09:26:35 Hypervisor vendor: KVM 09:26:35 Virtualization type: full 09:26:35 L1d cache: 256 KiB 09:26:35 L1i cache: 256 KiB 09:26:35 L2 cache: 4 MiB 09:26:35 L3 cache: 128 MiB 09:26:35 NUMA node0 CPU(s): 0-7 09:26:35 Vulnerability Itlb multihit: Not affected 09:26:35 Vulnerability L1tf: Not affected 09:26:35 Vulnerability Mds: Not affected 09:26:35 Vulnerability Meltdown: Not affected 09:26:35 Vulnerability Mmio stale data: Not affected 09:26:35 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:26:35 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 09:26:35 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 09:26:35 Vulnerability Srbds: Not affected 09:26:35 Vulnerability Tsx async abort: Not affected 09:26:35 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 09:26:35 09:26:35 09:26:35 ---> nproc: 09:26:35 8 09:26:35 09:26:35 09:26:35 ---> df -h: 09:26:35 Filesystem Size Used Avail Use% Mounted on 09:26:35 overlay 155G 14G 142G 9% / 09:26:35 tmpfs 64M 0 64M 0% /dev 09:26:35 tmpfs 16G 0 16G 0% /sys/fs/cgroup 09:26:35 shm 64M 0 64M 0% /dev/shm 09:26:35 /dev/vda1 155G 14G 142G 9% /facter-os 09:26:35 09:26:35