Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 20ae4d4bf545de990beb7ae1865291efdf0a2142 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-ssh2170643330872874504.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh11611503645465127810.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-ssh1598510886116860723.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-ssh2462704951581155024.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh1851893166320943242.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-ssh12612900062369202351.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 [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-489 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 20ae4d4bf545de990beb7ae1865291efdf0a2142 (main) > 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 20ae4d4bf545de990beb7ae1865291efdf0a2142 # timeout=10 Commit message: "feat: Add go-winio to attribution (new SPIFFE dependency) (#348)" > git rev-list --no-walk 0da803b9e852e60e6d0c38932136853af8aaf1e9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-31T17:11:14.248Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-31T17:11:14.303Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-31T17:11:14.319Z] ========================================================= [2022-05-31T17:11:14.319Z] EdgeX Global Pipelines Version Info [2022-05-31T17:11:14.319Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:11:15.135Z] ------------------- [2022-05-31T17:11:15.135Z] stable info: [2022-05-31T17:11:15.135Z] ------------------- [2022-05-31T17:11:15.135Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-31T17:11:15.135Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-31T17:11:15.135Z] Message: update stable to v1.0.230 [2022-05-31T17:11:15.707Z] ------------------- [2022-05-31T17:11:15.707Z] experimental info: [2022-05-31T17:11:15.707Z] ------------------- [2022-05-31T17:11:15.707Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-31T17:11:15.707Z] Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e [2022-05-31T17:11:15.707Z] Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-31T17:11:15.930Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-05-31T17:11:15.938Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-05-31T17:11:15.946Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-31T17:11:15.954Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-31T17:11:15.962Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-31T17:11:15.969Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-31T17:11:15.977Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-31T17:11:15.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-31T17:11:15.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-31T17:11:16.006Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-31T17:11:16.023Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-31T17:11:16.040Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-05-31T17:11:16.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-31T17:11:16.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-31T17:11:16.073Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-31T17:11:16.086Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-31T17:11:16.103Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-31T17:11:16.111Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-31T17:11:16.122Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-31T17:11:16.134Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-31T17:11:16.145Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-31T17:11:16.156Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-31T17:11:16.167Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-31T17:11:16.183Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-31T17:11:16.198Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-31T17:11:16.208Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-31T17:11:16.219Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-31T17:11:16.230Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-31T17:11:16.242Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-31T17:11:16.253Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 20ae4d4bf545de990beb7ae1865291efdf0a2142 [Pipeline] echo [2022-05-31T17:11:16.264Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 20ae4d4 [Pipeline] echo [2022-05-31T17:11:16.286Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-31T17:11:16.337Z] provisioning config files... [2022-05-31T17:11:16.352Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8037380652872541181tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:11:16.658Z] ---> docker-login.sh [2022-05-31T17:11:16.658Z] nexus3.edgexfoundry.org:10001 [2022-05-31T17:11:16.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:11:16.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:11:16.930Z] Configure a credential helper to remove this warning. See [2022-05-31T17:11:16.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:11:16.930Z] [2022-05-31T17:11:16.930Z] Login Succeeded [2022-05-31T17:11:16.930Z] nexus3.edgexfoundry.org:10002 [2022-05-31T17:11:17.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:11:17.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:11:17.193Z] Configure a credential helper to remove this warning. See [2022-05-31T17:11:17.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:11:17.193Z] [2022-05-31T17:11:17.193Z] Login Succeeded [2022-05-31T17:11:17.193Z] nexus3.edgexfoundry.org:10003 [2022-05-31T17:11:17.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:11:17.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:11:17.193Z] Configure a credential helper to remove this warning. See [2022-05-31T17:11:17.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:11:17.193Z] [2022-05-31T17:11:17.193Z] Login Succeeded [2022-05-31T17:11:17.455Z] nexus3.edgexfoundry.org:10004 [2022-05-31T17:11:17.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:11:17.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:11:17.455Z] Configure a credential helper to remove this warning. See [2022-05-31T17:11:17.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:11:17.455Z] [2022-05-31T17:11:17.455Z] Login Succeeded [2022-05-31T17:11:17.455Z] docker.io [2022-05-31T17:11:17.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:11:18.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:11:18.031Z] Configure a credential helper to remove this warning. See [2022-05-31T17:11:18.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:11:18.031Z] [2022-05-31T17:11:18.031Z] Login Succeeded [2022-05-31T17:11:18.031Z] ---> docker-login.sh ends [Pipeline] } [2022-05-31T17:11:18.040Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-31T17:11:18.421Z] + git rev-list -1 --merges 20ae4d4bf545de990beb7ae1865291efdf0a2142~1..20ae4d4bf545de990beb7ae1865291efdf0a2142 [Pipeline] echo [2022-05-31T17:11:18.454Z] -----------> git rev-list -1 --merges 20ae4d4bf545de990beb7ae1865291efdf0a2142~1..20ae4d4bf545de990beb7ae1865291efdf0a2142 20ae4d4bf545de990beb7ae1865291efdf0a2142 [false] [Pipeline] sh [2022-05-31T17:11:18.745Z] + git log --format=format:%s -1 20ae4d4bf545de990beb7ae1865291efdf0a2142 [Pipeline] echo [2022-05-31T17:11:18.765Z] ========================================================= [2022-05-31T17:11:18.765Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-31T17:11:18.765Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-31T17:11:19.110Z] + git log --format=format:%s -1 20ae4d4bf545de990beb7ae1865291efdf0a2142 [Pipeline] echo [2022-05-31T17:11:19.124Z] [semverPrep] GIT_COMMIT: 20ae4d4bf545de990beb7ae1865291efdf0a2142, Commit Message: feat: Add go-winio to attribution (new SPIFFE dependency) (#348) [Pipeline] echo [2022-05-31T17:11:19.135Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-31T17:11:19.508Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-31T17:11:19.508Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-31T17:11:19.508Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-31T17:11:19.508Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-31T17:11:19.508Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-31T17:11:19.508Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-31T17:11:19.508Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:11:19.956Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-31T17:11:19.956Z] [2022-05-31T17:11:19.956Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:11:20.265Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-31T17:11:20.265Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-31T17:11:20.265Z] 1fe172e4850f: Pulling fs layer [2022-05-31T17:11:20.265Z] caf521ccaac6: Pulling fs layer [2022-05-31T17:11:20.265Z] 3ead6fa29328: Pulling fs layer [2022-05-31T17:11:20.265Z] 5c2a1cbceb83: Pulling fs layer [2022-05-31T17:11:20.265Z] a8d5f1318db7: Pulling fs layer [2022-05-31T17:11:20.265Z] c427282e49a2: Pulling fs layer [2022-05-31T17:11:20.265Z] 1827001aaf11: Pulling fs layer [2022-05-31T17:11:20.265Z] 0714d37db230: Pulling fs layer [2022-05-31T17:11:20.265Z] 5c2a1cbceb83: Waiting [2022-05-31T17:11:20.265Z] c427282e49a2: Waiting [2022-05-31T17:11:20.265Z] a8d5f1318db7: Waiting [2022-05-31T17:11:20.265Z] 1827001aaf11: Waiting [2022-05-31T17:11:20.265Z] ac28cf19c067: Pulling fs layer [2022-05-31T17:11:20.265Z] 0714d37db230: Waiting [2022-05-31T17:11:20.265Z] ca983d60f3e2: Pulling fs layer [2022-05-31T17:11:20.265Z] 9f894cec8388: Pulling fs layer [2022-05-31T17:11:20.265Z] ac28cf19c067: Waiting [2022-05-31T17:11:20.265Z] ca983d60f3e2: Waiting [2022-05-31T17:11:20.265Z] 9f894cec8388: Waiting [2022-05-31T17:11:20.265Z] caf521ccaac6: Verifying Checksum [2022-05-31T17:11:20.265Z] caf521ccaac6: Download complete [2022-05-31T17:11:20.265Z] 5c2a1cbceb83: Verifying Checksum [2022-05-31T17:11:20.265Z] 5c2a1cbceb83: Download complete [2022-05-31T17:11:20.530Z] a8d5f1318db7: Verifying Checksum [2022-05-31T17:11:20.530Z] a8d5f1318db7: Download complete [2022-05-31T17:11:20.530Z] c427282e49a2: Verifying Checksum [2022-05-31T17:11:20.530Z] c427282e49a2: Download complete [2022-05-31T17:11:20.530Z] 3ead6fa29328: Verifying Checksum [2022-05-31T17:11:20.530Z] 3ead6fa29328: Download complete [2022-05-31T17:11:20.530Z] 0714d37db230: Download complete [2022-05-31T17:11:20.530Z] ac28cf19c067: Verifying Checksum [2022-05-31T17:11:20.530Z] ac28cf19c067: Download complete [2022-05-31T17:11:20.530Z] ca983d60f3e2: Download complete [2022-05-31T17:11:20.530Z] 9f894cec8388: Verifying Checksum [2022-05-31T17:11:20.530Z] 9f894cec8388: Download complete [2022-05-31T17:11:20.530Z] 1fe172e4850f: Verifying Checksum [2022-05-31T17:11:20.530Z] 1fe172e4850f: Download complete [2022-05-31T17:11:20.801Z] 1827001aaf11: Verifying Checksum [2022-05-31T17:11:20.801Z] 1827001aaf11: Download complete [2022-05-31T17:11:22.188Z] 1fe172e4850f: Pull complete [2022-05-31T17:11:22.189Z] caf521ccaac6: Pull complete [2022-05-31T17:11:22.760Z] 3ead6fa29328: Pull complete [2022-05-31T17:11:22.760Z] 5c2a1cbceb83: Pull complete [2022-05-31T17:11:23.021Z] a8d5f1318db7: Pull complete [2022-05-31T17:11:23.282Z] c427282e49a2: Pull complete [2022-05-31T17:11:25.188Z] 1827001aaf11: Pull complete [2022-05-31T17:11:25.188Z] 0714d37db230: Pull complete [2022-05-31T17:11:25.449Z] ac28cf19c067: Pull complete [2022-05-31T17:11:25.449Z] ca983d60f3e2: Pull complete [2022-05-31T17:11:25.449Z] 9f894cec8388: Pull complete [2022-05-31T17:11:25.449Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-31T17:11:25.449Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-31T17:11:25.710Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:11:25.812Z] prd-ubuntu20.04-docker-8c-8g-489 does not seem to be running inside a container [2022-05-31T17:11:25.843Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-31T17:11:27.183Z] $ docker top 3c6d65d33df0e5d3415eca53bb73bce9ebb84f3d9d8b44aa3da53f5f97ff213f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-31T17:11:27.304Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-31T17:11:27.304Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-31T17:11:27.432Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-31T17:11:27.423Z] $ docker exec 3c6d65d33df0e5d3415eca53bb73bce9ebb84f3d9d8b44aa3da53f5f97ff213f ssh-agent [2022-05-31T17:11:27.558Z] SSH_AUTH_SOCK=/tmp/ssh-3Gl0zilNRsKo/agent.34 [2022-05-31T17:11:27.558Z] SSH_AGENT_PID=40 [2022-05-31T17:11:27.566Z] Running ssh-add (command line suppressed) [2022-05-31T17:11:27.681Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2077685052402773662.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2077685052402773662.key) [2022-05-31T17:11:27.720Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-31T17:11:28.013Z] + git tag --points-at HEAD [Pipeline] } [2022-05-31T17:11:28.015Z] $ docker exec --env ******** --env ******** 3c6d65d33df0e5d3415eca53bb73bce9ebb84f3d9d8b44aa3da53f5f97ff213f ssh-agent -k [2022-05-31T17:11:28.133Z] unset SSH_AUTH_SOCK; [2022-05-31T17:11:28.133Z] unset SSH_AGENT_PID; [2022-05-31T17:11:28.133Z] echo Agent pid 40 killed; [2022-05-31T17:11:28.160Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-31T17:11:28.188Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-31T17:11:28.188Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-31T17:11:28.308Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-31T17:11:28.299Z] $ docker exec 3c6d65d33df0e5d3415eca53bb73bce9ebb84f3d9d8b44aa3da53f5f97ff213f ssh-agent [2022-05-31T17:11:28.432Z] SSH_AUTH_SOCK=/tmp/ssh-iqPKMYKdemlN/agent.74 [2022-05-31T17:11:28.432Z] SSH_AGENT_PID=80 [2022-05-31T17:11:28.439Z] Running ssh-add (command line suppressed) [2022-05-31T17:11:28.543Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_45459850471470908.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_45459850471470908.key) [2022-05-31T17:11:28.570Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-31T17:11:28.863Z] + git semver init [2022-05-31T17:11:29.125Z] 2022-05-31 17:11:29,068 [run_init] DEBUG init version:0.0.0 force:False [2022-05-31T17:11:29.125Z] 2022-05-31 17:11:29,069 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-05-31T17:11:29.125Z] 2022-05-31 17:11:29,070 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-05-31T17:11:29.125Z] 2022-05-31 17:11:29,070 [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-05-31T17:11:30.068Z] 2022-05-31 17:11:29,736 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2022-05-31T17:11:30.068Z] 2022-05-31 17:11:29,737 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2022-05-31T17:11:30.068Z] 2022-05-31 17:11:29,737 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-31T17:11:30.068Z] 2022-05-31 17:11:29,737 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-31T17:11:30.068Z] 2.2.1-dev.1 [Pipeline] } [2022-05-31T17:11:30.070Z] $ docker exec --env ******** --env ******** 3c6d65d33df0e5d3415eca53bb73bce9ebb84f3d9d8b44aa3da53f5f97ff213f ssh-agent -k [2022-05-31T17:11:30.189Z] unset SSH_AUTH_SOCK; [2022-05-31T17:11:30.190Z] unset SSH_AGENT_PID; [2022-05-31T17:11:30.190Z] echo Agent pid 80 killed; [2022-05-31T17:11:30.215Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-31T17:11:30.524Z] + git semver [Pipeline] } [2022-05-31T17:11:30.793Z] $ docker stop --time=1 3c6d65d33df0e5d3415eca53bb73bce9ebb84f3d9d8b44aa3da53f5f97ff213f [2022-05-31T17:11:32.121Z] $ docker rm -f 3c6d65d33df0e5d3415eca53bb73bce9ebb84f3d9d8b44aa3da53f5f97ff213f [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-31T17:11:32.479Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-31T17:11:32.752Z] Stashed 1 file(s) [Pipeline] echo [2022-05-31T17:11:32.755Z] [edgeXSemver]: initialized semver on version 2.2.1-dev.1 [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-05-31T17:11:32.892Z] provisioning config files... [2022-05-31T17:11:32.901Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3137853781924053327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:11:33.203Z] ---> docker-login.sh [2022-05-31T17:11:33.203Z] nexus3.edgexfoundry.org:10001 [2022-05-31T17:11:33.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:11:33.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:11:33.203Z] Configure a credential helper to remove this warning. See [2022-05-31T17:11:33.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:11:33.203Z] [2022-05-31T17:11:33.203Z] Login Succeeded [2022-05-31T17:11:33.203Z] nexus3.edgexfoundry.org:10002 [2022-05-31T17:11:33.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:11:33.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:11:33.463Z] Configure a credential helper to remove this warning. See [2022-05-31T17:11:33.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:11:33.463Z] [2022-05-31T17:11:33.463Z] Login Succeeded [2022-05-31T17:11:33.463Z] nexus3.edgexfoundry.org:10003 [2022-05-31T17:11:33.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:11:33.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:11:33.463Z] Configure a credential helper to remove this warning. See [2022-05-31T17:11:33.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:11:33.463Z] [2022-05-31T17:11:33.463Z] Login Succeeded [2022-05-31T17:11:33.463Z] nexus3.edgexfoundry.org:10004 [2022-05-31T17:11:33.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:11:33.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:11:33.723Z] Configure a credential helper to remove this warning. See [2022-05-31T17:11:33.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:11:33.723Z] [2022-05-31T17:11:33.723Z] Login Succeeded [2022-05-31T17:11:33.723Z] docker.io [2022-05-31T17:11:33.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:11:33.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:11:33.985Z] Configure a credential helper to remove this warning. See [2022-05-31T17:11:33.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:11:33.985Z] [2022-05-31T17:11:33.985Z] Login Succeeded [2022-05-31T17:11:33.985Z] ---> docker-login.sh ends [Pipeline] } [2022-05-31T17:11:33.994Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-31T17:11:34.065Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-31T17:11:34.074Z] ========================================================= [2022-05-31T17:11:34.074Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-31T17:11:34.074Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:11:34.392Z] + 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-05-31T17:11:34.392Z] Sending build context to Docker daemon 5.873MB [2022-05-31T17:11:34.392Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-05-31T17:11:34.392Z] Step 2/10 : FROM ${BASE} AS builder [2022-05-31T17:11:34.392Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-31T17:11:34.392Z] 59bf1c3509f3: Pulling fs layer [2022-05-31T17:11:34.392Z] 666ba61612fd: Pulling fs layer [2022-05-31T17:11:34.392Z] 8ed8ca486205: Pulling fs layer [2022-05-31T17:11:34.392Z] 4fe6c5a15a65: Pulling fs layer [2022-05-31T17:11:34.392Z] 22a0e8bec74d: Pulling fs layer [2022-05-31T17:11:34.392Z] ca2b28591e48: Pulling fs layer [2022-05-31T17:11:34.392Z] a51346096db8: Pulling fs layer [2022-05-31T17:11:34.392Z] daebc70d1ce1: Pulling fs layer [2022-05-31T17:11:34.392Z] 0e18a0eac166: Pulling fs layer [2022-05-31T17:11:34.392Z] 22a0e8bec74d: Waiting [2022-05-31T17:11:34.392Z] ca2b28591e48: Waiting [2022-05-31T17:11:34.392Z] a51346096db8: Waiting [2022-05-31T17:11:34.392Z] daebc70d1ce1: Waiting [2022-05-31T17:11:34.392Z] 0e18a0eac166: Waiting [2022-05-31T17:11:34.392Z] 4fe6c5a15a65: Waiting [2022-05-31T17:11:34.392Z] 8ed8ca486205: Verifying Checksum [2022-05-31T17:11:34.392Z] 8ed8ca486205: Download complete [2022-05-31T17:11:34.392Z] 666ba61612fd: Download complete [2022-05-31T17:11:34.653Z] 22a0e8bec74d: Verifying Checksum [2022-05-31T17:11:34.653Z] 22a0e8bec74d: Download complete [2022-05-31T17:11:34.653Z] ca2b28591e48: Download complete [2022-05-31T17:11:34.653Z] 59bf1c3509f3: Verifying Checksum [2022-05-31T17:11:34.653Z] 59bf1c3509f3: Download complete [2022-05-31T17:11:34.653Z] a51346096db8: Verifying Checksum [2022-05-31T17:11:34.653Z] a51346096db8: Download complete [2022-05-31T17:11:34.653Z] daebc70d1ce1: Verifying Checksum [2022-05-31T17:11:34.653Z] daebc70d1ce1: Download complete [2022-05-31T17:11:34.653Z] 59bf1c3509f3: Pull complete [2022-05-31T17:11:34.919Z] 666ba61612fd: Pull complete [2022-05-31T17:11:34.919Z] 8ed8ca486205: Pull complete [2022-05-31T17:11:35.180Z] 0e18a0eac166: Verifying Checksum [2022-05-31T17:11:35.180Z] 0e18a0eac166: Download complete [2022-05-31T17:11:35.442Z] 4fe6c5a15a65: Verifying Checksum [2022-05-31T17:11:35.442Z] 4fe6c5a15a65: Download complete [2022-05-31T17:11:39.645Z] 4fe6c5a15a65: Pull complete [2022-05-31T17:11:39.645Z] 22a0e8bec74d: Pull complete [2022-05-31T17:11:39.645Z] ca2b28591e48: Pull complete [2022-05-31T17:11:39.645Z] a51346096db8: Pull complete [2022-05-31T17:11:39.645Z] daebc70d1ce1: Pull complete [2022-05-31T17:11:42.185Z] 0e18a0eac166: Pull complete [2022-05-31T17:11:42.185Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-31T17:11:42.185Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-31T17:11:42.185Z] ---> f018257e8ee9 [2022-05-31T17:11:42.185Z] Step 3/10 : ARG MAKE='make build' [2022-05-31T17:11:43.131Z] ---> Running in 360e8ce05398 [2022-05-31T17:11:43.131Z] Removing intermediate container 360e8ce05398 [2022-05-31T17:11:43.131Z] ---> f0bd469665aa [2022-05-31T17:11:43.131Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-31T17:11:43.131Z] ---> Running in 350395d6ff5d [2022-05-31T17:11:44.076Z] Removing intermediate container 350395d6ff5d [2022-05-31T17:11:44.076Z] ---> e9f60da36f38 [2022-05-31T17:11:44.076Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-31T17:11:44.076Z] ---> Running in bc17ce281d31 [2022-05-31T17:11:44.337Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-31T17:11:45.280Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-31T17:11:45.542Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-05-31T17:11:45.542Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-05-31T17:11:45.542Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-05-31T17:11:45.804Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-05-31T17:11:45.804Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-05-31T17:11:46.064Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-05-31T17:11:46.064Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-05-31T17:11:46.064Z] (8/8) Installing openssh (8.8_p1-r1) [2022-05-31T17:11:46.326Z] Executing busybox-1.34.1-r3.trigger [2022-05-31T17:11:46.326Z] OK: 226 MiB in 60 packages [2022-05-31T17:11:46.586Z] Removing intermediate container bc17ce281d31 [2022-05-31T17:11:46.586Z] ---> de7c1802a2d3 [2022-05-31T17:11:46.586Z] Step 6/10 : WORKDIR /device-modbus-go [2022-05-31T17:11:46.847Z] ---> Running in 7db9eeb78936 [2022-05-31T17:11:46.847Z] Removing intermediate container 7db9eeb78936 [2022-05-31T17:11:46.847Z] ---> 32606a8e0fdf [2022-05-31T17:11:46.847Z] Step 7/10 : COPY go.mod vendor* ./ [2022-05-31T17:11:46.847Z] ---> 5ba7068c37f4 [2022-05-31T17:11:46.847Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-31T17:11:47.107Z] ---> Running in 31e6699fa4a6 [2022-05-31T17:11:47.852Z] Still waiting to schedule task [2022-05-31T17:11:47.852Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-31T17:12:09.082Z] Removing intermediate container 31e6699fa4a6 [2022-05-31T17:12:09.082Z] ---> 876290950c68 [2022-05-31T17:12:09.082Z] Step 9/10 : COPY . . [2022-05-31T17:12:09.082Z] ---> cae7b4662f42 [2022-05-31T17:12:09.082Z] Step 10/10 : RUN ${MAKE} [2022-05-31T17:12:09.082Z] ---> Running in e831297f7fc1 [2022-05-31T17:12:09.082Z] noop [2022-05-31T17:12:09.082Z] Removing intermediate container e831297f7fc1 [2022-05-31T17:12:09.082Z] ---> d5828f2ac272 [2022-05-31T17:12:09.082Z] Successfully built d5828f2ac272 [2022-05-31T17:12:09.082Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:12:09.404Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-31T17:12:09.404Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:12:09.497Z] prd-ubuntu20.04-docker-8c-8g-489 does not seem to be running inside a container [2022-05-31T17:12:09.543Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-31T17:12:09.937Z] $ docker top fb0cb5c2bbb09215d54873e80bf0beb7d0e128cac97271a2b2edfbae1ee9d19e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-31T17:12:10.287Z] + go version [2022-05-31T17:12:10.287Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-31T17:12:10.309Z] $ docker stop --time=1 fb0cb5c2bbb09215d54873e80bf0beb7d0e128cac97271a2b2edfbae1ee9d19e [2022-05-31T17:12:11.635Z] $ docker rm -f fb0cb5c2bbb09215d54873e80bf0beb7d0e128cac97271a2b2edfbae1ee9d19e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:12:12.048Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-31T17:12:12.048Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:12:12.137Z] prd-ubuntu20.04-docker-8c-8g-489 does not seem to be running inside a container [2022-05-31T17:12:12.212Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-31T17:12:12.590Z] $ docker top 5bd9147a982c4abbb4ba9756918a34a2dafe3d43ebeab6807e369e26263be169 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-31T17:12:12.983Z] + make test [2022-05-31T17:12:12.983Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-31T17:12:13.242Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-05-31T17:12:23.225Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-05-31T17:12:23.225Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 46.4% of statements [2022-05-31T17:12:29.802Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-31T17:12:34.011Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-31T17:12:34.011Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-31T17:12:34.011Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-31T17:12:34.025Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-31T17:12:34.049Z] $ docker stop --time=1 5bd9147a982c4abbb4ba9756918a34a2dafe3d43ebeab6807e369e26263be169 [2022-05-31T17:12:35.883Z] $ docker rm -f 5bd9147a982c4abbb4ba9756918a34a2dafe3d43ebeab6807e369e26263be169 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-31T17:12:36.324Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-31T17:12:36.367Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-31T17:12:36.862Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-31T17:12:37.153Z] + ls -al . [2022-05-31T17:12:37.154Z] total 184 [2022-05-31T17:12:37.154Z] drwxrwxr-x 10 jenkins jenkins 4096 May 31 17:12 . [2022-05-31T17:12:37.154Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 17:11 .. [2022-05-31T17:12:37.154Z] -rw-rw-r-- 1 jenkins jenkins 140 May 31 17:11 .dockerignore [2022-05-31T17:12:37.154Z] drwxrwxr-x 8 jenkins jenkins 4096 May 31 17:11 .git [2022-05-31T17:12:37.154Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 17:11 .github [2022-05-31T17:12:37.154Z] -rw-rw-r-- 1 jenkins jenkins 331 May 31 17:11 .gitignore [2022-05-31T17:12:37.154Z] -rw-rw-r-- 1 jenkins jenkins 41 May 31 17:11 .golangci.yml [2022-05-31T17:12:37.154Z] drwxr-xr-x 3 jenkins jenkins 4096 May 31 17:11 .semver [2022-05-31T17:12:37.154Z] -rw-rw-r-- 1 jenkins jenkins 9510 May 31 17:11 Attribution.txt [2022-05-31T17:12:37.154Z] -rw-rw-r-- 1 jenkins jenkins 10001 May 31 17:11 CHANGELOG.md [2022-05-31T17:12:37.154Z] -rw-rw-r-- 1 jenkins jenkins 1546 May 31 17:11 Dockerfile [2022-05-31T17:12:37.154Z] -rw-rw-r-- 1 jenkins jenkins 677 May 31 17:11 GOVERNANCE.md [2022-05-31T17:12:37.154Z] -rw-rw-r-- 1 jenkins jenkins 680 May 31 17:11 Jenkinsfile [2022-05-31T17:12:37.154Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 31 17:11 LICENSE [2022-05-31T17:12:37.154Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 31 17:11 Makefile [2022-05-31T17:12:37.154Z] -rw-rw-r-- 1 jenkins jenkins 622 May 31 17:11 OWNERS.md [2022-05-31T17:12:37.154Z] -rw-rw-r-- 1 jenkins jenkins 3397 May 31 17:11 README.md [2022-05-31T17:12:37.154Z] -rw-rw-r-- 1 jenkins jenkins 11 May 31 17:11 VERSION [2022-05-31T17:12:37.154Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 17:11 bin [2022-05-31T17:12:37.154Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 17:11 cmd [2022-05-31T17:12:37.154Z] -rw-r--r-- 1 jenkins jenkins 24065 May 31 17:12 coverage.out [2022-05-31T17:12:37.154Z] -rw-rw-r-- 1 jenkins jenkins 3353 May 31 17:11 go.mod [2022-05-31T17:12:37.154Z] -rw-rw-r-- 1 jenkins jenkins 34983 May 31 17:11 go.sum [2022-05-31T17:12:37.154Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 17:11 internal [2022-05-31T17:12:37.154Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 17:11 simulator [2022-05-31T17:12:37.154Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 17:11 snap [2022-05-31T17:12:37.154Z] -rw-rw-r-- 1 jenkins jenkins 229 May 31 17:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:12:37.466Z] + 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=20ae4d4bf545de990beb7ae1865291efdf0a2142 --label arch=amd64 --label version=2.2.1-dev.1 . [2022-05-31T17:12:37.466Z] Sending build context to Docker daemon 5.898MB [2022-05-31T17:12:37.466Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-05-31T17:12:37.466Z] Step 2/23 : FROM ${BASE} AS builder [2022-05-31T17:12:37.466Z] ---> d5828f2ac272 [2022-05-31T17:12:37.466Z] Step 3/23 : ARG MAKE='make build' [2022-05-31T17:12:37.466Z] ---> Running in 6e9b30a81933 [2022-05-31T17:12:37.727Z] Removing intermediate container 6e9b30a81933 [2022-05-31T17:12:37.727Z] ---> 8e678937268a [2022-05-31T17:12:37.727Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-31T17:12:37.727Z] ---> Running in c3bd0721ff3b [2022-05-31T17:12:38.296Z] Removing intermediate container c3bd0721ff3b [2022-05-31T17:12:38.296Z] ---> 15733ccb8485 [2022-05-31T17:12:38.296Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-31T17:12:38.296Z] ---> Running in a56bd89d649a [2022-05-31T17:12:38.558Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-31T17:12:39.500Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-31T17:12:39.762Z] OK: 226 MiB in 60 packages [2022-05-31T17:12:40.022Z] Removing intermediate container a56bd89d649a [2022-05-31T17:12:40.022Z] ---> 8254ff50e6a9 [2022-05-31T17:12:40.022Z] Step 6/23 : WORKDIR /device-modbus-go [2022-05-31T17:12:40.022Z] ---> Running in c09907939745 [2022-05-31T17:12:40.282Z] Removing intermediate container c09907939745 [2022-05-31T17:12:40.282Z] ---> bd912e24b4f7 [2022-05-31T17:12:40.282Z] Step 7/23 : COPY go.mod vendor* ./ [2022-05-31T17:12:40.282Z] ---> a53ce0567643 [2022-05-31T17:12:40.282Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-31T17:12:40.282Z] ---> Running in b45dc1bdcf05 [2022-05-31T17:12:41.223Z] Removing intermediate container b45dc1bdcf05 [2022-05-31T17:12:41.223Z] ---> aa5a1e20db02 [2022-05-31T17:12:41.223Z] Step 9/23 : COPY . . [2022-05-31T17:12:41.223Z] ---> 3ce5c9c04dfb [2022-05-31T17:12:41.223Z] Step 10/23 : RUN ${MAKE} [2022-05-31T17:12:41.484Z] ---> Running in f3e300e18fe7 [2022-05-31T17:12:41.746Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-05-31T17:13:03.714Z] Removing intermediate container f3e300e18fe7 [2022-05-31T17:13:03.714Z] ---> d095dd51cf96 [2022-05-31T17:13:03.714Z] Step 11/23 : FROM alpine:3.14 [2022-05-31T17:13:03.714Z] 3.14: Pulling from library/alpine [2022-05-31T17:13:03.714Z] 8663204ce13b: Pulling fs layer [2022-05-31T17:13:03.715Z] 8663204ce13b: Verifying Checksum [2022-05-31T17:13:03.715Z] 8663204ce13b: Download complete [2022-05-31T17:13:03.715Z] 8663204ce13b: Pull complete [2022-05-31T17:13:03.715Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-31T17:13:03.715Z] Status: Downloaded newer image for alpine:3.14 [2022-05-31T17:13:03.715Z] ---> e04c818066af [2022-05-31T17:13:03.715Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-05-31T17:13:03.715Z] ---> Running in e914ca4e4979 [2022-05-31T17:13:03.715Z] Removing intermediate container e914ca4e4979 [2022-05-31T17:13:03.715Z] ---> 8033317928b2 [2022-05-31T17:13:03.715Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-31T17:13:03.715Z] ---> Running in f003071a6528 [2022-05-31T17:13:03.715Z] Removing intermediate container f003071a6528 [2022-05-31T17:13:03.715Z] ---> f5c1b828c6f3 [2022-05-31T17:13:03.715Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-31T17:13:03.715Z] ---> Running in 20af4d09fbdf [2022-05-31T17:13:03.715Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-31T17:13:04.285Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-31T17:13:04.546Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-31T17:13:04.809Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-31T17:13:04.809Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-31T17:13:04.809Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-31T17:13:05.070Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-31T17:13:05.070Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-31T17:13:05.070Z] Executing busybox-1.33.1-r7.trigger [2022-05-31T17:13:05.070Z] OK: 8 MiB in 20 packages [2022-05-31T17:13:05.640Z] Removing intermediate container 20af4d09fbdf [2022-05-31T17:13:05.640Z] ---> 5a6173c515d5 [2022-05-31T17:13:05.640Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-05-31T17:13:06.212Z] ---> dab9e4de83c1 [2022-05-31T17:13:06.212Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-05-31T17:13:06.212Z] ---> 978cfa18fd74 [2022-05-31T17:13:06.212Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-05-31T17:13:06.473Z] ---> 532b16988e59 [2022-05-31T17:13:06.473Z] Step 18/23 : EXPOSE 59901 [2022-05-31T17:13:06.473Z] ---> Running in 80ace9cd4183 [2022-05-31T17:13:06.473Z] Removing intermediate container 80ace9cd4183 [2022-05-31T17:13:06.473Z] ---> cb3693c53ef7 [2022-05-31T17:13:06.473Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-05-31T17:13:06.734Z] ---> Running in 1846895d8372 [2022-05-31T17:13:06.734Z] Removing intermediate container 1846895d8372 [2022-05-31T17:13:06.734Z] ---> 4c83b8e64107 [2022-05-31T17:13:06.734Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-31T17:13:06.734Z] ---> Running in f5f3811c3cf1 [2022-05-31T17:13:06.998Z] Removing intermediate container f5f3811c3cf1 [2022-05-31T17:13:06.998Z] ---> caa0d955ce6c [2022-05-31T17:13:06.998Z] Step 21/23 : LABEL arch=amd64 [2022-05-31T17:13:06.998Z] ---> Running in c3d703d7d483 [2022-05-31T17:13:06.998Z] Removing intermediate container c3d703d7d483 [2022-05-31T17:13:06.998Z] ---> 4c4c2859e581 [2022-05-31T17:13:06.998Z] Step 22/23 : LABEL git_sha=20ae4d4bf545de990beb7ae1865291efdf0a2142 [2022-05-31T17:13:06.998Z] ---> Running in 55889ab12e29 [2022-05-31T17:13:06.998Z] Removing intermediate container 55889ab12e29 [2022-05-31T17:13:06.998Z] ---> 9e52c01b6158 [2022-05-31T17:13:06.998Z] Step 23/23 : LABEL version=2.2.1-dev.1 [2022-05-31T17:13:07.259Z] ---> Running in fe4fb46c52f6 [2022-05-31T17:13:07.259Z] Removing intermediate container fe4fb46c52f6 [2022-05-31T17:13:07.259Z] ---> c31b2177081a [2022-05-31T17:13:07.259Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-31T17:13:07.259Z] Successfully built c31b2177081a [2022-05-31T17:13:07.259Z] 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-05-31T17:13:07.358Z] provisioning config files... [2022-05-31T17:13:07.368Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7120239546538067692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:13:07.669Z] ---> docker-login.sh [2022-05-31T17:13:07.669Z] nexus3.edgexfoundry.org:10001 [2022-05-31T17:13:07.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:13:07.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:13:07.669Z] Configure a credential helper to remove this warning. See [2022-05-31T17:13:07.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:13:07.669Z] [2022-05-31T17:13:07.669Z] Login Succeeded [2022-05-31T17:13:07.669Z] nexus3.edgexfoundry.org:10002 [2022-05-31T17:13:07.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:13:07.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:13:07.929Z] Configure a credential helper to remove this warning. See [2022-05-31T17:13:07.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:13:07.929Z] [2022-05-31T17:13:07.929Z] Login Succeeded [2022-05-31T17:13:07.929Z] nexus3.edgexfoundry.org:10003 [2022-05-31T17:13:07.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:13:07.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:13:07.929Z] Configure a credential helper to remove this warning. See [2022-05-31T17:13:07.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:13:07.929Z] [2022-05-31T17:13:07.929Z] Login Succeeded [2022-05-31T17:13:07.929Z] nexus3.edgexfoundry.org:10004 [2022-05-31T17:13:07.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:13:08.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:13:08.188Z] Configure a credential helper to remove this warning. See [2022-05-31T17:13:08.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:13:08.188Z] [2022-05-31T17:13:08.188Z] Login Succeeded [2022-05-31T17:13:08.188Z] docker.io [2022-05-31T17:13:08.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:13:08.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:13:08.448Z] Configure a credential helper to remove this warning. See [2022-05-31T17:13:08.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:13:08.448Z] [2022-05-31T17:13:08.448Z] Login Succeeded [2022-05-31T17:13:08.448Z] ---> docker-login.sh ends [Pipeline] } [2022-05-31T17:13:08.456Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-31T17:13:08.484Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-31T17:13:08.508Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2022-05-31T17:13:08.508Z] 20ae4d4bf545de990beb7ae1865291efdf0a2142 [2022-05-31T17:13:08.508Z] latest [2022-05-31T17:13:08.508Z] 2.2.1-dev.1 [2022-05-31T17:13:08.508Z] 20ae4d4bf545de990beb7ae1865291efdf0a2142-2.2.1-dev.1 [2022-05-31T17:13:08.508Z] main [2022-05-31T17:13:08.508Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:13:08.824Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:20ae4d4bf545de990beb7ae1865291efdf0a2142 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:13:09.135Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:20ae4d4bf545de990beb7ae1865291efdf0a2142 [2022-05-31T17:13:09.136Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-31T17:13:09.136Z] 61407cdaaeec: Preparing [2022-05-31T17:13:09.136Z] 581e0fe71245: Preparing [2022-05-31T17:13:09.136Z] 4442b5f9a6c8: Preparing [2022-05-31T17:13:09.136Z] 209c2ded5536: Preparing [2022-05-31T17:13:09.136Z] c2620f2d6316: Preparing [2022-05-31T17:13:09.136Z] b541d28bf3b4: Preparing [2022-05-31T17:13:09.136Z] 61407cdaaeec: Pushed [2022-05-31T17:13:09.136Z] 581e0fe71245: Pushed [2022-05-31T17:13:09.136Z] c2620f2d6316: Pushed [2022-05-31T17:13:09.136Z] b541d28bf3b4: Layer already exists [2022-05-31T17:13:09.396Z] 209c2ded5536: Pushed [2022-05-31T17:13:11.943Z] 4442b5f9a6c8: Pushed [2022-05-31T17:13:12.204Z] 20ae4d4bf545de990beb7ae1865291efdf0a2142: digest: sha256:2f7c7900e97c6357fa3cd9d732c68946bc0cae7b4ac67cbf4b09d5d5b9c3e522 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:13:12.540Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:13:12.845Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-05-31T17:13:12.845Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-31T17:13:12.845Z] 61407cdaaeec: Preparing [2022-05-31T17:13:12.845Z] 581e0fe71245: Preparing [2022-05-31T17:13:12.845Z] 4442b5f9a6c8: Preparing [2022-05-31T17:13:12.845Z] 209c2ded5536: Preparing [2022-05-31T17:13:12.845Z] c2620f2d6316: Preparing [2022-05-31T17:13:12.845Z] b541d28bf3b4: Preparing [2022-05-31T17:13:12.845Z] b541d28bf3b4: Waiting [2022-05-31T17:13:12.845Z] 209c2ded5536: Layer already exists [2022-05-31T17:13:12.845Z] 61407cdaaeec: Layer already exists [2022-05-31T17:13:12.845Z] 581e0fe71245: Layer already exists [2022-05-31T17:13:12.845Z] c2620f2d6316: Layer already exists [2022-05-31T17:13:12.845Z] 4442b5f9a6c8: Layer already exists [2022-05-31T17:13:12.845Z] b541d28bf3b4: Layer already exists [2022-05-31T17:13:12.845Z] latest: digest: sha256:2f7c7900e97c6357fa3cd9d732c68946bc0cae7b4ac67cbf4b09d5d5b9c3e522 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:13:13.158Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:13:13.469Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.1-dev.1 [2022-05-31T17:13:13.469Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-31T17:13:13.469Z] 61407cdaaeec: Preparing [2022-05-31T17:13:13.469Z] 581e0fe71245: Preparing [2022-05-31T17:13:13.469Z] 4442b5f9a6c8: Preparing [2022-05-31T17:13:13.469Z] 209c2ded5536: Preparing [2022-05-31T17:13:13.469Z] c2620f2d6316: Preparing [2022-05-31T17:13:13.469Z] b541d28bf3b4: Preparing [2022-05-31T17:13:13.469Z] c2620f2d6316: Layer already exists [2022-05-31T17:13:13.469Z] 4442b5f9a6c8: Layer already exists [2022-05-31T17:13:13.469Z] 209c2ded5536: Layer already exists [2022-05-31T17:13:13.469Z] 581e0fe71245: Layer already exists [2022-05-31T17:13:13.469Z] 61407cdaaeec: Layer already exists [2022-05-31T17:13:13.469Z] b541d28bf3b4: Layer already exists [2022-05-31T17:13:13.469Z] 2.2.1-dev.1: digest: sha256:2f7c7900e97c6357fa3cd9d732c68946bc0cae7b4ac67cbf4b09d5d5b9c3e522 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:13:13.788Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:20ae4d4bf545de990beb7ae1865291efdf0a2142-2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:13:14.102Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:20ae4d4bf545de990beb7ae1865291efdf0a2142-2.2.1-dev.1 [2022-05-31T17:13:14.103Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-31T17:13:14.103Z] 61407cdaaeec: Preparing [2022-05-31T17:13:14.103Z] 581e0fe71245: Preparing [2022-05-31T17:13:14.103Z] 4442b5f9a6c8: Preparing [2022-05-31T17:13:14.103Z] 209c2ded5536: Preparing [2022-05-31T17:13:14.103Z] c2620f2d6316: Preparing [2022-05-31T17:13:14.103Z] b541d28bf3b4: Preparing [2022-05-31T17:13:14.103Z] b541d28bf3b4: Waiting [2022-05-31T17:13:14.103Z] 581e0fe71245: Layer already exists [2022-05-31T17:13:14.103Z] 61407cdaaeec: Layer already exists [2022-05-31T17:13:14.103Z] 4442b5f9a6c8: Layer already exists [2022-05-31T17:13:14.103Z] c2620f2d6316: Layer already exists [2022-05-31T17:13:14.103Z] 209c2ded5536: Layer already exists [2022-05-31T17:13:14.103Z] b541d28bf3b4: Layer already exists [2022-05-31T17:13:14.103Z] 20ae4d4bf545de990beb7ae1865291efdf0a2142-2.2.1-dev.1: digest: sha256:2f7c7900e97c6357fa3cd9d732c68946bc0cae7b4ac67cbf4b09d5d5b9c3e522 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:13:14.414Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:13:14.727Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2022-05-31T17:13:14.727Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-05-31T17:13:14.727Z] 61407cdaaeec: Preparing [2022-05-31T17:13:14.727Z] 581e0fe71245: Preparing [2022-05-31T17:13:14.727Z] 4442b5f9a6c8: Preparing [2022-05-31T17:13:14.727Z] 209c2ded5536: Preparing [2022-05-31T17:13:14.727Z] c2620f2d6316: Preparing [2022-05-31T17:13:14.727Z] b541d28bf3b4: Preparing [2022-05-31T17:13:14.727Z] 209c2ded5536: Layer already exists [2022-05-31T17:13:14.727Z] 4442b5f9a6c8: Layer already exists [2022-05-31T17:13:14.727Z] 581e0fe71245: Layer already exists [2022-05-31T17:13:14.727Z] 61407cdaaeec: Layer already exists [2022-05-31T17:13:14.727Z] c2620f2d6316: Layer already exists [2022-05-31T17:13:14.727Z] b541d28bf3b4: Layer already exists [2022-05-31T17:13:14.727Z] main: digest: sha256:2f7c7900e97c6357fa3cd9d732c68946bc0cae7b4ac67cbf4b09d5d5b9c3e522 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-31T17:13:14.777Z] ===================================================== [Pipeline] echo [2022-05-31T17:13:14.786Z] taggedImages: [2022-05-31T17:13:14.786Z] - nexus3.edgexfoundry.org:10004/device-modbus:20ae4d4bf545de990beb7ae1865291efdf0a2142 [2022-05-31T17:13:14.786Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-05-31T17:13:14.786Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.2.1-dev.1 [2022-05-31T17:13:14.786Z] - nexus3.edgexfoundry.org:10004/device-modbus:20ae4d4bf545de990beb7ae1865291efdf0a2142-2.2.1-dev.1 [2022-05-31T17:13:14.786Z] - 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-05-31T17:13:15.137Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-31T17:13:15.137Z] [2022-05-31T17:13:15.137Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:13:15.440Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-31T17:13:15.440Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-31T17:13:15.440Z] 5eb5b503b376: Pulling fs layer [2022-05-31T17:13:15.440Z] 5c69ac0246d0: Pulling fs layer [2022-05-31T17:13:15.440Z] ec43610c2a17: Pulling fs layer [2022-05-31T17:13:15.440Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-31T17:13:15.440Z] 33b1e0a273af: Pulling fs layer [2022-05-31T17:13:15.440Z] 5d3b04190fa2: Pulling fs layer [2022-05-31T17:13:15.440Z] 2f39f015ded8: Pulling fs layer [2022-05-31T17:13:15.440Z] 33b1e0a273af: Waiting [2022-05-31T17:13:15.440Z] 5d3b04190fa2: Waiting [2022-05-31T17:13:15.440Z] 2f39f015ded8: Waiting [2022-05-31T17:13:15.440Z] 3a2ae6a8a46f: Waiting [2022-05-31T17:13:15.440Z] 5c69ac0246d0: Verifying Checksum [2022-05-31T17:13:15.440Z] 5c69ac0246d0: Download complete [2022-05-31T17:13:15.440Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-31T17:13:15.440Z] 3a2ae6a8a46f: Download complete [2022-05-31T17:13:15.440Z] 33b1e0a273af: Verifying Checksum [2022-05-31T17:13:15.440Z] 33b1e0a273af: Download complete [2022-05-31T17:13:15.440Z] 5d3b04190fa2: Verifying Checksum [2022-05-31T17:13:15.440Z] 5d3b04190fa2: Download complete [2022-05-31T17:13:15.440Z] ec43610c2a17: Verifying Checksum [2022-05-31T17:13:15.711Z] 5eb5b503b376: Download complete [2022-05-31T17:13:16.279Z] 2f39f015ded8: Verifying Checksum [2022-05-31T17:13:16.279Z] 2f39f015ded8: Download complete [2022-05-31T17:13:17.215Z] 5eb5b503b376: Pull complete [2022-05-31T17:13:17.215Z] 5c69ac0246d0: Pull complete [2022-05-31T17:13:17.782Z] ec43610c2a17: Pull complete [2022-05-31T17:13:17.782Z] 3a2ae6a8a46f: Pull complete [2022-05-31T17:13:18.042Z] 33b1e0a273af: Pull complete [2022-05-31T17:13:18.042Z] 5d3b04190fa2: Pull complete [2022-05-31T17:13:22.233Z] 2f39f015ded8: Pull complete [2022-05-31T17:13:22.233Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-31T17:13:22.233Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-31T17:13:22.233Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:13:22.325Z] prd-ubuntu20.04-docker-8c-8g-489 does not seem to be running inside a container [2022-05-31T17:13:22.373Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-31T17:13:24.416Z] $ docker top ccf01d48ac6fd258a6f24331a6c5b3fb1bc4beb36368e78a7eac8f7c034035b5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:13:24.888Z] ---> job-cost.sh [2022-05-31T17:13:24.888Z] lf-activate-venv: SKIPPING [2022-05-31T17:13:24.888Z] INFO: No Stack... [2022-05-31T17:13:24.893Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-490 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2022-05-31T17:13:24.906Z] Running in /w/workspace/device-modbus-go/40 [Pipeline] { [Pipeline] checkout [2022-05-31T17:13:24.928Z] Selected Git installation does not exist. Using Default [2022-05-31T17:13:24.928Z] The recommended git tool is: NONE [2022-05-31T17:13:25.152Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-31T17:13:25.723Z] INFO: Archiving Costs [Pipeline] sh [2022-05-31T17:13:26.014Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2022-05-31T17:13:26.014Z] + cut -d, -f6 [Pipeline] lock [2022-05-31T17:13:26.026Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-40-stack-cost] [2022-05-31T17:13:26.032Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-40-stack-cost] did not exist. Created. [2022-05-31T17:13:26.032Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-40-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-31T17:13:26.329Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-31T17:13:26.360Z] Stashed 1 file(s) [Pipeline] } [2022-05-31T17:13:26.367Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-40-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-31T17:13:26.394Z] $ docker stop --time=1 ccf01d48ac6fd258a6f24331a6c5b3fb1bc4beb36368e78a7eac8f7c034035b5 [2022-05-31T17:13:27.632Z] $ docker rm -f ccf01d48ac6fd258a6f24331a6c5b3fb1bc4beb36368e78a7eac8f7c034035b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-31T17:13:29.812Z] using credential edgex-jenkins-ssh [2022-05-31T17:13:29.832Z] Cloning the remote Git repository [2022-05-31T17:13:29.886Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-05-31T17:13:31.115Z] Avoid second fetch [2022-05-31T17:13:31.116Z] Checking out Revision 20ae4d4bf545de990beb7ae1865291efdf0a2142 (main) [2022-05-31T17:13:29.987Z] > git init /w/workspace/device-modbus-go/40 # timeout=10 [2022-05-31T17:13:30.085Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-05-31T17:13:30.086Z] > git --version # timeout=10 [2022-05-31T17:13:30.108Z] > git --version # 'git version 2.25.1' [2022-05-31T17:13:30.110Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-31T17:13:30.182Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-31T17:13:31.085Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-05-31T17:13:31.101Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-31T17:13:31.146Z] > git config core.sparsecheckout # timeout=10 [2022-05-31T17:13:31.202Z] > git checkout -f 20ae4d4bf545de990beb7ae1865291efdf0a2142 # timeout=10 [2022-05-31T17:13:35.536Z] Commit message: "feat: Add go-winio to attribution (new SPIFFE dependency) (#348)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-31T17:13:36.456Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-31T17:13:36.456Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-31T17:13:36.456Z] Dload Upload Total Spent Left Speed [2022-05-31T17:13:36.456Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 49407 0 --:--:-- --:--:-- --:--:-- 49407 [Pipeline] sh [2022-05-31T17:13:37.168Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-31T17:13:37.517Z] + sudo tee /etc/docker/daemon.new [2022-05-31T17:13:37.517Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-31T17:13:37.517Z] { [2022-05-31T17:13:37.517Z] "registry-mirrors": [ [2022-05-31T17:13:37.517Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-31T17:13:37.517Z] ], [2022-05-31T17:13:37.517Z] "bip": "10.250.0.254/24", [2022-05-31T17:13:37.517Z] "hosts": [ [2022-05-31T17:13:37.517Z] "tcp://0.0.0.0:5555", [2022-05-31T17:13:37.517Z] "unix:///var/run/docker.sock" [2022-05-31T17:13:37.517Z] ], [2022-05-31T17:13:37.517Z] "mtu": 1458, [2022-05-31T17:13:37.517Z] "selinux-enabled": true, [2022-05-31T17:13:37.517Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-31T17:13:37.517Z] } [Pipeline] sh [2022-05-31T17:13:37.873Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-31T17:13:38.301Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-31T17:13:56.642Z] provisioning config files... [2022-05-31T17:13:56.667Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/40@tmp/config2934598246849537849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:13:57.029Z] ---> docker-login.sh [2022-05-31T17:13:57.029Z] nexus3.edgexfoundry.org:10001 [2022-05-31T17:13:57.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:13:57.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:13:57.903Z] Configure a credential helper to remove this warning. See [2022-05-31T17:13:57.903Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:13:57.903Z] [2022-05-31T17:13:57.903Z] Login Succeeded [2022-05-31T17:13:57.903Z] nexus3.edgexfoundry.org:10002 [2022-05-31T17:13:58.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:13:58.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:13:58.451Z] Configure a credential helper to remove this warning. See [2022-05-31T17:13:58.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:13:58.451Z] [2022-05-31T17:13:58.451Z] Login Succeeded [2022-05-31T17:13:58.451Z] nexus3.edgexfoundry.org:10003 [2022-05-31T17:13:58.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:13:58.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:13:58.730Z] Configure a credential helper to remove this warning. See [2022-05-31T17:13:58.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:13:58.730Z] [2022-05-31T17:13:58.730Z] Login Succeeded [2022-05-31T17:13:58.730Z] nexus3.edgexfoundry.org:10004 [2022-05-31T17:13:59.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:13:59.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:13:59.335Z] Configure a credential helper to remove this warning. See [2022-05-31T17:13:59.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:13:59.335Z] [2022-05-31T17:13:59.335Z] Login Succeeded [2022-05-31T17:13:59.335Z] docker.io [2022-05-31T17:13:59.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:13:59.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:13:59.892Z] Configure a credential helper to remove this warning. See [2022-05-31T17:13:59.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:13:59.892Z] [2022-05-31T17:13:59.892Z] Login Succeeded [2022-05-31T17:13:59.892Z] ---> docker-login.sh ends [Pipeline] } [2022-05-31T17:13:59.911Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-31T17:14:00.470Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-31T17:14:00.480Z] ========================================================= [2022-05-31T17:14:00.480Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-31T17:14:00.480Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:14:00.864Z] + 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-05-31T17:14:01.151Z] Sending build context to Docker daemon 3.047MB [2022-05-31T17:14:01.151Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-05-31T17:14:01.151Z] Step 2/10 : FROM ${BASE} AS builder [2022-05-31T17:14:01.428Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-31T17:14:01.428Z] 9b3977197b4f: Pulling fs layer [2022-05-31T17:14:01.428Z] 1a89e8eeedd5: Pulling fs layer [2022-05-31T17:14:01.428Z] 94645a83ff95: Pulling fs layer [2022-05-31T17:14:01.428Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-31T17:14:01.428Z] 0c92f367c5e7: Pulling fs layer [2022-05-31T17:14:01.428Z] 3096ccb668a1: Pulling fs layer [2022-05-31T17:14:01.428Z] e8cf19c19ddd: Pulling fs layer [2022-05-31T17:14:01.428Z] a4caa8a26152: Pulling fs layer [2022-05-31T17:14:01.428Z] 0c92f367c5e7: Waiting [2022-05-31T17:14:01.428Z] 3096ccb668a1: Waiting [2022-05-31T17:14:01.428Z] e8cf19c19ddd: Waiting [2022-05-31T17:14:01.428Z] a4caa8a26152: Waiting [2022-05-31T17:14:01.428Z] 3f3a8bcf1eab: Waiting [2022-05-31T17:14:01.428Z] 94645a83ff95: Verifying Checksum [2022-05-31T17:14:01.428Z] 94645a83ff95: Download complete [2022-05-31T17:14:01.428Z] 1a89e8eeedd5: Download complete [2022-05-31T17:14:01.428Z] 0c92f367c5e7: Verifying Checksum [2022-05-31T17:14:01.428Z] 0c92f367c5e7: Download complete [2022-05-31T17:14:01.428Z] 3096ccb668a1: Verifying Checksum [2022-05-31T17:14:01.428Z] 3096ccb668a1: Download complete [2022-05-31T17:14:01.428Z] 9b3977197b4f: Verifying Checksum [2022-05-31T17:14:01.428Z] 9b3977197b4f: Download complete [2022-05-31T17:14:01.428Z] e8cf19c19ddd: Verifying Checksum [2022-05-31T17:14:01.428Z] e8cf19c19ddd: Download complete [2022-05-31T17:14:02.431Z] 9b3977197b4f: Pull complete [2022-05-31T17:14:03.034Z] 1a89e8eeedd5: Pull complete [2022-05-31T17:14:03.314Z] 94645a83ff95: Pull complete [2022-05-31T17:14:03.589Z] a4caa8a26152: Verifying Checksum [2022-05-31T17:14:03.589Z] a4caa8a26152: Download complete [2022-05-31T17:14:04.188Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-31T17:14:04.188Z] 3f3a8bcf1eab: Download complete [2022-05-31T17:14:16.603Z] 3f3a8bcf1eab: Pull complete [2022-05-31T17:14:16.603Z] 0c92f367c5e7: Pull complete [2022-05-31T17:14:16.879Z] 3096ccb668a1: Pull complete [2022-05-31T17:14:17.152Z] e8cf19c19ddd: Pull complete [2022-05-31T17:14:23.878Z] a4caa8a26152: Pull complete [2022-05-31T17:14:23.878Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-31T17:14:23.878Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-31T17:14:23.878Z] ---> 725f1c02e7f9 [2022-05-31T17:14:23.878Z] Step 3/10 : ARG MAKE='make build' [2022-05-31T17:14:25.314Z] ---> Running in 64dded615754 [2022-05-31T17:14:25.586Z] Removing intermediate container 64dded615754 [2022-05-31T17:14:25.586Z] ---> 799359a528c0 [2022-05-31T17:14:25.586Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-31T17:14:25.586Z] ---> Running in 16cce328b70c [2022-05-31T17:14:27.565Z] Removing intermediate container 16cce328b70c [2022-05-31T17:14:27.565Z] ---> 1462f5ea9574 [2022-05-31T17:14:27.565Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-31T17:14:27.565Z] ---> Running in 8dfa65157602 [2022-05-31T17:14:28.543Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-31T17:14:29.135Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-31T17:14:30.115Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-05-31T17:14:30.115Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-05-31T17:14:30.388Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-05-31T17:14:30.388Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-05-31T17:14:30.664Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-05-31T17:14:30.664Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-05-31T17:14:30.664Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-05-31T17:14:30.939Z] (8/8) Installing openssh (8.8_p1-r1) [2022-05-31T17:14:30.939Z] Executing busybox-1.34.1-r3.trigger [2022-05-31T17:14:30.939Z] OK: 226 MiB in 60 packages [2022-05-31T17:14:31.947Z] Removing intermediate container 8dfa65157602 [2022-05-31T17:14:31.947Z] ---> 7a9437e0772e [2022-05-31T17:14:31.947Z] Step 6/10 : WORKDIR /device-modbus-go [2022-05-31T17:14:31.947Z] ---> Running in 2d77e7fcab14 [2022-05-31T17:14:32.552Z] Removing intermediate container 2d77e7fcab14 [2022-05-31T17:14:32.552Z] ---> e6a7fe656068 [2022-05-31T17:14:32.552Z] Step 7/10 : COPY go.mod vendor* ./ [2022-05-31T17:14:32.827Z] ---> 51be15bb70ca [2022-05-31T17:14:32.827Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-31T17:14:33.108Z] ---> Running in c84a507e197e [2022-05-31T17:15:20.116Z] Removing intermediate container c84a507e197e [2022-05-31T17:15:20.116Z] ---> 6f98627e1340 [2022-05-31T17:15:20.116Z] Step 9/10 : COPY . . [2022-05-31T17:15:20.116Z] ---> cacd2f215a2d [2022-05-31T17:15:20.116Z] Step 10/10 : RUN ${MAKE} [2022-05-31T17:15:20.116Z] ---> Running in 5759ee06292d [2022-05-31T17:15:20.116Z] noop [2022-05-31T17:15:20.402Z] Removing intermediate container 5759ee06292d [2022-05-31T17:15:20.402Z] ---> 37e10d0be08a [2022-05-31T17:15:20.402Z] Successfully built 37e10d0be08a [2022-05-31T17:15:20.402Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:15:20.768Z] + docker inspect -f . ci-base-image-arm64 [2022-05-31T17:15:20.768Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:15:21.018Z] prd-ubuntu20.04-docker-arm64-4c-16g-490 does not seem to be running inside a container [2022-05-31T17:15:21.116Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/40 -v /w/workspace/device-modbus-go/40:/w/workspace/device-modbus-go/40:rw,z -v /w/workspace/device-modbus-go/40@tmp:/w/workspace/device-modbus-go/40@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-31T17:15:22.386Z] $ docker top 9862929b1d23daa53a78c7f1912770b7c074cde7887e42663944ad245543ad4c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-31T17:15:23.296Z] + go version [2022-05-31T17:15:23.296Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-31T17:15:23.324Z] $ docker stop --time=1 9862929b1d23daa53a78c7f1912770b7c074cde7887e42663944ad245543ad4c [2022-05-31T17:15:24.963Z] $ docker rm -f 9862929b1d23daa53a78c7f1912770b7c074cde7887e42663944ad245543ad4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:15:25.565Z] + docker inspect -f . ci-base-image-arm64 [2022-05-31T17:15:25.565Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:15:25.807Z] prd-ubuntu20.04-docker-arm64-4c-16g-490 does not seem to be running inside a container [2022-05-31T17:15:25.906Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/40 -v /w/workspace/device-modbus-go/40:/w/workspace/device-modbus-go/40:rw,z -v /w/workspace/device-modbus-go/40@tmp:/w/workspace/device-modbus-go/40@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-31T17:15:27.175Z] $ docker top f8fb0d1b6f7e9d6f4ddd2310495fe17b668e385178f85e67e35f4aac18ee76ba -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-31T17:15:28.093Z] + make test [2022-05-31T17:15:28.094Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-31T17:15:30.094Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-05-31T17:17:06.991Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-05-31T17:17:06.991Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.080s coverage: 46.4% of statements [2022-05-31T17:17:06.991Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-31T17:17:06.991Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-31T17:17:22.099Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-31T17:17:22.099Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-31T17:17:22.099Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-31T17:17:23.098Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-31T17:17:23.119Z] $ docker stop --time=1 f8fb0d1b6f7e9d6f4ddd2310495fe17b668e385178f85e67e35f4aac18ee76ba [2022-05-31T17:17:24.908Z] $ docker rm -f f8fb0d1b6f7e9d6f4ddd2310495fe17b668e385178f85e67e35f4aac18ee76ba [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-31T17:17:25.848Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-31T17:17:25.878Z] Warning: overwriting stash ‘coverage-report’ [2022-05-31T17:17:26.327Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-31T17:17:26.724Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-31T17:17:27.057Z] + ls -al . [2022-05-31T17:17:27.057Z] total 180 [2022-05-31T17:17:27.057Z] drwxrwxr-x 9 jenkins jenkins 4096 May 31 17:17 . [2022-05-31T17:17:27.057Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 17:13 .. [2022-05-31T17:17:27.057Z] -rw-rw-r-- 1 jenkins jenkins 140 May 31 17:13 .dockerignore [2022-05-31T17:17:27.057Z] drwxrwxr-x 8 jenkins jenkins 4096 May 31 17:13 .git [2022-05-31T17:17:27.057Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 17:13 .github [2022-05-31T17:17:27.057Z] -rw-rw-r-- 1 jenkins jenkins 331 May 31 17:13 .gitignore [2022-05-31T17:17:27.057Z] -rw-rw-r-- 1 jenkins jenkins 41 May 31 17:13 .golangci.yml [2022-05-31T17:17:27.057Z] -rw-rw-r-- 1 jenkins jenkins 9510 May 31 17:13 Attribution.txt [2022-05-31T17:17:27.057Z] -rw-rw-r-- 1 jenkins jenkins 10001 May 31 17:13 CHANGELOG.md [2022-05-31T17:17:27.057Z] -rw-rw-r-- 1 jenkins jenkins 1546 May 31 17:13 Dockerfile [2022-05-31T17:17:27.057Z] -rw-rw-r-- 1 jenkins jenkins 677 May 31 17:13 GOVERNANCE.md [2022-05-31T17:17:27.057Z] -rw-rw-r-- 1 jenkins jenkins 680 May 31 17:13 Jenkinsfile [2022-05-31T17:17:27.057Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 31 17:13 LICENSE [2022-05-31T17:17:27.057Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 31 17:13 Makefile [2022-05-31T17:17:27.057Z] -rw-rw-r-- 1 jenkins jenkins 622 May 31 17:13 OWNERS.md [2022-05-31T17:17:27.057Z] -rw-rw-r-- 1 jenkins jenkins 3397 May 31 17:13 README.md [2022-05-31T17:17:27.057Z] -rw-rw-r-- 1 jenkins jenkins 11 May 31 17:11 VERSION [2022-05-31T17:17:27.057Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 17:13 bin [2022-05-31T17:17:27.057Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 17:13 cmd [2022-05-31T17:17:27.057Z] -rw-r--r-- 1 jenkins jenkins 24065 May 31 17:16 coverage.out [2022-05-31T17:17:27.057Z] -rw-rw-r-- 1 jenkins jenkins 3353 May 31 17:13 go.mod [2022-05-31T17:17:27.057Z] -rw-rw-r-- 1 jenkins jenkins 34983 May 31 17:13 go.sum [2022-05-31T17:17:27.057Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 17:13 internal [2022-05-31T17:17:27.057Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 17:13 simulator [2022-05-31T17:17:27.057Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 17:13 snap [2022-05-31T17:17:27.057Z] -rw-rw-r-- 1 jenkins jenkins 229 May 31 17:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:17:27.424Z] + 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=20ae4d4bf545de990beb7ae1865291efdf0a2142 --label arch=arm64 --label version=2.2.1-dev.1 . [2022-05-31T17:17:27.702Z] Sending build context to Docker daemon 3.072MB [2022-05-31T17:17:27.702Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-05-31T17:17:27.702Z] Step 2/23 : FROM ${BASE} AS builder [2022-05-31T17:17:27.702Z] ---> 37e10d0be08a [2022-05-31T17:17:27.702Z] Step 3/23 : ARG MAKE='make build' [2022-05-31T17:17:27.980Z] ---> Running in 149a99e2e7cf [2022-05-31T17:17:28.253Z] Removing intermediate container 149a99e2e7cf [2022-05-31T17:17:28.253Z] ---> b74191847add [2022-05-31T17:17:28.253Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-31T17:17:28.253Z] ---> Running in 7931d57ae7a2 [2022-05-31T17:17:29.694Z] Removing intermediate container 7931d57ae7a2 [2022-05-31T17:17:29.694Z] ---> 6eba98a70488 [2022-05-31T17:17:29.694Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-31T17:17:29.694Z] ---> Running in 2910c21f5d81 [2022-05-31T17:17:30.673Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-31T17:17:31.648Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-31T17:17:32.663Z] OK: 226 MiB in 60 packages [2022-05-31T17:17:33.299Z] Removing intermediate container 2910c21f5d81 [2022-05-31T17:17:33.299Z] ---> 2ff3a23d1fe6 [2022-05-31T17:17:33.299Z] Step 6/23 : WORKDIR /device-modbus-go [2022-05-31T17:17:33.299Z] ---> Running in d3e8c0ff10d0 [2022-05-31T17:17:33.955Z] Removing intermediate container d3e8c0ff10d0 [2022-05-31T17:17:33.955Z] ---> 342d5865ab7e [2022-05-31T17:17:33.955Z] Step 7/23 : COPY go.mod vendor* ./ [2022-05-31T17:17:34.240Z] ---> 0880e8ad6874 [2022-05-31T17:17:34.240Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-31T17:17:34.526Z] ---> Running in b3d87e7f2a9b [2022-05-31T17:17:36.501Z] Removing intermediate container b3d87e7f2a9b [2022-05-31T17:17:36.501Z] ---> 386024d9209e [2022-05-31T17:17:36.501Z] Step 9/23 : COPY . . [2022-05-31T17:17:37.102Z] ---> d8c598e0c4ea [2022-05-31T17:17:37.102Z] Step 10/23 : RUN ${MAKE} [2022-05-31T17:17:37.102Z] ---> Running in 667124fc8d00 [2022-05-31T17:17:39.732Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-05-31T17:19:46.629Z] Removing intermediate container 667124fc8d00 [2022-05-31T17:19:46.629Z] ---> 43ca3220525a [2022-05-31T17:19:46.629Z] Step 11/23 : FROM alpine:3.14 [2022-05-31T17:19:46.629Z] 3.14: Pulling from library/alpine [2022-05-31T17:19:46.629Z] 455c02918c45: Pulling fs layer [2022-05-31T17:19:46.629Z] 455c02918c45: Verifying Checksum [2022-05-31T17:19:46.629Z] 455c02918c45: Pull complete [2022-05-31T17:19:46.629Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-31T17:19:46.629Z] Status: Downloaded newer image for alpine:3.14 [2022-05-31T17:19:46.629Z] ---> ac73e934f311 [2022-05-31T17:19:46.629Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-05-31T17:19:46.629Z] ---> Running in bcfcab34348c [2022-05-31T17:19:46.629Z] Removing intermediate container bcfcab34348c [2022-05-31T17:19:46.629Z] ---> 03253c4ebc71 [2022-05-31T17:19:46.629Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-31T17:19:46.629Z] ---> Running in 9fdfc5713b56 [2022-05-31T17:19:46.629Z] Removing intermediate container 9fdfc5713b56 [2022-05-31T17:19:46.629Z] ---> 248d94c48d55 [2022-05-31T17:19:46.629Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-31T17:19:46.629Z] ---> Running in 4795e69d4ba7 [2022-05-31T17:19:46.629Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-31T17:19:46.629Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-31T17:19:46.629Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-31T17:19:46.629Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-31T17:19:46.629Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-31T17:19:46.629Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-31T17:19:46.629Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-31T17:19:46.629Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-31T17:19:46.629Z] Executing busybox-1.33.1-r7.trigger [2022-05-31T17:19:46.629Z] OK: 8 MiB in 20 packages [2022-05-31T17:19:46.629Z] Removing intermediate container 4795e69d4ba7 [2022-05-31T17:19:46.629Z] ---> 6e47be759f79 [2022-05-31T17:19:46.629Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-05-31T17:19:46.629Z] ---> 81324a5521b2 [2022-05-31T17:19:46.629Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-05-31T17:19:46.629Z] ---> 78c2fcea064b [2022-05-31T17:19:46.629Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-05-31T17:19:46.629Z] ---> 3a5818e664da [2022-05-31T17:19:46.629Z] Step 18/23 : EXPOSE 59901 [2022-05-31T17:19:46.629Z] ---> Running in 0ad225e4452d [2022-05-31T17:19:46.629Z] Removing intermediate container 0ad225e4452d [2022-05-31T17:19:46.629Z] ---> de9d7ce644af [2022-05-31T17:19:46.629Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-05-31T17:19:46.629Z] ---> Running in 394010fdb156 [2022-05-31T17:19:46.629Z] Removing intermediate container 394010fdb156 [2022-05-31T17:19:46.629Z] ---> 429508fc0c71 [2022-05-31T17:19:46.629Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-31T17:19:46.629Z] ---> Running in 922993bd278d [2022-05-31T17:19:46.629Z] Removing intermediate container 922993bd278d [2022-05-31T17:19:46.629Z] ---> 0fd4eb8e63d7 [2022-05-31T17:19:46.629Z] Step 21/23 : LABEL arch=arm64 [2022-05-31T17:19:46.629Z] ---> Running in ed412648dbc6 [2022-05-31T17:19:46.629Z] Removing intermediate container ed412648dbc6 [2022-05-31T17:19:46.629Z] ---> 5632627728ff [2022-05-31T17:19:46.629Z] Step 22/23 : LABEL git_sha=20ae4d4bf545de990beb7ae1865291efdf0a2142 [2022-05-31T17:19:46.629Z] ---> Running in 8989eecedd6b [2022-05-31T17:19:46.629Z] Removing intermediate container 8989eecedd6b [2022-05-31T17:19:46.629Z] ---> 434b2d43844a [2022-05-31T17:19:46.629Z] Step 23/23 : LABEL version=2.2.1-dev.1 [2022-05-31T17:19:46.629Z] ---> Running in 59a7f4102d32 [2022-05-31T17:19:46.629Z] Removing intermediate container 59a7f4102d32 [2022-05-31T17:19:46.629Z] ---> e2a7766fa7cc [2022-05-31T17:19:46.629Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-31T17:19:46.629Z] Successfully built e2a7766fa7cc [2022-05-31T17:19:46.629Z] 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-05-31T17:19:46.743Z] provisioning config files... [2022-05-31T17:19:46.762Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/40@tmp/config356957710184700996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:19:47.217Z] ---> docker-login.sh [2022-05-31T17:19:47.217Z] nexus3.edgexfoundry.org:10001 [2022-05-31T17:19:47.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:19:47.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:19:47.489Z] Configure a credential helper to remove this warning. See [2022-05-31T17:19:47.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:19:47.489Z] [2022-05-31T17:19:47.489Z] Login Succeeded [2022-05-31T17:19:47.489Z] nexus3.edgexfoundry.org:10002 [2022-05-31T17:19:48.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:19:48.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:19:48.087Z] Configure a credential helper to remove this warning. See [2022-05-31T17:19:48.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:19:48.087Z] [2022-05-31T17:19:48.087Z] Login Succeeded [2022-05-31T17:19:48.087Z] nexus3.edgexfoundry.org:10003 [2022-05-31T17:19:48.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:19:48.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:19:48.634Z] Configure a credential helper to remove this warning. See [2022-05-31T17:19:48.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:19:48.634Z] [2022-05-31T17:19:48.634Z] Login Succeeded [2022-05-31T17:19:48.634Z] nexus3.edgexfoundry.org:10004 [2022-05-31T17:19:48.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:19:49.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:19:49.824Z] Configure a credential helper to remove this warning. See [2022-05-31T17:19:49.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:19:49.824Z] [2022-05-31T17:19:49.824Z] Login Succeeded [2022-05-31T17:19:49.824Z] docker.io [2022-05-31T17:19:49.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:19:49.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:19:49.824Z] Configure a credential helper to remove this warning. See [2022-05-31T17:19:49.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:19:49.824Z] [2022-05-31T17:19:49.824Z] Login Succeeded [2022-05-31T17:19:49.824Z] ---> docker-login.sh ends [Pipeline] } [2022-05-31T17:19:49.840Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-31T17:19:49.872Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-31T17:19:49.892Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2022-05-31T17:19:49.892Z] 20ae4d4bf545de990beb7ae1865291efdf0a2142 [2022-05-31T17:19:49.892Z] latest [2022-05-31T17:19:49.892Z] 2.2.1-dev.1 [2022-05-31T17:19:49.892Z] 20ae4d4bf545de990beb7ae1865291efdf0a2142-2.2.1-dev.1 [2022-05-31T17:19:49.892Z] main [2022-05-31T17:19:49.892Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:19:50.254Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:20ae4d4bf545de990beb7ae1865291efdf0a2142 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:19:50.615Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:20ae4d4bf545de990beb7ae1865291efdf0a2142 [2022-05-31T17:19:50.615Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-31T17:19:50.615Z] 0b706b563948: Preparing [2022-05-31T17:19:50.615Z] f6cbb97b6ea9: Preparing [2022-05-31T17:19:50.615Z] d7e62460a0ce: Preparing [2022-05-31T17:19:50.615Z] 91e93a60e096: Preparing [2022-05-31T17:19:50.615Z] fbbe63bff640: Preparing [2022-05-31T17:19:50.615Z] f73e7dbfee58: Preparing [2022-05-31T17:19:50.615Z] f73e7dbfee58: Waiting [2022-05-31T17:19:50.889Z] fbbe63bff640: Pushed [2022-05-31T17:19:50.889Z] f6cbb97b6ea9: Pushed [2022-05-31T17:19:50.889Z] 0b706b563948: Pushed [2022-05-31T17:19:50.889Z] f73e7dbfee58: Layer already exists [2022-05-31T17:19:51.484Z] 91e93a60e096: Pushed [2022-05-31T17:19:58.181Z] d7e62460a0ce: Pushed [2022-05-31T17:19:58.181Z] 20ae4d4bf545de990beb7ae1865291efdf0a2142: digest: sha256:116005bfaa6ab64eaf8da80105249d84d4f2968ed57dd8319398f7e2733d3d97 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:19:58.545Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:19:58.903Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-05-31T17:19:58.903Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-31T17:19:58.903Z] 0b706b563948: Preparing [2022-05-31T17:19:58.903Z] f6cbb97b6ea9: Preparing [2022-05-31T17:19:58.903Z] d7e62460a0ce: Preparing [2022-05-31T17:19:58.903Z] 91e93a60e096: Preparing [2022-05-31T17:19:58.903Z] fbbe63bff640: Preparing [2022-05-31T17:19:58.903Z] f73e7dbfee58: Preparing [2022-05-31T17:19:58.903Z] f73e7dbfee58: Waiting [2022-05-31T17:19:58.903Z] 0b706b563948: Layer already exists [2022-05-31T17:19:58.903Z] fbbe63bff640: Layer already exists [2022-05-31T17:19:58.903Z] f6cbb97b6ea9: Layer already exists [2022-05-31T17:19:58.903Z] 91e93a60e096: Layer already exists [2022-05-31T17:19:58.903Z] d7e62460a0ce: Layer already exists [2022-05-31T17:19:58.903Z] f73e7dbfee58: Layer already exists [2022-05-31T17:19:59.176Z] latest: digest: sha256:116005bfaa6ab64eaf8da80105249d84d4f2968ed57dd8319398f7e2733d3d97 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:19:59.543Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:19:59.907Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.1-dev.1 [2022-05-31T17:19:59.907Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-31T17:19:59.907Z] 0b706b563948: Preparing [2022-05-31T17:19:59.907Z] f6cbb97b6ea9: Preparing [2022-05-31T17:19:59.907Z] d7e62460a0ce: Preparing [2022-05-31T17:19:59.907Z] 91e93a60e096: Preparing [2022-05-31T17:19:59.907Z] fbbe63bff640: Preparing [2022-05-31T17:19:59.907Z] f73e7dbfee58: Preparing [2022-05-31T17:19:59.907Z] f73e7dbfee58: Waiting [2022-05-31T17:19:59.907Z] 0b706b563948: Layer already exists [2022-05-31T17:19:59.907Z] f6cbb97b6ea9: Layer already exists [2022-05-31T17:19:59.907Z] d7e62460a0ce: Layer already exists [2022-05-31T17:19:59.907Z] 91e93a60e096: Layer already exists [2022-05-31T17:19:59.907Z] fbbe63bff640: Layer already exists [2022-05-31T17:19:59.907Z] f73e7dbfee58: Layer already exists [2022-05-31T17:20:00.182Z] 2.2.1-dev.1: digest: sha256:116005bfaa6ab64eaf8da80105249d84d4f2968ed57dd8319398f7e2733d3d97 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:20:00.547Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:20ae4d4bf545de990beb7ae1865291efdf0a2142-2.2.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:20:00.909Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:20ae4d4bf545de990beb7ae1865291efdf0a2142-2.2.1-dev.1 [2022-05-31T17:20:00.909Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-31T17:20:00.909Z] 0b706b563948: Preparing [2022-05-31T17:20:00.909Z] f6cbb97b6ea9: Preparing [2022-05-31T17:20:00.909Z] d7e62460a0ce: Preparing [2022-05-31T17:20:00.909Z] 91e93a60e096: Preparing [2022-05-31T17:20:00.909Z] fbbe63bff640: Preparing [2022-05-31T17:20:00.909Z] f73e7dbfee58: Preparing [2022-05-31T17:20:00.909Z] f73e7dbfee58: Waiting [2022-05-31T17:20:00.909Z] fbbe63bff640: Layer already exists [2022-05-31T17:20:00.909Z] f6cbb97b6ea9: Layer already exists [2022-05-31T17:20:00.909Z] 91e93a60e096: Layer already exists [2022-05-31T17:20:00.909Z] d7e62460a0ce: Layer already exists [2022-05-31T17:20:00.909Z] 0b706b563948: Layer already exists [2022-05-31T17:20:01.180Z] f73e7dbfee58: Layer already exists [2022-05-31T17:20:01.180Z] 20ae4d4bf545de990beb7ae1865291efdf0a2142-2.2.1-dev.1: digest: sha256:116005bfaa6ab64eaf8da80105249d84d4f2968ed57dd8319398f7e2733d3d97 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:20:01.536Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:20:01.900Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2022-05-31T17:20:01.900Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-05-31T17:20:01.900Z] 0b706b563948: Preparing [2022-05-31T17:20:01.900Z] f6cbb97b6ea9: Preparing [2022-05-31T17:20:01.900Z] d7e62460a0ce: Preparing [2022-05-31T17:20:01.900Z] 91e93a60e096: Preparing [2022-05-31T17:20:01.900Z] fbbe63bff640: Preparing [2022-05-31T17:20:01.900Z] f73e7dbfee58: Preparing [2022-05-31T17:20:01.900Z] f73e7dbfee58: Waiting [2022-05-31T17:20:01.900Z] fbbe63bff640: Layer already exists [2022-05-31T17:20:01.900Z] f6cbb97b6ea9: Layer already exists [2022-05-31T17:20:01.900Z] 91e93a60e096: Layer already exists [2022-05-31T17:20:01.900Z] d7e62460a0ce: Layer already exists [2022-05-31T17:20:01.900Z] 0b706b563948: Layer already exists [2022-05-31T17:20:01.900Z] f73e7dbfee58: Layer already exists [2022-05-31T17:20:02.170Z] main: digest: sha256:116005bfaa6ab64eaf8da80105249d84d4f2968ed57dd8319398f7e2733d3d97 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-31T17:20:02.229Z] ===================================================== [Pipeline] echo [2022-05-31T17:20:02.242Z] taggedImages: [2022-05-31T17:20:02.242Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:20ae4d4bf545de990beb7ae1865291efdf0a2142 [2022-05-31T17:20:02.242Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-05-31T17:20:02.242Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.1-dev.1 [2022-05-31T17:20:02.242Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:20ae4d4bf545de990beb7ae1865291efdf0a2142-2.2.1-dev.1 [2022-05-31T17:20:02.242Z] - 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-05-31T17:20:02.612Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-31T17:20:02.612Z] [2022-05-31T17:20:02.612Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:20:02.965Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-31T17:20:03.237Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-31T17:20:03.237Z] 8998bd30e6a1: Pulling fs layer [2022-05-31T17:20:03.237Z] 04944245beec: Pulling fs layer [2022-05-31T17:20:03.237Z] 699f458cf7ca: Pulling fs layer [2022-05-31T17:20:03.237Z] 765212b225bb: Pulling fs layer [2022-05-31T17:20:03.237Z] f23df028b6ca: Pulling fs layer [2022-05-31T17:20:03.237Z] d65c8cfc05b1: Pulling fs layer [2022-05-31T17:20:03.237Z] 2437ff75d9bd: Pulling fs layer [2022-05-31T17:20:03.238Z] f23df028b6ca: Waiting [2022-05-31T17:20:03.238Z] d65c8cfc05b1: Waiting [2022-05-31T17:20:03.238Z] 765212b225bb: Waiting [2022-05-31T17:20:03.238Z] 2437ff75d9bd: Waiting [2022-05-31T17:20:03.238Z] 04944245beec: Verifying Checksum [2022-05-31T17:20:03.238Z] 04944245beec: Download complete [2022-05-31T17:20:03.238Z] 765212b225bb: Verifying Checksum [2022-05-31T17:20:03.238Z] 765212b225bb: Download complete [2022-05-31T17:20:03.238Z] f23df028b6ca: Download complete [2022-05-31T17:20:03.238Z] d65c8cfc05b1: Verifying Checksum [2022-05-31T17:20:03.238Z] d65c8cfc05b1: Download complete [2022-05-31T17:20:03.514Z] 699f458cf7ca: Verifying Checksum [2022-05-31T17:20:03.514Z] 699f458cf7ca: Download complete [2022-05-31T17:20:03.789Z] 8998bd30e6a1: Verifying Checksum [2022-05-31T17:20:03.789Z] 8998bd30e6a1: Download complete [2022-05-31T17:20:06.410Z] 2437ff75d9bd: Verifying Checksum [2022-05-31T17:20:06.410Z] 2437ff75d9bd: Download complete [2022-05-31T17:20:08.387Z] 8998bd30e6a1: Pull complete [2022-05-31T17:20:08.662Z] 04944245beec: Pull complete [2022-05-31T17:20:10.096Z] 699f458cf7ca: Pull complete [2022-05-31T17:20:10.096Z] 765212b225bb: Pull complete [2022-05-31T17:20:11.087Z] f23df028b6ca: Pull complete [2022-05-31T17:20:11.360Z] d65c8cfc05b1: Pull complete [2022-05-31T17:20:26.489Z] 2437ff75d9bd: Pull complete [2022-05-31T17:20:26.489Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-31T17:20:26.489Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-31T17:20:26.489Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:20:26.734Z] prd-ubuntu20.04-docker-arm64-4c-16g-490 does not seem to be running inside a container [2022-05-31T17:20:26.820Z] $ 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/40 -v /w/workspace/device-modbus-go/40:/w/workspace/device-modbus-go/40:rw,z -v /w/workspace/device-modbus-go/40@tmp:/w/workspace/device-modbus-go/40@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:arm64 cat [2022-05-31T17:20:29.423Z] $ docker top b79805c3cc238f0a8066aca4bbc217efdcdb11d4561269c25a338398233628f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:20:30.349Z] ---> job-cost.sh [2022-05-31T17:20:30.349Z] lf-activate-venv: SKIPPING [2022-05-31T17:20:30.349Z] INFO: No Stack... [2022-05-31T17:20:30.949Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-31T17:20:31.542Z] INFO: Archiving Costs [Pipeline] sh [2022-05-31T17:20:32.199Z] + cat /w/workspace/device-modbus-go/40/archives/cost.csv [2022-05-31T17:20:32.199Z] + cut -d, -f6 [Pipeline] lock [2022-05-31T17:20:32.259Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-40-stack-cost] [2022-05-31T17:20:32.266Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-40-stack-cost] did not exist. Created. [2022-05-31T17:20:32.266Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-40-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-31T17:20:32.940Z] /w/workspace/device-modbus-go/40@tmp/durable-20499fd8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-31T17:20:33.616Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-31T17:20:33.638Z] Warning: overwriting stash ‘stack-cost’ [2022-05-31T17:20:33.686Z] Stashed 1 file(s) [Pipeline] } [2022-05-31T17:20:33.695Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-40-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-31T17:20:33.717Z] $ docker stop --time=1 b79805c3cc238f0a8066aca4bbc217efdcdb11d4561269c25a338398233628f5 [2022-05-31T17:20:35.230Z] $ docker rm -f b79805c3cc238f0a8066aca4bbc217efdcdb11d4561269c25a338398233628f5 [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-05-31T17:20:35.656Z] provisioning config files... [2022-05-31T17:20:35.665Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5147860704498813318tmp [Pipeline] { [Pipeline] sh [2022-05-31T17:20:35.958Z] + set +x [2022-05-31T17:20:35.958Z] + curl -s https://codecov.io/bash [2022-05-31T17:20:35.958Z] + bash -s -- [2022-05-31T17:20:35.958Z] [2022-05-31T17:20:35.958Z] _____ _ [2022-05-31T17:20:35.958Z] / ____| | | [2022-05-31T17:20:35.958Z] | | ___ __| | ___ ___ _____ __ [2022-05-31T17:20:35.958Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-31T17:20:35.958Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-31T17:20:35.958Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-31T17:20:35.958Z] Bash-1.0.6 [2022-05-31T17:20:35.958Z] [2022-05-31T17:20:35.958Z] [2022-05-31T17:20:35.958Z] ==> git version 2.25.1 found [2022-05-31T17:20:35.958Z] ==> 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-05-31T17:20:35.958Z] Release-Date: 2020-01-08 [2022-05-31T17:20:35.958Z] 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-05-31T17:20:35.958Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-31T17:20:35.958Z] ==> Jenkins CI detected. [2022-05-31T17:20:35.958Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2022-05-31T17:20:35.958Z] project root: . [2022-05-31T17:20:35.958Z] --> token set from env [2022-05-31T17:20:35.958Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-31T17:20:35.958Z] ==> Running gcov in . (disable via -X gcov) [2022-05-31T17:20:35.958Z] ==> Python coveragepy not found [2022-05-31T17:20:35.958Z] ==> Searching for coverage reports in: [2022-05-31T17:20:35.958Z] + . [2022-05-31T17:20:35.958Z] -> Found 1 reports [2022-05-31T17:20:35.958Z] ==> Detecting git/mercurial file structure [2022-05-31T17:20:35.958Z] ==> Reading reports [2022-05-31T17:20:35.958Z] + ./coverage.out bytes=24065 [2022-05-31T17:20:35.958Z] ==> Appending adjustments [2022-05-31T17:20:35.958Z] https://docs.codecov.io/docs/fixing-reports [2022-05-31T17:20:36.218Z] + Found adjustments [2022-05-31T17:20:36.218Z] ==> Gzipping contents [2022-05-31T17:20:36.218Z] 4.0K /tmp/codecov.URM7GQ.gz [2022-05-31T17:20:36.218Z] ==> Uploading reports [2022-05-31T17:20:36.218Z] url: https://codecov.io [2022-05-31T17:20:36.218Z] query: branch=main&commit=20ae4d4bf545de990beb7ae1865291efdf0a2142&build=40&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F40%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-31T17:20:36.218Z] -> Pinging Codecov [2022-05-31T17:20:36.218Z] 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=20ae4d4bf545de990beb7ae1865291efdf0a2142&build=40&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F40%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-31T17:20:36.478Z] -> Uploading to [2022-05-31T17:20:36.478Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-31/55DBCA73C666E3227836607328DD7E49/20ae4d4bf545de990beb7ae1865291efdf0a2142/ff845daa-2d70-4995-b01e-75671a893e0b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220531%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220531T172036Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d7de3e58d768c9948f136aec9492290650c57c317d91b78b567d220df27b3883 [2022-05-31T17:20:36.478Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-31T17:20:36.478Z] Dload Upload Total Spent Left Speed [2022-05-31T17:20:36.738Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4011 0 0 100 4011 0 18231 --:--:-- --:--:-- --:--:-- 18149 100 4011 0 0 100 4011 0 17288 --:--:-- --:--:-- --:--:-- 17214 [2022-05-31T17:20:36.738Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/20ae4d4bf545de990beb7ae1865291efdf0a2142 [Pipeline] } [2022-05-31T17:20:36.747Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-31T17:20:36.894Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-31T17:20:36.904Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:20:37.201Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-31T17:20:37.201Z] [2022-05-31T17:20:37.201Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:20:37.505Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-31T17:20:37.505Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-31T17:20:37.505Z] df9b9388f04a: Pulling fs layer [2022-05-31T17:20:37.505Z] 52dc419b0ee2: Pulling fs layer [2022-05-31T17:20:37.505Z] 25bc292e5bac: Pulling fs layer [2022-05-31T17:20:37.505Z] 114826534d7a: Pulling fs layer [2022-05-31T17:20:37.505Z] 4657fd5d0bcf: Pulling fs layer [2022-05-31T17:20:37.505Z] 6ad1cebc031e: Pulling fs layer [2022-05-31T17:20:37.505Z] 8a3aa393b2d8: Pulling fs layer [2022-05-31T17:20:37.505Z] 6ad1cebc031e: Waiting [2022-05-31T17:20:37.505Z] 114826534d7a: Waiting [2022-05-31T17:20:37.505Z] 25bc292e5bac: Verifying Checksum [2022-05-31T17:20:37.505Z] 25bc292e5bac: Download complete [2022-05-31T17:20:37.505Z] 52dc419b0ee2: Verifying Checksum [2022-05-31T17:20:37.505Z] 52dc419b0ee2: Download complete [2022-05-31T17:20:37.505Z] 4657fd5d0bcf: Verifying Checksum [2022-05-31T17:20:37.505Z] 4657fd5d0bcf: Download complete [2022-05-31T17:20:37.505Z] df9b9388f04a: Download complete [2022-05-31T17:20:37.767Z] 6ad1cebc031e: Verifying Checksum [2022-05-31T17:20:37.767Z] 6ad1cebc031e: Download complete [2022-05-31T17:20:37.767Z] df9b9388f04a: Pull complete [2022-05-31T17:20:38.027Z] 52dc419b0ee2: Pull complete [2022-05-31T17:20:38.027Z] 25bc292e5bac: Pull complete [2022-05-31T17:20:38.287Z] 114826534d7a: Download complete [2022-05-31T17:20:38.545Z] 8a3aa393b2d8: Verifying Checksum [2022-05-31T17:20:38.545Z] 8a3aa393b2d8: Download complete [2022-05-31T17:20:41.831Z] 114826534d7a: Pull complete [2022-05-31T17:20:41.831Z] 4657fd5d0bcf: Pull complete [2022-05-31T17:20:42.398Z] 6ad1cebc031e: Pull complete [2022-05-31T17:20:44.936Z] 8a3aa393b2d8: Pull complete [2022-05-31T17:20:45.196Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-05-31T17:20:45.196Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-31T17:20:45.196Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:20:45.296Z] prd-ubuntu20.04-docker-8c-8g-489 does not seem to be running inside a container [2022-05-31T17:20:45.352Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-05-31T17:20:47.318Z] $ docker top bd3b6ac84eec2e302fe3f2bef056a46f99e9b7c1bed3647bc98f8097bef3aa7d -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-31T17:20:47.391Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-31T17:20:47.675Z] + set -o pipefail [2022-05-31T17:20:47.675Z] + snyk monitor '--org=edgex-jenkins' [2022-05-31T17:20:54.255Z] [2022-05-31T17:20:54.255Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2022-05-31T17:20:54.255Z] [2022-05-31T17:20:54.255Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/26f91cd6-2b34-4f2b-8790-a4919bf0cfc6/history/a6e53059-d06d-45c4-97b8-725f87194e03 [2022-05-31T17:20:54.255Z] [2022-05-31T17:20:54.255Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-05-31T17:20:54.255Z] [2022-05-31T17:20:54.255Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-31T17:20:54.255Z] [2022-05-31T17:20:54.255Z] [Pipeline] } [2022-05-31T17:20:54.286Z] $ docker stop --time=1 bd3b6ac84eec2e302fe3f2bef056a46f99e9b7c1bed3647bc98f8097bef3aa7d [2022-05-31T17:20:56.619Z] $ docker rm -f bd3b6ac84eec2e302fe3f2bef056a46f99e9b7c1bed3647bc98f8097bef3aa7d [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-05-31T17:20:57.300Z] + git log --format=format:%s -1 20ae4d4bf545de990beb7ae1865291efdf0a2142 [Pipeline] sh [2022-05-31T17:20:57.589Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-31T17:20:57.589Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:20:57.893Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-31T17:20:57.893Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:20:57.973Z] prd-ubuntu20.04-docker-8c-8g-489 does not seem to be running inside a container [2022-05-31T17:20:58.026Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-31T17:20:58.420Z] $ docker top 16492defc611894b5b0b57b49c277fa9caf834d0f67acf8b2a98049fd3c9bf27 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-31T17:20:58.493Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-31T17:20:58.493Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-31T17:20:58.612Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-31T17:20:58.632Z] $ docker exec 16492defc611894b5b0b57b49c277fa9caf834d0f67acf8b2a98049fd3c9bf27 ssh-agent [2022-05-31T17:20:58.740Z] SSH_AUTH_SOCK=/tmp/ssh-c6bXzFhwwBSQ/agent.34 [2022-05-31T17:20:58.740Z] SSH_AGENT_PID=40 [2022-05-31T17:20:58.745Z] Running ssh-add (command line suppressed) [2022-05-31T17:20:58.884Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7737379853706714739.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7737379853706714739.key) [2022-05-31T17:20:58.881Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-31T17:20:59.168Z] + git semver tag [2022-05-31T17:20:59.429Z] 2022-05-31 17:20:59,375 [run_tag] DEBUG tag force:False [2022-05-31T17:20:59.429Z] 2022-05-31 17:20:59,375 [check_head_tag] DEBUG check head tag [2022-05-31T17:20:59.429Z] 2022-05-31 17:20:59,376 [execute] INFO git cat-file --batch-check [2022-05-31T17:20:59.429Z] 2022-05-31 17:20:59,376 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-05-31T17:20:59.429Z] 2022-05-31 17:20:59,379 [execute] INFO git cat-file --batch [2022-05-31T17:20:59.429Z] 2022-05-31 17:20:59,380 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-05-31T17:20:59.429Z] 2022-05-31 17:20:59,385 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-31T17:20:59.429Z] 2022-05-31 17:20:59,386 [execute] INFO git tag -a v2.2.1-dev.1 -m v2.2.1-dev.1 [2022-05-31T17:20:59.429Z] 2022-05-31 17:20:59,386 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.1', '-m', 'v2.2.1-dev.1'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-31T17:20:59.429Z] 2022-05-31 17:20:59,390 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-31T17:20:59.429Z] 2.2.1-dev.1 [Pipeline] } [2022-05-31T17:20:59.457Z] $ docker exec --env ******** --env ******** 16492defc611894b5b0b57b49c277fa9caf834d0f67acf8b2a98049fd3c9bf27 ssh-agent -k [2022-05-31T17:20:59.571Z] unset SSH_AUTH_SOCK; [2022-05-31T17:20:59.572Z] unset SSH_AGENT_PID; [2022-05-31T17:20:59.572Z] echo Agent pid 40 killed; [2022-05-31T17:20:59.569Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-31T17:20:59.898Z] + git semver [Pipeline] } [2022-05-31T17:21:00.190Z] $ docker stop --time=1 16492defc611894b5b0b57b49c277fa9caf834d0f67acf8b2a98049fd3c9bf27 [2022-05-31T17:21:01.482Z] $ docker rm -f 16492defc611894b5b0b57b49c277fa9caf834d0f67acf8b2a98049fd3c9bf27 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:21:01.853Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-31T17:21:01.853Z] [2022-05-31T17:21:01.853Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:21:02.151Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-31T17:21:02.151Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-31T17:21:02.151Z] ab5ef0e58194: Pulling fs layer [2022-05-31T17:21:02.151Z] 9712f1f96733: Pulling fs layer [2022-05-31T17:21:02.151Z] 63f879dbbcfc: Pulling fs layer [2022-05-31T17:21:02.151Z] 0d9ebad4ef96: Pulling fs layer [2022-05-31T17:21:02.151Z] e9a5061849ea: Pulling fs layer [2022-05-31T17:21:02.151Z] d747dcd14b5f: Pulling fs layer [2022-05-31T17:21:02.151Z] 2de7ff778b66: Pulling fs layer [2022-05-31T17:21:02.151Z] 0d9ebad4ef96: Waiting [2022-05-31T17:21:02.151Z] d747dcd14b5f: Waiting [2022-05-31T17:21:02.151Z] e9a5061849ea: Waiting [2022-05-31T17:21:02.151Z] 2de7ff778b66: Waiting [2022-05-31T17:21:02.151Z] 9712f1f96733: Verifying Checksum [2022-05-31T17:21:02.151Z] 9712f1f96733: Download complete [2022-05-31T17:21:02.412Z] 63f879dbbcfc: Verifying Checksum [2022-05-31T17:21:02.412Z] 63f879dbbcfc: Download complete [2022-05-31T17:21:02.670Z] e9a5061849ea: Verifying Checksum [2022-05-31T17:21:02.670Z] e9a5061849ea: Download complete [2022-05-31T17:21:02.670Z] d747dcd14b5f: Verifying Checksum [2022-05-31T17:21:02.670Z] d747dcd14b5f: Download complete [2022-05-31T17:21:02.670Z] 0d9ebad4ef96: Verifying Checksum [2022-05-31T17:21:02.670Z] 0d9ebad4ef96: Download complete [2022-05-31T17:21:02.670Z] ab5ef0e58194: Download complete [2022-05-31T17:21:02.670Z] 2de7ff778b66: Verifying Checksum [2022-05-31T17:21:02.670Z] 2de7ff778b66: Download complete [2022-05-31T17:21:05.957Z] ab5ef0e58194: Pull complete [2022-05-31T17:21:05.957Z] 9712f1f96733: Pull complete [2022-05-31T17:21:06.216Z] 63f879dbbcfc: Pull complete [2022-05-31T17:21:10.409Z] 0d9ebad4ef96: Pull complete [2022-05-31T17:21:10.409Z] e9a5061849ea: Pull complete [2022-05-31T17:21:10.409Z] d747dcd14b5f: Pull complete [2022-05-31T17:21:10.978Z] 2de7ff778b66: Pull complete [2022-05-31T17:21:10.978Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-31T17:21:10.978Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-31T17:21:10.978Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:21:11.069Z] prd-ubuntu20.04-docker-8c-8g-489 does not seem to be running inside a container [2022-05-31T17:21:11.122Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-05-31T17:21:13.063Z] $ docker top 4d22329d049a37096235f644d48db2afa6c3fcd36452208dcc541e4e858f5333 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-31T17:21:13.125Z] provisioning config files... [2022-05-31T17:21:13.133Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4301721530444209725tmp [2022-05-31T17:21:13.143Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2300014269426408268tmp [2022-05-31T17:21:13.153Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1641920316788467997tmp [Pipeline] { [Pipeline] echo [2022-05-31T17:21:13.166Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:21:13.451Z] ---> sigul-configuration.sh [2022-05-31T17:21:13.451Z] gpg: directory `/root/.gnupg' created [2022-05-31T17:21:13.451Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-31T17:21:13.451Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-31T17:21:13.451Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-31T17:21:13.451Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-31T17:21:13.451Z] gpg: CAST5 encrypted data [2022-05-31T17:21:13.451Z] gpg: encrypted with 1 passphrase [2022-05-31T17:21:13.451Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-31T17:21:13.736Z] + mkdir /home/jenkins [2022-05-31T17:21:13.736Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-31T17:21:14.028Z] + 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-05-31T17:21:14.037Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:21:14.323Z] ---> sigul-install.sh [2022-05-31T17:21:14.323Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-31T17:21:14.611Z] + git tag --list [2022-05-31T17:21:14.611Z] 0.7.1 [2022-05-31T17:21:14.611Z] v1.0.0 [2022-05-31T17:21:14.611Z] v1.1.0 [2022-05-31T17:21:14.611Z] v1.1.1 [2022-05-31T17:21:14.611Z] v1.2.2 [2022-05-31T17:21:14.611Z] v1.3.0 [2022-05-31T17:21:14.611Z] v1.3.1 [2022-05-31T17:21:14.611Z] v2.0.0 [2022-05-31T17:21:14.611Z] v2.1.0 [2022-05-31T17:21:14.611Z] v2.2.0 [2022-05-31T17:21:14.611Z] v2.2.1-dev.1 [Pipeline] sh [2022-05-31T17:21:14.898Z] + lftools sign git-tag v2.2.1-dev.1 [2022-05-31T17:21:15.469Z] Signing Git tag with Sigul... [2022-05-31T17:21:15.469Z] Signing v2.2.1-dev.1 [Pipeline] echo [2022-05-31T17:21:15.739Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:21:16.025Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-31T17:21:16.033Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-31T17:21:16.072Z] $ docker stop --time=1 4d22329d049a37096235f644d48db2afa6c3fcd36452208dcc541e4e858f5333 [2022-05-31T17:21:17.396Z] $ docker rm -f 4d22329d049a37096235f644d48db2afa6c3fcd36452208dcc541e4e858f5333 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-31T17:21:17.795Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-31T17:21:17.795Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:21:18.103Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-31T17:21:18.103Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:21:18.179Z] prd-ubuntu20.04-docker-8c-8g-489 does not seem to be running inside a container [2022-05-31T17:21:18.232Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-31T17:21:18.612Z] $ docker top 917d25c14f87ba9d1e589dacdc62b0995ce67cf6236b10b7bd4f1384685d9966 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-31T17:21:18.688Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-31T17:21:18.688Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-31T17:21:18.820Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-31T17:21:18.840Z] $ docker exec 917d25c14f87ba9d1e589dacdc62b0995ce67cf6236b10b7bd4f1384685d9966 ssh-agent [2022-05-31T17:21:18.953Z] SSH_AUTH_SOCK=/tmp/ssh-QbZTMP5H2uuD/agent.32 [2022-05-31T17:21:18.953Z] SSH_AGENT_PID=38 [2022-05-31T17:21:18.957Z] Running ssh-add (command line suppressed) [2022-05-31T17:21:19.090Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1008480323659519914.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1008480323659519914.key) [2022-05-31T17:21:19.087Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-31T17:21:19.379Z] + git semver bump pre [2022-05-31T17:21:19.638Z] 2022-05-31 17:21:19,610 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-31T17:21:19.638Z] 2022-05-31 17:21:19,610 [bump_version] DEBUG bumping version:2.2.1-dev.1 on axis:pre with prefix:dev [2022-05-31T17:21:19.638Z] 2022-05-31 17:21:19,610 [bump_version] DEBUG bumped version:2.2.1-dev.2 [2022-05-31T17:21:19.638Z] 2022-05-31 17:21:19,610 [write_version] DEBUG write version:2.2.1-dev.2 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2022-05-31T17:21:19.638Z] 2022-05-31 17:21:19,610 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-31T17:21:19.638Z] 2022-05-31 17:21:19,610 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-31T17:21:19.638Z] 2022-05-31 17:21:19,612 [execute] INFO git cat-file --batch-check [2022-05-31T17:21:19.638Z] 2022-05-31 17:21:19,612 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-31T17:21:19.638Z] 2022-05-31 17:21:19,618 [execute] INFO git cat-file --batch [2022-05-31T17:21:19.638Z] 2022-05-31 17:21:19,618 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-31T17:21:19.638Z] 2022-05-31 17:21:19,625 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-31T17:21:19.638Z] 2.2.1-dev.2 [Pipeline] } [2022-05-31T17:21:19.665Z] $ docker exec --env ******** --env ******** 917d25c14f87ba9d1e589dacdc62b0995ce67cf6236b10b7bd4f1384685d9966 ssh-agent -k [2022-05-31T17:21:19.779Z] unset SSH_AUTH_SOCK; [2022-05-31T17:21:19.779Z] unset SSH_AGENT_PID; [2022-05-31T17:21:19.779Z] echo Agent pid 38 killed; [2022-05-31T17:21:19.773Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-31T17:21:20.078Z] + git semver [Pipeline] } [2022-05-31T17:21:20.371Z] $ docker stop --time=1 917d25c14f87ba9d1e589dacdc62b0995ce67cf6236b10b7bd4f1384685d9966 [2022-05-31T17:21:21.660Z] $ docker rm -f 917d25c14f87ba9d1e589dacdc62b0995ce67cf6236b10b7bd4f1384685d9966 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-31T17:21:21.989Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-31T17:21:21.989Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:21:22.294Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-31T17:21:22.294Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:21:22.374Z] prd-ubuntu20.04-docker-8c-8g-489 does not seem to be running inside a container [2022-05-31T17:21:22.428Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-31T17:21:22.760Z] $ docker top f82a1bee88412979e665e96c60bde364732e0ac5b979913c8c06f2c80f694747 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-31T17:21:22.891Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-31T17:21:22.891Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-31T17:21:23.016Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-31T17:21:23.036Z] $ docker exec f82a1bee88412979e665e96c60bde364732e0ac5b979913c8c06f2c80f694747 ssh-agent [2022-05-31T17:21:23.135Z] SSH_AUTH_SOCK=/tmp/ssh-1jBkrsQhNge3/agent.32 [2022-05-31T17:21:23.135Z] SSH_AGENT_PID=39 [2022-05-31T17:21:23.140Z] Running ssh-add (command line suppressed) [2022-05-31T17:21:23.274Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_766944330058286511.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_766944330058286511.key) [2022-05-31T17:21:23.270Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-31T17:21:23.557Z] + git semver push [2022-05-31T17:21:23.822Z] 2022-05-31 17:21:23,739 [run_push] DEBUG push [2022-05-31T17:21:23.822Z] 2022-05-31 17:21:23,740 [execute] INFO git push origin semver [2022-05-31T17:21:23.822Z] 2022-05-31 17:21:23,740 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-05-31T17:21:24.764Z] 2022-05-31 17:21:24,467 [run_push] DEBUG push all version tags [2022-05-31T17:21:24.764Z] 2022-05-31 17:21:24,468 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-05-31T17:21:24.764Z] 2022-05-31 17:21:24,468 [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-05-31T17:21:25.337Z] 2022-05-31 17:21:25,154 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-05-31T17:21:25.337Z] 2.2.1-dev.2 [Pipeline] } [2022-05-31T17:21:25.371Z] $ docker exec --env ******** --env ******** f82a1bee88412979e665e96c60bde364732e0ac5b979913c8c06f2c80f694747 ssh-agent -k [2022-05-31T17:21:25.471Z] unset SSH_AUTH_SOCK; [2022-05-31T17:21:25.472Z] unset SSH_AGENT_PID; [2022-05-31T17:21:25.472Z] echo Agent pid 39 killed; [2022-05-31T17:21:25.464Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-31T17:21:25.769Z] + git semver [Pipeline] } [2022-05-31T17:21:26.060Z] $ docker stop --time=1 f82a1bee88412979e665e96c60bde364732e0ac5b979913c8c06f2c80f694747 [2022-05-31T17:21:27.321Z] $ docker rm -f f82a1bee88412979e665e96c60bde364732e0ac5b979913c8c06f2c80f694747 [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-05-31T17:21:27.926Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2022-05-31T17:21:27.926Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-05-31T17:21:27.926Z] total 16 [2022-05-31T17:21:27.926Z] drwxr-xr-x 3 root root 4096 May 31 17:13 . [2022-05-31T17:21:27.926Z] drwxrwxr-x 11 jenkins jenkins 4096 May 31 17:21 .. [2022-05-31T17:21:27.926Z] drwxr-xr-x 2 root root 4096 May 31 17:13 cost [2022-05-31T17:21:27.926Z] -rw-r--r-- 1 root root 86 May 31 17:13 cost.csv [2022-05-31T17:21:27.926Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-05-31T17:21:27.926Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-05-31T17:21:27.926Z] total 16 [2022-05-31T17:21:27.926Z] drwxr-xr-x 3 jenkins jenkins 4096 May 31 17:13 . [2022-05-31T17:21:27.926Z] drwxrwxr-x 11 jenkins jenkins 4096 May 31 17:21 .. [2022-05-31T17:21:27.926Z] drwxr-xr-x 2 jenkins jenkins 4096 May 31 17:13 cost [2022-05-31T17:21:27.926Z] -rw-r--r-- 1 jenkins jenkins 86 May 31 17:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:21:28.219Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:21:29.081Z] ---> package-listing.sh [2022-05-31T17:21:29.082Z] ++ facter osfamily [2022-05-31T17:21:29.082Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-31T17:21:29.343Z] + OS_FAMILY=debian [2022-05-31T17:21:29.343Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2022-05-31T17:21:29.343Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-31T17:21:29.343Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-31T17:21:29.343Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-31T17:21:29.343Z] + PACKAGES=/tmp/packages_start.txt [2022-05-31T17:21:29.343Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-05-31T17:21:29.343Z] + PACKAGES=/tmp/packages_end.txt [2022-05-31T17:21:29.343Z] + case "${OS_FAMILY}" in [2022-05-31T17:21:29.343Z] + dpkg -l [2022-05-31T17:21:29.343Z] + grep '^ii' [2022-05-31T17:21:29.343Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-31T17:21:29.343Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-31T17:21:29.343Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-31T17:21:29.343Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-05-31T17:21:29.343Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2022-05-31T17:21:29.343Z] + 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-05-31T17:21:29.355Z] 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-05-31T17:21:29.637Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:21:30.205Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-31T17:21:30.205Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:21:30.285Z] prd-ubuntu20.04-docker-8c-8g-489 does not seem to be running inside a container [2022-05-31T17:21:30.338Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-31T17:21:30.559Z] $ docker top 17806172518aa10d040760e667e6086bcb6741ea434577d64c7393766edd815b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-31T17:21:30.897Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-31T17:21:31.183Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-31T17:21:31.470Z] + ls /var/log/sa-host [2022-05-31T17:21:31.470Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-31T17:21:31.603Z] provisioning config files... [2022-05-31T17:21:31.613Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3393845000334748871tmp [Pipeline] { [Pipeline] echo [2022-05-31T17:21:31.628Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:21:31.914Z] ---> create-netrc.sh [Pipeline] } [2022-05-31T17:21:31.922Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:21:32.252Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-31T17:21:32.261Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:21:32.547Z] ---> sudo-logs.sh [2022-05-31T17:21:32.547Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-31T17:21:32.576Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:21:32.862Z] ---> job-cost.sh [2022-05-31T17:21:32.862Z] lf-activate-venv: SKIPPING [2022-05-31T17:21:32.862Z] DEBUG: total: 0.2199999988079071 [2022-05-31T17:21:32.862Z] INFO: Retrieving Stack Cost... [2022-05-31T17:21:33.123Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-31T17:21:33.693Z] INFO: Archiving Costs [Pipeline] echo [2022-05-31T17:21:33.705Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:21:33.989Z] ---> logs-deploy.sh [2022-05-31T17:21:33.989Z] lf-activate-venv: SKIPPING [2022-05-31T17:21:33.989Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/40 [2022-05-31T17:21:33.989Z] INFO: archiving workspace using pattern(s): [2022-05-31T17:21:34.930Z] Archives upload complete. [2022-05-31T17:21:34.930Z] INFO: archiving logs to Nexus