Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f7c28725686cbfd62f6225fd09367d5909216c89 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10728159832467914512.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6293908955698246867.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8528112025695071187.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh260559377396891989.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9302059155291577767.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-4334 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision f7c28725686cbfd62f6225fd09367d5909216c89 (main) Commit message: "Merge pull request #555 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.18" > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f7c28725686cbfd62f6225fd09367d5909216c89 # timeout=10 > git rev-list --no-walk 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-06-25T06:56:37.084Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-06-25T06:56:37.164Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-06-25T06:56:37.191Z] ========================================================= [2024-06-25T06:56:37.191Z] EdgeX Global Pipelines Version Info [2024-06-25T06:56:37.191Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-06-25T06:56:37.910Z] ------------------- [2024-06-25T06:56:37.910Z] stable info: [2024-06-25T06:56:37.910Z] ------------------- [2024-06-25T06:56:37.910Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-06-25T06:56:37.910Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-06-25T06:56:37.910Z] Message: update stable to v1.0.260 [2024-06-25T06:56:38.483Z] ------------------- [2024-06-25T06:56:38.483Z] experimental info: [2024-06-25T06:56:38.483Z] ------------------- [2024-06-25T06:56:38.483Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-06-25T06:56:38.483Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-06-25T06:56:38.483Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-06-25T06:56:38.572Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-06-25T06:56:38.592Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-06-25T06:56:38.612Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-06-25T06:56:38.634Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-06-25T06:56:38.653Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-06-25T06:56:38.676Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-06-25T06:56:38.698Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-06-25T06:56:38.720Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-06-25T06:56:38.743Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-06-25T06:56:38.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-06-25T06:56:38.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-06-25T06:56:38.900Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-06-25T06:56:38.922Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-06-25T06:56:38.946Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-06-25T06:56:38.968Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-06-25T06:56:38.991Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-06-25T06:56:39.009Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-06-25T06:56:39.034Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-06-25T06:56:39.056Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-06-25T06:56:39.076Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-06-25T06:56:39.095Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-06-25T06:56:39.116Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-06-25T06:56:39.133Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-06-25T06:56:39.149Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-06-25T06:56:39.171Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-06-25T06:56:39.193Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-06-25T06:56:39.215Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-06-25T06:56:39.242Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-06-25T06:56:39.263Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-06-25T06:56:39.284Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-06-25T06:56:39.310Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f7c28725686cbfd62f6225fd09367d5909216c89 [Pipeline] echo [2024-06-25T06:56:39.330Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f7c2872 [Pipeline] echo [2024-06-25T06:56:39.350Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-06-25T06:56:39.410Z] provisioning config files... [2024-06-25T06:56:39.424Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7622193781578711911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-25T06:56:39.755Z] ---> ****-login.sh [2024-06-25T06:56:39.755Z] nexus3.edgexfoundry.org:10001 [2024-06-25T06:56:40.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T06:56:40.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T06:56:40.277Z] Configure a credential helper to remove this warning. See [2024-06-25T06:56:40.277Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T06:56:40.277Z] [2024-06-25T06:56:40.277Z] Login Succeeded [2024-06-25T06:56:40.278Z] nexus3.edgexfoundry.org:10002 [2024-06-25T06:56:40.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T06:56:40.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T06:56:40.278Z] Configure a credential helper to remove this warning. See [2024-06-25T06:56:40.278Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T06:56:40.278Z] [2024-06-25T06:56:40.278Z] Login Succeeded [2024-06-25T06:56:40.278Z] nexus3.edgexfoundry.org:10003 [2024-06-25T06:56:40.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T06:56:40.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T06:56:40.538Z] Configure a credential helper to remove this warning. See [2024-06-25T06:56:40.539Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T06:56:40.539Z] [2024-06-25T06:56:40.539Z] Login Succeeded [2024-06-25T06:56:40.539Z] nexus3.edgexfoundry.org:10004 [2024-06-25T06:56:40.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T06:56:40.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T06:56:40.539Z] Configure a credential helper to remove this warning. See [2024-06-25T06:56:40.539Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T06:56:40.539Z] [2024-06-25T06:56:40.539Z] Login Succeeded [2024-06-25T06:56:40.539Z] ****.io [2024-06-25T06:56:40.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T06:56:40.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T06:56:40.799Z] Configure a credential helper to remove this warning. See [2024-06-25T06:56:40.799Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T06:56:40.799Z] [2024-06-25T06:56:40.799Z] Login Succeeded [2024-06-25T06:56:41.058Z] ---> ****-login.sh ends [Pipeline] } [2024-06-25T06:56:41.065Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-06-25T06:56:41.475Z] + git rev-list -1 --merges f7c28725686cbfd62f6225fd09367d5909216c89~1..f7c28725686cbfd62f6225fd09367d5909216c89 [Pipeline] echo [2024-06-25T06:56:41.501Z] -----------> git rev-list -1 --merges f7c28725686cbfd62f6225fd09367d5909216c89~1..f7c28725686cbfd62f6225fd09367d5909216c89 f7c28725686cbfd62f6225fd09367d5909216c89 [2024-06-25T06:56:41.501Z] f7c28725686cbfd62f6225fd09367d5909216c89 [false] [Pipeline] sh [2024-06-25T06:56:41.795Z] + git log --format=format:%s -1 f7c28725686cbfd62f6225fd09367d5909216c89 [Pipeline] echo [2024-06-25T06:56:41.812Z] ========================================================= [2024-06-25T06:56:41.812Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-06-25T06:56:41.812Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-06-25T06:56:42.147Z] + git log --format=format:%s -1 f7c28725686cbfd62f6225fd09367d5909216c89 [Pipeline] echo [2024-06-25T06:56:42.158Z] [semverPrep] GIT_COMMIT: f7c28725686cbfd62f6225fd09367d5909216c89, Commit Message: Merge pull request #555 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.18 [Pipeline] echo [2024-06-25T06:56:42.171Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-06-25T06:56:42.542Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-06-25T06:56:42.542Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-06-25T06:56:42.542Z] + [ -e /tmp/ssh_known_hosts ] [2024-06-25T06:56:42.542Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-06-25T06:56:42.542Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-06-25T06:56:42.542Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-06-25T06:56:42.542Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T06:56:42.959Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-25T06:56:42.959Z] [2024-06-25T06:56:42.959Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T06:56:43.269Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-25T06:56:43.269Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-06-25T06:56:43.269Z] b85a868b505f: Pulling fs layer [2024-06-25T06:56:43.269Z] e2be974225ed: Pulling fs layer [2024-06-25T06:56:43.269Z] 339a4e72a1f5: Pulling fs layer [2024-06-25T06:56:43.269Z] 988bab9f4d93: Pulling fs layer [2024-06-25T06:56:43.269Z] 1469e6f7b9e6: Pulling fs layer [2024-06-25T06:56:43.269Z] eaf3925da568: Pulling fs layer [2024-06-25T06:56:43.269Z] bab4dde63d76: Pulling fs layer [2024-06-25T06:56:43.269Z] bde34c3a00c8: Pulling fs layer [2024-06-25T06:56:43.269Z] b352a97aabf1: Pulling fs layer [2024-06-25T06:56:43.269Z] 4872d77fe225: Pulling fs layer [2024-06-25T06:56:43.269Z] 5851b861e8e6: Pulling fs layer [2024-06-25T06:56:43.269Z] 988bab9f4d93: Waiting [2024-06-25T06:56:43.269Z] 1469e6f7b9e6: Waiting [2024-06-25T06:56:43.269Z] eaf3925da568: Waiting [2024-06-25T06:56:43.269Z] 4872d77fe225: Waiting [2024-06-25T06:56:43.269Z] bab4dde63d76: Waiting [2024-06-25T06:56:43.269Z] bde34c3a00c8: Waiting [2024-06-25T06:56:43.269Z] b352a97aabf1: Waiting [2024-06-25T06:56:43.269Z] 5851b861e8e6: Waiting [2024-06-25T06:56:43.269Z] e2be974225ed: Download complete [2024-06-25T06:56:43.269Z] 988bab9f4d93: Download complete [2024-06-25T06:56:43.269Z] 1469e6f7b9e6: Verifying Checksum [2024-06-25T06:56:43.269Z] 1469e6f7b9e6: Download complete [2024-06-25T06:56:43.269Z] eaf3925da568: Verifying Checksum [2024-06-25T06:56:43.269Z] eaf3925da568: Download complete [2024-06-25T06:56:43.529Z] 339a4e72a1f5: Verifying Checksum [2024-06-25T06:56:43.529Z] 339a4e72a1f5: Download complete [2024-06-25T06:56:43.529Z] bde34c3a00c8: Download complete [2024-06-25T06:56:43.529Z] b352a97aabf1: Verifying Checksum [2024-06-25T06:56:43.529Z] b352a97aabf1: Download complete [2024-06-25T06:56:43.529Z] 4872d77fe225: Verifying Checksum [2024-06-25T06:56:43.529Z] 4872d77fe225: Download complete [2024-06-25T06:56:43.529Z] 5851b861e8e6: Verifying Checksum [2024-06-25T06:56:43.529Z] 5851b861e8e6: Download complete [2024-06-25T06:56:43.529Z] b85a868b505f: Verifying Checksum [2024-06-25T06:56:43.529Z] b85a868b505f: Download complete [2024-06-25T06:56:43.789Z] bab4dde63d76: Verifying Checksum [2024-06-25T06:56:43.789Z] bab4dde63d76: Download complete [2024-06-25T06:56:44.731Z] b85a868b505f: Pull complete [2024-06-25T06:56:44.990Z] e2be974225ed: Pull complete [2024-06-25T06:56:45.558Z] 339a4e72a1f5: Pull complete [2024-06-25T06:56:45.558Z] 988bab9f4d93: Pull complete [2024-06-25T06:56:45.817Z] 1469e6f7b9e6: Pull complete [2024-06-25T06:56:45.817Z] eaf3925da568: Pull complete [2024-06-25T06:56:47.744Z] bab4dde63d76: Pull complete [2024-06-25T06:56:47.744Z] bde34c3a00c8: Pull complete [2024-06-25T06:56:47.744Z] b352a97aabf1: Pull complete [2024-06-25T06:56:48.005Z] 4872d77fe225: Pull complete [2024-06-25T06:56:48.005Z] 5851b861e8e6: Pull complete [2024-06-25T06:56:48.005Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-06-25T06:56:48.005Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-25T06:56:48.005Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T06:56:48.149Z] prd-ubuntu20.04-docker-8c-8g-4334 does not seem to be running inside a container [2024-06-25T06:56:48.186Z] $ 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 [2024-06-25T06:56:50.769Z] $ docker top fa23fbd5e10c32ca614b69472390af24bee2ce2ea79d2ffaeb75c8eb340654c8 -eo pid,comm [2024-06-25T06:56:50.824Z] 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). [2024-06-25T06:56:50.824Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-06-25T06:56:50.884Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-06-25T06:56:50.884Z] [ssh-agent] Looking for ssh-agent implementation... [2024-06-25T06:56:51.003Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-06-25T06:56:51.008Z] $ docker exec fa23fbd5e10c32ca614b69472390af24bee2ce2ea79d2ffaeb75c8eb340654c8 ssh-agent [2024-06-25T06:56:51.121Z] SSH_AUTH_SOCK=/tmp/ssh-z3f0Iy4HGDpE/agent.33 [2024-06-25T06:56:51.121Z] SSH_AGENT_PID=39 [2024-06-25T06:56:51.128Z] Running ssh-add (command line suppressed) [2024-06-25T06:56:51.242Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8447871970144327567.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8447871970144327567.key) [2024-06-25T06:56:51.255Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-06-25T06:56:51.549Z] + git tag --points-at HEAD [Pipeline] } [2024-06-25T06:56:51.562Z] $ docker exec --env ******** --env ******** fa23fbd5e10c32ca614b69472390af24bee2ce2ea79d2ffaeb75c8eb340654c8 ssh-agent -k [2024-06-25T06:56:51.672Z] unset SSH_AUTH_SOCK; [2024-06-25T06:56:51.672Z] unset SSH_AGENT_PID; [2024-06-25T06:56:51.672Z] echo Agent pid 39 killed; [2024-06-25T06:56:51.685Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-06-25T06:56:51.730Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-06-25T06:56:51.730Z] [ssh-agent] Looking for ssh-agent implementation... [2024-06-25T06:56:51.854Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-06-25T06:56:51.859Z] $ docker exec fa23fbd5e10c32ca614b69472390af24bee2ce2ea79d2ffaeb75c8eb340654c8 ssh-agent [2024-06-25T06:56:51.972Z] SSH_AUTH_SOCK=/tmp/ssh-Aw5BQChLmHJV/agent.72 [2024-06-25T06:56:51.972Z] SSH_AGENT_PID=78 [2024-06-25T06:56:51.977Z] Running ssh-add (command line suppressed) [2024-06-25T06:56:52.088Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11660910137475452364.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11660910137475452364.key) [2024-06-25T06:56:52.101Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-06-25T06:56:52.394Z] + git semver init [2024-06-25T06:56:52.653Z] 2024-06-25 06:56:52,604 [run_init] DEBUG init version:0.0.0 force:False [2024-06-25T06:56:52.653Z] 2024-06-25 06:56:52,605 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2024-06-25T06:56:52.653Z] 2024-06-25 06:56:52,606 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2024-06-25T06:56:52.653Z] 2024-06-25 06:56:52,606 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2024-06-25T06:56:54.034Z] 2024-06-25 06:56:53,622 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2024-06-25T06:56:54.034Z] 2024-06-25 06:56:53,623 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2024-06-25T06:56:54.034Z] 2024-06-25 06:56:53,623 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-06-25T06:56:54.034Z] 2024-06-25 06:56:53,623 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-06-25T06:56:54.034Z] 3.2.0-dev.14 [Pipeline] } [2024-06-25T06:56:54.046Z] $ docker exec --env ******** --env ******** fa23fbd5e10c32ca614b69472390af24bee2ce2ea79d2ffaeb75c8eb340654c8 ssh-agent -k [2024-06-25T06:56:54.147Z] unset SSH_AUTH_SOCK; [2024-06-25T06:56:54.152Z] unset SSH_AGENT_PID; [2024-06-25T06:56:54.155Z] echo Agent pid 78 killed; [2024-06-25T06:56:54.160Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-06-25T06:56:54.478Z] + git semver [Pipeline] } [2024-06-25T06:56:54.756Z] $ docker stop --time=1 fa23fbd5e10c32ca614b69472390af24bee2ce2ea79d2ffaeb75c8eb340654c8 [2024-06-25T06:56:56.091Z] $ docker rm -f --volumes fa23fbd5e10c32ca614b69472390af24bee2ce2ea79d2ffaeb75c8eb340654c8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-06-25T06:56:56.439Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-06-25T06:56:56.707Z] Stashed 1 file(s) [Pipeline] echo [2024-06-25T06:56:56.711Z] [edgeXSemver]: initialized semver on version 3.2.0-dev.14 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-06-25T06:56:56.891Z] provisioning config files... [2024-06-25T06:56:56.899Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13539668713637060425tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-25T06:56:57.198Z] ---> ****-login.sh [2024-06-25T06:56:57.198Z] nexus3.edgexfoundry.org:10001 [2024-06-25T06:56:57.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T06:56:57.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T06:56:57.198Z] Configure a credential helper to remove this warning. See [2024-06-25T06:56:57.199Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T06:56:57.199Z] [2024-06-25T06:56:57.199Z] Login Succeeded [2024-06-25T06:56:57.199Z] nexus3.edgexfoundry.org:10002 [2024-06-25T06:56:57.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T06:56:57.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T06:56:57.199Z] Configure a credential helper to remove this warning. See [2024-06-25T06:56:57.199Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T06:56:57.199Z] [2024-06-25T06:56:57.199Z] Login Succeeded [2024-06-25T06:56:57.199Z] nexus3.edgexfoundry.org:10003 [2024-06-25T06:56:57.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T06:56:57.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T06:56:57.458Z] Configure a credential helper to remove this warning. See [2024-06-25T06:56:57.458Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T06:56:57.458Z] [2024-06-25T06:56:57.458Z] Login Succeeded [2024-06-25T06:56:57.458Z] nexus3.edgexfoundry.org:10004 [2024-06-25T06:56:57.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T06:56:57.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T06:56:57.458Z] Configure a credential helper to remove this warning. See [2024-06-25T06:56:57.458Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T06:56:57.458Z] [2024-06-25T06:56:57.458Z] Login Succeeded [2024-06-25T06:56:57.458Z] ****.io [2024-06-25T06:56:57.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T06:56:57.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T06:56:57.718Z] Configure a credential helper to remove this warning. See [2024-06-25T06:56:57.718Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T06:56:57.718Z] [2024-06-25T06:56:57.718Z] Login Succeeded [2024-06-25T06:56:57.718Z] ---> ****-login.sh ends [Pipeline] } [2024-06-25T06:56:57.725Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-06-25T06:56:57.832Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-25T06:56:57.854Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-25T06:56:57.872Z] ========================================================= [2024-06-25T06:56:57.872Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-06-25T06:56:57.872Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T06:56:58.211Z] + 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 . [2024-06-25T06:56:58.211Z] Sending build context to Docker daemon 17.81MB [2024-06-25T06:56:58.211Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-06-25T06:56:58.211Z] Step 2/10 : FROM ${BASE} AS builder [2024-06-25T06:56:58.491Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-06-25T06:56:58.491Z] 619be1103602: Pulling fs layer [2024-06-25T06:56:58.491Z] 7862e08f4a3e: Pulling fs layer [2024-06-25T06:56:58.491Z] 5df492c9dc93: Pulling fs layer [2024-06-25T06:56:58.491Z] 7629e6793208: Pulling fs layer [2024-06-25T06:56:58.491Z] 4f4fb700ef54: Pulling fs layer [2024-06-25T06:56:58.491Z] fb5054dd5b73: Pulling fs layer [2024-06-25T06:56:58.491Z] eeca6798cff9: Pulling fs layer [2024-06-25T06:56:58.491Z] aa269ceb94a6: Pulling fs layer [2024-06-25T06:56:58.491Z] ada007ff1a6a: Pulling fs layer [2024-06-25T06:56:58.491Z] 7629e6793208: Waiting [2024-06-25T06:56:58.491Z] 4f4fb700ef54: Waiting [2024-06-25T06:56:58.491Z] fb5054dd5b73: Waiting [2024-06-25T06:56:58.491Z] eeca6798cff9: Waiting [2024-06-25T06:56:58.491Z] aa269ceb94a6: Waiting [2024-06-25T06:56:58.491Z] ada007ff1a6a: Waiting [2024-06-25T06:56:58.491Z] 7862e08f4a3e: Verifying Checksum [2024-06-25T06:56:58.491Z] 7862e08f4a3e: Download complete [2024-06-25T06:56:58.491Z] 7629e6793208: Download complete [2024-06-25T06:56:58.491Z] 4f4fb700ef54: Verifying Checksum [2024-06-25T06:56:58.491Z] 4f4fb700ef54: Download complete [2024-06-25T06:56:58.491Z] fb5054dd5b73: Verifying Checksum [2024-06-25T06:56:58.491Z] fb5054dd5b73: Download complete [2024-06-25T06:56:58.491Z] 619be1103602: Verifying Checksum [2024-06-25T06:56:58.491Z] 619be1103602: Download complete [2024-06-25T06:56:58.491Z] eeca6798cff9: Verifying Checksum [2024-06-25T06:56:58.491Z] eeca6798cff9: Download complete [2024-06-25T06:56:58.750Z] 619be1103602: Pull complete [2024-06-25T06:56:58.750Z] ada007ff1a6a: Verifying Checksum [2024-06-25T06:56:58.750Z] ada007ff1a6a: Download complete [2024-06-25T06:56:58.750Z] 7862e08f4a3e: Pull complete [2024-06-25T06:56:58.750Z] 5df492c9dc93: Download complete [2024-06-25T06:56:59.317Z] aa269ceb94a6: Verifying Checksum [2024-06-25T06:56:59.317Z] aa269ceb94a6: Download complete [2024-06-25T06:57:02.616Z] 5df492c9dc93: Pull complete [2024-06-25T06:57:02.616Z] 7629e6793208: Pull complete [2024-06-25T06:57:02.616Z] 4f4fb700ef54: Pull complete [2024-06-25T06:57:02.616Z] fb5054dd5b73: Pull complete [2024-06-25T06:57:02.616Z] eeca6798cff9: Pull complete [2024-06-25T06:57:05.151Z] aa269ceb94a6: Pull complete [2024-06-25T06:57:05.716Z] ada007ff1a6a: Pull complete [2024-06-25T06:57:05.716Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-06-25T06:57:05.716Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-06-25T06:57:05.716Z] ---> f489d0715acc [2024-06-25T06:57:05.716Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-06-25T06:57:09.008Z] ---> Running in 167e1ad3f868 [2024-06-25T06:57:09.008Z] Removing intermediate container 167e1ad3f868 [2024-06-25T06:57:09.008Z] ---> 0dbdc9e8615f [2024-06-25T06:57:09.008Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-06-25T06:57:09.008Z] ---> Running in 38cdb8dd67ae [2024-06-25T06:57:09.008Z] Removing intermediate container 38cdb8dd67ae [2024-06-25T06:57:09.008Z] ---> 443f8460b5a6 [2024-06-25T06:57:09.008Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-06-25T06:57:09.008Z] ---> Running in 499ab9b988f9 [2024-06-25T06:57:09.008Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-25T06:57:09.574Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-25T06:57:09.574Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-06-25T06:57:09.574Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-06-25T06:57:09.574Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-06-25T06:57:09.574Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-06-25T06:57:09.833Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-06-25T06:57:09.833Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-06-25T06:57:09.833Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-06-25T06:57:09.833Z] (8/8) Installing openssh (9.3_p2-r1) [2024-06-25T06:57:09.833Z] Executing busybox-1.36.1-r5.trigger [2024-06-25T06:57:09.833Z] OK: 270 MiB in 60 packages [2024-06-25T06:57:10.402Z] Removing intermediate container 499ab9b988f9 [2024-06-25T06:57:10.402Z] ---> 51cb2cb32f57 [2024-06-25T06:57:10.402Z] Step 6/10 : WORKDIR /device-modbus-go [2024-06-25T06:57:10.402Z] ---> Running in 30d1b7c1429a [2024-06-25T06:57:10.402Z] Removing intermediate container 30d1b7c1429a [2024-06-25T06:57:10.402Z] ---> 877364ae8d57 [2024-06-25T06:57:10.402Z] Step 7/10 : COPY go.mod vendor* ./ [2024-06-25T06:57:10.402Z] ---> b79b49f8a4a0 [2024-06-25T06:57:10.402Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-06-25T06:57:10.402Z] ---> Running in 7725231355a2 [2024-06-25T06:57:11.833Z] Still waiting to schedule task [2024-06-25T06:57:11.833Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-06-25T06:58:06.757Z] Removing intermediate container 7725231355a2 [2024-06-25T06:58:06.757Z] ---> 3e44b070f845 [2024-06-25T06:58:06.757Z] Step 9/10 : COPY . . [2024-06-25T06:58:06.757Z] ---> 590202a3a684 [2024-06-25T06:58:06.757Z] Step 10/10 : RUN ${MAKE} [2024-06-25T06:58:06.757Z] ---> Running in e595c8a8074f [2024-06-25T06:58:06.757Z] noop [2024-06-25T06:58:06.757Z] Removing intermediate container e595c8a8074f [2024-06-25T06:58:06.757Z] ---> a05242386859 [2024-06-25T06:58:06.757Z] Successfully built a05242386859 [2024-06-25T06:58:06.757Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T06:58:07.090Z] + docker inspect -f . ci-base-image-x86_64 [2024-06-25T06:58:07.090Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T06:58:07.175Z] prd-ubuntu20.04-docker-8c-8g-4334 does not seem to be running inside a container [2024-06-25T06:58:07.207Z] $ 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 [2024-06-25T06:58:07.586Z] $ docker top b26bb9bc320a130255d1b655d8450770a56eaf6c4514119e6304349b4d19d88c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-25T06:58:07.936Z] + go version [2024-06-25T06:58:07.936Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-06-25T06:58:07.949Z] $ docker stop --time=1 b26bb9bc320a130255d1b655d8450770a56eaf6c4514119e6304349b4d19d88c [2024-06-25T06:58:09.242Z] $ docker rm -f --volumes b26bb9bc320a130255d1b655d8450770a56eaf6c4514119e6304349b4d19d88c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T06:58:09.752Z] + docker inspect -f . ci-base-image-x86_64 [2024-06-25T06:58:09.752Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T06:58:09.834Z] prd-ubuntu20.04-docker-8c-8g-4334 does not seem to be running inside a container [2024-06-25T06:58:09.863Z] $ 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 [2024-06-25T06:58:10.222Z] $ docker top 4d6970482fff065ec50ba63744c941c2d59983e15cc8542c441f815992262ca3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-25T06:58:10.571Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2024-06-25T06:58:10.882Z] + make test [2024-06-25T06:58:10.882Z] go test ./... -coverprofile=coverage.out [2024-06-25T06:58:12.787Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-06-25T06:58:34.737Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-06-25T06:58:34.737Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 47.9% of statements [2024-06-25T06:58:42.855Z] go vet ./... [2024-06-25T06:58:49.569Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-06-25T06:58:49.569Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-06-25T06:58:49.569Z] ./bin/test-attribution-txt.sh [2024-06-25T06:58:49.569Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-06-25T06:58:49.569Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-06-25T06:58:49.570Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-06-25T06:58:49.570Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-06-25T06:58:49.570Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-06-25T06:58:49.570Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-06-25T06:58:49.570Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-06-25T06:58:49.570Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-06-25T06:58:49.570Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-06-25T06:58:49.570Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-06-25T06:58:49.570Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-06-25T06:58:49.570Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-06-25T06:58:49.570Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-06-25T06:58:49.570Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-06-25T06:58:49.570Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-06-25T06:58:49.570Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-06-25T06:58:49.570Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-06-25T06:58:49.581Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-06-25T06:58:49.600Z] $ docker stop --time=1 4d6970482fff065ec50ba63744c941c2d59983e15cc8542c441f815992262ca3 [2024-06-25T06:58:53.190Z] $ docker rm -f --volumes 4d6970482fff065ec50ba63744c941c2d59983e15cc8542c441f815992262ca3 [Pipeline] // withDockerContainer [Pipeline] sh [2024-06-25T06:58:53.727Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-06-25T06:58:53.780Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-06-25T06:58:54.313Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-06-25T06:58:54.599Z] + ls -al . [2024-06-25T06:58:54.599Z] total 264 [2024-06-25T06:58:54.599Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 25 06:58 . [2024-06-25T06:58:54.599Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 06:56 .. [2024-06-25T06:58:54.599Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 25 06:56 .dockerignore [2024-06-25T06:58:54.599Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 06:58 .git [2024-06-25T06:58:54.599Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 06:56 .github [2024-06-25T06:58:54.599Z] -rw-rw-r-- 1 jenkins jenkins 266 Jun 25 06:56 .gitignore [2024-06-25T06:58:54.599Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 25 06:56 .golangci.yml [2024-06-25T06:58:54.599Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 25 06:56 .semver [2024-06-25T06:58:54.599Z] -rw-rw-r-- 1 jenkins jenkins 11101 Jun 25 06:56 Attribution.txt [2024-06-25T06:58:54.599Z] -rw-rw-r-- 1 jenkins jenkins 16388 Jun 25 06:56 CHANGELOG.md [2024-06-25T06:58:54.599Z] -rw-rw-r-- 1 jenkins jenkins 1474 Jun 25 06:56 Dockerfile [2024-06-25T06:58:54.599Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 25 06:56 GOVERNANCE.md [2024-06-25T06:58:54.599Z] -rw-rw-r-- 1 jenkins jenkins 658 Jun 25 06:56 Jenkinsfile [2024-06-25T06:58:54.599Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 25 06:56 LICENSE [2024-06-25T06:58:54.599Z] -rw-rw-r-- 1 jenkins jenkins 1942 Jun 25 06:56 Makefile [2024-06-25T06:58:54.599Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 25 06:56 OWNERS.md [2024-06-25T06:58:54.599Z] -rw-rw-r-- 1 jenkins jenkins 4463 Jun 25 06:56 README.md [2024-06-25T06:58:54.599Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 25 06:56 VERSION [2024-06-25T06:58:54.599Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 06:56 bin [2024-06-25T06:58:54.599Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 06:56 cmd [2024-06-25T06:58:54.599Z] -rw-r--r-- 1 jenkins jenkins 24601 Jun 25 06:58 coverage.out [2024-06-25T06:58:54.599Z] -rw-rw-r-- 1 jenkins jenkins 7241 Jun 25 06:56 go.mod [2024-06-25T06:58:54.599Z] -rw-rw-r-- 1 jenkins jenkins 102291 Jun 25 06:56 go.sum [2024-06-25T06:58:54.599Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 06:56 internal [2024-06-25T06:58:54.599Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 06:56 simulator [2024-06-25T06:58:54.599Z] -rw-rw-r-- 1 jenkins jenkins 229 Jun 25 06:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T06:58:54.911Z] + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=f7c28725686cbfd62f6225fd09367d5909216c89 --label arch=amd64 --label version=3.2.0-dev.14 . [2024-06-25T06:58:54.911Z] Sending build context to Docker daemon 17.83MB [2024-06-25T06:58:54.911Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-06-25T06:58:54.911Z] Step 2/23 : FROM ${BASE} AS builder [2024-06-25T06:58:54.911Z] ---> a05242386859 [2024-06-25T06:58:54.911Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-06-25T06:58:55.170Z] ---> Running in d66fcbd73663 [2024-06-25T06:58:55.293Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4335 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2024-06-25T06:58:55.312Z] Running in /w/workspace/device-modbus-go/153 [Pipeline] { [Pipeline] checkout [2024-06-25T06:58:55.352Z] The recommended git tool is: git [2024-06-25T06:58:55.430Z] Removing intermediate container d66fcbd73663 [2024-06-25T06:58:55.430Z] ---> bbee4d52bab4 [2024-06-25T06:58:55.430Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-06-25T06:58:55.430Z] ---> Running in abffe24d3265 [2024-06-25T06:58:55.430Z] Removing intermediate container abffe24d3265 [2024-06-25T06:58:55.430Z] ---> 9cf419cbb17b [2024-06-25T06:58:55.430Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-06-25T06:58:55.430Z] ---> Running in 8b743e613e0e [2024-06-25T06:58:55.690Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-25T06:58:55.949Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-25T06:58:56.208Z] OK: 270 MiB in 60 packages [2024-06-25T06:58:56.776Z] Removing intermediate container 8b743e613e0e [2024-06-25T06:58:56.776Z] ---> 124820b38a10 [2024-06-25T06:58:56.776Z] Step 6/23 : WORKDIR /device-modbus-go [2024-06-25T06:58:56.776Z] ---> Running in f99d4068d9de [2024-06-25T06:58:56.776Z] Removing intermediate container f99d4068d9de [2024-06-25T06:58:56.776Z] ---> 5c6dc5613eb3 [2024-06-25T06:58:56.776Z] Step 7/23 : COPY go.mod vendor* ./ [2024-06-25T06:58:56.776Z] ---> 77370f4bb3ba [2024-06-25T06:58:56.776Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-06-25T06:58:57.036Z] ---> Running in 2a887921cc96 [2024-06-25T06:58:57.602Z] Removing intermediate container 2a887921cc96 [2024-06-25T06:58:57.602Z] ---> 448447f6a7a7 [2024-06-25T06:58:57.602Z] Step 9/23 : COPY . . [2024-06-25T06:58:58.168Z] ---> 023c48a26059 [2024-06-25T06:58:58.168Z] Step 10/23 : RUN ${MAKE} [2024-06-25T06:58:58.168Z] ---> Running in a50a7a873871 [2024-06-25T06:58:58.735Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.18" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-06-25T06:59:03.785Z] using credential edgex-jenkins-ssh [2024-06-25T06:59:03.807Z] Cloning the remote Git repository [2024-06-25T06:59:03.851Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-06-25T06:59:03.966Z] > git init /w/workspace/device-modbus-go/153 # timeout=10 [2024-06-25T06:59:04.197Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-06-25T06:59:04.199Z] > git --version # timeout=10 [2024-06-25T06:59:04.231Z] > git --version # 'git version 2.25.1' [2024-06-25T06:59:04.234Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-06-25T06:59:04.489Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-06-25T06:59:06.671Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-06-25T06:59:06.711Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-06-25T06:59:07.761Z] Avoid second fetch [2024-06-25T06:59:07.762Z] Checking out Revision f7c28725686cbfd62f6225fd09367d5909216c89 (main) [2024-06-25T06:59:08.912Z] Commit message: "Merge pull request #555 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.18" [2024-06-25T06:59:07.779Z] > git config core.sparsecheckout # timeout=10 [2024-06-25T06:59:07.920Z] > git checkout -f f7c28725686cbfd62f6225fd09367d5909216c89 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-06-25T06:59:13.849Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-06-25T06:59:13.849Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-06-25T06:59:13.849Z] Dload Upload Total Spent Left Speed [2024-06-25T06:59:13.849Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 114k 0 --:--:-- --:--:-- --:--:-- 115k [Pipeline] sh [2024-06-25T06:59:14.195Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-06-25T06:59:14.523Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-06-25T06:59:14.523Z] + sudo tee /etc/docker/daemon.new [2024-06-25T06:59:14.523Z] { [2024-06-25T06:59:14.523Z] "registry-mirrors": [ [2024-06-25T06:59:14.523Z] "https://nexus3.edgexfoundry.org:10001" [2024-06-25T06:59:14.523Z] ], [2024-06-25T06:59:14.523Z] "bip": "10.250.0.254/24", [2024-06-25T06:59:14.523Z] "hosts": [ [2024-06-25T06:59:14.523Z] "tcp://0.0.0.0:5555", [2024-06-25T06:59:14.523Z] "unix:///var/run/docker.sock" [2024-06-25T06:59:14.523Z] ], [2024-06-25T06:59:14.523Z] "mtu": 1458, [2024-06-25T06:59:14.523Z] "selinux-enabled": true, [2024-06-25T06:59:14.523Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-06-25T06:59:14.523Z] } [Pipeline] sh [2024-06-25T06:59:14.854Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-06-25T06:59:15.185Z] + sudo service docker restart [2024-06-25T06:59:30.829Z] Removing intermediate container a50a7a873871 [2024-06-25T06:59:30.829Z] ---> 8b57bdab8671 [2024-06-25T06:59:30.829Z] Step 11/23 : FROM alpine:3.18 [2024-06-25T06:59:30.829Z] 3.18: Pulling from library/alpine [2024-06-25T06:59:30.829Z] 73baa7ef167e: Pulling fs layer [2024-06-25T06:59:31.089Z] 73baa7ef167e: Verifying Checksum [2024-06-25T06:59:31.089Z] 73baa7ef167e: Download complete [2024-06-25T06:59:31.089Z] 73baa7ef167e: Pull complete [2024-06-25T06:59:31.089Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-06-25T06:59:31.350Z] Status: Downloaded newer image for alpine:3.18 [2024-06-25T06:59:31.350Z] ---> 8fd7cac70a4a [2024-06-25T06:59:31.350Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-06-25T06:59:31.350Z] ---> Running in 01c91b1bebd5 [2024-06-25T06:59:31.350Z] Removing intermediate container 01c91b1bebd5 [2024-06-25T06:59:31.350Z] ---> 41cab744cba1 [2024-06-25T06:59:31.350Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-06-25T06:59:31.350Z] ---> Running in 8f8f214fd363 [2024-06-25T06:59:31.608Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-25T06:59:31.866Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-25T06:59:32.125Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-06-25T06:59:32.125Z] Executing busybox-1.36.1-r7.trigger [2024-06-25T06:59:32.125Z] OK: 7 MiB in 16 packages [2024-06-25T06:59:32.384Z] Removing intermediate container 8f8f214fd363 [2024-06-25T06:59:32.384Z] ---> 407bd1c5911c [2024-06-25T06:59:32.384Z] Step 14/23 : RUN apk --no-cache upgrade [2024-06-25T06:59:32.384Z] ---> Running in 3e80cf0f960c [2024-06-25T06:59:32.643Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-25T06:59:32.901Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-25T06:59:32.901Z] OK: 7 MiB in 16 packages [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-06-25T06:59:33.437Z] provisioning config files... [2024-06-25T06:59:33.460Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/153@tmp/config10077069922933755336tmp [2024-06-25T06:59:33.468Z] Removing intermediate container 3e80cf0f960c [2024-06-25T06:59:33.468Z] ---> cea08761b121 [2024-06-25T06:59:33.468Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-25T06:59:33.912Z] ---> ****-login.sh [2024-06-25T06:59:33.912Z] nexus3.edgexfoundry.org:10001 [2024-06-25T06:59:34.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T06:59:34.403Z] ---> 0b8ad5332e1d [2024-06-25T06:59:34.404Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-06-25T06:59:34.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T06:59:34.449Z] Configure a credential helper to remove this warning. See [2024-06-25T06:59:34.449Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T06:59:34.449Z] [2024-06-25T06:59:34.449Z] Login Succeeded [2024-06-25T06:59:34.449Z] nexus3.edgexfoundry.org:10002 [2024-06-25T06:59:34.661Z] ---> 36a10c535bdd [2024-06-25T06:59:34.661Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-06-25T06:59:34.661Z] ---> e4b3a5b37053 [2024-06-25T06:59:34.661Z] Step 18/23 : EXPOSE 59901 [2024-06-25T06:59:34.661Z] ---> Running in dd2258daeca2 [2024-06-25T06:59:34.661Z] Removing intermediate container dd2258daeca2 [2024-06-25T06:59:34.662Z] ---> 9e3157843154 [2024-06-25T06:59:34.662Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-06-25T06:59:34.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T06:59:34.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T06:59:34.716Z] Configure a credential helper to remove this warning. See [2024-06-25T06:59:34.717Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T06:59:34.717Z] [2024-06-25T06:59:34.717Z] Login Succeeded [2024-06-25T06:59:34.717Z] nexus3.edgexfoundry.org:10003 [2024-06-25T06:59:34.920Z] ---> Running in 662486d0a063 [2024-06-25T06:59:34.920Z] Removing intermediate container 662486d0a063 [2024-06-25T06:59:34.920Z] ---> a328c8a54c32 [2024-06-25T06:59:34.920Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-06-25T06:59:34.920Z] ---> Running in 1776b57e2bd3 [2024-06-25T06:59:34.920Z] Removing intermediate container 1776b57e2bd3 [2024-06-25T06:59:34.920Z] ---> 5cec5e8ae068 [2024-06-25T06:59:34.920Z] Step 21/23 : LABEL arch=amd64 [2024-06-25T06:59:34.920Z] ---> Running in e509b302693e [2024-06-25T06:59:34.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T06:59:35.178Z] Removing intermediate container e509b302693e [2024-06-25T06:59:35.179Z] ---> e882a8c9211b [2024-06-25T06:59:35.179Z] Step 22/23 : LABEL git_sha=f7c28725686cbfd62f6225fd09367d5909216c89 [2024-06-25T06:59:35.179Z] ---> Running in 23bd75d89e62 [2024-06-25T06:59:35.179Z] Removing intermediate container 23bd75d89e62 [2024-06-25T06:59:35.179Z] ---> 45f0ed615666 [2024-06-25T06:59:35.179Z] Step 23/23 : LABEL version=3.2.0-dev.14 [2024-06-25T06:59:35.179Z] ---> Running in 7b01fdb370d2 [2024-06-25T06:59:35.179Z] Removing intermediate container 7b01fdb370d2 [2024-06-25T06:59:35.179Z] ---> d78ef439fdbb [2024-06-25T06:59:35.179Z] [Warning] One or more build-args [ARCH] were not consumed [2024-06-25T06:59:35.179Z] Successfully built d78ef439fdbb [2024-06-25T06:59:35.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T06:59:35.252Z] Configure a credential helper to remove this warning. See [2024-06-25T06:59:35.252Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T06:59:35.252Z] [2024-06-25T06:59:35.252Z] Login Succeeded [2024-06-25T06:59:35.252Z] nexus3.edgexfoundry.org:10004 [2024-06-25T06:59:35.437Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [2024-06-25T06:59:35.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T06:59:35.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T06:59:35.524Z] Configure a credential helper to remove this warning. See [2024-06-25T06:59:35.524Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T06:59:35.524Z] [2024-06-25T06:59:35.524Z] Login Succeeded [2024-06-25T06:59:35.524Z] ****.io [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-06-25T06:59:35.551Z] provisioning config files... [2024-06-25T06:59:35.561Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17731521173903915396tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-25T06:59:35.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T06:59:35.864Z] ---> ****-login.sh [2024-06-25T06:59:35.864Z] nexus3.edgexfoundry.org:10001 [2024-06-25T06:59:35.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T06:59:35.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T06:59:35.864Z] Configure a credential helper to remove this warning. See [2024-06-25T06:59:35.864Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T06:59:35.864Z] [2024-06-25T06:59:35.864Z] Login Succeeded [2024-06-25T06:59:35.864Z] nexus3.edgexfoundry.org:10002 [2024-06-25T06:59:35.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T06:59:35.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T06:59:35.864Z] Configure a credential helper to remove this warning. See [2024-06-25T06:59:35.864Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T06:59:35.864Z] [2024-06-25T06:59:35.864Z] Login Succeeded [2024-06-25T06:59:35.864Z] nexus3.edgexfoundry.org:10003 [2024-06-25T06:59:36.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T06:59:36.054Z] Configure a credential helper to remove this warning. See [2024-06-25T06:59:36.054Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T06:59:36.054Z] [2024-06-25T06:59:36.054Z] Login Succeeded [2024-06-25T06:59:36.054Z] ---> ****-login.sh ends [Pipeline] } [2024-06-25T06:59:36.068Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2024-06-25T06:59:36.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T06:59:36.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T06:59:36.125Z] Configure a credential helper to remove this warning. See [2024-06-25T06:59:36.125Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T06:59:36.125Z] [2024-06-25T06:59:36.125Z] Login Succeeded [2024-06-25T06:59:36.125Z] nexus3.edgexfoundry.org:10004 [2024-06-25T06:59:36.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T06:59:36.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T06:59:36.125Z] Configure a credential helper to remove this warning. See [2024-06-25T06:59:36.125Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T06:59:36.125Z] [2024-06-25T06:59:36.125Z] Login Succeeded [2024-06-25T06:59:36.125Z] ****.io [2024-06-25T06:59:36.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] echo [2024-06-25T06:59:36.382Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [2024-06-25T06:59:36.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T06:59:36.385Z] Configure a credential helper to remove this warning. See [2024-06-25T06:59:36.385Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T06:59:36.385Z] [2024-06-25T06:59:36.385Z] Login Succeeded [2024-06-25T06:59:36.385Z] ---> ****-login.sh ends [Pipeline] } [2024-06-25T06:59:36.397Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] echo [2024-06-25T06:59:36.412Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] // withEnv [Pipeline] echo [2024-06-25T06:59:36.451Z] ========================================================= [2024-06-25T06:59:36.451Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-06-25T06:59:36.451Z] ========================================================= [Pipeline] fileExists [Pipeline] echo [2024-06-25T06:59:36.473Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] echo [2024-06-25T06:59:36.520Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2024-06-25T06:59:36.520Z] f7c28725686cbfd62f6225fd09367d5909216c89 [2024-06-25T06:59:36.520Z] latest [2024-06-25T06:59:36.520Z] 3.2.0-dev.14 [2024-06-25T06:59:36.520Z] f7c28725686cbfd62f6225fd09367d5909216c89-3.2.0-dev.14 [2024-06-25T06:59:36.520Z] main [2024-06-25T06:59:36.520Z] ===================================================== [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T06:59:36.843Z] + 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 . [2024-06-25T06:59:36.903Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:f7c28725686cbfd62f6225fd09367d5909216c89 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T06:59:37.116Z] Sending build context to Docker daemon 9.031MB [2024-06-25T06:59:37.223Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:f7c28725686cbfd62f6225fd09367d5909216c89 [2024-06-25T06:59:37.223Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2024-06-25T06:59:37.223Z] a2b4030a0b26: Preparing [2024-06-25T06:59:37.223Z] 73d33ba8ebca: Preparing [2024-06-25T06:59:37.223Z] 2bab568f53e4: Preparing [2024-06-25T06:59:37.223Z] 927f4a0afa0e: Preparing [2024-06-25T06:59:37.223Z] 5ce89b18c19d: Preparing [2024-06-25T06:59:37.223Z] 63ec0bd56cf3: Preparing [2024-06-25T06:59:37.223Z] 927f4a0afa0e: Pushed [2024-06-25T06:59:37.223Z] a2b4030a0b26: Pushed [2024-06-25T06:59:37.223Z] 73d33ba8ebca: Pushed [2024-06-25T06:59:37.223Z] 5ce89b18c19d: Pushed [2024-06-25T06:59:37.382Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-06-25T06:59:37.383Z] Step 2/10 : FROM ${BASE} AS builder [2024-06-25T06:59:37.383Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-06-25T06:59:37.383Z] c6b39de5b339: Pulling fs layer [2024-06-25T06:59:37.383Z] a69c41024577: Pulling fs layer [2024-06-25T06:59:37.383Z] d6de4b400683: Pulling fs layer [2024-06-25T06:59:37.383Z] 35cb2a7552d0: Pulling fs layer [2024-06-25T06:59:37.383Z] 4f4fb700ef54: Pulling fs layer [2024-06-25T06:59:37.383Z] 464afbd9ba4c: Pulling fs layer [2024-06-25T06:59:37.383Z] 00f215d4a9da: Pulling fs layer [2024-06-25T06:59:37.383Z] d496ad576159: Pulling fs layer [2024-06-25T06:59:37.383Z] 35cb2a7552d0: Waiting [2024-06-25T06:59:37.383Z] 4f4fb700ef54: Waiting [2024-06-25T06:59:37.383Z] 464afbd9ba4c: Waiting [2024-06-25T06:59:37.383Z] 00f215d4a9da: Waiting [2024-06-25T06:59:37.383Z] d496ad576159: Waiting [2024-06-25T06:59:37.383Z] a69c41024577: Verifying Checksum [2024-06-25T06:59:37.383Z] a69c41024577: Download complete [2024-06-25T06:59:37.383Z] 35cb2a7552d0: Verifying Checksum [2024-06-25T06:59:37.383Z] 35cb2a7552d0: Download complete [2024-06-25T06:59:37.383Z] 4f4fb700ef54: Verifying Checksum [2024-06-25T06:59:37.482Z] 63ec0bd56cf3: Layer already exists [2024-06-25T06:59:37.651Z] 4f4fb700ef54: Download complete [2024-06-25T06:59:37.651Z] 464afbd9ba4c: Verifying Checksum [2024-06-25T06:59:37.651Z] 464afbd9ba4c: Download complete [2024-06-25T06:59:37.651Z] c6b39de5b339: Verifying Checksum [2024-06-25T06:59:37.651Z] c6b39de5b339: Download complete [2024-06-25T06:59:37.920Z] d496ad576159: Verifying Checksum [2024-06-25T06:59:37.920Z] d496ad576159: Download complete [2024-06-25T06:59:38.506Z] c6b39de5b339: Pull complete [2024-06-25T06:59:39.089Z] a69c41024577: Pull complete [2024-06-25T06:59:39.355Z] d6de4b400683: Verifying Checksum [2024-06-25T06:59:39.355Z] d6de4b400683: Download complete [2024-06-25T06:59:40.015Z] 2bab568f53e4: Pushed [2024-06-25T06:59:40.274Z] f7c28725686cbfd62f6225fd09367d5909216c89: digest: sha256:ba58ca6de7f6cb8041635c2ec66423dfd361b1f6de6b90bd20db02c6d52537d9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T06:59:40.593Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T06:59:40.771Z] 00f215d4a9da: Download complete [2024-06-25T06:59:40.926Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2024-06-25T06:59:40.926Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2024-06-25T06:59:40.926Z] a2b4030a0b26: Preparing [2024-06-25T06:59:40.926Z] 73d33ba8ebca: Preparing [2024-06-25T06:59:40.926Z] 2bab568f53e4: Preparing [2024-06-25T06:59:40.926Z] 927f4a0afa0e: Preparing [2024-06-25T06:59:40.926Z] 5ce89b18c19d: Preparing [2024-06-25T06:59:40.926Z] 63ec0bd56cf3: Preparing [2024-06-25T06:59:40.926Z] 63ec0bd56cf3: Waiting [2024-06-25T06:59:40.926Z] 73d33ba8ebca: Layer already exists [2024-06-25T06:59:40.926Z] 5ce89b18c19d: Layer already exists [2024-06-25T06:59:40.926Z] a2b4030a0b26: Layer already exists [2024-06-25T06:59:40.926Z] 927f4a0afa0e: Layer already exists [2024-06-25T06:59:40.926Z] 2bab568f53e4: Layer already exists [2024-06-25T06:59:40.926Z] 63ec0bd56cf3: Layer already exists [2024-06-25T06:59:40.926Z] latest: digest: sha256:ba58ca6de7f6cb8041635c2ec66423dfd361b1f6de6b90bd20db02c6d52537d9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T06:59:41.259Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T06:59:41.580Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.14 [2024-06-25T06:59:41.580Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2024-06-25T06:59:41.580Z] a2b4030a0b26: Preparing [2024-06-25T06:59:41.580Z] 73d33ba8ebca: Preparing [2024-06-25T06:59:41.580Z] 2bab568f53e4: Preparing [2024-06-25T06:59:41.580Z] 927f4a0afa0e: Preparing [2024-06-25T06:59:41.580Z] 5ce89b18c19d: Preparing [2024-06-25T06:59:41.580Z] 63ec0bd56cf3: Preparing [2024-06-25T06:59:41.580Z] 63ec0bd56cf3: Waiting [2024-06-25T06:59:41.580Z] 5ce89b18c19d: Layer already exists [2024-06-25T06:59:41.580Z] 73d33ba8ebca: Layer already exists [2024-06-25T06:59:41.580Z] 927f4a0afa0e: Layer already exists [2024-06-25T06:59:41.580Z] 2bab568f53e4: Layer already exists [2024-06-25T06:59:41.580Z] a2b4030a0b26: Layer already exists [2024-06-25T06:59:41.580Z] 63ec0bd56cf3: Layer already exists [2024-06-25T06:59:41.580Z] 3.2.0-dev.14: digest: sha256:ba58ca6de7f6cb8041635c2ec66423dfd361b1f6de6b90bd20db02c6d52537d9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T06:59:41.907Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:f7c28725686cbfd62f6225fd09367d5909216c89-3.2.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T06:59:42.229Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:f7c28725686cbfd62f6225fd09367d5909216c89-3.2.0-dev.14 [2024-06-25T06:59:42.229Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2024-06-25T06:59:42.229Z] a2b4030a0b26: Preparing [2024-06-25T06:59:42.229Z] 73d33ba8ebca: Preparing [2024-06-25T06:59:42.229Z] 2bab568f53e4: Preparing [2024-06-25T06:59:42.229Z] 927f4a0afa0e: Preparing [2024-06-25T06:59:42.229Z] 5ce89b18c19d: Preparing [2024-06-25T06:59:42.229Z] 63ec0bd56cf3: Preparing [2024-06-25T06:59:42.229Z] 63ec0bd56cf3: Waiting [2024-06-25T06:59:42.229Z] 5ce89b18c19d: Layer already exists [2024-06-25T06:59:42.229Z] a2b4030a0b26: Layer already exists [2024-06-25T06:59:42.229Z] 927f4a0afa0e: Layer already exists [2024-06-25T06:59:42.229Z] 2bab568f53e4: Layer already exists [2024-06-25T06:59:42.229Z] 73d33ba8ebca: Layer already exists [2024-06-25T06:59:42.229Z] 63ec0bd56cf3: Layer already exists [2024-06-25T06:59:42.229Z] f7c28725686cbfd62f6225fd09367d5909216c89-3.2.0-dev.14: digest: sha256:ba58ca6de7f6cb8041635c2ec66423dfd361b1f6de6b90bd20db02c6d52537d9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T06:59:42.566Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T06:59:42.879Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2024-06-25T06:59:42.879Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2024-06-25T06:59:42.879Z] a2b4030a0b26: Preparing [2024-06-25T06:59:42.879Z] 73d33ba8ebca: Preparing [2024-06-25T06:59:42.879Z] 2bab568f53e4: Preparing [2024-06-25T06:59:42.879Z] 927f4a0afa0e: Preparing [2024-06-25T06:59:42.879Z] 5ce89b18c19d: Preparing [2024-06-25T06:59:42.879Z] 63ec0bd56cf3: Preparing [2024-06-25T06:59:42.879Z] 63ec0bd56cf3: Waiting [2024-06-25T06:59:42.879Z] 73d33ba8ebca: Layer already exists [2024-06-25T06:59:42.879Z] 2bab568f53e4: Layer already exists [2024-06-25T06:59:42.879Z] a2b4030a0b26: Layer already exists [2024-06-25T06:59:42.879Z] 5ce89b18c19d: Layer already exists [2024-06-25T06:59:42.879Z] 927f4a0afa0e: Layer already exists [2024-06-25T06:59:42.879Z] 63ec0bd56cf3: Layer already exists [2024-06-25T06:59:42.879Z] main: digest: sha256:ba58ca6de7f6cb8041635c2ec66423dfd361b1f6de6b90bd20db02c6d52537d9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-06-25T06:59:42.958Z] ===================================================== [Pipeline] echo [2024-06-25T06:59:42.970Z] taggedImages: [2024-06-25T06:59:42.970Z] - nexus3.edgexfoundry.org:10004/device-modbus:f7c28725686cbfd62f6225fd09367d5909216c89 [2024-06-25T06:59:42.970Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2024-06-25T06:59:42.970Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.14 [2024-06-25T06:59:42.970Z] - nexus3.edgexfoundry.org:10004/device-modbus:f7c28725686cbfd62f6225fd09367d5909216c89-3.2.0-dev.14 [2024-06-25T06:59:42.970Z] - 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 [2024-06-25T06:59:43.423Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-25T06:59:43.423Z] [2024-06-25T06:59:43.423Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T06:59:43.721Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-25T06:59:43.721Z] latest: Pulling from edgex-lftools-log-publisher [2024-06-25T06:59:43.721Z] 5eb5b503b376: Pulling fs layer [2024-06-25T06:59:43.721Z] 5c69ac0246d0: Pulling fs layer [2024-06-25T06:59:43.721Z] ec43610c2a17: Pulling fs layer [2024-06-25T06:59:43.721Z] 3a2ae6a8a46f: Pulling fs layer [2024-06-25T06:59:43.721Z] 33b1e0a273af: Pulling fs layer [2024-06-25T06:59:43.721Z] 5d3b04190fa2: Pulling fs layer [2024-06-25T06:59:43.721Z] 2f39f015ded8: Pulling fs layer [2024-06-25T06:59:43.721Z] 3a2ae6a8a46f: Waiting [2024-06-25T06:59:43.721Z] 33b1e0a273af: Waiting [2024-06-25T06:59:43.721Z] 5d3b04190fa2: Waiting [2024-06-25T06:59:43.721Z] 2f39f015ded8: Waiting [2024-06-25T06:59:43.721Z] 5c69ac0246d0: Download complete [2024-06-25T06:59:43.721Z] 3a2ae6a8a46f: Verifying Checksum [2024-06-25T06:59:43.721Z] 3a2ae6a8a46f: Download complete [2024-06-25T06:59:43.721Z] 33b1e0a273af: Verifying Checksum [2024-06-25T06:59:43.721Z] 33b1e0a273af: Download complete [2024-06-25T06:59:43.721Z] 5d3b04190fa2: Verifying Checksum [2024-06-25T06:59:43.721Z] 5d3b04190fa2: Download complete [2024-06-25T06:59:43.721Z] ec43610c2a17: Verifying Checksum [2024-06-25T06:59:43.721Z] ec43610c2a17: Download complete [2024-06-25T06:59:43.979Z] 5eb5b503b376: Verifying Checksum [2024-06-25T06:59:43.979Z] 5eb5b503b376: Download complete [2024-06-25T06:59:44.544Z] 2f39f015ded8: Download complete [2024-06-25T06:59:45.111Z] 5eb5b503b376: Pull complete [2024-06-25T06:59:45.369Z] 5c69ac0246d0: Pull complete [2024-06-25T06:59:45.628Z] ec43610c2a17: Pull complete [2024-06-25T06:59:45.628Z] 3a2ae6a8a46f: Pull complete [2024-06-25T06:59:45.886Z] 33b1e0a273af: Pull complete [2024-06-25T06:59:46.143Z] 5d3b04190fa2: Pull complete [2024-06-25T06:59:50.322Z] 2f39f015ded8: Pull complete [2024-06-25T06:59:50.322Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-06-25T06:59:50.322Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-25T06:59:50.322Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T06:59:50.425Z] prd-ubuntu20.04-docker-8c-8g-4334 does not seem to be running inside a container [2024-06-25T06:59:50.451Z] $ 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 [2024-06-25T06:59:53.086Z] d6de4b400683: Pull complete [2024-06-25T06:59:53.086Z] 35cb2a7552d0: Pull complete [2024-06-25T06:59:53.086Z] 4f4fb700ef54: Pull complete [2024-06-25T06:59:53.086Z] 464afbd9ba4c: Pull complete [2024-06-25T06:59:55.395Z] $ docker top 74f98d4525ef2500531bca49de05455d4ecaf0347953b3c39dcd465f72f9ecc2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-25T06:59:55.786Z] ---> job-cost.sh [2024-06-25T06:59:55.786Z] lf-activate-venv: SKIPPING [2024-06-25T06:59:55.786Z] INFO: No Stack... [2024-06-25T06:59:56.047Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-06-25T06:59:56.624Z] INFO: Archiving Costs [Pipeline] sh [2024-06-25T06:59:56.930Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2024-06-25T06:59:56.930Z] + cut -d, -f6 [Pipeline] lock [2024-06-25T06:59:56.941Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-153-stack-cost] [2024-06-25T06:59:57.062Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-153-stack-cost] did not exist. Created. [2024-06-25T06:59:57.069Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-153-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-06-25T06:59:57.382Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-06-25T06:59:57.413Z] Stashed 1 file(s) [Pipeline] } [2024-06-25T06:59:57.421Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-153-stack-cost] [Pipeline] // lock [Pipeline] } [2024-06-25T06:59:57.453Z] $ docker stop --time=1 74f98d4525ef2500531bca49de05455d4ecaf0347953b3c39dcd465f72f9ecc2 [2024-06-25T06:59:58.604Z] $ docker rm -f --volumes 74f98d4525ef2500531bca49de05455d4ecaf0347953b3c39dcd465f72f9ecc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-06-25T07:00:01.302Z] 00f215d4a9da: Pull complete [2024-06-25T07:00:02.722Z] d496ad576159: Pull complete [2024-06-25T07:00:02.722Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-06-25T07:00:02.722Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-06-25T07:00:02.722Z] ---> f246e2811388 [2024-06-25T07:00:02.722Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-06-25T07:00:04.675Z] ---> Running in aeeb1ddccbac [2024-06-25T07:00:04.675Z] Removing intermediate container aeeb1ddccbac [2024-06-25T07:00:04.675Z] ---> 61afb87358e0 [2024-06-25T07:00:04.675Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-06-25T07:00:04.675Z] ---> Running in 0442d9401517 [2024-06-25T07:00:04.949Z] Removing intermediate container 0442d9401517 [2024-06-25T07:00:04.949Z] ---> 7dc723815bdf [2024-06-25T07:00:04.949Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-06-25T07:00:05.216Z] ---> Running in 68cfecce9e78 [2024-06-25T07:00:06.171Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-25T07:00:06.760Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-25T07:00:07.720Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-06-25T07:00:07.720Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-06-25T07:00:07.720Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-06-25T07:00:07.720Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-06-25T07:00:07.720Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-06-25T07:00:07.720Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-06-25T07:00:07.720Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-06-25T07:00:07.720Z] (8/8) Installing openssh (9.3_p2-r1) [2024-06-25T07:00:07.720Z] Executing busybox-1.36.1-r5.trigger [2024-06-25T07:00:07.720Z] OK: 272 MiB in 60 packages [2024-06-25T07:00:08.690Z] Removing intermediate container 68cfecce9e78 [2024-06-25T07:00:08.690Z] ---> 6f6953d97bf4 [2024-06-25T07:00:08.690Z] Step 6/10 : WORKDIR /device-modbus-go [2024-06-25T07:00:08.959Z] ---> Running in a3385cd7bc66 [2024-06-25T07:00:09.230Z] Removing intermediate container a3385cd7bc66 [2024-06-25T07:00:09.230Z] ---> 4d54386a8594 [2024-06-25T07:00:09.230Z] Step 7/10 : COPY go.mod vendor* ./ [2024-06-25T07:00:09.507Z] ---> 2a4e729ad685 [2024-06-25T07:00:09.507Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-06-25T07:00:09.775Z] ---> Running in c71a237704d9 [2024-06-25T07:02:01.658Z] Removing intermediate container c71a237704d9 [2024-06-25T07:02:01.658Z] ---> bd5cc0eb4381 [2024-06-25T07:02:01.658Z] Step 9/10 : COPY . . [2024-06-25T07:02:01.658Z] ---> d1778d8de805 [2024-06-25T07:02:01.658Z] Step 10/10 : RUN ${MAKE} [2024-06-25T07:02:01.658Z] ---> Running in 943ad69a6aee [2024-06-25T07:02:01.658Z] noop [2024-06-25T07:02:01.658Z] Removing intermediate container 943ad69a6aee [2024-06-25T07:02:01.658Z] ---> 6b8a32e285c1 [2024-06-25T07:02:01.658Z] Successfully built 6b8a32e285c1 [2024-06-25T07:02:01.658Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T07:02:02.038Z] + docker inspect -f . ci-base-image-arm64 [2024-06-25T07:02:02.038Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T07:02:02.270Z] prd-ubuntu20.04-docker-arm64-4c-16g-4335 does not seem to be running inside a container [2024-06-25T07:02:02.344Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/153 -v /w/workspace/device-modbus-go/153:/w/workspace/device-modbus-go/153:rw,z -v /w/workspace/device-modbus-go/153@tmp:/w/workspace/device-modbus-go/153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-06-25T07:02:03.571Z] $ docker top 8b8d38a78d1519fcfe44376eaeefb6e7b7b797c480fb59246d735fe1bc3a0b4f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-25T07:02:04.428Z] + go version [2024-06-25T07:02:04.428Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-06-25T07:02:04.452Z] $ docker stop --time=1 8b8d38a78d1519fcfe44376eaeefb6e7b7b797c480fb59246d735fe1bc3a0b4f [2024-06-25T07:02:06.114Z] $ docker rm -f --volumes 8b8d38a78d1519fcfe44376eaeefb6e7b7b797c480fb59246d735fe1bc3a0b4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T07:02:06.720Z] + docker inspect -f . ci-base-image-arm64 [2024-06-25T07:02:06.720Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T07:02:06.934Z] prd-ubuntu20.04-docker-arm64-4c-16g-4335 does not seem to be running inside a container [2024-06-25T07:02:07.017Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/153 -v /w/workspace/device-modbus-go/153:/w/workspace/device-modbus-go/153:rw,z -v /w/workspace/device-modbus-go/153@tmp:/w/workspace/device-modbus-go/153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-06-25T07:02:08.299Z] $ docker top 4a0d90ba4f859bb6427c94c1309ad6ef35a85591888dcc0132592817e47676d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-25T07:02:09.164Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/153 [Pipeline] fileExists [Pipeline] sh [2024-06-25T07:02:09.834Z] + make test [2024-06-25T07:02:09.834Z] go test ./... -coverprofile=coverage.out [2024-06-25T07:02:16.507Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-06-25T07:05:38.314Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-06-25T07:05:38.314Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.057s coverage: 47.9% of statements [2024-06-25T07:05:38.314Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-06-25T07:05:38.314Z] go vet ./... [2024-06-25T07:06:25.213Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-06-25T07:06:25.213Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-06-25T07:06:25.213Z] ./bin/test-attribution-txt.sh [2024-06-25T07:06:25.213Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-06-25T07:06:25.213Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-06-25T07:06:25.232Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-06-25T07:06:25.257Z] $ docker stop --time=1 4a0d90ba4f859bb6427c94c1309ad6ef35a85591888dcc0132592817e47676d5 [2024-06-25T07:06:27.240Z] $ docker rm -f --volumes 4a0d90ba4f859bb6427c94c1309ad6ef35a85591888dcc0132592817e47676d5 [Pipeline] // withDockerContainer [Pipeline] sh [2024-06-25T07:06:28.765Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-06-25T07:06:28.793Z] Warning: overwriting stash ‘coverage-report’ [2024-06-25T07:06:29.286Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-06-25T07:06:29.683Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-06-25T07:06:30.001Z] + ls -al . [2024-06-25T07:06:30.001Z] total 260 [2024-06-25T07:06:30.001Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 07:02 . [2024-06-25T07:06:30.001Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 06:59 .. [2024-06-25T07:06:30.001Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 25 06:59 .dockerignore [2024-06-25T07:06:30.001Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 06:59 .git [2024-06-25T07:06:30.001Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 06:59 .github [2024-06-25T07:06:30.001Z] -rw-rw-r-- 1 jenkins jenkins 266 Jun 25 06:59 .gitignore [2024-06-25T07:06:30.001Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 25 06:59 .golangci.yml [2024-06-25T07:06:30.001Z] -rw-rw-r-- 1 jenkins jenkins 11101 Jun 25 06:59 Attribution.txt [2024-06-25T07:06:30.001Z] -rw-rw-r-- 1 jenkins jenkins 16388 Jun 25 06:59 CHANGELOG.md [2024-06-25T07:06:30.001Z] -rw-rw-r-- 1 jenkins jenkins 1474 Jun 25 06:59 Dockerfile [2024-06-25T07:06:30.001Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 25 06:59 GOVERNANCE.md [2024-06-25T07:06:30.001Z] -rw-rw-r-- 1 jenkins jenkins 658 Jun 25 06:59 Jenkinsfile [2024-06-25T07:06:30.001Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 25 06:59 LICENSE [2024-06-25T07:06:30.001Z] -rw-rw-r-- 1 jenkins jenkins 1942 Jun 25 06:59 Makefile [2024-06-25T07:06:30.001Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 25 06:59 OWNERS.md [2024-06-25T07:06:30.001Z] -rw-rw-r-- 1 jenkins jenkins 4463 Jun 25 06:59 README.md [2024-06-25T07:06:30.001Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 25 06:56 VERSION [2024-06-25T07:06:30.001Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 06:59 bin [2024-06-25T07:06:30.001Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 06:59 cmd [2024-06-25T07:06:30.001Z] -rw-r--r-- 1 jenkins jenkins 24601 Jun 25 07:05 coverage.out [2024-06-25T07:06:30.001Z] -rw-rw-r-- 1 jenkins jenkins 7241 Jun 25 06:59 go.mod [2024-06-25T07:06:30.001Z] -rw-rw-r-- 1 jenkins jenkins 102291 Jun 25 06:59 go.sum [2024-06-25T07:06:30.001Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 06:59 internal [2024-06-25T07:06:30.001Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 06:59 simulator [2024-06-25T07:06:30.001Z] -rw-rw-r-- 1 jenkins jenkins 229 Jun 25 06:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T07:06:30.355Z] + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f7c28725686cbfd62f6225fd09367d5909216c89 --label arch=arm64 --label version=3.2.0-dev.14 . [2024-06-25T07:06:30.936Z] Sending build context to Docker daemon 9.056MB [2024-06-25T07:06:30.936Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-06-25T07:06:30.936Z] Step 2/23 : FROM ${BASE} AS builder [2024-06-25T07:06:30.936Z] ---> 6b8a32e285c1 [2024-06-25T07:06:30.936Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-06-25T07:06:30.936Z] ---> Running in 1f5388ca235b [2024-06-25T07:06:31.520Z] Removing intermediate container 1f5388ca235b [2024-06-25T07:06:31.520Z] ---> 6451bcf83bd5 [2024-06-25T07:06:31.520Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-06-25T07:06:31.520Z] ---> Running in e0759676ec65 [2024-06-25T07:06:31.789Z] Removing intermediate container e0759676ec65 [2024-06-25T07:06:31.789Z] ---> 6bf5949a32a1 [2024-06-25T07:06:31.789Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-06-25T07:06:31.789Z] ---> Running in 506c3de32690 [2024-06-25T07:06:32.750Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-25T07:06:33.345Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-25T07:06:34.305Z] OK: 272 MiB in 60 packages [2024-06-25T07:06:35.272Z] Removing intermediate container 506c3de32690 [2024-06-25T07:06:35.272Z] ---> f4cdce3fc921 [2024-06-25T07:06:35.272Z] Step 6/23 : WORKDIR /device-modbus-go [2024-06-25T07:06:35.272Z] ---> Running in 1c7e7769d135 [2024-06-25T07:06:35.540Z] Removing intermediate container 1c7e7769d135 [2024-06-25T07:06:35.540Z] ---> 4cfdd993555f [2024-06-25T07:06:35.540Z] Step 7/23 : COPY go.mod vendor* ./ [2024-06-25T07:06:36.123Z] ---> a2500588a906 [2024-06-25T07:06:36.123Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-06-25T07:06:36.123Z] ---> Running in 4a614672287f [2024-06-25T07:06:38.726Z] Removing intermediate container 4a614672287f [2024-06-25T07:06:38.726Z] ---> b6aa8d7ed2d2 [2024-06-25T07:06:38.726Z] Step 9/23 : COPY . . [2024-06-25T07:06:39.690Z] ---> 6375965fb578 [2024-06-25T07:06:39.690Z] Step 10/23 : RUN ${MAKE} [2024-06-25T07:06:39.690Z] ---> Running in 25da12979493 [2024-06-25T07:06:40.653Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.18" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-06-25T07:10:17.555Z] Removing intermediate container 25da12979493 [2024-06-25T07:10:17.555Z] ---> 2c4d188c168c [2024-06-25T07:10:17.555Z] Step 11/23 : FROM alpine:3.18 [2024-06-25T07:10:17.555Z] 3.18: Pulling from library/alpine [2024-06-25T07:10:17.555Z] 5c905c7ebe2f: Pulling fs layer [2024-06-25T07:10:17.555Z] 5c905c7ebe2f: Download complete [2024-06-25T07:10:17.555Z] 5c905c7ebe2f: Pull complete [2024-06-25T07:10:17.555Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-06-25T07:10:17.555Z] Status: Downloaded newer image for alpine:3.18 [2024-06-25T07:10:17.555Z] ---> dec292d02e07 [2024-06-25T07:10:17.555Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-06-25T07:10:17.555Z] ---> Running in c4d7969f3b80 [2024-06-25T07:10:17.555Z] Removing intermediate container c4d7969f3b80 [2024-06-25T07:10:17.555Z] ---> 94ac7800bd8b [2024-06-25T07:10:17.555Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-06-25T07:10:17.555Z] ---> Running in 2c0467535422 [2024-06-25T07:10:17.555Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-25T07:10:17.555Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-25T07:10:17.555Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-06-25T07:10:17.555Z] Executing busybox-1.36.1-r7.trigger [2024-06-25T07:10:17.555Z] OK: 8 MiB in 16 packages [2024-06-25T07:10:17.555Z] Removing intermediate container 2c0467535422 [2024-06-25T07:10:17.555Z] ---> 9bed39e04dc2 [2024-06-25T07:10:17.555Z] Step 14/23 : RUN apk --no-cache upgrade [2024-06-25T07:10:17.555Z] ---> Running in 8d0796d5f473 [2024-06-25T07:10:17.555Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-25T07:10:17.555Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-25T07:10:17.555Z] OK: 8 MiB in 16 packages [2024-06-25T07:10:17.555Z] Removing intermediate container 8d0796d5f473 [2024-06-25T07:10:17.555Z] ---> b343d832398f [2024-06-25T07:10:17.555Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-06-25T07:10:17.555Z] ---> 9b451f655471 [2024-06-25T07:10:17.555Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-06-25T07:10:17.827Z] ---> 062aec71b1a3 [2024-06-25T07:10:17.827Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-06-25T07:10:18.421Z] ---> a5199d679f34 [2024-06-25T07:10:18.421Z] Step 18/23 : EXPOSE 59901 [2024-06-25T07:10:18.421Z] ---> Running in d6e158837502 [2024-06-25T07:10:18.697Z] Removing intermediate container d6e158837502 [2024-06-25T07:10:18.697Z] ---> 87e1ef08404b [2024-06-25T07:10:18.697Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-06-25T07:10:18.963Z] ---> Running in a914fb895a41 [2024-06-25T07:10:19.230Z] Removing intermediate container a914fb895a41 [2024-06-25T07:10:19.230Z] ---> fe7da67c9c13 [2024-06-25T07:10:19.230Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-06-25T07:10:19.230Z] ---> Running in 1785c1faa915 [2024-06-25T07:10:19.513Z] Removing intermediate container 1785c1faa915 [2024-06-25T07:10:19.513Z] ---> ad68492778fd [2024-06-25T07:10:19.513Z] Step 21/23 : LABEL arch=arm64 [2024-06-25T07:10:19.783Z] ---> Running in 739f847b4da2 [2024-06-25T07:10:20.052Z] Removing intermediate container 739f847b4da2 [2024-06-25T07:10:20.052Z] ---> 3b484f37d7ef [2024-06-25T07:10:20.052Z] Step 22/23 : LABEL git_sha=f7c28725686cbfd62f6225fd09367d5909216c89 [2024-06-25T07:10:20.052Z] ---> Running in ac55678a958b [2024-06-25T07:10:20.323Z] Removing intermediate container ac55678a958b [2024-06-25T07:10:20.323Z] ---> 1f3796513c84 [2024-06-25T07:10:20.323Z] Step 23/23 : LABEL version=3.2.0-dev.14 [2024-06-25T07:10:20.323Z] ---> Running in b3f5655294ed [2024-06-25T07:10:20.913Z] Removing intermediate container b3f5655294ed [2024-06-25T07:10:20.913Z] ---> 4b52daa567ec [2024-06-25T07:10:20.913Z] [Warning] One or more build-args [ARCH] were not consumed [2024-06-25T07:10:20.913Z] Successfully built 4b52daa567ec [2024-06-25T07:10:20.913Z] 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 [2024-06-25T07:10:21.058Z] provisioning config files... [2024-06-25T07:10:21.074Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/153@tmp/config17171326051257338828tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-25T07:10:21.416Z] ---> ****-login.sh [2024-06-25T07:10:21.416Z] nexus3.edgexfoundry.org:10001 [2024-06-25T07:10:21.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T07:10:21.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T07:10:21.687Z] Configure a credential helper to remove this warning. See [2024-06-25T07:10:21.687Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T07:10:21.687Z] [2024-06-25T07:10:21.687Z] Login Succeeded [2024-06-25T07:10:21.687Z] nexus3.edgexfoundry.org:10002 [2024-06-25T07:10:21.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T07:10:21.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T07:10:21.954Z] Configure a credential helper to remove this warning. See [2024-06-25T07:10:21.954Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T07:10:21.954Z] [2024-06-25T07:10:21.954Z] Login Succeeded [2024-06-25T07:10:22.225Z] nexus3.edgexfoundry.org:10003 [2024-06-25T07:10:22.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T07:10:22.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T07:10:22.493Z] Configure a credential helper to remove this warning. See [2024-06-25T07:10:22.493Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T07:10:22.493Z] [2024-06-25T07:10:22.493Z] Login Succeeded [2024-06-25T07:10:22.493Z] nexus3.edgexfoundry.org:10004 [2024-06-25T07:10:22.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T07:10:22.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T07:10:22.760Z] Configure a credential helper to remove this warning. See [2024-06-25T07:10:22.760Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T07:10:22.760Z] [2024-06-25T07:10:22.760Z] Login Succeeded [2024-06-25T07:10:22.760Z] ****.io [2024-06-25T07:10:23.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T07:10:23.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T07:10:23.301Z] Configure a credential helper to remove this warning. See [2024-06-25T07:10:23.301Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T07:10:23.301Z] [2024-06-25T07:10:23.301Z] Login Succeeded [2024-06-25T07:10:23.301Z] ---> ****-login.sh ends [Pipeline] } [2024-06-25T07:10:23.313Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-06-25T07:10:23.367Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-25T07:10:23.397Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2024-06-25T07:10:23.397Z] f7c28725686cbfd62f6225fd09367d5909216c89 [2024-06-25T07:10:23.397Z] latest [2024-06-25T07:10:23.397Z] 3.2.0-dev.14 [2024-06-25T07:10:23.397Z] f7c28725686cbfd62f6225fd09367d5909216c89-3.2.0-dev.14 [2024-06-25T07:10:23.397Z] main [2024-06-25T07:10:23.397Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T07:10:23.769Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:f7c28725686cbfd62f6225fd09367d5909216c89 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T07:10:24.122Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:f7c28725686cbfd62f6225fd09367d5909216c89 [2024-06-25T07:10:24.122Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2024-06-25T07:10:24.122Z] beaed17d83f7: Preparing [2024-06-25T07:10:24.122Z] 54273835e625: Preparing [2024-06-25T07:10:24.122Z] e8a4ff48bef4: Preparing [2024-06-25T07:10:24.122Z] fb2bab510973: Preparing [2024-06-25T07:10:24.122Z] 7743a93a8a12: Preparing [2024-06-25T07:10:24.122Z] da707bb00cb8: Preparing [2024-06-25T07:10:24.122Z] da707bb00cb8: Waiting [2024-06-25T07:10:24.388Z] beaed17d83f7: Pushed [2024-06-25T07:10:24.388Z] fb2bab510973: Pushed [2024-06-25T07:10:24.388Z] 7743a93a8a12: Pushed [2024-06-25T07:10:24.388Z] 54273835e625: Pushed [2024-06-25T07:10:24.388Z] da707bb00cb8: Layer already exists [2024-06-25T07:10:31.028Z] e8a4ff48bef4: Pushed [2024-06-25T07:10:31.028Z] f7c28725686cbfd62f6225fd09367d5909216c89: digest: sha256:544f43cb02e95f8c5903aba4e733e1e4189a734aaa363315bb1d893f3b769379 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T07:10:31.392Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T07:10:31.749Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2024-06-25T07:10:31.749Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2024-06-25T07:10:31.749Z] beaed17d83f7: Preparing [2024-06-25T07:10:31.749Z] 54273835e625: Preparing [2024-06-25T07:10:31.749Z] e8a4ff48bef4: Preparing [2024-06-25T07:10:31.749Z] fb2bab510973: Preparing [2024-06-25T07:10:31.749Z] 7743a93a8a12: Preparing [2024-06-25T07:10:31.749Z] da707bb00cb8: Preparing [2024-06-25T07:10:31.749Z] da707bb00cb8: Waiting [2024-06-25T07:10:31.749Z] fb2bab510973: Layer already exists [2024-06-25T07:10:31.749Z] 7743a93a8a12: Layer already exists [2024-06-25T07:10:31.749Z] beaed17d83f7: Layer already exists [2024-06-25T07:10:31.749Z] e8a4ff48bef4: Layer already exists [2024-06-25T07:10:31.749Z] 54273835e625: Layer already exists [2024-06-25T07:10:31.749Z] da707bb00cb8: Layer already exists [2024-06-25T07:10:32.013Z] latest: digest: sha256:544f43cb02e95f8c5903aba4e733e1e4189a734aaa363315bb1d893f3b769379 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T07:10:32.371Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T07:10:32.722Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.14 [2024-06-25T07:10:32.722Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2024-06-25T07:10:32.722Z] beaed17d83f7: Preparing [2024-06-25T07:10:32.722Z] 54273835e625: Preparing [2024-06-25T07:10:32.722Z] e8a4ff48bef4: Preparing [2024-06-25T07:10:32.722Z] fb2bab510973: Preparing [2024-06-25T07:10:32.722Z] 7743a93a8a12: Preparing [2024-06-25T07:10:32.722Z] da707bb00cb8: Preparing [2024-06-25T07:10:32.722Z] da707bb00cb8: Waiting [2024-06-25T07:10:32.722Z] 7743a93a8a12: Layer already exists [2024-06-25T07:10:32.722Z] beaed17d83f7: Layer already exists [2024-06-25T07:10:32.722Z] e8a4ff48bef4: Layer already exists [2024-06-25T07:10:32.722Z] 54273835e625: Layer already exists [2024-06-25T07:10:32.722Z] fb2bab510973: Layer already exists [2024-06-25T07:10:32.722Z] da707bb00cb8: Layer already exists [2024-06-25T07:10:32.989Z] 3.2.0-dev.14: digest: sha256:544f43cb02e95f8c5903aba4e733e1e4189a734aaa363315bb1d893f3b769379 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T07:10:33.355Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:f7c28725686cbfd62f6225fd09367d5909216c89-3.2.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T07:10:33.713Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:f7c28725686cbfd62f6225fd09367d5909216c89-3.2.0-dev.14 [2024-06-25T07:10:33.713Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2024-06-25T07:10:33.713Z] beaed17d83f7: Preparing [2024-06-25T07:10:33.713Z] 54273835e625: Preparing [2024-06-25T07:10:33.713Z] e8a4ff48bef4: Preparing [2024-06-25T07:10:33.713Z] fb2bab510973: Preparing [2024-06-25T07:10:33.713Z] 7743a93a8a12: Preparing [2024-06-25T07:10:33.713Z] da707bb00cb8: Preparing [2024-06-25T07:10:33.713Z] da707bb00cb8: Waiting [2024-06-25T07:10:33.713Z] 7743a93a8a12: Layer already exists [2024-06-25T07:10:33.713Z] fb2bab510973: Layer already exists [2024-06-25T07:10:33.713Z] e8a4ff48bef4: Layer already exists [2024-06-25T07:10:33.713Z] 54273835e625: Layer already exists [2024-06-25T07:10:33.713Z] beaed17d83f7: Layer already exists [2024-06-25T07:10:33.713Z] da707bb00cb8: Layer already exists [2024-06-25T07:10:33.980Z] f7c28725686cbfd62f6225fd09367d5909216c89-3.2.0-dev.14: digest: sha256:544f43cb02e95f8c5903aba4e733e1e4189a734aaa363315bb1d893f3b769379 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T07:10:34.346Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T07:10:34.700Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2024-06-25T07:10:34.700Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2024-06-25T07:10:34.700Z] beaed17d83f7: Preparing [2024-06-25T07:10:34.700Z] 54273835e625: Preparing [2024-06-25T07:10:34.700Z] e8a4ff48bef4: Preparing [2024-06-25T07:10:34.700Z] fb2bab510973: Preparing [2024-06-25T07:10:34.700Z] 7743a93a8a12: Preparing [2024-06-25T07:10:34.700Z] da707bb00cb8: Preparing [2024-06-25T07:10:34.700Z] da707bb00cb8: Waiting [2024-06-25T07:10:34.700Z] beaed17d83f7: Layer already exists [2024-06-25T07:10:34.700Z] fb2bab510973: Layer already exists [2024-06-25T07:10:34.700Z] 7743a93a8a12: Layer already exists [2024-06-25T07:10:34.700Z] e8a4ff48bef4: Layer already exists [2024-06-25T07:10:34.700Z] 54273835e625: Layer already exists [2024-06-25T07:10:34.700Z] da707bb00cb8: Layer already exists [2024-06-25T07:10:34.967Z] main: digest: sha256:544f43cb02e95f8c5903aba4e733e1e4189a734aaa363315bb1d893f3b769379 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-06-25T07:10:35.064Z] ===================================================== [Pipeline] echo [2024-06-25T07:10:35.078Z] taggedImages: [2024-06-25T07:10:35.078Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:f7c28725686cbfd62f6225fd09367d5909216c89 [2024-06-25T07:10:35.078Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2024-06-25T07:10:35.078Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.14 [2024-06-25T07:10:35.078Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:f7c28725686cbfd62f6225fd09367d5909216c89-3.2.0-dev.14 [2024-06-25T07:10:35.078Z] - 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 [2024-06-25T07:10:35.468Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-06-25T07:10:35.468Z] [2024-06-25T07:10:35.468Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T07:10:35.810Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-06-25T07:10:35.810Z] arm64: Pulling from edgex-lftools-log-publisher [2024-06-25T07:10:35.810Z] 8998bd30e6a1: Pulling fs layer [2024-06-25T07:10:35.810Z] 04944245beec: Pulling fs layer [2024-06-25T07:10:35.810Z] 699f458cf7ca: Pulling fs layer [2024-06-25T07:10:35.810Z] 765212b225bb: Pulling fs layer [2024-06-25T07:10:35.810Z] f23df028b6ca: Pulling fs layer [2024-06-25T07:10:35.810Z] d65c8cfc05b1: Pulling fs layer [2024-06-25T07:10:35.810Z] 2437ff75d9bd: Pulling fs layer [2024-06-25T07:10:35.810Z] 765212b225bb: Waiting [2024-06-25T07:10:35.810Z] f23df028b6ca: Waiting [2024-06-25T07:10:35.810Z] 2437ff75d9bd: Waiting [2024-06-25T07:10:35.810Z] d65c8cfc05b1: Waiting [2024-06-25T07:10:36.081Z] 04944245beec: Verifying Checksum [2024-06-25T07:10:36.081Z] 04944245beec: Download complete [2024-06-25T07:10:36.081Z] 765212b225bb: Verifying Checksum [2024-06-25T07:10:36.081Z] 765212b225bb: Download complete [2024-06-25T07:10:36.081Z] f23df028b6ca: Verifying Checksum [2024-06-25T07:10:36.081Z] f23df028b6ca: Download complete [2024-06-25T07:10:36.081Z] d65c8cfc05b1: Verifying Checksum [2024-06-25T07:10:36.081Z] d65c8cfc05b1: Download complete [2024-06-25T07:10:36.349Z] 699f458cf7ca: Verifying Checksum [2024-06-25T07:10:36.349Z] 699f458cf7ca: Download complete [2024-06-25T07:10:36.932Z] 8998bd30e6a1: Verifying Checksum [2024-06-25T07:10:36.932Z] 8998bd30e6a1: Download complete [2024-06-25T07:10:39.512Z] 2437ff75d9bd: Verifying Checksum [2024-06-25T07:10:39.512Z] 2437ff75d9bd: Download complete [2024-06-25T07:10:41.453Z] 8998bd30e6a1: Pull complete [2024-06-25T07:10:42.037Z] 04944245beec: Pull complete [2024-06-25T07:10:43.981Z] 699f458cf7ca: Pull complete [2024-06-25T07:10:43.981Z] 765212b225bb: Pull complete [2024-06-25T07:10:44.564Z] f23df028b6ca: Pull complete [2024-06-25T07:10:44.831Z] d65c8cfc05b1: Pull complete [2024-06-25T07:11:03.035Z] 2437ff75d9bd: Pull complete [2024-06-25T07:11:03.035Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-06-25T07:11:03.035Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-06-25T07:11:03.035Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T07:11:03.257Z] prd-ubuntu20.04-docker-arm64-4c-16g-4335 does not seem to be running inside a container [2024-06-25T07:11:03.326Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/153 -v /w/workspace/device-modbus-go/153:/w/workspace/device-modbus-go/153:rw,z -v /w/workspace/device-modbus-go/153@tmp:/w/workspace/device-modbus-go/153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-06-25T07:11:06.133Z] $ docker top 23544a590f2c8313ec2380e567297074d4efccfdfba7b61c29b47a56fa05e251 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-25T07:11:06.962Z] ---> job-cost.sh [2024-06-25T07:11:06.962Z] lf-activate-venv: SKIPPING [2024-06-25T07:11:06.962Z] INFO: No Stack... [2024-06-25T07:11:07.227Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-06-25T07:11:08.187Z] INFO: Archiving Costs [Pipeline] sh [2024-06-25T07:11:08.826Z] + cat /w/workspace/device-modbus-go/153/archives/cost.csv [2024-06-25T07:11:08.826Z] + cut -d, -f6 [Pipeline] lock [2024-06-25T07:11:08.885Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-153-stack-cost] [2024-06-25T07:11:08.893Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-153-stack-cost] did not exist. Created. [2024-06-25T07:11:08.898Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-153-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-06-25T07:11:09.568Z] /w/workspace/device-modbus-go/153@tmp/durable-2781703e/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-06-25T07:11:09.898Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-06-25T07:11:09.933Z] Warning: overwriting stash ‘stack-cost’ [2024-06-25T07:11:09.987Z] Stashed 1 file(s) [Pipeline] } [2024-06-25T07:11:09.997Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-153-stack-cost] [Pipeline] // lock [Pipeline] } [2024-06-25T07:11:10.028Z] $ docker stop --time=1 23544a590f2c8313ec2380e567297074d4efccfdfba7b61c29b47a56fa05e251 [2024-06-25T07:11:11.540Z] $ docker rm -f --volumes 23544a590f2c8313ec2380e567297074d4efccfdfba7b61c29b47a56fa05e251 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-06-25T07:11:12.072Z] provisioning config files... [2024-06-25T07:11:12.080Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13865856423276902464tmp [Pipeline] { [Pipeline] sh [2024-06-25T07:11:12.384Z] + set +x [2024-06-25T07:11:12.384Z] + bash -s -- [2024-06-25T07:11:12.384Z] + curl -s https://codecov.io/bash [2024-06-25T07:11:12.384Z] [2024-06-25T07:11:12.384Z] _____ _ [2024-06-25T07:11:12.384Z] / ____| | | [2024-06-25T07:11:12.384Z] | | ___ __| | ___ ___ _____ __ [2024-06-25T07:11:12.384Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-06-25T07:11:12.384Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-06-25T07:11:12.384Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-06-25T07:11:12.384Z] Bash-1.0.6 [2024-06-25T07:11:12.384Z] [2024-06-25T07:11:12.384Z] [2024-06-25T07:11:12.384Z] ==> git version 2.25.1 found [2024-06-25T07:11:12.384Z] ==> 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 [2024-06-25T07:11:12.384Z] Release-Date: 2020-01-08 [2024-06-25T07:11:12.384Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-06-25T07:11:12.385Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-06-25T07:11:12.385Z] ==> Jenkins CI detected. [2024-06-25T07:11:12.385Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2024-06-25T07:11:12.385Z] project root: . [2024-06-25T07:11:12.385Z] --> token set from env [2024-06-25T07:11:12.385Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-06-25T07:11:12.385Z] ==> Running gcov in . (disable via -X gcov) [2024-06-25T07:11:12.385Z] ==> Python coveragepy not found [2024-06-25T07:11:12.385Z] ==> Searching for coverage reports in: [2024-06-25T07:11:12.385Z] + . [2024-06-25T07:11:12.385Z] -> Found 1 reports [2024-06-25T07:11:12.646Z] ==> Detecting git/mercurial file structure [2024-06-25T07:11:12.646Z] ==> Reading reports [2024-06-25T07:11:12.646Z] + ./coverage.out bytes=24601 [2024-06-25T07:11:12.646Z] ==> Appending adjustments [2024-06-25T07:11:12.646Z] https://docs.codecov.io/docs/fixing-reports [2024-06-25T07:11:12.646Z] + Found adjustments [2024-06-25T07:11:12.646Z] ==> Gzipping contents [2024-06-25T07:11:12.646Z] 4.0K /tmp/codecov.D3J2ie.gz [2024-06-25T07:11:12.646Z] ==> Uploading reports [2024-06-25T07:11:12.646Z] url: https://codecov.io [2024-06-25T07:11:12.646Z] query: branch=main&commit=f7c28725686cbfd62f6225fd09367d5909216c89&build=153&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F153%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-06-25T07:11:12.646Z] -> Pinging Codecov [2024-06-25T07:11:12.646Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=f7c28725686cbfd62f6225fd09367d5909216c89&build=153&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F153%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-06-25T07:11:12.905Z] -> Uploading to [2024-06-25T07:11:12.905Z] https://storage.googleapis.com/codecov/v4/raw/2024-06-25/55DBCA73C666E3227836607328DD7E49/f7c28725686cbfd62f6225fd09367d5909216c89/783adbde-4312-4e11-be46-c09b290005f8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240625%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240625T071112Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4e6a400ce1c205e207dd2d68ee2c6ebbcafb0a219f1b190ca9f03a0158893f3e [2024-06-25T07:11:12.905Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-06-25T07:11:12.905Z] Dload Upload Total Spent Left Speed [2024-06-25T07:11:13.165Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 15621 --:--:-- --:--:-- --:--:-- 15621 [2024-06-25T07:11:13.165Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/f7c28725686cbfd62f6225fd09367d5909216c89 [Pipeline] } [2024-06-25T07:11:13.172Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-06-25T07:11:13.394Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-06-25T07:11:13.417Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T07:11:13.720Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-06-25T07:11:13.720Z] [2024-06-25T07:11:13.720Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T07:11:14.021Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-06-25T07:11:14.022Z] latest: Pulling from edgex-devops/edgex-snyk-go [2024-06-25T07:11:14.022Z] 619be1103602: Already exists [2024-06-25T07:11:14.022Z] f8ea3408117e: Pulling fs layer [2024-06-25T07:11:14.022Z] 91320369b822: Pulling fs layer [2024-06-25T07:11:14.022Z] 0406650e8295: Pulling fs layer [2024-06-25T07:11:14.022Z] 4f4fb700ef54: Pulling fs layer [2024-06-25T07:11:14.022Z] 96d80e3f36e1: Pulling fs layer [2024-06-25T07:11:14.022Z] 4f4fb700ef54: Waiting [2024-06-25T07:11:14.022Z] 96d80e3f36e1: Waiting [2024-06-25T07:11:14.022Z] bcf3aedb951c: Pulling fs layer [2024-06-25T07:11:14.022Z] bcf3aedb951c: Waiting [2024-06-25T07:11:14.022Z] 0406650e8295: Verifying Checksum [2024-06-25T07:11:14.022Z] 0406650e8295: Download complete [2024-06-25T07:11:14.022Z] 4f4fb700ef54: Verifying Checksum [2024-06-25T07:11:14.022Z] 4f4fb700ef54: Download complete [2024-06-25T07:11:14.022Z] f8ea3408117e: Verifying Checksum [2024-06-25T07:11:14.022Z] f8ea3408117e: Pull complete [2024-06-25T07:11:14.281Z] 96d80e3f36e1: Verifying Checksum [2024-06-25T07:11:14.281Z] 96d80e3f36e1: Download complete [2024-06-25T07:11:14.540Z] 91320369b822: Verifying Checksum [2024-06-25T07:11:14.540Z] 91320369b822: Download complete [2024-06-25T07:11:15.106Z] bcf3aedb951c: Verifying Checksum [2024-06-25T07:11:15.107Z] bcf3aedb951c: Download complete [2024-06-25T07:11:17.637Z] 91320369b822: Pull complete [2024-06-25T07:11:17.637Z] 0406650e8295: Pull complete [2024-06-25T07:11:17.637Z] 4f4fb700ef54: Pull complete [2024-06-25T07:11:17.894Z] 96d80e3f36e1: Pull complete [2024-06-25T07:11:21.176Z] bcf3aedb951c: Pull complete [2024-06-25T07:11:21.176Z] Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 [2024-06-25T07:11:21.176Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-06-25T07:11:21.176Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T07:11:21.275Z] prd-ubuntu20.04-docker-8c-8g-4334 does not seem to be running inside a container [2024-06-25T07:11:21.306Z] $ 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 [2024-06-25T07:11:24.162Z] $ docker top 9c19e7b3c528efb4b8795786ae4a1d18f8bb4c12409c20f17e0d6fdbace05bea -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-25T07:11:24.518Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] echo [2024-06-25T07:11:24.528Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2024-06-25T07:11:24.805Z] + set -o pipefail [2024-06-25T07:11:24.805Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2024-06-25T07:11:37.303Z] [2024-06-25T07:11:37.303Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2024-06-25T07:11:37.303Z] [2024-06-25T07:11:37.303Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0a0805b9-8982-40eb-8dbc-845f1ef902a3/history/0008514e-2278-4336-afd7-724416838884 [2024-06-25T07:11:37.303Z] [2024-06-25T07:11:37.303Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2024-06-25T07:11:37.303Z] [2024-06-25T07:11:37.303Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2024-06-25T07:11:37.303Z] [2024-06-25T07:11:39.846Z] [2024-06-25T07:11:39.846Z] You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. [2024-06-25T07:11:39.846Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2024-06-25T07:11:40.791Z] $ docker stop --time=1 9c19e7b3c528efb4b8795786ae4a1d18f8bb4c12409c20f17e0d6fdbace05bea [2024-06-25T07:11:44.521Z] $ docker rm -f --volumes 9c19e7b3c528efb4b8795786ae4a1d18f8bb4c12409c20f17e0d6fdbace05bea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-06-25T07:11:45.425Z] + git log --format=format:%s -1 f7c28725686cbfd62f6225fd09367d5909216c89 [Pipeline] sh [2024-06-25T07:11:45.716Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-06-25T07:11:45.716Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T07:11:46.027Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-25T07:11:46.027Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T07:11:46.109Z] prd-ubuntu20.04-docker-8c-8g-4334 does not seem to be running inside a container [2024-06-25T07:11:46.138Z] $ 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 [2024-06-25T07:11:46.662Z] $ docker top 7345a4d30df15417313ec6816a6671f352eeb7bd35e11b09d82918120a948d92 -eo pid,comm [2024-06-25T07:11:46.711Z] 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). [2024-06-25T07:11:46.711Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-06-25T07:11:46.770Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-06-25T07:11:46.770Z] [ssh-agent] Looking for ssh-agent implementation... [2024-06-25T07:11:46.884Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-06-25T07:11:46.886Z] $ docker exec 7345a4d30df15417313ec6816a6671f352eeb7bd35e11b09d82918120a948d92 ssh-agent [2024-06-25T07:11:46.995Z] SSH_AUTH_SOCK=/tmp/ssh-8N7RbWf0Meib/agent.32 [2024-06-25T07:11:46.995Z] SSH_AGENT_PID=38 [2024-06-25T07:11:47.000Z] Running ssh-add (command line suppressed) [2024-06-25T07:11:47.111Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2500593657936418569.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2500593657936418569.key) [2024-06-25T07:11:47.124Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-06-25T07:11:47.419Z] + git semver tag [2024-06-25T07:11:47.677Z] 2024-06-25 07:11:47,599 [run_tag] DEBUG tag force:False [2024-06-25T07:11:47.677Z] 2024-06-25 07:11:47,599 [check_head_tag] DEBUG check head tag [2024-06-25T07:11:47.677Z] 2024-06-25 07:11:47,600 [execute] INFO git cat-file --batch-check [2024-06-25T07:11:47.677Z] 2024-06-25 07:11:47,600 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2024-06-25T07:11:47.677Z] 2024-06-25 07:11:47,603 [execute] INFO git cat-file --batch [2024-06-25T07:11:47.677Z] 2024-06-25 07:11:47,604 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2024-06-25T07:11:47.677Z] 2024-06-25 07:11:47,619 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-06-25T07:11:47.677Z] 2024-06-25 07:11:47,620 [execute] INFO git tag -a v3.2.0-dev.14 -m v3.2.0-dev.14 [2024-06-25T07:11:47.677Z] 2024-06-25 07:11:47,620 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.14', '-m', 'v3.2.0-dev.14'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2024-06-25T07:11:47.677Z] 2024-06-25 07:11:47,625 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-06-25T07:11:47.677Z] 3.2.0-dev.14 [Pipeline] } [2024-06-25T07:11:47.684Z] $ docker exec --env ******** --env ******** 7345a4d30df15417313ec6816a6671f352eeb7bd35e11b09d82918120a948d92 ssh-agent -k [2024-06-25T07:11:47.786Z] unset SSH_AUTH_SOCK; [2024-06-25T07:11:47.787Z] unset SSH_AGENT_PID; [2024-06-25T07:11:47.787Z] echo Agent pid 38 killed; [2024-06-25T07:11:47.800Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-06-25T07:11:48.129Z] + git semver [Pipeline] } [2024-06-25T07:11:48.398Z] $ docker stop --time=1 7345a4d30df15417313ec6816a6671f352eeb7bd35e11b09d82918120a948d92 [2024-06-25T07:11:49.645Z] $ docker rm -f --volumes 7345a4d30df15417313ec6816a6671f352eeb7bd35e11b09d82918120a948d92 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T07:11:50.074Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-06-25T07:11:50.074Z] [2024-06-25T07:11:50.074Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T07:11:50.379Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-06-25T07:11:50.379Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-06-25T07:11:50.379Z] ab5ef0e58194: Pulling fs layer [2024-06-25T07:11:50.379Z] 9712f1f96733: Pulling fs layer [2024-06-25T07:11:50.379Z] 63f879dbbcfc: Pulling fs layer [2024-06-25T07:11:50.379Z] 0d9ebad4ef96: Pulling fs layer [2024-06-25T07:11:50.379Z] e9a5061849ea: Pulling fs layer [2024-06-25T07:11:50.379Z] d747dcd14b5f: Pulling fs layer [2024-06-25T07:11:50.379Z] 2de7ff778b66: Pulling fs layer [2024-06-25T07:11:50.379Z] 0d9ebad4ef96: Waiting [2024-06-25T07:11:50.379Z] e9a5061849ea: Waiting [2024-06-25T07:11:50.379Z] d747dcd14b5f: Waiting [2024-06-25T07:11:50.379Z] 2de7ff778b66: Waiting [2024-06-25T07:11:50.379Z] 9712f1f96733: Download complete [2024-06-25T07:11:50.640Z] 63f879dbbcfc: Verifying Checksum [2024-06-25T07:11:50.640Z] 63f879dbbcfc: Download complete [2024-06-25T07:11:50.898Z] e9a5061849ea: Verifying Checksum [2024-06-25T07:11:50.898Z] e9a5061849ea: Download complete [2024-06-25T07:11:50.898Z] d747dcd14b5f: Verifying Checksum [2024-06-25T07:11:50.898Z] d747dcd14b5f: Download complete [2024-06-25T07:11:50.898Z] 0d9ebad4ef96: Verifying Checksum [2024-06-25T07:11:50.898Z] 0d9ebad4ef96: Download complete [2024-06-25T07:11:50.898Z] ab5ef0e58194: Download complete [2024-06-25T07:11:50.898Z] 2de7ff778b66: Verifying Checksum [2024-06-25T07:11:50.898Z] 2de7ff778b66: Download complete [2024-06-25T07:11:54.177Z] ab5ef0e58194: Pull complete [2024-06-25T07:11:54.177Z] 9712f1f96733: Pull complete [2024-06-25T07:11:54.435Z] 63f879dbbcfc: Pull complete [2024-06-25T07:11:58.617Z] 0d9ebad4ef96: Pull complete [2024-06-25T07:11:58.877Z] e9a5061849ea: Pull complete [2024-06-25T07:11:59.136Z] d747dcd14b5f: Pull complete [2024-06-25T07:12:00.513Z] 2de7ff778b66: Pull complete [2024-06-25T07:12:00.513Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-06-25T07:12:00.513Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-06-25T07:12:00.513Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T07:12:00.613Z] prd-ubuntu20.04-docker-8c-8g-4334 does not seem to be running inside a container [2024-06-25T07:12:00.643Z] $ 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 [2024-06-25T07:12:05.244Z] $ docker top 7d3f119afa00c3540c0d933c7065501605c648037d288899634eef4e7f1040e3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-06-25T07:12:05.328Z] provisioning config files... [2024-06-25T07:12:05.336Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2294474202001475439tmp [2024-06-25T07:12:05.345Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11995288678310387356tmp [2024-06-25T07:12:05.353Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14376747187924631051tmp [Pipeline] { [Pipeline] echo [2024-06-25T07:12:05.418Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-25T07:12:05.721Z] ---> sigul-configuration.sh [2024-06-25T07:12:05.721Z] gpg: directory `/root/.gnupg' created [2024-06-25T07:12:05.721Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-06-25T07:12:05.721Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-06-25T07:12:05.721Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-06-25T07:12:05.721Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-06-25T07:12:05.721Z] gpg: CAST5 encrypted data [2024-06-25T07:12:05.721Z] gpg: encrypted with 1 passphrase [2024-06-25T07:12:05.721Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-06-25T07:12:06.018Z] + mkdir /home/jenkins [2024-06-25T07:12:06.018Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-06-25T07:12:06.337Z] + 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 [2024-06-25T07:12:06.351Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-25T07:12:06.662Z] ---> sigul-install.sh [2024-06-25T07:12:06.662Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-06-25T07:12:06.962Z] + git tag --list [2024-06-25T07:12:06.962Z] 0.7.1 [2024-06-25T07:12:06.962Z] v1.0.0 [2024-06-25T07:12:06.962Z] v1.1.0 [2024-06-25T07:12:06.962Z] v1.1.1 [2024-06-25T07:12:06.962Z] v1.2.2 [2024-06-25T07:12:06.962Z] v1.3.0 [2024-06-25T07:12:06.962Z] v1.3.1 [2024-06-25T07:12:06.962Z] v2.0.0 [2024-06-25T07:12:06.962Z] v2.1.0 [2024-06-25T07:12:06.962Z] v2.1.1 [2024-06-25T07:12:06.962Z] v2.2.0 [2024-06-25T07:12:06.962Z] v2.3.0 [2024-06-25T07:12:06.962Z] v3.0 [2024-06-25T07:12:06.962Z] v3.0.0 [2024-06-25T07:12:06.962Z] v3.1 [2024-06-25T07:12:06.962Z] v3.1.0 [2024-06-25T07:12:06.962Z] v3.1.0-dev.1 [2024-06-25T07:12:06.962Z] v3.1.0-dev.10 [2024-06-25T07:12:06.962Z] v3.1.0-dev.11 [2024-06-25T07:12:06.962Z] v3.1.0-dev.12 [2024-06-25T07:12:06.962Z] v3.1.0-dev.13 [2024-06-25T07:12:06.962Z] v3.1.0-dev.14 [2024-06-25T07:12:06.962Z] v3.1.0-dev.15 [2024-06-25T07:12:06.962Z] v3.1.0-dev.16 [2024-06-25T07:12:06.962Z] v3.1.0-dev.17 [2024-06-25T07:12:06.962Z] v3.1.0-dev.18 [2024-06-25T07:12:06.962Z] v3.1.0-dev.19 [2024-06-25T07:12:06.962Z] v3.1.0-dev.2 [2024-06-25T07:12:06.962Z] v3.1.0-dev.20 [2024-06-25T07:12:06.962Z] v3.1.0-dev.21 [2024-06-25T07:12:06.962Z] v3.1.0-dev.22 [2024-06-25T07:12:06.962Z] v3.1.0-dev.23 [2024-06-25T07:12:06.962Z] v3.1.0-dev.24 [2024-06-25T07:12:06.962Z] v3.1.0-dev.25 [2024-06-25T07:12:06.962Z] v3.1.0-dev.3 [2024-06-25T07:12:06.962Z] v3.1.0-dev.4 [2024-06-25T07:12:06.962Z] v3.1.0-dev.5 [2024-06-25T07:12:06.962Z] v3.1.0-dev.6 [2024-06-25T07:12:06.962Z] v3.1.0-dev.7 [2024-06-25T07:12:06.962Z] v3.1.0-dev.8 [2024-06-25T07:12:06.962Z] v3.1.0-dev.9 [2024-06-25T07:12:06.962Z] v3.1.1 [2024-06-25T07:12:06.962Z] v3.1.1-dev.1 [2024-06-25T07:12:06.962Z] v3.2.0-dev.1 [2024-06-25T07:12:06.962Z] v3.2.0-dev.10 [2024-06-25T07:12:06.962Z] v3.2.0-dev.11 [2024-06-25T07:12:06.962Z] v3.2.0-dev.12 [2024-06-25T07:12:06.962Z] v3.2.0-dev.13 [2024-06-25T07:12:06.962Z] v3.2.0-dev.14 [2024-06-25T07:12:06.962Z] v3.2.0-dev.2 [2024-06-25T07:12:06.962Z] v3.2.0-dev.3 [2024-06-25T07:12:06.962Z] v3.2.0-dev.4 [2024-06-25T07:12:06.962Z] v3.2.0-dev.5 [2024-06-25T07:12:06.962Z] v3.2.0-dev.6 [2024-06-25T07:12:06.962Z] v3.2.0-dev.7 [2024-06-25T07:12:06.962Z] v3.2.0-dev.8 [2024-06-25T07:12:06.962Z] v3.2.0-dev.9 [Pipeline] sh [2024-06-25T07:12:07.259Z] + lftools sign git-tag v3.2.0-dev.14 [2024-06-25T07:12:07.832Z] Signing Git tag with Sigul... [2024-06-25T07:12:07.832Z] Signing v3.2.0-dev.14 [Pipeline] echo [2024-06-25T07:12:08.107Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-25T07:12:08.408Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-06-25T07:12:08.420Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-06-25T07:12:08.443Z] $ docker stop --time=1 7d3f119afa00c3540c0d933c7065501605c648037d288899634eef4e7f1040e3 [2024-06-25T07:12:09.749Z] $ docker rm -f --volumes 7d3f119afa00c3540c0d933c7065501605c648037d288899634eef4e7f1040e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-06-25T07:12:10.187Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-06-25T07:12:10.187Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T07:12:10.494Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-25T07:12:10.494Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T07:12:10.581Z] prd-ubuntu20.04-docker-8c-8g-4334 does not seem to be running inside a container [2024-06-25T07:12:10.606Z] $ 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 [2024-06-25T07:12:10.988Z] $ docker top 560d733413a9ed3edf3e04946ccbfbddb9726452662be49862cf7f4592e09a07 -eo pid,comm [2024-06-25T07:12:11.038Z] 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). [2024-06-25T07:12:11.038Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-06-25T07:12:11.094Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-06-25T07:12:11.094Z] [ssh-agent] Looking for ssh-agent implementation... [2024-06-25T07:12:11.201Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-06-25T07:12:11.202Z] $ docker exec 560d733413a9ed3edf3e04946ccbfbddb9726452662be49862cf7f4592e09a07 ssh-agent [2024-06-25T07:12:11.320Z] SSH_AUTH_SOCK=/tmp/ssh-2U7y3w8Y7atT/agent.31 [2024-06-25T07:12:11.320Z] SSH_AGENT_PID=37 [2024-06-25T07:12:11.325Z] Running ssh-add (command line suppressed) [2024-06-25T07:12:11.426Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17515374978052768622.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17515374978052768622.key) [2024-06-25T07:12:11.444Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-06-25T07:12:11.739Z] + git semver bump pre [2024-06-25T07:12:11.999Z] 2024-06-25 07:12:11,928 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-06-25T07:12:11.999Z] 2024-06-25 07:12:11,928 [bump_version] DEBUG bumping version:3.2.0-dev.14 on axis:pre with prefix:dev [2024-06-25T07:12:11.999Z] 2024-06-25 07:12:11,928 [bump_version] DEBUG bumped version:3.2.0-dev.15 [2024-06-25T07:12:11.999Z] 2024-06-25 07:12:11,928 [write_version] DEBUG write version:3.2.0-dev.15 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2024-06-25T07:12:11.999Z] 2024-06-25 07:12:11,928 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-06-25T07:12:11.999Z] 2024-06-25 07:12:11,929 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-06-25T07:12:11.999Z] 2024-06-25 07:12:11,930 [execute] INFO git cat-file --batch-check [2024-06-25T07:12:11.999Z] 2024-06-25 07:12:11,930 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-06-25T07:12:11.999Z] 2024-06-25 07:12:11,936 [execute] INFO git cat-file --batch [2024-06-25T07:12:11.999Z] 2024-06-25 07:12:11,936 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-06-25T07:12:11.999Z] 2024-06-25 07:12:11,941 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-06-25T07:12:11.999Z] 3.2.0-dev.15 [Pipeline] } [2024-06-25T07:12:12.006Z] $ docker exec --env ******** --env ******** 560d733413a9ed3edf3e04946ccbfbddb9726452662be49862cf7f4592e09a07 ssh-agent -k [2024-06-25T07:12:12.097Z] unset SSH_AUTH_SOCK; [2024-06-25T07:12:12.097Z] unset SSH_AGENT_PID; [2024-06-25T07:12:12.097Z] echo Agent pid 37 killed; [2024-06-25T07:12:12.109Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-06-25T07:12:12.440Z] + git semver [Pipeline] } [2024-06-25T07:12:12.712Z] $ docker stop --time=1 560d733413a9ed3edf3e04946ccbfbddb9726452662be49862cf7f4592e09a07 [2024-06-25T07:12:14.008Z] $ docker rm -f --volumes 560d733413a9ed3edf3e04946ccbfbddb9726452662be49862cf7f4592e09a07 [Pipeline] // withDockerContainer [Pipeline] sh [2024-06-25T07:12:14.372Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-06-25T07:12:14.372Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T07:12:14.680Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-25T07:12:14.680Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T07:12:14.759Z] prd-ubuntu20.04-docker-8c-8g-4334 does not seem to be running inside a container [2024-06-25T07:12:14.786Z] $ 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 [2024-06-25T07:12:15.126Z] $ docker top 6b99a2a7cdb9e3e7907d7b7d3a8ed800e7e4710b3bdb9ddaf69902e078386a32 -eo pid,comm [2024-06-25T07:12:15.177Z] 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). [2024-06-25T07:12:15.177Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-06-25T07:12:15.225Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-06-25T07:12:15.226Z] [ssh-agent] Looking for ssh-agent implementation... [2024-06-25T07:12:15.337Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-06-25T07:12:15.338Z] $ docker exec 6b99a2a7cdb9e3e7907d7b7d3a8ed800e7e4710b3bdb9ddaf69902e078386a32 ssh-agent [2024-06-25T07:12:15.451Z] SSH_AUTH_SOCK=/tmp/ssh-HeJOGWGB2cZ0/agent.32 [2024-06-25T07:12:15.452Z] SSH_AGENT_PID=38 [2024-06-25T07:12:15.456Z] Running ssh-add (command line suppressed) [2024-06-25T07:12:15.570Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11651899923695936200.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11651899923695936200.key) [2024-06-25T07:12:15.585Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-06-25T07:12:15.874Z] + git semver push [2024-06-25T07:12:16.132Z] 2024-06-25 07:12:16,039 [run_push] DEBUG push [2024-06-25T07:12:16.132Z] 2024-06-25 07:12:16,040 [execute] INFO git cat-file --batch-check [2024-06-25T07:12:16.132Z] 2024-06-25 07:12:16,040 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-06-25T07:12:16.132Z] 2024-06-25 07:12:16,043 [execute] INFO git rev-list d18aa45ff4b9b1b6bcd2f5bc71419982481fa5dd -- [2024-06-25T07:12:16.132Z] 2024-06-25 07:12:16,044 [execute] DEBUG Popen(['git', 'rev-list', 'd18aa45ff4b9b1b6bcd2f5bc71419982481fa5dd', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-06-25T07:12:16.132Z] 2024-06-25 07:12:16,053 [execute] INFO git fetch -v origin [2024-06-25T07:12:16.132Z] 2024-06-25 07:12:16,053 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-06-25T07:12:16.698Z] 2024-06-25 07:12:16,505 [run_push] DEBUG no remote changes detected [2024-06-25T07:12:16.698Z] 2024-06-25 07:12:16,505 [execute] INFO git push origin semver [2024-06-25T07:12:16.698Z] 2024-06-25 07:12:16,505 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-06-25T07:12:17.633Z] 2024-06-25 07:12:17,268 [run_push] DEBUG push all version tags [2024-06-25T07:12:17.633Z] 2024-06-25 07:12:17,269 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-06-25T07:12:17.633Z] 2024-06-25 07:12:17,269 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2024-06-25T07:12:18.200Z] 2024-06-25 07:12:17,959 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-06-25T07:12:18.200Z] 3.2.0-dev.15 [Pipeline] } [2024-06-25T07:12:18.206Z] $ docker exec --env ******** --env ******** 6b99a2a7cdb9e3e7907d7b7d3a8ed800e7e4710b3bdb9ddaf69902e078386a32 ssh-agent -k [2024-06-25T07:12:18.311Z] unset SSH_AUTH_SOCK; [2024-06-25T07:12:18.311Z] unset SSH_AGENT_PID; [2024-06-25T07:12:18.311Z] echo Agent pid 38 killed; [2024-06-25T07:12:18.321Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-06-25T07:12:18.641Z] + git semver [Pipeline] } [2024-06-25T07:12:18.910Z] $ docker stop --time=1 6b99a2a7cdb9e3e7907d7b7d3a8ed800e7e4710b3bdb9ddaf69902e078386a32 [2024-06-25T07:12:20.176Z] $ docker rm -f --volumes 6b99a2a7cdb9e3e7907d7b7d3a8ed800e7e4710b3bdb9ddaf69902e078386a32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-06-25T07:12:20.834Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2024-06-25T07:12:20.834Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2024-06-25T07:12:20.834Z] total 16 [2024-06-25T07:12:20.834Z] drwxr-xr-x 3 root root 4096 Jun 25 06:59 . [2024-06-25T07:12:20.834Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 25 07:12 .. [2024-06-25T07:12:20.834Z] drwxr-xr-x 2 root root 4096 Jun 25 06:59 cost [2024-06-25T07:12:20.834Z] -rw-r--r-- 1 root root 88 Jun 25 06:59 cost.csv [2024-06-25T07:12:20.834Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2024-06-25T07:12:20.834Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2024-06-25T07:12:20.834Z] total 16 [2024-06-25T07:12:20.834Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 25 06:59 . [2024-06-25T07:12:20.834Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 25 07:12 .. [2024-06-25T07:12:20.834Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 25 06:59 cost [2024-06-25T07:12:20.834Z] -rw-r--r-- 1 jenkins jenkins 88 Jun 25 06:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-06-25T07:12:21.123Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-25T07:12:21.981Z] ---> package-listing.sh [2024-06-25T07:12:21.981Z] ++ facter osfamily [2024-06-25T07:12:21.981Z] ++ tr '[:upper:]' '[:lower:]' [2024-06-25T07:12:22.240Z] + OS_FAMILY=debian [2024-06-25T07:12:22.240Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2024-06-25T07:12:22.240Z] + START_PACKAGES=/tmp/packages_start.txt [2024-06-25T07:12:22.240Z] + END_PACKAGES=/tmp/packages_end.txt [2024-06-25T07:12:22.240Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-06-25T07:12:22.240Z] + PACKAGES=/tmp/packages_start.txt [2024-06-25T07:12:22.240Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2024-06-25T07:12:22.240Z] + PACKAGES=/tmp/packages_end.txt [2024-06-25T07:12:22.240Z] + case "${OS_FAMILY}" in [2024-06-25T07:12:22.240Z] + dpkg -l [2024-06-25T07:12:22.240Z] + grep '^ii' [2024-06-25T07:12:22.240Z] + '[' -f /tmp/packages_start.txt ']' [2024-06-25T07:12:22.240Z] + '[' -f /tmp/packages_end.txt ']' [2024-06-25T07:12:22.240Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-06-25T07:12:22.240Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2024-06-25T07:12:22.240Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2024-06-25T07:12:22.240Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2024-06-25T07:12:22.252Z] 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 [2024-06-25T07:12:22.529Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T07:12:23.097Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-25T07:12:23.097Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T07:12:23.177Z] prd-ubuntu20.04-docker-8c-8g-4334 does not seem to be running inside a container [2024-06-25T07:12:23.203Z] $ 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 [2024-06-25T07:12:23.421Z] $ docker top 19715e04990846134fab3eece7a329b117e1319b7cdc3a654fcae6bcc8fe8148 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-25T07:12:23.765Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-06-25T07:12:24.049Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-06-25T07:12:24.331Z] + ls /var/log/sa-host [2024-06-25T07:12:24.331Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-06-25T07:12:24.488Z] provisioning config files... [2024-06-25T07:12:24.497Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5723902833761556421tmp [Pipeline] { [Pipeline] echo [2024-06-25T07:12:24.513Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-25T07:12:24.795Z] ---> create-netrc.sh [Pipeline] } [2024-06-25T07:12:24.802Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-06-25T07:12:25.136Z] ---> python-tools-install.sh [Pipeline] echo [2024-06-25T07:12:25.146Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-25T07:12:25.429Z] ---> sudo-logs.sh [2024-06-25T07:12:25.429Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-06-25T07:12:25.463Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-25T07:12:25.740Z] ---> job-cost.sh [2024-06-25T07:12:25.740Z] lf-activate-venv: SKIPPING [2024-06-25T07:12:25.740Z] DEBUG: total: 0.2199999988079071 [2024-06-25T07:12:25.740Z] INFO: Retrieving Stack Cost... [2024-06-25T07:12:26.307Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-06-25T07:12:26.565Z] INFO: Archiving Costs [Pipeline] echo [2024-06-25T07:12:26.576Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-25T07:12:26.856Z] ---> logs-deploy.sh [2024-06-25T07:12:26.856Z] lf-activate-venv: SKIPPING [2024-06-25T07:12:26.856Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/153 [2024-06-25T07:12:26.856Z] INFO: archiving workspace using pattern(s): [2024-06-25T07:12:27.792Z] Archives upload complete. [2024-06-25T07:12:28.050Z] INFO: archiving logs to Nexus