Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 65be627d22220786ca580fff7b0bf73c9ac4aaab 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-ssh16691701386462624888.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh13567270786356963141.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh2100887494452240975.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh4890220148633666579.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-ssh15569008036657347943.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5781 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 65be627d22220786ca580fff7b0bf73c9ac4aaab (main) Commit message: "Merge pull request #499 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.20" > 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 65be627d22220786ca580fff7b0bf73c9ac4aaab # timeout=10 > git rev-list --no-walk 1acbf7f5d5843a7481e353b92dd344f6df368a1e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-11T07:56:14.332Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-11T07:56:14.402Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-11T07:56:14.421Z] ========================================================= [2023-09-11T07:56:14.421Z] EdgeX Global Pipelines Version Info [2023-09-11T07:56:14.421Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-11T07:56:15.513Z] ------------------- [2023-09-11T07:56:15.513Z] stable info: [2023-09-11T07:56:15.513Z] ------------------- [2023-09-11T07:56:15.513Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-11T07:56:15.513Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-11T07:56:15.513Z] Message: update stable to v1.0.253 [2023-09-11T07:56:15.773Z] ------------------- [2023-09-11T07:56:15.773Z] experimental info: [2023-09-11T07:56:15.773Z] ------------------- [2023-09-11T07:56:15.773Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-11T07:56:15.773Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-11T07:56:15.773Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-11T07:56:15.931Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-09-11T07:56:15.940Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-09-11T07:56:15.949Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-11T07:56:15.958Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-11T07:56:15.967Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-11T07:56:15.975Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-09-11T07:56:15.984Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-11T07:56:15.993Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-11T07:56:16.001Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-11T07:56:16.011Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-11T07:56:16.035Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-11T07:56:16.052Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-09-11T07:56:16.070Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-11T07:56:16.087Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-11T07:56:16.099Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-11T07:56:16.116Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-11T07:56:16.134Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-11T07:56:16.145Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-11T07:56:16.161Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-11T07:56:16.180Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-11T07:56:16.197Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-11T07:56:16.219Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-11T07:56:16.240Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-11T07:56:16.260Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-11T07:56:16.277Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-11T07:56:16.295Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-11T07:56:16.313Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-11T07:56:16.332Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-11T07:56:16.352Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-11T07:56:16.369Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-11T07:56:16.389Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 65be627d22220786ca580fff7b0bf73c9ac4aaab [Pipeline] echo [2023-09-11T07:56:16.403Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 65be627 [Pipeline] echo [2023-09-11T07:56:16.421Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-11T07:56:16.464Z] provisioning config files... [2023-09-11T07:56:16.480Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3777508375060619252tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T07:56:16.790Z] ---> docker-login.sh [2023-09-11T07:56:16.791Z] nexus3.edgexfoundry.org:10001 [2023-09-11T07:56:17.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T07:56:17.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T07:56:17.051Z] Configure a credential helper to remove this warning. See [2023-09-11T07:56:17.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T07:56:17.051Z] [2023-09-11T07:56:17.051Z] Login Succeeded [2023-09-11T07:56:17.051Z] nexus3.edgexfoundry.org:10002 [2023-09-11T07:56:17.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T07:56:17.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T07:56:17.311Z] Configure a credential helper to remove this warning. See [2023-09-11T07:56:17.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T07:56:17.311Z] [2023-09-11T07:56:17.311Z] Login Succeeded [2023-09-11T07:56:17.311Z] nexus3.edgexfoundry.org:10003 [2023-09-11T07:56:17.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T07:56:17.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T07:56:17.311Z] Configure a credential helper to remove this warning. See [2023-09-11T07:56:17.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T07:56:17.311Z] [2023-09-11T07:56:17.311Z] Login Succeeded [2023-09-11T07:56:17.311Z] nexus3.edgexfoundry.org:10004 [2023-09-11T07:56:17.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T07:56:17.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T07:56:17.570Z] Configure a credential helper to remove this warning. See [2023-09-11T07:56:17.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T07:56:17.570Z] [2023-09-11T07:56:17.570Z] Login Succeeded [2023-09-11T07:56:17.570Z] docker.io [2023-09-11T07:56:17.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T07:56:17.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T07:56:17.831Z] Configure a credential helper to remove this warning. See [2023-09-11T07:56:17.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T07:56:17.831Z] [2023-09-11T07:56:17.831Z] Login Succeeded [2023-09-11T07:56:17.831Z] ---> docker-login.sh ends [Pipeline] } [2023-09-11T07:56:17.839Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-11T07:56:18.208Z] + git rev-list -1 --merges 65be627d22220786ca580fff7b0bf73c9ac4aaab~1..65be627d22220786ca580fff7b0bf73c9ac4aaab [Pipeline] echo [2023-09-11T07:56:18.253Z] -----------> git rev-list -1 --merges 65be627d22220786ca580fff7b0bf73c9ac4aaab~1..65be627d22220786ca580fff7b0bf73c9ac4aaab 65be627d22220786ca580fff7b0bf73c9ac4aaab [2023-09-11T07:56:18.253Z] 65be627d22220786ca580fff7b0bf73c9ac4aaab [false] [Pipeline] sh [2023-09-11T07:56:18.566Z] + git log --format=format:%s -1 65be627d22220786ca580fff7b0bf73c9ac4aaab [Pipeline] echo [2023-09-11T07:56:18.584Z] ========================================================= [2023-09-11T07:56:18.584Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-11T07:56:18.584Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-11T07:56:18.928Z] + git log --format=format:%s -1 65be627d22220786ca580fff7b0bf73c9ac4aaab [Pipeline] echo [2023-09-11T07:56:18.939Z] [semverPrep] GIT_COMMIT: 65be627d22220786ca580fff7b0bf73c9ac4aaab, Commit Message: Merge pull request #499 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.20 [Pipeline] echo [2023-09-11T07:56:18.949Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-11T07:56:19.327Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-11T07:56:19.328Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-11T07:56:19.328Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-11T07:56:19.328Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-11T07:56:19.328Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-11T07:56:19.328Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-11T07:56:19.328Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T07:56:19.797Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T07:56:19.797Z] [2023-09-11T07:56:19.797Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T07:56:20.097Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T07:56:20.097Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-11T07:56:20.097Z] b85a868b505f: Pulling fs layer [2023-09-11T07:56:20.097Z] e2be974225ed: Pulling fs layer [2023-09-11T07:56:20.097Z] 339a4e72a1f5: Pulling fs layer [2023-09-11T07:56:20.097Z] 988bab9f4d93: Pulling fs layer [2023-09-11T07:56:20.097Z] 1469e6f7b9e6: Pulling fs layer [2023-09-11T07:56:20.097Z] eaf3925da568: Pulling fs layer [2023-09-11T07:56:20.097Z] bab4dde63d76: Pulling fs layer [2023-09-11T07:56:20.097Z] bde34c3a00c8: Pulling fs layer [2023-09-11T07:56:20.097Z] b352a97aabf1: Pulling fs layer [2023-09-11T07:56:20.097Z] 4872d77fe225: Pulling fs layer [2023-09-11T07:56:20.097Z] 5851b861e8e6: Pulling fs layer [2023-09-11T07:56:20.097Z] bde34c3a00c8: Waiting [2023-09-11T07:56:20.097Z] 988bab9f4d93: Waiting [2023-09-11T07:56:20.097Z] 1469e6f7b9e6: Waiting [2023-09-11T07:56:20.097Z] eaf3925da568: Waiting [2023-09-11T07:56:20.097Z] b352a97aabf1: Waiting [2023-09-11T07:56:20.097Z] 4872d77fe225: Waiting [2023-09-11T07:56:20.097Z] bab4dde63d76: Waiting [2023-09-11T07:56:20.097Z] 5851b861e8e6: Waiting [2023-09-11T07:56:20.097Z] e2be974225ed: Verifying Checksum [2023-09-11T07:56:20.097Z] e2be974225ed: Download complete [2023-09-11T07:56:20.097Z] 988bab9f4d93: Verifying Checksum [2023-09-11T07:56:20.097Z] 988bab9f4d93: Download complete [2023-09-11T07:56:20.097Z] 1469e6f7b9e6: Verifying Checksum [2023-09-11T07:56:20.097Z] 1469e6f7b9e6: Download complete [2023-09-11T07:56:20.356Z] eaf3925da568: Verifying Checksum [2023-09-11T07:56:20.356Z] eaf3925da568: Download complete [2023-09-11T07:56:20.356Z] 339a4e72a1f5: Verifying Checksum [2023-09-11T07:56:20.356Z] 339a4e72a1f5: Download complete [2023-09-11T07:56:20.356Z] bde34c3a00c8: Verifying Checksum [2023-09-11T07:56:20.356Z] bde34c3a00c8: Download complete [2023-09-11T07:56:20.356Z] b352a97aabf1: Verifying Checksum [2023-09-11T07:56:20.356Z] b352a97aabf1: Download complete [2023-09-11T07:56:20.356Z] 4872d77fe225: Verifying Checksum [2023-09-11T07:56:20.356Z] 4872d77fe225: Download complete [2023-09-11T07:56:20.356Z] 5851b861e8e6: Verifying Checksum [2023-09-11T07:56:20.356Z] 5851b861e8e6: Download complete [2023-09-11T07:56:20.356Z] b85a868b505f: Verifying Checksum [2023-09-11T07:56:20.356Z] b85a868b505f: Download complete [2023-09-11T07:56:20.617Z] bab4dde63d76: Verifying Checksum [2023-09-11T07:56:20.617Z] bab4dde63d76: Download complete [2023-09-11T07:56:21.635Z] b85a868b505f: Pull complete [2023-09-11T07:56:21.895Z] e2be974225ed: Pull complete [2023-09-11T07:56:22.157Z] 339a4e72a1f5: Pull complete [2023-09-11T07:56:22.157Z] 988bab9f4d93: Pull complete [2023-09-11T07:56:22.467Z] 1469e6f7b9e6: Pull complete [2023-09-11T07:56:22.727Z] eaf3925da568: Pull complete [2023-09-11T07:56:24.639Z] bab4dde63d76: Pull complete [2023-09-11T07:56:24.639Z] bde34c3a00c8: Pull complete [2023-09-11T07:56:24.639Z] b352a97aabf1: Pull complete [2023-09-11T07:56:24.639Z] 4872d77fe225: Pull complete [2023-09-11T07:56:24.639Z] 5851b861e8e6: Pull complete [2023-09-11T07:56:24.639Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-11T07:56:24.639Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T07:56:24.900Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T07:56:24.997Z] prd-ubuntu20.04-docker-8c-8g-5781 does not seem to be running inside a container [2023-09-11T07:56:25.037Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-11T07:56:28.668Z] $ docker top 8c074685fd0fb19db78b67bcef48b4aab83f4bcfda568823b232a1b8c61a73ee -eo pid,comm [2023-09-11T07:56:28.722Z] 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-09-11T07:56:28.722Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-11T07:56:28.758Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-11T07:56:28.758Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-11T07:56:28.871Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-11T07:56:28.880Z] $ docker exec 8c074685fd0fb19db78b67bcef48b4aab83f4bcfda568823b232a1b8c61a73ee ssh-agent [2023-09-11T07:56:28.991Z] SSH_AUTH_SOCK=/tmp/ssh-QU41zvCGhbHw/agent.31 [2023-09-11T07:56:28.991Z] SSH_AGENT_PID=37 [2023-09-11T07:56:29.002Z] Running ssh-add (command line suppressed) [2023-09-11T07:56:29.120Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10441683168722775135.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10441683168722775135.key) [2023-09-11T07:56:29.132Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-11T07:56:29.422Z] + git tag --points-at HEAD [Pipeline] } [2023-09-11T07:56:29.445Z] $ docker exec --env ******** --env ******** 8c074685fd0fb19db78b67bcef48b4aab83f4bcfda568823b232a1b8c61a73ee ssh-agent -k [2023-09-11T07:56:29.543Z] unset SSH_AUTH_SOCK; [2023-09-11T07:56:29.543Z] unset SSH_AGENT_PID; [2023-09-11T07:56:29.543Z] echo Agent pid 37 killed; [2023-09-11T07:56:29.549Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-11T07:56:29.575Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-11T07:56:29.575Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-11T07:56:29.678Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-11T07:56:29.684Z] $ docker exec 8c074685fd0fb19db78b67bcef48b4aab83f4bcfda568823b232a1b8c61a73ee ssh-agent [2023-09-11T07:56:29.788Z] SSH_AUTH_SOCK=/tmp/ssh-NR6fQ3Mh3Ous/agent.69 [2023-09-11T07:56:29.788Z] SSH_AGENT_PID=75 [2023-09-11T07:56:29.793Z] Running ssh-add (command line suppressed) [2023-09-11T07:56:29.907Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3398780911655058856.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3398780911655058856.key) [2023-09-11T07:56:29.917Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-11T07:56:30.204Z] + git semver init [2023-09-11T07:56:30.463Z] 2023-09-11 07:56:30,381 [run_init] DEBUG init version:0.0.0 force:False [2023-09-11T07:56:30.463Z] 2023-09-11 07:56:30,382 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-09-11T07:56:30.463Z] 2023-09-11 07:56:30,382 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-09-11T07:56:30.463Z] 2023-09-11 07:56:30,382 [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-09-11T07:56:31.401Z] 2023-09-11 07:56:31,183 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-09-11T07:56:31.401Z] 2023-09-11 07:56:31,184 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-09-11T07:56:31.401Z] 2023-09-11 07:56:31,184 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-11T07:56:31.401Z] 2023-09-11 07:56:31,184 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-11T07:56:31.401Z] 3.1.0-dev.8 [Pipeline] } [2023-09-11T07:56:31.413Z] $ docker exec --env ******** --env ******** 8c074685fd0fb19db78b67bcef48b4aab83f4bcfda568823b232a1b8c61a73ee ssh-agent -k [2023-09-11T07:56:31.524Z] unset SSH_AUTH_SOCK; [2023-09-11T07:56:31.524Z] unset SSH_AGENT_PID; [2023-09-11T07:56:31.525Z] echo Agent pid 75 killed; [2023-09-11T07:56:31.535Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-11T07:56:31.851Z] + git semver [Pipeline] } [2023-09-11T07:56:32.127Z] $ docker stop --time=1 8c074685fd0fb19db78b67bcef48b4aab83f4bcfda568823b232a1b8c61a73ee [2023-09-11T07:56:33.430Z] $ docker rm -f --volumes 8c074685fd0fb19db78b67bcef48b4aab83f4bcfda568823b232a1b8c61a73ee [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-11T07:56:33.766Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-11T07:56:33.964Z] Stashed 1 file(s) [Pipeline] echo [2023-09-11T07:56:33.967Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.8 [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-09-11T07:56:34.081Z] provisioning config files... [2023-09-11T07:56:34.091Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10313662942689620216tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T07:56:34.385Z] ---> docker-login.sh [2023-09-11T07:56:34.386Z] nexus3.edgexfoundry.org:10001 [2023-09-11T07:56:34.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T07:56:34.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T07:56:34.386Z] Configure a credential helper to remove this warning. See [2023-09-11T07:56:34.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T07:56:34.386Z] [2023-09-11T07:56:34.386Z] Login Succeeded [2023-09-11T07:56:34.386Z] nexus3.edgexfoundry.org:10002 [2023-09-11T07:56:34.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T07:56:34.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T07:56:34.386Z] Configure a credential helper to remove this warning. See [2023-09-11T07:56:34.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T07:56:34.386Z] [2023-09-11T07:56:34.386Z] Login Succeeded [2023-09-11T07:56:34.386Z] nexus3.edgexfoundry.org:10003 [2023-09-11T07:56:34.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T07:56:34.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T07:56:34.645Z] Configure a credential helper to remove this warning. See [2023-09-11T07:56:34.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T07:56:34.645Z] [2023-09-11T07:56:34.645Z] Login Succeeded [2023-09-11T07:56:34.645Z] nexus3.edgexfoundry.org:10004 [2023-09-11T07:56:34.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T07:56:34.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T07:56:34.645Z] Configure a credential helper to remove this warning. See [2023-09-11T07:56:34.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T07:56:34.645Z] [2023-09-11T07:56:34.645Z] Login Succeeded [2023-09-11T07:56:34.645Z] docker.io [2023-09-11T07:56:34.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T07:56:34.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T07:56:34.907Z] Configure a credential helper to remove this warning. See [2023-09-11T07:56:34.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T07:56:34.907Z] [2023-09-11T07:56:34.907Z] Login Succeeded [2023-09-11T07:56:34.907Z] ---> docker-login.sh ends [Pipeline] } [2023-09-11T07:56:34.913Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-11T07:56:34.971Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T07:56:34.982Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T07:56:34.989Z] ========================================================= [2023-09-11T07:56:34.989Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-09-11T07:56:34.989Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T07:56:35.291Z] + 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-09-11T07:56:35.292Z] Sending build context to Docker daemon 6.416MB [2023-09-11T07:56:35.292Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-09-11T07:56:35.292Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-11T07:56:35.292Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-11T07:56:35.292Z] 4db1b89c0bd1: Pulling fs layer [2023-09-11T07:56:35.292Z] 6911f1a30b25: Pulling fs layer [2023-09-11T07:56:35.292Z] e194b8c5c2a9: Pulling fs layer [2023-09-11T07:56:35.292Z] 6863d3e3a2b1: Pulling fs layer [2023-09-11T07:56:35.292Z] ec0bb842ea78: Pulling fs layer [2023-09-11T07:56:35.292Z] 40a00589a448: Pulling fs layer [2023-09-11T07:56:35.292Z] 6c08303d61cc: Pulling fs layer [2023-09-11T07:56:35.292Z] 798269fcf238: Pulling fs layer [2023-09-11T07:56:35.292Z] 6863d3e3a2b1: Waiting [2023-09-11T07:56:35.292Z] ec0bb842ea78: Waiting [2023-09-11T07:56:35.292Z] 40a00589a448: Waiting [2023-09-11T07:56:35.292Z] 6911f1a30b25: Download complete [2023-09-11T07:56:35.292Z] 6863d3e3a2b1: Verifying Checksum [2023-09-11T07:56:35.292Z] 6863d3e3a2b1: Download complete [2023-09-11T07:56:35.292Z] ec0bb842ea78: Verifying Checksum [2023-09-11T07:56:35.292Z] ec0bb842ea78: Download complete [2023-09-11T07:56:35.551Z] 4db1b89c0bd1: Verifying Checksum [2023-09-11T07:56:35.551Z] 4db1b89c0bd1: Download complete [2023-09-11T07:56:35.551Z] 40a00589a448: Verifying Checksum [2023-09-11T07:56:35.551Z] 40a00589a448: Download complete [2023-09-11T07:56:35.551Z] 4db1b89c0bd1: Pull complete [2023-09-11T07:56:35.811Z] 6911f1a30b25: Pull complete [2023-09-11T07:56:36.070Z] 798269fcf238: Verifying Checksum [2023-09-11T07:56:36.070Z] 798269fcf238: Download complete [2023-09-11T07:56:36.070Z] e194b8c5c2a9: Verifying Checksum [2023-09-11T07:56:36.070Z] e194b8c5c2a9: Download complete [2023-09-11T07:56:36.329Z] 6c08303d61cc: Verifying Checksum [2023-09-11T07:56:36.329Z] 6c08303d61cc: Download complete [2023-09-11T07:56:39.613Z] e194b8c5c2a9: Pull complete [2023-09-11T07:56:39.613Z] 6863d3e3a2b1: Pull complete [2023-09-11T07:56:39.613Z] ec0bb842ea78: Pull complete [2023-09-11T07:56:39.613Z] 40a00589a448: Pull complete [2023-09-11T07:56:41.515Z] 6c08303d61cc: Pull complete [2023-09-11T07:56:42.454Z] 798269fcf238: Pull complete [2023-09-11T07:56:42.454Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-09-11T07:56:42.454Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-09-11T07:56:42.454Z] ---> ec979cd7f677 [2023-09-11T07:56:42.454Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-09-11T07:56:47.843Z] ---> Running in 0144a59ab2dc [2023-09-11T07:56:47.843Z] Removing intermediate container 0144a59ab2dc [2023-09-11T07:56:47.843Z] ---> f1ffe57337af [2023-09-11T07:56:47.843Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-11T07:56:47.843Z] ---> Running in 03c54683e90a [2023-09-11T07:56:48.102Z] Removing intermediate container 03c54683e90a [2023-09-11T07:56:48.102Z] ---> f4c099bcb7bb [2023-09-11T07:56:48.102Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-09-11T07:56:48.102Z] ---> Running in b507296800dd [2023-09-11T07:56:48.361Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-11T07:56:48.619Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-11T07:56:48.879Z] (1/8) Installing openssh-keygen (9.1_p1-r4) [2023-09-11T07:56:48.879Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-09-11T07:56:48.879Z] (3/8) Installing openssh-client-common (9.1_p1-r4) [2023-09-11T07:56:48.879Z] (4/8) Installing openssh-client-default (9.1_p1-r4) [2023-09-11T07:56:48.879Z] (5/8) Installing openssh-sftp-server (9.1_p1-r4) [2023-09-11T07:56:48.879Z] (6/8) Installing openssh-server-common (9.1_p1-r4) [2023-09-11T07:56:48.879Z] (7/8) Installing openssh-server (9.1_p1-r4) [2023-09-11T07:56:48.879Z] (8/8) Installing openssh (9.1_p1-r4) [2023-09-11T07:56:48.879Z] Executing busybox-1.35.0-r29.trigger [2023-09-11T07:56:48.879Z] OK: 270 MiB in 61 packages [2023-09-11T07:56:49.046Z] Still waiting to schedule task [2023-09-11T07:56:49.047Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-11T07:56:49.446Z] Removing intermediate container b507296800dd [2023-09-11T07:56:49.446Z] ---> d4821e66c470 [2023-09-11T07:56:49.446Z] Step 6/10 : WORKDIR /device-modbus-go [2023-09-11T07:56:49.446Z] ---> Running in 4c63a3b159dd [2023-09-11T07:56:49.446Z] Removing intermediate container 4c63a3b159dd [2023-09-11T07:56:49.446Z] ---> 48ddb1cf9a06 [2023-09-11T07:56:49.446Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-11T07:56:49.705Z] ---> 5c3360815c36 [2023-09-11T07:56:49.705Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-11T07:56:49.705Z] ---> Running in 397881d6adf9 [2023-09-11T07:57:36.462Z] Removing intermediate container 397881d6adf9 [2023-09-11T07:57:36.462Z] ---> dc039f585f7a [2023-09-11T07:57:36.462Z] Step 9/10 : COPY . . [2023-09-11T07:57:37.030Z] ---> ccdc483fc0d3 [2023-09-11T07:57:37.030Z] Step 10/10 : RUN ${MAKE} [2023-09-11T07:57:37.030Z] ---> Running in 25f3a033ea3c [2023-09-11T07:57:37.289Z] noop [2023-09-11T07:57:37.556Z] Removing intermediate container 25f3a033ea3c [2023-09-11T07:57:37.556Z] ---> c1fd63520705 [2023-09-11T07:57:37.556Z] Successfully built c1fd63520705 [2023-09-11T07:57:37.816Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T07:57:38.133Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-11T07:57:38.133Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T07:57:38.208Z] prd-ubuntu20.04-docker-8c-8g-5781 does not seem to be running inside a container [2023-09-11T07:57:38.242Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-11T07:57:38.612Z] $ docker top b6359cba2abcc48d012bfcbe6be0fff95deb5069704ef6b1551d8ce509c30901 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-11T07:57:38.958Z] + go version [2023-09-11T07:57:38.958Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-09-11T07:57:38.970Z] $ docker stop --time=1 b6359cba2abcc48d012bfcbe6be0fff95deb5069704ef6b1551d8ce509c30901 [2023-09-11T07:57:40.244Z] $ docker rm -f --volumes b6359cba2abcc48d012bfcbe6be0fff95deb5069704ef6b1551d8ce509c30901 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T07:57:40.624Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-11T07:57:40.624Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T07:57:40.693Z] prd-ubuntu20.04-docker-8c-8g-5781 does not seem to be running inside a container [2023-09-11T07:57:40.732Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-11T07:57:41.101Z] $ docker top 508722949aecec64139e95a961e0745dd41765eee4234e5f33aa75960603b2e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-11T07:57:41.441Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-11T07:57:41.732Z] + make test [2023-09-11T07:57:41.732Z] go test ./... -coverprofile=coverage.out [2023-09-11T07:57:47.003Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-09-11T07:57:56.961Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-09-11T07:57:56.961Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.018s coverage: 47.9% of statements [2023-09-11T07:58:02.221Z] go vet ./... [2023-09-11T07:58:06.401Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-11T07:58:06.401Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-11T07:58:06.401Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-11T07:58:06.411Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-11T07:58:06.426Z] $ docker stop --time=1 508722949aecec64139e95a961e0745dd41765eee4234e5f33aa75960603b2e1 [2023-09-11T07:58:10.914Z] $ docker rm -f --volumes 508722949aecec64139e95a961e0745dd41765eee4234e5f33aa75960603b2e1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-11T07:58:11.383Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-11T07:58:11.426Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-11T07:58:11.949Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-11T07:58:12.230Z] + ls -al . [2023-09-11T07:58:12.230Z] total 192 [2023-09-11T07:58:12.230Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 11 07:57 . [2023-09-11T07:58:12.230Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 07:56 .. [2023-09-11T07:58:12.230Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 11 07:56 .dockerignore [2023-09-11T07:58:12.230Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 07:56 .git [2023-09-11T07:58:12.230Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 07:56 .github [2023-09-11T07:58:12.230Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 11 07:56 .gitignore [2023-09-11T07:58:12.230Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 11 07:56 .golangci.yml [2023-09-11T07:58:12.230Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 11 07:56 .semver [2023-09-11T07:58:12.230Z] -rw-rw-r-- 1 jenkins jenkins 11101 Sep 11 07:56 Attribution.txt [2023-09-11T07:58:12.230Z] -rw-rw-r-- 1 jenkins jenkins 14764 Sep 11 07:56 CHANGELOG.md [2023-09-11T07:58:12.230Z] -rw-rw-r-- 1 jenkins jenkins 1365 Sep 11 07:56 Dockerfile [2023-09-11T07:58:12.230Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 11 07:56 GOVERNANCE.md [2023-09-11T07:58:12.230Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 11 07:56 Jenkinsfile [2023-09-11T07:58:12.230Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 11 07:56 LICENSE [2023-09-11T07:58:12.230Z] -rw-rw-r-- 1 jenkins jenkins 1936 Sep 11 07:56 Makefile [2023-09-11T07:58:12.230Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 11 07:56 OWNERS.md [2023-09-11T07:58:12.230Z] -rw-rw-r-- 1 jenkins jenkins 4578 Sep 11 07:56 README.md [2023-09-11T07:58:12.230Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 11 07:56 VERSION [2023-09-11T07:58:12.230Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 07:56 bin [2023-09-11T07:58:12.230Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 07:56 cmd [2023-09-11T07:58:12.230Z] -rw-r--r-- 1 jenkins jenkins 24334 Sep 11 07:57 coverage.out [2023-09-11T07:58:12.230Z] -rw-rw-r-- 1 jenkins jenkins 3940 Sep 11 07:56 go.mod [2023-09-11T07:58:12.230Z] -rw-rw-r-- 1 jenkins jenkins 34434 Sep 11 07:56 go.sum [2023-09-11T07:58:12.230Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 07:56 internal [2023-09-11T07:58:12.230Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 07:56 simulator [2023-09-11T07:58:12.230Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 07:56 snap [2023-09-11T07:58:12.230Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 11 07:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T07:58:12.536Z] + 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=65be627d22220786ca580fff7b0bf73c9ac4aaab --label arch=amd64 --label version=3.1.0-dev.8 . [2023-09-11T07:58:12.536Z] Sending build context to Docker daemon 6.441MB [2023-09-11T07:58:12.536Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-09-11T07:58:12.536Z] Step 2/22 : FROM ${BASE} AS builder [2023-09-11T07:58:12.536Z] ---> c1fd63520705 [2023-09-11T07:58:12.536Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-09-11T07:58:12.696Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5782 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-09-11T07:58:12.709Z] Running in /w/workspace/device-modbus-go/122 [Pipeline] { [Pipeline] checkout [2023-09-11T07:58:12.770Z] Selected Git installation does not exist. Using Default [2023-09-11T07:58:12.770Z] The recommended git tool is: NONE [2023-09-11T07:58:12.795Z] ---> Running in add83648e9dc [2023-09-11T07:58:12.795Z] Removing intermediate container add83648e9dc [2023-09-11T07:58:12.795Z] ---> f5530c76d5e4 [2023-09-11T07:58:12.795Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-11T07:58:12.795Z] ---> Running in 37f709faf6fb [2023-09-11T07:58:13.054Z] Removing intermediate container 37f709faf6fb [2023-09-11T07:58:13.054Z] ---> 6b55db228c19 [2023-09-11T07:58:13.054Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-09-11T07:58:13.054Z] ---> Running in 38e5e50319a3 [2023-09-11T07:58:13.313Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-11T07:58:13.313Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-11T07:58:13.624Z] OK: 270 MiB in 61 packages [2023-09-11T07:58:13.902Z] Removing intermediate container 38e5e50319a3 [2023-09-11T07:58:13.902Z] ---> 8f5a375ede39 [2023-09-11T07:58:13.902Z] Step 6/22 : WORKDIR /device-modbus-go [2023-09-11T07:58:13.902Z] ---> Running in f7a704153cbe [2023-09-11T07:58:14.182Z] Removing intermediate container f7a704153cbe [2023-09-11T07:58:14.182Z] ---> c2f2a703d3eb [2023-09-11T07:58:14.182Z] Step 7/22 : COPY go.mod vendor* ./ [2023-09-11T07:58:14.182Z] ---> 8d17d4af7c32 [2023-09-11T07:58:14.182Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-11T07:58:14.182Z] ---> Running in 3b66fa865d0a [2023-09-11T07:58:14.780Z] Removing intermediate container 3b66fa865d0a [2023-09-11T07:58:14.780Z] ---> dfa12a6c5204 [2023-09-11T07:58:14.780Z] Step 9/22 : COPY . . [2023-09-11T07:58:15.449Z] ---> 62dcee042443 [2023-09-11T07:58:15.449Z] Step 10/22 : RUN ${MAKE} [2023-09-11T07:58:15.449Z] ---> Running in 6e4921dd3dd8 [2023-09-11T07:58:15.449Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-09-11T07:58:17.518Z] using credential edgex-jenkins-ssh [2023-09-11T07:58:17.535Z] Cloning the remote Git repository [2023-09-11T07:58:17.574Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-09-11T07:58:17.657Z] > git init /w/workspace/device-modbus-go/122 # timeout=10 [2023-09-11T07:58:17.793Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-09-11T07:58:17.794Z] > git --version # timeout=10 [2023-09-11T07:58:17.821Z] > git --version # 'git version 2.25.1' [2023-09-11T07:58:17.823Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-11T07:58:17.976Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-11T07:58:19.900Z] Avoid second fetch [2023-09-11T07:58:19.901Z] Checking out Revision 65be627d22220786ca580fff7b0bf73c9ac4aaab (main) [2023-09-11T07:58:19.032Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-09-11T07:58:19.055Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-11T07:58:19.918Z] > git config core.sparsecheckout # timeout=10 [2023-09-11T07:58:19.979Z] > git checkout -f 65be627d22220786ca580fff7b0bf73c9ac4aaab # timeout=10 [2023-09-11T07:58:20.461Z] Commit message: "Merge pull request #499 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.20" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-11T07:58:21.417Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-11T07:58:21.417Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-11T07:58:21.417Z] Dload Upload Total Spent Left Speed [2023-09-11T07:58:21.417Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 103k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh [2023-09-11T07:58:22.106Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-11T07:58:22.437Z] + sudo tee /etc/docker/daemon.new [2023-09-11T07:58:22.437Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-11T07:58:22.437Z] { [2023-09-11T07:58:22.437Z] "registry-mirrors": [ [2023-09-11T07:58:22.437Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-11T07:58:22.437Z] ], [2023-09-11T07:58:22.437Z] "bip": "10.250.0.254/24", [2023-09-11T07:58:22.437Z] "hosts": [ [2023-09-11T07:58:22.437Z] "tcp://0.0.0.0:5555", [2023-09-11T07:58:22.437Z] "unix:///var/run/docker.sock" [2023-09-11T07:58:22.437Z] ], [2023-09-11T07:58:22.437Z] "mtu": 1458, [2023-09-11T07:58:22.437Z] "selinux-enabled": true, [2023-09-11T07:58:22.437Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-11T07:58:22.437Z] } [Pipeline] sh [2023-09-11T07:58:22.771Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-11T07:58:23.110Z] + sudo service docker restart [2023-09-11T07:58:37.478Z] Removing intermediate container 6e4921dd3dd8 [2023-09-11T07:58:37.478Z] ---> 3b2278b0632c [2023-09-11T07:58:37.478Z] Step 11/22 : FROM alpine:3.17 [2023-09-11T07:58:37.478Z] 3.17: Pulling from library/alpine [2023-09-11T07:58:37.478Z] 9398808236ff: Pulling fs layer [2023-09-11T07:58:37.478Z] 9398808236ff: Verifying Checksum [2023-09-11T07:58:37.478Z] 9398808236ff: Download complete [2023-09-11T07:58:37.478Z] 9398808236ff: Pull complete [2023-09-11T07:58:37.478Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-11T07:58:37.478Z] Status: Downloaded newer image for alpine:3.17 [2023-09-11T07:58:37.478Z] ---> 1e0b8b5322fc [2023-09-11T07:58:37.478Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-09-11T07:58:37.738Z] ---> Running in f2d3c5d58e48 [2023-09-11T07:58:37.738Z] Removing intermediate container f2d3c5d58e48 [2023-09-11T07:58:37.738Z] ---> b66d45f0d47a [2023-09-11T07:58:37.738Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-09-11T07:58:37.738Z] ---> Running in 16386ed44e42 [2023-09-11T07:58:37.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-11T07:58:38.255Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-11T07:58:38.513Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-11T07:58:38.513Z] Executing busybox-1.35.0-r29.trigger [2023-09-11T07:58:38.513Z] OK: 7 MiB in 16 packages [2023-09-11T07:58:38.771Z] Removing intermediate container 16386ed44e42 [2023-09-11T07:58:38.771Z] ---> 51321fc3c120 [2023-09-11T07:58:38.771Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-09-11T07:58:39.769Z] ---> 51b85c19960d [2023-09-11T07:58:39.769Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-09-11T07:58:39.769Z] ---> e3908d142886 [2023-09-11T07:58:39.769Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-09-11T07:58:40.028Z] ---> 96bbd43aa873 [2023-09-11T07:58:40.028Z] Step 17/22 : EXPOSE 59901 [2023-09-11T07:58:40.028Z] ---> Running in 5e86db522af3 [2023-09-11T07:58:40.028Z] Removing intermediate container 5e86db522af3 [2023-09-11T07:58:40.028Z] ---> fd003806010e [2023-09-11T07:58:40.028Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-09-11T07:58:40.028Z] ---> Running in d9c9562774b2 [2023-09-11T07:58:40.287Z] Removing intermediate container d9c9562774b2 [2023-09-11T07:58:40.287Z] ---> c57b23c62589 [2023-09-11T07:58:40.287Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-11T07:58:40.287Z] ---> Running in 033bcb7a9b81 [2023-09-11T07:58:40.546Z] Removing intermediate container 033bcb7a9b81 [2023-09-11T07:58:40.546Z] ---> 7a640151914b [2023-09-11T07:58:40.546Z] Step 20/22 : LABEL arch=amd64 [2023-09-11T07:58:40.546Z] ---> Running in fb5dbb6554fe [2023-09-11T07:58:40.546Z] Removing intermediate container fb5dbb6554fe [2023-09-11T07:58:40.546Z] ---> a6786f231f99 [2023-09-11T07:58:40.546Z] Step 21/22 : LABEL git_sha=65be627d22220786ca580fff7b0bf73c9ac4aaab [2023-09-11T07:58:40.546Z] ---> Running in 1a83f754525d [2023-09-11T07:58:40.806Z] Removing intermediate container 1a83f754525d [2023-09-11T07:58:40.806Z] ---> f22edd84961a [2023-09-11T07:58:40.806Z] Step 22/22 : LABEL version=3.1.0-dev.8 [2023-09-11T07:58:40.806Z] ---> Running in 35b9fbd7225a [2023-09-11T07:58:40.806Z] Removing intermediate container 35b9fbd7225a [2023-09-11T07:58:40.806Z] ---> 1ab41e96d974 [2023-09-11T07:58:40.806Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-11T07:58:40.806Z] Successfully built 1ab41e96d974 [2023-09-11T07:58:40.806Z] 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-09-11T07:58:40.897Z] provisioning config files... [2023-09-11T07:58:40.906Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15307202496541247263tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T07:58:41.206Z] ---> docker-login.sh [2023-09-11T07:58:41.206Z] nexus3.edgexfoundry.org:10001 [2023-09-11T07:58:41.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T07:58:41.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T07:58:41.206Z] Configure a credential helper to remove this warning. See [2023-09-11T07:58:41.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T07:58:41.206Z] [2023-09-11T07:58:41.206Z] Login Succeeded [2023-09-11T07:58:41.206Z] nexus3.edgexfoundry.org:10002 [2023-09-11T07:58:41.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T07:58:41.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T07:58:41.206Z] Configure a credential helper to remove this warning. See [2023-09-11T07:58:41.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T07:58:41.206Z] [2023-09-11T07:58:41.206Z] Login Succeeded [2023-09-11T07:58:41.206Z] nexus3.edgexfoundry.org:10003 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-11T07:58:41.362Z] provisioning config files... [2023-09-11T07:58:41.386Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/122@tmp/config11583425329835678636tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T07:58:41.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T07:58:41.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T07:58:41.464Z] Configure a credential helper to remove this warning. See [2023-09-11T07:58:41.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T07:58:41.464Z] [2023-09-11T07:58:41.464Z] Login Succeeded [2023-09-11T07:58:41.464Z] nexus3.edgexfoundry.org:10004 [2023-09-11T07:58:41.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T07:58:41.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T07:58:41.464Z] Configure a credential helper to remove this warning. See [2023-09-11T07:58:41.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T07:58:41.464Z] [2023-09-11T07:58:41.464Z] Login Succeeded [2023-09-11T07:58:41.464Z] docker.io [2023-09-11T07:58:41.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T07:58:41.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T07:58:41.722Z] Configure a credential helper to remove this warning. See [2023-09-11T07:58:41.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T07:58:41.722Z] [2023-09-11T07:58:41.722Z] Login Succeeded [2023-09-11T07:58:41.722Z] ---> docker-login.sh ends [Pipeline] } [2023-09-11T07:58:41.729Z] Deleting 1 temporary files [2023-09-11T07:58:41.730Z] ---> docker-login.sh [2023-09-11T07:58:41.730Z] nexus3.edgexfoundry.org:10001 [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-11T07:58:41.764Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T07:58:41.790Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-09-11T07:58:41.790Z] 65be627d22220786ca580fff7b0bf73c9ac4aaab [2023-09-11T07:58:41.790Z] latest [2023-09-11T07:58:41.790Z] 3.1.0-dev.8 [2023-09-11T07:58:41.790Z] 65be627d22220786ca580fff7b0bf73c9ac4aaab-3.1.0-dev.8 [2023-09-11T07:58:41.790Z] main [2023-09-11T07:58:41.790Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T07:58:41.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T07:58:42.117Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:65be627d22220786ca580fff7b0bf73c9ac4aaab [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T07:58:42.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T07:58:42.268Z] Configure a credential helper to remove this warning. See [2023-09-11T07:58:42.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T07:58:42.268Z] [2023-09-11T07:58:42.268Z] Login Succeeded [2023-09-11T07:58:42.268Z] nexus3.edgexfoundry.org:10002 [2023-09-11T07:58:42.423Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:65be627d22220786ca580fff7b0bf73c9ac4aaab [2023-09-11T07:58:42.423Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-11T07:58:42.423Z] bee24bb337c8: Preparing [2023-09-11T07:58:42.423Z] 109762c1d8e7: Preparing [2023-09-11T07:58:42.423Z] 837c00569da5: Preparing [2023-09-11T07:58:42.423Z] 42b20caa9bfd: Preparing [2023-09-11T07:58:42.423Z] 36b50b131297: Preparing [2023-09-11T07:58:42.423Z] 36b50b131297: Layer already exists [2023-09-11T07:58:42.423Z] bee24bb337c8: Pushed [2023-09-11T07:58:42.423Z] 42b20caa9bfd: Pushed [2023-09-11T07:58:42.423Z] 109762c1d8e7: Pushed [2023-09-11T07:58:42.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T07:58:42.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T07:58:42.535Z] Configure a credential helper to remove this warning. See [2023-09-11T07:58:42.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T07:58:42.535Z] [2023-09-11T07:58:42.535Z] Login Succeeded [2023-09-11T07:58:42.535Z] nexus3.edgexfoundry.org:10003 [2023-09-11T07:58:42.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T07:58:43.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T07:58:43.078Z] Configure a credential helper to remove this warning. See [2023-09-11T07:58:43.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T07:58:43.078Z] [2023-09-11T07:58:43.078Z] Login Succeeded [2023-09-11T07:58:43.078Z] nexus3.edgexfoundry.org:10004 [2023-09-11T07:58:43.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T07:58:43.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T07:58:43.347Z] Configure a credential helper to remove this warning. See [2023-09-11T07:58:43.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T07:58:43.347Z] [2023-09-11T07:58:43.347Z] Login Succeeded [2023-09-11T07:58:43.347Z] docker.io [2023-09-11T07:58:43.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T07:58:43.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T07:58:43.883Z] Configure a credential helper to remove this warning. See [2023-09-11T07:58:43.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T07:58:43.883Z] [2023-09-11T07:58:43.883Z] Login Succeeded [2023-09-11T07:58:43.883Z] ---> docker-login.sh ends [Pipeline] } [2023-09-11T07:58:43.896Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-11T07:58:44.134Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T07:58:44.148Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T07:58:44.162Z] ========================================================= [2023-09-11T07:58:44.162Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-09-11T07:58:44.162Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T07:58:44.511Z] + 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-09-11T07:58:44.780Z] Sending build context to Docker daemon 3.327MB [2023-09-11T07:58:44.781Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-09-11T07:58:44.781Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-11T07:58:45.058Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-11T07:58:45.058Z] edb6bdbacee9: Pulling fs layer [2023-09-11T07:58:45.058Z] 5f9638ab2659: Pulling fs layer [2023-09-11T07:58:45.058Z] 8d51d6327a98: Pulling fs layer [2023-09-11T07:58:45.058Z] 8b374f2dd631: Pulling fs layer [2023-09-11T07:58:45.058Z] ec14aa9079de: Pulling fs layer [2023-09-11T07:58:45.058Z] 2f466654f4bb: Pulling fs layer [2023-09-11T07:58:45.058Z] 554e91adad29: Pulling fs layer [2023-09-11T07:58:45.058Z] ec14aa9079de: Waiting [2023-09-11T07:58:45.058Z] 2f466654f4bb: Waiting [2023-09-11T07:58:45.058Z] 554e91adad29: Waiting [2023-09-11T07:58:45.058Z] 8b374f2dd631: Waiting [2023-09-11T07:58:45.058Z] 5f9638ab2659: Download complete [2023-09-11T07:58:45.058Z] 8b374f2dd631: Download complete [2023-09-11T07:58:45.058Z] ec14aa9079de: Verifying Checksum [2023-09-11T07:58:45.058Z] ec14aa9079de: Download complete [2023-09-11T07:58:45.058Z] edb6bdbacee9: Verifying Checksum [2023-09-11T07:58:45.058Z] edb6bdbacee9: Download complete [2023-09-11T07:58:45.711Z] 837c00569da5: Pushed [2023-09-11T07:58:45.711Z] 65be627d22220786ca580fff7b0bf73c9ac4aaab: digest: sha256:cbbeb68ed1d086bbb78f0d4539ccb72a527e01db27f03affb429ef64676f9d21 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T07:58:46.026Z] edb6bdbacee9: Pull complete [2023-09-11T07:58:46.030Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T07:58:46.297Z] 554e91adad29: Verifying Checksum [2023-09-11T07:58:46.297Z] 554e91adad29: Download complete [2023-09-11T07:58:46.339Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-09-11T07:58:46.339Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-11T07:58:46.339Z] bee24bb337c8: Preparing [2023-09-11T07:58:46.339Z] 109762c1d8e7: Preparing [2023-09-11T07:58:46.339Z] 837c00569da5: Preparing [2023-09-11T07:58:46.339Z] 42b20caa9bfd: Preparing [2023-09-11T07:58:46.339Z] 36b50b131297: Preparing [2023-09-11T07:58:46.339Z] 109762c1d8e7: Layer already exists [2023-09-11T07:58:46.339Z] 36b50b131297: Layer already exists [2023-09-11T07:58:46.339Z] bee24bb337c8: Layer already exists [2023-09-11T07:58:46.339Z] 837c00569da5: Layer already exists [2023-09-11T07:58:46.339Z] 42b20caa9bfd: Layer already exists [2023-09-11T07:58:46.339Z] latest: digest: sha256:cbbeb68ed1d086bbb78f0d4539ccb72a527e01db27f03affb429ef64676f9d21 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T07:58:46.568Z] 5f9638ab2659: Pull complete [2023-09-11T07:58:46.655Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T07:58:46.965Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.8 [2023-09-11T07:58:46.965Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-11T07:58:46.965Z] bee24bb337c8: Preparing [2023-09-11T07:58:46.965Z] 109762c1d8e7: Preparing [2023-09-11T07:58:46.965Z] 837c00569da5: Preparing [2023-09-11T07:58:46.965Z] 42b20caa9bfd: Preparing [2023-09-11T07:58:46.965Z] 36b50b131297: Preparing [2023-09-11T07:58:46.965Z] 837c00569da5: Layer already exists [2023-09-11T07:58:46.965Z] 36b50b131297: Layer already exists [2023-09-11T07:58:46.965Z] bee24bb337c8: Layer already exists [2023-09-11T07:58:46.965Z] 109762c1d8e7: Layer already exists [2023-09-11T07:58:46.965Z] 42b20caa9bfd: Layer already exists [2023-09-11T07:58:46.965Z] 3.1.0-dev.8: digest: sha256:cbbeb68ed1d086bbb78f0d4539ccb72a527e01db27f03affb429ef64676f9d21 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T07:58:47.280Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:65be627d22220786ca580fff7b0bf73c9ac4aaab-3.1.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T07:58:47.549Z] 8d51d6327a98: Verifying Checksum [2023-09-11T07:58:47.549Z] 8d51d6327a98: Download complete [2023-09-11T07:58:47.549Z] 2f466654f4bb: Download complete [2023-09-11T07:58:47.585Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:65be627d22220786ca580fff7b0bf73c9ac4aaab-3.1.0-dev.8 [2023-09-11T07:58:47.585Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-11T07:58:47.585Z] bee24bb337c8: Preparing [2023-09-11T07:58:47.585Z] 109762c1d8e7: Preparing [2023-09-11T07:58:47.585Z] 837c00569da5: Preparing [2023-09-11T07:58:47.585Z] 42b20caa9bfd: Preparing [2023-09-11T07:58:47.585Z] 36b50b131297: Preparing [2023-09-11T07:58:47.585Z] bee24bb337c8: Layer already exists [2023-09-11T07:58:47.585Z] 109762c1d8e7: Layer already exists [2023-09-11T07:58:47.585Z] 837c00569da5: Layer already exists [2023-09-11T07:58:47.585Z] 36b50b131297: Layer already exists [2023-09-11T07:58:47.585Z] 42b20caa9bfd: Layer already exists [2023-09-11T07:58:47.585Z] 65be627d22220786ca580fff7b0bf73c9ac4aaab-3.1.0-dev.8: digest: sha256:cbbeb68ed1d086bbb78f0d4539ccb72a527e01db27f03affb429ef64676f9d21 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T07:58:47.904Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T07:58:48.229Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-09-11T07:58:48.229Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-11T07:58:48.229Z] bee24bb337c8: Preparing [2023-09-11T07:58:48.229Z] 109762c1d8e7: Preparing [2023-09-11T07:58:48.229Z] 837c00569da5: Preparing [2023-09-11T07:58:48.229Z] 42b20caa9bfd: Preparing [2023-09-11T07:58:48.229Z] 36b50b131297: Preparing [2023-09-11T07:58:48.229Z] bee24bb337c8: Layer already exists [2023-09-11T07:58:48.229Z] 42b20caa9bfd: Layer already exists [2023-09-11T07:58:48.229Z] 837c00569da5: Layer already exists [2023-09-11T07:58:48.229Z] 109762c1d8e7: Layer already exists [2023-09-11T07:58:48.229Z] 36b50b131297: Layer already exists [2023-09-11T07:58:48.229Z] main: digest: sha256:cbbeb68ed1d086bbb78f0d4539ccb72a527e01db27f03affb429ef64676f9d21 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-11T07:58:48.271Z] ===================================================== [Pipeline] echo [2023-09-11T07:58:48.279Z] taggedImages: [2023-09-11T07:58:48.279Z] - nexus3.edgexfoundry.org:10004/device-modbus:65be627d22220786ca580fff7b0bf73c9ac4aaab [2023-09-11T07:58:48.279Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-09-11T07:58:48.279Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.8 [2023-09-11T07:58:48.279Z] - nexus3.edgexfoundry.org:10004/device-modbus:65be627d22220786ca580fff7b0bf73c9ac4aaab-3.1.0-dev.8 [2023-09-11T07:58:48.279Z] - 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-09-11T07:58:48.654Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-11T07:58:48.654Z] [2023-09-11T07:58:48.654Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T07:58:48.958Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-11T07:58:48.959Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-11T07:58:48.959Z] 5eb5b503b376: Pulling fs layer [2023-09-11T07:58:48.959Z] 5c69ac0246d0: Pulling fs layer [2023-09-11T07:58:48.959Z] ec43610c2a17: Pulling fs layer [2023-09-11T07:58:48.959Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-11T07:58:48.959Z] 33b1e0a273af: Pulling fs layer [2023-09-11T07:58:48.959Z] 5d3b04190fa2: Pulling fs layer [2023-09-11T07:58:48.959Z] 2f39f015ded8: Pulling fs layer [2023-09-11T07:58:48.959Z] 3a2ae6a8a46f: Waiting [2023-09-11T07:58:48.959Z] 33b1e0a273af: Waiting [2023-09-11T07:58:48.959Z] 5d3b04190fa2: Waiting [2023-09-11T07:58:48.959Z] 2f39f015ded8: Waiting [2023-09-11T07:58:48.959Z] 5c69ac0246d0: Download complete [2023-09-11T07:58:48.959Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-11T07:58:48.959Z] 3a2ae6a8a46f: Download complete [2023-09-11T07:58:48.959Z] 33b1e0a273af: Verifying Checksum [2023-09-11T07:58:48.959Z] 33b1e0a273af: Download complete [2023-09-11T07:58:48.959Z] ec43610c2a17: Verifying Checksum [2023-09-11T07:58:48.959Z] ec43610c2a17: Download complete [2023-09-11T07:58:48.959Z] 5d3b04190fa2: Verifying Checksum [2023-09-11T07:58:48.959Z] 5d3b04190fa2: Download complete [2023-09-11T07:58:49.216Z] 5eb5b503b376: Verifying Checksum [2023-09-11T07:58:49.216Z] 5eb5b503b376: Download complete [2023-09-11T07:58:49.781Z] 2f39f015ded8: Download complete [2023-09-11T07:58:50.346Z] 5eb5b503b376: Pull complete [2023-09-11T07:58:50.346Z] 5c69ac0246d0: Pull complete [2023-09-11T07:58:50.911Z] ec43610c2a17: Pull complete [2023-09-11T07:58:50.911Z] 3a2ae6a8a46f: Pull complete [2023-09-11T07:58:51.169Z] 33b1e0a273af: Pull complete [2023-09-11T07:58:51.169Z] 5d3b04190fa2: Pull complete [2023-09-11T07:58:55.358Z] 2f39f015ded8: Pull complete [2023-09-11T07:58:55.358Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-11T07:58:55.358Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-11T07:58:55.358Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T07:58:55.439Z] prd-ubuntu20.04-docker-8c-8g-5781 does not seem to be running inside a container [2023-09-11T07:58:55.471Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-11T07:58:59.936Z] 8d51d6327a98: Pull complete [2023-09-11T07:58:59.936Z] 8b374f2dd631: Pull complete [2023-09-11T07:58:59.936Z] ec14aa9079de: Pull complete [2023-09-11T07:59:01.761Z] $ docker top d3f473bd97c1883c40eaf646dcb79974fcc353d751e2ce9b560cdec2f2b3bd0a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T07:59:02.157Z] ---> job-cost.sh [2023-09-11T07:59:02.157Z] lf-activate-venv: SKIPPING [2023-09-11T07:59:02.157Z] INFO: No Stack... [2023-09-11T07:59:02.416Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-11T07:59:02.676Z] INFO: Archiving Costs [Pipeline] sh [2023-09-11T07:59:02.962Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-09-11T07:59:02.962Z] + cut -d, -f6 [Pipeline] lock [2023-09-11T07:59:02.975Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-122-stack-cost] [2023-09-11T07:59:02.981Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-122-stack-cost] did not exist. Created. [2023-09-11T07:59:02.981Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-122-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-11T07:59:03.280Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-11T07:59:03.309Z] Stashed 1 file(s) [Pipeline] } [2023-09-11T07:59:03.315Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-122-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-11T07:59:03.332Z] $ docker stop --time=1 d3f473bd97c1883c40eaf646dcb79974fcc353d751e2ce9b560cdec2f2b3bd0a [2023-09-11T07:59:04.494Z] $ docker rm -f --volumes d3f473bd97c1883c40eaf646dcb79974fcc353d751e2ce9b560cdec2f2b3bd0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-11T07:59:06.596Z] 2f466654f4bb: Pull complete [2023-09-11T07:59:09.204Z] 554e91adad29: Pull complete [2023-09-11T07:59:09.204Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-09-11T07:59:09.204Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-09-11T07:59:09.204Z] ---> 1e15ea492957 [2023-09-11T07:59:09.204Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-09-11T07:59:10.626Z] ---> Running in 345ae3e9c153 [2023-09-11T07:59:10.893Z] Removing intermediate container 345ae3e9c153 [2023-09-11T07:59:10.893Z] ---> f3bb649b2d1c [2023-09-11T07:59:10.893Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-11T07:59:10.893Z] ---> Running in f4537021f520 [2023-09-11T07:59:11.168Z] Removing intermediate container f4537021f520 [2023-09-11T07:59:11.168Z] ---> d83c4a7a394a [2023-09-11T07:59:11.168Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-09-11T07:59:11.168Z] ---> Running in d4e27d6bd545 [2023-09-11T07:59:12.132Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-11T07:59:13.089Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-11T07:59:14.049Z] (1/8) Installing openssh-keygen (9.1_p1-r4) [2023-09-11T07:59:14.049Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-09-11T07:59:14.049Z] (3/8) Installing openssh-client-common (9.1_p1-r4) [2023-09-11T07:59:14.049Z] (4/8) Installing openssh-client-default (9.1_p1-r4) [2023-09-11T07:59:14.049Z] (5/8) Installing openssh-sftp-server (9.1_p1-r4) [2023-09-11T07:59:14.049Z] (6/8) Installing openssh-server-common (9.1_p1-r4) [2023-09-11T07:59:14.049Z] (7/8) Installing openssh-server (9.1_p1-r4) [2023-09-11T07:59:14.049Z] (8/8) Installing openssh (9.1_p1-r4) [2023-09-11T07:59:14.049Z] Executing busybox-1.35.0-r29.trigger [2023-09-11T07:59:14.049Z] OK: 270 MiB in 61 packages [2023-09-11T07:59:15.022Z] Removing intermediate container d4e27d6bd545 [2023-09-11T07:59:15.022Z] ---> 7c1f0ff737ea [2023-09-11T07:59:15.022Z] Step 6/10 : WORKDIR /device-modbus-go [2023-09-11T07:59:15.022Z] ---> Running in 2f744b9f27b3 [2023-09-11T07:59:15.358Z] Removing intermediate container 2f744b9f27b3 [2023-09-11T07:59:15.358Z] ---> 566fe6fe30bf [2023-09-11T07:59:15.358Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-11T07:59:15.950Z] ---> 431aa2dc47c8 [2023-09-11T07:59:15.950Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-11T07:59:15.950Z] ---> Running in 629517f74fcb [2023-09-11T08:00:23.845Z] Removing intermediate container 629517f74fcb [2023-09-11T08:00:23.845Z] ---> e5e66d27badd [2023-09-11T08:00:23.845Z] Step 9/10 : COPY . . [2023-09-11T08:00:23.845Z] ---> b7f2c5d1123c [2023-09-11T08:00:23.845Z] Step 10/10 : RUN ${MAKE} [2023-09-11T08:00:23.845Z] ---> Running in 92c988812e47 [2023-09-11T08:00:23.845Z] noop [2023-09-11T08:00:23.845Z] Removing intermediate container 92c988812e47 [2023-09-11T08:00:23.845Z] ---> e7276e9ea68e [2023-09-11T08:00:23.845Z] Successfully built e7276e9ea68e [2023-09-11T08:00:23.845Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T08:00:24.198Z] + docker inspect -f . ci-base-image-arm64 [2023-09-11T08:00:24.199Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T08:00:24.407Z] prd-ubuntu20.04-docker-arm64-4c-16g-5782 does not seem to be running inside a container [2023-09-11T08:00:24.475Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/122 -v /w/workspace/device-modbus-go/122:/w/workspace/device-modbus-go/122:rw,z -v /w/workspace/device-modbus-go/122@tmp:/w/workspace/device-modbus-go/122@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-09-11T08:00:25.617Z] $ docker top 1d4517fa85d3836f1c9f1dd5ef4dd4c9aebb78f7bc96e7442fc1b00ae6fefa6c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-11T08:00:26.429Z] + go version [2023-09-11T08:00:26.429Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-09-11T08:00:26.453Z] $ docker stop --time=1 1d4517fa85d3836f1c9f1dd5ef4dd4c9aebb78f7bc96e7442fc1b00ae6fefa6c [2023-09-11T08:00:28.045Z] $ docker rm -f --volumes 1d4517fa85d3836f1c9f1dd5ef4dd4c9aebb78f7bc96e7442fc1b00ae6fefa6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T08:00:28.564Z] + docker inspect -f . ci-base-image-arm64 [2023-09-11T08:00:28.564Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T08:00:28.729Z] prd-ubuntu20.04-docker-arm64-4c-16g-5782 does not seem to be running inside a container [2023-09-11T08:00:28.794Z] $ 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/122 -v /w/workspace/device-modbus-go/122:/w/workspace/device-modbus-go/122:rw,z -v /w/workspace/device-modbus-go/122@tmp:/w/workspace/device-modbus-go/122@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-09-11T08:00:29.882Z] $ docker top 5f6aa0dc23426d24bd99e301691fb0d90a5f8cb44f99785bbcccf482ea074690 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-11T08:00:30.368Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/122 [Pipeline] fileExists [Pipeline] sh [2023-09-11T08:00:30.701Z] + make test [2023-09-11T08:00:30.701Z] go test ./... -coverprofile=coverage.out [2023-09-11T08:01:02.913Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-09-11T08:02:54.588Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-09-11T08:02:55.170Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.085s coverage: 47.9% of statements [2023-09-11T08:02:56.131Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-11T08:02:56.131Z] go vet ./... [2023-09-11T08:03:28.353Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-11T08:03:28.353Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-11T08:03:28.353Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-11T08:03:28.375Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-11T08:03:28.396Z] $ docker stop --time=1 5f6aa0dc23426d24bd99e301691fb0d90a5f8cb44f99785bbcccf482ea074690 [2023-09-11T08:03:30.237Z] $ docker rm -f --volumes 5f6aa0dc23426d24bd99e301691fb0d90a5f8cb44f99785bbcccf482ea074690 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-11T08:03:31.343Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-11T08:03:31.365Z] Warning: overwriting stash ‘coverage-report’ [2023-09-11T08:03:31.761Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-11T08:03:32.153Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-11T08:03:32.468Z] + ls -al . [2023-09-11T08:03:32.468Z] total 188 [2023-09-11T08:03:32.468Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 11 08:00 . [2023-09-11T08:03:32.468Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 07:58 .. [2023-09-11T08:03:32.468Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 11 07:58 .dockerignore [2023-09-11T08:03:32.468Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 07:58 .git [2023-09-11T08:03:32.468Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 07:58 .github [2023-09-11T08:03:32.468Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 11 07:58 .gitignore [2023-09-11T08:03:32.468Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 11 07:58 .golangci.yml [2023-09-11T08:03:32.468Z] -rw-rw-r-- 1 jenkins jenkins 11101 Sep 11 07:58 Attribution.txt [2023-09-11T08:03:32.468Z] -rw-rw-r-- 1 jenkins jenkins 14764 Sep 11 07:58 CHANGELOG.md [2023-09-11T08:03:32.468Z] -rw-rw-r-- 1 jenkins jenkins 1365 Sep 11 07:58 Dockerfile [2023-09-11T08:03:32.468Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 11 07:58 GOVERNANCE.md [2023-09-11T08:03:32.468Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 11 07:58 Jenkinsfile [2023-09-11T08:03:32.468Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 11 07:58 LICENSE [2023-09-11T08:03:32.468Z] -rw-rw-r-- 1 jenkins jenkins 1936 Sep 11 07:58 Makefile [2023-09-11T08:03:32.468Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 11 07:58 OWNERS.md [2023-09-11T08:03:32.468Z] -rw-rw-r-- 1 jenkins jenkins 4578 Sep 11 07:58 README.md [2023-09-11T08:03:32.468Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 11 07:56 VERSION [2023-09-11T08:03:32.468Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 07:58 bin [2023-09-11T08:03:32.468Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 07:58 cmd [2023-09-11T08:03:32.468Z] -rw-r--r-- 1 jenkins jenkins 24334 Sep 11 08:02 coverage.out [2023-09-11T08:03:32.468Z] -rw-rw-r-- 1 jenkins jenkins 3940 Sep 11 07:58 go.mod [2023-09-11T08:03:32.468Z] -rw-rw-r-- 1 jenkins jenkins 34434 Sep 11 07:58 go.sum [2023-09-11T08:03:32.468Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 07:58 internal [2023-09-11T08:03:32.468Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 07:58 simulator [2023-09-11T08:03:32.468Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 07:58 snap [2023-09-11T08:03:32.468Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 11 07:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T08:03:32.811Z] + 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=65be627d22220786ca580fff7b0bf73c9ac4aaab --label arch=arm64 --label version=3.1.0-dev.8 . [2023-09-11T08:03:33.078Z] Sending build context to Docker daemon 3.353MB [2023-09-11T08:03:33.078Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-09-11T08:03:33.078Z] Step 2/22 : FROM ${BASE} AS builder [2023-09-11T08:03:33.078Z] ---> e7276e9ea68e [2023-09-11T08:03:33.078Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-09-11T08:03:33.078Z] ---> Running in a17e89c1342e [2023-09-11T08:03:33.345Z] Removing intermediate container a17e89c1342e [2023-09-11T08:03:33.345Z] ---> 4c0b95da255a [2023-09-11T08:03:33.345Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-11T08:03:33.612Z] ---> Running in 3989c47df857 [2023-09-11T08:03:33.879Z] Removing intermediate container 3989c47df857 [2023-09-11T08:03:33.879Z] ---> b35d262b13df [2023-09-11T08:03:33.879Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-09-11T08:03:33.879Z] ---> Running in 7c99d710ca2f [2023-09-11T08:03:34.841Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-11T08:03:35.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-11T08:03:36.383Z] OK: 270 MiB in 61 packages [2023-09-11T08:03:37.343Z] Removing intermediate container 7c99d710ca2f [2023-09-11T08:03:37.343Z] ---> 70d3bae27125 [2023-09-11T08:03:37.343Z] Step 6/22 : WORKDIR /device-modbus-go [2023-09-11T08:03:37.343Z] ---> Running in 2792b5bfeabd [2023-09-11T08:03:37.610Z] Removing intermediate container 2792b5bfeabd [2023-09-11T08:03:37.610Z] ---> 51ee1cf8d83a [2023-09-11T08:03:37.610Z] Step 7/22 : COPY go.mod vendor* ./ [2023-09-11T08:03:37.878Z] ---> 6937fbe12853 [2023-09-11T08:03:37.878Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-11T08:03:38.145Z] ---> Running in 0916c08da3dd [2023-09-11T08:03:40.086Z] Removing intermediate container 0916c08da3dd [2023-09-11T08:03:40.086Z] ---> c25d8d18c4e2 [2023-09-11T08:03:40.086Z] Step 9/22 : COPY . . [2023-09-11T08:03:40.672Z] ---> aabfe80d76c0 [2023-09-11T08:03:40.672Z] Step 10/22 : RUN ${MAKE} [2023-09-11T08:03:40.672Z] ---> Running in 8cf2b7c19a20 [2023-09-11T08:03:41.634Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-09-11T08:05:48.312Z] Removing intermediate container 8cf2b7c19a20 [2023-09-11T08:05:48.312Z] ---> fcd654356d4f [2023-09-11T08:05:48.312Z] Step 11/22 : FROM alpine:3.17 [2023-09-11T08:05:48.312Z] 3.17: Pulling from library/alpine [2023-09-11T08:05:48.579Z] 4060ece20d7a: Pulling fs layer [2023-09-11T08:05:48.579Z] 4060ece20d7a: Download complete [2023-09-11T08:05:49.164Z] 4060ece20d7a: Pull complete [2023-09-11T08:05:49.164Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-11T08:05:49.164Z] Status: Downloaded newer image for alpine:3.17 [2023-09-11T08:05:49.164Z] ---> 8650cd65339b [2023-09-11T08:05:49.164Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-09-11T08:05:50.568Z] ---> Running in 533a1e09d132 [2023-09-11T08:05:50.568Z] Removing intermediate container 533a1e09d132 [2023-09-11T08:05:50.568Z] ---> f0321b6ccba7 [2023-09-11T08:05:50.568Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-09-11T08:05:50.837Z] ---> Running in f0a3ef05bc99 [2023-09-11T08:05:51.801Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-11T08:05:52.382Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-11T08:05:53.340Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-11T08:05:53.340Z] Executing busybox-1.35.0-r29.trigger [2023-09-11T08:05:53.340Z] OK: 8 MiB in 16 packages [2023-09-11T08:05:54.305Z] Removing intermediate container f0a3ef05bc99 [2023-09-11T08:05:54.305Z] ---> 931f4007dff9 [2023-09-11T08:05:54.305Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-09-11T08:05:55.712Z] ---> 9e924b46350a [2023-09-11T08:05:55.712Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-09-11T08:05:55.977Z] ---> 7029543f248d [2023-09-11T08:05:55.977Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-09-11T08:05:56.560Z] ---> 89955cb2a12c [2023-09-11T08:05:56.560Z] Step 17/22 : EXPOSE 59901 [2023-09-11T08:05:56.560Z] ---> Running in 78a0dc72632a [2023-09-11T08:05:56.827Z] Removing intermediate container 78a0dc72632a [2023-09-11T08:05:56.827Z] ---> ad8969923065 [2023-09-11T08:05:56.827Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-09-11T08:05:56.827Z] ---> Running in 3cdfa5918098 [2023-09-11T08:05:57.094Z] Removing intermediate container 3cdfa5918098 [2023-09-11T08:05:57.094Z] ---> 3f37e00e9675 [2023-09-11T08:05:57.094Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-11T08:05:57.094Z] ---> Running in 07564969f50a [2023-09-11T08:05:57.360Z] Removing intermediate container 07564969f50a [2023-09-11T08:05:57.360Z] ---> 17346c623e48 [2023-09-11T08:05:57.360Z] Step 20/22 : LABEL arch=arm64 [2023-09-11T08:05:57.360Z] ---> Running in 36617434db1e [2023-09-11T08:05:57.628Z] Removing intermediate container 36617434db1e [2023-09-11T08:05:57.628Z] ---> e2b51ee2ce0c [2023-09-11T08:05:57.628Z] Step 21/22 : LABEL git_sha=65be627d22220786ca580fff7b0bf73c9ac4aaab [2023-09-11T08:05:57.896Z] ---> Running in de36e98f1c53 [2023-09-11T08:05:58.169Z] Removing intermediate container de36e98f1c53 [2023-09-11T08:05:58.169Z] ---> 6fc718d4bd16 [2023-09-11T08:05:58.169Z] Step 22/22 : LABEL version=3.1.0-dev.8 [2023-09-11T08:05:58.169Z] ---> Running in 4b30c911fa6b [2023-09-11T08:05:58.438Z] Removing intermediate container 4b30c911fa6b [2023-09-11T08:05:58.438Z] ---> 5f75fbff162f [2023-09-11T08:05:58.438Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-11T08:05:58.438Z] Successfully built 5f75fbff162f [2023-09-11T08:05:58.438Z] 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-09-11T08:05:58.521Z] provisioning config files... [2023-09-11T08:05:58.533Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/122@tmp/config17562726684601214661tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T08:05:58.861Z] ---> docker-login.sh [2023-09-11T08:05:58.862Z] nexus3.edgexfoundry.org:10001 [2023-09-11T08:05:58.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T08:05:59.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T08:05:59.129Z] Configure a credential helper to remove this warning. See [2023-09-11T08:05:59.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T08:05:59.129Z] [2023-09-11T08:05:59.129Z] Login Succeeded [2023-09-11T08:05:59.129Z] nexus3.edgexfoundry.org:10002 [2023-09-11T08:05:59.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T08:05:59.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T08:05:59.395Z] Configure a credential helper to remove this warning. See [2023-09-11T08:05:59.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T08:05:59.395Z] [2023-09-11T08:05:59.395Z] Login Succeeded [2023-09-11T08:05:59.395Z] nexus3.edgexfoundry.org:10003 [2023-09-11T08:05:59.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T08:05:59.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T08:05:59.662Z] Configure a credential helper to remove this warning. See [2023-09-11T08:05:59.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T08:05:59.662Z] [2023-09-11T08:05:59.662Z] Login Succeeded [2023-09-11T08:05:59.662Z] nexus3.edgexfoundry.org:10004 [2023-09-11T08:05:59.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T08:06:00.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T08:06:00.197Z] Configure a credential helper to remove this warning. See [2023-09-11T08:06:00.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T08:06:00.197Z] [2023-09-11T08:06:00.197Z] Login Succeeded [2023-09-11T08:06:00.197Z] docker.io [2023-09-11T08:06:00.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T08:06:00.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T08:06:00.728Z] Configure a credential helper to remove this warning. See [2023-09-11T08:06:00.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T08:06:00.728Z] [2023-09-11T08:06:00.728Z] Login Succeeded [2023-09-11T08:06:00.728Z] ---> docker-login.sh ends [Pipeline] } [2023-09-11T08:06:00.740Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-11T08:06:00.766Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T08:06:00.782Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-09-11T08:06:00.782Z] 65be627d22220786ca580fff7b0bf73c9ac4aaab [2023-09-11T08:06:00.782Z] latest [2023-09-11T08:06:00.782Z] 3.1.0-dev.8 [2023-09-11T08:06:00.782Z] 65be627d22220786ca580fff7b0bf73c9ac4aaab-3.1.0-dev.8 [2023-09-11T08:06:00.782Z] main [2023-09-11T08:06:00.782Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T08:06:01.111Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:65be627d22220786ca580fff7b0bf73c9ac4aaab [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T08:06:01.446Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:65be627d22220786ca580fff7b0bf73c9ac4aaab [2023-09-11T08:06:01.446Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-11T08:06:01.446Z] 87e6ad0eb6b3: Preparing [2023-09-11T08:06:01.446Z] 5473e657f991: Preparing [2023-09-11T08:06:01.446Z] 4290a98a2ebd: Preparing [2023-09-11T08:06:01.446Z] a9cfcf5570aa: Preparing [2023-09-11T08:06:01.446Z] d2d9d24a8c2a: Preparing [2023-09-11T08:06:01.446Z] d2d9d24a8c2a: Layer already exists [2023-09-11T08:06:01.713Z] 87e6ad0eb6b3: Pushed [2023-09-11T08:06:01.713Z] a9cfcf5570aa: Pushed [2023-09-11T08:06:01.713Z] 5473e657f991: Pushed [2023-09-11T08:06:07.136Z] 4290a98a2ebd: Pushed [2023-09-11T08:06:07.136Z] 65be627d22220786ca580fff7b0bf73c9ac4aaab: digest: sha256:986986ee2c248a6fb0d2eaf5bce53afe1dc5554e3fd40697b01e4f1f515c4df5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T08:06:07.493Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T08:06:07.854Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-09-11T08:06:07.854Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-11T08:06:07.854Z] 87e6ad0eb6b3: Preparing [2023-09-11T08:06:07.854Z] 5473e657f991: Preparing [2023-09-11T08:06:07.854Z] 4290a98a2ebd: Preparing [2023-09-11T08:06:07.854Z] a9cfcf5570aa: Preparing [2023-09-11T08:06:07.854Z] d2d9d24a8c2a: Preparing [2023-09-11T08:06:07.854Z] 4290a98a2ebd: Layer already exists [2023-09-11T08:06:07.854Z] 5473e657f991: Layer already exists [2023-09-11T08:06:07.854Z] 87e6ad0eb6b3: Layer already exists [2023-09-11T08:06:07.854Z] a9cfcf5570aa: Layer already exists [2023-09-11T08:06:07.854Z] d2d9d24a8c2a: Layer already exists [2023-09-11T08:06:07.854Z] latest: digest: sha256:986986ee2c248a6fb0d2eaf5bce53afe1dc5554e3fd40697b01e4f1f515c4df5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T08:06:08.204Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T08:06:08.539Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.8 [2023-09-11T08:06:08.539Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-11T08:06:08.539Z] 87e6ad0eb6b3: Preparing [2023-09-11T08:06:08.539Z] 5473e657f991: Preparing [2023-09-11T08:06:08.539Z] 4290a98a2ebd: Preparing [2023-09-11T08:06:08.539Z] a9cfcf5570aa: Preparing [2023-09-11T08:06:08.539Z] d2d9d24a8c2a: Preparing [2023-09-11T08:06:08.539Z] 5473e657f991: Layer already exists [2023-09-11T08:06:08.539Z] a9cfcf5570aa: Layer already exists [2023-09-11T08:06:08.539Z] d2d9d24a8c2a: Layer already exists [2023-09-11T08:06:08.539Z] 87e6ad0eb6b3: Layer already exists [2023-09-11T08:06:08.539Z] 4290a98a2ebd: Layer already exists [2023-09-11T08:06:08.539Z] 3.1.0-dev.8: digest: sha256:986986ee2c248a6fb0d2eaf5bce53afe1dc5554e3fd40697b01e4f1f515c4df5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T08:06:08.876Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:65be627d22220786ca580fff7b0bf73c9ac4aaab-3.1.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T08:06:09.202Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:65be627d22220786ca580fff7b0bf73c9ac4aaab-3.1.0-dev.8 [2023-09-11T08:06:09.202Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-11T08:06:09.202Z] 87e6ad0eb6b3: Preparing [2023-09-11T08:06:09.202Z] 5473e657f991: Preparing [2023-09-11T08:06:09.202Z] 4290a98a2ebd: Preparing [2023-09-11T08:06:09.202Z] a9cfcf5570aa: Preparing [2023-09-11T08:06:09.202Z] d2d9d24a8c2a: Preparing [2023-09-11T08:06:09.202Z] d2d9d24a8c2a: Layer already exists [2023-09-11T08:06:09.202Z] a9cfcf5570aa: Layer already exists [2023-09-11T08:06:09.202Z] 4290a98a2ebd: Layer already exists [2023-09-11T08:06:09.202Z] 5473e657f991: Layer already exists [2023-09-11T08:06:09.202Z] 87e6ad0eb6b3: Layer already exists [2023-09-11T08:06:09.202Z] 65be627d22220786ca580fff7b0bf73c9ac4aaab-3.1.0-dev.8: digest: sha256:986986ee2c248a6fb0d2eaf5bce53afe1dc5554e3fd40697b01e4f1f515c4df5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T08:06:09.545Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T08:06:09.880Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-09-11T08:06:09.880Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-11T08:06:09.880Z] 87e6ad0eb6b3: Preparing [2023-09-11T08:06:09.880Z] 5473e657f991: Preparing [2023-09-11T08:06:09.880Z] 4290a98a2ebd: Preparing [2023-09-11T08:06:09.880Z] a9cfcf5570aa: Preparing [2023-09-11T08:06:09.880Z] d2d9d24a8c2a: Preparing [2023-09-11T08:06:09.880Z] 87e6ad0eb6b3: Layer already exists [2023-09-11T08:06:09.880Z] a9cfcf5570aa: Layer already exists [2023-09-11T08:06:09.880Z] d2d9d24a8c2a: Layer already exists [2023-09-11T08:06:09.880Z] 5473e657f991: Layer already exists [2023-09-11T08:06:09.880Z] 4290a98a2ebd: Layer already exists [2023-09-11T08:06:09.880Z] main: digest: sha256:986986ee2c248a6fb0d2eaf5bce53afe1dc5554e3fd40697b01e4f1f515c4df5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-11T08:06:09.942Z] ===================================================== [Pipeline] echo [2023-09-11T08:06:09.954Z] taggedImages: [2023-09-11T08:06:09.954Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:65be627d22220786ca580fff7b0bf73c9ac4aaab [2023-09-11T08:06:09.954Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-09-11T08:06:09.954Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.8 [2023-09-11T08:06:09.954Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:65be627d22220786ca580fff7b0bf73c9ac4aaab-3.1.0-dev.8 [2023-09-11T08:06:09.954Z] - 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-09-11T08:06:10.371Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-11T08:06:10.371Z] [2023-09-11T08:06:10.371Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T08:06:10.696Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-11T08:06:10.696Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-11T08:06:10.696Z] 8998bd30e6a1: Pulling fs layer [2023-09-11T08:06:10.696Z] 04944245beec: Pulling fs layer [2023-09-11T08:06:10.696Z] 699f458cf7ca: Pulling fs layer [2023-09-11T08:06:10.696Z] 765212b225bb: Pulling fs layer [2023-09-11T08:06:10.696Z] f23df028b6ca: Pulling fs layer [2023-09-11T08:06:10.696Z] d65c8cfc05b1: Pulling fs layer [2023-09-11T08:06:10.696Z] 2437ff75d9bd: Pulling fs layer [2023-09-11T08:06:10.696Z] 765212b225bb: Waiting [2023-09-11T08:06:10.696Z] f23df028b6ca: Waiting [2023-09-11T08:06:10.696Z] d65c8cfc05b1: Waiting [2023-09-11T08:06:10.965Z] 04944245beec: Verifying Checksum [2023-09-11T08:06:10.965Z] 04944245beec: Download complete [2023-09-11T08:06:10.965Z] 765212b225bb: Verifying Checksum [2023-09-11T08:06:10.965Z] 765212b225bb: Download complete [2023-09-11T08:06:10.965Z] f23df028b6ca: Verifying Checksum [2023-09-11T08:06:10.965Z] f23df028b6ca: Download complete [2023-09-11T08:06:10.965Z] d65c8cfc05b1: Verifying Checksum [2023-09-11T08:06:10.965Z] d65c8cfc05b1: Download complete [2023-09-11T08:06:10.965Z] 699f458cf7ca: Verifying Checksum [2023-09-11T08:06:10.965Z] 699f458cf7ca: Download complete [2023-09-11T08:06:11.548Z] 8998bd30e6a1: Verifying Checksum [2023-09-11T08:06:11.548Z] 8998bd30e6a1: Download complete [2023-09-11T08:06:13.505Z] 2437ff75d9bd: Verifying Checksum [2023-09-11T08:06:13.505Z] 2437ff75d9bd: Download complete [2023-09-11T08:06:15.448Z] 8998bd30e6a1: Pull complete [2023-09-11T08:06:15.714Z] 04944245beec: Pull complete [2023-09-11T08:06:17.119Z] 699f458cf7ca: Pull complete [2023-09-11T08:06:17.385Z] 765212b225bb: Pull complete [2023-09-11T08:06:17.969Z] f23df028b6ca: Pull complete [2023-09-11T08:06:18.235Z] d65c8cfc05b1: Pull complete [2023-09-11T08:06:33.238Z] 2437ff75d9bd: Pull complete [2023-09-11T08:06:33.238Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-11T08:06:33.238Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-11T08:06:33.238Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T08:06:33.420Z] prd-ubuntu20.04-docker-arm64-4c-16g-5782 does not seem to be running inside a container [2023-09-11T08:06:33.484Z] $ 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/122 -v /w/workspace/device-modbus-go/122:/w/workspace/device-modbus-go/122:rw,z -v /w/workspace/device-modbus-go/122@tmp:/w/workspace/device-modbus-go/122@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-09-11T08:06:35.797Z] $ docker top f20e01116033bde6d8d76af918b024ac92f328ad218ba615ee9b1685d34c3010 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T08:06:36.279Z] ---> job-cost.sh [2023-09-11T08:06:36.544Z] lf-activate-venv: SKIPPING [2023-09-11T08:06:36.544Z] INFO: No Stack... [2023-09-11T08:06:37.122Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-11T08:06:37.700Z] INFO: Archiving Costs [Pipeline] sh [2023-09-11T08:06:38.014Z] + cat /w/workspace/device-modbus-go/122/archives/cost.csv [2023-09-11T08:06:38.014Z] + cut -d, -f6 [Pipeline] lock [2023-09-11T08:06:38.075Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-122-stack-cost] [2023-09-11T08:06:38.081Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-122-stack-cost] did not exist. Created. [2023-09-11T08:06:38.081Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-122-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-11T08:06:38.404Z] /w/workspace/device-modbus-go/122@tmp/durable-1743f619/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-11T08:06:38.737Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-11T08:06:38.756Z] Warning: overwriting stash ‘stack-cost’ [2023-09-11T08:06:38.807Z] Stashed 1 file(s) [Pipeline] } [2023-09-11T08:06:38.814Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-122-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-11T08:06:38.837Z] $ docker stop --time=1 f20e01116033bde6d8d76af918b024ac92f328ad218ba615ee9b1685d34c3010 [2023-09-11T08:06:40.291Z] $ docker rm -f --volumes f20e01116033bde6d8d76af918b024ac92f328ad218ba615ee9b1685d34c3010 [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-09-11T08:06:40.693Z] provisioning config files... [2023-09-11T08:06:40.701Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14103268527453211062tmp [Pipeline] { [Pipeline] sh [2023-09-11T08:06:40.992Z] + set +x [2023-09-11T08:06:40.992Z] + curl -s https://codecov.io/bash [2023-09-11T08:06:40.992Z] + bash -s -- [2023-09-11T08:06:41.252Z] [2023-09-11T08:06:41.252Z] _____ _ [2023-09-11T08:06:41.252Z] / ____| | | [2023-09-11T08:06:41.252Z] | | ___ __| | ___ ___ _____ __ [2023-09-11T08:06:41.252Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-11T08:06:41.252Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-11T08:06:41.252Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-11T08:06:41.252Z] Bash-1.0.6 [2023-09-11T08:06:41.252Z] [2023-09-11T08:06:41.252Z] [2023-09-11T08:06:41.252Z] ==> git version 2.25.1 found [2023-09-11T08:06:41.252Z] ==> 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-09-11T08:06:41.252Z] Release-Date: 2020-01-08 [2023-09-11T08:06:41.252Z] 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-09-11T08:06:41.252Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-11T08:06:41.252Z] ==> Jenkins CI detected. [2023-09-11T08:06:41.252Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-09-11T08:06:41.252Z] project root: . [2023-09-11T08:06:41.252Z] --> token set from env [2023-09-11T08:06:41.252Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-11T08:06:41.252Z] ==> Running gcov in . (disable via -X gcov) [2023-09-11T08:06:41.252Z] ==> Python coveragepy not found [2023-09-11T08:06:41.252Z] ==> Searching for coverage reports in: [2023-09-11T08:06:41.252Z] + . [2023-09-11T08:06:41.252Z] -> Found 1 reports [2023-09-11T08:06:41.252Z] ==> Detecting git/mercurial file structure [2023-09-11T08:06:41.252Z] ==> Reading reports [2023-09-11T08:06:41.252Z] + ./coverage.out bytes=24334 [2023-09-11T08:06:41.252Z] ==> Appending adjustments [2023-09-11T08:06:41.252Z] https://docs.codecov.io/docs/fixing-reports [2023-09-11T08:06:41.512Z] + Found adjustments [2023-09-11T08:06:41.512Z] ==> Gzipping contents [2023-09-11T08:06:41.512Z] 4.0K /tmp/codecov.ep0Sf0.gz [2023-09-11T08:06:41.512Z] ==> Uploading reports [2023-09-11T08:06:41.512Z] url: https://codecov.io [2023-09-11T08:06:41.512Z] query: branch=main&commit=65be627d22220786ca580fff7b0bf73c9ac4aaab&build=122&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F122%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-11T08:06:41.512Z] -> Pinging Codecov [2023-09-11T08:06:41.512Z] 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=65be627d22220786ca580fff7b0bf73c9ac4aaab&build=122&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F122%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-11T08:06:41.512Z] -> Uploading to [2023-09-11T08:06:41.512Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-11/55DBCA73C666E3227836607328DD7E49/65be627d22220786ca580fff7b0bf73c9ac4aaab/468495f2-6c75-42fe-b9c0-5ad1fbd27dc5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230911%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230911T080641Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6b89a9e8d7c7bbf75ae60ded1ff0a7782a3e990ffaa3d356016f317032a51c2e [2023-09-11T08:06:41.512Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-11T08:06:41.512Z] Dload Upload Total Spent Left Speed [2023-09-11T08:06:41.772Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 21715 --:--:-- --:--:-- --:--:-- 21597 100 3974 0 0 100 3974 0 21715 --:--:-- --:--:-- --:--:-- 21597 [2023-09-11T08:06:41.772Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/65be627d22220786ca580fff7b0bf73c9ac4aaab [Pipeline] } [2023-09-11T08:06:41.779Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-11T08:06:42.007Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-11T08:06:42.027Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T08:06:42.330Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-11T08:06:42.330Z] [2023-09-11T08:06:42.330Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T08:06:42.627Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-11T08:06:42.627Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-11T08:06:42.627Z] df9b9388f04a: Pulling fs layer [2023-09-11T08:06:42.627Z] 52dc419b0ee2: Pulling fs layer [2023-09-11T08:06:42.627Z] 25bc292e5bac: Pulling fs layer [2023-09-11T08:06:42.627Z] 114826534d7a: Pulling fs layer [2023-09-11T08:06:42.627Z] 4657fd5d0bcf: Pulling fs layer [2023-09-11T08:06:42.627Z] 6ad1cebc031e: Pulling fs layer [2023-09-11T08:06:42.627Z] 8a3aa393b2d8: Pulling fs layer [2023-09-11T08:06:42.627Z] 4657fd5d0bcf: Waiting [2023-09-11T08:06:42.627Z] 6ad1cebc031e: Waiting [2023-09-11T08:06:42.627Z] 8a3aa393b2d8: Waiting [2023-09-11T08:06:42.627Z] 114826534d7a: Waiting [2023-09-11T08:06:42.627Z] 52dc419b0ee2: Verifying Checksum [2023-09-11T08:06:42.627Z] 52dc419b0ee2: Download complete [2023-09-11T08:06:42.627Z] 25bc292e5bac: Download complete [2023-09-11T08:06:42.627Z] 4657fd5d0bcf: Verifying Checksum [2023-09-11T08:06:42.627Z] 4657fd5d0bcf: Download complete [2023-09-11T08:06:42.627Z] df9b9388f04a: Download complete [2023-09-11T08:06:42.888Z] df9b9388f04a: Pull complete [2023-09-11T08:06:42.888Z] 6ad1cebc031e: Verifying Checksum [2023-09-11T08:06:42.888Z] 6ad1cebc031e: Download complete [2023-09-11T08:06:42.888Z] 52dc419b0ee2: Pull complete [2023-09-11T08:06:42.888Z] 25bc292e5bac: Pull complete [2023-09-11T08:06:43.458Z] 114826534d7a: Verifying Checksum [2023-09-11T08:06:43.458Z] 114826534d7a: Download complete [2023-09-11T08:06:43.716Z] 8a3aa393b2d8: Verifying Checksum [2023-09-11T08:06:43.716Z] 8a3aa393b2d8: Download complete [2023-09-11T08:06:46.998Z] 114826534d7a: Pull complete [2023-09-11T08:06:46.998Z] 4657fd5d0bcf: Pull complete [2023-09-11T08:06:47.255Z] 6ad1cebc031e: Pull complete [2023-09-11T08:06:49.782Z] 8a3aa393b2d8: Pull complete [2023-09-11T08:06:49.782Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-11T08:06:49.782Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-11T08:06:49.782Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T08:06:49.857Z] prd-ubuntu20.04-docker-8c-8g-5781 does not seem to be running inside a container [2023-09-11T08:06:49.878Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-09-11T08:06:55.370Z] $ docker top cffd070beb7ab22b61f3f5b4dfb13609cf092702678251804b56983765450fce -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-11T08:06:55.440Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-09-11T08:06:55.714Z] + set -o pipefail [2023-09-11T08:06:55.714Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-09-11T08:07:00.980Z] [2023-09-11T08:07:00.980Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-09-11T08:07:00.980Z] [2023-09-11T08:07:00.980Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/fa9ed3a3-447f-4769-b955-7677d9b4e18b [2023-09-11T08:07:00.980Z] [2023-09-11T08:07:00.980Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-09-11T08:07:00.980Z] [2023-09-11T08:07:00.980Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-11T08:07:00.980Z] [2023-09-11T08:07:00.980Z] [2023-09-11T08:07:00.980Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-11T08:07:00.980Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-11T08:07:00.980Z] More details here: https://snyk.co/ue1NS [2023-09-11T08:07:00.980Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-09-11T08:07:00.980Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-09-11T08:07:00.982Z] $ docker stop --time=1 cffd070beb7ab22b61f3f5b4dfb13609cf092702678251804b56983765450fce [2023-09-11T08:07:04.904Z] $ docker rm -f --volumes cffd070beb7ab22b61f3f5b4dfb13609cf092702678251804b56983765450fce [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-09-11T08:07:05.581Z] + git log --format=format:%s -1 65be627d22220786ca580fff7b0bf73c9ac4aaab [Pipeline] sh [2023-09-11T08:07:05.870Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-11T08:07:05.870Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T08:07:06.168Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T08:07:06.168Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T08:07:06.238Z] prd-ubuntu20.04-docker-8c-8g-5781 does not seem to be running inside a container [2023-09-11T08:07:06.264Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-11T08:07:06.690Z] $ docker top 9a98b2ae5857fc71a86e32791c905b021fb1372aa7b9a5c5da85d90606c1f768 -eo pid,comm [2023-09-11T08:07:06.742Z] 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-09-11T08:07:06.742Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-11T08:07:06.779Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-11T08:07:06.779Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-11T08:07:06.880Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-11T08:07:06.875Z] $ docker exec 9a98b2ae5857fc71a86e32791c905b021fb1372aa7b9a5c5da85d90606c1f768 ssh-agent [2023-09-11T08:07:06.988Z] SSH_AUTH_SOCK=/tmp/ssh-kJ5HqPYcQYPv/agent.32 [2023-09-11T08:07:06.988Z] SSH_AGENT_PID=38 [2023-09-11T08:07:06.991Z] Running ssh-add (command line suppressed) [2023-09-11T08:07:07.072Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15699468447606455471.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15699468447606455471.key) [2023-09-11T08:07:07.092Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-11T08:07:07.379Z] + git semver tag [2023-09-11T08:07:07.637Z] 2023-09-11 08:07:07,534 [run_tag] DEBUG tag force:False [2023-09-11T08:07:07.637Z] 2023-09-11 08:07:07,535 [check_head_tag] DEBUG check head tag [2023-09-11T08:07:07.637Z] 2023-09-11 08:07:07,535 [execute] INFO git cat-file --batch-check [2023-09-11T08:07:07.637Z] 2023-09-11 08:07:07,535 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-09-11T08:07:07.637Z] 2023-09-11 08:07:07,539 [execute] INFO git cat-file --batch [2023-09-11T08:07:07.637Z] 2023-09-11 08:07:07,540 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-09-11T08:07:07.637Z] 2023-09-11 08:07:07,549 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-11T08:07:07.637Z] 2023-09-11 08:07:07,550 [execute] INFO git tag -a v3.1.0-dev.8 -m v3.1.0-dev.8 [2023-09-11T08:07:07.637Z] 2023-09-11 08:07:07,550 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.8', '-m', 'v3.1.0-dev.8'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-11T08:07:07.637Z] 2023-09-11 08:07:07,555 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-11T08:07:07.637Z] 3.1.0-dev.8 [Pipeline] } [2023-09-11T08:07:07.637Z] $ docker exec --env ******** --env ******** 9a98b2ae5857fc71a86e32791c905b021fb1372aa7b9a5c5da85d90606c1f768 ssh-agent -k [2023-09-11T08:07:07.732Z] unset SSH_AUTH_SOCK; [2023-09-11T08:07:07.733Z] unset SSH_AGENT_PID; [2023-09-11T08:07:07.733Z] echo Agent pid 38 killed; [2023-09-11T08:07:07.749Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-11T08:07:08.063Z] + git semver [Pipeline] } [2023-09-11T08:07:08.325Z] $ docker stop --time=1 9a98b2ae5857fc71a86e32791c905b021fb1372aa7b9a5c5da85d90606c1f768 [2023-09-11T08:07:09.610Z] $ docker rm -f --volumes 9a98b2ae5857fc71a86e32791c905b021fb1372aa7b9a5c5da85d90606c1f768 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T08:07:10.007Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-11T08:07:10.007Z] [2023-09-11T08:07:10.007Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T08:07:10.303Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-11T08:07:10.303Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-11T08:07:10.303Z] ab5ef0e58194: Pulling fs layer [2023-09-11T08:07:10.303Z] 9712f1f96733: Pulling fs layer [2023-09-11T08:07:10.303Z] 63f879dbbcfc: Pulling fs layer [2023-09-11T08:07:10.303Z] 0d9ebad4ef96: Pulling fs layer [2023-09-11T08:07:10.303Z] e9a5061849ea: Pulling fs layer [2023-09-11T08:07:10.303Z] d747dcd14b5f: Pulling fs layer [2023-09-11T08:07:10.303Z] 2de7ff778b66: Pulling fs layer [2023-09-11T08:07:10.303Z] e9a5061849ea: Waiting [2023-09-11T08:07:10.303Z] d747dcd14b5f: Waiting [2023-09-11T08:07:10.303Z] 2de7ff778b66: Waiting [2023-09-11T08:07:10.303Z] 0d9ebad4ef96: Waiting [2023-09-11T08:07:10.303Z] 9712f1f96733: Verifying Checksum [2023-09-11T08:07:10.303Z] 9712f1f96733: Download complete [2023-09-11T08:07:10.566Z] 63f879dbbcfc: Verifying Checksum [2023-09-11T08:07:10.566Z] 63f879dbbcfc: Download complete [2023-09-11T08:07:10.824Z] e9a5061849ea: Verifying Checksum [2023-09-11T08:07:10.824Z] e9a5061849ea: Download complete [2023-09-11T08:07:10.824Z] d747dcd14b5f: Verifying Checksum [2023-09-11T08:07:10.824Z] d747dcd14b5f: Download complete [2023-09-11T08:07:10.824Z] 0d9ebad4ef96: Verifying Checksum [2023-09-11T08:07:10.824Z] 0d9ebad4ef96: Download complete [2023-09-11T08:07:10.824Z] ab5ef0e58194: Verifying Checksum [2023-09-11T08:07:10.824Z] ab5ef0e58194: Download complete [2023-09-11T08:07:11.082Z] 2de7ff778b66: Verifying Checksum [2023-09-11T08:07:11.082Z] 2de7ff778b66: Download complete [2023-09-11T08:07:13.608Z] ab5ef0e58194: Pull complete [2023-09-11T08:07:13.608Z] 9712f1f96733: Pull complete [2023-09-11T08:07:13.866Z] 63f879dbbcfc: Pull complete [2023-09-11T08:07:18.045Z] 0d9ebad4ef96: Pull complete [2023-09-11T08:07:18.045Z] e9a5061849ea: Pull complete [2023-09-11T08:07:18.045Z] d747dcd14b5f: Pull complete [2023-09-11T08:07:18.977Z] 2de7ff778b66: Pull complete [2023-09-11T08:07:19.236Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-11T08:07:19.236Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-11T08:07:19.236Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T08:07:19.315Z] prd-ubuntu20.04-docker-8c-8g-5781 does not seem to be running inside a container [2023-09-11T08:07:19.337Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-09-11T08:07:25.289Z] $ docker top 7041591ba034aa57a1f523a4eb80caeecf19ad0c40543efd2ad7a87a6102e15e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-11T08:07:25.366Z] provisioning config files... [2023-09-11T08:07:25.374Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4180378380273279414tmp [2023-09-11T08:07:25.384Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8316729132032451621tmp [2023-09-11T08:07:25.393Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6138700619992008152tmp [Pipeline] { [Pipeline] echo [2023-09-11T08:07:25.407Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T08:07:25.684Z] ---> sigul-configuration.sh [2023-09-11T08:07:25.684Z] gpg: directory `/root/.gnupg' created [2023-09-11T08:07:25.684Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-11T08:07:25.684Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-11T08:07:25.684Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-11T08:07:25.684Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-11T08:07:25.684Z] gpg: CAST5 encrypted data [2023-09-11T08:07:25.684Z] gpg: encrypted with 1 passphrase [2023-09-11T08:07:25.685Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-11T08:07:25.963Z] + mkdir /home/jenkins [2023-09-11T08:07:25.963Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-11T08:07:26.242Z] + 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-09-11T08:07:26.251Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T08:07:26.533Z] ---> sigul-install.sh [2023-09-11T08:07:26.534Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-11T08:07:26.814Z] + git tag --list [2023-09-11T08:07:26.814Z] 0.7.1 [2023-09-11T08:07:26.814Z] v1.0.0 [2023-09-11T08:07:26.814Z] v1.1.0 [2023-09-11T08:07:26.814Z] v1.1.1 [2023-09-11T08:07:26.814Z] v1.2.2 [2023-09-11T08:07:26.814Z] v1.3.0 [2023-09-11T08:07:26.814Z] v1.3.1 [2023-09-11T08:07:26.814Z] v2.0.0 [2023-09-11T08:07:26.814Z] v2.1.0 [2023-09-11T08:07:26.814Z] v2.1.1 [2023-09-11T08:07:26.814Z] v2.2.0 [2023-09-11T08:07:26.814Z] v2.3.0 [2023-09-11T08:07:26.814Z] v3.0 [2023-09-11T08:07:26.814Z] v3.0.0 [2023-09-11T08:07:26.814Z] v3.1.0-dev.1 [2023-09-11T08:07:26.814Z] v3.1.0-dev.2 [2023-09-11T08:07:26.814Z] v3.1.0-dev.3 [2023-09-11T08:07:26.814Z] v3.1.0-dev.4 [2023-09-11T08:07:26.814Z] v3.1.0-dev.5 [2023-09-11T08:07:26.814Z] v3.1.0-dev.6 [2023-09-11T08:07:26.814Z] v3.1.0-dev.7 [2023-09-11T08:07:26.814Z] v3.1.0-dev.8 [Pipeline] sh [2023-09-11T08:07:27.095Z] + lftools sign git-tag v3.1.0-dev.8 [2023-09-11T08:07:27.661Z] Signing Git tag with Sigul... [2023-09-11T08:07:27.661Z] Signing v3.1.0-dev.8 [Pipeline] echo [2023-09-11T08:07:27.927Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T08:07:28.206Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-11T08:07:28.212Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-11T08:07:28.224Z] $ docker stop --time=1 7041591ba034aa57a1f523a4eb80caeecf19ad0c40543efd2ad7a87a6102e15e [2023-09-11T08:07:29.484Z] $ docker rm -f --volumes 7041591ba034aa57a1f523a4eb80caeecf19ad0c40543efd2ad7a87a6102e15e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-11T08:07:29.917Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-11T08:07:29.917Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T08:07:30.211Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T08:07:30.211Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T08:07:30.278Z] prd-ubuntu20.04-docker-8c-8g-5781 does not seem to be running inside a container [2023-09-11T08:07:30.294Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-11T08:07:30.644Z] $ docker top 9d3dab1b0027de0968d29ebd1f57f98b506e822a96d2e60be289436a3e91cb51 -eo pid,comm [2023-09-11T08:07:30.699Z] 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-09-11T08:07:30.699Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-11T08:07:30.735Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-11T08:07:30.735Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-11T08:07:30.852Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-11T08:07:30.846Z] $ docker exec 9d3dab1b0027de0968d29ebd1f57f98b506e822a96d2e60be289436a3e91cb51 ssh-agent [2023-09-11T08:07:30.965Z] SSH_AUTH_SOCK=/tmp/ssh-0LLSCMyIZQMm/agent.32 [2023-09-11T08:07:30.965Z] SSH_AGENT_PID=38 [2023-09-11T08:07:30.970Z] Running ssh-add (command line suppressed) [2023-09-11T08:07:31.054Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10529076720322035784.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10529076720322035784.key) [2023-09-11T08:07:31.075Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-11T08:07:31.357Z] + git semver bump pre [2023-09-11T08:07:31.615Z] 2023-09-11 08:07:31,536 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-11T08:07:31.615Z] 2023-09-11 08:07:31,536 [bump_version] DEBUG bumping version:3.1.0-dev.8 on axis:pre with prefix:dev [2023-09-11T08:07:31.615Z] 2023-09-11 08:07:31,537 [bump_version] DEBUG bumped version:3.1.0-dev.9 [2023-09-11T08:07:31.615Z] 2023-09-11 08:07:31,537 [write_version] DEBUG write version:3.1.0-dev.9 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-09-11T08:07:31.615Z] 2023-09-11 08:07:31,537 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-11T08:07:31.615Z] 2023-09-11 08:07:31,537 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-11T08:07:31.615Z] 2023-09-11 08:07:31,538 [execute] INFO git cat-file --batch-check [2023-09-11T08:07:31.615Z] 2023-09-11 08:07:31,539 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-11T08:07:31.615Z] 2023-09-11 08:07:31,544 [execute] INFO git cat-file --batch [2023-09-11T08:07:31.615Z] 2023-09-11 08:07:31,544 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-11T08:07:31.615Z] 2023-09-11 08:07:31,549 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-11T08:07:31.615Z] 3.1.0-dev.9 [Pipeline] } [2023-09-11T08:07:31.615Z] $ docker exec --env ******** --env ******** 9d3dab1b0027de0968d29ebd1f57f98b506e822a96d2e60be289436a3e91cb51 ssh-agent -k [2023-09-11T08:07:31.711Z] unset SSH_AUTH_SOCK; [2023-09-11T08:07:31.711Z] unset SSH_AGENT_PID; [2023-09-11T08:07:31.711Z] echo Agent pid 38 killed; [2023-09-11T08:07:31.732Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-11T08:07:32.025Z] + git semver [Pipeline] } [2023-09-11T08:07:32.285Z] $ docker stop --time=1 9d3dab1b0027de0968d29ebd1f57f98b506e822a96d2e60be289436a3e91cb51 [2023-09-11T08:07:33.528Z] $ docker rm -f --volumes 9d3dab1b0027de0968d29ebd1f57f98b506e822a96d2e60be289436a3e91cb51 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-11T08:07:33.867Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-11T08:07:33.867Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T08:07:34.163Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T08:07:34.163Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T08:07:34.238Z] prd-ubuntu20.04-docker-8c-8g-5781 does not seem to be running inside a container [2023-09-11T08:07:34.257Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-11T08:07:34.577Z] $ docker top 2ebee1eef07975c11b2bc841aee9f260b30375c2e07c2c2dc24b5cddfc1b4ec9 -eo pid,comm [2023-09-11T08:07:34.629Z] 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-09-11T08:07:34.629Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-11T08:07:34.667Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-11T08:07:34.667Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-11T08:07:34.777Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-11T08:07:34.770Z] $ docker exec 2ebee1eef07975c11b2bc841aee9f260b30375c2e07c2c2dc24b5cddfc1b4ec9 ssh-agent [2023-09-11T08:07:34.885Z] SSH_AUTH_SOCK=/tmp/ssh-NFkaPmOzPQx0/agent.33 [2023-09-11T08:07:34.885Z] SSH_AGENT_PID=39 [2023-09-11T08:07:34.889Z] Running ssh-add (command line suppressed) [2023-09-11T08:07:34.980Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13989080586294247889.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13989080586294247889.key) [2023-09-11T08:07:35.000Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-11T08:07:35.281Z] + git semver push [2023-09-11T08:07:35.539Z] 2023-09-11 08:07:35,443 [run_push] DEBUG push [2023-09-11T08:07:35.539Z] 2023-09-11 08:07:35,444 [execute] INFO git cat-file --batch-check [2023-09-11T08:07:35.539Z] 2023-09-11 08:07:35,444 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-11T08:07:35.539Z] 2023-09-11 08:07:35,449 [execute] INFO git rev-list 696635e2661c22508d214b771b0f3f9f6477afd8 -- [2023-09-11T08:07:35.539Z] 2023-09-11 08:07:35,449 [execute] DEBUG Popen(['git', 'rev-list', '696635e2661c22508d214b771b0f3f9f6477afd8', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-11T08:07:35.539Z] 2023-09-11 08:07:35,458 [execute] INFO git fetch -v origin [2023-09-11T08:07:35.539Z] 2023-09-11 08:07:35,458 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-11T08:07:36.106Z] 2023-09-11 08:07:35,931 [run_push] DEBUG no remote changes detected [2023-09-11T08:07:36.106Z] 2023-09-11 08:07:35,932 [execute] INFO git push origin semver [2023-09-11T08:07:36.106Z] 2023-09-11 08:07:35,932 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-11T08:07:37.045Z] 2023-09-11 08:07:36,695 [run_push] DEBUG push all version tags [2023-09-11T08:07:37.045Z] 2023-09-11 08:07:36,695 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-11T08:07:37.045Z] 2023-09-11 08:07:36,696 [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-09-11T08:07:37.612Z] 2023-09-11 08:07:37,439 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-11T08:07:37.612Z] 3.1.0-dev.9 [Pipeline] } [2023-09-11T08:07:37.612Z] $ docker exec --env ******** --env ******** 2ebee1eef07975c11b2bc841aee9f260b30375c2e07c2c2dc24b5cddfc1b4ec9 ssh-agent -k [2023-09-11T08:07:37.710Z] unset SSH_AUTH_SOCK; [2023-09-11T08:07:37.710Z] unset SSH_AGENT_PID; [2023-09-11T08:07:37.710Z] echo Agent pid 39 killed; [2023-09-11T08:07:37.728Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-11T08:07:38.034Z] + git semver [Pipeline] } [2023-09-11T08:07:38.296Z] $ docker stop --time=1 2ebee1eef07975c11b2bc841aee9f260b30375c2e07c2c2dc24b5cddfc1b4ec9 [2023-09-11T08:07:39.539Z] $ docker rm -f --volumes 2ebee1eef07975c11b2bc841aee9f260b30375c2e07c2c2dc24b5cddfc1b4ec9 [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-09-11T08:07:40.107Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-09-11T08:07:40.107Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-09-11T08:07:40.107Z] total 16 [2023-09-11T08:07:40.107Z] drwxr-xr-x 3 root root 4096 Sep 11 07:59 . [2023-09-11T08:07:40.107Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 11 08:07 .. [2023-09-11T08:07:40.107Z] drwxr-xr-x 2 root root 4096 Sep 11 07:59 cost [2023-09-11T08:07:40.107Z] -rw-r--r-- 1 root root 88 Sep 11 07:59 cost.csv [2023-09-11T08:07:40.107Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-09-11T08:07:40.107Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-09-11T08:07:40.107Z] total 16 [2023-09-11T08:07:40.107Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 11 07:59 . [2023-09-11T08:07:40.107Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 11 08:07 .. [2023-09-11T08:07:40.107Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 11 07:59 cost [2023-09-11T08:07:40.107Z] -rw-r--r-- 1 jenkins jenkins 88 Sep 11 07:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-11T08:07:40.398Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T08:07:41.252Z] ---> package-listing.sh [2023-09-11T08:07:41.252Z] ++ facter osfamily [2023-09-11T08:07:41.252Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-11T08:07:41.511Z] + OS_FAMILY=debian [2023-09-11T08:07:41.511Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-09-11T08:07:41.511Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-11T08:07:41.511Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-11T08:07:41.511Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-11T08:07:41.511Z] + PACKAGES=/tmp/packages_start.txt [2023-09-11T08:07:41.511Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-09-11T08:07:41.511Z] + PACKAGES=/tmp/packages_end.txt [2023-09-11T08:07:41.511Z] + case "${OS_FAMILY}" in [2023-09-11T08:07:41.511Z] + dpkg -l [2023-09-11T08:07:41.511Z] + grep '^ii' [2023-09-11T08:07:41.511Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-11T08:07:41.511Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-11T08:07:41.511Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-11T08:07:41.511Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-09-11T08:07:41.511Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-09-11T08:07:41.511Z] + 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-09-11T08:07:41.602Z] 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-09-11T08:07:41.924Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T08:07:42.255Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-11T08:07:42.255Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T08:07:42.322Z] prd-ubuntu20.04-docker-8c-8g-5781 does not seem to be running inside a container [2023-09-11T08:07:42.347Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-11T08:07:42.543Z] $ docker top 481631cda7eb31c2da8a2d40d976c0d1cc9e00082be092ac4112bb57c6692b17 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-11T08:07:42.892Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-11T08:07:43.177Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-11T08:07:43.461Z] + ls /var/log/sa-host [2023-09-11T08:07:43.461Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-11T08:07:43.606Z] provisioning config files... [2023-09-11T08:07:43.614Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16301484401153882327tmp [Pipeline] { [Pipeline] echo [2023-09-11T08:07:43.624Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T08:07:43.904Z] ---> create-netrc.sh [Pipeline] } [2023-09-11T08:07:43.911Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-11T08:07:44.235Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-11T08:07:44.244Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T08:07:44.526Z] ---> sudo-logs.sh [2023-09-11T08:07:44.526Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-11T08:07:44.547Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T08:07:44.831Z] ---> job-cost.sh [2023-09-11T08:07:44.831Z] lf-activate-venv: SKIPPING [2023-09-11T08:07:44.831Z] DEBUG: total: 0.2199999988079071 [2023-09-11T08:07:44.831Z] INFO: Retrieving Stack Cost... [2023-09-11T08:07:45.768Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-11T08:07:46.028Z] INFO: Archiving Costs [Pipeline] echo [2023-09-11T08:07:46.040Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T08:07:46.326Z] ---> logs-deploy.sh [2023-09-11T08:07:46.326Z] lf-activate-venv: SKIPPING [2023-09-11T08:07:46.326Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/122 [2023-09-11T08:07:46.326Z] INFO: archiving workspace using pattern(s): [2023-09-11T08:07:47.264Z] Archives upload complete. [2023-09-11T08:07:47.264Z] INFO: archiving logs to Nexus