Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9bc48e746bb510c782b9593f55beae1b8e3bd068 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-ssh15145224330773310890.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-ssh10064555687795573890.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-ssh6227796683545796159.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-ssh2795554020720464795.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-ssh13543496296647908781.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 ‘prd-centos7-blackbox-4c-2g-4488’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-5224’ is offline ‘prd-ubuntu20.04-docker-8c-8g-5231’ is offline ‘prd-ubuntu20.04-docker-8c-8g-5232’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-5225’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5234 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 9bc48e746bb510c782b9593f55beae1b8e3bd068 (main) Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory (#437)" > 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 9bc48e746bb510c782b9593f55beae1b8e3bd068 # timeout=10 > git rev-list --no-walk 82ff0da3d76fda56b8be828932abbd4e3fc098e3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-22T17:22:52.574Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-22T17:22:52.613Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-22T17:22:52.632Z] ========================================================= [2023-03-22T17:22:52.632Z] EdgeX Global Pipelines Version Info [2023-03-22T17:22:52.632Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:23:05.043Z] ------------------- [2023-03-22T17:23:05.044Z] stable info: [2023-03-22T17:23:05.044Z] ------------------- [2023-03-22T17:23:05.044Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-22T17:23:05.044Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-22T17:23:05.044Z] Message: update stable to v1.0.245 [2023-03-22T17:23:05.044Z] ------------------- [2023-03-22T17:23:05.044Z] experimental info: [2023-03-22T17:23:05.044Z] ------------------- [2023-03-22T17:23:05.044Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-22T17:23:05.044Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-22T17:23:05.044Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-22T17:23:05.205Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-03-22T17:23:05.220Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-03-22T17:23:05.232Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-22T17:23:05.248Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-22T17:23:05.259Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-22T17:23:05.272Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-22T17:23:05.286Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-22T17:23:05.296Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-22T17:23:05.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-22T17:23:05.323Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-22T17:23:05.335Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-22T17:23:05.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-03-22T17:23:05.369Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-22T17:23:05.382Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-22T17:23:05.394Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-22T17:23:05.406Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-22T17:23:05.420Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T17:23:05.432Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T17:23:05.447Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-22T17:23:05.460Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-22T17:23:05.477Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-22T17:23:05.490Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-22T17:23:05.504Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-22T17:23:05.513Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-22T17:23:05.525Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-22T17:23:05.536Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-22T17:23:05.548Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-22T17:23:05.560Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-03-22T17:23:05.571Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-03-22T17:23:05.584Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-03-22T17:23:05.595Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9bc48e746bb510c782b9593f55beae1b8e3bd068 [Pipeline] echo [2023-03-22T17:23:05.607Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9bc48e7 [Pipeline] echo [2023-03-22T17:23:05.618Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T17:23:05.658Z] provisioning config files... [2023-03-22T17:23:05.670Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12958102233113314701tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:23:05.974Z] ---> docker-login.sh [2023-03-22T17:23:05.974Z] nexus3.edgexfoundry.org:10001 [2023-03-22T17:23:06.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:23:06.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:23:06.236Z] Configure a credential helper to remove this warning. See [2023-03-22T17:23:06.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:23:06.236Z] [2023-03-22T17:23:06.236Z] Login Succeeded [2023-03-22T17:23:06.236Z] nexus3.edgexfoundry.org:10002 [2023-03-22T17:23:06.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:23:06.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:23:06.236Z] Configure a credential helper to remove this warning. See [2023-03-22T17:23:06.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:23:06.236Z] [2023-03-22T17:23:06.236Z] Login Succeeded [2023-03-22T17:23:06.236Z] nexus3.edgexfoundry.org:10003 [2023-03-22T17:23:06.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:23:06.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:23:06.495Z] Configure a credential helper to remove this warning. See [2023-03-22T17:23:06.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:23:06.495Z] [2023-03-22T17:23:06.495Z] Login Succeeded [2023-03-22T17:23:06.495Z] nexus3.edgexfoundry.org:10004 [2023-03-22T17:23:06.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:23:06.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:23:06.495Z] Configure a credential helper to remove this warning. See [2023-03-22T17:23:06.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:23:06.495Z] [2023-03-22T17:23:06.495Z] Login Succeeded [2023-03-22T17:23:06.495Z] docker.io [2023-03-22T17:23:06.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:23:06.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:23:06.755Z] Configure a credential helper to remove this warning. See [2023-03-22T17:23:06.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:23:06.755Z] [2023-03-22T17:23:06.755Z] Login Succeeded [2023-03-22T17:23:06.755Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T17:23:06.764Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-22T17:23:07.133Z] + git rev-list -1 --merges 9bc48e746bb510c782b9593f55beae1b8e3bd068~1..9bc48e746bb510c782b9593f55beae1b8e3bd068 [Pipeline] echo [2023-03-22T17:23:07.182Z] -----------> git rev-list -1 --merges 9bc48e746bb510c782b9593f55beae1b8e3bd068~1..9bc48e746bb510c782b9593f55beae1b8e3bd068 9bc48e746bb510c782b9593f55beae1b8e3bd068 [false] [Pipeline] sh [2023-03-22T17:23:07.471Z] + git log --format=format:%s -1 9bc48e746bb510c782b9593f55beae1b8e3bd068 [Pipeline] echo [2023-03-22T17:23:07.485Z] ========================================================= [2023-03-22T17:23:07.485Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-22T17:23:07.485Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T17:23:07.818Z] + git log --format=format:%s -1 9bc48e746bb510c782b9593f55beae1b8e3bd068 [Pipeline] echo [2023-03-22T17:23:07.828Z] [semverPrep] GIT_COMMIT: 9bc48e746bb510c782b9593f55beae1b8e3bd068, Commit Message: fix(snap): Refactor to avoid conflicts with readonly config provider directory (#437) [Pipeline] echo [2023-03-22T17:23:07.837Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-22T17:23:08.182Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-22T17:23:08.182Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-22T17:23:08.182Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-22T17:23:08.182Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-22T17:23:08.182Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-22T17:23:08.182Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-22T17:23:08.182Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:23:08.524Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T17:23:08.525Z] [2023-03-22T17:23:08.525Z] 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-22T17:23:08.828Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T17:23:08.828Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-22T17:23:08.828Z] b85a868b505f: Pulling fs layer [2023-03-22T17:23:08.828Z] e2be974225ed: Pulling fs layer [2023-03-22T17:23:08.828Z] 339a4e72a1f5: Pulling fs layer [2023-03-22T17:23:08.828Z] 988bab9f4d93: Pulling fs layer [2023-03-22T17:23:08.828Z] 1469e6f7b9e6: Pulling fs layer [2023-03-22T17:23:08.828Z] eaf3925da568: Pulling fs layer [2023-03-22T17:23:08.828Z] bab4dde63d76: Pulling fs layer [2023-03-22T17:23:08.828Z] bde34c3a00c8: Pulling fs layer [2023-03-22T17:23:08.828Z] b352a97aabf1: Pulling fs layer [2023-03-22T17:23:08.828Z] 4872d77fe225: Pulling fs layer [2023-03-22T17:23:08.828Z] 5851b861e8e6: Pulling fs layer [2023-03-22T17:23:08.828Z] bde34c3a00c8: Waiting [2023-03-22T17:23:08.828Z] 988bab9f4d93: Waiting [2023-03-22T17:23:08.828Z] b352a97aabf1: Waiting [2023-03-22T17:23:08.828Z] 5851b861e8e6: Waiting [2023-03-22T17:23:08.828Z] 4872d77fe225: Waiting [2023-03-22T17:23:08.828Z] bab4dde63d76: Waiting [2023-03-22T17:23:08.828Z] eaf3925da568: Waiting [2023-03-22T17:23:08.828Z] 1469e6f7b9e6: Waiting [2023-03-22T17:23:08.828Z] e2be974225ed: Verifying Checksum [2023-03-22T17:23:08.828Z] e2be974225ed: Download complete [2023-03-22T17:23:08.828Z] 988bab9f4d93: Download complete [2023-03-22T17:23:09.090Z] 1469e6f7b9e6: Verifying Checksum [2023-03-22T17:23:09.090Z] 1469e6f7b9e6: Download complete [2023-03-22T17:23:09.090Z] 339a4e72a1f5: Verifying Checksum [2023-03-22T17:23:09.090Z] 339a4e72a1f5: Download complete [2023-03-22T17:23:09.090Z] eaf3925da568: Verifying Checksum [2023-03-22T17:23:09.090Z] eaf3925da568: Download complete [2023-03-22T17:23:09.090Z] bde34c3a00c8: Download complete [2023-03-22T17:23:09.090Z] b352a97aabf1: Download complete [2023-03-22T17:23:09.090Z] 4872d77fe225: Download complete [2023-03-22T17:23:09.090Z] 5851b861e8e6: Download complete [2023-03-22T17:23:09.090Z] b85a868b505f: Verifying Checksum [2023-03-22T17:23:09.090Z] b85a868b505f: Download complete [2023-03-22T17:23:09.351Z] bab4dde63d76: Verifying Checksum [2023-03-22T17:23:09.351Z] bab4dde63d76: Download complete [2023-03-22T17:23:10.287Z] b85a868b505f: Pull complete [2023-03-22T17:23:10.548Z] e2be974225ed: Pull complete [2023-03-22T17:23:11.115Z] 339a4e72a1f5: Pull complete [2023-03-22T17:23:11.115Z] 988bab9f4d93: Pull complete [2023-03-22T17:23:11.376Z] 1469e6f7b9e6: Pull complete [2023-03-22T17:23:11.376Z] eaf3925da568: Pull complete [2023-03-22T17:23:13.291Z] bab4dde63d76: Pull complete [2023-03-22T17:23:13.291Z] bde34c3a00c8: Pull complete [2023-03-22T17:23:13.550Z] b352a97aabf1: Pull complete [2023-03-22T17:23:13.550Z] 4872d77fe225: Pull complete [2023-03-22T17:23:13.550Z] 5851b861e8e6: Pull complete [2023-03-22T17:23:13.550Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-22T17:23:13.550Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T17:23:13.550Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:23:13.652Z] prd-ubuntu20.04-docker-8c-8g-5234 does not seem to be running inside a container [2023-03-22T17:23:13.684Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-22T17:23:15.093Z] $ docker top 045ed7abf3b395dc68fc55fecff57fb99376c14971a967350c54ea24c3c4e186 -eo pid,comm [2023-03-22T17:23:15.155Z] 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-22T17:23:15.156Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-22T17:23:15.189Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T17:23:15.189Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T17:23:15.294Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T17:23:15.294Z] $ docker exec 045ed7abf3b395dc68fc55fecff57fb99376c14971a967350c54ea24c3c4e186 ssh-agent [2023-03-22T17:23:15.410Z] SSH_AUTH_SOCK=/tmp/ssh-fdQoqCJn4xAt/agent.32 [2023-03-22T17:23:15.410Z] SSH_AGENT_PID=38 [2023-03-22T17:23:15.416Z] Running ssh-add (command line suppressed) [2023-03-22T17:23:15.511Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7660280911521942905.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7660280911521942905.key) [2023-03-22T17:23:15.529Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T17:23:15.822Z] + git tag --points-at HEAD [Pipeline] } [2023-03-22T17:23:15.831Z] $ docker exec --env ******** --env ******** 045ed7abf3b395dc68fc55fecff57fb99376c14971a967350c54ea24c3c4e186 ssh-agent -k [2023-03-22T17:23:15.932Z] unset SSH_AUTH_SOCK; [2023-03-22T17:23:15.933Z] unset SSH_AGENT_PID; [2023-03-22T17:23:15.933Z] echo Agent pid 38 killed; [2023-03-22T17:23:15.948Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-22T17:23:15.977Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T17:23:15.977Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T17:23:16.086Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T17:23:16.087Z] $ docker exec 045ed7abf3b395dc68fc55fecff57fb99376c14971a967350c54ea24c3c4e186 ssh-agent [2023-03-22T17:23:16.206Z] SSH_AUTH_SOCK=/tmp/ssh-k1ST9193SDES/agent.70 [2023-03-22T17:23:16.206Z] SSH_AGENT_PID=76 [2023-03-22T17:23:16.212Z] Running ssh-add (command line suppressed) [2023-03-22T17:23:16.309Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15434611085879832766.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15434611085879832766.key) [2023-03-22T17:23:16.325Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T17:23:16.609Z] + git semver init [2023-03-22T17:23:16.870Z] 2023-03-22 17:23:16,789 [run_init] DEBUG init version:0.0.0 force:False [2023-03-22T17:23:16.870Z] 2023-03-22 17:23:16,790 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-03-22T17:23:16.870Z] 2023-03-22 17:23:16,791 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-03-22T17:23:16.870Z] 2023-03-22 17:23:16,791 [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-22T17:23:17.810Z] 2023-03-22 17:23:17,548 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-03-22T17:23:17.810Z] 2023-03-22 17:23:17,549 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-03-22T17:23:17.810Z] 2023-03-22 17:23:17,549 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-22T17:23:17.810Z] 2023-03-22 17:23:17,549 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-22T17:23:17.810Z] 3.0.0-dev.21 [Pipeline] } [2023-03-22T17:23:17.818Z] $ docker exec --env ******** --env ******** 045ed7abf3b395dc68fc55fecff57fb99376c14971a967350c54ea24c3c4e186 ssh-agent -k [2023-03-22T17:23:17.929Z] unset SSH_AUTH_SOCK; [2023-03-22T17:23:17.929Z] unset SSH_AGENT_PID; [2023-03-22T17:23:17.930Z] echo Agent pid 76 killed; [2023-03-22T17:23:17.942Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-22T17:23:18.249Z] + git semver [Pipeline] } [2023-03-22T17:23:18.520Z] $ docker stop --time=1 045ed7abf3b395dc68fc55fecff57fb99376c14971a967350c54ea24c3c4e186 [2023-03-22T17:23:19.834Z] $ docker rm -f --volumes 045ed7abf3b395dc68fc55fecff57fb99376c14971a967350c54ea24c3c4e186 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T17:23:20.191Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-22T17:23:20.409Z] Stashed 1 file(s) [Pipeline] echo [2023-03-22T17:23:20.411Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.21 [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-22T17:23:20.533Z] provisioning config files... [2023-03-22T17:23:20.543Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9580264417143986997tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:23:20.840Z] ---> docker-login.sh [2023-03-22T17:23:20.840Z] nexus3.edgexfoundry.org:10001 [2023-03-22T17:23:20.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:23:20.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:23:20.840Z] Configure a credential helper to remove this warning. See [2023-03-22T17:23:20.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:23:20.840Z] [2023-03-22T17:23:20.840Z] Login Succeeded [2023-03-22T17:23:20.840Z] nexus3.edgexfoundry.org:10002 [2023-03-22T17:23:20.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:23:20.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:23:20.840Z] Configure a credential helper to remove this warning. See [2023-03-22T17:23:20.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:23:20.840Z] [2023-03-22T17:23:20.840Z] Login Succeeded [2023-03-22T17:23:20.840Z] nexus3.edgexfoundry.org:10003 [2023-03-22T17:23:21.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:23:21.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:23:21.099Z] Configure a credential helper to remove this warning. See [2023-03-22T17:23:21.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:23:21.099Z] [2023-03-22T17:23:21.099Z] Login Succeeded [2023-03-22T17:23:21.099Z] nexus3.edgexfoundry.org:10004 [2023-03-22T17:23:21.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:23:21.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:23:21.099Z] Configure a credential helper to remove this warning. See [2023-03-22T17:23:21.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:23:21.099Z] [2023-03-22T17:23:21.099Z] Login Succeeded [2023-03-22T17:23:21.099Z] docker.io [2023-03-22T17:23:21.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:23:21.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:23:21.360Z] Configure a credential helper to remove this warning. See [2023-03-22T17:23:21.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:23:21.360Z] [2023-03-22T17:23:21.360Z] Login Succeeded [2023-03-22T17:23:21.360Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T17:23:21.367Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-22T17:23:21.441Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T17:23:21.460Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T17:23:21.472Z] ========================================================= [2023-03-22T17:23:21.472Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-22T17:23:21.472Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:23:21.795Z] + 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-22T17:23:21.795Z] Sending build context to Docker daemon 6.375MB [2023-03-22T17:23:21.795Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T17:23:21.795Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-22T17:23:21.795Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-22T17:23:21.795Z] 63b65145d645: Pulling fs layer [2023-03-22T17:23:21.795Z] a2d21d5440eb: Pulling fs layer [2023-03-22T17:23:21.795Z] 935e6c44a52c: Pulling fs layer [2023-03-22T17:23:21.795Z] 94cc34f8dd06: Pulling fs layer [2023-03-22T17:23:21.795Z] 30dea6a524f1: Pulling fs layer [2023-03-22T17:23:21.795Z] a2aff8979fd8: Pulling fs layer [2023-03-22T17:23:21.795Z] 6808be2612f2: Pulling fs layer [2023-03-22T17:23:21.795Z] f25807f1079a: Pulling fs layer [2023-03-22T17:23:21.795Z] 30dea6a524f1: Waiting [2023-03-22T17:23:21.795Z] a2aff8979fd8: Waiting [2023-03-22T17:23:21.795Z] f25807f1079a: Waiting [2023-03-22T17:23:21.795Z] 6808be2612f2: Waiting [2023-03-22T17:23:21.795Z] 94cc34f8dd06: Waiting [2023-03-22T17:23:21.795Z] a2d21d5440eb: Download complete [2023-03-22T17:23:22.055Z] 94cc34f8dd06: Download complete [2023-03-22T17:23:22.055Z] 30dea6a524f1: Verifying Checksum [2023-03-22T17:23:22.055Z] 30dea6a524f1: Download complete [2023-03-22T17:23:22.055Z] 63b65145d645: Verifying Checksum [2023-03-22T17:23:22.055Z] 63b65145d645: Download complete [2023-03-22T17:23:22.055Z] a2aff8979fd8: Verifying Checksum [2023-03-22T17:23:22.055Z] a2aff8979fd8: Download complete [2023-03-22T17:23:22.055Z] 63b65145d645: Pull complete [2023-03-22T17:23:22.330Z] a2d21d5440eb: Pull complete [2023-03-22T17:23:22.592Z] f25807f1079a: Verifying Checksum [2023-03-22T17:23:22.592Z] f25807f1079a: Download complete [2023-03-22T17:23:22.592Z] 935e6c44a52c: Verifying Checksum [2023-03-22T17:23:22.592Z] 935e6c44a52c: Download complete [2023-03-22T17:23:22.850Z] 6808be2612f2: Verifying Checksum [2023-03-22T17:23:22.850Z] 6808be2612f2: Download complete [2023-03-22T17:23:26.130Z] 935e6c44a52c: Pull complete [2023-03-22T17:23:26.130Z] 94cc34f8dd06: Pull complete [2023-03-22T17:23:26.130Z] 30dea6a524f1: Pull complete [2023-03-22T17:23:26.130Z] a2aff8979fd8: Pull complete [2023-03-22T17:23:28.031Z] 6808be2612f2: Pull complete [2023-03-22T17:23:28.965Z] f25807f1079a: Pull complete [2023-03-22T17:23:28.965Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-22T17:23:28.965Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-22T17:23:28.965Z] ---> 3b553350e43f [2023-03-22T17:23:28.965Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-03-22T17:23:30.868Z] ---> Running in a729e81c5caf [2023-03-22T17:23:30.868Z] Removing intermediate container a729e81c5caf [2023-03-22T17:23:30.868Z] ---> 6a6c435d045f [2023-03-22T17:23:30.868Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-22T17:23:30.868Z] ---> Running in 6cfa20e034d7 [2023-03-22T17:23:30.868Z] Removing intermediate container 6cfa20e034d7 [2023-03-22T17:23:30.868Z] ---> 80e1d5832c6d [2023-03-22T17:23:30.868Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-03-22T17:23:31.128Z] ---> Running in 1d2861cb66a4 [2023-03-22T17:23:31.387Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T17:23:31.387Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T17:23:31.657Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-03-22T17:23:31.657Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-03-22T17:23:31.657Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-03-22T17:23:31.657Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-03-22T17:23:31.657Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-03-22T17:23:31.657Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-03-22T17:23:31.657Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-03-22T17:23:31.657Z] (8/8) Installing openssh (9.1_p1-r2) [2023-03-22T17:23:31.657Z] Executing busybox-1.35.0-r29.trigger [2023-03-22T17:23:31.657Z] OK: 270 MiB in 61 packages [2023-03-22T17:23:32.224Z] Removing intermediate container 1d2861cb66a4 [2023-03-22T17:23:32.224Z] ---> 6eb4bd21284d [2023-03-22T17:23:32.224Z] Step 6/10 : WORKDIR /device-modbus-go [2023-03-22T17:23:32.224Z] ---> Running in f566e7dbc04b [2023-03-22T17:23:32.483Z] Removing intermediate container f566e7dbc04b [2023-03-22T17:23:32.483Z] ---> 64935b15a2e2 [2023-03-22T17:23:32.483Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-22T17:23:32.483Z] ---> 223a033d7359 [2023-03-22T17:23:32.483Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T17:23:32.483Z] ---> Running in e19e749ecba8 [2023-03-22T17:23:35.507Z] Still waiting to schedule task [2023-03-22T17:23:35.507Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-22T17:23:59.036Z] Removing intermediate container e19e749ecba8 [2023-03-22T17:23:59.036Z] ---> fbfe0ad22a32 [2023-03-22T17:23:59.036Z] Step 9/10 : COPY . . [2023-03-22T17:23:59.036Z] ---> 8c04dbf21884 [2023-03-22T17:23:59.036Z] Step 10/10 : RUN ${MAKE} [2023-03-22T17:23:59.036Z] ---> Running in f45a5afeca32 [2023-03-22T17:23:59.036Z] noop [2023-03-22T17:23:59.036Z] Removing intermediate container f45a5afeca32 [2023-03-22T17:23:59.036Z] ---> 100d6648c663 [2023-03-22T17:23:59.036Z] Successfully built 100d6648c663 [2023-03-22T17:23:59.036Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:23:59.340Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-22T17:23:59.340Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:23:59.408Z] prd-ubuntu20.04-docker-8c-8g-5234 does not seem to be running inside a container [2023-03-22T17:23:59.431Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-22T17:23:59.812Z] $ docker top 79a5f65e1b0917c911994327bce85c24af59a66a3f6440d75c6f107cb0d4113f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T17:24:00.156Z] + go version [2023-03-22T17:24:00.157Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-22T17:24:00.165Z] $ docker stop --time=1 79a5f65e1b0917c911994327bce85c24af59a66a3f6440d75c6f107cb0d4113f [2023-03-22T17:24:01.515Z] $ docker rm -f --volumes 79a5f65e1b0917c911994327bce85c24af59a66a3f6440d75c6f107cb0d4113f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:24:01.912Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-22T17:24:01.912Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:24:01.988Z] prd-ubuntu20.04-docker-8c-8g-5234 does not seem to be running inside a container [2023-03-22T17:24:02.015Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-22T17:24:02.378Z] $ docker top 2a53b672015d52b60f81afa2b01ee62bbd537ef7ba685a92d22c10452c21ab5a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T17:24:02.718Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-03-22T17:24:03.007Z] + make test [2023-03-22T17:24:03.007Z] go test ./... -coverprofile=coverage.out [2023-03-22T17:24:08.272Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-03-22T17:24:18.251Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-03-22T17:24:18.251Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 48.0% of statements [2023-03-22T17:24:24.812Z] go vet ./... [2023-03-22T17:24:28.094Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-22T17:24:28.094Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-22T17:24:28.094Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-22T17:24:28.104Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-22T17:24:28.115Z] $ docker stop --time=1 2a53b672015d52b60f81afa2b01ee62bbd537ef7ba685a92d22c10452c21ab5a [2023-03-22T17:24:30.319Z] $ docker rm -f --volumes 2a53b672015d52b60f81afa2b01ee62bbd537ef7ba685a92d22c10452c21ab5a [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T17:24:30.775Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-22T17:24:30.822Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-22T17:24:31.295Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-22T17:24:31.607Z] + ls -al . [2023-03-22T17:24:31.607Z] total 180 [2023-03-22T17:24:31.607Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 17:24 . [2023-03-22T17:24:31.607Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 17:22 .. [2023-03-22T17:24:31.607Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 22 17:22 .dockerignore [2023-03-22T17:24:31.607Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 17:23 .git [2023-03-22T17:24:31.607Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 17:22 .github [2023-03-22T17:24:31.607Z] -rw-rw-r-- 1 jenkins jenkins 331 Mar 22 17:22 .gitignore [2023-03-22T17:24:31.607Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 22 17:22 .golangci.yml [2023-03-22T17:24:31.607Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 17:23 .semver [2023-03-22T17:24:31.607Z] -rw-rw-r-- 1 jenkins jenkins 10236 Mar 22 17:22 Attribution.txt [2023-03-22T17:24:31.607Z] -rw-rw-r-- 1 jenkins jenkins 11576 Mar 22 17:22 CHANGELOG.md [2023-03-22T17:24:31.607Z] -rw-rw-r-- 1 jenkins jenkins 1365 Mar 22 17:22 Dockerfile [2023-03-22T17:24:31.607Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 17:22 GOVERNANCE.md [2023-03-22T17:24:31.607Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 22 17:22 Jenkinsfile [2023-03-22T17:24:31.607Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 22 17:22 LICENSE [2023-03-22T17:24:31.607Z] -rw-rw-r-- 1 jenkins jenkins 1705 Mar 22 17:22 Makefile [2023-03-22T17:24:31.607Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 22 17:22 OWNERS.md [2023-03-22T17:24:31.607Z] -rw-rw-r-- 1 jenkins jenkins 4061 Mar 22 17:22 README.md [2023-03-22T17:24:31.607Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 22 17:23 VERSION [2023-03-22T17:24:31.607Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 17:22 bin [2023-03-22T17:24:31.607Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 17:22 cmd [2023-03-22T17:24:31.607Z] -rw-r--r-- 1 jenkins jenkins 23736 Mar 22 17:24 coverage.out [2023-03-22T17:24:31.607Z] -rw-rw-r-- 1 jenkins jenkins 3497 Mar 22 17:22 go.mod [2023-03-22T17:24:31.607Z] -rw-rw-r-- 1 jenkins jenkins 31641 Mar 22 17:22 go.sum [2023-03-22T17:24:31.607Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 17:22 internal [2023-03-22T17:24:31.607Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 17:22 simulator [2023-03-22T17:24:31.607Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 17:22 snap [2023-03-22T17:24:31.607Z] -rw-rw-r-- 1 jenkins jenkins 229 Mar 22 17:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:24:31.969Z] + 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=9bc48e746bb510c782b9593f55beae1b8e3bd068 --label arch=amd64 --label version=3.0.0-dev.21 . [2023-03-22T17:24:31.969Z] Sending build context to Docker daemon 6.399MB [2023-03-22T17:24:31.969Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T17:24:31.969Z] Step 2/22 : FROM ${BASE} AS builder [2023-03-22T17:24:31.969Z] ---> 100d6648c663 [2023-03-22T17:24:31.969Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-03-22T17:24:31.969Z] ---> Running in 90678257d2d5 [2023-03-22T17:24:32.227Z] Removing intermediate container 90678257d2d5 [2023-03-22T17:24:32.227Z] ---> 8a7b720f33e4 [2023-03-22T17:24:32.227Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-22T17:24:32.227Z] ---> Running in 58f30a842639 [2023-03-22T17:24:32.227Z] Removing intermediate container 58f30a842639 [2023-03-22T17:24:32.227Z] ---> 9c3ba5b6c76f [2023-03-22T17:24:32.227Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-03-22T17:24:32.228Z] ---> Running in 76afbced1dc1 [2023-03-22T17:24:32.486Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T17:24:32.744Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T17:24:33.003Z] OK: 270 MiB in 61 packages [2023-03-22T17:24:33.262Z] Removing intermediate container 76afbced1dc1 [2023-03-22T17:24:33.262Z] ---> 030cc9a53eb6 [2023-03-22T17:24:33.262Z] Step 6/22 : WORKDIR /device-modbus-go [2023-03-22T17:24:33.262Z] ---> Running in 528805dbdef5 [2023-03-22T17:24:33.262Z] Removing intermediate container 528805dbdef5 [2023-03-22T17:24:33.262Z] ---> c61e035bba2c [2023-03-22T17:24:33.262Z] Step 7/22 : COPY go.mod vendor* ./ [2023-03-22T17:24:33.520Z] ---> 0cc763c1d765 [2023-03-22T17:24:33.520Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T17:24:33.520Z] ---> Running in 6a78f5ecbbad [2023-03-22T17:24:34.456Z] Removing intermediate container 6a78f5ecbbad [2023-03-22T17:24:34.456Z] ---> b3543cb0d18b [2023-03-22T17:24:34.456Z] Step 9/22 : COPY . . [2023-03-22T17:24:34.714Z] ---> fb9191d20aec [2023-03-22T17:24:34.714Z] Step 10/22 : RUN ${MAKE} [2023-03-22T17:24:34.714Z] ---> Running in 446b8a0028fd [2023-03-22T17:24:34.972Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.21" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-03-22T17:24:53.041Z] Removing intermediate container 446b8a0028fd [2023-03-22T17:24:53.041Z] ---> e45b052a0ecc [2023-03-22T17:24:53.041Z] Step 11/22 : FROM alpine:3.17 [2023-03-22T17:24:53.041Z] 3.17: Pulling from library/alpine [2023-03-22T17:24:53.041Z] 63b65145d645: Already exists [2023-03-22T17:24:53.041Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-22T17:24:53.041Z] Status: Downloaded newer image for alpine:3.17 [2023-03-22T17:24:53.041Z] ---> b2aa39c304c2 [2023-03-22T17:24:53.041Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-03-22T17:24:53.041Z] ---> Running in 7b66c29a29c7 [2023-03-22T17:24:53.041Z] Removing intermediate container 7b66c29a29c7 [2023-03-22T17:24:53.041Z] ---> 8780a828bdd8 [2023-03-22T17:24:53.041Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-03-22T17:24:53.041Z] ---> Running in cc0dd50a1508 [2023-03-22T17:24:53.041Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T17:24:53.041Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T17:24:53.041Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-22T17:24:53.041Z] Executing busybox-1.35.0-r29.trigger [2023-03-22T17:24:53.042Z] OK: 7 MiB in 16 packages [2023-03-22T17:24:53.042Z] Removing intermediate container cc0dd50a1508 [2023-03-22T17:24:53.042Z] ---> 4d4282fadd0a [2023-03-22T17:24:53.042Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-03-22T17:24:53.617Z] ---> 03ca02c10be8 [2023-03-22T17:24:53.617Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-03-22T17:24:53.617Z] ---> 1f3f1e49eeeb [2023-03-22T17:24:53.617Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-03-22T17:24:53.875Z] ---> 45d4cc9f8478 [2023-03-22T17:24:53.875Z] Step 17/22 : EXPOSE 59901 [2023-03-22T17:24:53.875Z] ---> Running in 6e880de95962 [2023-03-22T17:24:53.875Z] Removing intermediate container 6e880de95962 [2023-03-22T17:24:53.875Z] ---> 48a4cd71c5c4 [2023-03-22T17:24:53.875Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-03-22T17:24:53.875Z] ---> Running in f6b47f0c0652 [2023-03-22T17:24:54.134Z] Removing intermediate container f6b47f0c0652 [2023-03-22T17:24:54.134Z] ---> 4b379f733350 [2023-03-22T17:24:54.134Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-22T17:24:54.134Z] ---> Running in 9be445f0be09 [2023-03-22T17:24:54.134Z] Removing intermediate container 9be445f0be09 [2023-03-22T17:24:54.134Z] ---> 7c8722333590 [2023-03-22T17:24:54.134Z] Step 20/22 : LABEL arch=amd64 [2023-03-22T17:24:54.134Z] ---> Running in af5e2bab4213 [2023-03-22T17:24:54.398Z] Removing intermediate container af5e2bab4213 [2023-03-22T17:24:54.398Z] ---> 338d829d11b3 [2023-03-22T17:24:54.398Z] Step 21/22 : LABEL git_sha=9bc48e746bb510c782b9593f55beae1b8e3bd068 [2023-03-22T17:24:54.398Z] ---> Running in 772ce8eaca58 [2023-03-22T17:24:54.398Z] Removing intermediate container 772ce8eaca58 [2023-03-22T17:24:54.398Z] ---> 9b104e932c32 [2023-03-22T17:24:54.398Z] Step 22/22 : LABEL version=3.0.0-dev.21 [2023-03-22T17:24:54.657Z] ---> Running in 6a9a1921c155 [2023-03-22T17:24:54.657Z] Removing intermediate container 6a9a1921c155 [2023-03-22T17:24:54.657Z] ---> beadbe7f4013 [2023-03-22T17:24:54.657Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-22T17:24:54.657Z] Successfully built beadbe7f4013 [2023-03-22T17:24:54.657Z] 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-22T17:24:54.760Z] provisioning config files... [2023-03-22T17:24:54.769Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8191379665710678395tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:24:55.062Z] ---> docker-login.sh [2023-03-22T17:24:55.062Z] nexus3.edgexfoundry.org:10001 [2023-03-22T17:24:55.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:24:55.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:24:55.062Z] Configure a credential helper to remove this warning. See [2023-03-22T17:24:55.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:24:55.062Z] [2023-03-22T17:24:55.062Z] Login Succeeded [2023-03-22T17:24:55.062Z] nexus3.edgexfoundry.org:10002 [2023-03-22T17:24:55.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:24:55.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:24:55.062Z] Configure a credential helper to remove this warning. See [2023-03-22T17:24:55.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:24:55.062Z] [2023-03-22T17:24:55.062Z] Login Succeeded [2023-03-22T17:24:55.062Z] nexus3.edgexfoundry.org:10003 [2023-03-22T17:24:55.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:24:55.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:24:55.322Z] Configure a credential helper to remove this warning. See [2023-03-22T17:24:55.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:24:55.322Z] [2023-03-22T17:24:55.322Z] Login Succeeded [2023-03-22T17:24:55.322Z] nexus3.edgexfoundry.org:10004 [2023-03-22T17:24:55.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:24:55.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:24:55.322Z] Configure a credential helper to remove this warning. See [2023-03-22T17:24:55.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:24:55.322Z] [2023-03-22T17:24:55.322Z] Login Succeeded [2023-03-22T17:24:55.322Z] docker.io [2023-03-22T17:24:55.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:24:55.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:24:55.582Z] Configure a credential helper to remove this warning. See [2023-03-22T17:24:55.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:24:55.582Z] [2023-03-22T17:24:55.582Z] Login Succeeded [2023-03-22T17:24:55.582Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T17:24:55.589Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-22T17:24:55.618Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T17:24:55.642Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-03-22T17:24:55.642Z] 9bc48e746bb510c782b9593f55beae1b8e3bd068 [2023-03-22T17:24:55.642Z] latest [2023-03-22T17:24:55.642Z] 3.0.0-dev.21 [2023-03-22T17:24:55.642Z] 9bc48e746bb510c782b9593f55beae1b8e3bd068-3.0.0-dev.21 [2023-03-22T17:24:55.642Z] main [2023-03-22T17:24:55.642Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:24:55.957Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:9bc48e746bb510c782b9593f55beae1b8e3bd068 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:24:56.265Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:9bc48e746bb510c782b9593f55beae1b8e3bd068 [2023-03-22T17:24:56.265Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-22T17:24:56.265Z] b80e4f2042c1: Preparing [2023-03-22T17:24:56.265Z] 1516319b9c8d: Preparing [2023-03-22T17:24:56.265Z] 6d851f558414: Preparing [2023-03-22T17:24:56.265Z] 737c21560577: Preparing [2023-03-22T17:24:56.265Z] 7cd52847ad77: Preparing [2023-03-22T17:24:56.265Z] 7cd52847ad77: Layer already exists [2023-03-22T17:24:56.525Z] 1516319b9c8d: Pushed [2023-03-22T17:24:56.525Z] 737c21560577: Pushed [2023-03-22T17:24:56.525Z] b80e4f2042c1: Pushed [2023-03-22T17:24:59.074Z] 6d851f558414: Pushed [2023-03-22T17:24:59.074Z] 9bc48e746bb510c782b9593f55beae1b8e3bd068: digest: sha256:8c25ae7c313f7de8a36c135cf10871d337b5c8ded4e4c524899394dfecee1a51 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:24:59.398Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:24:59.709Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-03-22T17:24:59.709Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-22T17:24:59.709Z] b80e4f2042c1: Preparing [2023-03-22T17:24:59.709Z] 1516319b9c8d: Preparing [2023-03-22T17:24:59.709Z] 6d851f558414: Preparing [2023-03-22T17:24:59.709Z] 737c21560577: Preparing [2023-03-22T17:24:59.709Z] 7cd52847ad77: Preparing [2023-03-22T17:24:59.709Z] 1516319b9c8d: Layer already exists [2023-03-22T17:24:59.709Z] b80e4f2042c1: Layer already exists [2023-03-22T17:24:59.709Z] 737c21560577: Layer already exists [2023-03-22T17:24:59.709Z] 6d851f558414: Layer already exists [2023-03-22T17:24:59.709Z] 7cd52847ad77: Layer already exists [2023-03-22T17:24:59.709Z] latest: digest: sha256:8c25ae7c313f7de8a36c135cf10871d337b5c8ded4e4c524899394dfecee1a51 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:25:00.026Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:25:00.336Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.21 [2023-03-22T17:25:00.336Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-22T17:25:00.336Z] b80e4f2042c1: Preparing [2023-03-22T17:25:00.336Z] 1516319b9c8d: Preparing [2023-03-22T17:25:00.336Z] 6d851f558414: Preparing [2023-03-22T17:25:00.336Z] 737c21560577: Preparing [2023-03-22T17:25:00.336Z] 7cd52847ad77: Preparing [2023-03-22T17:25:00.336Z] 6d851f558414: Layer already exists [2023-03-22T17:25:00.336Z] 737c21560577: Layer already exists [2023-03-22T17:25:00.336Z] 7cd52847ad77: Layer already exists [2023-03-22T17:25:00.336Z] 1516319b9c8d: Layer already exists [2023-03-22T17:25:00.336Z] b80e4f2042c1: Layer already exists [2023-03-22T17:25:00.336Z] 3.0.0-dev.21: digest: sha256:8c25ae7c313f7de8a36c135cf10871d337b5c8ded4e4c524899394dfecee1a51 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:25:00.661Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:9bc48e746bb510c782b9593f55beae1b8e3bd068-3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:25:00.968Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:9bc48e746bb510c782b9593f55beae1b8e3bd068-3.0.0-dev.21 [2023-03-22T17:25:00.969Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-22T17:25:00.969Z] b80e4f2042c1: Preparing [2023-03-22T17:25:00.969Z] 1516319b9c8d: Preparing [2023-03-22T17:25:00.969Z] 6d851f558414: Preparing [2023-03-22T17:25:00.969Z] 737c21560577: Preparing [2023-03-22T17:25:00.969Z] 7cd52847ad77: Preparing [2023-03-22T17:25:00.969Z] 737c21560577: Layer already exists [2023-03-22T17:25:00.969Z] b80e4f2042c1: Layer already exists [2023-03-22T17:25:00.969Z] 7cd52847ad77: Layer already exists [2023-03-22T17:25:00.969Z] 6d851f558414: Layer already exists [2023-03-22T17:25:00.969Z] 1516319b9c8d: Layer already exists [2023-03-22T17:25:00.969Z] 9bc48e746bb510c782b9593f55beae1b8e3bd068-3.0.0-dev.21: digest: sha256:8c25ae7c313f7de8a36c135cf10871d337b5c8ded4e4c524899394dfecee1a51 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:25:01.288Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:25:01.599Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-03-22T17:25:01.599Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-03-22T17:25:01.599Z] b80e4f2042c1: Preparing [2023-03-22T17:25:01.599Z] 1516319b9c8d: Preparing [2023-03-22T17:25:01.599Z] 6d851f558414: Preparing [2023-03-22T17:25:01.599Z] 737c21560577: Preparing [2023-03-22T17:25:01.599Z] 7cd52847ad77: Preparing [2023-03-22T17:25:01.599Z] 737c21560577: Layer already exists [2023-03-22T17:25:01.599Z] 6d851f558414: Layer already exists [2023-03-22T17:25:01.599Z] 7cd52847ad77: Layer already exists [2023-03-22T17:25:01.599Z] b80e4f2042c1: Layer already exists [2023-03-22T17:25:01.599Z] 1516319b9c8d: Layer already exists [2023-03-22T17:25:01.599Z] main: digest: sha256:8c25ae7c313f7de8a36c135cf10871d337b5c8ded4e4c524899394dfecee1a51 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-22T17:25:01.647Z] ===================================================== [Pipeline] echo [2023-03-22T17:25:01.657Z] taggedImages: [2023-03-22T17:25:01.657Z] - nexus3.edgexfoundry.org:10004/device-modbus:9bc48e746bb510c782b9593f55beae1b8e3bd068 [2023-03-22T17:25:01.657Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-03-22T17:25:01.657Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.21 [2023-03-22T17:25:01.657Z] - nexus3.edgexfoundry.org:10004/device-modbus:9bc48e746bb510c782b9593f55beae1b8e3bd068-3.0.0-dev.21 [2023-03-22T17:25:01.657Z] - 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-22T17:25:02.006Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T17:25:02.006Z] [2023-03-22T17:25:02.006Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:25:02.299Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T17:25:02.300Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-22T17:25:02.300Z] 5eb5b503b376: Pulling fs layer [2023-03-22T17:25:02.300Z] 5c69ac0246d0: Pulling fs layer [2023-03-22T17:25:02.300Z] ec43610c2a17: Pulling fs layer [2023-03-22T17:25:02.300Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-22T17:25:02.300Z] 33b1e0a273af: Pulling fs layer [2023-03-22T17:25:02.300Z] 5d3b04190fa2: Pulling fs layer [2023-03-22T17:25:02.300Z] 2f39f015ded8: Pulling fs layer [2023-03-22T17:25:02.300Z] 3a2ae6a8a46f: Waiting [2023-03-22T17:25:02.300Z] 33b1e0a273af: Waiting [2023-03-22T17:25:02.300Z] 5d3b04190fa2: Waiting [2023-03-22T17:25:02.300Z] 5c69ac0246d0: Download complete [2023-03-22T17:25:02.300Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-22T17:25:02.300Z] 3a2ae6a8a46f: Download complete [2023-03-22T17:25:02.560Z] 33b1e0a273af: Verifying Checksum [2023-03-22T17:25:02.560Z] 33b1e0a273af: Download complete [2023-03-22T17:25:02.560Z] 5d3b04190fa2: Download complete [2023-03-22T17:25:02.560Z] ec43610c2a17: Verifying Checksum [2023-03-22T17:25:02.560Z] ec43610c2a17: Download complete [2023-03-22T17:25:02.560Z] 5eb5b503b376: Download complete [2023-03-22T17:25:03.497Z] 2f39f015ded8: Download complete [2023-03-22T17:25:04.063Z] 5eb5b503b376: Pull complete [2023-03-22T17:25:04.063Z] 5c69ac0246d0: Pull complete [2023-03-22T17:25:04.630Z] ec43610c2a17: Pull complete [2023-03-22T17:25:04.630Z] 3a2ae6a8a46f: Pull complete [2023-03-22T17:25:04.630Z] 33b1e0a273af: Pull complete [2023-03-22T17:25:04.889Z] 5d3b04190fa2: Pull complete [2023-03-22T17:25:09.072Z] 2f39f015ded8: Pull complete [2023-03-22T17:25:09.072Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-22T17:25:09.072Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T17:25:09.072Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:25:09.146Z] prd-ubuntu20.04-docker-8c-8g-5234 does not seem to be running inside a container [2023-03-22T17:25:09.173Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-22T17:25:10.967Z] $ docker top b852e69b92c1f1f5e3c63fbed20c662e216167e5f11bae8e279d7efe1f0b54d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:25:11.343Z] ---> job-cost.sh [2023-03-22T17:25:11.343Z] lf-activate-venv: SKIPPING [2023-03-22T17:25:11.343Z] INFO: No Stack... [2023-03-22T17:25:11.914Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-22T17:25:12.173Z] INFO: Archiving Costs [Pipeline] sh [2023-03-22T17:25:12.459Z] + + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-03-22T17:25:12.459Z] cut -d, -f6 [Pipeline] lock [2023-03-22T17:25:12.471Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-87-stack-cost] [2023-03-22T17:25:12.479Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-87-stack-cost] did not exist. Created. [2023-03-22T17:25:12.480Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-87-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-22T17:25:12.780Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-22T17:25:12.808Z] Stashed 1 file(s) [Pipeline] } [2023-03-22T17:25:12.816Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-87-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-22T17:25:12.836Z] $ docker stop --time=1 b852e69b92c1f1f5e3c63fbed20c662e216167e5f11bae8e279d7efe1f0b54d7 [2023-03-22T17:25:13.998Z] $ docker rm -f --volumes b852e69b92c1f1f5e3c63fbed20c662e216167e5f11bae8e279d7efe1f0b54d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-22T17:26:00.193Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5239 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-03-22T17:26:00.204Z] Running in /w/workspace/device-modbus-go/87 [Pipeline] { [Pipeline] checkout [2023-03-22T17:26:00.237Z] Selected Git installation does not exist. Using Default [2023-03-22T17:26:00.237Z] The recommended git tool is: NONE [2023-03-22T17:26:06.845Z] using credential edgex-jenkins-ssh [2023-03-22T17:26:06.864Z] Cloning the remote Git repository [2023-03-22T17:26:06.920Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-03-22T17:26:07.030Z] > git init /w/workspace/device-modbus-go/87 # timeout=10 [2023-03-22T17:26:07.216Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-03-22T17:26:07.218Z] > git --version # timeout=10 [2023-03-22T17:26:07.242Z] > git --version # 'git version 2.25.1' [2023-03-22T17:26:07.245Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T17:26:07.441Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-22T17:26:09.750Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-03-22T17:26:09.775Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-22T17:26:10.875Z] Avoid second fetch [2023-03-22T17:26:10.875Z] Checking out Revision 9bc48e746bb510c782b9593f55beae1b8e3bd068 (main) [2023-03-22T17:26:11.591Z] Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory (#437)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T17:26:10.898Z] > git config core.sparsecheckout # timeout=10 [2023-03-22T17:26:10.984Z] > git checkout -f 9bc48e746bb510c782b9593f55beae1b8e3bd068 # timeout=10 [2023-03-22T17:26:12.476Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-22T17:26:12.476Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-22T17:26:12.476Z] Dload Upload Total Spent Left Speed [2023-03-22T17:26:12.476Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh [2023-03-22T17:26:13.168Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-22T17:26:13.516Z] + sudo tee /etc/docker/daemon.new [2023-03-22T17:26:13.516Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-22T17:26:13.516Z] { [2023-03-22T17:26:13.516Z] "registry-mirrors": [ [2023-03-22T17:26:13.516Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-22T17:26:13.516Z] ], [2023-03-22T17:26:13.516Z] "bip": "10.250.0.254/24", [2023-03-22T17:26:13.516Z] "hosts": [ [2023-03-22T17:26:13.516Z] "tcp://0.0.0.0:5555", [2023-03-22T17:26:13.516Z] "unix:///var/run/docker.sock" [2023-03-22T17:26:13.516Z] ], [2023-03-22T17:26:13.516Z] "mtu": 1458, [2023-03-22T17:26:13.516Z] "selinux-enabled": true, [2023-03-22T17:26:13.516Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-22T17:26:13.516Z] } [Pipeline] sh [2023-03-22T17:26:13.859Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-22T17:26:14.208Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T17:26:32.533Z] provisioning config files... [2023-03-22T17:26:32.563Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/87@tmp/config10842000297639370138tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:26:32.927Z] ---> docker-login.sh [2023-03-22T17:26:32.927Z] nexus3.edgexfoundry.org:10001 [2023-03-22T17:26:33.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:26:33.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:26:33.519Z] Configure a credential helper to remove this warning. See [2023-03-22T17:26:33.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:26:33.519Z] [2023-03-22T17:26:33.519Z] Login Succeeded [2023-03-22T17:26:33.519Z] nexus3.edgexfoundry.org:10002 [2023-03-22T17:26:33.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:26:35.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:26:35.237Z] Configure a credential helper to remove this warning. See [2023-03-22T17:26:35.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:26:35.237Z] [2023-03-22T17:26:35.237Z] Login Succeeded [2023-03-22T17:26:35.237Z] nexus3.edgexfoundry.org:10003 [2023-03-22T17:26:35.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:26:35.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:26:35.513Z] Configure a credential helper to remove this warning. See [2023-03-22T17:26:35.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:26:35.513Z] [2023-03-22T17:26:35.513Z] Login Succeeded [2023-03-22T17:26:35.513Z] nexus3.edgexfoundry.org:10004 [2023-03-22T17:26:35.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:26:35.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:26:35.795Z] Configure a credential helper to remove this warning. See [2023-03-22T17:26:35.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:26:35.795Z] [2023-03-22T17:26:35.795Z] Login Succeeded [2023-03-22T17:26:35.795Z] docker.io [2023-03-22T17:26:36.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:26:36.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:26:36.342Z] Configure a credential helper to remove this warning. See [2023-03-22T17:26:36.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:26:36.342Z] [2023-03-22T17:26:36.342Z] Login Succeeded [2023-03-22T17:26:36.342Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T17:26:36.361Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-22T17:26:36.689Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T17:26:36.705Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T17:26:36.717Z] ========================================================= [2023-03-22T17:26:36.717Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-22T17:26:36.717Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:26:37.067Z] + 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-22T17:26:37.340Z] Sending build context to Docker daemon 3.341MB [2023-03-22T17:26:37.340Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T17:26:37.340Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-22T17:26:37.616Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-22T17:26:37.616Z] af6eaf76a39c: Pulling fs layer [2023-03-22T17:26:37.616Z] 55522c791124: Pulling fs layer [2023-03-22T17:26:37.616Z] ce5c4a1c91eb: Pulling fs layer [2023-03-22T17:26:37.616Z] 169dfbe0d373: Pulling fs layer [2023-03-22T17:26:37.616Z] e1ff8fa3b103: Pulling fs layer [2023-03-22T17:26:37.616Z] 52ebb69f0ebf: Pulling fs layer [2023-03-22T17:26:37.616Z] 5abe8eddf0d5: Pulling fs layer [2023-03-22T17:26:37.616Z] 169dfbe0d373: Waiting [2023-03-22T17:26:37.616Z] e1ff8fa3b103: Waiting [2023-03-22T17:26:37.616Z] 52ebb69f0ebf: Waiting [2023-03-22T17:26:37.616Z] 5abe8eddf0d5: Waiting [2023-03-22T17:26:37.616Z] 55522c791124: Verifying Checksum [2023-03-22T17:26:37.616Z] 55522c791124: Download complete [2023-03-22T17:26:37.616Z] 169dfbe0d373: Verifying Checksum [2023-03-22T17:26:37.616Z] 169dfbe0d373: Download complete [2023-03-22T17:26:37.896Z] e1ff8fa3b103: Verifying Checksum [2023-03-22T17:26:37.896Z] e1ff8fa3b103: Download complete [2023-03-22T17:26:37.896Z] af6eaf76a39c: Verifying Checksum [2023-03-22T17:26:37.896Z] af6eaf76a39c: Download complete [2023-03-22T17:26:38.882Z] af6eaf76a39c: Pull complete [2023-03-22T17:26:38.882Z] 5abe8eddf0d5: Verifying Checksum [2023-03-22T17:26:38.882Z] 5abe8eddf0d5: Download complete [2023-03-22T17:26:39.495Z] 55522c791124: Pull complete [2023-03-22T17:26:40.472Z] ce5c4a1c91eb: Verifying Checksum [2023-03-22T17:26:40.472Z] ce5c4a1c91eb: Download complete [2023-03-22T17:26:40.472Z] 52ebb69f0ebf: Verifying Checksum [2023-03-22T17:26:40.472Z] 52ebb69f0ebf: Download complete [2023-03-22T17:26:52.830Z] ce5c4a1c91eb: Pull complete [2023-03-22T17:26:52.830Z] 169dfbe0d373: Pull complete [2023-03-22T17:26:52.830Z] e1ff8fa3b103: Pull complete [2023-03-22T17:26:59.649Z] 52ebb69f0ebf: Pull complete [2023-03-22T17:27:02.287Z] 5abe8eddf0d5: Pull complete [2023-03-22T17:27:02.287Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-22T17:27:02.287Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-22T17:27:02.287Z] ---> 6cb57ee374ae [2023-03-22T17:27:02.287Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-03-22T17:27:04.258Z] ---> Running in a6a507a11bc6 [2023-03-22T17:27:04.849Z] Removing intermediate container a6a507a11bc6 [2023-03-22T17:27:04.849Z] ---> 74f94e1a3ab5 [2023-03-22T17:27:04.849Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-22T17:27:04.849Z] ---> Running in 605d34e8c94e [2023-03-22T17:27:05.118Z] Removing intermediate container 605d34e8c94e [2023-03-22T17:27:05.118Z] ---> 2343e7eee213 [2023-03-22T17:27:05.119Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-03-22T17:27:05.394Z] ---> Running in 0eea1d4a803e [2023-03-22T17:27:06.369Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-22T17:27:07.335Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-22T17:27:08.326Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-03-22T17:27:08.326Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-03-22T17:27:08.326Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-03-22T17:27:08.326Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-03-22T17:27:08.599Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-03-22T17:27:08.599Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-03-22T17:27:08.599Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-03-22T17:27:08.599Z] (8/8) Installing openssh (9.1_p1-r2) [2023-03-22T17:27:08.599Z] Executing busybox-1.35.0-r29.trigger [2023-03-22T17:27:08.599Z] OK: 270 MiB in 61 packages [2023-03-22T17:27:10.029Z] Removing intermediate container 0eea1d4a803e [2023-03-22T17:27:10.029Z] ---> d71e05ee6083 [2023-03-22T17:27:10.029Z] Step 6/10 : WORKDIR /device-modbus-go [2023-03-22T17:27:10.029Z] ---> Running in 2ba2107a6f36 [2023-03-22T17:27:10.029Z] Removing intermediate container 2ba2107a6f36 [2023-03-22T17:27:10.029Z] ---> eefcfe6f785a [2023-03-22T17:27:10.029Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-22T17:27:10.618Z] ---> 6bc780572b5e [2023-03-22T17:27:10.618Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T17:27:10.889Z] ---> Running in de51cea81ec7 [2023-03-22T17:28:32.590Z] Removing intermediate container de51cea81ec7 [2023-03-22T17:28:32.590Z] ---> c650f11c4444 [2023-03-22T17:28:32.590Z] Step 9/10 : COPY . . [2023-03-22T17:28:32.590Z] ---> 1292bbd70088 [2023-03-22T17:28:32.590Z] Step 10/10 : RUN ${MAKE} [2023-03-22T17:28:32.590Z] ---> Running in de7d763b32cb [2023-03-22T17:28:32.590Z] noop [2023-03-22T17:28:32.590Z] Removing intermediate container de7d763b32cb [2023-03-22T17:28:32.590Z] ---> a2b12c1b0202 [2023-03-22T17:28:32.590Z] Successfully built a2b12c1b0202 [2023-03-22T17:28:32.590Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:28:32.955Z] + docker inspect -f . ci-base-image-arm64 [2023-03-22T17:28:32.955Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:28:33.204Z] prd-ubuntu20.04-docker-arm64-4c-16g-5239 does not seem to be running inside a container [2023-03-22T17:28:33.286Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/87 -v /w/workspace/device-modbus-go/87:/w/workspace/device-modbus-go/87:rw,z -v /w/workspace/device-modbus-go/87@tmp:/w/workspace/device-modbus-go/87@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-22T17:28:34.675Z] $ docker top dca89f1b4006583d3b19c6ac023ab10059d40e3b97427067b53c33e12a18f265 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T17:28:35.567Z] + go version [2023-03-22T17:28:35.567Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-22T17:28:35.594Z] $ docker stop --time=1 dca89f1b4006583d3b19c6ac023ab10059d40e3b97427067b53c33e12a18f265 [2023-03-22T17:28:37.340Z] $ docker rm -f --volumes dca89f1b4006583d3b19c6ac023ab10059d40e3b97427067b53c33e12a18f265 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:28:37.933Z] + docker inspect -f . ci-base-image-arm64 [2023-03-22T17:28:37.933Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:28:38.152Z] prd-ubuntu20.04-docker-arm64-4c-16g-5239 does not seem to be running inside a container [2023-03-22T17:28:38.237Z] $ 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/87 -v /w/workspace/device-modbus-go/87:/w/workspace/device-modbus-go/87:rw,z -v /w/workspace/device-modbus-go/87@tmp:/w/workspace/device-modbus-go/87@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-22T17:28:39.557Z] $ docker top 07336f5e50489e9e5c7751df09ef7cafb2b870a6822ad647a384a5c7da15695c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T17:28:40.436Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/87 [Pipeline] fileExists [Pipeline] sh [2023-03-22T17:28:41.111Z] + make test [2023-03-22T17:28:41.111Z] go test ./... -coverprofile=coverage.out [2023-03-22T17:29:20.279Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-03-22T17:31:57.156Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-03-22T17:31:59.767Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.081s coverage: 48.0% of statements [2023-03-22T17:32:00.735Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-22T17:32:00.735Z] go vet ./... [2023-03-22T17:32:33.023Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-22T17:32:33.023Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-22T17:32:33.023Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-22T17:32:33.042Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-22T17:32:33.053Z] $ docker stop --time=1 07336f5e50489e9e5c7751df09ef7cafb2b870a6822ad647a384a5c7da15695c [2023-03-22T17:32:36.781Z] $ docker rm -f --volumes 07336f5e50489e9e5c7751df09ef7cafb2b870a6822ad647a384a5c7da15695c [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T17:32:38.174Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-22T17:32:38.204Z] Warning: overwriting stash ‘coverage-report’ [2023-03-22T17:32:38.910Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T17:32:39.330Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-22T17:32:39.676Z] + ls -al . [2023-03-22T17:32:39.676Z] total 176 [2023-03-22T17:32:39.676Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 22 17:28 . [2023-03-22T17:32:39.676Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 17:26 .. [2023-03-22T17:32:39.676Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 22 17:26 .dockerignore [2023-03-22T17:32:39.676Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 17:26 .git [2023-03-22T17:32:39.676Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 17:26 .github [2023-03-22T17:32:39.676Z] -rw-rw-r-- 1 jenkins jenkins 331 Mar 22 17:26 .gitignore [2023-03-22T17:32:39.676Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 22 17:26 .golangci.yml [2023-03-22T17:32:39.676Z] -rw-rw-r-- 1 jenkins jenkins 10236 Mar 22 17:26 Attribution.txt [2023-03-22T17:32:39.676Z] -rw-rw-r-- 1 jenkins jenkins 11576 Mar 22 17:26 CHANGELOG.md [2023-03-22T17:32:39.676Z] -rw-rw-r-- 1 jenkins jenkins 1365 Mar 22 17:26 Dockerfile [2023-03-22T17:32:39.676Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 17:26 GOVERNANCE.md [2023-03-22T17:32:39.676Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 22 17:26 Jenkinsfile [2023-03-22T17:32:39.676Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 22 17:26 LICENSE [2023-03-22T17:32:39.676Z] -rw-rw-r-- 1 jenkins jenkins 1705 Mar 22 17:26 Makefile [2023-03-22T17:32:39.676Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 22 17:26 OWNERS.md [2023-03-22T17:32:39.676Z] -rw-rw-r-- 1 jenkins jenkins 4061 Mar 22 17:26 README.md [2023-03-22T17:32:39.676Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 22 17:23 VERSION [2023-03-22T17:32:39.676Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 17:26 bin [2023-03-22T17:32:39.676Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 17:26 cmd [2023-03-22T17:32:39.676Z] -rw-r--r-- 1 jenkins jenkins 23736 Mar 22 17:31 coverage.out [2023-03-22T17:32:39.676Z] -rw-rw-r-- 1 jenkins jenkins 3497 Mar 22 17:26 go.mod [2023-03-22T17:32:39.676Z] -rw-rw-r-- 1 jenkins jenkins 31641 Mar 22 17:26 go.sum [2023-03-22T17:32:39.676Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 17:26 internal [2023-03-22T17:32:39.676Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 17:26 simulator [2023-03-22T17:32:39.676Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 17:26 snap [2023-03-22T17:32:39.676Z] -rw-rw-r-- 1 jenkins jenkins 229 Mar 22 17:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:32:40.033Z] + 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=9bc48e746bb510c782b9593f55beae1b8e3bd068 --label arch=arm64 --label version=3.0.0-dev.21 . [2023-03-22T17:32:40.301Z] Sending build context to Docker daemon 3.365MB [2023-03-22T17:32:40.301Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T17:32:40.301Z] Step 2/22 : FROM ${BASE} AS builder [2023-03-22T17:32:40.301Z] ---> a2b12c1b0202 [2023-03-22T17:32:40.301Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-03-22T17:32:40.571Z] ---> Running in 9b89e22ca738 [2023-03-22T17:32:40.844Z] Removing intermediate container 9b89e22ca738 [2023-03-22T17:32:40.844Z] ---> ab2f14272a9c [2023-03-22T17:32:40.844Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-22T17:32:41.122Z] ---> Running in 61a14a29d9b9 [2023-03-22T17:32:41.391Z] Removing intermediate container 61a14a29d9b9 [2023-03-22T17:32:41.391Z] ---> 6d7e492c1095 [2023-03-22T17:32:41.391Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-03-22T17:32:41.391Z] ---> Running in 7d9525e0b0ab [2023-03-22T17:32:42.819Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-22T17:32:43.408Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-22T17:32:44.830Z] OK: 270 MiB in 61 packages [2023-03-22T17:32:45.802Z] Removing intermediate container 7d9525e0b0ab [2023-03-22T17:32:45.802Z] ---> 25dc4f28b258 [2023-03-22T17:32:45.802Z] Step 6/22 : WORKDIR /device-modbus-go [2023-03-22T17:32:45.802Z] ---> Running in 54c65a76dea1 [2023-03-22T17:32:46.403Z] Removing intermediate container 54c65a76dea1 [2023-03-22T17:32:46.403Z] ---> 4db25ad1ebb2 [2023-03-22T17:32:46.403Z] Step 7/22 : COPY go.mod vendor* ./ [2023-03-22T17:32:46.991Z] ---> a4999e8e3de0 [2023-03-22T17:32:46.991Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T17:32:46.991Z] ---> Running in 047d991c07c8 [2023-03-22T17:32:51.265Z] Removing intermediate container 047d991c07c8 [2023-03-22T17:32:51.265Z] ---> 4cb00522a93f [2023-03-22T17:32:51.265Z] Step 9/22 : COPY . . [2023-03-22T17:32:51.871Z] ---> d827af03ce8b [2023-03-22T17:32:51.871Z] Step 10/22 : RUN ${MAKE} [2023-03-22T17:32:52.151Z] ---> Running in f11321e4c8a8 [2023-03-22T17:32:53.119Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.21" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-03-22T17:35:44.940Z] Removing intermediate container f11321e4c8a8 [2023-03-22T17:35:44.940Z] ---> 30c9ca0b3a1a [2023-03-22T17:35:44.940Z] Step 11/22 : FROM alpine:3.17 [2023-03-22T17:35:44.940Z] 3.17: Pulling from library/alpine [2023-03-22T17:35:44.940Z] af6eaf76a39c: Already exists [2023-03-22T17:35:44.940Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-22T17:35:44.940Z] Status: Downloaded newer image for alpine:3.17 [2023-03-22T17:35:44.940Z] ---> d74e625d9115 [2023-03-22T17:35:44.940Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-03-22T17:35:44.940Z] ---> Running in 7e88c9d3eb54 [2023-03-22T17:35:44.940Z] Removing intermediate container 7e88c9d3eb54 [2023-03-22T17:35:44.940Z] ---> 6cf7ee37c272 [2023-03-22T17:35:44.940Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-03-22T17:35:44.940Z] ---> Running in 0fbea5511780 [2023-03-22T17:35:44.940Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-22T17:35:44.940Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-22T17:35:44.940Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-22T17:35:44.940Z] Executing busybox-1.35.0-r29.trigger [2023-03-22T17:35:44.940Z] OK: 8 MiB in 16 packages [2023-03-22T17:35:44.940Z] Removing intermediate container 0fbea5511780 [2023-03-22T17:35:44.940Z] ---> 9beb236c9230 [2023-03-22T17:35:44.940Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-03-22T17:35:44.940Z] ---> 2a2c5453d402 [2023-03-22T17:35:44.940Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-03-22T17:35:44.940Z] ---> e33e7d8b8e75 [2023-03-22T17:35:44.940Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-03-22T17:35:44.940Z] ---> e309f34ea089 [2023-03-22T17:35:44.940Z] Step 17/22 : EXPOSE 59901 [2023-03-22T17:35:44.940Z] ---> Running in ecaf2c1be173 [2023-03-22T17:35:44.940Z] Removing intermediate container ecaf2c1be173 [2023-03-22T17:35:44.940Z] ---> fbb810d2bf08 [2023-03-22T17:35:44.940Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-03-22T17:35:44.940Z] ---> Running in 4e4398230d22 [2023-03-22T17:35:44.940Z] Removing intermediate container 4e4398230d22 [2023-03-22T17:35:44.940Z] ---> df8d3cd9b1fc [2023-03-22T17:35:44.940Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-22T17:35:44.940Z] ---> Running in 11b5fe6d39f3 [2023-03-22T17:35:44.940Z] Removing intermediate container 11b5fe6d39f3 [2023-03-22T17:35:44.940Z] ---> b3c8dc7f835c [2023-03-22T17:35:44.940Z] Step 20/22 : LABEL arch=arm64 [2023-03-22T17:35:44.940Z] ---> Running in dbbf00dbb4ec [2023-03-22T17:35:44.940Z] Removing intermediate container dbbf00dbb4ec [2023-03-22T17:35:44.940Z] ---> de1c76ac2399 [2023-03-22T17:35:44.940Z] Step 21/22 : LABEL git_sha=9bc48e746bb510c782b9593f55beae1b8e3bd068 [2023-03-22T17:35:44.940Z] ---> Running in 838e74b60ce3 [2023-03-22T17:35:44.941Z] Removing intermediate container 838e74b60ce3 [2023-03-22T17:35:44.941Z] ---> c79dba5adeb5 [2023-03-22T17:35:44.941Z] Step 22/22 : LABEL version=3.0.0-dev.21 [2023-03-22T17:35:44.941Z] ---> Running in 4201ab97bace [2023-03-22T17:35:44.941Z] Removing intermediate container 4201ab97bace [2023-03-22T17:35:44.941Z] ---> f9ff577c0a85 [2023-03-22T17:35:44.941Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-22T17:35:44.941Z] Successfully built f9ff577c0a85 [2023-03-22T17:35:44.941Z] 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-22T17:35:45.062Z] provisioning config files... [2023-03-22T17:35:45.082Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/87@tmp/config13221697025303274102tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:35:45.437Z] ---> docker-login.sh [2023-03-22T17:35:45.437Z] nexus3.edgexfoundry.org:10001 [2023-03-22T17:35:45.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:35:45.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:35:45.709Z] Configure a credential helper to remove this warning. See [2023-03-22T17:35:45.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:35:45.709Z] [2023-03-22T17:35:45.709Z] Login Succeeded [2023-03-22T17:35:45.709Z] nexus3.edgexfoundry.org:10002 [2023-03-22T17:35:45.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:35:46.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:35:46.251Z] Configure a credential helper to remove this warning. See [2023-03-22T17:35:46.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:35:46.251Z] [2023-03-22T17:35:46.251Z] Login Succeeded [2023-03-22T17:35:46.251Z] nexus3.edgexfoundry.org:10003 [2023-03-22T17:35:46.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:35:46.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:35:46.521Z] Configure a credential helper to remove this warning. See [2023-03-22T17:35:46.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:35:46.521Z] [2023-03-22T17:35:46.521Z] Login Succeeded [2023-03-22T17:35:46.791Z] nexus3.edgexfoundry.org:10004 [2023-03-22T17:35:47.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:35:47.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:35:47.064Z] Configure a credential helper to remove this warning. See [2023-03-22T17:35:47.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:35:47.064Z] [2023-03-22T17:35:47.064Z] Login Succeeded [2023-03-22T17:35:47.064Z] docker.io [2023-03-22T17:35:47.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:35:47.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:35:47.607Z] Configure a credential helper to remove this warning. See [2023-03-22T17:35:47.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:35:47.607Z] [2023-03-22T17:35:47.607Z] Login Succeeded [2023-03-22T17:35:47.607Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T17:35:47.896Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-22T17:35:47.922Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T17:35:47.939Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-03-22T17:35:47.939Z] 9bc48e746bb510c782b9593f55beae1b8e3bd068 [2023-03-22T17:35:47.939Z] latest [2023-03-22T17:35:47.939Z] 3.0.0-dev.21 [2023-03-22T17:35:47.939Z] 9bc48e746bb510c782b9593f55beae1b8e3bd068-3.0.0-dev.21 [2023-03-22T17:35:47.939Z] main [2023-03-22T17:35:47.939Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:35:48.315Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:9bc48e746bb510c782b9593f55beae1b8e3bd068 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:35:48.674Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:9bc48e746bb510c782b9593f55beae1b8e3bd068 [2023-03-22T17:35:48.674Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-22T17:35:48.674Z] faa64d1a48ca: Preparing [2023-03-22T17:35:48.674Z] 2dbcc62c3f07: Preparing [2023-03-22T17:35:48.674Z] f5708b9db0e5: Preparing [2023-03-22T17:35:48.674Z] f18a76c13fd5: Preparing [2023-03-22T17:35:48.674Z] edf70074bd40: Preparing [2023-03-22T17:35:48.674Z] edf70074bd40: Layer already exists [2023-03-22T17:35:48.943Z] 2dbcc62c3f07: Pushed [2023-03-22T17:35:48.943Z] f18a76c13fd5: Pushed [2023-03-22T17:35:48.943Z] faa64d1a48ca: Pushed [2023-03-22T17:35:55.749Z] f5708b9db0e5: Pushed [2023-03-22T17:35:55.749Z] 9bc48e746bb510c782b9593f55beae1b8e3bd068: digest: sha256:f0bbacdf6fd19f21c1c2b7602ae470ae318895ff4ec9b9f1fd86d1028d17f8e9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:35:56.126Z] + 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-22T17:35:56.482Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-03-22T17:35:56.482Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-22T17:35:56.482Z] faa64d1a48ca: Preparing [2023-03-22T17:35:56.482Z] 2dbcc62c3f07: Preparing [2023-03-22T17:35:56.482Z] f5708b9db0e5: Preparing [2023-03-22T17:35:56.482Z] f18a76c13fd5: Preparing [2023-03-22T17:35:56.482Z] edf70074bd40: Preparing [2023-03-22T17:35:56.482Z] f5708b9db0e5: Layer already exists [2023-03-22T17:35:56.482Z] 2dbcc62c3f07: Layer already exists [2023-03-22T17:35:56.482Z] edf70074bd40: Layer already exists [2023-03-22T17:35:56.482Z] faa64d1a48ca: Layer already exists [2023-03-22T17:35:56.482Z] f18a76c13fd5: Layer already exists [2023-03-22T17:35:56.753Z] latest: digest: sha256:f0bbacdf6fd19f21c1c2b7602ae470ae318895ff4ec9b9f1fd86d1028d17f8e9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:35:57.115Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:35:57.477Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.21 [2023-03-22T17:35:57.478Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-22T17:35:57.478Z] faa64d1a48ca: Preparing [2023-03-22T17:35:57.478Z] 2dbcc62c3f07: Preparing [2023-03-22T17:35:57.478Z] f5708b9db0e5: Preparing [2023-03-22T17:35:57.478Z] f18a76c13fd5: Preparing [2023-03-22T17:35:57.478Z] edf70074bd40: Preparing [2023-03-22T17:35:57.478Z] edf70074bd40: Layer already exists [2023-03-22T17:35:57.478Z] 2dbcc62c3f07: Layer already exists [2023-03-22T17:35:57.478Z] f18a76c13fd5: Layer already exists [2023-03-22T17:35:57.478Z] faa64d1a48ca: Layer already exists [2023-03-22T17:35:57.478Z] f5708b9db0e5: Layer already exists [2023-03-22T17:35:57.747Z] 3.0.0-dev.21: digest: sha256:f0bbacdf6fd19f21c1c2b7602ae470ae318895ff4ec9b9f1fd86d1028d17f8e9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:35:58.107Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:9bc48e746bb510c782b9593f55beae1b8e3bd068-3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:35:58.466Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:9bc48e746bb510c782b9593f55beae1b8e3bd068-3.0.0-dev.21 [2023-03-22T17:35:58.466Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-22T17:35:58.466Z] faa64d1a48ca: Preparing [2023-03-22T17:35:58.466Z] 2dbcc62c3f07: Preparing [2023-03-22T17:35:58.466Z] f5708b9db0e5: Preparing [2023-03-22T17:35:58.466Z] f18a76c13fd5: Preparing [2023-03-22T17:35:58.466Z] edf70074bd40: Preparing [2023-03-22T17:35:58.466Z] edf70074bd40: Layer already exists [2023-03-22T17:35:58.466Z] 2dbcc62c3f07: Layer already exists [2023-03-22T17:35:58.466Z] faa64d1a48ca: Layer already exists [2023-03-22T17:35:58.466Z] f5708b9db0e5: Layer already exists [2023-03-22T17:35:58.466Z] f18a76c13fd5: Layer already exists [2023-03-22T17:35:58.737Z] 9bc48e746bb510c782b9593f55beae1b8e3bd068-3.0.0-dev.21: digest: sha256:f0bbacdf6fd19f21c1c2b7602ae470ae318895ff4ec9b9f1fd86d1028d17f8e9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:35:59.098Z] + 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-22T17:35:59.452Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-03-22T17:35:59.452Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-03-22T17:35:59.452Z] faa64d1a48ca: Preparing [2023-03-22T17:35:59.452Z] 2dbcc62c3f07: Preparing [2023-03-22T17:35:59.452Z] f5708b9db0e5: Preparing [2023-03-22T17:35:59.452Z] f18a76c13fd5: Preparing [2023-03-22T17:35:59.452Z] edf70074bd40: Preparing [2023-03-22T17:35:59.452Z] f5708b9db0e5: Layer already exists [2023-03-22T17:35:59.452Z] edf70074bd40: Layer already exists [2023-03-22T17:35:59.452Z] faa64d1a48ca: Layer already exists [2023-03-22T17:35:59.452Z] f18a76c13fd5: Layer already exists [2023-03-22T17:35:59.452Z] 2dbcc62c3f07: Layer already exists [2023-03-22T17:35:59.724Z] main: digest: sha256:f0bbacdf6fd19f21c1c2b7602ae470ae318895ff4ec9b9f1fd86d1028d17f8e9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-22T17:35:59.771Z] ===================================================== [Pipeline] echo [2023-03-22T17:35:59.776Z] taggedImages: [2023-03-22T17:35:59.776Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:9bc48e746bb510c782b9593f55beae1b8e3bd068 [2023-03-22T17:35:59.776Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-03-22T17:35:59.776Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.21 [2023-03-22T17:35:59.776Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:9bc48e746bb510c782b9593f55beae1b8e3bd068-3.0.0-dev.21 [2023-03-22T17:35:59.776Z] - 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-22T17:36:00.152Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T17:36:00.152Z] [2023-03-22T17:36:00.152Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:36:00.506Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T17:36:00.777Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-22T17:36:00.777Z] 8998bd30e6a1: Pulling fs layer [2023-03-22T17:36:00.777Z] 04944245beec: Pulling fs layer [2023-03-22T17:36:00.777Z] 699f458cf7ca: Pulling fs layer [2023-03-22T17:36:00.777Z] 765212b225bb: Pulling fs layer [2023-03-22T17:36:00.777Z] f23df028b6ca: Pulling fs layer [2023-03-22T17:36:00.777Z] d65c8cfc05b1: Pulling fs layer [2023-03-22T17:36:00.777Z] 2437ff75d9bd: Pulling fs layer [2023-03-22T17:36:00.777Z] f23df028b6ca: Waiting [2023-03-22T17:36:00.777Z] d65c8cfc05b1: Waiting [2023-03-22T17:36:00.777Z] 2437ff75d9bd: Waiting [2023-03-22T17:36:00.777Z] 765212b225bb: Waiting [2023-03-22T17:36:00.777Z] 04944245beec: Verifying Checksum [2023-03-22T17:36:00.777Z] 04944245beec: Download complete [2023-03-22T17:36:00.777Z] 765212b225bb: Verifying Checksum [2023-03-22T17:36:00.777Z] 765212b225bb: Download complete [2023-03-22T17:36:00.777Z] f23df028b6ca: Verifying Checksum [2023-03-22T17:36:00.777Z] f23df028b6ca: Download complete [2023-03-22T17:36:00.777Z] d65c8cfc05b1: Verifying Checksum [2023-03-22T17:36:00.777Z] d65c8cfc05b1: Download complete [2023-03-22T17:36:01.049Z] 699f458cf7ca: Verifying Checksum [2023-03-22T17:36:01.049Z] 699f458cf7ca: Download complete [2023-03-22T17:36:01.641Z] 8998bd30e6a1: Verifying Checksum [2023-03-22T17:36:01.641Z] 8998bd30e6a1: Download complete [2023-03-22T17:36:04.263Z] 2437ff75d9bd: Verifying Checksum [2023-03-22T17:36:04.263Z] 2437ff75d9bd: Download complete [2023-03-22T17:36:06.224Z] 8998bd30e6a1: Pull complete [2023-03-22T17:36:06.814Z] 04944245beec: Pull complete [2023-03-22T17:36:08.246Z] 699f458cf7ca: Pull complete [2023-03-22T17:36:08.246Z] 765212b225bb: Pull complete [2023-03-22T17:36:09.216Z] f23df028b6ca: Pull complete [2023-03-22T17:36:09.488Z] d65c8cfc05b1: Pull complete [2023-03-22T17:36:24.520Z] 2437ff75d9bd: Pull complete [2023-03-22T17:36:24.520Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-22T17:36:24.520Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T17:36:24.520Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:36:24.732Z] prd-ubuntu20.04-docker-arm64-4c-16g-5239 does not seem to be running inside a container [2023-03-22T17:36:24.817Z] $ 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/87 -v /w/workspace/device-modbus-go/87:/w/workspace/device-modbus-go/87:rw,z -v /w/workspace/device-modbus-go/87@tmp:/w/workspace/device-modbus-go/87@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-22T17:36:27.776Z] $ docker top 60297fd8d1edf53240d95edbf477141e370f690f0b09b2d68f80dc776ad22641 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:36:28.665Z] ---> job-cost.sh [2023-03-22T17:36:28.665Z] lf-activate-venv: SKIPPING [2023-03-22T17:36:28.665Z] INFO: No Stack... [2023-03-22T17:36:29.253Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-22T17:36:29.844Z] INFO: Archiving Costs [Pipeline] sh [2023-03-22T17:36:30.494Z] + cut -d, -f6 [2023-03-22T17:36:30.494Z] + cat /w/workspace/device-modbus-go/87/archives/cost.csv [Pipeline] lock [2023-03-22T17:36:30.574Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-87-stack-cost] [2023-03-22T17:36:30.584Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-87-stack-cost] did not exist. Created. [2023-03-22T17:36:30.585Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-87-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-22T17:36:31.264Z] /w/workspace/device-modbus-go/87@tmp/durable-7b78a3ae/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-22T17:36:31.928Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-22T17:36:31.954Z] Warning: overwriting stash ‘stack-cost’ [2023-03-22T17:36:32.011Z] Stashed 1 file(s) [Pipeline] } [2023-03-22T17:36:32.018Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-87-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-22T17:36:32.036Z] $ docker stop --time=1 60297fd8d1edf53240d95edbf477141e370f690f0b09b2d68f80dc776ad22641 [2023-03-22T17:36:33.611Z] $ docker rm -f --volumes 60297fd8d1edf53240d95edbf477141e370f690f0b09b2d68f80dc776ad22641 [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-22T17:36:34.013Z] provisioning config files... [2023-03-22T17:36:34.019Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12452990929417633514tmp [Pipeline] { [Pipeline] sh [2023-03-22T17:36:34.305Z] + set +x [2023-03-22T17:36:34.305Z] + curl -s https://codecov.io/bash [2023-03-22T17:36:34.305Z] + bash -s -- [2023-03-22T17:36:34.305Z] [2023-03-22T17:36:34.305Z] _____ _ [2023-03-22T17:36:34.305Z] / ____| | | [2023-03-22T17:36:34.305Z] | | ___ __| | ___ ___ _____ __ [2023-03-22T17:36:34.305Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-22T17:36:34.305Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-22T17:36:34.305Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-22T17:36:34.305Z] Bash-1.0.6 [2023-03-22T17:36:34.305Z] [2023-03-22T17:36:34.305Z] [2023-03-22T17:36:34.305Z] ==> git version 2.25.1 found [2023-03-22T17:36:34.305Z] ==> 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-22T17:36:34.305Z] Release-Date: 2020-01-08 [2023-03-22T17:36:34.305Z] 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-22T17:36:34.305Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-22T17:36:34.305Z] ==> Jenkins CI detected. [2023-03-22T17:36:34.305Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-03-22T17:36:34.305Z] project root: . [2023-03-22T17:36:34.305Z] --> token set from env [2023-03-22T17:36:34.305Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-22T17:36:34.305Z] ==> Running gcov in . (disable via -X gcov) [2023-03-22T17:36:34.305Z] ==> Python coveragepy not found [2023-03-22T17:36:34.305Z] ==> Searching for coverage reports in: [2023-03-22T17:36:34.305Z] + . [2023-03-22T17:36:34.305Z] -> Found 1 reports [2023-03-22T17:36:34.305Z] ==> Detecting git/mercurial file structure [2023-03-22T17:36:34.305Z] ==> Reading reports [2023-03-22T17:36:34.305Z] + ./coverage.out bytes=23736 [2023-03-22T17:36:34.305Z] ==> Appending adjustments [2023-03-22T17:36:34.305Z] https://docs.codecov.io/docs/fixing-reports [2023-03-22T17:36:34.564Z] + Found adjustments [2023-03-22T17:36:34.564Z] ==> Gzipping contents [2023-03-22T17:36:34.564Z] 4.0K /tmp/codecov.wyqxBB.gz [2023-03-22T17:36:34.564Z] ==> Uploading reports [2023-03-22T17:36:34.564Z] url: https://codecov.io [2023-03-22T17:36:34.564Z] query: branch=main&commit=9bc48e746bb510c782b9593f55beae1b8e3bd068&build=87&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F87%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-22T17:36:34.564Z] -> Pinging Codecov [2023-03-22T17:36:34.564Z] 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=9bc48e746bb510c782b9593f55beae1b8e3bd068&build=87&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F87%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-22T17:36:34.564Z] -> Uploading to [2023-03-22T17:36:34.564Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-22/55DBCA73C666E3227836607328DD7E49/9bc48e746bb510c782b9593f55beae1b8e3bd068/7883969e-de1e-4a18-acb0-f33c1e153418.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230322%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230322T173634Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f570ba0eaf1c53069785e2ec8819e3c683b94c1bf9ef3274b7259e25a85037e4 [2023-03-22T17:36:34.564Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-22T17:36:34.564Z] Dload Upload Total Spent Left Speed [2023-03-22T17:36:34.824Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3911 0 0 100 3911 0 16785 --:--:-- --:--:-- --:--:-- 16785 [2023-03-22T17:36:34.824Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/9bc48e746bb510c782b9593f55beae1b8e3bd068 [Pipeline] } [2023-03-22T17:36:34.831Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-03-22T17:36:34.964Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-03-22T17:36:34.980Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:36:35.283Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-22T17:36:35.283Z] [2023-03-22T17:36:35.283Z] 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-22T17:36:35.587Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-22T17:36:35.587Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-03-22T17:36:35.587Z] df9b9388f04a: Pulling fs layer [2023-03-22T17:36:35.587Z] 52dc419b0ee2: Pulling fs layer [2023-03-22T17:36:35.587Z] 25bc292e5bac: Pulling fs layer [2023-03-22T17:36:35.587Z] 114826534d7a: Pulling fs layer [2023-03-22T17:36:35.587Z] 4657fd5d0bcf: Pulling fs layer [2023-03-22T17:36:35.587Z] 6ad1cebc031e: Pulling fs layer [2023-03-22T17:36:35.587Z] 8a3aa393b2d8: Pulling fs layer [2023-03-22T17:36:35.587Z] 4657fd5d0bcf: Waiting [2023-03-22T17:36:35.587Z] 6ad1cebc031e: Waiting [2023-03-22T17:36:35.587Z] 114826534d7a: Waiting [2023-03-22T17:36:35.587Z] 8a3aa393b2d8: Waiting [2023-03-22T17:36:35.587Z] 25bc292e5bac: Verifying Checksum [2023-03-22T17:36:35.587Z] 25bc292e5bac: Download complete [2023-03-22T17:36:35.587Z] 52dc419b0ee2: Download complete [2023-03-22T17:36:35.587Z] 4657fd5d0bcf: Verifying Checksum [2023-03-22T17:36:35.587Z] 4657fd5d0bcf: Download complete [2023-03-22T17:36:35.587Z] df9b9388f04a: Download complete [2023-03-22T17:36:35.846Z] df9b9388f04a: Pull complete [2023-03-22T17:36:35.846Z] 6ad1cebc031e: Verifying Checksum [2023-03-22T17:36:35.846Z] 6ad1cebc031e: Download complete [2023-03-22T17:36:35.846Z] 52dc419b0ee2: Pull complete [2023-03-22T17:36:35.846Z] 25bc292e5bac: Pull complete [2023-03-22T17:36:36.418Z] 114826534d7a: Download complete [2023-03-22T17:36:36.677Z] 8a3aa393b2d8: Verifying Checksum [2023-03-22T17:36:36.677Z] 8a3aa393b2d8: Download complete [2023-03-22T17:36:39.967Z] 114826534d7a: Pull complete [2023-03-22T17:36:39.967Z] 4657fd5d0bcf: Pull complete [2023-03-22T17:36:39.967Z] 6ad1cebc031e: Pull complete [2023-03-22T17:36:43.248Z] 8a3aa393b2d8: Pull complete [2023-03-22T17:36:43.248Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-03-22T17:36:43.248Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-22T17:36:43.248Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:36:43.325Z] prd-ubuntu20.04-docker-8c-8g-5234 does not seem to be running inside a container [2023-03-22T17:36:43.353Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-03-22T17:36:44.988Z] $ docker top da79c1e1492e720e3c3357802c684a9579b6de3722f071ce3e3b6063ac0a63de -eo pid,comm [Pipeline] { [Pipeline] echo [2023-03-22T17:36:45.059Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-03-22T17:36:45.339Z] + set -o pipefail [2023-03-22T17:36:45.339Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-03-22T17:36:49.532Z] [2023-03-22T17:36:49.532Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-03-22T17:36:49.532Z] [2023-03-22T17:36:49.532Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/1ea7c0f7-cf79-4164-b638-2ff0ea9792f2 [2023-03-22T17:36:49.532Z] [2023-03-22T17:36:49.532Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-03-22T17:36:49.532Z] [2023-03-22T17:36:49.532Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-03-22T17:36:49.532Z] [2023-03-22T17:36:49.532Z] [2023-03-22T17:36:49.532Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-03-22T17:36:49.532Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-03-22T17:36:49.532Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-03-22T17:36:49.541Z] $ docker stop --time=1 da79c1e1492e720e3c3357802c684a9579b6de3722f071ce3e3b6063ac0a63de [2023-03-22T17:36:51.577Z] $ docker rm -f --volumes da79c1e1492e720e3c3357802c684a9579b6de3722f071ce3e3b6063ac0a63de [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-22T17:36:52.244Z] + git log --format=format:%s -1 9bc48e746bb510c782b9593f55beae1b8e3bd068 [Pipeline] sh [2023-03-22T17:36:52.537Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-22T17:36:52.537Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:36:52.833Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T17:36:52.833Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:36:52.901Z] prd-ubuntu20.04-docker-8c-8g-5234 does not seem to be running inside a container [2023-03-22T17:36:52.927Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-22T17:36:53.350Z] $ docker top 0a219bdeeb08aa05ae384567b6aaa8f0ed1dc2260907a6463c168cc539c6328d -eo pid,comm [2023-03-22T17:36:53.405Z] 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-22T17:36:53.405Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-22T17:36:53.440Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T17:36:53.441Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T17:36:53.559Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T17:36:53.557Z] $ docker exec 0a219bdeeb08aa05ae384567b6aaa8f0ed1dc2260907a6463c168cc539c6328d ssh-agent [2023-03-22T17:36:53.662Z] SSH_AUTH_SOCK=/tmp/ssh-2poupbzGnZHc/agent.32 [2023-03-22T17:36:53.662Z] SSH_AGENT_PID=38 [2023-03-22T17:36:53.666Z] Running ssh-add (command line suppressed) [2023-03-22T17:36:53.759Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16197711179377177729.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16197711179377177729.key) [2023-03-22T17:36:53.776Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T17:36:54.060Z] + git semver tag [2023-03-22T17:36:54.318Z] 2023-03-22 17:36:54,234 [run_tag] DEBUG tag force:False [2023-03-22T17:36:54.319Z] 2023-03-22 17:36:54,234 [check_head_tag] DEBUG check head tag [2023-03-22T17:36:54.319Z] 2023-03-22 17:36:54,235 [execute] INFO git cat-file --batch-check [2023-03-22T17:36:54.319Z] 2023-03-22 17:36:54,235 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-03-22T17:36:54.319Z] 2023-03-22 17:36:54,238 [execute] INFO git cat-file --batch [2023-03-22T17:36:54.319Z] 2023-03-22 17:36:54,239 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-03-22T17:36:54.319Z] 2023-03-22 17:36:54,257 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-22T17:36:54.319Z] 2023-03-22 17:36:54,258 [execute] INFO git tag -a v3.0.0-dev.21 -m v3.0.0-dev.21 [2023-03-22T17:36:54.319Z] 2023-03-22 17:36:54,258 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.21', '-m', 'v3.0.0-dev.21'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-03-22T17:36:54.319Z] 2023-03-22 17:36:54,261 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-22T17:36:54.319Z] 3.0.0-dev.21 [Pipeline] } [2023-03-22T17:36:54.324Z] $ docker exec --env ******** --env ******** 0a219bdeeb08aa05ae384567b6aaa8f0ed1dc2260907a6463c168cc539c6328d ssh-agent -k [2023-03-22T17:36:54.422Z] unset SSH_AUTH_SOCK; [2023-03-22T17:36:54.423Z] unset SSH_AGENT_PID; [2023-03-22T17:36:54.423Z] echo Agent pid 38 killed; [2023-03-22T17:36:54.435Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-22T17:36:54.744Z] + git semver [Pipeline] } [2023-03-22T17:36:55.011Z] $ docker stop --time=1 0a219bdeeb08aa05ae384567b6aaa8f0ed1dc2260907a6463c168cc539c6328d [2023-03-22T17:36:56.326Z] $ docker rm -f --volumes 0a219bdeeb08aa05ae384567b6aaa8f0ed1dc2260907a6463c168cc539c6328d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:36:56.713Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-22T17:36:56.713Z] [2023-03-22T17:36:56.713Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:36:57.015Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-22T17:36:57.015Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-03-22T17:36:57.015Z] ab5ef0e58194: Pulling fs layer [2023-03-22T17:36:57.015Z] 9712f1f96733: Pulling fs layer [2023-03-22T17:36:57.015Z] 63f879dbbcfc: Pulling fs layer [2023-03-22T17:36:57.015Z] 0d9ebad4ef96: Pulling fs layer [2023-03-22T17:36:57.015Z] e9a5061849ea: Pulling fs layer [2023-03-22T17:36:57.015Z] d747dcd14b5f: Pulling fs layer [2023-03-22T17:36:57.015Z] 2de7ff778b66: Pulling fs layer [2023-03-22T17:36:57.015Z] e9a5061849ea: Waiting [2023-03-22T17:36:57.015Z] d747dcd14b5f: Waiting [2023-03-22T17:36:57.015Z] 2de7ff778b66: Waiting [2023-03-22T17:36:57.015Z] 9712f1f96733: Verifying Checksum [2023-03-22T17:36:57.015Z] 9712f1f96733: Download complete [2023-03-22T17:36:57.604Z] 63f879dbbcfc: Verifying Checksum [2023-03-22T17:36:57.604Z] 63f879dbbcfc: Download complete [2023-03-22T17:36:57.865Z] e9a5061849ea: Verifying Checksum [2023-03-22T17:36:57.865Z] e9a5061849ea: Download complete [2023-03-22T17:36:57.865Z] 0d9ebad4ef96: Verifying Checksum [2023-03-22T17:36:57.865Z] 0d9ebad4ef96: Download complete [2023-03-22T17:36:57.865Z] d747dcd14b5f: Verifying Checksum [2023-03-22T17:36:57.865Z] d747dcd14b5f: Download complete [2023-03-22T17:36:57.865Z] ab5ef0e58194: Verifying Checksum [2023-03-22T17:36:57.865Z] ab5ef0e58194: Download complete [2023-03-22T17:36:57.865Z] 2de7ff778b66: Verifying Checksum [2023-03-22T17:36:57.866Z] 2de7ff778b66: Download complete [2023-03-22T17:37:00.393Z] ab5ef0e58194: Pull complete [2023-03-22T17:37:00.393Z] 9712f1f96733: Pull complete [2023-03-22T17:37:00.959Z] 63f879dbbcfc: Pull complete [2023-03-22T17:37:04.244Z] 0d9ebad4ef96: Pull complete [2023-03-22T17:37:04.244Z] e9a5061849ea: Pull complete [2023-03-22T17:37:04.503Z] d747dcd14b5f: Pull complete [2023-03-22T17:37:05.437Z] 2de7ff778b66: Pull complete [2023-03-22T17:37:05.437Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-03-22T17:37:05.437Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-22T17:37:05.437Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:37:05.519Z] prd-ubuntu20.04-docker-8c-8g-5234 does not seem to be running inside a container [2023-03-22T17:37:05.541Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-03-22T17:37:07.731Z] $ docker top ee2fbf8dde8f906580f716cf08ab9f027ea66ec39a8e89b6f5a5eee6863be60f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-03-22T17:37:07.800Z] provisioning config files... [2023-03-22T17:37:07.806Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15690050591171540456tmp [2023-03-22T17:37:07.816Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8751425799819032804tmp [2023-03-22T17:37:07.825Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8968532157736136993tmp [Pipeline] { [Pipeline] echo [2023-03-22T17:37:07.841Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:37:08.121Z] ---> sigul-configuration.sh [2023-03-22T17:37:08.121Z] gpg: directory `/root/.gnupg' created [2023-03-22T17:37:08.121Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-03-22T17:37:08.121Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-03-22T17:37:08.121Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-03-22T17:37:08.121Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-03-22T17:37:08.121Z] gpg: CAST5 encrypted data [2023-03-22T17:37:08.121Z] gpg: encrypted with 1 passphrase [2023-03-22T17:37:08.121Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-03-22T17:37:08.403Z] + mkdir /home/jenkins [2023-03-22T17:37:08.403Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-03-22T17:37:08.688Z] + 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-22T17:37:08.696Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:37:08.980Z] ---> sigul-install.sh [2023-03-22T17:37:08.980Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-03-22T17:37:09.271Z] + git tag --list [2023-03-22T17:37:09.271Z] 0.7.1 [2023-03-22T17:37:09.271Z] v1.0.0 [2023-03-22T17:37:09.271Z] v1.1.0 [2023-03-22T17:37:09.271Z] v1.1.1 [2023-03-22T17:37:09.271Z] v1.2.2 [2023-03-22T17:37:09.271Z] v1.3.0 [2023-03-22T17:37:09.271Z] v1.3.1 [2023-03-22T17:37:09.271Z] v2.0.0 [2023-03-22T17:37:09.271Z] v2.1.0 [2023-03-22T17:37:09.271Z] v2.1.1 [2023-03-22T17:37:09.271Z] v2.1.1-dev.1 [2023-03-22T17:37:09.271Z] v2.1.1-dev.2 [2023-03-22T17:37:09.271Z] v2.1.1-dev.3 [2023-03-22T17:37:09.271Z] v2.2.0 [2023-03-22T17:37:09.271Z] v2.2.1-dev.1 [2023-03-22T17:37:09.271Z] v2.2.1-dev.2 [2023-03-22T17:37:09.271Z] v2.2.1-dev.3 [2023-03-22T17:37:09.271Z] v2.2.1-dev.4 [2023-03-22T17:37:09.271Z] v2.2.1-dev.5 [2023-03-22T17:37:09.271Z] v2.2.1-dev.6 [2023-03-22T17:37:09.271Z] v2.2.1-dev.7 [2023-03-22T17:37:09.271Z] v2.3.0 [2023-03-22T17:37:09.271Z] v2.3.0-dev.10 [2023-03-22T17:37:09.271Z] v2.3.0-dev.11 [2023-03-22T17:37:09.271Z] v2.3.0-dev.12 [2023-03-22T17:37:09.271Z] v2.3.0-dev.13 [2023-03-22T17:37:09.271Z] v2.3.0-dev.14 [2023-03-22T17:37:09.271Z] v2.3.0-dev.15 [2023-03-22T17:37:09.271Z] v2.3.0-dev.16 [2023-03-22T17:37:09.271Z] v2.3.0-dev.17 [2023-03-22T17:37:09.271Z] v2.3.0-dev.18 [2023-03-22T17:37:09.271Z] v2.3.0-dev.19 [2023-03-22T17:37:09.271Z] v2.3.0-dev.20 [2023-03-22T17:37:09.271Z] v2.3.0-dev.21 [2023-03-22T17:37:09.271Z] v2.3.0-dev.22 [2023-03-22T17:37:09.271Z] v2.3.0-dev.23 [2023-03-22T17:37:09.271Z] v2.3.0-dev.24 [2023-03-22T17:37:09.271Z] v2.3.0-dev.25 [2023-03-22T17:37:09.271Z] v2.3.0-dev.7 [2023-03-22T17:37:09.271Z] v2.3.0-dev.8 [2023-03-22T17:37:09.271Z] v2.3.0-dev.9 [2023-03-22T17:37:09.271Z] v3.0.0-dev.1 [2023-03-22T17:37:09.271Z] v3.0.0-dev.10 [2023-03-22T17:37:09.271Z] v3.0.0-dev.11 [2023-03-22T17:37:09.271Z] v3.0.0-dev.12 [2023-03-22T17:37:09.271Z] v3.0.0-dev.13 [2023-03-22T17:37:09.271Z] v3.0.0-dev.14 [2023-03-22T17:37:09.271Z] v3.0.0-dev.15 [2023-03-22T17:37:09.271Z] v3.0.0-dev.16 [2023-03-22T17:37:09.271Z] v3.0.0-dev.17 [2023-03-22T17:37:09.271Z] v3.0.0-dev.18 [2023-03-22T17:37:09.271Z] v3.0.0-dev.19 [2023-03-22T17:37:09.272Z] v3.0.0-dev.2 [2023-03-22T17:37:09.272Z] v3.0.0-dev.20 [2023-03-22T17:37:09.272Z] v3.0.0-dev.21 [2023-03-22T17:37:09.272Z] v3.0.0-dev.3 [2023-03-22T17:37:09.272Z] v3.0.0-dev.4 [2023-03-22T17:37:09.272Z] v3.0.0-dev.5 [2023-03-22T17:37:09.272Z] v3.0.0-dev.6 [2023-03-22T17:37:09.272Z] v3.0.0-dev.7 [2023-03-22T17:37:09.272Z] v3.0.0-dev.8 [2023-03-22T17:37:09.272Z] v3.0.0-dev.9 [Pipeline] sh [2023-03-22T17:37:09.561Z] + lftools sign git-tag v3.0.0-dev.21 [2023-03-22T17:37:10.132Z] Signing Git tag with Sigul... [2023-03-22T17:37:10.132Z] Signing v3.0.0-dev.21 [Pipeline] echo [2023-03-22T17:37:10.401Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:37:10.686Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-03-22T17:37:10.694Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-03-22T17:37:10.712Z] $ docker stop --time=1 ee2fbf8dde8f906580f716cf08ab9f027ea66ec39a8e89b6f5a5eee6863be60f [2023-03-22T17:37:12.151Z] $ docker rm -f --volumes ee2fbf8dde8f906580f716cf08ab9f027ea66ec39a8e89b6f5a5eee6863be60f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-03-22T17:37:12.589Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-22T17:37:12.589Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:37:12.897Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T17:37:12.897Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:37:12.975Z] prd-ubuntu20.04-docker-8c-8g-5234 does not seem to be running inside a container [2023-03-22T17:37:13.003Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-22T17:37:13.376Z] $ docker top 2b83877aefc33134086070956fdef453d893b94bf5d97c825a3c4d5530d23a6e -eo pid,comm [2023-03-22T17:37:13.426Z] 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-22T17:37:13.426Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-22T17:37:13.471Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T17:37:13.471Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T17:37:13.575Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T17:37:13.573Z] $ docker exec 2b83877aefc33134086070956fdef453d893b94bf5d97c825a3c4d5530d23a6e ssh-agent [2023-03-22T17:37:13.685Z] SSH_AUTH_SOCK=/tmp/ssh-O9skuEBdBnru/agent.33 [2023-03-22T17:37:13.685Z] SSH_AGENT_PID=39 [2023-03-22T17:37:13.690Z] Running ssh-add (command line suppressed) [2023-03-22T17:37:13.779Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_271968931061096267.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_271968931061096267.key) [2023-03-22T17:37:13.796Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T17:37:14.079Z] + git semver bump pre [2023-03-22T17:37:14.337Z] 2023-03-22 17:37:14,254 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-22T17:37:14.337Z] 2023-03-22 17:37:14,254 [bump_version] DEBUG bumping version:3.0.0-dev.21 on axis:pre with prefix:dev [2023-03-22T17:37:14.337Z] 2023-03-22 17:37:14,254 [bump_version] DEBUG bumped version:3.0.0-dev.22 [2023-03-22T17:37:14.337Z] 2023-03-22 17:37:14,254 [write_version] DEBUG write version:3.0.0-dev.22 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-03-22T17:37:14.337Z] 2023-03-22 17:37:14,254 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-22T17:37:14.337Z] 2023-03-22 17:37:14,254 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-22T17:37:14.337Z] 2023-03-22 17:37:14,256 [execute] INFO git cat-file --batch-check [2023-03-22T17:37:14.337Z] 2023-03-22 17:37:14,256 [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-22T17:37:14.337Z] 2023-03-22 17:37:14,261 [execute] INFO git cat-file --batch [2023-03-22T17:37:14.337Z] 2023-03-22 17:37:14,261 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-22T17:37:14.337Z] 2023-03-22 17:37:14,266 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-22T17:37:14.337Z] 3.0.0-dev.22 [Pipeline] } [2023-03-22T17:37:14.341Z] $ docker exec --env ******** --env ******** 2b83877aefc33134086070956fdef453d893b94bf5d97c825a3c4d5530d23a6e ssh-agent -k [2023-03-22T17:37:14.434Z] unset SSH_AUTH_SOCK; [2023-03-22T17:37:14.435Z] unset SSH_AGENT_PID; [2023-03-22T17:37:14.435Z] echo Agent pid 39 killed; [2023-03-22T17:37:14.447Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-22T17:37:14.754Z] + git semver [Pipeline] } [2023-03-22T17:37:15.021Z] $ docker stop --time=1 2b83877aefc33134086070956fdef453d893b94bf5d97c825a3c4d5530d23a6e [2023-03-22T17:37:16.298Z] $ docker rm -f --volumes 2b83877aefc33134086070956fdef453d893b94bf5d97c825a3c4d5530d23a6e [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T17:37:16.643Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-22T17:37:16.643Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:37:16.940Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T17:37:16.940Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:37:17.005Z] prd-ubuntu20.04-docker-8c-8g-5234 does not seem to be running inside a container [2023-03-22T17:37:17.026Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-22T17:37:17.400Z] $ docker top bb8342c5d8310f52fb31f6b0442dd3c35419aa3b1b43e2036bb1c2434a02ed62 -eo pid,comm [2023-03-22T17:37:17.447Z] 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-22T17:37:17.447Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-22T17:37:17.492Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T17:37:17.492Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T17:37:17.597Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T17:37:17.595Z] $ docker exec bb8342c5d8310f52fb31f6b0442dd3c35419aa3b1b43e2036bb1c2434a02ed62 ssh-agent [2023-03-22T17:37:17.711Z] SSH_AUTH_SOCK=/tmp/ssh-ntlgjksiSgT9/agent.32 [2023-03-22T17:37:17.711Z] SSH_AGENT_PID=38 [2023-03-22T17:37:17.716Z] Running ssh-add (command line suppressed) [2023-03-22T17:37:17.811Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4381149940137705850.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4381149940137705850.key) [2023-03-22T17:37:17.826Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T17:37:18.111Z] + git semver push [2023-03-22T17:37:18.371Z] 2023-03-22 17:37:18,287 [run_push] DEBUG push [2023-03-22T17:37:18.371Z] 2023-03-22 17:37:18,287 [execute] INFO git cat-file --batch-check [2023-03-22T17:37:18.371Z] 2023-03-22 17:37:18,287 [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-22T17:37:18.371Z] 2023-03-22 17:37:18,290 [execute] INFO git rev-list 993e7b8939342defd6cf3af86a4781cdfdab5fe6 -- [2023-03-22T17:37:18.371Z] 2023-03-22 17:37:18,290 [execute] DEBUG Popen(['git', 'rev-list', '993e7b8939342defd6cf3af86a4781cdfdab5fe6', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-22T17:37:18.371Z] 2023-03-22 17:37:18,295 [execute] INFO git fetch -v origin [2023-03-22T17:37:18.371Z] 2023-03-22 17:37:18,296 [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-22T17:37:18.941Z] 2023-03-22 17:37:18,760 [run_push] DEBUG no remote changes detected [2023-03-22T17:37:18.941Z] 2023-03-22 17:37:18,760 [execute] INFO git push origin semver [2023-03-22T17:37:18.941Z] 2023-03-22 17:37:18,761 [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-22T17:37:19.880Z] 2023-03-22 17:37:19,549 [run_push] DEBUG push all version tags [2023-03-22T17:37:19.880Z] 2023-03-22 17:37:19,550 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-03-22T17:37:19.880Z] 2023-03-22 17:37:19,550 [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-22T17:37:20.450Z] 2023-03-22 17:37:20,308 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-03-22T17:37:20.450Z] 3.0.0-dev.22 [Pipeline] } [2023-03-22T17:37:20.457Z] $ docker exec --env ******** --env ******** bb8342c5d8310f52fb31f6b0442dd3c35419aa3b1b43e2036bb1c2434a02ed62 ssh-agent -k [2023-03-22T17:37:20.559Z] unset SSH_AUTH_SOCK; [2023-03-22T17:37:20.559Z] unset SSH_AGENT_PID; [2023-03-22T17:37:20.559Z] echo Agent pid 38 killed; [2023-03-22T17:37:20.574Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-22T17:37:20.884Z] + git semver [Pipeline] } [2023-03-22T17:37:21.151Z] $ docker stop --time=1 bb8342c5d8310f52fb31f6b0442dd3c35419aa3b1b43e2036bb1c2434a02ed62 [2023-03-22T17:37:22.438Z] $ docker rm -f --volumes bb8342c5d8310f52fb31f6b0442dd3c35419aa3b1b43e2036bb1c2434a02ed62 [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-22T17:37:22.929Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-03-22T17:37:22.929Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-03-22T17:37:22.929Z] total 16 [2023-03-22T17:37:22.929Z] drwxr-xr-x 3 root root 4096 Mar 22 17:25 . [2023-03-22T17:37:22.929Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 17:37 .. [2023-03-22T17:37:22.929Z] drwxr-xr-x 2 root root 4096 Mar 22 17:25 cost [2023-03-22T17:37:22.929Z] -rw-r--r-- 1 root root 87 Mar 22 17:25 cost.csv [2023-03-22T17:37:22.929Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-03-22T17:37:22.929Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-03-22T17:37:22.929Z] total 16 [2023-03-22T17:37:22.929Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 17:25 . [2023-03-22T17:37:22.929Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 17:37 .. [2023-03-22T17:37:22.929Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 17:25 cost [2023-03-22T17:37:22.929Z] -rw-r--r-- 1 jenkins jenkins 87 Mar 22 17:25 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:37:23.217Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:37:24.073Z] ---> package-listing.sh [2023-03-22T17:37:24.073Z] ++ facter osfamily [2023-03-22T17:37:24.073Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-22T17:37:24.332Z] + OS_FAMILY=debian [2023-03-22T17:37:24.332Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-03-22T17:37:24.332Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-22T17:37:24.332Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-22T17:37:24.332Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-22T17:37:24.332Z] + PACKAGES=/tmp/packages_start.txt [2023-03-22T17:37:24.332Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-03-22T17:37:24.332Z] + PACKAGES=/tmp/packages_end.txt [2023-03-22T17:37:24.332Z] + case "${OS_FAMILY}" in [2023-03-22T17:37:24.332Z] + dpkg -l [2023-03-22T17:37:24.332Z] + grep '^ii' [2023-03-22T17:37:24.332Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-22T17:37:24.332Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-22T17:37:24.332Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-22T17:37:24.332Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-03-22T17:37:24.332Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-03-22T17:37:24.332Z] + 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-22T17:37:24.344Z] 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-22T17:37:24.664Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:37:25.044Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T17:37:25.045Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:37:25.147Z] prd-ubuntu20.04-docker-8c-8g-5234 does not seem to be running inside a container [2023-03-22T17:37:25.173Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-22T17:37:25.454Z] $ docker top ac643156ed2b3b9b5da8fa16f59845d5066293c63ad28d07ad22c90fe6e9cb8d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T17:37:25.804Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-22T17:37:26.089Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-22T17:37:26.373Z] + ls /var/log/sa-host [2023-03-22T17:37:26.373Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T17:37:26.506Z] provisioning config files... [2023-03-22T17:37:26.516Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8068288005992478466tmp [Pipeline] { [Pipeline] echo [2023-03-22T17:37:26.527Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:37:26.809Z] ---> create-netrc.sh [Pipeline] } [2023-03-22T17:37:26.816Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:37:27.142Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-22T17:37:27.149Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:37:27.433Z] ---> sudo-logs.sh [2023-03-22T17:37:27.433Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-22T17:37:27.461Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:37:27.741Z] ---> job-cost.sh [2023-03-22T17:37:27.741Z] lf-activate-venv: SKIPPING [2023-03-22T17:37:27.741Z] DEBUG: total: 0.2199999988079071 [2023-03-22T17:37:27.741Z] INFO: Retrieving Stack Cost... [2023-03-22T17:37:28.001Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-22T17:37:28.568Z] INFO: Archiving Costs [Pipeline] echo [2023-03-22T17:37:28.578Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:37:28.858Z] ---> logs-deploy.sh [2023-03-22T17:37:28.858Z] lf-activate-venv: SKIPPING [2023-03-22T17:37:28.858Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/87 [2023-03-22T17:37:28.858Z] INFO: archiving workspace using pattern(s): [2023-03-22T17:37:29.792Z] Archives upload complete. [2023-03-22T17:37:29.792Z] INFO: archiving logs to Nexus