Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b7c00ecea16ee3fe559c969829072d5131dcac71 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-ssh4762392685704546854.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh901694135063606290.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh4799669825199321979.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh7426033885533835914.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-ssh10215976890258601535.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, buildSnap:false] ========================================================= [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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-17218 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b7c00ecea16ee3fe559c969829072d5131dcac71 (main) Commit message: "Merge pull request #488 from jumpingliu/update-readme" > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b7c00ecea16ee3fe559c969829072d5131dcac71 # timeout=10 > git rev-list --no-walk 4043164b7337e1db1bede6ff26841e4d6947650d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-30T00:14:45.935Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-30T00:14:45.999Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-30T00:14:46.020Z] ========================================================= [2023-05-30T00:14:46.020Z] EdgeX Global Pipelines Version Info [2023-05-30T00:14:46.020Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:14:46.745Z] ------------------- [2023-05-30T00:14:46.745Z] stable info: [2023-05-30T00:14:46.745Z] ------------------- [2023-05-30T00:14:46.745Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-30T00:14:46.745Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-30T00:14:46.745Z] Message: update stable to v1.0.249 [2023-05-30T00:14:47.315Z] ------------------- [2023-05-30T00:14:47.315Z] experimental info: [2023-05-30T00:14:47.315Z] ------------------- [2023-05-30T00:14:47.315Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-30T00:14:47.315Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-30T00:14:47.315Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-30T00:14:47.487Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-05-30T00:14:47.498Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-05-30T00:14:47.513Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-30T00:14:47.530Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-30T00:14:47.547Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-30T00:14:47.557Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-30T00:14:47.566Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-30T00:14:47.575Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-30T00:14:47.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-30T00:14:47.607Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-30T00:14:47.622Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-30T00:14:47.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-05-30T00:14:47.649Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-30T00:14:47.660Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-30T00:14:47.673Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-30T00:14:47.689Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-30T00:14:47.701Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-30T00:14:47.716Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-30T00:14:47.727Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-30T00:14:47.742Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-30T00:14:47.755Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-30T00:14:47.766Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-30T00:14:47.775Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-30T00:14:47.784Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-30T00:14:47.793Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-30T00:14:47.802Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-30T00:14:47.816Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-30T00:14:47.830Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-30T00:14:47.841Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-30T00:14:47.855Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-30T00:14:47.870Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b7c00ecea16ee3fe559c969829072d5131dcac71 [Pipeline] echo [2023-05-30T00:14:47.881Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b7c00ec [Pipeline] echo [2023-05-30T00:14:47.900Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-30T00:14:47.955Z] provisioning config files... [2023-05-30T00:14:47.967Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13635224056997174087tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:14:48.271Z] ---> docker-login.sh [2023-05-30T00:14:48.271Z] nexus3.edgexfoundry.org:10001 [2023-05-30T00:14:48.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:14:48.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:14:48.535Z] Configure a credential helper to remove this warning. See [2023-05-30T00:14:48.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:14:48.535Z] [2023-05-30T00:14:48.535Z] Login Succeeded [2023-05-30T00:14:48.535Z] nexus3.edgexfoundry.org:10002 [2023-05-30T00:14:48.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:14:48.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:14:48.535Z] Configure a credential helper to remove this warning. See [2023-05-30T00:14:48.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:14:48.535Z] [2023-05-30T00:14:48.535Z] Login Succeeded [2023-05-30T00:14:48.535Z] nexus3.edgexfoundry.org:10003 [2023-05-30T00:14:48.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:14:48.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:14:48.796Z] Configure a credential helper to remove this warning. See [2023-05-30T00:14:48.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:14:48.796Z] [2023-05-30T00:14:48.796Z] Login Succeeded [2023-05-30T00:14:48.796Z] nexus3.edgexfoundry.org:10004 [2023-05-30T00:14:48.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:14:48.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:14:48.796Z] Configure a credential helper to remove this warning. See [2023-05-30T00:14:48.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:14:48.796Z] [2023-05-30T00:14:48.796Z] Login Succeeded [2023-05-30T00:14:48.796Z] docker.io [2023-05-30T00:14:49.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:14:49.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:14:49.056Z] Configure a credential helper to remove this warning. See [2023-05-30T00:14:49.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:14:49.056Z] [2023-05-30T00:14:49.056Z] Login Succeeded [2023-05-30T00:14:49.317Z] ---> docker-login.sh ends [Pipeline] } [2023-05-30T00:14:49.326Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-30T00:14:49.682Z] + git rev-list -1 --merges b7c00ecea16ee3fe559c969829072d5131dcac71~1..b7c00ecea16ee3fe559c969829072d5131dcac71 [Pipeline] echo [2023-05-30T00:14:49.759Z] -----------> git rev-list -1 --merges b7c00ecea16ee3fe559c969829072d5131dcac71~1..b7c00ecea16ee3fe559c969829072d5131dcac71 b7c00ecea16ee3fe559c969829072d5131dcac71 [2023-05-30T00:14:49.759Z] b7c00ecea16ee3fe559c969829072d5131dcac71 [false] [Pipeline] sh [2023-05-30T00:14:50.046Z] + git log --format=format:%s -1 b7c00ecea16ee3fe559c969829072d5131dcac71 [Pipeline] echo [2023-05-30T00:14:50.068Z] ========================================================= [2023-05-30T00:14:50.068Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-30T00:14:50.068Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-30T00:14:50.387Z] + git log --format=format:%s -1 b7c00ecea16ee3fe559c969829072d5131dcac71 [Pipeline] echo [2023-05-30T00:14:50.398Z] [semverPrep] GIT_COMMIT: b7c00ecea16ee3fe559c969829072d5131dcac71, Commit Message: Merge pull request #488 from jumpingliu/update-readme [Pipeline] echo [2023-05-30T00:14:50.407Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-30T00:14:50.822Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-30T00:14:50.822Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-30T00:14:50.822Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-30T00:14:50.822Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-30T00:14:50.822Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-30T00:14:50.822Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-30T00:14:50.822Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:14:51.250Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-30T00:14:51.250Z] [2023-05-30T00:14:51.250Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:14:51.550Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-30T00:14:51.550Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-30T00:14:51.550Z] b85a868b505f: Pulling fs layer [2023-05-30T00:14:51.550Z] e2be974225ed: Pulling fs layer [2023-05-30T00:14:51.550Z] 339a4e72a1f5: Pulling fs layer [2023-05-30T00:14:51.550Z] 988bab9f4d93: Pulling fs layer [2023-05-30T00:14:51.550Z] 1469e6f7b9e6: Pulling fs layer [2023-05-30T00:14:51.550Z] eaf3925da568: Pulling fs layer [2023-05-30T00:14:51.550Z] bab4dde63d76: Pulling fs layer [2023-05-30T00:14:51.550Z] bde34c3a00c8: Pulling fs layer [2023-05-30T00:14:51.550Z] b352a97aabf1: Pulling fs layer [2023-05-30T00:14:51.550Z] 4872d77fe225: Pulling fs layer [2023-05-30T00:14:51.550Z] 5851b861e8e6: Pulling fs layer [2023-05-30T00:14:51.550Z] bde34c3a00c8: Waiting [2023-05-30T00:14:51.550Z] b352a97aabf1: Waiting [2023-05-30T00:14:51.550Z] bab4dde63d76: Waiting [2023-05-30T00:14:51.550Z] eaf3925da568: Waiting [2023-05-30T00:14:51.550Z] 4872d77fe225: Waiting [2023-05-30T00:14:51.550Z] 988bab9f4d93: Waiting [2023-05-30T00:14:51.550Z] 5851b861e8e6: Waiting [2023-05-30T00:14:51.550Z] 1469e6f7b9e6: Waiting [2023-05-30T00:14:51.550Z] e2be974225ed: Download complete [2023-05-30T00:14:51.550Z] 988bab9f4d93: Verifying Checksum [2023-05-30T00:14:51.550Z] 988bab9f4d93: Download complete [2023-05-30T00:14:51.550Z] 1469e6f7b9e6: Verifying Checksum [2023-05-30T00:14:51.550Z] 1469e6f7b9e6: Download complete [2023-05-30T00:14:51.550Z] eaf3925da568: Verifying Checksum [2023-05-30T00:14:51.550Z] 339a4e72a1f5: Verifying Checksum [2023-05-30T00:14:51.550Z] 339a4e72a1f5: Download complete [2023-05-30T00:14:51.816Z] bde34c3a00c8: Verifying Checksum [2023-05-30T00:14:51.816Z] bde34c3a00c8: Download complete [2023-05-30T00:14:51.816Z] b352a97aabf1: Verifying Checksum [2023-05-30T00:14:51.816Z] b352a97aabf1: Download complete [2023-05-30T00:14:51.816Z] 4872d77fe225: Verifying Checksum [2023-05-30T00:14:51.816Z] 4872d77fe225: Download complete [2023-05-30T00:14:51.816Z] 5851b861e8e6: Download complete [2023-05-30T00:14:51.816Z] b85a868b505f: Verifying Checksum [2023-05-30T00:14:51.816Z] b85a868b505f: Download complete [2023-05-30T00:14:52.074Z] bab4dde63d76: Verifying Checksum [2023-05-30T00:14:52.074Z] bab4dde63d76: Download complete [2023-05-30T00:14:53.456Z] b85a868b505f: Pull complete [2023-05-30T00:14:53.456Z] e2be974225ed: Pull complete [2023-05-30T00:14:54.027Z] 339a4e72a1f5: Pull complete [2023-05-30T00:14:54.027Z] 988bab9f4d93: Pull complete [2023-05-30T00:14:54.285Z] 1469e6f7b9e6: Pull complete [2023-05-30T00:14:54.285Z] eaf3925da568: Pull complete [2023-05-30T00:14:56.190Z] bab4dde63d76: Pull complete [2023-05-30T00:14:56.190Z] bde34c3a00c8: Pull complete [2023-05-30T00:14:56.449Z] b352a97aabf1: Pull complete [2023-05-30T00:14:56.449Z] 4872d77fe225: Pull complete [2023-05-30T00:14:56.449Z] 5851b861e8e6: Pull complete [2023-05-30T00:14:56.449Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-30T00:14:56.449Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-30T00:14:56.449Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T00:14:56.541Z] prd-ubuntu20.04-docker-8c-8g-17218 does not seem to be running inside a container [2023-05-30T00:14:56.563Z] $ 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 [2023-05-30T00:14:58.620Z] $ docker top a5464e9172835506023b544417a829824b5b1ed445ce0728662297b4e1109e47 -eo pid,comm [2023-05-30T00:14:58.691Z] 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). [2023-05-30T00:14:58.691Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-30T00:14:58.725Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-30T00:14:58.725Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-30T00:14:58.849Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-30T00:14:58.845Z] $ docker exec a5464e9172835506023b544417a829824b5b1ed445ce0728662297b4e1109e47 ssh-agent [2023-05-30T00:14:58.961Z] SSH_AUTH_SOCK=/tmp/ssh-DDHK0NAQvx2s/agent.33 [2023-05-30T00:14:58.962Z] SSH_AGENT_PID=39 [2023-05-30T00:14:58.969Z] Running ssh-add (command line suppressed) [2023-05-30T00:14:59.060Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12981364097405069426.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12981364097405069426.key) [2023-05-30T00:14:59.083Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-30T00:14:59.368Z] + git tag --points-at HEAD [Pipeline] } [2023-05-30T00:14:59.377Z] $ docker exec --env ******** --env ******** a5464e9172835506023b544417a829824b5b1ed445ce0728662297b4e1109e47 ssh-agent -k [2023-05-30T00:14:59.482Z] unset SSH_AUTH_SOCK; [2023-05-30T00:14:59.482Z] unset SSH_AGENT_PID; [2023-05-30T00:14:59.483Z] echo Agent pid 39 killed; [2023-05-30T00:14:59.501Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-30T00:14:59.520Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-30T00:14:59.520Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-30T00:14:59.639Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-30T00:14:59.633Z] $ docker exec a5464e9172835506023b544417a829824b5b1ed445ce0728662297b4e1109e47 ssh-agent [2023-05-30T00:14:59.744Z] SSH_AUTH_SOCK=/tmp/ssh-jBpNNG1HVIIS/agent.71 [2023-05-30T00:14:59.744Z] SSH_AGENT_PID=77 [2023-05-30T00:14:59.749Z] Running ssh-add (command line suppressed) [2023-05-30T00:14:59.856Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14952996744379399774.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14952996744379399774.key) [2023-05-30T00:14:59.878Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-30T00:15:00.166Z] + git semver init [2023-05-30T00:15:00.428Z] 2023-05-30 00:15:00,328 [run_init] DEBUG init version:0.0.0 force:False [2023-05-30T00:15:00.428Z] 2023-05-30 00:15:00,329 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-05-30T00:15:00.428Z] 2023-05-30 00:15:00,329 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-05-30T00:15:00.428Z] 2023-05-30 00:15:00,330 [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) [2023-05-30T00:15:01.373Z] 2023-05-30 00:15:01,178 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-05-30T00:15:01.373Z] 2023-05-30 00:15:01,179 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-05-30T00:15:01.373Z] 2023-05-30 00:15:01,179 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-30T00:15:01.373Z] 2023-05-30 00:15:01,179 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-30T00:15:01.373Z] 3.0.0-dev.45 [Pipeline] } [2023-05-30T00:15:01.376Z] $ docker exec --env ******** --env ******** a5464e9172835506023b544417a829824b5b1ed445ce0728662297b4e1109e47 ssh-agent -k [2023-05-30T00:15:01.487Z] unset SSH_AUTH_SOCK; [2023-05-30T00:15:01.488Z] unset SSH_AGENT_PID; [2023-05-30T00:15:01.488Z] echo Agent pid 77 killed; [2023-05-30T00:15:01.508Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-30T00:15:01.809Z] + git semver [Pipeline] } [2023-05-30T00:15:02.074Z] $ docker stop --time=1 a5464e9172835506023b544417a829824b5b1ed445ce0728662297b4e1109e47 [2023-05-30T00:15:03.414Z] $ docker rm -f --volumes a5464e9172835506023b544417a829824b5b1ed445ce0728662297b4e1109e47 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-30T00:15:03.759Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-30T00:15:03.980Z] Stashed 1 file(s) [Pipeline] echo [2023-05-30T00:15:03.983Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.45 [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 [2023-05-30T00:15:04.134Z] provisioning config files... [2023-05-30T00:15:04.144Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3279566586061051312tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:15:04.442Z] ---> docker-login.sh [2023-05-30T00:15:04.442Z] nexus3.edgexfoundry.org:10001 [2023-05-30T00:15:04.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:15:04.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:15:04.442Z] Configure a credential helper to remove this warning. See [2023-05-30T00:15:04.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:15:04.442Z] [2023-05-30T00:15:04.442Z] Login Succeeded [2023-05-30T00:15:04.442Z] nexus3.edgexfoundry.org:10002 [2023-05-30T00:15:04.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:15:04.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:15:04.442Z] Configure a credential helper to remove this warning. See [2023-05-30T00:15:04.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:15:04.442Z] [2023-05-30T00:15:04.442Z] Login Succeeded [2023-05-30T00:15:04.442Z] nexus3.edgexfoundry.org:10003 [2023-05-30T00:15:04.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:15:04.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:15:04.701Z] Configure a credential helper to remove this warning. See [2023-05-30T00:15:04.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:15:04.701Z] [2023-05-30T00:15:04.701Z] Login Succeeded [2023-05-30T00:15:04.701Z] nexus3.edgexfoundry.org:10004 [2023-05-30T00:15:04.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:15:04.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:15:04.701Z] Configure a credential helper to remove this warning. See [2023-05-30T00:15:04.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:15:04.701Z] [2023-05-30T00:15:04.701Z] Login Succeeded [2023-05-30T00:15:04.701Z] docker.io [2023-05-30T00:15:04.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:15:05.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:15:05.221Z] Configure a credential helper to remove this warning. See [2023-05-30T00:15:05.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:15:05.221Z] [2023-05-30T00:15:05.221Z] Login Succeeded [2023-05-30T00:15:05.221Z] ---> docker-login.sh ends [Pipeline] } [2023-05-30T00:15:05.229Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-30T00:15:05.284Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-30T00:15:05.294Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-30T00:15:05.301Z] ========================================================= [2023-05-30T00:15:05.301Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-30T00:15:05.301Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:15:05.616Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-30T00:15:05.616Z] Sending build context to Docker daemon 6.55MB [2023-05-30T00:15:05.616Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-30T00:15:05.616Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-30T00:15:05.616Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-30T00:15:05.616Z] f56be85fc22e: Pulling fs layer [2023-05-30T00:15:05.616Z] 85791d961cd3: Pulling fs layer [2023-05-30T00:15:05.616Z] d694b5ae8c79: Pulling fs layer [2023-05-30T00:15:05.616Z] 9f32a84ed3da: Pulling fs layer [2023-05-30T00:15:05.616Z] 4d19c01a9841: Pulling fs layer [2023-05-30T00:15:05.616Z] 9325e15d5711: Pulling fs layer [2023-05-30T00:15:05.616Z] 556b6ee489ea: Pulling fs layer [2023-05-30T00:15:05.616Z] c5a4b2cf53e6: Pulling fs layer [2023-05-30T00:15:05.616Z] 4d19c01a9841: Waiting [2023-05-30T00:15:05.616Z] 9f32a84ed3da: Waiting [2023-05-30T00:15:05.616Z] 9325e15d5711: Waiting [2023-05-30T00:15:05.616Z] c5a4b2cf53e6: Waiting [2023-05-30T00:15:05.616Z] 85791d961cd3: Download complete [2023-05-30T00:15:05.616Z] 9f32a84ed3da: Verifying Checksum [2023-05-30T00:15:05.616Z] 9f32a84ed3da: Download complete [2023-05-30T00:15:05.616Z] 4d19c01a9841: Verifying Checksum [2023-05-30T00:15:05.616Z] 4d19c01a9841: Download complete [2023-05-30T00:15:05.875Z] f56be85fc22e: Verifying Checksum [2023-05-30T00:15:05.875Z] f56be85fc22e: Download complete [2023-05-30T00:15:05.875Z] 9325e15d5711: Verifying Checksum [2023-05-30T00:15:05.875Z] 9325e15d5711: Download complete [2023-05-30T00:15:05.875Z] f56be85fc22e: Pull complete [2023-05-30T00:15:06.134Z] 85791d961cd3: Pull complete [2023-05-30T00:15:06.134Z] c5a4b2cf53e6: Verifying Checksum [2023-05-30T00:15:06.134Z] c5a4b2cf53e6: Download complete [2023-05-30T00:15:06.393Z] d694b5ae8c79: Verifying Checksum [2023-05-30T00:15:06.393Z] d694b5ae8c79: Download complete [2023-05-30T00:15:06.652Z] 556b6ee489ea: Verifying Checksum [2023-05-30T00:15:06.652Z] 556b6ee489ea: Download complete [2023-05-30T00:15:09.938Z] d694b5ae8c79: Pull complete [2023-05-30T00:15:09.938Z] 9f32a84ed3da: Pull complete [2023-05-30T00:15:09.938Z] 4d19c01a9841: Pull complete [2023-05-30T00:15:09.938Z] 9325e15d5711: Pull complete [2023-05-30T00:15:12.473Z] 556b6ee489ea: Pull complete [2023-05-30T00:15:13.410Z] c5a4b2cf53e6: Pull complete [2023-05-30T00:15:13.410Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-30T00:15:13.410Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-30T00:15:13.410Z] ---> c4be618373d6 [2023-05-30T00:15:13.410Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-05-30T00:15:16.776Z] ---> Running in 29c94ea304b5 [2023-05-30T00:15:17.035Z] Removing intermediate container 29c94ea304b5 [2023-05-30T00:15:17.035Z] ---> 91984e032a36 [2023-05-30T00:15:17.035Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-30T00:15:17.035Z] ---> Running in aacbcf6ef32b [2023-05-30T00:15:17.035Z] Removing intermediate container aacbcf6ef32b [2023-05-30T00:15:17.035Z] ---> c6f146589efd [2023-05-30T00:15:17.035Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-05-30T00:15:17.035Z] ---> Running in 248a4a49a93b [2023-05-30T00:15:17.294Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-30T00:15:17.553Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-30T00:15:17.814Z] (1/8) Installing openssh-keygen (9.1_p1-r3) [2023-05-30T00:15:17.814Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-05-30T00:15:17.814Z] (3/8) Installing openssh-client-common (9.1_p1-r3) [2023-05-30T00:15:17.814Z] (4/8) Installing openssh-client-default (9.1_p1-r3) [2023-05-30T00:15:17.814Z] (5/8) Installing openssh-sftp-server (9.1_p1-r3) [2023-05-30T00:15:17.814Z] (6/8) Installing openssh-server-common (9.1_p1-r3) [2023-05-30T00:15:17.814Z] (7/8) Installing openssh-server (9.1_p1-r3) [2023-05-30T00:15:17.814Z] (8/8) Installing openssh (9.1_p1-r3) [2023-05-30T00:15:17.814Z] Executing busybox-1.35.0-r29.trigger [2023-05-30T00:15:17.814Z] OK: 270 MiB in 61 packages [2023-05-30T00:15:18.382Z] Removing intermediate container 248a4a49a93b [2023-05-30T00:15:18.382Z] ---> 638ea5f03d10 [2023-05-30T00:15:18.382Z] Step 6/10 : WORKDIR /device-modbus-go [2023-05-30T00:15:18.382Z] ---> Running in 42bfb4629860 [2023-05-30T00:15:18.382Z] Removing intermediate container 42bfb4629860 [2023-05-30T00:15:18.382Z] ---> 67d80068d3dd [2023-05-30T00:15:18.382Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-30T00:15:18.640Z] ---> 2dea4f6f48c9 [2023-05-30T00:15:18.640Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-30T00:15:18.640Z] ---> Running in dcb6a1ce78e9 [2023-05-30T00:15:19.091Z] Still waiting to schedule task [2023-05-30T00:15:19.092Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-30T00:15:57.416Z] Removing intermediate container dcb6a1ce78e9 [2023-05-30T00:15:57.416Z] ---> 075ae25d366e [2023-05-30T00:15:57.416Z] Step 9/10 : COPY . . [2023-05-30T00:15:57.416Z] ---> 56688453d83c [2023-05-30T00:15:57.416Z] Step 10/10 : RUN ${MAKE} [2023-05-30T00:15:57.416Z] ---> Running in 048726f6da0f [2023-05-30T00:15:57.416Z] noop [2023-05-30T00:15:57.416Z] Removing intermediate container 048726f6da0f [2023-05-30T00:15:57.416Z] ---> 2ad79661d0ce [2023-05-30T00:15:57.416Z] Successfully built 2ad79661d0ce [2023-05-30T00:15:57.416Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:15:57.721Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-30T00:15:57.722Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T00:15:57.797Z] prd-ubuntu20.04-docker-8c-8g-17218 does not seem to be running inside a container [2023-05-30T00:15:57.826Z] $ 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 [2023-05-30T00:15:58.164Z] $ docker top 6dbf00e388e393849def37980eae1e48a971fd19e17ac1e0c4a907d27b76d023 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-30T00:15:58.512Z] + go version [2023-05-30T00:15:58.512Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-30T00:15:58.521Z] $ docker stop --time=1 6dbf00e388e393849def37980eae1e48a971fd19e17ac1e0c4a907d27b76d023 [2023-05-30T00:15:59.764Z] $ docker rm -f --volumes 6dbf00e388e393849def37980eae1e48a971fd19e17ac1e0c4a907d27b76d023 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:16:00.159Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-30T00:16:00.159Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T00:16:00.229Z] prd-ubuntu20.04-docker-8c-8g-17218 does not seem to be running inside a container [2023-05-30T00:16:00.254Z] $ 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 [2023-05-30T00:16:00.585Z] $ docker top a68e1a1b6e12de0cb09b24d3c3eae62057d8e8ab7ba183d464abaa3951152234 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-30T00:16:00.931Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-05-30T00:16:01.228Z] + make test [2023-05-30T00:16:01.228Z] go test ./... -coverprofile=coverage.out [2023-05-30T00:16:06.501Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-05-30T00:16:16.468Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-05-30T00:16:16.468Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.016s coverage: 47.4% of statements [2023-05-30T00:16:23.032Z] go vet ./... [2023-05-30T00:16:27.211Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-30T00:16:27.211Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-30T00:16:27.211Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-30T00:16:27.222Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-30T00:16:27.236Z] $ docker stop --time=1 a68e1a1b6e12de0cb09b24d3c3eae62057d8e8ab7ba183d464abaa3951152234 [2023-05-30T00:16:30.082Z] $ docker rm -f --volumes a68e1a1b6e12de0cb09b24d3c3eae62057d8e8ab7ba183d464abaa3951152234 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-30T00:16:30.550Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-30T00:16:30.600Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-30T00:16:31.279Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-30T00:16:31.561Z] + ls -al . [2023-05-30T00:16:31.561Z] total 184 [2023-05-30T00:16:31.561Z] drwxrwxr-x 10 jenkins jenkins 4096 May 30 00:16 . [2023-05-30T00:16:31.561Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 00:14 .. [2023-05-30T00:16:31.561Z] -rw-rw-r-- 1 jenkins jenkins 140 May 30 00:14 .dockerignore [2023-05-30T00:16:31.561Z] drwxrwxr-x 8 jenkins jenkins 4096 May 30 00:15 .git [2023-05-30T00:16:31.561Z] drwxrwxr-x 3 jenkins jenkins 4096 May 30 00:14 .github [2023-05-30T00:16:31.561Z] -rw-rw-r-- 1 jenkins jenkins 331 May 30 00:14 .gitignore [2023-05-30T00:16:31.561Z] -rw-rw-r-- 1 jenkins jenkins 41 May 30 00:14 .golangci.yml [2023-05-30T00:16:31.561Z] drwxr-xr-x 3 jenkins jenkins 4096 May 30 00:15 .semver [2023-05-30T00:16:31.561Z] -rw-rw-r-- 1 jenkins jenkins 10132 May 30 00:14 Attribution.txt [2023-05-30T00:16:31.561Z] -rw-rw-r-- 1 jenkins jenkins 11576 May 30 00:14 CHANGELOG.md [2023-05-30T00:16:31.561Z] -rw-rw-r-- 1 jenkins jenkins 1365 May 30 00:14 Dockerfile [2023-05-30T00:16:31.561Z] -rw-rw-r-- 1 jenkins jenkins 677 May 30 00:14 GOVERNANCE.md [2023-05-30T00:16:31.561Z] -rw-rw-r-- 1 jenkins jenkins 680 May 30 00:14 Jenkinsfile [2023-05-30T00:16:31.561Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 30 00:14 LICENSE [2023-05-30T00:16:31.561Z] -rw-rw-r-- 1 jenkins jenkins 1705 May 30 00:14 Makefile [2023-05-30T00:16:31.561Z] -rw-rw-r-- 1 jenkins jenkins 622 May 30 00:14 OWNERS.md [2023-05-30T00:16:31.561Z] -rw-rw-r-- 1 jenkins jenkins 4578 May 30 00:14 README.md [2023-05-30T00:16:31.561Z] -rw-rw-r-- 1 jenkins jenkins 12 May 30 00:15 VERSION [2023-05-30T00:16:31.561Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 00:14 bin [2023-05-30T00:16:31.561Z] drwxrwxr-x 3 jenkins jenkins 4096 May 30 00:14 cmd [2023-05-30T00:16:31.561Z] -rw-r--r-- 1 jenkins jenkins 24160 May 30 00:16 coverage.out [2023-05-30T00:16:31.561Z] -rw-rw-r-- 1 jenkins jenkins 3405 May 30 00:14 go.mod [2023-05-30T00:16:31.561Z] -rw-rw-r-- 1 jenkins jenkins 31574 May 30 00:14 go.sum [2023-05-30T00:16:31.561Z] drwxrwxr-x 3 jenkins jenkins 4096 May 30 00:14 internal [2023-05-30T00:16:31.561Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 00:14 simulator [2023-05-30T00:16:31.561Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 00:14 snap [2023-05-30T00:16:31.561Z] -rw-rw-r-- 1 jenkins jenkins 229 May 30 00:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:16:31.860Z] + 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=b7c00ecea16ee3fe559c969829072d5131dcac71 --label arch=amd64 --label version=3.0.0-dev.45 . [2023-05-30T00:16:31.860Z] Sending build context to Docker daemon 6.575MB [2023-05-30T00:16:31.860Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-05-30T00:16:31.860Z] Step 2/22 : FROM ${BASE} AS builder [2023-05-30T00:16:31.861Z] ---> 2ad79661d0ce [2023-05-30T00:16:31.861Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-05-30T00:16:31.861Z] ---> Running in 01275b2c9873 [2023-05-30T00:16:32.120Z] Removing intermediate container 01275b2c9873 [2023-05-30T00:16:32.120Z] ---> a04aad2349c0 [2023-05-30T00:16:32.120Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-30T00:16:32.120Z] ---> Running in 110697c3e30c [2023-05-30T00:16:32.120Z] Removing intermediate container 110697c3e30c [2023-05-30T00:16:32.120Z] ---> 30ce0733c905 [2023-05-30T00:16:32.120Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-05-30T00:16:32.120Z] ---> Running in a770796df87a [2023-05-30T00:16:32.380Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-30T00:16:32.640Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-30T00:16:32.899Z] OK: 270 MiB in 61 packages [2023-05-30T00:16:33.158Z] Removing intermediate container a770796df87a [2023-05-30T00:16:33.158Z] ---> 6d9efb37eaa3 [2023-05-30T00:16:33.158Z] Step 6/22 : WORKDIR /device-modbus-go [2023-05-30T00:16:33.158Z] ---> Running in 2863c1575323 [2023-05-30T00:16:33.158Z] Removing intermediate container 2863c1575323 [2023-05-30T00:16:33.158Z] ---> c9c5f06d0389 [2023-05-30T00:16:33.158Z] Step 7/22 : COPY go.mod vendor* ./ [2023-05-30T00:16:33.417Z] ---> c3880f45048b [2023-05-30T00:16:33.417Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-30T00:16:33.417Z] ---> Running in 2fd8f9e61be3 [2023-05-30T00:16:34.454Z] Removing intermediate container 2fd8f9e61be3 [2023-05-30T00:16:34.454Z] ---> 97219294e540 [2023-05-30T00:16:34.454Z] Step 9/22 : COPY . . [2023-05-30T00:16:34.714Z] ---> ed269e5db600 [2023-05-30T00:16:34.714Z] Step 10/22 : RUN ${MAKE} [2023-05-30T00:16:34.714Z] ---> Running in 9de7ec31889b [2023-05-30T00:16:34.973Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.45" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-05-30T00:16:53.329Z] Removing intermediate container 9de7ec31889b [2023-05-30T00:16:53.329Z] ---> a7da635a66a2 [2023-05-30T00:16:53.329Z] Step 11/22 : FROM alpine:3.17 [2023-05-30T00:16:53.589Z] 3.17: Pulling from library/alpine [2023-05-30T00:16:53.848Z] f56be85fc22e: Already exists [2023-05-30T00:16:53.848Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-30T00:16:53.848Z] Status: Downloaded newer image for alpine:3.17 [2023-05-30T00:16:53.848Z] ---> 9ed4aefc74f6 [2023-05-30T00:16:53.848Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-05-30T00:16:53.848Z] ---> Running in 403dc3fd62cd [2023-05-30T00:16:54.108Z] Removing intermediate container 403dc3fd62cd [2023-05-30T00:16:54.108Z] ---> f8de717b98d7 [2023-05-30T00:16:54.108Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-05-30T00:16:54.108Z] ---> Running in c2136274a36e [2023-05-30T00:16:54.369Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-30T00:16:54.369Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-30T00:16:54.628Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-30T00:16:54.628Z] Executing busybox-1.35.0-r29.trigger [2023-05-30T00:16:54.628Z] OK: 7 MiB in 16 packages [2023-05-30T00:16:54.885Z] Removing intermediate container c2136274a36e [2023-05-30T00:16:54.885Z] ---> 4aedd2e4c309 [2023-05-30T00:16:54.885Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-05-30T00:16:55.827Z] ---> ce9372f2068e [2023-05-30T00:16:55.827Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-05-30T00:16:55.827Z] ---> 1e209db78d69 [2023-05-30T00:16:55.827Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-05-30T00:16:55.827Z] ---> 2d22c4546756 [2023-05-30T00:16:55.827Z] Step 17/22 : EXPOSE 59901 [2023-05-30T00:16:55.827Z] ---> Running in c6945c0b55bb [2023-05-30T00:16:55.827Z] Removing intermediate container c6945c0b55bb [2023-05-30T00:16:55.827Z] ---> 3bc5a0fefad1 [2023-05-30T00:16:55.827Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-05-30T00:16:55.827Z] ---> Running in 608283c4ff9f [2023-05-30T00:16:56.087Z] Removing intermediate container 608283c4ff9f [2023-05-30T00:16:56.087Z] ---> 49f32e6420c9 [2023-05-30T00:16:56.087Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-30T00:16:56.087Z] ---> Running in 59c99ae0bf35 [2023-05-30T00:16:56.087Z] Removing intermediate container 59c99ae0bf35 [2023-05-30T00:16:56.087Z] ---> 876d6ab476fe [2023-05-30T00:16:56.087Z] Step 20/22 : LABEL arch=amd64 [2023-05-30T00:16:56.087Z] ---> Running in cd145c870f3e [2023-05-30T00:16:56.087Z] Removing intermediate container cd145c870f3e [2023-05-30T00:16:56.087Z] ---> 1ee5b28c5ff5 [2023-05-30T00:16:56.087Z] Step 21/22 : LABEL git_sha=b7c00ecea16ee3fe559c969829072d5131dcac71 [2023-05-30T00:16:56.347Z] ---> Running in 2325beefb86a [2023-05-30T00:16:56.347Z] Removing intermediate container 2325beefb86a [2023-05-30T00:16:56.347Z] ---> 80551e22e92b [2023-05-30T00:16:56.347Z] Step 22/22 : LABEL version=3.0.0-dev.45 [2023-05-30T00:16:56.347Z] ---> Running in f4c7b7577c6c [2023-05-30T00:16:56.347Z] Removing intermediate container f4c7b7577c6c [2023-05-30T00:16:56.347Z] ---> 881d524d1036 [2023-05-30T00:16:56.347Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-30T00:16:56.347Z] Successfully built 881d524d1036 [2023-05-30T00:16:56.347Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-30T00:16:56.454Z] provisioning config files... [2023-05-30T00:16:56.462Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14801808752655936995tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:16:56.762Z] ---> docker-login.sh [2023-05-30T00:16:56.762Z] nexus3.edgexfoundry.org:10001 [2023-05-30T00:16:56.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:16:57.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:16:57.021Z] Configure a credential helper to remove this warning. See [2023-05-30T00:16:57.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:16:57.021Z] [2023-05-30T00:16:57.021Z] Login Succeeded [2023-05-30T00:16:57.021Z] nexus3.edgexfoundry.org:10002 [2023-05-30T00:16:57.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:16:57.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:16:57.021Z] Configure a credential helper to remove this warning. See [2023-05-30T00:16:57.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:16:57.021Z] [2023-05-30T00:16:57.021Z] Login Succeeded [2023-05-30T00:16:57.021Z] nexus3.edgexfoundry.org:10003 [2023-05-30T00:16:57.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:16:57.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:16:57.279Z] Configure a credential helper to remove this warning. See [2023-05-30T00:16:57.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:16:57.279Z] [2023-05-30T00:16:57.279Z] Login Succeeded [2023-05-30T00:16:57.279Z] nexus3.edgexfoundry.org:10004 [2023-05-30T00:16:57.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:16:57.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:16:57.279Z] Configure a credential helper to remove this warning. See [2023-05-30T00:16:57.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:16:57.279Z] [2023-05-30T00:16:57.279Z] Login Succeeded [2023-05-30T00:16:57.279Z] docker.io [2023-05-30T00:16:57.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:16:57.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:16:57.537Z] Configure a credential helper to remove this warning. See [2023-05-30T00:16:57.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:16:57.537Z] [2023-05-30T00:16:57.537Z] Login Succeeded [2023-05-30T00:16:57.537Z] ---> docker-login.sh ends [Pipeline] } [2023-05-30T00:16:57.544Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-30T00:16:57.569Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-30T00:16:57.586Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-05-30T00:16:57.586Z] b7c00ecea16ee3fe559c969829072d5131dcac71 [2023-05-30T00:16:57.586Z] latest [2023-05-30T00:16:57.586Z] 3.0.0-dev.45 [2023-05-30T00:16:57.586Z] b7c00ecea16ee3fe559c969829072d5131dcac71-3.0.0-dev.45 [2023-05-30T00:16:57.586Z] main [2023-05-30T00:16:57.586Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:16:57.892Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:b7c00ecea16ee3fe559c969829072d5131dcac71 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:16:58.192Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:b7c00ecea16ee3fe559c969829072d5131dcac71 [2023-05-30T00:16:58.192Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-30T00:16:58.192Z] f990eb94a057: Preparing [2023-05-30T00:16:58.192Z] 37058e14063f: Preparing [2023-05-30T00:16:58.192Z] 3544f46f9e75: Preparing [2023-05-30T00:16:58.192Z] 6edd2d8f1255: Preparing [2023-05-30T00:16:58.192Z] f1417ff83b31: Preparing [2023-05-30T00:16:58.192Z] f1417ff83b31: Layer already exists [2023-05-30T00:16:58.192Z] f990eb94a057: Pushed [2023-05-30T00:16:58.192Z] 37058e14063f: Pushed [2023-05-30T00:16:58.192Z] 6edd2d8f1255: Pushed [2023-05-30T00:17:00.727Z] 3544f46f9e75: Pushed [2023-05-30T00:17:00.985Z] b7c00ecea16ee3fe559c969829072d5131dcac71: digest: sha256:df70bc24fd7254774c5dd55258f07f071637a78aae3372d1e5d81bcccc6d5783 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:17:01.299Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:17:01.603Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-05-30T00:17:01.604Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-30T00:17:01.604Z] f990eb94a057: Preparing [2023-05-30T00:17:01.604Z] 37058e14063f: Preparing [2023-05-30T00:17:01.604Z] 3544f46f9e75: Preparing [2023-05-30T00:17:01.604Z] 6edd2d8f1255: Preparing [2023-05-30T00:17:01.604Z] f1417ff83b31: Preparing [2023-05-30T00:17:01.604Z] 37058e14063f: Layer already exists [2023-05-30T00:17:01.604Z] 3544f46f9e75: Layer already exists [2023-05-30T00:17:01.604Z] 6edd2d8f1255: Layer already exists [2023-05-30T00:17:01.604Z] f990eb94a057: Layer already exists [2023-05-30T00:17:01.604Z] f1417ff83b31: Layer already exists [2023-05-30T00:17:01.604Z] latest: digest: sha256:df70bc24fd7254774c5dd55258f07f071637a78aae3372d1e5d81bcccc6d5783 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:17:01.910Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.45 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:17:02.217Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.45 [2023-05-30T00:17:02.218Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-30T00:17:02.218Z] f990eb94a057: Preparing [2023-05-30T00:17:02.218Z] 37058e14063f: Preparing [2023-05-30T00:17:02.218Z] 3544f46f9e75: Preparing [2023-05-30T00:17:02.218Z] 6edd2d8f1255: Preparing [2023-05-30T00:17:02.218Z] f1417ff83b31: Preparing [2023-05-30T00:17:02.218Z] f1417ff83b31: Layer already exists [2023-05-30T00:17:02.218Z] 37058e14063f: Layer already exists [2023-05-30T00:17:02.218Z] f990eb94a057: Layer already exists [2023-05-30T00:17:02.218Z] 6edd2d8f1255: Layer already exists [2023-05-30T00:17:02.218Z] 3544f46f9e75: Layer already exists [2023-05-30T00:17:02.218Z] 3.0.0-dev.45: digest: sha256:df70bc24fd7254774c5dd55258f07f071637a78aae3372d1e5d81bcccc6d5783 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:17:02.522Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:b7c00ecea16ee3fe559c969829072d5131dcac71-3.0.0-dev.45 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:17:02.833Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:b7c00ecea16ee3fe559c969829072d5131dcac71-3.0.0-dev.45 [2023-05-30T00:17:02.833Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-30T00:17:02.833Z] f990eb94a057: Preparing [2023-05-30T00:17:02.833Z] 37058e14063f: Preparing [2023-05-30T00:17:02.833Z] 3544f46f9e75: Preparing [2023-05-30T00:17:02.833Z] 6edd2d8f1255: Preparing [2023-05-30T00:17:02.833Z] f1417ff83b31: Preparing [2023-05-30T00:17:02.833Z] f990eb94a057: Layer already exists [2023-05-30T00:17:02.833Z] 37058e14063f: Layer already exists [2023-05-30T00:17:02.833Z] 3544f46f9e75: Layer already exists [2023-05-30T00:17:02.833Z] 6edd2d8f1255: Layer already exists [2023-05-30T00:17:02.833Z] f1417ff83b31: Layer already exists [2023-05-30T00:17:02.833Z] b7c00ecea16ee3fe559c969829072d5131dcac71-3.0.0-dev.45: digest: sha256:df70bc24fd7254774c5dd55258f07f071637a78aae3372d1e5d81bcccc6d5783 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:17:03.153Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:17:03.465Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-05-30T00:17:03.465Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-30T00:17:03.465Z] f990eb94a057: Preparing [2023-05-30T00:17:03.465Z] 37058e14063f: Preparing [2023-05-30T00:17:03.465Z] 3544f46f9e75: Preparing [2023-05-30T00:17:03.465Z] 6edd2d8f1255: Preparing [2023-05-30T00:17:03.465Z] f1417ff83b31: Preparing [2023-05-30T00:17:03.465Z] 37058e14063f: Layer already exists [2023-05-30T00:17:03.465Z] f1417ff83b31: Layer already exists [2023-05-30T00:17:03.465Z] 3544f46f9e75: Layer already exists [2023-05-30T00:17:03.465Z] f990eb94a057: Layer already exists [2023-05-30T00:17:03.465Z] 6edd2d8f1255: Layer already exists [2023-05-30T00:17:03.465Z] main: digest: sha256:df70bc24fd7254774c5dd55258f07f071637a78aae3372d1e5d81bcccc6d5783 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-30T00:17:03.506Z] ===================================================== [Pipeline] echo [2023-05-30T00:17:03.513Z] taggedImages: [2023-05-30T00:17:03.513Z] - nexus3.edgexfoundry.org:10004/device-modbus:b7c00ecea16ee3fe559c969829072d5131dcac71 [2023-05-30T00:17:03.513Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-05-30T00:17:03.513Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.45 [2023-05-30T00:17:03.513Z] - nexus3.edgexfoundry.org:10004/device-modbus:b7c00ecea16ee3fe559c969829072d5131dcac71-3.0.0-dev.45 [2023-05-30T00:17:03.513Z] - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:17:03.884Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-30T00:17:03.884Z] [2023-05-30T00:17:03.884Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:17:04.191Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-30T00:17:04.191Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-30T00:17:04.191Z] 5eb5b503b376: Pulling fs layer [2023-05-30T00:17:04.191Z] 5c69ac0246d0: Pulling fs layer [2023-05-30T00:17:04.191Z] ec43610c2a17: Pulling fs layer [2023-05-30T00:17:04.191Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-30T00:17:04.191Z] 33b1e0a273af: Pulling fs layer [2023-05-30T00:17:04.191Z] 5d3b04190fa2: Pulling fs layer [2023-05-30T00:17:04.191Z] 2f39f015ded8: Pulling fs layer [2023-05-30T00:17:04.191Z] 33b1e0a273af: Waiting [2023-05-30T00:17:04.191Z] 5d3b04190fa2: Waiting [2023-05-30T00:17:04.191Z] 2f39f015ded8: Waiting [2023-05-30T00:17:04.191Z] 3a2ae6a8a46f: Waiting [2023-05-30T00:17:04.191Z] 5c69ac0246d0: Download complete [2023-05-30T00:17:04.191Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-30T00:17:04.191Z] 3a2ae6a8a46f: Download complete [2023-05-30T00:17:04.191Z] 33b1e0a273af: Verifying Checksum [2023-05-30T00:17:04.191Z] 33b1e0a273af: Download complete [2023-05-30T00:17:04.191Z] ec43610c2a17: Download complete [2023-05-30T00:17:04.191Z] 5d3b04190fa2: Download complete [2023-05-30T00:17:04.451Z] 5eb5b503b376: Verifying Checksum [2023-05-30T00:17:04.451Z] 5eb5b503b376: Download complete [2023-05-30T00:17:05.018Z] 2f39f015ded8: Download complete [2023-05-30T00:17:05.592Z] 5eb5b503b376: Pull complete [2023-05-30T00:17:05.850Z] 5c69ac0246d0: Pull complete [2023-05-30T00:17:06.109Z] ec43610c2a17: Pull complete [2023-05-30T00:17:06.367Z] 3a2ae6a8a46f: Pull complete [2023-05-30T00:17:06.367Z] 33b1e0a273af: Pull complete [2023-05-30T00:17:06.625Z] 5d3b04190fa2: Pull complete [2023-05-30T00:17:10.808Z] 2f39f015ded8: Pull complete [2023-05-30T00:17:10.808Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-30T00:17:10.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-30T00:17:10.809Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T00:17:10.885Z] prd-ubuntu20.04-docker-8c-8g-17218 does not seem to be running inside a container [2023-05-30T00:17:10.918Z] $ 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 [2023-05-30T00:17:13.932Z] $ docker top 0e2e4d825dea867b51dc219c8c3ea1cc85367eac1ab1f5a6863537064e5e51ac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:17:14.355Z] ---> job-cost.sh [2023-05-30T00:17:14.355Z] lf-activate-venv: SKIPPING [2023-05-30T00:17:14.355Z] INFO: No Stack... [2023-05-30T00:17:14.614Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-30T00:17:14.872Z] INFO: Archiving Costs [Pipeline] sh [2023-05-30T00:17:15.162Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-05-30T00:17:15.163Z] + cut -d, -f6 [Pipeline] lock [2023-05-30T00:17:15.175Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-111-stack-cost] [2023-05-30T00:17:15.183Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-111-stack-cost] did not exist. Created. [2023-05-30T00:17:15.183Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-111-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-30T00:17:15.481Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-30T00:17:15.502Z] Stashed 1 file(s) [Pipeline] } [2023-05-30T00:17:15.509Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-111-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-30T00:17:15.524Z] $ docker stop --time=1 0e2e4d825dea867b51dc219c8c3ea1cc85367eac1ab1f5a6863537064e5e51ac [2023-05-30T00:17:16.679Z] $ docker rm -f --volumes 0e2e4d825dea867b51dc219c8c3ea1cc85367eac1ab1f5a6863537064e5e51ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-30T00:18:13.488Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17221 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-05-30T00:18:13.500Z] Running in /w/workspace/device-modbus-go/111 [Pipeline] { [Pipeline] checkout [2023-05-30T00:18:13.536Z] Selected Git installation does not exist. Using Default [2023-05-30T00:18:13.536Z] The recommended git tool is: NONE [2023-05-30T00:18:20.205Z] using credential edgex-jenkins-ssh [2023-05-30T00:18:20.228Z] Cloning the remote Git repository [2023-05-30T00:18:20.288Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-05-30T00:18:20.399Z] > git init /w/workspace/device-modbus-go/111 # timeout=10 [2023-05-30T00:18:20.568Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-05-30T00:18:20.569Z] > git --version # timeout=10 [2023-05-30T00:18:20.594Z] > git --version # 'git version 2.25.1' [2023-05-30T00:18:20.597Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-30T00:18:20.775Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-30T00:18:22.027Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-05-30T00:18:22.051Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-30T00:18:23.087Z] Avoid second fetch [2023-05-30T00:18:23.087Z] Checking out Revision b7c00ecea16ee3fe559c969829072d5131dcac71 (main) [2023-05-30T00:18:23.737Z] Commit message: "Merge pull request #488 from jumpingliu/update-readme" [2023-05-30T00:18:23.111Z] > git config core.sparsecheckout # timeout=10 [2023-05-30T00:18:23.186Z] > git checkout -f b7c00ecea16ee3fe559c969829072d5131dcac71 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-30T00:18:24.605Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-30T00:18:24.605Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-30T00:18:24.605Z] Dload Upload Total Spent Left Speed [2023-05-30T00:18:24.605Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 90432 [Pipeline] sh [2023-05-30T00:18:25.285Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-30T00:18:25.631Z] + sudo tee /etc/docker/daemon.new [2023-05-30T00:18:25.631Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-30T00:18:25.631Z] { [2023-05-30T00:18:25.631Z] "registry-mirrors": [ [2023-05-30T00:18:25.631Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-30T00:18:25.631Z] ], [2023-05-30T00:18:25.631Z] "bip": "10.250.0.254/24", [2023-05-30T00:18:25.631Z] "hosts": [ [2023-05-30T00:18:25.631Z] "tcp://0.0.0.0:5555", [2023-05-30T00:18:25.631Z] "unix:///var/run/docker.sock" [2023-05-30T00:18:25.631Z] ], [2023-05-30T00:18:25.631Z] "mtu": 1458, [2023-05-30T00:18:25.632Z] "selinux-enabled": true, [2023-05-30T00:18:25.632Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-30T00:18:25.632Z] } [Pipeline] sh [2023-05-30T00:18:25.981Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-30T00:18:26.321Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-30T00:18:44.622Z] provisioning config files... [2023-05-30T00:18:44.659Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/111@tmp/config208381651372998189tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:18:45.046Z] ---> docker-login.sh [2023-05-30T00:18:45.046Z] nexus3.edgexfoundry.org:10001 [2023-05-30T00:18:45.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:18:45.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:18:45.642Z] Configure a credential helper to remove this warning. See [2023-05-30T00:18:45.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:18:45.642Z] [2023-05-30T00:18:45.642Z] Login Succeeded [2023-05-30T00:18:45.642Z] nexus3.edgexfoundry.org:10002 [2023-05-30T00:18:45.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:18:46.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:18:46.188Z] Configure a credential helper to remove this warning. See [2023-05-30T00:18:46.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:18:46.188Z] [2023-05-30T00:18:46.188Z] Login Succeeded [2023-05-30T00:18:46.188Z] nexus3.edgexfoundry.org:10003 [2023-05-30T00:18:46.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:18:46.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:18:46.464Z] Configure a credential helper to remove this warning. See [2023-05-30T00:18:46.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:18:46.464Z] [2023-05-30T00:18:46.464Z] Login Succeeded [2023-05-30T00:18:46.464Z] nexus3.edgexfoundry.org:10004 [2023-05-30T00:18:46.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:18:47.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:18:47.023Z] Configure a credential helper to remove this warning. See [2023-05-30T00:18:47.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:18:47.023Z] [2023-05-30T00:18:47.023Z] Login Succeeded [2023-05-30T00:18:47.023Z] docker.io [2023-05-30T00:18:47.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:18:47.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:18:47.567Z] Configure a credential helper to remove this warning. See [2023-05-30T00:18:47.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:18:47.567Z] [2023-05-30T00:18:47.567Z] Login Succeeded [2023-05-30T00:18:47.567Z] ---> docker-login.sh ends [Pipeline] } [2023-05-30T00:18:47.584Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-30T00:18:47.950Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-30T00:18:47.966Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-30T00:18:47.981Z] ========================================================= [2023-05-30T00:18:47.981Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-30T00:18:47.981Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:18:48.367Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-30T00:18:48.662Z] Sending build context to Docker daemon 3.427MB [2023-05-30T00:18:48.935Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-30T00:18:48.935Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-30T00:18:48.935Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-30T00:18:48.935Z] c41833b44d91: Pulling fs layer [2023-05-30T00:18:48.935Z] ed15518f5707: Pulling fs layer [2023-05-30T00:18:48.935Z] feae8fd75edb: Pulling fs layer [2023-05-30T00:18:48.935Z] 242c74f7c9fa: Pulling fs layer [2023-05-30T00:18:48.935Z] 3cdef696dda3: Pulling fs layer [2023-05-30T00:18:48.935Z] 2ced38df9373: Pulling fs layer [2023-05-30T00:18:48.935Z] 58f1dce35555: Pulling fs layer [2023-05-30T00:18:48.935Z] 2ced38df9373: Waiting [2023-05-30T00:18:48.935Z] 242c74f7c9fa: Waiting [2023-05-30T00:18:48.935Z] 3cdef696dda3: Waiting [2023-05-30T00:18:48.935Z] 58f1dce35555: Waiting [2023-05-30T00:18:48.935Z] ed15518f5707: Verifying Checksum [2023-05-30T00:18:48.935Z] ed15518f5707: Download complete [2023-05-30T00:18:49.206Z] 242c74f7c9fa: Verifying Checksum [2023-05-30T00:18:49.206Z] 242c74f7c9fa: Download complete [2023-05-30T00:18:49.206Z] 3cdef696dda3: Verifying Checksum [2023-05-30T00:18:49.206Z] 3cdef696dda3: Download complete [2023-05-30T00:18:49.206Z] c41833b44d91: Verifying Checksum [2023-05-30T00:18:49.206Z] c41833b44d91: Download complete [2023-05-30T00:18:50.196Z] c41833b44d91: Pull complete [2023-05-30T00:18:50.801Z] 58f1dce35555: Verifying Checksum [2023-05-30T00:18:50.801Z] 58f1dce35555: Download complete [2023-05-30T00:18:51.072Z] ed15518f5707: Pull complete [2023-05-30T00:18:52.044Z] feae8fd75edb: Verifying Checksum [2023-05-30T00:18:52.044Z] feae8fd75edb: Download complete [2023-05-30T00:18:52.044Z] 2ced38df9373: Verifying Checksum [2023-05-30T00:18:52.044Z] 2ced38df9373: Download complete [2023-05-30T00:19:02.199Z] feae8fd75edb: Pull complete [2023-05-30T00:19:02.469Z] 242c74f7c9fa: Pull complete [2023-05-30T00:19:02.752Z] 3cdef696dda3: Pull complete [2023-05-30T00:19:09.530Z] 2ced38df9373: Pull complete [2023-05-30T00:19:11.540Z] 58f1dce35555: Pull complete [2023-05-30T00:19:11.540Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-30T00:19:11.540Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-30T00:19:11.540Z] ---> fadd8f120f05 [2023-05-30T00:19:11.540Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-05-30T00:19:13.504Z] ---> Running in 3b69610be8a6 [2023-05-30T00:19:13.775Z] Removing intermediate container 3b69610be8a6 [2023-05-30T00:19:13.775Z] ---> aa96d691d495 [2023-05-30T00:19:13.775Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-30T00:19:13.775Z] ---> Running in 0712adac88bf [2023-05-30T00:19:14.361Z] Removing intermediate container 0712adac88bf [2023-05-30T00:19:14.361Z] ---> 1f84550de4c3 [2023-05-30T00:19:14.361Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-05-30T00:19:14.361Z] ---> Running in 35c9ba78bd27 [2023-05-30T00:19:15.830Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-30T00:19:16.419Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-30T00:19:17.386Z] (1/8) Installing openssh-keygen (9.1_p1-r3) [2023-05-30T00:19:17.386Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-05-30T00:19:17.386Z] (3/8) Installing openssh-client-common (9.1_p1-r3) [2023-05-30T00:19:17.386Z] (4/8) Installing openssh-client-default (9.1_p1-r3) [2023-05-30T00:19:17.386Z] (5/8) Installing openssh-sftp-server (9.1_p1-r3) [2023-05-30T00:19:17.386Z] (6/8) Installing openssh-server-common (9.1_p1-r3) [2023-05-30T00:19:17.655Z] (7/8) Installing openssh-server (9.1_p1-r3) [2023-05-30T00:19:17.655Z] (8/8) Installing openssh (9.1_p1-r3) [2023-05-30T00:19:17.655Z] Executing busybox-1.35.0-r29.trigger [2023-05-30T00:19:17.655Z] OK: 270 MiB in 61 packages [2023-05-30T00:19:19.081Z] Removing intermediate container 35c9ba78bd27 [2023-05-30T00:19:19.081Z] ---> d0e335623e27 [2023-05-30T00:19:19.081Z] Step 6/10 : WORKDIR /device-modbus-go [2023-05-30T00:19:19.081Z] ---> Running in c877f65ac132 [2023-05-30T00:19:19.360Z] Removing intermediate container c877f65ac132 [2023-05-30T00:19:19.360Z] ---> 37dac7ad78bb [2023-05-30T00:19:19.360Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-30T00:19:19.951Z] ---> 8c995d3c0395 [2023-05-30T00:19:19.951Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-30T00:19:19.951Z] ---> Running in 7468d661499a [2023-05-30T00:20:27.895Z] Removing intermediate container 7468d661499a [2023-05-30T00:20:27.895Z] ---> 5f5157937694 [2023-05-30T00:20:27.895Z] Step 9/10 : COPY . . [2023-05-30T00:20:27.895Z] ---> 573a4d87c5dd [2023-05-30T00:20:27.895Z] Step 10/10 : RUN ${MAKE} [2023-05-30T00:20:27.895Z] ---> Running in 4e5812d8e638 [2023-05-30T00:20:27.895Z] noop [2023-05-30T00:20:27.895Z] Removing intermediate container 4e5812d8e638 [2023-05-30T00:20:27.895Z] ---> 86b2e16fdc85 [2023-05-30T00:20:27.895Z] Successfully built 86b2e16fdc85 [2023-05-30T00:20:27.895Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:20:28.246Z] + docker inspect -f . ci-base-image-arm64 [2023-05-30T00:20:28.246Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T00:20:28.465Z] prd-ubuntu20.04-docker-arm64-4c-16g-17221 does not seem to be running inside a container [2023-05-30T00:20:28.545Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/111 -v /w/workspace/device-modbus-go/111:/w/workspace/device-modbus-go/111:rw,z -v /w/workspace/device-modbus-go/111@tmp:/w/workspace/device-modbus-go/111@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 [2023-05-30T00:20:29.744Z] $ docker top 39a8d7a5eab30f50feecc059d2630325b6c8b914253946f2b2c895b0c46733c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-30T00:20:30.607Z] + go version [2023-05-30T00:20:30.607Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-30T00:20:30.634Z] $ docker stop --time=1 39a8d7a5eab30f50feecc059d2630325b6c8b914253946f2b2c895b0c46733c8 [2023-05-30T00:20:32.305Z] $ docker rm -f --volumes 39a8d7a5eab30f50feecc059d2630325b6c8b914253946f2b2c895b0c46733c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:20:32.863Z] + docker inspect -f . ci-base-image-arm64 [2023-05-30T00:20:32.863Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T00:20:33.055Z] prd-ubuntu20.04-docker-arm64-4c-16g-17221 does not seem to be running inside a container [2023-05-30T00:20:33.130Z] $ 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/111 -v /w/workspace/device-modbus-go/111:/w/workspace/device-modbus-go/111:rw,z -v /w/workspace/device-modbus-go/111@tmp:/w/workspace/device-modbus-go/111@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 [2023-05-30T00:20:34.302Z] $ docker top 1a7b573cb8d091143417f824e1447d992019aa44e729737fd301186f9a9510c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-30T00:20:35.151Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/111 [Pipeline] fileExists [Pipeline] sh [2023-05-30T00:20:35.815Z] + make test [2023-05-30T00:20:35.815Z] go test ./... -coverprofile=coverage.out [2023-05-30T00:21:15.478Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-05-30T00:23:37.219Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-05-30T00:23:38.188Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.101s coverage: 47.4% of statements [2023-05-30T00:23:38.788Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-30T00:23:38.788Z] go vet ./... [2023-05-30T00:24:18.072Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-30T00:24:18.072Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-30T00:24:18.072Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-30T00:24:18.093Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-30T00:24:18.112Z] $ docker stop --time=1 1a7b573cb8d091143417f824e1447d992019aa44e729737fd301186f9a9510c6 [2023-05-30T00:24:20.040Z] $ docker rm -f --volumes 1a7b573cb8d091143417f824e1447d992019aa44e729737fd301186f9a9510c6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-30T00:24:21.295Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-30T00:24:21.321Z] Warning: overwriting stash ‘coverage-report’ [2023-05-30T00:24:21.931Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-30T00:24:22.341Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-30T00:24:22.678Z] + ls -al . [2023-05-30T00:24:22.678Z] total 180 [2023-05-30T00:24:22.678Z] drwxrwxr-x 9 jenkins jenkins 4096 May 30 00:20 . [2023-05-30T00:24:22.678Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 00:18 .. [2023-05-30T00:24:22.678Z] -rw-rw-r-- 1 jenkins jenkins 140 May 30 00:18 .dockerignore [2023-05-30T00:24:22.678Z] drwxrwxr-x 8 jenkins jenkins 4096 May 30 00:18 .git [2023-05-30T00:24:22.678Z] drwxrwxr-x 3 jenkins jenkins 4096 May 30 00:18 .github [2023-05-30T00:24:22.678Z] -rw-rw-r-- 1 jenkins jenkins 331 May 30 00:18 .gitignore [2023-05-30T00:24:22.678Z] -rw-rw-r-- 1 jenkins jenkins 41 May 30 00:18 .golangci.yml [2023-05-30T00:24:22.678Z] -rw-rw-r-- 1 jenkins jenkins 10132 May 30 00:18 Attribution.txt [2023-05-30T00:24:22.678Z] -rw-rw-r-- 1 jenkins jenkins 11576 May 30 00:18 CHANGELOG.md [2023-05-30T00:24:22.678Z] -rw-rw-r-- 1 jenkins jenkins 1365 May 30 00:18 Dockerfile [2023-05-30T00:24:22.678Z] -rw-rw-r-- 1 jenkins jenkins 677 May 30 00:18 GOVERNANCE.md [2023-05-30T00:24:22.678Z] -rw-rw-r-- 1 jenkins jenkins 680 May 30 00:18 Jenkinsfile [2023-05-30T00:24:22.678Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 30 00:18 LICENSE [2023-05-30T00:24:22.678Z] -rw-rw-r-- 1 jenkins jenkins 1705 May 30 00:18 Makefile [2023-05-30T00:24:22.678Z] -rw-rw-r-- 1 jenkins jenkins 622 May 30 00:18 OWNERS.md [2023-05-30T00:24:22.678Z] -rw-rw-r-- 1 jenkins jenkins 4578 May 30 00:18 README.md [2023-05-30T00:24:22.678Z] -rw-rw-r-- 1 jenkins jenkins 12 May 30 00:15 VERSION [2023-05-30T00:24:22.678Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 00:18 bin [2023-05-30T00:24:22.678Z] drwxrwxr-x 3 jenkins jenkins 4096 May 30 00:18 cmd [2023-05-30T00:24:22.678Z] -rw-r--r-- 1 jenkins jenkins 24160 May 30 00:23 coverage.out [2023-05-30T00:24:22.678Z] -rw-rw-r-- 1 jenkins jenkins 3405 May 30 00:18 go.mod [2023-05-30T00:24:22.678Z] -rw-rw-r-- 1 jenkins jenkins 31574 May 30 00:18 go.sum [2023-05-30T00:24:22.678Z] drwxrwxr-x 3 jenkins jenkins 4096 May 30 00:18 internal [2023-05-30T00:24:22.678Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 00:18 simulator [2023-05-30T00:24:22.678Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 00:18 snap [2023-05-30T00:24:22.678Z] -rw-rw-r-- 1 jenkins jenkins 229 May 30 00:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:24:23.044Z] + 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=b7c00ecea16ee3fe559c969829072d5131dcac71 --label arch=arm64 --label version=3.0.0-dev.45 . [2023-05-30T00:24:23.316Z] Sending build context to Docker daemon 3.452MB [2023-05-30T00:24:23.316Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-05-30T00:24:23.316Z] Step 2/22 : FROM ${BASE} AS builder [2023-05-30T00:24:23.316Z] ---> 86b2e16fdc85 [2023-05-30T00:24:23.316Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-05-30T00:24:25.917Z] ---> Running in 3e0cb0bddc14 [2023-05-30T00:24:25.917Z] Removing intermediate container 3e0cb0bddc14 [2023-05-30T00:24:25.917Z] ---> 681a9dbc4348 [2023-05-30T00:24:25.917Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-30T00:24:25.917Z] ---> Running in 8442f89817ad [2023-05-30T00:24:26.193Z] Removing intermediate container 8442f89817ad [2023-05-30T00:24:26.193Z] ---> 21dca2f0e2e3 [2023-05-30T00:24:26.193Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-05-30T00:24:26.469Z] ---> Running in 33af318214e7 [2023-05-30T00:24:27.436Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-30T00:24:28.415Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-30T00:24:29.839Z] OK: 270 MiB in 61 packages [2023-05-30T00:24:30.807Z] Removing intermediate container 33af318214e7 [2023-05-30T00:24:30.807Z] ---> 908cd4241c74 [2023-05-30T00:24:30.807Z] Step 6/22 : WORKDIR /device-modbus-go [2023-05-30T00:24:30.807Z] ---> Running in 30b960fc24b0 [2023-05-30T00:24:31.078Z] Removing intermediate container 30b960fc24b0 [2023-05-30T00:24:31.078Z] ---> d12eaf7a333a [2023-05-30T00:24:31.078Z] Step 7/22 : COPY go.mod vendor* ./ [2023-05-30T00:24:31.672Z] ---> 36085d988036 [2023-05-30T00:24:31.672Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-30T00:24:31.672Z] ---> Running in c2911ae794fb [2023-05-30T00:24:34.273Z] Removing intermediate container c2911ae794fb [2023-05-30T00:24:34.273Z] ---> 129c32687ea7 [2023-05-30T00:24:34.273Z] Step 9/22 : COPY . . [2023-05-30T00:24:35.767Z] ---> ff9ad9b3f02a [2023-05-30T00:24:35.767Z] Step 10/22 : RUN ${MAKE} [2023-05-30T00:24:35.767Z] ---> Running in d5b2fe2fd881 [2023-05-30T00:24:36.758Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.45" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-05-30T00:27:13.888Z] Removing intermediate container d5b2fe2fd881 [2023-05-30T00:27:13.888Z] ---> cf9d83572aa4 [2023-05-30T00:27:13.888Z] Step 11/22 : FROM alpine:3.17 [2023-05-30T00:27:13.888Z] 3.17: Pulling from library/alpine [2023-05-30T00:27:13.888Z] c41833b44d91: Already exists [2023-05-30T00:27:13.888Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-30T00:27:13.888Z] Status: Downloaded newer image for alpine:3.17 [2023-05-30T00:27:13.888Z] ---> 51e60588ff2c [2023-05-30T00:27:13.888Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-05-30T00:27:13.888Z] ---> Running in f9dc85137e4c [2023-05-30T00:27:13.888Z] Removing intermediate container f9dc85137e4c [2023-05-30T00:27:13.888Z] ---> de75b031a351 [2023-05-30T00:27:13.888Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-05-30T00:27:13.888Z] ---> Running in 7774b52ad375 [2023-05-30T00:27:13.888Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-30T00:27:13.888Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-30T00:27:13.888Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-30T00:27:13.888Z] Executing busybox-1.35.0-r29.trigger [2023-05-30T00:27:13.888Z] OK: 8 MiB in 16 packages [2023-05-30T00:27:13.888Z] Removing intermediate container 7774b52ad375 [2023-05-30T00:27:13.888Z] ---> acce831b924d [2023-05-30T00:27:13.888Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-05-30T00:27:13.888Z] ---> 0d295f6bc3e7 [2023-05-30T00:27:13.888Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-05-30T00:27:13.888Z] ---> 20725dac99d0 [2023-05-30T00:27:13.888Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-05-30T00:27:13.888Z] ---> e351130ffdac [2023-05-30T00:27:13.888Z] Step 17/22 : EXPOSE 59901 [2023-05-30T00:27:13.888Z] ---> Running in e41fa3a2e2ea [2023-05-30T00:27:13.888Z] Removing intermediate container e41fa3a2e2ea [2023-05-30T00:27:13.888Z] ---> ca59ea750111 [2023-05-30T00:27:13.888Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-05-30T00:27:13.888Z] ---> Running in 4607623fd1e7 [2023-05-30T00:27:13.888Z] Removing intermediate container 4607623fd1e7 [2023-05-30T00:27:13.888Z] ---> e279a1702daf [2023-05-30T00:27:13.888Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-30T00:27:13.888Z] ---> Running in 6cf3d8eb3117 [2023-05-30T00:27:13.888Z] Removing intermediate container 6cf3d8eb3117 [2023-05-30T00:27:13.888Z] ---> 87e9d91292aa [2023-05-30T00:27:13.888Z] Step 20/22 : LABEL arch=arm64 [2023-05-30T00:27:13.888Z] ---> Running in 8764e624c001 [2023-05-30T00:27:13.888Z] Removing intermediate container 8764e624c001 [2023-05-30T00:27:13.888Z] ---> eb333594c380 [2023-05-30T00:27:13.888Z] Step 21/22 : LABEL git_sha=b7c00ecea16ee3fe559c969829072d5131dcac71 [2023-05-30T00:27:13.888Z] ---> Running in 24f6b9234b9d [2023-05-30T00:27:13.888Z] Removing intermediate container 24f6b9234b9d [2023-05-30T00:27:13.888Z] ---> cfb1cc101f3a [2023-05-30T00:27:13.888Z] Step 22/22 : LABEL version=3.0.0-dev.45 [2023-05-30T00:27:13.888Z] ---> Running in abeabf8a516e [2023-05-30T00:27:14.155Z] Removing intermediate container abeabf8a516e [2023-05-30T00:27:14.155Z] ---> 546c75b718c8 [2023-05-30T00:27:14.155Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-30T00:27:14.155Z] Successfully built 546c75b718c8 [2023-05-30T00:27:14.155Z] 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 [2023-05-30T00:27:14.271Z] provisioning config files... [2023-05-30T00:27:14.287Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/111@tmp/config13633367309159489511tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:27:14.627Z] ---> docker-login.sh [2023-05-30T00:27:14.627Z] nexus3.edgexfoundry.org:10001 [2023-05-30T00:27:14.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:27:14.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:27:14.894Z] Configure a credential helper to remove this warning. See [2023-05-30T00:27:14.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:27:14.894Z] [2023-05-30T00:27:14.894Z] Login Succeeded [2023-05-30T00:27:14.894Z] nexus3.edgexfoundry.org:10002 [2023-05-30T00:27:15.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:27:15.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:27:15.161Z] Configure a credential helper to remove this warning. See [2023-05-30T00:27:15.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:27:15.161Z] [2023-05-30T00:27:15.161Z] Login Succeeded [2023-05-30T00:27:15.427Z] nexus3.edgexfoundry.org:10003 [2023-05-30T00:27:15.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:27:15.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:27:15.696Z] Configure a credential helper to remove this warning. See [2023-05-30T00:27:15.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:27:15.696Z] [2023-05-30T00:27:15.696Z] Login Succeeded [2023-05-30T00:27:15.696Z] nexus3.edgexfoundry.org:10004 [2023-05-30T00:27:15.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:27:15.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:27:15.964Z] Configure a credential helper to remove this warning. See [2023-05-30T00:27:15.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:27:15.964Z] [2023-05-30T00:27:15.964Z] Login Succeeded [2023-05-30T00:27:15.964Z] docker.io [2023-05-30T00:27:16.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:27:16.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:27:16.499Z] Configure a credential helper to remove this warning. See [2023-05-30T00:27:16.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:27:16.499Z] [2023-05-30T00:27:16.499Z] Login Succeeded [2023-05-30T00:27:16.499Z] ---> docker-login.sh ends [Pipeline] } [2023-05-30T00:27:16.512Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-30T00:27:16.550Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-30T00:27:16.575Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-05-30T00:27:16.575Z] b7c00ecea16ee3fe559c969829072d5131dcac71 [2023-05-30T00:27:16.575Z] latest [2023-05-30T00:27:16.575Z] 3.0.0-dev.45 [2023-05-30T00:27:16.575Z] b7c00ecea16ee3fe559c969829072d5131dcac71-3.0.0-dev.45 [2023-05-30T00:27:16.575Z] main [2023-05-30T00:27:16.575Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:27:16.929Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:b7c00ecea16ee3fe559c969829072d5131dcac71 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:27:17.280Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:b7c00ecea16ee3fe559c969829072d5131dcac71 [2023-05-30T00:27:17.280Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-30T00:27:17.280Z] 3b3fd50a1d2a: Preparing [2023-05-30T00:27:17.280Z] d9c10192fe7e: Preparing [2023-05-30T00:27:17.280Z] 3f7b10b0343b: Preparing [2023-05-30T00:27:17.280Z] eebddc48a6ff: Preparing [2023-05-30T00:27:17.280Z] 26cbea5cba74: Preparing [2023-05-30T00:27:17.549Z] 26cbea5cba74: Layer already exists [2023-05-30T00:27:17.549Z] 3b3fd50a1d2a: Pushed [2023-05-30T00:27:17.549Z] eebddc48a6ff: Pushed [2023-05-30T00:27:17.549Z] d9c10192fe7e: Pushed [2023-05-30T00:27:22.888Z] 3f7b10b0343b: Pushed [2023-05-30T00:27:22.888Z] b7c00ecea16ee3fe559c969829072d5131dcac71: digest: sha256:0b48570e5c7d466a4a9679a5f954dfa4c1ae9dbc14ffe9d751ddd0b186f5d0a0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:27:23.240Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:27:23.580Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-05-30T00:27:23.580Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-30T00:27:23.580Z] 3b3fd50a1d2a: Preparing [2023-05-30T00:27:23.580Z] d9c10192fe7e: Preparing [2023-05-30T00:27:23.580Z] 3f7b10b0343b: Preparing [2023-05-30T00:27:23.580Z] eebddc48a6ff: Preparing [2023-05-30T00:27:23.580Z] 26cbea5cba74: Preparing [2023-05-30T00:27:23.580Z] eebddc48a6ff: Layer already exists [2023-05-30T00:27:23.580Z] 26cbea5cba74: Layer already exists [2023-05-30T00:27:23.580Z] 3b3fd50a1d2a: Layer already exists [2023-05-30T00:27:23.580Z] 3f7b10b0343b: Layer already exists [2023-05-30T00:27:23.580Z] d9c10192fe7e: Layer already exists [2023-05-30T00:27:23.580Z] latest: digest: sha256:0b48570e5c7d466a4a9679a5f954dfa4c1ae9dbc14ffe9d751ddd0b186f5d0a0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:27:24.198Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.45 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:27:24.538Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.45 [2023-05-30T00:27:24.538Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-30T00:27:24.538Z] 3b3fd50a1d2a: Preparing [2023-05-30T00:27:24.538Z] d9c10192fe7e: Preparing [2023-05-30T00:27:24.538Z] 3f7b10b0343b: Preparing [2023-05-30T00:27:24.538Z] eebddc48a6ff: Preparing [2023-05-30T00:27:24.538Z] 26cbea5cba74: Preparing [2023-05-30T00:27:24.538Z] d9c10192fe7e: Layer already exists [2023-05-30T00:27:24.538Z] 26cbea5cba74: Layer already exists [2023-05-30T00:27:24.538Z] eebddc48a6ff: Layer already exists [2023-05-30T00:27:24.538Z] 3f7b10b0343b: Layer already exists [2023-05-30T00:27:24.538Z] 3b3fd50a1d2a: Layer already exists [2023-05-30T00:27:24.538Z] 3.0.0-dev.45: digest: sha256:0b48570e5c7d466a4a9679a5f954dfa4c1ae9dbc14ffe9d751ddd0b186f5d0a0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:27:25.152Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:b7c00ecea16ee3fe559c969829072d5131dcac71-3.0.0-dev.45 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:27:25.491Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:b7c00ecea16ee3fe559c969829072d5131dcac71-3.0.0-dev.45 [2023-05-30T00:27:25.491Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-30T00:27:25.491Z] 3b3fd50a1d2a: Preparing [2023-05-30T00:27:25.491Z] d9c10192fe7e: Preparing [2023-05-30T00:27:25.491Z] 3f7b10b0343b: Preparing [2023-05-30T00:27:25.491Z] eebddc48a6ff: Preparing [2023-05-30T00:27:25.491Z] 26cbea5cba74: Preparing [2023-05-30T00:27:25.491Z] eebddc48a6ff: Layer already exists [2023-05-30T00:27:25.491Z] 3f7b10b0343b: Layer already exists [2023-05-30T00:27:25.491Z] 26cbea5cba74: Layer already exists [2023-05-30T00:27:25.491Z] d9c10192fe7e: Layer already exists [2023-05-30T00:27:25.491Z] 3b3fd50a1d2a: Layer already exists [2023-05-30T00:27:25.491Z] b7c00ecea16ee3fe559c969829072d5131dcac71-3.0.0-dev.45: digest: sha256:0b48570e5c7d466a4a9679a5f954dfa4c1ae9dbc14ffe9d751ddd0b186f5d0a0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:27:25.842Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:27:26.186Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-05-30T00:27:26.186Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-30T00:27:26.186Z] 3b3fd50a1d2a: Preparing [2023-05-30T00:27:26.186Z] d9c10192fe7e: Preparing [2023-05-30T00:27:26.186Z] 3f7b10b0343b: Preparing [2023-05-30T00:27:26.186Z] eebddc48a6ff: Preparing [2023-05-30T00:27:26.186Z] 26cbea5cba74: Preparing [2023-05-30T00:27:26.186Z] eebddc48a6ff: Layer already exists [2023-05-30T00:27:26.186Z] 3b3fd50a1d2a: Layer already exists [2023-05-30T00:27:26.186Z] 3f7b10b0343b: Layer already exists [2023-05-30T00:27:26.186Z] d9c10192fe7e: Layer already exists [2023-05-30T00:27:26.186Z] 26cbea5cba74: Layer already exists [2023-05-30T00:27:26.452Z] main: digest: sha256:0b48570e5c7d466a4a9679a5f954dfa4c1ae9dbc14ffe9d751ddd0b186f5d0a0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-30T00:27:26.506Z] ===================================================== [Pipeline] echo [2023-05-30T00:27:26.514Z] taggedImages: [2023-05-30T00:27:26.514Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:b7c00ecea16ee3fe559c969829072d5131dcac71 [2023-05-30T00:27:26.514Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-05-30T00:27:26.514Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.45 [2023-05-30T00:27:26.514Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:b7c00ecea16ee3fe559c969829072d5131dcac71-3.0.0-dev.45 [2023-05-30T00:27:26.514Z] - 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 [2023-05-30T00:27:26.876Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-30T00:27:26.877Z] [2023-05-30T00:27:26.877Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:27:27.210Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-30T00:27:27.210Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-30T00:27:27.210Z] 8998bd30e6a1: Pulling fs layer [2023-05-30T00:27:27.210Z] 04944245beec: Pulling fs layer [2023-05-30T00:27:27.210Z] 699f458cf7ca: Pulling fs layer [2023-05-30T00:27:27.210Z] 765212b225bb: Pulling fs layer [2023-05-30T00:27:27.210Z] f23df028b6ca: Pulling fs layer [2023-05-30T00:27:27.210Z] d65c8cfc05b1: Pulling fs layer [2023-05-30T00:27:27.210Z] 2437ff75d9bd: Pulling fs layer [2023-05-30T00:27:27.210Z] f23df028b6ca: Waiting [2023-05-30T00:27:27.210Z] d65c8cfc05b1: Waiting [2023-05-30T00:27:27.210Z] 2437ff75d9bd: Waiting [2023-05-30T00:27:27.210Z] 765212b225bb: Waiting [2023-05-30T00:27:27.478Z] 04944245beec: Verifying Checksum [2023-05-30T00:27:27.478Z] 04944245beec: Download complete [2023-05-30T00:27:27.478Z] 765212b225bb: Verifying Checksum [2023-05-30T00:27:27.478Z] 765212b225bb: Download complete [2023-05-30T00:27:27.478Z] f23df028b6ca: Download complete [2023-05-30T00:27:27.745Z] 699f458cf7ca: Verifying Checksum [2023-05-30T00:27:27.745Z] 699f458cf7ca: Download complete [2023-05-30T00:27:27.745Z] d65c8cfc05b1: Verifying Checksum [2023-05-30T00:27:27.745Z] d65c8cfc05b1: Download complete [2023-05-30T00:27:28.014Z] 8998bd30e6a1: Verifying Checksum [2023-05-30T00:27:28.014Z] 8998bd30e6a1: Download complete [2023-05-30T00:27:30.671Z] 2437ff75d9bd: Download complete [2023-05-30T00:27:31.756Z] 8998bd30e6a1: Pull complete [2023-05-30T00:27:32.338Z] 04944245beec: Pull complete [2023-05-30T00:27:33.749Z] 699f458cf7ca: Pull complete [2023-05-30T00:27:33.749Z] 765212b225bb: Pull complete [2023-05-30T00:27:34.711Z] f23df028b6ca: Pull complete [2023-05-30T00:27:34.711Z] d65c8cfc05b1: Pull complete [2023-05-30T00:27:49.780Z] 2437ff75d9bd: Pull complete [2023-05-30T00:27:49.780Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-30T00:27:49.780Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-30T00:27:49.780Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T00:27:50.003Z] prd-ubuntu20.04-docker-arm64-4c-16g-17221 does not seem to be running inside a container [2023-05-30T00:27:50.085Z] $ 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/111 -v /w/workspace/device-modbus-go/111:/w/workspace/device-modbus-go/111:rw,z -v /w/workspace/device-modbus-go/111@tmp:/w/workspace/device-modbus-go/111@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 [2023-05-30T00:27:53.069Z] $ docker top d7dd375cbabdedd4cd163243300aa02ef6126fdf08dd8e349d563ae835bb7f8d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:27:53.932Z] ---> job-cost.sh [2023-05-30T00:27:53.932Z] lf-activate-venv: SKIPPING [2023-05-30T00:27:53.932Z] INFO: No Stack... [2023-05-30T00:27:54.523Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-30T00:27:55.489Z] INFO: Archiving Costs [Pipeline] sh [2023-05-30T00:27:56.138Z] + + cat /w/workspace/device-modbus-go/111/archives/cost.csv [2023-05-30T00:27:56.138Z] cut -d, -f6 [Pipeline] lock [2023-05-30T00:27:56.175Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-111-stack-cost] [2023-05-30T00:27:56.181Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-111-stack-cost] did not exist. Created. [2023-05-30T00:27:56.181Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-111-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-30T00:27:56.849Z] /w/workspace/device-modbus-go/111@tmp/durable-c774a723/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-30T00:27:57.507Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-30T00:27:57.535Z] Warning: overwriting stash ‘stack-cost’ [2023-05-30T00:27:57.594Z] Stashed 1 file(s) [Pipeline] } [2023-05-30T00:27:57.604Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-111-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-30T00:27:57.624Z] $ docker stop --time=1 d7dd375cbabdedd4cd163243300aa02ef6126fdf08dd8e349d563ae835bb7f8d [2023-05-30T00:27:59.139Z] $ docker rm -f --volumes d7dd375cbabdedd4cd163243300aa02ef6126fdf08dd8e349d563ae835bb7f8d [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 [2023-05-30T00:27:59.564Z] provisioning config files... [2023-05-30T00:27:59.571Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14929538408143270410tmp [Pipeline] { [Pipeline] sh [2023-05-30T00:27:59.870Z] + set +x [2023-05-30T00:27:59.870Z] + bash -s -- [2023-05-30T00:27:59.870Z] + curl -s https://codecov.io/bash [2023-05-30T00:27:59.870Z] [2023-05-30T00:27:59.870Z] _____ _ [2023-05-30T00:27:59.870Z] / ____| | | [2023-05-30T00:27:59.870Z] | | ___ __| | ___ ___ _____ __ [2023-05-30T00:27:59.870Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-30T00:27:59.870Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-30T00:27:59.870Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-30T00:27:59.870Z] Bash-1.0.6 [2023-05-30T00:27:59.870Z] [2023-05-30T00:27:59.870Z] [2023-05-30T00:27:59.870Z] ==> git version 2.25.1 found [2023-05-30T00:27:59.870Z] ==> 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 [2023-05-30T00:27:59.870Z] Release-Date: 2020-01-08 [2023-05-30T00:27:59.870Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-05-30T00:27:59.870Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-30T00:27:59.870Z] ==> Jenkins CI detected. [2023-05-30T00:27:59.870Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-05-30T00:27:59.870Z] project root: . [2023-05-30T00:27:59.870Z] --> token set from env [2023-05-30T00:27:59.870Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-30T00:27:59.870Z] ==> Running gcov in . (disable via -X gcov) [2023-05-30T00:27:59.870Z] ==> Python coveragepy not found [2023-05-30T00:27:59.870Z] ==> Searching for coverage reports in: [2023-05-30T00:27:59.870Z] + . [2023-05-30T00:27:59.870Z] -> Found 1 reports [2023-05-30T00:27:59.870Z] ==> Detecting git/mercurial file structure [2023-05-30T00:27:59.870Z] ==> Reading reports [2023-05-30T00:28:00.129Z] + ./coverage.out bytes=24160 [2023-05-30T00:28:00.129Z] ==> Appending adjustments [2023-05-30T00:28:00.129Z] https://docs.codecov.io/docs/fixing-reports [2023-05-30T00:28:00.129Z] + Found adjustments [2023-05-30T00:28:00.129Z] ==> Gzipping contents [2023-05-30T00:28:00.129Z] 4.0K /tmp/codecov.NLdrDg.gz [2023-05-30T00:28:00.129Z] ==> Uploading reports [2023-05-30T00:28:00.129Z] url: https://codecov.io [2023-05-30T00:28:00.129Z] query: branch=main&commit=b7c00ecea16ee3fe559c969829072d5131dcac71&build=111&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F111%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-30T00:28:00.129Z] -> Pinging Codecov [2023-05-30T00:28:00.129Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=main&commit=b7c00ecea16ee3fe559c969829072d5131dcac71&build=111&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F111%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-30T00:28:00.389Z] -> Uploading to [2023-05-30T00:28:00.389Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-30/55DBCA73C666E3227836607328DD7E49/b7c00ecea16ee3fe559c969829072d5131dcac71/f1083fdb-0b8b-41fb-8abc-9720819200fa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230530%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230530T002800Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4412557c611ee86e8fa11025b738b60f8e72c7ad17a7c62a53100af910d279b7 [2023-05-30T00:28:00.389Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-30T00:28:00.389Z] Dload Upload Total Spent Left Speed [2023-05-30T00:28:00.389Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 16148 --:--:-- --:--:-- --:--:-- 16148 [2023-05-30T00:28:00.709Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/b7c00ecea16ee3fe559c969829072d5131dcac71 [Pipeline] } [2023-05-30T00:28:00.717Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-05-30T00:28:00.911Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-05-30T00:28:00.920Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:28:01.222Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-30T00:28:01.222Z] [2023-05-30T00:28:01.222Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:28:01.523Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-30T00:28:01.524Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-05-30T00:28:01.524Z] df9b9388f04a: Pulling fs layer [2023-05-30T00:28:01.524Z] 52dc419b0ee2: Pulling fs layer [2023-05-30T00:28:01.524Z] 25bc292e5bac: Pulling fs layer [2023-05-30T00:28:01.524Z] 114826534d7a: Pulling fs layer [2023-05-30T00:28:01.524Z] 4657fd5d0bcf: Pulling fs layer [2023-05-30T00:28:01.524Z] 6ad1cebc031e: Pulling fs layer [2023-05-30T00:28:01.524Z] 8a3aa393b2d8: Pulling fs layer [2023-05-30T00:28:01.524Z] 6ad1cebc031e: Waiting [2023-05-30T00:28:01.524Z] 4657fd5d0bcf: Waiting [2023-05-30T00:28:01.524Z] 8a3aa393b2d8: Waiting [2023-05-30T00:28:01.524Z] 114826534d7a: Waiting [2023-05-30T00:28:01.524Z] 25bc292e5bac: Download complete [2023-05-30T00:28:01.524Z] 52dc419b0ee2: Verifying Checksum [2023-05-30T00:28:01.524Z] 52dc419b0ee2: Download complete [2023-05-30T00:28:01.524Z] 4657fd5d0bcf: Download complete [2023-05-30T00:28:01.524Z] df9b9388f04a: Verifying Checksum [2023-05-30T00:28:01.524Z] df9b9388f04a: Download complete [2023-05-30T00:28:01.784Z] df9b9388f04a: Pull complete [2023-05-30T00:28:01.784Z] 6ad1cebc031e: Verifying Checksum [2023-05-30T00:28:01.784Z] 6ad1cebc031e: Download complete [2023-05-30T00:28:01.784Z] 52dc419b0ee2: Pull complete [2023-05-30T00:28:01.784Z] 25bc292e5bac: Pull complete [2023-05-30T00:28:02.354Z] 114826534d7a: Verifying Checksum [2023-05-30T00:28:02.354Z] 114826534d7a: Download complete [2023-05-30T00:28:02.354Z] 8a3aa393b2d8: Verifying Checksum [2023-05-30T00:28:02.354Z] 8a3aa393b2d8: Download complete [2023-05-30T00:28:05.636Z] 114826534d7a: Pull complete [2023-05-30T00:28:05.636Z] 4657fd5d0bcf: Pull complete [2023-05-30T00:28:05.894Z] 6ad1cebc031e: Pull complete [2023-05-30T00:28:08.425Z] 8a3aa393b2d8: Pull complete [2023-05-30T00:28:08.425Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-05-30T00:28:08.425Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-30T00:28:08.425Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T00:28:08.503Z] prd-ubuntu20.04-docker-8c-8g-17218 does not seem to be running inside a container [2023-05-30T00:28:08.531Z] $ 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 [2023-05-30T00:28:11.615Z] $ docker top 4fa0a043390153a9c86d5eb0efef138a38416c0da8249a9965c8ae9295cec324 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-05-30T00:28:11.684Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-05-30T00:28:11.963Z] + set -o pipefail [2023-05-30T00:28:11.963Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-05-30T00:28:16.434Z] [2023-05-30T00:28:16.434Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-05-30T00:28:16.434Z] [2023-05-30T00:28:16.434Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/e1e51352-6f13-45f8-a46e-4bb1579e3681 [2023-05-30T00:28:16.434Z] [2023-05-30T00:28:16.434Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-05-30T00:28:16.434Z] [2023-05-30T00:28:16.434Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-05-30T00:28:16.434Z] [2023-05-30T00:28:16.434Z] [2023-05-30T00:28:16.434Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-05-30T00:28:16.434Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-05-30T00:28:16.434Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-05-30T00:28:16.443Z] $ docker stop --time=1 4fa0a043390153a9c86d5eb0efef138a38416c0da8249a9965c8ae9295cec324 [2023-05-30T00:28:19.539Z] $ docker rm -f --volumes 4fa0a043390153a9c86d5eb0efef138a38416c0da8249a9965c8ae9295cec324 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-30T00:28:20.241Z] + git log --format=format:%s -1 b7c00ecea16ee3fe559c969829072d5131dcac71 [Pipeline] sh [2023-05-30T00:28:20.532Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-30T00:28:20.532Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:28:20.833Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-30T00:28:20.833Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T00:28:20.914Z] prd-ubuntu20.04-docker-8c-8g-17218 does not seem to be running inside a container [2023-05-30T00:28:20.941Z] $ 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 [2023-05-30T00:28:21.357Z] $ docker top 1a715024db1db95d2bc4cfbcc129dc003e043bbfe98e00d6efc7315adae32e25 -eo pid,comm [2023-05-30T00:28:21.411Z] 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). [2023-05-30T00:28:21.411Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-30T00:28:21.450Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-30T00:28:21.450Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-30T00:28:21.567Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-30T00:28:21.566Z] $ docker exec 1a715024db1db95d2bc4cfbcc129dc003e043bbfe98e00d6efc7315adae32e25 ssh-agent [2023-05-30T00:28:21.684Z] SSH_AUTH_SOCK=/tmp/ssh-qPFZuj0ZaLeI/agent.31 [2023-05-30T00:28:21.684Z] SSH_AGENT_PID=38 [2023-05-30T00:28:21.689Z] Running ssh-add (command line suppressed) [2023-05-30T00:28:21.782Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16268288260177039683.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16268288260177039683.key) [2023-05-30T00:28:21.800Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-30T00:28:22.085Z] + git semver tag [2023-05-30T00:28:22.343Z] 2023-05-30 00:28:22,254 [run_tag] DEBUG tag force:False [2023-05-30T00:28:22.343Z] 2023-05-30 00:28:22,255 [check_head_tag] DEBUG check head tag [2023-05-30T00:28:22.343Z] 2023-05-30 00:28:22,256 [execute] INFO git cat-file --batch-check [2023-05-30T00:28:22.343Z] 2023-05-30 00:28:22,257 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-05-30T00:28:22.343Z] 2023-05-30 00:28:22,261 [execute] INFO git cat-file --batch [2023-05-30T00:28:22.343Z] 2023-05-30 00:28:22,261 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-05-30T00:28:22.343Z] 2023-05-30 00:28:22,290 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-30T00:28:22.343Z] 2023-05-30 00:28:22,290 [execute] INFO git tag -a v3.0.0-dev.45 -m v3.0.0-dev.45 [2023-05-30T00:28:22.343Z] 2023-05-30 00:28:22,290 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.45', '-m', 'v3.0.0-dev.45'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-30T00:28:22.343Z] 2023-05-30 00:28:22,295 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-30T00:28:22.343Z] 3.0.0-dev.45 [Pipeline] } [2023-05-30T00:28:22.348Z] $ docker exec --env ******** --env ******** 1a715024db1db95d2bc4cfbcc129dc003e043bbfe98e00d6efc7315adae32e25 ssh-agent -k [2023-05-30T00:28:22.454Z] unset SSH_AUTH_SOCK; [2023-05-30T00:28:22.455Z] unset SSH_AGENT_PID; [2023-05-30T00:28:22.455Z] echo Agent pid 38 killed; [2023-05-30T00:28:22.468Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-30T00:28:22.777Z] + git semver [Pipeline] } [2023-05-30T00:28:23.047Z] $ docker stop --time=1 1a715024db1db95d2bc4cfbcc129dc003e043bbfe98e00d6efc7315adae32e25 [2023-05-30T00:28:24.331Z] $ docker rm -f --volumes 1a715024db1db95d2bc4cfbcc129dc003e043bbfe98e00d6efc7315adae32e25 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:28:24.727Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-30T00:28:24.727Z] [2023-05-30T00:28:24.727Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:28:25.019Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-30T00:28:25.019Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-30T00:28:25.019Z] ab5ef0e58194: Pulling fs layer [2023-05-30T00:28:25.019Z] 9712f1f96733: Pulling fs layer [2023-05-30T00:28:25.019Z] 63f879dbbcfc: Pulling fs layer [2023-05-30T00:28:25.019Z] 0d9ebad4ef96: Pulling fs layer [2023-05-30T00:28:25.019Z] e9a5061849ea: Pulling fs layer [2023-05-30T00:28:25.019Z] d747dcd14b5f: Pulling fs layer [2023-05-30T00:28:25.019Z] 2de7ff778b66: Pulling fs layer [2023-05-30T00:28:25.020Z] e9a5061849ea: Waiting [2023-05-30T00:28:25.020Z] d747dcd14b5f: Waiting [2023-05-30T00:28:25.020Z] 2de7ff778b66: Waiting [2023-05-30T00:28:25.020Z] 0d9ebad4ef96: Waiting [2023-05-30T00:28:25.280Z] 63f879dbbcfc: Verifying Checksum [2023-05-30T00:28:25.280Z] 63f879dbbcfc: Download complete [2023-05-30T00:28:25.539Z] 0d9ebad4ef96: Verifying Checksum [2023-05-30T00:28:25.539Z] 0d9ebad4ef96: Download complete [2023-05-30T00:28:25.539Z] ab5ef0e58194: Verifying Checksum [2023-05-30T00:28:25.539Z] ab5ef0e58194: Download complete [2023-05-30T00:28:25.539Z] e9a5061849ea: Verifying Checksum [2023-05-30T00:28:25.539Z] e9a5061849ea: Download complete [2023-05-30T00:28:25.539Z] d747dcd14b5f: Verifying Checksum [2023-05-30T00:28:25.539Z] d747dcd14b5f: Download complete [2023-05-30T00:28:25.539Z] 2de7ff778b66: Verifying Checksum [2023-05-30T00:28:25.539Z] 2de7ff778b66: Download complete [2023-05-30T00:28:28.065Z] ab5ef0e58194: Pull complete [2023-05-30T00:28:28.065Z] 9712f1f96733: Pull complete [2023-05-30T00:28:28.630Z] 63f879dbbcfc: Pull complete [2023-05-30T00:28:31.910Z] 0d9ebad4ef96: Pull complete [2023-05-30T00:28:31.910Z] e9a5061849ea: Pull complete [2023-05-30T00:28:31.910Z] d747dcd14b5f: Pull complete [2023-05-30T00:28:32.842Z] 2de7ff778b66: Pull complete [2023-05-30T00:28:32.842Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-30T00:28:32.842Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-30T00:28:32.842Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T00:28:32.924Z] prd-ubuntu20.04-docker-8c-8g-17218 does not seem to be running inside a container [2023-05-30T00:28:32.948Z] $ 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 [2023-05-30T00:28:36.793Z] $ docker top 2c8ad1b86273fd3b9b113ad8370b621442bb2c4aa52dc8f5c3535d89e3438f1d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-30T00:28:36.866Z] provisioning config files... [2023-05-30T00:28:36.872Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12272291509121453894tmp [2023-05-30T00:28:36.882Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9734051303830517187tmp [2023-05-30T00:28:36.892Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10400111263660134220tmp [Pipeline] { [Pipeline] echo [2023-05-30T00:28:36.903Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:28:37.184Z] ---> sigul-configuration.sh [2023-05-30T00:28:37.184Z] gpg: directory `/root/.gnupg' created [2023-05-30T00:28:37.184Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-30T00:28:37.184Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-30T00:28:37.184Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-30T00:28:37.184Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-30T00:28:37.184Z] gpg: CAST5 encrypted data [2023-05-30T00:28:37.184Z] gpg: encrypted with 1 passphrase [2023-05-30T00:28:37.184Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-30T00:28:37.469Z] + mkdir /home/jenkins [2023-05-30T00:28:37.469Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-30T00:28:37.755Z] + 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 [2023-05-30T00:28:37.763Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:28:38.043Z] ---> sigul-install.sh [2023-05-30T00:28:38.043Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-30T00:28:38.329Z] + git tag --list [2023-05-30T00:28:38.329Z] 0.7.1 [2023-05-30T00:28:38.329Z] v1.0.0 [2023-05-30T00:28:38.329Z] v1.1.0 [2023-05-30T00:28:38.329Z] v1.1.1 [2023-05-30T00:28:38.329Z] v1.2.2 [2023-05-30T00:28:38.329Z] v1.3.0 [2023-05-30T00:28:38.329Z] v1.3.1 [2023-05-30T00:28:38.329Z] v2.0.0 [2023-05-30T00:28:38.329Z] v2.1.0 [2023-05-30T00:28:38.329Z] v2.1.1 [2023-05-30T00:28:38.329Z] v2.1.1-dev.1 [2023-05-30T00:28:38.329Z] v2.1.1-dev.2 [2023-05-30T00:28:38.329Z] v2.1.1-dev.3 [2023-05-30T00:28:38.329Z] v2.2.0 [2023-05-30T00:28:38.329Z] v2.2.1-dev.1 [2023-05-30T00:28:38.329Z] v2.2.1-dev.2 [2023-05-30T00:28:38.329Z] v2.2.1-dev.3 [2023-05-30T00:28:38.329Z] v2.2.1-dev.4 [2023-05-30T00:28:38.329Z] v2.2.1-dev.5 [2023-05-30T00:28:38.329Z] v2.2.1-dev.6 [2023-05-30T00:28:38.329Z] v2.2.1-dev.7 [2023-05-30T00:28:38.329Z] v2.3.0 [2023-05-30T00:28:38.329Z] v2.3.0-dev.10 [2023-05-30T00:28:38.329Z] v2.3.0-dev.11 [2023-05-30T00:28:38.329Z] v2.3.0-dev.12 [2023-05-30T00:28:38.329Z] v2.3.0-dev.13 [2023-05-30T00:28:38.329Z] v2.3.0-dev.14 [2023-05-30T00:28:38.329Z] v2.3.0-dev.15 [2023-05-30T00:28:38.329Z] v2.3.0-dev.16 [2023-05-30T00:28:38.329Z] v2.3.0-dev.17 [2023-05-30T00:28:38.329Z] v2.3.0-dev.18 [2023-05-30T00:28:38.329Z] v2.3.0-dev.19 [2023-05-30T00:28:38.329Z] v2.3.0-dev.20 [2023-05-30T00:28:38.329Z] v2.3.0-dev.21 [2023-05-30T00:28:38.329Z] v2.3.0-dev.22 [2023-05-30T00:28:38.329Z] v2.3.0-dev.23 [2023-05-30T00:28:38.329Z] v2.3.0-dev.24 [2023-05-30T00:28:38.329Z] v2.3.0-dev.25 [2023-05-30T00:28:38.329Z] v2.3.0-dev.7 [2023-05-30T00:28:38.329Z] v2.3.0-dev.8 [2023-05-30T00:28:38.329Z] v2.3.0-dev.9 [2023-05-30T00:28:38.329Z] v3.0.0-dev.1 [2023-05-30T00:28:38.329Z] v3.0.0-dev.10 [2023-05-30T00:28:38.329Z] v3.0.0-dev.11 [2023-05-30T00:28:38.329Z] v3.0.0-dev.12 [2023-05-30T00:28:38.329Z] v3.0.0-dev.13 [2023-05-30T00:28:38.329Z] v3.0.0-dev.14 [2023-05-30T00:28:38.329Z] v3.0.0-dev.15 [2023-05-30T00:28:38.329Z] v3.0.0-dev.16 [2023-05-30T00:28:38.329Z] v3.0.0-dev.17 [2023-05-30T00:28:38.329Z] v3.0.0-dev.18 [2023-05-30T00:28:38.329Z] v3.0.0-dev.19 [2023-05-30T00:28:38.329Z] v3.0.0-dev.2 [2023-05-30T00:28:38.329Z] v3.0.0-dev.20 [2023-05-30T00:28:38.329Z] v3.0.0-dev.21 [2023-05-30T00:28:38.329Z] v3.0.0-dev.22 [2023-05-30T00:28:38.329Z] v3.0.0-dev.23 [2023-05-30T00:28:38.329Z] v3.0.0-dev.24 [2023-05-30T00:28:38.329Z] v3.0.0-dev.25 [2023-05-30T00:28:38.329Z] v3.0.0-dev.26 [2023-05-30T00:28:38.329Z] v3.0.0-dev.27 [2023-05-30T00:28:38.329Z] v3.0.0-dev.28 [2023-05-30T00:28:38.329Z] v3.0.0-dev.29 [2023-05-30T00:28:38.329Z] v3.0.0-dev.3 [2023-05-30T00:28:38.329Z] v3.0.0-dev.30 [2023-05-30T00:28:38.329Z] v3.0.0-dev.31 [2023-05-30T00:28:38.329Z] v3.0.0-dev.32 [2023-05-30T00:28:38.329Z] v3.0.0-dev.33 [2023-05-30T00:28:38.329Z] v3.0.0-dev.34 [2023-05-30T00:28:38.329Z] v3.0.0-dev.35 [2023-05-30T00:28:38.329Z] v3.0.0-dev.36 [2023-05-30T00:28:38.329Z] v3.0.0-dev.37 [2023-05-30T00:28:38.329Z] v3.0.0-dev.38 [2023-05-30T00:28:38.329Z] v3.0.0-dev.39 [2023-05-30T00:28:38.329Z] v3.0.0-dev.4 [2023-05-30T00:28:38.329Z] v3.0.0-dev.40 [2023-05-30T00:28:38.329Z] v3.0.0-dev.41 [2023-05-30T00:28:38.329Z] v3.0.0-dev.42 [2023-05-30T00:28:38.329Z] v3.0.0-dev.43 [2023-05-30T00:28:38.329Z] v3.0.0-dev.44 [2023-05-30T00:28:38.329Z] v3.0.0-dev.45 [2023-05-30T00:28:38.329Z] v3.0.0-dev.5 [2023-05-30T00:28:38.329Z] v3.0.0-dev.6 [2023-05-30T00:28:38.329Z] v3.0.0-dev.7 [2023-05-30T00:28:38.329Z] v3.0.0-dev.8 [2023-05-30T00:28:38.329Z] v3.0.0-dev.9 [Pipeline] sh [2023-05-30T00:28:38.616Z] + lftools sign git-tag v3.0.0-dev.45 [2023-05-30T00:28:39.182Z] Signing Git tag with Sigul... [2023-05-30T00:28:39.182Z] Signing v3.0.0-dev.45 [Pipeline] echo [2023-05-30T00:28:39.449Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:28:39.731Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-30T00:28:39.738Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-30T00:28:39.752Z] $ docker stop --time=1 2c8ad1b86273fd3b9b113ad8370b621442bb2c4aa52dc8f5c3535d89e3438f1d [2023-05-30T00:28:41.036Z] $ docker rm -f --volumes 2c8ad1b86273fd3b9b113ad8370b621442bb2c4aa52dc8f5c3535d89e3438f1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-30T00:28:41.461Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-30T00:28:41.461Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:28:41.759Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-30T00:28:41.759Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T00:28:41.827Z] prd-ubuntu20.04-docker-8c-8g-17218 does not seem to be running inside a container [2023-05-30T00:28:41.856Z] $ 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 [2023-05-30T00:28:42.197Z] $ docker top 40477841d5141b2cfe3322aa92a3df802e945c3a09c147dcb3df11185ba60831 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-30T00:28:42.285Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-30T00:28:42.285Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-30T00:28:42.406Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-30T00:28:42.405Z] $ docker exec 40477841d5141b2cfe3322aa92a3df802e945c3a09c147dcb3df11185ba60831 ssh-agent [2023-05-30T00:28:42.509Z] SSH_AUTH_SOCK=/tmp/ssh-nxqjElCjSPvf/agent.31 [2023-05-30T00:28:42.509Z] SSH_AGENT_PID=37 [2023-05-30T00:28:42.514Z] Running ssh-add (command line suppressed) [2023-05-30T00:28:42.600Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_346061567934668155.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_346061567934668155.key) [2023-05-30T00:28:42.615Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-30T00:28:42.902Z] + git semver bump pre [2023-05-30T00:28:43.163Z] 2023-05-30 00:28:43,071 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-30T00:28:43.163Z] 2023-05-30 00:28:43,072 [bump_version] DEBUG bumping version:3.0.0-dev.45 on axis:pre with prefix:dev [2023-05-30T00:28:43.163Z] 2023-05-30 00:28:43,072 [bump_version] DEBUG bumped version:3.0.0-dev.46 [2023-05-30T00:28:43.163Z] 2023-05-30 00:28:43,072 [write_version] DEBUG write version:3.0.0-dev.46 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-05-30T00:28:43.163Z] 2023-05-30 00:28:43,072 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-30T00:28:43.163Z] 2023-05-30 00:28:43,072 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-30T00:28:43.163Z] 2023-05-30 00:28:43,074 [execute] INFO git cat-file --batch-check [2023-05-30T00:28:43.163Z] 2023-05-30 00:28:43,074 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-30T00:28:43.163Z] 2023-05-30 00:28:43,079 [execute] INFO git cat-file --batch [2023-05-30T00:28:43.163Z] 2023-05-30 00:28:43,079 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-30T00:28:43.163Z] 2023-05-30 00:28:43,084 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-30T00:28:43.163Z] 3.0.0-dev.46 [Pipeline] } [2023-05-30T00:28:43.169Z] $ docker exec --env ******** --env ******** 40477841d5141b2cfe3322aa92a3df802e945c3a09c147dcb3df11185ba60831 ssh-agent -k [2023-05-30T00:28:43.259Z] unset SSH_AUTH_SOCK; [2023-05-30T00:28:43.260Z] unset SSH_AGENT_PID; [2023-05-30T00:28:43.260Z] echo Agent pid 37 killed; [2023-05-30T00:28:43.274Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-30T00:28:43.579Z] + git semver [Pipeline] } [2023-05-30T00:28:43.849Z] $ docker stop --time=1 40477841d5141b2cfe3322aa92a3df802e945c3a09c147dcb3df11185ba60831 [2023-05-30T00:28:45.112Z] $ docker rm -f --volumes 40477841d5141b2cfe3322aa92a3df802e945c3a09c147dcb3df11185ba60831 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-30T00:28:45.452Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-30T00:28:45.452Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:28:45.750Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-30T00:28:45.750Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T00:28:45.820Z] prd-ubuntu20.04-docker-8c-8g-17218 does not seem to be running inside a container [2023-05-30T00:28:45.903Z] $ 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 [2023-05-30T00:28:46.235Z] $ docker top 6ba6e5d18f01d7a128cb8babe018c9e0ec46613d0229f459cde7cb9aeb7cb1cd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-30T00:28:46.327Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-30T00:28:46.327Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-30T00:28:46.449Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-30T00:28:46.447Z] $ docker exec 6ba6e5d18f01d7a128cb8babe018c9e0ec46613d0229f459cde7cb9aeb7cb1cd ssh-agent [2023-05-30T00:28:46.552Z] SSH_AUTH_SOCK=/tmp/ssh-yJFWM5ICtrWS/agent.32 [2023-05-30T00:28:46.552Z] SSH_AGENT_PID=38 [2023-05-30T00:28:46.557Z] Running ssh-add (command line suppressed) [2023-05-30T00:28:46.663Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16390037392263758082.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16390037392263758082.key) [2023-05-30T00:28:46.696Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-30T00:28:47.023Z] + git semver push [2023-05-30T00:28:47.300Z] 2023-05-30 00:28:47,167 [run_push] DEBUG push [2023-05-30T00:28:47.300Z] 2023-05-30 00:28:47,167 [execute] INFO git cat-file --batch-check [2023-05-30T00:28:47.300Z] 2023-05-30 00:28:47,167 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-30T00:28:47.300Z] 2023-05-30 00:28:47,171 [execute] INFO git rev-list b95122475d8f6b2d526737383998b2c3bddebdbb -- [2023-05-30T00:28:47.300Z] 2023-05-30 00:28:47,171 [execute] DEBUG Popen(['git', 'rev-list', 'b95122475d8f6b2d526737383998b2c3bddebdbb', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-30T00:28:47.300Z] 2023-05-30 00:28:47,179 [execute] INFO git fetch -v origin [2023-05-30T00:28:47.300Z] 2023-05-30 00:28:47,180 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-05-30T00:28:47.885Z] 2023-05-30 00:28:47,652 [run_push] DEBUG no remote changes detected [2023-05-30T00:28:47.885Z] 2023-05-30 00:28:47,652 [execute] INFO git push origin semver [2023-05-30T00:28:47.885Z] 2023-05-30 00:28:47,652 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-30T00:28:48.458Z] 2023-05-30 00:28:48,414 [run_push] DEBUG push all version tags [2023-05-30T00:28:48.458Z] 2023-05-30 00:28:48,415 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-05-30T00:28:48.458Z] 2023-05-30 00:28:48,415 [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) [2023-05-30T00:28:49.393Z] 2023-05-30 00:28:49,191 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-30T00:28:49.393Z] 3.0.0-dev.46 [Pipeline] } [2023-05-30T00:28:49.398Z] $ docker exec --env ******** --env ******** 6ba6e5d18f01d7a128cb8babe018c9e0ec46613d0229f459cde7cb9aeb7cb1cd ssh-agent -k [2023-05-30T00:28:49.499Z] unset SSH_AUTH_SOCK; [2023-05-30T00:28:49.499Z] unset SSH_AGENT_PID; [2023-05-30T00:28:49.499Z] echo Agent pid 38 killed; [2023-05-30T00:28:49.517Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-30T00:28:49.815Z] + git semver [Pipeline] } [2023-05-30T00:28:50.084Z] $ docker stop --time=1 6ba6e5d18f01d7a128cb8babe018c9e0ec46613d0229f459cde7cb9aeb7cb1cd [2023-05-30T00:28:51.351Z] $ docker rm -f --volumes 6ba6e5d18f01d7a128cb8babe018c9e0ec46613d0229f459cde7cb9aeb7cb1cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-05-30T00:28:51.875Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-05-30T00:28:51.875Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-05-30T00:28:51.875Z] total 16 [2023-05-30T00:28:51.875Z] drwxr-xr-x 3 root root 4096 May 30 00:17 . [2023-05-30T00:28:51.875Z] drwxrwxr-x 11 jenkins jenkins 4096 May 30 00:28 .. [2023-05-30T00:28:51.875Z] drwxr-xr-x 2 root root 4096 May 30 00:17 cost [2023-05-30T00:28:51.875Z] -rw-r--r-- 1 root root 88 May 30 00:17 cost.csv [2023-05-30T00:28:51.875Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-05-30T00:28:51.875Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-05-30T00:28:51.875Z] total 16 [2023-05-30T00:28:51.875Z] drwxr-xr-x 3 jenkins jenkins 4096 May 30 00:17 . [2023-05-30T00:28:51.875Z] drwxrwxr-x 11 jenkins jenkins 4096 May 30 00:28 .. [2023-05-30T00:28:51.875Z] drwxr-xr-x 2 jenkins jenkins 4096 May 30 00:17 cost [2023-05-30T00:28:51.875Z] -rw-r--r-- 1 jenkins jenkins 88 May 30 00:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:28:52.162Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:28:53.017Z] ---> package-listing.sh [2023-05-30T00:28:53.017Z] ++ facter osfamily [2023-05-30T00:28:53.017Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-30T00:28:53.276Z] + OS_FAMILY=debian [2023-05-30T00:28:53.276Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-05-30T00:28:53.276Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-30T00:28:53.276Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-30T00:28:53.276Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-30T00:28:53.276Z] + PACKAGES=/tmp/packages_start.txt [2023-05-30T00:28:53.276Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-05-30T00:28:53.276Z] + PACKAGES=/tmp/packages_end.txt [2023-05-30T00:28:53.276Z] + case "${OS_FAMILY}" in [2023-05-30T00:28:53.276Z] + dpkg -l [2023-05-30T00:28:53.276Z] + grep '^ii' [2023-05-30T00:28:53.276Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-30T00:28:53.276Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-30T00:28:53.276Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-30T00:28:53.276Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-05-30T00:28:53.276Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-05-30T00:28:53.276Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2023-05-30T00:28:53.287Z] 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 [2023-05-30T00:28:53.565Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:28:54.120Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-30T00:28:54.120Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T00:28:54.184Z] prd-ubuntu20.04-docker-8c-8g-17218 does not seem to be running inside a container [2023-05-30T00:28:54.210Z] $ 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 [2023-05-30T00:28:54.398Z] $ docker top 235cda3710b3f866d20390f50ab2d4f70ffa6573fd292425fa1de114153b8b4c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-30T00:28:54.744Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-30T00:28:55.028Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-30T00:28:55.311Z] + ls /var/log/sa-host [2023-05-30T00:28:55.312Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-30T00:28:55.385Z] provisioning config files... [2023-05-30T00:28:55.392Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16677456833329517615tmp [Pipeline] { [Pipeline] echo [2023-05-30T00:28:55.404Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:28:55.690Z] ---> create-netrc.sh [Pipeline] } [2023-05-30T00:28:55.698Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:28:56.019Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-30T00:28:56.028Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:28:56.311Z] ---> sudo-logs.sh [2023-05-30T00:28:56.311Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-30T00:28:56.340Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:28:56.627Z] ---> job-cost.sh [2023-05-30T00:28:56.627Z] lf-activate-venv: SKIPPING [2023-05-30T00:28:56.627Z] DEBUG: total: 0.2199999988079071 [2023-05-30T00:28:56.627Z] INFO: Retrieving Stack Cost... [2023-05-30T00:28:56.887Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-30T00:28:57.456Z] INFO: Archiving Costs [Pipeline] echo [2023-05-30T00:28:57.468Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:28:57.749Z] ---> logs-deploy.sh [2023-05-30T00:28:57.749Z] lf-activate-venv: SKIPPING [2023-05-30T00:28:57.749Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/111 [2023-05-30T00:28:57.749Z] INFO: archiving workspace using pattern(s): [2023-05-30T00:28:58.690Z] Archives upload complete. [2023-05-30T00:28:58.690Z] INFO: archiving logs to Nexus