Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b3a201471f88f806ab320431fdd3bd4e90f5c29c 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-ssh6633832912077381794.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7793253119066303978.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10063421234851971773.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1624228964636047549.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7677851021411737706.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-17390’ Running on prd-ubuntu20.04-docker-8c-8g-17392 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 b3a201471f88f806ab320431fdd3bd4e90f5c29c (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 b3a201471f88f806ab320431fdd3bd4e90f5c29c # timeout=10 Commit message: "Merge pull request #360 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.11" > git rev-list --no-walk df6ebf4862d29b15333f4a73058cc7861157986f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-11T06:30:08.552Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-11T06:30:08.624Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-11T06:30:08.645Z] ========================================================= [2022-07-11T06:30:08.645Z] EdgeX Global Pipelines Version Info [2022-07-11T06:30:08.645Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:30:09.419Z] ------------------- [2022-07-11T06:30:09.419Z] stable info: [2022-07-11T06:30:09.419Z] ------------------- [2022-07-11T06:30:09.419Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-11T06:30:09.419Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-07-11T06:30:09.419Z] Message: update stable to v1.0.234 [2022-07-11T06:30:10.000Z] ------------------- [2022-07-11T06:30:10.000Z] experimental info: [2022-07-11T06:30:10.000Z] ------------------- [2022-07-11T06:30:10.000Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-11T06:30:10.000Z] Commit SHA: 7e4371ac6d730b8e642184b898413c6ef59a5643 [2022-07-11T06:30:10.000Z] Message: update experimental to v1.0.236 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-11T06:30:10.235Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-07-11T06:30:10.250Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-07-11T06:30:10.261Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-11T06:30:10.276Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-11T06:30:10.291Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-11T06:30:10.301Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-07-11T06:30:10.312Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-11T06:30:10.326Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-11T06:30:10.335Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-11T06:30:10.347Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-11T06:30:10.358Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-11T06:30:10.369Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-07-11T06:30:10.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-11T06:30:10.395Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-11T06:30:10.409Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-11T06:30:10.421Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-11T06:30:10.434Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-11T06:30:10.447Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-11T06:30:10.458Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-11T06:30:10.471Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-11T06:30:10.485Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-11T06:30:10.497Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-11T06:30:10.510Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-11T06:30:10.524Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-11T06:30:10.533Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-11T06:30:10.544Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-11T06:30:10.554Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-11T06:30:10.570Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-07-11T06:30:10.587Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-07-11T06:30:10.606Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-07-11T06:30:10.623Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b3a201471f88f806ab320431fdd3bd4e90f5c29c [Pipeline] echo [2022-07-11T06:30:10.633Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b3a2014 [Pipeline] echo [2022-07-11T06:30:10.645Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T06:30:10.690Z] provisioning config files... [2022-07-11T06:30:10.705Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8894134695379723301tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:30:11.020Z] ---> docker-login.sh [2022-07-11T06:30:11.020Z] nexus3.edgexfoundry.org:10001 [2022-07-11T06:30:11.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:30:11.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:30:11.283Z] Configure a credential helper to remove this warning. See [2022-07-11T06:30:11.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:30:11.283Z] [2022-07-11T06:30:11.283Z] Login Succeeded [2022-07-11T06:30:11.283Z] nexus3.edgexfoundry.org:10002 [2022-07-11T06:30:11.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:30:11.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:30:11.543Z] Configure a credential helper to remove this warning. See [2022-07-11T06:30:11.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:30:11.543Z] [2022-07-11T06:30:11.543Z] Login Succeeded [2022-07-11T06:30:11.543Z] nexus3.edgexfoundry.org:10003 [2022-07-11T06:30:11.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:30:11.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:30:11.543Z] Configure a credential helper to remove this warning. See [2022-07-11T06:30:11.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:30:11.543Z] [2022-07-11T06:30:11.543Z] Login Succeeded [2022-07-11T06:30:11.543Z] nexus3.edgexfoundry.org:10004 [2022-07-11T06:30:11.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:30:11.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:30:11.805Z] Configure a credential helper to remove this warning. See [2022-07-11T06:30:11.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:30:11.805Z] [2022-07-11T06:30:11.805Z] Login Succeeded [2022-07-11T06:30:11.805Z] docker.io [2022-07-11T06:30:11.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:30:12.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:30:12.380Z] Configure a credential helper to remove this warning. See [2022-07-11T06:30:12.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:30:12.380Z] [2022-07-11T06:30:12.380Z] Login Succeeded [2022-07-11T06:30:12.380Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T06:30:12.389Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-11T06:30:12.774Z] + git rev-list -1 --merges b3a201471f88f806ab320431fdd3bd4e90f5c29c~1..b3a201471f88f806ab320431fdd3bd4e90f5c29c [Pipeline] echo [2022-07-11T06:30:12.801Z] -----------> git rev-list -1 --merges b3a201471f88f806ab320431fdd3bd4e90f5c29c~1..b3a201471f88f806ab320431fdd3bd4e90f5c29c b3a201471f88f806ab320431fdd3bd4e90f5c29c [2022-07-11T06:30:12.801Z] b3a201471f88f806ab320431fdd3bd4e90f5c29c [false] [Pipeline] sh [2022-07-11T06:30:13.097Z] + git log --format=format:%s -1 b3a201471f88f806ab320431fdd3bd4e90f5c29c [Pipeline] echo [2022-07-11T06:30:13.113Z] ========================================================= [2022-07-11T06:30:13.113Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-11T06:30:13.113Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-11T06:30:13.450Z] + git log --format=format:%s -1 b3a201471f88f806ab320431fdd3bd4e90f5c29c [Pipeline] echo [2022-07-11T06:30:13.462Z] [semverPrep] GIT_COMMIT: b3a201471f88f806ab320431fdd3bd4e90f5c29c, Commit Message: Merge pull request #360 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.11 [Pipeline] echo [2022-07-11T06:30:13.471Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-11T06:30:13.815Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-11T06:30:13.815Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-11T06:30:13.815Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-11T06:30:13.815Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-11T06:30:13.815Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-11T06:30:13.815Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-11T06:30:13.815Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:30:14.190Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T06:30:14.190Z] [2022-07-11T06:30:14.190Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:30:14.497Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T06:30:14.497Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-11T06:30:14.497Z] b85a868b505f: Pulling fs layer [2022-07-11T06:30:14.497Z] e2be974225ed: Pulling fs layer [2022-07-11T06:30:14.497Z] 339a4e72a1f5: Pulling fs layer [2022-07-11T06:30:14.497Z] 988bab9f4d93: Pulling fs layer [2022-07-11T06:30:14.497Z] 1469e6f7b9e6: Pulling fs layer [2022-07-11T06:30:14.497Z] eaf3925da568: Pulling fs layer [2022-07-11T06:30:14.497Z] bab4dde63d76: Pulling fs layer [2022-07-11T06:30:14.497Z] bde34c3a00c8: Pulling fs layer [2022-07-11T06:30:14.497Z] b352a97aabf1: Pulling fs layer [2022-07-11T06:30:14.497Z] 4872d77fe225: Pulling fs layer [2022-07-11T06:30:14.497Z] 5851b861e8e6: Pulling fs layer [2022-07-11T06:30:14.497Z] 988bab9f4d93: Waiting [2022-07-11T06:30:14.497Z] 1469e6f7b9e6: Waiting [2022-07-11T06:30:14.497Z] eaf3925da568: Waiting [2022-07-11T06:30:14.497Z] bab4dde63d76: Waiting [2022-07-11T06:30:14.497Z] bde34c3a00c8: Waiting [2022-07-11T06:30:14.497Z] b352a97aabf1: Waiting [2022-07-11T06:30:14.497Z] 4872d77fe225: Waiting [2022-07-11T06:30:14.497Z] 5851b861e8e6: Waiting [2022-07-11T06:30:14.497Z] e2be974225ed: Download complete [2022-07-11T06:30:14.497Z] 988bab9f4d93: Download complete [2022-07-11T06:30:14.757Z] 1469e6f7b9e6: Verifying Checksum [2022-07-11T06:30:14.757Z] 1469e6f7b9e6: Download complete [2022-07-11T06:30:14.757Z] eaf3925da568: Verifying Checksum [2022-07-11T06:30:14.757Z] eaf3925da568: Download complete [2022-07-11T06:30:14.757Z] 339a4e72a1f5: Verifying Checksum [2022-07-11T06:30:14.757Z] 339a4e72a1f5: Download complete [2022-07-11T06:30:14.757Z] bde34c3a00c8: Verifying Checksum [2022-07-11T06:30:14.757Z] bde34c3a00c8: Download complete [2022-07-11T06:30:14.757Z] b352a97aabf1: Download complete [2022-07-11T06:30:14.757Z] 4872d77fe225: Download complete [2022-07-11T06:30:14.757Z] 5851b861e8e6: Verifying Checksum [2022-07-11T06:30:14.757Z] 5851b861e8e6: Download complete [2022-07-11T06:30:14.757Z] b85a868b505f: Verifying Checksum [2022-07-11T06:30:14.757Z] b85a868b505f: Download complete [2022-07-11T06:30:15.023Z] bab4dde63d76: Verifying Checksum [2022-07-11T06:30:15.023Z] bab4dde63d76: Download complete [2022-07-11T06:30:16.404Z] b85a868b505f: Pull complete [2022-07-11T06:30:16.404Z] e2be974225ed: Pull complete [2022-07-11T06:30:16.971Z] 339a4e72a1f5: Pull complete [2022-07-11T06:30:16.971Z] 988bab9f4d93: Pull complete [2022-07-11T06:30:17.231Z] 1469e6f7b9e6: Pull complete [2022-07-11T06:30:17.492Z] eaf3925da568: Pull complete [2022-07-11T06:30:19.398Z] bab4dde63d76: Pull complete [2022-07-11T06:30:19.659Z] bde34c3a00c8: Pull complete [2022-07-11T06:30:19.923Z] b352a97aabf1: Pull complete [2022-07-11T06:30:19.923Z] 4872d77fe225: Pull complete [2022-07-11T06:30:19.923Z] 5851b861e8e6: Pull complete [2022-07-11T06:30:19.923Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-11T06:30:19.923Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T06:30:19.923Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T06:30:20.036Z] prd-ubuntu20.04-docker-8c-8g-17392 does not seem to be running inside a container [2022-07-11T06:30:20.083Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-11T06:30:21.523Z] $ docker top 0ed6311bd993449d3784967c9670114b61d85da9bca9f0eef631d6ead866de2b -eo pid,comm [2022-07-11T06:30:21.595Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-11T06:30:21.595Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-11T06:30:21.632Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-11T06:30:21.632Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-11T06:30:21.778Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-11T06:30:21.786Z] $ docker exec 0ed6311bd993449d3784967c9670114b61d85da9bca9f0eef631d6ead866de2b ssh-agent [2022-07-11T06:30:21.915Z] SSH_AUTH_SOCK=/tmp/ssh-8XlL5lkPsrhI/agent.32 [2022-07-11T06:30:21.915Z] SSH_AGENT_PID=39 [2022-07-11T06:30:21.922Z] Running ssh-add (command line suppressed) [2022-07-11T06:30:22.041Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_77513712324650820.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_77513712324650820.key) [2022-07-11T06:30:22.055Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-11T06:30:22.350Z] + git tag --points-at HEAD [Pipeline] } [2022-07-11T06:30:22.377Z] $ docker exec --env ******** --env ******** 0ed6311bd993449d3784967c9670114b61d85da9bca9f0eef631d6ead866de2b ssh-agent -k [2022-07-11T06:30:22.499Z] unset SSH_AUTH_SOCK; [2022-07-11T06:30:22.500Z] unset SSH_AGENT_PID; [2022-07-11T06:30:22.500Z] echo Agent pid 39 killed; [2022-07-11T06:30:22.508Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-11T06:30:22.534Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-11T06:30:22.534Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-11T06:30:22.657Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-11T06:30:22.664Z] $ docker exec 0ed6311bd993449d3784967c9670114b61d85da9bca9f0eef631d6ead866de2b ssh-agent [2022-07-11T06:30:22.788Z] SSH_AUTH_SOCK=/tmp/ssh-NxXiRMlIo4hu/agent.72 [2022-07-11T06:30:22.788Z] SSH_AGENT_PID=78 [2022-07-11T06:30:22.794Z] Running ssh-add (command line suppressed) [2022-07-11T06:30:22.908Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4336187037456797250.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4336187037456797250.key) [2022-07-11T06:30:22.920Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-11T06:30:23.215Z] + git semver init [2022-07-11T06:30:23.475Z] 2022-07-11 06:30:23,422 [run_init] DEBUG init version:0.0.0 force:False [2022-07-11T06:30:23.475Z] 2022-07-11 06:30:23,423 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-07-11T06:30:23.475Z] 2022-07-11 06:30:23,423 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-07-11T06:30:23.475Z] 2022-07-11 06:30:23,423 [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-07-11T06:30:24.419Z] 2022-07-11 06:30:24,124 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2022-07-11T06:30:24.419Z] 2022-07-11 06:30:24,125 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2022-07-11T06:30:24.419Z] 2022-07-11 06:30:24,125 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-07-11T06:30:24.419Z] 2022-07-11 06:30:24,125 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-07-11T06:30:24.419Z] 2.2.1-dev.5 [Pipeline] } [2022-07-11T06:30:24.434Z] $ docker exec --env ******** --env ******** 0ed6311bd993449d3784967c9670114b61d85da9bca9f0eef631d6ead866de2b ssh-agent -k [2022-07-11T06:30:24.544Z] unset SSH_AUTH_SOCK; [2022-07-11T06:30:24.544Z] unset SSH_AGENT_PID; [2022-07-11T06:30:24.545Z] echo Agent pid 78 killed; [2022-07-11T06:30:24.552Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-11T06:30:24.857Z] + git semver [Pipeline] } [2022-07-11T06:30:25.139Z] $ docker stop --time=1 0ed6311bd993449d3784967c9670114b61d85da9bca9f0eef631d6ead866de2b [2022-07-11T06:30:26.460Z] $ docker rm -f 0ed6311bd993449d3784967c9670114b61d85da9bca9f0eef631d6ead866de2b [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T06:30:26.819Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-11T06:30:27.075Z] Stashed 1 file(s) [Pipeline] echo [2022-07-11T06:30:27.078Z] [edgeXSemver]: initialized semver on version 2.2.1-dev.5 [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-07-11T06:30:27.222Z] provisioning config files... [2022-07-11T06:30:27.232Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7685687652471352947tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:30:27.527Z] ---> docker-login.sh [2022-07-11T06:30:27.527Z] nexus3.edgexfoundry.org:10001 [2022-07-11T06:30:27.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:30:27.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:30:27.527Z] Configure a credential helper to remove this warning. See [2022-07-11T06:30:27.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:30:27.527Z] [2022-07-11T06:30:27.527Z] Login Succeeded [2022-07-11T06:30:27.527Z] nexus3.edgexfoundry.org:10002 [2022-07-11T06:30:27.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:30:27.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:30:27.788Z] Configure a credential helper to remove this warning. See [2022-07-11T06:30:27.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:30:27.788Z] [2022-07-11T06:30:27.788Z] Login Succeeded [2022-07-11T06:30:27.788Z] nexus3.edgexfoundry.org:10003 [2022-07-11T06:30:27.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:30:27.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:30:27.788Z] Configure a credential helper to remove this warning. See [2022-07-11T06:30:27.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:30:27.788Z] [2022-07-11T06:30:27.788Z] Login Succeeded [2022-07-11T06:30:27.788Z] nexus3.edgexfoundry.org:10004 [2022-07-11T06:30:28.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:30:28.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:30:28.049Z] Configure a credential helper to remove this warning. See [2022-07-11T06:30:28.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:30:28.049Z] [2022-07-11T06:30:28.049Z] Login Succeeded [2022-07-11T06:30:28.049Z] docker.io [2022-07-11T06:30:28.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:30:28.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:30:28.311Z] Configure a credential helper to remove this warning. See [2022-07-11T06:30:28.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:30:28.311Z] [2022-07-11T06:30:28.311Z] Login Succeeded [2022-07-11T06:30:28.311Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T06:30:28.320Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-11T06:30:28.385Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T06:30:28.403Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T06:30:28.410Z] ========================================================= [2022-07-11T06:30:28.410Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-07-11T06:30:28.410Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:30:28.743Z] + 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-07-11T06:30:28.743Z] Sending build context to Docker daemon 6.039MB [2022-07-11T06:30:28.743Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-07-11T06:30:28.743Z] Step 2/10 : FROM ${BASE} AS builder [2022-07-11T06:30:28.743Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-11T06:30:28.743Z] 59bf1c3509f3: Pulling fs layer [2022-07-11T06:30:28.743Z] 666ba61612fd: Pulling fs layer [2022-07-11T06:30:28.743Z] 8ed8ca486205: Pulling fs layer [2022-07-11T06:30:28.743Z] cc1cd167ecdc: Pulling fs layer [2022-07-11T06:30:28.743Z] c516ae0d96e1: Pulling fs layer [2022-07-11T06:30:28.743Z] 684cea983483: Pulling fs layer [2022-07-11T06:30:28.743Z] dd3240ac7de5: Pulling fs layer [2022-07-11T06:30:28.743Z] b1e948a4e11c: Pulling fs layer [2022-07-11T06:30:28.743Z] a8fd76ee1af6: Pulling fs layer [2022-07-11T06:30:28.743Z] 646ad004c059: Pulling fs layer [2022-07-11T06:30:28.743Z] dd3240ac7de5: Waiting [2022-07-11T06:30:28.743Z] a8fd76ee1af6: Waiting [2022-07-11T06:30:28.743Z] 646ad004c059: Waiting [2022-07-11T06:30:28.743Z] cc1cd167ecdc: Waiting [2022-07-11T06:30:28.743Z] 684cea983483: Waiting [2022-07-11T06:30:28.743Z] c516ae0d96e1: Waiting [2022-07-11T06:30:28.743Z] b1e948a4e11c: Waiting [2022-07-11T06:30:28.743Z] 8ed8ca486205: Download complete [2022-07-11T06:30:28.743Z] 666ba61612fd: Download complete [2022-07-11T06:30:29.004Z] c516ae0d96e1: Verifying Checksum [2022-07-11T06:30:29.004Z] c516ae0d96e1: Download complete [2022-07-11T06:30:29.004Z] 684cea983483: Verifying Checksum [2022-07-11T06:30:29.004Z] 684cea983483: Download complete [2022-07-11T06:30:29.004Z] 59bf1c3509f3: Verifying Checksum [2022-07-11T06:30:29.004Z] 59bf1c3509f3: Download complete [2022-07-11T06:30:29.004Z] dd3240ac7de5: Verifying Checksum [2022-07-11T06:30:29.004Z] dd3240ac7de5: Download complete [2022-07-11T06:30:29.004Z] b1e948a4e11c: Verifying Checksum [2022-07-11T06:30:29.004Z] b1e948a4e11c: Download complete [2022-07-11T06:30:29.004Z] 59bf1c3509f3: Pull complete [2022-07-11T06:30:29.270Z] 666ba61612fd: Pull complete [2022-07-11T06:30:29.270Z] 8ed8ca486205: Pull complete [2022-07-11T06:30:29.530Z] 646ad004c059: Verifying Checksum [2022-07-11T06:30:29.530Z] 646ad004c059: Download complete [2022-07-11T06:30:29.530Z] a8fd76ee1af6: Verifying Checksum [2022-07-11T06:30:29.530Z] a8fd76ee1af6: Download complete [2022-07-11T06:30:29.790Z] cc1cd167ecdc: Verifying Checksum [2022-07-11T06:30:29.790Z] cc1cd167ecdc: Download complete [2022-07-11T06:30:33.988Z] cc1cd167ecdc: Pull complete [2022-07-11T06:30:33.988Z] c516ae0d96e1: Pull complete [2022-07-11T06:30:33.988Z] 684cea983483: Pull complete [2022-07-11T06:30:33.988Z] dd3240ac7de5: Pull complete [2022-07-11T06:30:34.248Z] b1e948a4e11c: Pull complete [2022-07-11T06:30:36.789Z] a8fd76ee1af6: Pull complete [2022-07-11T06:30:37.361Z] 646ad004c059: Pull complete [2022-07-11T06:30:37.361Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-07-11T06:30:37.361Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-07-11T06:30:37.361Z] ---> 8f69c11f6b0c [2022-07-11T06:30:37.361Z] Step 3/10 : ARG MAKE='make build' [2022-07-11T06:30:39.280Z] ---> Running in 59e6e0be49a0 [2022-07-11T06:30:39.280Z] Removing intermediate container 59e6e0be49a0 [2022-07-11T06:30:39.280Z] ---> abe47dbe66bb [2022-07-11T06:30:39.280Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T06:30:39.280Z] ---> Running in 8010c135662b [2022-07-11T06:30:39.855Z] Removing intermediate container 8010c135662b [2022-07-11T06:30:39.855Z] ---> f3e7e1bbd6d0 [2022-07-11T06:30:39.855Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-07-11T06:30:40.117Z] ---> Running in eb6864c8f9c3 [2022-07-11T06:30:40.378Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-11T06:30:41.322Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-11T06:30:41.584Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-07-11T06:30:41.584Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-07-11T06:30:41.584Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-07-11T06:30:41.846Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-07-11T06:30:41.846Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-07-11T06:30:42.108Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-07-11T06:30:42.108Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-07-11T06:30:42.108Z] (8/8) Installing openssh (8.8_p1-r1) [2022-07-11T06:30:42.179Z] Still waiting to schedule task [2022-07-11T06:30:42.179Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17391’ [2022-07-11T06:30:42.416Z] Executing busybox-1.34.1-r3.trigger [2022-07-11T06:30:42.416Z] OK: 226 MiB in 60 packages [2022-07-11T06:30:42.677Z] Removing intermediate container eb6864c8f9c3 [2022-07-11T06:30:42.677Z] ---> 0b43b76e5dc3 [2022-07-11T06:30:42.677Z] Step 6/10 : WORKDIR /device-modbus-go [2022-07-11T06:30:42.677Z] ---> Running in 41967f5f8d75 [2022-07-11T06:30:42.938Z] Removing intermediate container 41967f5f8d75 [2022-07-11T06:30:42.938Z] ---> 6fa43955f561 [2022-07-11T06:30:42.938Z] Step 7/10 : COPY go.mod vendor* ./ [2022-07-11T06:30:42.938Z] ---> ab0e58531c12 [2022-07-11T06:30:42.938Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T06:30:43.200Z] ---> Running in 9c628738ce0a [2022-07-11T06:31:01.327Z] Removing intermediate container 9c628738ce0a [2022-07-11T06:31:01.327Z] ---> 53ddfc2493f5 [2022-07-11T06:31:01.327Z] Step 9/10 : COPY . . [2022-07-11T06:31:01.327Z] ---> 593a5cb61c4b [2022-07-11T06:31:01.327Z] Step 10/10 : RUN ${MAKE} [2022-07-11T06:31:01.589Z] ---> Running in 56458a333e5f [2022-07-11T06:31:01.851Z] noop [2022-07-11T06:31:02.112Z] Removing intermediate container 56458a333e5f [2022-07-11T06:31:02.112Z] ---> ecf82aeaa27d [2022-07-11T06:31:02.112Z] Successfully built ecf82aeaa27d [2022-07-11T06:31:02.112Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:31:02.428Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-11T06:31:02.428Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T06:31:02.517Z] prd-ubuntu20.04-docker-8c-8g-17392 does not seem to be running inside a container [2022-07-11T06:31:02.556Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-11T06:31:02.968Z] $ docker top 456b77308a5e20285db71a2dfb2407c55adc73ab09f89655c3bb56da53d7be4b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T06:31:03.324Z] + go version [2022-07-11T06:31:03.324Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-07-11T06:31:03.339Z] $ docker stop --time=1 456b77308a5e20285db71a2dfb2407c55adc73ab09f89655c3bb56da53d7be4b [2022-07-11T06:31:04.628Z] $ docker rm -f 456b77308a5e20285db71a2dfb2407c55adc73ab09f89655c3bb56da53d7be4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:31:05.128Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-11T06:31:05.128Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T06:31:05.229Z] prd-ubuntu20.04-docker-8c-8g-17392 does not seem to be running inside a container [2022-07-11T06:31:05.271Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-11T06:31:05.696Z] $ docker top 3ab55bf5dd5f5382ccc88f4b01a06b210376b27bc37217fb935b8094a04d50d8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-11T06:31:06.091Z] + make test [2022-07-11T06:31:06.091Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-11T06:31:06.352Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-07-11T06:31:16.351Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-07-11T06:31:16.351Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 46.4% of statements [2022-07-11T06:31:24.492Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-11T06:31:28.698Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-11T06:31:28.698Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-11T06:31:28.698Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-11T06:31:29.283Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-11T06:31:29.298Z] $ docker stop --time=1 3ab55bf5dd5f5382ccc88f4b01a06b210376b27bc37217fb935b8094a04d50d8 [2022-07-11T06:31:31.283Z] $ docker rm -f 3ab55bf5dd5f5382ccc88f4b01a06b210376b27bc37217fb935b8094a04d50d8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T06:31:31.750Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-11T06:31:31.802Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-11T06:31:32.238Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-11T06:31:32.525Z] + ls -al . [2022-07-11T06:31:32.525Z] total 184 [2022-07-11T06:31:32.525Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 06:31 . [2022-07-11T06:31:32.525Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 06:30 .. [2022-07-11T06:31:32.525Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 11 06:30 .dockerignore [2022-07-11T06:31:32.525Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 06:30 .git [2022-07-11T06:31:32.525Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 06:30 .github [2022-07-11T06:31:32.525Z] -rw-rw-r-- 1 jenkins jenkins 331 Jul 11 06:30 .gitignore [2022-07-11T06:31:32.525Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 06:30 .golangci.yml [2022-07-11T06:31:32.525Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 06:30 .semver [2022-07-11T06:31:32.525Z] -rw-rw-r-- 1 jenkins jenkins 9636 Jul 11 06:30 Attribution.txt [2022-07-11T06:31:32.525Z] -rw-rw-r-- 1 jenkins jenkins 10001 Jul 11 06:30 CHANGELOG.md [2022-07-11T06:31:32.525Z] -rw-rw-r-- 1 jenkins jenkins 1546 Jul 11 06:30 Dockerfile [2022-07-11T06:31:32.525Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 06:30 GOVERNANCE.md [2022-07-11T06:31:32.525Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 11 06:30 Jenkinsfile [2022-07-11T06:31:32.525Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 11 06:30 LICENSE [2022-07-11T06:31:32.525Z] -rw-rw-r-- 1 jenkins jenkins 1905 Jul 11 06:30 Makefile [2022-07-11T06:31:32.525Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 11 06:30 OWNERS.md [2022-07-11T06:31:32.525Z] -rw-rw-r-- 1 jenkins jenkins 3397 Jul 11 06:30 README.md [2022-07-11T06:31:32.525Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 11 06:30 VERSION [2022-07-11T06:31:32.525Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 06:30 bin [2022-07-11T06:31:32.525Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 06:30 cmd [2022-07-11T06:31:32.525Z] -rw-r--r-- 1 jenkins jenkins 24065 Jul 11 06:31 coverage.out [2022-07-11T06:31:32.525Z] -rw-rw-r-- 1 jenkins jenkins 3404 Jul 11 06:30 go.mod [2022-07-11T06:31:32.525Z] -rw-rw-r-- 1 jenkins jenkins 36106 Jul 11 06:30 go.sum [2022-07-11T06:31:32.525Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 06:30 internal [2022-07-11T06:31:32.525Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 06:30 simulator [2022-07-11T06:31:32.525Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 06:30 snap [2022-07-11T06:31:32.525Z] -rw-rw-r-- 1 jenkins jenkins 229 Jul 11 06:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:31:32.845Z] + 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=b3a201471f88f806ab320431fdd3bd4e90f5c29c --label arch=amd64 --label version=2.2.1-dev.5 . [2022-07-11T06:31:32.845Z] Sending build context to Docker daemon 6.064MB [2022-07-11T06:31:32.845Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-07-11T06:31:32.845Z] Step 2/23 : FROM ${BASE} AS builder [2022-07-11T06:31:32.845Z] ---> ecf82aeaa27d [2022-07-11T06:31:32.845Z] Step 3/23 : ARG MAKE='make build' [2022-07-11T06:31:32.845Z] ---> Running in c0fb8ad3912e [2022-07-11T06:31:33.106Z] Removing intermediate container c0fb8ad3912e [2022-07-11T06:31:33.106Z] ---> b4aeb527fd71 [2022-07-11T06:31:33.106Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T06:31:33.106Z] ---> Running in 37df634db177 [2022-07-11T06:31:33.677Z] Removing intermediate container 37df634db177 [2022-07-11T06:31:33.677Z] ---> def75a242a7e [2022-07-11T06:31:33.677Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-07-11T06:31:33.677Z] ---> Running in 284a615ef074 [2022-07-11T06:31:33.939Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-11T06:31:34.881Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-11T06:31:35.141Z] OK: 226 MiB in 60 packages [2022-07-11T06:31:35.712Z] Removing intermediate container 284a615ef074 [2022-07-11T06:31:35.712Z] ---> 8ac6d15e635b [2022-07-11T06:31:35.712Z] Step 6/23 : WORKDIR /device-modbus-go [2022-07-11T06:31:35.712Z] ---> Running in 1bf288f1f6a2 [2022-07-11T06:31:35.712Z] Removing intermediate container 1bf288f1f6a2 [2022-07-11T06:31:35.712Z] ---> 4fabcc6333dc [2022-07-11T06:31:35.712Z] Step 7/23 : COPY go.mod vendor* ./ [2022-07-11T06:31:35.973Z] ---> 935971f6992f [2022-07-11T06:31:35.973Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T06:31:35.973Z] ---> Running in a0ff2d040e26 [2022-07-11T06:31:36.545Z] Removing intermediate container a0ff2d040e26 [2022-07-11T06:31:36.545Z] ---> a1692d954096 [2022-07-11T06:31:36.545Z] Step 9/23 : COPY . . [2022-07-11T06:31:37.118Z] ---> 58cab67271cf [2022-07-11T06:31:37.118Z] Step 10/23 : RUN ${MAKE} [2022-07-11T06:31:37.118Z] ---> Running in bf06f42b5d10 [2022-07-11T06:31:37.379Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.1-dev.5" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-07-11T06:31:59.337Z] Removing intermediate container bf06f42b5d10 [2022-07-11T06:31:59.337Z] ---> a94e6c237588 [2022-07-11T06:31:59.337Z] Step 11/23 : FROM alpine:3.14 [2022-07-11T06:31:59.337Z] 3.14: Pulling from library/alpine [2022-07-11T06:31:59.337Z] 8663204ce13b: Pulling fs layer [2022-07-11T06:31:59.337Z] 8663204ce13b: Verifying Checksum [2022-07-11T06:31:59.337Z] 8663204ce13b: Download complete [2022-07-11T06:31:59.337Z] 8663204ce13b: Pull complete [2022-07-11T06:31:59.337Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-11T06:31:59.337Z] Status: Downloaded newer image for alpine:3.14 [2022-07-11T06:31:59.337Z] ---> e04c818066af [2022-07-11T06:31:59.337Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-07-11T06:31:59.337Z] ---> Running in 228151218a18 [2022-07-11T06:31:59.337Z] Removing intermediate container 228151218a18 [2022-07-11T06:31:59.337Z] ---> e6316023d0f2 [2022-07-11T06:31:59.337Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T06:31:59.337Z] ---> Running in bec86346f7b2 [2022-07-11T06:31:59.909Z] Removing intermediate container bec86346f7b2 [2022-07-11T06:31:59.909Z] ---> 4402c63f4b99 [2022-07-11T06:31:59.909Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-11T06:31:59.909Z] ---> Running in 4f7cecd86f25 [2022-07-11T06:32:00.170Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-07-11T06:32:01.112Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-07-11T06:32:01.112Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-11T06:32:01.373Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-07-11T06:32:01.373Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-11T06:32:01.373Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-07-11T06:32:01.634Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-11T06:32:01.634Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-11T06:32:01.634Z] Executing busybox-1.33.1-r7.trigger [2022-07-11T06:32:01.634Z] OK: 8 MiB in 20 packages [2022-07-11T06:32:02.207Z] Removing intermediate container 4f7cecd86f25 [2022-07-11T06:32:02.207Z] ---> 1b5b3e0ed263 [2022-07-11T06:32:02.207Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-07-11T06:32:03.147Z] ---> 0bd233a39612 [2022-07-11T06:32:03.147Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-07-11T06:32:03.147Z] ---> cb2201dd2b2f [2022-07-11T06:32:03.148Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-07-11T06:32:03.410Z] ---> 6e1816c7ef76 [2022-07-11T06:32:03.410Z] Step 18/23 : EXPOSE 59901 [2022-07-11T06:32:03.410Z] ---> Running in 534b4c4499c1 [2022-07-11T06:32:03.410Z] Removing intermediate container 534b4c4499c1 [2022-07-11T06:32:03.410Z] ---> 1c708f6d13e7 [2022-07-11T06:32:03.410Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-07-11T06:32:03.674Z] ---> Running in 57be2ae358f6 [2022-07-11T06:32:03.674Z] Removing intermediate container 57be2ae358f6 [2022-07-11T06:32:03.674Z] ---> ecda469a91be [2022-07-11T06:32:03.674Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-11T06:32:03.674Z] ---> Running in 5ea76eeb761e [2022-07-11T06:32:03.674Z] Removing intermediate container 5ea76eeb761e [2022-07-11T06:32:03.674Z] ---> 25c1782b9915 [2022-07-11T06:32:03.674Z] Step 21/23 : LABEL arch=amd64 [2022-07-11T06:32:03.934Z] ---> Running in 9692f1a94ac5 [2022-07-11T06:32:03.934Z] Removing intermediate container 9692f1a94ac5 [2022-07-11T06:32:03.934Z] ---> 72431418219f [2022-07-11T06:32:03.934Z] Step 22/23 : LABEL git_sha=b3a201471f88f806ab320431fdd3bd4e90f5c29c [2022-07-11T06:32:03.934Z] ---> Running in b2dbadb11011 [2022-07-11T06:32:04.194Z] Removing intermediate container b2dbadb11011 [2022-07-11T06:32:04.194Z] ---> 5f5f4035f0ad [2022-07-11T06:32:04.194Z] Step 23/23 : LABEL version=2.2.1-dev.5 [2022-07-11T06:32:04.194Z] ---> Running in 9f49aad6fef2 [2022-07-11T06:32:04.194Z] Removing intermediate container 9f49aad6fef2 [2022-07-11T06:32:04.194Z] ---> a6c6235b0382 [2022-07-11T06:32:04.195Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-11T06:32:04.195Z] Successfully built a6c6235b0382 [2022-07-11T06:32:04.195Z] 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-07-11T06:32:04.286Z] provisioning config files... [2022-07-11T06:32:04.295Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6762479447546711927tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:32:04.593Z] ---> docker-login.sh [2022-07-11T06:32:04.593Z] nexus3.edgexfoundry.org:10001 [2022-07-11T06:32:04.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:32:04.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:32:04.593Z] Configure a credential helper to remove this warning. See [2022-07-11T06:32:04.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:32:04.593Z] [2022-07-11T06:32:04.593Z] Login Succeeded [2022-07-11T06:32:04.593Z] nexus3.edgexfoundry.org:10002 [2022-07-11T06:32:04.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:32:04.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:32:04.854Z] Configure a credential helper to remove this warning. See [2022-07-11T06:32:04.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:32:04.854Z] [2022-07-11T06:32:04.854Z] Login Succeeded [2022-07-11T06:32:04.854Z] nexus3.edgexfoundry.org:10003 [2022-07-11T06:32:04.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:32:04.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:32:04.854Z] Configure a credential helper to remove this warning. See [2022-07-11T06:32:04.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:32:04.854Z] [2022-07-11T06:32:04.854Z] Login Succeeded [2022-07-11T06:32:04.854Z] nexus3.edgexfoundry.org:10004 [2022-07-11T06:32:05.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:32:05.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:32:05.114Z] Configure a credential helper to remove this warning. See [2022-07-11T06:32:05.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:32:05.114Z] [2022-07-11T06:32:05.114Z] Login Succeeded [2022-07-11T06:32:05.114Z] docker.io [2022-07-11T06:32:05.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:32:05.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:32:05.376Z] Configure a credential helper to remove this warning. See [2022-07-11T06:32:05.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:32:05.376Z] [2022-07-11T06:32:05.376Z] Login Succeeded [2022-07-11T06:32:05.376Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T06:32:05.384Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-11T06:32:05.418Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T06:32:05.440Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2022-07-11T06:32:05.440Z] b3a201471f88f806ab320431fdd3bd4e90f5c29c [2022-07-11T06:32:05.440Z] latest [2022-07-11T06:32:05.440Z] 2.2.1-dev.5 [2022-07-11T06:32:05.440Z] b3a201471f88f806ab320431fdd3bd4e90f5c29c-2.2.1-dev.5 [2022-07-11T06:32:05.440Z] main [2022-07-11T06:32:05.440Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:32:05.771Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:b3a201471f88f806ab320431fdd3bd4e90f5c29c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:32:06.085Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:b3a201471f88f806ab320431fdd3bd4e90f5c29c [2022-07-11T06:32:06.085Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-07-11T06:32:06.085Z] 25e04539ac3d: Preparing [2022-07-11T06:32:06.085Z] 89d4eccc4fc4: Preparing [2022-07-11T06:32:06.085Z] 55f90c3ace30: Preparing [2022-07-11T06:32:06.085Z] 951fa2199ff1: Preparing [2022-07-11T06:32:06.085Z] 1c6bf2786e07: Preparing [2022-07-11T06:32:06.085Z] b541d28bf3b4: Preparing [2022-07-11T06:32:06.085Z] 25e04539ac3d: Pushed [2022-07-11T06:32:06.085Z] 89d4eccc4fc4: Pushed [2022-07-11T06:32:06.085Z] 1c6bf2786e07: Pushed [2022-07-11T06:32:06.085Z] b541d28bf3b4: Layer already exists [2022-07-11T06:32:06.346Z] 951fa2199ff1: Pushed [2022-07-11T06:32:08.890Z] 55f90c3ace30: Pushed [2022-07-11T06:32:09.152Z] b3a201471f88f806ab320431fdd3bd4e90f5c29c: digest: sha256:c83f4e21336aa96a34ff3da65f602d06b5a48a876becd8b045502aa1a1a0a252 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:32:09.469Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:32:09.785Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-07-11T06:32:09.785Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-07-11T06:32:09.785Z] 25e04539ac3d: Preparing [2022-07-11T06:32:09.786Z] 89d4eccc4fc4: Preparing [2022-07-11T06:32:09.786Z] 55f90c3ace30: Preparing [2022-07-11T06:32:09.786Z] 951fa2199ff1: Preparing [2022-07-11T06:32:09.786Z] 1c6bf2786e07: Preparing [2022-07-11T06:32:09.786Z] b541d28bf3b4: Preparing [2022-07-11T06:32:09.786Z] 951fa2199ff1: Layer already exists [2022-07-11T06:32:09.786Z] 55f90c3ace30: Layer already exists [2022-07-11T06:32:09.786Z] 25e04539ac3d: Layer already exists [2022-07-11T06:32:09.786Z] 89d4eccc4fc4: Layer already exists [2022-07-11T06:32:09.786Z] 1c6bf2786e07: Layer already exists [2022-07-11T06:32:09.786Z] b541d28bf3b4: Layer already exists [2022-07-11T06:32:09.786Z] latest: digest: sha256:c83f4e21336aa96a34ff3da65f602d06b5a48a876becd8b045502aa1a1a0a252 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:32:10.108Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.1-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:32:10.422Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.1-dev.5 [2022-07-11T06:32:10.422Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-07-11T06:32:10.422Z] 25e04539ac3d: Preparing [2022-07-11T06:32:10.422Z] 89d4eccc4fc4: Preparing [2022-07-11T06:32:10.422Z] 55f90c3ace30: Preparing [2022-07-11T06:32:10.422Z] 951fa2199ff1: Preparing [2022-07-11T06:32:10.422Z] 1c6bf2786e07: Preparing [2022-07-11T06:32:10.422Z] b541d28bf3b4: Preparing [2022-07-11T06:32:10.422Z] b541d28bf3b4: Waiting [2022-07-11T06:32:10.422Z] 55f90c3ace30: Layer already exists [2022-07-11T06:32:10.422Z] 89d4eccc4fc4: Layer already exists [2022-07-11T06:32:10.422Z] 25e04539ac3d: Layer already exists [2022-07-11T06:32:10.422Z] 1c6bf2786e07: Layer already exists [2022-07-11T06:32:10.422Z] 951fa2199ff1: Layer already exists [2022-07-11T06:32:10.422Z] b541d28bf3b4: Layer already exists [2022-07-11T06:32:10.422Z] 2.2.1-dev.5: digest: sha256:c83f4e21336aa96a34ff3da65f602d06b5a48a876becd8b045502aa1a1a0a252 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:32:10.739Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:b3a201471f88f806ab320431fdd3bd4e90f5c29c-2.2.1-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:32:11.054Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:b3a201471f88f806ab320431fdd3bd4e90f5c29c-2.2.1-dev.5 [2022-07-11T06:32:11.054Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-07-11T06:32:11.054Z] 25e04539ac3d: Preparing [2022-07-11T06:32:11.054Z] 89d4eccc4fc4: Preparing [2022-07-11T06:32:11.054Z] 55f90c3ace30: Preparing [2022-07-11T06:32:11.054Z] 951fa2199ff1: Preparing [2022-07-11T06:32:11.054Z] 1c6bf2786e07: Preparing [2022-07-11T06:32:11.054Z] b541d28bf3b4: Preparing [2022-07-11T06:32:11.054Z] b541d28bf3b4: Waiting [2022-07-11T06:32:11.054Z] 55f90c3ace30: Layer already exists [2022-07-11T06:32:11.054Z] 89d4eccc4fc4: Layer already exists [2022-07-11T06:32:11.054Z] 951fa2199ff1: Layer already exists [2022-07-11T06:32:11.054Z] 1c6bf2786e07: Layer already exists [2022-07-11T06:32:11.054Z] 25e04539ac3d: Layer already exists [2022-07-11T06:32:11.054Z] b541d28bf3b4: Layer already exists [2022-07-11T06:32:11.054Z] b3a201471f88f806ab320431fdd3bd4e90f5c29c-2.2.1-dev.5: digest: sha256:c83f4e21336aa96a34ff3da65f602d06b5a48a876becd8b045502aa1a1a0a252 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:32:11.375Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:32:11.693Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2022-07-11T06:32:11.693Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-07-11T06:32:11.693Z] 25e04539ac3d: Preparing [2022-07-11T06:32:11.693Z] 89d4eccc4fc4: Preparing [2022-07-11T06:32:11.693Z] 55f90c3ace30: Preparing [2022-07-11T06:32:11.693Z] 951fa2199ff1: Preparing [2022-07-11T06:32:11.693Z] 1c6bf2786e07: Preparing [2022-07-11T06:32:11.693Z] b541d28bf3b4: Preparing [2022-07-11T06:32:11.693Z] b541d28bf3b4: Waiting [2022-07-11T06:32:11.693Z] 55f90c3ace30: Layer already exists [2022-07-11T06:32:11.693Z] 1c6bf2786e07: Layer already exists [2022-07-11T06:32:11.693Z] 89d4eccc4fc4: Layer already exists [2022-07-11T06:32:11.693Z] 951fa2199ff1: Layer already exists [2022-07-11T06:32:11.693Z] 25e04539ac3d: Layer already exists [2022-07-11T06:32:11.693Z] b541d28bf3b4: Layer already exists [2022-07-11T06:32:11.693Z] main: digest: sha256:c83f4e21336aa96a34ff3da65f602d06b5a48a876becd8b045502aa1a1a0a252 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-11T06:32:11.744Z] ===================================================== [Pipeline] echo [2022-07-11T06:32:11.753Z] taggedImages: [2022-07-11T06:32:11.753Z] - nexus3.edgexfoundry.org:10004/device-modbus:b3a201471f88f806ab320431fdd3bd4e90f5c29c [2022-07-11T06:32:11.753Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-07-11T06:32:11.753Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.2.1-dev.5 [2022-07-11T06:32:11.753Z] - nexus3.edgexfoundry.org:10004/device-modbus:b3a201471f88f806ab320431fdd3bd4e90f5c29c-2.2.1-dev.5 [2022-07-11T06:32:11.753Z] - 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-07-11T06:32:12.126Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T06:32:12.126Z] [2022-07-11T06:32:12.126Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:32:12.432Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T06:32:12.432Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-11T06:32:12.432Z] 5eb5b503b376: Pulling fs layer [2022-07-11T06:32:12.432Z] 5c69ac0246d0: Pulling fs layer [2022-07-11T06:32:12.432Z] ec43610c2a17: Pulling fs layer [2022-07-11T06:32:12.432Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-11T06:32:12.432Z] 33b1e0a273af: Pulling fs layer [2022-07-11T06:32:12.432Z] 5d3b04190fa2: Pulling fs layer [2022-07-11T06:32:12.432Z] 2f39f015ded8: Pulling fs layer [2022-07-11T06:32:12.432Z] 3a2ae6a8a46f: Waiting [2022-07-11T06:32:12.432Z] 33b1e0a273af: Waiting [2022-07-11T06:32:12.432Z] 5d3b04190fa2: Waiting [2022-07-11T06:32:12.432Z] 2f39f015ded8: Waiting [2022-07-11T06:32:12.432Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-11T06:32:12.432Z] 3a2ae6a8a46f: Download complete [2022-07-11T06:32:12.432Z] 33b1e0a273af: Verifying Checksum [2022-07-11T06:32:12.432Z] 33b1e0a273af: Download complete [2022-07-11T06:32:12.432Z] 5d3b04190fa2: Download complete [2022-07-11T06:32:12.727Z] ec43610c2a17: Verifying Checksum [2022-07-11T06:32:12.727Z] ec43610c2a17: Download complete [2022-07-11T06:32:12.727Z] 5eb5b503b376: Verifying Checksum [2022-07-11T06:32:12.727Z] 5eb5b503b376: Download complete [2022-07-11T06:32:13.331Z] 2f39f015ded8: Download complete [2022-07-11T06:32:14.327Z] 5eb5b503b376: Pull complete [2022-07-11T06:32:14.327Z] 5c69ac0246d0: Pull complete [2022-07-11T06:32:14.894Z] ec43610c2a17: Pull complete [2022-07-11T06:32:14.894Z] 3a2ae6a8a46f: Pull complete [2022-07-11T06:32:15.154Z] 33b1e0a273af: Pull complete [2022-07-11T06:32:15.154Z] 5d3b04190fa2: Pull complete [2022-07-11T06:32:20.432Z] 2f39f015ded8: Pull complete [2022-07-11T06:32:20.432Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-11T06:32:20.432Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T06:32:20.432Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T06:32:20.533Z] prd-ubuntu20.04-docker-8c-8g-17392 does not seem to be running inside a container [2022-07-11T06:32:20.570Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-11T06:32:22.677Z] $ docker top 5493b59f58cbcac632f61a06b82a54b79e2ea42ed9325097fa7ae92910345d23 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:32:23.069Z] ---> job-cost.sh [2022-07-11T06:32:23.069Z] lf-activate-venv: SKIPPING [2022-07-11T06:32:23.069Z] INFO: No Stack... [2022-07-11T06:32:23.329Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-11T06:32:23.899Z] INFO: Archiving Costs [Pipeline] sh [2022-07-11T06:32:24.193Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2022-07-11T06:32:24.193Z] + cut -d, -f6 [Pipeline] lock [2022-07-11T06:32:24.206Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-44-stack-cost] [2022-07-11T06:32:24.212Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-44-stack-cost] did not exist. Created. [2022-07-11T06:32:24.212Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-44-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-11T06:32:24.518Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-11T06:32:24.552Z] Stashed 1 file(s) [Pipeline] } [2022-07-11T06:32:24.560Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-44-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-11T06:32:24.583Z] $ docker stop --time=1 5493b59f58cbcac632f61a06b82a54b79e2ea42ed9325097fa7ae92910345d23 [2022-07-11T06:32:25.769Z] $ docker rm -f 5493b59f58cbcac632f61a06b82a54b79e2ea42ed9325097fa7ae92910345d23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-11T06:33:17.232Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17394 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2022-07-11T06:33:17.248Z] Running in /w/workspace/device-modbus-go/44 [Pipeline] { [Pipeline] checkout [2022-07-11T06:33:17.288Z] Selected Git installation does not exist. Using Default [2022-07-11T06:33:17.288Z] The recommended git tool is: NONE [2022-07-11T06:33:22.978Z] using credential edgex-jenkins-ssh [2022-07-11T06:33:22.998Z] Cloning the remote Git repository [2022-07-11T06:33:23.059Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-07-11T06:33:23.150Z] > git init /w/workspace/device-modbus-go/44 # timeout=10 [2022-07-11T06:33:23.270Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-07-11T06:33:23.271Z] > git --version # timeout=10 [2022-07-11T06:33:23.299Z] > git --version # 'git version 2.25.1' [2022-07-11T06:33:23.302Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-11T06:33:23.462Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-11T06:33:24.607Z] Avoid second fetch [2022-07-11T06:33:24.608Z] Checking out Revision b3a201471f88f806ab320431fdd3bd4e90f5c29c (main) [2022-07-11T06:33:24.555Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-07-11T06:33:24.581Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-11T06:33:24.631Z] > git config core.sparsecheckout # timeout=10 [2022-07-11T06:33:24.655Z] > git checkout -f b3a201471f88f806ab320431fdd3bd4e90f5c29c # timeout=10 [2022-07-11T06:33:28.957Z] Commit message: "Merge pull request #360 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.11" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-11T06:33:29.941Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-11T06:33:29.941Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-11T06:33:29.941Z] Dload Upload Total Spent Left Speed [2022-07-11T06:33:29.941Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh [2022-07-11T06:33:30.621Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-11T06:33:30.973Z] + sudo tee /etc/docker/daemon.new [2022-07-11T06:33:30.973Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-11T06:33:30.973Z] { [2022-07-11T06:33:30.973Z] "registry-mirrors": [ [2022-07-11T06:33:30.973Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-11T06:33:30.973Z] ], [2022-07-11T06:33:30.973Z] "bip": "10.250.0.254/24", [2022-07-11T06:33:30.973Z] "hosts": [ [2022-07-11T06:33:30.973Z] "tcp://0.0.0.0:5555", [2022-07-11T06:33:30.973Z] "unix:///var/run/docker.sock" [2022-07-11T06:33:30.973Z] ], [2022-07-11T06:33:30.973Z] "mtu": 1458, [2022-07-11T06:33:30.973Z] "selinux-enabled": true, [2022-07-11T06:33:30.973Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-11T06:33:30.973Z] } [Pipeline] sh [2022-07-11T06:33:31.408Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-11T06:33:31.772Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T06:33:50.136Z] provisioning config files... [2022-07-11T06:33:50.163Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/44@tmp/config8412193641569360071tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:33:50.698Z] ---> docker-login.sh [2022-07-11T06:33:50.699Z] nexus3.edgexfoundry.org:10001 [2022-07-11T06:33:51.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:33:51.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:33:51.900Z] Configure a credential helper to remove this warning. See [2022-07-11T06:33:51.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:33:51.900Z] [2022-07-11T06:33:51.900Z] Login Succeeded [2022-07-11T06:33:51.900Z] nexus3.edgexfoundry.org:10002 [2022-07-11T06:33:52.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:33:52.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:33:52.176Z] Configure a credential helper to remove this warning. See [2022-07-11T06:33:52.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:33:52.176Z] [2022-07-11T06:33:52.176Z] Login Succeeded [2022-07-11T06:33:52.176Z] nexus3.edgexfoundry.org:10003 [2022-07-11T06:33:52.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:33:52.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:33:52.779Z] Configure a credential helper to remove this warning. See [2022-07-11T06:33:52.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:33:52.779Z] [2022-07-11T06:33:52.779Z] Login Succeeded [2022-07-11T06:33:52.779Z] nexus3.edgexfoundry.org:10004 [2022-07-11T06:33:53.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:33:53.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:33:53.331Z] Configure a credential helper to remove this warning. See [2022-07-11T06:33:53.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:33:53.331Z] [2022-07-11T06:33:53.331Z] Login Succeeded [2022-07-11T06:33:53.331Z] docker.io [2022-07-11T06:33:53.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:33:54.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:33:54.199Z] Configure a credential helper to remove this warning. See [2022-07-11T06:33:54.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:33:54.199Z] [2022-07-11T06:33:54.199Z] Login Succeeded [2022-07-11T06:33:54.199Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T06:33:54.218Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-11T06:33:54.544Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T06:33:54.559Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T06:33:54.568Z] ========================================================= [2022-07-11T06:33:54.568Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-07-11T06:33:54.568Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:33:54.943Z] + 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-07-11T06:33:55.218Z] Sending build context to Docker daemon 3.134MB [2022-07-11T06:33:55.218Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-07-11T06:33:55.218Z] Step 2/10 : FROM ${BASE} AS builder [2022-07-11T06:33:55.492Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-11T06:33:55.492Z] 9b3977197b4f: Pulling fs layer [2022-07-11T06:33:55.492Z] 1a89e8eeedd5: Pulling fs layer [2022-07-11T06:33:55.492Z] 94645a83ff95: Pulling fs layer [2022-07-11T06:33:55.492Z] e6fb740bc735: Pulling fs layer [2022-07-11T06:33:55.492Z] 3a77bd46dcc9: Pulling fs layer [2022-07-11T06:33:55.492Z] 355e64cbe906: Pulling fs layer [2022-07-11T06:33:55.492Z] 63ab81a10011: Pulling fs layer [2022-07-11T06:33:55.492Z] 555d1d1c4555: Pulling fs layer [2022-07-11T06:33:55.492Z] 7d9057610161: Pulling fs layer [2022-07-11T06:33:55.492Z] 355e64cbe906: Waiting [2022-07-11T06:33:55.492Z] 63ab81a10011: Waiting [2022-07-11T06:33:55.492Z] 555d1d1c4555: Waiting [2022-07-11T06:33:55.492Z] 7d9057610161: Waiting [2022-07-11T06:33:55.492Z] e6fb740bc735: Waiting [2022-07-11T06:33:55.492Z] 94645a83ff95: Verifying Checksum [2022-07-11T06:33:55.492Z] 94645a83ff95: Download complete [2022-07-11T06:33:55.492Z] 1a89e8eeedd5: Download complete [2022-07-11T06:33:55.492Z] 3a77bd46dcc9: Verifying Checksum [2022-07-11T06:33:55.492Z] 3a77bd46dcc9: Download complete [2022-07-11T06:33:55.492Z] 9b3977197b4f: Verifying Checksum [2022-07-11T06:33:55.492Z] 9b3977197b4f: Download complete [2022-07-11T06:33:55.492Z] 355e64cbe906: Verifying Checksum [2022-07-11T06:33:55.492Z] 355e64cbe906: Download complete [2022-07-11T06:33:55.775Z] 63ab81a10011: Verifying Checksum [2022-07-11T06:33:55.775Z] 63ab81a10011: Download complete [2022-07-11T06:33:56.771Z] 9b3977197b4f: Pull complete [2022-07-11T06:33:56.771Z] 7d9057610161: Verifying Checksum [2022-07-11T06:33:56.771Z] 7d9057610161: Download complete [2022-07-11T06:33:57.379Z] 1a89e8eeedd5: Pull complete [2022-07-11T06:33:57.661Z] 94645a83ff95: Pull complete [2022-07-11T06:33:57.937Z] 555d1d1c4555: Verifying Checksum [2022-07-11T06:33:57.937Z] 555d1d1c4555: Download complete [2022-07-11T06:33:58.536Z] e6fb740bc735: Verifying Checksum [2022-07-11T06:33:58.536Z] e6fb740bc735: Download complete [2022-07-11T06:34:10.981Z] e6fb740bc735: Pull complete [2022-07-11T06:34:10.981Z] 3a77bd46dcc9: Pull complete [2022-07-11T06:34:10.981Z] 355e64cbe906: Pull complete [2022-07-11T06:34:11.582Z] 63ab81a10011: Pull complete [2022-07-11T06:34:18.329Z] 555d1d1c4555: Pull complete [2022-07-11T06:34:20.321Z] 7d9057610161: Pull complete [2022-07-11T06:34:20.321Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-07-11T06:34:20.321Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-07-11T06:34:20.321Z] ---> 819e984ddca1 [2022-07-11T06:34:20.321Z] Step 3/10 : ARG MAKE='make build' [2022-07-11T06:34:20.917Z] ---> Running in 70cb1e85ce41 [2022-07-11T06:34:21.515Z] Removing intermediate container 70cb1e85ce41 [2022-07-11T06:34:21.515Z] ---> cf8d4b13fa52 [2022-07-11T06:34:21.515Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T06:34:21.515Z] ---> Running in 3814a2154a09 [2022-07-11T06:34:23.501Z] Removing intermediate container 3814a2154a09 [2022-07-11T06:34:23.501Z] ---> 5b4e483c8d4d [2022-07-11T06:34:23.501Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-07-11T06:34:23.501Z] ---> Running in cf89f9731b18 [2022-07-11T06:34:24.490Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-11T06:34:25.488Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-11T06:34:26.086Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-07-11T06:34:26.358Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-07-11T06:34:26.358Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-07-11T06:34:26.631Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-07-11T06:34:26.631Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-07-11T06:34:26.904Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-07-11T06:34:26.904Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-07-11T06:34:26.904Z] (8/8) Installing openssh (8.8_p1-r1) [2022-07-11T06:34:27.177Z] Executing busybox-1.34.1-r3.trigger [2022-07-11T06:34:27.177Z] OK: 226 MiB in 60 packages [2022-07-11T06:34:28.173Z] Removing intermediate container cf89f9731b18 [2022-07-11T06:34:28.173Z] ---> cbf7848d2a22 [2022-07-11T06:34:28.173Z] Step 6/10 : WORKDIR /device-modbus-go [2022-07-11T06:34:28.173Z] ---> Running in b8f2b9bd5d78 [2022-07-11T06:34:28.448Z] Removing intermediate container b8f2b9bd5d78 [2022-07-11T06:34:28.448Z] ---> 7a56b50d4a48 [2022-07-11T06:34:28.448Z] Step 7/10 : COPY go.mod vendor* ./ [2022-07-11T06:34:29.068Z] ---> 9dd768b68d16 [2022-07-11T06:34:29.068Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T06:34:29.068Z] ---> Running in c2dfb4399f8b [2022-07-11T06:35:16.069Z] Removing intermediate container c2dfb4399f8b [2022-07-11T06:35:16.069Z] ---> c787c211256d [2022-07-11T06:35:16.069Z] Step 9/10 : COPY . . [2022-07-11T06:35:16.069Z] ---> e23564f5df50 [2022-07-11T06:35:16.069Z] Step 10/10 : RUN ${MAKE} [2022-07-11T06:35:16.069Z] ---> Running in 591081f6f2a4 [2022-07-11T06:35:16.069Z] noop [2022-07-11T06:35:16.069Z] Removing intermediate container 591081f6f2a4 [2022-07-11T06:35:16.069Z] ---> 035ad633a22d [2022-07-11T06:35:16.069Z] Successfully built 035ad633a22d [2022-07-11T06:35:16.069Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:35:16.437Z] + docker inspect -f . ci-base-image-arm64 [2022-07-11T06:35:16.437Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T06:35:16.697Z] prd-ubuntu20.04-docker-arm64-4c-16g-17394 does not seem to be running inside a container [2022-07-11T06:35:16.788Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/44 -v /w/workspace/device-modbus-go/44:/w/workspace/device-modbus-go/44:rw,z -v /w/workspace/device-modbus-go/44@tmp:/w/workspace/device-modbus-go/44@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-11T06:35:18.164Z] $ docker top 7410ff4a304a2f790b6fc92f7ac2b5d88ec8a0f2cb7fd4f63eb8b7e31e132ad2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T06:35:19.127Z] + go version [2022-07-11T06:35:19.127Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-07-11T06:35:19.154Z] $ docker stop --time=1 7410ff4a304a2f790b6fc92f7ac2b5d88ec8a0f2cb7fd4f63eb8b7e31e132ad2 [2022-07-11T06:35:20.824Z] $ docker rm -f 7410ff4a304a2f790b6fc92f7ac2b5d88ec8a0f2cb7fd4f63eb8b7e31e132ad2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:35:21.433Z] + docker inspect -f . ci-base-image-arm64 [2022-07-11T06:35:21.433Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T06:35:21.679Z] prd-ubuntu20.04-docker-arm64-4c-16g-17394 does not seem to be running inside a container [2022-07-11T06:35:21.765Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/44 -v /w/workspace/device-modbus-go/44:/w/workspace/device-modbus-go/44:rw,z -v /w/workspace/device-modbus-go/44@tmp:/w/workspace/device-modbus-go/44@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-11T06:35:23.118Z] $ docker top 2fb503bf92142323a959741529af01d662e05c370aa59cdda883569967fbbedd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-11T06:35:24.031Z] + make test [2022-07-11T06:35:24.031Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-11T06:35:25.470Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-07-11T06:37:02.328Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-07-11T06:37:02.328Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.063s coverage: 46.4% of statements [2022-07-11T06:37:02.328Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-11T06:37:02.328Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-11T06:37:14.774Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-11T06:37:14.774Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-11T06:37:14.774Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-11T06:37:17.415Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-11T06:37:17.430Z] $ docker stop --time=1 2fb503bf92142323a959741529af01d662e05c370aa59cdda883569967fbbedd [2022-07-11T06:37:19.255Z] $ docker rm -f 2fb503bf92142323a959741529af01d662e05c370aa59cdda883569967fbbedd [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T06:37:20.256Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-11T06:37:20.285Z] Warning: overwriting stash ‘coverage-report’ [2022-07-11T06:37:20.815Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-11T06:37:21.249Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-11T06:37:21.615Z] + ls -al . [2022-07-11T06:37:21.615Z] total 180 [2022-07-11T06:37:21.615Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 11 06:37 . [2022-07-11T06:37:21.615Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 06:33 .. [2022-07-11T06:37:21.615Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 11 06:33 .dockerignore [2022-07-11T06:37:21.615Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 06:33 .git [2022-07-11T06:37:21.615Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 06:33 .github [2022-07-11T06:37:21.615Z] -rw-rw-r-- 1 jenkins jenkins 331 Jul 11 06:33 .gitignore [2022-07-11T06:37:21.615Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 06:33 .golangci.yml [2022-07-11T06:37:21.615Z] -rw-rw-r-- 1 jenkins jenkins 9636 Jul 11 06:33 Attribution.txt [2022-07-11T06:37:21.615Z] -rw-rw-r-- 1 jenkins jenkins 10001 Jul 11 06:33 CHANGELOG.md [2022-07-11T06:37:21.615Z] -rw-rw-r-- 1 jenkins jenkins 1546 Jul 11 06:33 Dockerfile [2022-07-11T06:37:21.615Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 06:33 GOVERNANCE.md [2022-07-11T06:37:21.615Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 11 06:33 Jenkinsfile [2022-07-11T06:37:21.615Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 11 06:33 LICENSE [2022-07-11T06:37:21.615Z] -rw-rw-r-- 1 jenkins jenkins 1905 Jul 11 06:33 Makefile [2022-07-11T06:37:21.615Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 11 06:33 OWNERS.md [2022-07-11T06:37:21.615Z] -rw-rw-r-- 1 jenkins jenkins 3397 Jul 11 06:33 README.md [2022-07-11T06:37:21.615Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 11 06:30 VERSION [2022-07-11T06:37:21.615Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 06:33 bin [2022-07-11T06:37:21.615Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 06:33 cmd [2022-07-11T06:37:21.615Z] -rw-r--r-- 1 jenkins jenkins 24065 Jul 11 06:36 coverage.out [2022-07-11T06:37:21.615Z] -rw-rw-r-- 1 jenkins jenkins 3404 Jul 11 06:33 go.mod [2022-07-11T06:37:21.615Z] -rw-rw-r-- 1 jenkins jenkins 36106 Jul 11 06:33 go.sum [2022-07-11T06:37:21.615Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 06:33 internal [2022-07-11T06:37:21.615Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 06:33 simulator [2022-07-11T06:37:21.615Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 06:33 snap [2022-07-11T06:37:21.615Z] -rw-rw-r-- 1 jenkins jenkins 229 Jul 11 06:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:37:22.007Z] + 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=b3a201471f88f806ab320431fdd3bd4e90f5c29c --label arch=arm64 --label version=2.2.1-dev.5 . [2022-07-11T06:37:22.653Z] Sending build context to Docker daemon 3.16MB [2022-07-11T06:37:22.653Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-07-11T06:37:22.653Z] Step 2/23 : FROM ${BASE} AS builder [2022-07-11T06:37:22.653Z] ---> 035ad633a22d [2022-07-11T06:37:22.653Z] Step 3/23 : ARG MAKE='make build' [2022-07-11T06:37:22.653Z] ---> Running in 8081d8add6a4 [2022-07-11T06:37:22.935Z] Removing intermediate container 8081d8add6a4 [2022-07-11T06:37:22.935Z] ---> 9e0ece22ee9c [2022-07-11T06:37:22.935Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T06:37:23.217Z] ---> Running in becdfd5f29c0 [2022-07-11T06:37:25.198Z] Removing intermediate container becdfd5f29c0 [2022-07-11T06:37:25.198Z] ---> 652ee28af066 [2022-07-11T06:37:25.198Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-07-11T06:37:25.198Z] ---> Running in 88e66da6d2fc [2022-07-11T06:37:25.798Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-11T06:37:26.779Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-11T06:37:27.759Z] OK: 226 MiB in 60 packages [2022-07-11T06:37:28.753Z] Removing intermediate container 88e66da6d2fc [2022-07-11T06:37:28.753Z] ---> 6e1ca733a358 [2022-07-11T06:37:28.753Z] Step 6/23 : WORKDIR /device-modbus-go [2022-07-11T06:37:28.753Z] ---> Running in b550b9cc97ba [2022-07-11T06:37:29.035Z] Removing intermediate container b550b9cc97ba [2022-07-11T06:37:29.035Z] ---> 33b356638c52 [2022-07-11T06:37:29.035Z] Step 7/23 : COPY go.mod vendor* ./ [2022-07-11T06:37:29.637Z] ---> e60f845fd032 [2022-07-11T06:37:29.637Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T06:37:29.637Z] ---> Running in 85a045db4171 [2022-07-11T06:37:31.622Z] Removing intermediate container 85a045db4171 [2022-07-11T06:37:31.622Z] ---> ebc749d081e4 [2022-07-11T06:37:31.622Z] Step 9/23 : COPY . . [2022-07-11T06:37:32.616Z] ---> 2dce80fd3aaa [2022-07-11T06:37:32.616Z] Step 10/23 : RUN ${MAKE} [2022-07-11T06:37:32.616Z] ---> Running in dd2e6dc46c19 [2022-07-11T06:37:33.602Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.1-dev.5" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-07-11T06:39:40.479Z] Removing intermediate container dd2e6dc46c19 [2022-07-11T06:39:40.479Z] ---> 781311258742 [2022-07-11T06:39:40.479Z] Step 11/23 : FROM alpine:3.14 [2022-07-11T06:39:40.479Z] 3.14: Pulling from library/alpine [2022-07-11T06:39:40.479Z] 455c02918c45: Pulling fs layer [2022-07-11T06:39:40.479Z] 455c02918c45: Verifying Checksum [2022-07-11T06:39:40.479Z] 455c02918c45: Download complete [2022-07-11T06:39:40.479Z] 455c02918c45: Pull complete [2022-07-11T06:39:40.479Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-11T06:39:40.479Z] Status: Downloaded newer image for alpine:3.14 [2022-07-11T06:39:40.479Z] ---> ac73e934f311 [2022-07-11T06:39:40.479Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-07-11T06:39:40.479Z] ---> Running in 51ba47a1d84d [2022-07-11T06:39:40.479Z] Removing intermediate container 51ba47a1d84d [2022-07-11T06:39:40.479Z] ---> 022c9fb458a5 [2022-07-11T06:39:40.479Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T06:39:40.780Z] ---> Running in 9aba362cec32 [2022-07-11T06:39:42.231Z] Removing intermediate container 9aba362cec32 [2022-07-11T06:39:42.231Z] ---> 20a63edb2584 [2022-07-11T06:39:42.231Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-11T06:39:42.511Z] ---> Running in e00a8971950c [2022-07-11T06:39:43.497Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-07-11T06:39:44.475Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-07-11T06:39:45.070Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-11T06:39:45.342Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-07-11T06:39:45.342Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-11T06:39:45.342Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-07-11T06:39:45.617Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-11T06:39:45.617Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-11T06:39:45.617Z] Executing busybox-1.33.1-r7.trigger [2022-07-11T06:39:45.891Z] OK: 8 MiB in 20 packages [2022-07-11T06:39:46.885Z] Removing intermediate container e00a8971950c [2022-07-11T06:39:46.885Z] ---> 09c1e9cf1e4b [2022-07-11T06:39:46.885Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-07-11T06:39:48.323Z] ---> ec4ce07f815f [2022-07-11T06:39:48.323Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-07-11T06:39:48.921Z] ---> d68878f7404b [2022-07-11T06:39:48.921Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-07-11T06:39:49.530Z] ---> 046029471a38 [2022-07-11T06:39:49.530Z] Step 18/23 : EXPOSE 59901 [2022-07-11T06:39:49.530Z] ---> Running in e28cdfac077b [2022-07-11T06:39:49.804Z] Removing intermediate container e28cdfac077b [2022-07-11T06:39:49.804Z] ---> 4f521592c51c [2022-07-11T06:39:49.804Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-07-11T06:39:49.804Z] ---> Running in 3f7a5630dff1 [2022-07-11T06:39:50.084Z] Removing intermediate container 3f7a5630dff1 [2022-07-11T06:39:50.084Z] ---> 8a753ca8a3a3 [2022-07-11T06:39:50.084Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-11T06:39:50.361Z] ---> Running in fcf7baa88154 [2022-07-11T06:39:50.634Z] Removing intermediate container fcf7baa88154 [2022-07-11T06:39:50.634Z] ---> 326da301a97d [2022-07-11T06:39:50.634Z] Step 21/23 : LABEL arch=arm64 [2022-07-11T06:39:50.634Z] ---> Running in 17b482b69811 [2022-07-11T06:39:50.908Z] Removing intermediate container 17b482b69811 [2022-07-11T06:39:50.908Z] ---> f42c0997ec78 [2022-07-11T06:39:50.908Z] Step 22/23 : LABEL git_sha=b3a201471f88f806ab320431fdd3bd4e90f5c29c [2022-07-11T06:39:51.181Z] ---> Running in 1745794e11bd [2022-07-11T06:39:51.459Z] Removing intermediate container 1745794e11bd [2022-07-11T06:39:51.459Z] ---> 8d779a3b0a28 [2022-07-11T06:39:51.459Z] Step 23/23 : LABEL version=2.2.1-dev.5 [2022-07-11T06:39:51.459Z] ---> Running in 8aad3922c9a5 [2022-07-11T06:39:51.732Z] Removing intermediate container 8aad3922c9a5 [2022-07-11T06:39:51.732Z] ---> 774dc52300f6 [2022-07-11T06:39:51.732Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-11T06:39:51.732Z] Successfully built 774dc52300f6 [2022-07-11T06:39:51.732Z] 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-07-11T06:39:51.858Z] provisioning config files... [2022-07-11T06:39:51.877Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/44@tmp/config203898745331495165tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:39:52.235Z] ---> docker-login.sh [2022-07-11T06:39:52.235Z] nexus3.edgexfoundry.org:10001 [2022-07-11T06:39:52.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:39:52.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:39:52.511Z] Configure a credential helper to remove this warning. See [2022-07-11T06:39:52.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:39:52.511Z] [2022-07-11T06:39:52.511Z] Login Succeeded [2022-07-11T06:39:52.511Z] nexus3.edgexfoundry.org:10002 [2022-07-11T06:39:53.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:39:53.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:39:53.108Z] Configure a credential helper to remove this warning. See [2022-07-11T06:39:53.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:39:53.108Z] [2022-07-11T06:39:53.108Z] Login Succeeded [2022-07-11T06:39:53.108Z] nexus3.edgexfoundry.org:10003 [2022-07-11T06:39:53.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:39:53.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:39:53.653Z] Configure a credential helper to remove this warning. See [2022-07-11T06:39:53.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:39:53.654Z] [2022-07-11T06:39:53.654Z] Login Succeeded [2022-07-11T06:39:53.654Z] nexus3.edgexfoundry.org:10004 [2022-07-11T06:39:53.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:39:54.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:39:54.203Z] Configure a credential helper to remove this warning. See [2022-07-11T06:39:54.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:39:54.203Z] [2022-07-11T06:39:54.203Z] Login Succeeded [2022-07-11T06:39:54.203Z] docker.io [2022-07-11T06:39:54.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:39:54.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:39:54.747Z] Configure a credential helper to remove this warning. See [2022-07-11T06:39:54.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:39:54.747Z] [2022-07-11T06:39:54.747Z] Login Succeeded [2022-07-11T06:39:54.747Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T06:39:54.765Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-11T06:39:54.795Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T06:39:54.820Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2022-07-11T06:39:54.820Z] b3a201471f88f806ab320431fdd3bd4e90f5c29c [2022-07-11T06:39:54.820Z] latest [2022-07-11T06:39:54.820Z] 2.2.1-dev.5 [2022-07-11T06:39:54.820Z] b3a201471f88f806ab320431fdd3bd4e90f5c29c-2.2.1-dev.5 [2022-07-11T06:39:54.820Z] main [2022-07-11T06:39:54.820Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:39:55.184Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:b3a201471f88f806ab320431fdd3bd4e90f5c29c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:39:55.545Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:b3a201471f88f806ab320431fdd3bd4e90f5c29c [2022-07-11T06:39:55.545Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-07-11T06:39:55.545Z] e6c24382a52b: Preparing [2022-07-11T06:39:55.545Z] ca660e4400c7: Preparing [2022-07-11T06:39:55.545Z] 85f845390b91: Preparing [2022-07-11T06:39:55.545Z] 446e3757cafc: Preparing [2022-07-11T06:39:55.545Z] a8c02ac0abeb: Preparing [2022-07-11T06:39:55.545Z] f73e7dbfee58: Preparing [2022-07-11T06:39:55.545Z] f73e7dbfee58: Waiting [2022-07-11T06:39:55.821Z] ca660e4400c7: Pushed [2022-07-11T06:39:55.821Z] e6c24382a52b: Pushed [2022-07-11T06:39:55.821Z] a8c02ac0abeb: Pushed [2022-07-11T06:39:55.821Z] f73e7dbfee58: Layer already exists [2022-07-11T06:39:56.419Z] 446e3757cafc: Pushed [2022-07-11T06:40:01.814Z] 85f845390b91: Pushed [2022-07-11T06:40:01.814Z] b3a201471f88f806ab320431fdd3bd4e90f5c29c: digest: sha256:f23f9c903610b0fabbf8cc5d05711056984715e9b9f4c5b4b6ad2e0b27c31f90 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:40:02.200Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:40:02.550Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-07-11T06:40:02.550Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-07-11T06:40:02.550Z] e6c24382a52b: Preparing [2022-07-11T06:40:02.550Z] ca660e4400c7: Preparing [2022-07-11T06:40:02.550Z] 85f845390b91: Preparing [2022-07-11T06:40:02.550Z] 446e3757cafc: Preparing [2022-07-11T06:40:02.550Z] a8c02ac0abeb: Preparing [2022-07-11T06:40:02.550Z] f73e7dbfee58: Preparing [2022-07-11T06:40:02.550Z] f73e7dbfee58: Waiting [2022-07-11T06:40:02.550Z] 446e3757cafc: Layer already exists [2022-07-11T06:40:02.550Z] a8c02ac0abeb: Layer already exists [2022-07-11T06:40:02.550Z] 85f845390b91: Layer already exists [2022-07-11T06:40:02.550Z] ca660e4400c7: Layer already exists [2022-07-11T06:40:02.550Z] e6c24382a52b: Layer already exists [2022-07-11T06:40:02.550Z] f73e7dbfee58: Layer already exists [2022-07-11T06:40:02.825Z] latest: digest: sha256:f23f9c903610b0fabbf8cc5d05711056984715e9b9f4c5b4b6ad2e0b27c31f90 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:40:03.201Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.1-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:40:03.561Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.1-dev.5 [2022-07-11T06:40:03.561Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-07-11T06:40:03.561Z] e6c24382a52b: Preparing [2022-07-11T06:40:03.561Z] ca660e4400c7: Preparing [2022-07-11T06:40:03.561Z] 85f845390b91: Preparing [2022-07-11T06:40:03.561Z] 446e3757cafc: Preparing [2022-07-11T06:40:03.561Z] a8c02ac0abeb: Preparing [2022-07-11T06:40:03.561Z] f73e7dbfee58: Preparing [2022-07-11T06:40:03.561Z] f73e7dbfee58: Waiting [2022-07-11T06:40:03.561Z] a8c02ac0abeb: Layer already exists [2022-07-11T06:40:03.561Z] 446e3757cafc: Layer already exists [2022-07-11T06:40:03.561Z] ca660e4400c7: Layer already exists [2022-07-11T06:40:03.561Z] 85f845390b91: Layer already exists [2022-07-11T06:40:03.561Z] e6c24382a52b: Layer already exists [2022-07-11T06:40:03.561Z] f73e7dbfee58: Layer already exists [2022-07-11T06:40:03.833Z] 2.2.1-dev.5: digest: sha256:f23f9c903610b0fabbf8cc5d05711056984715e9b9f4c5b4b6ad2e0b27c31f90 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:40:04.206Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:b3a201471f88f806ab320431fdd3bd4e90f5c29c-2.2.1-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:40:04.567Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:b3a201471f88f806ab320431fdd3bd4e90f5c29c-2.2.1-dev.5 [2022-07-11T06:40:04.567Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-07-11T06:40:04.567Z] e6c24382a52b: Preparing [2022-07-11T06:40:04.567Z] ca660e4400c7: Preparing [2022-07-11T06:40:04.567Z] 85f845390b91: Preparing [2022-07-11T06:40:04.567Z] 446e3757cafc: Preparing [2022-07-11T06:40:04.567Z] a8c02ac0abeb: Preparing [2022-07-11T06:40:04.567Z] f73e7dbfee58: Preparing [2022-07-11T06:40:04.567Z] f73e7dbfee58: Waiting [2022-07-11T06:40:04.567Z] a8c02ac0abeb: Layer already exists [2022-07-11T06:40:04.567Z] e6c24382a52b: Layer already exists [2022-07-11T06:40:04.567Z] 85f845390b91: Layer already exists [2022-07-11T06:40:04.567Z] ca660e4400c7: Layer already exists [2022-07-11T06:40:04.567Z] 446e3757cafc: Layer already exists [2022-07-11T06:40:04.841Z] f73e7dbfee58: Layer already exists [2022-07-11T06:40:04.841Z] b3a201471f88f806ab320431fdd3bd4e90f5c29c-2.2.1-dev.5: digest: sha256:f23f9c903610b0fabbf8cc5d05711056984715e9b9f4c5b4b6ad2e0b27c31f90 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:40:05.217Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:40:05.635Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2022-07-11T06:40:05.635Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-07-11T06:40:05.635Z] e6c24382a52b: Preparing [2022-07-11T06:40:05.635Z] ca660e4400c7: Preparing [2022-07-11T06:40:05.635Z] 85f845390b91: Preparing [2022-07-11T06:40:05.635Z] 446e3757cafc: Preparing [2022-07-11T06:40:05.635Z] a8c02ac0abeb: Preparing [2022-07-11T06:40:05.635Z] f73e7dbfee58: Preparing [2022-07-11T06:40:05.635Z] f73e7dbfee58: Waiting [2022-07-11T06:40:05.635Z] e6c24382a52b: Layer already exists [2022-07-11T06:40:05.635Z] 446e3757cafc: Layer already exists [2022-07-11T06:40:05.635Z] a8c02ac0abeb: Layer already exists [2022-07-11T06:40:05.635Z] ca660e4400c7: Layer already exists [2022-07-11T06:40:05.635Z] 85f845390b91: Layer already exists [2022-07-11T06:40:05.635Z] f73e7dbfee58: Layer already exists [2022-07-11T06:40:05.916Z] main: digest: sha256:f23f9c903610b0fabbf8cc5d05711056984715e9b9f4c5b4b6ad2e0b27c31f90 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-11T06:40:05.988Z] ===================================================== [Pipeline] echo [2022-07-11T06:40:05.998Z] taggedImages: [2022-07-11T06:40:05.998Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:b3a201471f88f806ab320431fdd3bd4e90f5c29c [2022-07-11T06:40:05.998Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-07-11T06:40:05.998Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.1-dev.5 [2022-07-11T06:40:05.998Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:b3a201471f88f806ab320431fdd3bd4e90f5c29c-2.2.1-dev.5 [2022-07-11T06:40:05.998Z] - 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-07-11T06:40:06.395Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-11T06:40:06.395Z] [2022-07-11T06:40:06.395Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:40:06.763Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-11T06:40:07.041Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-11T06:40:07.041Z] 8998bd30e6a1: Pulling fs layer [2022-07-11T06:40:07.041Z] 04944245beec: Pulling fs layer [2022-07-11T06:40:07.041Z] 699f458cf7ca: Pulling fs layer [2022-07-11T06:40:07.041Z] 765212b225bb: Pulling fs layer [2022-07-11T06:40:07.041Z] f23df028b6ca: Pulling fs layer [2022-07-11T06:40:07.041Z] d65c8cfc05b1: Pulling fs layer [2022-07-11T06:40:07.041Z] 2437ff75d9bd: Pulling fs layer [2022-07-11T06:40:07.041Z] f23df028b6ca: Waiting [2022-07-11T06:40:07.041Z] 765212b225bb: Waiting [2022-07-11T06:40:07.041Z] d65c8cfc05b1: Waiting [2022-07-11T06:40:07.041Z] 2437ff75d9bd: Waiting [2022-07-11T06:40:07.041Z] 04944245beec: Verifying Checksum [2022-07-11T06:40:07.041Z] 04944245beec: Download complete [2022-07-11T06:40:07.041Z] 765212b225bb: Verifying Checksum [2022-07-11T06:40:07.041Z] 765212b225bb: Download complete [2022-07-11T06:40:07.041Z] f23df028b6ca: Verifying Checksum [2022-07-11T06:40:07.041Z] f23df028b6ca: Download complete [2022-07-11T06:40:07.041Z] d65c8cfc05b1: Verifying Checksum [2022-07-11T06:40:07.041Z] d65c8cfc05b1: Download complete [2022-07-11T06:40:07.318Z] 699f458cf7ca: Verifying Checksum [2022-07-11T06:40:07.318Z] 699f458cf7ca: Download complete [2022-07-11T06:40:07.619Z] 8998bd30e6a1: Verifying Checksum [2022-07-11T06:40:07.619Z] 8998bd30e6a1: Download complete [2022-07-11T06:40:10.257Z] 2437ff75d9bd: Verifying Checksum [2022-07-11T06:40:10.257Z] 2437ff75d9bd: Download complete [2022-07-11T06:40:12.233Z] 8998bd30e6a1: Pull complete [2022-07-11T06:40:12.507Z] 04944245beec: Pull complete [2022-07-11T06:40:13.943Z] 699f458cf7ca: Pull complete [2022-07-11T06:40:14.215Z] 765212b225bb: Pull complete [2022-07-11T06:40:15.195Z] f23df028b6ca: Pull complete [2022-07-11T06:40:15.467Z] d65c8cfc05b1: Pull complete [2022-07-11T06:40:30.566Z] 2437ff75d9bd: Pull complete [2022-07-11T06:40:30.566Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-11T06:40:30.566Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-11T06:40:30.566Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T06:40:30.824Z] prd-ubuntu20.04-docker-arm64-4c-16g-17394 does not seem to be running inside a container [2022-07-11T06:40:30.901Z] $ 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/44 -v /w/workspace/device-modbus-go/44:/w/workspace/device-modbus-go/44:rw,z -v /w/workspace/device-modbus-go/44@tmp:/w/workspace/device-modbus-go/44@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-11T06:40:33.379Z] $ docker top d8d748c6df2e13a4c6056b96d2b033e7591d320908248d7617de51d0955a1f32 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:40:34.271Z] ---> job-cost.sh [2022-07-11T06:40:34.271Z] lf-activate-venv: SKIPPING [2022-07-11T06:40:34.271Z] INFO: No Stack... [2022-07-11T06:40:34.859Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-11T06:40:35.448Z] INFO: Archiving Costs [Pipeline] sh [2022-07-11T06:40:36.097Z] + + cut -d, -f6 [2022-07-11T06:40:36.097Z] cat /w/workspace/device-modbus-go/44/archives/cost.csv [Pipeline] lock [2022-07-11T06:40:36.158Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-44-stack-cost] [2022-07-11T06:40:36.171Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-44-stack-cost] did not exist. Created. [2022-07-11T06:40:36.171Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-44-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-11T06:40:36.841Z] /w/workspace/device-modbus-go/44@tmp/durable-3a33677e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-11T06:40:37.524Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-11T06:40:37.553Z] Warning: overwriting stash ‘stack-cost’ [2022-07-11T06:40:37.602Z] Stashed 1 file(s) [Pipeline] } [2022-07-11T06:40:37.611Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-44-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-11T06:40:37.628Z] $ docker stop --time=1 d8d748c6df2e13a4c6056b96d2b033e7591d320908248d7617de51d0955a1f32 [2022-07-11T06:40:39.139Z] $ docker rm -f d8d748c6df2e13a4c6056b96d2b033e7591d320908248d7617de51d0955a1f32 [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-07-11T06:40:39.556Z] provisioning config files... [2022-07-11T06:40:39.564Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3736341426586444441tmp [Pipeline] { [Pipeline] sh [2022-07-11T06:40:39.853Z] + set +x [2022-07-11T06:40:39.853Z] + curl -s https://codecov.io/bash [2022-07-11T06:40:39.853Z] + bash -s -- [2022-07-11T06:40:39.853Z] [2022-07-11T06:40:39.853Z] _____ _ [2022-07-11T06:40:39.853Z] / ____| | | [2022-07-11T06:40:39.853Z] | | ___ __| | ___ ___ _____ __ [2022-07-11T06:40:39.853Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-11T06:40:39.853Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-11T06:40:39.853Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-11T06:40:39.853Z] Bash-1.0.6 [2022-07-11T06:40:39.853Z] [2022-07-11T06:40:39.853Z] [2022-07-11T06:40:39.853Z] ==> git version 2.25.1 found [2022-07-11T06:40:39.854Z] ==> 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-07-11T06:40:39.854Z] Release-Date: 2020-01-08 [2022-07-11T06:40:39.854Z] 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-07-11T06:40:39.854Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-11T06:40:39.854Z] ==> Jenkins CI detected. [2022-07-11T06:40:39.854Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2022-07-11T06:40:39.854Z] project root: . [2022-07-11T06:40:39.854Z] --> token set from env [2022-07-11T06:40:39.854Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-11T06:40:39.854Z] ==> Running gcov in . (disable via -X gcov) [2022-07-11T06:40:39.854Z] ==> Python coveragepy not found [2022-07-11T06:40:39.854Z] ==> Searching for coverage reports in: [2022-07-11T06:40:39.854Z] + . [2022-07-11T06:40:39.854Z] -> Found 1 reports [2022-07-11T06:40:39.854Z] ==> Detecting git/mercurial file structure [2022-07-11T06:40:39.854Z] ==> Reading reports [2022-07-11T06:40:39.854Z] + ./coverage.out bytes=24065 [2022-07-11T06:40:39.854Z] ==> Appending adjustments [2022-07-11T06:40:39.854Z] https://docs.codecov.io/docs/fixing-reports [2022-07-11T06:40:40.114Z] + Found adjustments [2022-07-11T06:40:40.114Z] ==> Gzipping contents [2022-07-11T06:40:40.114Z] 4.0K /tmp/codecov.5xx6Iw.gz [2022-07-11T06:40:40.114Z] ==> Uploading reports [2022-07-11T06:40:40.114Z] url: https://codecov.io [2022-07-11T06:40:40.114Z] query: branch=main&commit=b3a201471f88f806ab320431fdd3bd4e90f5c29c&build=44&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F44%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-07-11T06:40:40.114Z] -> Pinging Codecov [2022-07-11T06:40:40.114Z] 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=b3a201471f88f806ab320431fdd3bd4e90f5c29c&build=44&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F44%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-07-11T06:40:40.377Z] -> Uploading to [2022-07-11T06:40:40.377Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-11/55DBCA73C666E3227836607328DD7E49/b3a201471f88f806ab320431fdd3bd4e90f5c29c/206b8f8e-ffa3-4056-a94e-84520f4c99af.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220711%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220711T064040Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a9e91164a248608dbe48c1cd073352453b757e9893a5c304505da1a00a9b1834 [2022-07-11T06:40:40.377Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-11T06:40:40.377Z] Dload Upload Total Spent Left Speed [2022-07-11T06:40:40.637Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4026 0 0 100 4026 0 9362 --:--:-- --:--:-- --:--:-- 9341 [2022-07-11T06:40:40.637Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/b3a201471f88f806ab320431fdd3bd4e90f5c29c [Pipeline] } [2022-07-11T06:40:40.648Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-07-11T06:40:40.762Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-07-11T06:40:40.772Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:40:41.073Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-11T06:40:41.073Z] [2022-07-11T06:40:41.073Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:40:41.377Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-11T06:40:41.377Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-07-11T06:40:41.377Z] df9b9388f04a: Pulling fs layer [2022-07-11T06:40:41.377Z] 52dc419b0ee2: Pulling fs layer [2022-07-11T06:40:41.377Z] 25bc292e5bac: Pulling fs layer [2022-07-11T06:40:41.377Z] 114826534d7a: Pulling fs layer [2022-07-11T06:40:41.377Z] 4657fd5d0bcf: Pulling fs layer [2022-07-11T06:40:41.377Z] 6ad1cebc031e: Pulling fs layer [2022-07-11T06:40:41.377Z] 8a3aa393b2d8: Pulling fs layer [2022-07-11T06:40:41.377Z] 6ad1cebc031e: Waiting [2022-07-11T06:40:41.377Z] 114826534d7a: Waiting [2022-07-11T06:40:41.377Z] 8a3aa393b2d8: Waiting [2022-07-11T06:40:41.377Z] 4657fd5d0bcf: Waiting [2022-07-11T06:40:41.377Z] 25bc292e5bac: Verifying Checksum [2022-07-11T06:40:41.377Z] 25bc292e5bac: Download complete [2022-07-11T06:40:41.377Z] 52dc419b0ee2: Download complete [2022-07-11T06:40:41.377Z] 4657fd5d0bcf: Verifying Checksum [2022-07-11T06:40:41.377Z] 4657fd5d0bcf: Download complete [2022-07-11T06:40:41.377Z] df9b9388f04a: Verifying Checksum [2022-07-11T06:40:41.378Z] df9b9388f04a: Download complete [2022-07-11T06:40:41.638Z] 6ad1cebc031e: Verifying Checksum [2022-07-11T06:40:41.638Z] 6ad1cebc031e: Download complete [2022-07-11T06:40:41.638Z] df9b9388f04a: Pull complete [2022-07-11T06:40:41.638Z] 52dc419b0ee2: Pull complete [2022-07-11T06:40:41.899Z] 25bc292e5bac: Pull complete [2022-07-11T06:40:42.159Z] 114826534d7a: Verifying Checksum [2022-07-11T06:40:42.159Z] 114826534d7a: Download complete [2022-07-11T06:40:42.433Z] 8a3aa393b2d8: Verifying Checksum [2022-07-11T06:40:42.433Z] 8a3aa393b2d8: Download complete [2022-07-11T06:40:45.716Z] 114826534d7a: Pull complete [2022-07-11T06:40:45.716Z] 4657fd5d0bcf: Pull complete [2022-07-11T06:40:46.285Z] 6ad1cebc031e: Pull complete [2022-07-11T06:40:49.581Z] 8a3aa393b2d8: Pull complete [2022-07-11T06:40:49.581Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-07-11T06:40:49.581Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-11T06:40:49.581Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T06:40:49.686Z] prd-ubuntu20.04-docker-8c-8g-17392 does not seem to be running inside a container [2022-07-11T06:40:49.724Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-07-11T06:40:51.855Z] $ docker top 548a5d231024abeb509054ad6d4569ff7ff5b3ead59c56fb3678ddb51a961312 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-07-11T06:40:51.936Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2022-07-11T06:40:52.217Z] + set -o pipefail [2022-07-11T06:40:52.217Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2022-07-11T06:40:56.423Z] [2022-07-11T06:40:56.423Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2022-07-11T06:40:56.423Z] [2022-07-11T06:40:56.423Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/e8bcbdc9-c137-46a0-bc84-9755bea10db0 [2022-07-11T06:40:56.423Z] [2022-07-11T06:40:56.423Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-07-11T06:40:56.423Z] [2022-07-11T06:40:56.423Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-07-11T06:40:56.423Z] [2022-07-11T06:40:56.685Z] [2022-07-11T06:40:56.685Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2022-07-11T06:40:56.685Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2022-07-11T06:40:56.701Z] $ docker stop --time=1 548a5d231024abeb509054ad6d4569ff7ff5b3ead59c56fb3678ddb51a961312 [2022-07-11T06:40:58.920Z] $ docker rm -f 548a5d231024abeb509054ad6d4569ff7ff5b3ead59c56fb3678ddb51a961312 [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-07-11T06:40:59.663Z] + git log --format=format:%s -1 b3a201471f88f806ab320431fdd3bd4e90f5c29c [Pipeline] sh [2022-07-11T06:40:59.972Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-11T06:40:59.972Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:41:00.289Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T06:41:00.289Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T06:41:00.429Z] prd-ubuntu20.04-docker-8c-8g-17392 does not seem to be running inside a container [2022-07-11T06:41:00.461Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-11T06:41:00.978Z] $ docker top ecff850f80b67ff1742d2476d7407c2de2ade1a75e158b9c49a8bd0e5f742c8c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-11T06:41:01.078Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-11T06:41:01.078Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-11T06:41:01.203Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-11T06:41:01.205Z] $ docker exec ecff850f80b67ff1742d2476d7407c2de2ade1a75e158b9c49a8bd0e5f742c8c ssh-agent [2022-07-11T06:41:01.323Z] SSH_AUTH_SOCK=/tmp/ssh-3QmGLZSFRnKJ/agent.34 [2022-07-11T06:41:01.323Z] SSH_AGENT_PID=40 [2022-07-11T06:41:01.329Z] Running ssh-add (command line suppressed) [2022-07-11T06:41:01.455Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3412115075714079708.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3412115075714079708.key) [2022-07-11T06:41:01.473Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-11T06:41:01.766Z] + git semver tag [2022-07-11T06:41:02.028Z] 2022-07-11 06:41:01,962 [run_tag] DEBUG tag force:False [2022-07-11T06:41:02.028Z] 2022-07-11 06:41:01,963 [check_head_tag] DEBUG check head tag [2022-07-11T06:41:02.028Z] 2022-07-11 06:41:01,963 [execute] INFO git cat-file --batch-check [2022-07-11T06:41:02.028Z] 2022-07-11 06:41:01,964 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-07-11T06:41:02.028Z] 2022-07-11 06:41:01,968 [execute] INFO git cat-file --batch [2022-07-11T06:41:02.028Z] 2022-07-11 06:41:01,968 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-07-11T06:41:02.028Z] 2022-07-11 06:41:01,978 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-07-11T06:41:02.028Z] 2022-07-11 06:41:01,978 [execute] INFO git tag -a v2.2.1-dev.5 -m v2.2.1-dev.5 [2022-07-11T06:41:02.028Z] 2022-07-11 06:41:01,978 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.5', '-m', 'v2.2.1-dev.5'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2022-07-11T06:41:02.028Z] 2022-07-11 06:41:01,983 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-07-11T06:41:02.028Z] 2.2.1-dev.5 [Pipeline] } [2022-07-11T06:41:02.040Z] $ docker exec --env ******** --env ******** ecff850f80b67ff1742d2476d7407c2de2ade1a75e158b9c49a8bd0e5f742c8c ssh-agent -k [2022-07-11T06:41:02.149Z] unset SSH_AUTH_SOCK; [2022-07-11T06:41:02.149Z] unset SSH_AGENT_PID; [2022-07-11T06:41:02.149Z] echo Agent pid 40 killed; [2022-07-11T06:41:02.165Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-11T06:41:02.480Z] + git semver [Pipeline] } [2022-07-11T06:41:02.751Z] $ docker stop --time=1 ecff850f80b67ff1742d2476d7407c2de2ade1a75e158b9c49a8bd0e5f742c8c [2022-07-11T06:41:04.033Z] $ docker rm -f ecff850f80b67ff1742d2476d7407c2de2ade1a75e158b9c49a8bd0e5f742c8c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:41:04.440Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-11T06:41:04.440Z] [2022-07-11T06:41:04.440Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:41:04.747Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-11T06:41:04.748Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-07-11T06:41:04.748Z] ab5ef0e58194: Pulling fs layer [2022-07-11T06:41:04.748Z] 9712f1f96733: Pulling fs layer [2022-07-11T06:41:04.748Z] 63f879dbbcfc: Pulling fs layer [2022-07-11T06:41:04.748Z] 0d9ebad4ef96: Pulling fs layer [2022-07-11T06:41:04.748Z] e9a5061849ea: Pulling fs layer [2022-07-11T06:41:04.748Z] d747dcd14b5f: Pulling fs layer [2022-07-11T06:41:04.748Z] 2de7ff778b66: Pulling fs layer [2022-07-11T06:41:04.748Z] 0d9ebad4ef96: Waiting [2022-07-11T06:41:04.748Z] d747dcd14b5f: Waiting [2022-07-11T06:41:04.748Z] 2de7ff778b66: Waiting [2022-07-11T06:41:04.748Z] e9a5061849ea: Waiting [2022-07-11T06:41:04.748Z] 9712f1f96733: Download complete [2022-07-11T06:41:05.316Z] 63f879dbbcfc: Verifying Checksum [2022-07-11T06:41:05.316Z] 63f879dbbcfc: Download complete [2022-07-11T06:41:05.316Z] e9a5061849ea: Verifying Checksum [2022-07-11T06:41:05.316Z] e9a5061849ea: Download complete [2022-07-11T06:41:05.316Z] d747dcd14b5f: Verifying Checksum [2022-07-11T06:41:05.316Z] d747dcd14b5f: Download complete [2022-07-11T06:41:05.577Z] ab5ef0e58194: Verifying Checksum [2022-07-11T06:41:05.577Z] ab5ef0e58194: Download complete [2022-07-11T06:41:05.577Z] 0d9ebad4ef96: Verifying Checksum [2022-07-11T06:41:05.577Z] 0d9ebad4ef96: Download complete [2022-07-11T06:41:05.577Z] 2de7ff778b66: Verifying Checksum [2022-07-11T06:41:05.577Z] 2de7ff778b66: Download complete [2022-07-11T06:41:08.866Z] ab5ef0e58194: Pull complete [2022-07-11T06:41:08.866Z] 9712f1f96733: Pull complete [2022-07-11T06:41:09.126Z] 63f879dbbcfc: Pull complete [2022-07-11T06:41:13.326Z] 0d9ebad4ef96: Pull complete [2022-07-11T06:41:13.326Z] e9a5061849ea: Pull complete [2022-07-11T06:41:13.326Z] d747dcd14b5f: Pull complete [2022-07-11T06:41:14.710Z] 2de7ff778b66: Pull complete [2022-07-11T06:41:14.710Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-07-11T06:41:14.710Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-11T06:41:14.710Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T06:41:14.808Z] prd-ubuntu20.04-docker-8c-8g-17392 does not seem to be running inside a container [2022-07-11T06:41:14.844Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-07-11T06:41:17.161Z] $ docker top ce0791ef5d828792ba2d047d4b3f293ebe8f9b48abd2ab5bb4ab28618a1ab614 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-07-11T06:41:17.240Z] provisioning config files... [2022-07-11T06:41:17.249Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3091690295472056538tmp [2022-07-11T06:41:17.262Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7856901866442690219tmp [2022-07-11T06:41:17.273Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2463223821904994781tmp [Pipeline] { [Pipeline] echo [2022-07-11T06:41:17.289Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:41:17.574Z] ---> sigul-configuration.sh [2022-07-11T06:41:17.574Z] gpg: directory `/root/.gnupg' created [2022-07-11T06:41:17.574Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-07-11T06:41:17.574Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-07-11T06:41:17.574Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-07-11T06:41:17.574Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-07-11T06:41:17.574Z] gpg: CAST5 encrypted data [2022-07-11T06:41:17.574Z] gpg: encrypted with 1 passphrase [2022-07-11T06:41:17.574Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-07-11T06:41:17.860Z] + mkdir /home/jenkins [2022-07-11T06:41:17.860Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-07-11T06:41:18.148Z] + 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-07-11T06:41:18.157Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:41:18.445Z] ---> sigul-install.sh [2022-07-11T06:41:18.445Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-07-11T06:41:18.736Z] + git tag --list [2022-07-11T06:41:18.736Z] 0.7.1 [2022-07-11T06:41:18.736Z] v1.0.0 [2022-07-11T06:41:18.736Z] v1.1.0 [2022-07-11T06:41:18.736Z] v1.1.1 [2022-07-11T06:41:18.736Z] v1.2.2 [2022-07-11T06:41:18.736Z] v1.3.0 [2022-07-11T06:41:18.736Z] v1.3.1 [2022-07-11T06:41:18.736Z] v2.0.0 [2022-07-11T06:41:18.736Z] v2.1.0 [2022-07-11T06:41:18.736Z] v2.1.1 [2022-07-11T06:41:18.736Z] v2.1.1-dev.1 [2022-07-11T06:41:18.736Z] v2.1.1-dev.2 [2022-07-11T06:41:18.736Z] v2.1.1-dev.3 [2022-07-11T06:41:18.736Z] v2.2.0 [2022-07-11T06:41:18.736Z] v2.2.1-dev.1 [2022-07-11T06:41:18.736Z] v2.2.1-dev.2 [2022-07-11T06:41:18.736Z] v2.2.1-dev.3 [2022-07-11T06:41:18.736Z] v2.2.1-dev.4 [2022-07-11T06:41:18.737Z] v2.2.1-dev.5 [Pipeline] sh [2022-07-11T06:41:19.031Z] + lftools sign git-tag v2.2.1-dev.5 [2022-07-11T06:41:19.602Z] Signing Git tag with Sigul... [2022-07-11T06:41:19.602Z] Signing v2.2.1-dev.5 [Pipeline] echo [2022-07-11T06:41:19.876Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:41:20.168Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-07-11T06:41:20.178Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-07-11T06:41:20.204Z] $ docker stop --time=1 ce0791ef5d828792ba2d047d4b3f293ebe8f9b48abd2ab5bb4ab28618a1ab614 [2022-07-11T06:41:21.547Z] $ docker rm -f ce0791ef5d828792ba2d047d4b3f293ebe8f9b48abd2ab5bb4ab28618a1ab614 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-07-11T06:41:21.971Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-11T06:41:21.971Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:41:22.274Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T06:41:22.274Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T06:41:22.360Z] prd-ubuntu20.04-docker-8c-8g-17392 does not seem to be running inside a container [2022-07-11T06:41:22.398Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-11T06:41:22.849Z] $ docker top fad40accce33141f24d2a36b4c8d200b22b3ae5b6b2ba1c17e3fded627a1017f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-11T06:41:22.957Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-11T06:41:22.957Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-11T06:41:23.088Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-11T06:41:23.089Z] $ docker exec fad40accce33141f24d2a36b4c8d200b22b3ae5b6b2ba1c17e3fded627a1017f ssh-agent [2022-07-11T06:41:23.215Z] SSH_AUTH_SOCK=/tmp/ssh-RjSIKu1SFEMI/agent.33 [2022-07-11T06:41:23.215Z] SSH_AGENT_PID=40 [2022-07-11T06:41:23.221Z] Running ssh-add (command line suppressed) [2022-07-11T06:41:23.336Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4276983873936391966.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4276983873936391966.key) [2022-07-11T06:41:23.356Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-11T06:41:23.645Z] + git semver bump pre [2022-07-11T06:41:23.907Z] 2022-07-11 06:41:23,845 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-07-11T06:41:23.907Z] 2022-07-11 06:41:23,846 [bump_version] DEBUG bumping version:2.2.1-dev.5 on axis:pre with prefix:dev [2022-07-11T06:41:23.907Z] 2022-07-11 06:41:23,846 [bump_version] DEBUG bumped version:2.2.1-dev.6 [2022-07-11T06:41:23.907Z] 2022-07-11 06:41:23,846 [write_version] DEBUG write version:2.2.1-dev.6 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2022-07-11T06:41:23.907Z] 2022-07-11 06:41:23,846 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-07-11T06:41:23.907Z] 2022-07-11 06:41:23,846 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-07-11T06:41:23.907Z] 2022-07-11 06:41:23,848 [execute] INFO git cat-file --batch-check [2022-07-11T06:41:23.907Z] 2022-07-11 06:41:23,848 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-11T06:41:23.907Z] 2022-07-11 06:41:23,854 [execute] INFO git cat-file --batch [2022-07-11T06:41:23.907Z] 2022-07-11 06:41:23,855 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-11T06:41:23.907Z] 2022-07-11 06:41:23,861 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-07-11T06:41:23.907Z] 2.2.1-dev.6 [Pipeline] } [2022-07-11T06:41:23.916Z] $ docker exec --env ******** --env ******** fad40accce33141f24d2a36b4c8d200b22b3ae5b6b2ba1c17e3fded627a1017f ssh-agent -k [2022-07-11T06:41:24.032Z] unset SSH_AUTH_SOCK; [2022-07-11T06:41:24.032Z] unset SSH_AGENT_PID; [2022-07-11T06:41:24.032Z] echo Agent pid 40 killed; [2022-07-11T06:41:24.047Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-11T06:41:24.357Z] + git semver [Pipeline] } [2022-07-11T06:41:24.629Z] $ docker stop --time=1 fad40accce33141f24d2a36b4c8d200b22b3ae5b6b2ba1c17e3fded627a1017f [2022-07-11T06:41:25.966Z] $ docker rm -f fad40accce33141f24d2a36b4c8d200b22b3ae5b6b2ba1c17e3fded627a1017f [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T06:41:26.324Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-11T06:41:26.324Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:41:26.628Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T06:41:26.628Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T06:41:26.755Z] prd-ubuntu20.04-docker-8c-8g-17392 does not seem to be running inside a container [2022-07-11T06:41:26.801Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-11T06:41:27.269Z] $ docker top cca47da167b55f48fb49075f29cf7d1ba59cdcea81be017368bcacebd17d764a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-11T06:41:27.372Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-11T06:41:27.372Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-11T06:41:27.498Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-11T06:41:27.500Z] $ docker exec cca47da167b55f48fb49075f29cf7d1ba59cdcea81be017368bcacebd17d764a ssh-agent [2022-07-11T06:41:27.641Z] SSH_AUTH_SOCK=/tmp/ssh-nLgInMJDE8HA/agent.32 [2022-07-11T06:41:27.641Z] SSH_AGENT_PID=39 [2022-07-11T06:41:27.646Z] Running ssh-add (command line suppressed) [2022-07-11T06:41:27.783Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9206599630514535204.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9206599630514535204.key) [2022-07-11T06:41:27.802Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-11T06:41:28.095Z] + git semver push [2022-07-11T06:41:28.355Z] 2022-07-11 06:41:28,286 [run_push] DEBUG push [2022-07-11T06:41:28.355Z] 2022-07-11 06:41:28,287 [execute] INFO git cat-file --batch-check [2022-07-11T06:41:28.355Z] 2022-07-11 06:41:28,287 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-11T06:41:28.355Z] 2022-07-11 06:41:28,291 [execute] INFO git rev-list 19814d97d63046d2e30290c18a0ecf9856e3033e -- [2022-07-11T06:41:28.355Z] 2022-07-11 06:41:28,292 [execute] DEBUG Popen(['git', 'rev-list', '19814d97d63046d2e30290c18a0ecf9856e3033e', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-07-11T06:41:28.355Z] 2022-07-11 06:41:28,300 [execute] INFO git fetch -v origin [2022-07-11T06:41:28.355Z] 2022-07-11 06:41:28,300 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-07-11T06:41:28.925Z] 2022-07-11 06:41:28,793 [run_push] DEBUG no remote changes detected [2022-07-11T06:41:28.925Z] 2022-07-11 06:41:28,793 [execute] INFO git push origin semver [2022-07-11T06:41:28.925Z] 2022-07-11 06:41:28,794 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-07-11T06:41:29.870Z] 2022-07-11 06:41:29,517 [run_push] DEBUG push all version tags [2022-07-11T06:41:29.870Z] 2022-07-11 06:41:29,517 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-07-11T06:41:29.870Z] 2022-07-11 06:41:29,518 [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-07-11T06:41:30.442Z] 2022-07-11 06:41:30,195 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-07-11T06:41:30.442Z] 2.2.1-dev.6 [Pipeline] } [2022-07-11T06:41:30.451Z] $ docker exec --env ******** --env ******** cca47da167b55f48fb49075f29cf7d1ba59cdcea81be017368bcacebd17d764a ssh-agent -k [2022-07-11T06:41:30.569Z] unset SSH_AUTH_SOCK; [2022-07-11T06:41:30.569Z] unset SSH_AGENT_PID; [2022-07-11T06:41:30.569Z] echo Agent pid 39 killed; [2022-07-11T06:41:30.583Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-11T06:41:30.893Z] + git semver [Pipeline] } [2022-07-11T06:41:31.167Z] $ docker stop --time=1 cca47da167b55f48fb49075f29cf7d1ba59cdcea81be017368bcacebd17d764a [2022-07-11T06:41:32.485Z] $ docker rm -f cca47da167b55f48fb49075f29cf7d1ba59cdcea81be017368bcacebd17d764a [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-07-11T06:41:33.098Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2022-07-11T06:41:33.098Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-07-11T06:41:33.098Z] total 16 [2022-07-11T06:41:33.098Z] drwxr-xr-x 3 root root 4096 Jul 11 06:32 . [2022-07-11T06:41:33.098Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 11 06:41 .. [2022-07-11T06:41:33.098Z] drwxr-xr-x 2 root root 4096 Jul 11 06:32 cost [2022-07-11T06:41:33.098Z] -rw-r--r-- 1 root root 86 Jul 11 06:32 cost.csv [2022-07-11T06:41:33.098Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-07-11T06:41:33.098Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-07-11T06:41:33.098Z] total 16 [2022-07-11T06:41:33.098Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 06:32 . [2022-07-11T06:41:33.098Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 11 06:41 .. [2022-07-11T06:41:33.098Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 11 06:32 cost [2022-07-11T06:41:33.098Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 11 06:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:41:33.392Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:41:34.262Z] ---> package-listing.sh [2022-07-11T06:41:34.262Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-11T06:41:34.262Z] ++ facter osfamily [2022-07-11T06:41:34.524Z] + OS_FAMILY=debian [2022-07-11T06:41:34.524Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2022-07-11T06:41:34.524Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-11T06:41:34.524Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-11T06:41:34.524Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-11T06:41:34.524Z] + PACKAGES=/tmp/packages_start.txt [2022-07-11T06:41:34.524Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-07-11T06:41:34.524Z] + PACKAGES=/tmp/packages_end.txt [2022-07-11T06:41:34.524Z] + case "${OS_FAMILY}" in [2022-07-11T06:41:34.524Z] + dpkg -l [2022-07-11T06:41:34.524Z] + grep '^ii' [2022-07-11T06:41:34.524Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-11T06:41:34.524Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-11T06:41:34.525Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-11T06:41:34.525Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-07-11T06:41:34.525Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2022-07-11T06:41:34.525Z] + 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-07-11T06:41:34.538Z] 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-07-11T06:41:34.819Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:41:35.387Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T06:41:35.387Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T06:41:35.482Z] prd-ubuntu20.04-docker-8c-8g-17392 does not seem to be running inside a container [2022-07-11T06:41:35.515Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-11T06:41:35.838Z] $ docker top 1dc0a95954a7c58df9f16edbeee317964b4b4ba43a25df9b0e1f8b7f03ec2f69 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T06:41:36.215Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-11T06:41:36.503Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-11T06:41:36.792Z] + ls /var/log/sa-host [2022-07-11T06:41:36.792Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T06:41:36.860Z] provisioning config files... [2022-07-11T06:41:36.867Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5421919054529127776tmp [Pipeline] { [Pipeline] echo [2022-07-11T06:41:36.883Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:41:37.171Z] ---> create-netrc.sh [Pipeline] } [2022-07-11T06:41:37.179Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:41:37.511Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-11T06:41:37.521Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:41:37.808Z] ---> sudo-logs.sh [2022-07-11T06:41:37.808Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-11T06:41:37.840Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:41:38.130Z] ---> job-cost.sh [2022-07-11T06:41:38.130Z] lf-activate-venv: SKIPPING [2022-07-11T06:41:38.130Z] DEBUG: total: 0.2199999988079071 [2022-07-11T06:41:38.130Z] INFO: Retrieving Stack Cost... [2022-07-11T06:41:38.701Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-11T06:41:39.273Z] INFO: Archiving Costs [Pipeline] echo [2022-07-11T06:41:39.285Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:41:39.572Z] ---> logs-deploy.sh [2022-07-11T06:41:39.572Z] lf-activate-venv: SKIPPING [2022-07-11T06:41:39.572Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/44 [2022-07-11T06:41:39.572Z] INFO: archiving workspace using pattern(s): [2022-07-11T06:41:40.511Z] Archives upload complete. [2022-07-11T06:41:40.770Z] INFO: archiving logs to Nexus