Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d5e58b77efcbf82879c3b9259be6f9314f98ed83 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-ssh9825633719542559739.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh11639141120961456592.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6338888578351925942.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4446588745987843078.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2971029261080068048.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5503 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 d5e58b77efcbf82879c3b9259be6f9314f98ed83 (main) Commit message: "Merge pull request #411 from jinlinGuan/edgex-go-issue-4273" > 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 d5e58b77efcbf82879c3b9259be6f9314f98ed83 # timeout=10 > git rev-list --no-walk 05607db3767b12e2b1688c1d4c1138f7ff4649fd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-13T07:37:05.749Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-13T07:37:05.797Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-13T07:37:05.811Z] ========================================================= [2023-02-13T07:37:05.811Z] EdgeX Global Pipelines Version Info [2023-02-13T07:37:05.811Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:37:06.519Z] ------------------- [2023-02-13T07:37:06.519Z] stable info: [2023-02-13T07:37:06.519Z] ------------------- [2023-02-13T07:37:06.519Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-13T07:37:06.519Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T07:37:06.519Z] Message: update stable to v1.0.244 [2023-02-13T07:37:07.089Z] ------------------- [2023-02-13T07:37:07.089Z] experimental info: [2023-02-13T07:37:07.089Z] ------------------- [2023-02-13T07:37:07.089Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-13T07:37:07.089Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T07:37:07.089Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-13T07:37:07.294Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-02-13T07:37:07.309Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-02-13T07:37:07.319Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-13T07:37:07.334Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-13T07:37:07.346Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-13T07:37:07.357Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-13T07:37:07.368Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-13T07:37:07.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-13T07:37:07.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-13T07:37:07.415Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-13T07:37:07.432Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-13T07:37:07.449Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-02-13T07:37:07.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-13T07:37:07.472Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-13T07:37:07.484Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-13T07:37:07.498Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-13T07:37:07.513Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T07:37:07.526Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T07:37:07.537Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-13T07:37:07.549Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-13T07:37:07.561Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-13T07:37:07.576Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-13T07:37:07.593Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-13T07:37:07.612Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-13T07:37:07.623Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-13T07:37:07.635Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-13T07:37:07.649Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-13T07:37:07.662Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-02-13T07:37:07.676Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-02-13T07:37:07.689Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-02-13T07:37:07.704Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d5e58b77efcbf82879c3b9259be6f9314f98ed83 [Pipeline] echo [2023-02-13T07:37:07.720Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d5e58b7 [Pipeline] echo [2023-02-13T07:37:07.732Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T07:37:07.785Z] provisioning config files... [2023-02-13T07:37:07.798Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6668521845269357295tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:37:08.102Z] ---> docker-login.sh [2023-02-13T07:37:08.102Z] nexus3.edgexfoundry.org:10001 [2023-02-13T07:37:08.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:37:08.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:37:08.362Z] Configure a credential helper to remove this warning. See [2023-02-13T07:37:08.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:37:08.362Z] [2023-02-13T07:37:08.362Z] Login Succeeded [2023-02-13T07:37:08.362Z] nexus3.edgexfoundry.org:10002 [2023-02-13T07:37:08.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:37:08.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:37:08.362Z] Configure a credential helper to remove this warning. See [2023-02-13T07:37:08.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:37:08.362Z] [2023-02-13T07:37:08.362Z] Login Succeeded [2023-02-13T07:37:08.362Z] nexus3.edgexfoundry.org:10003 [2023-02-13T07:37:08.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:37:08.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:37:08.621Z] Configure a credential helper to remove this warning. See [2023-02-13T07:37:08.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:37:08.621Z] [2023-02-13T07:37:08.621Z] Login Succeeded [2023-02-13T07:37:08.621Z] nexus3.edgexfoundry.org:10004 [2023-02-13T07:37:08.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:37:08.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:37:08.621Z] Configure a credential helper to remove this warning. See [2023-02-13T07:37:08.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:37:08.621Z] [2023-02-13T07:37:08.621Z] Login Succeeded [2023-02-13T07:37:08.621Z] docker.io [2023-02-13T07:37:08.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:37:08.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:37:08.880Z] Configure a credential helper to remove this warning. See [2023-02-13T07:37:08.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:37:08.880Z] [2023-02-13T07:37:08.880Z] Login Succeeded [2023-02-13T07:37:08.880Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T07:37:08.887Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-13T07:37:09.243Z] + git rev-list -1 --merges d5e58b77efcbf82879c3b9259be6f9314f98ed83~1..d5e58b77efcbf82879c3b9259be6f9314f98ed83 [Pipeline] echo [2023-02-13T07:37:09.287Z] -----------> git rev-list -1 --merges d5e58b77efcbf82879c3b9259be6f9314f98ed83~1..d5e58b77efcbf82879c3b9259be6f9314f98ed83 d5e58b77efcbf82879c3b9259be6f9314f98ed83 [2023-02-13T07:37:09.287Z] d5e58b77efcbf82879c3b9259be6f9314f98ed83 [false] [Pipeline] sh [2023-02-13T07:37:09.581Z] + git log --format=format:%s -1 d5e58b77efcbf82879c3b9259be6f9314f98ed83 [Pipeline] echo [2023-02-13T07:37:09.595Z] ========================================================= [2023-02-13T07:37:09.595Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-13T07:37:09.595Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T07:37:09.916Z] + git log --format=format:%s -1 d5e58b77efcbf82879c3b9259be6f9314f98ed83 [Pipeline] echo [2023-02-13T07:37:09.949Z] [semverPrep] GIT_COMMIT: d5e58b77efcbf82879c3b9259be6f9314f98ed83, Commit Message: Merge pull request #411 from jinlinGuan/edgex-go-issue-4273 [Pipeline] echo [2023-02-13T07:37:09.961Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-13T07:37:10.338Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-13T07:37:10.338Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-13T07:37:10.338Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-13T07:37:10.338Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-13T07:37:10.338Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-13T07:37:10.338Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-13T07:37:10.338Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:37:10.749Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T07:37:10.750Z] [2023-02-13T07:37:10.750Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:37:11.062Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T07:37:11.062Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-13T07:37:11.062Z] b85a868b505f: Pulling fs layer [2023-02-13T07:37:11.062Z] e2be974225ed: Pulling fs layer [2023-02-13T07:37:11.062Z] 339a4e72a1f5: Pulling fs layer [2023-02-13T07:37:11.062Z] 988bab9f4d93: Pulling fs layer [2023-02-13T07:37:11.062Z] 1469e6f7b9e6: Pulling fs layer [2023-02-13T07:37:11.062Z] eaf3925da568: Pulling fs layer [2023-02-13T07:37:11.062Z] bab4dde63d76: Pulling fs layer [2023-02-13T07:37:11.062Z] bde34c3a00c8: Pulling fs layer [2023-02-13T07:37:11.062Z] b352a97aabf1: Pulling fs layer [2023-02-13T07:37:11.062Z] 4872d77fe225: Pulling fs layer [2023-02-13T07:37:11.062Z] 5851b861e8e6: Pulling fs layer [2023-02-13T07:37:11.062Z] eaf3925da568: Waiting [2023-02-13T07:37:11.062Z] bab4dde63d76: Waiting [2023-02-13T07:37:11.062Z] bde34c3a00c8: Waiting [2023-02-13T07:37:11.062Z] b352a97aabf1: Waiting [2023-02-13T07:37:11.062Z] 4872d77fe225: Waiting [2023-02-13T07:37:11.062Z] 5851b861e8e6: Waiting [2023-02-13T07:37:11.062Z] 988bab9f4d93: Waiting [2023-02-13T07:37:11.062Z] 1469e6f7b9e6: Waiting [2023-02-13T07:37:11.062Z] e2be974225ed: Verifying Checksum [2023-02-13T07:37:11.062Z] e2be974225ed: Download complete [2023-02-13T07:37:11.062Z] 988bab9f4d93: Download complete [2023-02-13T07:37:11.340Z] 1469e6f7b9e6: Verifying Checksum [2023-02-13T07:37:11.340Z] 1469e6f7b9e6: Download complete [2023-02-13T07:37:11.340Z] eaf3925da568: Download complete [2023-02-13T07:37:11.611Z] 339a4e72a1f5: Verifying Checksum [2023-02-13T07:37:11.611Z] 339a4e72a1f5: Download complete [2023-02-13T07:37:11.611Z] bde34c3a00c8: Verifying Checksum [2023-02-13T07:37:11.611Z] bde34c3a00c8: Download complete [2023-02-13T07:37:11.611Z] b352a97aabf1: Download complete [2023-02-13T07:37:11.611Z] 4872d77fe225: Download complete [2023-02-13T07:37:11.611Z] 5851b861e8e6: Download complete [2023-02-13T07:37:11.876Z] b85a868b505f: Verifying Checksum [2023-02-13T07:37:11.876Z] b85a868b505f: Download complete [2023-02-13T07:37:12.138Z] bab4dde63d76: Verifying Checksum [2023-02-13T07:37:12.138Z] bab4dde63d76: Download complete [2023-02-13T07:37:13.076Z] b85a868b505f: Pull complete [2023-02-13T07:37:13.076Z] e2be974225ed: Pull complete [2023-02-13T07:37:13.336Z] 339a4e72a1f5: Pull complete [2023-02-13T07:37:13.596Z] 988bab9f4d93: Pull complete [2023-02-13T07:37:13.596Z] 1469e6f7b9e6: Pull complete [2023-02-13T07:37:13.855Z] eaf3925da568: Pull complete [2023-02-13T07:37:15.229Z] bab4dde63d76: Pull complete [2023-02-13T07:37:15.230Z] bde34c3a00c8: Pull complete [2023-02-13T07:37:15.488Z] b352a97aabf1: Pull complete [2023-02-13T07:37:15.488Z] 4872d77fe225: Pull complete [2023-02-13T07:37:15.488Z] 5851b861e8e6: Pull complete [2023-02-13T07:37:15.488Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-13T07:37:15.488Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T07:37:15.488Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:37:15.834Z] prd-ubuntu20.04-docker-8c-8g-5503 does not seem to be running inside a container [2023-02-13T07:37:15.869Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-13T07:37:18.319Z] $ docker top 9a674285e06b0b2bbf4e70496a09587a3e811a75d963c84af02de81c28e022fa -eo pid,comm [2023-02-13T07:37:18.369Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-13T07:37:18.369Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-13T07:37:18.407Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T07:37:18.407Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T07:37:18.516Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T07:37:18.521Z] $ docker exec 9a674285e06b0b2bbf4e70496a09587a3e811a75d963c84af02de81c28e022fa ssh-agent [2023-02-13T07:37:18.635Z] SSH_AUTH_SOCK=/tmp/ssh-chwRJRICw2oI/agent.33 [2023-02-13T07:37:18.635Z] SSH_AGENT_PID=39 [2023-02-13T07:37:18.643Z] Running ssh-add (command line suppressed) [2023-02-13T07:37:18.747Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7758841619268713540.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7758841619268713540.key) [2023-02-13T07:37:18.758Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T07:37:19.047Z] + git tag --points-at HEAD [Pipeline] } [2023-02-13T07:37:19.068Z] $ docker exec --env ******** --env ******** 9a674285e06b0b2bbf4e70496a09587a3e811a75d963c84af02de81c28e022fa ssh-agent -k [2023-02-13T07:37:19.164Z] unset SSH_AUTH_SOCK; [2023-02-13T07:37:19.165Z] unset SSH_AGENT_PID; [2023-02-13T07:37:19.165Z] echo Agent pid 39 killed; [2023-02-13T07:37:19.173Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-13T07:37:19.200Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T07:37:19.200Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T07:37:19.318Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T07:37:19.322Z] $ docker exec 9a674285e06b0b2bbf4e70496a09587a3e811a75d963c84af02de81c28e022fa ssh-agent [2023-02-13T07:37:19.418Z] SSH_AUTH_SOCK=/tmp/ssh-oOZxTloFBOXO/agent.71 [2023-02-13T07:37:19.418Z] SSH_AGENT_PID=77 [2023-02-13T07:37:19.423Z] Running ssh-add (command line suppressed) [2023-02-13T07:37:19.521Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3053297853228908870.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3053297853228908870.key) [2023-02-13T07:37:19.532Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T07:37:19.826Z] + git semver init [2023-02-13T07:37:20.085Z] 2023-02-13 07:37:19,975 [run_init] DEBUG init version:0.0.0 force:False [2023-02-13T07:37:20.085Z] 2023-02-13 07:37:19,976 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-02-13T07:37:20.085Z] 2023-02-13 07:37:19,976 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-02-13T07:37:20.085Z] 2023-02-13 07:37:19,977 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-02-13T07:37:21.024Z] 2023-02-13 07:37:20,927 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-02-13T07:37:21.024Z] 2023-02-13 07:37:20,928 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-02-13T07:37:21.024Z] 2023-02-13 07:37:20,928 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-13T07:37:21.024Z] 2023-02-13 07:37:20,928 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-13T07:37:21.024Z] 3.0.0-dev.9 [Pipeline] } [2023-02-13T07:37:21.037Z] $ docker exec --env ******** --env ******** 9a674285e06b0b2bbf4e70496a09587a3e811a75d963c84af02de81c28e022fa ssh-agent -k [2023-02-13T07:37:21.132Z] unset SSH_AUTH_SOCK; [2023-02-13T07:37:21.133Z] unset SSH_AGENT_PID; [2023-02-13T07:37:21.133Z] echo Agent pid 77 killed; [2023-02-13T07:37:21.147Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-13T07:37:21.471Z] + git semver [Pipeline] } [2023-02-13T07:37:21.747Z] $ docker stop --time=1 9a674285e06b0b2bbf4e70496a09587a3e811a75d963c84af02de81c28e022fa [2023-02-13T07:37:23.083Z] $ docker rm -f --volumes 9a674285e06b0b2bbf4e70496a09587a3e811a75d963c84af02de81c28e022fa [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T07:37:23.422Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-13T07:37:23.625Z] Stashed 1 file(s) [Pipeline] echo [2023-02-13T07:37:23.628Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.9 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T07:37:23.785Z] provisioning config files... [2023-02-13T07:37:23.793Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1017666344323700228tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:37:24.086Z] ---> docker-login.sh [2023-02-13T07:37:24.086Z] nexus3.edgexfoundry.org:10001 [2023-02-13T07:37:24.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:37:24.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:37:24.086Z] Configure a credential helper to remove this warning. See [2023-02-13T07:37:24.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:37:24.086Z] [2023-02-13T07:37:24.086Z] Login Succeeded [2023-02-13T07:37:24.086Z] nexus3.edgexfoundry.org:10002 [2023-02-13T07:37:24.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:37:24.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:37:24.344Z] Configure a credential helper to remove this warning. See [2023-02-13T07:37:24.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:37:24.344Z] [2023-02-13T07:37:24.344Z] Login Succeeded [2023-02-13T07:37:24.344Z] nexus3.edgexfoundry.org:10003 [2023-02-13T07:37:24.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:37:24.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:37:24.344Z] Configure a credential helper to remove this warning. See [2023-02-13T07:37:24.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:37:24.344Z] [2023-02-13T07:37:24.344Z] Login Succeeded [2023-02-13T07:37:24.344Z] nexus3.edgexfoundry.org:10004 [2023-02-13T07:37:24.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:37:24.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:37:24.344Z] Configure a credential helper to remove this warning. See [2023-02-13T07:37:24.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:37:24.344Z] [2023-02-13T07:37:24.344Z] Login Succeeded [2023-02-13T07:37:24.344Z] docker.io [2023-02-13T07:37:24.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:37:24.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:37:24.603Z] Configure a credential helper to remove this warning. See [2023-02-13T07:37:24.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:37:24.603Z] [2023-02-13T07:37:24.603Z] Login Succeeded [2023-02-13T07:37:24.603Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T07:37:24.610Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-13T07:37:24.665Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T07:37:24.680Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T07:37:24.687Z] ========================================================= [2023-02-13T07:37:24.687Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-13T07:37:24.687Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:37:25.008Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-13T07:37:25.008Z] Sending build context to Docker daemon 6.341MB [2023-02-13T07:37:25.008Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T07:37:25.008Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-13T07:37:25.278Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-13T07:37:25.278Z] 213ec9aee27d: Pulling fs layer [2023-02-13T07:37:25.278Z] 4583459ba037: Pulling fs layer [2023-02-13T07:37:25.278Z] 93c1e223e6f2: Pulling fs layer [2023-02-13T07:37:25.278Z] 53926ce57604: Pulling fs layer [2023-02-13T07:37:25.278Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-13T07:37:25.278Z] 22ff95d597cd: Pulling fs layer [2023-02-13T07:37:25.278Z] 12d6caf4c0d1: Pulling fs layer [2023-02-13T07:37:25.278Z] 96b7cbca73a9: Pulling fs layer [2023-02-13T07:37:25.278Z] a7acece74701: Pulling fs layer [2023-02-13T07:37:25.278Z] 53926ce57604: Waiting [2023-02-13T07:37:25.278Z] 21b2b0c7a3f4: Waiting [2023-02-13T07:37:25.278Z] 22ff95d597cd: Waiting [2023-02-13T07:37:25.278Z] 96b7cbca73a9: Waiting [2023-02-13T07:37:25.278Z] 12d6caf4c0d1: Waiting [2023-02-13T07:37:25.278Z] a7acece74701: Waiting [2023-02-13T07:37:25.278Z] 93c1e223e6f2: Verifying Checksum [2023-02-13T07:37:25.278Z] 93c1e223e6f2: Download complete [2023-02-13T07:37:25.278Z] 4583459ba037: Download complete [2023-02-13T07:37:25.278Z] 21b2b0c7a3f4: Download complete [2023-02-13T07:37:25.278Z] 22ff95d597cd: Verifying Checksum [2023-02-13T07:37:25.278Z] 22ff95d597cd: Download complete [2023-02-13T07:37:25.278Z] 213ec9aee27d: Verifying Checksum [2023-02-13T07:37:25.278Z] 213ec9aee27d: Download complete [2023-02-13T07:37:25.278Z] 12d6caf4c0d1: Download complete [2023-02-13T07:37:25.551Z] 213ec9aee27d: Pull complete [2023-02-13T07:37:25.811Z] 4583459ba037: Pull complete [2023-02-13T07:37:25.811Z] 93c1e223e6f2: Pull complete [2023-02-13T07:37:26.082Z] a7acece74701: Download complete [2023-02-13T07:37:26.348Z] 53926ce57604: Verifying Checksum [2023-02-13T07:37:26.348Z] 53926ce57604: Download complete [2023-02-13T07:37:26.606Z] 96b7cbca73a9: Verifying Checksum [2023-02-13T07:37:26.606Z] 96b7cbca73a9: Download complete [2023-02-13T07:37:29.992Z] 53926ce57604: Pull complete [2023-02-13T07:37:29.992Z] 21b2b0c7a3f4: Pull complete [2023-02-13T07:37:29.992Z] 22ff95d597cd: Pull complete [2023-02-13T07:37:30.254Z] 12d6caf4c0d1: Pull complete [2023-02-13T07:37:32.157Z] 96b7cbca73a9: Pull complete [2023-02-13T07:37:32.723Z] a7acece74701: Pull complete [2023-02-13T07:37:32.723Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-13T07:37:32.723Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-13T07:37:32.723Z] ---> db6d94c90886 [2023-02-13T07:37:32.723Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-02-13T07:37:36.927Z] ---> Running in 9213016e5cce [2023-02-13T07:37:36.927Z] Removing intermediate container 9213016e5cce [2023-02-13T07:37:36.927Z] ---> b8d278e46697 [2023-02-13T07:37:36.927Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T07:37:36.927Z] ---> Running in 5c06dba90740 [2023-02-13T07:37:36.927Z] Removing intermediate container 5c06dba90740 [2023-02-13T07:37:36.927Z] ---> 714ef8b0b69f [2023-02-13T07:37:36.927Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-02-13T07:37:36.927Z] ---> Running in 4818cbedf737 [2023-02-13T07:37:36.927Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T07:37:37.187Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T07:37:37.446Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-02-13T07:37:37.446Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-02-13T07:37:37.446Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-02-13T07:37:37.446Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-02-13T07:37:37.446Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-02-13T07:37:37.446Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-02-13T07:37:37.446Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-02-13T07:37:37.446Z] (8/8) Installing openssh (9.0_p1-r2) [2023-02-13T07:37:37.446Z] Executing busybox-1.35.0-r17.trigger [2023-02-13T07:37:37.446Z] OK: 217 MiB in 59 packages [2023-02-13T07:37:38.015Z] Removing intermediate container 4818cbedf737 [2023-02-13T07:37:38.015Z] ---> 7ccd1ba924d4 [2023-02-13T07:37:38.015Z] Step 6/10 : WORKDIR /device-modbus-go [2023-02-13T07:37:38.015Z] ---> Running in de3a7d2d1f80 [2023-02-13T07:37:38.015Z] Removing intermediate container de3a7d2d1f80 [2023-02-13T07:37:38.015Z] ---> 1e09ddea21b1 [2023-02-13T07:37:38.015Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-13T07:37:38.015Z] ---> 91735010e288 [2023-02-13T07:37:38.015Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T07:37:38.274Z] ---> Running in afcf5bf5f1e5 [2023-02-13T07:37:38.738Z] Still waiting to schedule task [2023-02-13T07:37:38.738Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-13T07:38:04.834Z] Removing intermediate container afcf5bf5f1e5 [2023-02-13T07:38:04.834Z] ---> f940730719b1 [2023-02-13T07:38:04.834Z] Step 9/10 : COPY . . [2023-02-13T07:38:04.834Z] ---> a81db120776f [2023-02-13T07:38:04.834Z] Step 10/10 : RUN ${MAKE} [2023-02-13T07:38:04.834Z] ---> Running in 08698ffa2699 [2023-02-13T07:38:04.834Z] noop [2023-02-13T07:38:04.834Z] Removing intermediate container 08698ffa2699 [2023-02-13T07:38:04.834Z] ---> dcad9bf05415 [2023-02-13T07:38:04.834Z] Successfully built dcad9bf05415 [2023-02-13T07:38:04.834Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:38:05.139Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-13T07:38:05.139Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:38:05.204Z] prd-ubuntu20.04-docker-8c-8g-5503 does not seem to be running inside a container [2023-02-13T07:38:05.231Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-13T07:38:05.571Z] $ docker top ce8150e77a0cc13ec364aa58e0d18b386f01089a995b1cf600908247f1616c69 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T07:38:05.918Z] + go version [2023-02-13T07:38:05.918Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-13T07:38:05.929Z] $ docker stop --time=1 ce8150e77a0cc13ec364aa58e0d18b386f01089a995b1cf600908247f1616c69 [2023-02-13T07:38:07.216Z] $ docker rm -f --volumes ce8150e77a0cc13ec364aa58e0d18b386f01089a995b1cf600908247f1616c69 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:38:07.618Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-13T07:38:07.618Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:38:07.696Z] prd-ubuntu20.04-docker-8c-8g-5503 does not seem to be running inside a container [2023-02-13T07:38:07.725Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-13T07:38:08.052Z] $ docker top 42f8de3d14685e3ccf1138cc16ba438fa22d8296a33179975c33a56f6c18a06c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T07:38:08.387Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-02-13T07:38:08.684Z] + make test [2023-02-13T07:38:08.684Z] go test ./... -coverprofile=coverage.out [2023-02-13T07:38:08.942Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-02-13T07:38:18.912Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-02-13T07:38:18.912Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 47.7% of statements [2023-02-13T07:38:23.095Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-13T07:38:23.095Z] go vet ./... [2023-02-13T07:38:26.376Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-13T07:38:26.376Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-13T07:38:26.376Z] ./bin/test-attribution-txt.sh [2023-02-13T07:38:26.376Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-13T07:38:26.376Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-13T07:38:26.388Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-13T07:38:26.400Z] $ docker stop --time=1 42f8de3d14685e3ccf1138cc16ba438fa22d8296a33179975c33a56f6c18a06c [2023-02-13T07:38:29.319Z] $ docker rm -f --volumes 42f8de3d14685e3ccf1138cc16ba438fa22d8296a33179975c33a56f6c18a06c [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T07:38:29.738Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-13T07:38:29.784Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-13T07:38:30.424Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-13T07:38:30.714Z] + ls -al . [2023-02-13T07:38:30.714Z] total 184 [2023-02-13T07:38:30.714Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 13 07:38 . [2023-02-13T07:38:30.714Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 07:37 .. [2023-02-13T07:38:30.714Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 13 07:37 .dockerignore [2023-02-13T07:38:30.714Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 07:38 .git [2023-02-13T07:38:30.714Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:37 .github [2023-02-13T07:38:30.714Z] -rw-rw-r-- 1 jenkins jenkins 331 Feb 13 07:37 .gitignore [2023-02-13T07:38:30.714Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 13 07:37 .golangci.yml [2023-02-13T07:38:30.715Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 07:37 .semver [2023-02-13T07:38:30.715Z] -rw-rw-r-- 1 jenkins jenkins 10017 Feb 13 07:37 Attribution.txt [2023-02-13T07:38:30.715Z] -rw-rw-r-- 1 jenkins jenkins 11576 Feb 13 07:37 CHANGELOG.md [2023-02-13T07:38:30.715Z] -rw-rw-r-- 1 jenkins jenkins 1365 Feb 13 07:37 Dockerfile [2023-02-13T07:38:30.715Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 07:37 GOVERNANCE.md [2023-02-13T07:38:30.715Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 13 07:37 Jenkinsfile [2023-02-13T07:38:30.715Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 13 07:37 LICENSE [2023-02-13T07:38:30.715Z] -rw-rw-r-- 1 jenkins jenkins 1670 Feb 13 07:37 Makefile [2023-02-13T07:38:30.715Z] -rw-rw-r-- 1 jenkins jenkins 622 Feb 13 07:37 OWNERS.md [2023-02-13T07:38:30.715Z] -rw-rw-r-- 1 jenkins jenkins 4061 Feb 13 07:37 README.md [2023-02-13T07:38:30.715Z] -rw-rw-r-- 1 jenkins jenkins 11 Feb 13 07:37 VERSION [2023-02-13T07:38:30.715Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 07:37 bin [2023-02-13T07:38:30.715Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:37 cmd [2023-02-13T07:38:30.715Z] -rw-r--r-- 1 jenkins jenkins 23241 Feb 13 07:38 coverage.out [2023-02-13T07:38:30.715Z] -rw-rw-r-- 1 jenkins jenkins 3496 Feb 13 07:37 go.mod [2023-02-13T07:38:30.715Z] -rw-rw-r-- 1 jenkins jenkins 33621 Feb 13 07:37 go.sum [2023-02-13T07:38:30.715Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:37 internal [2023-02-13T07:38:30.715Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 07:37 simulator [2023-02-13T07:38:30.715Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 07:37 snap [2023-02-13T07:38:30.715Z] -rw-rw-r-- 1 jenkins jenkins 229 Feb 13 07:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:38:31.038Z] + 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=d5e58b77efcbf82879c3b9259be6f9314f98ed83 --label arch=amd64 --label version=3.0.0-dev.9 . [2023-02-13T07:38:31.038Z] Sending build context to Docker daemon 6.365MB [2023-02-13T07:38:31.038Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T07:38:31.038Z] Step 2/22 : FROM ${BASE} AS builder [2023-02-13T07:38:31.038Z] ---> dcad9bf05415 [2023-02-13T07:38:31.038Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-02-13T07:38:31.298Z] ---> Running in ba11fc55b341 [2023-02-13T07:38:31.298Z] Removing intermediate container ba11fc55b341 [2023-02-13T07:38:31.298Z] ---> 65af1465c851 [2023-02-13T07:38:31.298Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T07:38:31.298Z] ---> Running in 4ca3cf62a42f [2023-02-13T07:38:31.298Z] Removing intermediate container 4ca3cf62a42f [2023-02-13T07:38:31.298Z] ---> 0691a45699fe [2023-02-13T07:38:31.298Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-02-13T07:38:31.298Z] ---> Running in ea30053302e8 [2023-02-13T07:38:31.556Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T07:38:31.815Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T07:38:32.074Z] OK: 217 MiB in 59 packages [2023-02-13T07:38:32.334Z] Removing intermediate container ea30053302e8 [2023-02-13T07:38:32.334Z] ---> 6ae083d1abfd [2023-02-13T07:38:32.334Z] Step 6/22 : WORKDIR /device-modbus-go [2023-02-13T07:38:32.334Z] ---> Running in 8c82532fc5de [2023-02-13T07:38:32.592Z] Removing intermediate container 8c82532fc5de [2023-02-13T07:38:32.592Z] ---> ea8a95b2d956 [2023-02-13T07:38:32.592Z] Step 7/22 : COPY go.mod vendor* ./ [2023-02-13T07:38:32.592Z] ---> 937065dbae5e [2023-02-13T07:38:32.592Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T07:38:32.592Z] ---> Running in 1c26fdfe6c2d [2023-02-13T07:38:33.691Z] Removing intermediate container 1c26fdfe6c2d [2023-02-13T07:38:33.691Z] ---> 9a84c1eeae70 [2023-02-13T07:38:33.691Z] Step 9/22 : COPY . . [2023-02-13T07:38:33.950Z] ---> f210e56def6a [2023-02-13T07:38:33.950Z] Step 10/22 : RUN ${MAKE} [2023-02-13T07:38:33.950Z] ---> Running in 252633dadbee [2023-02-13T07:38:34.210Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.9" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-02-13T07:38:56.164Z] Removing intermediate container 252633dadbee [2023-02-13T07:38:56.164Z] ---> 36f0ef17da42 [2023-02-13T07:38:56.164Z] Step 11/22 : FROM alpine:3.14 [2023-02-13T07:38:56.164Z] 3.14: Pulling from library/alpine [2023-02-13T07:38:56.164Z] d261077062b2: Pulling fs layer [2023-02-13T07:38:56.164Z] d261077062b2: Verifying Checksum [2023-02-13T07:38:56.164Z] d261077062b2: Download complete [2023-02-13T07:38:56.164Z] d261077062b2: Pull complete [2023-02-13T07:38:56.164Z] Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 [2023-02-13T07:38:56.164Z] Status: Downloaded newer image for alpine:3.14 [2023-02-13T07:38:56.164Z] ---> 6dff1269bc79 [2023-02-13T07:38:56.164Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-02-13T07:38:56.164Z] ---> Running in 920c3aec17ad [2023-02-13T07:38:56.164Z] Removing intermediate container 920c3aec17ad [2023-02-13T07:38:56.164Z] ---> 142a1dd952a4 [2023-02-13T07:38:56.164Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-02-13T07:38:56.164Z] ---> Running in 8011141ea547 [2023-02-13T07:38:56.164Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2023-02-13T07:38:56.164Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2023-02-13T07:38:56.164Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-13T07:38:56.164Z] Executing busybox-1.33.1-r8.trigger [2023-02-13T07:38:56.164Z] OK: 6 MiB in 15 packages [2023-02-13T07:38:56.164Z] Removing intermediate container 8011141ea547 [2023-02-13T07:38:56.164Z] ---> 03444d127ed4 [2023-02-13T07:38:56.164Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-02-13T07:38:56.164Z] ---> dee051621660 [2023-02-13T07:38:56.164Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-02-13T07:38:56.164Z] ---> 4632fdc7c32b [2023-02-13T07:38:56.164Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-02-13T07:38:56.164Z] ---> fa708d13cbc3 [2023-02-13T07:38:56.164Z] Step 17/22 : EXPOSE 59901 [2023-02-13T07:38:56.164Z] ---> Running in 477040547b15 [2023-02-13T07:38:56.164Z] Removing intermediate container 477040547b15 [2023-02-13T07:38:56.164Z] ---> cc8d53d5a451 [2023-02-13T07:38:56.164Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-02-13T07:38:56.164Z] ---> Running in 2636ae970606 [2023-02-13T07:38:56.164Z] Removing intermediate container 2636ae970606 [2023-02-13T07:38:56.164Z] ---> 721c0ba57b53 [2023-02-13T07:38:56.164Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-13T07:38:56.442Z] ---> Running in da9b76ebffc5 [2023-02-13T07:38:56.442Z] Removing intermediate container da9b76ebffc5 [2023-02-13T07:38:56.442Z] ---> 465a0c8d3a64 [2023-02-13T07:38:56.442Z] Step 20/22 : LABEL arch=amd64 [2023-02-13T07:38:56.442Z] ---> Running in 0f8c246cc7bc [2023-02-13T07:38:56.442Z] Removing intermediate container 0f8c246cc7bc [2023-02-13T07:38:56.442Z] ---> 688e7e6499bc [2023-02-13T07:38:56.442Z] Step 21/22 : LABEL git_sha=d5e58b77efcbf82879c3b9259be6f9314f98ed83 [2023-02-13T07:38:56.442Z] ---> Running in 5049fb5c2b75 [2023-02-13T07:38:56.716Z] Removing intermediate container 5049fb5c2b75 [2023-02-13T07:38:56.716Z] ---> 33bb28ac36d1 [2023-02-13T07:38:56.716Z] Step 22/22 : LABEL version=3.0.0-dev.9 [2023-02-13T07:38:56.716Z] ---> Running in a1ea103c0745 [2023-02-13T07:38:56.716Z] Removing intermediate container a1ea103c0745 [2023-02-13T07:38:56.716Z] ---> 26dbfb6d793c [2023-02-13T07:38:56.716Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-13T07:38:56.716Z] Successfully built 26dbfb6d793c [2023-02-13T07:38:56.716Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T07:38:56.802Z] provisioning config files... [2023-02-13T07:38:56.819Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config148914450865982713tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:38:57.126Z] ---> docker-login.sh [2023-02-13T07:38:57.126Z] nexus3.edgexfoundry.org:10001 [2023-02-13T07:38:57.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:38:57.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:38:57.126Z] Configure a credential helper to remove this warning. See [2023-02-13T07:38:57.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:38:57.126Z] [2023-02-13T07:38:57.126Z] Login Succeeded [2023-02-13T07:38:57.126Z] nexus3.edgexfoundry.org:10002 [2023-02-13T07:38:57.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:38:57.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:38:57.126Z] Configure a credential helper to remove this warning. See [2023-02-13T07:38:57.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:38:57.126Z] [2023-02-13T07:38:57.126Z] Login Succeeded [2023-02-13T07:38:57.126Z] nexus3.edgexfoundry.org:10003 [2023-02-13T07:38:57.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:38:57.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:38:57.386Z] Configure a credential helper to remove this warning. See [2023-02-13T07:38:57.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:38:57.386Z] [2023-02-13T07:38:57.386Z] Login Succeeded [2023-02-13T07:38:57.386Z] nexus3.edgexfoundry.org:10004 [2023-02-13T07:38:57.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:38:57.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:38:57.386Z] Configure a credential helper to remove this warning. See [2023-02-13T07:38:57.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:38:57.386Z] [2023-02-13T07:38:57.386Z] Login Succeeded [2023-02-13T07:38:57.386Z] docker.io [2023-02-13T07:38:57.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:38:57.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:38:57.646Z] Configure a credential helper to remove this warning. See [2023-02-13T07:38:57.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:38:57.646Z] [2023-02-13T07:38:57.646Z] Login Succeeded [2023-02-13T07:38:57.646Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T07:38:57.654Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-13T07:38:57.691Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T07:38:57.709Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-02-13T07:38:57.709Z] d5e58b77efcbf82879c3b9259be6f9314f98ed83 [2023-02-13T07:38:57.709Z] latest [2023-02-13T07:38:57.709Z] 3.0.0-dev.9 [2023-02-13T07:38:57.709Z] d5e58b77efcbf82879c3b9259be6f9314f98ed83-3.0.0-dev.9 [2023-02-13T07:38:57.709Z] main [2023-02-13T07:38:57.709Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:38:58.016Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:d5e58b77efcbf82879c3b9259be6f9314f98ed83 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:38:58.323Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:d5e58b77efcbf82879c3b9259be6f9314f98ed83 [2023-02-13T07:38:58.323Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-02-13T07:38:58.323Z] 6764a4f79456: Preparing [2023-02-13T07:38:58.323Z] e5b122292ad1: Preparing [2023-02-13T07:38:58.323Z] b99f34a8a12a: Preparing [2023-02-13T07:38:58.324Z] 57c5552f28ee: Preparing [2023-02-13T07:38:58.324Z] 625523cb9cce: Preparing [2023-02-13T07:38:58.324Z] e5b122292ad1: Pushed [2023-02-13T07:38:58.324Z] 6764a4f79456: Pushed [2023-02-13T07:38:58.324Z] 57c5552f28ee: Pushed [2023-02-13T07:38:58.893Z] 625523cb9cce: Pushed [2023-02-13T07:39:00.803Z] b99f34a8a12a: Pushed [2023-02-13T07:39:00.803Z] d5e58b77efcbf82879c3b9259be6f9314f98ed83: digest: sha256:aa6d2daea2803f2627776d3083d0bbfcbf636f192c3c0520fa36594044a557a2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:39:01.110Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:39:01.413Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-02-13T07:39:01.413Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-02-13T07:39:01.413Z] 6764a4f79456: Preparing [2023-02-13T07:39:01.413Z] e5b122292ad1: Preparing [2023-02-13T07:39:01.413Z] b99f34a8a12a: Preparing [2023-02-13T07:39:01.413Z] 57c5552f28ee: Preparing [2023-02-13T07:39:01.413Z] 625523cb9cce: Preparing [2023-02-13T07:39:01.413Z] b99f34a8a12a: Layer already exists [2023-02-13T07:39:01.413Z] e5b122292ad1: Layer already exists [2023-02-13T07:39:01.413Z] 57c5552f28ee: Layer already exists [2023-02-13T07:39:01.413Z] 625523cb9cce: Layer already exists [2023-02-13T07:39:01.413Z] 6764a4f79456: Layer already exists [2023-02-13T07:39:01.413Z] latest: digest: sha256:aa6d2daea2803f2627776d3083d0bbfcbf636f192c3c0520fa36594044a557a2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:39:01.718Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:39:02.020Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.9 [2023-02-13T07:39:02.020Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-02-13T07:39:02.020Z] 6764a4f79456: Preparing [2023-02-13T07:39:02.020Z] e5b122292ad1: Preparing [2023-02-13T07:39:02.020Z] b99f34a8a12a: Preparing [2023-02-13T07:39:02.020Z] 57c5552f28ee: Preparing [2023-02-13T07:39:02.020Z] 625523cb9cce: Preparing [2023-02-13T07:39:02.020Z] e5b122292ad1: Layer already exists [2023-02-13T07:39:02.020Z] 57c5552f28ee: Layer already exists [2023-02-13T07:39:02.020Z] 6764a4f79456: Layer already exists [2023-02-13T07:39:02.020Z] b99f34a8a12a: Layer already exists [2023-02-13T07:39:02.020Z] 625523cb9cce: Layer already exists [2023-02-13T07:39:02.020Z] 3.0.0-dev.9: digest: sha256:aa6d2daea2803f2627776d3083d0bbfcbf636f192c3c0520fa36594044a557a2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:39:02.337Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:d5e58b77efcbf82879c3b9259be6f9314f98ed83-3.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:39:02.641Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:d5e58b77efcbf82879c3b9259be6f9314f98ed83-3.0.0-dev.9 [2023-02-13T07:39:02.641Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-02-13T07:39:02.641Z] 6764a4f79456: Preparing [2023-02-13T07:39:02.641Z] e5b122292ad1: Preparing [2023-02-13T07:39:02.641Z] b99f34a8a12a: Preparing [2023-02-13T07:39:02.641Z] 57c5552f28ee: Preparing [2023-02-13T07:39:02.641Z] 625523cb9cce: Preparing [2023-02-13T07:39:02.641Z] 625523cb9cce: Layer already exists [2023-02-13T07:39:02.641Z] 57c5552f28ee: Layer already exists [2023-02-13T07:39:02.641Z] b99f34a8a12a: Layer already exists [2023-02-13T07:39:02.641Z] e5b122292ad1: Layer already exists [2023-02-13T07:39:02.641Z] 6764a4f79456: Layer already exists [2023-02-13T07:39:02.641Z] d5e58b77efcbf82879c3b9259be6f9314f98ed83-3.0.0-dev.9: digest: sha256:aa6d2daea2803f2627776d3083d0bbfcbf636f192c3c0520fa36594044a557a2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:39:02.955Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:39:03.269Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-02-13T07:39:03.269Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-02-13T07:39:03.269Z] 6764a4f79456: Preparing [2023-02-13T07:39:03.269Z] e5b122292ad1: Preparing [2023-02-13T07:39:03.269Z] b99f34a8a12a: Preparing [2023-02-13T07:39:03.269Z] 57c5552f28ee: Preparing [2023-02-13T07:39:03.269Z] 625523cb9cce: Preparing [2023-02-13T07:39:03.269Z] 625523cb9cce: Layer already exists [2023-02-13T07:39:03.269Z] e5b122292ad1: Layer already exists [2023-02-13T07:39:03.269Z] 57c5552f28ee: Layer already exists [2023-02-13T07:39:03.269Z] b99f34a8a12a: Layer already exists [2023-02-13T07:39:03.269Z] 6764a4f79456: Layer already exists [2023-02-13T07:39:03.269Z] main: digest: sha256:aa6d2daea2803f2627776d3083d0bbfcbf636f192c3c0520fa36594044a557a2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-13T07:39:03.304Z] ===================================================== [Pipeline] echo [2023-02-13T07:39:03.310Z] taggedImages: [2023-02-13T07:39:03.310Z] - nexus3.edgexfoundry.org:10004/device-modbus:d5e58b77efcbf82879c3b9259be6f9314f98ed83 [2023-02-13T07:39:03.310Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-02-13T07:39:03.310Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.9 [2023-02-13T07:39:03.310Z] - nexus3.edgexfoundry.org:10004/device-modbus:d5e58b77efcbf82879c3b9259be6f9314f98ed83-3.0.0-dev.9 [2023-02-13T07:39:03.310Z] - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:39:03.681Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T07:39:03.681Z] [2023-02-13T07:39:03.681Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:39:03.984Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T07:39:03.984Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-13T07:39:03.984Z] 5eb5b503b376: Pulling fs layer [2023-02-13T07:39:03.984Z] 5c69ac0246d0: Pulling fs layer [2023-02-13T07:39:03.984Z] ec43610c2a17: Pulling fs layer [2023-02-13T07:39:03.984Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-13T07:39:03.984Z] 33b1e0a273af: Pulling fs layer [2023-02-13T07:39:03.984Z] 5d3b04190fa2: Pulling fs layer [2023-02-13T07:39:03.984Z] 2f39f015ded8: Pulling fs layer [2023-02-13T07:39:03.984Z] 33b1e0a273af: Waiting [2023-02-13T07:39:03.984Z] 5d3b04190fa2: Waiting [2023-02-13T07:39:03.984Z] 2f39f015ded8: Waiting [2023-02-13T07:39:03.984Z] 3a2ae6a8a46f: Waiting [2023-02-13T07:39:03.984Z] 5c69ac0246d0: Verifying Checksum [2023-02-13T07:39:03.984Z] 5c69ac0246d0: Download complete [2023-02-13T07:39:03.984Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-13T07:39:03.984Z] 3a2ae6a8a46f: Download complete [2023-02-13T07:39:04.246Z] 33b1e0a273af: Verifying Checksum [2023-02-13T07:39:04.247Z] 33b1e0a273af: Download complete [2023-02-13T07:39:04.247Z] 5d3b04190fa2: Verifying Checksum [2023-02-13T07:39:04.247Z] 5d3b04190fa2: Download complete [2023-02-13T07:39:04.247Z] ec43610c2a17: Verifying Checksum [2023-02-13T07:39:04.247Z] ec43610c2a17: Download complete [2023-02-13T07:39:04.509Z] 5eb5b503b376: Verifying Checksum [2023-02-13T07:39:04.509Z] 5eb5b503b376: Download complete [2023-02-13T07:39:05.095Z] 2f39f015ded8: Download complete [2023-02-13T07:39:05.660Z] 5eb5b503b376: Pull complete [2023-02-13T07:39:05.660Z] 5c69ac0246d0: Pull complete [2023-02-13T07:39:06.229Z] ec43610c2a17: Pull complete [2023-02-13T07:39:06.229Z] 3a2ae6a8a46f: Pull complete [2023-02-13T07:39:06.229Z] 33b1e0a273af: Pull complete [2023-02-13T07:39:06.487Z] 5d3b04190fa2: Pull complete [2023-02-13T07:39:10.668Z] 2f39f015ded8: Pull complete [2023-02-13T07:39:10.668Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-13T07:39:10.668Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T07:39:10.668Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:39:10.747Z] prd-ubuntu20.04-docker-8c-8g-5503 does not seem to be running inside a container [2023-02-13T07:39:10.774Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-13T07:39:13.341Z] $ docker top 68216ff9404717a917cf84c7c0695b16fb3a20deab5fd75fdbd8fdaacdfac7b6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:39:13.729Z] ---> job-cost.sh [2023-02-13T07:39:13.729Z] lf-activate-venv: SKIPPING [2023-02-13T07:39:13.729Z] INFO: No Stack... [2023-02-13T07:39:19.008Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-13T07:39:19.008Z] INFO: Archiving Costs [Pipeline] sh [2023-02-13T07:39:19.303Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-02-13T07:39:19.303Z] + cut -d, -f6 [Pipeline] lock [2023-02-13T07:39:19.318Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-75-stack-cost] [2023-02-13T07:39:19.324Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-75-stack-cost] did not exist. Created. [2023-02-13T07:39:19.324Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-75-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-13T07:39:19.629Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-13T07:39:19.665Z] Stashed 1 file(s) [Pipeline] } [2023-02-13T07:39:19.675Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-75-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-13T07:39:19.694Z] $ docker stop --time=1 68216ff9404717a917cf84c7c0695b16fb3a20deab5fd75fdbd8fdaacdfac7b6 [2023-02-13T07:39:20.850Z] $ docker rm -f --volumes 68216ff9404717a917cf84c7c0695b16fb3a20deab5fd75fdbd8fdaacdfac7b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-13T07:41:05.177Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5505 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-02-13T07:41:05.189Z] Running in /w/workspace/device-modbus-go/75 [Pipeline] { [Pipeline] checkout [2023-02-13T07:41:05.218Z] Selected Git installation does not exist. Using Default [2023-02-13T07:41:05.218Z] The recommended git tool is: NONE [2023-02-13T07:41:10.480Z] using credential edgex-jenkins-ssh [2023-02-13T07:41:10.503Z] Cloning the remote Git repository [2023-02-13T07:41:10.550Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-02-13T07:41:10.624Z] > git init /w/workspace/device-modbus-go/75 # timeout=10 [2023-02-13T07:41:10.780Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-02-13T07:41:10.781Z] > git --version # timeout=10 [2023-02-13T07:41:10.801Z] > git --version # 'git version 2.25.1' [2023-02-13T07:41:10.803Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T07:41:10.861Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-13T07:41:12.056Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-02-13T07:41:12.093Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-13T07:41:12.949Z] Avoid second fetch [2023-02-13T07:41:12.950Z] Checking out Revision d5e58b77efcbf82879c3b9259be6f9314f98ed83 (main) [2023-02-13T07:41:13.543Z] Commit message: "Merge pull request #411 from jinlinGuan/edgex-go-issue-4273" [2023-02-13T07:41:12.972Z] > git config core.sparsecheckout # timeout=10 [2023-02-13T07:41:12.996Z] > git checkout -f d5e58b77efcbf82879c3b9259be6f9314f98ed83 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T07:41:14.607Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-13T07:41:14.607Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-13T07:41:14.607Z] Dload Upload Total Spent Left Speed [2023-02-13T07:41:14.607Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh [2023-02-13T07:41:15.180Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-13T07:41:15.517Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-13T07:41:15.517Z] + sudo tee /etc/docker/daemon.new [2023-02-13T07:41:15.517Z] { [2023-02-13T07:41:15.517Z] "registry-mirrors": [ [2023-02-13T07:41:15.517Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-13T07:41:15.517Z] ], [2023-02-13T07:41:15.517Z] "bip": "10.250.0.254/24", [2023-02-13T07:41:15.517Z] "hosts": [ [2023-02-13T07:41:15.517Z] "tcp://0.0.0.0:5555", [2023-02-13T07:41:15.517Z] "unix:///var/run/docker.sock" [2023-02-13T07:41:15.517Z] ], [2023-02-13T07:41:15.517Z] "mtu": 1458, [2023-02-13T07:41:15.517Z] "selinux-enabled": true, [2023-02-13T07:41:15.517Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-13T07:41:15.517Z] } [Pipeline] sh [2023-02-13T07:41:15.865Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-13T07:41:16.213Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T07:41:34.515Z] provisioning config files... [2023-02-13T07:41:34.548Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/75@tmp/config15250773166840909603tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:41:34.923Z] ---> docker-login.sh [2023-02-13T07:41:34.923Z] nexus3.edgexfoundry.org:10001 [2023-02-13T07:41:35.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:41:35.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:41:35.515Z] Configure a credential helper to remove this warning. See [2023-02-13T07:41:35.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:41:35.515Z] [2023-02-13T07:41:35.515Z] Login Succeeded [2023-02-13T07:41:35.515Z] nexus3.edgexfoundry.org:10002 [2023-02-13T07:41:35.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:41:36.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:41:36.055Z] Configure a credential helper to remove this warning. See [2023-02-13T07:41:36.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:41:36.055Z] [2023-02-13T07:41:36.055Z] Login Succeeded [2023-02-13T07:41:36.055Z] nexus3.edgexfoundry.org:10003 [2023-02-13T07:41:36.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:41:36.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:41:36.326Z] Configure a credential helper to remove this warning. See [2023-02-13T07:41:36.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:41:36.326Z] [2023-02-13T07:41:36.326Z] Login Succeeded [2023-02-13T07:41:36.326Z] nexus3.edgexfoundry.org:10004 [2023-02-13T07:41:36.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:41:36.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:41:36.599Z] Configure a credential helper to remove this warning. See [2023-02-13T07:41:36.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:41:36.599Z] [2023-02-13T07:41:36.599Z] Login Succeeded [2023-02-13T07:41:36.599Z] docker.io [2023-02-13T07:41:36.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:41:37.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:41:37.141Z] Configure a credential helper to remove this warning. See [2023-02-13T07:41:37.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:41:37.141Z] [2023-02-13T07:41:37.141Z] Login Succeeded [2023-02-13T07:41:37.141Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T07:41:37.156Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-13T07:41:37.422Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T07:41:37.439Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T07:41:37.453Z] ========================================================= [2023-02-13T07:41:37.453Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-13T07:41:37.453Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:41:37.821Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-13T07:41:38.090Z] Sending build context to Docker daemon 3.302MB [2023-02-13T07:41:38.090Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T07:41:38.090Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-13T07:41:39.513Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-13T07:41:39.513Z] 9b18e9b68314: Pulling fs layer [2023-02-13T07:41:39.513Z] 35d82f9e3411: Pulling fs layer [2023-02-13T07:41:39.513Z] e16973657156: Pulling fs layer [2023-02-13T07:41:39.513Z] fc693d55d65f: Pulling fs layer [2023-02-13T07:41:39.513Z] 7e9fc2657dce: Pulling fs layer [2023-02-13T07:41:39.513Z] dda99020689f: Pulling fs layer [2023-02-13T07:41:39.513Z] db1c61fa0a46: Pulling fs layer [2023-02-13T07:41:39.513Z] 891c053d2c06: Pulling fs layer [2023-02-13T07:41:39.513Z] dda99020689f: Waiting [2023-02-13T07:41:39.513Z] db1c61fa0a46: Waiting [2023-02-13T07:41:39.513Z] 891c053d2c06: Waiting [2023-02-13T07:41:39.513Z] fc693d55d65f: Waiting [2023-02-13T07:41:39.513Z] 7e9fc2657dce: Waiting [2023-02-13T07:41:39.513Z] e16973657156: Download complete [2023-02-13T07:41:39.513Z] 35d82f9e3411: Download complete [2023-02-13T07:41:39.513Z] 7e9fc2657dce: Verifying Checksum [2023-02-13T07:41:39.513Z] 7e9fc2657dce: Download complete [2023-02-13T07:41:39.785Z] dda99020689f: Verifying Checksum [2023-02-13T07:41:39.785Z] dda99020689f: Download complete [2023-02-13T07:41:39.785Z] 9b18e9b68314: Download complete [2023-02-13T07:41:40.381Z] 9b18e9b68314: Pull complete [2023-02-13T07:41:40.986Z] 891c053d2c06: Verifying Checksum [2023-02-13T07:41:40.986Z] 891c053d2c06: Download complete [2023-02-13T07:41:40.986Z] 35d82f9e3411: Pull complete [2023-02-13T07:41:41.257Z] e16973657156: Pull complete [2023-02-13T07:41:41.842Z] db1c61fa0a46: Verifying Checksum [2023-02-13T07:41:41.842Z] db1c61fa0a46: Download complete [2023-02-13T07:41:42.426Z] fc693d55d65f: Download complete [2023-02-13T07:41:54.773Z] fc693d55d65f: Pull complete [2023-02-13T07:41:54.773Z] 7e9fc2657dce: Pull complete [2023-02-13T07:41:54.773Z] dda99020689f: Pull complete [2023-02-13T07:41:58.129Z] db1c61fa0a46: Pull complete [2023-02-13T07:42:00.085Z] 891c053d2c06: Pull complete [2023-02-13T07:42:00.085Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-13T07:42:00.085Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-13T07:42:00.085Z] ---> f96f9c87975a [2023-02-13T07:42:00.085Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-02-13T07:42:02.032Z] ---> Running in 3acc0141b506 [2023-02-13T07:42:02.299Z] Removing intermediate container 3acc0141b506 [2023-02-13T07:42:02.299Z] ---> 962a25cfda11 [2023-02-13T07:42:02.299Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T07:42:02.299Z] ---> Running in 50478cb9af6e [2023-02-13T07:42:02.565Z] Removing intermediate container 50478cb9af6e [2023-02-13T07:42:02.565Z] ---> 61bb7c54961e [2023-02-13T07:42:02.565Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-02-13T07:42:02.838Z] ---> Running in 89ae7ead99a7 [2023-02-13T07:42:03.799Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T07:42:04.066Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T07:42:05.029Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-02-13T07:42:05.029Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-02-13T07:42:05.029Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-02-13T07:42:05.297Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-02-13T07:42:05.297Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-02-13T07:42:05.297Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-02-13T07:42:05.297Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-02-13T07:42:05.297Z] (8/8) Installing openssh (9.0_p1-r2) [2023-02-13T07:42:05.297Z] Executing busybox-1.35.0-r17.trigger [2023-02-13T07:42:05.297Z] OK: 228 MiB in 59 packages [2023-02-13T07:42:06.258Z] Removing intermediate container 89ae7ead99a7 [2023-02-13T07:42:06.258Z] ---> d327443b60cc [2023-02-13T07:42:06.258Z] Step 6/10 : WORKDIR /device-modbus-go [2023-02-13T07:42:06.258Z] ---> Running in b8eea90d393e [2023-02-13T07:42:06.528Z] Removing intermediate container b8eea90d393e [2023-02-13T07:42:06.528Z] ---> fb8ab4216025 [2023-02-13T07:42:06.528Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-13T07:42:07.115Z] ---> 1ae898d4194b [2023-02-13T07:42:07.115Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T07:42:07.115Z] ---> Running in bfe808eb8016 [2023-02-13T07:43:03.689Z] Removing intermediate container bfe808eb8016 [2023-02-13T07:43:03.689Z] ---> 824823f581b5 [2023-02-13T07:43:03.689Z] Step 9/10 : COPY . . [2023-02-13T07:43:03.689Z] ---> fb79f086c012 [2023-02-13T07:43:03.689Z] Step 10/10 : RUN ${MAKE} [2023-02-13T07:43:03.689Z] ---> Running in cdb7a5419bca [2023-02-13T07:43:03.689Z] noop [2023-02-13T07:43:03.957Z] Removing intermediate container cdb7a5419bca [2023-02-13T07:43:03.957Z] ---> cd52c3c2d9cb [2023-02-13T07:43:03.957Z] Successfully built cd52c3c2d9cb [2023-02-13T07:43:03.957Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:43:04.300Z] + docker inspect -f . ci-base-image-arm64 [2023-02-13T07:43:04.300Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:43:04.479Z] prd-ubuntu20.04-docker-arm64-4c-16g-5505 does not seem to be running inside a container [2023-02-13T07:43:04.541Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/75 -v /w/workspace/device-modbus-go/75:/w/workspace/device-modbus-go/75:rw,z -v /w/workspace/device-modbus-go/75@tmp:/w/workspace/device-modbus-go/75@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-13T07:43:05.595Z] $ docker top 44391c14005a6f72d08ebffa3a9da8e9ba6528a977de7066329df4b317e3578d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T07:43:06.397Z] + go version [2023-02-13T07:43:06.397Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-13T07:43:06.414Z] $ docker stop --time=1 44391c14005a6f72d08ebffa3a9da8e9ba6528a977de7066329df4b317e3578d [2023-02-13T07:43:07.994Z] $ docker rm -f --volumes 44391c14005a6f72d08ebffa3a9da8e9ba6528a977de7066329df4b317e3578d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:43:08.525Z] + docker inspect -f . ci-base-image-arm64 [2023-02-13T07:43:08.525Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:43:08.693Z] prd-ubuntu20.04-docker-arm64-4c-16g-5505 does not seem to be running inside a container [2023-02-13T07:43:08.755Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/75 -v /w/workspace/device-modbus-go/75:/w/workspace/device-modbus-go/75:rw,z -v /w/workspace/device-modbus-go/75@tmp:/w/workspace/device-modbus-go/75@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-13T07:43:09.802Z] $ docker top 51f85f33257cc92ef52b14acfa01f7a167f13d4457527f2a28b7408fde0ed402 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T07:43:10.292Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/75 [Pipeline] fileExists [Pipeline] sh [2023-02-13T07:43:10.951Z] + make test [2023-02-13T07:43:10.951Z] go test ./... -coverprofile=coverage.out [2023-02-13T07:43:12.359Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-02-13T07:44:34.030Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-02-13T07:44:34.030Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.063s coverage: 47.7% of statements [2023-02-13T07:44:34.030Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-13T07:44:34.030Z] go vet ./... [2023-02-13T07:44:56.122Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-13T07:44:56.122Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-13T07:44:56.122Z] ./bin/test-attribution-txt.sh [2023-02-13T07:44:56.122Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-13T07:44:56.122Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-13T07:44:56.141Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-13T07:44:56.155Z] $ docker stop --time=1 51f85f33257cc92ef52b14acfa01f7a167f13d4457527f2a28b7408fde0ed402 [2023-02-13T07:44:57.883Z] $ docker rm -f --volumes 51f85f33257cc92ef52b14acfa01f7a167f13d4457527f2a28b7408fde0ed402 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T07:44:58.812Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-13T07:44:58.833Z] Warning: overwriting stash ‘coverage-report’ [2023-02-13T07:44:59.260Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T07:44:59.623Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-13T07:44:59.946Z] + ls -al . [2023-02-13T07:44:59.946Z] total 180 [2023-02-13T07:44:59.946Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 13 07:43 . [2023-02-13T07:44:59.946Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 07:41 .. [2023-02-13T07:44:59.946Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 13 07:41 .dockerignore [2023-02-13T07:44:59.946Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 07:41 .git [2023-02-13T07:44:59.946Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:41 .github [2023-02-13T07:44:59.946Z] -rw-rw-r-- 1 jenkins jenkins 331 Feb 13 07:41 .gitignore [2023-02-13T07:44:59.946Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 13 07:41 .golangci.yml [2023-02-13T07:44:59.946Z] -rw-rw-r-- 1 jenkins jenkins 10017 Feb 13 07:41 Attribution.txt [2023-02-13T07:44:59.946Z] -rw-rw-r-- 1 jenkins jenkins 11576 Feb 13 07:41 CHANGELOG.md [2023-02-13T07:44:59.946Z] -rw-rw-r-- 1 jenkins jenkins 1365 Feb 13 07:41 Dockerfile [2023-02-13T07:44:59.946Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 07:41 GOVERNANCE.md [2023-02-13T07:44:59.946Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 13 07:41 Jenkinsfile [2023-02-13T07:44:59.946Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 13 07:41 LICENSE [2023-02-13T07:44:59.946Z] -rw-rw-r-- 1 jenkins jenkins 1670 Feb 13 07:41 Makefile [2023-02-13T07:44:59.946Z] -rw-rw-r-- 1 jenkins jenkins 622 Feb 13 07:41 OWNERS.md [2023-02-13T07:44:59.946Z] -rw-rw-r-- 1 jenkins jenkins 4061 Feb 13 07:41 README.md [2023-02-13T07:44:59.946Z] -rw-rw-r-- 1 jenkins jenkins 11 Feb 13 07:37 VERSION [2023-02-13T07:44:59.946Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 07:41 bin [2023-02-13T07:44:59.946Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:41 cmd [2023-02-13T07:44:59.946Z] -rw-r--r-- 1 jenkins jenkins 23241 Feb 13 07:44 coverage.out [2023-02-13T07:44:59.946Z] -rw-rw-r-- 1 jenkins jenkins 3496 Feb 13 07:41 go.mod [2023-02-13T07:44:59.946Z] -rw-rw-r-- 1 jenkins jenkins 33621 Feb 13 07:41 go.sum [2023-02-13T07:44:59.946Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:41 internal [2023-02-13T07:44:59.946Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 07:41 simulator [2023-02-13T07:44:59.946Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 07:41 snap [2023-02-13T07:44:59.946Z] -rw-rw-r-- 1 jenkins jenkins 229 Feb 13 07:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:45:00.284Z] + 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=d5e58b77efcbf82879c3b9259be6f9314f98ed83 --label arch=arm64 --label version=3.0.0-dev.9 . [2023-02-13T07:45:00.561Z] Sending build context to Docker daemon 3.326MB [2023-02-13T07:45:00.561Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T07:45:00.561Z] Step 2/22 : FROM ${BASE} AS builder [2023-02-13T07:45:00.561Z] ---> cd52c3c2d9cb [2023-02-13T07:45:00.561Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-02-13T07:45:00.561Z] ---> Running in f8013fae0df4 [2023-02-13T07:45:01.151Z] Removing intermediate container f8013fae0df4 [2023-02-13T07:45:01.151Z] ---> e2a728b3d9ce [2023-02-13T07:45:01.151Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T07:45:01.151Z] ---> Running in 25d28a0790ae [2023-02-13T07:45:01.420Z] Removing intermediate container 25d28a0790ae [2023-02-13T07:45:01.420Z] ---> 33e1f8e0bf73 [2023-02-13T07:45:01.420Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-02-13T07:45:01.420Z] ---> Running in c0d7ca831211 [2023-02-13T07:45:02.382Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T07:45:02.649Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T07:45:03.614Z] OK: 228 MiB in 59 packages [2023-02-13T07:45:04.588Z] Removing intermediate container c0d7ca831211 [2023-02-13T07:45:04.588Z] ---> 4f2eef4e2e39 [2023-02-13T07:45:04.588Z] Step 6/22 : WORKDIR /device-modbus-go [2023-02-13T07:45:04.858Z] ---> Running in 8002e2fcc895 [2023-02-13T07:45:05.125Z] Removing intermediate container 8002e2fcc895 [2023-02-13T07:45:05.125Z] ---> ae0efe4a17c1 [2023-02-13T07:45:05.125Z] Step 7/22 : COPY go.mod vendor* ./ [2023-02-13T07:45:05.717Z] ---> 9f8ba43ac86a [2023-02-13T07:45:05.717Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T07:45:05.717Z] ---> Running in 7d7eda0e5594 [2023-02-13T07:45:08.301Z] Removing intermediate container 7d7eda0e5594 [2023-02-13T07:45:08.301Z] ---> 93300d97b9e3 [2023-02-13T07:45:08.301Z] Step 9/22 : COPY . . [2023-02-13T07:45:08.889Z] ---> 6cdc1a735d57 [2023-02-13T07:45:08.889Z] Step 10/22 : RUN ${MAKE} [2023-02-13T07:45:08.889Z] ---> Running in 7d2e4897072e [2023-02-13T07:45:09.852Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.9" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-02-13T07:47:31.605Z] Removing intermediate container 7d2e4897072e [2023-02-13T07:47:31.605Z] ---> 6216964a36b2 [2023-02-13T07:47:31.605Z] Step 11/22 : FROM alpine:3.14 [2023-02-13T07:47:31.605Z] 3.14: Pulling from library/alpine [2023-02-13T07:47:31.605Z] 6f0e733d82e2: Pulling fs layer [2023-02-13T07:47:31.605Z] 6f0e733d82e2: Verifying Checksum [2023-02-13T07:47:31.605Z] 6f0e733d82e2: Download complete [2023-02-13T07:47:32.334Z] 6f0e733d82e2: Pull complete [2023-02-13T07:47:32.334Z] Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 [2023-02-13T07:47:32.334Z] Status: Downloaded newer image for alpine:3.14 [2023-02-13T07:47:32.334Z] ---> bf97f6347a60 [2023-02-13T07:47:32.334Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-02-13T07:47:32.334Z] ---> Running in 18ff65267cd5 [2023-02-13T07:47:32.603Z] Removing intermediate container 18ff65267cd5 [2023-02-13T07:47:32.603Z] ---> 1d59779e8043 [2023-02-13T07:47:32.603Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-02-13T07:47:32.603Z] ---> Running in 94ea865f24c9 [2023-02-13T07:47:33.565Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2023-02-13T07:47:33.832Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2023-02-13T07:47:34.816Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-13T07:47:34.816Z] Executing busybox-1.33.1-r8.trigger [2023-02-13T07:47:34.816Z] OK: 6 MiB in 15 packages [2023-02-13T07:47:37.409Z] Removing intermediate container 94ea865f24c9 [2023-02-13T07:47:37.409Z] ---> de29f5acc39f [2023-02-13T07:47:37.409Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-02-13T07:47:40.010Z] ---> 4e2419d1275d [2023-02-13T07:47:40.010Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-02-13T07:47:40.010Z] ---> e37ca160fbc2 [2023-02-13T07:47:40.010Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-02-13T07:47:40.598Z] ---> db9461e23ee2 [2023-02-13T07:47:40.598Z] Step 17/22 : EXPOSE 59901 [2023-02-13T07:47:40.598Z] ---> Running in 21eea7ecf13f [2023-02-13T07:47:40.869Z] Removing intermediate container 21eea7ecf13f [2023-02-13T07:47:40.869Z] ---> 15d2fe72a8c1 [2023-02-13T07:47:40.869Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-02-13T07:47:41.138Z] ---> Running in f4ff8482bac4 [2023-02-13T07:47:41.407Z] Removing intermediate container f4ff8482bac4 [2023-02-13T07:47:41.407Z] ---> 7731c1d5af68 [2023-02-13T07:47:41.407Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-13T07:47:41.407Z] ---> Running in a823d1f22f7c [2023-02-13T07:47:41.677Z] Removing intermediate container a823d1f22f7c [2023-02-13T07:47:41.677Z] ---> a7b25a11f0d3 [2023-02-13T07:47:41.677Z] Step 20/22 : LABEL arch=arm64 [2023-02-13T07:47:41.677Z] ---> Running in adc21cac2569 [2023-02-13T07:47:42.267Z] Removing intermediate container adc21cac2569 [2023-02-13T07:47:42.267Z] ---> 31d12b5ab460 [2023-02-13T07:47:42.267Z] Step 21/22 : LABEL git_sha=d5e58b77efcbf82879c3b9259be6f9314f98ed83 [2023-02-13T07:47:42.267Z] ---> Running in 38d39afed3df [2023-02-13T07:47:42.537Z] Removing intermediate container 38d39afed3df [2023-02-13T07:47:42.537Z] ---> 84fe42783460 [2023-02-13T07:47:42.537Z] Step 22/22 : LABEL version=3.0.0-dev.9 [2023-02-13T07:47:42.537Z] ---> Running in 417f919085e5 [2023-02-13T07:47:42.805Z] Removing intermediate container 417f919085e5 [2023-02-13T07:47:42.805Z] ---> 22d4d680fca2 [2023-02-13T07:47:42.805Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-13T07:47:42.805Z] Successfully built 22d4d680fca2 [2023-02-13T07:47:42.805Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T07:47:42.911Z] provisioning config files... [2023-02-13T07:47:42.926Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/75@tmp/config10399109978951208004tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:47:43.267Z] ---> docker-login.sh [2023-02-13T07:47:43.267Z] nexus3.edgexfoundry.org:10001 [2023-02-13T07:47:43.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:47:43.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:47:43.535Z] Configure a credential helper to remove this warning. See [2023-02-13T07:47:43.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:47:43.535Z] [2023-02-13T07:47:43.535Z] Login Succeeded [2023-02-13T07:47:43.535Z] nexus3.edgexfoundry.org:10002 [2023-02-13T07:47:43.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:47:43.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:47:43.804Z] Configure a credential helper to remove this warning. See [2023-02-13T07:47:43.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:47:43.804Z] [2023-02-13T07:47:43.804Z] Login Succeeded [2023-02-13T07:47:43.804Z] nexus3.edgexfoundry.org:10003 [2023-02-13T07:47:44.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:47:44.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:47:44.341Z] Configure a credential helper to remove this warning. See [2023-02-13T07:47:44.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:47:44.342Z] [2023-02-13T07:47:44.342Z] Login Succeeded [2023-02-13T07:47:44.342Z] nexus3.edgexfoundry.org:10004 [2023-02-13T07:47:44.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:47:44.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:47:44.611Z] Configure a credential helper to remove this warning. See [2023-02-13T07:47:44.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:47:44.611Z] [2023-02-13T07:47:44.611Z] Login Succeeded [2023-02-13T07:47:44.611Z] docker.io [2023-02-13T07:47:44.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:47:45.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:47:45.147Z] Configure a credential helper to remove this warning. See [2023-02-13T07:47:45.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:47:45.147Z] [2023-02-13T07:47:45.147Z] Login Succeeded [2023-02-13T07:47:45.147Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T07:47:45.159Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-13T07:47:45.183Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T07:47:45.204Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-02-13T07:47:45.204Z] d5e58b77efcbf82879c3b9259be6f9314f98ed83 [2023-02-13T07:47:45.204Z] latest [2023-02-13T07:47:45.204Z] 3.0.0-dev.9 [2023-02-13T07:47:45.204Z] d5e58b77efcbf82879c3b9259be6f9314f98ed83-3.0.0-dev.9 [2023-02-13T07:47:45.204Z] main [2023-02-13T07:47:45.204Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:47:45.539Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:d5e58b77efcbf82879c3b9259be6f9314f98ed83 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:47:45.881Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:d5e58b77efcbf82879c3b9259be6f9314f98ed83 [2023-02-13T07:47:45.881Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-02-13T07:47:45.881Z] b40137c27612: Preparing [2023-02-13T07:47:45.881Z] 2e91405b6078: Preparing [2023-02-13T07:47:45.881Z] 3611250b6bfd: Preparing [2023-02-13T07:47:45.881Z] dd9ca1f3229b: Preparing [2023-02-13T07:47:45.881Z] c39af2d4cb8d: Preparing [2023-02-13T07:47:46.150Z] 2e91405b6078: Pushed [2023-02-13T07:47:46.150Z] b40137c27612: Pushed [2023-02-13T07:47:46.150Z] dd9ca1f3229b: Pushed [2023-02-13T07:47:47.555Z] c39af2d4cb8d: Pushed [2023-02-13T07:47:51.817Z] 3611250b6bfd: Pushed [2023-02-13T07:47:51.817Z] d5e58b77efcbf82879c3b9259be6f9314f98ed83: digest: sha256:54997702fe523d169bda4defebdecdae21c7276992110a9ff2b149be586543e0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:47:52.165Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:47:52.516Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-02-13T07:47:52.516Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-02-13T07:47:52.516Z] b40137c27612: Preparing [2023-02-13T07:47:52.517Z] 2e91405b6078: Preparing [2023-02-13T07:47:52.517Z] 3611250b6bfd: Preparing [2023-02-13T07:47:52.517Z] dd9ca1f3229b: Preparing [2023-02-13T07:47:52.517Z] c39af2d4cb8d: Preparing [2023-02-13T07:47:52.517Z] dd9ca1f3229b: Layer already exists [2023-02-13T07:47:52.517Z] b40137c27612: Layer already exists [2023-02-13T07:47:52.517Z] c39af2d4cb8d: Layer already exists [2023-02-13T07:47:52.517Z] 2e91405b6078: Layer already exists [2023-02-13T07:47:52.517Z] 3611250b6bfd: Layer already exists [2023-02-13T07:47:52.781Z] latest: digest: sha256:54997702fe523d169bda4defebdecdae21c7276992110a9ff2b149be586543e0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:47:53.120Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:47:53.524Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.9 [2023-02-13T07:47:53.525Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-02-13T07:47:53.525Z] b40137c27612: Preparing [2023-02-13T07:47:53.525Z] 2e91405b6078: Preparing [2023-02-13T07:47:53.525Z] 3611250b6bfd: Preparing [2023-02-13T07:47:53.525Z] dd9ca1f3229b: Preparing [2023-02-13T07:47:53.525Z] c39af2d4cb8d: Preparing [2023-02-13T07:47:53.525Z] b40137c27612: Layer already exists [2023-02-13T07:47:53.525Z] c39af2d4cb8d: Layer already exists [2023-02-13T07:47:53.525Z] 2e91405b6078: Layer already exists [2023-02-13T07:47:53.525Z] dd9ca1f3229b: Layer already exists [2023-02-13T07:47:53.525Z] 3611250b6bfd: Layer already exists [2023-02-13T07:47:53.525Z] 3.0.0-dev.9: digest: sha256:54997702fe523d169bda4defebdecdae21c7276992110a9ff2b149be586543e0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:47:53.886Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:d5e58b77efcbf82879c3b9259be6f9314f98ed83-3.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:47:54.248Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:d5e58b77efcbf82879c3b9259be6f9314f98ed83-3.0.0-dev.9 [2023-02-13T07:47:54.248Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-02-13T07:47:54.248Z] b40137c27612: Preparing [2023-02-13T07:47:54.248Z] 2e91405b6078: Preparing [2023-02-13T07:47:54.248Z] 3611250b6bfd: Preparing [2023-02-13T07:47:54.248Z] dd9ca1f3229b: Preparing [2023-02-13T07:47:54.248Z] c39af2d4cb8d: Preparing [2023-02-13T07:47:54.248Z] 2e91405b6078: Layer already exists [2023-02-13T07:47:54.248Z] 3611250b6bfd: Layer already exists [2023-02-13T07:47:54.248Z] b40137c27612: Layer already exists [2023-02-13T07:47:54.248Z] c39af2d4cb8d: Layer already exists [2023-02-13T07:47:54.248Z] dd9ca1f3229b: Layer already exists [2023-02-13T07:47:54.248Z] d5e58b77efcbf82879c3b9259be6f9314f98ed83-3.0.0-dev.9: digest: sha256:54997702fe523d169bda4defebdecdae21c7276992110a9ff2b149be586543e0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:47:54.620Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:47:54.989Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-02-13T07:47:54.989Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-02-13T07:47:54.989Z] b40137c27612: Preparing [2023-02-13T07:47:54.989Z] 2e91405b6078: Preparing [2023-02-13T07:47:54.989Z] 3611250b6bfd: Preparing [2023-02-13T07:47:54.989Z] dd9ca1f3229b: Preparing [2023-02-13T07:47:54.989Z] c39af2d4cb8d: Preparing [2023-02-13T07:47:54.989Z] c39af2d4cb8d: Layer already exists [2023-02-13T07:47:54.989Z] b40137c27612: Layer already exists [2023-02-13T07:47:54.989Z] dd9ca1f3229b: Layer already exists [2023-02-13T07:47:54.989Z] 3611250b6bfd: Layer already exists [2023-02-13T07:47:54.989Z] 2e91405b6078: Layer already exists [2023-02-13T07:47:54.989Z] main: digest: sha256:54997702fe523d169bda4defebdecdae21c7276992110a9ff2b149be586543e0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-13T07:47:55.323Z] ===================================================== [Pipeline] echo [2023-02-13T07:47:55.332Z] taggedImages: [2023-02-13T07:47:55.332Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:d5e58b77efcbf82879c3b9259be6f9314f98ed83 [2023-02-13T07:47:55.332Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-02-13T07:47:55.332Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.9 [2023-02-13T07:47:55.332Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:d5e58b77efcbf82879c3b9259be6f9314f98ed83-3.0.0-dev.9 [2023-02-13T07:47:55.332Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:47:55.710Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T07:47:55.710Z] [2023-02-13T07:47:55.710Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:47:56.049Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T07:47:56.049Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-13T07:47:56.049Z] 8998bd30e6a1: Pulling fs layer [2023-02-13T07:47:56.049Z] 04944245beec: Pulling fs layer [2023-02-13T07:47:56.049Z] 699f458cf7ca: Pulling fs layer [2023-02-13T07:47:56.049Z] 765212b225bb: Pulling fs layer [2023-02-13T07:47:56.049Z] f23df028b6ca: Pulling fs layer [2023-02-13T07:47:56.049Z] d65c8cfc05b1: Pulling fs layer [2023-02-13T07:47:56.049Z] 2437ff75d9bd: Pulling fs layer [2023-02-13T07:47:56.049Z] 765212b225bb: Waiting [2023-02-13T07:47:56.049Z] f23df028b6ca: Waiting [2023-02-13T07:47:56.049Z] 2437ff75d9bd: Waiting [2023-02-13T07:47:56.049Z] d65c8cfc05b1: Waiting [2023-02-13T07:47:56.318Z] 04944245beec: Verifying Checksum [2023-02-13T07:47:56.318Z] 04944245beec: Download complete [2023-02-13T07:47:56.318Z] 765212b225bb: Verifying Checksum [2023-02-13T07:47:56.318Z] 765212b225bb: Download complete [2023-02-13T07:47:56.318Z] f23df028b6ca: Verifying Checksum [2023-02-13T07:47:56.318Z] f23df028b6ca: Download complete [2023-02-13T07:47:56.318Z] d65c8cfc05b1: Verifying Checksum [2023-02-13T07:47:56.318Z] d65c8cfc05b1: Download complete [2023-02-13T07:47:56.588Z] 699f458cf7ca: Verifying Checksum [2023-02-13T07:47:56.588Z] 699f458cf7ca: Download complete [2023-02-13T07:47:56.855Z] 8998bd30e6a1: Verifying Checksum [2023-02-13T07:47:56.855Z] 8998bd30e6a1: Download complete [2023-02-13T07:47:59.433Z] 2437ff75d9bd: Verifying Checksum [2023-02-13T07:47:59.433Z] 2437ff75d9bd: Download complete [2023-02-13T07:48:00.845Z] 8998bd30e6a1: Pull complete [2023-02-13T07:48:01.113Z] 04944245beec: Pull complete [2023-02-13T07:48:04.454Z] 699f458cf7ca: Pull complete [2023-02-13T07:48:04.455Z] 765212b225bb: Pull complete [2023-02-13T07:48:05.037Z] f23df028b6ca: Pull complete [2023-02-13T07:48:05.303Z] d65c8cfc05b1: Pull complete [2023-02-13T07:48:20.282Z] 2437ff75d9bd: Pull complete [2023-02-13T07:48:20.282Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-13T07:48:20.282Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T07:48:20.282Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:48:20.468Z] prd-ubuntu20.04-docker-arm64-4c-16g-5505 does not seem to be running inside a container [2023-02-13T07:48:20.528Z] $ 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/75 -v /w/workspace/device-modbus-go/75:/w/workspace/device-modbus-go/75:rw,z -v /w/workspace/device-modbus-go/75@tmp:/w/workspace/device-modbus-go/75@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-13T07:48:23.046Z] $ docker top 7c06e6de0e49f0b6fceaeb69aa80251c3c496e180839ae6379d289007dac3c74 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:48:23.872Z] ---> job-cost.sh [2023-02-13T07:48:23.872Z] lf-activate-venv: SKIPPING [2023-02-13T07:48:23.872Z] INFO: No Stack... [2023-02-13T07:48:24.137Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-13T07:48:25.092Z] INFO: Archiving Costs [Pipeline] sh [2023-02-13T07:48:25.413Z] + cat /w/workspace/device-modbus-go/75/archives/cost.csv [2023-02-13T07:48:25.413Z] + cut -d, -f6 [Pipeline] lock [2023-02-13T07:48:25.473Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-75-stack-cost] [2023-02-13T07:48:25.484Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-75-stack-cost] did not exist. Created. [2023-02-13T07:48:25.484Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-75-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-13T07:48:26.135Z] /w/workspace/device-modbus-go/75@tmp/durable-81d1e67d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-13T07:48:26.459Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-13T07:48:26.478Z] Warning: overwriting stash ‘stack-cost’ [2023-02-13T07:48:26.526Z] Stashed 1 file(s) [Pipeline] } [2023-02-13T07:48:26.533Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-75-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-13T07:48:26.548Z] $ docker stop --time=1 7c06e6de0e49f0b6fceaeb69aa80251c3c496e180839ae6379d289007dac3c74 [2023-02-13T07:48:27.990Z] $ docker rm -f --volumes 7c06e6de0e49f0b6fceaeb69aa80251c3c496e180839ae6379d289007dac3c74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-13T07:48:28.431Z] provisioning config files... [2023-02-13T07:48:28.439Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7795700288060464501tmp [Pipeline] { [Pipeline] sh [2023-02-13T07:48:28.729Z] + set +x [2023-02-13T07:48:28.729Z] + curl -s https://codecov.io/bash [2023-02-13T07:48:28.729Z] + bash -s -- [2023-02-13T07:48:28.729Z] [2023-02-13T07:48:28.729Z] _____ _ [2023-02-13T07:48:28.729Z] / ____| | | [2023-02-13T07:48:28.729Z] | | ___ __| | ___ ___ _____ __ [2023-02-13T07:48:28.729Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-13T07:48:28.729Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-13T07:48:28.729Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-13T07:48:28.729Z] Bash-1.0.6 [2023-02-13T07:48:28.729Z] [2023-02-13T07:48:28.729Z] [2023-02-13T07:48:28.729Z] ==> git version 2.25.1 found [2023-02-13T07:48:28.729Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-13T07:48:28.729Z] Release-Date: 2020-01-08 [2023-02-13T07:48:28.729Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-13T07:48:28.729Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-13T07:48:28.729Z] ==> Jenkins CI detected. [2023-02-13T07:48:28.729Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-02-13T07:48:28.729Z] project root: . [2023-02-13T07:48:28.729Z] --> token set from env [2023-02-13T07:48:28.729Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-13T07:48:28.729Z] ==> Running gcov in . (disable via -X gcov) [2023-02-13T07:48:28.729Z] ==> Python coveragepy not found [2023-02-13T07:48:28.729Z] ==> Searching for coverage reports in: [2023-02-13T07:48:28.729Z] + . [2023-02-13T07:48:28.729Z] -> Found 1 reports [2023-02-13T07:48:28.729Z] ==> Detecting git/mercurial file structure [2023-02-13T07:48:28.729Z] ==> Reading reports [2023-02-13T07:48:28.729Z] + ./coverage.out bytes=23241 [2023-02-13T07:48:28.729Z] ==> Appending adjustments [2023-02-13T07:48:28.729Z] https://docs.codecov.io/docs/fixing-reports [2023-02-13T07:48:28.992Z] + Found adjustments [2023-02-13T07:48:28.992Z] ==> Gzipping contents [2023-02-13T07:48:28.992Z] 4.0K /tmp/codecov.Do18bl.gz [2023-02-13T07:48:28.992Z] ==> Uploading reports [2023-02-13T07:48:28.992Z] url: https://codecov.io [2023-02-13T07:48:28.992Z] query: branch=main&commit=d5e58b77efcbf82879c3b9259be6f9314f98ed83&build=75&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F75%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-13T07:48:28.992Z] -> Pinging Codecov [2023-02-13T07:48:28.992Z] 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=d5e58b77efcbf82879c3b9259be6f9314f98ed83&build=75&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F75%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-13T07:48:29.250Z] -> Uploading to [2023-02-13T07:48:29.250Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-13/55DBCA73C666E3227836607328DD7E49/d5e58b77efcbf82879c3b9259be6f9314f98ed83/e6c34a3e-6a20-4312-ab8e-ac52dd5e483a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230213%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230213T074829Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0b112ce1c7b28bf1bfa06c450d04d5ddffee23b840a39a2f4c5fd8f65563a442 [2023-02-13T07:48:29.250Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-13T07:48:29.250Z] Dload Upload Total Spent Left Speed [2023-02-13T07:48:29.509Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3907 0 0 100 3907 0 15026 --:--:-- --:--:-- --:--:-- 15026 [2023-02-13T07:48:29.509Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/d5e58b77efcbf82879c3b9259be6f9314f98ed83 [Pipeline] } [2023-02-13T07:48:29.517Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-02-13T07:48:29.623Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-02-13T07:48:29.632Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:48:29.929Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-13T07:48:29.929Z] [2023-02-13T07:48:29.929Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:48:30.229Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-13T07:48:30.229Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-02-13T07:48:30.229Z] df9b9388f04a: Pulling fs layer [2023-02-13T07:48:30.229Z] 52dc419b0ee2: Pulling fs layer [2023-02-13T07:48:30.229Z] 25bc292e5bac: Pulling fs layer [2023-02-13T07:48:30.229Z] 114826534d7a: Pulling fs layer [2023-02-13T07:48:30.229Z] 4657fd5d0bcf: Pulling fs layer [2023-02-13T07:48:30.229Z] 6ad1cebc031e: Pulling fs layer [2023-02-13T07:48:30.229Z] 114826534d7a: Waiting [2023-02-13T07:48:30.229Z] 8a3aa393b2d8: Pulling fs layer [2023-02-13T07:48:30.229Z] 6ad1cebc031e: Waiting [2023-02-13T07:48:30.229Z] 8a3aa393b2d8: Waiting [2023-02-13T07:48:30.229Z] 25bc292e5bac: Verifying Checksum [2023-02-13T07:48:30.229Z] 25bc292e5bac: Download complete [2023-02-13T07:48:30.229Z] 52dc419b0ee2: Verifying Checksum [2023-02-13T07:48:30.229Z] 52dc419b0ee2: Download complete [2023-02-13T07:48:30.229Z] 4657fd5d0bcf: Download complete [2023-02-13T07:48:30.229Z] df9b9388f04a: Download complete [2023-02-13T07:48:30.494Z] df9b9388f04a: Pull complete [2023-02-13T07:48:30.494Z] 52dc419b0ee2: Pull complete [2023-02-13T07:48:30.768Z] 25bc292e5bac: Pull complete [2023-02-13T07:48:30.768Z] 6ad1cebc031e: Verifying Checksum [2023-02-13T07:48:30.768Z] 6ad1cebc031e: Download complete [2023-02-13T07:48:31.766Z] 114826534d7a: Verifying Checksum [2023-02-13T07:48:31.766Z] 114826534d7a: Download complete [2023-02-13T07:48:31.766Z] 8a3aa393b2d8: Verifying Checksum [2023-02-13T07:48:31.766Z] 8a3aa393b2d8: Download complete [2023-02-13T07:48:35.056Z] 114826534d7a: Pull complete [2023-02-13T07:48:35.056Z] 4657fd5d0bcf: Pull complete [2023-02-13T07:48:35.056Z] 6ad1cebc031e: Pull complete [2023-02-13T07:48:37.603Z] 8a3aa393b2d8: Pull complete [2023-02-13T07:48:37.603Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-02-13T07:48:37.603Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-13T07:48:37.603Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:48:37.681Z] prd-ubuntu20.04-docker-8c-8g-5503 does not seem to be running inside a container [2023-02-13T07:48:37.707Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-02-13T07:48:40.734Z] $ docker top 84e50125a52236dcf8aaa5c73f0b6e29137c4096f144a1d40e935df2ea301395 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-02-13T07:48:40.799Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-02-13T07:48:41.077Z] + set -o pipefail [2023-02-13T07:48:41.077Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-02-13T07:48:45.263Z] [2023-02-13T07:48:45.263Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-02-13T07:48:45.263Z] [2023-02-13T07:48:45.263Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/35916ad3-565e-4b1d-9211-155b770d41c2 [2023-02-13T07:48:45.263Z] [2023-02-13T07:48:45.263Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-02-13T07:48:45.263Z] [2023-02-13T07:48:45.263Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-02-13T07:48:45.263Z] [2023-02-13T07:48:45.263Z] [2023-02-13T07:48:45.263Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-02-13T07:48:45.263Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-02-13T07:48:45.263Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-02-13T07:48:45.274Z] $ docker stop --time=1 84e50125a52236dcf8aaa5c73f0b6e29137c4096f144a1d40e935df2ea301395 [2023-02-13T07:48:48.901Z] $ docker rm -f --volumes 84e50125a52236dcf8aaa5c73f0b6e29137c4096f144a1d40e935df2ea301395 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-13T07:48:49.587Z] + git log --format=format:%s -1 d5e58b77efcbf82879c3b9259be6f9314f98ed83 [Pipeline] sh [2023-02-13T07:48:49.888Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-13T07:48:49.889Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:48:50.186Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T07:48:50.186Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:48:50.256Z] prd-ubuntu20.04-docker-8c-8g-5503 does not seem to be running inside a container [2023-02-13T07:48:50.285Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-13T07:48:50.707Z] $ docker top c378ca2d114de3d294c4325c841b1b90b862f8a7fa08464b5a3fe4c9570fa066 -eo pid,comm [2023-02-13T07:48:50.751Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-13T07:48:50.751Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-13T07:48:50.779Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T07:48:50.779Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T07:48:50.883Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T07:48:50.885Z] $ docker exec c378ca2d114de3d294c4325c841b1b90b862f8a7fa08464b5a3fe4c9570fa066 ssh-agent [2023-02-13T07:48:50.989Z] SSH_AUTH_SOCK=/tmp/ssh-2kYptPtxluog/agent.32 [2023-02-13T07:48:50.989Z] SSH_AGENT_PID=38 [2023-02-13T07:48:50.994Z] Running ssh-add (command line suppressed) [2023-02-13T07:48:51.096Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_18285559022578749902.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_18285559022578749902.key) [2023-02-13T07:48:51.111Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T07:48:51.397Z] + git semver tag [2023-02-13T07:48:51.656Z] 2023-02-13 07:48:51,594 [run_tag] DEBUG tag force:False [2023-02-13T07:48:51.656Z] 2023-02-13 07:48:51,594 [check_head_tag] DEBUG check head tag [2023-02-13T07:48:51.656Z] 2023-02-13 07:48:51,595 [execute] INFO git cat-file --batch-check [2023-02-13T07:48:51.656Z] 2023-02-13 07:48:51,595 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-02-13T07:48:51.656Z] 2023-02-13 07:48:51,599 [execute] INFO git cat-file --batch [2023-02-13T07:48:51.656Z] 2023-02-13 07:48:51,599 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-02-13T07:48:51.656Z] 2023-02-13 07:48:51,614 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-13T07:48:51.656Z] 2023-02-13 07:48:51,614 [execute] INFO git tag -a v3.0.0-dev.9 -m v3.0.0-dev.9 [2023-02-13T07:48:51.656Z] 2023-02-13 07:48:51,615 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.9', '-m', 'v3.0.0-dev.9'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-02-13T07:48:51.656Z] 2023-02-13 07:48:51,620 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-13T07:48:51.656Z] 3.0.0-dev.9 [Pipeline] } [2023-02-13T07:48:51.665Z] $ docker exec --env ******** --env ******** c378ca2d114de3d294c4325c841b1b90b862f8a7fa08464b5a3fe4c9570fa066 ssh-agent -k [2023-02-13T07:48:51.757Z] unset SSH_AUTH_SOCK; [2023-02-13T07:48:51.757Z] unset SSH_AGENT_PID; [2023-02-13T07:48:51.757Z] echo Agent pid 38 killed; [2023-02-13T07:48:51.773Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-13T07:48:52.065Z] + git semver [Pipeline] } [2023-02-13T07:48:52.334Z] $ docker stop --time=1 c378ca2d114de3d294c4325c841b1b90b862f8a7fa08464b5a3fe4c9570fa066 [2023-02-13T07:48:53.602Z] $ docker rm -f --volumes c378ca2d114de3d294c4325c841b1b90b862f8a7fa08464b5a3fe4c9570fa066 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:48:53.961Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-13T07:48:53.961Z] [2023-02-13T07:48:53.961Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:48:54.257Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-13T07:48:54.257Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-02-13T07:48:54.257Z] ab5ef0e58194: Pulling fs layer [2023-02-13T07:48:54.257Z] 9712f1f96733: Pulling fs layer [2023-02-13T07:48:54.257Z] 63f879dbbcfc: Pulling fs layer [2023-02-13T07:48:54.257Z] 0d9ebad4ef96: Pulling fs layer [2023-02-13T07:48:54.257Z] e9a5061849ea: Pulling fs layer [2023-02-13T07:48:54.257Z] d747dcd14b5f: Pulling fs layer [2023-02-13T07:48:54.257Z] 2de7ff778b66: Pulling fs layer [2023-02-13T07:48:54.257Z] 0d9ebad4ef96: Waiting [2023-02-13T07:48:54.257Z] d747dcd14b5f: Waiting [2023-02-13T07:48:54.257Z] 2de7ff778b66: Waiting [2023-02-13T07:48:54.257Z] e9a5061849ea: Waiting [2023-02-13T07:48:54.257Z] 9712f1f96733: Download complete [2023-02-13T07:48:55.810Z] 63f879dbbcfc: Verifying Checksum [2023-02-13T07:48:55.810Z] 63f879dbbcfc: Download complete [2023-02-13T07:48:56.091Z] 0d9ebad4ef96: Verifying Checksum [2023-02-13T07:48:56.091Z] 0d9ebad4ef96: Download complete [2023-02-13T07:48:56.091Z] e9a5061849ea: Verifying Checksum [2023-02-13T07:48:56.091Z] e9a5061849ea: Download complete [2023-02-13T07:48:56.091Z] ab5ef0e58194: Verifying Checksum [2023-02-13T07:48:56.091Z] ab5ef0e58194: Download complete [2023-02-13T07:48:56.092Z] d747dcd14b5f: Verifying Checksum [2023-02-13T07:48:56.092Z] d747dcd14b5f: Download complete [2023-02-13T07:48:56.350Z] 2de7ff778b66: Verifying Checksum [2023-02-13T07:48:56.350Z] 2de7ff778b66: Download complete [2023-02-13T07:48:58.876Z] ab5ef0e58194: Pull complete [2023-02-13T07:48:58.876Z] 9712f1f96733: Pull complete [2023-02-13T07:48:59.441Z] 63f879dbbcfc: Pull complete [2023-02-13T07:49:03.622Z] 0d9ebad4ef96: Pull complete [2023-02-13T07:49:03.622Z] e9a5061849ea: Pull complete [2023-02-13T07:49:03.622Z] d747dcd14b5f: Pull complete [2023-02-13T07:49:04.190Z] 2de7ff778b66: Pull complete [2023-02-13T07:49:04.190Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-02-13T07:49:04.190Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-13T07:49:04.190Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:49:04.262Z] prd-ubuntu20.04-docker-8c-8g-5503 does not seem to be running inside a container [2023-02-13T07:49:04.293Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-02-13T07:49:09.678Z] $ docker top e0f85a1c4cea56632ddf19e541d4f9f48fd15e737253a4e2a2a9bc9fd3c8cddb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-02-13T07:49:09.747Z] provisioning config files... [2023-02-13T07:49:09.754Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1212231842706794636tmp [2023-02-13T07:49:09.763Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4117627270446980223tmp [2023-02-13T07:49:09.772Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2153953972949600230tmp [Pipeline] { [Pipeline] echo [2023-02-13T07:49:09.786Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:49:10.067Z] ---> sigul-configuration.sh [2023-02-13T07:49:10.067Z] gpg: directory `/root/.gnupg' created [2023-02-13T07:49:10.067Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-02-13T07:49:10.067Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-02-13T07:49:10.067Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-02-13T07:49:10.067Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-02-13T07:49:10.067Z] gpg: CAST5 encrypted data [2023-02-13T07:49:10.067Z] gpg: encrypted with 1 passphrase [2023-02-13T07:49:10.067Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-02-13T07:49:10.352Z] + mkdir /home/jenkins [2023-02-13T07:49:10.352Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-02-13T07:49:10.634Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-02-13T07:49:10.642Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:49:10.924Z] ---> sigul-install.sh [2023-02-13T07:49:10.924Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-02-13T07:49:11.209Z] + git tag --list [2023-02-13T07:49:11.209Z] 0.7.1 [2023-02-13T07:49:11.209Z] v1.0.0 [2023-02-13T07:49:11.209Z] v1.1.0 [2023-02-13T07:49:11.209Z] v1.1.1 [2023-02-13T07:49:11.209Z] v1.2.2 [2023-02-13T07:49:11.209Z] v1.3.0 [2023-02-13T07:49:11.209Z] v1.3.1 [2023-02-13T07:49:11.209Z] v2.0.0 [2023-02-13T07:49:11.209Z] v2.1.0 [2023-02-13T07:49:11.209Z] v2.1.1 [2023-02-13T07:49:11.209Z] v2.1.1-dev.1 [2023-02-13T07:49:11.209Z] v2.1.1-dev.2 [2023-02-13T07:49:11.209Z] v2.1.1-dev.3 [2023-02-13T07:49:11.209Z] v2.2.0 [2023-02-13T07:49:11.209Z] v2.2.1-dev.1 [2023-02-13T07:49:11.209Z] v2.2.1-dev.2 [2023-02-13T07:49:11.209Z] v2.2.1-dev.3 [2023-02-13T07:49:11.209Z] v2.2.1-dev.4 [2023-02-13T07:49:11.209Z] v2.2.1-dev.5 [2023-02-13T07:49:11.209Z] v2.2.1-dev.6 [2023-02-13T07:49:11.209Z] v2.2.1-dev.7 [2023-02-13T07:49:11.209Z] v2.3.0 [2023-02-13T07:49:11.209Z] v2.3.0-dev.10 [2023-02-13T07:49:11.209Z] v2.3.0-dev.11 [2023-02-13T07:49:11.209Z] v2.3.0-dev.12 [2023-02-13T07:49:11.209Z] v2.3.0-dev.13 [2023-02-13T07:49:11.209Z] v2.3.0-dev.14 [2023-02-13T07:49:11.209Z] v2.3.0-dev.15 [2023-02-13T07:49:11.209Z] v2.3.0-dev.16 [2023-02-13T07:49:11.209Z] v2.3.0-dev.17 [2023-02-13T07:49:11.209Z] v2.3.0-dev.18 [2023-02-13T07:49:11.209Z] v2.3.0-dev.19 [2023-02-13T07:49:11.209Z] v2.3.0-dev.20 [2023-02-13T07:49:11.209Z] v2.3.0-dev.21 [2023-02-13T07:49:11.209Z] v2.3.0-dev.22 [2023-02-13T07:49:11.209Z] v2.3.0-dev.23 [2023-02-13T07:49:11.209Z] v2.3.0-dev.24 [2023-02-13T07:49:11.209Z] v2.3.0-dev.25 [2023-02-13T07:49:11.209Z] v2.3.0-dev.7 [2023-02-13T07:49:11.209Z] v2.3.0-dev.8 [2023-02-13T07:49:11.209Z] v2.3.0-dev.9 [2023-02-13T07:49:11.209Z] v3.0.0-dev.1 [2023-02-13T07:49:11.209Z] v3.0.0-dev.2 [2023-02-13T07:49:11.209Z] v3.0.0-dev.3 [2023-02-13T07:49:11.209Z] v3.0.0-dev.4 [2023-02-13T07:49:11.209Z] v3.0.0-dev.5 [2023-02-13T07:49:11.209Z] v3.0.0-dev.6 [2023-02-13T07:49:11.209Z] v3.0.0-dev.7 [2023-02-13T07:49:11.209Z] v3.0.0-dev.8 [2023-02-13T07:49:11.209Z] v3.0.0-dev.9 [Pipeline] sh [2023-02-13T07:49:11.496Z] + lftools sign git-tag v3.0.0-dev.9 [2023-02-13T07:49:12.064Z] Signing Git tag with Sigul... [2023-02-13T07:49:12.064Z] Signing v3.0.0-dev.9 [Pipeline] echo [2023-02-13T07:49:12.331Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:49:12.613Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-02-13T07:49:12.619Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-02-13T07:49:12.636Z] $ docker stop --time=1 e0f85a1c4cea56632ddf19e541d4f9f48fd15e737253a4e2a2a9bc9fd3c8cddb [2023-02-13T07:49:13.905Z] $ docker rm -f --volumes e0f85a1c4cea56632ddf19e541d4f9f48fd15e737253a4e2a2a9bc9fd3c8cddb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-02-13T07:49:14.334Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-13T07:49:14.334Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:49:14.628Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T07:49:14.628Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:49:14.693Z] prd-ubuntu20.04-docker-8c-8g-5503 does not seem to be running inside a container [2023-02-13T07:49:14.720Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-13T07:49:15.034Z] $ docker top cd83f0ed7502c06d3e95b77c4944d7e3860676488ddc0a67ab9a45e5a58dc694 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-13T07:49:15.114Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T07:49:15.114Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T07:49:15.220Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T07:49:15.222Z] $ docker exec cd83f0ed7502c06d3e95b77c4944d7e3860676488ddc0a67ab9a45e5a58dc694 ssh-agent [2023-02-13T07:49:15.319Z] SSH_AUTH_SOCK=/tmp/ssh-YwK7D8Xw30rT/agent.32 [2023-02-13T07:49:15.319Z] SSH_AGENT_PID=38 [2023-02-13T07:49:15.325Z] Running ssh-add (command line suppressed) [2023-02-13T07:49:15.414Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17176169646858929796.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17176169646858929796.key) [2023-02-13T07:49:15.426Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T07:49:15.709Z] + git semver bump pre [2023-02-13T07:49:15.967Z] 2023-02-13 07:49:15,909 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-13T07:49:15.967Z] 2023-02-13 07:49:15,909 [bump_version] DEBUG bumping version:3.0.0-dev.9 on axis:pre with prefix:dev [2023-02-13T07:49:15.967Z] 2023-02-13 07:49:15,909 [bump_version] DEBUG bumped version:3.0.0-dev.10 [2023-02-13T07:49:15.967Z] 2023-02-13 07:49:15,909 [write_version] DEBUG write version:3.0.0-dev.10 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-02-13T07:49:15.967Z] 2023-02-13 07:49:15,909 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-13T07:49:15.967Z] 2023-02-13 07:49:15,909 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-13T07:49:15.967Z] 2023-02-13 07:49:15,912 [execute] INFO git cat-file --batch-check [2023-02-13T07:49:15.967Z] 2023-02-13 07:49:15,912 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-13T07:49:15.967Z] 2023-02-13 07:49:15,916 [execute] INFO git cat-file --batch [2023-02-13T07:49:15.967Z] 2023-02-13 07:49:15,917 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-13T07:49:15.967Z] 2023-02-13 07:49:15,921 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-13T07:49:15.967Z] 3.0.0-dev.10 [Pipeline] } [2023-02-13T07:49:15.975Z] $ docker exec --env ******** --env ******** cd83f0ed7502c06d3e95b77c4944d7e3860676488ddc0a67ab9a45e5a58dc694 ssh-agent -k [2023-02-13T07:49:16.072Z] unset SSH_AUTH_SOCK; [2023-02-13T07:49:16.072Z] unset SSH_AGENT_PID; [2023-02-13T07:49:16.072Z] echo Agent pid 38 killed; [2023-02-13T07:49:16.083Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-13T07:49:16.378Z] + git semver [Pipeline] } [2023-02-13T07:49:16.648Z] $ docker stop --time=1 cd83f0ed7502c06d3e95b77c4944d7e3860676488ddc0a67ab9a45e5a58dc694 [2023-02-13T07:49:17.911Z] $ docker rm -f --volumes cd83f0ed7502c06d3e95b77c4944d7e3860676488ddc0a67ab9a45e5a58dc694 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T07:49:18.241Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-13T07:49:18.241Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:49:18.537Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T07:49:18.537Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:49:18.601Z] prd-ubuntu20.04-docker-8c-8g-5503 does not seem to be running inside a container [2023-02-13T07:49:18.628Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-13T07:49:18.934Z] $ docker top f5064737f555101e88b88371714ad92b62d30863015a84510846fbdd6eadbadd -eo pid,comm [2023-02-13T07:49:18.977Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-13T07:49:18.977Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-13T07:49:19.011Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T07:49:19.012Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T07:49:19.126Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T07:49:19.128Z] $ docker exec f5064737f555101e88b88371714ad92b62d30863015a84510846fbdd6eadbadd ssh-agent [2023-02-13T07:49:19.236Z] SSH_AUTH_SOCK=/tmp/ssh-sVxWsLSPUQAn/agent.32 [2023-02-13T07:49:19.236Z] SSH_AGENT_PID=38 [2023-02-13T07:49:19.240Z] Running ssh-add (command line suppressed) [2023-02-13T07:49:19.348Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11097491064904901087.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11097491064904901087.key) [2023-02-13T07:49:19.360Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T07:49:19.648Z] + git semver push [2023-02-13T07:49:19.906Z] 2023-02-13 07:49:19,822 [run_push] DEBUG push [2023-02-13T07:49:19.906Z] 2023-02-13 07:49:19,823 [execute] INFO git cat-file --batch-check [2023-02-13T07:49:19.906Z] 2023-02-13 07:49:19,823 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-13T07:49:19.906Z] 2023-02-13 07:49:19,827 [execute] INFO git rev-list b6608192c58452fb603c486004008842c4fb7c55 -- [2023-02-13T07:49:19.906Z] 2023-02-13 07:49:19,827 [execute] DEBUG Popen(['git', 'rev-list', 'b6608192c58452fb603c486004008842c4fb7c55', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-02-13T07:49:19.906Z] 2023-02-13 07:49:19,835 [execute] INFO git fetch -v origin [2023-02-13T07:49:19.906Z] 2023-02-13 07:49:19,835 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-02-13T07:49:20.473Z] 2023-02-13 07:49:20,420 [run_push] DEBUG no remote changes detected [2023-02-13T07:49:20.473Z] 2023-02-13 07:49:20,421 [execute] INFO git push origin semver [2023-02-13T07:49:20.473Z] 2023-02-13 07:49:20,421 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-02-13T07:49:21.408Z] 2023-02-13 07:49:21,207 [run_push] DEBUG push all version tags [2023-02-13T07:49:21.408Z] 2023-02-13 07:49:21,207 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-02-13T07:49:21.408Z] 2023-02-13 07:49:21,208 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-02-13T07:49:22.346Z] 2023-02-13 07:49:22,012 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-13T07:49:22.346Z] 3.0.0-dev.10 [Pipeline] } [2023-02-13T07:49:22.354Z] $ docker exec --env ******** --env ******** f5064737f555101e88b88371714ad92b62d30863015a84510846fbdd6eadbadd ssh-agent -k [2023-02-13T07:49:22.458Z] unset SSH_AUTH_SOCK; [2023-02-13T07:49:22.458Z] unset SSH_AGENT_PID; [2023-02-13T07:49:22.458Z] echo Agent pid 38 killed; [2023-02-13T07:49:22.471Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-13T07:49:22.767Z] + git semver [Pipeline] } [2023-02-13T07:49:23.036Z] $ docker stop --time=1 f5064737f555101e88b88371714ad92b62d30863015a84510846fbdd6eadbadd [2023-02-13T07:49:24.302Z] $ docker rm -f --volumes f5064737f555101e88b88371714ad92b62d30863015a84510846fbdd6eadbadd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-13T07:49:24.840Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-02-13T07:49:24.840Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-02-13T07:49:24.840Z] total 16 [2023-02-13T07:49:24.840Z] drwxr-xr-x 3 root root 4096 Feb 13 07:39 . [2023-02-13T07:49:24.840Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 13 07:49 .. [2023-02-13T07:49:24.840Z] drwxr-xr-x 2 root root 4096 Feb 13 07:39 cost [2023-02-13T07:49:24.840Z] -rw-r--r-- 1 root root 87 Feb 13 07:39 cost.csv [2023-02-13T07:49:24.840Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-02-13T07:49:24.840Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-02-13T07:49:24.840Z] total 16 [2023-02-13T07:49:24.840Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 07:39 . [2023-02-13T07:49:24.840Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 13 07:49 .. [2023-02-13T07:49:24.840Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 13 07:39 cost [2023-02-13T07:49:24.840Z] -rw-r--r-- 1 jenkins jenkins 87 Feb 13 07:39 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:49:25.129Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:49:25.987Z] ---> package-listing.sh [2023-02-13T07:49:25.987Z] ++ facter osfamily [2023-02-13T07:49:25.987Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-13T07:49:26.245Z] + OS_FAMILY=debian [2023-02-13T07:49:26.245Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-02-13T07:49:26.245Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-13T07:49:26.245Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-13T07:49:26.245Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-13T07:49:26.245Z] + PACKAGES=/tmp/packages_start.txt [2023-02-13T07:49:26.245Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-02-13T07:49:26.245Z] + PACKAGES=/tmp/packages_end.txt [2023-02-13T07:49:26.245Z] + case "${OS_FAMILY}" in [2023-02-13T07:49:26.245Z] + dpkg -l [2023-02-13T07:49:26.245Z] + grep '^ii' [2023-02-13T07:49:26.245Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-13T07:49:26.245Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-13T07:49:26.245Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-13T07:49:26.245Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-02-13T07:49:26.245Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-02-13T07:49:26.245Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2023-02-13T07:49:26.256Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-13T07:49:26.528Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:49:27.085Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T07:49:27.085Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:49:27.158Z] prd-ubuntu20.04-docker-8c-8g-5503 does not seem to be running inside a container [2023-02-13T07:49:27.187Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-13T07:49:27.391Z] $ docker top a95670e73b34cf395e1c1ca226a7665d4d919b0024ceecea9990f64098a42000 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T07:49:27.738Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-13T07:49:28.022Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-13T07:49:28.307Z] + ls /var/log/sa-host [2023-02-13T07:49:28.307Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T07:49:28.373Z] provisioning config files... [2023-02-13T07:49:28.381Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6807485700549841354tmp [Pipeline] { [Pipeline] echo [2023-02-13T07:49:28.393Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:49:28.674Z] ---> create-netrc.sh [Pipeline] } [2023-02-13T07:49:28.682Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:49:29.011Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-13T07:49:29.021Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:49:29.379Z] ---> sudo-logs.sh [2023-02-13T07:49:29.379Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-13T07:49:29.427Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:49:29.772Z] ---> job-cost.sh [2023-02-13T07:49:29.772Z] lf-activate-venv: SKIPPING [2023-02-13T07:49:29.772Z] DEBUG: total: 0.2199999988079071 [2023-02-13T07:49:29.772Z] INFO: Retrieving Stack Cost... [2023-02-13T07:49:30.365Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-13T07:49:30.624Z] INFO: Archiving Costs [Pipeline] echo [2023-02-13T07:49:30.638Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:49:30.922Z] ---> logs-deploy.sh [2023-02-13T07:49:30.922Z] lf-activate-venv: SKIPPING [2023-02-13T07:49:30.922Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/75 [2023-02-13T07:49:30.922Z] INFO: archiving workspace using pattern(s): [2023-02-13T07:49:31.860Z] Archives upload complete. [2023-02-13T07:49:31.860Z] INFO: archiving logs to Nexus