Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 19472f7a5fdc6e4787d855a3cc3865d021cdd964 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-ssh937149406751257800.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh7124220461319157145.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 c72b16708d6eed9a08be464a432ce22db7d90667 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/edgex-global-pipelines/.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/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5885083506001357900.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared 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-ssh15747932739474077066.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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/lf-pipelines/.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/lf-pipelines@tmp/jenkins-gitclient-ssh959002552782455854.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-33464’ Running on prd-ubuntu20.04-docker-8c-8g-33467 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 19472f7a5fdc6e4787d855a3cc3865d021cdd964 (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 19472f7a5fdc6e4787d855a3cc3865d021cdd964 # timeout=10 Commit message: "Merge pull request #339 from jinlinGuan/issue-338" > git rev-list --no-walk e01a1226a5cf77919213724cb5799907c2b0adaa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-27T11:06:03.745Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-27T11:06:03.804Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-27T11:06:03.821Z] ========================================================= [2022-04-27T11:06:03.821Z] EdgeX Global Pipelines Version Info [2022-04-27T11:06:03.821Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:06:04.590Z] ------------------- [2022-04-27T11:06:04.590Z] stable info: [2022-04-27T11:06:04.590Z] ------------------- [2022-04-27T11:06:04.590Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-27T11:06:04.590Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-27T11:06:04.590Z] Message: update stable to v1.0.221 [2022-04-27T11:06:05.169Z] ------------------- [2022-04-27T11:06:05.169Z] experimental info: [2022-04-27T11:06:05.169Z] ------------------- [2022-04-27T11:06:05.169Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-27T11:06:05.169Z] Commit SHA: 47c9b3891b578ce509e33c5bc61a4c29aa566c02 [2022-04-27T11:06:05.169Z] Message: update experimental to v1.0.226 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-27T11:06:05.288Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-04-27T11:06:05.297Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-04-27T11:06:05.307Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-27T11:06:05.319Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-27T11:06:05.330Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-27T11:06:05.343Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-27T11:06:05.358Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-27T11:06:05.369Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-27T11:06:05.382Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-27T11:06:05.397Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-27T11:06:05.411Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-27T11:06:05.423Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-04-27T11:06:05.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-27T11:06:05.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-27T11:06:05.459Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-27T11:06:05.471Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-27T11:06:05.483Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-27T11:06:05.495Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-27T11:06:05.509Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-27T11:06:05.523Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-27T11:06:05.535Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-27T11:06:05.547Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-27T11:06:05.561Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-27T11:06:05.572Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-27T11:06:05.584Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-27T11:06:05.598Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-27T11:06:05.610Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-27T11:06:05.622Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-27T11:06:05.636Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-27T11:06:05.654Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 19472f7a5fdc6e4787d855a3cc3865d021cdd964 [Pipeline] echo [2022-04-27T11:06:05.671Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 19472f7 [Pipeline] echo [2022-04-27T11:06:05.682Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T11:06:05.727Z] provisioning config files... [2022-04-27T11:06:05.741Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config723434586258022422tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:06:06.151Z] ---> docker-login.sh [2022-04-27T11:06:06.151Z] nexus3.edgexfoundry.org:10001 [2022-04-27T11:06:06.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:06:06.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:06:06.412Z] Configure a credential helper to remove this warning. See [2022-04-27T11:06:06.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:06:06.412Z] [2022-04-27T11:06:06.412Z] Login Succeeded [2022-04-27T11:06:06.412Z] nexus3.edgexfoundry.org:10002 [2022-04-27T11:06:06.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:06:06.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:06:06.678Z] Configure a credential helper to remove this warning. See [2022-04-27T11:06:06.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:06:06.678Z] [2022-04-27T11:06:06.678Z] Login Succeeded [2022-04-27T11:06:06.678Z] nexus3.edgexfoundry.org:10003 [2022-04-27T11:06:06.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:06:06.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:06:06.938Z] Configure a credential helper to remove this warning. See [2022-04-27T11:06:06.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:06:06.938Z] [2022-04-27T11:06:06.938Z] Login Succeeded [2022-04-27T11:06:06.938Z] nexus3.edgexfoundry.org:10004 [2022-04-27T11:06:06.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:06:06.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:06:06.938Z] Configure a credential helper to remove this warning. See [2022-04-27T11:06:06.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:06:06.938Z] [2022-04-27T11:06:06.938Z] Login Succeeded [2022-04-27T11:06:06.938Z] docker.io [2022-04-27T11:06:07.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:06:07.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:06:07.460Z] Configure a credential helper to remove this warning. See [2022-04-27T11:06:07.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:06:07.460Z] [2022-04-27T11:06:07.460Z] Login Succeeded [2022-04-27T11:06:07.460Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T11:06:07.469Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-27T11:06:07.836Z] + git rev-list -1 --merges 19472f7a5fdc6e4787d855a3cc3865d021cdd964~1..19472f7a5fdc6e4787d855a3cc3865d021cdd964 [Pipeline] echo [2022-04-27T11:06:07.868Z] -----------> git rev-list -1 --merges 19472f7a5fdc6e4787d855a3cc3865d021cdd964~1..19472f7a5fdc6e4787d855a3cc3865d021cdd964 19472f7a5fdc6e4787d855a3cc3865d021cdd964 [2022-04-27T11:06:07.868Z] 19472f7a5fdc6e4787d855a3cc3865d021cdd964 [false] [Pipeline] sh [2022-04-27T11:06:08.164Z] + git log --format=format:%s -1 19472f7a5fdc6e4787d855a3cc3865d021cdd964 [Pipeline] echo [2022-04-27T11:06:08.180Z] ========================================================= [2022-04-27T11:06:08.180Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-27T11:06:08.180Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-27T11:06:08.514Z] + git log --format=format:%s -1 19472f7a5fdc6e4787d855a3cc3865d021cdd964 [Pipeline] echo [2022-04-27T11:06:08.529Z] [semverPrep] GIT_COMMIT: 19472f7a5fdc6e4787d855a3cc3865d021cdd964, Commit Message: Merge pull request #339 from jinlinGuan/issue-338 [Pipeline] echo [2022-04-27T11:06:08.541Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-27T11:06:08.935Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-27T11:06:08.935Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-27T11:06:08.935Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-27T11:06:08.935Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-27T11:06:08.935Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-27T11:06:08.935Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-27T11:06:08.935Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:06:09.287Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T11:06:09.287Z] [2022-04-27T11:06:09.287Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:06:09.595Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T11:06:09.595Z] latest: Pulling from edgex-devops/git-semver [2022-04-27T11:06:09.595Z] a0d0a0d46f8b: Pulling fs layer [2022-04-27T11:06:09.595Z] 3e5f54012d9b: Pulling fs layer [2022-04-27T11:06:09.595Z] 4c7163046ea9: Pulling fs layer [2022-04-27T11:06:09.595Z] 0c2d73faf560: Pulling fs layer [2022-04-27T11:06:09.595Z] 0c2d73faf560: Waiting [2022-04-27T11:06:09.595Z] 3e5f54012d9b: Verifying Checksum [2022-04-27T11:06:09.595Z] 3e5f54012d9b: Download complete [2022-04-27T11:06:09.595Z] a0d0a0d46f8b: Download complete [2022-04-27T11:06:09.595Z] 0c2d73faf560: Verifying Checksum [2022-04-27T11:06:09.596Z] 0c2d73faf560: Download complete [2022-04-27T11:06:09.857Z] 4c7163046ea9: Verifying Checksum [2022-04-27T11:06:09.857Z] 4c7163046ea9: Download complete [2022-04-27T11:06:09.857Z] a0d0a0d46f8b: Pull complete [2022-04-27T11:06:09.857Z] 3e5f54012d9b: Pull complete [2022-04-27T11:06:10.431Z] 4c7163046ea9: Pull complete [2022-04-27T11:06:10.431Z] 0c2d73faf560: Pull complete [2022-04-27T11:06:10.431Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-27T11:06:10.431Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T11:06:10.431Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-27T11:06:10.522Z] prd-ubuntu20.04-docker-8c-8g-33467 does not seem to be running inside a container [2022-04-27T11:06:10.570Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-27T11:06:11.438Z] $ docker top f7ab1181d29a0dac05378940e8efa883425c271582b15e366d82183b001f4d97 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-27T11:06:11.547Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-27T11:06:11.548Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-27T11:06:11.706Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-27T11:06:11.717Z] $ docker exec f7ab1181d29a0dac05378940e8efa883425c271582b15e366d82183b001f4d97 ssh-agent [2022-04-27T11:06:11.845Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAPGehh/agent.14 [2022-04-27T11:06:11.846Z] SSH_AGENT_PID=20 [2022-04-27T11:06:11.854Z] Running ssh-add (command line suppressed) [2022-04-27T11:06:11.981Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8181878013110293339.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8181878013110293339.key) [2022-04-27T11:06:11.991Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-27T11:06:12.286Z] + git tag --points-at HEAD [Pipeline] } [2022-04-27T11:06:12.315Z] $ docker exec --env ******** --env ******** f7ab1181d29a0dac05378940e8efa883425c271582b15e366d82183b001f4d97 ssh-agent -k [2022-04-27T11:06:12.431Z] unset SSH_AUTH_SOCK; [2022-04-27T11:06:12.431Z] unset SSH_AGENT_PID; [2022-04-27T11:06:12.431Z] echo Agent pid 20 killed; [2022-04-27T11:06:12.435Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-27T11:06:12.458Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-27T11:06:12.458Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-27T11:06:12.603Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-27T11:06:12.613Z] $ docker exec f7ab1181d29a0dac05378940e8efa883425c271582b15e366d82183b001f4d97 ssh-agent [2022-04-27T11:06:12.729Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCONpFH/agent.53 [2022-04-27T11:06:12.729Z] SSH_AGENT_PID=60 [2022-04-27T11:06:12.734Z] Running ssh-add (command line suppressed) [2022-04-27T11:06:12.856Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4817405197187993964.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4817405197187993964.key) [2022-04-27T11:06:12.871Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-27T11:06:13.166Z] + git semver init [2022-04-27T11:06:13.166Z] # -> Open(): unable to determine branch for HEAD [2022-04-27T11:06:13.166Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-04-27T11:06:13.166Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-04-27T11:06:13.166Z] # $SEMVER_REMOTE_NAME = origin [2022-04-27T11:06:13.166Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-27T11:06:13.166Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-27T11:06:13.166Z] # $SEMVER_BRANCH = main [2022-04-27T11:06:13.166Z] # $SEMVER_TEMP = /tmp/semver-823705371 [2022-04-27T11:06:13.166Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2022-04-27T11:06:14.111Z] # '/tmp/semver-823705371' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' [2022-04-27T11:06:14.111Z] # -> Force: false [2022-04-27T11:06:14.111Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2022-04-27T11:06:14.130Z] $ docker exec --env ******** --env ******** f7ab1181d29a0dac05378940e8efa883425c271582b15e366d82183b001f4d97 ssh-agent -k [2022-04-27T11:06:14.258Z] unset SSH_AUTH_SOCK; [2022-04-27T11:06:14.259Z] unset SSH_AGENT_PID; [2022-04-27T11:06:14.259Z] echo Agent pid 60 killed; [2022-04-27T11:06:14.264Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-27T11:06:14.577Z] + git semver [Pipeline] } [2022-04-27T11:06:14.602Z] $ docker stop --time=1 f7ab1181d29a0dac05378940e8efa883425c271582b15e366d82183b001f4d97 [2022-04-27T11:06:16.040Z] $ docker rm -f f7ab1181d29a0dac05378940e8efa883425c271582b15e366d82183b001f4d97 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-27T11:06:16.402Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-27T11:06:16.671Z] Stashed 1 file(s) [Pipeline] echo [2022-04-27T11:06:16.675Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.14 [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-04-27T11:06:16.833Z] provisioning config files... [2022-04-27T11:06:16.845Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6772335749938286532tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:06:17.145Z] ---> docker-login.sh [2022-04-27T11:06:17.146Z] nexus3.edgexfoundry.org:10001 [2022-04-27T11:06:17.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:06:17.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:06:17.146Z] Configure a credential helper to remove this warning. See [2022-04-27T11:06:17.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:06:17.146Z] [2022-04-27T11:06:17.146Z] Login Succeeded [2022-04-27T11:06:17.146Z] nexus3.edgexfoundry.org:10002 [2022-04-27T11:06:17.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:06:17.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:06:17.407Z] Configure a credential helper to remove this warning. See [2022-04-27T11:06:17.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:06:17.407Z] [2022-04-27T11:06:17.407Z] Login Succeeded [2022-04-27T11:06:17.407Z] nexus3.edgexfoundry.org:10003 [2022-04-27T11:06:17.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:06:17.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:06:17.407Z] Configure a credential helper to remove this warning. See [2022-04-27T11:06:17.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:06:17.407Z] [2022-04-27T11:06:17.407Z] Login Succeeded [2022-04-27T11:06:17.407Z] nexus3.edgexfoundry.org:10004 [2022-04-27T11:06:17.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:06:17.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:06:17.668Z] Configure a credential helper to remove this warning. See [2022-04-27T11:06:17.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:06:17.668Z] [2022-04-27T11:06:17.668Z] Login Succeeded [2022-04-27T11:06:17.668Z] docker.io [2022-04-27T11:06:17.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:06:17.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:06:17.929Z] Configure a credential helper to remove this warning. See [2022-04-27T11:06:17.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:06:17.929Z] [2022-04-27T11:06:17.929Z] Login Succeeded [2022-04-27T11:06:17.929Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T11:06:17.938Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-27T11:06:18.005Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-27T11:06:18.014Z] ========================================================= [2022-04-27T11:06:18.014Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-27T11:06:18.014Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:06:18.321Z] + 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-04-27T11:06:18.321Z] Sending build context to Docker daemon 5.823MB [2022-04-27T11:06:18.321Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T11:06:18.321Z] Step 2/10 : FROM ${BASE} AS builder [2022-04-27T11:06:18.321Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-27T11:06:18.321Z] 59bf1c3509f3: Pulling fs layer [2022-04-27T11:06:18.321Z] 666ba61612fd: Pulling fs layer [2022-04-27T11:06:18.321Z] 8ed8ca486205: Pulling fs layer [2022-04-27T11:06:18.321Z] 4fe6c5a15a65: Pulling fs layer [2022-04-27T11:06:18.321Z] 22a0e8bec74d: Pulling fs layer [2022-04-27T11:06:18.321Z] ca2b28591e48: Pulling fs layer [2022-04-27T11:06:18.321Z] a51346096db8: Pulling fs layer [2022-04-27T11:06:18.321Z] daebc70d1ce1: Pulling fs layer [2022-04-27T11:06:18.321Z] 0e18a0eac166: Pulling fs layer [2022-04-27T11:06:18.321Z] 4fe6c5a15a65: Waiting [2022-04-27T11:06:18.321Z] 22a0e8bec74d: Waiting [2022-04-27T11:06:18.321Z] ca2b28591e48: Waiting [2022-04-27T11:06:18.321Z] a51346096db8: Waiting [2022-04-27T11:06:18.321Z] daebc70d1ce1: Waiting [2022-04-27T11:06:18.321Z] 0e18a0eac166: Waiting [2022-04-27T11:06:18.583Z] 8ed8ca486205: Verifying Checksum [2022-04-27T11:06:18.583Z] 8ed8ca486205: Download complete [2022-04-27T11:06:18.583Z] 666ba61612fd: Verifying Checksum [2022-04-27T11:06:18.583Z] 666ba61612fd: Download complete [2022-04-27T11:06:18.583Z] 22a0e8bec74d: Download complete [2022-04-27T11:06:18.583Z] 59bf1c3509f3: Verifying Checksum [2022-04-27T11:06:18.583Z] 59bf1c3509f3: Download complete [2022-04-27T11:06:18.583Z] ca2b28591e48: Verifying Checksum [2022-04-27T11:06:18.583Z] ca2b28591e48: Download complete [2022-04-27T11:06:18.583Z] a51346096db8: Verifying Checksum [2022-04-27T11:06:18.583Z] a51346096db8: Download complete [2022-04-27T11:06:18.583Z] daebc70d1ce1: Verifying Checksum [2022-04-27T11:06:18.583Z] daebc70d1ce1: Download complete [2022-04-27T11:06:18.583Z] 59bf1c3509f3: Pull complete [2022-04-27T11:06:18.845Z] 666ba61612fd: Pull complete [2022-04-27T11:06:18.845Z] 8ed8ca486205: Pull complete [2022-04-27T11:06:19.106Z] 0e18a0eac166: Verifying Checksum [2022-04-27T11:06:19.106Z] 0e18a0eac166: Download complete [2022-04-27T11:06:19.365Z] 4fe6c5a15a65: Verifying Checksum [2022-04-27T11:06:19.365Z] 4fe6c5a15a65: Download complete [2022-04-27T11:06:23.573Z] 4fe6c5a15a65: Pull complete [2022-04-27T11:06:23.573Z] 22a0e8bec74d: Pull complete [2022-04-27T11:06:23.573Z] ca2b28591e48: Pull complete [2022-04-27T11:06:23.573Z] a51346096db8: Pull complete [2022-04-27T11:06:23.833Z] daebc70d1ce1: Pull complete [2022-04-27T11:06:26.378Z] 0e18a0eac166: Pull complete [2022-04-27T11:06:26.378Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-27T11:06:26.378Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-27T11:06:26.378Z] ---> f018257e8ee9 [2022-04-27T11:06:26.378Z] Step 3/10 : ARG MAKE='make build' [2022-04-27T11:06:28.291Z] ---> Running in 70abab2f233d [2022-04-27T11:06:28.551Z] Removing intermediate container 70abab2f233d [2022-04-27T11:06:28.551Z] ---> f5cec018efcc [2022-04-27T11:06:28.551Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T11:06:28.551Z] ---> Running in 4456333af4fa [2022-04-27T11:06:29.504Z] Removing intermediate container 4456333af4fa [2022-04-27T11:06:29.504Z] ---> 7ae5d2674473 [2022-04-27T11:06:29.504Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-27T11:06:29.504Z] ---> Running in 78891925958a [2022-04-27T11:06:29.765Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-27T11:06:30.710Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-27T11:06:30.710Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-04-27T11:06:30.971Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-04-27T11:06:30.971Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-04-27T11:06:30.971Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-04-27T11:06:31.231Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-04-27T11:06:31.231Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-04-27T11:06:31.231Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-04-27T11:06:31.492Z] (8/8) Installing openssh (8.8_p1-r1) [2022-04-27T11:06:31.492Z] Executing busybox-1.34.1-r3.trigger [2022-04-27T11:06:31.492Z] OK: 226 MiB in 60 packages [2022-04-27T11:06:31.787Z] Still waiting to schedule task [2022-04-27T11:06:31.788Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-33465’ [2022-04-27T11:06:32.063Z] Removing intermediate container 78891925958a [2022-04-27T11:06:32.063Z] ---> 0b5e8ddf99ca [2022-04-27T11:06:32.063Z] Step 6/10 : WORKDIR /device-modbus-go [2022-04-27T11:06:32.063Z] ---> Running in 4ea12404a242 [2022-04-27T11:06:32.323Z] Removing intermediate container 4ea12404a242 [2022-04-27T11:06:32.323Z] ---> f2336747891a [2022-04-27T11:06:32.323Z] Step 7/10 : COPY go.mod vendor* ./ [2022-04-27T11:06:32.323Z] ---> d3baffa3273b [2022-04-27T11:06:32.323Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T11:06:32.323Z] ---> Running in 944c39c22a7b [2022-04-27T11:06:50.440Z] Removing intermediate container 944c39c22a7b [2022-04-27T11:06:50.440Z] ---> 07ecfe49b32b [2022-04-27T11:06:50.441Z] Step 9/10 : COPY . . [2022-04-27T11:06:50.441Z] ---> 6bcb15c04826 [2022-04-27T11:06:50.441Z] Step 10/10 : RUN ${MAKE} [2022-04-27T11:06:50.441Z] ---> Running in 16798ce5a718 [2022-04-27T11:06:50.441Z] noop [2022-04-27T11:06:50.441Z] Removing intermediate container 16798ce5a718 [2022-04-27T11:06:50.441Z] ---> 5aa64f846342 [2022-04-27T11:06:50.441Z] Successfully built 5aa64f846342 [2022-04-27T11:06:50.441Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:06:50.743Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-27T11:06:50.743Z] . [Pipeline] withDockerContainer [2022-04-27T11:06:50.816Z] prd-ubuntu20.04-docker-8c-8g-33467 does not seem to be running inside a container [2022-04-27T11:06:50.863Z] $ 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 ******** ci-base-image-x86_64 cat [2022-04-27T11:06:51.269Z] $ docker top 33554d0b2be0d993f682bd0594d3ac66b8ec35b2c4791b51f2f518493b83b0f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-27T11:06:51.620Z] + go version [2022-04-27T11:06:51.620Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-27T11:06:51.640Z] $ docker stop --time=1 33554d0b2be0d993f682bd0594d3ac66b8ec35b2c4791b51f2f518493b83b0f1 [2022-04-27T11:06:52.938Z] $ docker rm -f 33554d0b2be0d993f682bd0594d3ac66b8ec35b2c4791b51f2f518493b83b0f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:06:53.361Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-27T11:06:53.361Z] . [Pipeline] withDockerContainer [2022-04-27T11:06:53.428Z] prd-ubuntu20.04-docker-8c-8g-33467 does not seem to be running inside a container [2022-04-27T11:06:53.472Z] $ 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 ******** ci-base-image-x86_64 cat [2022-04-27T11:06:53.877Z] $ docker top 83612fc970050f1a875996a3012f444dd39a25d7b01216d20815557d6ae2f025 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-27T11:06:54.282Z] + make test [2022-04-27T11:06:54.282Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-27T11:06:54.588Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-04-27T11:07:04.576Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-04-27T11:07:04.576Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 46.4% of statements [2022-04-27T11:07:11.146Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-27T11:07:14.436Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-27T11:07:14.436Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-27T11:07:14.436Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-27T11:07:15.023Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-27T11:07:15.041Z] $ docker stop --time=1 83612fc970050f1a875996a3012f444dd39a25d7b01216d20815557d6ae2f025 [2022-04-27T11:07:17.066Z] $ docker rm -f 83612fc970050f1a875996a3012f444dd39a25d7b01216d20815557d6ae2f025 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-27T11:07:17.508Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-27T11:07:17.562Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-27T11:07:18.126Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-27T11:07:18.418Z] + ls -al . [2022-04-27T11:07:18.418Z] total 180 [2022-04-27T11:07:18.418Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 11:07 . [2022-04-27T11:07:18.418Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 11:05 .. [2022-04-27T11:07:18.418Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 11:05 .dockerignore [2022-04-27T11:07:18.418Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 11:06 .git [2022-04-27T11:07:18.418Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:05 .github [2022-04-27T11:07:18.418Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 27 11:05 .gitignore [2022-04-27T11:07:18.418Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 11:05 .golangci.yml [2022-04-27T11:07:18.418Z] drwx------ 3 jenkins jenkins 4096 Apr 27 11:06 .semver [2022-04-27T11:07:18.418Z] -rw-rw-r-- 1 jenkins jenkins 9377 Apr 27 11:05 Attribution.txt [2022-04-27T11:07:18.418Z] -rw-rw-r-- 1 jenkins jenkins 6038 Apr 27 11:05 CHANGELOG.md [2022-04-27T11:07:18.418Z] -rw-rw-r-- 1 jenkins jenkins 1546 Apr 27 11:05 Dockerfile [2022-04-27T11:07:18.418Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 11:05 GOVERNANCE.md [2022-04-27T11:07:18.418Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 27 11:05 Jenkinsfile [2022-04-27T11:07:18.418Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 11:05 LICENSE [2022-04-27T11:07:18.418Z] -rw-rw-r-- 1 jenkins jenkins 1905 Apr 27 11:05 Makefile [2022-04-27T11:07:18.418Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 27 11:05 OWNERS.md [2022-04-27T11:07:18.418Z] -rw-rw-r-- 1 jenkins jenkins 3680 Apr 27 11:05 README.md [2022-04-27T11:07:18.418Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 27 11:06 VERSION [2022-04-27T11:07:18.418Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 11:05 bin [2022-04-27T11:07:18.418Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:05 cmd [2022-04-27T11:07:18.418Z] -rw-r--r-- 1 jenkins jenkins 24065 Apr 27 11:07 coverage.out [2022-04-27T11:07:18.418Z] -rw-rw-r-- 1 jenkins jenkins 3399 Apr 27 11:05 go.mod [2022-04-27T11:07:18.418Z] -rw-rw-r-- 1 jenkins jenkins 35075 Apr 27 11:05 go.sum [2022-04-27T11:07:18.418Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:05 internal [2022-04-27T11:07:18.418Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 11:05 simulator [2022-04-27T11:07:18.418Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 11:05 snap [2022-04-27T11:07:18.418Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 27 11:05 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:07:18.747Z] + 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=19472f7a5fdc6e4787d855a3cc3865d021cdd964 --label arch=amd64 --label version=2.2.0-dev.14 . [2022-04-27T11:07:18.748Z] Sending build context to Docker daemon 5.848MB [2022-04-27T11:07:18.748Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T11:07:18.748Z] Step 2/23 : FROM ${BASE} AS builder [2022-04-27T11:07:18.748Z] ---> 5aa64f846342 [2022-04-27T11:07:18.748Z] Step 3/23 : ARG MAKE='make build' [2022-04-27T11:07:19.010Z] ---> Running in e368cfdb109f [2022-04-27T11:07:19.010Z] Removing intermediate container e368cfdb109f [2022-04-27T11:07:19.010Z] ---> 1bce5c9b2a14 [2022-04-27T11:07:19.010Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T11:07:19.010Z] ---> Running in 0aba34280b8c [2022-04-27T11:07:19.956Z] Removing intermediate container 0aba34280b8c [2022-04-27T11:07:19.956Z] ---> ad9168b1d3e0 [2022-04-27T11:07:19.956Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-27T11:07:19.956Z] ---> Running in a1204cac4da6 [2022-04-27T11:07:20.217Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-27T11:07:20.788Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-27T11:07:21.358Z] OK: 226 MiB in 60 packages [2022-04-27T11:07:21.619Z] Removing intermediate container a1204cac4da6 [2022-04-27T11:07:21.619Z] ---> 56122b2fc800 [2022-04-27T11:07:21.619Z] Step 6/23 : WORKDIR /device-modbus-go [2022-04-27T11:07:21.619Z] ---> Running in 2dd09e02285e [2022-04-27T11:07:21.878Z] Removing intermediate container 2dd09e02285e [2022-04-27T11:07:21.878Z] ---> d90239ab9f21 [2022-04-27T11:07:21.878Z] Step 7/23 : COPY go.mod vendor* ./ [2022-04-27T11:07:21.878Z] ---> 460fb3061094 [2022-04-27T11:07:21.878Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T11:07:21.878Z] ---> Running in 68ff8a91531c [2022-04-27T11:07:22.448Z] Removing intermediate container 68ff8a91531c [2022-04-27T11:07:22.448Z] ---> d904eeee7013 [2022-04-27T11:07:22.448Z] Step 9/23 : COPY . . [2022-04-27T11:07:23.019Z] ---> e821b718bc2a [2022-04-27T11:07:23.019Z] Step 10/23 : RUN ${MAKE} [2022-04-27T11:07:23.019Z] ---> Running in 48f03ba8a5ef [2022-04-27T11:07:23.282Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.14" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-04-27T11:07:45.248Z] Removing intermediate container 48f03ba8a5ef [2022-04-27T11:07:45.248Z] ---> e0429011eb30 [2022-04-27T11:07:45.248Z] Step 11/23 : FROM alpine:3.14 [2022-04-27T11:07:45.248Z] 3.14: Pulling from library/alpine [2022-04-27T11:07:45.248Z] 8663204ce13b: Pulling fs layer [2022-04-27T11:07:45.248Z] 8663204ce13b: Download complete [2022-04-27T11:07:45.248Z] 8663204ce13b: Pull complete [2022-04-27T11:07:45.248Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-27T11:07:45.248Z] Status: Downloaded newer image for alpine:3.14 [2022-04-27T11:07:45.248Z] ---> e04c818066af [2022-04-27T11:07:45.248Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-04-27T11:07:45.248Z] ---> Running in 5e5d2faa6348 [2022-04-27T11:07:45.248Z] Removing intermediate container 5e5d2faa6348 [2022-04-27T11:07:45.248Z] ---> 2fb08cbbd21f [2022-04-27T11:07:45.248Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T11:07:45.248Z] ---> Running in b9bce6e30a02 [2022-04-27T11:07:45.248Z] Removing intermediate container b9bce6e30a02 [2022-04-27T11:07:45.248Z] ---> d514bdc61b00 [2022-04-27T11:07:45.248Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-27T11:07:45.248Z] ---> Running in 9e1a872b9e09 [2022-04-27T11:07:45.248Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-27T11:07:45.509Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-27T11:07:45.771Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-27T11:07:46.031Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-27T11:07:46.031Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-27T11:07:46.031Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-27T11:07:46.293Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-27T11:07:46.293Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-27T11:07:46.293Z] Executing busybox-1.33.1-r7.trigger [2022-04-27T11:07:46.293Z] OK: 8 MiB in 20 packages [2022-04-27T11:07:46.861Z] Removing intermediate container 9e1a872b9e09 [2022-04-27T11:07:46.861Z] ---> 8fd6f4f80168 [2022-04-27T11:07:46.861Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-04-27T11:07:47.429Z] ---> ba89921f2e30 [2022-04-27T11:07:47.429Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-04-27T11:07:47.691Z] ---> 4ed9ed6d2e77 [2022-04-27T11:07:47.691Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-04-27T11:07:47.951Z] ---> 60e2e85dc1f4 [2022-04-27T11:07:47.951Z] Step 18/23 : EXPOSE 59901 [2022-04-27T11:07:47.951Z] ---> Running in 82ffb1f47ab8 [2022-04-27T11:07:47.951Z] Removing intermediate container 82ffb1f47ab8 [2022-04-27T11:07:47.951Z] ---> d49c55d4ec6e [2022-04-27T11:07:47.951Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-04-27T11:07:47.951Z] ---> Running in ea2dac392193 [2022-04-27T11:07:48.212Z] Removing intermediate container ea2dac392193 [2022-04-27T11:07:48.212Z] ---> 959a190b5a53 [2022-04-27T11:07:48.212Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-27T11:07:48.212Z] ---> Running in f001dc19e4b4 [2022-04-27T11:07:48.212Z] Removing intermediate container f001dc19e4b4 [2022-04-27T11:07:48.212Z] ---> 95bbaba3e2e8 [2022-04-27T11:07:48.212Z] Step 21/23 : LABEL arch=amd64 [2022-04-27T11:07:48.473Z] ---> Running in 2f0ab87d824b [2022-04-27T11:07:48.733Z] Removing intermediate container 2f0ab87d824b [2022-04-27T11:07:48.733Z] ---> a9ac77c277be [2022-04-27T11:07:48.733Z] Step 22/23 : LABEL git_sha=19472f7a5fdc6e4787d855a3cc3865d021cdd964 [2022-04-27T11:07:48.733Z] ---> Running in 6e4af4e6eadd [2022-04-27T11:07:48.993Z] Removing intermediate container 6e4af4e6eadd [2022-04-27T11:07:48.993Z] ---> d5e67a37e064 [2022-04-27T11:07:48.993Z] Step 23/23 : LABEL version=2.2.0-dev.14 [2022-04-27T11:07:48.993Z] ---> Running in e25c534b1df7 [2022-04-27T11:07:48.993Z] Removing intermediate container e25c534b1df7 [2022-04-27T11:07:48.993Z] ---> 767f23d0e0d4 [2022-04-27T11:07:48.993Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-27T11:07:48.993Z] Successfully built 767f23d0e0d4 [2022-04-27T11:07:48.993Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T11:07:49.093Z] provisioning config files... [2022-04-27T11:07:49.103Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2010569720188017077tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:07:49.400Z] ---> docker-login.sh [2022-04-27T11:07:49.400Z] nexus3.edgexfoundry.org:10001 [2022-04-27T11:07:49.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:07:49.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:07:49.400Z] Configure a credential helper to remove this warning. See [2022-04-27T11:07:49.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:07:49.400Z] [2022-04-27T11:07:49.400Z] Login Succeeded [2022-04-27T11:07:49.400Z] nexus3.edgexfoundry.org:10002 [2022-04-27T11:07:49.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:07:49.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:07:49.663Z] Configure a credential helper to remove this warning. See [2022-04-27T11:07:49.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:07:49.663Z] [2022-04-27T11:07:49.663Z] Login Succeeded [2022-04-27T11:07:49.663Z] nexus3.edgexfoundry.org:10003 [2022-04-27T11:07:49.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:07:49.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:07:49.663Z] Configure a credential helper to remove this warning. See [2022-04-27T11:07:49.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:07:49.663Z] [2022-04-27T11:07:49.663Z] Login Succeeded [2022-04-27T11:07:49.663Z] nexus3.edgexfoundry.org:10004 [2022-04-27T11:07:49.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:07:49.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:07:49.923Z] Configure a credential helper to remove this warning. See [2022-04-27T11:07:49.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:07:49.923Z] [2022-04-27T11:07:49.923Z] Login Succeeded [2022-04-27T11:07:49.923Z] docker.io [2022-04-27T11:07:49.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:07:50.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:07:50.184Z] Configure a credential helper to remove this warning. See [2022-04-27T11:07:50.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:07:50.184Z] [2022-04-27T11:07:50.184Z] Login Succeeded [2022-04-27T11:07:50.184Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T11:07:50.193Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-27T11:07:50.225Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-27T11:07:50.249Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2022-04-27T11:07:50.249Z] 19472f7a5fdc6e4787d855a3cc3865d021cdd964 [2022-04-27T11:07:50.249Z] latest [2022-04-27T11:07:50.249Z] 2.2.0-dev.14 [2022-04-27T11:07:50.249Z] 19472f7a5fdc6e4787d855a3cc3865d021cdd964-2.2.0-dev.14 [2022-04-27T11:07:50.249Z] main [2022-04-27T11:07:50.249Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:07:50.581Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:19472f7a5fdc6e4787d855a3cc3865d021cdd964 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:07:50.886Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:19472f7a5fdc6e4787d855a3cc3865d021cdd964 [2022-04-27T11:07:50.886Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-27T11:07:50.886Z] 6e9d927676a6: Preparing [2022-04-27T11:07:50.886Z] 24d0f636feb5: Preparing [2022-04-27T11:07:50.886Z] 050646adc094: Preparing [2022-04-27T11:07:50.886Z] 09189e9ec110: Preparing [2022-04-27T11:07:50.886Z] 1e906f144ff8: Preparing [2022-04-27T11:07:50.886Z] b541d28bf3b4: Preparing [2022-04-27T11:07:50.886Z] b541d28bf3b4: Waiting [2022-04-27T11:07:50.886Z] 6e9d927676a6: Pushed [2022-04-27T11:07:50.886Z] 1e906f144ff8: Pushed [2022-04-27T11:07:50.886Z] 24d0f636feb5: Pushed [2022-04-27T11:07:50.886Z] b541d28bf3b4: Layer already exists [2022-04-27T11:07:51.146Z] 09189e9ec110: Pushed [2022-04-27T11:07:53.695Z] 050646adc094: Pushed [2022-04-27T11:07:53.695Z] 19472f7a5fdc6e4787d855a3cc3865d021cdd964: digest: sha256:9fb9f25da5c4777ce5035012e8d62869c592633db35fbc2123e278a6547bf6cd size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:07:53.998Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:07:54.296Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-04-27T11:07:54.296Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-27T11:07:54.296Z] 6e9d927676a6: Preparing [2022-04-27T11:07:54.296Z] 24d0f636feb5: Preparing [2022-04-27T11:07:54.296Z] 050646adc094: Preparing [2022-04-27T11:07:54.296Z] 09189e9ec110: Preparing [2022-04-27T11:07:54.296Z] 1e906f144ff8: Preparing [2022-04-27T11:07:54.296Z] b541d28bf3b4: Preparing [2022-04-27T11:07:54.296Z] b541d28bf3b4: Waiting [2022-04-27T11:07:54.296Z] 24d0f636feb5: Layer already exists [2022-04-27T11:07:54.296Z] 1e906f144ff8: Layer already exists [2022-04-27T11:07:54.296Z] 050646adc094: Layer already exists [2022-04-27T11:07:54.296Z] 6e9d927676a6: Layer already exists [2022-04-27T11:07:54.296Z] 09189e9ec110: Layer already exists [2022-04-27T11:07:54.296Z] b541d28bf3b4: Layer already exists [2022-04-27T11:07:54.296Z] latest: digest: sha256:9fb9f25da5c4777ce5035012e8d62869c592633db35fbc2123e278a6547bf6cd size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:07:54.595Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.14 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:07:54.891Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.14 [2022-04-27T11:07:54.892Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-27T11:07:54.892Z] 6e9d927676a6: Preparing [2022-04-27T11:07:54.892Z] 24d0f636feb5: Preparing [2022-04-27T11:07:54.892Z] 050646adc094: Preparing [2022-04-27T11:07:54.892Z] 09189e9ec110: Preparing [2022-04-27T11:07:54.892Z] 1e906f144ff8: Preparing [2022-04-27T11:07:54.892Z] b541d28bf3b4: Preparing [2022-04-27T11:07:54.892Z] b541d28bf3b4: Waiting [2022-04-27T11:07:54.892Z] 24d0f636feb5: Layer already exists [2022-04-27T11:07:54.892Z] 09189e9ec110: Layer already exists [2022-04-27T11:07:54.892Z] 050646adc094: Layer already exists [2022-04-27T11:07:54.892Z] 1e906f144ff8: Layer already exists [2022-04-27T11:07:54.892Z] 6e9d927676a6: Layer already exists [2022-04-27T11:07:54.892Z] b541d28bf3b4: Layer already exists [2022-04-27T11:07:54.892Z] 2.2.0-dev.14: digest: sha256:9fb9f25da5c4777ce5035012e8d62869c592633db35fbc2123e278a6547bf6cd size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:07:55.195Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:19472f7a5fdc6e4787d855a3cc3865d021cdd964-2.2.0-dev.14 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:07:55.490Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:19472f7a5fdc6e4787d855a3cc3865d021cdd964-2.2.0-dev.14 [2022-04-27T11:07:55.490Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-27T11:07:55.490Z] 6e9d927676a6: Preparing [2022-04-27T11:07:55.490Z] 24d0f636feb5: Preparing [2022-04-27T11:07:55.490Z] 050646adc094: Preparing [2022-04-27T11:07:55.490Z] 09189e9ec110: Preparing [2022-04-27T11:07:55.490Z] 1e906f144ff8: Preparing [2022-04-27T11:07:55.490Z] b541d28bf3b4: Preparing [2022-04-27T11:07:55.490Z] b541d28bf3b4: Waiting [2022-04-27T11:07:55.490Z] 050646adc094: Layer already exists [2022-04-27T11:07:55.490Z] 1e906f144ff8: Layer already exists [2022-04-27T11:07:55.490Z] 24d0f636feb5: Layer already exists [2022-04-27T11:07:55.490Z] 6e9d927676a6: Layer already exists [2022-04-27T11:07:55.490Z] 09189e9ec110: Layer already exists [2022-04-27T11:07:55.490Z] b541d28bf3b4: Layer already exists [2022-04-27T11:07:55.490Z] 19472f7a5fdc6e4787d855a3cc3865d021cdd964-2.2.0-dev.14: digest: sha256:9fb9f25da5c4777ce5035012e8d62869c592633db35fbc2123e278a6547bf6cd size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:07:55.792Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:07:56.088Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2022-04-27T11:07:56.088Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-04-27T11:07:56.088Z] 6e9d927676a6: Preparing [2022-04-27T11:07:56.088Z] 24d0f636feb5: Preparing [2022-04-27T11:07:56.088Z] 050646adc094: Preparing [2022-04-27T11:07:56.088Z] 09189e9ec110: Preparing [2022-04-27T11:07:56.088Z] 1e906f144ff8: Preparing [2022-04-27T11:07:56.088Z] b541d28bf3b4: Preparing [2022-04-27T11:07:56.088Z] b541d28bf3b4: Waiting [2022-04-27T11:07:56.088Z] 1e906f144ff8: Layer already exists [2022-04-27T11:07:56.088Z] 09189e9ec110: Layer already exists [2022-04-27T11:07:56.088Z] 24d0f636feb5: Layer already exists [2022-04-27T11:07:56.088Z] 6e9d927676a6: Layer already exists [2022-04-27T11:07:56.088Z] 050646adc094: Layer already exists [2022-04-27T11:07:56.088Z] b541d28bf3b4: Layer already exists [2022-04-27T11:07:56.088Z] main: digest: sha256:9fb9f25da5c4777ce5035012e8d62869c592633db35fbc2123e278a6547bf6cd size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-27T11:07:56.125Z] ===================================================== [Pipeline] echo [2022-04-27T11:07:56.135Z] taggedImages: [2022-04-27T11:07:56.136Z] - nexus3.edgexfoundry.org:10004/device-modbus:19472f7a5fdc6e4787d855a3cc3865d021cdd964 [2022-04-27T11:07:56.136Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-04-27T11:07:56.136Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.14 [2022-04-27T11:07:56.136Z] - nexus3.edgexfoundry.org:10004/device-modbus:19472f7a5fdc6e4787d855a3cc3865d021cdd964-2.2.0-dev.14 [2022-04-27T11:07:56.136Z] - 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] sh [2022-04-27T11:07:56.520Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T11:07:56.520Z] [2022-04-27T11:07:56.520Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:07:56.822Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T11:07:56.822Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-27T11:07:56.822Z] 5eb5b503b376: Pulling fs layer [2022-04-27T11:07:56.822Z] 5c69ac0246d0: Pulling fs layer [2022-04-27T11:07:56.822Z] ec43610c2a17: Pulling fs layer [2022-04-27T11:07:56.822Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-27T11:07:56.822Z] 33b1e0a273af: Pulling fs layer [2022-04-27T11:07:56.822Z] 5d3b04190fa2: Pulling fs layer [2022-04-27T11:07:56.822Z] 2f39f015ded8: Pulling fs layer [2022-04-27T11:07:56.822Z] 5d3b04190fa2: Waiting [2022-04-27T11:07:56.822Z] 33b1e0a273af: Waiting [2022-04-27T11:07:56.822Z] 2f39f015ded8: Waiting [2022-04-27T11:07:56.822Z] 3a2ae6a8a46f: Waiting [2022-04-27T11:07:56.822Z] 5c69ac0246d0: Verifying Checksum [2022-04-27T11:07:56.822Z] 5c69ac0246d0: Download complete [2022-04-27T11:07:56.822Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-27T11:07:56.822Z] 3a2ae6a8a46f: Download complete [2022-04-27T11:07:56.822Z] 33b1e0a273af: Verifying Checksum [2022-04-27T11:07:56.822Z] 33b1e0a273af: Download complete [2022-04-27T11:07:56.822Z] ec43610c2a17: Verifying Checksum [2022-04-27T11:07:56.822Z] ec43610c2a17: Download complete [2022-04-27T11:07:56.822Z] 5d3b04190fa2: Verifying Checksum [2022-04-27T11:07:56.822Z] 5d3b04190fa2: Download complete [2022-04-27T11:07:57.083Z] 5eb5b503b376: Verifying Checksum [2022-04-27T11:07:57.083Z] 5eb5b503b376: Download complete [2022-04-27T11:07:57.650Z] 2f39f015ded8: Download complete [2022-04-27T11:07:58.218Z] 5eb5b503b376: Pull complete [2022-04-27T11:07:58.476Z] 5c69ac0246d0: Pull complete [2022-04-27T11:07:59.045Z] ec43610c2a17: Pull complete [2022-04-27T11:07:59.045Z] 3a2ae6a8a46f: Pull complete [2022-04-27T11:07:59.328Z] 33b1e0a273af: Pull complete [2022-04-27T11:07:59.328Z] 5d3b04190fa2: Pull complete [2022-04-27T11:08:04.658Z] 2f39f015ded8: Pull complete [2022-04-27T11:08:04.658Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-27T11:08:04.658Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T11:08:04.658Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-27T11:08:04.728Z] prd-ubuntu20.04-docker-8c-8g-33467 does not seem to be running inside a container [2022-04-27T11:08:04.767Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-27T11:08:06.948Z] $ docker top 6db06922a5c86cc4c48f35d86da1068475091bd5b02e9c5b351a1f097a7cb776 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:08:07.348Z] ---> job-cost.sh [2022-04-27T11:08:07.348Z] lf-activate-venv: SKIPPING [2022-04-27T11:08:07.348Z] INFO: No Stack... [2022-04-27T11:08:07.919Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-27T11:08:08.181Z] INFO: Archiving Costs [Pipeline] sh [2022-04-27T11:08:08.475Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2022-04-27T11:08:08.475Z] + cut -d, -f6 [Pipeline] lock [2022-04-27T11:08:08.495Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-32-stack-cost] [2022-04-27T11:08:08.502Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-32-stack-cost] did not exist. Created. [2022-04-27T11:08:08.502Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-32-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-27T11:08:08.809Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-27T11:08:08.841Z] Stashed 1 file(s) [Pipeline] } [2022-04-27T11:08:08.848Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-32-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-27T11:08:08.871Z] $ docker stop --time=1 6db06922a5c86cc4c48f35d86da1068475091bd5b02e9c5b351a1f097a7cb776 [2022-04-27T11:08:10.019Z] $ docker rm -f 6db06922a5c86cc4c48f35d86da1068475091bd5b02e9c5b351a1f097a7cb776 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-27T11:09:22.003Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-33470 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2022-04-27T11:09:22.015Z] Running in /w/workspace/device-modbus-go/32 [Pipeline] { [Pipeline] checkout [2022-04-27T11:09:22.951Z] Selected Git installation does not exist. Using Default [2022-04-27T11:09:22.951Z] The recommended git tool is: NONE [2022-04-27T11:09:30.620Z] using credential edgex-jenkins-ssh [2022-04-27T11:09:30.637Z] Cloning the remote Git repository [2022-04-27T11:09:30.713Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-04-27T11:09:30.789Z] > git init /w/workspace/device-modbus-go/32 # timeout=10 [2022-04-27T11:09:30.888Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-04-27T11:09:30.890Z] > git --version # timeout=10 [2022-04-27T11:09:30.916Z] > git --version # 'git version 2.25.1' [2022-04-27T11:09:30.917Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-27T11:09:30.976Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-27T11:09:32.271Z] Avoid second fetch [2022-04-27T11:09:32.271Z] Checking out Revision 19472f7a5fdc6e4787d855a3cc3865d021cdd964 (main) [2022-04-27T11:09:32.216Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-04-27T11:09:32.240Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-27T11:09:32.302Z] > git config core.sparsecheckout # timeout=10 [2022-04-27T11:09:32.317Z] > git checkout -f 19472f7a5fdc6e4787d855a3cc3865d021cdd964 # timeout=10 [2022-04-27T11:09:36.790Z] Commit message: "Merge pull request #339 from jinlinGuan/issue-338" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-27T11:09:37.824Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-27T11:09:37.824Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-27T11:09:37.824Z] Dload Upload Total Spent Left Speed [2022-04-27T11:09:37.824Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 58053 0 --:--:-- --:--:-- --:--:-- 58339 [Pipeline] sh [2022-04-27T11:09:38.575Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-27T11:09:38.955Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-27T11:09:38.955Z] + sudo tee /etc/docker/daemon.new [2022-04-27T11:09:38.955Z] { [2022-04-27T11:09:38.955Z] "registry-mirrors": [ [2022-04-27T11:09:38.955Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-27T11:09:38.955Z] ], [2022-04-27T11:09:38.955Z] "bip": "10.250.0.254/24", [2022-04-27T11:09:38.955Z] "hosts": [ [2022-04-27T11:09:38.955Z] "tcp://0.0.0.0:5555", [2022-04-27T11:09:38.955Z] "unix:///var/run/docker.sock" [2022-04-27T11:09:38.955Z] ], [2022-04-27T11:09:38.955Z] "mtu": 1458, [2022-04-27T11:09:38.955Z] "selinux-enabled": true, [2022-04-27T11:09:38.955Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-27T11:09:38.955Z] } [Pipeline] sh [2022-04-27T11:09:39.332Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-27T11:09:39.678Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T11:09:58.042Z] provisioning config files... [2022-04-27T11:09:58.070Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/32@tmp/config2237105161150203156tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:09:58.444Z] ---> docker-login.sh [2022-04-27T11:09:58.444Z] nexus3.edgexfoundry.org:10001 [2022-04-27T11:09:59.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:09:59.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:09:59.316Z] Configure a credential helper to remove this warning. See [2022-04-27T11:09:59.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:09:59.316Z] [2022-04-27T11:09:59.316Z] Login Succeeded [2022-04-27T11:09:59.316Z] nexus3.edgexfoundry.org:10002 [2022-04-27T11:09:59.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:09:59.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:09:59.862Z] Configure a credential helper to remove this warning. See [2022-04-27T11:09:59.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:09:59.862Z] [2022-04-27T11:09:59.862Z] Login Succeeded [2022-04-27T11:09:59.862Z] nexus3.edgexfoundry.org:10003 [2022-04-27T11:10:00.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:10:00.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:10:00.410Z] Configure a credential helper to remove this warning. See [2022-04-27T11:10:00.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:10:00.410Z] [2022-04-27T11:10:00.410Z] Login Succeeded [2022-04-27T11:10:00.410Z] nexus3.edgexfoundry.org:10004 [2022-04-27T11:10:00.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:10:00.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:10:00.683Z] Configure a credential helper to remove this warning. See [2022-04-27T11:10:00.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:10:00.683Z] [2022-04-27T11:10:00.683Z] Login Succeeded [2022-04-27T11:10:00.684Z] docker.io [2022-04-27T11:10:01.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:10:01.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:10:01.550Z] Configure a credential helper to remove this warning. See [2022-04-27T11:10:01.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:10:01.550Z] [2022-04-27T11:10:01.550Z] Login Succeeded [2022-04-27T11:10:01.550Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T11:10:01.568Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-27T11:10:02.111Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-27T11:10:02.125Z] ========================================================= [2022-04-27T11:10:02.125Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-27T11:10:02.125Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:10:02.487Z] + 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-04-27T11:10:02.772Z] Sending build context to Docker daemon 3.05MB [2022-04-27T11:10:02.772Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T11:10:02.772Z] Step 2/10 : FROM ${BASE} AS builder [2022-04-27T11:10:03.051Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-27T11:10:03.051Z] 9b3977197b4f: Pulling fs layer [2022-04-27T11:10:03.051Z] 1a89e8eeedd5: Pulling fs layer [2022-04-27T11:10:03.051Z] 94645a83ff95: Pulling fs layer [2022-04-27T11:10:03.051Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-27T11:10:03.051Z] 0c92f367c5e7: Pulling fs layer [2022-04-27T11:10:03.051Z] 3096ccb668a1: Pulling fs layer [2022-04-27T11:10:03.051Z] e8cf19c19ddd: Pulling fs layer [2022-04-27T11:10:03.051Z] a4caa8a26152: Pulling fs layer [2022-04-27T11:10:03.051Z] 3096ccb668a1: Waiting [2022-04-27T11:10:03.051Z] e8cf19c19ddd: Waiting [2022-04-27T11:10:03.051Z] 0c92f367c5e7: Waiting [2022-04-27T11:10:03.051Z] 3f3a8bcf1eab: Waiting [2022-04-27T11:10:03.051Z] a4caa8a26152: Waiting [2022-04-27T11:10:03.051Z] 94645a83ff95: Verifying Checksum [2022-04-27T11:10:03.051Z] 94645a83ff95: Download complete [2022-04-27T11:10:03.051Z] 1a89e8eeedd5: Verifying Checksum [2022-04-27T11:10:03.051Z] 1a89e8eeedd5: Download complete [2022-04-27T11:10:03.051Z] 0c92f367c5e7: Verifying Checksum [2022-04-27T11:10:03.051Z] 0c92f367c5e7: Download complete [2022-04-27T11:10:03.336Z] 3096ccb668a1: Verifying Checksum [2022-04-27T11:10:03.336Z] 3096ccb668a1: Download complete [2022-04-27T11:10:03.336Z] 9b3977197b4f: Download complete [2022-04-27T11:10:03.336Z] e8cf19c19ddd: Verifying Checksum [2022-04-27T11:10:03.336Z] e8cf19c19ddd: Download complete [2022-04-27T11:10:03.940Z] 9b3977197b4f: Pull complete [2022-04-27T11:10:04.539Z] 1a89e8eeedd5: Pull complete [2022-04-27T11:10:04.812Z] 94645a83ff95: Pull complete [2022-04-27T11:10:05.086Z] a4caa8a26152: Verifying Checksum [2022-04-27T11:10:05.086Z] a4caa8a26152: Download complete [2022-04-27T11:10:05.682Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-27T11:10:05.682Z] 3f3a8bcf1eab: Download complete [2022-04-27T11:10:20.841Z] 3f3a8bcf1eab: Pull complete [2022-04-27T11:10:20.841Z] 0c92f367c5e7: Pull complete [2022-04-27T11:10:20.841Z] 3096ccb668a1: Pull complete [2022-04-27T11:10:20.841Z] e8cf19c19ddd: Pull complete [2022-04-27T11:10:26.261Z] a4caa8a26152: Pull complete [2022-04-27T11:10:26.261Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-27T11:10:26.261Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-27T11:10:26.261Z] ---> 725f1c02e7f9 [2022-04-27T11:10:26.261Z] Step 3/10 : ARG MAKE='make build' [2022-04-27T11:10:27.724Z] ---> Running in 23ea73a87751 [2022-04-27T11:10:29.168Z] Removing intermediate container 23ea73a87751 [2022-04-27T11:10:29.168Z] ---> ce71c22b941b [2022-04-27T11:10:29.168Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T11:10:29.168Z] ---> Running in a9cbca8a6ca1 [2022-04-27T11:10:31.197Z] Removing intermediate container a9cbca8a6ca1 [2022-04-27T11:10:31.197Z] ---> 38bb7cacebce [2022-04-27T11:10:31.197Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-27T11:10:31.197Z] ---> Running in 6300c620b776 [2022-04-27T11:10:32.185Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-27T11:10:33.169Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-27T11:10:34.157Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-04-27T11:10:34.157Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-04-27T11:10:34.157Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-04-27T11:10:34.432Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-04-27T11:10:34.432Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-04-27T11:10:34.707Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-04-27T11:10:34.707Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-04-27T11:10:34.707Z] (8/8) Installing openssh (8.8_p1-r1) [2022-04-27T11:10:34.996Z] Executing busybox-1.34.1-r3.trigger [2022-04-27T11:10:34.996Z] OK: 226 MiB in 60 packages [2022-04-27T11:10:36.002Z] Removing intermediate container 6300c620b776 [2022-04-27T11:10:36.002Z] ---> 7f2b14889cb0 [2022-04-27T11:10:36.002Z] Step 6/10 : WORKDIR /device-modbus-go [2022-04-27T11:10:36.002Z] ---> Running in 38d3b5747296 [2022-04-27T11:10:36.278Z] Removing intermediate container 38d3b5747296 [2022-04-27T11:10:36.278Z] ---> 247d51661e61 [2022-04-27T11:10:36.278Z] Step 7/10 : COPY go.mod vendor* ./ [2022-04-27T11:10:36.884Z] ---> 78685e5d3302 [2022-04-27T11:10:36.884Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T11:10:37.166Z] ---> Running in 7da58266b430 [2022-04-27T11:11:33.760Z] Removing intermediate container 7da58266b430 [2022-04-27T11:11:33.760Z] ---> 114b45844675 [2022-04-27T11:11:33.760Z] Step 9/10 : COPY . . [2022-04-27T11:11:33.760Z] ---> 4147d3947cbe [2022-04-27T11:11:33.760Z] Step 10/10 : RUN ${MAKE} [2022-04-27T11:11:33.760Z] ---> Running in f69fac329110 [2022-04-27T11:11:33.760Z] noop [2022-04-27T11:11:33.760Z] Removing intermediate container f69fac329110 [2022-04-27T11:11:33.760Z] ---> 3d8bc8656658 [2022-04-27T11:11:33.760Z] Successfully built 3d8bc8656658 [2022-04-27T11:11:33.760Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:11:34.124Z] + docker inspect -f . ci-base-image-arm64 [2022-04-27T11:11:34.124Z] . [Pipeline] withDockerContainer [2022-04-27T11:11:34.372Z] prd-ubuntu20.04-docker-arm64-4c-16g-33470 does not seem to be running inside a container [2022-04-27T11:11:34.474Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/32 -v /w/workspace/device-modbus-go/32:/w/workspace/device-modbus-go/32:rw,z -v /w/workspace/device-modbus-go/32@tmp:/w/workspace/device-modbus-go/32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-27T11:11:35.872Z] $ docker top 8803c1d47e87fe09220c47c8d153cfd16181b4f54f7ab20a54b2783ce61c4a59 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-27T11:11:36.814Z] + go version [2022-04-27T11:11:36.814Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-27T11:11:36.844Z] $ docker stop --time=1 8803c1d47e87fe09220c47c8d153cfd16181b4f54f7ab20a54b2783ce61c4a59 [2022-04-27T11:11:38.464Z] $ docker rm -f 8803c1d47e87fe09220c47c8d153cfd16181b4f54f7ab20a54b2783ce61c4a59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:11:39.058Z] + docker inspect -f . ci-base-image-arm64 [2022-04-27T11:11:39.058Z] . [Pipeline] withDockerContainer [2022-04-27T11:11:39.314Z] prd-ubuntu20.04-docker-arm64-4c-16g-33470 does not seem to be running inside a container [2022-04-27T11:11:39.414Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/32 -v /w/workspace/device-modbus-go/32:/w/workspace/device-modbus-go/32:rw,z -v /w/workspace/device-modbus-go/32@tmp:/w/workspace/device-modbus-go/32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-27T11:11:40.709Z] $ docker top a0fa98f9e4bfcf70fd9c8ba0dc6cdd7d6a12203dc0101b283b70ef5d7e0ba48f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-27T11:11:41.639Z] + make test [2022-04-27T11:11:41.639Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-27T11:11:43.621Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-04-27T11:13:20.489Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-04-27T11:13:20.489Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.124s coverage: 46.4% of statements [2022-04-27T11:13:20.489Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-27T11:13:20.489Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-27T11:13:38.899Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-27T11:13:38.899Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-27T11:13:38.899Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-27T11:13:41.549Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-27T11:13:41.567Z] $ docker stop --time=1 a0fa98f9e4bfcf70fd9c8ba0dc6cdd7d6a12203dc0101b283b70ef5d7e0ba48f [2022-04-27T11:13:43.388Z] $ docker rm -f a0fa98f9e4bfcf70fd9c8ba0dc6cdd7d6a12203dc0101b283b70ef5d7e0ba48f [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-27T11:13:44.484Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-27T11:13:44.512Z] Warning: overwriting stash ‘coverage-report’ [2022-04-27T11:13:45.087Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-27T11:13:45.482Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-27T11:13:45.826Z] + ls -al . [2022-04-27T11:13:45.826Z] total 176 [2022-04-27T11:13:45.826Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 27 11:13 . [2022-04-27T11:13:45.826Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 11:09 .. [2022-04-27T11:13:45.826Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 11:09 .dockerignore [2022-04-27T11:13:45.826Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 11:09 .git [2022-04-27T11:13:45.826Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:09 .github [2022-04-27T11:13:45.826Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 27 11:09 .gitignore [2022-04-27T11:13:45.826Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 11:09 .golangci.yml [2022-04-27T11:13:45.826Z] -rw-rw-r-- 1 jenkins jenkins 9377 Apr 27 11:09 Attribution.txt [2022-04-27T11:13:45.826Z] -rw-rw-r-- 1 jenkins jenkins 6038 Apr 27 11:09 CHANGELOG.md [2022-04-27T11:13:45.826Z] -rw-rw-r-- 1 jenkins jenkins 1546 Apr 27 11:09 Dockerfile [2022-04-27T11:13:45.826Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 11:09 GOVERNANCE.md [2022-04-27T11:13:45.826Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 27 11:09 Jenkinsfile [2022-04-27T11:13:45.826Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 11:09 LICENSE [2022-04-27T11:13:45.826Z] -rw-rw-r-- 1 jenkins jenkins 1905 Apr 27 11:09 Makefile [2022-04-27T11:13:45.826Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 27 11:09 OWNERS.md [2022-04-27T11:13:45.826Z] -rw-rw-r-- 1 jenkins jenkins 3680 Apr 27 11:09 README.md [2022-04-27T11:13:45.826Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 27 11:06 VERSION [2022-04-27T11:13:45.826Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 11:09 bin [2022-04-27T11:13:45.826Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:09 cmd [2022-04-27T11:13:45.826Z] -rw-r--r-- 1 jenkins jenkins 24065 Apr 27 11:13 coverage.out [2022-04-27T11:13:45.826Z] -rw-rw-r-- 1 jenkins jenkins 3399 Apr 27 11:09 go.mod [2022-04-27T11:13:45.826Z] -rw-rw-r-- 1 jenkins jenkins 35075 Apr 27 11:09 go.sum [2022-04-27T11:13:45.826Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:09 internal [2022-04-27T11:13:45.826Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 11:09 simulator [2022-04-27T11:13:45.826Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 11:09 snap [2022-04-27T11:13:45.826Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 27 11:09 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:13:46.182Z] + 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=19472f7a5fdc6e4787d855a3cc3865d021cdd964 --label arch=arm64 --label version=2.2.0-dev.14 . [2022-04-27T11:13:46.460Z] Sending build context to Docker daemon 3.075MB [2022-04-27T11:13:46.460Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T11:13:46.460Z] Step 2/23 : FROM ${BASE} AS builder [2022-04-27T11:13:46.460Z] ---> 3d8bc8656658 [2022-04-27T11:13:46.460Z] Step 3/23 : ARG MAKE='make build' [2022-04-27T11:13:46.744Z] ---> Running in efab3bac905b [2022-04-27T11:13:47.026Z] Removing intermediate container efab3bac905b [2022-04-27T11:13:47.026Z] ---> dba62bf07ee6 [2022-04-27T11:13:47.026Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T11:13:47.305Z] ---> Running in 2f8c0883bb86 [2022-04-27T11:13:49.303Z] Removing intermediate container 2f8c0883bb86 [2022-04-27T11:13:49.303Z] ---> 13136aa77dd8 [2022-04-27T11:13:49.303Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-27T11:13:49.303Z] ---> Running in d45eb06b0164 [2022-04-27T11:13:50.287Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-27T11:13:51.268Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-27T11:13:51.867Z] OK: 226 MiB in 60 packages [2022-04-27T11:13:52.864Z] Removing intermediate container d45eb06b0164 [2022-04-27T11:13:52.864Z] ---> d3c587b23607 [2022-04-27T11:13:52.864Z] Step 6/23 : WORKDIR /device-modbus-go [2022-04-27T11:13:52.864Z] ---> Running in ed2851adb79f [2022-04-27T11:13:53.143Z] Removing intermediate container ed2851adb79f [2022-04-27T11:13:53.143Z] ---> 01f560abb2d5 [2022-04-27T11:13:53.143Z] Step 7/23 : COPY go.mod vendor* ./ [2022-04-27T11:13:53.749Z] ---> c94fec70821c [2022-04-27T11:13:53.749Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T11:13:54.038Z] ---> Running in fc05693b57b2 [2022-04-27T11:13:56.031Z] Removing intermediate container fc05693b57b2 [2022-04-27T11:13:56.031Z] ---> 778edf3ebb7d [2022-04-27T11:13:56.031Z] Step 9/23 : COPY . . [2022-04-27T11:13:57.018Z] ---> b6e114d5410b [2022-04-27T11:13:57.018Z] Step 10/23 : RUN ${MAKE} [2022-04-27T11:13:57.018Z] ---> Running in a3bcdce0ac77 [2022-04-27T11:13:58.009Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.14" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-04-27T11:16:20.002Z] Removing intermediate container a3bcdce0ac77 [2022-04-27T11:16:20.002Z] ---> ed2bb958b045 [2022-04-27T11:16:20.002Z] Step 11/23 : FROM alpine:3.14 [2022-04-27T11:16:20.002Z] 3.14: Pulling from library/alpine [2022-04-27T11:16:20.002Z] 455c02918c45: Pulling fs layer [2022-04-27T11:16:20.002Z] 455c02918c45: Verifying Checksum [2022-04-27T11:16:20.002Z] 455c02918c45: Download complete [2022-04-27T11:16:20.002Z] 455c02918c45: Pull complete [2022-04-27T11:16:20.002Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-27T11:16:20.002Z] Status: Downloaded newer image for alpine:3.14 [2022-04-27T11:16:20.002Z] ---> ac73e934f311 [2022-04-27T11:16:20.002Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-04-27T11:16:20.002Z] ---> Running in 384f9428efcf [2022-04-27T11:16:20.002Z] Removing intermediate container 384f9428efcf [2022-04-27T11:16:20.002Z] ---> 9f4ccf2db252 [2022-04-27T11:16:20.002Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T11:16:20.002Z] ---> Running in 3a2244a0f17d [2022-04-27T11:16:20.002Z] Removing intermediate container 3a2244a0f17d [2022-04-27T11:16:20.002Z] ---> 2e161cb4201f [2022-04-27T11:16:20.002Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-27T11:16:20.002Z] ---> Running in b2464015d4c0 [2022-04-27T11:16:20.002Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-27T11:16:20.002Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-27T11:16:20.002Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-27T11:16:20.002Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-27T11:16:20.002Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-27T11:16:20.002Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-27T11:16:20.002Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-27T11:16:20.002Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-27T11:16:20.002Z] Executing busybox-1.33.1-r7.trigger [2022-04-27T11:16:20.002Z] OK: 8 MiB in 20 packages [2022-04-27T11:16:20.002Z] Removing intermediate container b2464015d4c0 [2022-04-27T11:16:20.002Z] ---> 2e00d0bf5c4b [2022-04-27T11:16:20.002Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-04-27T11:16:20.002Z] ---> d2d250956f9b [2022-04-27T11:16:20.002Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-04-27T11:16:20.002Z] ---> 7dfcb7d2a5b6 [2022-04-27T11:16:20.002Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-04-27T11:16:20.002Z] ---> 85f9bb8fc609 [2022-04-27T11:16:20.002Z] Step 18/23 : EXPOSE 59901 [2022-04-27T11:16:20.002Z] ---> Running in 3c1b0212dc99 [2022-04-27T11:16:20.002Z] Removing intermediate container 3c1b0212dc99 [2022-04-27T11:16:20.002Z] ---> 326a4db0f80d [2022-04-27T11:16:20.002Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-04-27T11:16:20.002Z] ---> Running in 888a9954dbf5 [2022-04-27T11:16:20.002Z] Removing intermediate container 888a9954dbf5 [2022-04-27T11:16:20.002Z] ---> 7ec39a783af8 [2022-04-27T11:16:20.002Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-27T11:16:20.002Z] ---> Running in ad9f60faa186 [2022-04-27T11:16:20.002Z] Removing intermediate container ad9f60faa186 [2022-04-27T11:16:20.002Z] ---> 7b879dcfda5b [2022-04-27T11:16:20.002Z] Step 21/23 : LABEL arch=arm64 [2022-04-27T11:16:20.002Z] ---> Running in 68c553992d6a [2022-04-27T11:16:20.277Z] Removing intermediate container 68c553992d6a [2022-04-27T11:16:20.277Z] ---> 76f09ed335eb [2022-04-27T11:16:20.277Z] Step 22/23 : LABEL git_sha=19472f7a5fdc6e4787d855a3cc3865d021cdd964 [2022-04-27T11:16:20.277Z] ---> Running in 54716438eb71 [2022-04-27T11:16:20.555Z] Removing intermediate container 54716438eb71 [2022-04-27T11:16:20.555Z] ---> bacda7ab292f [2022-04-27T11:16:20.555Z] Step 23/23 : LABEL version=2.2.0-dev.14 [2022-04-27T11:16:20.830Z] ---> Running in e5105f307376 [2022-04-27T11:16:21.106Z] Removing intermediate container e5105f307376 [2022-04-27T11:16:21.106Z] ---> 3b3ddd66ad5a [2022-04-27T11:16:21.106Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-27T11:16:21.106Z] Successfully built 3b3ddd66ad5a [2022-04-27T11:16:21.106Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T11:16:21.225Z] provisioning config files... [2022-04-27T11:16:21.247Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/32@tmp/config6052428498676695605tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:16:21.614Z] ---> docker-login.sh [2022-04-27T11:16:21.614Z] nexus3.edgexfoundry.org:10001 [2022-04-27T11:16:21.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:16:21.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:16:21.889Z] Configure a credential helper to remove this warning. See [2022-04-27T11:16:21.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:16:21.889Z] [2022-04-27T11:16:21.889Z] Login Succeeded [2022-04-27T11:16:21.889Z] nexus3.edgexfoundry.org:10002 [2022-04-27T11:16:22.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:16:22.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:16:22.488Z] Configure a credential helper to remove this warning. See [2022-04-27T11:16:22.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:16:22.488Z] [2022-04-27T11:16:22.488Z] Login Succeeded [2022-04-27T11:16:22.488Z] nexus3.edgexfoundry.org:10003 [2022-04-27T11:16:22.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:16:23.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:16:23.038Z] Configure a credential helper to remove this warning. See [2022-04-27T11:16:23.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:16:23.038Z] [2022-04-27T11:16:23.038Z] Login Succeeded [2022-04-27T11:16:23.038Z] nexus3.edgexfoundry.org:10004 [2022-04-27T11:16:23.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:16:23.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:16:23.318Z] Configure a credential helper to remove this warning. See [2022-04-27T11:16:23.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:16:23.318Z] [2022-04-27T11:16:23.318Z] Login Succeeded [2022-04-27T11:16:23.318Z] docker.io [2022-04-27T11:16:23.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:16:24.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:16:24.194Z] Configure a credential helper to remove this warning. See [2022-04-27T11:16:24.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:16:24.194Z] [2022-04-27T11:16:24.194Z] Login Succeeded [2022-04-27T11:16:24.194Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T11:16:24.214Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-27T11:16:24.249Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-27T11:16:24.272Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2022-04-27T11:16:24.272Z] 19472f7a5fdc6e4787d855a3cc3865d021cdd964 [2022-04-27T11:16:24.272Z] latest [2022-04-27T11:16:24.272Z] 2.2.0-dev.14 [2022-04-27T11:16:24.272Z] 19472f7a5fdc6e4787d855a3cc3865d021cdd964-2.2.0-dev.14 [2022-04-27T11:16:24.272Z] main [2022-04-27T11:16:24.272Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:16:24.642Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:19472f7a5fdc6e4787d855a3cc3865d021cdd964 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:16:24.990Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:19472f7a5fdc6e4787d855a3cc3865d021cdd964 [2022-04-27T11:16:24.990Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-27T11:16:24.990Z] 8606c16fa344: Preparing [2022-04-27T11:16:24.990Z] a49aa90a3612: Preparing [2022-04-27T11:16:24.990Z] 6b1eefeb19dd: Preparing [2022-04-27T11:16:24.990Z] bbc94139f3b3: Preparing [2022-04-27T11:16:24.990Z] 332756b87c35: Preparing [2022-04-27T11:16:24.990Z] f73e7dbfee58: Preparing [2022-04-27T11:16:24.990Z] f73e7dbfee58: Waiting [2022-04-27T11:16:25.271Z] a49aa90a3612: Pushed [2022-04-27T11:16:25.271Z] 332756b87c35: Pushed [2022-04-27T11:16:25.271Z] 8606c16fa344: Pushed [2022-04-27T11:16:25.271Z] f73e7dbfee58: Layer already exists [2022-04-27T11:16:25.867Z] bbc94139f3b3: Pushed [2022-04-27T11:16:31.269Z] 6b1eefeb19dd: Pushed [2022-04-27T11:16:31.543Z] 19472f7a5fdc6e4787d855a3cc3865d021cdd964: digest: sha256:f19215d49eb0a7117e1c5ed2dfbb5e9060ba178998d67b9ab3abbe8377bd71ad size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:16:31.902Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:16:32.253Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-04-27T11:16:32.253Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-27T11:16:32.253Z] 8606c16fa344: Preparing [2022-04-27T11:16:32.253Z] a49aa90a3612: Preparing [2022-04-27T11:16:32.253Z] 6b1eefeb19dd: Preparing [2022-04-27T11:16:32.253Z] bbc94139f3b3: Preparing [2022-04-27T11:16:32.253Z] 332756b87c35: Preparing [2022-04-27T11:16:32.253Z] f73e7dbfee58: Preparing [2022-04-27T11:16:32.253Z] f73e7dbfee58: Waiting [2022-04-27T11:16:32.253Z] a49aa90a3612: Layer already exists [2022-04-27T11:16:32.253Z] bbc94139f3b3: Layer already exists [2022-04-27T11:16:32.253Z] 6b1eefeb19dd: Layer already exists [2022-04-27T11:16:32.253Z] 8606c16fa344: Layer already exists [2022-04-27T11:16:32.253Z] 332756b87c35: Layer already exists [2022-04-27T11:16:32.528Z] f73e7dbfee58: Layer already exists [2022-04-27T11:16:32.528Z] latest: digest: sha256:f19215d49eb0a7117e1c5ed2dfbb5e9060ba178998d67b9ab3abbe8377bd71ad size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:16:32.888Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.14 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:16:33.246Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.14 [2022-04-27T11:16:33.246Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-27T11:16:33.246Z] 8606c16fa344: Preparing [2022-04-27T11:16:33.246Z] a49aa90a3612: Preparing [2022-04-27T11:16:33.246Z] 6b1eefeb19dd: Preparing [2022-04-27T11:16:33.246Z] bbc94139f3b3: Preparing [2022-04-27T11:16:33.246Z] 332756b87c35: Preparing [2022-04-27T11:16:33.246Z] f73e7dbfee58: Preparing [2022-04-27T11:16:33.246Z] f73e7dbfee58: Waiting [2022-04-27T11:16:33.246Z] 6b1eefeb19dd: Layer already exists [2022-04-27T11:16:33.246Z] 332756b87c35: Layer already exists [2022-04-27T11:16:33.246Z] 8606c16fa344: Layer already exists [2022-04-27T11:16:33.246Z] bbc94139f3b3: Layer already exists [2022-04-27T11:16:33.246Z] a49aa90a3612: Layer already exists [2022-04-27T11:16:33.525Z] f73e7dbfee58: Layer already exists [2022-04-27T11:16:33.525Z] 2.2.0-dev.14: digest: sha256:f19215d49eb0a7117e1c5ed2dfbb5e9060ba178998d67b9ab3abbe8377bd71ad size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:16:33.886Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:19472f7a5fdc6e4787d855a3cc3865d021cdd964-2.2.0-dev.14 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:16:34.238Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:19472f7a5fdc6e4787d855a3cc3865d021cdd964-2.2.0-dev.14 [2022-04-27T11:16:34.238Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-27T11:16:34.238Z] 8606c16fa344: Preparing [2022-04-27T11:16:34.238Z] a49aa90a3612: Preparing [2022-04-27T11:16:34.238Z] 6b1eefeb19dd: Preparing [2022-04-27T11:16:34.238Z] bbc94139f3b3: Preparing [2022-04-27T11:16:34.238Z] 332756b87c35: Preparing [2022-04-27T11:16:34.238Z] f73e7dbfee58: Preparing [2022-04-27T11:16:34.238Z] f73e7dbfee58: Waiting [2022-04-27T11:16:34.238Z] 6b1eefeb19dd: Layer already exists [2022-04-27T11:16:34.238Z] bbc94139f3b3: Layer already exists [2022-04-27T11:16:34.238Z] a49aa90a3612: Layer already exists [2022-04-27T11:16:34.238Z] 332756b87c35: Layer already exists [2022-04-27T11:16:34.238Z] 8606c16fa344: Layer already exists [2022-04-27T11:16:34.513Z] f73e7dbfee58: Layer already exists [2022-04-27T11:16:34.513Z] 19472f7a5fdc6e4787d855a3cc3865d021cdd964-2.2.0-dev.14: digest: sha256:f19215d49eb0a7117e1c5ed2dfbb5e9060ba178998d67b9ab3abbe8377bd71ad size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:16:34.866Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:16:35.227Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2022-04-27T11:16:35.227Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-04-27T11:16:35.227Z] 8606c16fa344: Preparing [2022-04-27T11:16:35.227Z] a49aa90a3612: Preparing [2022-04-27T11:16:35.227Z] 6b1eefeb19dd: Preparing [2022-04-27T11:16:35.227Z] bbc94139f3b3: Preparing [2022-04-27T11:16:35.227Z] 332756b87c35: Preparing [2022-04-27T11:16:35.227Z] f73e7dbfee58: Preparing [2022-04-27T11:16:35.227Z] f73e7dbfee58: Waiting [2022-04-27T11:16:35.227Z] 8606c16fa344: Layer already exists [2022-04-27T11:16:35.227Z] 332756b87c35: Layer already exists [2022-04-27T11:16:35.227Z] bbc94139f3b3: Layer already exists [2022-04-27T11:16:35.227Z] 6b1eefeb19dd: Layer already exists [2022-04-27T11:16:35.227Z] a49aa90a3612: Layer already exists [2022-04-27T11:16:35.227Z] f73e7dbfee58: Layer already exists [2022-04-27T11:16:35.502Z] main: digest: sha256:f19215d49eb0a7117e1c5ed2dfbb5e9060ba178998d67b9ab3abbe8377bd71ad size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-27T11:16:35.554Z] ===================================================== [Pipeline] echo [2022-04-27T11:16:35.564Z] taggedImages: [2022-04-27T11:16:35.564Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:19472f7a5fdc6e4787d855a3cc3865d021cdd964 [2022-04-27T11:16:35.564Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-04-27T11:16:35.564Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.14 [2022-04-27T11:16:35.564Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:19472f7a5fdc6e4787d855a3cc3865d021cdd964-2.2.0-dev.14 [2022-04-27T11:16:35.564Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:16:35.937Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-27T11:16:35.937Z] [2022-04-27T11:16:35.937Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:16:36.284Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-27T11:16:36.284Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-27T11:16:36.284Z] 8998bd30e6a1: Pulling fs layer [2022-04-27T11:16:36.284Z] 04944245beec: Pulling fs layer [2022-04-27T11:16:36.284Z] 699f458cf7ca: Pulling fs layer [2022-04-27T11:16:36.284Z] 765212b225bb: Pulling fs layer [2022-04-27T11:16:36.284Z] f23df028b6ca: Pulling fs layer [2022-04-27T11:16:36.284Z] d65c8cfc05b1: Pulling fs layer [2022-04-27T11:16:36.284Z] 2437ff75d9bd: Pulling fs layer [2022-04-27T11:16:36.284Z] f23df028b6ca: Waiting [2022-04-27T11:16:36.284Z] d65c8cfc05b1: Waiting [2022-04-27T11:16:36.284Z] 2437ff75d9bd: Waiting [2022-04-27T11:16:36.284Z] 765212b225bb: Waiting [2022-04-27T11:16:36.560Z] 04944245beec: Verifying Checksum [2022-04-27T11:16:36.560Z] 04944245beec: Download complete [2022-04-27T11:16:36.560Z] 765212b225bb: Download complete [2022-04-27T11:16:36.560Z] f23df028b6ca: Verifying Checksum [2022-04-27T11:16:36.560Z] f23df028b6ca: Download complete [2022-04-27T11:16:36.560Z] d65c8cfc05b1: Download complete [2022-04-27T11:16:36.836Z] 699f458cf7ca: Verifying Checksum [2022-04-27T11:16:36.836Z] 699f458cf7ca: Download complete [2022-04-27T11:16:37.112Z] 8998bd30e6a1: Verifying Checksum [2022-04-27T11:16:37.112Z] 8998bd30e6a1: Download complete [2022-04-27T11:16:39.740Z] 2437ff75d9bd: Verifying Checksum [2022-04-27T11:16:39.740Z] 2437ff75d9bd: Download complete [2022-04-27T11:16:41.178Z] 8998bd30e6a1: Pull complete [2022-04-27T11:16:41.770Z] 04944245beec: Pull complete [2022-04-27T11:16:42.745Z] 699f458cf7ca: Pull complete [2022-04-27T11:16:43.018Z] 765212b225bb: Pull complete [2022-04-27T11:16:43.997Z] f23df028b6ca: Pull complete [2022-04-27T11:16:43.997Z] d65c8cfc05b1: Pull complete [2022-04-27T11:16:59.082Z] 2437ff75d9bd: Pull complete [2022-04-27T11:16:59.082Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-27T11:16:59.082Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-27T11:16:59.082Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-27T11:16:59.313Z] prd-ubuntu20.04-docker-arm64-4c-16g-33470 does not seem to be running inside a container [2022-04-27T11:16:59.407Z] $ 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/32 -v /w/workspace/device-modbus-go/32:/w/workspace/device-modbus-go/32:rw,z -v /w/workspace/device-modbus-go/32@tmp:/w/workspace/device-modbus-go/32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-27T11:17:02.317Z] $ docker top df75ba8bd551e0c6c07d81bdce6b23b82952a89b9abdbbdde0dbe2a4415cbac6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:17:03.267Z] ---> job-cost.sh [2022-04-27T11:17:03.268Z] lf-activate-venv: SKIPPING [2022-04-27T11:17:03.268Z] INFO: No Stack... [2022-04-27T11:17:03.541Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-27T11:17:04.531Z] INFO: Archiving Costs [Pipeline] sh [2022-04-27T11:17:05.205Z] + + cutcat -d, /w/workspace/device-modbus-go/32/archives/cost.csv -f6 [2022-04-27T11:17:05.205Z] [Pipeline] lock [2022-04-27T11:17:05.277Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-32-stack-cost] [2022-04-27T11:17:05.288Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-32-stack-cost] did not exist. Created. [2022-04-27T11:17:05.288Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-32-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-27T11:17:05.975Z] /w/workspace/device-modbus-go/32@tmp/durable-98584b20/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-27T11:17:06.662Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-27T11:17:06.692Z] Warning: overwriting stash ‘stack-cost’ [2022-04-27T11:17:06.745Z] Stashed 1 file(s) [Pipeline] } [2022-04-27T11:17:06.751Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-32-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-27T11:17:06.771Z] $ docker stop --time=1 df75ba8bd551e0c6c07d81bdce6b23b82952a89b9abdbbdde0dbe2a4415cbac6 [2022-04-27T11:17:08.256Z] $ docker rm -f df75ba8bd551e0c6c07d81bdce6b23b82952a89b9abdbbdde0dbe2a4415cbac6 [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-04-27T11:17:08.813Z] provisioning config files... [2022-04-27T11:17:08.822Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config884387529535867661tmp [Pipeline] { [Pipeline] sh [2022-04-27T11:17:09.202Z] + set +x [2022-04-27T11:17:09.202Z] + curl -s https://codecov.io/bash [2022-04-27T11:17:09.202Z] + bash -s -- [2022-04-27T11:17:09.202Z] [2022-04-27T11:17:09.202Z] _____ _ [2022-04-27T11:17:09.202Z] / ____| | | [2022-04-27T11:17:09.202Z] | | ___ __| | ___ ___ _____ __ [2022-04-27T11:17:09.202Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-27T11:17:09.202Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-27T11:17:09.202Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-27T11:17:09.202Z] Bash-1.0.6 [2022-04-27T11:17:09.202Z] [2022-04-27T11:17:09.202Z] [2022-04-27T11:17:09.202Z] ==> git version 2.25.1 found [2022-04-27T11:17:09.202Z] ==> 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-04-27T11:17:09.202Z] Release-Date: 2020-01-08 [2022-04-27T11:17:09.202Z] 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-04-27T11:17:09.202Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-27T11:17:09.202Z] ==> Jenkins CI detected. [2022-04-27T11:17:09.202Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2022-04-27T11:17:09.202Z] project root: . [2022-04-27T11:17:09.202Z] --> token set from env [2022-04-27T11:17:09.202Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-27T11:17:09.202Z] ==> Running gcov in . (disable via -X gcov) [2022-04-27T11:17:09.202Z] ==> Python coveragepy not found [2022-04-27T11:17:09.202Z] ==> Searching for coverage reports in: [2022-04-27T11:17:09.202Z] + . [2022-04-27T11:17:09.202Z] -> Found 1 reports [2022-04-27T11:17:09.202Z] ==> Detecting git/mercurial file structure [2022-04-27T11:17:09.202Z] ==> Reading reports [2022-04-27T11:17:09.202Z] + ./coverage.out bytes=24065 [2022-04-27T11:17:09.461Z] ==> Appending adjustments [2022-04-27T11:17:09.461Z] https://docs.codecov.io/docs/fixing-reports [2022-04-27T11:17:09.461Z] + Found adjustments [2022-04-27T11:17:09.461Z] ==> Gzipping contents [2022-04-27T11:17:09.461Z] 4.0K /tmp/codecov.1TFK1N.gz [2022-04-27T11:17:09.461Z] ==> Uploading reports [2022-04-27T11:17:09.461Z] url: https://codecov.io [2022-04-27T11:17:09.461Z] query: branch=main&commit=19472f7a5fdc6e4787d855a3cc3865d021cdd964&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-27T11:17:09.461Z] -> Pinging Codecov [2022-04-27T11:17:09.461Z] 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=19472f7a5fdc6e4787d855a3cc3865d021cdd964&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-27T11:17:09.721Z] -> Uploading to [2022-04-27T11:17:09.721Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-27/55DBCA73C666E3227836607328DD7E49/19472f7a5fdc6e4787d855a3cc3865d021cdd964/970c3424-ba60-47cf-aad0-ee717dc474f2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220427T111709Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5a4fd5956a81cf65f2d73c9f5a9cb5d538eb19e70066550a7dda476d7d9b84b6 [2022-04-27T11:17:09.721Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-27T11:17:09.721Z] Dload Upload Total Spent Left Speed [2022-04-27T11:17:09.981Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4026 0 0 100 4026 0 17814 --:--:-- --:--:-- --:--:-- 17814 [2022-04-27T11:17:09.981Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/19472f7a5fdc6e4787d855a3cc3865d021cdd964 [Pipeline] } [2022-04-27T11:17:09.989Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-27T11:17:10.131Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-27T11:17:10.140Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:10.436Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-27T11:17:10.436Z] [2022-04-27T11:17:10.436Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:10.740Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-27T11:17:10.740Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-27T11:17:10.740Z] 188c0c94c7c5: Pulling fs layer [2022-04-27T11:17:10.740Z] 0ef7d3d256c8: Pulling fs layer [2022-04-27T11:17:10.740Z] de9db76c5a1d: Pulling fs layer [2022-04-27T11:17:10.740Z] 0eba1c9be4d2: Pulling fs layer [2022-04-27T11:17:10.740Z] 0d57e429df01: Pulling fs layer [2022-04-27T11:17:10.740Z] 4e4be7b47b0d: Pulling fs layer [2022-04-27T11:17:10.740Z] e1f770b5df2f: Pulling fs layer [2022-04-27T11:17:10.740Z] 85a0685a4137: Pulling fs layer [2022-04-27T11:17:10.740Z] 0eba1c9be4d2: Waiting [2022-04-27T11:17:10.740Z] 0d57e429df01: Waiting [2022-04-27T11:17:10.740Z] 4e4be7b47b0d: Waiting [2022-04-27T11:17:10.740Z] e1f770b5df2f: Waiting [2022-04-27T11:17:10.740Z] de9db76c5a1d: Verifying Checksum [2022-04-27T11:17:10.740Z] de9db76c5a1d: Download complete [2022-04-27T11:17:10.740Z] 0ef7d3d256c8: Download complete [2022-04-27T11:17:10.740Z] 0d57e429df01: Verifying Checksum [2022-04-27T11:17:10.740Z] 0d57e429df01: Download complete [2022-04-27T11:17:10.740Z] 4e4be7b47b0d: Verifying Checksum [2022-04-27T11:17:10.740Z] 4e4be7b47b0d: Download complete [2022-04-27T11:17:10.740Z] 188c0c94c7c5: Verifying Checksum [2022-04-27T11:17:10.740Z] 188c0c94c7c5: Download complete [2022-04-27T11:17:10.999Z] 188c0c94c7c5: Pull complete [2022-04-27T11:17:10.999Z] e1f770b5df2f: Verifying Checksum [2022-04-27T11:17:10.999Z] e1f770b5df2f: Download complete [2022-04-27T11:17:10.999Z] 0ef7d3d256c8: Pull complete [2022-04-27T11:17:11.261Z] de9db76c5a1d: Pull complete [2022-04-27T11:17:11.521Z] 0eba1c9be4d2: Verifying Checksum [2022-04-27T11:17:11.521Z] 0eba1c9be4d2: Download complete [2022-04-27T11:17:11.780Z] 85a0685a4137: Verifying Checksum [2022-04-27T11:17:11.780Z] 85a0685a4137: Download complete [2022-04-27T11:17:15.975Z] 0eba1c9be4d2: Pull complete [2022-04-27T11:17:15.975Z] 0d57e429df01: Pull complete [2022-04-27T11:17:15.975Z] 4e4be7b47b0d: Pull complete [2022-04-27T11:17:15.975Z] e1f770b5df2f: Pull complete [2022-04-27T11:17:19.273Z] 85a0685a4137: Pull complete [2022-04-27T11:17:19.273Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-27T11:17:19.273Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-27T11:17:19.273Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-27T11:17:19.343Z] prd-ubuntu20.04-docker-8c-8g-33467 does not seem to be running inside a container [2022-04-27T11:17:19.386Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-04-27T11:17:21.344Z] $ docker top e29bd533445e551e33a07bbd10369b00c0a5724159c9b1a6a7a1ea438ac8efb3 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-27T11:17:21.422Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-27T11:17:21.706Z] + set -o pipefail [2022-04-27T11:17:21.707Z] + snyk monitor '--org=edgex-jenkins' [2022-04-27T11:17:28.288Z] [2022-04-27T11:17:28.288Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2022-04-27T11:17:28.288Z] [2022-04-27T11:17:28.288Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/6162894e-bff5-457d-a6ae-3e34be861951 [2022-04-27T11:17:28.288Z] [2022-04-27T11:17:28.288Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-04-27T11:17:28.288Z] [2022-04-27T11:17:28.288Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-27T11:17:28.288Z] [2022-04-27T11:17:28.288Z] [Pipeline] } [2022-04-27T11:17:28.308Z] $ docker stop --time=1 e29bd533445e551e33a07bbd10369b00c0a5724159c9b1a6a7a1ea438ac8efb3 [2022-04-27T11:17:30.619Z] $ docker rm -f e29bd533445e551e33a07bbd10369b00c0a5724159c9b1a6a7a1ea438ac8efb3 [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-04-27T11:17:31.412Z] + git log --format=format:%s -1 19472f7a5fdc6e4787d855a3cc3865d021cdd964 [Pipeline] sh [2022-04-27T11:17:31.726Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-27T11:17:31.726Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:32.030Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T11:17:32.031Z] . [Pipeline] withDockerContainer [2022-04-27T11:17:32.104Z] prd-ubuntu20.04-docker-8c-8g-33467 does not seem to be running inside a container [2022-04-27T11:17:32.149Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-04-27T11:17:32.602Z] $ docker top 5c379a05da5db261f9f85896e68142697caa824b548494cfc46b0df1ea290f15 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-27T11:17:32.725Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-27T11:17:32.725Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-27T11:17:32.854Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-27T11:17:32.862Z] $ docker exec 5c379a05da5db261f9f85896e68142697caa824b548494cfc46b0df1ea290f15 ssh-agent [2022-04-27T11:17:32.997Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNGcACD/agent.14 [2022-04-27T11:17:32.997Z] SSH_AGENT_PID=20 [2022-04-27T11:17:33.003Z] Running ssh-add (command line suppressed) [2022-04-27T11:17:33.131Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9156329477165053482.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9156329477165053482.key) [2022-04-27T11:17:33.147Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-27T11:17:33.442Z] + git semver tag [2022-04-27T11:17:33.442Z] # -> Open(): unable to determine branch for HEAD [2022-04-27T11:17:33.442Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-04-27T11:17:33.442Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-04-27T11:17:33.442Z] # $SEMVER_REMOTE_NAME = origin [2022-04-27T11:17:33.442Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-27T11:17:33.442Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-27T11:17:33.442Z] # $SEMVER_BRANCH = main [2022-04-27T11:17:33.442Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-04-27T11:17:33.442Z] # 19472f7a5fdc6e4787d855a3cc3865d021cdd964 HEAD [2022-04-27T11:17:33.442Z] # -> Force: false [2022-04-27T11:17:33.442Z] # fae722699d514bf0df20deb6ec1a935614782785 refs/tags/v2.2.0-dev.14 [Pipeline] } [2022-04-27T11:17:33.457Z] $ docker exec --env ******** --env ******** 5c379a05da5db261f9f85896e68142697caa824b548494cfc46b0df1ea290f15 ssh-agent -k [2022-04-27T11:17:33.570Z] unset SSH_AUTH_SOCK; [2022-04-27T11:17:33.571Z] unset SSH_AGENT_PID; [2022-04-27T11:17:33.571Z] echo Agent pid 20 killed; [2022-04-27T11:17:33.577Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-27T11:17:33.891Z] + git semver [Pipeline] } [2022-04-27T11:17:33.914Z] $ docker stop --time=1 5c379a05da5db261f9f85896e68142697caa824b548494cfc46b0df1ea290f15 [2022-04-27T11:17:35.214Z] $ docker rm -f 5c379a05da5db261f9f85896e68142697caa824b548494cfc46b0df1ea290f15 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:35.613Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-27T11:17:35.613Z] [2022-04-27T11:17:35.613Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:35.918Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-27T11:17:35.918Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-27T11:17:35.918Z] ab5ef0e58194: Pulling fs layer [2022-04-27T11:17:35.918Z] 9712f1f96733: Pulling fs layer [2022-04-27T11:17:35.918Z] 63f879dbbcfc: Pulling fs layer [2022-04-27T11:17:35.918Z] 0d9ebad4ef96: Pulling fs layer [2022-04-27T11:17:35.918Z] e9a5061849ea: Pulling fs layer [2022-04-27T11:17:35.918Z] d747dcd14b5f: Pulling fs layer [2022-04-27T11:17:35.918Z] 2de7ff778b66: Pulling fs layer [2022-04-27T11:17:35.918Z] 0d9ebad4ef96: Waiting [2022-04-27T11:17:35.918Z] e9a5061849ea: Waiting [2022-04-27T11:17:35.918Z] 2de7ff778b66: Waiting [2022-04-27T11:17:35.918Z] d747dcd14b5f: Waiting [2022-04-27T11:17:35.918Z] 9712f1f96733: Download complete [2022-04-27T11:17:36.179Z] 63f879dbbcfc: Verifying Checksum [2022-04-27T11:17:36.179Z] 63f879dbbcfc: Download complete [2022-04-27T11:17:36.439Z] e9a5061849ea: Download complete [2022-04-27T11:17:36.439Z] 0d9ebad4ef96: Verifying Checksum [2022-04-27T11:17:36.439Z] 0d9ebad4ef96: Download complete [2022-04-27T11:17:36.439Z] d747dcd14b5f: Download complete [2022-04-27T11:17:36.439Z] 2de7ff778b66: Download complete [2022-04-27T11:17:36.439Z] ab5ef0e58194: Verifying Checksum [2022-04-27T11:17:36.439Z] ab5ef0e58194: Download complete [2022-04-27T11:17:39.730Z] ab5ef0e58194: Pull complete [2022-04-27T11:17:39.730Z] 9712f1f96733: Pull complete [2022-04-27T11:17:40.299Z] 63f879dbbcfc: Pull complete [2022-04-27T11:17:44.494Z] 0d9ebad4ef96: Pull complete [2022-04-27T11:17:44.495Z] e9a5061849ea: Pull complete [2022-04-27T11:17:44.495Z] d747dcd14b5f: Pull complete [2022-04-27T11:17:45.433Z] 2de7ff778b66: Pull complete [2022-04-27T11:17:45.433Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-27T11:17:45.433Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-27T11:17:45.433Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-27T11:17:45.503Z] prd-ubuntu20.04-docker-8c-8g-33467 does not seem to be running inside a container [2022-04-27T11:17:45.543Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-04-27T11:17:47.918Z] $ docker top 5fb6f93dd83afdc9e7e3c43d20da33d469ed88fb59e40d042e002e1157185bbe -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-27T11:17:47.998Z] provisioning config files... [2022-04-27T11:17:48.007Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3743822088473797820tmp [2022-04-27T11:17:48.018Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6430327588420865298tmp [2022-04-27T11:17:48.029Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7531562318734358445tmp [Pipeline] { [Pipeline] echo [2022-04-27T11:17:48.044Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:17:48.326Z] ---> sigul-configuration.sh [2022-04-27T11:17:48.326Z] gpg: directory `/root/.gnupg' created [2022-04-27T11:17:48.326Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-27T11:17:48.326Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-27T11:17:48.326Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-27T11:17:48.326Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-27T11:17:48.326Z] gpg: CAST5 encrypted data [2022-04-27T11:17:48.326Z] gpg: encrypted with 1 passphrase [2022-04-27T11:17:48.326Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-27T11:17:48.615Z] + mkdir /home/jenkins [2022-04-27T11:17:48.615Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-27T11:17:48.905Z] + 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-04-27T11:17:48.916Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:17:49.203Z] ---> sigul-install.sh [2022-04-27T11:17:49.203Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-27T11:17:49.498Z] + git tag --list [2022-04-27T11:17:49.498Z] 0.7.1 [2022-04-27T11:17:49.498Z] v1.0.0 [2022-04-27T11:17:49.498Z] v1.1.0 [2022-04-27T11:17:49.498Z] v1.1.1 [2022-04-27T11:17:49.498Z] v1.2.2 [2022-04-27T11:17:49.498Z] v1.3.0 [2022-04-27T11:17:49.498Z] v1.3.1 [2022-04-27T11:17:49.498Z] v2.0.0 [2022-04-27T11:17:49.498Z] v2.0.1-dev.1 [2022-04-27T11:17:49.498Z] v2.0.1-dev.10 [2022-04-27T11:17:49.498Z] v2.0.1-dev.11 [2022-04-27T11:17:49.498Z] v2.0.1-dev.12 [2022-04-27T11:17:49.498Z] v2.0.1-dev.2 [2022-04-27T11:17:49.498Z] v2.0.1-dev.3 [2022-04-27T11:17:49.498Z] v2.0.1-dev.4 [2022-04-27T11:17:49.498Z] v2.0.1-dev.5 [2022-04-27T11:17:49.498Z] v2.0.1-dev.6 [2022-04-27T11:17:49.498Z] v2.0.1-dev.7 [2022-04-27T11:17:49.498Z] v2.0.1-dev.8 [2022-04-27T11:17:49.498Z] v2.0.1-dev.9 [2022-04-27T11:17:49.498Z] v2.1.0 [2022-04-27T11:17:49.498Z] v2.2.0-dev.1 [2022-04-27T11:17:49.498Z] v2.2.0-dev.10 [2022-04-27T11:17:49.498Z] v2.2.0-dev.11 [2022-04-27T11:17:49.498Z] v2.2.0-dev.12 [2022-04-27T11:17:49.498Z] v2.2.0-dev.13 [2022-04-27T11:17:49.498Z] v2.2.0-dev.14 [2022-04-27T11:17:49.498Z] v2.2.0-dev.2 [2022-04-27T11:17:49.498Z] v2.2.0-dev.3 [2022-04-27T11:17:49.498Z] v2.2.0-dev.4 [2022-04-27T11:17:49.498Z] v2.2.0-dev.5 [2022-04-27T11:17:49.498Z] v2.2.0-dev.6 [2022-04-27T11:17:49.498Z] v2.2.0-dev.7 [2022-04-27T11:17:49.498Z] v2.2.0-dev.8 [2022-04-27T11:17:49.498Z] v2.2.0-dev.9 [Pipeline] sh [2022-04-27T11:17:49.826Z] + lftools sign git-tag v2.2.0-dev.14 [2022-04-27T11:17:50.432Z] Signing Git tag with Sigul... [2022-04-27T11:17:50.432Z] Signing v2.2.0-dev.14 [Pipeline] echo [2022-04-27T11:17:50.704Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:17:50.991Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-27T11:17:50.999Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-27T11:17:51.025Z] $ docker stop --time=1 5fb6f93dd83afdc9e7e3c43d20da33d469ed88fb59e40d042e002e1157185bbe [2022-04-27T11:17:52.312Z] $ docker rm -f 5fb6f93dd83afdc9e7e3c43d20da33d469ed88fb59e40d042e002e1157185bbe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-27T11:17:52.741Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-27T11:17:52.741Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:53.037Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T11:17:53.037Z] . [Pipeline] withDockerContainer [2022-04-27T11:17:53.106Z] prd-ubuntu20.04-docker-8c-8g-33467 does not seem to be running inside a container [2022-04-27T11:17:53.149Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-04-27T11:17:53.543Z] $ docker top 96c83a22d684abf69403834de2f4c3168c6ae2596e787f7ac8aba5d1d7bfafe3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-27T11:17:53.632Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-27T11:17:53.632Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-27T11:17:53.755Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-27T11:17:53.763Z] $ docker exec 96c83a22d684abf69403834de2f4c3168c6ae2596e787f7ac8aba5d1d7bfafe3 ssh-agent [2022-04-27T11:17:53.882Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhFLNAM/agent.13 [2022-04-27T11:17:53.882Z] SSH_AGENT_PID=19 [2022-04-27T11:17:53.889Z] Running ssh-add (command line suppressed) [2022-04-27T11:17:53.999Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6367849150874587280.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6367849150874587280.key) [2022-04-27T11:17:54.011Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-27T11:17:54.306Z] + git semver bump pre [2022-04-27T11:17:54.306Z] # -> Open(): unable to determine branch for HEAD [2022-04-27T11:17:54.306Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-04-27T11:17:54.306Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-04-27T11:17:54.306Z] # $SEMVER_REMOTE_NAME = origin [2022-04-27T11:17:54.306Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-27T11:17:54.306Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-27T11:17:54.306Z] # $SEMVER_BRANCH = main [2022-04-27T11:17:54.306Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-04-27T11:17:54.306Z] 2.2.0-dev.15 [Pipeline] } [2022-04-27T11:17:54.322Z] $ docker exec --env ******** --env ******** 96c83a22d684abf69403834de2f4c3168c6ae2596e787f7ac8aba5d1d7bfafe3 ssh-agent -k [2022-04-27T11:17:54.451Z] unset SSH_AUTH_SOCK; [2022-04-27T11:17:54.451Z] unset SSH_AGENT_PID; [2022-04-27T11:17:54.451Z] echo Agent pid 19 killed; [2022-04-27T11:17:54.458Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-27T11:17:54.774Z] + git semver [Pipeline] } [2022-04-27T11:17:54.794Z] $ docker stop --time=1 96c83a22d684abf69403834de2f4c3168c6ae2596e787f7ac8aba5d1d7bfafe3 [2022-04-27T11:17:56.104Z] $ docker rm -f 96c83a22d684abf69403834de2f4c3168c6ae2596e787f7ac8aba5d1d7bfafe3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-27T11:17:56.462Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-27T11:17:56.462Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:56.759Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T11:17:56.760Z] . [Pipeline] withDockerContainer [2022-04-27T11:17:56.822Z] prd-ubuntu20.04-docker-8c-8g-33467 does not seem to be running inside a container [2022-04-27T11:17:56.862Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-04-27T11:17:57.259Z] $ docker top c652dad7559cc6921a5888d43421bded48a297422493a48be800ff5a2c47c0b6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-27T11:17:57.352Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-27T11:17:57.352Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-27T11:17:57.476Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-27T11:17:57.483Z] $ docker exec c652dad7559cc6921a5888d43421bded48a297422493a48be800ff5a2c47c0b6 ssh-agent [2022-04-27T11:17:57.594Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIpMkeG/agent.14 [2022-04-27T11:17:57.594Z] SSH_AGENT_PID=20 [2022-04-27T11:17:57.598Z] Running ssh-add (command line suppressed) [2022-04-27T11:17:57.713Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1266292379177063527.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1266292379177063527.key) [2022-04-27T11:17:57.723Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-27T11:17:58.012Z] + git semver push [2022-04-27T11:17:58.012Z] # -> Open(): unable to determine branch for HEAD [2022-04-27T11:17:58.012Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-04-27T11:17:58.012Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-04-27T11:17:58.012Z] # $SEMVER_REMOTE_NAME = origin [2022-04-27T11:17:58.012Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-27T11:17:58.012Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-27T11:17:58.012Z] # $SEMVER_BRANCH = main [2022-04-27T11:17:58.012Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2022-04-27T11:17:59.936Z] $ docker exec --env ******** --env ******** c652dad7559cc6921a5888d43421bded48a297422493a48be800ff5a2c47c0b6 ssh-agent -k [2022-04-27T11:18:00.036Z] unset SSH_AUTH_SOCK; [2022-04-27T11:18:00.036Z] unset SSH_AGENT_PID; [2022-04-27T11:18:00.036Z] echo Agent pid 20 killed; [2022-04-27T11:18:00.041Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-27T11:18:00.353Z] + git semver [Pipeline] } [2022-04-27T11:18:00.372Z] $ docker stop --time=1 c652dad7559cc6921a5888d43421bded48a297422493a48be800ff5a2c47c0b6 [2022-04-27T11:18:01.654Z] $ docker rm -f c652dad7559cc6921a5888d43421bded48a297422493a48be800ff5a2c47c0b6 [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-04-27T11:18:02.240Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2022-04-27T11:18:02.240Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-04-27T11:18:02.240Z] total 16 [2022-04-27T11:18:02.240Z] drwxr-xr-x 3 root root 4096 Apr 27 11:08 . [2022-04-27T11:18:02.240Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 11:17 .. [2022-04-27T11:18:02.240Z] drwxr-xr-x 2 root root 4096 Apr 27 11:08 cost [2022-04-27T11:18:02.240Z] -rw-r--r-- 1 root root 86 Apr 27 11:08 cost.csv [2022-04-27T11:18:02.240Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-04-27T11:18:02.240Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-04-27T11:18:02.240Z] total 16 [2022-04-27T11:18:02.240Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 11:08 . [2022-04-27T11:18:02.240Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 11:17 .. [2022-04-27T11:18:02.240Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 11:08 cost [2022-04-27T11:18:02.240Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 27 11:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:18:02.534Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:18:03.406Z] ---> package-listing.sh [2022-04-27T11:18:03.406Z] ++ facter osfamily [2022-04-27T11:18:03.406Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-27T11:18:03.668Z] + OS_FAMILY=debian [2022-04-27T11:18:03.668Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2022-04-27T11:18:03.668Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-27T11:18:03.668Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-27T11:18:03.668Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-27T11:18:03.668Z] + PACKAGES=/tmp/packages_start.txt [2022-04-27T11:18:03.668Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-04-27T11:18:03.668Z] + PACKAGES=/tmp/packages_end.txt [2022-04-27T11:18:03.668Z] + case "${OS_FAMILY}" in [2022-04-27T11:18:03.668Z] + dpkg -l [2022-04-27T11:18:03.668Z] + grep '^ii' [2022-04-27T11:18:03.668Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-27T11:18:03.668Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-27T11:18:03.668Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-27T11:18:03.668Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-04-27T11:18:03.668Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2022-04-27T11:18:03.668Z] + 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-04-27T11:18:03.680Z] 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-04-27T11:18:03.961Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:18:04.524Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T11:18:04.524Z] . [Pipeline] withDockerContainer [2022-04-27T11:18:04.593Z] prd-ubuntu20.04-docker-8c-8g-33467 does not seem to be running inside a container [2022-04-27T11:18:04.632Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-27T11:18:04.893Z] $ docker top 4c61359ae991460576817b136cc65a19336e3327bd473e6ab1fa0777f7f0968f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-27T11:18:05.249Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-27T11:18:05.585Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-27T11:18:05.872Z] + ls /var/log/sa-host [2022-04-27T11:18:05.872Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T11:18:05.967Z] provisioning config files... [2022-04-27T11:18:05.978Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7170765827750584895tmp [Pipeline] { [Pipeline] echo [2022-04-27T11:18:05.992Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:18:06.278Z] ---> create-netrc.sh [Pipeline] } [2022-04-27T11:18:06.285Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:18:06.617Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-27T11:18:06.627Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:18:06.915Z] ---> sudo-logs.sh [2022-04-27T11:18:06.915Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-27T11:18:06.944Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:18:07.229Z] ---> job-cost.sh [2022-04-27T11:18:07.229Z] lf-activate-venv: SKIPPING [2022-04-27T11:18:07.229Z] DEBUG: total: 0.2199999988079071 [2022-04-27T11:18:07.229Z] INFO: Retrieving Stack Cost... [2022-04-27T11:18:07.800Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-27T11:18:08.060Z] INFO: Archiving Costs [Pipeline] echo [2022-04-27T11:18:08.074Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:18:08.359Z] ---> logs-deploy.sh [2022-04-27T11:18:08.359Z] lf-activate-venv: SKIPPING [2022-04-27T11:18:08.359Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/32 [2022-04-27T11:18:08.359Z] INFO: archiving workspace using pattern(s): [2022-04-27T11:18:09.299Z] Archives upload complete. [2022-04-27T11:18:09.299Z] INFO: archiving logs to Nexus