Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 251be81c94d6bf2c69d06494166ea5d98cfe24ab 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-ssh6690842080802560407.key Verifying host key using known hosts file > 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-ssh16177461779806787206.key Verifying host key using known hosts file > 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-ssh6672986773905692496.key Verifying host key using known hosts file > 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-ssh2011793551428377317.key Verifying host key using known hosts file > 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-ssh16492144204535691066.key Verifying host key using known hosts file > 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-118628 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 251be81c94d6bf2c69d06494166ea5d98cfe24ab (main) Commit message: "build: Update to use released SDK (#391)" > 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 251be81c94d6bf2c69d06494166ea5d98cfe24ab # timeout=10 > git rev-list --no-walk d7835794e341370cec95aed23fbbbaeab5e4af25 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-08T16:28:09.417Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-08T16:28:09.492Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-08T16:28:09.509Z] ========================================================= [2022-11-08T16:28:09.509Z] EdgeX Global Pipelines Version Info [2022-11-08T16:28:09.509Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:28:10.210Z] ------------------- [2022-11-08T16:28:10.210Z] stable info: [2022-11-08T16:28:10.210Z] ------------------- [2022-11-08T16:28:10.210Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-08T16:28:10.210Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-08T16:28:10.210Z] Message: update stable to v1.0.244 [2022-11-08T16:28:10.780Z] ------------------- [2022-11-08T16:28:10.780Z] experimental info: [2022-11-08T16:28:10.780Z] ------------------- [2022-11-08T16:28:10.780Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-08T16:28:10.780Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-08T16:28:10.780Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-08T16:28:10.937Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-11-08T16:28:10.948Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-11-08T16:28:10.956Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-08T16:28:10.964Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-08T16:28:10.971Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-08T16:28:10.979Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-08T16:28:10.987Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-08T16:28:10.994Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-08T16:28:11.002Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-08T16:28:11.010Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-08T16:28:11.018Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-08T16:28:11.025Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-11-08T16:28:11.033Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-08T16:28:11.043Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-08T16:28:11.058Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-08T16:28:11.067Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-08T16:28:11.080Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-08T16:28:11.094Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-08T16:28:11.103Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-08T16:28:11.116Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-08T16:28:11.135Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-08T16:28:11.145Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-08T16:28:11.161Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-08T16:28:11.178Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-08T16:28:11.197Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-08T16:28:11.213Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-08T16:28:11.222Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-08T16:28:11.236Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-11-08T16:28:11.249Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-11-08T16:28:11.259Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-11-08T16:28:11.273Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 251be81c94d6bf2c69d06494166ea5d98cfe24ab [Pipeline] echo [2022-11-08T16:28:11.285Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 251be81 [Pipeline] echo [2022-11-08T16:28:11.298Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T16:28:11.345Z] provisioning config files... [2022-11-08T16:28:11.362Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16757880715595638350tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:28:11.662Z] ---> docker-login.sh [2022-11-08T16:28:11.662Z] nexus3.edgexfoundry.org:10001 [2022-11-08T16:28:11.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:28:12.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:28:12.181Z] Configure a credential helper to remove this warning. See [2022-11-08T16:28:12.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:28:12.181Z] [2022-11-08T16:28:12.181Z] Login Succeeded [2022-11-08T16:28:12.181Z] nexus3.edgexfoundry.org:10002 [2022-11-08T16:28:12.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:28:12.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:28:12.441Z] Configure a credential helper to remove this warning. See [2022-11-08T16:28:12.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:28:12.441Z] [2022-11-08T16:28:12.441Z] Login Succeeded [2022-11-08T16:28:12.441Z] nexus3.edgexfoundry.org:10003 [2022-11-08T16:28:12.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:28:12.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:28:12.441Z] Configure a credential helper to remove this warning. See [2022-11-08T16:28:12.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:28:12.441Z] [2022-11-08T16:28:12.441Z] Login Succeeded [2022-11-08T16:28:12.441Z] nexus3.edgexfoundry.org:10004 [2022-11-08T16:28:12.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:28:12.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:28:12.701Z] Configure a credential helper to remove this warning. See [2022-11-08T16:28:12.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:28:12.702Z] [2022-11-08T16:28:12.702Z] Login Succeeded [2022-11-08T16:28:12.702Z] docker.io [2022-11-08T16:28:12.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:28:12.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:28:12.961Z] Configure a credential helper to remove this warning. See [2022-11-08T16:28:12.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:28:12.961Z] [2022-11-08T16:28:12.961Z] Login Succeeded [2022-11-08T16:28:12.961Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T16:28:12.970Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-08T16:28:13.348Z] + git rev-list -1 --merges 251be81c94d6bf2c69d06494166ea5d98cfe24ab~1..251be81c94d6bf2c69d06494166ea5d98cfe24ab [Pipeline] echo [2022-11-08T16:28:13.381Z] -----------> git rev-list -1 --merges 251be81c94d6bf2c69d06494166ea5d98cfe24ab~1..251be81c94d6bf2c69d06494166ea5d98cfe24ab 251be81c94d6bf2c69d06494166ea5d98cfe24ab [false] [Pipeline] sh [2022-11-08T16:28:13.668Z] + git log --format=format:%s -1 251be81c94d6bf2c69d06494166ea5d98cfe24ab [Pipeline] echo [2022-11-08T16:28:13.682Z] ========================================================= [2022-11-08T16:28:13.682Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-08T16:28:13.682Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T16:28:14.012Z] + git log --format=format:%s -1 251be81c94d6bf2c69d06494166ea5d98cfe24ab [Pipeline] echo [2022-11-08T16:28:14.022Z] [semverPrep] GIT_COMMIT: 251be81c94d6bf2c69d06494166ea5d98cfe24ab, Commit Message: build: Update to use released SDK (#391) [Pipeline] echo [2022-11-08T16:28:14.032Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-08T16:28:14.402Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-08T16:28:14.402Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-08T16:28:14.402Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-08T16:28:14.402Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-08T16:28:14.402Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-08T16:28:14.402Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-08T16:28:14.402Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:28:14.812Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T16:28:14.812Z] [2022-11-08T16:28:14.812Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:28:15.105Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T16:28:15.105Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-08T16:28:15.105Z] b85a868b505f: Pulling fs layer [2022-11-08T16:28:15.105Z] e2be974225ed: Pulling fs layer [2022-11-08T16:28:15.105Z] 339a4e72a1f5: Pulling fs layer [2022-11-08T16:28:15.105Z] 988bab9f4d93: Pulling fs layer [2022-11-08T16:28:15.105Z] 1469e6f7b9e6: Pulling fs layer [2022-11-08T16:28:15.105Z] eaf3925da568: Pulling fs layer [2022-11-08T16:28:15.105Z] bab4dde63d76: Pulling fs layer [2022-11-08T16:28:15.105Z] bde34c3a00c8: Pulling fs layer [2022-11-08T16:28:15.105Z] b352a97aabf1: Pulling fs layer [2022-11-08T16:28:15.105Z] 4872d77fe225: Pulling fs layer [2022-11-08T16:28:15.105Z] 5851b861e8e6: Pulling fs layer [2022-11-08T16:28:15.105Z] 988bab9f4d93: Waiting [2022-11-08T16:28:15.105Z] bde34c3a00c8: Waiting [2022-11-08T16:28:15.105Z] 4872d77fe225: Waiting [2022-11-08T16:28:15.105Z] 5851b861e8e6: Waiting [2022-11-08T16:28:15.105Z] bab4dde63d76: Waiting [2022-11-08T16:28:15.105Z] 1469e6f7b9e6: Waiting [2022-11-08T16:28:15.105Z] eaf3925da568: Waiting [2022-11-08T16:28:15.105Z] b352a97aabf1: Waiting [2022-11-08T16:28:15.105Z] e2be974225ed: Download complete [2022-11-08T16:28:15.105Z] 988bab9f4d93: Verifying Checksum [2022-11-08T16:28:15.105Z] 988bab9f4d93: Download complete [2022-11-08T16:28:15.365Z] 1469e6f7b9e6: Verifying Checksum [2022-11-08T16:28:15.365Z] 1469e6f7b9e6: Download complete [2022-11-08T16:28:15.365Z] eaf3925da568: Verifying Checksum [2022-11-08T16:28:15.365Z] eaf3925da568: Download complete [2022-11-08T16:28:15.365Z] 339a4e72a1f5: Verifying Checksum [2022-11-08T16:28:15.365Z] 339a4e72a1f5: Download complete [2022-11-08T16:28:15.365Z] bde34c3a00c8: Verifying Checksum [2022-11-08T16:28:15.365Z] bde34c3a00c8: Download complete [2022-11-08T16:28:15.365Z] b352a97aabf1: Download complete [2022-11-08T16:28:15.365Z] 4872d77fe225: Verifying Checksum [2022-11-08T16:28:15.365Z] 4872d77fe225: Download complete [2022-11-08T16:28:15.365Z] 5851b861e8e6: Verifying Checksum [2022-11-08T16:28:15.365Z] 5851b861e8e6: Download complete [2022-11-08T16:28:15.365Z] b85a868b505f: Verifying Checksum [2022-11-08T16:28:15.365Z] b85a868b505f: Download complete [2022-11-08T16:28:15.933Z] bab4dde63d76: Verifying Checksum [2022-11-08T16:28:15.933Z] bab4dde63d76: Download complete [2022-11-08T16:28:16.887Z] b85a868b505f: Pull complete [2022-11-08T16:28:16.887Z] e2be974225ed: Pull complete [2022-11-08T16:28:17.477Z] 339a4e72a1f5: Pull complete [2022-11-08T16:28:17.477Z] 988bab9f4d93: Pull complete [2022-11-08T16:28:17.738Z] 1469e6f7b9e6: Pull complete [2022-11-08T16:28:17.738Z] eaf3925da568: Pull complete [2022-11-08T16:28:19.644Z] bab4dde63d76: Pull complete [2022-11-08T16:28:19.644Z] bde34c3a00c8: Pull complete [2022-11-08T16:28:19.904Z] b352a97aabf1: Pull complete [2022-11-08T16:28:19.904Z] 4872d77fe225: Pull complete [2022-11-08T16:28:20.164Z] 5851b861e8e6: Pull complete [2022-11-08T16:28:20.164Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-08T16:28:20.164Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T16:28:20.164Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:28:20.244Z] prd-ubuntu20.04-docker-8c-8g-118628 does not seem to be running inside a container [2022-11-08T16:28:20.291Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-08T16:28:21.851Z] $ docker top f0392f643acb3a45cba753c1a0898f3c7a70049bee8fbcbcf6938e3b6dcdab56 -eo pid,comm [2022-11-08T16:28:21.911Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-11-08T16:28:21.911Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-08T16:28:21.948Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T16:28:21.948Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T16:28:22.070Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T16:28:22.076Z] $ docker exec f0392f643acb3a45cba753c1a0898f3c7a70049bee8fbcbcf6938e3b6dcdab56 ssh-agent [2022-11-08T16:28:22.179Z] SSH_AUTH_SOCK=/tmp/ssh-WOMTp5mfsmFn/agent.32 [2022-11-08T16:28:22.179Z] SSH_AGENT_PID=38 [2022-11-08T16:28:22.185Z] Running ssh-add (command line suppressed) [2022-11-08T16:28:22.299Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11864673467517623966.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11864673467517623966.key) [2022-11-08T16:28:22.310Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T16:28:22.596Z] + git tag --points-at HEAD [Pipeline] } [2022-11-08T16:28:22.611Z] $ docker exec --env ******** --env ******** f0392f643acb3a45cba753c1a0898f3c7a70049bee8fbcbcf6938e3b6dcdab56 ssh-agent -k [2022-11-08T16:28:22.710Z] unset SSH_AUTH_SOCK; [2022-11-08T16:28:22.711Z] unset SSH_AGENT_PID; [2022-11-08T16:28:22.711Z] echo Agent pid 38 killed; [2022-11-08T16:28:22.719Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-08T16:28:22.745Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T16:28:22.745Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T16:28:22.862Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T16:28:22.868Z] $ docker exec f0392f643acb3a45cba753c1a0898f3c7a70049bee8fbcbcf6938e3b6dcdab56 ssh-agent [2022-11-08T16:28:22.973Z] SSH_AUTH_SOCK=/tmp/ssh-NUcspzooqmrs/agent.70 [2022-11-08T16:28:22.973Z] SSH_AGENT_PID=76 [2022-11-08T16:28:22.978Z] Running ssh-add (command line suppressed) [2022-11-08T16:28:23.088Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8164913132930705769.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8164913132930705769.key) [2022-11-08T16:28:23.099Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T16:28:23.385Z] + git semver init [2022-11-08T16:28:23.644Z] 2022-11-08 16:28:23,558 [run_init] DEBUG init version:0.0.0 force:False [2022-11-08T16:28:23.644Z] 2022-11-08 16:28:23,559 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-11-08T16:28:23.644Z] 2022-11-08 16:28:23,559 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-11-08T16:28:23.644Z] 2022-11-08 16:28:23,560 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2022-11-08T16:28:24.584Z] 2022-11-08 16:28:24,477 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2022-11-08T16:28:24.584Z] 2022-11-08 16:28:24,477 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2022-11-08T16:28:24.584Z] 2022-11-08 16:28:24,477 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-11-08T16:28:24.584Z] 2022-11-08 16:28:24,477 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-11-08T16:28:24.584Z] 2.3.0-dev.25 [Pipeline] } [2022-11-08T16:28:24.598Z] $ docker exec --env ******** --env ******** f0392f643acb3a45cba753c1a0898f3c7a70049bee8fbcbcf6938e3b6dcdab56 ssh-agent -k [2022-11-08T16:28:24.712Z] unset SSH_AUTH_SOCK; [2022-11-08T16:28:24.713Z] unset SSH_AGENT_PID; [2022-11-08T16:28:24.713Z] echo Agent pid 76 killed; [2022-11-08T16:28:24.724Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-08T16:28:25.029Z] + git semver [Pipeline] } [2022-11-08T16:28:25.307Z] $ docker stop --time=1 f0392f643acb3a45cba753c1a0898f3c7a70049bee8fbcbcf6938e3b6dcdab56 [2022-11-08T16:28:26.686Z] $ docker rm -f f0392f643acb3a45cba753c1a0898f3c7a70049bee8fbcbcf6938e3b6dcdab56 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T16:28:27.012Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-08T16:28:27.189Z] Stashed 1 file(s) [Pipeline] echo [2022-11-08T16:28:27.191Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.25 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T16:28:27.325Z] provisioning config files... [2022-11-08T16:28:27.334Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10328372053483249504tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:28:27.631Z] ---> docker-login.sh [2022-11-08T16:28:27.631Z] nexus3.edgexfoundry.org:10001 [2022-11-08T16:28:27.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:28:27.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:28:27.631Z] Configure a credential helper to remove this warning. See [2022-11-08T16:28:27.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:28:27.631Z] [2022-11-08T16:28:27.631Z] Login Succeeded [2022-11-08T16:28:27.631Z] nexus3.edgexfoundry.org:10002 [2022-11-08T16:28:27.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:28:27.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:28:27.631Z] Configure a credential helper to remove this warning. See [2022-11-08T16:28:27.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:28:27.631Z] [2022-11-08T16:28:27.631Z] Login Succeeded [2022-11-08T16:28:27.631Z] nexus3.edgexfoundry.org:10003 [2022-11-08T16:28:27.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:28:27.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:28:27.891Z] Configure a credential helper to remove this warning. See [2022-11-08T16:28:27.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:28:27.891Z] [2022-11-08T16:28:27.891Z] Login Succeeded [2022-11-08T16:28:27.891Z] nexus3.edgexfoundry.org:10004 [2022-11-08T16:28:27.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:28:27.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:28:27.891Z] Configure a credential helper to remove this warning. See [2022-11-08T16:28:27.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:28:27.891Z] [2022-11-08T16:28:27.891Z] Login Succeeded [2022-11-08T16:28:27.891Z] docker.io [2022-11-08T16:28:28.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:28:28.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:28:28.424Z] Configure a credential helper to remove this warning. See [2022-11-08T16:28:28.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:28:28.424Z] [2022-11-08T16:28:28.424Z] Login Succeeded [2022-11-08T16:28:28.424Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T16:28:28.431Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-08T16:28:28.485Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T16:28:28.496Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T16:28:28.501Z] ========================================================= [2022-11-08T16:28:28.502Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-08T16:28:28.502Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:28:28.816Z] + 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 . [2022-11-08T16:28:28.816Z] Sending build context to Docker daemon 6.242MB [2022-11-08T16:28:28.816Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T16:28:28.816Z] Step 2/10 : FROM ${BASE} AS builder [2022-11-08T16:28:28.816Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-08T16:28:28.816Z] 213ec9aee27d: Pulling fs layer [2022-11-08T16:28:28.816Z] 4583459ba037: Pulling fs layer [2022-11-08T16:28:28.816Z] 93c1e223e6f2: Pulling fs layer [2022-11-08T16:28:28.816Z] 53926ce57604: Pulling fs layer [2022-11-08T16:28:28.816Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-08T16:28:28.816Z] 22ff95d597cd: Pulling fs layer [2022-11-08T16:28:28.816Z] 12d6caf4c0d1: Pulling fs layer [2022-11-08T16:28:28.816Z] 96b7cbca73a9: Pulling fs layer [2022-11-08T16:28:28.816Z] a7acece74701: Pulling fs layer [2022-11-08T16:28:28.816Z] 53926ce57604: Waiting [2022-11-08T16:28:28.816Z] 22ff95d597cd: Waiting [2022-11-08T16:28:28.816Z] 12d6caf4c0d1: Waiting [2022-11-08T16:28:28.816Z] a7acece74701: Waiting [2022-11-08T16:28:28.816Z] 21b2b0c7a3f4: Waiting [2022-11-08T16:28:28.816Z] 96b7cbca73a9: Waiting [2022-11-08T16:28:28.816Z] 93c1e223e6f2: Download complete [2022-11-08T16:28:28.816Z] 4583459ba037: Download complete [2022-11-08T16:28:28.816Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-08T16:28:28.816Z] 21b2b0c7a3f4: Download complete [2022-11-08T16:28:28.816Z] 22ff95d597cd: Download complete [2022-11-08T16:28:29.078Z] 213ec9aee27d: Verifying Checksum [2022-11-08T16:28:29.078Z] 12d6caf4c0d1: Verifying Checksum [2022-11-08T16:28:29.078Z] 12d6caf4c0d1: Download complete [2022-11-08T16:28:29.078Z] 213ec9aee27d: Pull complete [2022-11-08T16:28:29.348Z] 4583459ba037: Pull complete [2022-11-08T16:28:29.348Z] 93c1e223e6f2: Pull complete [2022-11-08T16:28:29.620Z] a7acece74701: Verifying Checksum [2022-11-08T16:28:29.620Z] a7acece74701: Download complete [2022-11-08T16:28:29.620Z] 96b7cbca73a9: Verifying Checksum [2022-11-08T16:28:29.620Z] 96b7cbca73a9: Download complete [2022-11-08T16:28:29.880Z] 53926ce57604: Verifying Checksum [2022-11-08T16:28:29.880Z] 53926ce57604: Download complete [2022-11-08T16:28:34.066Z] 53926ce57604: Pull complete [2022-11-08T16:28:34.066Z] 21b2b0c7a3f4: Pull complete [2022-11-08T16:28:34.066Z] 22ff95d597cd: Pull complete [2022-11-08T16:28:34.066Z] 12d6caf4c0d1: Pull complete [2022-11-08T16:28:36.602Z] 96b7cbca73a9: Pull complete [2022-11-08T16:28:37.170Z] a7acece74701: Pull complete [2022-11-08T16:28:37.170Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-08T16:28:37.170Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-08T16:28:37.170Z] ---> db6d94c90886 [2022-11-08T16:28:37.170Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2022-11-08T16:28:39.077Z] ---> Running in 4e7fd0e36450 [2022-11-08T16:28:39.077Z] Removing intermediate container 4e7fd0e36450 [2022-11-08T16:28:39.077Z] ---> 07988cc7b1e0 [2022-11-08T16:28:39.077Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T16:28:39.077Z] ---> Running in 653e7ddc95a4 [2022-11-08T16:28:39.334Z] Removing intermediate container 653e7ddc95a4 [2022-11-08T16:28:39.334Z] ---> 8ee3e00343fd [2022-11-08T16:28:39.334Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-11-08T16:28:39.334Z] ---> Running in 3e47e8d2877e [2022-11-08T16:28:39.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T16:28:39.853Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T16:28:39.853Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-11-08T16:28:40.112Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-11-08T16:28:40.112Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-11-08T16:28:40.112Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-11-08T16:28:40.112Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-11-08T16:28:40.112Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-11-08T16:28:40.112Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-11-08T16:28:40.112Z] (8/8) Installing openssh (9.0_p1-r2) [2022-11-08T16:28:40.112Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T16:28:40.112Z] OK: 217 MiB in 59 packages [2022-11-08T16:28:40.691Z] Removing intermediate container 3e47e8d2877e [2022-11-08T16:28:40.691Z] ---> 9ea978f011b1 [2022-11-08T16:28:40.691Z] Step 6/10 : WORKDIR /device-modbus-go [2022-11-08T16:28:40.691Z] ---> Running in 2636be346cd7 [2022-11-08T16:28:40.691Z] Removing intermediate container 2636be346cd7 [2022-11-08T16:28:40.691Z] ---> d60e6817072c [2022-11-08T16:28:40.691Z] Step 7/10 : COPY go.mod vendor* ./ [2022-11-08T16:28:40.948Z] ---> 8b78d45baa63 [2022-11-08T16:28:40.948Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T16:28:40.948Z] ---> Running in 081567fca010 [2022-11-08T16:28:42.279Z] Still waiting to schedule task [2022-11-08T16:28:42.279Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-11-08T16:28:59.053Z] Removing intermediate container 081567fca010 [2022-11-08T16:28:59.053Z] ---> c82ed8025b62 [2022-11-08T16:28:59.053Z] Step 9/10 : COPY . . [2022-11-08T16:28:59.053Z] ---> d589d6f882de [2022-11-08T16:28:59.053Z] Step 10/10 : RUN ${MAKE} [2022-11-08T16:28:59.321Z] ---> Running in b1f4a0f8b3b5 [2022-11-08T16:28:59.592Z] noop [2022-11-08T16:28:59.854Z] Removing intermediate container b1f4a0f8b3b5 [2022-11-08T16:28:59.854Z] ---> d07cca48a1ad [2022-11-08T16:28:59.854Z] Successfully built d07cca48a1ad [2022-11-08T16:28:59.854Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:29:00.155Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-08T16:29:00.155Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:29:00.217Z] prd-ubuntu20.04-docker-8c-8g-118628 does not seem to be running inside a container [2022-11-08T16:29:00.246Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-08T16:29:00.615Z] $ docker top 0079fd7c85d6aaf551cefe988e9de962dba3ab549a434d3c11cdfe9aab2ae36d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T16:29:00.956Z] + go version [2022-11-08T16:29:00.956Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-08T16:29:00.971Z] $ docker stop --time=1 0079fd7c85d6aaf551cefe988e9de962dba3ab549a434d3c11cdfe9aab2ae36d [2022-11-08T16:29:02.262Z] $ docker rm -f 0079fd7c85d6aaf551cefe988e9de962dba3ab549a434d3c11cdfe9aab2ae36d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:29:02.669Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-08T16:29:02.670Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:29:02.734Z] prd-ubuntu20.04-docker-8c-8g-118628 does not seem to be running inside a container [2022-11-08T16:29:02.766Z] $ 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 [2022-11-08T16:29:03.138Z] $ docker top 0658d5dbc714a3ea7fe5439eb54bb012034789efe5c5a686dfeccd0d8d3ed681 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T16:29:03.477Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2022-11-08T16:29:03.764Z] + make test [2022-11-08T16:29:03.764Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-08T16:29:04.021Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-11-08T16:29:13.989Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-11-08T16:29:13.989Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 47.7% of statements [2022-11-08T16:29:20.545Z] 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." [2022-11-08T16:29:20.545Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-08T16:29:23.830Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-08T16:29:23.830Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-08T16:29:23.830Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-08T16:29:23.841Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-08T16:29:23.857Z] $ docker stop --time=1 0658d5dbc714a3ea7fe5439eb54bb012034789efe5c5a686dfeccd0d8d3ed681 [2022-11-08T16:29:25.951Z] $ docker rm -f 0658d5dbc714a3ea7fe5439eb54bb012034789efe5c5a686dfeccd0d8d3ed681 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T16:29:26.381Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-08T16:29:26.440Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-08T16:29:26.939Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-08T16:29:27.222Z] + ls -al . [2022-11-08T16:29:27.222Z] total 196 [2022-11-08T16:29:27.222Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 16:29 . [2022-11-08T16:29:27.222Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:28 .. [2022-11-08T16:29:27.222Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 16:28 .dockerignore [2022-11-08T16:29:27.222Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 16:29 .git [2022-11-08T16:29:27.222Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:28 .github [2022-11-08T16:29:27.222Z] -rw-rw-r-- 1 jenkins jenkins 331 Nov 8 16:28 .gitignore [2022-11-08T16:29:27.222Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 16:28 .golangci.yml [2022-11-08T16:29:27.222Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 16:28 .semver [2022-11-08T16:29:27.222Z] -rw-rw-r-- 1 jenkins jenkins 10121 Nov 8 16:28 Attribution.txt [2022-11-08T16:29:27.222Z] -rw-rw-r-- 1 jenkins jenkins 11576 Nov 8 16:28 CHANGELOG.md [2022-11-08T16:29:27.222Z] -rw-rw-r-- 1 jenkins jenkins 1428 Nov 8 16:28 Dockerfile [2022-11-08T16:29:27.222Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 16:28 GOVERNANCE.md [2022-11-08T16:29:27.222Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 8 16:28 Jenkinsfile [2022-11-08T16:29:27.222Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 16:28 LICENSE [2022-11-08T16:29:27.222Z] -rw-rw-r-- 1 jenkins jenkins 2101 Nov 8 16:28 Makefile [2022-11-08T16:29:27.222Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 8 16:28 OWNERS.md [2022-11-08T16:29:27.222Z] -rw-rw-r-- 1 jenkins jenkins 4061 Nov 8 16:28 README.md [2022-11-08T16:29:27.222Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 8 16:28 VERSION [2022-11-08T16:29:27.222Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 16:28 bin [2022-11-08T16:29:27.222Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:28 cmd [2022-11-08T16:29:27.222Z] -rw-r--r-- 1 jenkins jenkins 23241 Nov 8 16:29 coverage.out [2022-11-08T16:29:27.222Z] -rw-rw-r-- 1 jenkins jenkins 3583 Nov 8 16:28 go.mod [2022-11-08T16:29:27.222Z] -rw-rw-r-- 1 jenkins jenkins 45211 Nov 8 16:28 go.sum [2022-11-08T16:29:27.222Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:28 internal [2022-11-08T16:29:27.222Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 16:28 simulator [2022-11-08T16:29:27.222Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:28 snap [2022-11-08T16:29:27.222Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 8 16:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:29:27.524Z] + 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=251be81c94d6bf2c69d06494166ea5d98cfe24ab --label arch=amd64 --label version=2.3.0-dev.25 . [2022-11-08T16:29:27.524Z] Sending build context to Docker daemon 6.266MB [2022-11-08T16:29:27.524Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T16:29:27.524Z] Step 2/22 : FROM ${BASE} AS builder [2022-11-08T16:29:27.524Z] ---> d07cca48a1ad [2022-11-08T16:29:27.524Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2022-11-08T16:29:27.524Z] ---> Running in d1e944b8bec6 [2022-11-08T16:29:27.789Z] Removing intermediate container d1e944b8bec6 [2022-11-08T16:29:27.789Z] ---> e00bf75d9520 [2022-11-08T16:29:27.789Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T16:29:27.789Z] ---> Running in f53e2909e072 [2022-11-08T16:29:27.789Z] Removing intermediate container f53e2909e072 [2022-11-08T16:29:27.789Z] ---> 8c708c7ce1e6 [2022-11-08T16:29:27.789Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-11-08T16:29:27.789Z] ---> Running in c8f288f1d27c [2022-11-08T16:29:28.049Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T16:29:28.307Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T16:29:28.565Z] OK: 217 MiB in 59 packages [2022-11-08T16:29:28.824Z] Removing intermediate container c8f288f1d27c [2022-11-08T16:29:28.824Z] ---> 54cf3b702452 [2022-11-08T16:29:28.824Z] Step 6/22 : WORKDIR /device-modbus-go [2022-11-08T16:29:29.083Z] ---> Running in 40c565fe3947 [2022-11-08T16:29:29.083Z] Removing intermediate container 40c565fe3947 [2022-11-08T16:29:29.083Z] ---> 7c8ed46a08fd [2022-11-08T16:29:29.083Z] Step 7/22 : COPY go.mod vendor* ./ [2022-11-08T16:29:29.083Z] ---> 75559a100e42 [2022-11-08T16:29:29.083Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T16:29:29.341Z] ---> Running in 82503173c549 [2022-11-08T16:29:29.909Z] Removing intermediate container 82503173c549 [2022-11-08T16:29:29.909Z] ---> ea15f2926d53 [2022-11-08T16:29:29.909Z] Step 9/22 : COPY . . [2022-11-08T16:29:30.167Z] ---> b56fcdfe6c20 [2022-11-08T16:29:30.167Z] Step 10/22 : RUN ${MAKE} [2022-11-08T16:29:30.425Z] ---> Running in 2a7eeca18854 [2022-11-08T16:29:30.688Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.25" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-11-08T16:29:52.776Z] Removing intermediate container 2a7eeca18854 [2022-11-08T16:29:52.776Z] ---> 97b7b40ff619 [2022-11-08T16:29:52.776Z] Step 11/22 : FROM alpine:3.14 [2022-11-08T16:29:52.776Z] 3.14: Pulling from library/alpine [2022-11-08T16:29:52.776Z] c7ed990a2339: Pulling fs layer [2022-11-08T16:29:52.776Z] c7ed990a2339: Download complete [2022-11-08T16:29:52.776Z] c7ed990a2339: Pull complete [2022-11-08T16:29:52.776Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-11-08T16:29:52.776Z] Status: Downloaded newer image for alpine:3.14 [2022-11-08T16:29:52.776Z] ---> dd53f409bf0b [2022-11-08T16:29:52.776Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-11-08T16:29:52.776Z] ---> Running in 91a6f6689e88 [2022-11-08T16:29:52.776Z] Removing intermediate container 91a6f6689e88 [2022-11-08T16:29:52.776Z] ---> af6b699f3d56 [2022-11-08T16:29:52.776Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-08T16:29:52.776Z] ---> Running in 403fb695c475 [2022-11-08T16:29:52.776Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-11-08T16:29:52.776Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-11-08T16:29:52.776Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-08T16:29:52.776Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-11-08T16:29:52.777Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-08T16:29:52.777Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-11-08T16:29:52.777Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-08T16:29:52.777Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-08T16:29:52.777Z] Executing busybox-1.33.1-r8.trigger [2022-11-08T16:29:52.777Z] OK: 8 MiB in 20 packages [2022-11-08T16:29:52.777Z] Removing intermediate container 403fb695c475 [2022-11-08T16:29:52.777Z] ---> 9e6b5017e8a9 [2022-11-08T16:29:52.777Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2022-11-08T16:29:53.035Z] ---> a64e57b5a8a3 [2022-11-08T16:29:53.035Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2022-11-08T16:29:53.294Z] ---> a13ebf02a7bf [2022-11-08T16:29:53.294Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-11-08T16:29:53.294Z] ---> 24c06c177c50 [2022-11-08T16:29:53.294Z] Step 17/22 : EXPOSE 59901 [2022-11-08T16:29:53.294Z] ---> Running in 19e760b04dff [2022-11-08T16:29:53.552Z] Removing intermediate container 19e760b04dff [2022-11-08T16:29:53.552Z] ---> d3833087690b [2022-11-08T16:29:53.552Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2022-11-08T16:29:53.552Z] ---> Running in 21e23c5ee4ab [2022-11-08T16:29:53.552Z] Removing intermediate container 21e23c5ee4ab [2022-11-08T16:29:53.552Z] ---> f3b1cb7419f1 [2022-11-08T16:29:53.552Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-08T16:29:53.552Z] ---> Running in 048f84f7ed20 [2022-11-08T16:29:53.809Z] Removing intermediate container 048f84f7ed20 [2022-11-08T16:29:53.809Z] ---> 6ea02d35b413 [2022-11-08T16:29:53.809Z] Step 20/22 : LABEL arch=amd64 [2022-11-08T16:29:53.809Z] ---> Running in 2f5efc5e1369 [2022-11-08T16:29:53.809Z] Removing intermediate container 2f5efc5e1369 [2022-11-08T16:29:53.809Z] ---> b6c7b6f12940 [2022-11-08T16:29:53.809Z] Step 21/22 : LABEL git_sha=251be81c94d6bf2c69d06494166ea5d98cfe24ab [2022-11-08T16:29:53.809Z] ---> Running in e314ca09686b [2022-11-08T16:29:54.068Z] Removing intermediate container e314ca09686b [2022-11-08T16:29:54.068Z] ---> f03ce26f6906 [2022-11-08T16:29:54.068Z] Step 22/22 : LABEL version=2.3.0-dev.25 [2022-11-08T16:29:54.068Z] ---> Running in dcb26940cf60 [2022-11-08T16:29:54.068Z] Removing intermediate container dcb26940cf60 [2022-11-08T16:29:54.068Z] ---> c35336dc6874 [2022-11-08T16:29:54.068Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-08T16:29:54.068Z] Successfully built c35336dc6874 [2022-11-08T16:29:54.068Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T16:29:54.156Z] provisioning config files... [2022-11-08T16:29:54.162Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10479189221350104022tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:29:54.455Z] ---> docker-login.sh [2022-11-08T16:29:54.455Z] nexus3.edgexfoundry.org:10001 [2022-11-08T16:29:54.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:29:54.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:29:54.455Z] Configure a credential helper to remove this warning. See [2022-11-08T16:29:54.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:29:54.455Z] [2022-11-08T16:29:54.455Z] Login Succeeded [2022-11-08T16:29:54.455Z] nexus3.edgexfoundry.org:10002 [2022-11-08T16:29:54.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:29:54.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:29:54.455Z] Configure a credential helper to remove this warning. See [2022-11-08T16:29:54.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:29:54.455Z] [2022-11-08T16:29:54.455Z] Login Succeeded [2022-11-08T16:29:54.455Z] nexus3.edgexfoundry.org:10003 [2022-11-08T16:29:54.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:29:54.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:29:54.714Z] Configure a credential helper to remove this warning. See [2022-11-08T16:29:54.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:29:54.714Z] [2022-11-08T16:29:54.714Z] Login Succeeded [2022-11-08T16:29:54.714Z] nexus3.edgexfoundry.org:10004 [2022-11-08T16:29:54.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:29:54.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:29:54.714Z] Configure a credential helper to remove this warning. See [2022-11-08T16:29:54.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:29:54.714Z] [2022-11-08T16:29:54.714Z] Login Succeeded [2022-11-08T16:29:54.714Z] docker.io [2022-11-08T16:29:54.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:29:55.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:29:55.282Z] Configure a credential helper to remove this warning. See [2022-11-08T16:29:55.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:29:55.282Z] [2022-11-08T16:29:55.282Z] Login Succeeded [2022-11-08T16:29:55.282Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T16:29:55.290Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-08T16:29:55.326Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T16:29:55.348Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2022-11-08T16:29:55.348Z] 251be81c94d6bf2c69d06494166ea5d98cfe24ab [2022-11-08T16:29:55.348Z] latest [2022-11-08T16:29:55.348Z] 2.3.0-dev.25 [2022-11-08T16:29:55.348Z] 251be81c94d6bf2c69d06494166ea5d98cfe24ab-2.3.0-dev.25 [2022-11-08T16:29:55.348Z] main [2022-11-08T16:29:55.348Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:29:55.656Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:251be81c94d6bf2c69d06494166ea5d98cfe24ab [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:29:55.956Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:251be81c94d6bf2c69d06494166ea5d98cfe24ab [2022-11-08T16:29:55.956Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-11-08T16:29:55.956Z] 3ca4bf6cb30f: Preparing [2022-11-08T16:29:55.956Z] 241c2528965d: Preparing [2022-11-08T16:29:55.956Z] 8a19de1aadb4: Preparing [2022-11-08T16:29:55.956Z] 97c1b0f4d24b: Preparing [2022-11-08T16:29:55.956Z] 63493a9ab2d4: Preparing [2022-11-08T16:29:55.956Z] 63493a9ab2d4: Layer already exists [2022-11-08T16:29:55.956Z] 241c2528965d: Pushed [2022-11-08T16:29:55.956Z] 3ca4bf6cb30f: Pushed [2022-11-08T16:29:56.216Z] 97c1b0f4d24b: Pushed [2022-11-08T16:29:58.746Z] 8a19de1aadb4: Pushed [2022-11-08T16:29:58.746Z] 251be81c94d6bf2c69d06494166ea5d98cfe24ab: digest: sha256:c02a97344036acda32f78052d5689298c9dd8109ff088858182954e25bf9ecbd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:29:59.061Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:29:59.368Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-11-08T16:29:59.368Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-11-08T16:29:59.368Z] 3ca4bf6cb30f: Preparing [2022-11-08T16:29:59.368Z] 241c2528965d: Preparing [2022-11-08T16:29:59.368Z] 8a19de1aadb4: Preparing [2022-11-08T16:29:59.368Z] 97c1b0f4d24b: Preparing [2022-11-08T16:29:59.368Z] 63493a9ab2d4: Preparing [2022-11-08T16:29:59.368Z] 8a19de1aadb4: Layer already exists [2022-11-08T16:29:59.368Z] 3ca4bf6cb30f: Layer already exists [2022-11-08T16:29:59.368Z] 97c1b0f4d24b: Layer already exists [2022-11-08T16:29:59.368Z] 63493a9ab2d4: Layer already exists [2022-11-08T16:29:59.368Z] 241c2528965d: Layer already exists [2022-11-08T16:29:59.368Z] latest: digest: sha256:c02a97344036acda32f78052d5689298c9dd8109ff088858182954e25bf9ecbd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:29:59.682Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:29:59.994Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.25 [2022-11-08T16:29:59.994Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-11-08T16:29:59.994Z] 3ca4bf6cb30f: Preparing [2022-11-08T16:29:59.994Z] 241c2528965d: Preparing [2022-11-08T16:29:59.994Z] 8a19de1aadb4: Preparing [2022-11-08T16:29:59.994Z] 97c1b0f4d24b: Preparing [2022-11-08T16:29:59.994Z] 63493a9ab2d4: Preparing [2022-11-08T16:29:59.994Z] 63493a9ab2d4: Layer already exists [2022-11-08T16:29:59.994Z] 8a19de1aadb4: Layer already exists [2022-11-08T16:29:59.994Z] 241c2528965d: Layer already exists [2022-11-08T16:29:59.994Z] 3ca4bf6cb30f: Layer already exists [2022-11-08T16:29:59.994Z] 97c1b0f4d24b: Layer already exists [2022-11-08T16:29:59.994Z] 2.3.0-dev.25: digest: sha256:c02a97344036acda32f78052d5689298c9dd8109ff088858182954e25bf9ecbd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:30:00.301Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:251be81c94d6bf2c69d06494166ea5d98cfe24ab-2.3.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:30:00.608Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:251be81c94d6bf2c69d06494166ea5d98cfe24ab-2.3.0-dev.25 [2022-11-08T16:30:00.608Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-11-08T16:30:00.608Z] 3ca4bf6cb30f: Preparing [2022-11-08T16:30:00.608Z] 241c2528965d: Preparing [2022-11-08T16:30:00.608Z] 8a19de1aadb4: Preparing [2022-11-08T16:30:00.608Z] 97c1b0f4d24b: Preparing [2022-11-08T16:30:00.608Z] 63493a9ab2d4: Preparing [2022-11-08T16:30:00.608Z] 3ca4bf6cb30f: Layer already exists [2022-11-08T16:30:00.608Z] 8a19de1aadb4: Layer already exists [2022-11-08T16:30:00.608Z] 63493a9ab2d4: Layer already exists [2022-11-08T16:30:00.608Z] 97c1b0f4d24b: Layer already exists [2022-11-08T16:30:00.608Z] 241c2528965d: Layer already exists [2022-11-08T16:30:00.608Z] 251be81c94d6bf2c69d06494166ea5d98cfe24ab-2.3.0-dev.25: digest: sha256:c02a97344036acda32f78052d5689298c9dd8109ff088858182954e25bf9ecbd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:30:00.926Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:30:01.239Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2022-11-08T16:30:01.239Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-11-08T16:30:01.239Z] 3ca4bf6cb30f: Preparing [2022-11-08T16:30:01.239Z] 241c2528965d: Preparing [2022-11-08T16:30:01.239Z] 8a19de1aadb4: Preparing [2022-11-08T16:30:01.239Z] 97c1b0f4d24b: Preparing [2022-11-08T16:30:01.239Z] 63493a9ab2d4: Preparing [2022-11-08T16:30:01.239Z] 241c2528965d: Layer already exists [2022-11-08T16:30:01.239Z] 8a19de1aadb4: Layer already exists [2022-11-08T16:30:01.239Z] 63493a9ab2d4: Layer already exists [2022-11-08T16:30:01.239Z] 97c1b0f4d24b: Layer already exists [2022-11-08T16:30:01.239Z] 3ca4bf6cb30f: Layer already exists [2022-11-08T16:30:01.239Z] main: digest: sha256:c02a97344036acda32f78052d5689298c9dd8109ff088858182954e25bf9ecbd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-08T16:30:01.279Z] ===================================================== [Pipeline] echo [2022-11-08T16:30:01.285Z] taggedImages: [2022-11-08T16:30:01.285Z] - nexus3.edgexfoundry.org:10004/device-modbus:251be81c94d6bf2c69d06494166ea5d98cfe24ab [2022-11-08T16:30:01.285Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-11-08T16:30:01.285Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.25 [2022-11-08T16:30:01.285Z] - nexus3.edgexfoundry.org:10004/device-modbus:251be81c94d6bf2c69d06494166ea5d98cfe24ab-2.3.0-dev.25 [2022-11-08T16:30:01.285Z] - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:30:01.636Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T16:30:01.636Z] [2022-11-08T16:30:01.636Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:30:01.939Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T16:30:01.939Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-08T16:30:01.939Z] 5eb5b503b376: Pulling fs layer [2022-11-08T16:30:01.939Z] 5c69ac0246d0: Pulling fs layer [2022-11-08T16:30:01.939Z] ec43610c2a17: Pulling fs layer [2022-11-08T16:30:01.939Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-08T16:30:01.939Z] 33b1e0a273af: Pulling fs layer [2022-11-08T16:30:01.939Z] 5d3b04190fa2: Pulling fs layer [2022-11-08T16:30:01.939Z] 2f39f015ded8: Pulling fs layer [2022-11-08T16:30:01.939Z] 33b1e0a273af: Waiting [2022-11-08T16:30:01.939Z] 3a2ae6a8a46f: Waiting [2022-11-08T16:30:01.939Z] 5d3b04190fa2: Waiting [2022-11-08T16:30:01.939Z] 2f39f015ded8: Waiting [2022-11-08T16:30:01.939Z] 5c69ac0246d0: Verifying Checksum [2022-11-08T16:30:01.939Z] 5c69ac0246d0: Download complete [2022-11-08T16:30:01.939Z] 3a2ae6a8a46f: Download complete [2022-11-08T16:30:02.200Z] 33b1e0a273af: Verifying Checksum [2022-11-08T16:30:02.200Z] 33b1e0a273af: Download complete [2022-11-08T16:30:02.200Z] 5d3b04190fa2: Verifying Checksum [2022-11-08T16:30:02.200Z] 5d3b04190fa2: Download complete [2022-11-08T16:30:02.200Z] ec43610c2a17: Verifying Checksum [2022-11-08T16:30:02.200Z] ec43610c2a17: Download complete [2022-11-08T16:30:02.200Z] 5eb5b503b376: Verifying Checksum [2022-11-08T16:30:02.200Z] 5eb5b503b376: Download complete [2022-11-08T16:30:03.137Z] 2f39f015ded8: Download complete [2022-11-08T16:30:03.395Z] 5eb5b503b376: Pull complete [2022-11-08T16:30:03.652Z] 5c69ac0246d0: Pull complete [2022-11-08T16:30:04.219Z] ec43610c2a17: Pull complete [2022-11-08T16:30:04.219Z] 3a2ae6a8a46f: Pull complete [2022-11-08T16:30:04.479Z] 33b1e0a273af: Pull complete [2022-11-08T16:30:04.479Z] 5d3b04190fa2: Pull complete [2022-11-08T16:30:08.662Z] 2f39f015ded8: Pull complete [2022-11-08T16:30:08.662Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-08T16:30:08.662Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T16:30:08.662Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:30:08.730Z] prd-ubuntu20.04-docker-8c-8g-118628 does not seem to be running inside a container [2022-11-08T16:30:08.763Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-08T16:30:10.612Z] $ docker top 3d6d479a6eb5dec7388191537dcc9069292a452eed9d86a4c55a472689706f0e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:30:11.002Z] ---> job-cost.sh [2022-11-08T16:30:11.002Z] lf-activate-venv: SKIPPING [2022-11-08T16:30:11.002Z] INFO: No Stack... [2022-11-08T16:30:11.261Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-08T16:30:11.519Z] INFO: Archiving Costs [Pipeline] sh [2022-11-08T16:30:11.806Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2022-11-08T16:30:11.806Z] + cut -d, -f6 [Pipeline] lock [2022-11-08T16:30:11.819Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-65-stack-cost] [2022-11-08T16:30:11.824Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-65-stack-cost] did not exist. Created. [2022-11-08T16:30:11.825Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-65-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-08T16:30:12.125Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-08T16:30:12.146Z] Stashed 1 file(s) [Pipeline] } [2022-11-08T16:30:12.151Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-65-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-08T16:30:12.169Z] $ docker stop --time=1 3d6d479a6eb5dec7388191537dcc9069292a452eed9d86a4c55a472689706f0e [2022-11-08T16:30:13.366Z] $ docker rm -f 3d6d479a6eb5dec7388191537dcc9069292a452eed9d86a4c55a472689706f0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-08T16:30:16.152Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118631 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2022-11-08T16:30:16.165Z] Running in /w/workspace/device-modbus-go/65 [Pipeline] { [Pipeline] checkout [2022-11-08T16:30:16.200Z] Selected Git installation does not exist. Using Default [2022-11-08T16:30:16.200Z] The recommended git tool is: NONE [2022-11-08T16:30:21.219Z] using credential edgex-jenkins-ssh [2022-11-08T16:30:21.235Z] Cloning the remote Git repository [2022-11-08T16:30:21.277Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-11-08T16:30:21.342Z] > git init /w/workspace/device-modbus-go/65 # timeout=10 [2022-11-08T16:30:21.474Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-11-08T16:30:21.475Z] > git --version # timeout=10 [2022-11-08T16:30:21.493Z] > git --version # 'git version 2.25.1' [2022-11-08T16:30:21.495Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-08T16:30:21.539Z] Verifying host key using known hosts file [2022-11-08T16:30:21.710Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-08T16:30:21.722Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-08T16:30:22.858Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-11-08T16:30:22.878Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-08T16:30:23.650Z] Avoid second fetch [2022-11-08T16:30:23.651Z] Checking out Revision 251be81c94d6bf2c69d06494166ea5d98cfe24ab (main) [2022-11-08T16:30:24.115Z] Commit message: "build: Update to use released SDK (#391)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T16:30:23.671Z] > git config core.sparsecheckout # timeout=10 [2022-11-08T16:30:23.690Z] > git checkout -f 251be81c94d6bf2c69d06494166ea5d98cfe24ab # timeout=10 [2022-11-08T16:30:24.986Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-08T16:30:24.987Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-08T16:30:24.987Z] Dload Upload Total Spent Left Speed [2022-11-08T16:30:24.987Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 65 12602 65 8259 0 0 49753 0 --:--:-- --:--:-- --:--:-- 49455 100 12602 100 12602 0 0 75011 0 --:--:-- --:--:-- --:--:-- 74568 [Pipeline] sh [2022-11-08T16:30:25.617Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-08T16:30:25.942Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-08T16:30:25.943Z] + sudo tee /etc/docker/daemon.new [2022-11-08T16:30:25.943Z] { [2022-11-08T16:30:25.943Z] "registry-mirrors": [ [2022-11-08T16:30:25.943Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-08T16:30:25.943Z] ], [2022-11-08T16:30:25.943Z] "bip": "10.250.0.254/24", [2022-11-08T16:30:25.943Z] "hosts": [ [2022-11-08T16:30:25.943Z] "tcp://0.0.0.0:5555", [2022-11-08T16:30:25.943Z] "unix:///var/run/docker.sock" [2022-11-08T16:30:25.943Z] ], [2022-11-08T16:30:25.943Z] "mtu": 1458, [2022-11-08T16:30:25.943Z] "selinux-enabled": true, [2022-11-08T16:30:25.943Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-08T16:30:25.943Z] } [Pipeline] sh [2022-11-08T16:30:26.268Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-08T16:30:26.607Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T16:30:44.884Z] provisioning config files... [2022-11-08T16:30:44.906Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/65@tmp/config2139024580476388336tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:30:45.253Z] ---> docker-login.sh [2022-11-08T16:30:45.253Z] nexus3.edgexfoundry.org:10001 [2022-11-08T16:30:45.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:30:45.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:30:45.849Z] Configure a credential helper to remove this warning. See [2022-11-08T16:30:45.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:30:45.849Z] [2022-11-08T16:30:45.849Z] Login Succeeded [2022-11-08T16:30:45.849Z] nexus3.edgexfoundry.org:10002 [2022-11-08T16:30:46.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:30:46.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:30:46.119Z] Configure a credential helper to remove this warning. See [2022-11-08T16:30:46.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:30:46.119Z] [2022-11-08T16:30:46.119Z] Login Succeeded [2022-11-08T16:30:46.119Z] nexus3.edgexfoundry.org:10003 [2022-11-08T16:30:46.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:30:46.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:30:46.663Z] Configure a credential helper to remove this warning. See [2022-11-08T16:30:46.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:30:46.663Z] [2022-11-08T16:30:46.663Z] Login Succeeded [2022-11-08T16:30:46.663Z] nexus3.edgexfoundry.org:10004 [2022-11-08T16:30:46.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:30:46.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:30:46.934Z] Configure a credential helper to remove this warning. See [2022-11-08T16:30:46.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:30:46.934Z] [2022-11-08T16:30:46.934Z] Login Succeeded [2022-11-08T16:30:46.934Z] docker.io [2022-11-08T16:30:47.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:30:47.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:30:47.788Z] Configure a credential helper to remove this warning. See [2022-11-08T16:30:47.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:30:47.788Z] [2022-11-08T16:30:47.788Z] Login Succeeded [2022-11-08T16:30:47.788Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T16:30:47.802Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-08T16:30:47.956Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T16:30:47.969Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T16:30:47.979Z] ========================================================= [2022-11-08T16:30:47.979Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-08T16:30:47.979Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:30:48.330Z] + 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 . [2022-11-08T16:30:48.622Z] Sending build context to Docker daemon 3.251MB [2022-11-08T16:30:48.622Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T16:30:48.622Z] Step 2/10 : FROM ${BASE} AS builder [2022-11-08T16:30:48.893Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-08T16:30:48.893Z] 9b18e9b68314: Pulling fs layer [2022-11-08T16:30:48.893Z] 35d82f9e3411: Pulling fs layer [2022-11-08T16:30:48.893Z] e16973657156: Pulling fs layer [2022-11-08T16:30:48.893Z] fc693d55d65f: Pulling fs layer [2022-11-08T16:30:48.893Z] 7e9fc2657dce: Pulling fs layer [2022-11-08T16:30:48.893Z] dda99020689f: Pulling fs layer [2022-11-08T16:30:48.893Z] db1c61fa0a46: Pulling fs layer [2022-11-08T16:30:48.893Z] 891c053d2c06: Pulling fs layer [2022-11-08T16:30:48.893Z] dda99020689f: Waiting [2022-11-08T16:30:48.893Z] db1c61fa0a46: Waiting [2022-11-08T16:30:48.893Z] 891c053d2c06: Waiting [2022-11-08T16:30:48.893Z] fc693d55d65f: Waiting [2022-11-08T16:30:48.893Z] 7e9fc2657dce: Waiting [2022-11-08T16:30:48.893Z] e16973657156: Download complete [2022-11-08T16:30:48.893Z] 35d82f9e3411: Verifying Checksum [2022-11-08T16:30:48.893Z] 35d82f9e3411: Download complete [2022-11-08T16:30:48.893Z] 7e9fc2657dce: Verifying Checksum [2022-11-08T16:30:48.893Z] 7e9fc2657dce: Download complete [2022-11-08T16:30:48.893Z] dda99020689f: Verifying Checksum [2022-11-08T16:30:48.893Z] dda99020689f: Download complete [2022-11-08T16:30:48.893Z] 9b18e9b68314: Verifying Checksum [2022-11-08T16:30:49.857Z] 9b18e9b68314: Pull complete [2022-11-08T16:30:49.857Z] 891c053d2c06: Verifying Checksum [2022-11-08T16:30:49.857Z] 891c053d2c06: Download complete [2022-11-08T16:30:50.456Z] 35d82f9e3411: Pull complete [2022-11-08T16:30:50.752Z] e16973657156: Pull complete [2022-11-08T16:30:51.346Z] db1c61fa0a46: Download complete [2022-11-08T16:30:51.934Z] fc693d55d65f: Verifying Checksum [2022-11-08T16:30:51.934Z] fc693d55d65f: Download complete [2022-11-08T16:31:04.296Z] fc693d55d65f: Pull complete [2022-11-08T16:31:04.296Z] 7e9fc2657dce: Pull complete [2022-11-08T16:31:04.296Z] dda99020689f: Pull complete [2022-11-08T16:31:10.968Z] db1c61fa0a46: Pull complete [2022-11-08T16:31:12.392Z] 891c053d2c06: Pull complete [2022-11-08T16:31:12.664Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-08T16:31:12.664Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-08T16:31:12.664Z] ---> f96f9c87975a [2022-11-08T16:31:12.664Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2022-11-08T16:31:14.633Z] ---> Running in 913b54100837 [2022-11-08T16:31:14.903Z] Removing intermediate container 913b54100837 [2022-11-08T16:31:14.903Z] ---> 04eaed499fd4 [2022-11-08T16:31:14.903Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T16:31:14.903Z] ---> Running in 59d831e309f5 [2022-11-08T16:31:15.235Z] Removing intermediate container 59d831e309f5 [2022-11-08T16:31:15.235Z] ---> 18ba48e17835 [2022-11-08T16:31:15.235Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-11-08T16:31:15.530Z] ---> Running in 3d491b17c3db [2022-11-08T16:31:16.525Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T16:31:17.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T16:31:18.076Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-11-08T16:31:18.076Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-11-08T16:31:18.076Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-11-08T16:31:18.076Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-11-08T16:31:18.076Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-11-08T16:31:18.076Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-11-08T16:31:18.076Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-11-08T16:31:18.076Z] (8/8) Installing openssh (9.0_p1-r2) [2022-11-08T16:31:18.076Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T16:31:18.076Z] OK: 228 MiB in 59 packages [2022-11-08T16:31:19.491Z] Removing intermediate container 3d491b17c3db [2022-11-08T16:31:19.491Z] ---> 2aeb3f6320ad [2022-11-08T16:31:19.491Z] Step 6/10 : WORKDIR /device-modbus-go [2022-11-08T16:31:19.491Z] ---> Running in e6399e2da1b2 [2022-11-08T16:31:19.760Z] Removing intermediate container e6399e2da1b2 [2022-11-08T16:31:19.760Z] ---> 572516e68521 [2022-11-08T16:31:19.760Z] Step 7/10 : COPY go.mod vendor* ./ [2022-11-08T16:31:20.345Z] ---> e6d84412c8f7 [2022-11-08T16:31:20.345Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T16:31:20.345Z] ---> Running in dd346448c3e5 [2022-11-08T16:32:16.767Z] Removing intermediate container dd346448c3e5 [2022-11-08T16:32:16.767Z] ---> 97f3cc5d851e [2022-11-08T16:32:16.767Z] Step 9/10 : COPY . . [2022-11-08T16:32:16.767Z] ---> 9a58a4a611ce [2022-11-08T16:32:16.767Z] Step 10/10 : RUN ${MAKE} [2022-11-08T16:32:16.767Z] ---> Running in 9f4836b55232 [2022-11-08T16:32:16.767Z] noop [2022-11-08T16:32:16.767Z] Removing intermediate container 9f4836b55232 [2022-11-08T16:32:16.767Z] ---> 1431fd4b803e [2022-11-08T16:32:16.767Z] Successfully built 1431fd4b803e [2022-11-08T16:32:16.767Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:32:17.131Z] + docker inspect -f . ci-base-image-arm64 [2022-11-08T16:32:17.131Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:32:17.341Z] prd-ubuntu20.04-docker-arm64-4c-16g-118631 does not seem to be running inside a container [2022-11-08T16:32:17.452Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/65 -v /w/workspace/device-modbus-go/65:/w/workspace/device-modbus-go/65:rw,z -v /w/workspace/device-modbus-go/65@tmp:/w/workspace/device-modbus-go/65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-08T16:32:18.877Z] $ docker top 3c01d3567573a0e963666360b2b0a39eb1f6e43a8b459fedb2c2433bb334e5bc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T16:32:19.763Z] + go version [2022-11-08T16:32:19.763Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-08T16:32:19.788Z] $ docker stop --time=1 3c01d3567573a0e963666360b2b0a39eb1f6e43a8b459fedb2c2433bb334e5bc [2022-11-08T16:32:21.523Z] $ docker rm -f 3c01d3567573a0e963666360b2b0a39eb1f6e43a8b459fedb2c2433bb334e5bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:32:22.096Z] + docker inspect -f . ci-base-image-arm64 [2022-11-08T16:32:22.096Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:32:22.302Z] prd-ubuntu20.04-docker-arm64-4c-16g-118631 does not seem to be running inside a container [2022-11-08T16:32:22.392Z] $ 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/65 -v /w/workspace/device-modbus-go/65:/w/workspace/device-modbus-go/65:rw,z -v /w/workspace/device-modbus-go/65@tmp:/w/workspace/device-modbus-go/65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-08T16:32:23.768Z] $ docker top fe18d137a6cedefa5404dcc3358cc88cc320e0ef6ef5a53ab7e7714cb64c869c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T16:32:24.628Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/65 [Pipeline] fileExists [Pipeline] sh [2022-11-08T16:32:25.285Z] + make test [2022-11-08T16:32:25.285Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-08T16:32:27.232Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-11-08T16:34:03.953Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-11-08T16:34:03.953Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.068s coverage: 47.7% of statements [2022-11-08T16:34:03.953Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-08T16:34:03.953Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-08T16:34:30.673Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-08T16:34:30.673Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-08T16:34:30.673Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-08T16:34:30.692Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-08T16:34:30.706Z] $ docker stop --time=1 fe18d137a6cedefa5404dcc3358cc88cc320e0ef6ef5a53ab7e7714cb64c869c [2022-11-08T16:34:32.552Z] $ docker rm -f fe18d137a6cedefa5404dcc3358cc88cc320e0ef6ef5a53ab7e7714cb64c869c [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T16:34:33.577Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-08T16:34:33.608Z] Warning: overwriting stash ‘coverage-report’ [2022-11-08T16:34:34.204Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T16:34:34.583Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-08T16:34:34.933Z] + ls -al . [2022-11-08T16:34:34.933Z] total 192 [2022-11-08T16:34:34.933Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 16:32 . [2022-11-08T16:34:34.933Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:30 .. [2022-11-08T16:34:34.933Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 16:30 .dockerignore [2022-11-08T16:34:34.933Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 16:30 .git [2022-11-08T16:34:34.933Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:30 .github [2022-11-08T16:34:34.933Z] -rw-rw-r-- 1 jenkins jenkins 331 Nov 8 16:30 .gitignore [2022-11-08T16:34:34.933Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 16:30 .golangci.yml [2022-11-08T16:34:34.933Z] -rw-rw-r-- 1 jenkins jenkins 10121 Nov 8 16:30 Attribution.txt [2022-11-08T16:34:34.933Z] -rw-rw-r-- 1 jenkins jenkins 11576 Nov 8 16:30 CHANGELOG.md [2022-11-08T16:34:34.933Z] -rw-rw-r-- 1 jenkins jenkins 1428 Nov 8 16:30 Dockerfile [2022-11-08T16:34:34.933Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 16:30 GOVERNANCE.md [2022-11-08T16:34:34.933Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 8 16:30 Jenkinsfile [2022-11-08T16:34:34.933Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 16:30 LICENSE [2022-11-08T16:34:34.933Z] -rw-rw-r-- 1 jenkins jenkins 2101 Nov 8 16:30 Makefile [2022-11-08T16:34:34.933Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 8 16:30 OWNERS.md [2022-11-08T16:34:34.933Z] -rw-rw-r-- 1 jenkins jenkins 4061 Nov 8 16:30 README.md [2022-11-08T16:34:34.933Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 8 16:28 VERSION [2022-11-08T16:34:34.933Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 16:30 bin [2022-11-08T16:34:34.933Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:30 cmd [2022-11-08T16:34:34.933Z] -rw-r--r-- 1 jenkins jenkins 23241 Nov 8 16:34 coverage.out [2022-11-08T16:34:34.933Z] -rw-rw-r-- 1 jenkins jenkins 3583 Nov 8 16:30 go.mod [2022-11-08T16:34:34.933Z] -rw-rw-r-- 1 jenkins jenkins 45211 Nov 8 16:30 go.sum [2022-11-08T16:34:34.933Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:30 internal [2022-11-08T16:34:34.933Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 16:30 simulator [2022-11-08T16:34:34.933Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:30 snap [2022-11-08T16:34:34.933Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 8 16:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:34:35.308Z] + 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=251be81c94d6bf2c69d06494166ea5d98cfe24ab --label arch=arm64 --label version=2.3.0-dev.25 . [2022-11-08T16:34:35.581Z] Sending build context to Docker daemon 3.275MB [2022-11-08T16:34:35.851Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T16:34:35.852Z] Step 2/22 : FROM ${BASE} AS builder [2022-11-08T16:34:35.852Z] ---> 1431fd4b803e [2022-11-08T16:34:35.852Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2022-11-08T16:34:35.852Z] ---> Running in 1601372af591 [2022-11-08T16:34:36.123Z] Removing intermediate container 1601372af591 [2022-11-08T16:34:36.123Z] ---> a2abc34f5377 [2022-11-08T16:34:36.123Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T16:34:36.395Z] ---> Running in 20f43b907117 [2022-11-08T16:34:36.665Z] Removing intermediate container 20f43b907117 [2022-11-08T16:34:36.665Z] ---> ec9176dfbf72 [2022-11-08T16:34:36.665Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-11-08T16:34:36.936Z] ---> Running in 9b65cbd796b6 [2022-11-08T16:34:37.912Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T16:34:38.507Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T16:34:39.931Z] OK: 228 MiB in 59 packages [2022-11-08T16:34:40.985Z] Removing intermediate container 9b65cbd796b6 [2022-11-08T16:34:40.985Z] ---> ab8c15f5be65 [2022-11-08T16:34:40.985Z] Step 6/22 : WORKDIR /device-modbus-go [2022-11-08T16:34:40.985Z] ---> Running in a7f0feadeec4 [2022-11-08T16:34:41.588Z] Removing intermediate container a7f0feadeec4 [2022-11-08T16:34:41.588Z] ---> bace7647f0bc [2022-11-08T16:34:41.588Z] Step 7/22 : COPY go.mod vendor* ./ [2022-11-08T16:34:44.196Z] ---> d90b7c6b0a21 [2022-11-08T16:34:44.196Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T16:34:44.196Z] ---> Running in 4ad3f0d861fc [2022-11-08T16:34:46.180Z] Removing intermediate container 4ad3f0d861fc [2022-11-08T16:34:46.180Z] ---> de5e7ed0faf2 [2022-11-08T16:34:46.180Z] Step 9/22 : COPY . . [2022-11-08T16:34:47.608Z] ---> d1370d0ddbd2 [2022-11-08T16:34:47.608Z] Step 10/22 : RUN ${MAKE} [2022-11-08T16:34:47.608Z] ---> Running in fe6de51cc3d0 [2022-11-08T16:34:48.586Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.25" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-11-08T16:37:55.411Z] Removing intermediate container fe6de51cc3d0 [2022-11-08T16:37:55.411Z] ---> aec3e69131cb [2022-11-08T16:37:55.411Z] Step 11/22 : FROM alpine:3.14 [2022-11-08T16:37:55.411Z] 3.14: Pulling from library/alpine [2022-11-08T16:37:55.411Z] 90cda3b7c325: Pulling fs layer [2022-11-08T16:37:55.411Z] 90cda3b7c325: Verifying Checksum [2022-11-08T16:37:55.411Z] 90cda3b7c325: Download complete [2022-11-08T16:37:55.411Z] 90cda3b7c325: Pull complete [2022-11-08T16:37:55.411Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-11-08T16:37:55.411Z] Status: Downloaded newer image for alpine:3.14 [2022-11-08T16:37:55.411Z] ---> 376ba31ae3da [2022-11-08T16:37:55.411Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-11-08T16:37:55.411Z] ---> Running in 7d58b17aa92a [2022-11-08T16:37:55.411Z] Removing intermediate container 7d58b17aa92a [2022-11-08T16:37:55.411Z] ---> c71e4da487e3 [2022-11-08T16:37:55.411Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-08T16:37:55.411Z] ---> Running in c1475fd8d88d [2022-11-08T16:37:55.411Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-11-08T16:37:55.411Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-11-08T16:37:55.411Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-08T16:37:55.411Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-11-08T16:37:55.411Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-08T16:37:55.411Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-11-08T16:37:55.411Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-08T16:37:55.411Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-08T16:37:55.411Z] Executing busybox-1.33.1-r8.trigger [2022-11-08T16:37:55.411Z] OK: 8 MiB in 20 packages [2022-11-08T16:37:56.459Z] Removing intermediate container c1475fd8d88d [2022-11-08T16:37:56.459Z] ---> 3e1579471776 [2022-11-08T16:37:56.459Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2022-11-08T16:37:57.926Z] ---> 60d7b2def52e [2022-11-08T16:37:57.926Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2022-11-08T16:37:58.225Z] ---> 66564c08b866 [2022-11-08T16:37:58.225Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-11-08T16:37:58.826Z] ---> 5d660bb30863 [2022-11-08T16:37:58.826Z] Step 17/22 : EXPOSE 59901 [2022-11-08T16:37:59.112Z] ---> Running in 5f2ecd1fdde5 [2022-11-08T16:37:59.388Z] Removing intermediate container 5f2ecd1fdde5 [2022-11-08T16:37:59.388Z] ---> 492aa55f9629 [2022-11-08T16:37:59.388Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2022-11-08T16:37:59.388Z] ---> Running in ec9bdc5b4d0b [2022-11-08T16:37:59.674Z] Removing intermediate container ec9bdc5b4d0b [2022-11-08T16:37:59.674Z] ---> b118344309eb [2022-11-08T16:37:59.674Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-08T16:37:59.941Z] ---> Running in 924e212da29c [2022-11-08T16:38:00.210Z] Removing intermediate container 924e212da29c [2022-11-08T16:38:00.210Z] ---> 3ea17d0525e6 [2022-11-08T16:38:00.210Z] Step 20/22 : LABEL arch=arm64 [2022-11-08T16:38:00.210Z] ---> Running in 7cb30882a06f [2022-11-08T16:38:00.479Z] Removing intermediate container 7cb30882a06f [2022-11-08T16:38:00.479Z] ---> 1a993bd567ab [2022-11-08T16:38:00.479Z] Step 21/22 : LABEL git_sha=251be81c94d6bf2c69d06494166ea5d98cfe24ab [2022-11-08T16:38:00.746Z] ---> Running in 2106e119acae [2022-11-08T16:38:01.013Z] Removing intermediate container 2106e119acae [2022-11-08T16:38:01.013Z] ---> 5e7026c140c5 [2022-11-08T16:38:01.013Z] Step 22/22 : LABEL version=2.3.0-dev.25 [2022-11-08T16:38:01.013Z] ---> Running in 54ee9b030d82 [2022-11-08T16:38:01.283Z] Removing intermediate container 54ee9b030d82 [2022-11-08T16:38:01.283Z] ---> 39b76b54fad0 [2022-11-08T16:38:01.283Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-08T16:38:01.283Z] Successfully built 39b76b54fad0 [2022-11-08T16:38:01.283Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T16:38:01.390Z] provisioning config files... [2022-11-08T16:38:01.405Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/65@tmp/config9944137034783131345tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:38:01.777Z] ---> docker-login.sh [2022-11-08T16:38:01.777Z] nexus3.edgexfoundry.org:10001 [2022-11-08T16:38:02.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:38:02.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:38:02.048Z] Configure a credential helper to remove this warning. See [2022-11-08T16:38:02.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:38:02.048Z] [2022-11-08T16:38:02.048Z] Login Succeeded [2022-11-08T16:38:02.048Z] nexus3.edgexfoundry.org:10002 [2022-11-08T16:38:02.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:38:02.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:38:02.315Z] Configure a credential helper to remove this warning. See [2022-11-08T16:38:02.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:38:02.315Z] [2022-11-08T16:38:02.315Z] Login Succeeded [2022-11-08T16:38:02.582Z] nexus3.edgexfoundry.org:10003 [2022-11-08T16:38:02.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:38:02.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:38:02.858Z] Configure a credential helper to remove this warning. See [2022-11-08T16:38:02.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:38:02.858Z] [2022-11-08T16:38:02.858Z] Login Succeeded [2022-11-08T16:38:02.858Z] nexus3.edgexfoundry.org:10004 [2022-11-08T16:38:03.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:38:03.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:38:03.127Z] Configure a credential helper to remove this warning. See [2022-11-08T16:38:03.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:38:03.127Z] [2022-11-08T16:38:03.127Z] Login Succeeded [2022-11-08T16:38:03.127Z] docker.io [2022-11-08T16:38:03.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:38:03.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:38:03.977Z] Configure a credential helper to remove this warning. See [2022-11-08T16:38:03.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:38:03.977Z] [2022-11-08T16:38:03.977Z] Login Succeeded [2022-11-08T16:38:03.977Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T16:38:03.990Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-08T16:38:04.021Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T16:38:04.042Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2022-11-08T16:38:04.042Z] 251be81c94d6bf2c69d06494166ea5d98cfe24ab [2022-11-08T16:38:04.042Z] latest [2022-11-08T16:38:04.042Z] 2.3.0-dev.25 [2022-11-08T16:38:04.042Z] 251be81c94d6bf2c69d06494166ea5d98cfe24ab-2.3.0-dev.25 [2022-11-08T16:38:04.042Z] main [2022-11-08T16:38:04.042Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:38:04.400Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:251be81c94d6bf2c69d06494166ea5d98cfe24ab [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:38:04.751Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:251be81c94d6bf2c69d06494166ea5d98cfe24ab [2022-11-08T16:38:04.751Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-11-08T16:38:04.751Z] 517594bf645d: Preparing [2022-11-08T16:38:04.751Z] 608f9fd9605f: Preparing [2022-11-08T16:38:04.751Z] ab7394f8603c: Preparing [2022-11-08T16:38:04.751Z] 7f587f46b791: Preparing [2022-11-08T16:38:04.751Z] 28c3ef001483: Preparing [2022-11-08T16:38:04.751Z] 28c3ef001483: Layer already exists [2022-11-08T16:38:05.020Z] 608f9fd9605f: Pushed [2022-11-08T16:38:05.020Z] 517594bf645d: Pushed [2022-11-08T16:38:05.604Z] 7f587f46b791: Pushed [2022-11-08T16:38:09.857Z] ab7394f8603c: Pushed [2022-11-08T16:38:09.857Z] 251be81c94d6bf2c69d06494166ea5d98cfe24ab: digest: sha256:d5873d7e2824dc0b4fcd68f9e7a6ae14ffd69a45125aca47c5b8f8c0f2d589e9 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:38:10.215Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:38:10.560Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-11-08T16:38:10.560Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-11-08T16:38:10.560Z] 517594bf645d: Preparing [2022-11-08T16:38:10.560Z] 608f9fd9605f: Preparing [2022-11-08T16:38:10.560Z] ab7394f8603c: Preparing [2022-11-08T16:38:10.560Z] 7f587f46b791: Preparing [2022-11-08T16:38:10.560Z] 28c3ef001483: Preparing [2022-11-08T16:38:10.560Z] 517594bf645d: Layer already exists [2022-11-08T16:38:10.560Z] 28c3ef001483: Layer already exists [2022-11-08T16:38:10.560Z] 608f9fd9605f: Layer already exists [2022-11-08T16:38:10.560Z] ab7394f8603c: Layer already exists [2022-11-08T16:38:10.560Z] 7f587f46b791: Layer already exists [2022-11-08T16:38:10.830Z] latest: digest: sha256:d5873d7e2824dc0b4fcd68f9e7a6ae14ffd69a45125aca47c5b8f8c0f2d589e9 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:38:11.177Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:38:11.525Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.25 [2022-11-08T16:38:11.525Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-11-08T16:38:11.525Z] 517594bf645d: Preparing [2022-11-08T16:38:11.525Z] 608f9fd9605f: Preparing [2022-11-08T16:38:11.525Z] ab7394f8603c: Preparing [2022-11-08T16:38:11.525Z] 7f587f46b791: Preparing [2022-11-08T16:38:11.525Z] 28c3ef001483: Preparing [2022-11-08T16:38:11.525Z] ab7394f8603c: Layer already exists [2022-11-08T16:38:11.525Z] 608f9fd9605f: Layer already exists [2022-11-08T16:38:11.525Z] 28c3ef001483: Layer already exists [2022-11-08T16:38:11.525Z] 517594bf645d: Layer already exists [2022-11-08T16:38:11.525Z] 7f587f46b791: Layer already exists [2022-11-08T16:38:11.791Z] 2.3.0-dev.25: digest: sha256:d5873d7e2824dc0b4fcd68f9e7a6ae14ffd69a45125aca47c5b8f8c0f2d589e9 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:38:12.140Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:251be81c94d6bf2c69d06494166ea5d98cfe24ab-2.3.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:38:12.480Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:251be81c94d6bf2c69d06494166ea5d98cfe24ab-2.3.0-dev.25 [2022-11-08T16:38:12.480Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-11-08T16:38:12.480Z] 517594bf645d: Preparing [2022-11-08T16:38:12.480Z] 608f9fd9605f: Preparing [2022-11-08T16:38:12.480Z] ab7394f8603c: Preparing [2022-11-08T16:38:12.480Z] 7f587f46b791: Preparing [2022-11-08T16:38:12.480Z] 28c3ef001483: Preparing [2022-11-08T16:38:12.480Z] ab7394f8603c: Layer already exists [2022-11-08T16:38:12.480Z] 7f587f46b791: Layer already exists [2022-11-08T16:38:12.480Z] 28c3ef001483: Layer already exists [2022-11-08T16:38:12.480Z] 517594bf645d: Layer already exists [2022-11-08T16:38:12.480Z] 608f9fd9605f: Layer already exists [2022-11-08T16:38:12.480Z] 251be81c94d6bf2c69d06494166ea5d98cfe24ab-2.3.0-dev.25: digest: sha256:d5873d7e2824dc0b4fcd68f9e7a6ae14ffd69a45125aca47c5b8f8c0f2d589e9 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:38:13.100Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:38:13.444Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2022-11-08T16:38:13.444Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-11-08T16:38:13.444Z] 517594bf645d: Preparing [2022-11-08T16:38:13.444Z] 608f9fd9605f: Preparing [2022-11-08T16:38:13.444Z] ab7394f8603c: Preparing [2022-11-08T16:38:13.444Z] 7f587f46b791: Preparing [2022-11-08T16:38:13.444Z] 28c3ef001483: Preparing [2022-11-08T16:38:13.444Z] ab7394f8603c: Layer already exists [2022-11-08T16:38:13.444Z] 7f587f46b791: Layer already exists [2022-11-08T16:38:13.444Z] 608f9fd9605f: Layer already exists [2022-11-08T16:38:13.444Z] 28c3ef001483: Layer already exists [2022-11-08T16:38:13.444Z] 517594bf645d: Layer already exists [2022-11-08T16:38:13.712Z] main: digest: sha256:d5873d7e2824dc0b4fcd68f9e7a6ae14ffd69a45125aca47c5b8f8c0f2d589e9 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-08T16:38:13.816Z] ===================================================== [Pipeline] echo [2022-11-08T16:38:13.827Z] taggedImages: [2022-11-08T16:38:13.827Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:251be81c94d6bf2c69d06494166ea5d98cfe24ab [2022-11-08T16:38:13.827Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-11-08T16:38:13.827Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.25 [2022-11-08T16:38:13.827Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:251be81c94d6bf2c69d06494166ea5d98cfe24ab-2.3.0-dev.25 [2022-11-08T16:38:13.827Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:38:14.208Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T16:38:14.208Z] [2022-11-08T16:38:14.208Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:38:14.552Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T16:38:14.552Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-08T16:38:14.552Z] 8998bd30e6a1: Pulling fs layer [2022-11-08T16:38:14.552Z] 04944245beec: Pulling fs layer [2022-11-08T16:38:14.552Z] 699f458cf7ca: Pulling fs layer [2022-11-08T16:38:14.552Z] 765212b225bb: Pulling fs layer [2022-11-08T16:38:14.552Z] f23df028b6ca: Pulling fs layer [2022-11-08T16:38:14.552Z] d65c8cfc05b1: Pulling fs layer [2022-11-08T16:38:14.552Z] 2437ff75d9bd: Pulling fs layer [2022-11-08T16:38:14.552Z] f23df028b6ca: Waiting [2022-11-08T16:38:14.552Z] d65c8cfc05b1: Waiting [2022-11-08T16:38:14.552Z] 765212b225bb: Waiting [2022-11-08T16:38:14.552Z] 2437ff75d9bd: Waiting [2022-11-08T16:38:14.831Z] 04944245beec: Verifying Checksum [2022-11-08T16:38:14.831Z] 04944245beec: Download complete [2022-11-08T16:38:14.831Z] 765212b225bb: Verifying Checksum [2022-11-08T16:38:14.831Z] 765212b225bb: Download complete [2022-11-08T16:38:14.831Z] f23df028b6ca: Download complete [2022-11-08T16:38:14.831Z] d65c8cfc05b1: Verifying Checksum [2022-11-08T16:38:14.831Z] d65c8cfc05b1: Download complete [2022-11-08T16:38:15.102Z] 699f458cf7ca: Verifying Checksum [2022-11-08T16:38:15.102Z] 699f458cf7ca: Download complete [2022-11-08T16:38:15.689Z] 8998bd30e6a1: Verifying Checksum [2022-11-08T16:38:15.689Z] 8998bd30e6a1: Download complete [2022-11-08T16:38:17.637Z] 2437ff75d9bd: Verifying Checksum [2022-11-08T16:38:17.637Z] 2437ff75d9bd: Download complete [2022-11-08T16:38:19.579Z] 8998bd30e6a1: Pull complete [2022-11-08T16:38:20.169Z] 04944245beec: Pull complete [2022-11-08T16:38:21.586Z] 699f458cf7ca: Pull complete [2022-11-08T16:38:21.855Z] 765212b225bb: Pull complete [2022-11-08T16:38:22.820Z] f23df028b6ca: Pull complete [2022-11-08T16:38:22.820Z] d65c8cfc05b1: Pull complete [2022-11-08T16:38:37.824Z] 2437ff75d9bd: Pull complete [2022-11-08T16:38:37.824Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-08T16:38:37.824Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T16:38:37.824Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:38:38.020Z] prd-ubuntu20.04-docker-arm64-4c-16g-118631 does not seem to be running inside a container [2022-11-08T16:38:38.105Z] $ 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/65 -v /w/workspace/device-modbus-go/65:/w/workspace/device-modbus-go/65:rw,z -v /w/workspace/device-modbus-go/65@tmp:/w/workspace/device-modbus-go/65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-08T16:38:40.968Z] $ docker top 537239d3246f01ae182e1935db02e8074bbd563e44331cba08c8d998fc6950ce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:38:41.829Z] ---> job-cost.sh [2022-11-08T16:38:41.829Z] lf-activate-venv: SKIPPING [2022-11-08T16:38:41.829Z] INFO: No Stack... [2022-11-08T16:38:42.096Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-08T16:38:43.056Z] INFO: Archiving Costs [Pipeline] sh [2022-11-08T16:38:43.705Z] + cut -d, -f6 [2022-11-08T16:38:43.705Z] + cat /w/workspace/device-modbus-go/65/archives/cost.csv [Pipeline] lock [2022-11-08T16:38:43.751Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-65-stack-cost] [2022-11-08T16:38:43.759Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-65-stack-cost] did not exist. Created. [2022-11-08T16:38:43.760Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-65-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-08T16:38:44.426Z] /w/workspace/device-modbus-go/65@tmp/durable-7623f0dd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-08T16:38:45.090Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-08T16:38:45.113Z] Warning: overwriting stash ‘stack-cost’ [2022-11-08T16:38:45.172Z] Stashed 1 file(s) [Pipeline] } [2022-11-08T16:38:45.180Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-65-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-08T16:38:45.199Z] $ docker stop --time=1 537239d3246f01ae182e1935db02e8074bbd563e44331cba08c8d998fc6950ce [2022-11-08T16:38:46.727Z] $ docker rm -f 537239d3246f01ae182e1935db02e8074bbd563e44331cba08c8d998fc6950ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-11-08T16:38:47.110Z] provisioning config files... [2022-11-08T16:38:47.116Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14990149719951569118tmp [Pipeline] { [Pipeline] sh [2022-11-08T16:38:47.410Z] + set +x [2022-11-08T16:38:47.410Z] + + curlbash -s -s https://codecov.io/bash -- [2022-11-08T16:38:47.410Z] [2022-11-08T16:38:47.410Z] [2022-11-08T16:38:47.410Z] _____ _ [2022-11-08T16:38:47.410Z] / ____| | | [2022-11-08T16:38:47.410Z] | | ___ __| | ___ ___ _____ __ [2022-11-08T16:38:47.410Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-08T16:38:47.410Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-08T16:38:47.410Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-08T16:38:47.410Z] Bash-1.0.6 [2022-11-08T16:38:47.410Z] [2022-11-08T16:38:47.410Z] [2022-11-08T16:38:47.410Z] ==> git version 2.25.1 found [2022-11-08T16:38:47.410Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-11-08T16:38:47.410Z] Release-Date: 2020-01-08 [2022-11-08T16:38:47.410Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-11-08T16:38:47.410Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-08T16:38:47.410Z] ==> Jenkins CI detected. [2022-11-08T16:38:47.410Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2022-11-08T16:38:47.410Z] project root: . [2022-11-08T16:38:47.410Z] --> token set from env [2022-11-08T16:38:47.410Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-08T16:38:47.410Z] ==> Running gcov in . (disable via -X gcov) [2022-11-08T16:38:47.410Z] ==> Python coveragepy not found [2022-11-08T16:38:47.410Z] ==> Searching for coverage reports in: [2022-11-08T16:38:47.410Z] + . [2022-11-08T16:38:47.410Z] -> Found 1 reports [2022-11-08T16:38:47.410Z] ==> Detecting git/mercurial file structure [2022-11-08T16:38:47.410Z] ==> Reading reports [2022-11-08T16:38:47.410Z] + ./coverage.out bytes=23241 [2022-11-08T16:38:47.671Z] ==> Appending adjustments [2022-11-08T16:38:47.671Z] https://docs.codecov.io/docs/fixing-reports [2022-11-08T16:38:47.671Z] + Found adjustments [2022-11-08T16:38:47.671Z] ==> Gzipping contents [2022-11-08T16:38:47.671Z] 4.0K /tmp/codecov.zaUh4X.gz [2022-11-08T16:38:47.671Z] ==> Uploading reports [2022-11-08T16:38:47.671Z] url: https://codecov.io [2022-11-08T16:38:47.671Z] query: branch=main&commit=251be81c94d6bf2c69d06494166ea5d98cfe24ab&build=65&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F65%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-11-08T16:38:47.671Z] -> Pinging Codecov [2022-11-08T16:38:47.671Z] 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=251be81c94d6bf2c69d06494166ea5d98cfe24ab&build=65&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F65%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-11-08T16:38:47.930Z] -> Uploading to [2022-11-08T16:38:47.930Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-08/55DBCA73C666E3227836607328DD7E49/251be81c94d6bf2c69d06494166ea5d98cfe24ab/2055be5d-b561-4dc4-bc6a-08ce69e552d5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221108T163847Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cef2cc5df24171b4d4249dda779b3c95c3c25104468e5e085e52528e625c1cc7 [2022-11-08T16:38:47.930Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-08T16:38:47.930Z] Dload Upload Total Spent Left Speed [2022-11-08T16:38:48.189Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3911 0 0 100 3911 0 18623 --:--:-- --:--:-- --:--:-- 18623 [2022-11-08T16:38:48.189Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/251be81c94d6bf2c69d06494166ea5d98cfe24ab [Pipeline] } [2022-11-08T16:38:48.196Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-11-08T16:38:48.395Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-11-08T16:38:48.406Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:38:48.705Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-11-08T16:38:48.705Z] [2022-11-08T16:38:48.705Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:38:49.002Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-11-08T16:38:49.002Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-11-08T16:38:49.002Z] df9b9388f04a: Pulling fs layer [2022-11-08T16:38:49.002Z] 52dc419b0ee2: Pulling fs layer [2022-11-08T16:38:49.002Z] 25bc292e5bac: Pulling fs layer [2022-11-08T16:38:49.002Z] 114826534d7a: Pulling fs layer [2022-11-08T16:38:49.002Z] 4657fd5d0bcf: Pulling fs layer [2022-11-08T16:38:49.002Z] 6ad1cebc031e: Pulling fs layer [2022-11-08T16:38:49.002Z] 8a3aa393b2d8: Pulling fs layer [2022-11-08T16:38:49.002Z] 4657fd5d0bcf: Waiting [2022-11-08T16:38:49.002Z] 6ad1cebc031e: Waiting [2022-11-08T16:38:49.002Z] 8a3aa393b2d8: Waiting [2022-11-08T16:38:49.002Z] 114826534d7a: Waiting [2022-11-08T16:38:49.002Z] 25bc292e5bac: Verifying Checksum [2022-11-08T16:38:49.002Z] 25bc292e5bac: Download complete [2022-11-08T16:38:49.002Z] 52dc419b0ee2: Verifying Checksum [2022-11-08T16:38:49.002Z] 52dc419b0ee2: Download complete [2022-11-08T16:38:49.002Z] 4657fd5d0bcf: Verifying Checksum [2022-11-08T16:38:49.002Z] 4657fd5d0bcf: Download complete [2022-11-08T16:38:49.002Z] df9b9388f04a: Download complete [2022-11-08T16:38:49.261Z] df9b9388f04a: Pull complete [2022-11-08T16:38:49.261Z] 6ad1cebc031e: Verifying Checksum [2022-11-08T16:38:49.261Z] 6ad1cebc031e: Download complete [2022-11-08T16:38:49.261Z] 52dc419b0ee2: Pull complete [2022-11-08T16:38:49.261Z] 25bc292e5bac: Pull complete [2022-11-08T16:38:49.832Z] 114826534d7a: Verifying Checksum [2022-11-08T16:38:49.832Z] 114826534d7a: Download complete [2022-11-08T16:38:50.089Z] 8a3aa393b2d8: Verifying Checksum [2022-11-08T16:38:50.089Z] 8a3aa393b2d8: Download complete [2022-11-08T16:38:54.275Z] 114826534d7a: Pull complete [2022-11-08T16:38:54.275Z] 4657fd5d0bcf: Pull complete [2022-11-08T16:38:54.275Z] 6ad1cebc031e: Pull complete [2022-11-08T16:38:56.802Z] 8a3aa393b2d8: Pull complete [2022-11-08T16:38:56.802Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-11-08T16:38:56.802Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-11-08T16:38:56.802Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:38:56.871Z] prd-ubuntu20.04-docker-8c-8g-118628 does not seem to be running inside a container [2022-11-08T16:38:56.902Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-11-08T16:38:59.116Z] $ docker top 57af3b617a148b61dd740835b874f6d3c70cd633667bb7d3141f5ab42a3f80c2 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-11-08T16:38:59.179Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2022-11-08T16:38:59.465Z] + set -o pipefail [2022-11-08T16:38:59.465Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2022-11-08T16:39:04.743Z] [2022-11-08T16:39:04.743Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2022-11-08T16:39:04.743Z] [2022-11-08T16:39:04.743Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/99158360-37ae-4471-8d42-001bcccab2e2 [2022-11-08T16:39:04.743Z] [2022-11-08T16:39:04.743Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-11-08T16:39:04.743Z] [2022-11-08T16:39:04.743Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-11-08T16:39:04.743Z] [2022-11-08T16:39:04.743Z] [2022-11-08T16:39:04.743Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2022-11-08T16:39:04.743Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2022-11-08T16:39:04.743Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2022-11-08T16:39:04.755Z] $ docker stop --time=1 57af3b617a148b61dd740835b874f6d3c70cd633667bb7d3141f5ab42a3f80c2 [2022-11-08T16:39:07.392Z] $ docker rm -f 57af3b617a148b61dd740835b874f6d3c70cd633667bb7d3141f5ab42a3f80c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-08T16:39:08.037Z] + git log --format=format:%s -1 251be81c94d6bf2c69d06494166ea5d98cfe24ab [Pipeline] sh [2022-11-08T16:39:08.325Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-08T16:39:08.325Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:39:08.617Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T16:39:08.617Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:39:08.679Z] prd-ubuntu20.04-docker-8c-8g-118628 does not seem to be running inside a container [2022-11-08T16:39:08.710Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-08T16:39:09.140Z] $ docker top 1b4fb7c659bfbfb89e53f485e8b68c43eb9f721a6e4c1ae91e3b21b469af564e -eo pid,comm [2022-11-08T16:39:09.188Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-11-08T16:39:09.188Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-08T16:39:09.226Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T16:39:09.226Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T16:39:09.329Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T16:39:09.334Z] $ docker exec 1b4fb7c659bfbfb89e53f485e8b68c43eb9f721a6e4c1ae91e3b21b469af564e ssh-agent [2022-11-08T16:39:09.428Z] SSH_AUTH_SOCK=/tmp/ssh-88p6oSQDZsQT/agent.31 [2022-11-08T16:39:09.428Z] SSH_AGENT_PID=37 [2022-11-08T16:39:09.433Z] Running ssh-add (command line suppressed) [2022-11-08T16:39:09.537Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15662943244805841949.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15662943244805841949.key) [2022-11-08T16:39:09.546Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T16:39:09.832Z] + git semver tag [2022-11-08T16:39:10.090Z] 2022-11-08 16:39:09,996 [run_tag] DEBUG tag force:False [2022-11-08T16:39:10.090Z] 2022-11-08 16:39:09,996 [check_head_tag] DEBUG check head tag [2022-11-08T16:39:10.090Z] 2022-11-08 16:39:09,997 [execute] INFO git cat-file --batch-check [2022-11-08T16:39:10.090Z] 2022-11-08 16:39:09,997 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-11-08T16:39:10.090Z] 2022-11-08 16:39:10,000 [execute] INFO git cat-file --batch [2022-11-08T16:39:10.090Z] 2022-11-08 16:39:10,000 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-11-08T16:39:10.090Z] 2022-11-08 16:39:10,011 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-11-08T16:39:10.090Z] 2022-11-08 16:39:10,011 [execute] INFO git tag -a v2.3.0-dev.25 -m v2.3.0-dev.25 [2022-11-08T16:39:10.090Z] 2022-11-08 16:39:10,011 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.25', '-m', 'v2.3.0-dev.25'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2022-11-08T16:39:10.090Z] 2022-11-08 16:39:10,016 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-11-08T16:39:10.090Z] 2.3.0-dev.25 [Pipeline] } [2022-11-08T16:39:10.102Z] $ docker exec --env ******** --env ******** 1b4fb7c659bfbfb89e53f485e8b68c43eb9f721a6e4c1ae91e3b21b469af564e ssh-agent -k [2022-11-08T16:39:10.192Z] unset SSH_AUTH_SOCK; [2022-11-08T16:39:10.193Z] unset SSH_AGENT_PID; [2022-11-08T16:39:10.193Z] echo Agent pid 37 killed; [2022-11-08T16:39:10.200Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-08T16:39:10.496Z] + git semver [Pipeline] } [2022-11-08T16:39:10.768Z] $ docker stop --time=1 1b4fb7c659bfbfb89e53f485e8b68c43eb9f721a6e4c1ae91e3b21b469af564e [2022-11-08T16:39:12.089Z] $ docker rm -f 1b4fb7c659bfbfb89e53f485e8b68c43eb9f721a6e4c1ae91e3b21b469af564e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:39:12.453Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-11-08T16:39:12.453Z] [2022-11-08T16:39:12.453Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:39:12.748Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-11-08T16:39:12.748Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-11-08T16:39:12.748Z] ab5ef0e58194: Pulling fs layer [2022-11-08T16:39:12.748Z] 9712f1f96733: Pulling fs layer [2022-11-08T16:39:12.748Z] 63f879dbbcfc: Pulling fs layer [2022-11-08T16:39:12.748Z] 0d9ebad4ef96: Pulling fs layer [2022-11-08T16:39:12.748Z] e9a5061849ea: Pulling fs layer [2022-11-08T16:39:12.748Z] d747dcd14b5f: Pulling fs layer [2022-11-08T16:39:12.748Z] 2de7ff778b66: Pulling fs layer [2022-11-08T16:39:12.748Z] 0d9ebad4ef96: Waiting [2022-11-08T16:39:12.748Z] e9a5061849ea: Waiting [2022-11-08T16:39:12.748Z] d747dcd14b5f: Waiting [2022-11-08T16:39:12.748Z] 2de7ff778b66: Waiting [2022-11-08T16:39:12.748Z] 9712f1f96733: Verifying Checksum [2022-11-08T16:39:12.748Z] 9712f1f96733: Download complete [2022-11-08T16:39:13.320Z] 63f879dbbcfc: Verifying Checksum [2022-11-08T16:39:13.320Z] 63f879dbbcfc: Download complete [2022-11-08T16:39:13.320Z] 0d9ebad4ef96: Verifying Checksum [2022-11-08T16:39:13.320Z] 0d9ebad4ef96: Download complete [2022-11-08T16:39:13.320Z] d747dcd14b5f: Verifying Checksum [2022-11-08T16:39:13.320Z] d747dcd14b5f: Download complete [2022-11-08T16:39:13.320Z] e9a5061849ea: Verifying Checksum [2022-11-08T16:39:13.320Z] e9a5061849ea: Download complete [2022-11-08T16:39:13.320Z] ab5ef0e58194: Verifying Checksum [2022-11-08T16:39:13.320Z] ab5ef0e58194: Download complete [2022-11-08T16:39:13.579Z] 2de7ff778b66: Verifying Checksum [2022-11-08T16:39:13.579Z] 2de7ff778b66: Download complete [2022-11-08T16:39:16.105Z] ab5ef0e58194: Pull complete [2022-11-08T16:39:16.105Z] 9712f1f96733: Pull complete [2022-11-08T16:39:16.671Z] 63f879dbbcfc: Pull complete [2022-11-08T16:39:19.951Z] 0d9ebad4ef96: Pull complete [2022-11-08T16:39:19.951Z] e9a5061849ea: Pull complete [2022-11-08T16:39:19.951Z] d747dcd14b5f: Pull complete [2022-11-08T16:39:21.328Z] 2de7ff778b66: Pull complete [2022-11-08T16:39:21.328Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-11-08T16:39:21.328Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-11-08T16:39:21.328Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:39:21.408Z] prd-ubuntu20.04-docker-8c-8g-118628 does not seem to be running inside a container [2022-11-08T16:39:21.441Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-11-08T16:39:23.825Z] $ docker top 3ac72e25787613fb45a16a5f1dbedca8457acb2b18a7a14e839154f125d461e7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-11-08T16:39:23.895Z] provisioning config files... [2022-11-08T16:39:23.900Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4711758637405671983tmp [2022-11-08T16:39:23.910Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5948577706024007130tmp [2022-11-08T16:39:23.921Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12191129008873355274tmp [Pipeline] { [Pipeline] echo [2022-11-08T16:39:23.937Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:39:24.220Z] ---> sigul-configuration.sh [2022-11-08T16:39:24.220Z] gpg: directory `/root/.gnupg' created [2022-11-08T16:39:24.220Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-11-08T16:39:24.221Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-11-08T16:39:24.221Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-11-08T16:39:24.221Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-11-08T16:39:24.221Z] gpg: CAST5 encrypted data [2022-11-08T16:39:24.221Z] gpg: encrypted with 1 passphrase [2022-11-08T16:39:24.221Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-11-08T16:39:24.508Z] + mkdir /home/jenkins [2022-11-08T16:39:24.508Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-11-08T16:39:24.788Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-11-08T16:39:24.796Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:39:25.080Z] ---> sigul-install.sh [2022-11-08T16:39:25.080Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-11-08T16:39:25.363Z] + git tag --list [2022-11-08T16:39:25.363Z] 0.7.1 [2022-11-08T16:39:25.363Z] v1.0.0 [2022-11-08T16:39:25.363Z] v1.1.0 [2022-11-08T16:39:25.363Z] v1.1.1 [2022-11-08T16:39:25.363Z] v1.2.2 [2022-11-08T16:39:25.363Z] v1.3.0 [2022-11-08T16:39:25.363Z] v1.3.1 [2022-11-08T16:39:25.364Z] v2.0.0 [2022-11-08T16:39:25.364Z] v2.1.0 [2022-11-08T16:39:25.364Z] v2.1.1 [2022-11-08T16:39:25.364Z] v2.1.1-dev.1 [2022-11-08T16:39:25.364Z] v2.1.1-dev.2 [2022-11-08T16:39:25.364Z] v2.1.1-dev.3 [2022-11-08T16:39:25.364Z] v2.2.0 [2022-11-08T16:39:25.364Z] v2.2.1-dev.1 [2022-11-08T16:39:25.364Z] v2.2.1-dev.2 [2022-11-08T16:39:25.364Z] v2.2.1-dev.3 [2022-11-08T16:39:25.364Z] v2.2.1-dev.4 [2022-11-08T16:39:25.364Z] v2.2.1-dev.5 [2022-11-08T16:39:25.364Z] v2.2.1-dev.6 [2022-11-08T16:39:25.364Z] v2.2.1-dev.7 [2022-11-08T16:39:25.364Z] v2.3.0-dev.10 [2022-11-08T16:39:25.364Z] v2.3.0-dev.11 [2022-11-08T16:39:25.364Z] v2.3.0-dev.12 [2022-11-08T16:39:25.364Z] v2.3.0-dev.13 [2022-11-08T16:39:25.364Z] v2.3.0-dev.14 [2022-11-08T16:39:25.364Z] v2.3.0-dev.15 [2022-11-08T16:39:25.364Z] v2.3.0-dev.16 [2022-11-08T16:39:25.364Z] v2.3.0-dev.17 [2022-11-08T16:39:25.364Z] v2.3.0-dev.18 [2022-11-08T16:39:25.364Z] v2.3.0-dev.19 [2022-11-08T16:39:25.364Z] v2.3.0-dev.20 [2022-11-08T16:39:25.364Z] v2.3.0-dev.21 [2022-11-08T16:39:25.364Z] v2.3.0-dev.22 [2022-11-08T16:39:25.364Z] v2.3.0-dev.23 [2022-11-08T16:39:25.364Z] v2.3.0-dev.24 [2022-11-08T16:39:25.364Z] v2.3.0-dev.25 [2022-11-08T16:39:25.364Z] v2.3.0-dev.7 [2022-11-08T16:39:25.364Z] v2.3.0-dev.8 [2022-11-08T16:39:25.364Z] v2.3.0-dev.9 [Pipeline] sh [2022-11-08T16:39:25.649Z] + lftools sign git-tag v2.3.0-dev.25 [2022-11-08T16:39:26.215Z] Signing Git tag with Sigul... [2022-11-08T16:39:26.215Z] Signing v2.3.0-dev.25 [Pipeline] echo [2022-11-08T16:39:26.483Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:39:26.766Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-11-08T16:39:26.773Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-11-08T16:39:26.792Z] $ docker stop --time=1 3ac72e25787613fb45a16a5f1dbedca8457acb2b18a7a14e839154f125d461e7 [2022-11-08T16:39:28.134Z] $ docker rm -f 3ac72e25787613fb45a16a5f1dbedca8457acb2b18a7a14e839154f125d461e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-11-08T16:39:28.540Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-08T16:39:28.540Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:39:28.839Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T16:39:28.839Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:39:28.902Z] prd-ubuntu20.04-docker-8c-8g-118628 does not seem to be running inside a container [2022-11-08T16:39:28.933Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-08T16:39:29.329Z] $ docker top fa00cd8f0b6e49f7fd5ff4eed38d73ddb892031a1406f208e4004fea568124b5 -eo pid,comm [2022-11-08T16:39:29.384Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-11-08T16:39:29.384Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-08T16:39:29.424Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T16:39:29.424Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T16:39:29.548Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T16:39:29.553Z] $ docker exec fa00cd8f0b6e49f7fd5ff4eed38d73ddb892031a1406f208e4004fea568124b5 ssh-agent [2022-11-08T16:39:29.650Z] SSH_AUTH_SOCK=/tmp/ssh-FsyxJZlGBipZ/agent.33 [2022-11-08T16:39:29.650Z] SSH_AGENT_PID=38 [2022-11-08T16:39:29.655Z] Running ssh-add (command line suppressed) [2022-11-08T16:39:29.760Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_568225918081101383.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_568225918081101383.key) [2022-11-08T16:39:29.771Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T16:39:30.057Z] + git semver bump pre [2022-11-08T16:39:30.317Z] 2022-11-08 16:39:30,233 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-11-08T16:39:30.317Z] 2022-11-08 16:39:30,233 [bump_version] DEBUG bumping version:2.3.0-dev.25 on axis:pre with prefix:dev [2022-11-08T16:39:30.317Z] 2022-11-08 16:39:30,233 [bump_version] DEBUG bumped version:2.3.0-dev.26 [2022-11-08T16:39:30.317Z] 2022-11-08 16:39:30,233 [write_version] DEBUG write version:2.3.0-dev.26 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2022-11-08T16:39:30.317Z] 2022-11-08 16:39:30,233 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-11-08T16:39:30.317Z] 2022-11-08 16:39:30,233 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-11-08T16:39:30.317Z] 2022-11-08 16:39:30,235 [execute] INFO git cat-file --batch-check [2022-11-08T16:39:30.317Z] 2022-11-08 16:39:30,235 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-11-08T16:39:30.317Z] 2022-11-08 16:39:30,241 [execute] INFO git cat-file --batch [2022-11-08T16:39:30.317Z] 2022-11-08 16:39:30,241 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-11-08T16:39:30.317Z] 2022-11-08 16:39:30,247 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-11-08T16:39:30.317Z] 2.3.0-dev.26 [Pipeline] } [2022-11-08T16:39:30.328Z] $ docker exec --env ******** --env ******** fa00cd8f0b6e49f7fd5ff4eed38d73ddb892031a1406f208e4004fea568124b5 ssh-agent -k [2022-11-08T16:39:30.435Z] unset SSH_AUTH_SOCK; [2022-11-08T16:39:30.435Z] unset SSH_AGENT_PID; [2022-11-08T16:39:30.435Z] echo Agent pid 38 killed; [2022-11-08T16:39:30.444Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-08T16:39:30.743Z] + git semver [Pipeline] } [2022-11-08T16:39:31.018Z] $ docker stop --time=1 fa00cd8f0b6e49f7fd5ff4eed38d73ddb892031a1406f208e4004fea568124b5 [2022-11-08T16:39:32.310Z] $ docker rm -f fa00cd8f0b6e49f7fd5ff4eed38d73ddb892031a1406f208e4004fea568124b5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T16:39:32.653Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-08T16:39:32.653Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:39:32.952Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T16:39:32.952Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:39:33.022Z] prd-ubuntu20.04-docker-8c-8g-118628 does not seem to be running inside a container [2022-11-08T16:39:33.057Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-08T16:39:33.441Z] $ docker top 2dbf5d3673961f8a9b166714477d627168eac816294ee5d4a6de79dcc1ddf6f0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-08T16:39:33.517Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T16:39:33.517Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T16:39:33.621Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T16:39:33.626Z] $ docker exec 2dbf5d3673961f8a9b166714477d627168eac816294ee5d4a6de79dcc1ddf6f0 ssh-agent [2022-11-08T16:39:33.728Z] SSH_AUTH_SOCK=/tmp/ssh-2XGLh0HhhXcG/agent.32 [2022-11-08T16:39:33.728Z] SSH_AGENT_PID=38 [2022-11-08T16:39:33.732Z] Running ssh-add (command line suppressed) [2022-11-08T16:39:33.842Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9788314469460159556.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9788314469460159556.key) [2022-11-08T16:39:33.852Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T16:39:34.137Z] + git semver push [2022-11-08T16:39:34.396Z] 2022-11-08 16:39:34,314 [run_push] DEBUG push [2022-11-08T16:39:34.396Z] 2022-11-08 16:39:34,314 [execute] INFO git cat-file --batch-check [2022-11-08T16:39:34.396Z] 2022-11-08 16:39:34,315 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-11-08T16:39:34.396Z] 2022-11-08 16:39:34,318 [execute] INFO git rev-list 0b0e0dda27fc30339e7f91c236a349a21e440dac -- [2022-11-08T16:39:34.396Z] 2022-11-08 16:39:34,318 [execute] DEBUG Popen(['git', 'rev-list', '0b0e0dda27fc30339e7f91c236a349a21e440dac', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-11-08T16:39:34.396Z] 2022-11-08 16:39:34,326 [execute] INFO git fetch -v origin [2022-11-08T16:39:34.396Z] 2022-11-08 16:39:34,326 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-11-08T16:39:34.964Z] 2022-11-08 16:39:34,917 [run_push] DEBUG no remote changes detected [2022-11-08T16:39:34.964Z] 2022-11-08 16:39:34,917 [execute] INFO git push origin semver [2022-11-08T16:39:34.964Z] 2022-11-08 16:39:34,918 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-11-08T16:39:35.902Z] 2022-11-08 16:39:35,841 [run_push] DEBUG push all version tags [2022-11-08T16:39:35.902Z] 2022-11-08 16:39:35,841 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-11-08T16:39:35.903Z] 2022-11-08 16:39:35,842 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2022-11-08T16:39:36.841Z] 2022-11-08 16:39:36,693 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-11-08T16:39:36.841Z] 2.3.0-dev.26 [Pipeline] } [2022-11-08T16:39:36.853Z] $ docker exec --env ******** --env ******** 2dbf5d3673961f8a9b166714477d627168eac816294ee5d4a6de79dcc1ddf6f0 ssh-agent -k [2022-11-08T16:39:36.959Z] unset SSH_AUTH_SOCK; [2022-11-08T16:39:36.959Z] unset SSH_AGENT_PID; [2022-11-08T16:39:36.959Z] echo Agent pid 38 killed; [2022-11-08T16:39:36.968Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-08T16:39:37.269Z] + git semver [Pipeline] } [2022-11-08T16:39:37.545Z] $ docker stop --time=1 2dbf5d3673961f8a9b166714477d627168eac816294ee5d4a6de79dcc1ddf6f0 [2022-11-08T16:39:38.866Z] $ docker rm -f 2dbf5d3673961f8a9b166714477d627168eac816294ee5d4a6de79dcc1ddf6f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-11-08T16:39:39.480Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2022-11-08T16:39:39.480Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-11-08T16:39:39.480Z] total 16 [2022-11-08T16:39:39.480Z] drwxr-xr-x 3 root root 4096 Nov 8 16:30 . [2022-11-08T16:39:39.480Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 16:39 .. [2022-11-08T16:39:39.480Z] drwxr-xr-x 2 root root 4096 Nov 8 16:30 cost [2022-11-08T16:39:39.480Z] -rw-r--r-- 1 root root 87 Nov 8 16:30 cost.csv [2022-11-08T16:39:39.480Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-11-08T16:39:39.480Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-11-08T16:39:39.480Z] total 16 [2022-11-08T16:39:39.480Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 16:30 . [2022-11-08T16:39:39.480Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 16:39 .. [2022-11-08T16:39:39.480Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 16:30 cost [2022-11-08T16:39:39.480Z] -rw-r--r-- 1 jenkins jenkins 87 Nov 8 16:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:39:39.818Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:39:40.404Z] ---> package-listing.sh [2022-11-08T16:39:40.404Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-08T16:39:40.404Z] ++ facter osfamily [2022-11-08T16:39:40.663Z] + OS_FAMILY=debian [2022-11-08T16:39:40.664Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2022-11-08T16:39:40.664Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-08T16:39:40.664Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-08T16:39:40.664Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-08T16:39:40.664Z] + PACKAGES=/tmp/packages_start.txt [2022-11-08T16:39:40.664Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-11-08T16:39:40.664Z] + PACKAGES=/tmp/packages_end.txt [2022-11-08T16:39:40.664Z] + case "${OS_FAMILY}" in [2022-11-08T16:39:40.664Z] + dpkg -l [2022-11-08T16:39:40.664Z] + grep '^ii' [2022-11-08T16:39:40.664Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-08T16:39:40.664Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-08T16:39:40.664Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-08T16:39:40.664Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-11-08T16:39:40.664Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2022-11-08T16:39:40.664Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2022-11-08T16:39:40.673Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-08T16:39:40.951Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:39:41.507Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T16:39:41.507Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:39:41.573Z] prd-ubuntu20.04-docker-8c-8g-118628 does not seem to be running inside a container [2022-11-08T16:39:41.605Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-08T16:39:41.853Z] $ docker top 59af045549acc2767d05dfa1dad110b28ea1282100a8911c16f9e13cfc2576fa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T16:39:42.188Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-08T16:39:42.470Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-08T16:39:42.756Z] + ls /var/log/sa-host [2022-11-08T16:39:42.756Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T16:39:42.818Z] provisioning config files... [2022-11-08T16:39:42.826Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10060409134288391192tmp [Pipeline] { [Pipeline] echo [2022-11-08T16:39:42.837Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:39:43.121Z] ---> create-netrc.sh [Pipeline] } [2022-11-08T16:39:43.128Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:39:43.451Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-08T16:39:43.459Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:39:43.743Z] ---> sudo-logs.sh [2022-11-08T16:39:43.743Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-08T16:39:43.773Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:39:44.056Z] ---> job-cost.sh [2022-11-08T16:39:44.056Z] lf-activate-venv: SKIPPING [2022-11-08T16:39:44.056Z] DEBUG: total: 0.2199999988079071 [2022-11-08T16:39:44.056Z] INFO: Retrieving Stack Cost... [2022-11-08T16:39:44.624Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-08T16:39:44.883Z] INFO: Archiving Costs [Pipeline] echo [2022-11-08T16:39:44.894Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:39:45.179Z] ---> logs-deploy.sh [2022-11-08T16:39:45.179Z] lf-activate-venv: SKIPPING [2022-11-08T16:39:45.179Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/65 [2022-11-08T16:39:45.179Z] INFO: archiving workspace using pattern(s): [2022-11-08T16:39:46.117Z] Archives upload complete. [2022-11-08T16:39:46.117Z] INFO: archiving logs to Nexus