Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6ffd961e50bad5aafcddb961eadc768a2e323cba 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-ssh8151059951194912939.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh2093564192906457224.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh4482771841905488429.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh7988005092879552468.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-ssh3248389386967308764.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-268’ Running on prd-ubuntu20.04-docker-8c-8g-270 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 > 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 Avoid second fetch Checking out Revision 6ffd961e50bad5aafcddb961eadc768a2e323cba (main) Commit message: "Merge pull request #552 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.13" > git config core.sparsecheckout # timeout=10 > git checkout -f 6ffd961e50bad5aafcddb961eadc768a2e323cba # timeout=10 > git rev-list --no-walk 64d7a7694c36189f4485ea56f1d095402521ef96 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-16T09:44:03.943Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-16T09:44:04.024Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-16T09:44:04.053Z] ========================================================= [2024-05-16T09:44:04.053Z] EdgeX Global Pipelines Version Info [2024-05-16T09:44:04.053Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-16T09:44:04.778Z] ------------------- [2024-05-16T09:44:04.779Z] stable info: [2024-05-16T09:44:04.779Z] ------------------- [2024-05-16T09:44:04.779Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-05-16T09:44:04.779Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-16T09:44:04.779Z] Message: update stable to v1.0.258 [2024-05-16T09:44:05.351Z] ------------------- [2024-05-16T09:44:05.351Z] experimental info: [2024-05-16T09:44:05.351Z] ------------------- [2024-05-16T09:44:05.351Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-05-16T09:44:05.351Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-16T09:44:05.351Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-16T09:44:05.436Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-05-16T09:44:05.462Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-05-16T09:44:05.489Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-16T09:44:05.513Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-16T09:44:05.538Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-16T09:44:05.558Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-16T09:44:05.577Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-16T09:44:05.602Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-05-16T09:44:05.628Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-16T09:44:05.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-16T09:44:05.673Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-16T09:44:05.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-05-16T09:44:05.722Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-16T09:44:05.749Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-16T09:44:05.775Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-16T09:44:05.802Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-05-16T09:44:05.826Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-16T09:44:05.846Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-16T09:44:05.868Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-16T09:44:05.889Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-16T09:44:05.915Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-05-16T09:44:05.942Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-05-16T09:44:05.969Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-16T09:44:05.997Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-16T09:44:06.020Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-16T09:44:06.044Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-16T09:44:06.068Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-16T09:44:06.088Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-05-16T09:44:06.111Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-05-16T09:44:06.130Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-05-16T09:44:06.152Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6ffd961e50bad5aafcddb961eadc768a2e323cba [Pipeline] echo [2024-05-16T09:44:06.177Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6ffd961 [Pipeline] echo [2024-05-16T09:44:06.199Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-16T09:44:06.257Z] provisioning config files... [2024-05-16T09:44:06.269Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8024831027650442800tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T09:44:06.599Z] ---> ****-login.sh [2024-05-16T09:44:06.599Z] nexus3.edgexfoundry.org:10001 [2024-05-16T09:44:06.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:44:06.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:44:06.861Z] Configure a credential helper to remove this warning. See [2024-05-16T09:44:06.861Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:44:06.861Z] [2024-05-16T09:44:06.861Z] Login Succeeded [2024-05-16T09:44:06.861Z] nexus3.edgexfoundry.org:10002 [2024-05-16T09:44:06.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:44:06.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:44:06.861Z] Configure a credential helper to remove this warning. See [2024-05-16T09:44:06.861Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:44:06.861Z] [2024-05-16T09:44:06.861Z] Login Succeeded [2024-05-16T09:44:06.862Z] nexus3.edgexfoundry.org:10003 [2024-05-16T09:44:06.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:44:07.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:44:07.123Z] Configure a credential helper to remove this warning. See [2024-05-16T09:44:07.123Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:44:07.123Z] [2024-05-16T09:44:07.123Z] Login Succeeded [2024-05-16T09:44:07.123Z] nexus3.edgexfoundry.org:10004 [2024-05-16T09:44:07.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:44:07.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:44:07.123Z] Configure a credential helper to remove this warning. See [2024-05-16T09:44:07.123Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:44:07.123Z] [2024-05-16T09:44:07.123Z] Login Succeeded [2024-05-16T09:44:07.123Z] ****.io [2024-05-16T09:44:07.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:44:07.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:44:07.381Z] Configure a credential helper to remove this warning. See [2024-05-16T09:44:07.381Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:44:07.381Z] [2024-05-16T09:44:07.381Z] Login Succeeded [2024-05-16T09:44:07.381Z] ---> ****-login.sh ends [Pipeline] } [2024-05-16T09:44:07.388Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-16T09:44:07.803Z] + git rev-list -1 --merges 6ffd961e50bad5aafcddb961eadc768a2e323cba~1..6ffd961e50bad5aafcddb961eadc768a2e323cba [Pipeline] echo [2024-05-16T09:44:07.829Z] -----------> git rev-list -1 --merges 6ffd961e50bad5aafcddb961eadc768a2e323cba~1..6ffd961e50bad5aafcddb961eadc768a2e323cba 6ffd961e50bad5aafcddb961eadc768a2e323cba [2024-05-16T09:44:07.829Z] 6ffd961e50bad5aafcddb961eadc768a2e323cba [false] [Pipeline] sh [2024-05-16T09:44:08.123Z] + git log --format=format:%s -1 6ffd961e50bad5aafcddb961eadc768a2e323cba [Pipeline] echo [2024-05-16T09:44:08.139Z] ========================================================= [2024-05-16T09:44:08.139Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-16T09:44:08.139Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-16T09:44:08.484Z] + git log --format=format:%s -1 6ffd961e50bad5aafcddb961eadc768a2e323cba [Pipeline] echo [2024-05-16T09:44:08.496Z] [semverPrep] GIT_COMMIT: 6ffd961e50bad5aafcddb961eadc768a2e323cba, Commit Message: Merge pull request #552 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.13 [Pipeline] echo [2024-05-16T09:44:08.510Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-16T09:44:08.869Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-16T09:44:08.869Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-16T09:44:08.869Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-16T09:44:08.869Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-16T09:44:08.869Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-05-16T09:44:08.869Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-05-16T09:44:08.869Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:44:09.224Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-16T09:44:09.224Z] [2024-05-16T09:44:09.224Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:44:09.533Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-16T09:44:09.533Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-16T09:44:09.533Z] b85a868b505f: Pulling fs layer [2024-05-16T09:44:09.533Z] e2be974225ed: Pulling fs layer [2024-05-16T09:44:09.533Z] 339a4e72a1f5: Pulling fs layer [2024-05-16T09:44:09.533Z] 988bab9f4d93: Pulling fs layer [2024-05-16T09:44:09.533Z] 1469e6f7b9e6: Pulling fs layer [2024-05-16T09:44:09.533Z] eaf3925da568: Pulling fs layer [2024-05-16T09:44:09.533Z] bab4dde63d76: Pulling fs layer [2024-05-16T09:44:09.533Z] bde34c3a00c8: Pulling fs layer [2024-05-16T09:44:09.533Z] b352a97aabf1: Pulling fs layer [2024-05-16T09:44:09.533Z] 4872d77fe225: Pulling fs layer [2024-05-16T09:44:09.533Z] 5851b861e8e6: Pulling fs layer [2024-05-16T09:44:09.533Z] b352a97aabf1: Waiting [2024-05-16T09:44:09.533Z] 4872d77fe225: Waiting [2024-05-16T09:44:09.533Z] 988bab9f4d93: Waiting [2024-05-16T09:44:09.533Z] 5851b861e8e6: Waiting [2024-05-16T09:44:09.533Z] bab4dde63d76: Waiting [2024-05-16T09:44:09.533Z] bde34c3a00c8: Waiting [2024-05-16T09:44:09.533Z] 1469e6f7b9e6: Waiting [2024-05-16T09:44:09.533Z] eaf3925da568: Waiting [2024-05-16T09:44:09.533Z] e2be974225ed: Verifying Checksum [2024-05-16T09:44:09.533Z] e2be974225ed: Download complete [2024-05-16T09:44:09.533Z] 988bab9f4d93: Verifying Checksum [2024-05-16T09:44:09.533Z] 988bab9f4d93: Download complete [2024-05-16T09:44:09.792Z] 1469e6f7b9e6: Verifying Checksum [2024-05-16T09:44:09.792Z] 1469e6f7b9e6: Download complete [2024-05-16T09:44:09.792Z] 339a4e72a1f5: Verifying Checksum [2024-05-16T09:44:09.792Z] 339a4e72a1f5: Download complete [2024-05-16T09:44:09.792Z] eaf3925da568: Download complete [2024-05-16T09:44:09.792Z] bde34c3a00c8: Verifying Checksum [2024-05-16T09:44:09.792Z] bde34c3a00c8: Download complete [2024-05-16T09:44:09.792Z] b352a97aabf1: Download complete [2024-05-16T09:44:09.792Z] 4872d77fe225: Verifying Checksum [2024-05-16T09:44:09.792Z] 4872d77fe225: Download complete [2024-05-16T09:44:09.792Z] 5851b861e8e6: Verifying Checksum [2024-05-16T09:44:09.792Z] 5851b861e8e6: Download complete [2024-05-16T09:44:09.792Z] b85a868b505f: Verifying Checksum [2024-05-16T09:44:09.792Z] b85a868b505f: Download complete [2024-05-16T09:44:10.051Z] bab4dde63d76: Verifying Checksum [2024-05-16T09:44:10.051Z] bab4dde63d76: Download complete [2024-05-16T09:44:10.986Z] b85a868b505f: Pull complete [2024-05-16T09:44:10.986Z] e2be974225ed: Pull complete [2024-05-16T09:44:11.552Z] 339a4e72a1f5: Pull complete [2024-05-16T09:44:11.552Z] 988bab9f4d93: Pull complete [2024-05-16T09:44:11.856Z] 1469e6f7b9e6: Pull complete [2024-05-16T09:44:11.856Z] eaf3925da568: Pull complete [2024-05-16T09:44:13.756Z] bab4dde63d76: Pull complete [2024-05-16T09:44:13.756Z] bde34c3a00c8: Pull complete [2024-05-16T09:44:13.756Z] b352a97aabf1: Pull complete [2024-05-16T09:44:13.756Z] 4872d77fe225: Pull complete [2024-05-16T09:44:13.756Z] 5851b861e8e6: Pull complete [2024-05-16T09:44:13.756Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-16T09:44:13.756Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-16T09:44:13.756Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T09:44:13.892Z] prd-ubuntu20.04-docker-8c-8g-270 does not seem to be running inside a container [2024-05-16T09:44:13.925Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-16T09:44:17.326Z] $ docker top 842af767c7db7a8654515b679812eb1d6bb06a48c602e013fb237ed59f29973e -eo pid,comm [2024-05-16T09:44:17.378Z] 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-05-16T09:44:17.378Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-16T09:44:17.433Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-16T09:44:17.433Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-16T09:44:17.542Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-16T09:44:17.543Z] $ docker exec 842af767c7db7a8654515b679812eb1d6bb06a48c602e013fb237ed59f29973e ssh-agent [2024-05-16T09:44:17.643Z] SSH_AUTH_SOCK=/tmp/ssh-eLT0hMc5n2wx/agent.32 [2024-05-16T09:44:17.643Z] SSH_AGENT_PID=38 [2024-05-16T09:44:17.650Z] Running ssh-add (command line suppressed) [2024-05-16T09:44:17.753Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4013312976011706169.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4013312976011706169.key) [2024-05-16T09:44:17.768Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-16T09:44:18.064Z] + git tag --points-at HEAD [Pipeline] } [2024-05-16T09:44:18.075Z] $ docker exec --env ******** --env ******** 842af767c7db7a8654515b679812eb1d6bb06a48c602e013fb237ed59f29973e ssh-agent -k [2024-05-16T09:44:18.161Z] unset SSH_AUTH_SOCK; [2024-05-16T09:44:18.162Z] unset SSH_AGENT_PID; [2024-05-16T09:44:18.162Z] echo Agent pid 38 killed; [2024-05-16T09:44:18.175Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-16T09:44:18.213Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-16T09:44:18.213Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-16T09:44:18.312Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-16T09:44:18.313Z] $ docker exec 842af767c7db7a8654515b679812eb1d6bb06a48c602e013fb237ed59f29973e ssh-agent [2024-05-16T09:44:18.416Z] SSH_AUTH_SOCK=/tmp/ssh-PPphB5Tk51Fg/agent.71 [2024-05-16T09:44:18.416Z] SSH_AGENT_PID=77 [2024-05-16T09:44:18.421Z] Running ssh-add (command line suppressed) [2024-05-16T09:44:18.520Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17084944297760452269.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17084944297760452269.key) [2024-05-16T09:44:18.534Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-16T09:44:18.830Z] + git semver init [2024-05-16T09:44:19.089Z] 2024-05-16 09:44:19,013 [run_init] DEBUG init version:0.0.0 force:False [2024-05-16T09:44:19.089Z] 2024-05-16 09:44:19,014 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2024-05-16T09:44:19.089Z] 2024-05-16 09:44:19,014 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2024-05-16T09:44:19.089Z] 2024-05-16 09:44:19,014 [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-05-16T09:44:20.465Z] 2024-05-16 09:44:20,259 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2024-05-16T09:44:20.466Z] 2024-05-16 09:44:20,260 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2024-05-16T09:44:20.466Z] 2024-05-16 09:44:20,260 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-05-16T09:44:20.466Z] 2024-05-16 09:44:20,260 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-05-16T09:44:20.466Z] 3.2.0-dev.12 [Pipeline] } [2024-05-16T09:44:20.474Z] $ docker exec --env ******** --env ******** 842af767c7db7a8654515b679812eb1d6bb06a48c602e013fb237ed59f29973e ssh-agent -k [2024-05-16T09:44:20.572Z] unset SSH_AUTH_SOCK; [2024-05-16T09:44:20.572Z] unset SSH_AGENT_PID; [2024-05-16T09:44:20.573Z] echo Agent pid 77 killed; [2024-05-16T09:44:20.583Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-16T09:44:20.918Z] + git semver [Pipeline] } [2024-05-16T09:44:21.190Z] $ docker stop --time=1 842af767c7db7a8654515b679812eb1d6bb06a48c602e013fb237ed59f29973e [2024-05-16T09:44:22.449Z] $ docker rm -f --volumes 842af767c7db7a8654515b679812eb1d6bb06a48c602e013fb237ed59f29973e [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-16T09:44:22.800Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-16T09:44:23.038Z] Stashed 1 file(s) [Pipeline] echo [2024-05-16T09:44:23.042Z] [edgeXSemver]: initialized semver on version 3.2.0-dev.12 [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-05-16T09:44:23.230Z] provisioning config files... [2024-05-16T09:44:23.241Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13716247757701018319tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T09:44:23.545Z] ---> ****-login.sh [2024-05-16T09:44:23.545Z] nexus3.edgexfoundry.org:10001 [2024-05-16T09:44:23.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:44:23.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:44:23.546Z] Configure a credential helper to remove this warning. See [2024-05-16T09:44:23.546Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:44:23.546Z] [2024-05-16T09:44:23.546Z] Login Succeeded [2024-05-16T09:44:23.546Z] nexus3.edgexfoundry.org:10002 [2024-05-16T09:44:23.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:44:23.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:44:23.546Z] Configure a credential helper to remove this warning. See [2024-05-16T09:44:23.546Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:44:23.546Z] [2024-05-16T09:44:23.546Z] Login Succeeded [2024-05-16T09:44:23.546Z] nexus3.edgexfoundry.org:10003 [2024-05-16T09:44:23.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:44:23.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:44:23.805Z] Configure a credential helper to remove this warning. See [2024-05-16T09:44:23.805Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:44:23.805Z] [2024-05-16T09:44:23.805Z] Login Succeeded [2024-05-16T09:44:23.805Z] nexus3.edgexfoundry.org:10004 [2024-05-16T09:44:23.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:44:23.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:44:23.805Z] Configure a credential helper to remove this warning. See [2024-05-16T09:44:23.805Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:44:23.805Z] [2024-05-16T09:44:23.805Z] Login Succeeded [2024-05-16T09:44:23.805Z] ****.io [2024-05-16T09:44:24.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:44:24.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:44:24.065Z] Configure a credential helper to remove this warning. See [2024-05-16T09:44:24.065Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:44:24.065Z] [2024-05-16T09:44:24.065Z] Login Succeeded [2024-05-16T09:44:24.065Z] ---> ****-login.sh ends [Pipeline] } [2024-05-16T09:44:24.072Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-16T09:44:24.159Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T09:44:24.176Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T09:44:24.188Z] ========================================================= [2024-05-16T09:44:24.188Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-05-16T09:44:24.188Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:44:24.528Z] + 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-05-16T09:44:24.528Z] Sending build context to Docker daemon 20.91MB [2024-05-16T09:44:24.528Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-16T09:44:24.528Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-16T09:44:24.528Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-05-16T09:44:24.528Z] 619be1103602: Pulling fs layer [2024-05-16T09:44:24.528Z] 7862e08f4a3e: Pulling fs layer [2024-05-16T09:44:24.528Z] 5df492c9dc93: Pulling fs layer [2024-05-16T09:44:24.528Z] 7629e6793208: Pulling fs layer [2024-05-16T09:44:24.528Z] 4f4fb700ef54: Pulling fs layer [2024-05-16T09:44:24.528Z] fb5054dd5b73: Pulling fs layer [2024-05-16T09:44:24.528Z] eeca6798cff9: Pulling fs layer [2024-05-16T09:44:24.528Z] aa269ceb94a6: Pulling fs layer [2024-05-16T09:44:24.528Z] ada007ff1a6a: Pulling fs layer [2024-05-16T09:44:24.528Z] fb5054dd5b73: Waiting [2024-05-16T09:44:24.528Z] eeca6798cff9: Waiting [2024-05-16T09:44:24.528Z] aa269ceb94a6: Waiting [2024-05-16T09:44:24.528Z] ada007ff1a6a: Waiting [2024-05-16T09:44:24.528Z] 7629e6793208: Waiting [2024-05-16T09:44:24.528Z] 4f4fb700ef54: Waiting [2024-05-16T09:44:24.787Z] 7862e08f4a3e: Verifying Checksum [2024-05-16T09:44:24.787Z] 7862e08f4a3e: Download complete [2024-05-16T09:44:24.787Z] 7629e6793208: Verifying Checksum [2024-05-16T09:44:24.787Z] 7629e6793208: Download complete [2024-05-16T09:44:24.787Z] 4f4fb700ef54: Verifying Checksum [2024-05-16T09:44:24.787Z] 4f4fb700ef54: Download complete [2024-05-16T09:44:24.787Z] 619be1103602: Verifying Checksum [2024-05-16T09:44:24.787Z] 619be1103602: Download complete [2024-05-16T09:44:24.787Z] fb5054dd5b73: Verifying Checksum [2024-05-16T09:44:24.787Z] fb5054dd5b73: Download complete [2024-05-16T09:44:24.787Z] eeca6798cff9: Verifying Checksum [2024-05-16T09:44:24.787Z] eeca6798cff9: Download complete [2024-05-16T09:44:24.787Z] 619be1103602: Pull complete [2024-05-16T09:44:25.048Z] ada007ff1a6a: Verifying Checksum [2024-05-16T09:44:25.048Z] ada007ff1a6a: Download complete [2024-05-16T09:44:25.048Z] 7862e08f4a3e: Pull complete [2024-05-16T09:44:25.307Z] 5df492c9dc93: Verifying Checksum [2024-05-16T09:44:25.307Z] 5df492c9dc93: Download complete [2024-05-16T09:44:25.567Z] aa269ceb94a6: Verifying Checksum [2024-05-16T09:44:25.567Z] aa269ceb94a6: Download complete [2024-05-16T09:44:28.854Z] 5df492c9dc93: Pull complete [2024-05-16T09:44:28.854Z] 7629e6793208: Pull complete [2024-05-16T09:44:28.854Z] 4f4fb700ef54: Pull complete [2024-05-16T09:44:28.854Z] fb5054dd5b73: Pull complete [2024-05-16T09:44:28.854Z] eeca6798cff9: Pull complete [2024-05-16T09:44:30.757Z] aa269ceb94a6: Pull complete [2024-05-16T09:44:31.327Z] ada007ff1a6a: Pull complete [2024-05-16T09:44:31.327Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-05-16T09:44:31.327Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-05-16T09:44:31.327Z] ---> f489d0715acc [2024-05-16T09:44:31.327Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-05-16T09:44:36.640Z] ---> Running in e64cb6749344 [2024-05-16T09:44:36.640Z] Removing intermediate container e64cb6749344 [2024-05-16T09:44:36.640Z] ---> d6415e3a4760 [2024-05-16T09:44:36.640Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-16T09:44:36.640Z] ---> Running in fdfcc294d212 [2024-05-16T09:44:36.640Z] Removing intermediate container fdfcc294d212 [2024-05-16T09:44:36.640Z] ---> 739b59ac98c3 [2024-05-16T09:44:36.640Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-05-16T09:44:36.640Z] ---> Running in 07ad9dbea81d [2024-05-16T09:44:36.640Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-16T09:44:36.900Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-16T09:44:37.158Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-05-16T09:44:37.158Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-05-16T09:44:37.158Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-05-16T09:44:37.158Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-05-16T09:44:37.158Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-05-16T09:44:37.158Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-05-16T09:44:37.158Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-05-16T09:44:37.158Z] (8/8) Installing openssh (9.3_p2-r1) [2024-05-16T09:44:37.158Z] Executing busybox-1.36.1-r5.trigger [2024-05-16T09:44:37.158Z] OK: 270 MiB in 60 packages [2024-05-16T09:44:37.725Z] Removing intermediate container 07ad9dbea81d [2024-05-16T09:44:37.725Z] ---> ebf046c90166 [2024-05-16T09:44:37.725Z] Step 6/10 : WORKDIR /device-modbus-go [2024-05-16T09:44:37.725Z] ---> Running in a2f15f8346d7 [2024-05-16T09:44:37.725Z] Removing intermediate container a2f15f8346d7 [2024-05-16T09:44:37.725Z] ---> c64cb4dcc805 [2024-05-16T09:44:37.725Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-16T09:44:37.982Z] ---> 2cd0b46cbc60 [2024-05-16T09:44:37.982Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-16T09:44:37.982Z] ---> Running in 6f722a95c81d [2024-05-16T09:44:38.180Z] Still waiting to schedule task [2024-05-16T09:44:38.181Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-269’ is offline [2024-05-16T09:45:45.675Z] Removing intermediate container 6f722a95c81d [2024-05-16T09:45:45.676Z] ---> 8d6e40d697aa [2024-05-16T09:45:45.676Z] Step 9/10 : COPY . . [2024-05-16T09:45:45.676Z] ---> fd99e7f2212e [2024-05-16T09:45:45.676Z] Step 10/10 : RUN ${MAKE} [2024-05-16T09:45:45.676Z] ---> Running in e8b9a99f03a8 [2024-05-16T09:45:45.676Z] noop [2024-05-16T09:45:45.676Z] Removing intermediate container e8b9a99f03a8 [2024-05-16T09:45:45.676Z] ---> 6e1ecbbc4397 [2024-05-16T09:45:45.676Z] Successfully built 6e1ecbbc4397 [2024-05-16T09:45:45.676Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:45:46.014Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-16T09:45:46.014Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T09:45:46.091Z] prd-ubuntu20.04-docker-8c-8g-270 does not seem to be running inside a container [2024-05-16T09:45:46.118Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-16T09:45:46.422Z] $ docker top 30105fc1572bc0d169c0e7e516ff16e08650a1fb87916b69da62e1f5cc45c6e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T09:45:46.774Z] + go version [2024-05-16T09:45:46.774Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-16T09:45:46.907Z] $ docker stop --time=1 30105fc1572bc0d169c0e7e516ff16e08650a1fb87916b69da62e1f5cc45c6e5 [2024-05-16T09:45:48.168Z] $ docker rm -f --volumes 30105fc1572bc0d169c0e7e516ff16e08650a1fb87916b69da62e1f5cc45c6e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:45:48.610Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-16T09:45:48.610Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T09:45:48.690Z] prd-ubuntu20.04-docker-8c-8g-270 does not seem to be running inside a container [2024-05-16T09:45:48.716Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-16T09:45:49.015Z] $ docker top 3a01bb4b254dde11c204e0fadf91c6ec3957f5e513d400785391b27d720616c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T09:45:49.369Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2024-05-16T09:45:49.673Z] + make test [2024-05-16T09:45:49.673Z] go test ./... -coverprofile=coverage.out [2024-05-16T09:45:51.052Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-05-16T09:46:09.122Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-05-16T09:46:09.122Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.019s coverage: 47.9% of statements [2024-05-16T09:46:14.648Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-272 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2024-05-16T09:46:14.662Z] Running in /w/workspace/device-modbus-go/151 [Pipeline] { [Pipeline] checkout [2024-05-16T09:46:17.225Z] go vet ./... [2024-05-16T09:46:17.718Z] The recommended git tool is: git [2024-05-16T09:46:21.405Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-16T09:46:21.405Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-16T09:46:21.405Z] ./bin/test-attribution-txt.sh [2024-05-16T09:46:21.405Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-16T09:46:21.405Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-16T09:46:21.406Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-16T09:46:21.406Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-16T09:46:21.406Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-16T09:46:21.406Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-16T09:46:21.406Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-16T09:46:21.406Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-16T09:46:21.406Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-16T09:46:21.406Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-16T09:46:21.406Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-16T09:46:21.406Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-16T09:46:21.406Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-16T09:46:21.406Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-16T09:46:21.406Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-16T09:46:21.406Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-16T09:46:21.406Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-16T09:46:21.406Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-16T09:46:21.406Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-05-16T09:46:21.406Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-16T09:46:21.406Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-16T09:46:21.418Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-16T09:46:21.432Z] $ docker stop --time=1 3a01bb4b254dde11c204e0fadf91c6ec3957f5e513d400785391b27d720616c5 [2024-05-16T09:46:22.232Z] using credential edgex-jenkins-ssh [2024-05-16T09:46:22.255Z] Cloning the remote Git repository [2024-05-16T09:46:22.301Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-05-16T09:46:22.407Z] > git init /w/workspace/device-modbus-go/151 # timeout=10 [2024-05-16T09:46:22.567Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-05-16T09:46:22.568Z] > git --version # timeout=10 [2024-05-16T09:46:22.588Z] > git --version # 'git version 2.25.1' [2024-05-16T09:46:22.590Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-16T09:46:22.741Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-16T09:46:26.203Z] $ docker rm -f --volumes 3a01bb4b254dde11c204e0fadf91c6ec3957f5e513d400785391b27d720616c5 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-16T09:46:26.742Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-16T09:46:26.809Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-05-16T09:46:27.342Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-16T09:46:27.626Z] + ls -al . [2024-05-16T09:46:27.626Z] total 264 [2024-05-16T09:46:27.626Z] drwxrwxr-x 9 jenkins jenkins 4096 May 16 09:45 . [2024-05-16T09:46:27.626Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 09:43 .. [2024-05-16T09:46:27.626Z] -rw-rw-r-- 1 jenkins jenkins 140 May 16 09:43 .dockerignore [2024-05-16T09:46:27.626Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 09:46 .git [2024-05-16T09:46:27.626Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:43 .github [2024-05-16T09:46:27.626Z] -rw-rw-r-- 1 jenkins jenkins 266 May 16 09:43 .gitignore [2024-05-16T09:46:27.626Z] -rw-rw-r-- 1 jenkins jenkins 41 May 16 09:43 .golangci.yml [2024-05-16T09:46:27.626Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 09:44 .semver [2024-05-16T09:46:27.626Z] -rw-rw-r-- 1 jenkins jenkins 11101 May 16 09:43 Attribution.txt [2024-05-16T09:46:27.626Z] -rw-rw-r-- 1 jenkins jenkins 16388 May 16 09:43 CHANGELOG.md [2024-05-16T09:46:27.626Z] -rw-rw-r-- 1 jenkins jenkins 1474 May 16 09:43 Dockerfile [2024-05-16T09:46:27.626Z] -rw-rw-r-- 1 jenkins jenkins 677 May 16 09:43 GOVERNANCE.md [2024-05-16T09:46:27.626Z] -rw-rw-r-- 1 jenkins jenkins 658 May 16 09:43 Jenkinsfile [2024-05-16T09:46:27.626Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 16 09:43 LICENSE [2024-05-16T09:46:27.626Z] -rw-rw-r-- 1 jenkins jenkins 1942 May 16 09:43 Makefile [2024-05-16T09:46:27.626Z] -rw-rw-r-- 1 jenkins jenkins 622 May 16 09:43 OWNERS.md [2024-05-16T09:46:27.626Z] -rw-rw-r-- 1 jenkins jenkins 4463 May 16 09:43 README.md [2024-05-16T09:46:27.626Z] -rw-rw-r-- 1 jenkins jenkins 12 May 16 09:44 VERSION [2024-05-16T09:46:27.626Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 09:43 bin [2024-05-16T09:46:27.626Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:43 cmd [2024-05-16T09:46:27.626Z] -rw-r--r-- 1 jenkins jenkins 24601 May 16 09:46 coverage.out [2024-05-16T09:46:27.626Z] -rw-rw-r-- 1 jenkins jenkins 7289 May 16 09:43 go.mod [2024-05-16T09:46:27.626Z] -rw-rw-r-- 1 jenkins jenkins 101859 May 16 09:43 go.sum [2024-05-16T09:46:27.626Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:43 internal [2024-05-16T09:46:27.626Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 09:43 simulator [2024-05-16T09:46:27.626Z] -rw-rw-r-- 1 jenkins jenkins 229 May 16 09:43 version.go [2024-05-16T09:46:27.628Z] Avoid second fetch [2024-05-16T09:46:27.629Z] Checking out Revision 6ffd961e50bad5aafcddb961eadc768a2e323cba (main) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:46:27.935Z] + 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=6ffd961e50bad5aafcddb961eadc768a2e323cba --label arch=amd64 --label version=3.2.0-dev.12 . [2024-05-16T09:46:27.935Z] Sending build context to Docker daemon 20.94MB [2024-05-16T09:46:27.935Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-05-16T09:46:27.935Z] Step 2/23 : FROM ${BASE} AS builder [2024-05-16T09:46:27.935Z] ---> 6e1ecbbc4397 [2024-05-16T09:46:27.935Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-05-16T09:46:26.784Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-05-16T09:46:26.805Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-16T09:46:27.641Z] > git config core.sparsecheckout # timeout=10 [2024-05-16T09:46:27.708Z] > git checkout -f 6ffd961e50bad5aafcddb961eadc768a2e323cba # timeout=10 [2024-05-16T09:46:28.193Z] ---> Running in 4dc0c8771b5c [2024-05-16T09:46:28.239Z] Commit message: "Merge pull request #552 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.13" [2024-05-16T09:46:28.452Z] Removing intermediate container 4dc0c8771b5c [2024-05-16T09:46:28.453Z] ---> aaf9c026d31f [2024-05-16T09:46:28.453Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-16T09:46:28.453Z] ---> Running in 523171582db3 [2024-05-16T09:46:28.453Z] Removing intermediate container 523171582db3 [2024-05-16T09:46:28.453Z] ---> 88dec7334650 [2024-05-16T09:46:28.453Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-05-16T09:46:28.453Z] ---> Running in 9bf21723a87d [2024-05-16T09:46:28.711Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-16T09:46:28.969Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-16T09:46:29.227Z] OK: 270 MiB in 60 packages [2024-05-16T09:46:29.484Z] Removing intermediate container 9bf21723a87d [2024-05-16T09:46:29.484Z] ---> f2260a41ad11 [2024-05-16T09:46:29.484Z] Step 6/23 : WORKDIR /device-modbus-go [2024-05-16T09:46:29.484Z] ---> Running in cc05bde5d326 [2024-05-16T09:46:29.484Z] Removing intermediate container cc05bde5d326 [2024-05-16T09:46:29.484Z] ---> 7bd18b6f1e81 [2024-05-16T09:46:29.484Z] Step 7/23 : COPY go.mod vendor* ./ [2024-05-16T09:46:29.743Z] ---> 7d0961351d2c [2024-05-16T09:46:29.743Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-16T09:46:29.743Z] ---> Running in b4c4221e12a8 [2024-05-16T09:46:30.310Z] Removing intermediate container b4c4221e12a8 [2024-05-16T09:46:30.310Z] ---> a70a1bb1b1f7 [2024-05-16T09:46:30.310Z] Step 9/23 : COPY . . [2024-05-16T09:46:30.880Z] ---> 39740fb2290a [2024-05-16T09:46:30.880Z] Step 10/23 : RUN ${MAKE} [2024-05-16T09:46:30.880Z] ---> Running in 0d8e91406663 [2024-05-16T09:46:31.138Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.13" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-16T09:46:32.936Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-16T09:46:32.936Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-16T09:46:32.936Z] Dload Upload Total Spent Left Speed [2024-05-16T09:46:32.936Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 114k 0 --:--:-- --:--:-- --:--:-- 114k [Pipeline] sh [2024-05-16T09:46:33.266Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-16T09:46:33.586Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-05-16T09:46:33.586Z] + sudo tee /etc/docker/daemon.new [2024-05-16T09:46:33.586Z] { [2024-05-16T09:46:33.586Z] "registry-mirrors": [ [2024-05-16T09:46:33.586Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-16T09:46:33.586Z] ], [2024-05-16T09:46:33.586Z] "bip": "10.250.0.254/24", [2024-05-16T09:46:33.586Z] "hosts": [ [2024-05-16T09:46:33.586Z] "tcp://0.0.0.0:5555", [2024-05-16T09:46:33.586Z] "unix:///var/run/docker.sock" [2024-05-16T09:46:33.586Z] ], [2024-05-16T09:46:33.586Z] "mtu": 1458, [2024-05-16T09:46:33.586Z] "selinux-enabled": true, [2024-05-16T09:46:33.586Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-16T09:46:33.586Z] } [Pipeline] sh [2024-05-16T09:46:33.916Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-05-16T09:46:34.255Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-16T09:46:52.525Z] provisioning config files... [2024-05-16T09:46:52.550Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/151@tmp/config11406310271435862773tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T09:46:52.974Z] ---> ****-login.sh [2024-05-16T09:46:52.974Z] nexus3.edgexfoundry.org:10001 [2024-05-16T09:46:53.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:46:53.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:46:53.516Z] Configure a credential helper to remove this warning. See [2024-05-16T09:46:53.516Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:46:53.516Z] [2024-05-16T09:46:53.516Z] Login Succeeded [2024-05-16T09:46:53.516Z] nexus3.edgexfoundry.org:10002 [2024-05-16T09:46:53.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:46:53.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:46:53.785Z] Configure a credential helper to remove this warning. See [2024-05-16T09:46:53.785Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:46:53.785Z] [2024-05-16T09:46:54.053Z] Login Succeeded [2024-05-16T09:46:54.053Z] nexus3.edgexfoundry.org:10003 [2024-05-16T09:46:54.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:46:54.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:46:54.321Z] Configure a credential helper to remove this warning. See [2024-05-16T09:46:54.321Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:46:54.321Z] [2024-05-16T09:46:54.321Z] Login Succeeded [2024-05-16T09:46:54.321Z] nexus3.edgexfoundry.org:10004 [2024-05-16T09:46:54.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:46:54.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:46:54.590Z] Configure a credential helper to remove this warning. See [2024-05-16T09:46:54.590Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:46:54.590Z] [2024-05-16T09:46:54.590Z] Login Succeeded [2024-05-16T09:46:54.590Z] ****.io [2024-05-16T09:46:54.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:46:55.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:46:55.124Z] Configure a credential helper to remove this warning. See [2024-05-16T09:46:55.124Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:46:55.124Z] [2024-05-16T09:46:55.124Z] Login Succeeded [2024-05-16T09:46:55.124Z] ---> ****-login.sh ends [Pipeline] } [2024-05-16T09:46:55.139Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-16T09:46:55.473Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T09:46:55.494Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T09:46:55.518Z] ========================================================= [2024-05-16T09:46:55.518Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-05-16T09:46:55.518Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:46:55.877Z] + 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-05-16T09:46:56.148Z] Sending build context to Docker daemon 10.59MB [2024-05-16T09:46:56.417Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-16T09:46:56.417Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-16T09:46:56.417Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-16T09:46:56.417Z] c6b39de5b339: Pulling fs layer [2024-05-16T09:46:56.417Z] a69c41024577: Pulling fs layer [2024-05-16T09:46:56.417Z] d6de4b400683: Pulling fs layer [2024-05-16T09:46:56.417Z] 35cb2a7552d0: Pulling fs layer [2024-05-16T09:46:56.417Z] 4f4fb700ef54: Pulling fs layer [2024-05-16T09:46:56.417Z] 464afbd9ba4c: Pulling fs layer [2024-05-16T09:46:56.417Z] 00f215d4a9da: Pulling fs layer [2024-05-16T09:46:56.417Z] d496ad576159: Pulling fs layer [2024-05-16T09:46:56.417Z] 4f4fb700ef54: Waiting [2024-05-16T09:46:56.417Z] 464afbd9ba4c: Waiting [2024-05-16T09:46:56.417Z] 00f215d4a9da: Waiting [2024-05-16T09:46:56.417Z] d496ad576159: Waiting [2024-05-16T09:46:56.417Z] 35cb2a7552d0: Waiting [2024-05-16T09:46:56.417Z] a69c41024577: Verifying Checksum [2024-05-16T09:46:56.417Z] a69c41024577: Download complete [2024-05-16T09:46:56.417Z] 35cb2a7552d0: Verifying Checksum [2024-05-16T09:46:56.417Z] 35cb2a7552d0: Download complete [2024-05-16T09:46:56.687Z] 4f4fb700ef54: Verifying Checksum [2024-05-16T09:46:56.687Z] 4f4fb700ef54: Download complete [2024-05-16T09:46:56.687Z] 464afbd9ba4c: Verifying Checksum [2024-05-16T09:46:56.687Z] 464afbd9ba4c: Download complete [2024-05-16T09:46:56.687Z] c6b39de5b339: Download complete [2024-05-16T09:46:56.955Z] d496ad576159: Verifying Checksum [2024-05-16T09:46:56.956Z] d496ad576159: Download complete [2024-05-16T09:46:57.543Z] c6b39de5b339: Pull complete [2024-05-16T09:46:58.137Z] a69c41024577: Pull complete [2024-05-16T09:46:58.407Z] d6de4b400683: Download complete [2024-05-16T09:46:59.836Z] 00f215d4a9da: Verifying Checksum [2024-05-16T09:46:59.836Z] 00f215d4a9da: Download complete [2024-05-16T09:47:03.281Z] Removing intermediate container 0d8e91406663 [2024-05-16T09:47:03.281Z] ---> 17d6ff2a9be7 [2024-05-16T09:47:03.281Z] Step 11/23 : FROM alpine:3.18 [2024-05-16T09:47:03.281Z] 3.18: Pulling from library/alpine [2024-05-16T09:47:03.281Z] 619be1103602: Already exists [2024-05-16T09:47:03.281Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-16T09:47:03.281Z] Status: Downloaded newer image for alpine:3.18 [2024-05-16T09:47:03.281Z] ---> d3782b16ccc9 [2024-05-16T09:47:03.281Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-05-16T09:47:03.281Z] ---> Running in aef68e4fd049 [2024-05-16T09:47:03.281Z] Removing intermediate container aef68e4fd049 [2024-05-16T09:47:03.281Z] ---> 09bca040c11f [2024-05-16T09:47:03.281Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-05-16T09:47:03.281Z] ---> Running in 379c12c336e1 [2024-05-16T09:47:03.281Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-16T09:47:03.281Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-16T09:47:03.281Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-16T09:47:03.281Z] Executing busybox-1.36.1-r5.trigger [2024-05-16T09:47:03.281Z] OK: 7 MiB in 16 packages [2024-05-16T09:47:03.281Z] Removing intermediate container 379c12c336e1 [2024-05-16T09:47:03.281Z] ---> ac6057fd9083 [2024-05-16T09:47:03.281Z] Step 14/23 : RUN apk --no-cache upgrade [2024-05-16T09:47:03.281Z] ---> Running in 34252f04cd43 [2024-05-16T09:47:03.281Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-16T09:47:03.281Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-16T09:47:03.281Z] Upgrading critical system libraries and apk-tools: [2024-05-16T09:47:03.281Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-16T09:47:03.281Z] Executing busybox-1.36.1-r5.trigger [2024-05-16T09:47:03.281Z] Continuing the upgrade transaction with new apk-tools: [2024-05-16T09:47:03.281Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-16T09:47:03.281Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-16T09:47:03.281Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-16T09:47:03.281Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-16T09:47:03.281Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-16T09:47:03.281Z] OK: 7 MiB in 16 packages [2024-05-16T09:47:03.281Z] Removing intermediate container 34252f04cd43 [2024-05-16T09:47:03.281Z] ---> a2f6ed132081 [2024-05-16T09:47:03.281Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-05-16T09:47:04.656Z] ---> c996eeb76955 [2024-05-16T09:47:04.656Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-05-16T09:47:04.656Z] ---> 7da7c0562ea8 [2024-05-16T09:47:04.656Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-05-16T09:47:04.656Z] ---> c41d1b4a588c [2024-05-16T09:47:04.656Z] Step 18/23 : EXPOSE 59901 [2024-05-16T09:47:04.656Z] ---> Running in 81ff50e0aaca [2024-05-16T09:47:04.914Z] Removing intermediate container 81ff50e0aaca [2024-05-16T09:47:04.914Z] ---> a9612bc89b8a [2024-05-16T09:47:04.914Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-05-16T09:47:04.914Z] ---> Running in 76c12acd33d6 [2024-05-16T09:47:04.914Z] Removing intermediate container 76c12acd33d6 [2024-05-16T09:47:04.914Z] ---> 09408e638305 [2024-05-16T09:47:04.914Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-05-16T09:47:04.914Z] ---> Running in b49c3258ec53 [2024-05-16T09:47:04.914Z] Removing intermediate container b49c3258ec53 [2024-05-16T09:47:04.914Z] ---> 4309a387e1b8 [2024-05-16T09:47:04.914Z] Step 21/23 : LABEL arch=amd64 [2024-05-16T09:47:04.914Z] ---> Running in de4a287f071e [2024-05-16T09:47:05.172Z] Removing intermediate container de4a287f071e [2024-05-16T09:47:05.172Z] ---> bf7eb6b32d8c [2024-05-16T09:47:05.172Z] Step 22/23 : LABEL git_sha=6ffd961e50bad5aafcddb961eadc768a2e323cba [2024-05-16T09:47:05.172Z] ---> Running in 96b1a1d97c78 [2024-05-16T09:47:05.172Z] Removing intermediate container 96b1a1d97c78 [2024-05-16T09:47:05.172Z] ---> 963d380862ec [2024-05-16T09:47:05.172Z] Step 23/23 : LABEL version=3.2.0-dev.12 [2024-05-16T09:47:05.172Z] ---> Running in 75cdffb70937 [2024-05-16T09:47:05.172Z] Removing intermediate container 75cdffb70937 [2024-05-16T09:47:05.172Z] ---> f8a265f25842 [2024-05-16T09:47:05.172Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-16T09:47:05.172Z] Successfully built f8a265f25842 [2024-05-16T09:47:05.172Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-16T09:47:05.298Z] provisioning config files... [2024-05-16T09:47:05.308Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13248144264130734831tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T09:47:05.621Z] ---> ****-login.sh [2024-05-16T09:47:05.621Z] nexus3.edgexfoundry.org:10001 [2024-05-16T09:47:05.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:47:05.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:47:05.621Z] Configure a credential helper to remove this warning. See [2024-05-16T09:47:05.621Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:47:05.621Z] [2024-05-16T09:47:05.621Z] Login Succeeded [2024-05-16T09:47:05.621Z] nexus3.edgexfoundry.org:10002 [2024-05-16T09:47:05.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:47:05.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:47:05.621Z] Configure a credential helper to remove this warning. See [2024-05-16T09:47:05.621Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:47:05.621Z] [2024-05-16T09:47:05.621Z] Login Succeeded [2024-05-16T09:47:05.621Z] nexus3.edgexfoundry.org:10003 [2024-05-16T09:47:05.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:47:05.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:47:05.879Z] Configure a credential helper to remove this warning. See [2024-05-16T09:47:05.879Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:47:05.879Z] [2024-05-16T09:47:05.879Z] Login Succeeded [2024-05-16T09:47:05.879Z] nexus3.edgexfoundry.org:10004 [2024-05-16T09:47:05.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:47:05.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:47:05.879Z] Configure a credential helper to remove this warning. See [2024-05-16T09:47:05.879Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:47:05.879Z] [2024-05-16T09:47:05.879Z] Login Succeeded [2024-05-16T09:47:05.879Z] ****.io [2024-05-16T09:47:05.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:47:06.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:47:06.137Z] Configure a credential helper to remove this warning. See [2024-05-16T09:47:06.138Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:47:06.138Z] [2024-05-16T09:47:06.138Z] Login Succeeded [2024-05-16T09:47:06.138Z] ---> ****-login.sh ends [Pipeline] } [2024-05-16T09:47:06.144Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-16T09:47:06.200Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T09:47:06.236Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2024-05-16T09:47:06.237Z] 6ffd961e50bad5aafcddb961eadc768a2e323cba [2024-05-16T09:47:06.237Z] latest [2024-05-16T09:47:06.237Z] 3.2.0-dev.12 [2024-05-16T09:47:06.237Z] 6ffd961e50bad5aafcddb961eadc768a2e323cba-3.2.0-dev.12 [2024-05-16T09:47:06.237Z] main [2024-05-16T09:47:06.237Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:47:06.590Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:6ffd961e50bad5aafcddb961eadc768a2e323cba [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:47:06.915Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:6ffd961e50bad5aafcddb961eadc768a2e323cba [2024-05-16T09:47:06.916Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2024-05-16T09:47:06.916Z] a0a3449e1e60: Preparing [2024-05-16T09:47:06.916Z] 5109d9586f9c: Preparing [2024-05-16T09:47:06.916Z] 36015c3ca292: Preparing [2024-05-16T09:47:06.916Z] bfade2d6e1c6: Preparing [2024-05-16T09:47:06.916Z] 6fe1a726c3ee: Preparing [2024-05-16T09:47:06.916Z] aedc3bda2944: Preparing [2024-05-16T09:47:06.916Z] aedc3bda2944: Waiting [2024-05-16T09:47:06.916Z] 6fe1a726c3ee: Pushed [2024-05-16T09:47:06.916Z] aedc3bda2944: Layer already exists [2024-05-16T09:47:06.916Z] 5109d9586f9c: Pushed [2024-05-16T09:47:06.916Z] a0a3449e1e60: Pushed [2024-05-16T09:47:07.482Z] bfade2d6e1c6: Pushed [2024-05-16T09:47:10.018Z] 36015c3ca292: Pushed [2024-05-16T09:47:10.018Z] 6ffd961e50bad5aafcddb961eadc768a2e323cba: digest: sha256:c885ba154957d3661ac5d4c7dcdf67cd8352f144dff5779f2048904c1ced595d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:47:10.342Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:47:10.661Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2024-05-16T09:47:10.661Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2024-05-16T09:47:10.661Z] a0a3449e1e60: Preparing [2024-05-16T09:47:10.661Z] 5109d9586f9c: Preparing [2024-05-16T09:47:10.661Z] 36015c3ca292: Preparing [2024-05-16T09:47:10.661Z] bfade2d6e1c6: Preparing [2024-05-16T09:47:10.661Z] 6fe1a726c3ee: Preparing [2024-05-16T09:47:10.661Z] aedc3bda2944: Preparing [2024-05-16T09:47:10.661Z] aedc3bda2944: Waiting [2024-05-16T09:47:10.661Z] a0a3449e1e60: Layer already exists [2024-05-16T09:47:10.661Z] bfade2d6e1c6: Layer already exists [2024-05-16T09:47:10.661Z] 36015c3ca292: Layer already exists [2024-05-16T09:47:10.661Z] 5109d9586f9c: Layer already exists [2024-05-16T09:47:10.661Z] 6fe1a726c3ee: Layer already exists [2024-05-16T09:47:10.661Z] aedc3bda2944: Layer already exists [2024-05-16T09:47:10.661Z] latest: digest: sha256:c885ba154957d3661ac5d4c7dcdf67cd8352f144dff5779f2048904c1ced595d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:47:10.987Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:47:11.318Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.12 [2024-05-16T09:47:11.319Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2024-05-16T09:47:11.319Z] a0a3449e1e60: Preparing [2024-05-16T09:47:11.319Z] 5109d9586f9c: Preparing [2024-05-16T09:47:11.319Z] 36015c3ca292: Preparing [2024-05-16T09:47:11.319Z] bfade2d6e1c6: Preparing [2024-05-16T09:47:11.319Z] 6fe1a726c3ee: Preparing [2024-05-16T09:47:11.319Z] aedc3bda2944: Preparing [2024-05-16T09:47:11.319Z] aedc3bda2944: Waiting [2024-05-16T09:47:11.319Z] 36015c3ca292: Layer already exists [2024-05-16T09:47:11.319Z] a0a3449e1e60: Layer already exists [2024-05-16T09:47:11.319Z] 5109d9586f9c: Layer already exists [2024-05-16T09:47:11.319Z] 6fe1a726c3ee: Layer already exists [2024-05-16T09:47:11.319Z] aedc3bda2944: Layer already exists [2024-05-16T09:47:11.319Z] bfade2d6e1c6: Layer already exists [2024-05-16T09:47:11.319Z] 3.2.0-dev.12: digest: sha256:c885ba154957d3661ac5d4c7dcdf67cd8352f144dff5779f2048904c1ced595d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:47:11.649Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:6ffd961e50bad5aafcddb961eadc768a2e323cba-3.2.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:47:11.973Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:6ffd961e50bad5aafcddb961eadc768a2e323cba-3.2.0-dev.12 [2024-05-16T09:47:11.973Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2024-05-16T09:47:11.973Z] a0a3449e1e60: Preparing [2024-05-16T09:47:11.973Z] 5109d9586f9c: Preparing [2024-05-16T09:47:11.973Z] 36015c3ca292: Preparing [2024-05-16T09:47:11.973Z] bfade2d6e1c6: Preparing [2024-05-16T09:47:11.973Z] 6fe1a726c3ee: Preparing [2024-05-16T09:47:11.973Z] aedc3bda2944: Preparing [2024-05-16T09:47:11.973Z] aedc3bda2944: Waiting [2024-05-16T09:47:11.973Z] 5109d9586f9c: Layer already exists [2024-05-16T09:47:11.973Z] 6fe1a726c3ee: Layer already exists [2024-05-16T09:47:11.973Z] a0a3449e1e60: Layer already exists [2024-05-16T09:47:11.973Z] bfade2d6e1c6: Layer already exists [2024-05-16T09:47:11.973Z] 36015c3ca292: Layer already exists [2024-05-16T09:47:11.973Z] aedc3bda2944: Layer already exists [2024-05-16T09:47:11.973Z] 6ffd961e50bad5aafcddb961eadc768a2e323cba-3.2.0-dev.12: digest: sha256:c885ba154957d3661ac5d4c7dcdf67cd8352f144dff5779f2048904c1ced595d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:47:12.173Z] d6de4b400683: Pull complete [2024-05-16T09:47:12.173Z] 35cb2a7552d0: Pull complete [2024-05-16T09:47:12.173Z] 4f4fb700ef54: Pull complete [2024-05-16T09:47:12.302Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:47:12.441Z] 464afbd9ba4c: Pull complete [2024-05-16T09:47:12.633Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2024-05-16T09:47:12.633Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2024-05-16T09:47:12.633Z] a0a3449e1e60: Preparing [2024-05-16T09:47:12.633Z] 5109d9586f9c: Preparing [2024-05-16T09:47:12.633Z] 36015c3ca292: Preparing [2024-05-16T09:47:12.633Z] bfade2d6e1c6: Preparing [2024-05-16T09:47:12.633Z] 6fe1a726c3ee: Preparing [2024-05-16T09:47:12.633Z] aedc3bda2944: Preparing [2024-05-16T09:47:12.633Z] aedc3bda2944: Waiting [2024-05-16T09:47:12.633Z] bfade2d6e1c6: Layer already exists [2024-05-16T09:47:12.633Z] 5109d9586f9c: Layer already exists [2024-05-16T09:47:12.633Z] a0a3449e1e60: Layer already exists [2024-05-16T09:47:12.633Z] 6fe1a726c3ee: Layer already exists [2024-05-16T09:47:12.633Z] 36015c3ca292: Layer already exists [2024-05-16T09:47:12.633Z] aedc3bda2944: Layer already exists [2024-05-16T09:47:12.633Z] main: digest: sha256:c885ba154957d3661ac5d4c7dcdf67cd8352f144dff5779f2048904c1ced595d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-16T09:47:12.715Z] ===================================================== [Pipeline] echo [2024-05-16T09:47:12.729Z] taggedImages: [2024-05-16T09:47:12.729Z] - nexus3.edgexfoundry.org:10004/device-modbus:6ffd961e50bad5aafcddb961eadc768a2e323cba [2024-05-16T09:47:12.729Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2024-05-16T09:47:12.729Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.12 [2024-05-16T09:47:12.729Z] - nexus3.edgexfoundry.org:10004/device-modbus:6ffd961e50bad5aafcddb961eadc768a2e323cba-3.2.0-dev.12 [2024-05-16T09:47:12.729Z] - 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-05-16T09:47:13.144Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-16T09:47:13.144Z] [2024-05-16T09:47:13.144Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:47:13.508Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-16T09:47:13.508Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-16T09:47:13.508Z] 5eb5b503b376: Pulling fs layer [2024-05-16T09:47:13.508Z] 5c69ac0246d0: Pulling fs layer [2024-05-16T09:47:13.508Z] ec43610c2a17: Pulling fs layer [2024-05-16T09:47:13.508Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-16T09:47:13.508Z] 33b1e0a273af: Pulling fs layer [2024-05-16T09:47:13.508Z] 5d3b04190fa2: Pulling fs layer [2024-05-16T09:47:13.508Z] 2f39f015ded8: Pulling fs layer [2024-05-16T09:47:13.508Z] 33b1e0a273af: Waiting [2024-05-16T09:47:13.508Z] 5d3b04190fa2: Waiting [2024-05-16T09:47:13.508Z] 3a2ae6a8a46f: Waiting [2024-05-16T09:47:13.508Z] 2f39f015ded8: Waiting [2024-05-16T09:47:13.508Z] 5c69ac0246d0: Download complete [2024-05-16T09:47:13.508Z] 3a2ae6a8a46f: Verifying Checksum [2024-05-16T09:47:13.508Z] 3a2ae6a8a46f: Download complete [2024-05-16T09:47:13.508Z] 33b1e0a273af: Verifying Checksum [2024-05-16T09:47:13.508Z] 33b1e0a273af: Download complete [2024-05-16T09:47:13.508Z] 5d3b04190fa2: Verifying Checksum [2024-05-16T09:47:13.508Z] 5d3b04190fa2: Download complete [2024-05-16T09:47:13.508Z] ec43610c2a17: Verifying Checksum [2024-05-16T09:47:13.508Z] ec43610c2a17: Download complete [2024-05-16T09:47:13.765Z] 5eb5b503b376: Verifying Checksum [2024-05-16T09:47:13.766Z] 5eb5b503b376: Download complete [2024-05-16T09:47:15.141Z] 5eb5b503b376: Pull complete [2024-05-16T09:47:15.141Z] 5c69ac0246d0: Pull complete [2024-05-16T09:47:15.708Z] ec43610c2a17: Pull complete [2024-05-16T09:47:15.708Z] 3a2ae6a8a46f: Pull complete [2024-05-16T09:47:15.967Z] 33b1e0a273af: Pull complete [2024-05-16T09:47:15.967Z] 5d3b04190fa2: Pull complete [2024-05-16T09:47:21.229Z] 2f39f015ded8: Pull complete [2024-05-16T09:47:21.230Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-16T09:47:21.230Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-16T09:47:21.230Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T09:47:21.335Z] prd-ubuntu20.04-docker-8c-8g-270 does not seem to be running inside a container [2024-05-16T09:47:21.365Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-16T09:47:22.609Z] 00f215d4a9da: Pull complete [2024-05-16T09:47:23.579Z] d496ad576159: Pull complete [2024-05-16T09:47:23.580Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-05-16T09:47:23.580Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-05-16T09:47:23.580Z] ---> f246e2811388 [2024-05-16T09:47:23.580Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-05-16T09:47:25.535Z] ---> Running in 04a5ae99fb3d [2024-05-16T09:47:25.804Z] Removing intermediate container 04a5ae99fb3d [2024-05-16T09:47:25.804Z] ---> 757ec7d1e6d4 [2024-05-16T09:47:25.804Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-16T09:47:25.804Z] ---> Running in 4f245cd1e23d [2024-05-16T09:47:26.075Z] Removing intermediate container 4f245cd1e23d [2024-05-16T09:47:26.075Z] ---> 11980b0c6fef [2024-05-16T09:47:26.075Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-05-16T09:47:26.075Z] ---> Running in 8514cbd16c7e [2024-05-16T09:47:26.184Z] $ docker top 1175c4f163b47a27a8422fb8ce6579a74e72ae4a66e52be84384021ca836b8c4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T09:47:26.579Z] ---> job-cost.sh [2024-05-16T09:47:26.579Z] lf-activate-venv: SKIPPING [2024-05-16T09:47:26.579Z] INFO: No Stack... [2024-05-16T09:47:26.839Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-16T09:47:27.098Z] INFO: Archiving Costs [Pipeline] sh [2024-05-16T09:47:27.384Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2024-05-16T09:47:27.384Z] + cut -d, -f6 [Pipeline] lock [2024-05-16T09:47:27.398Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-151-stack-cost] [2024-05-16T09:47:27.406Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-151-stack-cost] did not exist. Created. [2024-05-16T09:47:27.412Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-151-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-16T09:47:27.496Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-16T09:47:27.726Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-16T09:47:27.760Z] Stashed 1 file(s) [Pipeline] } [2024-05-16T09:47:27.768Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-151-stack-cost] [2024-05-16T09:47:27.772Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [Pipeline] // lock [Pipeline] } [2024-05-16T09:47:27.791Z] $ docker stop --time=1 1175c4f163b47a27a8422fb8ce6579a74e72ae4a66e52be84384021ca836b8c4 [2024-05-16T09:47:28.745Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-05-16T09:47:28.745Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-05-16T09:47:28.745Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-05-16T09:47:28.948Z] $ docker rm -f --volumes 1175c4f163b47a27a8422fb8ce6579a74e72ae4a66e52be84384021ca836b8c4 [Pipeline] // withDockerContainer [2024-05-16T09:47:29.013Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-05-16T09:47:29.287Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-05-16T09:47:29.288Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-05-16T09:47:29.288Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-05-16T09:47:29.288Z] (8/8) Installing openssh (9.3_p2-r1) [2024-05-16T09:47:29.288Z] Executing busybox-1.36.1-r5.trigger [2024-05-16T09:47:29.288Z] OK: 272 MiB in 60 packages [2024-05-16T09:47:30.702Z] Removing intermediate container 8514cbd16c7e [2024-05-16T09:47:30.702Z] ---> c84ddaaec735 [2024-05-16T09:47:30.702Z] Step 6/10 : WORKDIR /device-modbus-go [2024-05-16T09:47:30.702Z] ---> Running in e3a6865e39e3 [2024-05-16T09:47:30.702Z] Removing intermediate container e3a6865e39e3 [2024-05-16T09:47:30.702Z] ---> 63d922da04ad [2024-05-16T09:47:30.702Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-16T09:47:31.292Z] ---> 05ecb210a243 [2024-05-16T09:47:31.292Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-16T09:47:31.292Z] ---> Running in 9220fa5cf1b9 [2024-05-16T09:49:38.029Z] Removing intermediate container 9220fa5cf1b9 [2024-05-16T09:49:38.029Z] ---> f4f6983f93b5 [2024-05-16T09:49:38.029Z] Step 9/10 : COPY . . [2024-05-16T09:49:38.029Z] ---> 9277ccc8a816 [2024-05-16T09:49:38.029Z] Step 10/10 : RUN ${MAKE} [2024-05-16T09:49:38.029Z] ---> Running in 943bf7836709 [2024-05-16T09:49:38.029Z] noop [2024-05-16T09:49:38.029Z] Removing intermediate container 943bf7836709 [2024-05-16T09:49:38.029Z] ---> 594fe0f24308 [2024-05-16T09:49:38.029Z] Successfully built 594fe0f24308 [2024-05-16T09:49:38.029Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:49:38.400Z] + docker inspect -f . ci-base-image-arm64 [2024-05-16T09:49:38.400Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T09:49:38.623Z] prd-ubuntu20.04-docker-arm64-4c-16g-272 does not seem to be running inside a container [2024-05-16T09:49:38.694Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/151 -v /w/workspace/device-modbus-go/151:/w/workspace/device-modbus-go/151:rw,z -v /w/workspace/device-modbus-go/151@tmp:/w/workspace/device-modbus-go/151@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-05-16T09:49:39.953Z] $ docker top 710c50dc255fd767cbaa6ad4314a776d8ff70f8ce6cc13a4507f7d3989ab86ed -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T09:49:40.797Z] + go version [2024-05-16T09:49:40.797Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-16T09:49:40.814Z] $ docker stop --time=1 710c50dc255fd767cbaa6ad4314a776d8ff70f8ce6cc13a4507f7d3989ab86ed [2024-05-16T09:49:42.414Z] $ docker rm -f --volumes 710c50dc255fd767cbaa6ad4314a776d8ff70f8ce6cc13a4507f7d3989ab86ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:49:42.996Z] + docker inspect -f . ci-base-image-arm64 [2024-05-16T09:49:42.996Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T09:49:43.187Z] prd-ubuntu20.04-docker-arm64-4c-16g-272 does not seem to be running inside a container [2024-05-16T09:49:43.247Z] $ 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/151 -v /w/workspace/device-modbus-go/151:/w/workspace/device-modbus-go/151:rw,z -v /w/workspace/device-modbus-go/151@tmp:/w/workspace/device-modbus-go/151@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-05-16T09:49:44.346Z] $ docker top 5ea2bc92ba74c48fe262a8a882fb38bd1587a203169dfc3b9e7fc0ce8a03d149 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T09:49:44.854Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/151 [Pipeline] fileExists [Pipeline] sh [2024-05-16T09:49:45.451Z] + make test [2024-05-16T09:49:45.451Z] go test ./... -coverprofile=coverage.out [2024-05-16T09:49:52.090Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-05-16T09:53:13.893Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-05-16T09:53:14.159Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.083s coverage: 47.9% of statements [2024-05-16T09:53:15.566Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-16T09:53:15.566Z] go vet ./... [2024-05-16T09:54:02.392Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-16T09:54:02.392Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-16T09:54:02.392Z] ./bin/test-attribution-txt.sh [2024-05-16T09:54:02.392Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-16T09:54:02.392Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-16T09:54:02.412Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-16T09:54:02.425Z] $ docker stop --time=1 5ea2bc92ba74c48fe262a8a882fb38bd1587a203169dfc3b9e7fc0ce8a03d149 [2024-05-16T09:54:04.452Z] $ docker rm -f --volumes 5ea2bc92ba74c48fe262a8a882fb38bd1587a203169dfc3b9e7fc0ce8a03d149 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-16T09:54:06.148Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-16T09:54:06.178Z] Warning: overwriting stash ‘coverage-report’ [2024-05-16T09:54:06.688Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-16T09:54:07.107Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-16T09:54:07.434Z] + ls -al . [2024-05-16T09:54:07.434Z] total 260 [2024-05-16T09:54:07.434Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 09:49 . [2024-05-16T09:54:07.435Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 09:46 .. [2024-05-16T09:54:07.435Z] -rw-rw-r-- 1 jenkins jenkins 140 May 16 09:46 .dockerignore [2024-05-16T09:54:07.435Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 09:46 .git [2024-05-16T09:54:07.435Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:46 .github [2024-05-16T09:54:07.435Z] -rw-rw-r-- 1 jenkins jenkins 266 May 16 09:46 .gitignore [2024-05-16T09:54:07.435Z] -rw-rw-r-- 1 jenkins jenkins 41 May 16 09:46 .golangci.yml [2024-05-16T09:54:07.435Z] -rw-rw-r-- 1 jenkins jenkins 11101 May 16 09:46 Attribution.txt [2024-05-16T09:54:07.435Z] -rw-rw-r-- 1 jenkins jenkins 16388 May 16 09:46 CHANGELOG.md [2024-05-16T09:54:07.435Z] -rw-rw-r-- 1 jenkins jenkins 1474 May 16 09:46 Dockerfile [2024-05-16T09:54:07.435Z] -rw-rw-r-- 1 jenkins jenkins 677 May 16 09:46 GOVERNANCE.md [2024-05-16T09:54:07.435Z] -rw-rw-r-- 1 jenkins jenkins 658 May 16 09:46 Jenkinsfile [2024-05-16T09:54:07.435Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 16 09:46 LICENSE [2024-05-16T09:54:07.435Z] -rw-rw-r-- 1 jenkins jenkins 1942 May 16 09:46 Makefile [2024-05-16T09:54:07.435Z] -rw-rw-r-- 1 jenkins jenkins 622 May 16 09:46 OWNERS.md [2024-05-16T09:54:07.435Z] -rw-rw-r-- 1 jenkins jenkins 4463 May 16 09:46 README.md [2024-05-16T09:54:07.435Z] -rw-rw-r-- 1 jenkins jenkins 12 May 16 09:44 VERSION [2024-05-16T09:54:07.435Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 09:46 bin [2024-05-16T09:54:07.435Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:46 cmd [2024-05-16T09:54:07.435Z] -rw-r--r-- 1 jenkins jenkins 24601 May 16 09:53 coverage.out [2024-05-16T09:54:07.435Z] -rw-rw-r-- 1 jenkins jenkins 7289 May 16 09:46 go.mod [2024-05-16T09:54:07.435Z] -rw-rw-r-- 1 jenkins jenkins 101859 May 16 09:46 go.sum [2024-05-16T09:54:07.435Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:46 internal [2024-05-16T09:54:07.435Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 09:46 simulator [2024-05-16T09:54:07.435Z] -rw-rw-r-- 1 jenkins jenkins 229 May 16 09:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:54:07.814Z] + 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=6ffd961e50bad5aafcddb961eadc768a2e323cba --label arch=arm64 --label version=3.2.0-dev.12 . [2024-05-16T09:54:08.083Z] Sending build context to Docker daemon 10.61MB [2024-05-16T09:54:08.354Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-05-16T09:54:08.354Z] Step 2/23 : FROM ${BASE} AS builder [2024-05-16T09:54:08.354Z] ---> 594fe0f24308 [2024-05-16T09:54:08.354Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-05-16T09:54:08.354Z] ---> Running in 36de9c21a26c [2024-05-16T09:54:08.625Z] Removing intermediate container 36de9c21a26c [2024-05-16T09:54:08.625Z] ---> 33b57b305030 [2024-05-16T09:54:08.625Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-16T09:54:08.893Z] ---> Running in d7b959636b3a [2024-05-16T09:54:09.161Z] Removing intermediate container d7b959636b3a [2024-05-16T09:54:09.161Z] ---> 47c02064e97d [2024-05-16T09:54:09.161Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-05-16T09:54:09.161Z] ---> Running in 9fd15ca985c2 [2024-05-16T09:54:10.122Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-16T09:54:10.703Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-16T09:54:11.662Z] OK: 272 MiB in 60 packages [2024-05-16T09:54:12.628Z] Removing intermediate container 9fd15ca985c2 [2024-05-16T09:54:12.628Z] ---> 3ad81fa9909f [2024-05-16T09:54:12.628Z] Step 6/23 : WORKDIR /device-modbus-go [2024-05-16T09:54:12.628Z] ---> Running in e273825bb839 [2024-05-16T09:54:12.896Z] Removing intermediate container e273825bb839 [2024-05-16T09:54:12.896Z] ---> 5f1ec7584c64 [2024-05-16T09:54:12.896Z] Step 7/23 : COPY go.mod vendor* ./ [2024-05-16T09:54:13.481Z] ---> 8fb00330d975 [2024-05-16T09:54:13.481Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-16T09:54:13.750Z] ---> Running in ed6163dd08e0 [2024-05-16T09:54:16.342Z] Removing intermediate container ed6163dd08e0 [2024-05-16T09:54:16.342Z] ---> f3928b6436a6 [2024-05-16T09:54:16.342Z] Step 9/23 : COPY . . [2024-05-16T09:54:17.304Z] ---> 07d6482d9266 [2024-05-16T09:54:17.304Z] Step 10/23 : RUN ${MAKE} [2024-05-16T09:54:17.304Z] ---> Running in a14fac63b7c3 [2024-05-16T09:54:18.271Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.13" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-05-16T09:57:55.073Z] Removing intermediate container a14fac63b7c3 [2024-05-16T09:57:55.073Z] ---> ffbacf70bed8 [2024-05-16T09:57:55.073Z] Step 11/23 : FROM alpine:3.18 [2024-05-16T09:57:55.073Z] 3.18: Pulling from library/alpine [2024-05-16T09:57:55.073Z] c6b39de5b339: Already exists [2024-05-16T09:57:55.073Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-16T09:57:55.073Z] Status: Downloaded newer image for alpine:3.18 [2024-05-16T09:57:55.073Z] ---> 33abbf032149 [2024-05-16T09:57:55.073Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-05-16T09:57:55.073Z] ---> Running in a901fc133fdf [2024-05-16T09:57:55.073Z] Removing intermediate container a901fc133fdf [2024-05-16T09:57:55.073Z] ---> 0b0913c6d0fd [2024-05-16T09:57:55.073Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-05-16T09:57:55.073Z] ---> Running in 2888bce556e4 [2024-05-16T09:57:55.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-16T09:57:55.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-16T09:57:55.073Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-16T09:57:55.073Z] Executing busybox-1.36.1-r5.trigger [2024-05-16T09:57:55.073Z] OK: 8 MiB in 16 packages [2024-05-16T09:57:55.073Z] Removing intermediate container 2888bce556e4 [2024-05-16T09:57:55.073Z] ---> a6b06100ca0d [2024-05-16T09:57:55.073Z] Step 14/23 : RUN apk --no-cache upgrade [2024-05-16T09:57:55.073Z] ---> Running in 81f060c06b04 [2024-05-16T09:57:55.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-16T09:57:55.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-16T09:57:55.073Z] Upgrading critical system libraries and apk-tools: [2024-05-16T09:57:55.073Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-16T09:57:55.073Z] Executing busybox-1.36.1-r5.trigger [2024-05-16T09:57:55.073Z] Continuing the upgrade transaction with new apk-tools: [2024-05-16T09:57:55.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-16T09:57:55.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-16T09:57:55.654Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-16T09:57:55.654Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-16T09:57:55.654Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-16T09:57:55.654Z] OK: 8 MiB in 16 packages [2024-05-16T09:57:56.614Z] Removing intermediate container 81f060c06b04 [2024-05-16T09:57:56.614Z] ---> 7e6761ebd690 [2024-05-16T09:57:56.614Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-05-16T09:57:58.556Z] ---> aee77975f487 [2024-05-16T09:57:58.556Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-05-16T09:57:59.140Z] ---> ecd4cda8473a [2024-05-16T09:57:59.140Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-05-16T09:57:59.722Z] ---> be5e8b76a70a [2024-05-16T09:57:59.722Z] Step 18/23 : EXPOSE 59901 [2024-05-16T09:57:59.987Z] ---> Running in c3cb4ff1e2f2 [2024-05-16T09:58:00.253Z] Removing intermediate container c3cb4ff1e2f2 [2024-05-16T09:58:00.253Z] ---> 7452a98f8353 [2024-05-16T09:58:00.253Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-05-16T09:58:00.253Z] ---> Running in af647a15792b [2024-05-16T09:58:00.520Z] Removing intermediate container af647a15792b [2024-05-16T09:58:00.520Z] ---> 468241e50acd [2024-05-16T09:58:00.520Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-05-16T09:58:00.520Z] ---> Running in 189cb053e13d [2024-05-16T09:58:00.800Z] Removing intermediate container 189cb053e13d [2024-05-16T09:58:00.800Z] ---> 2bab0b0e0233 [2024-05-16T09:58:00.800Z] Step 21/23 : LABEL arch=arm64 [2024-05-16T09:58:00.800Z] ---> Running in feb9c4555676 [2024-05-16T09:58:01.067Z] Removing intermediate container feb9c4555676 [2024-05-16T09:58:01.067Z] ---> 9613ac2fed88 [2024-05-16T09:58:01.067Z] Step 22/23 : LABEL git_sha=6ffd961e50bad5aafcddb961eadc768a2e323cba [2024-05-16T09:58:01.333Z] ---> Running in 86ca55b2a6ce [2024-05-16T09:58:01.600Z] Removing intermediate container 86ca55b2a6ce [2024-05-16T09:58:01.600Z] ---> e784f064031d [2024-05-16T09:58:01.600Z] Step 23/23 : LABEL version=3.2.0-dev.12 [2024-05-16T09:58:01.600Z] ---> Running in a6e59d1c1f85 [2024-05-16T09:58:01.870Z] Removing intermediate container a6e59d1c1f85 [2024-05-16T09:58:01.870Z] ---> 10b68cc482a9 [2024-05-16T09:58:01.870Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-16T09:58:01.870Z] Successfully built 10b68cc482a9 [2024-05-16T09:58:01.870Z] 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-05-16T09:58:02.013Z] provisioning config files... [2024-05-16T09:58:02.028Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/151@tmp/config2536728009389411452tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T09:58:02.369Z] ---> ****-login.sh [2024-05-16T09:58:02.369Z] nexus3.edgexfoundry.org:10001 [2024-05-16T09:58:02.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:58:02.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:58:02.636Z] Configure a credential helper to remove this warning. See [2024-05-16T09:58:02.636Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:58:02.636Z] [2024-05-16T09:58:02.636Z] Login Succeeded [2024-05-16T09:58:02.636Z] nexus3.edgexfoundry.org:10002 [2024-05-16T09:58:02.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:58:02.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:58:02.904Z] Configure a credential helper to remove this warning. See [2024-05-16T09:58:02.904Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:58:02.904Z] [2024-05-16T09:58:02.904Z] Login Succeeded [2024-05-16T09:58:02.904Z] nexus3.edgexfoundry.org:10003 [2024-05-16T09:58:03.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:58:03.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:58:03.172Z] Configure a credential helper to remove this warning. See [2024-05-16T09:58:03.172Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:58:03.172Z] [2024-05-16T09:58:03.172Z] Login Succeeded [2024-05-16T09:58:03.172Z] nexus3.edgexfoundry.org:10004 [2024-05-16T09:58:03.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:58:03.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:58:03.704Z] Configure a credential helper to remove this warning. See [2024-05-16T09:58:03.704Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:58:03.704Z] [2024-05-16T09:58:03.704Z] Login Succeeded [2024-05-16T09:58:03.704Z] ****.io [2024-05-16T09:58:03.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:58:03.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:58:03.970Z] Configure a credential helper to remove this warning. See [2024-05-16T09:58:03.970Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:58:03.970Z] [2024-05-16T09:58:03.970Z] Login Succeeded [2024-05-16T09:58:03.970Z] ---> ****-login.sh ends [Pipeline] } [2024-05-16T09:58:03.983Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-16T09:58:04.030Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T09:58:04.056Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2024-05-16T09:58:04.056Z] 6ffd961e50bad5aafcddb961eadc768a2e323cba [2024-05-16T09:58:04.056Z] latest [2024-05-16T09:58:04.056Z] 3.2.0-dev.12 [2024-05-16T09:58:04.056Z] 6ffd961e50bad5aafcddb961eadc768a2e323cba-3.2.0-dev.12 [2024-05-16T09:58:04.056Z] main [2024-05-16T09:58:04.056Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:58:04.417Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:6ffd961e50bad5aafcddb961eadc768a2e323cba [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:58:04.763Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:6ffd961e50bad5aafcddb961eadc768a2e323cba [2024-05-16T09:58:04.763Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2024-05-16T09:58:04.763Z] d965b683ad4f: Preparing [2024-05-16T09:58:04.763Z] 6a07ed6a0adc: Preparing [2024-05-16T09:58:04.763Z] 1b85e4eb6d88: Preparing [2024-05-16T09:58:04.763Z] 8ea2e9e21ecc: Preparing [2024-05-16T09:58:04.763Z] 622bc59446e8: Preparing [2024-05-16T09:58:04.763Z] 7c504f21be85: Preparing [2024-05-16T09:58:04.763Z] 7c504f21be85: Waiting [2024-05-16T09:58:05.028Z] 6a07ed6a0adc: Pushed [2024-05-16T09:58:05.028Z] d965b683ad4f: Pushed [2024-05-16T09:58:05.028Z] 622bc59446e8: Pushed [2024-05-16T09:58:05.028Z] 7c504f21be85: Layer already exists [2024-05-16T09:58:06.428Z] 8ea2e9e21ecc: Pushed [2024-05-16T09:58:11.769Z] 1b85e4eb6d88: Pushed [2024-05-16T09:58:11.769Z] 6ffd961e50bad5aafcddb961eadc768a2e323cba: digest: sha256:698668f82ab0fdaba0a25fd3c29e9dfa1f6adb63fee284ae6ebe249aa4107e9a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:58:12.130Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:58:12.484Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2024-05-16T09:58:12.484Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2024-05-16T09:58:12.484Z] d965b683ad4f: Preparing [2024-05-16T09:58:12.484Z] 6a07ed6a0adc: Preparing [2024-05-16T09:58:12.484Z] 1b85e4eb6d88: Preparing [2024-05-16T09:58:12.484Z] 8ea2e9e21ecc: Preparing [2024-05-16T09:58:12.484Z] 622bc59446e8: Preparing [2024-05-16T09:58:12.484Z] 7c504f21be85: Preparing [2024-05-16T09:58:12.484Z] 7c504f21be85: Waiting [2024-05-16T09:58:12.484Z] 6a07ed6a0adc: Layer already exists [2024-05-16T09:58:12.484Z] d965b683ad4f: Layer already exists [2024-05-16T09:58:12.484Z] 622bc59446e8: Layer already exists [2024-05-16T09:58:12.484Z] 1b85e4eb6d88: Layer already exists [2024-05-16T09:58:12.484Z] 8ea2e9e21ecc: Layer already exists [2024-05-16T09:58:12.484Z] 7c504f21be85: Layer already exists [2024-05-16T09:58:12.751Z] latest: digest: sha256:698668f82ab0fdaba0a25fd3c29e9dfa1f6adb63fee284ae6ebe249aa4107e9a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:58:13.113Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:58:13.466Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.12 [2024-05-16T09:58:13.466Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2024-05-16T09:58:13.466Z] d965b683ad4f: Preparing [2024-05-16T09:58:13.466Z] 6a07ed6a0adc: Preparing [2024-05-16T09:58:13.466Z] 1b85e4eb6d88: Preparing [2024-05-16T09:58:13.466Z] 8ea2e9e21ecc: Preparing [2024-05-16T09:58:13.466Z] 622bc59446e8: Preparing [2024-05-16T09:58:13.466Z] 7c504f21be85: Preparing [2024-05-16T09:58:13.466Z] 7c504f21be85: Waiting [2024-05-16T09:58:13.466Z] d965b683ad4f: Layer already exists [2024-05-16T09:58:13.466Z] 1b85e4eb6d88: Layer already exists [2024-05-16T09:58:13.466Z] 8ea2e9e21ecc: Layer already exists [2024-05-16T09:58:13.466Z] 6a07ed6a0adc: Layer already exists [2024-05-16T09:58:13.466Z] 622bc59446e8: Layer already exists [2024-05-16T09:58:13.466Z] 7c504f21be85: Layer already exists [2024-05-16T09:58:13.730Z] 3.2.0-dev.12: digest: sha256:698668f82ab0fdaba0a25fd3c29e9dfa1f6adb63fee284ae6ebe249aa4107e9a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:58:14.077Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:6ffd961e50bad5aafcddb961eadc768a2e323cba-3.2.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:58:14.432Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:6ffd961e50bad5aafcddb961eadc768a2e323cba-3.2.0-dev.12 [2024-05-16T09:58:14.432Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2024-05-16T09:58:14.432Z] d965b683ad4f: Preparing [2024-05-16T09:58:14.432Z] 6a07ed6a0adc: Preparing [2024-05-16T09:58:14.432Z] 1b85e4eb6d88: Preparing [2024-05-16T09:58:14.432Z] 8ea2e9e21ecc: Preparing [2024-05-16T09:58:14.432Z] 622bc59446e8: Preparing [2024-05-16T09:58:14.432Z] 7c504f21be85: Preparing [2024-05-16T09:58:14.432Z] 7c504f21be85: Waiting [2024-05-16T09:58:14.432Z] 1b85e4eb6d88: Layer already exists [2024-05-16T09:58:14.432Z] d965b683ad4f: Layer already exists [2024-05-16T09:58:14.432Z] 6a07ed6a0adc: Layer already exists [2024-05-16T09:58:14.432Z] 622bc59446e8: Layer already exists [2024-05-16T09:58:14.432Z] 8ea2e9e21ecc: Layer already exists [2024-05-16T09:58:14.432Z] 7c504f21be85: Layer already exists [2024-05-16T09:58:14.432Z] 6ffd961e50bad5aafcddb961eadc768a2e323cba-3.2.0-dev.12: digest: sha256:698668f82ab0fdaba0a25fd3c29e9dfa1f6adb63fee284ae6ebe249aa4107e9a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:58:14.783Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:58:15.140Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2024-05-16T09:58:15.140Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2024-05-16T09:58:15.140Z] d965b683ad4f: Preparing [2024-05-16T09:58:15.140Z] 6a07ed6a0adc: Preparing [2024-05-16T09:58:15.140Z] 1b85e4eb6d88: Preparing [2024-05-16T09:58:15.140Z] 8ea2e9e21ecc: Preparing [2024-05-16T09:58:15.140Z] 622bc59446e8: Preparing [2024-05-16T09:58:15.140Z] 7c504f21be85: Preparing [2024-05-16T09:58:15.140Z] 7c504f21be85: Waiting [2024-05-16T09:58:15.140Z] 6a07ed6a0adc: Layer already exists [2024-05-16T09:58:15.140Z] 622bc59446e8: Layer already exists [2024-05-16T09:58:15.140Z] 8ea2e9e21ecc: Layer already exists [2024-05-16T09:58:15.140Z] d965b683ad4f: Layer already exists [2024-05-16T09:58:15.140Z] 1b85e4eb6d88: Layer already exists [2024-05-16T09:58:15.140Z] 7c504f21be85: Layer already exists [2024-05-16T09:58:15.140Z] main: digest: sha256:698668f82ab0fdaba0a25fd3c29e9dfa1f6adb63fee284ae6ebe249aa4107e9a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-16T09:58:15.223Z] ===================================================== [Pipeline] echo [2024-05-16T09:58:15.237Z] taggedImages: [2024-05-16T09:58:15.237Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:6ffd961e50bad5aafcddb961eadc768a2e323cba [2024-05-16T09:58:15.237Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2024-05-16T09:58:15.237Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.12 [2024-05-16T09:58:15.237Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:6ffd961e50bad5aafcddb961eadc768a2e323cba-3.2.0-dev.12 [2024-05-16T09:58:15.237Z] - 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-05-16T09:58:15.611Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-16T09:58:15.611Z] [2024-05-16T09:58:15.611Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:58:15.951Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-16T09:58:15.951Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-16T09:58:15.951Z] 8998bd30e6a1: Pulling fs layer [2024-05-16T09:58:15.951Z] 04944245beec: Pulling fs layer [2024-05-16T09:58:15.951Z] 699f458cf7ca: Pulling fs layer [2024-05-16T09:58:15.951Z] 765212b225bb: Pulling fs layer [2024-05-16T09:58:15.951Z] f23df028b6ca: Pulling fs layer [2024-05-16T09:58:15.951Z] d65c8cfc05b1: Pulling fs layer [2024-05-16T09:58:15.951Z] 2437ff75d9bd: Pulling fs layer [2024-05-16T09:58:15.951Z] f23df028b6ca: Waiting [2024-05-16T09:58:15.951Z] d65c8cfc05b1: Waiting [2024-05-16T09:58:15.951Z] 2437ff75d9bd: Waiting [2024-05-16T09:58:15.951Z] 765212b225bb: Waiting [2024-05-16T09:58:16.222Z] 04944245beec: Verifying Checksum [2024-05-16T09:58:16.222Z] 04944245beec: Download complete [2024-05-16T09:58:16.222Z] 765212b225bb: Verifying Checksum [2024-05-16T09:58:16.222Z] 765212b225bb: Download complete [2024-05-16T09:58:16.222Z] f23df028b6ca: Verifying Checksum [2024-05-16T09:58:16.222Z] f23df028b6ca: Download complete [2024-05-16T09:58:16.222Z] d65c8cfc05b1: Download complete [2024-05-16T09:58:16.490Z] 699f458cf7ca: Verifying Checksum [2024-05-16T09:58:16.490Z] 699f458cf7ca: Download complete [2024-05-16T09:58:16.758Z] 8998bd30e6a1: Verifying Checksum [2024-05-16T09:58:16.758Z] 8998bd30e6a1: Download complete [2024-05-16T09:58:19.347Z] 2437ff75d9bd: Verifying Checksum [2024-05-16T09:58:19.347Z] 2437ff75d9bd: Download complete [2024-05-16T09:58:21.364Z] 8998bd30e6a1: Pull complete [2024-05-16T09:58:21.954Z] 04944245beec: Pull complete [2024-05-16T09:58:23.386Z] 699f458cf7ca: Pull complete [2024-05-16T09:58:23.658Z] 765212b225bb: Pull complete [2024-05-16T09:58:24.636Z] f23df028b6ca: Pull complete [2024-05-16T09:58:24.636Z] d65c8cfc05b1: Pull complete [2024-05-16T09:58:39.634Z] 2437ff75d9bd: Pull complete [2024-05-16T09:58:39.634Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-16T09:58:39.634Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-16T09:58:39.634Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T09:58:39.831Z] prd-ubuntu20.04-docker-arm64-4c-16g-272 does not seem to be running inside a container [2024-05-16T09:58:39.891Z] $ 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/151 -v /w/workspace/device-modbus-go/151:/w/workspace/device-modbus-go/151:rw,z -v /w/workspace/device-modbus-go/151@tmp:/w/workspace/device-modbus-go/151@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-05-16T09:58:42.509Z] $ docker top 1e6d27bd4a369a05c90d55a510114fa09092a1313c13018f5bb98c244239ae21 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T09:58:43.354Z] ---> job-cost.sh [2024-05-16T09:58:43.354Z] lf-activate-venv: SKIPPING [2024-05-16T09:58:43.354Z] INFO: No Stack... [2024-05-16T09:58:43.618Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-16T09:58:44.575Z] INFO: Archiving Costs [Pipeline] sh [2024-05-16T09:58:45.206Z] + cat /w/workspace/device-modbus-go/151/archives/cost.csv [2024-05-16T09:58:45.206Z] + cut -d, -f6 [Pipeline] lock [2024-05-16T09:58:45.266Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-151-stack-cost] [2024-05-16T09:58:45.274Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-151-stack-cost] did not exist. Created. [2024-05-16T09:58:45.280Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-151-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-16T09:58:45.948Z] /w/workspace/device-modbus-go/151@tmp/durable-966eeb49/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-16T09:58:46.591Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-16T09:58:46.616Z] Warning: overwriting stash ‘stack-cost’ [2024-05-16T09:58:46.663Z] Stashed 1 file(s) [Pipeline] } [2024-05-16T09:58:46.676Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-151-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-16T09:58:46.699Z] $ docker stop --time=1 1e6d27bd4a369a05c90d55a510114fa09092a1313c13018f5bb98c244239ae21 [2024-05-16T09:58:48.225Z] $ docker rm -f --volumes 1e6d27bd4a369a05c90d55a510114fa09092a1313c13018f5bb98c244239ae21 [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-05-16T09:58:48.747Z] provisioning config files... [2024-05-16T09:58:48.753Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11803346891464486449tmp [Pipeline] { [Pipeline] sh [2024-05-16T09:58:49.054Z] + set +x [2024-05-16T09:58:49.054Z] + + curl -s https://codecov.io/bash [2024-05-16T09:58:49.054Z] bash -s -- [2024-05-16T09:58:49.054Z] [2024-05-16T09:58:49.054Z] _____ _ [2024-05-16T09:58:49.054Z] / ____| | | [2024-05-16T09:58:49.054Z] | | ___ __| | ___ ___ _____ __ [2024-05-16T09:58:49.054Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-16T09:58:49.054Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-16T09:58:49.054Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-16T09:58:49.054Z] Bash-1.0.6 [2024-05-16T09:58:49.054Z] [2024-05-16T09:58:49.054Z] [2024-05-16T09:58:49.054Z] ==> git version 2.25.1 found [2024-05-16T09:58:49.054Z] ==> 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-05-16T09:58:49.054Z] Release-Date: 2020-01-08 [2024-05-16T09:58:49.054Z] 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-05-16T09:58:49.054Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-16T09:58:49.054Z] ==> Jenkins CI detected. [2024-05-16T09:58:49.054Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2024-05-16T09:58:49.054Z] project root: . [2024-05-16T09:58:49.054Z] --> token set from env [2024-05-16T09:58:49.054Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-05-16T09:58:49.054Z] ==> Running gcov in . (disable via -X gcov) [2024-05-16T09:58:49.054Z] ==> Python coveragepy not found [2024-05-16T09:58:49.054Z] ==> Searching for coverage reports in: [2024-05-16T09:58:49.054Z] + . [2024-05-16T09:58:49.313Z] -> Found 1 reports [2024-05-16T09:58:49.313Z] ==> Detecting git/mercurial file structure [2024-05-16T09:58:49.313Z] ==> Reading reports [2024-05-16T09:58:49.313Z] + ./coverage.out bytes=24601 [2024-05-16T09:58:49.313Z] ==> Appending adjustments [2024-05-16T09:58:49.313Z] https://docs.codecov.io/docs/fixing-reports [2024-05-16T09:58:49.313Z] + Found adjustments [2024-05-16T09:58:49.313Z] ==> Gzipping contents [2024-05-16T09:58:49.313Z] 4.0K /tmp/codecov.2YIjuF.gz [2024-05-16T09:58:49.313Z] ==> Uploading reports [2024-05-16T09:58:49.313Z] url: https://codecov.io [2024-05-16T09:58:49.313Z] query: branch=main&commit=6ffd961e50bad5aafcddb961eadc768a2e323cba&build=151&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F151%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-05-16T09:58:49.313Z] -> Pinging Codecov [2024-05-16T09:58:49.313Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=6ffd961e50bad5aafcddb961eadc768a2e323cba&build=151&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F151%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-05-16T09:58:49.572Z] -> Uploading to [2024-05-16T09:58:49.572Z] https://storage.googleapis.com/codecov/v4/raw/2024-05-16/55DBCA73C666E3227836607328DD7E49/6ffd961e50bad5aafcddb961eadc768a2e323cba/1c50d94c-ac21-486a-bcfe-5ce27e691219.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20240516%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240516T095849Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3c7e839c85077e408f56cd7168d73b1f7cfc85fc0ab469dcfa21854cca46a4b5 [2024-05-16T09:58:49.572Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-16T09:58:49.572Z] Dload Upload Total Spent Left Speed [2024-05-16T09:58:49.830Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 16215 --:--:-- --:--:-- --:--:-- 16215 [2024-05-16T09:58:49.830Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/6ffd961e50bad5aafcddb961eadc768a2e323cba [Pipeline] } [2024-05-16T09:58:49.837Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-05-16T09:58:50.067Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-05-16T09:58:50.087Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:58:50.393Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2024-05-16T09:58:50.393Z] [2024-05-16T09:58:50.393Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:58:50.694Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2024-05-16T09:58:50.695Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2024-05-16T09:58:50.695Z] df9b9388f04a: Pulling fs layer [2024-05-16T09:58:50.695Z] 52dc419b0ee2: Pulling fs layer [2024-05-16T09:58:50.695Z] 25bc292e5bac: Pulling fs layer [2024-05-16T09:58:50.695Z] 114826534d7a: Pulling fs layer [2024-05-16T09:58:50.695Z] 4657fd5d0bcf: Pulling fs layer [2024-05-16T09:58:50.695Z] 6ad1cebc031e: Pulling fs layer [2024-05-16T09:58:50.695Z] 8a3aa393b2d8: Pulling fs layer [2024-05-16T09:58:50.695Z] 4657fd5d0bcf: Waiting [2024-05-16T09:58:50.695Z] 6ad1cebc031e: Waiting [2024-05-16T09:58:50.695Z] 8a3aa393b2d8: Waiting [2024-05-16T09:58:50.695Z] 114826534d7a: Waiting [2024-05-16T09:58:50.695Z] 25bc292e5bac: Verifying Checksum [2024-05-16T09:58:50.695Z] 25bc292e5bac: Download complete [2024-05-16T09:58:50.695Z] 52dc419b0ee2: Verifying Checksum [2024-05-16T09:58:50.695Z] 52dc419b0ee2: Download complete [2024-05-16T09:58:50.695Z] 4657fd5d0bcf: Download complete [2024-05-16T09:58:50.695Z] df9b9388f04a: Download complete [2024-05-16T09:58:50.953Z] df9b9388f04a: Pull complete [2024-05-16T09:58:50.953Z] 6ad1cebc031e: Verifying Checksum [2024-05-16T09:58:50.953Z] 6ad1cebc031e: Download complete [2024-05-16T09:58:50.953Z] 52dc419b0ee2: Pull complete [2024-05-16T09:58:50.953Z] 25bc292e5bac: Pull complete [2024-05-16T09:58:51.519Z] 114826534d7a: Download complete [2024-05-16T09:58:51.519Z] 8a3aa393b2d8: Verifying Checksum [2024-05-16T09:58:51.519Z] 8a3aa393b2d8: Download complete [2024-05-16T09:58:54.798Z] 114826534d7a: Pull complete [2024-05-16T09:58:54.798Z] 4657fd5d0bcf: Pull complete [2024-05-16T09:58:55.364Z] 6ad1cebc031e: Pull complete [2024-05-16T09:58:57.891Z] 8a3aa393b2d8: Pull complete [2024-05-16T09:58:57.891Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2024-05-16T09:58:57.891Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2024-05-16T09:58:57.891Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T09:58:57.995Z] prd-ubuntu20.04-docker-8c-8g-270 does not seem to be running inside a container [2024-05-16T09:58:58.053Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2024-05-16T09:59:03.265Z] $ docker top 593244ff93c3304a690da139edfc2ee11d6e95282da3eee279193053ebf1703c -eo pid,comm [Pipeline] { [Pipeline] echo [2024-05-16T09:59:03.351Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2024-05-16T09:59:03.667Z] + set -o pipefail [2024-05-16T09:59:03.667Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2024-05-16T09:59:10.287Z] [2024-05-16T09:59:10.287Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2024-05-16T09:59:10.287Z] [2024-05-16T09:59:10.287Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/68716b01-ff85-46e0-bf43-fb386b566e5c [2024-05-16T09:59:10.287Z] [2024-05-16T09:59:10.287Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2024-05-16T09:59:10.287Z] [2024-05-16T09:59:10.287Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2024-05-16T09:59:10.287Z] [2024-05-16T09:59:10.287Z] [2024-05-16T09:59:10.287Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2024-05-16T09:59:10.287Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2024-05-16T09:59:10.287Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2024-05-16T09:59:10.290Z] $ docker stop --time=1 593244ff93c3304a690da139edfc2ee11d6e95282da3eee279193053ebf1703c [2024-05-16T09:59:14.800Z] $ docker rm -f --volumes 593244ff93c3304a690da139edfc2ee11d6e95282da3eee279193053ebf1703c [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-05-16T09:59:15.761Z] + git log --format=format:%s -1 6ffd961e50bad5aafcddb961eadc768a2e323cba [Pipeline] sh [2024-05-16T09:59:16.051Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-16T09:59:16.051Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:59:16.359Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-16T09:59:16.359Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T09:59:16.444Z] prd-ubuntu20.04-docker-8c-8g-270 does not seem to be running inside a container [2024-05-16T09:59:16.463Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-16T09:59:16.872Z] $ docker top 6dfc3ca246a0ef22190ec22f9d58ca77d149474076d38fe4b2312542a9d978f7 -eo pid,comm [2024-05-16T09:59:16.927Z] 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-05-16T09:59:16.927Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-16T09:59:16.982Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-16T09:59:16.982Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-16T09:59:17.080Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-16T09:59:17.075Z] $ docker exec 6dfc3ca246a0ef22190ec22f9d58ca77d149474076d38fe4b2312542a9d978f7 ssh-agent [2024-05-16T09:59:17.189Z] SSH_AUTH_SOCK=/tmp/ssh-xNXkxNXbJfbl/agent.32 [2024-05-16T09:59:17.189Z] SSH_AGENT_PID=38 [2024-05-16T09:59:17.193Z] Running ssh-add (command line suppressed) [2024-05-16T09:59:17.281Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11653983280198744116.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11653983280198744116.key) [2024-05-16T09:59:17.305Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-16T09:59:17.599Z] + git semver tag [2024-05-16T09:59:17.857Z] 2024-05-16 09:59:17,759 [run_tag] DEBUG tag force:False [2024-05-16T09:59:17.857Z] 2024-05-16 09:59:17,759 [check_head_tag] DEBUG check head tag [2024-05-16T09:59:17.857Z] 2024-05-16 09:59:17,760 [execute] INFO git cat-file --batch-check [2024-05-16T09:59:17.858Z] 2024-05-16 09:59:17,760 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2024-05-16T09:59:17.858Z] 2024-05-16 09:59:17,764 [execute] INFO git cat-file --batch [2024-05-16T09:59:17.858Z] 2024-05-16 09:59:17,764 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2024-05-16T09:59:17.858Z] 2024-05-16 09:59:17,783 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-05-16T09:59:17.858Z] 2024-05-16 09:59:17,784 [execute] INFO git tag -a v3.2.0-dev.12 -m v3.2.0-dev.12 [2024-05-16T09:59:17.858Z] 2024-05-16 09:59:17,784 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.12', '-m', 'v3.2.0-dev.12'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2024-05-16T09:59:17.858Z] 2024-05-16 09:59:17,789 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-05-16T09:59:17.858Z] 3.2.0-dev.12 [Pipeline] } [2024-05-16T09:59:17.858Z] $ docker exec --env ******** --env ******** 6dfc3ca246a0ef22190ec22f9d58ca77d149474076d38fe4b2312542a9d978f7 ssh-agent -k [2024-05-16T09:59:17.958Z] unset SSH_AUTH_SOCK; [2024-05-16T09:59:17.959Z] unset SSH_AGENT_PID; [2024-05-16T09:59:17.959Z] echo Agent pid 38 killed; [2024-05-16T09:59:17.979Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-16T09:59:18.306Z] + git semver [Pipeline] } [2024-05-16T09:59:18.567Z] $ docker stop --time=1 6dfc3ca246a0ef22190ec22f9d58ca77d149474076d38fe4b2312542a9d978f7 [2024-05-16T09:59:19.846Z] $ docker rm -f --volumes 6dfc3ca246a0ef22190ec22f9d58ca77d149474076d38fe4b2312542a9d978f7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:59:20.257Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-05-16T09:59:20.257Z] [2024-05-16T09:59:20.257Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:59:20.556Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-05-16T09:59:20.556Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-05-16T09:59:20.556Z] ab5ef0e58194: Pulling fs layer [2024-05-16T09:59:20.556Z] 9712f1f96733: Pulling fs layer [2024-05-16T09:59:20.556Z] 63f879dbbcfc: Pulling fs layer [2024-05-16T09:59:20.556Z] 0d9ebad4ef96: Pulling fs layer [2024-05-16T09:59:20.556Z] e9a5061849ea: Pulling fs layer [2024-05-16T09:59:20.556Z] d747dcd14b5f: Pulling fs layer [2024-05-16T09:59:20.556Z] 2de7ff778b66: Pulling fs layer [2024-05-16T09:59:20.556Z] d747dcd14b5f: Waiting [2024-05-16T09:59:20.556Z] 0d9ebad4ef96: Waiting [2024-05-16T09:59:20.556Z] e9a5061849ea: Waiting [2024-05-16T09:59:20.556Z] 2de7ff778b66: Waiting [2024-05-16T09:59:20.556Z] 9712f1f96733: Download complete [2024-05-16T09:59:20.814Z] 63f879dbbcfc: Verifying Checksum [2024-05-16T09:59:20.814Z] 63f879dbbcfc: Download complete [2024-05-16T09:59:21.072Z] e9a5061849ea: Verifying Checksum [2024-05-16T09:59:21.072Z] e9a5061849ea: Download complete [2024-05-16T09:59:21.072Z] d747dcd14b5f: Verifying Checksum [2024-05-16T09:59:21.072Z] d747dcd14b5f: Download complete [2024-05-16T09:59:21.072Z] ab5ef0e58194: Download complete [2024-05-16T09:59:21.072Z] 2de7ff778b66: Verifying Checksum [2024-05-16T09:59:21.072Z] 2de7ff778b66: Download complete [2024-05-16T09:59:21.072Z] 0d9ebad4ef96: Verifying Checksum [2024-05-16T09:59:23.600Z] ab5ef0e58194: Pull complete [2024-05-16T09:59:23.600Z] 9712f1f96733: Pull complete [2024-05-16T09:59:24.166Z] 63f879dbbcfc: Pull complete [2024-05-16T09:59:27.446Z] 0d9ebad4ef96: Pull complete [2024-05-16T09:59:27.704Z] e9a5061849ea: Pull complete [2024-05-16T09:59:27.704Z] d747dcd14b5f: Pull complete [2024-05-16T09:59:28.637Z] 2de7ff778b66: Pull complete [2024-05-16T09:59:28.637Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-05-16T09:59:28.637Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-05-16T09:59:28.637Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T09:59:28.733Z] prd-ubuntu20.04-docker-8c-8g-270 does not seem to be running inside a container [2024-05-16T09:59:28.752Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2024-05-16T09:59:35.033Z] $ docker top 237e2ebd3d28c2076d9a8a9f46460e9ee7f822e98f1699d7dc2d986cd651ed0a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-05-16T09:59:35.121Z] provisioning config files... [2024-05-16T09:59:35.129Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config462164933206628723tmp [2024-05-16T09:59:35.138Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10958154950790880330tmp [2024-05-16T09:59:35.146Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13316355418655453575tmp [Pipeline] { [Pipeline] echo [2024-05-16T09:59:35.182Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T09:59:35.472Z] ---> sigul-configuration.sh [2024-05-16T09:59:35.472Z] gpg: directory `/root/.gnupg' created [2024-05-16T09:59:35.472Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-05-16T09:59:35.472Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-05-16T09:59:35.472Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-05-16T09:59:35.472Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-05-16T09:59:35.472Z] gpg: CAST5 encrypted data [2024-05-16T09:59:35.472Z] gpg: encrypted with 1 passphrase [2024-05-16T09:59:35.472Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-05-16T09:59:35.770Z] + mkdir /home/jenkins [2024-05-16T09:59:35.770Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-05-16T09:59:36.067Z] + 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-05-16T09:59:36.083Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T09:59:36.377Z] ---> sigul-install.sh [2024-05-16T09:59:36.377Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-05-16T09:59:36.673Z] + git tag --list [2024-05-16T09:59:36.673Z] 0.7.1 [2024-05-16T09:59:36.673Z] v1.0.0 [2024-05-16T09:59:36.673Z] v1.1.0 [2024-05-16T09:59:36.673Z] v1.1.1 [2024-05-16T09:59:36.673Z] v1.2.2 [2024-05-16T09:59:36.673Z] v1.3.0 [2024-05-16T09:59:36.673Z] v1.3.1 [2024-05-16T09:59:36.673Z] v2.0.0 [2024-05-16T09:59:36.673Z] v2.1.0 [2024-05-16T09:59:36.673Z] v2.1.1 [2024-05-16T09:59:36.673Z] v2.2.0 [2024-05-16T09:59:36.673Z] v2.3.0 [2024-05-16T09:59:36.673Z] v3.0 [2024-05-16T09:59:36.673Z] v3.0.0 [2024-05-16T09:59:36.673Z] v3.1 [2024-05-16T09:59:36.673Z] v3.1.0 [2024-05-16T09:59:36.673Z] v3.1.0-dev.1 [2024-05-16T09:59:36.673Z] v3.1.0-dev.10 [2024-05-16T09:59:36.673Z] v3.1.0-dev.11 [2024-05-16T09:59:36.673Z] v3.1.0-dev.12 [2024-05-16T09:59:36.673Z] v3.1.0-dev.13 [2024-05-16T09:59:36.673Z] v3.1.0-dev.14 [2024-05-16T09:59:36.673Z] v3.1.0-dev.15 [2024-05-16T09:59:36.673Z] v3.1.0-dev.16 [2024-05-16T09:59:36.673Z] v3.1.0-dev.17 [2024-05-16T09:59:36.673Z] v3.1.0-dev.18 [2024-05-16T09:59:36.673Z] v3.1.0-dev.19 [2024-05-16T09:59:36.673Z] v3.1.0-dev.2 [2024-05-16T09:59:36.673Z] v3.1.0-dev.20 [2024-05-16T09:59:36.673Z] v3.1.0-dev.21 [2024-05-16T09:59:36.673Z] v3.1.0-dev.22 [2024-05-16T09:59:36.673Z] v3.1.0-dev.23 [2024-05-16T09:59:36.673Z] v3.1.0-dev.24 [2024-05-16T09:59:36.673Z] v3.1.0-dev.25 [2024-05-16T09:59:36.673Z] v3.1.0-dev.3 [2024-05-16T09:59:36.673Z] v3.1.0-dev.4 [2024-05-16T09:59:36.673Z] v3.1.0-dev.5 [2024-05-16T09:59:36.673Z] v3.1.0-dev.6 [2024-05-16T09:59:36.673Z] v3.1.0-dev.7 [2024-05-16T09:59:36.673Z] v3.1.0-dev.8 [2024-05-16T09:59:36.673Z] v3.1.0-dev.9 [2024-05-16T09:59:36.673Z] v3.1.1 [2024-05-16T09:59:36.673Z] v3.1.1-dev.1 [2024-05-16T09:59:36.673Z] v3.2.0-dev.1 [2024-05-16T09:59:36.673Z] v3.2.0-dev.10 [2024-05-16T09:59:36.673Z] v3.2.0-dev.11 [2024-05-16T09:59:36.673Z] v3.2.0-dev.12 [2024-05-16T09:59:36.673Z] v3.2.0-dev.2 [2024-05-16T09:59:36.673Z] v3.2.0-dev.3 [2024-05-16T09:59:36.673Z] v3.2.0-dev.4 [2024-05-16T09:59:36.673Z] v3.2.0-dev.5 [2024-05-16T09:59:36.673Z] v3.2.0-dev.6 [2024-05-16T09:59:36.673Z] v3.2.0-dev.7 [2024-05-16T09:59:36.673Z] v3.2.0-dev.8 [2024-05-16T09:59:36.673Z] v3.2.0-dev.9 [Pipeline] sh [2024-05-16T09:59:36.974Z] + lftools sign git-tag v3.2.0-dev.12 [2024-05-16T09:59:37.542Z] Signing Git tag with Sigul... [2024-05-16T09:59:37.542Z] Signing v3.2.0-dev.12 [Pipeline] echo [2024-05-16T09:59:37.813Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T09:59:38.105Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-05-16T09:59:38.113Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-05-16T09:59:38.132Z] $ docker stop --time=1 237e2ebd3d28c2076d9a8a9f46460e9ee7f822e98f1699d7dc2d986cd651ed0a [2024-05-16T09:59:39.406Z] $ docker rm -f --volumes 237e2ebd3d28c2076d9a8a9f46460e9ee7f822e98f1699d7dc2d986cd651ed0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-05-16T09:59:39.868Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-16T09:59:39.868Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:59:40.168Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-16T09:59:40.168Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T09:59:40.251Z] prd-ubuntu20.04-docker-8c-8g-270 does not seem to be running inside a container [2024-05-16T09:59:40.273Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-16T09:59:40.599Z] $ docker top d65f63392c4b1b1ddfdc4394e69cd090775f2019c069ba537ed158e3e5ba72ac -eo pid,comm [2024-05-16T09:59:40.654Z] 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-05-16T09:59:40.654Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-16T09:59:40.705Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-16T09:59:40.705Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-16T09:59:40.815Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-16T09:59:40.809Z] $ docker exec d65f63392c4b1b1ddfdc4394e69cd090775f2019c069ba537ed158e3e5ba72ac ssh-agent [2024-05-16T09:59:40.927Z] SSH_AUTH_SOCK=/tmp/ssh-x8g9Noa51aa3/agent.32 [2024-05-16T09:59:40.927Z] SSH_AGENT_PID=38 [2024-05-16T09:59:40.931Z] Running ssh-add (command line suppressed) [2024-05-16T09:59:41.022Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12501824872258354109.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12501824872258354109.key) [2024-05-16T09:59:41.044Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-16T09:59:41.337Z] + git semver bump pre [2024-05-16T09:59:41.596Z] 2024-05-16 09:59:41,528 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-05-16T09:59:41.596Z] 2024-05-16 09:59:41,528 [bump_version] DEBUG bumping version:3.2.0-dev.12 on axis:pre with prefix:dev [2024-05-16T09:59:41.596Z] 2024-05-16 09:59:41,528 [bump_version] DEBUG bumped version:3.2.0-dev.13 [2024-05-16T09:59:41.596Z] 2024-05-16 09:59:41,528 [write_version] DEBUG write version:3.2.0-dev.13 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2024-05-16T09:59:41.596Z] 2024-05-16 09:59:41,529 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-05-16T09:59:41.596Z] 2024-05-16 09:59:41,529 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-05-16T09:59:41.596Z] 2024-05-16 09:59:41,530 [execute] INFO git cat-file --batch-check [2024-05-16T09:59:41.596Z] 2024-05-16 09:59:41,531 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-05-16T09:59:41.596Z] 2024-05-16 09:59:41,536 [execute] INFO git cat-file --batch [2024-05-16T09:59:41.596Z] 2024-05-16 09:59:41,536 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-05-16T09:59:41.596Z] 2024-05-16 09:59:41,541 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-05-16T09:59:41.596Z] 3.2.0-dev.13 [Pipeline] } [2024-05-16T09:59:41.596Z] $ docker exec --env ******** --env ******** d65f63392c4b1b1ddfdc4394e69cd090775f2019c069ba537ed158e3e5ba72ac ssh-agent -k [2024-05-16T09:59:41.692Z] unset SSH_AUTH_SOCK; [2024-05-16T09:59:41.692Z] unset SSH_AGENT_PID; [2024-05-16T09:59:41.692Z] echo Agent pid 38 killed; [2024-05-16T09:59:41.710Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-16T09:59:42.034Z] + git semver [Pipeline] } [2024-05-16T09:59:42.296Z] $ docker stop --time=1 d65f63392c4b1b1ddfdc4394e69cd090775f2019c069ba537ed158e3e5ba72ac [2024-05-16T09:59:43.566Z] $ docker rm -f --volumes d65f63392c4b1b1ddfdc4394e69cd090775f2019c069ba537ed158e3e5ba72ac [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-16T09:59:43.927Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-16T09:59:43.927Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:59:44.226Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-16T09:59:44.226Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T09:59:44.304Z] prd-ubuntu20.04-docker-8c-8g-270 does not seem to be running inside a container [2024-05-16T09:59:44.325Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-16T09:59:44.661Z] $ docker top 44909792c8673e1594763d063276535fcdc8c084688868d930493910647d605a -eo pid,comm [2024-05-16T09:59:44.716Z] 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-05-16T09:59:44.716Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-16T09:59:44.767Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-16T09:59:44.767Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-16T09:59:44.876Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-16T09:59:44.870Z] $ docker exec 44909792c8673e1594763d063276535fcdc8c084688868d930493910647d605a ssh-agent [2024-05-16T09:59:44.987Z] SSH_AUTH_SOCK=/tmp/ssh-eRAdcPe7rjYL/agent.31 [2024-05-16T09:59:44.987Z] SSH_AGENT_PID=37 [2024-05-16T09:59:44.991Z] Running ssh-add (command line suppressed) [2024-05-16T09:59:45.069Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9388483305895448795.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9388483305895448795.key) [2024-05-16T09:59:45.091Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-16T09:59:45.383Z] + git semver push [2024-05-16T09:59:45.642Z] 2024-05-16 09:59:45,571 [run_push] DEBUG push [2024-05-16T09:59:45.642Z] 2024-05-16 09:59:45,571 [execute] INFO git cat-file --batch-check [2024-05-16T09:59:45.642Z] 2024-05-16 09:59:45,571 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-05-16T09:59:45.642Z] 2024-05-16 09:59:45,575 [execute] INFO git rev-list d5d120c18c8ed691cf779045877131624fc2d100 -- [2024-05-16T09:59:45.642Z] 2024-05-16 09:59:45,576 [execute] DEBUG Popen(['git', 'rev-list', 'd5d120c18c8ed691cf779045877131624fc2d100', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-05-16T09:59:45.642Z] 2024-05-16 09:59:45,584 [execute] INFO git fetch -v origin [2024-05-16T09:59:45.642Z] 2024-05-16 09:59:45,585 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-05-16T09:59:46.209Z] 2024-05-16 09:59:46,036 [run_push] DEBUG no remote changes detected [2024-05-16T09:59:46.209Z] 2024-05-16 09:59:46,036 [execute] INFO git push origin semver [2024-05-16T09:59:46.209Z] 2024-05-16 09:59:46,037 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-05-16T09:59:47.147Z] 2024-05-16 09:59:46,780 [run_push] DEBUG push all version tags [2024-05-16T09:59:47.147Z] 2024-05-16 09:59:46,781 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-05-16T09:59:47.147Z] 2024-05-16 09:59:46,781 [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-05-16T09:59:47.714Z] 2024-05-16 09:59:47,497 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2024-05-16T09:59:47.714Z] 3.2.0-dev.13 [Pipeline] } [2024-05-16T09:59:47.714Z] $ docker exec --env ******** --env ******** 44909792c8673e1594763d063276535fcdc8c084688868d930493910647d605a ssh-agent -k [2024-05-16T09:59:47.818Z] unset SSH_AUTH_SOCK; [2024-05-16T09:59:47.818Z] unset SSH_AGENT_PID; [2024-05-16T09:59:47.818Z] echo Agent pid 37 killed; [2024-05-16T09:59:47.837Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-16T09:59:48.159Z] + git semver [Pipeline] } [2024-05-16T09:59:48.421Z] $ docker stop --time=1 44909792c8673e1594763d063276535fcdc8c084688868d930493910647d605a [2024-05-16T09:59:49.696Z] $ docker rm -f --volumes 44909792c8673e1594763d063276535fcdc8c084688868d930493910647d605a [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-05-16T09:59:50.362Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2024-05-16T09:59:50.362Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2024-05-16T09:59:50.362Z] total 16 [2024-05-16T09:59:50.362Z] drwxr-xr-x 3 root root 4096 May 16 09:47 . [2024-05-16T09:59:50.362Z] drwxrwxr-x 10 jenkins jenkins 4096 May 16 09:59 .. [2024-05-16T09:59:50.362Z] drwxr-xr-x 2 root root 4096 May 16 09:47 cost [2024-05-16T09:59:50.362Z] -rw-r--r-- 1 root root 88 May 16 09:47 cost.csv [2024-05-16T09:59:50.362Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2024-05-16T09:59:50.362Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2024-05-16T09:59:50.362Z] total 16 [2024-05-16T09:59:50.362Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 09:47 . [2024-05-16T09:59:50.362Z] drwxrwxr-x 10 jenkins jenkins 4096 May 16 09:59 .. [2024-05-16T09:59:50.362Z] drwxr-xr-x 2 jenkins jenkins 4096 May 16 09:47 cost [2024-05-16T09:59:50.362Z] -rw-r--r-- 1 jenkins jenkins 88 May 16 09:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-16T09:59:50.653Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T09:59:51.510Z] ---> package-listing.sh [2024-05-16T09:59:51.510Z] ++ facter osfamily [2024-05-16T09:59:51.510Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-16T09:59:51.769Z] + OS_FAMILY=debian [2024-05-16T09:59:51.769Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2024-05-16T09:59:51.769Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-16T09:59:51.769Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-16T09:59:51.769Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-16T09:59:51.769Z] + PACKAGES=/tmp/packages_start.txt [2024-05-16T09:59:51.769Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2024-05-16T09:59:51.769Z] + PACKAGES=/tmp/packages_end.txt [2024-05-16T09:59:51.769Z] + case "${OS_FAMILY}" in [2024-05-16T09:59:51.769Z] + dpkg -l [2024-05-16T09:59:51.769Z] + grep '^ii' [2024-05-16T09:59:51.769Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-16T09:59:51.769Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-16T09:59:51.769Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-16T09:59:51.769Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2024-05-16T09:59:51.769Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2024-05-16T09:59:51.769Z] + 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-05-16T09:59:51.780Z] 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-05-16T09:59:52.057Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:59:52.618Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-16T09:59:52.618Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T09:59:52.700Z] prd-ubuntu20.04-docker-8c-8g-270 does not seem to be running inside a container [2024-05-16T09:59:52.720Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-16T09:59:52.909Z] $ docker top b37d4de2fa370e1e1d681550f4cacd4e2d8be354650126367dc6540b32238679 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T09:59:53.260Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-16T09:59:53.541Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-16T09:59:53.827Z] + ls /var/log/sa-host [2024-05-16T09:59:53.827Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-16T09:59:53.997Z] provisioning config files... [2024-05-16T09:59:54.005Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1699994753705943552tmp [Pipeline] { [Pipeline] echo [2024-05-16T09:59:54.024Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T09:59:54.308Z] ---> create-netrc.sh [Pipeline] } [2024-05-16T09:59:54.315Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-16T09:59:54.662Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-16T09:59:54.670Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T09:59:54.950Z] ---> sudo-logs.sh [2024-05-16T09:59:54.950Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-16T09:59:54.984Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T09:59:55.266Z] ---> job-cost.sh [2024-05-16T09:59:55.266Z] lf-activate-venv: SKIPPING [2024-05-16T09:59:55.266Z] DEBUG: total: 0.2199999988079071 [2024-05-16T09:59:55.266Z] INFO: Retrieving Stack Cost... [2024-05-16T09:59:55.833Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-16T09:59:56.092Z] INFO: Archiving Costs [Pipeline] echo [2024-05-16T09:59:56.102Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T09:59:56.386Z] ---> logs-deploy.sh [2024-05-16T09:59:56.386Z] lf-activate-venv: SKIPPING [2024-05-16T09:59:56.386Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/151 [2024-05-16T09:59:56.386Z] INFO: archiving workspace using pattern(s): [2024-05-16T09:59:57.321Z] Archives upload complete. [2024-05-16T09:59:57.321Z] INFO: archiving logs to Nexus