Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 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-ssh8308026186720071185.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh882853530496479540.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh15045614358580893385.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh7473406829749815689.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh547330441225501879.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 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-6117 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 (main) Commit message: "refactor!: Change configuration and devices files format to YAML (#445)" > 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 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 # timeout=10 > git rev-list --no-walk 63f56b440389908500f57809a79af5893e194475 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-28T20:53:05.901Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-28T20:53:05.942Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-28T20:53:05.960Z] ========================================================= [2023-03-28T20:53:05.960Z] EdgeX Global Pipelines Version Info [2023-03-28T20:53:05.960Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-28T20:53:06.667Z] ------------------- [2023-03-28T20:53:06.667Z] stable info: [2023-03-28T20:53:06.667Z] ------------------- [2023-03-28T20:53:06.667Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-28T20:53:06.667Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-28T20:53:06.667Z] Message: update stable to v1.0.245 [2023-03-28T20:53:07.239Z] ------------------- [2023-03-28T20:53:07.239Z] experimental info: [2023-03-28T20:53:07.239Z] ------------------- [2023-03-28T20:53:07.239Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-28T20:53:07.239Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-28T20:53:07.239Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-28T20:53:07.414Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-03-28T20:53:07.423Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-03-28T20:53:07.437Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-28T20:53:07.448Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-28T20:53:07.460Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-28T20:53:07.470Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-28T20:53:07.478Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-28T20:53:07.487Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-28T20:53:07.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-28T20:53:07.514Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-28T20:53:07.525Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-28T20:53:07.537Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-03-28T20:53:07.549Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-28T20:53:07.558Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-28T20:53:07.576Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-28T20:53:07.590Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-28T20:53:07.604Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-28T20:53:07.614Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-28T20:53:07.629Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-28T20:53:07.647Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-28T20:53:07.663Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-28T20:53:07.673Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-28T20:53:07.687Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-28T20:53:07.698Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-28T20:53:07.709Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-28T20:53:07.721Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-28T20:53:07.732Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-28T20:53:07.747Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-03-28T20:53:07.761Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-03-28T20:53:07.777Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-03-28T20:53:07.794Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 [Pipeline] echo [2023-03-28T20:53:07.804Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 053db68 [Pipeline] echo [2023-03-28T20:53:07.816Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-28T20:53:07.868Z] provisioning config files... [2023-03-28T20:53:07.881Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9126513142163446977tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-28T20:53:08.184Z] ---> docker-login.sh [2023-03-28T20:53:08.184Z] nexus3.edgexfoundry.org:10001 [2023-03-28T20:53:08.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T20:53:08.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T20:53:08.704Z] Configure a credential helper to remove this warning. See [2023-03-28T20:53:08.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T20:53:08.704Z] [2023-03-28T20:53:08.704Z] Login Succeeded [2023-03-28T20:53:08.704Z] nexus3.edgexfoundry.org:10002 [2023-03-28T20:53:08.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T20:53:08.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T20:53:08.704Z] Configure a credential helper to remove this warning. See [2023-03-28T20:53:08.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T20:53:08.704Z] [2023-03-28T20:53:08.704Z] Login Succeeded [2023-03-28T20:53:08.704Z] nexus3.edgexfoundry.org:10003 [2023-03-28T20:53:08.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T20:53:08.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T20:53:08.704Z] Configure a credential helper to remove this warning. See [2023-03-28T20:53:08.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T20:53:08.704Z] [2023-03-28T20:53:08.704Z] Login Succeeded [2023-03-28T20:53:08.704Z] nexus3.edgexfoundry.org:10004 [2023-03-28T20:53:08.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T20:53:08.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T20:53:08.964Z] Configure a credential helper to remove this warning. See [2023-03-28T20:53:08.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T20:53:08.964Z] [2023-03-28T20:53:08.964Z] Login Succeeded [2023-03-28T20:53:08.964Z] docker.io [2023-03-28T20:53:08.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T20:53:09.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T20:53:09.225Z] Configure a credential helper to remove this warning. See [2023-03-28T20:53:09.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T20:53:09.225Z] [2023-03-28T20:53:09.225Z] Login Succeeded [2023-03-28T20:53:09.225Z] ---> docker-login.sh ends [Pipeline] } [2023-03-28T20:53:09.233Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-28T20:53:09.612Z] + git rev-list -1 --merges 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9~1..053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 [Pipeline] echo [2023-03-28T20:53:09.658Z] -----------> git rev-list -1 --merges 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9~1..053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 [false] [Pipeline] sh [2023-03-28T20:53:09.950Z] + git log --format=format:%s -1 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 [Pipeline] echo [2023-03-28T20:53:09.968Z] ========================================================= [2023-03-28T20:53:09.968Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-28T20:53:09.968Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-28T20:53:10.317Z] + git log --format=format:%s -1 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 [Pipeline] echo [2023-03-28T20:53:10.328Z] [semverPrep] GIT_COMMIT: 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9, Commit Message: refactor!: Change configuration and devices files format to YAML (#445) [Pipeline] echo [2023-03-28T20:53:10.336Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-28T20:53:10.695Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-28T20:53:10.695Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-28T20:53:10.695Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-28T20:53:10.695Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-28T20:53:10.695Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-28T20:53:10.695Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-28T20:53:10.695Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T20:53:11.097Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-28T20:53:11.097Z] [2023-03-28T20:53:11.097Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T20:53:11.399Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-28T20:53:11.399Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-28T20:53:11.399Z] b85a868b505f: Pulling fs layer [2023-03-28T20:53:11.399Z] e2be974225ed: Pulling fs layer [2023-03-28T20:53:11.399Z] 339a4e72a1f5: Pulling fs layer [2023-03-28T20:53:11.399Z] 988bab9f4d93: Pulling fs layer [2023-03-28T20:53:11.399Z] 1469e6f7b9e6: Pulling fs layer [2023-03-28T20:53:11.399Z] eaf3925da568: Pulling fs layer [2023-03-28T20:53:11.399Z] bab4dde63d76: Pulling fs layer [2023-03-28T20:53:11.399Z] bde34c3a00c8: Pulling fs layer [2023-03-28T20:53:11.399Z] b352a97aabf1: Pulling fs layer [2023-03-28T20:53:11.399Z] 4872d77fe225: Pulling fs layer [2023-03-28T20:53:11.399Z] 5851b861e8e6: Pulling fs layer [2023-03-28T20:53:11.399Z] 988bab9f4d93: Waiting [2023-03-28T20:53:11.399Z] 1469e6f7b9e6: Waiting [2023-03-28T20:53:11.399Z] bab4dde63d76: Waiting [2023-03-28T20:53:11.399Z] bde34c3a00c8: Waiting [2023-03-28T20:53:11.399Z] b352a97aabf1: Waiting [2023-03-28T20:53:11.399Z] eaf3925da568: Waiting [2023-03-28T20:53:11.399Z] 4872d77fe225: Waiting [2023-03-28T20:53:11.399Z] 5851b861e8e6: Waiting [2023-03-28T20:53:11.399Z] e2be974225ed: Verifying Checksum [2023-03-28T20:53:11.399Z] e2be974225ed: Download complete [2023-03-28T20:53:11.399Z] 988bab9f4d93: Verifying Checksum [2023-03-28T20:53:11.399Z] 988bab9f4d93: Download complete [2023-03-28T20:53:11.399Z] 1469e6f7b9e6: Verifying Checksum [2023-03-28T20:53:11.399Z] 1469e6f7b9e6: Download complete [2023-03-28T20:53:11.399Z] 339a4e72a1f5: Verifying Checksum [2023-03-28T20:53:11.399Z] 339a4e72a1f5: Download complete [2023-03-28T20:53:11.399Z] eaf3925da568: Verifying Checksum [2023-03-28T20:53:11.399Z] eaf3925da568: Download complete [2023-03-28T20:53:11.399Z] bde34c3a00c8: Download complete [2023-03-28T20:53:11.659Z] b352a97aabf1: Download complete [2023-03-28T20:53:11.660Z] 4872d77fe225: Verifying Checksum [2023-03-28T20:53:11.660Z] 4872d77fe225: Download complete [2023-03-28T20:53:11.660Z] 5851b861e8e6: Verifying Checksum [2023-03-28T20:53:11.660Z] 5851b861e8e6: Download complete [2023-03-28T20:53:11.660Z] b85a868b505f: Verifying Checksum [2023-03-28T20:53:11.660Z] b85a868b505f: Download complete [2023-03-28T20:53:11.924Z] bab4dde63d76: Verifying Checksum [2023-03-28T20:53:11.924Z] bab4dde63d76: Download complete [2023-03-28T20:53:12.874Z] b85a868b505f: Pull complete [2023-03-28T20:53:12.874Z] e2be974225ed: Pull complete [2023-03-28T20:53:13.443Z] 339a4e72a1f5: Pull complete [2023-03-28T20:53:13.443Z] 988bab9f4d93: Pull complete [2023-03-28T20:53:13.703Z] 1469e6f7b9e6: Pull complete [2023-03-28T20:53:13.703Z] eaf3925da568: Pull complete [2023-03-28T20:53:15.615Z] bab4dde63d76: Pull complete [2023-03-28T20:53:15.615Z] bde34c3a00c8: Pull complete [2023-03-28T20:53:15.615Z] b352a97aabf1: Pull complete [2023-03-28T20:53:15.615Z] 4872d77fe225: Pull complete [2023-03-28T20:53:15.615Z] 5851b861e8e6: Pull complete [2023-03-28T20:53:15.876Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-28T20:53:15.876Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-28T20:53:15.876Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T20:53:15.972Z] prd-ubuntu20.04-docker-8c-8g-6117 does not seem to be running inside a container [2023-03-28T20:53:16.004Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-28T20:53:17.435Z] $ docker top afefb2e3d2f20c9a2e05ef54cb9daeb9aa2974301e50806023a7f31191adbd97 -eo pid,comm [2023-03-28T20:53:17.498Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-28T20:53:17.498Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-28T20:53:17.546Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-28T20:53:17.546Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-28T20:53:17.673Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-28T20:53:17.673Z] $ docker exec afefb2e3d2f20c9a2e05ef54cb9daeb9aa2974301e50806023a7f31191adbd97 ssh-agent [2023-03-28T20:53:17.779Z] SSH_AUTH_SOCK=/tmp/ssh-vFmvBpz9wWYo/agent.33 [2023-03-28T20:53:17.779Z] SSH_AGENT_PID=39 [2023-03-28T20:53:17.786Z] Running ssh-add (command line suppressed) [2023-03-28T20:53:17.888Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15863716719105713479.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15863716719105713479.key) [2023-03-28T20:53:17.906Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-28T20:53:18.197Z] + git tag --points-at HEAD [Pipeline] } [2023-03-28T20:53:18.207Z] $ docker exec --env ******** --env ******** afefb2e3d2f20c9a2e05ef54cb9daeb9aa2974301e50806023a7f31191adbd97 ssh-agent -k [2023-03-28T20:53:18.310Z] unset SSH_AUTH_SOCK; [2023-03-28T20:53:18.311Z] unset SSH_AGENT_PID; [2023-03-28T20:53:18.311Z] echo Agent pid 39 killed; [2023-03-28T20:53:18.324Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-28T20:53:18.356Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-28T20:53:18.356Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-28T20:53:18.465Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-28T20:53:18.464Z] $ docker exec afefb2e3d2f20c9a2e05ef54cb9daeb9aa2974301e50806023a7f31191adbd97 ssh-agent [2023-03-28T20:53:18.567Z] SSH_AUTH_SOCK=/tmp/ssh-oxHqzKGzyDUb/agent.71 [2023-03-28T20:53:18.568Z] SSH_AGENT_PID=77 [2023-03-28T20:53:18.572Z] Running ssh-add (command line suppressed) [2023-03-28T20:53:18.666Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10633505604376569491.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10633505604376569491.key) [2023-03-28T20:53:18.684Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-28T20:53:18.973Z] + git semver init [2023-03-28T20:53:19.232Z] 2023-03-28 20:53:19,166 [run_init] DEBUG init version:0.0.0 force:False [2023-03-28T20:53:19.232Z] 2023-03-28 20:53:19,169 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-03-28T20:53:19.232Z] 2023-03-28 20:53:19,170 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-03-28T20:53:19.232Z] 2023-03-28 20:53:19,170 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-03-28T20:53:20.173Z] 2023-03-28 20:53:19,958 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-03-28T20:53:20.173Z] 2023-03-28 20:53:19,958 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-03-28T20:53:20.173Z] 2023-03-28 20:53:19,959 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-28T20:53:20.173Z] 2023-03-28 20:53:19,959 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-28T20:53:20.173Z] 3.0.0-dev.23 [Pipeline] } [2023-03-28T20:53:20.182Z] $ docker exec --env ******** --env ******** afefb2e3d2f20c9a2e05ef54cb9daeb9aa2974301e50806023a7f31191adbd97 ssh-agent -k [2023-03-28T20:53:20.287Z] unset SSH_AUTH_SOCK; [2023-03-28T20:53:20.288Z] unset SSH_AGENT_PID; [2023-03-28T20:53:20.288Z] echo Agent pid 77 killed; [2023-03-28T20:53:20.299Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-28T20:53:20.609Z] + git semver [Pipeline] } [2023-03-28T20:53:20.880Z] $ docker stop --time=1 afefb2e3d2f20c9a2e05ef54cb9daeb9aa2974301e50806023a7f31191adbd97 [2023-03-28T20:53:22.184Z] $ docker rm -f --volumes afefb2e3d2f20c9a2e05ef54cb9daeb9aa2974301e50806023a7f31191adbd97 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-28T20:53:22.529Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-28T20:53:22.738Z] Stashed 1 file(s) [Pipeline] echo [2023-03-28T20:53:22.741Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.23 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-28T20:53:22.897Z] provisioning config files... [2023-03-28T20:53:22.907Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6766225962147146739tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-28T20:53:23.203Z] ---> docker-login.sh [2023-03-28T20:53:23.203Z] nexus3.edgexfoundry.org:10001 [2023-03-28T20:53:23.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T20:53:23.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T20:53:23.203Z] Configure a credential helper to remove this warning. See [2023-03-28T20:53:23.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T20:53:23.203Z] [2023-03-28T20:53:23.203Z] Login Succeeded [2023-03-28T20:53:23.203Z] nexus3.edgexfoundry.org:10002 [2023-03-28T20:53:23.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T20:53:23.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T20:53:23.203Z] Configure a credential helper to remove this warning. See [2023-03-28T20:53:23.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T20:53:23.203Z] [2023-03-28T20:53:23.203Z] Login Succeeded [2023-03-28T20:53:23.203Z] nexus3.edgexfoundry.org:10003 [2023-03-28T20:53:23.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T20:53:23.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T20:53:23.463Z] Configure a credential helper to remove this warning. See [2023-03-28T20:53:23.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T20:53:23.463Z] [2023-03-28T20:53:23.463Z] Login Succeeded [2023-03-28T20:53:23.463Z] nexus3.edgexfoundry.org:10004 [2023-03-28T20:53:23.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T20:53:23.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T20:53:23.463Z] Configure a credential helper to remove this warning. See [2023-03-28T20:53:23.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T20:53:23.463Z] [2023-03-28T20:53:23.463Z] Login Succeeded [2023-03-28T20:53:23.463Z] docker.io [2023-03-28T20:53:23.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T20:53:23.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T20:53:23.723Z] Configure a credential helper to remove this warning. See [2023-03-28T20:53:23.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T20:53:23.723Z] [2023-03-28T20:53:23.723Z] Login Succeeded [2023-03-28T20:53:23.723Z] ---> docker-login.sh ends [Pipeline] } [2023-03-28T20:53:23.730Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-28T20:53:23.794Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-28T20:53:23.807Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-28T20:53:23.816Z] ========================================================= [2023-03-28T20:53:23.816Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-28T20:53:23.816Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T20:53:24.118Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-28T20:53:24.118Z] Sending build context to Docker daemon 6.402MB [2023-03-28T20:53:24.118Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-28T20:53:24.118Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-28T20:53:24.118Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-28T20:53:24.118Z] 63b65145d645: Pulling fs layer [2023-03-28T20:53:24.118Z] a2d21d5440eb: Pulling fs layer [2023-03-28T20:53:24.118Z] 935e6c44a52c: Pulling fs layer [2023-03-28T20:53:24.118Z] 94cc34f8dd06: Pulling fs layer [2023-03-28T20:53:24.118Z] 30dea6a524f1: Pulling fs layer [2023-03-28T20:53:24.118Z] a2aff8979fd8: Pulling fs layer [2023-03-28T20:53:24.118Z] 6808be2612f2: Pulling fs layer [2023-03-28T20:53:24.118Z] f25807f1079a: Pulling fs layer [2023-03-28T20:53:24.118Z] 94cc34f8dd06: Waiting [2023-03-28T20:53:24.118Z] f25807f1079a: Waiting [2023-03-28T20:53:24.118Z] 6808be2612f2: Waiting [2023-03-28T20:53:24.118Z] 30dea6a524f1: Waiting [2023-03-28T20:53:24.118Z] a2d21d5440eb: Download complete [2023-03-28T20:53:24.118Z] 94cc34f8dd06: Verifying Checksum [2023-03-28T20:53:24.118Z] 94cc34f8dd06: Download complete [2023-03-28T20:53:24.118Z] 30dea6a524f1: Verifying Checksum [2023-03-28T20:53:24.118Z] 30dea6a524f1: Download complete [2023-03-28T20:53:24.118Z] 63b65145d645: Verifying Checksum [2023-03-28T20:53:24.118Z] 63b65145d645: Download complete [2023-03-28T20:53:24.379Z] a2aff8979fd8: Verifying Checksum [2023-03-28T20:53:24.379Z] a2aff8979fd8: Download complete [2023-03-28T20:53:24.379Z] 63b65145d645: Pull complete [2023-03-28T20:53:24.379Z] a2d21d5440eb: Pull complete [2023-03-28T20:53:24.960Z] f25807f1079a: Verifying Checksum [2023-03-28T20:53:24.960Z] f25807f1079a: Download complete [2023-03-28T20:53:24.960Z] 935e6c44a52c: Verifying Checksum [2023-03-28T20:53:24.960Z] 935e6c44a52c: Download complete [2023-03-28T20:53:24.960Z] 6808be2612f2: Verifying Checksum [2023-03-28T20:53:24.960Z] 6808be2612f2: Download complete [2023-03-28T20:53:28.244Z] 935e6c44a52c: Pull complete [2023-03-28T20:53:28.244Z] 94cc34f8dd06: Pull complete [2023-03-28T20:53:28.244Z] 30dea6a524f1: Pull complete [2023-03-28T20:53:28.244Z] a2aff8979fd8: Pull complete [2023-03-28T20:53:30.777Z] 6808be2612f2: Pull complete [2023-03-28T20:53:31.347Z] f25807f1079a: Pull complete [2023-03-28T20:53:31.347Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-28T20:53:31.347Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-28T20:53:31.347Z] ---> 3b553350e43f [2023-03-28T20:53:31.347Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-03-28T20:53:32.740Z] ---> Running in 8df94489ec19 [2023-03-28T20:53:32.740Z] Removing intermediate container 8df94489ec19 [2023-03-28T20:53:32.740Z] ---> 959e30a7204e [2023-03-28T20:53:32.740Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-28T20:53:32.740Z] ---> Running in 542ae0605321 [2023-03-28T20:53:32.740Z] Removing intermediate container 542ae0605321 [2023-03-28T20:53:32.740Z] ---> 12b3dd626acd [2023-03-28T20:53:32.740Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-03-28T20:53:32.999Z] ---> Running in 357da29c57c8 [2023-03-28T20:53:33.259Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-28T20:53:33.259Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-28T20:53:33.519Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-03-28T20:53:33.519Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-03-28T20:53:33.519Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-03-28T20:53:33.519Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-03-28T20:53:33.519Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-03-28T20:53:33.519Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-03-28T20:53:33.519Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-03-28T20:53:33.519Z] (8/8) Installing openssh (9.1_p1-r2) [2023-03-28T20:53:33.519Z] Executing busybox-1.35.0-r29.trigger [2023-03-28T20:53:33.519Z] OK: 270 MiB in 61 packages [2023-03-28T20:53:34.090Z] Removing intermediate container 357da29c57c8 [2023-03-28T20:53:34.090Z] ---> d6d0e569f8c1 [2023-03-28T20:53:34.090Z] Step 6/10 : WORKDIR /device-modbus-go [2023-03-28T20:53:34.090Z] ---> Running in 063b5ff85539 [2023-03-28T20:53:34.354Z] Removing intermediate container 063b5ff85539 [2023-03-28T20:53:34.354Z] ---> 8f03a47a9b41 [2023-03-28T20:53:34.354Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-28T20:53:34.354Z] ---> dd7029538f5a [2023-03-28T20:53:34.354Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-28T20:53:34.354Z] ---> Running in ab6b3e254c98 [2023-03-28T20:53:37.846Z] Still waiting to schedule task [2023-03-28T20:53:37.846Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6107’ is offline [2023-03-28T20:53:56.309Z] Removing intermediate container ab6b3e254c98 [2023-03-28T20:53:56.309Z] ---> 827aafb5ed3f [2023-03-28T20:53:56.309Z] Step 9/10 : COPY . . [2023-03-28T20:53:56.309Z] ---> afcaad78d68d [2023-03-28T20:53:56.309Z] Step 10/10 : RUN ${MAKE} [2023-03-28T20:53:56.309Z] ---> Running in e1f23d27f299 [2023-03-28T20:53:56.309Z] noop [2023-03-28T20:53:56.309Z] Removing intermediate container e1f23d27f299 [2023-03-28T20:53:56.309Z] ---> 2eb480c1706f [2023-03-28T20:53:56.309Z] Successfully built 2eb480c1706f [2023-03-28T20:53:56.309Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T20:53:56.621Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-28T20:53:56.621Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T20:53:56.688Z] prd-ubuntu20.04-docker-8c-8g-6117 does not seem to be running inside a container [2023-03-28T20:53:56.712Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-28T20:53:57.076Z] $ docker top bb5b83dcea92a121c0335bba3e63d65313f9f624758b24c6337a818d5d3fb2cd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-28T20:53:57.414Z] + go version [2023-03-28T20:53:57.414Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-28T20:53:57.423Z] $ docker stop --time=1 bb5b83dcea92a121c0335bba3e63d65313f9f624758b24c6337a818d5d3fb2cd [2023-03-28T20:53:58.724Z] $ docker rm -f --volumes bb5b83dcea92a121c0335bba3e63d65313f9f624758b24c6337a818d5d3fb2cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T20:53:59.127Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-28T20:53:59.127Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T20:53:59.197Z] prd-ubuntu20.04-docker-8c-8g-6117 does not seem to be running inside a container [2023-03-28T20:53:59.225Z] $ 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 ******** ci-base-image-x86_64 cat [2023-03-28T20:53:59.584Z] $ docker top 2865e457cb38c99c44b3c084adf4faf12edc0873b8545c7042b8c0f38e8bbde7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-28T20:53:59.928Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-03-28T20:54:00.228Z] + make test [2023-03-28T20:54:00.228Z] go test ./... -coverprofile=coverage.out [2023-03-28T20:54:05.496Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-03-28T20:54:15.458Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-03-28T20:54:15.458Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 48.0% of statements [2023-03-28T20:54:19.635Z] go vet ./... [2023-03-28T20:54:22.915Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-28T20:54:22.915Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-28T20:54:22.915Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-28T20:54:22.927Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-28T20:54:22.936Z] $ docker stop --time=1 2865e457cb38c99c44b3c084adf4faf12edc0873b8545c7042b8c0f38e8bbde7 [2023-03-28T20:54:24.945Z] $ docker rm -f --volumes 2865e457cb38c99c44b3c084adf4faf12edc0873b8545c7042b8c0f38e8bbde7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-28T20:54:25.402Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-28T20:54:25.442Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-28T20:54:25.931Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-28T20:54:26.210Z] + ls -al . [2023-03-28T20:54:26.210Z] total 180 [2023-03-28T20:54:26.210Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 20:54 . [2023-03-28T20:54:26.210Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 20:53 .. [2023-03-28T20:54:26.210Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 28 20:53 .dockerignore [2023-03-28T20:54:26.210Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 20:53 .git [2023-03-28T20:54:26.210Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:53 .github [2023-03-28T20:54:26.210Z] -rw-rw-r-- 1 jenkins jenkins 331 Mar 28 20:53 .gitignore [2023-03-28T20:54:26.210Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 28 20:53 .golangci.yml [2023-03-28T20:54:26.210Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 20:53 .semver [2023-03-28T20:54:26.210Z] -rw-rw-r-- 1 jenkins jenkins 10004 Mar 28 20:53 Attribution.txt [2023-03-28T20:54:26.210Z] -rw-rw-r-- 1 jenkins jenkins 11576 Mar 28 20:53 CHANGELOG.md [2023-03-28T20:54:26.210Z] -rw-rw-r-- 1 jenkins jenkins 1365 Mar 28 20:53 Dockerfile [2023-03-28T20:54:26.210Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 20:53 GOVERNANCE.md [2023-03-28T20:54:26.210Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 28 20:53 Jenkinsfile [2023-03-28T20:54:26.210Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 20:53 LICENSE [2023-03-28T20:54:26.210Z] -rw-rw-r-- 1 jenkins jenkins 1705 Mar 28 20:53 Makefile [2023-03-28T20:54:26.210Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 28 20:53 OWNERS.md [2023-03-28T20:54:26.210Z] -rw-rw-r-- 1 jenkins jenkins 4045 Mar 28 20:53 README.md [2023-03-28T20:54:26.210Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 28 20:53 VERSION [2023-03-28T20:54:26.210Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:53 bin [2023-03-28T20:54:26.210Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:53 cmd [2023-03-28T20:54:26.210Z] -rw-r--r-- 1 jenkins jenkins 23739 Mar 28 20:54 coverage.out [2023-03-28T20:54:26.210Z] -rw-rw-r-- 1 jenkins jenkins 3450 Mar 28 20:53 go.mod [2023-03-28T20:54:26.210Z] -rw-rw-r-- 1 jenkins jenkins 31495 Mar 28 20:53 go.sum [2023-03-28T20:54:26.210Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:53 internal [2023-03-28T20:54:26.210Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:53 simulator [2023-03-28T20:54:26.210Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 20:53 snap [2023-03-28T20:54:26.210Z] -rw-rw-r-- 1 jenkins jenkins 229 Mar 28 20:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T20:54:26.652Z] + 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=053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 --label arch=amd64 --label version=3.0.0-dev.23 . [2023-03-28T20:54:26.652Z] Sending build context to Docker daemon 6.427MB [2023-03-28T20:54:26.652Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-03-28T20:54:26.652Z] Step 2/22 : FROM ${BASE} AS builder [2023-03-28T20:54:26.652Z] ---> 2eb480c1706f [2023-03-28T20:54:26.652Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-03-28T20:54:26.652Z] ---> Running in 0632d55fdd99 [2023-03-28T20:54:26.913Z] Removing intermediate container 0632d55fdd99 [2023-03-28T20:54:26.913Z] ---> b8ad30053af4 [2023-03-28T20:54:26.913Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-28T20:54:26.913Z] ---> Running in da9f998f372b [2023-03-28T20:54:27.174Z] Removing intermediate container da9f998f372b [2023-03-28T20:54:27.174Z] ---> 1454e32e978a [2023-03-28T20:54:27.174Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-03-28T20:54:27.174Z] ---> Running in b9fd51df2a93 [2023-03-28T20:54:27.741Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-28T20:54:27.742Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-28T20:54:28.001Z] OK: 270 MiB in 61 packages [2023-03-28T20:54:28.261Z] Removing intermediate container b9fd51df2a93 [2023-03-28T20:54:28.261Z] ---> 28ed489839e0 [2023-03-28T20:54:28.261Z] Step 6/22 : WORKDIR /device-modbus-go [2023-03-28T20:54:28.261Z] ---> Running in 43785e1d9268 [2023-03-28T20:54:28.261Z] Removing intermediate container 43785e1d9268 [2023-03-28T20:54:28.261Z] ---> 8c9019b074f2 [2023-03-28T20:54:28.261Z] Step 7/22 : COPY go.mod vendor* ./ [2023-03-28T20:54:28.520Z] ---> 19697e019cbd [2023-03-28T20:54:28.520Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-28T20:54:28.520Z] ---> Running in 02c3452b55a0 [2023-03-28T20:54:29.489Z] Removing intermediate container 02c3452b55a0 [2023-03-28T20:54:29.489Z] ---> 3a4e555d2ddc [2023-03-28T20:54:29.489Z] Step 9/22 : COPY . . [2023-03-28T20:54:29.750Z] ---> cecd545d3585 [2023-03-28T20:54:29.750Z] Step 10/22 : RUN ${MAKE} [2023-03-28T20:54:29.750Z] ---> Running in bbd0685681dc [2023-03-28T20:54:30.008Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.23" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-03-28T20:54:48.099Z] Removing intermediate container bbd0685681dc [2023-03-28T20:54:48.099Z] ---> 0cd7732ad80a [2023-03-28T20:54:48.099Z] Step 11/22 : FROM alpine:3.17 [2023-03-28T20:54:48.099Z] 3.17: Pulling from library/alpine [2023-03-28T20:54:48.099Z] 63b65145d645: Already exists [2023-03-28T20:54:48.099Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-28T20:54:48.099Z] Status: Downloaded newer image for alpine:3.17 [2023-03-28T20:54:48.099Z] ---> b2aa39c304c2 [2023-03-28T20:54:48.099Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-03-28T20:54:48.099Z] ---> Running in f5b977f61928 [2023-03-28T20:54:48.099Z] Removing intermediate container f5b977f61928 [2023-03-28T20:54:48.099Z] ---> 701d24e3166d [2023-03-28T20:54:48.099Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-03-28T20:54:48.099Z] ---> Running in 294be5a04d86 [2023-03-28T20:54:48.099Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-28T20:54:48.099Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-28T20:54:48.099Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-28T20:54:48.099Z] Executing busybox-1.35.0-r29.trigger [2023-03-28T20:54:48.099Z] OK: 7 MiB in 16 packages [2023-03-28T20:54:48.664Z] Removing intermediate container 294be5a04d86 [2023-03-28T20:54:48.664Z] ---> bb602b72831b [2023-03-28T20:54:48.664Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-03-28T20:54:48.922Z] ---> c94f728d5300 [2023-03-28T20:54:48.922Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-03-28T20:54:49.179Z] ---> f3c819b2d726 [2023-03-28T20:54:49.179Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-03-28T20:54:49.179Z] ---> 311ef35d4cc1 [2023-03-28T20:54:49.179Z] Step 17/22 : EXPOSE 59901 [2023-03-28T20:54:49.438Z] ---> Running in c457839eaff8 [2023-03-28T20:54:49.438Z] Removing intermediate container c457839eaff8 [2023-03-28T20:54:49.438Z] ---> a528cff126fd [2023-03-28T20:54:49.438Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-03-28T20:54:49.438Z] ---> Running in c31450cb87ef [2023-03-28T20:54:49.438Z] Removing intermediate container c31450cb87ef [2023-03-28T20:54:49.438Z] ---> 51e34656e5d3 [2023-03-28T20:54:49.438Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-28T20:54:49.695Z] ---> Running in 4133e2606e45 [2023-03-28T20:54:49.695Z] Removing intermediate container 4133e2606e45 [2023-03-28T20:54:49.695Z] ---> 1b04f41b0ea6 [2023-03-28T20:54:49.695Z] Step 20/22 : LABEL arch=amd64 [2023-03-28T20:54:49.695Z] ---> Running in 9a1c284a625b [2023-03-28T20:54:49.695Z] Removing intermediate container 9a1c284a625b [2023-03-28T20:54:49.695Z] ---> 0da0b4e40c95 [2023-03-28T20:54:49.695Z] Step 21/22 : LABEL git_sha=053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 [2023-03-28T20:54:49.695Z] ---> Running in 70443d55ed80 [2023-03-28T20:54:49.954Z] Removing intermediate container 70443d55ed80 [2023-03-28T20:54:49.954Z] ---> eafe98fba188 [2023-03-28T20:54:49.954Z] Step 22/22 : LABEL version=3.0.0-dev.23 [2023-03-28T20:54:49.954Z] ---> Running in abee41700061 [2023-03-28T20:54:49.954Z] Removing intermediate container abee41700061 [2023-03-28T20:54:49.954Z] ---> 7daa766b3b9f [2023-03-28T20:54:49.954Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-28T20:54:49.954Z] Successfully built 7daa766b3b9f [2023-03-28T20:54:49.954Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-28T20:54:50.040Z] provisioning config files... [2023-03-28T20:54:50.048Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7601889985400328496tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-28T20:54:50.340Z] ---> docker-login.sh [2023-03-28T20:54:50.340Z] nexus3.edgexfoundry.org:10001 [2023-03-28T20:54:50.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T20:54:50.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T20:54:50.340Z] Configure a credential helper to remove this warning. See [2023-03-28T20:54:50.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T20:54:50.340Z] [2023-03-28T20:54:50.340Z] Login Succeeded [2023-03-28T20:54:50.340Z] nexus3.edgexfoundry.org:10002 [2023-03-28T20:54:50.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T20:54:50.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T20:54:50.340Z] Configure a credential helper to remove this warning. See [2023-03-28T20:54:50.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T20:54:50.340Z] [2023-03-28T20:54:50.340Z] Login Succeeded [2023-03-28T20:54:50.340Z] nexus3.edgexfoundry.org:10003 [2023-03-28T20:54:50.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T20:54:50.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T20:54:50.599Z] Configure a credential helper to remove this warning. See [2023-03-28T20:54:50.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T20:54:50.599Z] [2023-03-28T20:54:50.599Z] Login Succeeded [2023-03-28T20:54:50.599Z] nexus3.edgexfoundry.org:10004 [2023-03-28T20:54:50.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T20:54:50.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T20:54:50.599Z] Configure a credential helper to remove this warning. See [2023-03-28T20:54:50.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T20:54:50.599Z] [2023-03-28T20:54:50.599Z] Login Succeeded [2023-03-28T20:54:50.599Z] docker.io [2023-03-28T20:54:50.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T20:54:50.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T20:54:50.859Z] Configure a credential helper to remove this warning. See [2023-03-28T20:54:50.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T20:54:50.859Z] [2023-03-28T20:54:50.859Z] Login Succeeded [2023-03-28T20:54:50.859Z] ---> docker-login.sh ends [Pipeline] } [2023-03-28T20:54:50.866Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-28T20:54:50.904Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-28T20:54:50.930Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-03-28T20:54:50.930Z] 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 [2023-03-28T20:54:50.930Z] latest [2023-03-28T20:54:50.930Z] 3.0.0-dev.23 [2023-03-28T20:54:50.930Z] 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9-3.0.0-dev.23 [2023-03-28T20:54:50.930Z] main [2023-03-28T20:54:50.930Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T20:54:51.242Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T20:54:51.544Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 [2023-03-28T20:54:51.544Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-28T20:54:51.544Z] 1a96cad42047: Preparing [2023-03-28T20:54:51.544Z] 4015ae3829ae: Preparing [2023-03-28T20:54:51.544Z] 95559758e9b1: Preparing [2023-03-28T20:54:51.544Z] 025efcd7a802: Preparing [2023-03-28T20:54:51.544Z] 7cd52847ad77: Preparing [2023-03-28T20:54:51.544Z] 7cd52847ad77: Layer already exists [2023-03-28T20:54:51.544Z] 4015ae3829ae: Pushed [2023-03-28T20:54:51.544Z] 025efcd7a802: Pushed [2023-03-28T20:54:51.544Z] 1a96cad42047: Pushed [2023-03-28T20:54:54.082Z] 95559758e9b1: Pushed [2023-03-28T20:54:54.082Z] 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9: digest: sha256:dd61b8804e4dba8a588d001368e8f19908b3fa07edaa096b2b5e626af051a365 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T20:54:54.381Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T20:54:54.688Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-03-28T20:54:54.688Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-28T20:54:54.688Z] 1a96cad42047: Preparing [2023-03-28T20:54:54.688Z] 4015ae3829ae: Preparing [2023-03-28T20:54:54.688Z] 95559758e9b1: Preparing [2023-03-28T20:54:54.688Z] 025efcd7a802: Preparing [2023-03-28T20:54:54.688Z] 7cd52847ad77: Preparing [2023-03-28T20:54:54.688Z] 4015ae3829ae: Layer already exists [2023-03-28T20:54:54.688Z] 7cd52847ad77: Layer already exists [2023-03-28T20:54:54.688Z] 1a96cad42047: Layer already exists [2023-03-28T20:54:54.688Z] 95559758e9b1: Layer already exists [2023-03-28T20:54:54.688Z] 025efcd7a802: Layer already exists [2023-03-28T20:54:54.688Z] latest: digest: sha256:dd61b8804e4dba8a588d001368e8f19908b3fa07edaa096b2b5e626af051a365 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T20:54:55.004Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T20:54:55.312Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.23 [2023-03-28T20:54:55.312Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-28T20:54:55.312Z] 1a96cad42047: Preparing [2023-03-28T20:54:55.312Z] 4015ae3829ae: Preparing [2023-03-28T20:54:55.312Z] 95559758e9b1: Preparing [2023-03-28T20:54:55.312Z] 025efcd7a802: Preparing [2023-03-28T20:54:55.312Z] 7cd52847ad77: Preparing [2023-03-28T20:54:55.312Z] 1a96cad42047: Layer already exists [2023-03-28T20:54:55.312Z] 95559758e9b1: Layer already exists [2023-03-28T20:54:55.312Z] 7cd52847ad77: Layer already exists [2023-03-28T20:54:55.312Z] 4015ae3829ae: Layer already exists [2023-03-28T20:54:55.312Z] 025efcd7a802: Layer already exists [2023-03-28T20:54:55.312Z] 3.0.0-dev.23: digest: sha256:dd61b8804e4dba8a588d001368e8f19908b3fa07edaa096b2b5e626af051a365 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T20:54:55.624Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:053db68f2108a7cf22f6c86d4ad59a87daeaa2c9-3.0.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T20:54:55.932Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:053db68f2108a7cf22f6c86d4ad59a87daeaa2c9-3.0.0-dev.23 [2023-03-28T20:54:55.933Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-28T20:54:55.933Z] 1a96cad42047: Preparing [2023-03-28T20:54:55.933Z] 4015ae3829ae: Preparing [2023-03-28T20:54:55.933Z] 95559758e9b1: Preparing [2023-03-28T20:54:55.933Z] 025efcd7a802: Preparing [2023-03-28T20:54:55.933Z] 7cd52847ad77: Preparing [2023-03-28T20:54:55.933Z] 7cd52847ad77: Layer already exists [2023-03-28T20:54:55.933Z] 025efcd7a802: Layer already exists [2023-03-28T20:54:55.933Z] 95559758e9b1: Layer already exists [2023-03-28T20:54:55.933Z] 4015ae3829ae: Layer already exists [2023-03-28T20:54:55.933Z] 1a96cad42047: Layer already exists [2023-03-28T20:54:55.933Z] 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9-3.0.0-dev.23: digest: sha256:dd61b8804e4dba8a588d001368e8f19908b3fa07edaa096b2b5e626af051a365 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T20:54:56.249Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T20:54:56.560Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-03-28T20:54:56.560Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-28T20:54:56.560Z] 1a96cad42047: Preparing [2023-03-28T20:54:56.560Z] 4015ae3829ae: Preparing [2023-03-28T20:54:56.560Z] 95559758e9b1: Preparing [2023-03-28T20:54:56.560Z] 025efcd7a802: Preparing [2023-03-28T20:54:56.560Z] 7cd52847ad77: Preparing [2023-03-28T20:54:56.560Z] 95559758e9b1: Layer already exists [2023-03-28T20:54:56.560Z] 025efcd7a802: Layer already exists [2023-03-28T20:54:56.560Z] 1a96cad42047: Layer already exists [2023-03-28T20:54:56.560Z] 4015ae3829ae: Layer already exists [2023-03-28T20:54:56.560Z] 7cd52847ad77: Layer already exists [2023-03-28T20:54:56.560Z] main: digest: sha256:dd61b8804e4dba8a588d001368e8f19908b3fa07edaa096b2b5e626af051a365 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-28T20:54:56.596Z] ===================================================== [Pipeline] echo [2023-03-28T20:54:56.601Z] taggedImages: [2023-03-28T20:54:56.601Z] - nexus3.edgexfoundry.org:10004/device-modbus:053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 [2023-03-28T20:54:56.601Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-03-28T20:54:56.601Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.23 [2023-03-28T20:54:56.601Z] - nexus3.edgexfoundry.org:10004/device-modbus:053db68f2108a7cf22f6c86d4ad59a87daeaa2c9-3.0.0-dev.23 [2023-03-28T20:54:56.601Z] - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T20:54:56.942Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-28T20:54:56.942Z] [2023-03-28T20:54:56.942Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T20:54:57.236Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-28T20:54:57.236Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-28T20:54:57.236Z] 5eb5b503b376: Pulling fs layer [2023-03-28T20:54:57.236Z] 5c69ac0246d0: Pulling fs layer [2023-03-28T20:54:57.236Z] ec43610c2a17: Pulling fs layer [2023-03-28T20:54:57.236Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-28T20:54:57.236Z] 33b1e0a273af: Pulling fs layer [2023-03-28T20:54:57.236Z] 5d3b04190fa2: Pulling fs layer [2023-03-28T20:54:57.236Z] 2f39f015ded8: Pulling fs layer [2023-03-28T20:54:57.236Z] 5d3b04190fa2: Waiting [2023-03-28T20:54:57.236Z] 3a2ae6a8a46f: Waiting [2023-03-28T20:54:57.236Z] 33b1e0a273af: Waiting [2023-03-28T20:54:57.236Z] 2f39f015ded8: Waiting [2023-03-28T20:54:57.236Z] 5c69ac0246d0: Verifying Checksum [2023-03-28T20:54:57.236Z] 5c69ac0246d0: Download complete [2023-03-28T20:54:57.236Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-28T20:54:57.236Z] 3a2ae6a8a46f: Download complete [2023-03-28T20:54:57.236Z] 33b1e0a273af: Verifying Checksum [2023-03-28T20:54:57.236Z] 33b1e0a273af: Download complete [2023-03-28T20:54:57.236Z] 5d3b04190fa2: Verifying Checksum [2023-03-28T20:54:57.236Z] 5d3b04190fa2: Download complete [2023-03-28T20:54:57.236Z] ec43610c2a17: Verifying Checksum [2023-03-28T20:54:57.496Z] 5eb5b503b376: Verifying Checksum [2023-03-28T20:54:57.496Z] 5eb5b503b376: Download complete [2023-03-28T20:54:58.063Z] 2f39f015ded8: Download complete [2023-03-28T20:54:58.628Z] 5eb5b503b376: Pull complete [2023-03-28T20:54:58.628Z] 5c69ac0246d0: Pull complete [2023-03-28T20:54:59.194Z] ec43610c2a17: Pull complete [2023-03-28T20:54:59.194Z] 3a2ae6a8a46f: Pull complete [2023-03-28T20:54:59.194Z] 33b1e0a273af: Pull complete [2023-03-28T20:54:59.452Z] 5d3b04190fa2: Pull complete [2023-03-28T20:55:03.633Z] 2f39f015ded8: Pull complete [2023-03-28T20:55:03.633Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-28T20:55:03.633Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-28T20:55:03.633Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T20:55:03.719Z] prd-ubuntu20.04-docker-8c-8g-6117 does not seem to be running inside a container [2023-03-28T20:55:03.743Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-28T20:55:05.730Z] $ docker top 3b82ca7df8d29de2cb5281454d2d7c895fd8c0e3a545edbce84cb924f288f27d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-28T20:55:06.100Z] ---> job-cost.sh [2023-03-28T20:55:06.100Z] lf-activate-venv: SKIPPING [2023-03-28T20:55:06.100Z] INFO: No Stack... [2023-03-28T20:55:06.359Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-28T20:55:06.618Z] INFO: Archiving Costs [Pipeline] sh [2023-03-28T20:55:06.903Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-03-28T20:55:06.903Z] + cut -d, -f6 [Pipeline] lock [2023-03-28T20:55:06.917Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-89-stack-cost] [2023-03-28T20:55:06.924Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-89-stack-cost] did not exist. Created. [2023-03-28T20:55:06.924Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-89-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-28T20:55:07.225Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-28T20:55:07.252Z] Stashed 1 file(s) [Pipeline] } [2023-03-28T20:55:07.258Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-89-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-28T20:55:07.273Z] $ docker stop --time=1 3b82ca7df8d29de2cb5281454d2d7c895fd8c0e3a545edbce84cb924f288f27d [2023-03-28T20:55:07.780Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6119 in /w/workspace/gexfoundry_device-modbus-go_main [2023-03-28T20:55:08.435Z] $ docker rm -f --volumes 3b82ca7df8d29de2cb5281454d2d7c895fd8c0e3a545edbce84cb924f288f27d [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] ws [2023-03-28T20:55:08.504Z] Running in /w/workspace/device-modbus-go/89 [Pipeline] { [Pipeline] checkout [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2023-03-28T20:55:08.540Z] Selected Git installation does not exist. Using Default [2023-03-28T20:55:08.540Z] The recommended git tool is: NONE [Pipeline] // stage [Pipeline] } [2023-03-28T20:55:14.410Z] using credential edgex-jenkins-ssh [2023-03-28T20:55:14.430Z] Cloning the remote Git repository [2023-03-28T20:55:14.477Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-03-28T20:55:14.566Z] > git init /w/workspace/device-modbus-go/89 # timeout=10 [2023-03-28T20:55:14.718Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-03-28T20:55:14.719Z] > git --version # timeout=10 [2023-03-28T20:55:14.739Z] > git --version # 'git version 2.25.1' [2023-03-28T20:55:14.742Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-28T20:55:14.883Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-28T20:55:15.951Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-03-28T20:55:16.819Z] Avoid second fetch [2023-03-28T20:55:16.820Z] Checking out Revision 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 (main) [2023-03-28T20:55:15.975Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-28T20:55:16.842Z] > git config core.sparsecheckout # timeout=10 [2023-03-28T20:55:16.908Z] > git checkout -f 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 # timeout=10 [2023-03-28T20:55:17.381Z] Commit message: "refactor!: Change configuration and devices files format to YAML (#445)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-28T20:55:18.266Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-28T20:55:18.266Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-28T20:55:18.266Z] Dload Upload Total Spent Left Speed [2023-03-28T20:55:18.266Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91078 0 --:--:-- --:--:-- --:--:-- 91733 [Pipeline] sh [2023-03-28T20:55:18.831Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-28T20:55:19.179Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2023-03-28T20:55:19.179Z] [2023-03-28T20:55:19.179Z] { [2023-03-28T20:55:19.179Z] "registry-mirrors": [ [2023-03-28T20:55:19.179Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-28T20:55:19.179Z] ], [2023-03-28T20:55:19.179Z] "bip": "10.250.0.254/24", [2023-03-28T20:55:19.179Z] "hosts": [ [2023-03-28T20:55:19.179Z] "tcp://0.0.0.0:5555", [2023-03-28T20:55:19.179Z] "unix:///var/run/docker.sock" [2023-03-28T20:55:19.179Z] ], [2023-03-28T20:55:19.179Z] "mtu": 1458, [2023-03-28T20:55:19.179Z] "selinux-enabled": true, [2023-03-28T20:55:19.179Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-28T20:55:19.179Z] } [Pipeline] sh [2023-03-28T20:55:19.535Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-28T20:55:19.877Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-28T20:55:38.142Z] provisioning config files... [2023-03-28T20:55:38.168Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/89@tmp/config2377495198895258345tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-28T20:55:38.520Z] ---> docker-login.sh [2023-03-28T20:55:38.520Z] nexus3.edgexfoundry.org:10001 [2023-03-28T20:55:38.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T20:55:39.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T20:55:39.058Z] Configure a credential helper to remove this warning. See [2023-03-28T20:55:39.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T20:55:39.058Z] [2023-03-28T20:55:39.058Z] Login Succeeded [2023-03-28T20:55:39.058Z] nexus3.edgexfoundry.org:10002 [2023-03-28T20:55:39.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T20:55:39.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T20:55:39.335Z] Configure a credential helper to remove this warning. See [2023-03-28T20:55:39.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T20:55:39.335Z] [2023-03-28T20:55:39.335Z] Login Succeeded [2023-03-28T20:55:39.335Z] nexus3.edgexfoundry.org:10003 [2023-03-28T20:55:39.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T20:55:39.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T20:55:39.875Z] Configure a credential helper to remove this warning. See [2023-03-28T20:55:39.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T20:55:39.875Z] [2023-03-28T20:55:39.875Z] Login Succeeded [2023-03-28T20:55:39.875Z] nexus3.edgexfoundry.org:10004 [2023-03-28T20:55:40.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T20:55:40.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T20:55:40.143Z] Configure a credential helper to remove this warning. See [2023-03-28T20:55:40.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T20:55:40.143Z] [2023-03-28T20:55:40.143Z] Login Succeeded [2023-03-28T20:55:40.143Z] docker.io [2023-03-28T20:55:40.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T20:55:40.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T20:55:40.682Z] Configure a credential helper to remove this warning. See [2023-03-28T20:55:40.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T20:55:40.682Z] [2023-03-28T20:55:40.682Z] Login Succeeded [2023-03-28T20:55:40.682Z] ---> docker-login.sh ends [Pipeline] } [2023-03-28T20:55:40.695Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-28T20:55:40.967Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-28T20:55:40.982Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-28T20:55:40.990Z] ========================================================= [2023-03-28T20:55:40.990Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-28T20:55:40.990Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T20:55:41.346Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-28T20:55:41.616Z] Sending build context to Docker daemon 3.34MB [2023-03-28T20:55:41.616Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-28T20:55:41.616Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-28T20:55:41.890Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-28T20:55:41.890Z] af6eaf76a39c: Pulling fs layer [2023-03-28T20:55:41.890Z] 55522c791124: Pulling fs layer [2023-03-28T20:55:41.890Z] ce5c4a1c91eb: Pulling fs layer [2023-03-28T20:55:41.890Z] 169dfbe0d373: Pulling fs layer [2023-03-28T20:55:41.890Z] e1ff8fa3b103: Pulling fs layer [2023-03-28T20:55:41.890Z] 52ebb69f0ebf: Pulling fs layer [2023-03-28T20:55:41.890Z] 5abe8eddf0d5: Pulling fs layer [2023-03-28T20:55:41.890Z] 169dfbe0d373: Waiting [2023-03-28T20:55:41.890Z] e1ff8fa3b103: Waiting [2023-03-28T20:55:41.890Z] 52ebb69f0ebf: Waiting [2023-03-28T20:55:41.890Z] 5abe8eddf0d5: Waiting [2023-03-28T20:55:41.890Z] 55522c791124: Download complete [2023-03-28T20:55:41.890Z] 169dfbe0d373: Verifying Checksum [2023-03-28T20:55:41.890Z] 169dfbe0d373: Download complete [2023-03-28T20:55:41.890Z] e1ff8fa3b103: Verifying Checksum [2023-03-28T20:55:41.890Z] e1ff8fa3b103: Download complete [2023-03-28T20:55:41.890Z] af6eaf76a39c: Download complete [2023-03-28T20:55:42.865Z] af6eaf76a39c: Pull complete [2023-03-28T20:55:43.134Z] 5abe8eddf0d5: Verifying Checksum [2023-03-28T20:55:43.134Z] 5abe8eddf0d5: Download complete [2023-03-28T20:55:43.755Z] 55522c791124: Pull complete [2023-03-28T20:55:44.733Z] ce5c4a1c91eb: Verifying Checksum [2023-03-28T20:55:44.733Z] ce5c4a1c91eb: Download complete [2023-03-28T20:55:44.733Z] 52ebb69f0ebf: Verifying Checksum [2023-03-28T20:55:44.733Z] 52ebb69f0ebf: Download complete [2023-03-28T20:55:57.071Z] ce5c4a1c91eb: Pull complete [2023-03-28T20:55:57.071Z] 169dfbe0d373: Pull complete [2023-03-28T20:55:57.071Z] e1ff8fa3b103: Pull complete [2023-03-28T20:56:03.731Z] 52ebb69f0ebf: Pull complete [2023-03-28T20:56:06.347Z] 5abe8eddf0d5: Pull complete [2023-03-28T20:56:06.347Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-28T20:56:06.347Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-28T20:56:06.347Z] ---> 6cb57ee374ae [2023-03-28T20:56:06.347Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-03-28T20:56:08.307Z] ---> Running in d9490a1b5c1b [2023-03-28T20:56:08.307Z] Removing intermediate container d9490a1b5c1b [2023-03-28T20:56:08.307Z] ---> 48c719e06e8f [2023-03-28T20:56:08.307Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-28T20:56:08.307Z] ---> Running in fe9e48377137 [2023-03-28T20:56:08.891Z] Removing intermediate container fe9e48377137 [2023-03-28T20:56:08.891Z] ---> 3071d2bd2a22 [2023-03-28T20:56:08.891Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-03-28T20:56:08.891Z] ---> Running in 944bb1017a01 [2023-03-28T20:56:09.851Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-28T20:56:10.452Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-28T20:56:11.876Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-03-28T20:56:11.876Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-03-28T20:56:11.876Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-03-28T20:56:11.876Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-03-28T20:56:11.876Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-03-28T20:56:11.876Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-03-28T20:56:11.876Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-03-28T20:56:11.876Z] (8/8) Installing openssh (9.1_p1-r2) [2023-03-28T20:56:11.876Z] Executing busybox-1.35.0-r29.trigger [2023-03-28T20:56:11.876Z] OK: 270 MiB in 61 packages [2023-03-28T20:56:13.306Z] Removing intermediate container 944bb1017a01 [2023-03-28T20:56:13.306Z] ---> 1fcce8c9bf6b [2023-03-28T20:56:13.306Z] Step 6/10 : WORKDIR /device-modbus-go [2023-03-28T20:56:13.306Z] ---> Running in 932110d84153 [2023-03-28T20:56:13.578Z] Removing intermediate container 932110d84153 [2023-03-28T20:56:13.578Z] ---> 571f4a317384 [2023-03-28T20:56:13.578Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-28T20:56:14.178Z] ---> 371eb5dc5fbd [2023-03-28T20:56:14.178Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-28T20:56:14.178Z] ---> Running in f1a2d4ee6e29 [2023-03-28T20:57:22.078Z] Removing intermediate container f1a2d4ee6e29 [2023-03-28T20:57:22.078Z] ---> 770997151eb9 [2023-03-28T20:57:22.078Z] Step 9/10 : COPY . . [2023-03-28T20:57:22.078Z] ---> 5449fe71b8c7 [2023-03-28T20:57:22.078Z] Step 10/10 : RUN ${MAKE} [2023-03-28T20:57:22.078Z] ---> Running in 3e2bd4e2bfca [2023-03-28T20:57:22.078Z] noop [2023-03-28T20:57:22.078Z] Removing intermediate container 3e2bd4e2bfca [2023-03-28T20:57:22.078Z] ---> 5260e203baa2 [2023-03-28T20:57:22.078Z] Successfully built 5260e203baa2 [2023-03-28T20:57:22.078Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T20:57:22.434Z] + docker inspect -f . ci-base-image-arm64 [2023-03-28T20:57:22.434Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T20:57:22.638Z] prd-ubuntu20.04-docker-arm64-4c-16g-6119 does not seem to be running inside a container [2023-03-28T20:57:22.705Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/89 -v /w/workspace/device-modbus-go/89:/w/workspace/device-modbus-go/89:rw,z -v /w/workspace/device-modbus-go/89@tmp:/w/workspace/device-modbus-go/89@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-28T20:57:23.857Z] $ docker top 5ec581f31a2111084d96a65d04b854131a2ec010615bca13b3557e159c32e58b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-28T20:57:24.680Z] + go version [2023-03-28T20:57:24.681Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-28T20:57:24.702Z] $ docker stop --time=1 5ec581f31a2111084d96a65d04b854131a2ec010615bca13b3557e159c32e58b [2023-03-28T20:57:26.281Z] $ docker rm -f --volumes 5ec581f31a2111084d96a65d04b854131a2ec010615bca13b3557e159c32e58b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T20:57:26.821Z] + docker inspect -f . ci-base-image-arm64 [2023-03-28T20:57:26.822Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T20:57:26.993Z] prd-ubuntu20.04-docker-arm64-4c-16g-6119 does not seem to be running inside a container [2023-03-28T20:57:27.056Z] $ 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/89 -v /w/workspace/device-modbus-go/89:/w/workspace/device-modbus-go/89:rw,z -v /w/workspace/device-modbus-go/89@tmp:/w/workspace/device-modbus-go/89@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-28T20:57:28.156Z] $ docker top 06a2da9137ccbdb21e0ebe057d1ebc905eb1a44a7ad2b55e99f46a4f8feb0855 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-28T20:57:28.663Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/89 [Pipeline] fileExists [Pipeline] sh [2023-03-28T20:57:29.265Z] + make test [2023-03-28T20:57:29.265Z] go test ./... -coverprofile=coverage.out [2023-03-28T20:58:08.159Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-03-28T21:00:14.862Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-03-28T21:00:14.862Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.075s coverage: 48.0% of statements [2023-03-28T21:00:14.862Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-28T21:00:14.862Z] go vet ./... [2023-03-28T21:00:53.747Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-28T21:00:53.747Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-28T21:00:53.747Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-28T21:00:53.766Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-28T21:00:53.777Z] $ docker stop --time=1 06a2da9137ccbdb21e0ebe057d1ebc905eb1a44a7ad2b55e99f46a4f8feb0855 [2023-03-28T21:00:55.688Z] $ docker rm -f --volumes 06a2da9137ccbdb21e0ebe057d1ebc905eb1a44a7ad2b55e99f46a4f8feb0855 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-28T21:00:56.847Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-28T21:00:56.873Z] Warning: overwriting stash ‘coverage-report’ [2023-03-28T21:00:57.361Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-28T21:00:57.748Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-28T21:00:58.065Z] + ls -al . [2023-03-28T21:00:58.065Z] total 176 [2023-03-28T21:00:58.065Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 28 20:57 . [2023-03-28T21:00:58.065Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 20:55 .. [2023-03-28T21:00:58.065Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 28 20:55 .dockerignore [2023-03-28T21:00:58.065Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 20:55 .git [2023-03-28T21:00:58.065Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:55 .github [2023-03-28T21:00:58.065Z] -rw-rw-r-- 1 jenkins jenkins 331 Mar 28 20:55 .gitignore [2023-03-28T21:00:58.065Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 28 20:55 .golangci.yml [2023-03-28T21:00:58.065Z] -rw-rw-r-- 1 jenkins jenkins 10004 Mar 28 20:55 Attribution.txt [2023-03-28T21:00:58.065Z] -rw-rw-r-- 1 jenkins jenkins 11576 Mar 28 20:55 CHANGELOG.md [2023-03-28T21:00:58.065Z] -rw-rw-r-- 1 jenkins jenkins 1365 Mar 28 20:55 Dockerfile [2023-03-28T21:00:58.065Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 20:55 GOVERNANCE.md [2023-03-28T21:00:58.065Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 28 20:55 Jenkinsfile [2023-03-28T21:00:58.065Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 20:55 LICENSE [2023-03-28T21:00:58.065Z] -rw-rw-r-- 1 jenkins jenkins 1705 Mar 28 20:55 Makefile [2023-03-28T21:00:58.065Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 28 20:55 OWNERS.md [2023-03-28T21:00:58.065Z] -rw-rw-r-- 1 jenkins jenkins 4045 Mar 28 20:55 README.md [2023-03-28T21:00:58.065Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 28 20:53 VERSION [2023-03-28T21:00:58.065Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:55 bin [2023-03-28T21:00:58.065Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:55 cmd [2023-03-28T21:00:58.065Z] -rw-r--r-- 1 jenkins jenkins 23739 Mar 28 21:00 coverage.out [2023-03-28T21:00:58.065Z] -rw-rw-r-- 1 jenkins jenkins 3450 Mar 28 20:55 go.mod [2023-03-28T21:00:58.065Z] -rw-rw-r-- 1 jenkins jenkins 31495 Mar 28 20:55 go.sum [2023-03-28T21:00:58.065Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:55 internal [2023-03-28T21:00:58.065Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:55 simulator [2023-03-28T21:00:58.065Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 20:55 snap [2023-03-28T21:00:58.065Z] -rw-rw-r-- 1 jenkins jenkins 229 Mar 28 20:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T21:00:58.408Z] + 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=053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 --label arch=arm64 --label version=3.0.0-dev.23 . [2023-03-28T21:00:58.685Z] Sending build context to Docker daemon 3.365MB [2023-03-28T21:00:58.685Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-03-28T21:00:58.685Z] Step 2/22 : FROM ${BASE} AS builder [2023-03-28T21:00:58.685Z] ---> 5260e203baa2 [2023-03-28T21:00:58.685Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-03-28T21:00:58.951Z] ---> Running in c779f9018261 [2023-03-28T21:00:59.218Z] Removing intermediate container c779f9018261 [2023-03-28T21:00:59.218Z] ---> 0c0001ad4463 [2023-03-28T21:00:59.218Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-28T21:00:59.218Z] ---> Running in 505bd2a61863 [2023-03-28T21:00:59.485Z] Removing intermediate container 505bd2a61863 [2023-03-28T21:00:59.485Z] ---> 2a4840d20638 [2023-03-28T21:00:59.485Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-03-28T21:00:59.485Z] ---> Running in 7efac26afe12 [2023-03-28T21:01:00.444Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-28T21:01:01.025Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-28T21:01:02.436Z] OK: 270 MiB in 61 packages [2023-03-28T21:01:03.019Z] Removing intermediate container 7efac26afe12 [2023-03-28T21:01:03.019Z] ---> 4dffd783232e [2023-03-28T21:01:03.019Z] Step 6/22 : WORKDIR /device-modbus-go [2023-03-28T21:01:03.019Z] ---> Running in bff78ffbf584 [2023-03-28T21:01:03.286Z] Removing intermediate container bff78ffbf584 [2023-03-28T21:01:03.286Z] ---> f4ca3f7ecc04 [2023-03-28T21:01:03.286Z] Step 7/22 : COPY go.mod vendor* ./ [2023-03-28T21:01:03.873Z] ---> 61693ef1aede [2023-03-28T21:01:03.873Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-28T21:01:03.873Z] ---> Running in 15bf62fc714e [2023-03-28T21:01:06.456Z] Removing intermediate container 15bf62fc714e [2023-03-28T21:01:06.456Z] ---> 1c5a27e99c3e [2023-03-28T21:01:06.456Z] Step 9/22 : COPY . . [2023-03-28T21:01:08.405Z] ---> 8730ed8173b0 [2023-03-28T21:01:08.405Z] Step 10/22 : RUN ${MAKE} [2023-03-28T21:01:08.405Z] ---> Running in 86b3c4c558e6 [2023-03-28T21:01:08.993Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.23" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-03-28T21:03:45.796Z] Removing intermediate container 86b3c4c558e6 [2023-03-28T21:03:45.796Z] ---> 9c47267bcde6 [2023-03-28T21:03:45.796Z] Step 11/22 : FROM alpine:3.17 [2023-03-28T21:03:45.796Z] 3.17: Pulling from library/alpine [2023-03-28T21:03:45.796Z] af6eaf76a39c: Already exists [2023-03-28T21:03:45.796Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-28T21:03:45.796Z] Status: Downloaded newer image for alpine:3.17 [2023-03-28T21:03:45.796Z] ---> d74e625d9115 [2023-03-28T21:03:45.796Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-03-28T21:03:45.796Z] ---> Running in 5542408028a7 [2023-03-28T21:03:45.796Z] Removing intermediate container 5542408028a7 [2023-03-28T21:03:45.796Z] ---> 54df1048f600 [2023-03-28T21:03:45.796Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-03-28T21:03:45.796Z] ---> Running in fa6409c97cc7 [2023-03-28T21:03:45.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-28T21:03:45.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-28T21:03:45.796Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-28T21:03:45.796Z] Executing busybox-1.35.0-r29.trigger [2023-03-28T21:03:45.796Z] OK: 8 MiB in 16 packages [2023-03-28T21:03:45.796Z] Removing intermediate container fa6409c97cc7 [2023-03-28T21:03:45.796Z] ---> 5fdf4fa77039 [2023-03-28T21:03:45.796Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-03-28T21:03:46.759Z] ---> 8dda7d2c8623 [2023-03-28T21:03:46.760Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-03-28T21:03:47.029Z] ---> a20c689b54ca [2023-03-28T21:03:47.029Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-03-28T21:03:47.619Z] ---> 386143d9c6c6 [2023-03-28T21:03:47.619Z] Step 17/22 : EXPOSE 59901 [2023-03-28T21:03:47.619Z] ---> Running in 6cb9b54636cd [2023-03-28T21:03:48.208Z] Removing intermediate container 6cb9b54636cd [2023-03-28T21:03:48.208Z] ---> ae6227937ae3 [2023-03-28T21:03:48.208Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-03-28T21:03:48.208Z] ---> Running in 3c7e69cbe164 [2023-03-28T21:03:48.478Z] Removing intermediate container 3c7e69cbe164 [2023-03-28T21:03:48.478Z] ---> ef92b9adc4e0 [2023-03-28T21:03:48.478Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-28T21:03:48.478Z] ---> Running in 4346c5d5ec8e [2023-03-28T21:03:48.762Z] Removing intermediate container 4346c5d5ec8e [2023-03-28T21:03:48.762Z] ---> d9636a10d65d [2023-03-28T21:03:48.762Z] Step 20/22 : LABEL arch=arm64 [2023-03-28T21:03:49.040Z] ---> Running in 4ea21bbc6198 [2023-03-28T21:03:49.307Z] Removing intermediate container 4ea21bbc6198 [2023-03-28T21:03:49.307Z] ---> 3fdc3f4b28ac [2023-03-28T21:03:49.307Z] Step 21/22 : LABEL git_sha=053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 [2023-03-28T21:03:49.307Z] ---> Running in ea5923d6c0b1 [2023-03-28T21:03:49.575Z] Removing intermediate container ea5923d6c0b1 [2023-03-28T21:03:49.575Z] ---> 103922a851cb [2023-03-28T21:03:49.575Z] Step 22/22 : LABEL version=3.0.0-dev.23 [2023-03-28T21:03:49.575Z] ---> Running in 51603e6489e6 [2023-03-28T21:03:50.162Z] Removing intermediate container 51603e6489e6 [2023-03-28T21:03:50.162Z] ---> 97bb34de41a0 [2023-03-28T21:03:50.162Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-28T21:03:50.162Z] Successfully built 97bb34de41a0 [2023-03-28T21:03:50.162Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-28T21:03:50.282Z] provisioning config files... [2023-03-28T21:03:50.298Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/89@tmp/config9390360293963465204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-28T21:03:50.637Z] ---> docker-login.sh [2023-03-28T21:03:50.637Z] nexus3.edgexfoundry.org:10001 [2023-03-28T21:03:50.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T21:03:50.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T21:03:50.906Z] Configure a credential helper to remove this warning. See [2023-03-28T21:03:50.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T21:03:50.906Z] [2023-03-28T21:03:50.906Z] Login Succeeded [2023-03-28T21:03:50.906Z] nexus3.edgexfoundry.org:10002 [2023-03-28T21:03:51.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T21:03:51.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T21:03:51.174Z] Configure a credential helper to remove this warning. See [2023-03-28T21:03:51.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T21:03:51.174Z] [2023-03-28T21:03:51.174Z] Login Succeeded [2023-03-28T21:03:51.174Z] nexus3.edgexfoundry.org:10003 [2023-03-28T21:03:51.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T21:03:51.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T21:03:51.762Z] Configure a credential helper to remove this warning. See [2023-03-28T21:03:51.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T21:03:51.762Z] [2023-03-28T21:03:51.762Z] Login Succeeded [2023-03-28T21:03:51.762Z] nexus3.edgexfoundry.org:10004 [2023-03-28T21:03:52.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T21:03:52.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T21:03:52.030Z] Configure a credential helper to remove this warning. See [2023-03-28T21:03:52.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T21:03:52.030Z] [2023-03-28T21:03:52.030Z] Login Succeeded [2023-03-28T21:03:52.030Z] docker.io [2023-03-28T21:03:52.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T21:03:52.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T21:03:52.564Z] Configure a credential helper to remove this warning. See [2023-03-28T21:03:52.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T21:03:52.564Z] [2023-03-28T21:03:52.564Z] Login Succeeded [2023-03-28T21:03:52.564Z] ---> docker-login.sh ends [Pipeline] } [2023-03-28T21:03:52.578Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-28T21:03:52.611Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-28T21:03:52.631Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-03-28T21:03:52.631Z] 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 [2023-03-28T21:03:52.631Z] latest [2023-03-28T21:03:52.631Z] 3.0.0-dev.23 [2023-03-28T21:03:52.631Z] 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9-3.0.0-dev.23 [2023-03-28T21:03:52.631Z] main [2023-03-28T21:03:52.631Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T21:03:52.997Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T21:03:53.353Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 [2023-03-28T21:03:53.353Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-28T21:03:53.353Z] 93714dada01b: Preparing [2023-03-28T21:03:53.353Z] 82ca8b57d26f: Preparing [2023-03-28T21:03:53.353Z] 55a275cc4579: Preparing [2023-03-28T21:03:53.353Z] 53d09a7627cd: Preparing [2023-03-28T21:03:53.353Z] edf70074bd40: Preparing [2023-03-28T21:03:53.626Z] edf70074bd40: Layer already exists [2023-03-28T21:03:53.626Z] 82ca8b57d26f: Pushed [2023-03-28T21:03:53.626Z] 93714dada01b: Pushed [2023-03-28T21:03:53.626Z] 53d09a7627cd: Pushed [2023-03-28T21:03:59.055Z] 55a275cc4579: Pushed [2023-03-28T21:03:59.327Z] 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9: digest: sha256:b04a5ab3b5a44eb10a67353e8a250d8228dc8b9fbe72184b593bd3f8cd439b2d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T21:03:59.696Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T21:04:00.067Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-03-28T21:04:00.067Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-28T21:04:00.067Z] 93714dada01b: Preparing [2023-03-28T21:04:00.067Z] 82ca8b57d26f: Preparing [2023-03-28T21:04:00.067Z] 55a275cc4579: Preparing [2023-03-28T21:04:00.067Z] 53d09a7627cd: Preparing [2023-03-28T21:04:00.067Z] edf70074bd40: Preparing [2023-03-28T21:04:00.067Z] 55a275cc4579: Layer already exists [2023-03-28T21:04:00.067Z] 93714dada01b: Layer already exists [2023-03-28T21:04:00.067Z] 82ca8b57d26f: Layer already exists [2023-03-28T21:04:00.067Z] 53d09a7627cd: Layer already exists [2023-03-28T21:04:00.067Z] edf70074bd40: Layer already exists [2023-03-28T21:04:00.067Z] latest: digest: sha256:b04a5ab3b5a44eb10a67353e8a250d8228dc8b9fbe72184b593bd3f8cd439b2d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T21:04:00.438Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T21:04:00.836Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.23 [2023-03-28T21:04:00.837Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-28T21:04:00.837Z] 93714dada01b: Preparing [2023-03-28T21:04:00.837Z] 82ca8b57d26f: Preparing [2023-03-28T21:04:00.837Z] 55a275cc4579: Preparing [2023-03-28T21:04:00.837Z] 53d09a7627cd: Preparing [2023-03-28T21:04:00.837Z] edf70074bd40: Preparing [2023-03-28T21:04:01.103Z] edf70074bd40: Layer already exists [2023-03-28T21:04:01.103Z] 55a275cc4579: Layer already exists [2023-03-28T21:04:01.103Z] 82ca8b57d26f: Layer already exists [2023-03-28T21:04:01.103Z] 53d09a7627cd: Layer already exists [2023-03-28T21:04:01.103Z] 93714dada01b: Layer already exists [2023-03-28T21:04:01.103Z] 3.0.0-dev.23: digest: sha256:b04a5ab3b5a44eb10a67353e8a250d8228dc8b9fbe72184b593bd3f8cd439b2d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T21:04:01.449Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:053db68f2108a7cf22f6c86d4ad59a87daeaa2c9-3.0.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T21:04:01.786Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:053db68f2108a7cf22f6c86d4ad59a87daeaa2c9-3.0.0-dev.23 [2023-03-28T21:04:01.786Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-28T21:04:01.786Z] 93714dada01b: Preparing [2023-03-28T21:04:01.786Z] 82ca8b57d26f: Preparing [2023-03-28T21:04:01.786Z] 55a275cc4579: Preparing [2023-03-28T21:04:01.786Z] 53d09a7627cd: Preparing [2023-03-28T21:04:01.786Z] edf70074bd40: Preparing [2023-03-28T21:04:01.786Z] 55a275cc4579: Layer already exists [2023-03-28T21:04:01.786Z] 53d09a7627cd: Layer already exists [2023-03-28T21:04:01.786Z] 82ca8b57d26f: Layer already exists [2023-03-28T21:04:01.786Z] edf70074bd40: Layer already exists [2023-03-28T21:04:01.786Z] 93714dada01b: Layer already exists [2023-03-28T21:04:01.786Z] 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9-3.0.0-dev.23: digest: sha256:b04a5ab3b5a44eb10a67353e8a250d8228dc8b9fbe72184b593bd3f8cd439b2d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T21:04:02.131Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T21:04:02.482Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-03-28T21:04:02.482Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-28T21:04:02.482Z] 93714dada01b: Preparing [2023-03-28T21:04:02.482Z] 82ca8b57d26f: Preparing [2023-03-28T21:04:02.482Z] 55a275cc4579: Preparing [2023-03-28T21:04:02.482Z] 53d09a7627cd: Preparing [2023-03-28T21:04:02.482Z] edf70074bd40: Preparing [2023-03-28T21:04:02.482Z] 53d09a7627cd: Layer already exists [2023-03-28T21:04:02.482Z] 55a275cc4579: Layer already exists [2023-03-28T21:04:02.482Z] 82ca8b57d26f: Layer already exists [2023-03-28T21:04:02.482Z] 93714dada01b: Layer already exists [2023-03-28T21:04:02.482Z] edf70074bd40: Layer already exists [2023-03-28T21:04:02.482Z] main: digest: sha256:b04a5ab3b5a44eb10a67353e8a250d8228dc8b9fbe72184b593bd3f8cd439b2d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-28T21:04:02.794Z] ===================================================== [Pipeline] echo [2023-03-28T21:04:02.799Z] taggedImages: [2023-03-28T21:04:02.799Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 [2023-03-28T21:04:02.799Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-03-28T21:04:02.799Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.23 [2023-03-28T21:04:02.799Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:053db68f2108a7cf22f6c86d4ad59a87daeaa2c9-3.0.0-dev.23 [2023-03-28T21:04:02.799Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T21:04:03.163Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-28T21:04:03.163Z] [2023-03-28T21:04:03.163Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T21:04:03.513Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-28T21:04:03.513Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-28T21:04:03.513Z] 8998bd30e6a1: Pulling fs layer [2023-03-28T21:04:03.513Z] 04944245beec: Pulling fs layer [2023-03-28T21:04:03.513Z] 699f458cf7ca: Pulling fs layer [2023-03-28T21:04:03.513Z] 765212b225bb: Pulling fs layer [2023-03-28T21:04:03.513Z] f23df028b6ca: Pulling fs layer [2023-03-28T21:04:03.513Z] d65c8cfc05b1: Pulling fs layer [2023-03-28T21:04:03.513Z] 2437ff75d9bd: Pulling fs layer [2023-03-28T21:04:03.513Z] 765212b225bb: Waiting [2023-03-28T21:04:03.513Z] f23df028b6ca: Waiting [2023-03-28T21:04:03.513Z] d65c8cfc05b1: Waiting [2023-03-28T21:04:03.785Z] 04944245beec: Verifying Checksum [2023-03-28T21:04:03.785Z] 04944245beec: Download complete [2023-03-28T21:04:03.785Z] 765212b225bb: Verifying Checksum [2023-03-28T21:04:03.785Z] 765212b225bb: Download complete [2023-03-28T21:04:03.785Z] f23df028b6ca: Verifying Checksum [2023-03-28T21:04:03.785Z] f23df028b6ca: Download complete [2023-03-28T21:04:03.785Z] d65c8cfc05b1: Download complete [2023-03-28T21:04:04.055Z] 699f458cf7ca: Verifying Checksum [2023-03-28T21:04:04.055Z] 699f458cf7ca: Download complete [2023-03-28T21:04:04.327Z] 8998bd30e6a1: Download complete [2023-03-28T21:04:06.918Z] 2437ff75d9bd: Verifying Checksum [2023-03-28T21:04:06.918Z] 2437ff75d9bd: Download complete [2023-03-28T21:04:08.332Z] 8998bd30e6a1: Pull complete [2023-03-28T21:04:08.919Z] 04944245beec: Pull complete [2023-03-28T21:04:10.327Z] 699f458cf7ca: Pull complete [2023-03-28T21:04:10.327Z] 765212b225bb: Pull complete [2023-03-28T21:04:11.292Z] f23df028b6ca: Pull complete [2023-03-28T21:04:11.560Z] d65c8cfc05b1: Pull complete [2023-03-28T21:04:26.556Z] 2437ff75d9bd: Pull complete [2023-03-28T21:04:26.556Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-28T21:04:26.556Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-28T21:04:26.556Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T21:04:26.758Z] prd-ubuntu20.04-docker-arm64-4c-16g-6119 does not seem to be running inside a container [2023-03-28T21:04:26.827Z] $ 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/89 -v /w/workspace/device-modbus-go/89:/w/workspace/device-modbus-go/89:rw,z -v /w/workspace/device-modbus-go/89@tmp:/w/workspace/device-modbus-go/89@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-28T21:04:29.523Z] $ docker top f3018c79611ff0d4d8386425b0dc98ec4f17b597b3b31e2959c5f40d05bb0c12 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-28T21:04:30.362Z] ---> job-cost.sh [2023-03-28T21:04:30.362Z] lf-activate-venv: SKIPPING [2023-03-28T21:04:30.362Z] INFO: No Stack... [2023-03-28T21:04:30.945Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-28T21:04:31.905Z] INFO: Archiving Costs [Pipeline] sh [2023-03-28T21:04:32.543Z] + cat /w/workspace/device-modbus-go/89/archives/cost.csv [2023-03-28T21:04:32.543Z] + cut -d, -f6 [Pipeline] lock [2023-03-28T21:04:32.610Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-89-stack-cost] [2023-03-28T21:04:32.616Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-89-stack-cost] did not exist. Created. [2023-03-28T21:04:32.617Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-89-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-28T21:04:33.268Z] /w/workspace/device-modbus-go/89@tmp/durable-5547fd2c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-28T21:04:33.927Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-28T21:04:33.948Z] Warning: overwriting stash ‘stack-cost’ [2023-03-28T21:04:33.998Z] Stashed 1 file(s) [Pipeline] } [2023-03-28T21:04:34.007Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-89-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-28T21:04:34.025Z] $ docker stop --time=1 f3018c79611ff0d4d8386425b0dc98ec4f17b597b3b31e2959c5f40d05bb0c12 [2023-03-28T21:04:36.050Z] $ docker rm -f --volumes f3018c79611ff0d4d8386425b0dc98ec4f17b597b3b31e2959c5f40d05bb0c12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-28T21:04:36.495Z] provisioning config files... [2023-03-28T21:04:36.503Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9936237910906776861tmp [Pipeline] { [Pipeline] sh [2023-03-28T21:04:36.794Z] + set +x [2023-03-28T21:04:36.794Z] + curl -s https://codecov.io/bash [2023-03-28T21:04:36.794Z] + bash -s -- [2023-03-28T21:04:36.794Z] [2023-03-28T21:04:36.794Z] _____ _ [2023-03-28T21:04:36.794Z] / ____| | | [2023-03-28T21:04:36.794Z] | | ___ __| | ___ ___ _____ __ [2023-03-28T21:04:36.794Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-28T21:04:36.794Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-28T21:04:36.794Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-28T21:04:36.794Z] Bash-1.0.6 [2023-03-28T21:04:36.794Z] [2023-03-28T21:04:36.794Z] [2023-03-28T21:04:36.794Z] ==> git version 2.25.1 found [2023-03-28T21:04:36.794Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-28T21:04:36.794Z] Release-Date: 2020-01-08 [2023-03-28T21:04:36.794Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-28T21:04:36.794Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-28T21:04:36.794Z] ==> Jenkins CI detected. [2023-03-28T21:04:36.794Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-03-28T21:04:36.794Z] project root: . [2023-03-28T21:04:36.794Z] --> token set from env [2023-03-28T21:04:36.794Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-28T21:04:36.794Z] ==> Running gcov in . (disable via -X gcov) [2023-03-28T21:04:36.794Z] ==> Python coveragepy not found [2023-03-28T21:04:36.794Z] ==> Searching for coverage reports in: [2023-03-28T21:04:36.794Z] + . [2023-03-28T21:04:37.053Z] -> Found 1 reports [2023-03-28T21:04:37.053Z] ==> Detecting git/mercurial file structure [2023-03-28T21:04:37.053Z] ==> Reading reports [2023-03-28T21:04:37.053Z] + ./coverage.out bytes=23739 [2023-03-28T21:04:37.053Z] ==> Appending adjustments [2023-03-28T21:04:37.053Z] https://docs.codecov.io/docs/fixing-reports [2023-03-28T21:04:37.053Z] + Found adjustments [2023-03-28T21:04:37.053Z] ==> Gzipping contents [2023-03-28T21:04:37.053Z] 4.0K /tmp/codecov.okrz7l.gz [2023-03-28T21:04:37.053Z] ==> Uploading reports [2023-03-28T21:04:37.053Z] url: https://codecov.io [2023-03-28T21:04:37.053Z] query: branch=main&commit=053db68f2108a7cf22f6c86d4ad59a87daeaa2c9&build=89&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F89%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-28T21:04:37.053Z] -> Pinging Codecov [2023-03-28T21:04:37.053Z] 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=053db68f2108a7cf22f6c86d4ad59a87daeaa2c9&build=89&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F89%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-28T21:04:37.312Z] -> Uploading to [2023-03-28T21:04:37.312Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-28/55DBCA73C666E3227836607328DD7E49/053db68f2108a7cf22f6c86d4ad59a87daeaa2c9/db2dd92b-0afb-488f-956d-5545f8968cbd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230328%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230328T210437Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7931d017adb63f3bf79b56c9d76798118cb907a6075124401ee614d31ac8191d [2023-03-28T21:04:37.312Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-28T21:04:37.312Z] Dload Upload Total Spent Left Speed [2023-03-28T21:04:37.570Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3877 0 0 100 3877 0 14911 --:--:-- --:--:-- --:--:-- 14854 100 3877 0 0 100 3877 0 14911 --:--:-- --:--:-- --:--:-- 14854 [2023-03-28T21:04:37.570Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 [Pipeline] } [2023-03-28T21:04:37.577Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-03-28T21:04:37.871Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-03-28T21:04:37.881Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T21:04:38.177Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-28T21:04:38.177Z] [2023-03-28T21:04:38.177Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T21:04:38.474Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-28T21:04:38.474Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-03-28T21:04:38.474Z] df9b9388f04a: Pulling fs layer [2023-03-28T21:04:38.474Z] 52dc419b0ee2: Pulling fs layer [2023-03-28T21:04:38.474Z] 25bc292e5bac: Pulling fs layer [2023-03-28T21:04:38.474Z] 114826534d7a: Pulling fs layer [2023-03-28T21:04:38.474Z] 4657fd5d0bcf: Pulling fs layer [2023-03-28T21:04:38.474Z] 6ad1cebc031e: Pulling fs layer [2023-03-28T21:04:38.474Z] 8a3aa393b2d8: Pulling fs layer [2023-03-28T21:04:38.474Z] 4657fd5d0bcf: Waiting [2023-03-28T21:04:38.474Z] 114826534d7a: Waiting [2023-03-28T21:04:38.474Z] 8a3aa393b2d8: Waiting [2023-03-28T21:04:38.474Z] 25bc292e5bac: Verifying Checksum [2023-03-28T21:04:38.474Z] 25bc292e5bac: Download complete [2023-03-28T21:04:38.474Z] 52dc419b0ee2: Verifying Checksum [2023-03-28T21:04:38.474Z] 52dc419b0ee2: Download complete [2023-03-28T21:04:38.474Z] 4657fd5d0bcf: Verifying Checksum [2023-03-28T21:04:38.474Z] 4657fd5d0bcf: Download complete [2023-03-28T21:04:38.474Z] df9b9388f04a: Verifying Checksum [2023-03-28T21:04:38.474Z] df9b9388f04a: Download complete [2023-03-28T21:04:38.733Z] 6ad1cebc031e: Verifying Checksum [2023-03-28T21:04:38.733Z] 6ad1cebc031e: Download complete [2023-03-28T21:04:38.733Z] df9b9388f04a: Pull complete [2023-03-28T21:04:38.733Z] 52dc419b0ee2: Pull complete [2023-03-28T21:04:38.991Z] 25bc292e5bac: Pull complete [2023-03-28T21:04:39.250Z] 114826534d7a: Verifying Checksum [2023-03-28T21:04:39.250Z] 114826534d7a: Download complete [2023-03-28T21:04:39.250Z] 8a3aa393b2d8: Verifying Checksum [2023-03-28T21:04:39.250Z] 8a3aa393b2d8: Download complete [2023-03-28T21:04:42.535Z] 114826534d7a: Pull complete [2023-03-28T21:04:42.535Z] 4657fd5d0bcf: Pull complete [2023-03-28T21:04:42.792Z] 6ad1cebc031e: Pull complete [2023-03-28T21:04:45.321Z] 8a3aa393b2d8: Pull complete [2023-03-28T21:04:45.321Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-03-28T21:04:45.321Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-28T21:04:45.321Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T21:04:45.403Z] prd-ubuntu20.04-docker-8c-8g-6117 does not seem to be running inside a container [2023-03-28T21:04:45.431Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-03-28T21:04:47.310Z] $ docker top 4dc4f1ad0cd37ee53a5bb1813e36ee8e2add083539012ae3c1e6d05d0d9907c1 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-03-28T21:04:47.373Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-03-28T21:04:47.651Z] + set -o pipefail [2023-03-28T21:04:47.651Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-03-28T21:04:54.217Z] [2023-03-28T21:04:54.217Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-03-28T21:04:54.217Z] [2023-03-28T21:04:54.217Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/44f8c41c-5143-47ef-b0b9-4b327e5832d8 [2023-03-28T21:04:54.217Z] [2023-03-28T21:04:54.217Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-03-28T21:04:54.217Z] [2023-03-28T21:04:54.217Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-03-28T21:04:54.217Z] [2023-03-28T21:04:57.518Z] [2023-03-28T21:04:57.518Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-03-28T21:04:57.518Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-03-28T21:04:57.518Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-03-28T21:04:57.529Z] $ docker stop --time=1 4dc4f1ad0cd37ee53a5bb1813e36ee8e2add083539012ae3c1e6d05d0d9907c1 [2023-03-28T21:04:59.617Z] $ docker rm -f --volumes 4dc4f1ad0cd37ee53a5bb1813e36ee8e2add083539012ae3c1e6d05d0d9907c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-28T21:05:00.277Z] + git log --format=format:%s -1 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 [Pipeline] sh [2023-03-28T21:05:00.569Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-28T21:05:00.569Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T21:05:00.866Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-28T21:05:00.866Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T21:05:00.932Z] prd-ubuntu20.04-docker-8c-8g-6117 does not seem to be running inside a container [2023-03-28T21:05:00.959Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-28T21:05:01.372Z] $ docker top 298b18ef76acc1b5b1aa01a61f28300dd7aae736ea6f94a3cb297827a9d79c73 -eo pid,comm [2023-03-28T21:05:01.419Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-28T21:05:01.419Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-28T21:05:01.454Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-28T21:05:01.454Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-28T21:05:01.568Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-28T21:05:01.571Z] $ docker exec 298b18ef76acc1b5b1aa01a61f28300dd7aae736ea6f94a3cb297827a9d79c73 ssh-agent [2023-03-28T21:05:01.682Z] SSH_AUTH_SOCK=/tmp/ssh-CapTGo2zN1HE/agent.32 [2023-03-28T21:05:01.682Z] SSH_AGENT_PID=38 [2023-03-28T21:05:01.687Z] Running ssh-add (command line suppressed) [2023-03-28T21:05:01.785Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9333273548030253318.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9333273548030253318.key) [2023-03-28T21:05:01.801Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-28T21:05:02.091Z] + git semver tag [2023-03-28T21:05:02.349Z] 2023-03-28 21:05:02,268 [run_tag] DEBUG tag force:False [2023-03-28T21:05:02.349Z] 2023-03-28 21:05:02,268 [check_head_tag] DEBUG check head tag [2023-03-28T21:05:02.349Z] 2023-03-28 21:05:02,269 [execute] INFO git cat-file --batch-check [2023-03-28T21:05:02.349Z] 2023-03-28 21:05:02,269 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-03-28T21:05:02.349Z] 2023-03-28 21:05:02,272 [execute] INFO git cat-file --batch [2023-03-28T21:05:02.349Z] 2023-03-28 21:05:02,272 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-03-28T21:05:02.349Z] 2023-03-28 21:05:02,294 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-28T21:05:02.349Z] 2023-03-28 21:05:02,294 [execute] INFO git tag -a v3.0.0-dev.23 -m v3.0.0-dev.23 [2023-03-28T21:05:02.349Z] 2023-03-28 21:05:02,294 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.23', '-m', 'v3.0.0-dev.23'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-03-28T21:05:02.349Z] 2023-03-28 21:05:02,297 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-28T21:05:02.349Z] 3.0.0-dev.23 [Pipeline] } [2023-03-28T21:05:02.357Z] $ docker exec --env ******** --env ******** 298b18ef76acc1b5b1aa01a61f28300dd7aae736ea6f94a3cb297827a9d79c73 ssh-agent -k [2023-03-28T21:05:02.458Z] unset SSH_AUTH_SOCK; [2023-03-28T21:05:02.459Z] unset SSH_AGENT_PID; [2023-03-28T21:05:02.459Z] echo Agent pid 38 killed; [2023-03-28T21:05:02.469Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-28T21:05:02.766Z] + git semver [Pipeline] } [2023-03-28T21:05:03.036Z] $ docker stop --time=1 298b18ef76acc1b5b1aa01a61f28300dd7aae736ea6f94a3cb297827a9d79c73 [2023-03-28T21:05:04.381Z] $ docker rm -f --volumes 298b18ef76acc1b5b1aa01a61f28300dd7aae736ea6f94a3cb297827a9d79c73 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T21:05:04.760Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-28T21:05:04.760Z] [2023-03-28T21:05:04.760Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T21:05:05.060Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-28T21:05:05.060Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-03-28T21:05:05.060Z] ab5ef0e58194: Pulling fs layer [2023-03-28T21:05:05.060Z] 9712f1f96733: Pulling fs layer [2023-03-28T21:05:05.060Z] 63f879dbbcfc: Pulling fs layer [2023-03-28T21:05:05.060Z] 0d9ebad4ef96: Pulling fs layer [2023-03-28T21:05:05.060Z] e9a5061849ea: Pulling fs layer [2023-03-28T21:05:05.060Z] d747dcd14b5f: Pulling fs layer [2023-03-28T21:05:05.060Z] 2de7ff778b66: Pulling fs layer [2023-03-28T21:05:05.060Z] d747dcd14b5f: Waiting [2023-03-28T21:05:05.060Z] 0d9ebad4ef96: Waiting [2023-03-28T21:05:05.060Z] e9a5061849ea: Waiting [2023-03-28T21:05:05.060Z] 2de7ff778b66: Waiting [2023-03-28T21:05:05.060Z] 9712f1f96733: Verifying Checksum [2023-03-28T21:05:05.060Z] 9712f1f96733: Download complete [2023-03-28T21:05:05.319Z] 63f879dbbcfc: Verifying Checksum [2023-03-28T21:05:05.319Z] 63f879dbbcfc: Download complete [2023-03-28T21:05:05.577Z] e9a5061849ea: Verifying Checksum [2023-03-28T21:05:05.577Z] e9a5061849ea: Download complete [2023-03-28T21:05:05.577Z] d747dcd14b5f: Verifying Checksum [2023-03-28T21:05:05.577Z] d747dcd14b5f: Download complete [2023-03-28T21:05:05.577Z] ab5ef0e58194: Verifying Checksum [2023-03-28T21:05:05.577Z] ab5ef0e58194: Download complete [2023-03-28T21:05:05.577Z] 0d9ebad4ef96: Download complete [2023-03-28T21:05:05.577Z] 2de7ff778b66: Verifying Checksum [2023-03-28T21:05:05.577Z] 2de7ff778b66: Download complete [2023-03-28T21:05:08.105Z] ab5ef0e58194: Pull complete [2023-03-28T21:05:08.105Z] 9712f1f96733: Pull complete [2023-03-28T21:05:08.668Z] 63f879dbbcfc: Pull complete [2023-03-28T21:05:11.956Z] 0d9ebad4ef96: Pull complete [2023-03-28T21:05:12.215Z] e9a5061849ea: Pull complete [2023-03-28T21:05:12.215Z] d747dcd14b5f: Pull complete [2023-03-28T21:05:13.149Z] 2de7ff778b66: Pull complete [2023-03-28T21:05:13.149Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-03-28T21:05:13.149Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-28T21:05:13.149Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T21:05:13.222Z] prd-ubuntu20.04-docker-8c-8g-6117 does not seem to be running inside a container [2023-03-28T21:05:13.248Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-03-28T21:05:15.238Z] $ docker top d6d911e08b96777a05515466f10740cd36c538d4a577639bd3447b38c6ec14ac -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-03-28T21:05:15.311Z] provisioning config files... [2023-03-28T21:05:15.316Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12777470680202874986tmp [2023-03-28T21:05:15.325Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17807565498508715017tmp [2023-03-28T21:05:15.334Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14989037176125727702tmp [Pipeline] { [Pipeline] echo [2023-03-28T21:05:15.349Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-28T21:05:15.629Z] ---> sigul-configuration.sh [2023-03-28T21:05:15.629Z] gpg: directory `/root/.gnupg' created [2023-03-28T21:05:15.629Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-03-28T21:05:15.629Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-03-28T21:05:15.629Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-03-28T21:05:15.629Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-03-28T21:05:15.629Z] gpg: CAST5 encrypted data [2023-03-28T21:05:15.629Z] gpg: encrypted with 1 passphrase [2023-03-28T21:05:15.629Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-03-28T21:05:15.914Z] + mkdir /home/jenkins [2023-03-28T21:05:15.914Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-03-28T21:05:16.197Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-03-28T21:05:16.206Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-28T21:05:16.486Z] ---> sigul-install.sh [2023-03-28T21:05:16.486Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-03-28T21:05:16.770Z] + git tag --list [2023-03-28T21:05:16.770Z] 0.7.1 [2023-03-28T21:05:16.770Z] v1.0.0 [2023-03-28T21:05:16.770Z] v1.1.0 [2023-03-28T21:05:16.770Z] v1.1.1 [2023-03-28T21:05:16.770Z] v1.2.2 [2023-03-28T21:05:16.770Z] v1.3.0 [2023-03-28T21:05:16.770Z] v1.3.1 [2023-03-28T21:05:16.770Z] v2.0.0 [2023-03-28T21:05:16.770Z] v2.1.0 [2023-03-28T21:05:16.770Z] v2.1.1 [2023-03-28T21:05:16.770Z] v2.1.1-dev.1 [2023-03-28T21:05:16.770Z] v2.1.1-dev.2 [2023-03-28T21:05:16.770Z] v2.1.1-dev.3 [2023-03-28T21:05:16.770Z] v2.2.0 [2023-03-28T21:05:16.770Z] v2.2.1-dev.1 [2023-03-28T21:05:16.770Z] v2.2.1-dev.2 [2023-03-28T21:05:16.770Z] v2.2.1-dev.3 [2023-03-28T21:05:16.770Z] v2.2.1-dev.4 [2023-03-28T21:05:16.770Z] v2.2.1-dev.5 [2023-03-28T21:05:16.770Z] v2.2.1-dev.6 [2023-03-28T21:05:16.770Z] v2.2.1-dev.7 [2023-03-28T21:05:16.770Z] v2.3.0 [2023-03-28T21:05:16.770Z] v2.3.0-dev.10 [2023-03-28T21:05:16.770Z] v2.3.0-dev.11 [2023-03-28T21:05:16.770Z] v2.3.0-dev.12 [2023-03-28T21:05:16.770Z] v2.3.0-dev.13 [2023-03-28T21:05:16.770Z] v2.3.0-dev.14 [2023-03-28T21:05:16.770Z] v2.3.0-dev.15 [2023-03-28T21:05:16.770Z] v2.3.0-dev.16 [2023-03-28T21:05:16.770Z] v2.3.0-dev.17 [2023-03-28T21:05:16.770Z] v2.3.0-dev.18 [2023-03-28T21:05:16.770Z] v2.3.0-dev.19 [2023-03-28T21:05:16.770Z] v2.3.0-dev.20 [2023-03-28T21:05:16.770Z] v2.3.0-dev.21 [2023-03-28T21:05:16.770Z] v2.3.0-dev.22 [2023-03-28T21:05:16.770Z] v2.3.0-dev.23 [2023-03-28T21:05:16.770Z] v2.3.0-dev.24 [2023-03-28T21:05:16.770Z] v2.3.0-dev.25 [2023-03-28T21:05:16.770Z] v2.3.0-dev.7 [2023-03-28T21:05:16.770Z] v2.3.0-dev.8 [2023-03-28T21:05:16.770Z] v2.3.0-dev.9 [2023-03-28T21:05:16.770Z] v3.0.0-dev.1 [2023-03-28T21:05:16.770Z] v3.0.0-dev.10 [2023-03-28T21:05:16.770Z] v3.0.0-dev.11 [2023-03-28T21:05:16.770Z] v3.0.0-dev.12 [2023-03-28T21:05:16.770Z] v3.0.0-dev.13 [2023-03-28T21:05:16.770Z] v3.0.0-dev.14 [2023-03-28T21:05:16.770Z] v3.0.0-dev.15 [2023-03-28T21:05:16.770Z] v3.0.0-dev.16 [2023-03-28T21:05:16.770Z] v3.0.0-dev.17 [2023-03-28T21:05:16.770Z] v3.0.0-dev.18 [2023-03-28T21:05:16.770Z] v3.0.0-dev.19 [2023-03-28T21:05:16.770Z] v3.0.0-dev.2 [2023-03-28T21:05:16.770Z] v3.0.0-dev.20 [2023-03-28T21:05:16.770Z] v3.0.0-dev.21 [2023-03-28T21:05:16.770Z] v3.0.0-dev.22 [2023-03-28T21:05:16.770Z] v3.0.0-dev.23 [2023-03-28T21:05:16.770Z] v3.0.0-dev.3 [2023-03-28T21:05:16.770Z] v3.0.0-dev.4 [2023-03-28T21:05:16.770Z] v3.0.0-dev.5 [2023-03-28T21:05:16.770Z] v3.0.0-dev.6 [2023-03-28T21:05:16.770Z] v3.0.0-dev.7 [2023-03-28T21:05:16.770Z] v3.0.0-dev.8 [2023-03-28T21:05:16.770Z] v3.0.0-dev.9 [Pipeline] sh [2023-03-28T21:05:17.056Z] + lftools sign git-tag v3.0.0-dev.23 [2023-03-28T21:05:17.625Z] Signing Git tag with Sigul... [2023-03-28T21:05:17.625Z] Signing v3.0.0-dev.23 [Pipeline] echo [2023-03-28T21:05:17.893Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-28T21:05:18.177Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-03-28T21:05:18.185Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-03-28T21:05:18.201Z] $ docker stop --time=1 d6d911e08b96777a05515466f10740cd36c538d4a577639bd3447b38c6ec14ac [2023-03-28T21:05:19.503Z] $ docker rm -f --volumes d6d911e08b96777a05515466f10740cd36c538d4a577639bd3447b38c6ec14ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-03-28T21:05:19.914Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-28T21:05:19.914Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T21:05:20.204Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-28T21:05:20.204Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T21:05:20.276Z] prd-ubuntu20.04-docker-8c-8g-6117 does not seem to be running inside a container [2023-03-28T21:05:20.304Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-28T21:05:20.667Z] $ docker top 4daf6c22e97e8d55774876543596d445386cfc5e785901a519c3ef7c12b5b1a7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-28T21:05:20.745Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-28T21:05:20.745Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-28T21:05:20.851Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-28T21:05:20.853Z] $ docker exec 4daf6c22e97e8d55774876543596d445386cfc5e785901a519c3ef7c12b5b1a7 ssh-agent [2023-03-28T21:05:20.954Z] SSH_AUTH_SOCK=/tmp/ssh-74TkjyfTHKv9/agent.32 [2023-03-28T21:05:20.954Z] SSH_AGENT_PID=38 [2023-03-28T21:05:20.958Z] Running ssh-add (command line suppressed) [2023-03-28T21:05:21.063Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1482763903818925584.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1482763903818925584.key) [2023-03-28T21:05:21.075Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-28T21:05:21.358Z] + git semver bump pre [2023-03-28T21:05:21.616Z] 2023-03-28 21:05:21,521 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-28T21:05:21.616Z] 2023-03-28 21:05:21,522 [bump_version] DEBUG bumping version:3.0.0-dev.23 on axis:pre with prefix:dev [2023-03-28T21:05:21.616Z] 2023-03-28 21:05:21,522 [bump_version] DEBUG bumped version:3.0.0-dev.24 [2023-03-28T21:05:21.616Z] 2023-03-28 21:05:21,522 [write_version] DEBUG write version:3.0.0-dev.24 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-03-28T21:05:21.616Z] 2023-03-28 21:05:21,522 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-28T21:05:21.616Z] 2023-03-28 21:05:21,522 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-28T21:05:21.616Z] 2023-03-28 21:05:21,526 [execute] INFO git cat-file --batch-check [2023-03-28T21:05:21.616Z] 2023-03-28 21:05:21,527 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-28T21:05:21.616Z] 2023-03-28 21:05:21,532 [execute] INFO git cat-file --batch [2023-03-28T21:05:21.616Z] 2023-03-28 21:05:21,533 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-28T21:05:21.616Z] 2023-03-28 21:05:21,537 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-28T21:05:21.616Z] 3.0.0-dev.24 [Pipeline] } [2023-03-28T21:05:21.624Z] $ docker exec --env ******** --env ******** 4daf6c22e97e8d55774876543596d445386cfc5e785901a519c3ef7c12b5b1a7 ssh-agent -k [2023-03-28T21:05:21.729Z] unset SSH_AUTH_SOCK; [2023-03-28T21:05:21.729Z] unset SSH_AGENT_PID; [2023-03-28T21:05:21.729Z] echo Agent pid 38 killed; [2023-03-28T21:05:21.736Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-28T21:05:22.034Z] + git semver [Pipeline] } [2023-03-28T21:05:22.302Z] $ docker stop --time=1 4daf6c22e97e8d55774876543596d445386cfc5e785901a519c3ef7c12b5b1a7 [2023-03-28T21:05:23.590Z] $ docker rm -f --volumes 4daf6c22e97e8d55774876543596d445386cfc5e785901a519c3ef7c12b5b1a7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-28T21:05:23.940Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-28T21:05:23.940Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T21:05:24.235Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-28T21:05:24.235Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T21:05:24.301Z] prd-ubuntu20.04-docker-8c-8g-6117 does not seem to be running inside a container [2023-03-28T21:05:24.329Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-28T21:05:24.666Z] $ docker top 82b1fd5187596336df242c895012bba0bcfc5b3e1d8bf8e55958079bb31e367b -eo pid,comm [2023-03-28T21:05:24.710Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-28T21:05:24.710Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-28T21:05:24.752Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-28T21:05:24.752Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-28T21:05:24.858Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-28T21:05:24.860Z] $ docker exec 82b1fd5187596336df242c895012bba0bcfc5b3e1d8bf8e55958079bb31e367b ssh-agent [2023-03-28T21:05:24.967Z] SSH_AUTH_SOCK=/tmp/ssh-yPK5tqMvM8me/agent.33 [2023-03-28T21:05:24.967Z] SSH_AGENT_PID=39 [2023-03-28T21:05:24.971Z] Running ssh-add (command line suppressed) [2023-03-28T21:05:25.085Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3966137808861421584.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3966137808861421584.key) [2023-03-28T21:05:25.096Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-28T21:05:25.379Z] + git semver push [2023-03-28T21:05:25.641Z] 2023-03-28 21:05:25,552 [run_push] DEBUG push [2023-03-28T21:05:25.641Z] 2023-03-28 21:05:25,553 [execute] INFO git cat-file --batch-check [2023-03-28T21:05:25.641Z] 2023-03-28 21:05:25,553 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-28T21:05:25.641Z] 2023-03-28 21:05:25,557 [execute] INFO git rev-list 98852e315f023cb056bf29657fda6248da7f0f1f -- [2023-03-28T21:05:25.641Z] 2023-03-28 21:05:25,557 [execute] DEBUG Popen(['git', 'rev-list', '98852e315f023cb056bf29657fda6248da7f0f1f', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-28T21:05:25.641Z] 2023-03-28 21:05:25,565 [execute] INFO git fetch -v origin [2023-03-28T21:05:25.641Z] 2023-03-28 21:05:25,566 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-03-28T21:05:26.208Z] 2023-03-28 21:05:26,049 [run_push] DEBUG no remote changes detected [2023-03-28T21:05:26.208Z] 2023-03-28 21:05:26,049 [execute] INFO git push origin semver [2023-03-28T21:05:26.208Z] 2023-03-28 21:05:26,050 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-28T21:05:27.144Z] 2023-03-28 21:05:26,821 [run_push] DEBUG push all version tags [2023-03-28T21:05:27.144Z] 2023-03-28 21:05:26,821 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-03-28T21:05:27.144Z] 2023-03-28 21:05:26,821 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-03-28T21:05:27.711Z] 2023-03-28 21:05:27,575 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-28T21:05:27.711Z] 3.0.0-dev.24 [Pipeline] } [2023-03-28T21:05:27.720Z] $ docker exec --env ******** --env ******** 82b1fd5187596336df242c895012bba0bcfc5b3e1d8bf8e55958079bb31e367b ssh-agent -k [2023-03-28T21:05:27.840Z] unset SSH_AUTH_SOCK; [2023-03-28T21:05:27.840Z] unset SSH_AGENT_PID; [2023-03-28T21:05:27.840Z] echo Agent pid 39 killed; [2023-03-28T21:05:27.849Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-28T21:05:28.155Z] + git semver [Pipeline] } [2023-03-28T21:05:28.426Z] $ docker stop --time=1 82b1fd5187596336df242c895012bba0bcfc5b3e1d8bf8e55958079bb31e367b [2023-03-28T21:05:29.706Z] $ docker rm -f --volumes 82b1fd5187596336df242c895012bba0bcfc5b3e1d8bf8e55958079bb31e367b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-28T21:05:30.248Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-03-28T21:05:30.248Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-03-28T21:05:30.248Z] total 16 [2023-03-28T21:05:30.248Z] drwxr-xr-x 3 root root 4096 Mar 28 20:55 . [2023-03-28T21:05:30.248Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 28 21:05 .. [2023-03-28T21:05:30.248Z] drwxr-xr-x 2 root root 4096 Mar 28 20:55 cost [2023-03-28T21:05:30.248Z] -rw-r--r-- 1 root root 87 Mar 28 20:55 cost.csv [2023-03-28T21:05:30.248Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-03-28T21:05:30.248Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-03-28T21:05:30.248Z] total 16 [2023-03-28T21:05:30.248Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 20:55 . [2023-03-28T21:05:30.248Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 28 21:05 .. [2023-03-28T21:05:30.248Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 20:55 cost [2023-03-28T21:05:30.248Z] -rw-r--r-- 1 jenkins jenkins 87 Mar 28 20:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-28T21:05:30.532Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-28T21:05:31.384Z] ---> package-listing.sh [2023-03-28T21:05:31.384Z] ++ facter osfamily [2023-03-28T21:05:31.384Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-28T21:05:31.643Z] + OS_FAMILY=debian [2023-03-28T21:05:31.643Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-03-28T21:05:31.643Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-28T21:05:31.643Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-28T21:05:31.643Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-28T21:05:31.643Z] + PACKAGES=/tmp/packages_start.txt [2023-03-28T21:05:31.643Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-03-28T21:05:31.643Z] + PACKAGES=/tmp/packages_end.txt [2023-03-28T21:05:31.643Z] + case "${OS_FAMILY}" in [2023-03-28T21:05:31.643Z] + dpkg -l [2023-03-28T21:05:31.643Z] + grep '^ii' [2023-03-28T21:05:31.643Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-28T21:05:31.643Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-28T21:05:31.643Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-28T21:05:31.643Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-03-28T21:05:31.643Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-03-28T21:05:31.643Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2023-03-28T21:05:31.653Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-28T21:05:31.929Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T21:05:32.481Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-28T21:05:32.481Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T21:05:32.547Z] prd-ubuntu20.04-docker-8c-8g-6117 does not seem to be running inside a container [2023-03-28T21:05:32.569Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-28T21:05:32.786Z] $ docker top b563bfaa59ffc34bdcebec1a6053966486696efabb24be7f6b007eccc4477ecc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-28T21:05:33.217Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-28T21:05:33.551Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-28T21:05:33.831Z] + ls /var/log/sa-host [2023-03-28T21:05:33.831Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-28T21:05:33.966Z] provisioning config files... [2023-03-28T21:05:33.973Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2378013155504766681tmp [Pipeline] { [Pipeline] echo [2023-03-28T21:05:33.983Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-28T21:05:34.263Z] ---> create-netrc.sh [Pipeline] } [2023-03-28T21:05:34.270Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-28T21:05:34.609Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-28T21:05:34.617Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-28T21:05:34.900Z] ---> sudo-logs.sh [2023-03-28T21:05:34.900Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-28T21:05:34.924Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-28T21:05:35.203Z] ---> job-cost.sh [2023-03-28T21:05:35.203Z] lf-activate-venv: SKIPPING [2023-03-28T21:05:35.203Z] DEBUG: total: 0.2199999988079071 [2023-03-28T21:05:35.203Z] INFO: Retrieving Stack Cost... [2023-03-28T21:05:35.772Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-28T21:05:36.340Z] INFO: Archiving Costs [Pipeline] echo [2023-03-28T21:05:36.352Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-28T21:05:36.633Z] ---> logs-deploy.sh [2023-03-28T21:05:36.633Z] lf-activate-venv: SKIPPING [2023-03-28T21:05:36.633Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/89 [2023-03-28T21:05:36.633Z] INFO: archiving workspace using pattern(s): [2023-03-28T21:05:37.570Z] Archives upload complete. [2023-03-28T21:05:37.570Z] INFO: archiving logs to Nexus