Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d21f7114bade91926d0e99e1f605d1c822a787f1 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-ssh2386126774583152240.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-ssh18207012248357275615.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-ssh2297198119643949428.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-ssh2938640718767540561.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-ssh16039257172496309944.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 Running on prd-ubuntu20.04-docker-8c-8g-5017 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 d21f7114bade91926d0e99e1f605d1c822a787f1 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#496)" > 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 d21f7114bade91926d0e99e1f605d1c822a787f1 # timeout=10 > git rev-list --no-walk f93217a48f66f916d77da41a80c6f59472f374e0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-31T14:58:03.489Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-31T14:58:03.557Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-31T14:58:03.569Z] ========================================================= [2023-08-31T14:58:03.569Z] EdgeX Global Pipelines Version Info [2023-08-31T14:58:03.569Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-31T14:58:04.314Z] ------------------- [2023-08-31T14:58:04.314Z] stable info: [2023-08-31T14:58:04.314Z] ------------------- [2023-08-31T14:58:04.314Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-31T14:58:04.314Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-31T14:58:04.314Z] Message: update stable to v1.0.253 [2023-08-31T14:58:04.886Z] ------------------- [2023-08-31T14:58:04.886Z] experimental info: [2023-08-31T14:58:04.886Z] ------------------- [2023-08-31T14:58:04.886Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-31T14:58:04.886Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-31T14:58:04.886Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-31T14:58:05.038Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-08-31T14:58:05.052Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-08-31T14:58:05.066Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-31T14:58:05.083Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-31T14:58:05.096Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-31T14:58:05.115Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-31T14:58:05.132Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-31T14:58:05.148Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-31T14:58:05.159Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-31T14:58:05.172Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-31T14:58:05.183Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-31T14:58:05.197Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-08-31T14:58:05.211Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-31T14:58:05.221Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-31T14:58:05.234Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-31T14:58:05.245Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-31T14:58:05.256Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-31T14:58:05.266Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-31T14:58:05.275Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-31T14:58:05.295Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-31T14:58:05.315Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-31T14:58:05.334Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-31T14:58:05.348Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-31T14:58:05.358Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-31T14:58:05.370Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-31T14:58:05.381Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-31T14:58:05.395Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-31T14:58:05.413Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-31T14:58:05.429Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-31T14:58:05.451Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-31T14:58:05.470Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d21f7114bade91926d0e99e1f605d1c822a787f1 [Pipeline] echo [2023-08-31T14:58:05.485Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d21f711 [Pipeline] echo [2023-08-31T14:58:05.506Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-31T14:58:05.559Z] provisioning config files... [2023-08-31T14:58:05.572Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18390293375265581638tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T14:58:05.881Z] ---> docker-login.sh [2023-08-31T14:58:05.881Z] nexus3.edgexfoundry.org:10001 [2023-08-31T14:58:05.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:58:06.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:58:06.144Z] Configure a credential helper to remove this warning. See [2023-08-31T14:58:06.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:58:06.144Z] [2023-08-31T14:58:06.144Z] Login Succeeded [2023-08-31T14:58:06.144Z] nexus3.edgexfoundry.org:10002 [2023-08-31T14:58:06.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:58:06.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:58:06.144Z] Configure a credential helper to remove this warning. See [2023-08-31T14:58:06.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:58:06.144Z] [2023-08-31T14:58:06.144Z] Login Succeeded [2023-08-31T14:58:06.144Z] nexus3.edgexfoundry.org:10003 [2023-08-31T14:58:06.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:58:06.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:58:06.407Z] Configure a credential helper to remove this warning. See [2023-08-31T14:58:06.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:58:06.407Z] [2023-08-31T14:58:06.407Z] Login Succeeded [2023-08-31T14:58:06.407Z] nexus3.edgexfoundry.org:10004 [2023-08-31T14:58:06.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:58:06.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:58:06.407Z] Configure a credential helper to remove this warning. See [2023-08-31T14:58:06.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:58:06.407Z] [2023-08-31T14:58:06.407Z] Login Succeeded [2023-08-31T14:58:06.407Z] docker.io [2023-08-31T14:58:06.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:58:06.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:58:06.929Z] Configure a credential helper to remove this warning. See [2023-08-31T14:58:06.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:58:06.929Z] [2023-08-31T14:58:06.929Z] Login Succeeded [2023-08-31T14:58:06.929Z] ---> docker-login.sh ends [Pipeline] } [2023-08-31T14:58:06.937Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-31T14:58:07.335Z] + git rev-list -1 --merges d21f7114bade91926d0e99e1f605d1c822a787f1~1..d21f7114bade91926d0e99e1f605d1c822a787f1 [Pipeline] echo [2023-08-31T14:58:07.410Z] -----------> git rev-list -1 --merges d21f7114bade91926d0e99e1f605d1c822a787f1~1..d21f7114bade91926d0e99e1f605d1c822a787f1 d21f7114bade91926d0e99e1f605d1c822a787f1 [false] [Pipeline] sh [2023-08-31T14:58:07.697Z] + git log --format=format:%s -1 d21f7114bade91926d0e99e1f605d1c822a787f1 [Pipeline] echo [2023-08-31T14:58:07.711Z] ========================================================= [2023-08-31T14:58:07.711Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-31T14:58:07.711Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-31T14:58:08.052Z] + git log --format=format:%s -1 d21f7114bade91926d0e99e1f605d1c822a787f1 [Pipeline] echo [2023-08-31T14:58:08.063Z] [semverPrep] GIT_COMMIT: d21f7114bade91926d0e99e1f605d1c822a787f1, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#496) [Pipeline] echo [2023-08-31T14:58:08.075Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-31T14:58:08.419Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-31T14:58:08.419Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-31T14:58:08.419Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-31T14:58:08.419Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-31T14:58:08.419Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-31T14:58:08.419Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-31T14:58:08.419Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:58:08.771Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T14:58:08.771Z] [2023-08-31T14:58:08.771Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:58:09.078Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T14:58:09.079Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-31T14:58:09.079Z] b85a868b505f: Pulling fs layer [2023-08-31T14:58:09.079Z] e2be974225ed: Pulling fs layer [2023-08-31T14:58:09.079Z] 339a4e72a1f5: Pulling fs layer [2023-08-31T14:58:09.079Z] 988bab9f4d93: Pulling fs layer [2023-08-31T14:58:09.079Z] 1469e6f7b9e6: Pulling fs layer [2023-08-31T14:58:09.079Z] eaf3925da568: Pulling fs layer [2023-08-31T14:58:09.079Z] bab4dde63d76: Pulling fs layer [2023-08-31T14:58:09.079Z] bde34c3a00c8: Pulling fs layer [2023-08-31T14:58:09.079Z] b352a97aabf1: Pulling fs layer [2023-08-31T14:58:09.079Z] 4872d77fe225: Pulling fs layer [2023-08-31T14:58:09.079Z] 5851b861e8e6: Pulling fs layer [2023-08-31T14:58:09.079Z] bde34c3a00c8: Waiting [2023-08-31T14:58:09.079Z] b352a97aabf1: Waiting [2023-08-31T14:58:09.079Z] 988bab9f4d93: Waiting [2023-08-31T14:58:09.079Z] 1469e6f7b9e6: Waiting [2023-08-31T14:58:09.079Z] eaf3925da568: Waiting [2023-08-31T14:58:09.079Z] bab4dde63d76: Waiting [2023-08-31T14:58:09.079Z] 4872d77fe225: Waiting [2023-08-31T14:58:09.079Z] 5851b861e8e6: Waiting [2023-08-31T14:58:09.079Z] e2be974225ed: Verifying Checksum [2023-08-31T14:58:09.079Z] e2be974225ed: Download complete [2023-08-31T14:58:09.079Z] 988bab9f4d93: Download complete [2023-08-31T14:58:09.079Z] 1469e6f7b9e6: Verifying Checksum [2023-08-31T14:58:09.079Z] 1469e6f7b9e6: Download complete [2023-08-31T14:58:09.339Z] eaf3925da568: Verifying Checksum [2023-08-31T14:58:09.339Z] eaf3925da568: Download complete [2023-08-31T14:58:09.339Z] 339a4e72a1f5: Download complete [2023-08-31T14:58:09.339Z] bde34c3a00c8: Verifying Checksum [2023-08-31T14:58:09.339Z] bde34c3a00c8: Download complete [2023-08-31T14:58:09.339Z] b352a97aabf1: Verifying Checksum [2023-08-31T14:58:09.339Z] b352a97aabf1: Download complete [2023-08-31T14:58:09.339Z] 4872d77fe225: Verifying Checksum [2023-08-31T14:58:09.339Z] 4872d77fe225: Download complete [2023-08-31T14:58:09.339Z] 5851b861e8e6: Download complete [2023-08-31T14:58:09.339Z] b85a868b505f: Verifying Checksum [2023-08-31T14:58:09.339Z] b85a868b505f: Download complete [2023-08-31T14:58:09.599Z] bab4dde63d76: Verifying Checksum [2023-08-31T14:58:09.599Z] bab4dde63d76: Download complete [2023-08-31T14:58:10.573Z] b85a868b505f: Pull complete [2023-08-31T14:58:10.837Z] e2be974225ed: Pull complete [2023-08-31T14:58:11.098Z] 339a4e72a1f5: Pull complete [2023-08-31T14:58:11.358Z] 988bab9f4d93: Pull complete [2023-08-31T14:58:11.619Z] 1469e6f7b9e6: Pull complete [2023-08-31T14:58:11.619Z] eaf3925da568: Pull complete [2023-08-31T14:58:13.523Z] bab4dde63d76: Pull complete [2023-08-31T14:58:13.523Z] bde34c3a00c8: Pull complete [2023-08-31T14:58:13.523Z] b352a97aabf1: Pull complete [2023-08-31T14:58:13.523Z] 4872d77fe225: Pull complete [2023-08-31T14:58:13.523Z] 5851b861e8e6: Pull complete [2023-08-31T14:58:13.523Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-31T14:58:13.523Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T14:58:13.523Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T14:58:13.619Z] prd-ubuntu20.04-docker-8c-8g-5017 does not seem to be running inside a container [2023-08-31T14:58:13.653Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-31T14:58:16.778Z] $ docker top 4044d9d75bd2fe222ec8c8bdcc92465c4bc38f34f96b4cbfb5b247e96d07a889 -eo pid,comm [2023-08-31T14:58:16.836Z] 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-08-31T14:58:16.836Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-31T14:58:16.877Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-31T14:58:16.877Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-31T14:58:16.967Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-31T14:58:16.974Z] $ docker exec 4044d9d75bd2fe222ec8c8bdcc92465c4bc38f34f96b4cbfb5b247e96d07a889 ssh-agent [2023-08-31T14:58:17.071Z] SSH_AUTH_SOCK=/tmp/ssh-3LjyG6EC0uOn/agent.33 [2023-08-31T14:58:17.071Z] SSH_AGENT_PID=39 [2023-08-31T14:58:17.077Z] Running ssh-add (command line suppressed) [2023-08-31T14:58:17.173Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2542127664094409614.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2542127664094409614.key) [2023-08-31T14:58:17.182Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-31T14:58:17.466Z] + git tag --points-at HEAD [Pipeline] } [2023-08-31T14:58:17.482Z] $ docker exec --env ******** --env ******** 4044d9d75bd2fe222ec8c8bdcc92465c4bc38f34f96b4cbfb5b247e96d07a889 ssh-agent -k [2023-08-31T14:58:17.572Z] unset SSH_AUTH_SOCK; [2023-08-31T14:58:17.572Z] unset SSH_AGENT_PID; [2023-08-31T14:58:17.572Z] echo Agent pid 39 killed; [2023-08-31T14:58:17.577Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-31T14:58:17.603Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-31T14:58:17.603Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-31T14:58:17.699Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-31T14:58:17.706Z] $ docker exec 4044d9d75bd2fe222ec8c8bdcc92465c4bc38f34f96b4cbfb5b247e96d07a889 ssh-agent [2023-08-31T14:58:17.796Z] SSH_AUTH_SOCK=/tmp/ssh-8hahMdlKr5HJ/agent.71 [2023-08-31T14:58:17.796Z] SSH_AGENT_PID=77 [2023-08-31T14:58:17.800Z] Running ssh-add (command line suppressed) [2023-08-31T14:58:17.905Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1681066857875402404.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1681066857875402404.key) [2023-08-31T14:58:17.915Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-31T14:58:18.200Z] + git semver init [2023-08-31T14:58:18.460Z] 2023-08-31 14:58:18,366 [run_init] DEBUG init version:0.0.0 force:False [2023-08-31T14:58:18.460Z] 2023-08-31 14:58:18,366 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-08-31T14:58:18.460Z] 2023-08-31 14:58:18,367 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-08-31T14:58:18.460Z] 2023-08-31 14:58:18,367 [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-08-31T14:58:19.400Z] 2023-08-31 14:58:19,160 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-08-31T14:58:19.400Z] 2023-08-31 14:58:19,160 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-08-31T14:58:19.400Z] 2023-08-31 14:58:19,160 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-31T14:58:19.400Z] 2023-08-31 14:58:19,161 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-31T14:58:19.400Z] 3.1.0-dev.6 [Pipeline] } [2023-08-31T14:58:19.417Z] $ docker exec --env ******** --env ******** 4044d9d75bd2fe222ec8c8bdcc92465c4bc38f34f96b4cbfb5b247e96d07a889 ssh-agent -k [2023-08-31T14:58:19.508Z] unset SSH_AUTH_SOCK; [2023-08-31T14:58:19.509Z] unset SSH_AGENT_PID; [2023-08-31T14:58:19.509Z] echo Agent pid 77 killed; [2023-08-31T14:58:19.515Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-31T14:58:19.818Z] + git semver [Pipeline] } [2023-08-31T14:58:20.096Z] $ docker stop --time=1 4044d9d75bd2fe222ec8c8bdcc92465c4bc38f34f96b4cbfb5b247e96d07a889 [2023-08-31T14:58:21.405Z] $ docker rm -f --volumes 4044d9d75bd2fe222ec8c8bdcc92465c4bc38f34f96b4cbfb5b247e96d07a889 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-31T14:58:21.736Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-31T14:58:21.953Z] Stashed 1 file(s) [Pipeline] echo [2023-08-31T14:58:21.956Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.6 [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-08-31T14:58:22.139Z] provisioning config files... [2023-08-31T14:58:22.150Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15877653260917944797tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T14:58:22.447Z] ---> docker-login.sh [2023-08-31T14:58:22.447Z] nexus3.edgexfoundry.org:10001 [2023-08-31T14:58:22.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:58:22.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:58:22.447Z] Configure a credential helper to remove this warning. See [2023-08-31T14:58:22.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:58:22.448Z] [2023-08-31T14:58:22.448Z] Login Succeeded [2023-08-31T14:58:22.448Z] nexus3.edgexfoundry.org:10002 [2023-08-31T14:58:22.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:58:22.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:58:22.448Z] Configure a credential helper to remove this warning. See [2023-08-31T14:58:22.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:58:22.448Z] [2023-08-31T14:58:22.448Z] Login Succeeded [2023-08-31T14:58:22.448Z] nexus3.edgexfoundry.org:10003 [2023-08-31T14:58:22.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:58:22.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:58:22.706Z] Configure a credential helper to remove this warning. See [2023-08-31T14:58:22.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:58:22.706Z] [2023-08-31T14:58:22.706Z] Login Succeeded [2023-08-31T14:58:22.706Z] nexus3.edgexfoundry.org:10004 [2023-08-31T14:58:22.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:58:22.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:58:22.706Z] Configure a credential helper to remove this warning. See [2023-08-31T14:58:22.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:58:22.706Z] [2023-08-31T14:58:22.706Z] Login Succeeded [2023-08-31T14:58:22.706Z] docker.io [2023-08-31T14:58:22.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T14:58:22.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T14:58:22.966Z] Configure a credential helper to remove this warning. See [2023-08-31T14:58:22.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T14:58:22.966Z] [2023-08-31T14:58:22.966Z] Login Succeeded [2023-08-31T14:58:22.966Z] ---> docker-login.sh ends [Pipeline] } [2023-08-31T14:58:22.973Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-31T14:58:23.031Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T14:58:23.044Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T14:58:23.051Z] ========================================================= [2023-08-31T14:58:23.051Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-31T14:58:23.051Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:58:23.367Z] + 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-08-31T14:58:23.367Z] Sending build context to Docker daemon 6.402MB [2023-08-31T14:58:23.367Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-31T14:58:23.367Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-31T14:58:23.367Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-31T14:58:23.367Z] 4db1b89c0bd1: Pulling fs layer [2023-08-31T14:58:23.367Z] 6911f1a30b25: Pulling fs layer [2023-08-31T14:58:23.367Z] e194b8c5c2a9: Pulling fs layer [2023-08-31T14:58:23.367Z] 6863d3e3a2b1: Pulling fs layer [2023-08-31T14:58:23.367Z] ec0bb842ea78: Pulling fs layer [2023-08-31T14:58:23.367Z] 40a00589a448: Pulling fs layer [2023-08-31T14:58:23.367Z] 6c08303d61cc: Pulling fs layer [2023-08-31T14:58:23.367Z] 798269fcf238: Pulling fs layer [2023-08-31T14:58:23.367Z] 6c08303d61cc: Waiting [2023-08-31T14:58:23.367Z] 6863d3e3a2b1: Waiting [2023-08-31T14:58:23.367Z] ec0bb842ea78: Waiting [2023-08-31T14:58:23.367Z] 40a00589a448: Waiting [2023-08-31T14:58:23.367Z] 798269fcf238: Waiting [2023-08-31T14:58:23.367Z] 6911f1a30b25: Download complete [2023-08-31T14:58:23.367Z] 6863d3e3a2b1: Verifying Checksum [2023-08-31T14:58:23.367Z] 6863d3e3a2b1: Download complete [2023-08-31T14:58:23.367Z] ec0bb842ea78: Verifying Checksum [2023-08-31T14:58:23.367Z] ec0bb842ea78: Download complete [2023-08-31T14:58:23.628Z] 4db1b89c0bd1: Verifying Checksum [2023-08-31T14:58:23.628Z] 4db1b89c0bd1: Download complete [2023-08-31T14:58:23.628Z] 40a00589a448: Verifying Checksum [2023-08-31T14:58:23.628Z] 40a00589a448: Download complete [2023-08-31T14:58:23.628Z] 4db1b89c0bd1: Pull complete [2023-08-31T14:58:23.890Z] 6911f1a30b25: Pull complete [2023-08-31T14:58:24.149Z] 798269fcf238: Verifying Checksum [2023-08-31T14:58:24.149Z] 798269fcf238: Download complete [2023-08-31T14:58:24.149Z] e194b8c5c2a9: Verifying Checksum [2023-08-31T14:58:24.149Z] e194b8c5c2a9: Download complete [2023-08-31T14:58:24.406Z] 6c08303d61cc: Verifying Checksum [2023-08-31T14:58:24.406Z] 6c08303d61cc: Download complete [2023-08-31T14:58:27.687Z] e194b8c5c2a9: Pull complete [2023-08-31T14:58:27.687Z] 6863d3e3a2b1: Pull complete [2023-08-31T14:58:27.687Z] ec0bb842ea78: Pull complete [2023-08-31T14:58:27.687Z] 40a00589a448: Pull complete [2023-08-31T14:58:29.638Z] 6c08303d61cc: Pull complete [2023-08-31T14:58:30.203Z] 798269fcf238: Pull complete [2023-08-31T14:58:30.203Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-31T14:58:30.203Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-31T14:58:30.203Z] ---> ec979cd7f677 [2023-08-31T14:58:30.203Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-08-31T14:58:34.416Z] ---> Running in 4b48fec8e1f2 [2023-08-31T14:58:34.416Z] Removing intermediate container 4b48fec8e1f2 [2023-08-31T14:58:34.416Z] ---> e99a26cf94b5 [2023-08-31T14:58:34.416Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-31T14:58:34.681Z] ---> Running in 91cb944da12c [2023-08-31T14:58:34.681Z] Removing intermediate container 91cb944da12c [2023-08-31T14:58:34.681Z] ---> c7e380a1b832 [2023-08-31T14:58:34.681Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-08-31T14:58:34.681Z] ---> Running in 87a897467128 [2023-08-31T14:58:34.940Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-31T14:58:34.940Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-31T14:58:35.198Z] (1/8) Installing openssh-keygen (9.1_p1-r4) [2023-08-31T14:58:35.198Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-08-31T14:58:35.198Z] (3/8) Installing openssh-client-common (9.1_p1-r4) [2023-08-31T14:58:35.198Z] (4/8) Installing openssh-client-default (9.1_p1-r4) [2023-08-31T14:58:35.198Z] (5/8) Installing openssh-sftp-server (9.1_p1-r4) [2023-08-31T14:58:35.198Z] (6/8) Installing openssh-server-common (9.1_p1-r4) [2023-08-31T14:58:35.198Z] (7/8) Installing openssh-server (9.1_p1-r4) [2023-08-31T14:58:35.198Z] (8/8) Installing openssh (9.1_p1-r4) [2023-08-31T14:58:35.198Z] Executing busybox-1.35.0-r29.trigger [2023-08-31T14:58:35.198Z] OK: 270 MiB in 61 packages [2023-08-31T14:58:35.817Z] Removing intermediate container 87a897467128 [2023-08-31T14:58:35.817Z] ---> 524669e7c30f [2023-08-31T14:58:35.817Z] Step 6/10 : WORKDIR /device-modbus-go [2023-08-31T14:58:35.817Z] ---> Running in 4c22aeaa536c [2023-08-31T14:58:36.077Z] Removing intermediate container 4c22aeaa536c [2023-08-31T14:58:36.077Z] ---> 681ff8337143 [2023-08-31T14:58:36.077Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-31T14:58:36.077Z] ---> 79c311711875 [2023-08-31T14:58:36.077Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-31T14:58:36.077Z] ---> Running in f13d61e68f35 [2023-08-31T14:58:37.081Z] Still waiting to schedule task [2023-08-31T14:58:37.081Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5020’ is offline [2023-08-31T14:58:37.081Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5021’ is offline [2023-08-31T14:59:08.172Z] Removing intermediate container f13d61e68f35 [2023-08-31T14:59:08.172Z] ---> 95a39d028848 [2023-08-31T14:59:08.172Z] Step 9/10 : COPY . . [2023-08-31T14:59:08.172Z] ---> 6996e311fed7 [2023-08-31T14:59:08.172Z] Step 10/10 : RUN ${MAKE} [2023-08-31T14:59:08.172Z] ---> Running in 4e6713315a2a [2023-08-31T14:59:08.172Z] noop [2023-08-31T14:59:08.172Z] Removing intermediate container 4e6713315a2a [2023-08-31T14:59:08.172Z] ---> c3b3450066b1 [2023-08-31T14:59:08.172Z] Successfully built c3b3450066b1 [2023-08-31T14:59:08.172Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:59:08.495Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-31T14:59:08.495Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T14:59:08.567Z] prd-ubuntu20.04-docker-8c-8g-5017 does not seem to be running inside a container [2023-08-31T14:59:08.602Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-31T14:59:08.927Z] $ docker top 139c445e362f98de181ac66eb8721c90bf294a3763e9091486de801edeb84255 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T14:59:09.261Z] + go version [2023-08-31T14:59:09.261Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-31T14:59:09.275Z] $ docker stop --time=1 139c445e362f98de181ac66eb8721c90bf294a3763e9091486de801edeb84255 [2023-08-31T14:59:10.519Z] $ docker rm -f --volumes 139c445e362f98de181ac66eb8721c90bf294a3763e9091486de801edeb84255 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:59:10.915Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-31T14:59:10.915Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T14:59:10.988Z] prd-ubuntu20.04-docker-8c-8g-5017 does not seem to be running inside a container [2023-08-31T14:59:11.024Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-31T14:59:11.334Z] $ docker top 7473e0ed930344be7800d88c380f2740a4416b3952242ccb804280f3ef5552d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T14:59:11.673Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-08-31T14:59:11.970Z] + make test [2023-08-31T14:59:11.970Z] go test ./... -coverprofile=coverage.out [2023-08-31T14:59:16.161Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-08-31T14:59:26.126Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-08-31T14:59:26.126Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.9% of statements [2023-08-31T14:59:31.389Z] go vet ./... [2023-08-31T14:59:35.576Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-31T14:59:35.576Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-31T14:59:35.576Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-31T14:59:35.586Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-31T14:59:35.599Z] $ docker stop --time=1 7473e0ed930344be7800d88c380f2740a4416b3952242ccb804280f3ef5552d1 [2023-08-31T14:59:38.944Z] $ docker rm -f --volumes 7473e0ed930344be7800d88c380f2740a4416b3952242ccb804280f3ef5552d1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-31T14:59:39.392Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-31T14:59:39.464Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-31T14:59:39.896Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-31T14:59:40.185Z] + ls -al . [2023-08-31T14:59:40.185Z] total 192 [2023-08-31T14:59:40.185Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 31 14:59 . [2023-08-31T14:59:40.185Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 14:58 .. [2023-08-31T14:59:40.185Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 31 14:58 .dockerignore [2023-08-31T14:59:40.185Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 14:58 .git [2023-08-31T14:59:40.185Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 14:58 .github [2023-08-31T14:59:40.185Z] -rw-rw-r-- 1 jenkins jenkins 331 Aug 31 14:58 .gitignore [2023-08-31T14:59:40.185Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 31 14:58 .golangci.yml [2023-08-31T14:59:40.185Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 14:58 .semver [2023-08-31T14:59:40.185Z] -rw-rw-r-- 1 jenkins jenkins 11101 Aug 31 14:58 Attribution.txt [2023-08-31T14:59:40.185Z] -rw-rw-r-- 1 jenkins jenkins 14764 Aug 31 14:58 CHANGELOG.md [2023-08-31T14:59:40.185Z] -rw-rw-r-- 1 jenkins jenkins 1365 Aug 31 14:58 Dockerfile [2023-08-31T14:59:40.185Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 14:58 GOVERNANCE.md [2023-08-31T14:59:40.185Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 31 14:58 Jenkinsfile [2023-08-31T14:59:40.185Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 31 14:58 LICENSE [2023-08-31T14:59:40.185Z] -rw-rw-r-- 1 jenkins jenkins 1936 Aug 31 14:58 Makefile [2023-08-31T14:59:40.185Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 31 14:58 OWNERS.md [2023-08-31T14:59:40.185Z] -rw-rw-r-- 1 jenkins jenkins 4578 Aug 31 14:58 README.md [2023-08-31T14:59:40.185Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 31 14:58 VERSION [2023-08-31T14:59:40.185Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 14:58 bin [2023-08-31T14:59:40.185Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 14:58 cmd [2023-08-31T14:59:40.185Z] -rw-r--r-- 1 jenkins jenkins 24334 Aug 31 14:59 coverage.out [2023-08-31T14:59:40.185Z] -rw-rw-r-- 1 jenkins jenkins 3940 Aug 31 14:58 go.mod [2023-08-31T14:59:40.185Z] -rw-rw-r-- 1 jenkins jenkins 34434 Aug 31 14:58 go.sum [2023-08-31T14:59:40.185Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 14:58 internal [2023-08-31T14:59:40.185Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 14:58 simulator [2023-08-31T14:59:40.185Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 14:58 snap [2023-08-31T14:59:40.185Z] -rw-rw-r-- 1 jenkins jenkins 229 Aug 31 14:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T14:59:40.525Z] + 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=d21f7114bade91926d0e99e1f605d1c822a787f1 --label arch=amd64 --label version=3.1.0-dev.6 . [2023-08-31T14:59:40.525Z] Sending build context to Docker daemon 6.427MB [2023-08-31T14:59:40.525Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-08-31T14:59:40.525Z] Step 2/22 : FROM ${BASE} AS builder [2023-08-31T14:59:40.525Z] ---> c3b3450066b1 [2023-08-31T14:59:40.525Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-08-31T14:59:40.783Z] ---> Running in 93470f83adfd [2023-08-31T14:59:40.783Z] Removing intermediate container 93470f83adfd [2023-08-31T14:59:40.783Z] ---> d8807d658367 [2023-08-31T14:59:40.783Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-31T14:59:40.783Z] ---> Running in 57087ed7cf38 [2023-08-31T14:59:40.783Z] Removing intermediate container 57087ed7cf38 [2023-08-31T14:59:40.783Z] ---> 8bfda4720e4e [2023-08-31T14:59:40.783Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-08-31T14:59:40.783Z] ---> Running in 89d7e0548da2 [2023-08-31T14:59:41.043Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-31T14:59:41.302Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-31T14:59:41.561Z] OK: 270 MiB in 61 packages [2023-08-31T14:59:41.820Z] Removing intermediate container 89d7e0548da2 [2023-08-31T14:59:41.820Z] ---> 036a8ea49944 [2023-08-31T14:59:41.820Z] Step 6/22 : WORKDIR /device-modbus-go [2023-08-31T14:59:41.820Z] ---> Running in 92ddd98b9eb2 [2023-08-31T14:59:41.820Z] Removing intermediate container 92ddd98b9eb2 [2023-08-31T14:59:41.820Z] ---> 38599a1d503d [2023-08-31T14:59:41.820Z] Step 7/22 : COPY go.mod vendor* ./ [2023-08-31T14:59:42.078Z] ---> ae69e8894e56 [2023-08-31T14:59:42.078Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-31T14:59:42.078Z] ---> Running in 6b78f1eef4f1 [2023-08-31T14:59:42.643Z] Removing intermediate container 6b78f1eef4f1 [2023-08-31T14:59:42.643Z] ---> f6832e965f56 [2023-08-31T14:59:42.643Z] Step 9/22 : COPY . . [2023-08-31T14:59:42.901Z] ---> 2d78b37a3928 [2023-08-31T14:59:42.901Z] Step 10/22 : RUN ${MAKE} [2023-08-31T14:59:42.901Z] ---> Running in b68c7c12405a [2023-08-31T14:59:43.160Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.17" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-08-31T14:59:48.460Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5022 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-08-31T14:59:48.474Z] Running in /w/workspace/device-modbus-go/119 [Pipeline] { [Pipeline] checkout [2023-08-31T14:59:48.515Z] Selected Git installation does not exist. Using Default [2023-08-31T14:59:48.515Z] The recommended git tool is: NONE [2023-08-31T14:59:54.667Z] using credential edgex-jenkins-ssh [2023-08-31T14:59:54.690Z] Cloning the remote Git repository [2023-08-31T14:59:54.740Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-08-31T14:59:54.854Z] > git init /w/workspace/device-modbus-go/119 # timeout=10 [2023-08-31T14:59:55.031Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-08-31T14:59:55.032Z] > git --version # timeout=10 [2023-08-31T14:59:55.058Z] > git --version # 'git version 2.25.1' [2023-08-31T14:59:55.062Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-31T14:59:55.243Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-31T14:59:56.387Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-08-31T14:59:56.419Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-31T14:59:57.407Z] Avoid second fetch [2023-08-31T14:59:57.408Z] Checking out Revision d21f7114bade91926d0e99e1f605d1c822a787f1 (main) [2023-08-31T14:59:58.073Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#496)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-31T14:59:57.426Z] > git config core.sparsecheckout # timeout=10 [2023-08-31T14:59:57.527Z] > git checkout -f d21f7114bade91926d0e99e1f605d1c822a787f1 # timeout=10 [2023-08-31T14:59:59.146Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-31T14:59:59.146Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-31T14:59:59.146Z] Dload Upload Total Spent Left Speed [2023-08-31T14:59:59.146Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh [2023-08-31T14:59:59.734Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-31T15:00:00.068Z] + sudo tee /etc/docker/daemon.new [2023-08-31T15:00:00.068Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-31T15:00:00.068Z] { [2023-08-31T15:00:00.068Z] "registry-mirrors": [ [2023-08-31T15:00:00.068Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-31T15:00:00.068Z] ], [2023-08-31T15:00:00.068Z] "bip": "10.250.0.254/24", [2023-08-31T15:00:00.068Z] "hosts": [ [2023-08-31T15:00:00.068Z] "tcp://0.0.0.0:5555", [2023-08-31T15:00:00.068Z] "unix:///var/run/docker.sock" [2023-08-31T15:00:00.068Z] ], [2023-08-31T15:00:00.068Z] "mtu": 1458, [2023-08-31T15:00:00.068Z] "selinux-enabled": true, [2023-08-31T15:00:00.068Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-31T15:00:00.068Z] } [Pipeline] sh [2023-08-31T15:00:00.434Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-31T15:00:00.784Z] + sudo service docker restart [2023-08-31T15:00:05.083Z] Removing intermediate container b68c7c12405a [2023-08-31T15:00:05.083Z] ---> 93388c13ed28 [2023-08-31T15:00:05.083Z] Step 11/22 : FROM alpine:3.17 [2023-08-31T15:00:05.083Z] 3.17: Pulling from library/alpine [2023-08-31T15:00:05.083Z] 9398808236ff: Pulling fs layer [2023-08-31T15:00:05.083Z] 9398808236ff: Verifying Checksum [2023-08-31T15:00:05.083Z] 9398808236ff: Download complete [2023-08-31T15:00:05.083Z] 9398808236ff: Pull complete [2023-08-31T15:00:05.083Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-31T15:00:05.084Z] Status: Downloaded newer image for alpine:3.17 [2023-08-31T15:00:05.084Z] ---> 1e0b8b5322fc [2023-08-31T15:00:05.084Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-08-31T15:00:05.084Z] ---> Running in 89599463f5da [2023-08-31T15:00:05.084Z] Removing intermediate container 89599463f5da [2023-08-31T15:00:05.084Z] ---> fe254b6ce2bb [2023-08-31T15:00:05.084Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-08-31T15:00:05.084Z] ---> Running in 832f4529ee35 [2023-08-31T15:00:05.084Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-31T15:00:05.084Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-31T15:00:05.084Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-31T15:00:05.084Z] Executing busybox-1.35.0-r29.trigger [2023-08-31T15:00:05.084Z] OK: 7 MiB in 16 packages [2023-08-31T15:00:05.342Z] Removing intermediate container 832f4529ee35 [2023-08-31T15:00:05.342Z] ---> 1d2a432b3a17 [2023-08-31T15:00:05.342Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-08-31T15:00:06.276Z] ---> fb8f47b945d8 [2023-08-31T15:00:06.276Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-08-31T15:00:06.276Z] ---> 651405d2a01d [2023-08-31T15:00:06.276Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-08-31T15:00:06.276Z] ---> d7be223ee1bc [2023-08-31T15:00:06.276Z] Step 17/22 : EXPOSE 59901 [2023-08-31T15:00:06.533Z] ---> Running in 3f3707ff73ca [2023-08-31T15:00:06.533Z] Removing intermediate container 3f3707ff73ca [2023-08-31T15:00:06.533Z] ---> 83fd8eca3c09 [2023-08-31T15:00:06.533Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-08-31T15:00:06.533Z] ---> Running in 5d08ee9a3cf2 [2023-08-31T15:00:06.533Z] Removing intermediate container 5d08ee9a3cf2 [2023-08-31T15:00:06.533Z] ---> 36df7bccd8c6 [2023-08-31T15:00:06.533Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-31T15:00:06.533Z] ---> Running in b753c3c9492e [2023-08-31T15:00:06.533Z] Removing intermediate container b753c3c9492e [2023-08-31T15:00:06.533Z] ---> 00d71229f60c [2023-08-31T15:00:06.533Z] Step 20/22 : LABEL arch=amd64 [2023-08-31T15:00:06.533Z] ---> Running in 316e66d5268a [2023-08-31T15:00:06.792Z] Removing intermediate container 316e66d5268a [2023-08-31T15:00:06.792Z] ---> 75c0dad5cc5d [2023-08-31T15:00:06.792Z] Step 21/22 : LABEL git_sha=d21f7114bade91926d0e99e1f605d1c822a787f1 [2023-08-31T15:00:06.792Z] ---> Running in e47f03cbded9 [2023-08-31T15:00:06.792Z] Removing intermediate container e47f03cbded9 [2023-08-31T15:00:06.792Z] ---> 16d4eb7a7fb9 [2023-08-31T15:00:06.792Z] Step 22/22 : LABEL version=3.1.0-dev.6 [2023-08-31T15:00:06.792Z] ---> Running in cd947ffa4d28 [2023-08-31T15:00:06.792Z] Removing intermediate container cd947ffa4d28 [2023-08-31T15:00:06.792Z] ---> c248ce1a33d6 [2023-08-31T15:00:06.792Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-31T15:00:06.792Z] Successfully built c248ce1a33d6 [2023-08-31T15:00:06.792Z] 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-08-31T15:00:06.885Z] provisioning config files... [2023-08-31T15:00:06.893Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1991882512367327335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:00:07.183Z] ---> docker-login.sh [2023-08-31T15:00:07.183Z] nexus3.edgexfoundry.org:10001 [2023-08-31T15:00:07.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T15:00:07.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T15:00:07.183Z] Configure a credential helper to remove this warning. See [2023-08-31T15:00:07.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T15:00:07.183Z] [2023-08-31T15:00:07.183Z] Login Succeeded [2023-08-31T15:00:07.183Z] nexus3.edgexfoundry.org:10002 [2023-08-31T15:00:07.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T15:00:07.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T15:00:07.183Z] Configure a credential helper to remove this warning. See [2023-08-31T15:00:07.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T15:00:07.183Z] [2023-08-31T15:00:07.183Z] Login Succeeded [2023-08-31T15:00:07.183Z] nexus3.edgexfoundry.org:10003 [2023-08-31T15:00:07.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T15:00:07.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T15:00:07.441Z] Configure a credential helper to remove this warning. See [2023-08-31T15:00:07.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T15:00:07.441Z] [2023-08-31T15:00:07.441Z] Login Succeeded [2023-08-31T15:00:07.441Z] nexus3.edgexfoundry.org:10004 [2023-08-31T15:00:07.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T15:00:07.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T15:00:07.441Z] Configure a credential helper to remove this warning. See [2023-08-31T15:00:07.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T15:00:07.441Z] [2023-08-31T15:00:07.441Z] Login Succeeded [2023-08-31T15:00:07.441Z] docker.io [2023-08-31T15:00:07.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T15:00:08.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T15:00:08.816Z] Configure a credential helper to remove this warning. See [2023-08-31T15:00:08.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T15:00:08.816Z] [2023-08-31T15:00:08.816Z] Login Succeeded [2023-08-31T15:00:08.816Z] ---> docker-login.sh ends [Pipeline] } [2023-08-31T15:00:08.825Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-31T15:00:08.856Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T15:00:08.882Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-08-31T15:00:08.882Z] d21f7114bade91926d0e99e1f605d1c822a787f1 [2023-08-31T15:00:08.882Z] latest [2023-08-31T15:00:08.882Z] 3.1.0-dev.6 [2023-08-31T15:00:08.882Z] d21f7114bade91926d0e99e1f605d1c822a787f1-3.1.0-dev.6 [2023-08-31T15:00:08.882Z] main [2023-08-31T15:00:08.882Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:00:09.211Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:d21f7114bade91926d0e99e1f605d1c822a787f1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:00:09.519Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:d21f7114bade91926d0e99e1f605d1c822a787f1 [2023-08-31T15:00:09.519Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-08-31T15:00:09.519Z] dca9dd67ad6f: Preparing [2023-08-31T15:00:09.519Z] a13b12b1231c: Preparing [2023-08-31T15:00:09.519Z] 0b91ee059c55: Preparing [2023-08-31T15:00:09.519Z] 6dcb061a0f6b: Preparing [2023-08-31T15:00:09.519Z] 36b50b131297: Preparing [2023-08-31T15:00:09.519Z] 36b50b131297: Layer already exists [2023-08-31T15:00:09.519Z] 6dcb061a0f6b: Pushed [2023-08-31T15:00:09.519Z] dca9dd67ad6f: Pushed [2023-08-31T15:00:09.519Z] a13b12b1231c: Pushed [2023-08-31T15:00:12.805Z] 0b91ee059c55: Pushed [2023-08-31T15:00:12.805Z] d21f7114bade91926d0e99e1f605d1c822a787f1: digest: sha256:cad6fc7394303b3addd462c7bfed106db833c5812e3ff71847a602b3578538d9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:00:14.561Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:00:14.885Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-08-31T15:00:14.885Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-08-31T15:00:14.885Z] dca9dd67ad6f: Preparing [2023-08-31T15:00:14.885Z] a13b12b1231c: Preparing [2023-08-31T15:00:14.885Z] 0b91ee059c55: Preparing [2023-08-31T15:00:14.885Z] 6dcb061a0f6b: Preparing [2023-08-31T15:00:14.885Z] 36b50b131297: Preparing [2023-08-31T15:00:14.885Z] 36b50b131297: Layer already exists [2023-08-31T15:00:14.885Z] 6dcb061a0f6b: Layer already exists [2023-08-31T15:00:14.885Z] dca9dd67ad6f: Layer already exists [2023-08-31T15:00:14.885Z] a13b12b1231c: Layer already exists [2023-08-31T15:00:14.885Z] 0b91ee059c55: Layer already exists [2023-08-31T15:00:14.885Z] latest: digest: sha256:cad6fc7394303b3addd462c7bfed106db833c5812e3ff71847a602b3578538d9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:00:15.212Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:00:15.527Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.6 [2023-08-31T15:00:15.527Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-08-31T15:00:15.527Z] dca9dd67ad6f: Preparing [2023-08-31T15:00:15.527Z] a13b12b1231c: Preparing [2023-08-31T15:00:15.527Z] 0b91ee059c55: Preparing [2023-08-31T15:00:15.527Z] 6dcb061a0f6b: Preparing [2023-08-31T15:00:15.527Z] 36b50b131297: Preparing [2023-08-31T15:00:15.527Z] 36b50b131297: Layer already exists [2023-08-31T15:00:15.527Z] 0b91ee059c55: Layer already exists [2023-08-31T15:00:15.527Z] a13b12b1231c: Layer already exists [2023-08-31T15:00:15.527Z] dca9dd67ad6f: Layer already exists [2023-08-31T15:00:15.527Z] 6dcb061a0f6b: Layer already exists [2023-08-31T15:00:15.527Z] 3.1.0-dev.6: digest: sha256:cad6fc7394303b3addd462c7bfed106db833c5812e3ff71847a602b3578538d9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:00:15.860Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:d21f7114bade91926d0e99e1f605d1c822a787f1-3.1.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:00:16.162Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:d21f7114bade91926d0e99e1f605d1c822a787f1-3.1.0-dev.6 [2023-08-31T15:00:16.163Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-08-31T15:00:16.163Z] dca9dd67ad6f: Preparing [2023-08-31T15:00:16.163Z] a13b12b1231c: Preparing [2023-08-31T15:00:16.163Z] 0b91ee059c55: Preparing [2023-08-31T15:00:16.163Z] 6dcb061a0f6b: Preparing [2023-08-31T15:00:16.163Z] 36b50b131297: Preparing [2023-08-31T15:00:16.163Z] 0b91ee059c55: Layer already exists [2023-08-31T15:00:16.163Z] 36b50b131297: Layer already exists [2023-08-31T15:00:16.163Z] a13b12b1231c: Layer already exists [2023-08-31T15:00:16.163Z] 6dcb061a0f6b: Layer already exists [2023-08-31T15:00:16.163Z] dca9dd67ad6f: Layer already exists [2023-08-31T15:00:16.163Z] d21f7114bade91926d0e99e1f605d1c822a787f1-3.1.0-dev.6: digest: sha256:cad6fc7394303b3addd462c7bfed106db833c5812e3ff71847a602b3578538d9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:00:16.493Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:00:16.805Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-08-31T15:00:16.805Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-08-31T15:00:16.805Z] dca9dd67ad6f: Preparing [2023-08-31T15:00:16.805Z] a13b12b1231c: Preparing [2023-08-31T15:00:16.805Z] 0b91ee059c55: Preparing [2023-08-31T15:00:16.805Z] 6dcb061a0f6b: Preparing [2023-08-31T15:00:16.805Z] 36b50b131297: Preparing [2023-08-31T15:00:16.805Z] 0b91ee059c55: Layer already exists [2023-08-31T15:00:16.805Z] dca9dd67ad6f: Layer already exists [2023-08-31T15:00:16.805Z] 6dcb061a0f6b: Layer already exists [2023-08-31T15:00:16.805Z] a13b12b1231c: Layer already exists [2023-08-31T15:00:16.805Z] 36b50b131297: Layer already exists [2023-08-31T15:00:16.805Z] main: digest: sha256:cad6fc7394303b3addd462c7bfed106db833c5812e3ff71847a602b3578538d9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-31T15:00:16.862Z] ===================================================== [Pipeline] echo [2023-08-31T15:00:16.869Z] taggedImages: [2023-08-31T15:00:16.869Z] - nexus3.edgexfoundry.org:10004/device-modbus:d21f7114bade91926d0e99e1f605d1c822a787f1 [2023-08-31T15:00:16.869Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-08-31T15:00:16.869Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.6 [2023-08-31T15:00:16.869Z] - nexus3.edgexfoundry.org:10004/device-modbus:d21f7114bade91926d0e99e1f605d1c822a787f1-3.1.0-dev.6 [2023-08-31T15:00:16.869Z] - 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-08-31T15:00:17.232Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-31T15:00:17.232Z] [2023-08-31T15:00:17.232Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:00:17.537Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-31T15:00:17.537Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-31T15:00:17.537Z] 5eb5b503b376: Pulling fs layer [2023-08-31T15:00:17.537Z] 5c69ac0246d0: Pulling fs layer [2023-08-31T15:00:17.537Z] ec43610c2a17: Pulling fs layer [2023-08-31T15:00:17.537Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-31T15:00:17.537Z] 33b1e0a273af: Pulling fs layer [2023-08-31T15:00:17.537Z] 5d3b04190fa2: Pulling fs layer [2023-08-31T15:00:17.537Z] 2f39f015ded8: Pulling fs layer [2023-08-31T15:00:17.537Z] 5d3b04190fa2: Waiting [2023-08-31T15:00:17.537Z] 2f39f015ded8: Waiting [2023-08-31T15:00:17.537Z] 3a2ae6a8a46f: Waiting [2023-08-31T15:00:17.537Z] 33b1e0a273af: Waiting [2023-08-31T15:00:17.537Z] 5c69ac0246d0: Download complete [2023-08-31T15:00:17.537Z] 3a2ae6a8a46f: Download complete [2023-08-31T15:00:17.537Z] 33b1e0a273af: Verifying Checksum [2023-08-31T15:00:17.537Z] 33b1e0a273af: Download complete [2023-08-31T15:00:17.537Z] 5d3b04190fa2: Verifying Checksum [2023-08-31T15:00:17.537Z] 5d3b04190fa2: Download complete [2023-08-31T15:00:17.796Z] ec43610c2a17: Verifying Checksum [2023-08-31T15:00:17.796Z] ec43610c2a17: Download complete [2023-08-31T15:00:17.796Z] 5eb5b503b376: Verifying Checksum [2023-08-31T15:00:17.796Z] 5eb5b503b376: Download complete [2023-08-31T15:00:18.364Z] 2f39f015ded8: Verifying Checksum [2023-08-31T15:00:18.364Z] 2f39f015ded8: Download complete [2023-08-31T15:00:18.931Z] 5eb5b503b376: Pull complete [2023-08-31T15:00:18.931Z] 5c69ac0246d0: Pull complete [2023-08-31T15:00:19.506Z] ec43610c2a17: Pull complete [2023-08-31T15:00:19.506Z] 3a2ae6a8a46f: Pull complete [2023-08-31T15:00:19.506Z] 33b1e0a273af: Pull complete [2023-08-31T15:00:19.768Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-31T15:00:20.524Z] provisioning config files... [2023-08-31T15:00:20.555Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/119@tmp/config12473449541524175814tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:00:20.928Z] ---> docker-login.sh [2023-08-31T15:00:20.928Z] nexus3.edgexfoundry.org:10001 [2023-08-31T15:00:21.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T15:00:21.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T15:00:21.824Z] Configure a credential helper to remove this warning. See [2023-08-31T15:00:21.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T15:00:21.824Z] [2023-08-31T15:00:21.824Z] Login Succeeded [2023-08-31T15:00:21.824Z] nexus3.edgexfoundry.org:10002 [2023-08-31T15:00:22.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T15:00:22.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T15:00:22.096Z] Configure a credential helper to remove this warning. See [2023-08-31T15:00:22.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T15:00:22.096Z] [2023-08-31T15:00:22.096Z] Login Succeeded [2023-08-31T15:00:22.096Z] nexus3.edgexfoundry.org:10003 [2023-08-31T15:00:22.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T15:00:22.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T15:00:22.642Z] Configure a credential helper to remove this warning. See [2023-08-31T15:00:22.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T15:00:22.642Z] [2023-08-31T15:00:22.642Z] Login Succeeded [2023-08-31T15:00:22.642Z] nexus3.edgexfoundry.org:10004 [2023-08-31T15:00:22.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T15:00:23.949Z] 2f39f015ded8: Pull complete [2023-08-31T15:00:23.949Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-31T15:00:23.949Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-31T15:00:23.949Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [2023-08-31T15:00:23.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T15:00:23.962Z] Configure a credential helper to remove this warning. See [2023-08-31T15:00:23.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T15:00:23.962Z] [2023-08-31T15:00:23.962Z] Login Succeeded [2023-08-31T15:00:23.962Z] docker.io [2023-08-31T15:00:23.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T15:00:24.038Z] prd-ubuntu20.04-docker-8c-8g-5017 does not seem to be running inside a container [2023-08-31T15:00:24.082Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-31T15:00:24.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T15:00:24.232Z] Configure a credential helper to remove this warning. See [2023-08-31T15:00:24.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T15:00:24.232Z] [2023-08-31T15:00:24.232Z] Login Succeeded [2023-08-31T15:00:24.232Z] ---> docker-login.sh ends [2023-08-31T15:00:28.444Z] $ docker top 131ef7d9e6266f3a9b84b219984e650b1c041c069eda53e0083ed28635a3ed63 -eo pid,comm [Pipeline] { [Pipeline] } [2023-08-31T15:00:28.508Z] Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-08-31T15:00:28.845Z] ---> job-cost.sh [2023-08-31T15:00:28.845Z] lf-activate-venv: SKIPPING [2023-08-31T15:00:28.845Z] INFO: No Stack... [Pipeline] echo [2023-08-31T15:00:28.913Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T15:00:28.925Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T15:00:28.939Z] ========================================================= [2023-08-31T15:00:28.939Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-31T15:00:28.939Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:00:29.111Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-31T15:00:29.327Z] + 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-08-31T15:00:29.382Z] INFO: Archiving Costs [Pipeline] sh [2023-08-31T15:00:29.601Z] Sending build context to Docker daemon 3.32MB [2023-08-31T15:00:29.601Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-31T15:00:29.601Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-31T15:00:29.682Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-08-31T15:00:29.682Z] + cut -d, -f6 [Pipeline] lock [2023-08-31T15:00:29.700Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-119-stack-cost] [2023-08-31T15:00:29.713Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-119-stack-cost] did not exist. Created. [2023-08-31T15:00:29.713Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-119-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-31T15:00:29.887Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-31T15:00:29.888Z] edb6bdbacee9: Pulling fs layer [2023-08-31T15:00:29.888Z] 5f9638ab2659: Pulling fs layer [2023-08-31T15:00:29.888Z] 8d51d6327a98: Pulling fs layer [2023-08-31T15:00:29.888Z] 8b374f2dd631: Pulling fs layer [2023-08-31T15:00:29.888Z] ec14aa9079de: Pulling fs layer [2023-08-31T15:00:29.888Z] 2f466654f4bb: Pulling fs layer [2023-08-31T15:00:29.888Z] 554e91adad29: Pulling fs layer [2023-08-31T15:00:29.888Z] ec14aa9079de: Waiting [2023-08-31T15:00:29.888Z] 2f466654f4bb: Waiting [2023-08-31T15:00:29.888Z] 554e91adad29: Waiting [2023-08-31T15:00:29.888Z] 8b374f2dd631: Waiting [2023-08-31T15:00:29.888Z] 5f9638ab2659: Verifying Checksum [2023-08-31T15:00:29.888Z] 5f9638ab2659: Download complete [2023-08-31T15:00:29.888Z] 8b374f2dd631: Verifying Checksum [2023-08-31T15:00:29.888Z] 8b374f2dd631: Download complete [2023-08-31T15:00:29.888Z] ec14aa9079de: Verifying Checksum [2023-08-31T15:00:29.888Z] ec14aa9079de: Download complete [2023-08-31T15:00:30.062Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-31T15:00:30.102Z] Stashed 1 file(s) [Pipeline] } [2023-08-31T15:00:30.116Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-119-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-31T15:00:30.142Z] $ docker stop --time=1 131ef7d9e6266f3a9b84b219984e650b1c041c069eda53e0083ed28635a3ed63 [2023-08-31T15:00:30.159Z] edb6bdbacee9: Verifying Checksum [2023-08-31T15:00:30.159Z] edb6bdbacee9: Download complete [2023-08-31T15:00:31.169Z] edb6bdbacee9: Pull complete [2023-08-31T15:00:31.278Z] $ docker rm -f --volumes 131ef7d9e6266f3a9b84b219984e650b1c041c069eda53e0083ed28635a3ed63 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-31T15:00:31.445Z] 5f9638ab2659: Pull complete [2023-08-31T15:00:32.057Z] 554e91adad29: Verifying Checksum [2023-08-31T15:00:32.057Z] 554e91adad29: Download complete [2023-08-31T15:00:33.064Z] 8d51d6327a98: Verifying Checksum [2023-08-31T15:00:33.064Z] 8d51d6327a98: Download complete [2023-08-31T15:00:33.064Z] 2f466654f4bb: Verifying Checksum [2023-08-31T15:00:33.064Z] 2f466654f4bb: Download complete [2023-08-31T15:00:45.527Z] 8d51d6327a98: Pull complete [2023-08-31T15:00:45.528Z] 8b374f2dd631: Pull complete [2023-08-31T15:00:45.528Z] ec14aa9079de: Pull complete [2023-08-31T15:00:52.214Z] 2f466654f4bb: Pull complete [2023-08-31T15:00:54.321Z] 554e91adad29: Pull complete [2023-08-31T15:00:54.321Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-31T15:00:54.321Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-31T15:00:54.321Z] ---> 1e15ea492957 [2023-08-31T15:00:54.321Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-08-31T15:00:56.306Z] ---> Running in dab5ebde949f [2023-08-31T15:00:56.576Z] Removing intermediate container dab5ebde949f [2023-08-31T15:00:56.576Z] ---> 125035fe21f4 [2023-08-31T15:00:56.576Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-31T15:00:56.576Z] ---> Running in f945e835e3c6 [2023-08-31T15:00:56.851Z] Removing intermediate container f945e835e3c6 [2023-08-31T15:00:56.851Z] ---> 84f150ee0d82 [2023-08-31T15:00:56.851Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-08-31T15:00:57.122Z] ---> Running in eec7207251ec [2023-08-31T15:00:58.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-31T15:00:59.129Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-31T15:01:00.546Z] (1/8) Installing openssh-keygen (9.1_p1-r4) [2023-08-31T15:01:00.546Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-08-31T15:01:00.546Z] (3/8) Installing openssh-client-common (9.1_p1-r4) [2023-08-31T15:01:00.546Z] (4/8) Installing openssh-client-default (9.1_p1-r4) [2023-08-31T15:01:00.546Z] (5/8) Installing openssh-sftp-server (9.1_p1-r4) [2023-08-31T15:01:00.546Z] (6/8) Installing openssh-server-common (9.1_p1-r4) [2023-08-31T15:01:00.546Z] (7/8) Installing openssh-server (9.1_p1-r4) [2023-08-31T15:01:00.546Z] (8/8) Installing openssh (9.1_p1-r4) [2023-08-31T15:01:00.546Z] Executing busybox-1.35.0-r29.trigger [2023-08-31T15:01:00.546Z] OK: 270 MiB in 61 packages [2023-08-31T15:01:04.829Z] Removing intermediate container eec7207251ec [2023-08-31T15:01:04.829Z] ---> 689f74021690 [2023-08-31T15:01:04.829Z] Step 6/10 : WORKDIR /device-modbus-go [2023-08-31T15:01:04.829Z] ---> Running in dd681e4c2e94 [2023-08-31T15:01:04.829Z] Removing intermediate container dd681e4c2e94 [2023-08-31T15:01:04.829Z] ---> 51d9fb43217d [2023-08-31T15:01:04.829Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-31T15:01:05.444Z] ---> 07c4a7f96b2d [2023-08-31T15:01:05.444Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-31T15:01:05.444Z] ---> Running in 966c4edf6650 [2023-08-31T15:02:13.377Z] Removing intermediate container 966c4edf6650 [2023-08-31T15:02:13.377Z] ---> 05b09c641479 [2023-08-31T15:02:13.377Z] Step 9/10 : COPY . . [2023-08-31T15:02:13.652Z] ---> 6b39349bbe44 [2023-08-31T15:02:13.652Z] Step 10/10 : RUN ${MAKE} [2023-08-31T15:02:13.652Z] ---> Running in 5007199c27f8 [2023-08-31T15:02:15.490Z] noop [2023-08-31T15:02:15.490Z] Removing intermediate container 5007199c27f8 [2023-08-31T15:02:15.490Z] ---> 5def3d6ff143 [2023-08-31T15:02:15.490Z] Successfully built 5def3d6ff143 [2023-08-31T15:02:15.490Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:02:15.855Z] + docker inspect -f . ci-base-image-arm64 [2023-08-31T15:02:15.855Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T15:02:16.105Z] prd-ubuntu20.04-docker-arm64-4c-16g-5022 does not seem to be running inside a container [2023-08-31T15:02:16.180Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/119 -v /w/workspace/device-modbus-go/119:/w/workspace/device-modbus-go/119:rw,z -v /w/workspace/device-modbus-go/119@tmp:/w/workspace/device-modbus-go/119@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-08-31T15:02:17.503Z] $ docker top 355241e50241773517600660cecae89166ed89edb03941d021c03b05f9dd3ca4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T15:02:18.394Z] + go version [2023-08-31T15:02:18.394Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-31T15:02:18.414Z] $ docker stop --time=1 355241e50241773517600660cecae89166ed89edb03941d021c03b05f9dd3ca4 [2023-08-31T15:02:20.109Z] $ docker rm -f --volumes 355241e50241773517600660cecae89166ed89edb03941d021c03b05f9dd3ca4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:02:20.706Z] + docker inspect -f . ci-base-image-arm64 [2023-08-31T15:02:20.706Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T15:02:20.917Z] prd-ubuntu20.04-docker-arm64-4c-16g-5022 does not seem to be running inside a container [2023-08-31T15:02:20.991Z] $ 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/119 -v /w/workspace/device-modbus-go/119:/w/workspace/device-modbus-go/119:rw,z -v /w/workspace/device-modbus-go/119@tmp:/w/workspace/device-modbus-go/119@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-08-31T15:02:22.343Z] $ docker top 1a82d9868ad8da5a856e04424f4717360b801dfd60f102c277cecef9636ccb69 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T15:02:23.240Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/119 [Pipeline] fileExists [Pipeline] sh [2023-08-31T15:02:23.902Z] + make test [2023-08-31T15:02:23.902Z] go test ./... -coverprofile=coverage.out [2023-08-31T15:03:02.826Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-08-31T15:05:41.254Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-08-31T15:05:41.254Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.089s coverage: 47.9% of statements [2023-08-31T15:05:41.254Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-31T15:05:41.254Z] go vet ./... [2023-08-31T15:06:13.535Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-31T15:06:13.535Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-31T15:06:13.535Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-31T15:06:13.825Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-31T15:06:13.836Z] $ docker stop --time=1 1a82d9868ad8da5a856e04424f4717360b801dfd60f102c277cecef9636ccb69 [2023-08-31T15:06:15.747Z] $ docker rm -f --volumes 1a82d9868ad8da5a856e04424f4717360b801dfd60f102c277cecef9636ccb69 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-31T15:06:17.107Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-31T15:06:17.122Z] Warning: overwriting stash ‘coverage-report’ [2023-08-31T15:06:17.695Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-31T15:06:18.097Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-31T15:06:18.428Z] + ls -al . [2023-08-31T15:06:18.428Z] total 188 [2023-08-31T15:06:18.428Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 31 15:02 . [2023-08-31T15:06:18.428Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 14:59 .. [2023-08-31T15:06:18.428Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 31 14:59 .dockerignore [2023-08-31T15:06:18.428Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 14:59 .git [2023-08-31T15:06:18.428Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 14:59 .github [2023-08-31T15:06:18.428Z] -rw-rw-r-- 1 jenkins jenkins 331 Aug 31 14:59 .gitignore [2023-08-31T15:06:18.428Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 31 14:59 .golangci.yml [2023-08-31T15:06:18.428Z] -rw-rw-r-- 1 jenkins jenkins 11101 Aug 31 14:59 Attribution.txt [2023-08-31T15:06:18.428Z] -rw-rw-r-- 1 jenkins jenkins 14764 Aug 31 14:59 CHANGELOG.md [2023-08-31T15:06:18.428Z] -rw-rw-r-- 1 jenkins jenkins 1365 Aug 31 14:59 Dockerfile [2023-08-31T15:06:18.428Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 14:59 GOVERNANCE.md [2023-08-31T15:06:18.428Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 31 14:59 Jenkinsfile [2023-08-31T15:06:18.428Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 31 14:59 LICENSE [2023-08-31T15:06:18.428Z] -rw-rw-r-- 1 jenkins jenkins 1936 Aug 31 14:59 Makefile [2023-08-31T15:06:18.428Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 31 14:59 OWNERS.md [2023-08-31T15:06:18.428Z] -rw-rw-r-- 1 jenkins jenkins 4578 Aug 31 14:59 README.md [2023-08-31T15:06:18.428Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 31 14:58 VERSION [2023-08-31T15:06:18.428Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 14:59 bin [2023-08-31T15:06:18.428Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 14:59 cmd [2023-08-31T15:06:18.428Z] -rw-r--r-- 1 jenkins jenkins 24334 Aug 31 15:05 coverage.out [2023-08-31T15:06:18.428Z] -rw-rw-r-- 1 jenkins jenkins 3940 Aug 31 14:59 go.mod [2023-08-31T15:06:18.428Z] -rw-rw-r-- 1 jenkins jenkins 34434 Aug 31 14:59 go.sum [2023-08-31T15:06:18.428Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 14:59 internal [2023-08-31T15:06:18.428Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 14:59 simulator [2023-08-31T15:06:18.428Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 14:59 snap [2023-08-31T15:06:18.428Z] -rw-rw-r-- 1 jenkins jenkins 229 Aug 31 14:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:06:18.780Z] + 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=d21f7114bade91926d0e99e1f605d1c822a787f1 --label arch=arm64 --label version=3.1.0-dev.6 . [2023-08-31T15:06:19.050Z] Sending build context to Docker daemon 3.345MB [2023-08-31T15:06:19.050Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-08-31T15:06:19.050Z] Step 2/22 : FROM ${BASE} AS builder [2023-08-31T15:06:19.050Z] ---> 5def3d6ff143 [2023-08-31T15:06:19.050Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-08-31T15:06:19.319Z] ---> Running in 1f7cd3b92f68 [2023-08-31T15:06:19.591Z] Removing intermediate container 1f7cd3b92f68 [2023-08-31T15:06:19.591Z] ---> b5deb9020783 [2023-08-31T15:06:19.591Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-31T15:06:19.863Z] ---> Running in 908a0d72cf3b [2023-08-31T15:06:20.141Z] Removing intermediate container 908a0d72cf3b [2023-08-31T15:06:20.141Z] ---> 4087e6917b2e [2023-08-31T15:06:20.141Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-08-31T15:06:20.141Z] ---> Running in b451c6fa3064 [2023-08-31T15:06:21.560Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-31T15:06:22.150Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-31T15:06:23.573Z] OK: 270 MiB in 61 packages [2023-08-31T15:06:24.551Z] Removing intermediate container b451c6fa3064 [2023-08-31T15:06:24.551Z] ---> f601eed7f933 [2023-08-31T15:06:24.551Z] Step 6/22 : WORKDIR /device-modbus-go [2023-08-31T15:06:24.820Z] ---> Running in a5428b778dd5 [2023-08-31T15:06:25.089Z] Removing intermediate container a5428b778dd5 [2023-08-31T15:06:25.089Z] ---> 9927b2bbdf73 [2023-08-31T15:06:25.089Z] Step 7/22 : COPY go.mod vendor* ./ [2023-08-31T15:06:25.677Z] ---> 138148c1f428 [2023-08-31T15:06:25.677Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-31T15:06:25.677Z] ---> Running in 514d01981490 [2023-08-31T15:06:28.286Z] Removing intermediate container 514d01981490 [2023-08-31T15:06:28.286Z] ---> e3b828592427 [2023-08-31T15:06:28.286Z] Step 9/22 : COPY . . [2023-08-31T15:06:28.875Z] ---> a6f56356ca63 [2023-08-31T15:06:28.875Z] Step 10/22 : RUN ${MAKE} [2023-08-31T15:06:29.147Z] ---> Running in 9efe227f4319 [2023-08-31T15:06:30.119Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.17" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-08-31T15:09:21.919Z] Removing intermediate container 9efe227f4319 [2023-08-31T15:09:21.919Z] ---> 95d8beb0f4ef [2023-08-31T15:09:21.919Z] Step 11/22 : FROM alpine:3.17 [2023-08-31T15:09:21.919Z] 3.17: Pulling from library/alpine [2023-08-31T15:09:21.919Z] 4060ece20d7a: Pulling fs layer [2023-08-31T15:09:21.919Z] 4060ece20d7a: Verifying Checksum [2023-08-31T15:09:21.919Z] 4060ece20d7a: Download complete [2023-08-31T15:09:21.919Z] 4060ece20d7a: Pull complete [2023-08-31T15:09:21.919Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-31T15:09:21.919Z] Status: Downloaded newer image for alpine:3.17 [2023-08-31T15:09:21.919Z] ---> 8650cd65339b [2023-08-31T15:09:21.919Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-08-31T15:09:21.919Z] ---> Running in 6b2ca5f9a481 [2023-08-31T15:09:21.919Z] Removing intermediate container 6b2ca5f9a481 [2023-08-31T15:09:21.919Z] ---> 7353f9e16ab8 [2023-08-31T15:09:21.919Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-08-31T15:09:21.919Z] ---> Running in 4dbbd1af3d69 [2023-08-31T15:09:21.919Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-31T15:09:21.919Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-31T15:09:21.919Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-31T15:09:21.919Z] Executing busybox-1.35.0-r29.trigger [2023-08-31T15:09:21.919Z] OK: 8 MiB in 16 packages [2023-08-31T15:09:21.919Z] Removing intermediate container 4dbbd1af3d69 [2023-08-31T15:09:21.919Z] ---> 24a1cdd731ce [2023-08-31T15:09:21.919Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-08-31T15:09:21.919Z] ---> 0de6eaea5828 [2023-08-31T15:09:21.919Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-08-31T15:09:21.919Z] ---> ac298e21f96a [2023-08-31T15:09:21.919Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-08-31T15:09:21.919Z] ---> af6b73f75daa [2023-08-31T15:09:21.919Z] Step 17/22 : EXPOSE 59901 [2023-08-31T15:09:21.919Z] ---> Running in 77d24b82c509 [2023-08-31T15:09:21.919Z] Removing intermediate container 77d24b82c509 [2023-08-31T15:09:21.919Z] ---> ddfb924ae146 [2023-08-31T15:09:21.919Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-08-31T15:09:21.919Z] ---> Running in 8599d1fb8c03 [2023-08-31T15:09:22.187Z] Removing intermediate container 8599d1fb8c03 [2023-08-31T15:09:22.187Z] ---> 0bfda11aaffc [2023-08-31T15:09:22.187Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-31T15:09:22.187Z] ---> Running in 6161a8bf8040 [2023-08-31T15:09:22.455Z] Removing intermediate container 6161a8bf8040 [2023-08-31T15:09:22.455Z] ---> b975e1a0f90c [2023-08-31T15:09:22.455Z] Step 20/22 : LABEL arch=arm64 [2023-08-31T15:09:22.455Z] ---> Running in 3a4857b58aac [2023-08-31T15:09:23.046Z] Removing intermediate container 3a4857b58aac [2023-08-31T15:09:23.046Z] ---> b8dbb2c0a0dc [2023-08-31T15:09:23.046Z] Step 21/22 : LABEL git_sha=d21f7114bade91926d0e99e1f605d1c822a787f1 [2023-08-31T15:09:23.046Z] ---> Running in 1594309a9983 [2023-08-31T15:09:23.316Z] Removing intermediate container 1594309a9983 [2023-08-31T15:09:23.316Z] ---> 637d72a1a9ae [2023-08-31T15:09:23.316Z] Step 22/22 : LABEL version=3.1.0-dev.6 [2023-08-31T15:09:23.584Z] ---> Running in eb67c52ab680 [2023-08-31T15:09:23.853Z] Removing intermediate container eb67c52ab680 [2023-08-31T15:09:23.853Z] ---> 186c0f2cfaf8 [2023-08-31T15:09:23.853Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-31T15:09:23.853Z] Successfully built 186c0f2cfaf8 [2023-08-31T15:09:23.853Z] 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-08-31T15:09:23.955Z] provisioning config files... [2023-08-31T15:09:23.971Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/119@tmp/config14550095327519058452tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:09:24.319Z] ---> docker-login.sh [2023-08-31T15:09:24.319Z] nexus3.edgexfoundry.org:10001 [2023-08-31T15:09:24.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T15:09:24.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T15:09:24.586Z] Configure a credential helper to remove this warning. See [2023-08-31T15:09:24.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T15:09:24.586Z] [2023-08-31T15:09:24.586Z] Login Succeeded [2023-08-31T15:09:24.586Z] nexus3.edgexfoundry.org:10002 [2023-08-31T15:09:24.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T15:09:25.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T15:09:25.122Z] Configure a credential helper to remove this warning. See [2023-08-31T15:09:25.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T15:09:25.122Z] [2023-08-31T15:09:25.122Z] Login Succeeded [2023-08-31T15:09:25.122Z] nexus3.edgexfoundry.org:10003 [2023-08-31T15:09:25.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T15:09:25.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T15:09:25.389Z] Configure a credential helper to remove this warning. See [2023-08-31T15:09:25.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T15:09:25.389Z] [2023-08-31T15:09:25.389Z] Login Succeeded [2023-08-31T15:09:25.389Z] nexus3.edgexfoundry.org:10004 [2023-08-31T15:09:25.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T15:09:25.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T15:09:25.923Z] Configure a credential helper to remove this warning. See [2023-08-31T15:09:25.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T15:09:25.923Z] [2023-08-31T15:09:25.923Z] Login Succeeded [2023-08-31T15:09:25.923Z] docker.io [2023-08-31T15:09:26.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T15:09:26.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T15:09:26.455Z] Configure a credential helper to remove this warning. See [2023-08-31T15:09:26.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T15:09:26.455Z] [2023-08-31T15:09:26.455Z] Login Succeeded [2023-08-31T15:09:26.455Z] ---> docker-login.sh ends [Pipeline] } [2023-08-31T15:09:26.468Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-31T15:09:26.501Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T15:09:26.530Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-08-31T15:09:26.530Z] d21f7114bade91926d0e99e1f605d1c822a787f1 [2023-08-31T15:09:26.530Z] latest [2023-08-31T15:09:26.530Z] 3.1.0-dev.6 [2023-08-31T15:09:26.530Z] d21f7114bade91926d0e99e1f605d1c822a787f1-3.1.0-dev.6 [2023-08-31T15:09:26.530Z] main [2023-08-31T15:09:26.530Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:09:26.893Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:d21f7114bade91926d0e99e1f605d1c822a787f1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:09:27.244Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:d21f7114bade91926d0e99e1f605d1c822a787f1 [2023-08-31T15:09:27.244Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-08-31T15:09:27.244Z] 408227be362e: Preparing [2023-08-31T15:09:27.244Z] 1c24be176a33: Preparing [2023-08-31T15:09:27.244Z] 70d59f9e396e: Preparing [2023-08-31T15:09:27.244Z] 298f651fa749: Preparing [2023-08-31T15:09:27.244Z] d2d9d24a8c2a: Preparing [2023-08-31T15:09:27.244Z] d2d9d24a8c2a: Layer already exists [2023-08-31T15:09:27.513Z] 1c24be176a33: Pushed [2023-08-31T15:09:27.513Z] 298f651fa749: Pushed [2023-08-31T15:09:27.513Z] 408227be362e: Pushed [2023-08-31T15:09:32.934Z] 70d59f9e396e: Pushed [2023-08-31T15:09:32.934Z] d21f7114bade91926d0e99e1f605d1c822a787f1: digest: sha256:4847e5dd7975fde2ebfdcc92b61905049bbb0e22dc24c76b54ddb3faa7252d82 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:09:33.298Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:09:33.651Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-08-31T15:09:33.651Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-08-31T15:09:33.651Z] 408227be362e: Preparing [2023-08-31T15:09:33.651Z] 1c24be176a33: Preparing [2023-08-31T15:09:33.651Z] 70d59f9e396e: Preparing [2023-08-31T15:09:33.651Z] 298f651fa749: Preparing [2023-08-31T15:09:33.651Z] d2d9d24a8c2a: Preparing [2023-08-31T15:09:33.651Z] 70d59f9e396e: Layer already exists [2023-08-31T15:09:33.651Z] 408227be362e: Layer already exists [2023-08-31T15:09:33.651Z] d2d9d24a8c2a: Layer already exists [2023-08-31T15:09:33.651Z] 1c24be176a33: Layer already exists [2023-08-31T15:09:33.651Z] 298f651fa749: Layer already exists [2023-08-31T15:09:33.917Z] latest: digest: sha256:4847e5dd7975fde2ebfdcc92b61905049bbb0e22dc24c76b54ddb3faa7252d82 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:09:34.266Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:09:34.608Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.6 [2023-08-31T15:09:34.608Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-08-31T15:09:34.608Z] 408227be362e: Preparing [2023-08-31T15:09:34.608Z] 1c24be176a33: Preparing [2023-08-31T15:09:34.608Z] 70d59f9e396e: Preparing [2023-08-31T15:09:34.608Z] 298f651fa749: Preparing [2023-08-31T15:09:34.608Z] d2d9d24a8c2a: Preparing [2023-08-31T15:09:34.608Z] 298f651fa749: Layer already exists [2023-08-31T15:09:34.608Z] 408227be362e: Layer already exists [2023-08-31T15:09:34.608Z] 1c24be176a33: Layer already exists [2023-08-31T15:09:34.608Z] 70d59f9e396e: Layer already exists [2023-08-31T15:09:34.608Z] d2d9d24a8c2a: Layer already exists [2023-08-31T15:09:34.608Z] 3.1.0-dev.6: digest: sha256:4847e5dd7975fde2ebfdcc92b61905049bbb0e22dc24c76b54ddb3faa7252d82 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:09:34.954Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:d21f7114bade91926d0e99e1f605d1c822a787f1-3.1.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:09:35.293Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:d21f7114bade91926d0e99e1f605d1c822a787f1-3.1.0-dev.6 [2023-08-31T15:09:35.293Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-08-31T15:09:35.293Z] 408227be362e: Preparing [2023-08-31T15:09:35.293Z] 1c24be176a33: Preparing [2023-08-31T15:09:35.293Z] 70d59f9e396e: Preparing [2023-08-31T15:09:35.293Z] 298f651fa749: Preparing [2023-08-31T15:09:35.293Z] d2d9d24a8c2a: Preparing [2023-08-31T15:09:35.293Z] 408227be362e: Layer already exists [2023-08-31T15:09:35.293Z] 70d59f9e396e: Layer already exists [2023-08-31T15:09:35.293Z] d2d9d24a8c2a: Layer already exists [2023-08-31T15:09:35.293Z] 298f651fa749: Layer already exists [2023-08-31T15:09:35.293Z] 1c24be176a33: Layer already exists [2023-08-31T15:09:35.293Z] d21f7114bade91926d0e99e1f605d1c822a787f1-3.1.0-dev.6: digest: sha256:4847e5dd7975fde2ebfdcc92b61905049bbb0e22dc24c76b54ddb3faa7252d82 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:09:35.642Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:09:35.981Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-08-31T15:09:35.981Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-08-31T15:09:35.981Z] 408227be362e: Preparing [2023-08-31T15:09:35.981Z] 1c24be176a33: Preparing [2023-08-31T15:09:35.981Z] 70d59f9e396e: Preparing [2023-08-31T15:09:35.981Z] 298f651fa749: Preparing [2023-08-31T15:09:35.981Z] d2d9d24a8c2a: Preparing [2023-08-31T15:09:35.981Z] d2d9d24a8c2a: Layer already exists [2023-08-31T15:09:35.981Z] 408227be362e: Layer already exists [2023-08-31T15:09:35.981Z] 298f651fa749: Layer already exists [2023-08-31T15:09:35.981Z] 70d59f9e396e: Layer already exists [2023-08-31T15:09:35.981Z] 1c24be176a33: Layer already exists [2023-08-31T15:09:35.981Z] main: digest: sha256:4847e5dd7975fde2ebfdcc92b61905049bbb0e22dc24c76b54ddb3faa7252d82 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-31T15:09:36.309Z] ===================================================== [Pipeline] echo [2023-08-31T15:09:36.319Z] taggedImages: [2023-08-31T15:09:36.319Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:d21f7114bade91926d0e99e1f605d1c822a787f1 [2023-08-31T15:09:36.319Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-08-31T15:09:36.319Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.6 [2023-08-31T15:09:36.319Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:d21f7114bade91926d0e99e1f605d1c822a787f1-3.1.0-dev.6 [2023-08-31T15:09:36.319Z] - 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-08-31T15:09:36.690Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-31T15:09:36.690Z] [2023-08-31T15:09:36.690Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:09:37.028Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-31T15:09:37.028Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-31T15:09:37.028Z] 8998bd30e6a1: Pulling fs layer [2023-08-31T15:09:37.028Z] 04944245beec: Pulling fs layer [2023-08-31T15:09:37.028Z] 699f458cf7ca: Pulling fs layer [2023-08-31T15:09:37.028Z] 765212b225bb: Pulling fs layer [2023-08-31T15:09:37.028Z] f23df028b6ca: Pulling fs layer [2023-08-31T15:09:37.028Z] d65c8cfc05b1: Pulling fs layer [2023-08-31T15:09:37.028Z] 2437ff75d9bd: Pulling fs layer [2023-08-31T15:09:37.028Z] 765212b225bb: Waiting [2023-08-31T15:09:37.028Z] d65c8cfc05b1: Waiting [2023-08-31T15:09:37.028Z] 2437ff75d9bd: Waiting [2023-08-31T15:09:37.028Z] f23df028b6ca: Waiting [2023-08-31T15:09:37.297Z] 04944245beec: Verifying Checksum [2023-08-31T15:09:37.297Z] 04944245beec: Download complete [2023-08-31T15:09:37.297Z] 765212b225bb: Verifying Checksum [2023-08-31T15:09:37.297Z] 765212b225bb: Download complete [2023-08-31T15:09:37.297Z] f23df028b6ca: Verifying Checksum [2023-08-31T15:09:37.297Z] f23df028b6ca: Download complete [2023-08-31T15:09:37.297Z] d65c8cfc05b1: Verifying Checksum [2023-08-31T15:09:37.297Z] d65c8cfc05b1: Download complete [2023-08-31T15:09:37.567Z] 699f458cf7ca: Verifying Checksum [2023-08-31T15:09:37.567Z] 699f458cf7ca: Download complete [2023-08-31T15:09:37.837Z] 8998bd30e6a1: Verifying Checksum [2023-08-31T15:09:37.837Z] 8998bd30e6a1: Download complete [2023-08-31T15:09:40.418Z] 2437ff75d9bd: Verifying Checksum [2023-08-31T15:09:40.418Z] 2437ff75d9bd: Download complete [2023-08-31T15:09:41.828Z] 8998bd30e6a1: Pull complete [2023-08-31T15:09:42.097Z] 04944245beec: Pull complete [2023-08-31T15:09:43.507Z] 699f458cf7ca: Pull complete [2023-08-31T15:09:43.507Z] 765212b225bb: Pull complete [2023-08-31T15:09:44.468Z] f23df028b6ca: Pull complete [2023-08-31T15:09:44.468Z] d65c8cfc05b1: Pull complete [2023-08-31T15:09:59.461Z] 2437ff75d9bd: Pull complete [2023-08-31T15:09:59.461Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-31T15:09:59.461Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-31T15:09:59.461Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T15:09:59.661Z] prd-ubuntu20.04-docker-arm64-4c-16g-5022 does not seem to be running inside a container [2023-08-31T15:09:59.737Z] $ 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/119 -v /w/workspace/device-modbus-go/119:/w/workspace/device-modbus-go/119:rw,z -v /w/workspace/device-modbus-go/119@tmp:/w/workspace/device-modbus-go/119@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-08-31T15:10:02.550Z] $ docker top 1c8562435d850bcb7f5e51485da08f979b965a083324d35408c39bfd417674a9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:10:03.412Z] ---> job-cost.sh [2023-08-31T15:10:03.412Z] lf-activate-venv: SKIPPING [2023-08-31T15:10:03.412Z] INFO: No Stack... [2023-08-31T15:10:03.994Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-31T15:10:04.952Z] INFO: Archiving Costs [Pipeline] sh [2023-08-31T15:10:05.587Z] + cat /w/workspace/device-modbus-go/119/archives/cost.csv [2023-08-31T15:10:05.587Z] + cut -d, -f6 [Pipeline] lock [2023-08-31T15:10:05.657Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-119-stack-cost] [2023-08-31T15:10:05.663Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-119-stack-cost] did not exist. Created. [2023-08-31T15:10:05.664Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-119-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-31T15:10:06.323Z] /w/workspace/device-modbus-go/119@tmp/durable-70da16a1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-31T15:10:06.975Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-31T15:10:06.996Z] Warning: overwriting stash ‘stack-cost’ [2023-08-31T15:10:07.062Z] Stashed 1 file(s) [Pipeline] } [2023-08-31T15:10:07.071Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-119-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-31T15:10:07.095Z] $ docker stop --time=1 1c8562435d850bcb7f5e51485da08f979b965a083324d35408c39bfd417674a9 [2023-08-31T15:10:08.626Z] $ docker rm -f --volumes 1c8562435d850bcb7f5e51485da08f979b965a083324d35408c39bfd417674a9 [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-08-31T15:10:09.010Z] provisioning config files... [2023-08-31T15:10:09.016Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1224107748441926029tmp [Pipeline] { [Pipeline] sh [2023-08-31T15:10:09.316Z] + set +x [2023-08-31T15:10:09.316Z] + curl -s https://codecov.io/bash [2023-08-31T15:10:09.316Z] + bash -s -- [2023-08-31T15:10:09.316Z] [2023-08-31T15:10:09.316Z] _____ _ [2023-08-31T15:10:09.316Z] / ____| | | [2023-08-31T15:10:09.316Z] | | ___ __| | ___ ___ _____ __ [2023-08-31T15:10:09.316Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-31T15:10:09.316Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-31T15:10:09.316Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-31T15:10:09.316Z] Bash-1.0.6 [2023-08-31T15:10:09.316Z] [2023-08-31T15:10:09.316Z] [2023-08-31T15:10:09.316Z] ==> git version 2.25.1 found [2023-08-31T15:10:09.316Z] ==> 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-08-31T15:10:09.316Z] Release-Date: 2020-01-08 [2023-08-31T15:10:09.316Z] 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-08-31T15:10:09.316Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-31T15:10:09.316Z] ==> Jenkins CI detected. [2023-08-31T15:10:09.316Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-08-31T15:10:09.316Z] project root: . [2023-08-31T15:10:09.316Z] --> token set from env [2023-08-31T15:10:09.316Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-31T15:10:09.316Z] ==> Running gcov in . (disable via -X gcov) [2023-08-31T15:10:09.316Z] ==> Python coveragepy not found [2023-08-31T15:10:09.316Z] ==> Searching for coverage reports in: [2023-08-31T15:10:09.316Z] + . [2023-08-31T15:10:09.316Z] -> Found 1 reports [2023-08-31T15:10:09.316Z] ==> Detecting git/mercurial file structure [2023-08-31T15:10:09.316Z] ==> Reading reports [2023-08-31T15:10:09.316Z] + ./coverage.out bytes=24334 [2023-08-31T15:10:09.316Z] ==> Appending adjustments [2023-08-31T15:10:09.316Z] https://docs.codecov.io/docs/fixing-reports [2023-08-31T15:10:09.575Z] + Found adjustments [2023-08-31T15:10:09.575Z] ==> Gzipping contents [2023-08-31T15:10:09.575Z] 4.0K /tmp/codecov.VDvz4F.gz [2023-08-31T15:10:09.575Z] ==> Uploading reports [2023-08-31T15:10:09.575Z] url: https://codecov.io [2023-08-31T15:10:09.575Z] query: branch=main&commit=d21f7114bade91926d0e99e1f605d1c822a787f1&build=119&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F119%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-31T15:10:09.575Z] -> Pinging Codecov [2023-08-31T15:10:09.575Z] 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=d21f7114bade91926d0e99e1f605d1c822a787f1&build=119&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F119%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-31T15:10:09.575Z] -> Uploading to [2023-08-31T15:10:09.575Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-31/55DBCA73C666E3227836607328DD7E49/d21f7114bade91926d0e99e1f605d1c822a787f1/1a074c6d-d3d2-44f8-be21-58dbc95ad727.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230831%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230831T151009Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9e2c65e781a402fcdfecc5189156258ce473e0bd05e2c70767f97f3019db921c [2023-08-31T15:10:09.575Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-31T15:10:09.575Z] Dload Upload Total Spent Left Speed [2023-08-31T15:10:09.837Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 20806 --:--:-- --:--:-- --:--:-- 20806 [2023-08-31T15:10:09.837Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/d21f7114bade91926d0e99e1f605d1c822a787f1 [Pipeline] } [2023-08-31T15:10:09.846Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-08-31T15:10:09.970Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-08-31T15:10:09.981Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:10:10.292Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-31T15:10:10.292Z] [2023-08-31T15:10:10.292Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:10:10.589Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-31T15:10:10.589Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-08-31T15:10:10.589Z] df9b9388f04a: Pulling fs layer [2023-08-31T15:10:10.589Z] 52dc419b0ee2: Pulling fs layer [2023-08-31T15:10:10.589Z] 25bc292e5bac: Pulling fs layer [2023-08-31T15:10:10.589Z] 114826534d7a: Pulling fs layer [2023-08-31T15:10:10.589Z] 4657fd5d0bcf: Pulling fs layer [2023-08-31T15:10:10.589Z] 6ad1cebc031e: Pulling fs layer [2023-08-31T15:10:10.589Z] 8a3aa393b2d8: Pulling fs layer [2023-08-31T15:10:10.589Z] 114826534d7a: Waiting [2023-08-31T15:10:10.589Z] 4657fd5d0bcf: Waiting [2023-08-31T15:10:10.589Z] 6ad1cebc031e: Waiting [2023-08-31T15:10:10.589Z] 8a3aa393b2d8: Waiting [2023-08-31T15:10:10.589Z] 25bc292e5bac: Download complete [2023-08-31T15:10:10.589Z] 52dc419b0ee2: Download complete [2023-08-31T15:10:10.589Z] 4657fd5d0bcf: Verifying Checksum [2023-08-31T15:10:10.589Z] 4657fd5d0bcf: Download complete [2023-08-31T15:10:10.589Z] df9b9388f04a: Download complete [2023-08-31T15:10:10.851Z] 6ad1cebc031e: Verifying Checksum [2023-08-31T15:10:10.851Z] 6ad1cebc031e: Download complete [2023-08-31T15:10:10.851Z] df9b9388f04a: Pull complete [2023-08-31T15:10:10.851Z] 52dc419b0ee2: Pull complete [2023-08-31T15:10:11.112Z] 25bc292e5bac: Pull complete [2023-08-31T15:10:11.372Z] 114826534d7a: Verifying Checksum [2023-08-31T15:10:11.373Z] 114826534d7a: Download complete [2023-08-31T15:10:11.373Z] 8a3aa393b2d8: Verifying Checksum [2023-08-31T15:10:11.373Z] 8a3aa393b2d8: Download complete [2023-08-31T15:10:14.653Z] 114826534d7a: Pull complete [2023-08-31T15:10:14.653Z] 4657fd5d0bcf: Pull complete [2023-08-31T15:10:15.219Z] 6ad1cebc031e: Pull complete [2023-08-31T15:10:17.747Z] 8a3aa393b2d8: Pull complete [2023-08-31T15:10:17.747Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-08-31T15:10:17.747Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-31T15:10:17.747Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T15:10:17.829Z] prd-ubuntu20.04-docker-8c-8g-5017 does not seem to be running inside a container [2023-08-31T15:10:17.862Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-08-31T15:10:23.581Z] $ docker top 62f7a08ee674f246f7b4a4fbbc3eb647e611a4fbe7bfb6af6961433723887aef -eo pid,comm [Pipeline] { [Pipeline] echo [2023-08-31T15:10:23.639Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-08-31T15:10:23.914Z] + set -o pipefail [2023-08-31T15:10:23.914Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-08-31T15:10:30.484Z] [2023-08-31T15:10:30.484Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-08-31T15:10:30.484Z] [2023-08-31T15:10:30.484Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/dd1d4682-566e-4edc-b7a3-fc7490576389 [2023-08-31T15:10:30.484Z] [2023-08-31T15:10:30.484Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-08-31T15:10:30.484Z] [2023-08-31T15:10:30.484Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-08-31T15:10:30.484Z] [2023-08-31T15:10:30.484Z] [2023-08-31T15:10:30.484Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-08-31T15:10:30.484Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-08-31T15:10:30.484Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-08-31T15:10:30.497Z] $ docker stop --time=1 62f7a08ee674f246f7b4a4fbbc3eb647e611a4fbe7bfb6af6961433723887aef [2023-08-31T15:10:33.677Z] $ docker rm -f --volumes 62f7a08ee674f246f7b4a4fbbc3eb647e611a4fbe7bfb6af6961433723887aef [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-08-31T15:10:34.368Z] + git log --format=format:%s -1 d21f7114bade91926d0e99e1f605d1c822a787f1 [Pipeline] sh [2023-08-31T15:10:34.655Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-31T15:10:34.655Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:10:34.951Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T15:10:34.951Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T15:10:35.018Z] prd-ubuntu20.04-docker-8c-8g-5017 does not seem to be running inside a container [2023-08-31T15:10:35.046Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-31T15:10:35.494Z] $ docker top 4765ca26230034a2bb67fad1597b0b7ac6760e3f5f8dd374de6498d42f60da34 -eo pid,comm [2023-08-31T15:10:35.541Z] 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-08-31T15:10:35.541Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-31T15:10:35.580Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-31T15:10:35.580Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-31T15:10:35.690Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-31T15:10:35.694Z] $ docker exec 4765ca26230034a2bb67fad1597b0b7ac6760e3f5f8dd374de6498d42f60da34 ssh-agent [2023-08-31T15:10:35.803Z] SSH_AUTH_SOCK=/tmp/ssh-9Iwz6ZIAgeKA/agent.32 [2023-08-31T15:10:35.803Z] SSH_AGENT_PID=38 [2023-08-31T15:10:35.807Z] Running ssh-add (command line suppressed) [2023-08-31T15:10:35.910Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6749373363805938009.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6749373363805938009.key) [2023-08-31T15:10:35.922Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-31T15:10:36.206Z] + git semver tag [2023-08-31T15:10:36.464Z] 2023-08-31 15:10:36,374 [run_tag] DEBUG tag force:False [2023-08-31T15:10:36.464Z] 2023-08-31 15:10:36,374 [check_head_tag] DEBUG check head tag [2023-08-31T15:10:36.464Z] 2023-08-31 15:10:36,375 [execute] INFO git cat-file --batch-check [2023-08-31T15:10:36.464Z] 2023-08-31 15:10:36,375 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-08-31T15:10:36.464Z] 2023-08-31 15:10:36,378 [execute] INFO git cat-file --batch [2023-08-31T15:10:36.464Z] 2023-08-31 15:10:36,378 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-08-31T15:10:36.464Z] 2023-08-31 15:10:36,388 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-31T15:10:36.464Z] 2023-08-31 15:10:36,388 [execute] INFO git tag -a v3.1.0-dev.6 -m v3.1.0-dev.6 [2023-08-31T15:10:36.464Z] 2023-08-31 15:10:36,389 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.6', '-m', 'v3.1.0-dev.6'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-31T15:10:36.464Z] 2023-08-31 15:10:36,394 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-31T15:10:36.464Z] 3.1.0-dev.6 [Pipeline] } [2023-08-31T15:10:36.475Z] $ docker exec --env ******** --env ******** 4765ca26230034a2bb67fad1597b0b7ac6760e3f5f8dd374de6498d42f60da34 ssh-agent -k [2023-08-31T15:10:36.577Z] unset SSH_AUTH_SOCK; [2023-08-31T15:10:36.577Z] unset SSH_AGENT_PID; [2023-08-31T15:10:36.577Z] echo Agent pid 38 killed; [2023-08-31T15:10:36.585Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-31T15:10:36.886Z] + git semver [Pipeline] } [2023-08-31T15:10:37.160Z] $ docker stop --time=1 4765ca26230034a2bb67fad1597b0b7ac6760e3f5f8dd374de6498d42f60da34 [2023-08-31T15:10:38.434Z] $ docker rm -f --volumes 4765ca26230034a2bb67fad1597b0b7ac6760e3f5f8dd374de6498d42f60da34 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:10:38.822Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-31T15:10:38.822Z] [2023-08-31T15:10:38.822Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:10:39.121Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-31T15:10:39.121Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-31T15:10:39.121Z] ab5ef0e58194: Pulling fs layer [2023-08-31T15:10:39.121Z] 9712f1f96733: Pulling fs layer [2023-08-31T15:10:39.121Z] 63f879dbbcfc: Pulling fs layer [2023-08-31T15:10:39.121Z] 0d9ebad4ef96: Pulling fs layer [2023-08-31T15:10:39.121Z] e9a5061849ea: Pulling fs layer [2023-08-31T15:10:39.121Z] d747dcd14b5f: Pulling fs layer [2023-08-31T15:10:39.121Z] 2de7ff778b66: Pulling fs layer [2023-08-31T15:10:39.121Z] 0d9ebad4ef96: Waiting [2023-08-31T15:10:39.121Z] e9a5061849ea: Waiting [2023-08-31T15:10:39.121Z] d747dcd14b5f: Waiting [2023-08-31T15:10:39.121Z] 2de7ff778b66: Waiting [2023-08-31T15:10:39.121Z] 9712f1f96733: Verifying Checksum [2023-08-31T15:10:39.121Z] 9712f1f96733: Download complete [2023-08-31T15:10:39.700Z] 63f879dbbcfc: Verifying Checksum [2023-08-31T15:10:39.700Z] 63f879dbbcfc: Download complete [2023-08-31T15:10:39.960Z] e9a5061849ea: Verifying Checksum [2023-08-31T15:10:39.960Z] e9a5061849ea: Download complete [2023-08-31T15:10:39.960Z] ab5ef0e58194: Download complete [2023-08-31T15:10:39.960Z] d747dcd14b5f: Verifying Checksum [2023-08-31T15:10:39.960Z] d747dcd14b5f: Download complete [2023-08-31T15:10:39.960Z] 0d9ebad4ef96: Verifying Checksum [2023-08-31T15:10:39.960Z] 0d9ebad4ef96: Download complete [2023-08-31T15:10:40.218Z] 2de7ff778b66: Verifying Checksum [2023-08-31T15:10:40.218Z] 2de7ff778b66: Download complete [2023-08-31T15:10:42.743Z] ab5ef0e58194: Pull complete [2023-08-31T15:10:42.743Z] 9712f1f96733: Pull complete [2023-08-31T15:10:42.999Z] 63f879dbbcfc: Pull complete [2023-08-31T15:10:46.307Z] 0d9ebad4ef96: Pull complete [2023-08-31T15:10:46.564Z] e9a5061849ea: Pull complete [2023-08-31T15:10:46.821Z] d747dcd14b5f: Pull complete [2023-08-31T15:10:47.755Z] 2de7ff778b66: Pull complete [2023-08-31T15:10:47.755Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-31T15:10:47.755Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-31T15:10:47.755Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T15:10:47.829Z] prd-ubuntu20.04-docker-8c-8g-5017 does not seem to be running inside a container [2023-08-31T15:10:47.858Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-08-31T15:10:53.402Z] $ docker top ec63d56bf5048154c53603712ee6c3d70cbe7a4f74b13bde7bad9b13c0003ab9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-31T15:10:53.462Z] provisioning config files... [2023-08-31T15:10:53.468Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10826680182777877460tmp [2023-08-31T15:10:53.477Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2472571166929329980tmp [2023-08-31T15:10:53.484Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14164278751722939969tmp [Pipeline] { [Pipeline] echo [2023-08-31T15:10:53.501Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:10:53.783Z] ---> sigul-configuration.sh [2023-08-31T15:10:53.783Z] gpg: directory `/root/.gnupg' created [2023-08-31T15:10:53.783Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-31T15:10:53.783Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-31T15:10:53.783Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-31T15:10:53.783Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-31T15:10:53.783Z] gpg: CAST5 encrypted data [2023-08-31T15:10:53.783Z] gpg: encrypted with 1 passphrase [2023-08-31T15:10:53.783Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-31T15:10:54.068Z] + mkdir /home/jenkins [2023-08-31T15:10:54.068Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-31T15:10:54.352Z] + 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-08-31T15:10:54.362Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:10:54.644Z] ---> sigul-install.sh [2023-08-31T15:10:54.644Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-31T15:10:54.932Z] + git tag --list [2023-08-31T15:10:54.932Z] 0.7.1 [2023-08-31T15:10:54.932Z] v1.0.0 [2023-08-31T15:10:54.932Z] v1.1.0 [2023-08-31T15:10:54.932Z] v1.1.1 [2023-08-31T15:10:54.932Z] v1.2.2 [2023-08-31T15:10:54.932Z] v1.3.0 [2023-08-31T15:10:54.932Z] v1.3.1 [2023-08-31T15:10:54.932Z] v2.0.0 [2023-08-31T15:10:54.932Z] v2.1.0 [2023-08-31T15:10:54.932Z] v2.1.1 [2023-08-31T15:10:54.932Z] v2.2.0 [2023-08-31T15:10:54.932Z] v2.3.0 [2023-08-31T15:10:54.932Z] v3.0 [2023-08-31T15:10:54.932Z] v3.0.0 [2023-08-31T15:10:54.932Z] v3.1.0-dev.1 [2023-08-31T15:10:54.932Z] v3.1.0-dev.2 [2023-08-31T15:10:54.932Z] v3.1.0-dev.3 [2023-08-31T15:10:54.932Z] v3.1.0-dev.4 [2023-08-31T15:10:54.932Z] v3.1.0-dev.5 [2023-08-31T15:10:54.932Z] v3.1.0-dev.6 [Pipeline] sh [2023-08-31T15:10:55.221Z] + lftools sign git-tag v3.1.0-dev.6 [2023-08-31T15:10:55.788Z] Signing Git tag with Sigul... [2023-08-31T15:10:55.788Z] Signing v3.1.0-dev.6 [Pipeline] echo [2023-08-31T15:10:56.055Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:10:56.434Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-31T15:10:56.441Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-31T15:10:56.461Z] $ docker stop --time=1 ec63d56bf5048154c53603712ee6c3d70cbe7a4f74b13bde7bad9b13c0003ab9 [2023-08-31T15:10:57.715Z] $ docker rm -f --volumes ec63d56bf5048154c53603712ee6c3d70cbe7a4f74b13bde7bad9b13c0003ab9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-31T15:10:58.133Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-31T15:10:58.133Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:10:58.433Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T15:10:58.433Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T15:10:58.510Z] prd-ubuntu20.04-docker-8c-8g-5017 does not seem to be running inside a container [2023-08-31T15:10:58.544Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-31T15:10:58.875Z] $ docker top 26c872cb3221ebdb9cb5481009be216be3ef9574ccfa3963c2ed406c825a87ec -eo pid,comm [2023-08-31T15:10:58.914Z] 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-08-31T15:10:58.914Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-31T15:10:58.943Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-31T15:10:58.943Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-31T15:10:59.043Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-31T15:10:59.047Z] $ docker exec 26c872cb3221ebdb9cb5481009be216be3ef9574ccfa3963c2ed406c825a87ec ssh-agent [2023-08-31T15:10:59.151Z] SSH_AUTH_SOCK=/tmp/ssh-9qRh5x04hgPo/agent.33 [2023-08-31T15:10:59.151Z] SSH_AGENT_PID=39 [2023-08-31T15:10:59.156Z] Running ssh-add (command line suppressed) [2023-08-31T15:10:59.260Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15538218314347230382.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15538218314347230382.key) [2023-08-31T15:10:59.271Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-31T15:10:59.555Z] + git semver bump pre [2023-08-31T15:10:59.814Z] 2023-08-31 15:10:59,752 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-31T15:10:59.814Z] 2023-08-31 15:10:59,752 [bump_version] DEBUG bumping version:3.1.0-dev.6 on axis:pre with prefix:dev [2023-08-31T15:10:59.814Z] 2023-08-31 15:10:59,752 [bump_version] DEBUG bumped version:3.1.0-dev.7 [2023-08-31T15:10:59.814Z] 2023-08-31 15:10:59,752 [write_version] DEBUG write version:3.1.0-dev.7 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-08-31T15:10:59.814Z] 2023-08-31 15:10:59,753 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-31T15:10:59.814Z] 2023-08-31 15:10:59,753 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-31T15:10:59.814Z] 2023-08-31 15:10:59,755 [execute] INFO git cat-file --batch-check [2023-08-31T15:10:59.814Z] 2023-08-31 15:10:59,755 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-31T15:10:59.814Z] 2023-08-31 15:10:59,760 [execute] INFO git cat-file --batch [2023-08-31T15:10:59.814Z] 2023-08-31 15:10:59,761 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-31T15:10:59.814Z] 2023-08-31 15:10:59,765 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-31T15:10:59.814Z] 3.1.0-dev.7 [Pipeline] } [2023-08-31T15:10:59.825Z] $ docker exec --env ******** --env ******** 26c872cb3221ebdb9cb5481009be216be3ef9574ccfa3963c2ed406c825a87ec ssh-agent -k [2023-08-31T15:10:59.923Z] unset SSH_AUTH_SOCK; [2023-08-31T15:10:59.923Z] unset SSH_AGENT_PID; [2023-08-31T15:10:59.923Z] echo Agent pid 39 killed; [2023-08-31T15:10:59.932Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-31T15:11:00.232Z] + git semver [Pipeline] } [2023-08-31T15:11:00.507Z] $ docker stop --time=1 26c872cb3221ebdb9cb5481009be216be3ef9574ccfa3963c2ed406c825a87ec [2023-08-31T15:11:01.736Z] $ docker rm -f --volumes 26c872cb3221ebdb9cb5481009be216be3ef9574ccfa3963c2ed406c825a87ec [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-31T15:11:02.067Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-31T15:11:02.068Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:11:02.360Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T15:11:02.360Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T15:11:02.460Z] prd-ubuntu20.04-docker-8c-8g-5017 does not seem to be running inside a container [2023-08-31T15:11:02.524Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-31T15:11:02.844Z] $ docker top f17369aaa0a674fcae8bc123df96d75a41ce4494187821d1e97764f02ff937ac -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-31T15:11:02.916Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-31T15:11:02.916Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-31T15:11:03.027Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-31T15:11:03.030Z] $ docker exec f17369aaa0a674fcae8bc123df96d75a41ce4494187821d1e97764f02ff937ac ssh-agent [2023-08-31T15:11:03.139Z] SSH_AUTH_SOCK=/tmp/ssh-bdV5sqT5SgJ1/agent.32 [2023-08-31T15:11:03.139Z] SSH_AGENT_PID=38 [2023-08-31T15:11:03.146Z] Running ssh-add (command line suppressed) [2023-08-31T15:11:03.248Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6546788848618398359.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6546788848618398359.key) [2023-08-31T15:11:03.263Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-31T15:11:03.550Z] + git semver push [2023-08-31T15:11:03.809Z] 2023-08-31 15:11:03,736 [run_push] DEBUG push [2023-08-31T15:11:03.809Z] 2023-08-31 15:11:03,737 [execute] INFO git cat-file --batch-check [2023-08-31T15:11:03.809Z] 2023-08-31 15:11:03,737 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-31T15:11:03.809Z] 2023-08-31 15:11:03,741 [execute] INFO git rev-list fed95e55b17b10683b1c67891ea458035ba2ea5b -- [2023-08-31T15:11:03.810Z] 2023-08-31 15:11:03,741 [execute] DEBUG Popen(['git', 'rev-list', 'fed95e55b17b10683b1c67891ea458035ba2ea5b', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-31T15:11:03.810Z] 2023-08-31 15:11:03,750 [execute] INFO git fetch -v origin [2023-08-31T15:11:03.810Z] 2023-08-31 15:11:03,750 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-08-31T15:11:04.379Z] 2023-08-31 15:11:04,218 [run_push] DEBUG no remote changes detected [2023-08-31T15:11:04.379Z] 2023-08-31 15:11:04,218 [execute] INFO git push origin semver [2023-08-31T15:11:04.379Z] 2023-08-31 15:11:04,219 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-31T15:11:05.316Z] 2023-08-31 15:11:05,140 [run_push] DEBUG push all version tags [2023-08-31T15:11:05.316Z] 2023-08-31 15:11:05,140 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-31T15:11:05.316Z] 2023-08-31 15:11:05,141 [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-08-31T15:11:06.254Z] 2023-08-31 15:11:06,002 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-31T15:11:06.254Z] 3.1.0-dev.7 [Pipeline] } [2023-08-31T15:11:06.263Z] $ docker exec --env ******** --env ******** f17369aaa0a674fcae8bc123df96d75a41ce4494187821d1e97764f02ff937ac ssh-agent -k [2023-08-31T15:11:06.350Z] unset SSH_AUTH_SOCK; [2023-08-31T15:11:06.350Z] unset SSH_AGENT_PID; [2023-08-31T15:11:06.350Z] echo Agent pid 38 killed; [2023-08-31T15:11:06.363Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-31T15:11:06.672Z] + git semver [Pipeline] } [2023-08-31T15:11:06.946Z] $ docker stop --time=1 f17369aaa0a674fcae8bc123df96d75a41ce4494187821d1e97764f02ff937ac [2023-08-31T15:11:08.256Z] $ docker rm -f --volumes f17369aaa0a674fcae8bc123df96d75a41ce4494187821d1e97764f02ff937ac [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-08-31T15:11:08.821Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-08-31T15:11:08.821Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-08-31T15:11:08.821Z] total 16 [2023-08-31T15:11:08.821Z] drwxr-xr-x 3 root root 4096 Aug 31 15:00 . [2023-08-31T15:11:08.821Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 15:10 .. [2023-08-31T15:11:08.821Z] drwxr-xr-x 2 root root 4096 Aug 31 15:00 cost [2023-08-31T15:11:08.821Z] -rw-r--r-- 1 root root 88 Aug 31 15:00 cost.csv [2023-08-31T15:11:08.821Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-08-31T15:11:08.821Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-08-31T15:11:08.821Z] total 16 [2023-08-31T15:11:08.821Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 15:00 . [2023-08-31T15:11:08.821Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 15:10 .. [2023-08-31T15:11:08.821Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 31 15:00 cost [2023-08-31T15:11:08.821Z] -rw-r--r-- 1 jenkins jenkins 88 Aug 31 15:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:11:09.107Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:11:09.961Z] ---> package-listing.sh [2023-08-31T15:11:09.961Z] ++ facter osfamily [2023-08-31T15:11:09.961Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-31T15:11:10.222Z] + OS_FAMILY=debian [2023-08-31T15:11:10.222Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-08-31T15:11:10.222Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-31T15:11:10.222Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-31T15:11:10.222Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-31T15:11:10.222Z] + PACKAGES=/tmp/packages_start.txt [2023-08-31T15:11:10.222Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-08-31T15:11:10.222Z] + PACKAGES=/tmp/packages_end.txt [2023-08-31T15:11:10.222Z] + case "${OS_FAMILY}" in [2023-08-31T15:11:10.222Z] + dpkg -l [2023-08-31T15:11:10.222Z] + grep '^ii' [2023-08-31T15:11:10.222Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-31T15:11:10.222Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-31T15:11:10.222Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-31T15:11:10.222Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-08-31T15:11:10.222Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-08-31T15:11:10.222Z] + 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-08-31T15:11:10.232Z] 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-08-31T15:11:10.508Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T15:11:11.065Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-31T15:11:11.065Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T15:11:11.133Z] prd-ubuntu20.04-docker-8c-8g-5017 does not seem to be running inside a container [2023-08-31T15:11:11.166Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-31T15:11:11.349Z] $ docker top dc4d04049dfa332f782630b522f149e59e359fea321d06a001d780023ff97260 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T15:11:11.697Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-31T15:11:11.979Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-31T15:11:12.261Z] + ls /var/log/sa-host [2023-08-31T15:11:12.261Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-31T15:11:12.327Z] provisioning config files... [2023-08-31T15:11:12.336Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15621049335361839692tmp [Pipeline] { [Pipeline] echo [2023-08-31T15:11:12.352Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:11:12.631Z] ---> create-netrc.sh [Pipeline] } [2023-08-31T15:11:12.639Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:11:12.952Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-31T15:11:12.960Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:11:13.238Z] ---> sudo-logs.sh [2023-08-31T15:11:13.238Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-31T15:11:13.269Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:11:13.548Z] ---> job-cost.sh [2023-08-31T15:11:13.548Z] lf-activate-venv: SKIPPING [2023-08-31T15:11:13.548Z] DEBUG: total: 0.2199999988079071 [2023-08-31T15:11:13.548Z] INFO: Retrieving Stack Cost... [2023-08-31T15:11:14.116Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-31T15:11:14.374Z] INFO: Archiving Costs [Pipeline] echo [2023-08-31T15:11:14.386Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T15:11:14.669Z] ---> logs-deploy.sh [2023-08-31T15:11:14.669Z] lf-activate-venv: SKIPPING [2023-08-31T15:11:14.669Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/119 [2023-08-31T15:11:14.669Z] INFO: archiving workspace using pattern(s): [2023-08-31T15:11:15.604Z] Archives upload complete. [2023-08-31T15:11:15.604Z] INFO: archiving logs to Nexus