Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from df6ebf4862d29b15333f4a73058cc7861157986f 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-ssh2293017671318862275.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh18389229813723138923.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh9733500637239513975.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh1782965345114165886.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-ssh3284704295024069456.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16067 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 Avoid second fetch Checking out Revision df6ebf4862d29b15333f4a73058cc7861157986f (main) Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f df6ebf4862d29b15333f4a73058cc7861157986f # timeout=10 Commit message: "Merge pull request #358 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.10" > git rev-list --no-walk 4c89d6a6c91720700353e870f5243ca140b0cc6d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-27T05:46:17.292Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-27T05:46:17.353Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-27T05:46:17.370Z] ========================================================= [2022-06-27T05:46:17.370Z] EdgeX Global Pipelines Version Info [2022-06-27T05:46:17.370Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:46:18.162Z] ------------------- [2022-06-27T05:46:18.162Z] stable info: [2022-06-27T05:46:18.162Z] ------------------- [2022-06-27T05:46:18.162Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-27T05:46:18.162Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T05:46:18.162Z] Message: update stable to v1.0.234 [2022-06-27T05:46:18.746Z] ------------------- [2022-06-27T05:46:18.746Z] experimental info: [2022-06-27T05:46:18.746Z] ------------------- [2022-06-27T05:46:18.746Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-27T05:46:18.746Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T05:46:18.746Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-27T05:46:18.998Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-06-27T05:46:19.010Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-06-27T05:46:19.024Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-27T05:46:19.033Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-27T05:46:19.044Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-27T05:46:19.054Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-27T05:46:19.062Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-27T05:46:19.070Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-27T05:46:19.081Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-27T05:46:19.093Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-27T05:46:19.104Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-27T05:46:19.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-06-27T05:46:19.127Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-27T05:46:19.138Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-27T05:46:19.149Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T05:46:19.161Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T05:46:19.172Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T05:46:19.183Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T05:46:19.194Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-27T05:46:19.205Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-27T05:46:19.217Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-27T05:46:19.228Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-27T05:46:19.240Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-27T05:46:19.251Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-27T05:46:19.262Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-27T05:46:19.271Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-27T05:46:19.283Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-27T05:46:19.294Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-06-27T05:46:19.306Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-06-27T05:46:19.317Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-06-27T05:46:19.329Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = df6ebf4862d29b15333f4a73058cc7861157986f [Pipeline] echo [2022-06-27T05:46:19.340Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = df6ebf4 [Pipeline] echo [2022-06-27T05:46:19.352Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T05:46:19.389Z] provisioning config files... [2022-06-27T05:46:19.404Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4983694174932970960tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:46:19.709Z] ---> docker-login.sh [2022-06-27T05:46:19.709Z] nexus3.edgexfoundry.org:10001 [2022-06-27T05:46:19.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:46:19.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:46:19.971Z] Configure a credential helper to remove this warning. See [2022-06-27T05:46:19.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:46:19.971Z] [2022-06-27T05:46:19.971Z] Login Succeeded [2022-06-27T05:46:19.971Z] nexus3.edgexfoundry.org:10002 [2022-06-27T05:46:19.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:46:20.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:46:20.231Z] Configure a credential helper to remove this warning. See [2022-06-27T05:46:20.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:46:20.231Z] [2022-06-27T05:46:20.231Z] Login Succeeded [2022-06-27T05:46:20.231Z] nexus3.edgexfoundry.org:10003 [2022-06-27T05:46:20.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:46:20.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:46:20.231Z] Configure a credential helper to remove this warning. See [2022-06-27T05:46:20.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:46:20.231Z] [2022-06-27T05:46:20.231Z] Login Succeeded [2022-06-27T05:46:20.231Z] nexus3.edgexfoundry.org:10004 [2022-06-27T05:46:20.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:46:20.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:46:20.493Z] Configure a credential helper to remove this warning. See [2022-06-27T05:46:20.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:46:20.493Z] [2022-06-27T05:46:20.493Z] Login Succeeded [2022-06-27T05:46:20.493Z] docker.io [2022-06-27T05:46:20.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:46:20.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:46:20.756Z] Configure a credential helper to remove this warning. See [2022-06-27T05:46:20.756Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:46:20.756Z] [2022-06-27T05:46:20.756Z] Login Succeeded [2022-06-27T05:46:20.756Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T05:46:20.765Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-27T05:46:21.138Z] + git rev-list -1 --merges df6ebf4862d29b15333f4a73058cc7861157986f~1..df6ebf4862d29b15333f4a73058cc7861157986f [Pipeline] echo [2022-06-27T05:46:21.176Z] -----------> git rev-list -1 --merges df6ebf4862d29b15333f4a73058cc7861157986f~1..df6ebf4862d29b15333f4a73058cc7861157986f df6ebf4862d29b15333f4a73058cc7861157986f [2022-06-27T05:46:21.176Z] df6ebf4862d29b15333f4a73058cc7861157986f [false] [Pipeline] sh [2022-06-27T05:46:21.471Z] + git log --format=format:%s -1 df6ebf4862d29b15333f4a73058cc7861157986f [Pipeline] echo [2022-06-27T05:46:21.488Z] ========================================================= [2022-06-27T05:46:21.488Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-27T05:46:21.489Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T05:46:21.821Z] + git log --format=format:%s -1 df6ebf4862d29b15333f4a73058cc7861157986f [Pipeline] echo [2022-06-27T05:46:21.834Z] [semverPrep] GIT_COMMIT: df6ebf4862d29b15333f4a73058cc7861157986f, Commit Message: Merge pull request #358 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.10 [Pipeline] echo [2022-06-27T05:46:21.844Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-27T05:46:22.189Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-27T05:46:22.189Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-27T05:46:22.189Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-27T05:46:22.189Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-27T05:46:22.189Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-27T05:46:22.189Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-27T05:46:22.189Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:46:22.538Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T05:46:22.538Z] [2022-06-27T05:46:22.538Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:46:22.837Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T05:46:22.837Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-27T05:46:22.837Z] 42c077c10790: Pulling fs layer [2022-06-27T05:46:22.837Z] f63e77b7563a: Pulling fs layer [2022-06-27T05:46:22.837Z] bd5fdadae976: Pulling fs layer [2022-06-27T05:46:22.837Z] 205491f53016: Pulling fs layer [2022-06-27T05:46:22.837Z] df18705c85c3: Pulling fs layer [2022-06-27T05:46:22.837Z] bdb3f477010e: Pulling fs layer [2022-06-27T05:46:22.837Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-27T05:46:22.837Z] 2c6e9b1d212d: Pulling fs layer [2022-06-27T05:46:22.837Z] bdb8f0575790: Pulling fs layer [2022-06-27T05:46:22.837Z] 386e3cb2ff24: Pulling fs layer [2022-06-27T05:46:22.837Z] 2343380bae48: Pulling fs layer [2022-06-27T05:46:22.837Z] 205491f53016: Waiting [2022-06-27T05:46:22.837Z] df18705c85c3: Waiting [2022-06-27T05:46:22.837Z] bdb3f477010e: Waiting [2022-06-27T05:46:22.837Z] c8a8fc8e1c8f: Waiting [2022-06-27T05:46:22.837Z] 2c6e9b1d212d: Waiting [2022-06-27T05:46:22.837Z] bdb8f0575790: Waiting [2022-06-27T05:46:22.837Z] 386e3cb2ff24: Waiting [2022-06-27T05:46:22.837Z] 2343380bae48: Waiting [2022-06-27T05:46:22.837Z] f63e77b7563a: Download complete [2022-06-27T05:46:22.837Z] 205491f53016: Verifying Checksum [2022-06-27T05:46:22.837Z] 205491f53016: Download complete [2022-06-27T05:46:23.100Z] df18705c85c3: Verifying Checksum [2022-06-27T05:46:23.100Z] df18705c85c3: Download complete [2022-06-27T05:46:23.100Z] bdb3f477010e: Download complete [2022-06-27T05:46:23.100Z] bd5fdadae976: Verifying Checksum [2022-06-27T05:46:23.100Z] bd5fdadae976: Download complete [2022-06-27T05:46:23.100Z] 2c6e9b1d212d: Download complete [2022-06-27T05:46:23.100Z] bdb8f0575790: Verifying Checksum [2022-06-27T05:46:23.100Z] bdb8f0575790: Download complete [2022-06-27T05:46:23.100Z] 386e3cb2ff24: Verifying Checksum [2022-06-27T05:46:23.100Z] 386e3cb2ff24: Download complete [2022-06-27T05:46:23.100Z] 2343380bae48: Verifying Checksum [2022-06-27T05:46:23.100Z] 2343380bae48: Download complete [2022-06-27T05:46:23.100Z] 42c077c10790: Verifying Checksum [2022-06-27T05:46:23.100Z] 42c077c10790: Download complete [2022-06-27T05:46:23.360Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-27T05:46:23.360Z] c8a8fc8e1c8f: Download complete [2022-06-27T05:46:24.298Z] 42c077c10790: Pull complete [2022-06-27T05:46:24.559Z] f63e77b7563a: Pull complete [2022-06-27T05:46:24.820Z] bd5fdadae976: Pull complete [2022-06-27T05:46:25.080Z] 205491f53016: Pull complete [2022-06-27T05:46:25.339Z] df18705c85c3: Pull complete [2022-06-27T05:46:25.339Z] bdb3f477010e: Pull complete [2022-06-27T05:46:27.252Z] c8a8fc8e1c8f: Pull complete [2022-06-27T05:46:27.252Z] 2c6e9b1d212d: Pull complete [2022-06-27T05:46:27.252Z] bdb8f0575790: Pull complete [2022-06-27T05:46:27.252Z] 386e3cb2ff24: Pull complete [2022-06-27T05:46:27.514Z] 2343380bae48: Pull complete [2022-06-27T05:46:27.514Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-27T05:46:27.514Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T05:46:27.514Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:46:27.615Z] prd-ubuntu20.04-docker-8c-8g-16067 does not seem to be running inside a container [2022-06-27T05:46:27.658Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-27T05:46:29.150Z] $ docker top cba113886d4c092b4a9ea9c6e79b0fc2a7c909ae9f7ca644045e68916f8c0bef -eo pid,comm [2022-06-27T05:46:29.211Z] 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). [2022-06-27T05:46:29.211Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-27T05:46:29.251Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T05:46:29.251Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T05:46:29.376Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T05:46:29.385Z] $ docker exec cba113886d4c092b4a9ea9c6e79b0fc2a7c909ae9f7ca644045e68916f8c0bef ssh-agent [2022-06-27T05:46:29.496Z] SSH_AUTH_SOCK=/tmp/ssh-PlAIoth8GJ46/agent.33 [2022-06-27T05:46:29.496Z] SSH_AGENT_PID=39 [2022-06-27T05:46:29.502Z] Running ssh-add (command line suppressed) [2022-06-27T05:46:29.623Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2112736616429113451.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2112736616429113451.key) [2022-06-27T05:46:29.637Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T05:46:29.929Z] + git tag --points-at HEAD [Pipeline] } [2022-06-27T05:46:29.954Z] $ docker exec --env ******** --env ******** cba113886d4c092b4a9ea9c6e79b0fc2a7c909ae9f7ca644045e68916f8c0bef ssh-agent -k [2022-06-27T05:46:30.065Z] unset SSH_AUTH_SOCK; [2022-06-27T05:46:30.065Z] unset SSH_AGENT_PID; [2022-06-27T05:46:30.066Z] echo Agent pid 39 killed; [2022-06-27T05:46:30.071Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-27T05:46:30.096Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T05:46:30.096Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T05:46:30.212Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T05:46:30.221Z] $ docker exec cba113886d4c092b4a9ea9c6e79b0fc2a7c909ae9f7ca644045e68916f8c0bef ssh-agent [2022-06-27T05:46:30.342Z] SSH_AUTH_SOCK=/tmp/ssh-aKTzCH51g5oa/agent.72 [2022-06-27T05:46:30.342Z] SSH_AGENT_PID=78 [2022-06-27T05:46:30.347Z] Running ssh-add (command line suppressed) [2022-06-27T05:46:30.458Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7067256196514793282.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7067256196514793282.key) [2022-06-27T05:46:30.468Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T05:46:30.757Z] + git semver init [2022-06-27T05:46:31.019Z] 2022-06-27 05:46:30,970 [run_init] DEBUG init version:0.0.0 force:False [2022-06-27T05:46:31.019Z] 2022-06-27 05:46:30,971 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-06-27T05:46:31.019Z] 2022-06-27 05:46:30,972 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-06-27T05:46:31.019Z] 2022-06-27 05:46:30,972 [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) [2022-06-27T05:46:31.966Z] 2022-06-27 05:46:31,681 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2022-06-27T05:46:31.966Z] 2022-06-27 05:46:31,681 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2022-06-27T05:46:31.966Z] 2022-06-27 05:46:31,681 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-06-27T05:46:31.966Z] 2022-06-27 05:46:31,682 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-06-27T05:46:31.966Z] 2.2.1-dev.4 [Pipeline] } [2022-06-27T05:46:31.983Z] $ docker exec --env ******** --env ******** cba113886d4c092b4a9ea9c6e79b0fc2a7c909ae9f7ca644045e68916f8c0bef ssh-agent -k [2022-06-27T05:46:32.095Z] unset SSH_AUTH_SOCK; [2022-06-27T05:46:32.096Z] unset SSH_AGENT_PID; [2022-06-27T05:46:32.096Z] echo Agent pid 78 killed; [2022-06-27T05:46:32.101Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-27T05:46:32.404Z] + git semver [Pipeline] } [2022-06-27T05:46:32.687Z] $ docker stop --time=1 cba113886d4c092b4a9ea9c6e79b0fc2a7c909ae9f7ca644045e68916f8c0bef [2022-06-27T05:46:34.010Z] $ docker rm -f cba113886d4c092b4a9ea9c6e79b0fc2a7c909ae9f7ca644045e68916f8c0bef [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T05:46:34.352Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-27T05:46:34.570Z] Stashed 1 file(s) [Pipeline] echo [2022-06-27T05:46:34.573Z] [edgeXSemver]: initialized semver on version 2.2.1-dev.4 [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 [2022-06-27T05:46:34.699Z] provisioning config files... [2022-06-27T05:46:34.712Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3404166074845657466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:46:35.018Z] ---> docker-login.sh [2022-06-27T05:46:35.018Z] nexus3.edgexfoundry.org:10001 [2022-06-27T05:46:35.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:46:35.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:46:35.018Z] Configure a credential helper to remove this warning. See [2022-06-27T05:46:35.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:46:35.018Z] [2022-06-27T05:46:35.018Z] Login Succeeded [2022-06-27T05:46:35.018Z] nexus3.edgexfoundry.org:10002 [2022-06-27T05:46:35.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:46:35.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:46:35.281Z] Configure a credential helper to remove this warning. See [2022-06-27T05:46:35.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:46:35.281Z] [2022-06-27T05:46:35.281Z] Login Succeeded [2022-06-27T05:46:35.281Z] nexus3.edgexfoundry.org:10003 [2022-06-27T05:46:35.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:46:35.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:46:35.281Z] Configure a credential helper to remove this warning. See [2022-06-27T05:46:35.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:46:35.281Z] [2022-06-27T05:46:35.281Z] Login Succeeded [2022-06-27T05:46:35.281Z] nexus3.edgexfoundry.org:10004 [2022-06-27T05:46:35.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:46:35.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:46:35.542Z] Configure a credential helper to remove this warning. See [2022-06-27T05:46:35.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:46:35.542Z] [2022-06-27T05:46:35.542Z] Login Succeeded [2022-06-27T05:46:35.542Z] docker.io [2022-06-27T05:46:35.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:46:35.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:46:35.804Z] Configure a credential helper to remove this warning. See [2022-06-27T05:46:35.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:46:35.804Z] [2022-06-27T05:46:35.804Z] Login Succeeded [2022-06-27T05:46:35.804Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T05:46:35.814Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T05:46:35.880Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T05:46:35.897Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T05:46:35.904Z] ========================================================= [2022-06-27T05:46:35.904Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-27T05:46:35.904Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:46:36.226Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-27T05:46:36.226Z] Sending build context to Docker daemon 6.032MB [2022-06-27T05:46:36.226Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T05:46:36.226Z] Step 2/10 : FROM ${BASE} AS builder [2022-06-27T05:46:36.226Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-27T05:46:36.226Z] 59bf1c3509f3: Pulling fs layer [2022-06-27T05:46:36.226Z] 666ba61612fd: Pulling fs layer [2022-06-27T05:46:36.226Z] 8ed8ca486205: Pulling fs layer [2022-06-27T05:46:36.226Z] cc1cd167ecdc: Pulling fs layer [2022-06-27T05:46:36.226Z] c516ae0d96e1: Pulling fs layer [2022-06-27T05:46:36.226Z] 684cea983483: Pulling fs layer [2022-06-27T05:46:36.226Z] dd3240ac7de5: Pulling fs layer [2022-06-27T05:46:36.226Z] b1e948a4e11c: Pulling fs layer [2022-06-27T05:46:36.226Z] a8fd76ee1af6: Pulling fs layer [2022-06-27T05:46:36.226Z] 646ad004c059: Pulling fs layer [2022-06-27T05:46:36.226Z] dd3240ac7de5: Waiting [2022-06-27T05:46:36.226Z] b1e948a4e11c: Waiting [2022-06-27T05:46:36.226Z] a8fd76ee1af6: Waiting [2022-06-27T05:46:36.226Z] cc1cd167ecdc: Waiting [2022-06-27T05:46:36.226Z] 684cea983483: Waiting [2022-06-27T05:46:36.226Z] c516ae0d96e1: Waiting [2022-06-27T05:46:36.226Z] 646ad004c059: Waiting [2022-06-27T05:46:36.226Z] 8ed8ca486205: Verifying Checksum [2022-06-27T05:46:36.226Z] 8ed8ca486205: Download complete [2022-06-27T05:46:36.226Z] 666ba61612fd: Verifying Checksum [2022-06-27T05:46:36.226Z] 666ba61612fd: Download complete [2022-06-27T05:46:36.226Z] c516ae0d96e1: Download complete [2022-06-27T05:46:36.491Z] 684cea983483: Download complete [2022-06-27T05:46:36.491Z] dd3240ac7de5: Verifying Checksum [2022-06-27T05:46:36.491Z] dd3240ac7de5: Download complete [2022-06-27T05:46:36.491Z] 59bf1c3509f3: Verifying Checksum [2022-06-27T05:46:36.491Z] 59bf1c3509f3: Download complete [2022-06-27T05:46:36.491Z] b1e948a4e11c: Verifying Checksum [2022-06-27T05:46:36.491Z] b1e948a4e11c: Download complete [2022-06-27T05:46:36.491Z] 59bf1c3509f3: Pull complete [2022-06-27T05:46:36.761Z] 666ba61612fd: Pull complete [2022-06-27T05:46:36.761Z] 8ed8ca486205: Pull complete [2022-06-27T05:46:36.761Z] 646ad004c059: Verifying Checksum [2022-06-27T05:46:36.761Z] 646ad004c059: Download complete [2022-06-27T05:46:37.025Z] cc1cd167ecdc: Verifying Checksum [2022-06-27T05:46:37.025Z] cc1cd167ecdc: Download complete [2022-06-27T05:46:37.025Z] a8fd76ee1af6: Verifying Checksum [2022-06-27T05:46:37.025Z] a8fd76ee1af6: Download complete [2022-06-27T05:46:41.225Z] cc1cd167ecdc: Pull complete [2022-06-27T05:46:41.225Z] c516ae0d96e1: Pull complete [2022-06-27T05:46:41.225Z] 684cea983483: Pull complete [2022-06-27T05:46:41.225Z] dd3240ac7de5: Pull complete [2022-06-27T05:46:41.225Z] b1e948a4e11c: Pull complete [2022-06-27T05:46:43.144Z] a8fd76ee1af6: Pull complete [2022-06-27T05:46:43.714Z] 646ad004c059: Pull complete [2022-06-27T05:46:43.714Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-27T05:46:43.714Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-27T05:46:43.714Z] ---> 8f69c11f6b0c [2022-06-27T05:46:43.714Z] Step 3/10 : ARG MAKE='make build' [2022-06-27T05:46:45.628Z] ---> Running in d340b6e0a21e [2022-06-27T05:46:45.628Z] Removing intermediate container d340b6e0a21e [2022-06-27T05:46:45.628Z] ---> 577b067bdb6a [2022-06-27T05:46:45.628Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T05:46:45.628Z] ---> Running in 16477b7b02b2 [2022-06-27T05:46:46.198Z] Removing intermediate container 16477b7b02b2 [2022-06-27T05:46:46.198Z] ---> 48fbc75e3529 [2022-06-27T05:46:46.198Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-06-27T05:46:46.198Z] ---> Running in 1551e6dbb511 [2022-06-27T05:46:46.459Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T05:46:47.402Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T05:46:47.663Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-06-27T05:46:47.663Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-06-27T05:46:47.663Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-06-27T05:46:47.925Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-06-27T05:46:47.925Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-06-27T05:46:47.925Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-06-27T05:46:48.187Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-06-27T05:46:48.187Z] (8/8) Installing openssh (8.8_p1-r1) [2022-06-27T05:46:48.187Z] Executing busybox-1.34.1-r3.trigger [2022-06-27T05:46:48.187Z] OK: 226 MiB in 60 packages [2022-06-27T05:46:48.756Z] Removing intermediate container 1551e6dbb511 [2022-06-27T05:46:48.756Z] ---> 32ad55a27788 [2022-06-27T05:46:48.756Z] Step 6/10 : WORKDIR /device-modbus-go [2022-06-27T05:46:48.756Z] ---> Running in 1f1dafbe5db6 [2022-06-27T05:46:48.756Z] Removing intermediate container 1f1dafbe5db6 [2022-06-27T05:46:48.756Z] ---> 1d0b96658e83 [2022-06-27T05:46:48.756Z] Step 7/10 : COPY go.mod vendor* ./ [2022-06-27T05:46:49.017Z] ---> 766032a53233 [2022-06-27T05:46:49.017Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T05:46:49.017Z] ---> Running in ee1cfaada286 [2022-06-27T05:46:49.661Z] Still waiting to schedule task [2022-06-27T05:46:49.662Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-16068’ is offline [2022-06-27T05:47:03.931Z] Removing intermediate container ee1cfaada286 [2022-06-27T05:47:03.931Z] ---> 15706a14ebf3 [2022-06-27T05:47:03.931Z] Step 9/10 : COPY . . [2022-06-27T05:47:03.931Z] ---> f9e5f402808e [2022-06-27T05:47:03.931Z] Step 10/10 : RUN ${MAKE} [2022-06-27T05:47:03.931Z] ---> Running in 67b136f812ef [2022-06-27T05:47:03.931Z] noop [2022-06-27T05:47:03.931Z] Removing intermediate container 67b136f812ef [2022-06-27T05:47:03.931Z] ---> 8dc294934b7f [2022-06-27T05:47:03.931Z] Successfully built 8dc294934b7f [2022-06-27T05:47:03.931Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:47:04.255Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T05:47:04.255Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:47:04.336Z] prd-ubuntu20.04-docker-8c-8g-16067 does not seem to be running inside a container [2022-06-27T05:47:04.375Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-27T05:47:04.754Z] $ docker top 7a5d2896e3a478982bb1b98f0b065756e55ecb4454202422a4cd7e11df68c04e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T05:47:05.105Z] + go version [2022-06-27T05:47:05.105Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-27T05:47:05.121Z] $ docker stop --time=1 7a5d2896e3a478982bb1b98f0b065756e55ecb4454202422a4cd7e11df68c04e [2022-06-27T05:47:06.417Z] $ docker rm -f 7a5d2896e3a478982bb1b98f0b065756e55ecb4454202422a4cd7e11df68c04e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:47:06.860Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T05:47:06.861Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:47:06.950Z] prd-ubuntu20.04-docker-8c-8g-16067 does not seem to be running inside a container [2022-06-27T05:47:07.004Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-27T05:47:07.370Z] $ docker top e37cc0f7cd73619f9928dc547d1694d42a1074053f7b8589d7043855e6ba6293 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T05:47:07.753Z] + make test [2022-06-27T05:47:07.753Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-27T05:47:08.031Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-06-27T05:47:18.016Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-06-27T05:47:18.016Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.021s coverage: 46.4% of statements [2022-06-27T05:47:22.208Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T05:47:26.403Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T05:47:26.403Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T05:47:26.403Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-27T05:47:26.673Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-27T05:47:26.692Z] $ docker stop --time=1 e37cc0f7cd73619f9928dc547d1694d42a1074053f7b8589d7043855e6ba6293 [2022-06-27T05:47:28.568Z] $ docker rm -f e37cc0f7cd73619f9928dc547d1694d42a1074053f7b8589d7043855e6ba6293 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T05:47:28.990Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-27T05:47:29.033Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-27T05:47:29.482Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-27T05:47:29.769Z] + ls -al . [2022-06-27T05:47:29.769Z] total 184 [2022-06-27T05:47:29.769Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 05:47 . [2022-06-27T05:47:29.769Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 05:46 .. [2022-06-27T05:47:29.769Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 27 05:46 .dockerignore [2022-06-27T05:47:29.769Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 05:46 .git [2022-06-27T05:47:29.769Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 05:46 .github [2022-06-27T05:47:29.769Z] -rw-rw-r-- 1 jenkins jenkins 331 Jun 27 05:46 .gitignore [2022-06-27T05:47:29.769Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 05:46 .golangci.yml [2022-06-27T05:47:29.769Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 05:46 .semver [2022-06-27T05:47:29.769Z] -rw-rw-r-- 1 jenkins jenkins 9636 Jun 27 05:46 Attribution.txt [2022-06-27T05:47:29.769Z] -rw-rw-r-- 1 jenkins jenkins 10001 Jun 27 05:46 CHANGELOG.md [2022-06-27T05:47:29.769Z] -rw-rw-r-- 1 jenkins jenkins 1546 Jun 27 05:46 Dockerfile [2022-06-27T05:47:29.769Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 05:46 GOVERNANCE.md [2022-06-27T05:47:29.769Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 27 05:46 Jenkinsfile [2022-06-27T05:47:29.769Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 05:46 LICENSE [2022-06-27T05:47:29.769Z] -rw-rw-r-- 1 jenkins jenkins 1905 Jun 27 05:46 Makefile [2022-06-27T05:47:29.769Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 27 05:46 OWNERS.md [2022-06-27T05:47:29.769Z] -rw-rw-r-- 1 jenkins jenkins 3397 Jun 27 05:46 README.md [2022-06-27T05:47:29.769Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 27 05:46 VERSION [2022-06-27T05:47:29.769Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 05:46 bin [2022-06-27T05:47:29.769Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 05:46 cmd [2022-06-27T05:47:29.769Z] -rw-r--r-- 1 jenkins jenkins 24065 Jun 27 05:47 coverage.out [2022-06-27T05:47:29.769Z] -rw-rw-r-- 1 jenkins jenkins 3404 Jun 27 05:46 go.mod [2022-06-27T05:47:29.769Z] -rw-rw-r-- 1 jenkins jenkins 36196 Jun 27 05:46 go.sum [2022-06-27T05:47:29.769Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 05:46 internal [2022-06-27T05:47:29.769Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 05:46 simulator [2022-06-27T05:47:29.769Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 05:46 snap [2022-06-27T05:47:29.769Z] -rw-rw-r-- 1 jenkins jenkins 229 Jun 27 05:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:47:30.074Z] + 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=df6ebf4862d29b15333f4a73058cc7861157986f --label arch=amd64 --label version=2.2.1-dev.4 . [2022-06-27T05:47:30.074Z] Sending build context to Docker daemon 6.057MB [2022-06-27T05:47:30.074Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T05:47:30.074Z] Step 2/23 : FROM ${BASE} AS builder [2022-06-27T05:47:30.074Z] ---> 8dc294934b7f [2022-06-27T05:47:30.074Z] Step 3/23 : ARG MAKE='make build' [2022-06-27T05:47:30.074Z] ---> Running in 5b4940669b92 [2022-06-27T05:47:30.333Z] Removing intermediate container 5b4940669b92 [2022-06-27T05:47:30.333Z] ---> 5a10b423e722 [2022-06-27T05:47:30.333Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T05:47:30.333Z] ---> Running in 32200b092f30 [2022-06-27T05:47:30.902Z] Removing intermediate container 32200b092f30 [2022-06-27T05:47:30.902Z] ---> c7e44fa0d711 [2022-06-27T05:47:30.902Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-06-27T05:47:30.902Z] ---> Running in df178fd31a80 [2022-06-27T05:47:31.162Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T05:47:32.109Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T05:47:32.109Z] OK: 226 MiB in 60 packages [2022-06-27T05:47:32.680Z] Removing intermediate container df178fd31a80 [2022-06-27T05:47:32.680Z] ---> 86eaf0300df5 [2022-06-27T05:47:32.680Z] Step 6/23 : WORKDIR /device-modbus-go [2022-06-27T05:47:32.680Z] ---> Running in dde995492e9c [2022-06-27T05:47:32.680Z] Removing intermediate container dde995492e9c [2022-06-27T05:47:32.680Z] ---> 884e9b1dd7e9 [2022-06-27T05:47:32.680Z] Step 7/23 : COPY go.mod vendor* ./ [2022-06-27T05:47:32.941Z] ---> a0e522382221 [2022-06-27T05:47:32.941Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T05:47:32.941Z] ---> Running in 6f7e3f1edcec [2022-06-27T05:47:33.510Z] Removing intermediate container 6f7e3f1edcec [2022-06-27T05:47:33.510Z] ---> daa70c19f586 [2022-06-27T05:47:33.510Z] Step 9/23 : COPY . . [2022-06-27T05:47:33.769Z] ---> 5d111fe95b5a [2022-06-27T05:47:33.769Z] Step 10/23 : RUN ${MAKE} [2022-06-27T05:47:33.769Z] ---> Running in 10a8e725bfe5 [2022-06-27T05:47:34.028Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.1-dev.4" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-06-27T05:47:52.119Z] Removing intermediate container 10a8e725bfe5 [2022-06-27T05:47:52.119Z] ---> 253a6a006971 [2022-06-27T05:47:52.119Z] Step 11/23 : FROM alpine:3.14 [2022-06-27T05:47:52.692Z] 3.14: Pulling from library/alpine [2022-06-27T05:47:52.692Z] 8663204ce13b: Pulling fs layer [2022-06-27T05:47:52.997Z] 8663204ce13b: Verifying Checksum [2022-06-27T05:47:52.997Z] 8663204ce13b: Download complete [2022-06-27T05:47:52.997Z] 8663204ce13b: Pull complete [2022-06-27T05:47:52.997Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-27T05:47:52.997Z] Status: Downloaded newer image for alpine:3.14 [2022-06-27T05:47:52.997Z] ---> e04c818066af [2022-06-27T05:47:52.997Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-06-27T05:47:53.258Z] ---> Running in c91774eb59de [2022-06-27T05:47:53.258Z] Removing intermediate container c91774eb59de [2022-06-27T05:47:53.258Z] ---> 7615c14ac99e [2022-06-27T05:47:53.258Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T05:47:53.258Z] ---> Running in c94a9eb8b1e7 [2022-06-27T05:47:53.828Z] Removing intermediate container c94a9eb8b1e7 [2022-06-27T05:47:53.828Z] ---> 1719d55d7e13 [2022-06-27T05:47:53.828Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-27T05:47:53.828Z] ---> Running in 45cc529c711b [2022-06-27T05:47:54.089Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-27T05:47:55.033Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-27T05:47:55.293Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-27T05:47:55.293Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-27T05:47:55.293Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-27T05:47:55.554Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-27T05:47:55.554Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-27T05:47:55.554Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-27T05:47:55.814Z] Executing busybox-1.33.1-r7.trigger [2022-06-27T05:47:55.814Z] OK: 8 MiB in 20 packages [2022-06-27T05:47:56.075Z] Removing intermediate container 45cc529c711b [2022-06-27T05:47:56.075Z] ---> 9ee9f79c2200 [2022-06-27T05:47:56.075Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-06-27T05:47:56.643Z] ---> d8438fb3e586 [2022-06-27T05:47:56.643Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-06-27T05:47:56.903Z] ---> c2846c0d0bc1 [2022-06-27T05:47:56.903Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-06-27T05:47:56.903Z] ---> eecc56ae8525 [2022-06-27T05:47:56.903Z] Step 18/23 : EXPOSE 59901 [2022-06-27T05:47:56.903Z] ---> Running in 4db90999f36f [2022-06-27T05:47:57.164Z] Removing intermediate container 4db90999f36f [2022-06-27T05:47:57.164Z] ---> 05229df6f6c8 [2022-06-27T05:47:57.164Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-06-27T05:47:57.164Z] ---> Running in 9f8e71df73de [2022-06-27T05:47:57.164Z] Removing intermediate container 9f8e71df73de [2022-06-27T05:47:57.164Z] ---> 06c1f8dc7ce4 [2022-06-27T05:47:57.164Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-27T05:47:57.424Z] ---> Running in 629f5bc68d82 [2022-06-27T05:47:57.424Z] Removing intermediate container 629f5bc68d82 [2022-06-27T05:47:57.424Z] ---> f0332e42f02f [2022-06-27T05:47:57.424Z] Step 21/23 : LABEL arch=amd64 [2022-06-27T05:47:57.424Z] ---> Running in 366298ff9331 [2022-06-27T05:47:57.424Z] Removing intermediate container 366298ff9331 [2022-06-27T05:47:57.424Z] ---> 236a948ca1dd [2022-06-27T05:47:57.424Z] Step 22/23 : LABEL git_sha=df6ebf4862d29b15333f4a73058cc7861157986f [2022-06-27T05:47:57.685Z] ---> Running in 6b2517d355da [2022-06-27T05:47:57.685Z] Removing intermediate container 6b2517d355da [2022-06-27T05:47:57.685Z] ---> 210b21267270 [2022-06-27T05:47:57.685Z] Step 23/23 : LABEL version=2.2.1-dev.4 [2022-06-27T05:47:57.685Z] ---> Running in 359a898a2f32 [2022-06-27T05:47:57.685Z] Removing intermediate container 359a898a2f32 [2022-06-27T05:47:57.685Z] ---> e75bcb2f0622 [2022-06-27T05:47:57.685Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-27T05:47:57.685Z] Successfully built e75bcb2f0622 [2022-06-27T05:47:57.685Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T05:47:57.786Z] provisioning config files... [2022-06-27T05:47:57.796Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1191054028719273500tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:47:58.108Z] ---> docker-login.sh [2022-06-27T05:47:58.108Z] nexus3.edgexfoundry.org:10001 [2022-06-27T05:47:58.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:47:58.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:47:58.108Z] Configure a credential helper to remove this warning. See [2022-06-27T05:47:58.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:47:58.108Z] [2022-06-27T05:47:58.108Z] Login Succeeded [2022-06-27T05:47:58.108Z] nexus3.edgexfoundry.org:10002 [2022-06-27T05:47:58.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:47:58.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:47:58.368Z] Configure a credential helper to remove this warning. See [2022-06-27T05:47:58.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:47:58.368Z] [2022-06-27T05:47:58.368Z] Login Succeeded [2022-06-27T05:47:58.368Z] nexus3.edgexfoundry.org:10003 [2022-06-27T05:47:58.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:47:58.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:47:58.368Z] Configure a credential helper to remove this warning. See [2022-06-27T05:47:58.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:47:58.368Z] [2022-06-27T05:47:58.368Z] Login Succeeded [2022-06-27T05:47:58.368Z] nexus3.edgexfoundry.org:10004 [2022-06-27T05:47:58.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:47:58.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:47:58.629Z] Configure a credential helper to remove this warning. See [2022-06-27T05:47:58.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:47:58.629Z] [2022-06-27T05:47:58.629Z] Login Succeeded [2022-06-27T05:47:58.629Z] docker.io [2022-06-27T05:47:58.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:47:58.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:47:58.889Z] Configure a credential helper to remove this warning. See [2022-06-27T05:47:58.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:47:58.889Z] [2022-06-27T05:47:58.889Z] Login Succeeded [2022-06-27T05:47:59.150Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T05:47:59.159Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-27T05:47:59.189Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T05:47:59.210Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2022-06-27T05:47:59.210Z] df6ebf4862d29b15333f4a73058cc7861157986f [2022-06-27T05:47:59.210Z] latest [2022-06-27T05:47:59.210Z] 2.2.1-dev.4 [2022-06-27T05:47:59.210Z] df6ebf4862d29b15333f4a73058cc7861157986f-2.2.1-dev.4 [2022-06-27T05:47:59.210Z] main [2022-06-27T05:47:59.210Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:47:59.540Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:df6ebf4862d29b15333f4a73058cc7861157986f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:47:59.852Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:df6ebf4862d29b15333f4a73058cc7861157986f [2022-06-27T05:47:59.852Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-06-27T05:47:59.852Z] 3b513ae50614: Preparing [2022-06-27T05:47:59.852Z] a271484774cb: Preparing [2022-06-27T05:47:59.852Z] c8847e0b320a: Preparing [2022-06-27T05:47:59.852Z] 645959479652: Preparing [2022-06-27T05:47:59.852Z] 8eadde78a308: Preparing [2022-06-27T05:47:59.852Z] b541d28bf3b4: Preparing [2022-06-27T05:47:59.852Z] b541d28bf3b4: Waiting [2022-06-27T05:47:59.852Z] 8eadde78a308: Pushed [2022-06-27T05:47:59.852Z] 3b513ae50614: Pushed [2022-06-27T05:47:59.852Z] a271484774cb: Pushed [2022-06-27T05:47:59.852Z] b541d28bf3b4: Layer already exists [2022-06-27T05:48:00.112Z] 645959479652: Pushed [2022-06-27T05:48:02.658Z] c8847e0b320a: Pushed [2022-06-27T05:48:02.658Z] df6ebf4862d29b15333f4a73058cc7861157986f: digest: sha256:60ccc5c44ca196a8fb6e3a25371d3f83dcc98c165d86e0473275b50c3aefea9f size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:48:02.975Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:48:03.293Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-06-27T05:48:03.294Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-06-27T05:48:03.294Z] 3b513ae50614: Preparing [2022-06-27T05:48:03.294Z] a271484774cb: Preparing [2022-06-27T05:48:03.294Z] c8847e0b320a: Preparing [2022-06-27T05:48:03.294Z] 645959479652: Preparing [2022-06-27T05:48:03.294Z] 8eadde78a308: Preparing [2022-06-27T05:48:03.294Z] b541d28bf3b4: Preparing [2022-06-27T05:48:03.294Z] b541d28bf3b4: Waiting [2022-06-27T05:48:03.294Z] a271484774cb: Layer already exists [2022-06-27T05:48:03.294Z] 3b513ae50614: Layer already exists [2022-06-27T05:48:03.294Z] c8847e0b320a: Layer already exists [2022-06-27T05:48:03.294Z] 645959479652: Layer already exists [2022-06-27T05:48:03.294Z] 8eadde78a308: Layer already exists [2022-06-27T05:48:03.294Z] b541d28bf3b4: Layer already exists [2022-06-27T05:48:03.294Z] latest: digest: sha256:60ccc5c44ca196a8fb6e3a25371d3f83dcc98c165d86e0473275b50c3aefea9f size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:48:03.609Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:48:03.918Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.1-dev.4 [2022-06-27T05:48:03.918Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-06-27T05:48:03.918Z] 3b513ae50614: Preparing [2022-06-27T05:48:03.918Z] a271484774cb: Preparing [2022-06-27T05:48:03.918Z] c8847e0b320a: Preparing [2022-06-27T05:48:03.918Z] 645959479652: Preparing [2022-06-27T05:48:03.918Z] 8eadde78a308: Preparing [2022-06-27T05:48:03.918Z] b541d28bf3b4: Preparing [2022-06-27T05:48:03.918Z] b541d28bf3b4: Waiting [2022-06-27T05:48:03.918Z] 3b513ae50614: Layer already exists [2022-06-27T05:48:03.918Z] 8eadde78a308: Layer already exists [2022-06-27T05:48:03.918Z] 645959479652: Layer already exists [2022-06-27T05:48:03.918Z] c8847e0b320a: Layer already exists [2022-06-27T05:48:03.918Z] a271484774cb: Layer already exists [2022-06-27T05:48:03.918Z] b541d28bf3b4: Layer already exists [2022-06-27T05:48:03.918Z] 2.2.1-dev.4: digest: sha256:60ccc5c44ca196a8fb6e3a25371d3f83dcc98c165d86e0473275b50c3aefea9f size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:48:04.228Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:df6ebf4862d29b15333f4a73058cc7861157986f-2.2.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:48:04.546Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:df6ebf4862d29b15333f4a73058cc7861157986f-2.2.1-dev.4 [2022-06-27T05:48:04.546Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-06-27T05:48:04.546Z] 3b513ae50614: Preparing [2022-06-27T05:48:04.546Z] a271484774cb: Preparing [2022-06-27T05:48:04.546Z] c8847e0b320a: Preparing [2022-06-27T05:48:04.546Z] 645959479652: Preparing [2022-06-27T05:48:04.546Z] 8eadde78a308: Preparing [2022-06-27T05:48:04.546Z] b541d28bf3b4: Preparing [2022-06-27T05:48:04.546Z] b541d28bf3b4: Waiting [2022-06-27T05:48:04.546Z] c8847e0b320a: Layer already exists [2022-06-27T05:48:04.546Z] 8eadde78a308: Layer already exists [2022-06-27T05:48:04.546Z] a271484774cb: Layer already exists [2022-06-27T05:48:04.546Z] 645959479652: Layer already exists [2022-06-27T05:48:04.546Z] 3b513ae50614: Layer already exists [2022-06-27T05:48:04.546Z] b541d28bf3b4: Layer already exists [2022-06-27T05:48:04.546Z] df6ebf4862d29b15333f4a73058cc7861157986f-2.2.1-dev.4: digest: sha256:60ccc5c44ca196a8fb6e3a25371d3f83dcc98c165d86e0473275b50c3aefea9f size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:48:04.911Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:48:05.241Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2022-06-27T05:48:05.241Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-06-27T05:48:05.241Z] 3b513ae50614: Preparing [2022-06-27T05:48:05.241Z] a271484774cb: Preparing [2022-06-27T05:48:05.241Z] c8847e0b320a: Preparing [2022-06-27T05:48:05.241Z] 645959479652: Preparing [2022-06-27T05:48:05.241Z] 8eadde78a308: Preparing [2022-06-27T05:48:05.241Z] b541d28bf3b4: Preparing [2022-06-27T05:48:05.241Z] b541d28bf3b4: Waiting [2022-06-27T05:48:05.241Z] 8eadde78a308: Layer already exists [2022-06-27T05:48:05.241Z] c8847e0b320a: Layer already exists [2022-06-27T05:48:05.241Z] 3b513ae50614: Layer already exists [2022-06-27T05:48:05.241Z] a271484774cb: Layer already exists [2022-06-27T05:48:05.241Z] 645959479652: Layer already exists [2022-06-27T05:48:05.241Z] b541d28bf3b4: Layer already exists [2022-06-27T05:48:05.241Z] main: digest: sha256:60ccc5c44ca196a8fb6e3a25371d3f83dcc98c165d86e0473275b50c3aefea9f size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-27T05:48:05.295Z] ===================================================== [Pipeline] echo [2022-06-27T05:48:05.303Z] taggedImages: [2022-06-27T05:48:05.303Z] - nexus3.edgexfoundry.org:10004/device-modbus:df6ebf4862d29b15333f4a73058cc7861157986f [2022-06-27T05:48:05.303Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-06-27T05:48:05.303Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.2.1-dev.4 [2022-06-27T05:48:05.303Z] - nexus3.edgexfoundry.org:10004/device-modbus:df6ebf4862d29b15333f4a73058cc7861157986f-2.2.1-dev.4 [2022-06-27T05:48:05.303Z] - 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 [2022-06-27T05:48:05.659Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T05:48:05.659Z] [2022-06-27T05:48:05.659Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:48:05.958Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T05:48:05.958Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-27T05:48:05.958Z] 5eb5b503b376: Pulling fs layer [2022-06-27T05:48:05.958Z] 5c69ac0246d0: Pulling fs layer [2022-06-27T05:48:05.958Z] ec43610c2a17: Pulling fs layer [2022-06-27T05:48:05.958Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-27T05:48:05.958Z] 33b1e0a273af: Pulling fs layer [2022-06-27T05:48:05.958Z] 5d3b04190fa2: Pulling fs layer [2022-06-27T05:48:05.958Z] 3a2ae6a8a46f: Waiting [2022-06-27T05:48:05.958Z] 33b1e0a273af: Waiting [2022-06-27T05:48:05.958Z] 2f39f015ded8: Pulling fs layer [2022-06-27T05:48:05.958Z] 5d3b04190fa2: Waiting [2022-06-27T05:48:05.958Z] 2f39f015ded8: Waiting [2022-06-27T05:48:05.958Z] 5c69ac0246d0: Download complete [2022-06-27T05:48:05.958Z] 3a2ae6a8a46f: Download complete [2022-06-27T05:48:06.218Z] 33b1e0a273af: Verifying Checksum [2022-06-27T05:48:06.218Z] 33b1e0a273af: Download complete [2022-06-27T05:48:06.218Z] 5d3b04190fa2: Download complete [2022-06-27T05:48:06.218Z] ec43610c2a17: Verifying Checksum [2022-06-27T05:48:06.218Z] ec43610c2a17: Download complete [2022-06-27T05:48:06.218Z] 5eb5b503b376: Verifying Checksum [2022-06-27T05:48:06.218Z] 5eb5b503b376: Download complete [2022-06-27T05:48:07.154Z] 2f39f015ded8: Download complete [2022-06-27T05:48:07.412Z] 5eb5b503b376: Pull complete [2022-06-27T05:48:07.672Z] 5c69ac0246d0: Pull complete [2022-06-27T05:48:07.931Z] ec43610c2a17: Pull complete [2022-06-27T05:48:07.931Z] 3a2ae6a8a46f: Pull complete [2022-06-27T05:48:08.190Z] 33b1e0a273af: Pull complete [2022-06-27T05:48:08.449Z] 5d3b04190fa2: Pull complete [2022-06-27T05:48:12.640Z] 2f39f015ded8: Pull complete [2022-06-27T05:48:12.640Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-27T05:48:12.640Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T05:48:12.640Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:48:12.731Z] prd-ubuntu20.04-docker-8c-8g-16067 does not seem to be running inside a container [2022-06-27T05:48:12.773Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-27T05:48:14.569Z] $ docker top 76a8e4c6b6eebe2a66fb138c5b0b855bd51c385625f3dd88fdc5482c8cc456d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:48:14.950Z] ---> job-cost.sh [2022-06-27T05:48:14.950Z] lf-activate-venv: SKIPPING [2022-06-27T05:48:14.950Z] INFO: No Stack... [2022-06-27T05:48:15.521Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T05:48:15.781Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T05:48:16.073Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2022-06-27T05:48:16.073Z] + cut -d, -f6 [Pipeline] lock [2022-06-27T05:48:16.087Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-43-stack-cost] [2022-06-27T05:48:16.093Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-43-stack-cost] did not exist. Created. [2022-06-27T05:48:16.093Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-43-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T05:48:16.397Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-27T05:48:16.427Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T05:48:16.433Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-43-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T05:48:16.457Z] $ docker stop --time=1 76a8e4c6b6eebe2a66fb138c5b0b855bd51c385625f3dd88fdc5482c8cc456d4 [2022-06-27T05:48:17.626Z] $ docker rm -f 76a8e4c6b6eebe2a66fb138c5b0b855bd51c385625f3dd88fdc5482c8cc456d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-27T05:49:23.242Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16069 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2022-06-27T05:49:23.252Z] Running in /w/workspace/device-modbus-go/43 [Pipeline] { [Pipeline] checkout [2022-06-27T05:49:23.308Z] Selected Git installation does not exist. Using Default [2022-06-27T05:49:23.308Z] The recommended git tool is: NONE [2022-06-27T05:49:30.263Z] using credential edgex-jenkins-ssh [2022-06-27T05:49:30.280Z] Cloning the remote Git repository [2022-06-27T05:49:30.338Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-06-27T05:49:30.435Z] > git init /w/workspace/device-modbus-go/43 # timeout=10 [2022-06-27T05:49:30.521Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-06-27T05:49:30.522Z] > git --version # timeout=10 [2022-06-27T05:49:30.547Z] > git --version # 'git version 2.25.1' [2022-06-27T05:49:30.551Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T05:49:30.694Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T05:49:31.721Z] Avoid second fetch [2022-06-27T05:49:31.721Z] Checking out Revision df6ebf4862d29b15333f4a73058cc7861157986f (main) [2022-06-27T05:49:31.684Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-06-27T05:49:31.706Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T05:49:31.748Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T05:49:31.761Z] > git checkout -f df6ebf4862d29b15333f4a73058cc7861157986f # timeout=10 [2022-06-27T05:49:35.914Z] Commit message: "Merge pull request #358 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.10" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T05:49:36.799Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-27T05:49:36.800Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T05:49:36.800Z] Dload Upload Total Spent Left Speed [2022-06-27T05:49:36.800Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 196k 0 --:--:-- --:--:-- --:--:-- 196k [Pipeline] sh [2022-06-27T05:49:37.796Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-27T05:49:38.149Z] + sudo tee /etc/docker/daemon.new [2022-06-27T05:49:38.149Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-27T05:49:38.149Z] { [2022-06-27T05:49:38.149Z] "registry-mirrors": [ [2022-06-27T05:49:38.149Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-27T05:49:38.149Z] ], [2022-06-27T05:49:38.149Z] "bip": "10.250.0.254/24", [2022-06-27T05:49:38.149Z] "hosts": [ [2022-06-27T05:49:38.149Z] "tcp://0.0.0.0:5555", [2022-06-27T05:49:38.149Z] "unix:///var/run/docker.sock" [2022-06-27T05:49:38.149Z] ], [2022-06-27T05:49:38.149Z] "mtu": 1458, [2022-06-27T05:49:38.149Z] "selinux-enabled": true, [2022-06-27T05:49:38.149Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-27T05:49:38.149Z] } [Pipeline] sh [2022-06-27T05:49:38.503Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-27T05:49:38.850Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T05:49:57.223Z] provisioning config files... [2022-06-27T05:49:57.246Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/43@tmp/config6481342656331938656tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:49:57.779Z] ---> docker-login.sh [2022-06-27T05:49:57.779Z] nexus3.edgexfoundry.org:10001 [2022-06-27T05:49:58.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:49:58.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:49:58.641Z] Configure a credential helper to remove this warning. See [2022-06-27T05:49:58.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:49:58.641Z] [2022-06-27T05:49:58.641Z] Login Succeeded [2022-06-27T05:49:58.641Z] nexus3.edgexfoundry.org:10002 [2022-06-27T05:49:58.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:49:59.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:49:59.186Z] Configure a credential helper to remove this warning. See [2022-06-27T05:49:59.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:49:59.186Z] [2022-06-27T05:49:59.186Z] Login Succeeded [2022-06-27T05:49:59.186Z] nexus3.edgexfoundry.org:10003 [2022-06-27T05:49:59.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:49:59.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:49:59.470Z] Configure a credential helper to remove this warning. See [2022-06-27T05:49:59.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:49:59.470Z] [2022-06-27T05:49:59.470Z] Login Succeeded [2022-06-27T05:49:59.470Z] nexus3.edgexfoundry.org:10004 [2022-06-27T05:49:59.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:50:00.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:50:00.017Z] Configure a credential helper to remove this warning. See [2022-06-27T05:50:00.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:50:00.017Z] [2022-06-27T05:50:00.017Z] Login Succeeded [2022-06-27T05:50:00.017Z] docker.io [2022-06-27T05:50:00.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:50:00.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:50:00.883Z] Configure a credential helper to remove this warning. See [2022-06-27T05:50:00.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:50:00.883Z] [2022-06-27T05:50:00.883Z] Login Succeeded [2022-06-27T05:50:00.883Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T05:50:00.901Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T05:50:01.159Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T05:50:01.173Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T05:50:01.183Z] ========================================================= [2022-06-27T05:50:01.183Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-27T05:50:01.183Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:50:01.541Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-27T05:50:01.812Z] Sending build context to Docker daemon 3.131MB [2022-06-27T05:50:01.812Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T05:50:01.812Z] Step 2/10 : FROM ${BASE} AS builder [2022-06-27T05:50:02.085Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-27T05:50:02.085Z] 9b3977197b4f: Pulling fs layer [2022-06-27T05:50:02.085Z] 1a89e8eeedd5: Pulling fs layer [2022-06-27T05:50:02.085Z] 94645a83ff95: Pulling fs layer [2022-06-27T05:50:02.085Z] e6fb740bc735: Pulling fs layer [2022-06-27T05:50:02.085Z] 3a77bd46dcc9: Pulling fs layer [2022-06-27T05:50:02.085Z] 355e64cbe906: Pulling fs layer [2022-06-27T05:50:02.085Z] 63ab81a10011: Pulling fs layer [2022-06-27T05:50:02.085Z] 555d1d1c4555: Pulling fs layer [2022-06-27T05:50:02.085Z] 7d9057610161: Pulling fs layer [2022-06-27T05:50:02.085Z] 355e64cbe906: Waiting [2022-06-27T05:50:02.085Z] 63ab81a10011: Waiting [2022-06-27T05:50:02.085Z] 555d1d1c4555: Waiting [2022-06-27T05:50:02.085Z] 7d9057610161: Waiting [2022-06-27T05:50:02.085Z] e6fb740bc735: Waiting [2022-06-27T05:50:02.085Z] 3a77bd46dcc9: Waiting [2022-06-27T05:50:02.085Z] 94645a83ff95: Verifying Checksum [2022-06-27T05:50:02.085Z] 94645a83ff95: Download complete [2022-06-27T05:50:02.085Z] 1a89e8eeedd5: Verifying Checksum [2022-06-27T05:50:02.085Z] 3a77bd46dcc9: Verifying Checksum [2022-06-27T05:50:02.085Z] 3a77bd46dcc9: Download complete [2022-06-27T05:50:02.085Z] 355e64cbe906: Verifying Checksum [2022-06-27T05:50:02.085Z] 355e64cbe906: Download complete [2022-06-27T05:50:02.085Z] 9b3977197b4f: Verifying Checksum [2022-06-27T05:50:02.085Z] 9b3977197b4f: Download complete [2022-06-27T05:50:02.085Z] 63ab81a10011: Verifying Checksum [2022-06-27T05:50:02.085Z] 63ab81a10011: Download complete [2022-06-27T05:50:03.078Z] 9b3977197b4f: Pull complete [2022-06-27T05:50:03.078Z] 7d9057610161: Verifying Checksum [2022-06-27T05:50:03.078Z] 7d9057610161: Download complete [2022-06-27T05:50:03.685Z] 1a89e8eeedd5: Pull complete [2022-06-27T05:50:03.961Z] 94645a83ff95: Pull complete [2022-06-27T05:50:04.237Z] 555d1d1c4555: Verifying Checksum [2022-06-27T05:50:04.237Z] 555d1d1c4555: Download complete [2022-06-27T05:50:04.838Z] e6fb740bc735: Verifying Checksum [2022-06-27T05:50:04.838Z] e6fb740bc735: Download complete [2022-06-27T05:50:17.238Z] e6fb740bc735: Pull complete [2022-06-27T05:50:17.238Z] 3a77bd46dcc9: Pull complete [2022-06-27T05:50:17.238Z] 355e64cbe906: Pull complete [2022-06-27T05:50:17.238Z] 63ab81a10011: Pull complete [2022-06-27T05:50:23.948Z] 555d1d1c4555: Pull complete [2022-06-27T05:50:25.384Z] 7d9057610161: Pull complete [2022-06-27T05:50:25.664Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-27T05:50:25.664Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-27T05:50:25.664Z] ---> 819e984ddca1 [2022-06-27T05:50:25.664Z] Step 3/10 : ARG MAKE='make build' [2022-06-27T05:50:26.263Z] ---> Running in e108c9eadb03 [2022-06-27T05:50:26.543Z] Removing intermediate container e108c9eadb03 [2022-06-27T05:50:26.544Z] ---> ac94c9bbc8b4 [2022-06-27T05:50:26.544Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T05:50:26.820Z] ---> Running in 88508fcbb758 [2022-06-27T05:50:28.796Z] Removing intermediate container 88508fcbb758 [2022-06-27T05:50:28.796Z] ---> 88d07209e2f1 [2022-06-27T05:50:28.796Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-06-27T05:50:28.796Z] ---> Running in ba2d8f74fe74 [2022-06-27T05:50:29.392Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T05:50:30.371Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T05:50:31.376Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-06-27T05:50:31.376Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-06-27T05:50:31.650Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-06-27T05:50:31.924Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-06-27T05:50:31.924Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-06-27T05:50:31.924Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-06-27T05:50:32.205Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-06-27T05:50:32.205Z] (8/8) Installing openssh (8.8_p1-r1) [2022-06-27T05:50:32.205Z] Executing busybox-1.34.1-r3.trigger [2022-06-27T05:50:32.205Z] OK: 226 MiB in 60 packages [2022-06-27T05:50:33.213Z] Removing intermediate container ba2d8f74fe74 [2022-06-27T05:50:33.213Z] ---> ea874cd70788 [2022-06-27T05:50:33.213Z] Step 6/10 : WORKDIR /device-modbus-go [2022-06-27T05:50:33.491Z] ---> Running in c64dd50352b8 [2022-06-27T05:50:33.767Z] Removing intermediate container c64dd50352b8 [2022-06-27T05:50:33.767Z] ---> 25e7ab86214d [2022-06-27T05:50:33.767Z] Step 7/10 : COPY go.mod vendor* ./ [2022-06-27T05:50:34.362Z] ---> 97f050ac608a [2022-06-27T05:50:34.362Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T05:50:34.362Z] ---> Running in 84d008cdd85a [2022-06-27T05:51:30.922Z] Removing intermediate container 84d008cdd85a [2022-06-27T05:51:30.922Z] ---> 487288c6488c [2022-06-27T05:51:30.922Z] Step 9/10 : COPY . . [2022-06-27T05:51:30.922Z] ---> 780cdc5fcf85 [2022-06-27T05:51:30.922Z] Step 10/10 : RUN ${MAKE} [2022-06-27T05:51:30.922Z] ---> Running in a332a0d0f7ca [2022-06-27T05:51:30.922Z] noop [2022-06-27T05:51:30.922Z] Removing intermediate container a332a0d0f7ca [2022-06-27T05:51:30.922Z] ---> 29a8e4303010 [2022-06-27T05:51:30.922Z] Successfully built 29a8e4303010 [2022-06-27T05:51:30.922Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:51:31.294Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T05:51:31.294Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:51:31.556Z] prd-ubuntu20.04-docker-arm64-4c-16g-16069 does not seem to be running inside a container [2022-06-27T05:51:31.648Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/43 -v /w/workspace/device-modbus-go/43:/w/workspace/device-modbus-go/43:rw,z -v /w/workspace/device-modbus-go/43@tmp:/w/workspace/device-modbus-go/43@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 [2022-06-27T05:51:33.022Z] $ docker top fac92d20e482845b3d066e316e02e0784485a61cb4a99d752044d65554b4f934 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T05:51:33.972Z] + go version [2022-06-27T05:51:33.972Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-27T05:51:34.001Z] $ docker stop --time=1 fac92d20e482845b3d066e316e02e0784485a61cb4a99d752044d65554b4f934 [2022-06-27T05:51:35.654Z] $ docker rm -f fac92d20e482845b3d066e316e02e0784485a61cb4a99d752044d65554b4f934 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:51:36.267Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T05:51:36.267Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:51:36.513Z] prd-ubuntu20.04-docker-arm64-4c-16g-16069 does not seem to be running inside a container [2022-06-27T05:51:36.602Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/43 -v /w/workspace/device-modbus-go/43:/w/workspace/device-modbus-go/43:rw,z -v /w/workspace/device-modbus-go/43@tmp:/w/workspace/device-modbus-go/43@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 [2022-06-27T05:51:37.920Z] $ docker top c0fed6e28538589064ef12acaf8ae0ba0ba311c2100dc8e0751ceb220d854eea -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T05:51:38.853Z] + make test [2022-06-27T05:51:38.853Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-27T05:51:40.849Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-06-27T05:53:02.719Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-06-27T05:53:02.719Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.085s coverage: 46.4% of statements [2022-06-27T05:53:02.719Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-27T05:53:02.719Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T05:53:29.545Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T05:53:29.545Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T05:53:29.545Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-27T05:53:29.568Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-27T05:53:29.585Z] $ docker stop --time=1 c0fed6e28538589064ef12acaf8ae0ba0ba311c2100dc8e0751ceb220d854eea [2022-06-27T05:53:31.336Z] $ docker rm -f c0fed6e28538589064ef12acaf8ae0ba0ba311c2100dc8e0751ceb220d854eea [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T05:53:32.267Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-27T05:53:32.285Z] Warning: overwriting stash ‘coverage-report’ [2022-06-27T05:53:32.728Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T05:53:33.121Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-27T05:53:33.454Z] + ls -al . [2022-06-27T05:53:33.454Z] total 180 [2022-06-27T05:53:33.454Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 27 05:53 . [2022-06-27T05:53:33.454Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 05:49 .. [2022-06-27T05:53:33.454Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 27 05:49 .dockerignore [2022-06-27T05:53:33.454Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 05:49 .git [2022-06-27T05:53:33.454Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 05:49 .github [2022-06-27T05:53:33.454Z] -rw-rw-r-- 1 jenkins jenkins 331 Jun 27 05:49 .gitignore [2022-06-27T05:53:33.454Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 05:49 .golangci.yml [2022-06-27T05:53:33.454Z] -rw-rw-r-- 1 jenkins jenkins 9636 Jun 27 05:49 Attribution.txt [2022-06-27T05:53:33.455Z] -rw-rw-r-- 1 jenkins jenkins 10001 Jun 27 05:49 CHANGELOG.md [2022-06-27T05:53:33.455Z] -rw-rw-r-- 1 jenkins jenkins 1546 Jun 27 05:49 Dockerfile [2022-06-27T05:53:33.455Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 05:49 GOVERNANCE.md [2022-06-27T05:53:33.455Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 27 05:49 Jenkinsfile [2022-06-27T05:53:33.455Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 05:49 LICENSE [2022-06-27T05:53:33.455Z] -rw-rw-r-- 1 jenkins jenkins 1905 Jun 27 05:49 Makefile [2022-06-27T05:53:33.455Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 27 05:49 OWNERS.md [2022-06-27T05:53:33.455Z] -rw-rw-r-- 1 jenkins jenkins 3397 Jun 27 05:49 README.md [2022-06-27T05:53:33.455Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 27 05:46 VERSION [2022-06-27T05:53:33.455Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 05:49 bin [2022-06-27T05:53:33.455Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 05:49 cmd [2022-06-27T05:53:33.455Z] -rw-r--r-- 1 jenkins jenkins 24065 Jun 27 05:52 coverage.out [2022-06-27T05:53:33.455Z] -rw-rw-r-- 1 jenkins jenkins 3404 Jun 27 05:49 go.mod [2022-06-27T05:53:33.455Z] -rw-rw-r-- 1 jenkins jenkins 36196 Jun 27 05:49 go.sum [2022-06-27T05:53:33.455Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 05:49 internal [2022-06-27T05:53:33.455Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 05:49 simulator [2022-06-27T05:53:33.455Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 05:49 snap [2022-06-27T05:53:33.455Z] -rw-rw-r-- 1 jenkins jenkins 229 Jun 27 05:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:53:33.804Z] + 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=df6ebf4862d29b15333f4a73058cc7861157986f --label arch=arm64 --label version=2.2.1-dev.4 . [2022-06-27T05:53:34.075Z] Sending build context to Docker daemon 3.156MB [2022-06-27T05:53:34.075Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T05:53:34.075Z] Step 2/23 : FROM ${BASE} AS builder [2022-06-27T05:53:34.075Z] ---> 29a8e4303010 [2022-06-27T05:53:34.075Z] Step 3/23 : ARG MAKE='make build' [2022-06-27T05:53:34.345Z] ---> Running in 1595258332ea [2022-06-27T05:53:34.623Z] Removing intermediate container 1595258332ea [2022-06-27T05:53:34.623Z] ---> bd7115847b81 [2022-06-27T05:53:34.623Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T05:53:34.623Z] ---> Running in 7286dd822dd4 [2022-06-27T05:53:36.064Z] Removing intermediate container 7286dd822dd4 [2022-06-27T05:53:36.064Z] ---> 0c1e0d4905da [2022-06-27T05:53:36.064Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-06-27T05:53:36.064Z] ---> Running in 872b2ecf745d [2022-06-27T05:53:37.038Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T05:53:38.019Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T05:53:39.001Z] OK: 226 MiB in 60 packages [2022-06-27T05:53:39.619Z] Removing intermediate container 872b2ecf745d [2022-06-27T05:53:39.619Z] ---> cad0aca465f6 [2022-06-27T05:53:39.619Z] Step 6/23 : WORKDIR /device-modbus-go [2022-06-27T05:53:39.619Z] ---> Running in ad1e6cffd321 [2022-06-27T05:53:39.891Z] Removing intermediate container ad1e6cffd321 [2022-06-27T05:53:39.891Z] ---> 9ca934d7596b [2022-06-27T05:53:39.891Z] Step 7/23 : COPY go.mod vendor* ./ [2022-06-27T05:53:40.489Z] ---> 5778a1866ae1 [2022-06-27T05:53:40.490Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T05:53:40.490Z] ---> Running in acac27d78906 [2022-06-27T05:53:42.462Z] Removing intermediate container acac27d78906 [2022-06-27T05:53:42.462Z] ---> 23017c16f34e [2022-06-27T05:53:42.462Z] Step 9/23 : COPY . . [2022-06-27T05:53:43.071Z] ---> 4e0471d821e5 [2022-06-27T05:53:43.072Z] Step 10/23 : RUN ${MAKE} [2022-06-27T05:53:43.344Z] ---> Running in d5e1d6ea2ad0 [2022-06-27T05:53:44.323Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.1-dev.4" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-06-27T05:55:51.199Z] Removing intermediate container d5e1d6ea2ad0 [2022-06-27T05:55:51.199Z] ---> cb0714aa45c2 [2022-06-27T05:55:51.199Z] Step 11/23 : FROM alpine:3.14 [2022-06-27T05:55:51.199Z] 3.14: Pulling from library/alpine [2022-06-27T05:55:51.199Z] 455c02918c45: Pulling fs layer [2022-06-27T05:55:51.199Z] 455c02918c45: Download complete [2022-06-27T05:55:51.199Z] 455c02918c45: Pull complete [2022-06-27T05:55:51.199Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-27T05:55:51.199Z] Status: Downloaded newer image for alpine:3.14 [2022-06-27T05:55:51.199Z] ---> ac73e934f311 [2022-06-27T05:55:51.199Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-06-27T05:55:51.199Z] ---> Running in b0d048022777 [2022-06-27T05:55:51.199Z] Removing intermediate container b0d048022777 [2022-06-27T05:55:51.199Z] ---> 13abb7abcea2 [2022-06-27T05:55:51.199Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T05:55:51.199Z] ---> Running in 76335cb59daa [2022-06-27T05:55:51.199Z] Removing intermediate container 76335cb59daa [2022-06-27T05:55:51.199Z] ---> 898ae7216a0a [2022-06-27T05:55:51.199Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-27T05:55:51.199Z] ---> Running in 0ed5441ee57f [2022-06-27T05:55:51.199Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-27T05:55:51.199Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-27T05:55:51.199Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-27T05:55:51.199Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-27T05:55:51.199Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-27T05:55:51.199Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-27T05:55:51.199Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-27T05:55:51.199Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-27T05:55:51.199Z] Executing busybox-1.33.1-r7.trigger [2022-06-27T05:55:51.199Z] OK: 8 MiB in 20 packages [2022-06-27T05:55:51.199Z] Removing intermediate container 0ed5441ee57f [2022-06-27T05:55:51.199Z] ---> 859a17603a35 [2022-06-27T05:55:51.199Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-06-27T05:55:51.199Z] ---> d26baab96d78 [2022-06-27T05:55:51.199Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-06-27T05:55:51.795Z] ---> bea957f9f684 [2022-06-27T05:55:51.796Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-06-27T05:55:52.412Z] ---> 31d2bf3b5bb4 [2022-06-27T05:55:52.412Z] Step 18/23 : EXPOSE 59901 [2022-06-27T05:55:52.412Z] ---> Running in 2f64f794a486 [2022-06-27T05:55:52.685Z] Removing intermediate container 2f64f794a486 [2022-06-27T05:55:52.685Z] ---> 919914b97450 [2022-06-27T05:55:52.685Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-06-27T05:55:52.685Z] ---> Running in 6fd9a0b8d523 [2022-06-27T05:55:52.960Z] Removing intermediate container 6fd9a0b8d523 [2022-06-27T05:55:52.960Z] ---> dc273d2c6f58 [2022-06-27T05:55:52.960Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-27T05:55:53.243Z] ---> Running in 2a077c51567c [2022-06-27T05:55:53.517Z] Removing intermediate container 2a077c51567c [2022-06-27T05:55:53.517Z] ---> 99d49075b388 [2022-06-27T05:55:53.517Z] Step 21/23 : LABEL arch=arm64 [2022-06-27T05:55:53.517Z] ---> Running in ed4979f7e8ab [2022-06-27T05:55:53.794Z] Removing intermediate container ed4979f7e8ab [2022-06-27T05:55:53.794Z] ---> e138d01a53da [2022-06-27T05:55:53.794Z] Step 22/23 : LABEL git_sha=df6ebf4862d29b15333f4a73058cc7861157986f [2022-06-27T05:55:53.794Z] ---> Running in ece49847a483 [2022-06-27T05:55:54.414Z] Removing intermediate container ece49847a483 [2022-06-27T05:55:54.414Z] ---> 92853da8649b [2022-06-27T05:55:54.414Z] Step 23/23 : LABEL version=2.2.1-dev.4 [2022-06-27T05:55:54.414Z] ---> Running in 452fb28a0dda [2022-06-27T05:55:54.687Z] Removing intermediate container 452fb28a0dda [2022-06-27T05:55:54.687Z] ---> 760b760ed9a8 [2022-06-27T05:55:54.687Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-27T05:55:54.687Z] Successfully built 760b760ed9a8 [2022-06-27T05:55:54.687Z] 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 [2022-06-27T05:55:54.810Z] provisioning config files... [2022-06-27T05:55:54.830Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/43@tmp/config4825250581577252059tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:55:55.182Z] ---> docker-login.sh [2022-06-27T05:55:55.182Z] nexus3.edgexfoundry.org:10001 [2022-06-27T05:55:55.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:55:55.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:55:55.457Z] Configure a credential helper to remove this warning. See [2022-06-27T05:55:55.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:55:55.457Z] [2022-06-27T05:55:55.457Z] Login Succeeded [2022-06-27T05:55:55.457Z] nexus3.edgexfoundry.org:10002 [2022-06-27T05:55:56.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:55:56.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:55:56.063Z] Configure a credential helper to remove this warning. See [2022-06-27T05:55:56.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:55:56.063Z] [2022-06-27T05:55:56.063Z] Login Succeeded [2022-06-27T05:55:56.063Z] nexus3.edgexfoundry.org:10003 [2022-06-27T05:55:56.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:55:56.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:55:56.612Z] Configure a credential helper to remove this warning. See [2022-06-27T05:55:56.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:55:56.612Z] [2022-06-27T05:55:56.612Z] Login Succeeded [2022-06-27T05:55:56.612Z] nexus3.edgexfoundry.org:10004 [2022-06-27T05:55:56.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:55:56.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:55:56.886Z] Configure a credential helper to remove this warning. See [2022-06-27T05:55:56.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:55:56.886Z] [2022-06-27T05:55:56.886Z] Login Succeeded [2022-06-27T05:55:56.886Z] docker.io [2022-06-27T05:55:57.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:55:57.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:55:57.757Z] Configure a credential helper to remove this warning. See [2022-06-27T05:55:57.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:55:57.757Z] [2022-06-27T05:55:57.757Z] Login Succeeded [2022-06-27T05:55:57.757Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T05:55:57.775Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-27T05:55:57.814Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T05:55:57.840Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2022-06-27T05:55:57.840Z] df6ebf4862d29b15333f4a73058cc7861157986f [2022-06-27T05:55:57.840Z] latest [2022-06-27T05:55:57.840Z] 2.2.1-dev.4 [2022-06-27T05:55:57.840Z] df6ebf4862d29b15333f4a73058cc7861157986f-2.2.1-dev.4 [2022-06-27T05:55:57.840Z] main [2022-06-27T05:55:57.840Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:55:58.209Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:df6ebf4862d29b15333f4a73058cc7861157986f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:55:58.581Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:df6ebf4862d29b15333f4a73058cc7861157986f [2022-06-27T05:55:58.581Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-06-27T05:55:58.581Z] 8910b2cccb7e: Preparing [2022-06-27T05:55:58.581Z] 7e5c5c40dd5c: Preparing [2022-06-27T05:55:58.581Z] 6a28ff106b55: Preparing [2022-06-27T05:55:58.581Z] 363e273f0833: Preparing [2022-06-27T05:55:58.582Z] 7143564a6d2f: Preparing [2022-06-27T05:55:58.582Z] f73e7dbfee58: Preparing [2022-06-27T05:55:58.582Z] f73e7dbfee58: Waiting [2022-06-27T05:55:58.859Z] 7e5c5c40dd5c: Pushed [2022-06-27T05:55:58.859Z] 8910b2cccb7e: Pushed [2022-06-27T05:55:58.859Z] 7143564a6d2f: Pushed [2022-06-27T05:55:58.859Z] f73e7dbfee58: Layer already exists [2022-06-27T05:55:59.456Z] 363e273f0833: Pushed [2022-06-27T05:56:04.869Z] 6a28ff106b55: Pushed [2022-06-27T05:56:05.143Z] df6ebf4862d29b15333f4a73058cc7861157986f: digest: sha256:c37275cfb9e03137facf7fc108d9e343fed5d936889d51809e751af49ed32c50 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:56:05.522Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:56:05.888Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-06-27T05:56:05.888Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-06-27T05:56:05.888Z] 8910b2cccb7e: Preparing [2022-06-27T05:56:05.888Z] 7e5c5c40dd5c: Preparing [2022-06-27T05:56:05.888Z] 6a28ff106b55: Preparing [2022-06-27T05:56:05.888Z] 363e273f0833: Preparing [2022-06-27T05:56:05.888Z] 7143564a6d2f: Preparing [2022-06-27T05:56:05.888Z] f73e7dbfee58: Preparing [2022-06-27T05:56:05.888Z] f73e7dbfee58: Waiting [2022-06-27T05:56:05.888Z] 363e273f0833: Layer already exists [2022-06-27T05:56:05.888Z] 8910b2cccb7e: Layer already exists [2022-06-27T05:56:05.888Z] 6a28ff106b55: Layer already exists [2022-06-27T05:56:05.888Z] 7e5c5c40dd5c: Layer already exists [2022-06-27T05:56:05.888Z] 7143564a6d2f: Layer already exists [2022-06-27T05:56:05.888Z] f73e7dbfee58: Layer already exists [2022-06-27T05:56:06.161Z] latest: digest: sha256:c37275cfb9e03137facf7fc108d9e343fed5d936889d51809e751af49ed32c50 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:56:06.536Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:56:06.902Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.1-dev.4 [2022-06-27T05:56:06.902Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-06-27T05:56:06.902Z] 8910b2cccb7e: Preparing [2022-06-27T05:56:06.902Z] 7e5c5c40dd5c: Preparing [2022-06-27T05:56:06.902Z] 6a28ff106b55: Preparing [2022-06-27T05:56:06.902Z] 363e273f0833: Preparing [2022-06-27T05:56:06.902Z] 7143564a6d2f: Preparing [2022-06-27T05:56:06.902Z] f73e7dbfee58: Preparing [2022-06-27T05:56:06.902Z] f73e7dbfee58: Waiting [2022-06-27T05:56:06.902Z] 363e273f0833: Layer already exists [2022-06-27T05:56:06.902Z] 7e5c5c40dd5c: Layer already exists [2022-06-27T05:56:06.902Z] 7143564a6d2f: Layer already exists [2022-06-27T05:56:06.902Z] 6a28ff106b55: Layer already exists [2022-06-27T05:56:06.902Z] 8910b2cccb7e: Layer already exists [2022-06-27T05:56:06.902Z] f73e7dbfee58: Layer already exists [2022-06-27T05:56:07.175Z] 2.2.1-dev.4: digest: sha256:c37275cfb9e03137facf7fc108d9e343fed5d936889d51809e751af49ed32c50 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:56:07.547Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:df6ebf4862d29b15333f4a73058cc7861157986f-2.2.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:56:07.909Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:df6ebf4862d29b15333f4a73058cc7861157986f-2.2.1-dev.4 [2022-06-27T05:56:07.909Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-06-27T05:56:07.909Z] 8910b2cccb7e: Preparing [2022-06-27T05:56:07.909Z] 7e5c5c40dd5c: Preparing [2022-06-27T05:56:07.909Z] 6a28ff106b55: Preparing [2022-06-27T05:56:07.909Z] 363e273f0833: Preparing [2022-06-27T05:56:07.909Z] 7143564a6d2f: Preparing [2022-06-27T05:56:07.909Z] f73e7dbfee58: Preparing [2022-06-27T05:56:07.909Z] f73e7dbfee58: Waiting [2022-06-27T05:56:07.909Z] 6a28ff106b55: Layer already exists [2022-06-27T05:56:07.909Z] 7e5c5c40dd5c: Layer already exists [2022-06-27T05:56:07.909Z] 8910b2cccb7e: Layer already exists [2022-06-27T05:56:07.909Z] 363e273f0833: Layer already exists [2022-06-27T05:56:07.909Z] 7143564a6d2f: Layer already exists [2022-06-27T05:56:07.909Z] f73e7dbfee58: Layer already exists [2022-06-27T05:56:08.182Z] df6ebf4862d29b15333f4a73058cc7861157986f-2.2.1-dev.4: digest: sha256:c37275cfb9e03137facf7fc108d9e343fed5d936889d51809e751af49ed32c50 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:56:08.550Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:56:08.911Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2022-06-27T05:56:08.911Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-06-27T05:56:08.911Z] 8910b2cccb7e: Preparing [2022-06-27T05:56:08.911Z] 7e5c5c40dd5c: Preparing [2022-06-27T05:56:08.911Z] 6a28ff106b55: Preparing [2022-06-27T05:56:08.911Z] 363e273f0833: Preparing [2022-06-27T05:56:08.911Z] 7143564a6d2f: Preparing [2022-06-27T05:56:08.911Z] f73e7dbfee58: Preparing [2022-06-27T05:56:08.911Z] f73e7dbfee58: Waiting [2022-06-27T05:56:08.911Z] 7143564a6d2f: Layer already exists [2022-06-27T05:56:08.911Z] 7e5c5c40dd5c: Layer already exists [2022-06-27T05:56:08.911Z] 6a28ff106b55: Layer already exists [2022-06-27T05:56:08.911Z] 8910b2cccb7e: Layer already exists [2022-06-27T05:56:08.911Z] 363e273f0833: Layer already exists [2022-06-27T05:56:08.911Z] f73e7dbfee58: Layer already exists [2022-06-27T05:56:09.183Z] main: digest: sha256:c37275cfb9e03137facf7fc108d9e343fed5d936889d51809e751af49ed32c50 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-27T05:56:09.243Z] ===================================================== [Pipeline] echo [2022-06-27T05:56:09.253Z] taggedImages: [2022-06-27T05:56:09.253Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:df6ebf4862d29b15333f4a73058cc7861157986f [2022-06-27T05:56:09.253Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-06-27T05:56:09.253Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.1-dev.4 [2022-06-27T05:56:09.253Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:df6ebf4862d29b15333f4a73058cc7861157986f-2.2.1-dev.4 [2022-06-27T05:56:09.253Z] - 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 [2022-06-27T05:56:09.634Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T05:56:09.634Z] [2022-06-27T05:56:09.634Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:56:09.984Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T05:56:10.264Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-27T05:56:10.264Z] 8998bd30e6a1: Pulling fs layer [2022-06-27T05:56:10.264Z] 04944245beec: Pulling fs layer [2022-06-27T05:56:10.264Z] 699f458cf7ca: Pulling fs layer [2022-06-27T05:56:10.264Z] 765212b225bb: Pulling fs layer [2022-06-27T05:56:10.264Z] f23df028b6ca: Pulling fs layer [2022-06-27T05:56:10.264Z] 765212b225bb: Waiting [2022-06-27T05:56:10.264Z] d65c8cfc05b1: Pulling fs layer [2022-06-27T05:56:10.264Z] 2437ff75d9bd: Pulling fs layer [2022-06-27T05:56:10.264Z] f23df028b6ca: Waiting [2022-06-27T05:56:10.264Z] d65c8cfc05b1: Waiting [2022-06-27T05:56:10.264Z] 2437ff75d9bd: Waiting [2022-06-27T05:56:10.264Z] 04944245beec: Verifying Checksum [2022-06-27T05:56:10.264Z] 04944245beec: Download complete [2022-06-27T05:56:10.264Z] 765212b225bb: Download complete [2022-06-27T05:56:10.264Z] f23df028b6ca: Download complete [2022-06-27T05:56:10.264Z] d65c8cfc05b1: Verifying Checksum [2022-06-27T05:56:10.264Z] d65c8cfc05b1: Download complete [2022-06-27T05:56:10.545Z] 699f458cf7ca: Verifying Checksum [2022-06-27T05:56:10.545Z] 699f458cf7ca: Download complete [2022-06-27T05:56:10.825Z] 8998bd30e6a1: Verifying Checksum [2022-06-27T05:56:10.825Z] 8998bd30e6a1: Download complete [2022-06-27T05:56:12.816Z] 2437ff75d9bd: Verifying Checksum [2022-06-27T05:56:12.816Z] 2437ff75d9bd: Download complete [2022-06-27T05:56:14.792Z] 8998bd30e6a1: Pull complete [2022-06-27T05:56:15.395Z] 04944245beec: Pull complete [2022-06-27T05:56:16.836Z] 699f458cf7ca: Pull complete [2022-06-27T05:56:17.113Z] 765212b225bb: Pull complete [2022-06-27T05:56:17.713Z] f23df028b6ca: Pull complete [2022-06-27T05:56:17.985Z] d65c8cfc05b1: Pull complete [2022-06-27T05:56:33.097Z] 2437ff75d9bd: Pull complete [2022-06-27T05:56:33.097Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-27T05:56:33.097Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T05:56:33.097Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:56:33.357Z] prd-ubuntu20.04-docker-arm64-4c-16g-16069 does not seem to be running inside a container [2022-06-27T05:56:33.453Z] $ 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/43 -v /w/workspace/device-modbus-go/43:/w/workspace/device-modbus-go/43:rw,z -v /w/workspace/device-modbus-go/43@tmp:/w/workspace/device-modbus-go/43@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 [2022-06-27T05:56:35.891Z] $ docker top 62a002233c071fb79d0c871d4c60187467366ac467a6ffc09fb4ce3c7fd7a009 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:56:36.806Z] ---> job-cost.sh [2022-06-27T05:56:36.806Z] lf-activate-venv: SKIPPING [2022-06-27T05:56:36.806Z] INFO: No Stack... [2022-06-27T05:56:37.403Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-27T05:56:38.000Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T05:56:38.665Z] + + cutcat -d, /w/workspace/device-modbus-go/43/archives/cost.csv -f6 [2022-06-27T05:56:38.665Z] [Pipeline] lock [2022-06-27T05:56:38.732Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-43-stack-cost] [2022-06-27T05:56:38.738Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-43-stack-cost] did not exist. Created. [2022-06-27T05:56:38.738Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-43-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T05:56:39.423Z] /w/workspace/device-modbus-go/43@tmp/durable-72d2bdb6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-27T05:56:40.105Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-27T05:56:40.136Z] Warning: overwriting stash ‘stack-cost’ [2022-06-27T05:56:40.182Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T05:56:40.192Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-43-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T05:56:40.217Z] $ docker stop --time=1 62a002233c071fb79d0c871d4c60187467366ac467a6ffc09fb4ce3c7fd7a009 [2022-06-27T05:56:41.728Z] $ docker rm -f 62a002233c071fb79d0c871d4c60187467366ac467a6ffc09fb4ce3c7fd7a009 [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 [2022-06-27T05:56:42.160Z] provisioning config files... [2022-06-27T05:56:42.170Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2625035748505871550tmp [Pipeline] { [Pipeline] sh [2022-06-27T05:56:42.467Z] + set +x [2022-06-27T05:56:42.467Z] + curl -s https://codecov.io/bash [2022-06-27T05:56:42.467Z] + bash -s -- [2022-06-27T05:56:42.467Z] [2022-06-27T05:56:42.467Z] _____ _ [2022-06-27T05:56:42.467Z] / ____| | | [2022-06-27T05:56:42.467Z] | | ___ __| | ___ ___ _____ __ [2022-06-27T05:56:42.467Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-27T05:56:42.467Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-27T05:56:42.467Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-27T05:56:42.467Z] Bash-1.0.6 [2022-06-27T05:56:42.467Z] [2022-06-27T05:56:42.467Z] [2022-06-27T05:56:42.467Z] ==> git version 2.25.1 found [2022-06-27T05:56:42.467Z] ==> 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 [2022-06-27T05:56:42.467Z] Release-Date: 2020-01-08 [2022-06-27T05:56:42.467Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-27T05:56:42.467Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-27T05:56:42.467Z] ==> Jenkins CI detected. [2022-06-27T05:56:42.467Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2022-06-27T05:56:42.467Z] project root: . [2022-06-27T05:56:42.467Z] --> token set from env [2022-06-27T05:56:42.467Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-27T05:56:42.467Z] ==> Running gcov in . (disable via -X gcov) [2022-06-27T05:56:42.467Z] ==> Python coveragepy not found [2022-06-27T05:56:42.467Z] ==> Searching for coverage reports in: [2022-06-27T05:56:42.467Z] + . [2022-06-27T05:56:42.467Z] -> Found 1 reports [2022-06-27T05:56:42.467Z] ==> Detecting git/mercurial file structure [2022-06-27T05:56:42.467Z] ==> Reading reports [2022-06-27T05:56:42.467Z] + ./coverage.out bytes=24065 [2022-06-27T05:56:42.467Z] ==> Appending adjustments [2022-06-27T05:56:42.467Z] https://docs.codecov.io/docs/fixing-reports [2022-06-27T05:56:42.728Z] + Found adjustments [2022-06-27T05:56:42.728Z] ==> Gzipping contents [2022-06-27T05:56:42.728Z] 4.0K /tmp/codecov.psGrd6.gz [2022-06-27T05:56:42.728Z] ==> Uploading reports [2022-06-27T05:56:42.728Z] url: https://codecov.io [2022-06-27T05:56:42.728Z] query: branch=main&commit=df6ebf4862d29b15333f4a73058cc7861157986f&build=43&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F43%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-27T05:56:42.728Z] -> Pinging Codecov [2022-06-27T05:56:42.728Z] 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=df6ebf4862d29b15333f4a73058cc7861157986f&build=43&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F43%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-27T05:56:42.990Z] -> Uploading to [2022-06-27T05:56:42.990Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-27/55DBCA73C666E3227836607328DD7E49/df6ebf4862d29b15333f4a73058cc7861157986f/0b9c4890-a083-42fe-bb7e-65318332e740.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220627%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220627T055642Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=623e1f6a585ca72ecd5eb94b6132f683c83c866fbb6bcdae01357aeebdad253d [2022-06-27T05:56:42.990Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T05:56:42.990Z] Dload Upload Total Spent Left Speed [2022-06-27T05:56:43.252Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4026 0 0 100 4026 0 15250 --:--:-- --:--:-- --:--:-- 15250 [2022-06-27T05:56:43.252Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/df6ebf4862d29b15333f4a73058cc7861157986f [Pipeline] } [2022-06-27T05:56:43.260Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-06-27T05:56:43.382Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-06-27T05:56:43.391Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:56:43.683Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-27T05:56:43.683Z] [2022-06-27T05:56:43.683Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:56:43.994Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-27T05:56:43.994Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-06-27T05:56:43.994Z] df9b9388f04a: Pulling fs layer [2022-06-27T05:56:43.994Z] 52dc419b0ee2: Pulling fs layer [2022-06-27T05:56:43.994Z] 25bc292e5bac: Pulling fs layer [2022-06-27T05:56:43.994Z] 114826534d7a: Pulling fs layer [2022-06-27T05:56:43.994Z] 4657fd5d0bcf: Pulling fs layer [2022-06-27T05:56:43.994Z] 6ad1cebc031e: Pulling fs layer [2022-06-27T05:56:43.994Z] 8a3aa393b2d8: Pulling fs layer [2022-06-27T05:56:43.994Z] 6ad1cebc031e: Waiting [2022-06-27T05:56:43.994Z] 8a3aa393b2d8: Waiting [2022-06-27T05:56:43.994Z] 4657fd5d0bcf: Waiting [2022-06-27T05:56:43.994Z] 114826534d7a: Waiting [2022-06-27T05:56:43.994Z] 25bc292e5bac: Verifying Checksum [2022-06-27T05:56:43.994Z] 25bc292e5bac: Download complete [2022-06-27T05:56:43.994Z] 52dc419b0ee2: Verifying Checksum [2022-06-27T05:56:43.994Z] 52dc419b0ee2: Download complete [2022-06-27T05:56:43.994Z] 4657fd5d0bcf: Verifying Checksum [2022-06-27T05:56:43.994Z] df9b9388f04a: Verifying Checksum [2022-06-27T05:56:43.994Z] df9b9388f04a: Download complete [2022-06-27T05:56:44.257Z] df9b9388f04a: Pull complete [2022-06-27T05:56:44.257Z] 6ad1cebc031e: Verifying Checksum [2022-06-27T05:56:44.257Z] 6ad1cebc031e: Download complete [2022-06-27T05:56:44.257Z] 52dc419b0ee2: Pull complete [2022-06-27T05:56:44.257Z] 25bc292e5bac: Pull complete [2022-06-27T05:56:44.827Z] 114826534d7a: Verifying Checksum [2022-06-27T05:56:44.827Z] 114826534d7a: Download complete [2022-06-27T05:56:44.827Z] 8a3aa393b2d8: Verifying Checksum [2022-06-27T05:56:44.827Z] 8a3aa393b2d8: Download complete [2022-06-27T05:56:48.119Z] 114826534d7a: Pull complete [2022-06-27T05:56:48.119Z] 4657fd5d0bcf: Pull complete [2022-06-27T05:56:48.685Z] 6ad1cebc031e: Pull complete [2022-06-27T05:56:51.225Z] 8a3aa393b2d8: Pull complete [2022-06-27T05:56:51.225Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-06-27T05:56:51.225Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-27T05:56:51.225Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:56:51.317Z] prd-ubuntu20.04-docker-8c-8g-16067 does not seem to be running inside a container [2022-06-27T05:56:51.358Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-06-27T05:56:53.261Z] $ docker top f1f147b24f71c4d7071701c9d3f82b1ffd1b191216c7fb1e5154dc69d41b8483 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-06-27T05:56:53.330Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2022-06-27T05:56:53.608Z] + set -o pipefail [2022-06-27T05:56:53.608Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2022-06-27T05:57:00.195Z] [2022-06-27T05:57:00.195Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2022-06-27T05:57:00.195Z] [2022-06-27T05:57:00.195Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/71940265-a1b3-4974-8ed7-ea3df3d5984b [2022-06-27T05:57:00.195Z] [2022-06-27T05:57:00.195Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-06-27T05:57:00.195Z] [2022-06-27T05:57:00.195Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-06-27T05:57:00.195Z] [2022-06-27T05:57:00.195Z] [2022-06-27T05:57:00.195Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2022-06-27T05:57:00.195Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2022-06-27T05:57:00.212Z] $ docker stop --time=1 f1f147b24f71c4d7071701c9d3f82b1ffd1b191216c7fb1e5154dc69d41b8483 [2022-06-27T05:57:02.389Z] $ docker rm -f f1f147b24f71c4d7071701c9d3f82b1ffd1b191216c7fb1e5154dc69d41b8483 [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 [2022-06-27T05:57:03.129Z] + git log --format=format:%s -1 df6ebf4862d29b15333f4a73058cc7861157986f [Pipeline] sh [2022-06-27T05:57:03.428Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-27T05:57:03.429Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:57:03.736Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T05:57:03.736Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:57:03.819Z] prd-ubuntu20.04-docker-8c-8g-16067 does not seem to be running inside a container [2022-06-27T05:57:03.859Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-27T05:57:04.269Z] $ docker top 5ec8d71ac7322d72ed4fe1393ff3a1d5e2ce21f9ab55cff422082c5ec362ebb8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-27T05:57:04.364Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T05:57:04.364Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T05:57:04.499Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T05:57:04.507Z] $ docker exec 5ec8d71ac7322d72ed4fe1393ff3a1d5e2ce21f9ab55cff422082c5ec362ebb8 ssh-agent [2022-06-27T05:57:04.624Z] SSH_AUTH_SOCK=/tmp/ssh-qEetnBpTE9G8/agent.32 [2022-06-27T05:57:04.624Z] SSH_AGENT_PID=39 [2022-06-27T05:57:04.672Z] Running ssh-add (command line suppressed) [2022-06-27T05:57:04.791Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1867360918318095463.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1867360918318095463.key) [2022-06-27T05:57:04.804Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T05:57:05.113Z] + git semver tag [2022-06-27T05:57:05.374Z] 2022-06-27 05:57:05,268 [run_tag] DEBUG tag force:False [2022-06-27T05:57:05.374Z] 2022-06-27 05:57:05,268 [check_head_tag] DEBUG check head tag [2022-06-27T05:57:05.374Z] 2022-06-27 05:57:05,268 [execute] INFO git cat-file --batch-check [2022-06-27T05:57:05.374Z] 2022-06-27 05:57:05,269 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-06-27T05:57:05.374Z] 2022-06-27 05:57:05,272 [execute] INFO git cat-file --batch [2022-06-27T05:57:05.374Z] 2022-06-27 05:57:05,272 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-06-27T05:57:05.374Z] 2022-06-27 05:57:05,279 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-06-27T05:57:05.374Z] 2022-06-27 05:57:05,280 [execute] INFO git tag -a v2.2.1-dev.4 -m v2.2.1-dev.4 [2022-06-27T05:57:05.374Z] 2022-06-27 05:57:05,280 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.4', '-m', 'v2.2.1-dev.4'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2022-06-27T05:57:05.374Z] 2022-06-27 05:57:05,284 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-06-27T05:57:05.374Z] 2.2.1-dev.4 [Pipeline] } [2022-06-27T05:57:05.391Z] $ docker exec --env ******** --env ******** 5ec8d71ac7322d72ed4fe1393ff3a1d5e2ce21f9ab55cff422082c5ec362ebb8 ssh-agent -k [2022-06-27T05:57:05.516Z] unset SSH_AUTH_SOCK; [2022-06-27T05:57:05.517Z] unset SSH_AGENT_PID; [2022-06-27T05:57:05.517Z] echo Agent pid 39 killed; [2022-06-27T05:57:05.526Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-27T05:57:05.837Z] + git semver [Pipeline] } [2022-06-27T05:57:06.117Z] $ docker stop --time=1 5ec8d71ac7322d72ed4fe1393ff3a1d5e2ce21f9ab55cff422082c5ec362ebb8 [2022-06-27T05:57:07.418Z] $ docker rm -f 5ec8d71ac7322d72ed4fe1393ff3a1d5e2ce21f9ab55cff422082c5ec362ebb8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:57:07.802Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-27T05:57:07.802Z] [2022-06-27T05:57:07.802Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:57:08.105Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-27T05:57:08.106Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-06-27T05:57:08.106Z] ab5ef0e58194: Pulling fs layer [2022-06-27T05:57:08.106Z] 9712f1f96733: Pulling fs layer [2022-06-27T05:57:08.106Z] 63f879dbbcfc: Pulling fs layer [2022-06-27T05:57:08.106Z] 0d9ebad4ef96: Pulling fs layer [2022-06-27T05:57:08.106Z] e9a5061849ea: Pulling fs layer [2022-06-27T05:57:08.106Z] d747dcd14b5f: Pulling fs layer [2022-06-27T05:57:08.106Z] 2de7ff778b66: Pulling fs layer [2022-06-27T05:57:08.106Z] e9a5061849ea: Waiting [2022-06-27T05:57:08.106Z] d747dcd14b5f: Waiting [2022-06-27T05:57:08.106Z] 2de7ff778b66: Waiting [2022-06-27T05:57:08.106Z] 9712f1f96733: Verifying Checksum [2022-06-27T05:57:08.106Z] 9712f1f96733: Download complete [2022-06-27T05:57:08.693Z] 63f879dbbcfc: Verifying Checksum [2022-06-27T05:57:08.693Z] 63f879dbbcfc: Download complete [2022-06-27T05:57:08.693Z] 0d9ebad4ef96: Verifying Checksum [2022-06-27T05:57:08.693Z] 0d9ebad4ef96: Download complete [2022-06-27T05:57:08.693Z] e9a5061849ea: Verifying Checksum [2022-06-27T05:57:08.693Z] e9a5061849ea: Download complete [2022-06-27T05:57:08.693Z] d747dcd14b5f: Verifying Checksum [2022-06-27T05:57:08.693Z] d747dcd14b5f: Download complete [2022-06-27T05:57:08.952Z] ab5ef0e58194: Verifying Checksum [2022-06-27T05:57:08.952Z] ab5ef0e58194: Download complete [2022-06-27T05:57:08.952Z] 2de7ff778b66: Verifying Checksum [2022-06-27T05:57:08.952Z] 2de7ff778b66: Download complete [2022-06-27T05:57:11.491Z] ab5ef0e58194: Pull complete [2022-06-27T05:57:11.491Z] 9712f1f96733: Pull complete [2022-06-27T05:57:12.429Z] 63f879dbbcfc: Pull complete [2022-06-27T05:57:15.718Z] 0d9ebad4ef96: Pull complete [2022-06-27T05:57:16.285Z] e9a5061849ea: Pull complete [2022-06-27T05:57:16.286Z] d747dcd14b5f: Pull complete [2022-06-27T05:57:17.225Z] 2de7ff778b66: Pull complete [2022-06-27T05:57:17.225Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-06-27T05:57:17.225Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-27T05:57:17.225Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:57:17.313Z] prd-ubuntu20.04-docker-8c-8g-16067 does not seem to be running inside a container [2022-06-27T05:57:17.347Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-06-27T05:57:19.318Z] $ docker top 201e324818b4eeae9437cb80d3a7da9d095d066b2046cafd8c03b4c93fa1df73 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-06-27T05:57:19.398Z] provisioning config files... [2022-06-27T05:57:19.405Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2633155990198935786tmp [2022-06-27T05:57:19.415Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2636284504469502260tmp [2022-06-27T05:57:19.425Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6885688118196457048tmp [Pipeline] { [Pipeline] echo [2022-06-27T05:57:19.440Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:57:19.720Z] ---> sigul-configuration.sh [2022-06-27T05:57:19.720Z] gpg: directory `/root/.gnupg' created [2022-06-27T05:57:19.720Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-06-27T05:57:19.720Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-06-27T05:57:19.720Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-06-27T05:57:19.720Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-06-27T05:57:19.720Z] gpg: CAST5 encrypted data [2022-06-27T05:57:19.720Z] gpg: encrypted with 1 passphrase [2022-06-27T05:57:19.720Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-06-27T05:57:20.006Z] + mkdir /home/jenkins [2022-06-27T05:57:20.006Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-06-27T05:57:20.292Z] + 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 [2022-06-27T05:57:20.301Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:57:20.586Z] ---> sigul-install.sh [2022-06-27T05:57:20.586Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-06-27T05:57:20.873Z] + git tag --list [2022-06-27T05:57:20.873Z] 0.7.1 [2022-06-27T05:57:20.873Z] v1.0.0 [2022-06-27T05:57:20.873Z] v1.1.0 [2022-06-27T05:57:20.873Z] v1.1.1 [2022-06-27T05:57:20.873Z] v1.2.2 [2022-06-27T05:57:20.873Z] v1.3.0 [2022-06-27T05:57:20.873Z] v1.3.1 [2022-06-27T05:57:20.873Z] v2.0.0 [2022-06-27T05:57:20.873Z] v2.1.0 [2022-06-27T05:57:20.873Z] v2.1.1 [2022-06-27T05:57:20.873Z] v2.1.1-dev.1 [2022-06-27T05:57:20.873Z] v2.1.1-dev.2 [2022-06-27T05:57:20.873Z] v2.1.1-dev.3 [2022-06-27T05:57:20.873Z] v2.2.0 [2022-06-27T05:57:20.873Z] v2.2.1-dev.1 [2022-06-27T05:57:20.873Z] v2.2.1-dev.2 [2022-06-27T05:57:20.873Z] v2.2.1-dev.3 [2022-06-27T05:57:20.873Z] v2.2.1-dev.4 [Pipeline] sh [2022-06-27T05:57:21.160Z] + lftools sign git-tag v2.2.1-dev.4 [2022-06-27T05:57:21.730Z] Signing Git tag with Sigul... [2022-06-27T05:57:21.730Z] Signing v2.2.1-dev.4 [Pipeline] echo [2022-06-27T05:57:22.001Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:57:22.286Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-06-27T05:57:22.294Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-06-27T05:57:22.317Z] $ docker stop --time=1 201e324818b4eeae9437cb80d3a7da9d095d066b2046cafd8c03b4c93fa1df73 [2022-06-27T05:57:23.609Z] $ docker rm -f 201e324818b4eeae9437cb80d3a7da9d095d066b2046cafd8c03b4c93fa1df73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-06-27T05:57:24.012Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-27T05:57:24.012Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:57:24.321Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T05:57:24.321Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:57:24.408Z] prd-ubuntu20.04-docker-8c-8g-16067 does not seem to be running inside a container [2022-06-27T05:57:24.445Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-27T05:57:24.820Z] $ docker top 4525a6403771a2313321c67a5bbbd5005368787d4d5fc7258b5187009fb561ef -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-27T05:57:24.913Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T05:57:24.913Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T05:57:25.016Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T05:57:25.023Z] $ docker exec 4525a6403771a2313321c67a5bbbd5005368787d4d5fc7258b5187009fb561ef ssh-agent [2022-06-27T05:57:25.139Z] SSH_AUTH_SOCK=/tmp/ssh-cG0AtUwfIhLf/agent.34 [2022-06-27T05:57:25.139Z] SSH_AGENT_PID=41 [2022-06-27T05:57:25.144Z] Running ssh-add (command line suppressed) [2022-06-27T05:57:25.249Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8088801904643671347.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8088801904643671347.key) [2022-06-27T05:57:25.260Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T05:57:25.547Z] + git semver bump pre [2022-06-27T05:57:25.807Z] 2022-06-27 05:57:25,723 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-06-27T05:57:25.807Z] 2022-06-27 05:57:25,723 [bump_version] DEBUG bumping version:2.2.1-dev.4 on axis:pre with prefix:dev [2022-06-27T05:57:25.807Z] 2022-06-27 05:57:25,724 [bump_version] DEBUG bumped version:2.2.1-dev.5 [2022-06-27T05:57:25.807Z] 2022-06-27 05:57:25,724 [write_version] DEBUG write version:2.2.1-dev.5 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2022-06-27T05:57:25.808Z] 2022-06-27 05:57:25,724 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-06-27T05:57:25.808Z] 2022-06-27 05:57:25,724 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-06-27T05:57:25.808Z] 2022-06-27 05:57:25,726 [execute] INFO git cat-file --batch-check [2022-06-27T05:57:25.808Z] 2022-06-27 05:57:25,726 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-27T05:57:25.808Z] 2022-06-27 05:57:25,730 [execute] INFO git cat-file --batch [2022-06-27T05:57:25.808Z] 2022-06-27 05:57:25,731 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-27T05:57:25.808Z] 2022-06-27 05:57:25,735 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-06-27T05:57:25.808Z] 2.2.1-dev.5 [Pipeline] } [2022-06-27T05:57:25.823Z] $ docker exec --env ******** --env ******** 4525a6403771a2313321c67a5bbbd5005368787d4d5fc7258b5187009fb561ef ssh-agent -k [2022-06-27T05:57:25.929Z] unset SSH_AUTH_SOCK; [2022-06-27T05:57:25.929Z] unset SSH_AGENT_PID; [2022-06-27T05:57:25.929Z] echo Agent pid 41 killed; [2022-06-27T05:57:25.935Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-27T05:57:26.243Z] + git semver [Pipeline] } [2022-06-27T05:57:26.526Z] $ docker stop --time=1 4525a6403771a2313321c67a5bbbd5005368787d4d5fc7258b5187009fb561ef [2022-06-27T05:57:27.828Z] $ docker rm -f 4525a6403771a2313321c67a5bbbd5005368787d4d5fc7258b5187009fb561ef [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T05:57:28.172Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-27T05:57:28.172Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:57:28.473Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T05:57:28.474Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:57:28.554Z] prd-ubuntu20.04-docker-8c-8g-16067 does not seem to be running inside a container [2022-06-27T05:57:28.588Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-27T05:57:28.983Z] $ docker top 454d71d3002e4c9209b9fc8eed1f97743735e11a8fec9888d90b1153a9a5b2d5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-27T05:57:29.073Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T05:57:29.073Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T05:57:29.201Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T05:57:29.209Z] $ docker exec 454d71d3002e4c9209b9fc8eed1f97743735e11a8fec9888d90b1153a9a5b2d5 ssh-agent [2022-06-27T05:57:29.347Z] SSH_AUTH_SOCK=/tmp/ssh-cj7mQgCJAD8g/agent.33 [2022-06-27T05:57:29.347Z] SSH_AGENT_PID=40 [2022-06-27T05:57:29.365Z] Running ssh-add (command line suppressed) [2022-06-27T05:57:29.478Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5872523734851010214.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5872523734851010214.key) [2022-06-27T05:57:29.488Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T05:57:29.776Z] + git semver push [2022-06-27T05:57:30.036Z] 2022-06-27 05:57:29,954 [run_push] DEBUG push [2022-06-27T05:57:30.036Z] 2022-06-27 05:57:29,954 [execute] INFO git cat-file --batch-check [2022-06-27T05:57:30.036Z] 2022-06-27 05:57:29,954 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-27T05:57:30.036Z] 2022-06-27 05:57:29,958 [execute] INFO git rev-list d9cb6f957dd2b6fe661d80bd974caabce8504b75 -- [2022-06-27T05:57:30.036Z] 2022-06-27 05:57:29,958 [execute] DEBUG Popen(['git', 'rev-list', 'd9cb6f957dd2b6fe661d80bd974caabce8504b75', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-27T05:57:30.036Z] 2022-06-27 05:57:29,965 [execute] INFO git fetch -v origin [2022-06-27T05:57:30.036Z] 2022-06-27 05:57:29,965 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-06-27T05:57:30.607Z] 2022-06-27 05:57:30,429 [run_push] DEBUG no remote changes detected [2022-06-27T05:57:30.607Z] 2022-06-27 05:57:30,430 [execute] INFO git push origin semver [2022-06-27T05:57:30.607Z] 2022-06-27 05:57:30,430 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-27T05:57:31.550Z] 2022-06-27 05:57:31,277 [run_push] DEBUG push all version tags [2022-06-27T05:57:31.550Z] 2022-06-27 05:57:31,277 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-06-27T05:57:31.550Z] 2022-06-27 05:57:31,278 [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) [2022-06-27T05:57:32.121Z] 2022-06-27 05:57:32,045 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-06-27T05:57:32.121Z] 2.2.1-dev.5 [Pipeline] } [2022-06-27T05:57:32.136Z] $ docker exec --env ******** --env ******** 454d71d3002e4c9209b9fc8eed1f97743735e11a8fec9888d90b1153a9a5b2d5 ssh-agent -k [2022-06-27T05:57:32.239Z] unset SSH_AUTH_SOCK; [2022-06-27T05:57:32.240Z] unset SSH_AGENT_PID; [2022-06-27T05:57:32.240Z] echo Agent pid 40 killed; [2022-06-27T05:57:32.248Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-27T05:57:32.556Z] + git semver [Pipeline] } [2022-06-27T05:57:32.834Z] $ docker stop --time=1 454d71d3002e4c9209b9fc8eed1f97743735e11a8fec9888d90b1153a9a5b2d5 [2022-06-27T05:57:34.152Z] $ docker rm -f 454d71d3002e4c9209b9fc8eed1f97743735e11a8fec9888d90b1153a9a5b2d5 [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 [2022-06-27T05:57:34.691Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2022-06-27T05:57:34.691Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-06-27T05:57:34.691Z] total 16 [2022-06-27T05:57:34.691Z] drwxr-xr-x 3 root root 4096 Jun 27 05:48 . [2022-06-27T05:57:34.691Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 27 05:57 .. [2022-06-27T05:57:34.691Z] drwxr-xr-x 2 root root 4096 Jun 27 05:48 cost [2022-06-27T05:57:34.691Z] -rw-r--r-- 1 root root 86 Jun 27 05:48 cost.csv [2022-06-27T05:57:34.691Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-06-27T05:57:34.691Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-06-27T05:57:34.691Z] total 16 [2022-06-27T05:57:34.692Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 05:48 . [2022-06-27T05:57:34.692Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 27 05:57 .. [2022-06-27T05:57:34.692Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 05:48 cost [2022-06-27T05:57:34.692Z] -rw-r--r-- 1 jenkins jenkins 86 Jun 27 05:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:57:34.986Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:57:35.852Z] ---> package-listing.sh [2022-06-27T05:57:35.852Z] ++ facter osfamily [2022-06-27T05:57:35.852Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-27T05:57:36.111Z] + OS_FAMILY=debian [2022-06-27T05:57:36.112Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2022-06-27T05:57:36.112Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-27T05:57:36.112Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-27T05:57:36.112Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-27T05:57:36.112Z] + PACKAGES=/tmp/packages_start.txt [2022-06-27T05:57:36.112Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-06-27T05:57:36.112Z] + PACKAGES=/tmp/packages_end.txt [2022-06-27T05:57:36.112Z] + case "${OS_FAMILY}" in [2022-06-27T05:57:36.112Z] + grep '^ii' [2022-06-27T05:57:36.112Z] + dpkg -l [2022-06-27T05:57:36.112Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-27T05:57:36.112Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-27T05:57:36.112Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-27T05:57:36.112Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-06-27T05:57:36.112Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2022-06-27T05:57:36.112Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2022-06-27T05:57:36.123Z] 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 [2022-06-27T05:57:36.400Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:57:36.965Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T05:57:36.965Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:57:37.055Z] prd-ubuntu20.04-docker-8c-8g-16067 does not seem to be running inside a container [2022-06-27T05:57:37.094Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-27T05:57:37.341Z] $ docker top 41349d5d31f1807d6874a74b3529b2390b7d2359e571a1a1f9e3bc33a5bd08dc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T05:57:37.691Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-27T05:57:37.979Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-27T05:57:38.266Z] + ls /var/log/sa-host [2022-06-27T05:57:38.266Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T05:57:38.332Z] provisioning config files... [2022-06-27T05:57:38.341Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1341818898126746537tmp [Pipeline] { [Pipeline] echo [2022-06-27T05:57:38.352Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:57:38.637Z] ---> create-netrc.sh [Pipeline] } [2022-06-27T05:57:38.643Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:57:38.969Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-27T05:57:38.978Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:57:39.262Z] ---> sudo-logs.sh [2022-06-27T05:57:39.262Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-27T05:57:39.288Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:57:39.572Z] ---> job-cost.sh [2022-06-27T05:57:39.572Z] lf-activate-venv: SKIPPING [2022-06-27T05:57:39.572Z] DEBUG: total: 0.2199999988079071 [2022-06-27T05:57:39.572Z] INFO: Retrieving Stack Cost... [2022-06-27T05:57:39.832Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T05:57:40.406Z] INFO: Archiving Costs [Pipeline] echo [2022-06-27T05:57:40.418Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:57:40.704Z] ---> logs-deploy.sh [2022-06-27T05:57:40.704Z] lf-activate-venv: SKIPPING [2022-06-27T05:57:40.704Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/43 [2022-06-27T05:57:40.704Z] INFO: archiving workspace using pattern(s): [2022-06-27T05:57:41.645Z] Archives upload complete. [2022-06-27T05:57:41.645Z] INFO: archiving logs to Nexus