Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1a68168e1b466f81fb38e733dbe2211c06120b2a 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-ssh13195248061140158283.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh18280592092374384941.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh16547793616039642730.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh6093837632302610587.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-ssh2762688168092801053.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8998 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 1a68168e1b466f81fb38e733dbe2211c06120b2a (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#458)" > 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 1a68168e1b466f81fb38e733dbe2211c06120b2a # timeout=10 > git rev-list --no-walk 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-18T21:27:10.521Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-18T21:27:10.580Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-18T21:27:10.596Z] ========================================================= [2023-04-18T21:27:10.596Z] EdgeX Global Pipelines Version Info [2023-04-18T21:27:10.596Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-18T21:27:11.310Z] ------------------- [2023-04-18T21:27:11.310Z] stable info: [2023-04-18T21:27:11.310Z] ------------------- [2023-04-18T21:27:11.310Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-18T21:27:11.310Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T21:27:11.310Z] Message: update stable to v1.0.248 [2023-04-18T21:27:11.881Z] ------------------- [2023-04-18T21:27:11.881Z] experimental info: [2023-04-18T21:27:11.881Z] ------------------- [2023-04-18T21:27:11.881Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-18T21:27:11.881Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T21:27:11.881Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-18T21:27:12.061Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-04-18T21:27:12.074Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-04-18T21:27:12.084Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-18T21:27:12.095Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-18T21:27:12.109Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-18T21:27:12.124Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-18T21:27:12.141Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-18T21:27:12.150Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-18T21:27:12.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-18T21:27:12.166Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-18T21:27:12.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-18T21:27:12.191Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-04-18T21:27:12.205Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-18T21:27:12.215Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-18T21:27:12.226Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T21:27:12.237Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T21:27:12.248Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T21:27:12.267Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T21:27:12.282Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-18T21:27:12.294Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-18T21:27:12.305Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-18T21:27:12.317Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-18T21:27:12.328Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-18T21:27:12.341Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-18T21:27:12.354Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-18T21:27:12.366Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-18T21:27:12.377Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-18T21:27:12.389Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-04-18T21:27:12.400Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-04-18T21:27:12.414Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-04-18T21:27:12.428Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1a68168e1b466f81fb38e733dbe2211c06120b2a [Pipeline] echo [2023-04-18T21:27:12.438Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1a68168 [Pipeline] echo [2023-04-18T21:27:12.450Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T21:27:12.497Z] provisioning config files... [2023-04-18T21:27:12.509Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16943594014177634744tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T21:27:12.812Z] ---> docker-login.sh [2023-04-18T21:27:12.812Z] nexus3.edgexfoundry.org:10001 [2023-04-18T21:27:13.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T21:27:13.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T21:27:13.333Z] Configure a credential helper to remove this warning. See [2023-04-18T21:27:13.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T21:27:13.333Z] [2023-04-18T21:27:13.333Z] Login Succeeded [2023-04-18T21:27:13.333Z] nexus3.edgexfoundry.org:10002 [2023-04-18T21:27:13.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T21:27:13.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T21:27:13.333Z] Configure a credential helper to remove this warning. See [2023-04-18T21:27:13.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T21:27:13.333Z] [2023-04-18T21:27:13.333Z] Login Succeeded [2023-04-18T21:27:13.333Z] nexus3.edgexfoundry.org:10003 [2023-04-18T21:27:13.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T21:27:13.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T21:27:13.333Z] Configure a credential helper to remove this warning. See [2023-04-18T21:27:13.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T21:27:13.333Z] [2023-04-18T21:27:13.333Z] Login Succeeded [2023-04-18T21:27:13.333Z] nexus3.edgexfoundry.org:10004 [2023-04-18T21:27:13.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T21:27:13.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T21:27:13.592Z] Configure a credential helper to remove this warning. See [2023-04-18T21:27:13.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T21:27:13.592Z] [2023-04-18T21:27:13.592Z] Login Succeeded [2023-04-18T21:27:13.592Z] docker.io [2023-04-18T21:27:13.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T21:27:13.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T21:27:13.851Z] Configure a credential helper to remove this warning. See [2023-04-18T21:27:13.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T21:27:13.851Z] [2023-04-18T21:27:13.851Z] Login Succeeded [2023-04-18T21:27:13.851Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T21:27:13.857Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-18T21:27:14.227Z] + git rev-list -1 --merges 1a68168e1b466f81fb38e733dbe2211c06120b2a~1..1a68168e1b466f81fb38e733dbe2211c06120b2a [Pipeline] echo [2023-04-18T21:27:14.278Z] -----------> git rev-list -1 --merges 1a68168e1b466f81fb38e733dbe2211c06120b2a~1..1a68168e1b466f81fb38e733dbe2211c06120b2a 1a68168e1b466f81fb38e733dbe2211c06120b2a [false] [Pipeline] sh [2023-04-18T21:27:14.568Z] + git log --format=format:%s -1 1a68168e1b466f81fb38e733dbe2211c06120b2a [Pipeline] echo [2023-04-18T21:27:14.607Z] ========================================================= [2023-04-18T21:27:14.607Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-18T21:27:14.607Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T21:27:14.921Z] + git log --format=format:%s -1 1a68168e1b466f81fb38e733dbe2211c06120b2a [Pipeline] echo [2023-04-18T21:27:14.931Z] [semverPrep] GIT_COMMIT: 1a68168e1b466f81fb38e733dbe2211c06120b2a, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#458) [Pipeline] echo [2023-04-18T21:27:14.940Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-18T21:27:15.317Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T21:27:15.317Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-18T21:27:15.317Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-18T21:27:15.317Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-18T21:27:15.317Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-18T21:27:15.317Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-18T21:27:15.317Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:27:15.743Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T21:27:15.743Z] [2023-04-18T21:27:15.743Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:27:16.041Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T21:27:16.041Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-18T21:27:16.041Z] b85a868b505f: Pulling fs layer [2023-04-18T21:27:16.041Z] e2be974225ed: Pulling fs layer [2023-04-18T21:27:16.041Z] 339a4e72a1f5: Pulling fs layer [2023-04-18T21:27:16.041Z] 988bab9f4d93: Pulling fs layer [2023-04-18T21:27:16.041Z] 1469e6f7b9e6: Pulling fs layer [2023-04-18T21:27:16.041Z] eaf3925da568: Pulling fs layer [2023-04-18T21:27:16.041Z] bab4dde63d76: Pulling fs layer [2023-04-18T21:27:16.041Z] bde34c3a00c8: Pulling fs layer [2023-04-18T21:27:16.041Z] b352a97aabf1: Pulling fs layer [2023-04-18T21:27:16.041Z] 4872d77fe225: Pulling fs layer [2023-04-18T21:27:16.041Z] 5851b861e8e6: Pulling fs layer [2023-04-18T21:27:16.041Z] 4872d77fe225: Waiting [2023-04-18T21:27:16.041Z] 5851b861e8e6: Waiting [2023-04-18T21:27:16.041Z] 988bab9f4d93: Waiting [2023-04-18T21:27:16.041Z] bab4dde63d76: Waiting [2023-04-18T21:27:16.041Z] bde34c3a00c8: Waiting [2023-04-18T21:27:16.041Z] b352a97aabf1: Waiting [2023-04-18T21:27:16.041Z] 1469e6f7b9e6: Waiting [2023-04-18T21:27:16.041Z] eaf3925da568: Waiting [2023-04-18T21:27:16.041Z] e2be974225ed: Download complete [2023-04-18T21:27:16.041Z] 988bab9f4d93: Download complete [2023-04-18T21:27:16.041Z] 1469e6f7b9e6: Verifying Checksum [2023-04-18T21:27:16.041Z] 1469e6f7b9e6: Download complete [2023-04-18T21:27:16.041Z] eaf3925da568: Verifying Checksum [2023-04-18T21:27:16.041Z] eaf3925da568: Download complete [2023-04-18T21:27:16.041Z] 339a4e72a1f5: Download complete [2023-04-18T21:27:16.041Z] bde34c3a00c8: Download complete [2023-04-18T21:27:16.300Z] b352a97aabf1: Download complete [2023-04-18T21:27:16.300Z] 4872d77fe225: Verifying Checksum [2023-04-18T21:27:16.300Z] 4872d77fe225: Download complete [2023-04-18T21:27:16.300Z] 5851b861e8e6: Verifying Checksum [2023-04-18T21:27:16.300Z] 5851b861e8e6: Download complete [2023-04-18T21:27:16.300Z] b85a868b505f: Verifying Checksum [2023-04-18T21:27:16.300Z] b85a868b505f: Download complete [2023-04-18T21:27:16.564Z] bab4dde63d76: Verifying Checksum [2023-04-18T21:27:16.564Z] bab4dde63d76: Download complete [2023-04-18T21:27:17.501Z] b85a868b505f: Pull complete [2023-04-18T21:27:17.760Z] e2be974225ed: Pull complete [2023-04-18T21:27:18.019Z] 339a4e72a1f5: Pull complete [2023-04-18T21:27:18.279Z] 988bab9f4d93: Pull complete [2023-04-18T21:27:18.538Z] 1469e6f7b9e6: Pull complete [2023-04-18T21:27:18.538Z] eaf3925da568: Pull complete [2023-04-18T21:27:20.447Z] bab4dde63d76: Pull complete [2023-04-18T21:27:20.447Z] bde34c3a00c8: Pull complete [2023-04-18T21:27:20.447Z] b352a97aabf1: Pull complete [2023-04-18T21:27:20.709Z] 4872d77fe225: Pull complete [2023-04-18T21:27:20.709Z] 5851b861e8e6: Pull complete [2023-04-18T21:27:20.709Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-18T21:27:20.709Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T21:27:20.709Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T21:27:20.814Z] prd-ubuntu20.04-docker-8c-8g-8998 does not seem to be running inside a container [2023-04-18T21:27:20.799Z] $ 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-04-18T21:27:23.448Z] $ docker top 2eb866db92f306c2889f3c3131fb1c81901a90b6d3448aabc08d2395fcbe7667 -eo pid,comm [2023-04-18T21:27:23.541Z] 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-04-18T21:27:23.541Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T21:27:23.582Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T21:27:23.582Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T21:27:23.700Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T21:27:23.667Z] $ docker exec 2eb866db92f306c2889f3c3131fb1c81901a90b6d3448aabc08d2395fcbe7667 ssh-agent [2023-04-18T21:27:23.827Z] SSH_AUTH_SOCK=/tmp/ssh-fA6yglCj2MsR/agent.32 [2023-04-18T21:27:23.827Z] SSH_AGENT_PID=38 [2023-04-18T21:27:23.834Z] Running ssh-add (command line suppressed) [2023-04-18T21:27:23.894Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2737591759635090766.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2737591759635090766.key) [2023-04-18T21:27:23.946Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T21:27:24.234Z] + git tag --points-at HEAD [Pipeline] } [2023-04-18T21:27:24.207Z] $ docker exec --env ******** --env ******** 2eb866db92f306c2889f3c3131fb1c81901a90b6d3448aabc08d2395fcbe7667 ssh-agent -k [2023-04-18T21:27:24.304Z] unset SSH_AUTH_SOCK; [2023-04-18T21:27:24.304Z] unset SSH_AGENT_PID; [2023-04-18T21:27:24.304Z] echo Agent pid 38 killed; [2023-04-18T21:27:24.348Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-18T21:27:24.373Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T21:27:24.373Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T21:27:24.493Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T21:27:24.460Z] $ docker exec 2eb866db92f306c2889f3c3131fb1c81901a90b6d3448aabc08d2395fcbe7667 ssh-agent [2023-04-18T21:27:24.602Z] SSH_AUTH_SOCK=/tmp/ssh-rI0sryuZSQvm/agent.69 [2023-04-18T21:27:24.602Z] SSH_AGENT_PID=75 [2023-04-18T21:27:24.607Z] Running ssh-add (command line suppressed) [2023-04-18T21:27:24.675Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_815473220082028314.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_815473220082028314.key) [2023-04-18T21:27:24.726Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T21:27:25.009Z] + git semver init [2023-04-18T21:27:25.271Z] 2023-04-18 21:27:25,146 [run_init] DEBUG init version:0.0.0 force:False [2023-04-18T21:27:25.271Z] 2023-04-18 21:27:25,147 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-04-18T21:27:25.271Z] 2023-04-18 21:27:25,147 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-04-18T21:27:25.271Z] 2023-04-18 21:27:25,147 [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-04-18T21:27:26.211Z] 2023-04-18 21:27:25,939 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-04-18T21:27:26.211Z] 2023-04-18 21:27:25,940 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-04-18T21:27:26.211Z] 2023-04-18 21:27:25,940 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-18T21:27:26.211Z] 2023-04-18 21:27:25,940 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-18T21:27:26.211Z] 3.0.0-dev.29 [Pipeline] } [2023-04-18T21:27:26.190Z] $ docker exec --env ******** --env ******** 2eb866db92f306c2889f3c3131fb1c81901a90b6d3448aabc08d2395fcbe7667 ssh-agent -k [2023-04-18T21:27:26.293Z] unset SSH_AUTH_SOCK; [2023-04-18T21:27:26.293Z] unset SSH_AGENT_PID; [2023-04-18T21:27:26.294Z] echo Agent pid 75 killed; [2023-04-18T21:27:26.336Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T21:27:26.644Z] + git semver [Pipeline] } [2023-04-18T21:27:26.885Z] $ docker stop --time=1 2eb866db92f306c2889f3c3131fb1c81901a90b6d3448aabc08d2395fcbe7667 [2023-04-18T21:27:28.160Z] $ docker rm -f --volumes 2eb866db92f306c2889f3c3131fb1c81901a90b6d3448aabc08d2395fcbe7667 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T21:27:28.526Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-18T21:27:28.724Z] Stashed 1 file(s) [Pipeline] echo [2023-04-18T21:27:28.728Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.29 [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-04-18T21:27:28.873Z] provisioning config files... [2023-04-18T21:27:28.881Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9276720344523613545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T21:27:29.172Z] ---> docker-login.sh [2023-04-18T21:27:29.172Z] nexus3.edgexfoundry.org:10001 [2023-04-18T21:27:29.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T21:27:29.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T21:27:29.172Z] Configure a credential helper to remove this warning. See [2023-04-18T21:27:29.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T21:27:29.172Z] [2023-04-18T21:27:29.172Z] Login Succeeded [2023-04-18T21:27:29.172Z] nexus3.edgexfoundry.org:10002 [2023-04-18T21:27:29.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T21:27:29.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T21:27:29.172Z] Configure a credential helper to remove this warning. See [2023-04-18T21:27:29.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T21:27:29.172Z] [2023-04-18T21:27:29.172Z] Login Succeeded [2023-04-18T21:27:29.172Z] nexus3.edgexfoundry.org:10003 [2023-04-18T21:27:29.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T21:27:29.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T21:27:29.431Z] Configure a credential helper to remove this warning. See [2023-04-18T21:27:29.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T21:27:29.431Z] [2023-04-18T21:27:29.431Z] Login Succeeded [2023-04-18T21:27:29.431Z] nexus3.edgexfoundry.org:10004 [2023-04-18T21:27:29.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T21:27:29.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T21:27:29.431Z] Configure a credential helper to remove this warning. See [2023-04-18T21:27:29.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T21:27:29.431Z] [2023-04-18T21:27:29.431Z] Login Succeeded [2023-04-18T21:27:29.431Z] docker.io [2023-04-18T21:27:29.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T21:27:29.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T21:27:29.690Z] Configure a credential helper to remove this warning. See [2023-04-18T21:27:29.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T21:27:29.690Z] [2023-04-18T21:27:29.690Z] Login Succeeded [2023-04-18T21:27:29.690Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T21:27:29.697Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T21:27:29.749Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T21:27:29.760Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T21:27:29.766Z] ========================================================= [2023-04-18T21:27:29.766Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-18T21:27:29.766Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:27:30.066Z] + 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-04-18T21:27:30.066Z] Sending build context to Docker daemon 6.436MB [2023-04-18T21:27:30.066Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T21:27:30.066Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-18T21:27:30.066Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-18T21:27:30.066Z] 63b65145d645: Pulling fs layer [2023-04-18T21:27:30.066Z] a2d21d5440eb: Pulling fs layer [2023-04-18T21:27:30.066Z] 935e6c44a52c: Pulling fs layer [2023-04-18T21:27:30.066Z] 94cc34f8dd06: Pulling fs layer [2023-04-18T21:27:30.066Z] 30dea6a524f1: Pulling fs layer [2023-04-18T21:27:30.066Z] a2aff8979fd8: Pulling fs layer [2023-04-18T21:27:30.066Z] 6808be2612f2: Pulling fs layer [2023-04-18T21:27:30.067Z] f25807f1079a: Pulling fs layer [2023-04-18T21:27:30.067Z] 94cc34f8dd06: Waiting [2023-04-18T21:27:30.067Z] 6808be2612f2: Waiting [2023-04-18T21:27:30.067Z] f25807f1079a: Waiting [2023-04-18T21:27:30.067Z] 30dea6a524f1: Waiting [2023-04-18T21:27:30.067Z] a2aff8979fd8: Waiting [2023-04-18T21:27:30.067Z] a2d21d5440eb: Download complete [2023-04-18T21:27:30.067Z] 94cc34f8dd06: Verifying Checksum [2023-04-18T21:27:30.067Z] 94cc34f8dd06: Download complete [2023-04-18T21:27:30.325Z] 63b65145d645: Verifying Checksum [2023-04-18T21:27:30.325Z] 63b65145d645: Download complete [2023-04-18T21:27:30.325Z] 30dea6a524f1: Verifying Checksum [2023-04-18T21:27:30.325Z] 30dea6a524f1: Download complete [2023-04-18T21:27:30.325Z] a2aff8979fd8: Verifying Checksum [2023-04-18T21:27:30.325Z] a2aff8979fd8: Download complete [2023-04-18T21:27:30.325Z] 63b65145d645: Pull complete [2023-04-18T21:27:30.585Z] a2d21d5440eb: Pull complete [2023-04-18T21:27:30.585Z] f25807f1079a: Verifying Checksum [2023-04-18T21:27:30.585Z] f25807f1079a: Download complete [2023-04-18T21:27:30.842Z] 935e6c44a52c: Verifying Checksum [2023-04-18T21:27:30.842Z] 935e6c44a52c: Download complete [2023-04-18T21:27:31.100Z] 6808be2612f2: Verifying Checksum [2023-04-18T21:27:31.100Z] 6808be2612f2: Download complete [2023-04-18T21:27:34.404Z] 935e6c44a52c: Pull complete [2023-04-18T21:27:34.404Z] 94cc34f8dd06: Pull complete [2023-04-18T21:27:34.404Z] 30dea6a524f1: Pull complete [2023-04-18T21:27:34.404Z] a2aff8979fd8: Pull complete [2023-04-18T21:27:36.938Z] 6808be2612f2: Pull complete [2023-04-18T21:27:37.196Z] f25807f1079a: Pull complete [2023-04-18T21:27:37.196Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-18T21:27:37.455Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-18T21:27:37.455Z] ---> 3b553350e43f [2023-04-18T21:27:37.455Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-04-18T21:27:41.663Z] ---> Running in 9ee3a4629c61 [2023-04-18T21:27:41.663Z] Removing intermediate container 9ee3a4629c61 [2023-04-18T21:27:41.663Z] ---> fc5add4bc7b1 [2023-04-18T21:27:41.663Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T21:27:41.663Z] ---> Running in c84109ffe58e [2023-04-18T21:27:41.663Z] Removing intermediate container c84109ffe58e [2023-04-18T21:27:41.663Z] ---> 15203165a69a [2023-04-18T21:27:41.663Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-04-18T21:27:41.663Z] ---> Running in a0ed96504383 [2023-04-18T21:27:41.922Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T21:27:41.922Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T21:27:42.180Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-04-18T21:27:42.180Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-04-18T21:27:42.180Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-04-18T21:27:42.180Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-04-18T21:27:42.180Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-04-18T21:27:42.181Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-04-18T21:27:42.181Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-04-18T21:27:42.181Z] (8/8) Installing openssh (9.1_p1-r2) [2023-04-18T21:27:42.181Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T21:27:42.181Z] OK: 270 MiB in 61 packages [2023-04-18T21:27:42.747Z] Removing intermediate container a0ed96504383 [2023-04-18T21:27:42.747Z] ---> 21f0137c8abc [2023-04-18T21:27:42.747Z] Step 6/10 : WORKDIR /device-modbus-go [2023-04-18T21:27:42.747Z] ---> Running in 4f6456e1ef72 [2023-04-18T21:27:42.747Z] Removing intermediate container 4f6456e1ef72 [2023-04-18T21:27:42.747Z] ---> 08a1ae24efe7 [2023-04-18T21:27:42.747Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-18T21:27:43.006Z] ---> f3237df75fc5 [2023-04-18T21:27:43.006Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T21:27:43.006Z] ---> Running in 96e83fb72067 [2023-04-18T21:27:43.829Z] Still waiting to schedule task [2023-04-18T21:27:43.829Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-8996’ is offline [2023-04-18T21:28:15.141Z] Removing intermediate container 96e83fb72067 [2023-04-18T21:28:15.141Z] ---> 708394ae2b5f [2023-04-18T21:28:15.141Z] Step 9/10 : COPY . . [2023-04-18T21:28:15.141Z] ---> 1a1c9c8b37d3 [2023-04-18T21:28:15.141Z] Step 10/10 : RUN ${MAKE} [2023-04-18T21:28:15.141Z] ---> Running in bb708adda5cc [2023-04-18T21:28:15.141Z] noop [2023-04-18T21:28:15.141Z] Removing intermediate container bb708adda5cc [2023-04-18T21:28:15.141Z] ---> 04959cf201b7 [2023-04-18T21:28:15.141Z] Successfully built 04959cf201b7 [2023-04-18T21:28:15.141Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:28:15.466Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T21:28:15.466Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T21:28:15.538Z] prd-ubuntu20.04-docker-8c-8g-8998 does not seem to be running inside a container [2023-04-18T21:28:15.553Z] $ 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-04-18T21:28:15.888Z] $ docker top bcbd331301cf6bef7b5edb3ca979cce8b24967d99049b1dff2f841b35e959e01 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T21:28:16.254Z] + go version [2023-04-18T21:28:16.254Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-18T21:28:16.252Z] $ docker stop --time=1 bcbd331301cf6bef7b5edb3ca979cce8b24967d99049b1dff2f841b35e959e01 [2023-04-18T21:28:17.503Z] $ docker rm -f --volumes bcbd331301cf6bef7b5edb3ca979cce8b24967d99049b1dff2f841b35e959e01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:28:17.889Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T21:28:17.889Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T21:28:17.953Z] prd-ubuntu20.04-docker-8c-8g-8998 does not seem to be running inside a container [2023-04-18T21:28:17.972Z] $ 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-04-18T21:28:18.290Z] $ docker top 06512c54ce9be3cdf0558ab82608753592359a03a9dcdfa291b9af7988be4e1d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T21:28:18.641Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-04-18T21:28:18.937Z] + make test [2023-04-18T21:28:18.937Z] go test ./... -coverprofile=coverage.out [2023-04-18T21:28:24.210Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-04-18T21:28:34.200Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-04-18T21:28:34.200Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.017s coverage: 47.4% of statements [2023-04-18T21:28:42.320Z] go vet ./... [2023-04-18T21:28:44.850Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T21:28:44.850Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T21:28:44.850Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-18T21:28:44.862Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T21:28:44.860Z] $ docker stop --time=1 06512c54ce9be3cdf0558ab82608753592359a03a9dcdfa291b9af7988be4e1d [2023-04-18T21:28:48.036Z] $ docker rm -f --volumes 06512c54ce9be3cdf0558ab82608753592359a03a9dcdfa291b9af7988be4e1d [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T21:28:48.513Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T21:28:48.556Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-18T21:28:49.079Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T21:28:49.359Z] + ls -al . [2023-04-18T21:28:49.359Z] total 180 [2023-04-18T21:28:49.359Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 21:28 . [2023-04-18T21:28:49.359Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 21:27 .. [2023-04-18T21:28:49.359Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 21:27 .dockerignore [2023-04-18T21:28:49.359Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 21:27 .git [2023-04-18T21:28:49.359Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 21:27 .github [2023-04-18T21:28:49.359Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 18 21:27 .gitignore [2023-04-18T21:28:49.359Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 21:27 .golangci.yml [2023-04-18T21:28:49.359Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 21:27 .semver [2023-04-18T21:28:49.359Z] -rw-rw-r-- 1 jenkins jenkins 10132 Apr 18 21:27 Attribution.txt [2023-04-18T21:28:49.359Z] -rw-rw-r-- 1 jenkins jenkins 11576 Apr 18 21:27 CHANGELOG.md [2023-04-18T21:28:49.359Z] -rw-rw-r-- 1 jenkins jenkins 1365 Apr 18 21:27 Dockerfile [2023-04-18T21:28:49.359Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 21:27 GOVERNANCE.md [2023-04-18T21:28:49.359Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 18 21:27 Jenkinsfile [2023-04-18T21:28:49.359Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 21:27 LICENSE [2023-04-18T21:28:49.359Z] -rw-rw-r-- 1 jenkins jenkins 1705 Apr 18 21:27 Makefile [2023-04-18T21:28:49.359Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 18 21:27 OWNERS.md [2023-04-18T21:28:49.359Z] -rw-rw-r-- 1 jenkins jenkins 4045 Apr 18 21:27 README.md [2023-04-18T21:28:49.359Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 18 21:27 VERSION [2023-04-18T21:28:49.359Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 21:27 bin [2023-04-18T21:28:49.360Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 21:27 cmd [2023-04-18T21:28:49.360Z] -rw-r--r-- 1 jenkins jenkins 24160 Apr 18 21:28 coverage.out [2023-04-18T21:28:49.360Z] -rw-rw-r-- 1 jenkins jenkins 3453 Apr 18 21:27 go.mod [2023-04-18T21:28:49.360Z] -rw-rw-r-- 1 jenkins jenkins 31785 Apr 18 21:27 go.sum [2023-04-18T21:28:49.360Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 21:27 internal [2023-04-18T21:28:49.360Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 21:27 simulator [2023-04-18T21:28:49.360Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 21:27 snap [2023-04-18T21:28:49.360Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 18 21:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:28:49.663Z] + 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=1a68168e1b466f81fb38e733dbe2211c06120b2a --label arch=amd64 --label version=3.0.0-dev.29 . [2023-04-18T21:28:49.663Z] Sending build context to Docker daemon 6.461MB [2023-04-18T21:28:49.663Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T21:28:49.663Z] Step 2/22 : FROM ${BASE} AS builder [2023-04-18T21:28:49.663Z] ---> 04959cf201b7 [2023-04-18T21:28:49.663Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-04-18T21:28:49.921Z] ---> Running in d808cefb3a4a [2023-04-18T21:28:49.921Z] Removing intermediate container d808cefb3a4a [2023-04-18T21:28:49.921Z] ---> 45ca7218725e [2023-04-18T21:28:49.921Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T21:28:49.921Z] ---> Running in 2b68bbb9767d [2023-04-18T21:28:49.921Z] Removing intermediate container 2b68bbb9767d [2023-04-18T21:28:49.921Z] ---> 0a8019650ff6 [2023-04-18T21:28:49.921Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-04-18T21:28:49.921Z] ---> Running in d3c095436c51 [2023-04-18T21:28:50.487Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T21:28:50.487Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T21:28:50.749Z] OK: 270 MiB in 61 packages [2023-04-18T21:28:51.008Z] Removing intermediate container d3c095436c51 [2023-04-18T21:28:51.008Z] ---> ed58deaacde8 [2023-04-18T21:28:51.008Z] Step 6/22 : WORKDIR /device-modbus-go [2023-04-18T21:28:51.008Z] ---> Running in 1ff4a5a7d5b6 [2023-04-18T21:28:51.008Z] Removing intermediate container 1ff4a5a7d5b6 [2023-04-18T21:28:51.008Z] ---> 3acf47dd2846 [2023-04-18T21:28:51.008Z] Step 7/22 : COPY go.mod vendor* ./ [2023-04-18T21:28:51.268Z] ---> 9cb5573f4e05 [2023-04-18T21:28:51.268Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T21:28:51.268Z] ---> Running in 6d57b6a020c4 [2023-04-18T21:28:52.215Z] Removing intermediate container 6d57b6a020c4 [2023-04-18T21:28:52.215Z] ---> 0ace10e72a09 [2023-04-18T21:28:52.215Z] Step 9/22 : COPY . . [2023-04-18T21:28:52.475Z] ---> 7e10c7041bb2 [2023-04-18T21:28:52.475Z] Step 10/22 : RUN ${MAKE} [2023-04-18T21:28:52.475Z] ---> Running in b352ef1cb150 [2023-04-18T21:28:52.733Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.29" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-04-18T21:29:13.062Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9001 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-04-18T21:29:13.072Z] Running in /w/workspace/device-modbus-go/95 [Pipeline] { [Pipeline] checkout [2023-04-18T21:29:13.099Z] Selected Git installation does not exist. Using Default [2023-04-18T21:29:13.099Z] The recommended git tool is: NONE [2023-04-18T21:29:14.709Z] Removing intermediate container b352ef1cb150 [2023-04-18T21:29:14.709Z] ---> cafb72751675 [2023-04-18T21:29:14.709Z] Step 11/22 : FROM alpine:3.17 [2023-04-18T21:29:14.709Z] 3.17: Pulling from library/alpine [2023-04-18T21:29:14.709Z] f56be85fc22e: Pulling fs layer [2023-04-18T21:29:14.709Z] f56be85fc22e: Download complete [2023-04-18T21:29:14.709Z] f56be85fc22e: Pull complete [2023-04-18T21:29:14.709Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-18T21:29:14.709Z] Status: Downloaded newer image for alpine:3.17 [2023-04-18T21:29:14.709Z] ---> 9ed4aefc74f6 [2023-04-18T21:29:14.709Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-04-18T21:29:14.709Z] ---> Running in 1aba6e3074b2 [2023-04-18T21:29:14.709Z] Removing intermediate container 1aba6e3074b2 [2023-04-18T21:29:14.709Z] ---> ef5906476d22 [2023-04-18T21:29:14.709Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-04-18T21:29:14.709Z] ---> Running in 83a8692e30e2 [2023-04-18T21:29:14.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T21:29:14.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T21:29:14.709Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-18T21:29:14.709Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T21:29:14.709Z] OK: 7 MiB in 16 packages [2023-04-18T21:29:14.709Z] Removing intermediate container 83a8692e30e2 [2023-04-18T21:29:14.709Z] ---> 2c5f14c09579 [2023-04-18T21:29:14.709Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-04-18T21:29:15.713Z] ---> ae00236d75f7 [2023-04-18T21:29:15.713Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-04-18T21:29:15.713Z] ---> 17c2b6f76d26 [2023-04-18T21:29:15.713Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-04-18T21:29:15.713Z] ---> 8fae2b7cf553 [2023-04-18T21:29:15.713Z] Step 17/22 : EXPOSE 59901 [2023-04-18T21:29:15.713Z] ---> Running in 88ff6cbf7ea7 [2023-04-18T21:29:15.713Z] Removing intermediate container 88ff6cbf7ea7 [2023-04-18T21:29:15.713Z] ---> 6fffba73e0e3 [2023-04-18T21:29:15.713Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-04-18T21:29:15.713Z] ---> Running in f7f4f0482234 [2023-04-18T21:29:15.987Z] Removing intermediate container f7f4f0482234 [2023-04-18T21:29:15.987Z] ---> 74c6d42f1d32 [2023-04-18T21:29:15.987Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-18T21:29:15.987Z] ---> Running in c93d34b0b251 [2023-04-18T21:29:15.987Z] Removing intermediate container c93d34b0b251 [2023-04-18T21:29:15.987Z] ---> 29f433e80cbf [2023-04-18T21:29:15.987Z] Step 20/22 : LABEL arch=amd64 [2023-04-18T21:29:15.987Z] ---> Running in 9edd61ea3836 [2023-04-18T21:29:15.987Z] Removing intermediate container 9edd61ea3836 [2023-04-18T21:29:15.987Z] ---> e927bd5464bc [2023-04-18T21:29:15.987Z] Step 21/22 : LABEL git_sha=1a68168e1b466f81fb38e733dbe2211c06120b2a [2023-04-18T21:29:16.249Z] ---> Running in 8de2ce12fb72 [2023-04-18T21:29:16.249Z] Removing intermediate container 8de2ce12fb72 [2023-04-18T21:29:16.249Z] ---> 6d9ad81a8c50 [2023-04-18T21:29:16.249Z] Step 22/22 : LABEL version=3.0.0-dev.29 [2023-04-18T21:29:16.249Z] ---> Running in 3eb94e742996 [2023-04-18T21:29:16.249Z] Removing intermediate container 3eb94e742996 [2023-04-18T21:29:16.249Z] ---> f3cdc55d3955 [2023-04-18T21:29:16.249Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T21:29:16.249Z] Successfully built f3cdc55d3955 [2023-04-18T21:29:16.249Z] 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-04-18T21:29:16.365Z] provisioning config files... [2023-04-18T21:29:16.373Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12452594426782065033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T21:29:16.669Z] ---> docker-login.sh [2023-04-18T21:29:16.669Z] nexus3.edgexfoundry.org:10001 [2023-04-18T21:29:16.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T21:29:16.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T21:29:16.669Z] Configure a credential helper to remove this warning. See [2023-04-18T21:29:16.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T21:29:16.669Z] [2023-04-18T21:29:16.669Z] Login Succeeded [2023-04-18T21:29:16.669Z] nexus3.edgexfoundry.org:10002 [2023-04-18T21:29:16.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T21:29:16.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T21:29:16.669Z] Configure a credential helper to remove this warning. See [2023-04-18T21:29:16.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T21:29:16.669Z] [2023-04-18T21:29:16.669Z] Login Succeeded [2023-04-18T21:29:16.669Z] nexus3.edgexfoundry.org:10003 [2023-04-18T21:29:16.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T21:29:16.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T21:29:16.929Z] Configure a credential helper to remove this warning. See [2023-04-18T21:29:16.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T21:29:16.929Z] [2023-04-18T21:29:16.929Z] Login Succeeded [2023-04-18T21:29:16.929Z] nexus3.edgexfoundry.org:10004 [2023-04-18T21:29:16.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T21:29:16.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T21:29:16.929Z] Configure a credential helper to remove this warning. See [2023-04-18T21:29:16.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T21:29:16.929Z] [2023-04-18T21:29:16.929Z] Login Succeeded [2023-04-18T21:29:16.929Z] docker.io [2023-04-18T21:29:17.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T21:29:17.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T21:29:17.188Z] Configure a credential helper to remove this warning. See [2023-04-18T21:29:17.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T21:29:17.188Z] [2023-04-18T21:29:17.188Z] Login Succeeded [2023-04-18T21:29:17.188Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T21:29:17.195Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-18T21:29:17.223Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T21:29:17.251Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-04-18T21:29:17.251Z] 1a68168e1b466f81fb38e733dbe2211c06120b2a [2023-04-18T21:29:17.251Z] latest [2023-04-18T21:29:17.251Z] 3.0.0-dev.29 [2023-04-18T21:29:17.251Z] 1a68168e1b466f81fb38e733dbe2211c06120b2a-3.0.0-dev.29 [2023-04-18T21:29:17.251Z] main [2023-04-18T21:29:17.251Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:29:17.573Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1a68168e1b466f81fb38e733dbe2211c06120b2a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:29:17.880Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:1a68168e1b466f81fb38e733dbe2211c06120b2a [2023-04-18T21:29:17.880Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-04-18T21:29:17.880Z] e7900bdc87f0: Preparing [2023-04-18T21:29:17.880Z] bdaa9b7c2544: Preparing [2023-04-18T21:29:17.880Z] a3844e0dcfe1: Preparing [2023-04-18T21:29:17.880Z] 14e2103064c5: Preparing [2023-04-18T21:29:17.880Z] f1417ff83b31: Preparing [2023-04-18T21:29:17.880Z] f1417ff83b31: Layer already exists [2023-04-18T21:29:17.880Z] bdaa9b7c2544: Pushed [2023-04-18T21:29:17.880Z] e7900bdc87f0: Pushed [2023-04-18T21:29:17.880Z] 14e2103064c5: Pushed [2023-04-18T21:29:18.238Z] using credential edgex-jenkins-ssh [2023-04-18T21:29:18.257Z] Cloning the remote Git repository [2023-04-18T21:29:18.288Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-04-18T21:29:18.374Z] > git init /w/workspace/device-modbus-go/95 # timeout=10 [2023-04-18T21:29:18.511Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-04-18T21:29:18.512Z] > git --version # timeout=10 [2023-04-18T21:29:18.540Z] > git --version # 'git version 2.25.1' [2023-04-18T21:29:18.542Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T21:29:18.694Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T21:29:19.994Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-04-18T21:29:20.011Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T21:29:20.787Z] Avoid second fetch [2023-04-18T21:29:20.787Z] Checking out Revision 1a68168e1b466f81fb38e733dbe2211c06120b2a (main) [2023-04-18T21:29:21.194Z] a3844e0dcfe1: Pushed [2023-04-18T21:29:21.194Z] 1a68168e1b466f81fb38e733dbe2211c06120b2a: digest: sha256:75694da6a974809be364e42c80363d2c9243342d8ac10456ee0f529defa0dbb8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:29:21.344Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#458)" [2023-04-18T21:29:21.515Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T21:29:21.817Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-04-18T21:29:21.817Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-04-18T21:29:21.817Z] e7900bdc87f0: Preparing [2023-04-18T21:29:21.817Z] bdaa9b7c2544: Preparing [2023-04-18T21:29:21.817Z] a3844e0dcfe1: Preparing [2023-04-18T21:29:21.817Z] 14e2103064c5: Preparing [2023-04-18T21:29:21.817Z] f1417ff83b31: Preparing [2023-04-18T21:29:21.817Z] e7900bdc87f0: Layer already exists [2023-04-18T21:29:21.817Z] f1417ff83b31: Layer already exists [2023-04-18T21:29:21.817Z] 14e2103064c5: Layer already exists [2023-04-18T21:29:21.817Z] a3844e0dcfe1: Layer already exists [2023-04-18T21:29:21.817Z] bdaa9b7c2544: Layer already exists [2023-04-18T21:29:21.817Z] latest: digest: sha256:75694da6a974809be364e42c80363d2c9243342d8ac10456ee0f529defa0dbb8 size: 1365 [2023-04-18T21:29:20.793Z] > git config core.sparsecheckout # timeout=10 [2023-04-18T21:29:20.864Z] > git checkout -f 1a68168e1b466f81fb38e733dbe2211c06120b2a # timeout=10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:29:22.185Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.29 [Pipeline] } [Pipeline] // withEnv [2023-04-18T21:29:22.204Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-18T21:29:22.204Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T21:29:22.204Z] Dload Upload Total Spent Left Speed [2023-04-18T21:29:22.204Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:29:22.498Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.29 [2023-04-18T21:29:22.498Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-04-18T21:29:22.498Z] e7900bdc87f0: Preparing [2023-04-18T21:29:22.498Z] bdaa9b7c2544: Preparing [2023-04-18T21:29:22.498Z] a3844e0dcfe1: Preparing [2023-04-18T21:29:22.498Z] 14e2103064c5: Preparing [2023-04-18T21:29:22.498Z] f1417ff83b31: Preparing [2023-04-18T21:29:22.498Z] e7900bdc87f0: Layer already exists [2023-04-18T21:29:22.498Z] a3844e0dcfe1: Layer already exists [2023-04-18T21:29:22.498Z] 14e2103064c5: Layer already exists [2023-04-18T21:29:22.498Z] bdaa9b7c2544: Layer already exists [2023-04-18T21:29:22.498Z] f1417ff83b31: Layer already exists [2023-04-18T21:29:22.498Z] 3.0.0-dev.29: digest: sha256:75694da6a974809be364e42c80363d2c9243342d8ac10456ee0f529defa0dbb8 size: 1365 [Pipeline] sh [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:29:22.818Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-18T21:29:22.875Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1a68168e1b466f81fb38e733dbe2211c06120b2a-3.0.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:29:23.150Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-18T21:29:23.150Z] + sudo tee /etc/docker/daemon.new [2023-04-18T21:29:23.150Z] { [2023-04-18T21:29:23.150Z] "registry-mirrors": [ [2023-04-18T21:29:23.150Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-18T21:29:23.150Z] ], [2023-04-18T21:29:23.150Z] "bip": "10.250.0.254/24", [2023-04-18T21:29:23.150Z] "hosts": [ [2023-04-18T21:29:23.150Z] "tcp://0.0.0.0:5555", [2023-04-18T21:29:23.150Z] "unix:///var/run/docker.sock" [2023-04-18T21:29:23.150Z] ], [2023-04-18T21:29:23.150Z] "mtu": 1458, [2023-04-18T21:29:23.150Z] "selinux-enabled": true, [2023-04-18T21:29:23.150Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-18T21:29:23.150Z] } [Pipeline] sh [2023-04-18T21:29:23.192Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:1a68168e1b466f81fb38e733dbe2211c06120b2a-3.0.0-dev.29 [2023-04-18T21:29:23.192Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-04-18T21:29:23.192Z] e7900bdc87f0: Preparing [2023-04-18T21:29:23.192Z] bdaa9b7c2544: Preparing [2023-04-18T21:29:23.192Z] a3844e0dcfe1: Preparing [2023-04-18T21:29:23.192Z] 14e2103064c5: Preparing [2023-04-18T21:29:23.192Z] f1417ff83b31: Preparing [2023-04-18T21:29:23.192Z] 14e2103064c5: Layer already exists [2023-04-18T21:29:23.192Z] bdaa9b7c2544: Layer already exists [2023-04-18T21:29:23.192Z] f1417ff83b31: Layer already exists [2023-04-18T21:29:23.192Z] e7900bdc87f0: Layer already exists [2023-04-18T21:29:23.192Z] a3844e0dcfe1: Layer already exists [2023-04-18T21:29:23.192Z] 1a68168e1b466f81fb38e733dbe2211c06120b2a-3.0.0-dev.29: digest: sha256:75694da6a974809be364e42c80363d2c9243342d8ac10456ee0f529defa0dbb8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:29:23.484Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-18T21:29:23.533Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:29:23.815Z] + sudo service docker restart [2023-04-18T21:29:23.857Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-04-18T21:29:23.857Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-04-18T21:29:23.857Z] e7900bdc87f0: Preparing [2023-04-18T21:29:23.857Z] bdaa9b7c2544: Preparing [2023-04-18T21:29:23.857Z] a3844e0dcfe1: Preparing [2023-04-18T21:29:23.857Z] 14e2103064c5: Preparing [2023-04-18T21:29:23.857Z] f1417ff83b31: Preparing [2023-04-18T21:29:23.857Z] 14e2103064c5: Layer already exists [2023-04-18T21:29:23.857Z] e7900bdc87f0: Layer already exists [2023-04-18T21:29:23.857Z] a3844e0dcfe1: Layer already exists [2023-04-18T21:29:23.857Z] bdaa9b7c2544: Layer already exists [2023-04-18T21:29:23.857Z] f1417ff83b31: Layer already exists [2023-04-18T21:29:23.857Z] main: digest: sha256:75694da6a974809be364e42c80363d2c9243342d8ac10456ee0f529defa0dbb8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-18T21:29:23.908Z] ===================================================== [Pipeline] echo [2023-04-18T21:29:23.914Z] taggedImages: [2023-04-18T21:29:23.914Z] - nexus3.edgexfoundry.org:10004/device-modbus:1a68168e1b466f81fb38e733dbe2211c06120b2a [2023-04-18T21:29:23.914Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-04-18T21:29:23.914Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.29 [2023-04-18T21:29:23.914Z] - nexus3.edgexfoundry.org:10004/device-modbus:1a68168e1b466f81fb38e733dbe2211c06120b2a-3.0.0-dev.29 [2023-04-18T21:29:23.914Z] - 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-04-18T21:29:24.261Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T21:29:24.261Z] [2023-04-18T21:29:24.261Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:29:24.562Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T21:29:24.562Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-18T21:29:24.562Z] 5eb5b503b376: Pulling fs layer [2023-04-18T21:29:24.562Z] 5c69ac0246d0: Pulling fs layer [2023-04-18T21:29:24.562Z] ec43610c2a17: Pulling fs layer [2023-04-18T21:29:24.562Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-18T21:29:24.562Z] 33b1e0a273af: Pulling fs layer [2023-04-18T21:29:24.562Z] 5d3b04190fa2: Pulling fs layer [2023-04-18T21:29:24.562Z] 3a2ae6a8a46f: Waiting [2023-04-18T21:29:24.562Z] 5d3b04190fa2: Waiting [2023-04-18T21:29:24.562Z] 2f39f015ded8: Pulling fs layer [2023-04-18T21:29:24.562Z] 2f39f015ded8: Waiting [2023-04-18T21:29:24.562Z] 5c69ac0246d0: Download complete [2023-04-18T21:29:24.562Z] 3a2ae6a8a46f: Download complete [2023-04-18T21:29:24.562Z] ec43610c2a17: Verifying Checksum [2023-04-18T21:29:24.562Z] ec43610c2a17: Download complete [2023-04-18T21:29:24.562Z] 33b1e0a273af: Verifying Checksum [2023-04-18T21:29:24.562Z] 33b1e0a273af: Download complete [2023-04-18T21:29:24.562Z] 5d3b04190fa2: Verifying Checksum [2023-04-18T21:29:24.562Z] 5d3b04190fa2: Download complete [2023-04-18T21:29:24.821Z] 5eb5b503b376: Verifying Checksum [2023-04-18T21:29:24.821Z] 5eb5b503b376: Download complete [2023-04-18T21:29:25.391Z] 2f39f015ded8: Verifying Checksum [2023-04-18T21:29:25.391Z] 2f39f015ded8: Download complete [2023-04-18T21:29:26.323Z] 5eb5b503b376: Pull complete [2023-04-18T21:29:26.323Z] 5c69ac0246d0: Pull complete [2023-04-18T21:29:26.891Z] ec43610c2a17: Pull complete [2023-04-18T21:29:26.891Z] 3a2ae6a8a46f: Pull complete [2023-04-18T21:29:27.148Z] 33b1e0a273af: Pull complete [2023-04-18T21:29:27.148Z] 5d3b04190fa2: Pull complete [2023-04-18T21:29:32.410Z] 2f39f015ded8: Pull complete [2023-04-18T21:29:32.410Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-18T21:29:32.410Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T21:29:32.410Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T21:29:32.501Z] prd-ubuntu20.04-docker-8c-8g-8998 does not seem to be running inside a container [2023-04-18T21:29:32.518Z] $ 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-04-18T21:29:35.727Z] $ docker top c4f3b1e14a5e399f0df38a11910ce75d47a1d78386f00d5cd5357fb5f39dda12 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T21:29:36.133Z] ---> job-cost.sh [2023-04-18T21:29:36.134Z] lf-activate-venv: SKIPPING [2023-04-18T21:29:36.134Z] INFO: No Stack... [2023-04-18T21:29:36.394Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T21:29:36.655Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T21:29:36.948Z] + cut -d, -f6 [2023-04-18T21:29:36.948Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [Pipeline] lock [2023-04-18T21:29:36.961Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-95-stack-cost] [2023-04-18T21:29:36.970Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-95-stack-cost] did not exist. Created. [2023-04-18T21:29:36.970Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-95-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T21:29:37.269Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-18T21:29:37.303Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T21:29:37.310Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-95-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T21:29:37.313Z] $ docker stop --time=1 c4f3b1e14a5e399f0df38a11910ce75d47a1d78386f00d5cd5357fb5f39dda12 [2023-04-18T21:29:38.473Z] $ docker rm -f --volumes c4f3b1e14a5e399f0df38a11910ce75d47a1d78386f00d5cd5357fb5f39dda12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T21:29:42.142Z] provisioning config files... [2023-04-18T21:29:42.268Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/95@tmp/config237549567966271654tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T21:29:42.635Z] ---> docker-login.sh [2023-04-18T21:29:42.635Z] nexus3.edgexfoundry.org:10001 [2023-04-18T21:29:43.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T21:29:43.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T21:29:43.225Z] Configure a credential helper to remove this warning. See [2023-04-18T21:29:43.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T21:29:43.225Z] [2023-04-18T21:29:43.225Z] Login Succeeded [2023-04-18T21:29:43.225Z] nexus3.edgexfoundry.org:10002 [2023-04-18T21:29:43.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T21:29:43.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T21:29:43.495Z] Configure a credential helper to remove this warning. See [2023-04-18T21:29:43.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T21:29:43.495Z] [2023-04-18T21:29:43.495Z] Login Succeeded [2023-04-18T21:29:43.765Z] nexus3.edgexfoundry.org:10003 [2023-04-18T21:29:43.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T21:29:44.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T21:29:44.037Z] Configure a credential helper to remove this warning. See [2023-04-18T21:29:44.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T21:29:44.037Z] [2023-04-18T21:29:44.037Z] Login Succeeded [2023-04-18T21:29:44.037Z] nexus3.edgexfoundry.org:10004 [2023-04-18T21:29:44.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T21:29:44.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T21:29:44.306Z] Configure a credential helper to remove this warning. See [2023-04-18T21:29:44.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T21:29:44.306Z] [2023-04-18T21:29:44.306Z] Login Succeeded [2023-04-18T21:29:44.306Z] docker.io [2023-04-18T21:29:44.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T21:29:44.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T21:29:44.846Z] Configure a credential helper to remove this warning. See [2023-04-18T21:29:44.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T21:29:44.846Z] [2023-04-18T21:29:44.846Z] Login Succeeded [2023-04-18T21:29:44.846Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T21:29:44.861Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T21:29:45.119Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T21:29:45.135Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T21:29:45.148Z] ========================================================= [2023-04-18T21:29:45.148Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-18T21:29:45.148Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:29:45.511Z] + 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-04-18T21:29:45.780Z] Sending build context to Docker daemon 3.357MB [2023-04-18T21:29:45.780Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T21:29:45.780Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-18T21:29:46.055Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-18T21:29:46.055Z] af6eaf76a39c: Pulling fs layer [2023-04-18T21:29:46.055Z] 55522c791124: Pulling fs layer [2023-04-18T21:29:46.055Z] ce5c4a1c91eb: Pulling fs layer [2023-04-18T21:29:46.055Z] 169dfbe0d373: Pulling fs layer [2023-04-18T21:29:46.055Z] e1ff8fa3b103: Pulling fs layer [2023-04-18T21:29:46.055Z] 52ebb69f0ebf: Pulling fs layer [2023-04-18T21:29:46.055Z] 5abe8eddf0d5: Pulling fs layer [2023-04-18T21:29:46.055Z] e1ff8fa3b103: Waiting [2023-04-18T21:29:46.055Z] 52ebb69f0ebf: Waiting [2023-04-18T21:29:46.055Z] 5abe8eddf0d5: Waiting [2023-04-18T21:29:46.055Z] 169dfbe0d373: Waiting [2023-04-18T21:29:46.055Z] 55522c791124: Verifying Checksum [2023-04-18T21:29:46.055Z] 55522c791124: Download complete [2023-04-18T21:29:46.055Z] 169dfbe0d373: Verifying Checksum [2023-04-18T21:29:46.055Z] 169dfbe0d373: Download complete [2023-04-18T21:29:46.055Z] e1ff8fa3b103: Verifying Checksum [2023-04-18T21:29:46.055Z] e1ff8fa3b103: Download complete [2023-04-18T21:29:46.055Z] af6eaf76a39c: Verifying Checksum [2023-04-18T21:29:46.055Z] af6eaf76a39c: Download complete [2023-04-18T21:29:47.021Z] af6eaf76a39c: Pull complete [2023-04-18T21:29:47.295Z] 5abe8eddf0d5: Verifying Checksum [2023-04-18T21:29:47.295Z] 5abe8eddf0d5: Download complete [2023-04-18T21:29:47.569Z] 55522c791124: Pull complete [2023-04-18T21:29:48.532Z] ce5c4a1c91eb: Verifying Checksum [2023-04-18T21:29:48.532Z] ce5c4a1c91eb: Download complete [2023-04-18T21:29:48.532Z] 52ebb69f0ebf: Verifying Checksum [2023-04-18T21:29:48.532Z] 52ebb69f0ebf: Download complete [2023-04-18T21:29:58.703Z] ce5c4a1c91eb: Pull complete [2023-04-18T21:29:58.703Z] 169dfbe0d373: Pull complete [2023-04-18T21:29:58.703Z] e1ff8fa3b103: Pull complete [2023-04-18T21:30:05.370Z] 52ebb69f0ebf: Pull complete [2023-04-18T21:30:07.388Z] 5abe8eddf0d5: Pull complete [2023-04-18T21:30:07.388Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-18T21:30:07.388Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-18T21:30:07.388Z] ---> 6cb57ee374ae [2023-04-18T21:30:07.388Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-04-18T21:30:08.847Z] ---> Running in 50e70169c5a0 [2023-04-18T21:30:09.117Z] Removing intermediate container 50e70169c5a0 [2023-04-18T21:30:09.118Z] ---> 14350c8c174d [2023-04-18T21:30:09.118Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T21:30:09.384Z] ---> Running in 640c3c6aac57 [2023-04-18T21:30:09.652Z] Removing intermediate container 640c3c6aac57 [2023-04-18T21:30:09.652Z] ---> b4d86b17c253 [2023-04-18T21:30:09.652Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-04-18T21:30:09.652Z] ---> Running in 6ea857f21c21 [2023-04-18T21:30:10.616Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T21:30:11.200Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T21:30:12.162Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-04-18T21:30:12.162Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-04-18T21:30:12.162Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-04-18T21:30:12.162Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-04-18T21:30:12.162Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-04-18T21:30:12.162Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-04-18T21:30:12.162Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-04-18T21:30:12.162Z] (8/8) Installing openssh (9.1_p1-r2) [2023-04-18T21:30:12.162Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T21:30:12.162Z] OK: 270 MiB in 61 packages [2023-04-18T21:30:13.569Z] Removing intermediate container 6ea857f21c21 [2023-04-18T21:30:13.569Z] ---> 08577ac54d34 [2023-04-18T21:30:13.569Z] Step 6/10 : WORKDIR /device-modbus-go [2023-04-18T21:30:13.569Z] ---> Running in 0b6f865cae32 [2023-04-18T21:30:13.569Z] Removing intermediate container 0b6f865cae32 [2023-04-18T21:30:13.569Z] ---> 0ff18fd074e6 [2023-04-18T21:30:13.569Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-18T21:30:14.153Z] ---> 44cce8eb4b70 [2023-04-18T21:30:14.153Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T21:30:14.153Z] ---> Running in c5fe3f9e3efa [2023-04-18T21:31:22.469Z] Removing intermediate container c5fe3f9e3efa [2023-04-18T21:31:22.469Z] ---> f8ffc66d8c4c [2023-04-18T21:31:22.469Z] Step 9/10 : COPY . . [2023-04-18T21:31:22.469Z] ---> c5ceb0f13f2e [2023-04-18T21:31:22.469Z] Step 10/10 : RUN ${MAKE} [2023-04-18T21:31:22.469Z] ---> Running in 06ce113ce972 [2023-04-18T21:31:22.469Z] noop [2023-04-18T21:31:22.469Z] Removing intermediate container 06ce113ce972 [2023-04-18T21:31:22.469Z] ---> 2fa2d11d7efe [2023-04-18T21:31:22.469Z] Successfully built 2fa2d11d7efe [2023-04-18T21:31:22.469Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:31:22.826Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T21:31:22.826Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T21:31:23.037Z] prd-ubuntu20.04-docker-arm64-4c-16g-9001 does not seem to be running inside a container [2023-04-18T21:31:23.091Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/95 -v /w/workspace/device-modbus-go/95:/w/workspace/device-modbus-go/95:rw,z -v /w/workspace/device-modbus-go/95@tmp:/w/workspace/device-modbus-go/95@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-04-18T21:31:25.839Z] $ docker top 15b6ddae497a839ab765a18b18690d66b6da7b6fbb6efa8f666a48a16cb0c817 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T21:31:26.871Z] + go version [2023-04-18T21:31:26.871Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-18T21:31:26.876Z] $ docker stop --time=1 15b6ddae497a839ab765a18b18690d66b6da7b6fbb6efa8f666a48a16cb0c817 [2023-04-18T21:31:28.532Z] $ docker rm -f --volumes 15b6ddae497a839ab765a18b18690d66b6da7b6fbb6efa8f666a48a16cb0c817 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:31:29.084Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T21:31:29.084Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T21:31:29.421Z] prd-ubuntu20.04-docker-arm64-4c-16g-9001 does not seem to be running inside a container [2023-04-18T21:31:29.495Z] $ 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/95 -v /w/workspace/device-modbus-go/95:/w/workspace/device-modbus-go/95:rw,z -v /w/workspace/device-modbus-go/95@tmp:/w/workspace/device-modbus-go/95@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-04-18T21:31:31.160Z] $ docker top 4754074b2e9271a1b6d83d7a0cf2bfa6a9553cd555a4631b85769e21c2d8b1fd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T21:31:32.591Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/95 [Pipeline] fileExists [Pipeline] sh [2023-04-18T21:31:33.788Z] + make test [2023-04-18T21:31:33.788Z] go test ./... -coverprofile=coverage.out [2023-04-18T21:32:12.701Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-04-18T21:34:04.462Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-04-18T21:34:04.737Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.068s coverage: 47.4% of statements [2023-04-18T21:34:05.700Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-18T21:34:05.700Z] go vet ./... [2023-04-18T21:34:44.590Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T21:34:44.590Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T21:34:44.590Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-18T21:34:44.612Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T21:34:44.608Z] $ docker stop --time=1 4754074b2e9271a1b6d83d7a0cf2bfa6a9553cd555a4631b85769e21c2d8b1fd [2023-04-18T21:34:46.558Z] $ docker rm -f --volumes 4754074b2e9271a1b6d83d7a0cf2bfa6a9553cd555a4631b85769e21c2d8b1fd [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T21:34:47.755Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T21:34:47.780Z] Warning: overwriting stash ‘coverage-report’ [2023-04-18T21:34:48.341Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T21:34:48.741Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T21:34:49.069Z] + ls -al . [2023-04-18T21:34:49.069Z] total 176 [2023-04-18T21:34:49.069Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 21:31 . [2023-04-18T21:34:49.069Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 21:29 .. [2023-04-18T21:34:49.069Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 21:29 .dockerignore [2023-04-18T21:34:49.069Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 21:29 .git [2023-04-18T21:34:49.069Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 21:29 .github [2023-04-18T21:34:49.069Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 18 21:29 .gitignore [2023-04-18T21:34:49.069Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 21:29 .golangci.yml [2023-04-18T21:34:49.069Z] -rw-rw-r-- 1 jenkins jenkins 10132 Apr 18 21:29 Attribution.txt [2023-04-18T21:34:49.069Z] -rw-rw-r-- 1 jenkins jenkins 11576 Apr 18 21:29 CHANGELOG.md [2023-04-18T21:34:49.069Z] -rw-rw-r-- 1 jenkins jenkins 1365 Apr 18 21:29 Dockerfile [2023-04-18T21:34:49.069Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 21:29 GOVERNANCE.md [2023-04-18T21:34:49.069Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 18 21:29 Jenkinsfile [2023-04-18T21:34:49.069Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 21:29 LICENSE [2023-04-18T21:34:49.069Z] -rw-rw-r-- 1 jenkins jenkins 1705 Apr 18 21:29 Makefile [2023-04-18T21:34:49.069Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 18 21:29 OWNERS.md [2023-04-18T21:34:49.069Z] -rw-rw-r-- 1 jenkins jenkins 4045 Apr 18 21:29 README.md [2023-04-18T21:34:49.069Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 18 21:27 VERSION [2023-04-18T21:34:49.069Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 21:29 bin [2023-04-18T21:34:49.069Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 21:29 cmd [2023-04-18T21:34:49.069Z] -rw-r--r-- 1 jenkins jenkins 24160 Apr 18 21:34 coverage.out [2023-04-18T21:34:49.069Z] -rw-rw-r-- 1 jenkins jenkins 3453 Apr 18 21:29 go.mod [2023-04-18T21:34:49.069Z] -rw-rw-r-- 1 jenkins jenkins 31785 Apr 18 21:29 go.sum [2023-04-18T21:34:49.069Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 21:29 internal [2023-04-18T21:34:49.069Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 21:29 simulator [2023-04-18T21:34:49.069Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 21:29 snap [2023-04-18T21:34:49.069Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 18 21:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:34:49.424Z] + 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=1a68168e1b466f81fb38e733dbe2211c06120b2a --label arch=arm64 --label version=3.0.0-dev.29 . [2023-04-18T21:34:49.701Z] Sending build context to Docker daemon 3.382MB [2023-04-18T21:34:49.701Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T21:34:49.701Z] Step 2/22 : FROM ${BASE} AS builder [2023-04-18T21:34:49.701Z] ---> 2fa2d11d7efe [2023-04-18T21:34:49.701Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-04-18T21:34:49.967Z] ---> Running in 965b258f7a42 [2023-04-18T21:34:50.238Z] Removing intermediate container 965b258f7a42 [2023-04-18T21:34:50.238Z] ---> 87b9cb54e103 [2023-04-18T21:34:50.238Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T21:34:50.238Z] ---> Running in b594315c9349 [2023-04-18T21:34:50.514Z] Removing intermediate container b594315c9349 [2023-04-18T21:34:50.514Z] ---> 348ed9da6ed9 [2023-04-18T21:34:50.514Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-04-18T21:34:50.794Z] ---> Running in 8b4051a84c55 [2023-04-18T21:34:51.762Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T21:34:52.355Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T21:34:53.782Z] OK: 270 MiB in 61 packages [2023-04-18T21:34:54.369Z] Removing intermediate container 8b4051a84c55 [2023-04-18T21:34:54.369Z] ---> a5b90dd031fe [2023-04-18T21:34:54.369Z] Step 6/22 : WORKDIR /device-modbus-go [2023-04-18T21:34:54.640Z] ---> Running in ae30758b0139 [2023-04-18T21:34:54.911Z] Removing intermediate container ae30758b0139 [2023-04-18T21:34:54.911Z] ---> 7a7a2185ba0a [2023-04-18T21:34:54.911Z] Step 7/22 : COPY go.mod vendor* ./ [2023-04-18T21:34:55.508Z] ---> b95bcb261281 [2023-04-18T21:34:55.508Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T21:34:55.508Z] ---> Running in b7724b0af325 [2023-04-18T21:34:58.126Z] Removing intermediate container b7724b0af325 [2023-04-18T21:34:58.126Z] ---> 1f547b51c4a8 [2023-04-18T21:34:58.126Z] Step 9/22 : COPY . . [2023-04-18T21:34:59.096Z] ---> 45c938abef7a [2023-04-18T21:34:59.096Z] Step 10/22 : RUN ${MAKE} [2023-04-18T21:34:59.096Z] ---> Running in 85521e92c76a [2023-04-18T21:35:00.072Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.29" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-04-18T21:37:37.537Z] Removing intermediate container 85521e92c76a [2023-04-18T21:37:37.537Z] ---> cc0911f9fd40 [2023-04-18T21:37:37.537Z] Step 11/22 : FROM alpine:3.17 [2023-04-18T21:37:37.537Z] 3.17: Pulling from library/alpine [2023-04-18T21:37:37.537Z] c41833b44d91: Pulling fs layer [2023-04-18T21:37:37.537Z] c41833b44d91: Verifying Checksum [2023-04-18T21:37:37.537Z] c41833b44d91: Download complete [2023-04-18T21:37:37.537Z] c41833b44d91: Pull complete [2023-04-18T21:37:37.537Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-18T21:37:37.537Z] Status: Downloaded newer image for alpine:3.17 [2023-04-18T21:37:37.537Z] ---> 51e60588ff2c [2023-04-18T21:37:37.537Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-04-18T21:37:37.537Z] ---> Running in af1de8bbb108 [2023-04-18T21:37:37.537Z] Removing intermediate container af1de8bbb108 [2023-04-18T21:37:37.537Z] ---> b94770a9256e [2023-04-18T21:37:37.537Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-04-18T21:37:37.537Z] ---> Running in 4ce1b1573b5a [2023-04-18T21:37:37.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T21:37:37.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T21:37:37.537Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-18T21:37:37.537Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T21:37:37.537Z] OK: 8 MiB in 16 packages [2023-04-18T21:37:37.537Z] Removing intermediate container 4ce1b1573b5a [2023-04-18T21:37:37.537Z] ---> d1609df5def2 [2023-04-18T21:37:37.537Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-04-18T21:37:37.537Z] ---> 1d30ece2ee77 [2023-04-18T21:37:37.537Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-04-18T21:37:37.537Z] ---> b51003058bca [2023-04-18T21:37:37.537Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-04-18T21:37:37.537Z] ---> 71767becb440 [2023-04-18T21:37:37.537Z] Step 17/22 : EXPOSE 59901 [2023-04-18T21:37:37.537Z] ---> Running in 7ec92d7e27f2 [2023-04-18T21:37:37.537Z] Removing intermediate container 7ec92d7e27f2 [2023-04-18T21:37:37.537Z] ---> 2759549a53bb [2023-04-18T21:37:37.537Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-04-18T21:37:37.537Z] ---> Running in 150fd470df40 [2023-04-18T21:37:37.537Z] Removing intermediate container 150fd470df40 [2023-04-18T21:37:37.537Z] ---> 7907bab55f6c [2023-04-18T21:37:37.537Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-18T21:37:37.537Z] ---> Running in 7d2c09849a44 [2023-04-18T21:37:37.537Z] Removing intermediate container 7d2c09849a44 [2023-04-18T21:37:37.537Z] ---> e7d0f9029440 [2023-04-18T21:37:37.537Z] Step 20/22 : LABEL arch=arm64 [2023-04-18T21:37:37.537Z] ---> Running in 936443b2fb54 [2023-04-18T21:37:37.537Z] Removing intermediate container 936443b2fb54 [2023-04-18T21:37:37.537Z] ---> 0a66f0c414b0 [2023-04-18T21:37:37.537Z] Step 21/22 : LABEL git_sha=1a68168e1b466f81fb38e733dbe2211c06120b2a [2023-04-18T21:37:37.537Z] ---> Running in a6d8b7a23318 [2023-04-18T21:37:37.537Z] Removing intermediate container a6d8b7a23318 [2023-04-18T21:37:37.537Z] ---> c86a79fd48ef [2023-04-18T21:37:37.537Z] Step 22/22 : LABEL version=3.0.0-dev.29 [2023-04-18T21:37:37.537Z] ---> Running in e1cb7bcb15b8 [2023-04-18T21:37:37.537Z] Removing intermediate container e1cb7bcb15b8 [2023-04-18T21:37:37.537Z] ---> 9a152713594b [2023-04-18T21:37:37.537Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T21:37:37.537Z] Successfully built 9a152713594b [2023-04-18T21:37:37.537Z] 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-04-18T21:37:37.650Z] provisioning config files... [2023-04-18T21:37:37.664Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/95@tmp/config7870880847128097070tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T21:37:38.001Z] ---> docker-login.sh [2023-04-18T21:37:38.001Z] nexus3.edgexfoundry.org:10001 [2023-04-18T21:37:38.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T21:37:38.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T21:37:38.269Z] Configure a credential helper to remove this warning. See [2023-04-18T21:37:38.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T21:37:38.269Z] [2023-04-18T21:37:38.269Z] Login Succeeded [2023-04-18T21:37:38.269Z] nexus3.edgexfoundry.org:10002 [2023-04-18T21:37:38.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T21:37:38.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T21:37:38.802Z] Configure a credential helper to remove this warning. See [2023-04-18T21:37:38.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T21:37:38.802Z] [2023-04-18T21:37:38.802Z] Login Succeeded [2023-04-18T21:37:38.802Z] nexus3.edgexfoundry.org:10003 [2023-04-18T21:37:39.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T21:37:39.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T21:37:39.071Z] Configure a credential helper to remove this warning. See [2023-04-18T21:37:39.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T21:37:39.071Z] [2023-04-18T21:37:39.071Z] Login Succeeded [2023-04-18T21:37:39.071Z] nexus3.edgexfoundry.org:10004 [2023-04-18T21:37:39.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T21:37:39.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T21:37:39.338Z] Configure a credential helper to remove this warning. See [2023-04-18T21:37:39.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T21:37:39.338Z] [2023-04-18T21:37:39.338Z] Login Succeeded [2023-04-18T21:37:39.338Z] docker.io [2023-04-18T21:37:39.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T21:37:39.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T21:37:39.872Z] Configure a credential helper to remove this warning. See [2023-04-18T21:37:39.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T21:37:39.872Z] [2023-04-18T21:37:39.872Z] Login Succeeded [2023-04-18T21:37:39.872Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T21:37:39.886Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-18T21:37:39.910Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T21:37:39.927Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-04-18T21:37:39.927Z] 1a68168e1b466f81fb38e733dbe2211c06120b2a [2023-04-18T21:37:39.927Z] latest [2023-04-18T21:37:39.927Z] 3.0.0-dev.29 [2023-04-18T21:37:39.927Z] 1a68168e1b466f81fb38e733dbe2211c06120b2a-3.0.0-dev.29 [2023-04-18T21:37:39.927Z] main [2023-04-18T21:37:39.927Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:37:40.265Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1a68168e1b466f81fb38e733dbe2211c06120b2a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:37:40.615Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1a68168e1b466f81fb38e733dbe2211c06120b2a [2023-04-18T21:37:40.615Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-04-18T21:37:40.615Z] 405386a1cbe5: Preparing [2023-04-18T21:37:40.615Z] bac8e889c81b: Preparing [2023-04-18T21:37:40.615Z] dbfd37340e0f: Preparing [2023-04-18T21:37:40.615Z] ef0befc48f25: Preparing [2023-04-18T21:37:40.615Z] 26cbea5cba74: Preparing [2023-04-18T21:37:40.615Z] 26cbea5cba74: Layer already exists [2023-04-18T21:37:40.881Z] 405386a1cbe5: Pushed [2023-04-18T21:37:40.881Z] ef0befc48f25: Pushed [2023-04-18T21:37:40.881Z] bac8e889c81b: Pushed [2023-04-18T21:37:46.228Z] dbfd37340e0f: Pushed [2023-04-18T21:37:46.228Z] 1a68168e1b466f81fb38e733dbe2211c06120b2a: digest: sha256:072fe90370c22aab3cca65690d7f1ada7d817bc195f2919ae56362bf7acfc170 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:37:46.602Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:37:46.964Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-04-18T21:37:46.964Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-04-18T21:37:46.964Z] 405386a1cbe5: Preparing [2023-04-18T21:37:46.964Z] bac8e889c81b: Preparing [2023-04-18T21:37:46.964Z] dbfd37340e0f: Preparing [2023-04-18T21:37:46.964Z] ef0befc48f25: Preparing [2023-04-18T21:37:46.964Z] 26cbea5cba74: Preparing [2023-04-18T21:37:46.964Z] 26cbea5cba74: Layer already exists [2023-04-18T21:37:46.964Z] ef0befc48f25: Layer already exists [2023-04-18T21:37:46.964Z] 405386a1cbe5: Layer already exists [2023-04-18T21:37:46.964Z] dbfd37340e0f: Layer already exists [2023-04-18T21:37:46.964Z] bac8e889c81b: Layer already exists [2023-04-18T21:37:47.232Z] latest: digest: sha256:072fe90370c22aab3cca65690d7f1ada7d817bc195f2919ae56362bf7acfc170 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:37:47.602Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:37:47.965Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.29 [2023-04-18T21:37:47.965Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-04-18T21:37:47.965Z] 405386a1cbe5: Preparing [2023-04-18T21:37:47.965Z] bac8e889c81b: Preparing [2023-04-18T21:37:47.965Z] dbfd37340e0f: Preparing [2023-04-18T21:37:47.965Z] ef0befc48f25: Preparing [2023-04-18T21:37:47.965Z] 26cbea5cba74: Preparing [2023-04-18T21:37:47.965Z] dbfd37340e0f: Layer already exists [2023-04-18T21:37:47.965Z] ef0befc48f25: Layer already exists [2023-04-18T21:37:47.965Z] 405386a1cbe5: Layer already exists [2023-04-18T21:37:47.965Z] 26cbea5cba74: Layer already exists [2023-04-18T21:37:47.965Z] bac8e889c81b: Layer already exists [2023-04-18T21:37:48.233Z] 3.0.0-dev.29: digest: sha256:072fe90370c22aab3cca65690d7f1ada7d817bc195f2919ae56362bf7acfc170 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:37:48.595Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1a68168e1b466f81fb38e733dbe2211c06120b2a-3.0.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:37:49.041Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1a68168e1b466f81fb38e733dbe2211c06120b2a-3.0.0-dev.29 [2023-04-18T21:37:49.041Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-04-18T21:37:49.041Z] 405386a1cbe5: Preparing [2023-04-18T21:37:49.041Z] bac8e889c81b: Preparing [2023-04-18T21:37:49.041Z] dbfd37340e0f: Preparing [2023-04-18T21:37:49.041Z] ef0befc48f25: Preparing [2023-04-18T21:37:49.041Z] 26cbea5cba74: Preparing [2023-04-18T21:37:49.041Z] 26cbea5cba74: Layer already exists [2023-04-18T21:37:49.041Z] bac8e889c81b: Layer already exists [2023-04-18T21:37:49.041Z] 405386a1cbe5: Layer already exists [2023-04-18T21:37:49.041Z] ef0befc48f25: Layer already exists [2023-04-18T21:37:49.041Z] dbfd37340e0f: Layer already exists [2023-04-18T21:37:49.041Z] 1a68168e1b466f81fb38e733dbe2211c06120b2a-3.0.0-dev.29: digest: sha256:072fe90370c22aab3cca65690d7f1ada7d817bc195f2919ae56362bf7acfc170 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:37:49.425Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:37:49.801Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-04-18T21:37:49.801Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-04-18T21:37:49.801Z] 405386a1cbe5: Preparing [2023-04-18T21:37:49.801Z] bac8e889c81b: Preparing [2023-04-18T21:37:49.801Z] dbfd37340e0f: Preparing [2023-04-18T21:37:49.801Z] ef0befc48f25: Preparing [2023-04-18T21:37:49.801Z] 26cbea5cba74: Preparing [2023-04-18T21:37:49.801Z] 26cbea5cba74: Layer already exists [2023-04-18T21:37:49.801Z] dbfd37340e0f: Layer already exists [2023-04-18T21:37:49.801Z] 405386a1cbe5: Layer already exists [2023-04-18T21:37:49.801Z] bac8e889c81b: Layer already exists [2023-04-18T21:37:49.801Z] ef0befc48f25: Layer already exists [2023-04-18T21:37:49.801Z] main: digest: sha256:072fe90370c22aab3cca65690d7f1ada7d817bc195f2919ae56362bf7acfc170 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-18T21:37:50.120Z] ===================================================== [Pipeline] echo [2023-04-18T21:37:50.126Z] taggedImages: [2023-04-18T21:37:50.126Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1a68168e1b466f81fb38e733dbe2211c06120b2a [2023-04-18T21:37:50.126Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-04-18T21:37:50.126Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.29 [2023-04-18T21:37:50.126Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1a68168e1b466f81fb38e733dbe2211c06120b2a-3.0.0-dev.29 [2023-04-18T21:37:50.126Z] - 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-04-18T21:37:50.505Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T21:37:50.505Z] [2023-04-18T21:37:50.505Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:37:50.858Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T21:37:50.858Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-18T21:37:50.858Z] 8998bd30e6a1: Pulling fs layer [2023-04-18T21:37:50.858Z] 04944245beec: Pulling fs layer [2023-04-18T21:37:50.858Z] 699f458cf7ca: Pulling fs layer [2023-04-18T21:37:50.858Z] 765212b225bb: Pulling fs layer [2023-04-18T21:37:50.858Z] f23df028b6ca: Pulling fs layer [2023-04-18T21:37:50.858Z] d65c8cfc05b1: Pulling fs layer [2023-04-18T21:37:50.858Z] 2437ff75d9bd: Pulling fs layer [2023-04-18T21:37:50.858Z] 765212b225bb: Waiting [2023-04-18T21:37:50.858Z] f23df028b6ca: Waiting [2023-04-18T21:37:50.858Z] 2437ff75d9bd: Waiting [2023-04-18T21:37:50.858Z] d65c8cfc05b1: Waiting [2023-04-18T21:37:51.136Z] 04944245beec: Verifying Checksum [2023-04-18T21:37:51.136Z] 04944245beec: Download complete [2023-04-18T21:37:51.136Z] 765212b225bb: Verifying Checksum [2023-04-18T21:37:51.136Z] 765212b225bb: Download complete [2023-04-18T21:37:51.136Z] f23df028b6ca: Verifying Checksum [2023-04-18T21:37:51.136Z] f23df028b6ca: Download complete [2023-04-18T21:37:51.136Z] d65c8cfc05b1: Verifying Checksum [2023-04-18T21:37:51.136Z] d65c8cfc05b1: Download complete [2023-04-18T21:37:51.411Z] 699f458cf7ca: Verifying Checksum [2023-04-18T21:37:51.411Z] 699f458cf7ca: Download complete [2023-04-18T21:37:51.682Z] 8998bd30e6a1: Verifying Checksum [2023-04-18T21:37:51.682Z] 8998bd30e6a1: Download complete [2023-04-18T21:37:54.278Z] 2437ff75d9bd: Verifying Checksum [2023-04-18T21:37:55.692Z] 8998bd30e6a1: Pull complete [2023-04-18T21:37:56.275Z] 04944245beec: Pull complete [2023-04-18T21:37:57.695Z] 699f458cf7ca: Pull complete [2023-04-18T21:37:57.696Z] 765212b225bb: Pull complete [2023-04-18T21:37:58.285Z] f23df028b6ca: Pull complete [2023-04-18T21:37:58.554Z] d65c8cfc05b1: Pull complete [2023-04-18T21:38:13.570Z] 2437ff75d9bd: Pull complete [2023-04-18T21:38:13.570Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-18T21:38:13.570Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T21:38:13.570Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T21:38:13.772Z] prd-ubuntu20.04-docker-arm64-4c-16g-9001 does not seem to be running inside a container [2023-04-18T21:38:13.831Z] $ 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/95 -v /w/workspace/device-modbus-go/95:/w/workspace/device-modbus-go/95:rw,z -v /w/workspace/device-modbus-go/95@tmp:/w/workspace/device-modbus-go/95@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-04-18T21:38:16.527Z] $ docker top f21ec6aa080c541967ec59b3ebfd0bed3ee495e3d5c1a24eedc0f43e96022291 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T21:38:17.080Z] ---> job-cost.sh [2023-04-18T21:38:17.350Z] lf-activate-venv: SKIPPING [2023-04-18T21:38:17.350Z] INFO: No Stack... [2023-04-18T21:38:17.937Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-18T21:38:18.521Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T21:38:19.171Z] + cat /w/workspace/device-modbus-go/95/archives/cost.csv [2023-04-18T21:38:19.171Z] + cut -d, -f6 [Pipeline] lock [2023-04-18T21:38:19.243Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-95-stack-cost] [2023-04-18T21:38:19.253Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-95-stack-cost] did not exist. Created. [2023-04-18T21:38:19.253Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-95-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T21:38:19.916Z] /w/workspace/device-modbus-go/95@tmp/durable-6da0f350/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-18T21:38:20.573Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-18T21:38:20.588Z] Warning: overwriting stash ‘stack-cost’ [2023-04-18T21:38:20.646Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T21:38:20.653Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-95-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T21:38:20.659Z] $ docker stop --time=1 f21ec6aa080c541967ec59b3ebfd0bed3ee495e3d5c1a24eedc0f43e96022291 [2023-04-18T21:38:22.188Z] $ docker rm -f --volumes f21ec6aa080c541967ec59b3ebfd0bed3ee495e3d5c1a24eedc0f43e96022291 [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-04-18T21:38:22.635Z] provisioning config files... [2023-04-18T21:38:22.642Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17408903715808680342tmp [Pipeline] { [Pipeline] sh [2023-04-18T21:38:22.932Z] + set +x [2023-04-18T21:38:22.932Z] + curl -s https://codecov.io/bash [2023-04-18T21:38:22.932Z] + bash -s -- [2023-04-18T21:38:22.932Z] [2023-04-18T21:38:22.932Z] _____ _ [2023-04-18T21:38:22.932Z] / ____| | | [2023-04-18T21:38:22.932Z] | | ___ __| | ___ ___ _____ __ [2023-04-18T21:38:22.932Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-18T21:38:22.932Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-18T21:38:22.932Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-18T21:38:22.932Z] Bash-1.0.6 [2023-04-18T21:38:22.932Z] [2023-04-18T21:38:22.932Z] [2023-04-18T21:38:22.932Z] ==> git version 2.25.1 found [2023-04-18T21:38:22.932Z] ==> 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-04-18T21:38:22.932Z] Release-Date: 2020-01-08 [2023-04-18T21:38:22.932Z] 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-04-18T21:38:22.932Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-18T21:38:22.932Z] ==> Jenkins CI detected. [2023-04-18T21:38:22.932Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-04-18T21:38:22.932Z] project root: . [2023-04-18T21:38:22.932Z] --> token set from env [2023-04-18T21:38:22.932Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-18T21:38:22.932Z] ==> Running gcov in . (disable via -X gcov) [2023-04-18T21:38:22.932Z] ==> Python coveragepy not found [2023-04-18T21:38:22.932Z] ==> Searching for coverage reports in: [2023-04-18T21:38:22.932Z] + . [2023-04-18T21:38:22.932Z] -> Found 1 reports [2023-04-18T21:38:22.932Z] ==> Detecting git/mercurial file structure [2023-04-18T21:38:23.192Z] ==> Reading reports [2023-04-18T21:38:23.192Z] + ./coverage.out bytes=24160 [2023-04-18T21:38:23.192Z] ==> Appending adjustments [2023-04-18T21:38:23.192Z] https://docs.codecov.io/docs/fixing-reports [2023-04-18T21:38:23.192Z] + Found adjustments [2023-04-18T21:38:23.192Z] ==> Gzipping contents [2023-04-18T21:38:23.192Z] 4.0K /tmp/codecov.woYVy6.gz [2023-04-18T21:38:23.192Z] ==> Uploading reports [2023-04-18T21:38:23.192Z] url: https://codecov.io [2023-04-18T21:38:23.192Z] query: branch=main&commit=1a68168e1b466f81fb38e733dbe2211c06120b2a&build=95&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F95%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-18T21:38:23.192Z] -> Pinging Codecov [2023-04-18T21:38:23.192Z] 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=1a68168e1b466f81fb38e733dbe2211c06120b2a&build=95&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F95%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-18T21:38:23.450Z] -> Uploading to [2023-04-18T21:38:23.450Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-18/55DBCA73C666E3227836607328DD7E49/1a68168e1b466f81fb38e733dbe2211c06120b2a/1912ada3-93a8-4ede-aa1f-c0da657938b8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T213823Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c6545a0868e039fc4e9db1a49a8640e09bfe7a9cb2655f5d57e72f7f878dea47 [2023-04-18T21:38:23.451Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T21:38:23.451Z] Dload Upload Total Spent Left Speed [2023-04-18T21:38:23.451Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 16987 --:--:-- --:--:-- --:--:-- 16987 [2023-04-18T21:38:23.710Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/1a68168e1b466f81fb38e733dbe2211c06120b2a [Pipeline] } [2023-04-18T21:38:23.717Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-04-18T21:38:23.896Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-04-18T21:38:23.906Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:38:24.209Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-18T21:38:24.209Z] [2023-04-18T21:38:24.209Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:38:24.514Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-18T21:38:24.514Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-04-18T21:38:24.514Z] df9b9388f04a: Pulling fs layer [2023-04-18T21:38:24.514Z] 52dc419b0ee2: Pulling fs layer [2023-04-18T21:38:24.514Z] 25bc292e5bac: Pulling fs layer [2023-04-18T21:38:24.514Z] 114826534d7a: Pulling fs layer [2023-04-18T21:38:24.514Z] 4657fd5d0bcf: Pulling fs layer [2023-04-18T21:38:24.514Z] 6ad1cebc031e: Pulling fs layer [2023-04-18T21:38:24.514Z] 8a3aa393b2d8: Pulling fs layer [2023-04-18T21:38:24.514Z] 114826534d7a: Waiting [2023-04-18T21:38:24.514Z] 4657fd5d0bcf: Waiting [2023-04-18T21:38:24.514Z] 6ad1cebc031e: Waiting [2023-04-18T21:38:24.514Z] 8a3aa393b2d8: Waiting [2023-04-18T21:38:24.514Z] 25bc292e5bac: Verifying Checksum [2023-04-18T21:38:24.514Z] 25bc292e5bac: Download complete [2023-04-18T21:38:24.514Z] 52dc419b0ee2: Verifying Checksum [2023-04-18T21:38:24.514Z] 52dc419b0ee2: Download complete [2023-04-18T21:38:24.514Z] 4657fd5d0bcf: Download complete [2023-04-18T21:38:24.514Z] df9b9388f04a: Download complete [2023-04-18T21:38:24.773Z] 6ad1cebc031e: Verifying Checksum [2023-04-18T21:38:24.773Z] 6ad1cebc031e: Download complete [2023-04-18T21:38:24.773Z] df9b9388f04a: Pull complete [2023-04-18T21:38:24.773Z] 52dc419b0ee2: Pull complete [2023-04-18T21:38:25.032Z] 25bc292e5bac: Pull complete [2023-04-18T21:38:25.290Z] 114826534d7a: Verifying Checksum [2023-04-18T21:38:25.290Z] 114826534d7a: Download complete [2023-04-18T21:38:25.548Z] 8a3aa393b2d8: Verifying Checksum [2023-04-18T21:38:25.548Z] 8a3aa393b2d8: Download complete [2023-04-18T21:38:28.842Z] 114826534d7a: Pull complete [2023-04-18T21:38:28.842Z] 4657fd5d0bcf: Pull complete [2023-04-18T21:38:29.407Z] 6ad1cebc031e: Pull complete [2023-04-18T21:38:31.935Z] 8a3aa393b2d8: Pull complete [2023-04-18T21:38:31.935Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-04-18T21:38:31.935Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-18T21:38:31.935Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T21:38:32.024Z] prd-ubuntu20.04-docker-8c-8g-8998 does not seem to be running inside a container [2023-04-18T21:38:32.050Z] $ 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-04-18T21:38:35.718Z] $ docker top dd42c5ee5d8ec4f4d5167005b9b7f1391efbcdc6156460c42276531b1f1a8063 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-04-18T21:38:35.785Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-04-18T21:38:36.061Z] + set -o pipefail [2023-04-18T21:38:36.061Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-04-18T21:38:40.250Z] [2023-04-18T21:38:40.250Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-04-18T21:38:40.250Z] [2023-04-18T21:38:40.250Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/9a4e7d42-c94d-4344-9d98-85118e94ecbd [2023-04-18T21:38:40.250Z] [2023-04-18T21:38:40.250Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-04-18T21:38:40.250Z] [2023-04-18T21:38:40.250Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-04-18T21:38:40.250Z] [2023-04-18T21:38:40.250Z] [2023-04-18T21:38:40.250Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-04-18T21:38:40.250Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-04-18T21:38:40.250Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-04-18T21:38:40.255Z] $ docker stop --time=1 dd42c5ee5d8ec4f4d5167005b9b7f1391efbcdc6156460c42276531b1f1a8063 [2023-04-18T21:38:43.278Z] $ docker rm -f --volumes dd42c5ee5d8ec4f4d5167005b9b7f1391efbcdc6156460c42276531b1f1a8063 [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-04-18T21:38:43.954Z] + git log --format=format:%s -1 1a68168e1b466f81fb38e733dbe2211c06120b2a [Pipeline] sh [2023-04-18T21:38:44.246Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T21:38:44.246Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:38:44.545Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T21:38:44.546Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T21:38:44.627Z] prd-ubuntu20.04-docker-8c-8g-8998 does not seem to be running inside a container [2023-04-18T21:38:44.650Z] $ 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-04-18T21:38:45.096Z] $ docker top fe5bc83585aac807d4fcfc4ff00201f0face53cefdc3aeae0ad3df144122010c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T21:38:45.250Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T21:38:45.250Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T21:38:45.374Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T21:38:45.370Z] $ docker exec fe5bc83585aac807d4fcfc4ff00201f0face53cefdc3aeae0ad3df144122010c ssh-agent [2023-04-18T21:38:45.495Z] SSH_AUTH_SOCK=/tmp/ssh-Q6ZAYU4VygM0/agent.31 [2023-04-18T21:38:45.495Z] SSH_AGENT_PID=37 [2023-04-18T21:38:45.500Z] Running ssh-add (command line suppressed) [2023-04-18T21:38:45.598Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9293368688696055051.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9293368688696055051.key) [2023-04-18T21:38:45.618Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T21:38:45.907Z] + git semver tag [2023-04-18T21:38:46.166Z] 2023-04-18 21:38:46,076 [run_tag] DEBUG tag force:False [2023-04-18T21:38:46.166Z] 2023-04-18 21:38:46,077 [check_head_tag] DEBUG check head tag [2023-04-18T21:38:46.166Z] 2023-04-18 21:38:46,078 [execute] INFO git cat-file --batch-check [2023-04-18T21:38:46.166Z] 2023-04-18 21:38:46,078 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-04-18T21:38:46.166Z] 2023-04-18 21:38:46,082 [execute] INFO git cat-file --batch [2023-04-18T21:38:46.166Z] 2023-04-18 21:38:46,082 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-04-18T21:38:46.166Z] 2023-04-18 21:38:46,106 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-18T21:38:46.166Z] 2023-04-18 21:38:46,106 [execute] INFO git tag -a v3.0.0-dev.29 -m v3.0.0-dev.29 [2023-04-18T21:38:46.166Z] 2023-04-18 21:38:46,106 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.29', '-m', 'v3.0.0-dev.29'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-04-18T21:38:46.166Z] 2023-04-18 21:38:46,112 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-18T21:38:46.166Z] 3.0.0-dev.29 [Pipeline] } [2023-04-18T21:38:46.170Z] $ docker exec --env ******** --env ******** fe5bc83585aac807d4fcfc4ff00201f0face53cefdc3aeae0ad3df144122010c ssh-agent -k [2023-04-18T21:38:46.287Z] unset SSH_AUTH_SOCK; [2023-04-18T21:38:46.287Z] unset SSH_AGENT_PID; [2023-04-18T21:38:46.288Z] echo Agent pid 37 killed; [2023-04-18T21:38:46.303Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T21:38:46.667Z] + git semver [Pipeline] } [2023-04-18T21:38:46.933Z] $ docker stop --time=1 fe5bc83585aac807d4fcfc4ff00201f0face53cefdc3aeae0ad3df144122010c [2023-04-18T21:38:48.206Z] $ docker rm -f --volumes fe5bc83585aac807d4fcfc4ff00201f0face53cefdc3aeae0ad3df144122010c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:38:48.615Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-18T21:38:48.615Z] [2023-04-18T21:38:48.615Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:38:48.911Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-18T21:38:48.911Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-04-18T21:38:48.911Z] ab5ef0e58194: Pulling fs layer [2023-04-18T21:38:48.911Z] 9712f1f96733: Pulling fs layer [2023-04-18T21:38:48.912Z] 63f879dbbcfc: Pulling fs layer [2023-04-18T21:38:48.912Z] 0d9ebad4ef96: Pulling fs layer [2023-04-18T21:38:48.912Z] e9a5061849ea: Pulling fs layer [2023-04-18T21:38:48.912Z] d747dcd14b5f: Pulling fs layer [2023-04-18T21:38:48.912Z] 2de7ff778b66: Pulling fs layer [2023-04-18T21:38:48.912Z] e9a5061849ea: Waiting [2023-04-18T21:38:48.912Z] 2de7ff778b66: Waiting [2023-04-18T21:38:48.912Z] 0d9ebad4ef96: Waiting [2023-04-18T21:38:48.912Z] 9712f1f96733: Verifying Checksum [2023-04-18T21:38:48.912Z] 9712f1f96733: Download complete [2023-04-18T21:38:49.174Z] 63f879dbbcfc: Verifying Checksum [2023-04-18T21:38:49.174Z] 63f879dbbcfc: Download complete [2023-04-18T21:38:49.432Z] e9a5061849ea: Verifying Checksum [2023-04-18T21:38:49.432Z] e9a5061849ea: Download complete [2023-04-18T21:38:49.432Z] d747dcd14b5f: Verifying Checksum [2023-04-18T21:38:49.432Z] d747dcd14b5f: Download complete [2023-04-18T21:38:49.432Z] 0d9ebad4ef96: Verifying Checksum [2023-04-18T21:38:49.432Z] 0d9ebad4ef96: Download complete [2023-04-18T21:38:49.432Z] ab5ef0e58194: Verifying Checksum [2023-04-18T21:38:49.432Z] ab5ef0e58194: Download complete [2023-04-18T21:38:49.432Z] 2de7ff778b66: Verifying Checksum [2023-04-18T21:38:49.432Z] 2de7ff778b66: Download complete [2023-04-18T21:38:52.721Z] ab5ef0e58194: Pull complete [2023-04-18T21:38:52.721Z] 9712f1f96733: Pull complete [2023-04-18T21:38:53.288Z] 63f879dbbcfc: Pull complete [2023-04-18T21:38:57.480Z] 0d9ebad4ef96: Pull complete [2023-04-18T21:38:57.480Z] e9a5061849ea: Pull complete [2023-04-18T21:38:57.738Z] d747dcd14b5f: Pull complete [2023-04-18T21:38:59.114Z] 2de7ff778b66: Pull complete [2023-04-18T21:38:59.114Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-04-18T21:38:59.114Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-18T21:38:59.114Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T21:38:59.201Z] prd-ubuntu20.04-docker-8c-8g-8998 does not seem to be running inside a container [2023-04-18T21:38:59.226Z] $ 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-04-18T21:39:04.715Z] $ docker top dcda8d2f9b3bab7091fba4c3bacd77d4400990c883a74387d3f43e42631bc467 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-04-18T21:39:04.791Z] provisioning config files... [2023-04-18T21:39:04.797Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10893122657131604735tmp [2023-04-18T21:39:04.807Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7961214892514339467tmp [2023-04-18T21:39:04.817Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3451038627226235615tmp [Pipeline] { [Pipeline] echo [2023-04-18T21:39:04.832Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T21:39:05.114Z] ---> sigul-configuration.sh [2023-04-18T21:39:05.114Z] gpg: directory `/root/.gnupg' created [2023-04-18T21:39:05.114Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-04-18T21:39:05.114Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-04-18T21:39:05.114Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-04-18T21:39:05.114Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-04-18T21:39:05.114Z] gpg: CAST5 encrypted data [2023-04-18T21:39:05.114Z] gpg: encrypted with 1 passphrase [2023-04-18T21:39:05.114Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-04-18T21:39:05.400Z] + mkdir /home/jenkins [2023-04-18T21:39:05.400Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-04-18T21:39:05.687Z] + 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-04-18T21:39:05.695Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T21:39:05.980Z] ---> sigul-install.sh [2023-04-18T21:39:05.980Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-04-18T21:39:06.266Z] + git tag --list [2023-04-18T21:39:06.266Z] 0.7.1 [2023-04-18T21:39:06.266Z] v1.0.0 [2023-04-18T21:39:06.266Z] v1.1.0 [2023-04-18T21:39:06.266Z] v1.1.1 [2023-04-18T21:39:06.266Z] v1.2.2 [2023-04-18T21:39:06.266Z] v1.3.0 [2023-04-18T21:39:06.266Z] v1.3.1 [2023-04-18T21:39:06.266Z] v2.0.0 [2023-04-18T21:39:06.266Z] v2.1.0 [2023-04-18T21:39:06.266Z] v2.1.1 [2023-04-18T21:39:06.266Z] v2.1.1-dev.1 [2023-04-18T21:39:06.266Z] v2.1.1-dev.2 [2023-04-18T21:39:06.266Z] v2.1.1-dev.3 [2023-04-18T21:39:06.266Z] v2.2.0 [2023-04-18T21:39:06.266Z] v2.2.1-dev.1 [2023-04-18T21:39:06.266Z] v2.2.1-dev.2 [2023-04-18T21:39:06.266Z] v2.2.1-dev.3 [2023-04-18T21:39:06.266Z] v2.2.1-dev.4 [2023-04-18T21:39:06.266Z] v2.2.1-dev.5 [2023-04-18T21:39:06.266Z] v2.2.1-dev.6 [2023-04-18T21:39:06.266Z] v2.2.1-dev.7 [2023-04-18T21:39:06.266Z] v2.3.0 [2023-04-18T21:39:06.266Z] v2.3.0-dev.10 [2023-04-18T21:39:06.266Z] v2.3.0-dev.11 [2023-04-18T21:39:06.266Z] v2.3.0-dev.12 [2023-04-18T21:39:06.266Z] v2.3.0-dev.13 [2023-04-18T21:39:06.266Z] v2.3.0-dev.14 [2023-04-18T21:39:06.266Z] v2.3.0-dev.15 [2023-04-18T21:39:06.266Z] v2.3.0-dev.16 [2023-04-18T21:39:06.266Z] v2.3.0-dev.17 [2023-04-18T21:39:06.266Z] v2.3.0-dev.18 [2023-04-18T21:39:06.266Z] v2.3.0-dev.19 [2023-04-18T21:39:06.266Z] v2.3.0-dev.20 [2023-04-18T21:39:06.266Z] v2.3.0-dev.21 [2023-04-18T21:39:06.266Z] v2.3.0-dev.22 [2023-04-18T21:39:06.266Z] v2.3.0-dev.23 [2023-04-18T21:39:06.266Z] v2.3.0-dev.24 [2023-04-18T21:39:06.266Z] v2.3.0-dev.25 [2023-04-18T21:39:06.266Z] v2.3.0-dev.7 [2023-04-18T21:39:06.266Z] v2.3.0-dev.8 [2023-04-18T21:39:06.266Z] v2.3.0-dev.9 [2023-04-18T21:39:06.266Z] v3.0.0-dev.1 [2023-04-18T21:39:06.266Z] v3.0.0-dev.10 [2023-04-18T21:39:06.266Z] v3.0.0-dev.11 [2023-04-18T21:39:06.266Z] v3.0.0-dev.12 [2023-04-18T21:39:06.266Z] v3.0.0-dev.13 [2023-04-18T21:39:06.266Z] v3.0.0-dev.14 [2023-04-18T21:39:06.266Z] v3.0.0-dev.15 [2023-04-18T21:39:06.266Z] v3.0.0-dev.16 [2023-04-18T21:39:06.266Z] v3.0.0-dev.17 [2023-04-18T21:39:06.266Z] v3.0.0-dev.18 [2023-04-18T21:39:06.266Z] v3.0.0-dev.19 [2023-04-18T21:39:06.266Z] v3.0.0-dev.2 [2023-04-18T21:39:06.266Z] v3.0.0-dev.20 [2023-04-18T21:39:06.266Z] v3.0.0-dev.21 [2023-04-18T21:39:06.266Z] v3.0.0-dev.22 [2023-04-18T21:39:06.266Z] v3.0.0-dev.23 [2023-04-18T21:39:06.266Z] v3.0.0-dev.24 [2023-04-18T21:39:06.266Z] v3.0.0-dev.25 [2023-04-18T21:39:06.266Z] v3.0.0-dev.26 [2023-04-18T21:39:06.266Z] v3.0.0-dev.27 [2023-04-18T21:39:06.266Z] v3.0.0-dev.28 [2023-04-18T21:39:06.266Z] v3.0.0-dev.29 [2023-04-18T21:39:06.266Z] v3.0.0-dev.3 [2023-04-18T21:39:06.266Z] v3.0.0-dev.4 [2023-04-18T21:39:06.266Z] v3.0.0-dev.5 [2023-04-18T21:39:06.266Z] v3.0.0-dev.6 [2023-04-18T21:39:06.266Z] v3.0.0-dev.7 [2023-04-18T21:39:06.266Z] v3.0.0-dev.8 [2023-04-18T21:39:06.266Z] v3.0.0-dev.9 [Pipeline] sh [2023-04-18T21:39:06.553Z] + lftools sign git-tag v3.0.0-dev.29 [2023-04-18T21:39:07.121Z] Signing Git tag with Sigul... [2023-04-18T21:39:07.121Z] Signing v3.0.0-dev.29 [Pipeline] echo [2023-04-18T21:39:07.388Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T21:39:07.668Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-04-18T21:39:07.680Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-04-18T21:39:07.692Z] $ docker stop --time=1 dcda8d2f9b3bab7091fba4c3bacd77d4400990c883a74387d3f43e42631bc467 [2023-04-18T21:39:08.991Z] $ docker rm -f --volumes dcda8d2f9b3bab7091fba4c3bacd77d4400990c883a74387d3f43e42631bc467 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-04-18T21:39:09.403Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T21:39:09.403Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:39:09.874Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T21:39:09.874Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T21:39:09.943Z] prd-ubuntu20.04-docker-8c-8g-8998 does not seem to be running inside a container [2023-04-18T21:39:09.970Z] $ 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-04-18T21:39:10.334Z] $ docker top 463c78ade38691424c714247c83d766a977452d491c241f205274feb22a9c9fa -eo pid,comm [2023-04-18T21:39:10.392Z] 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-04-18T21:39:10.392Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T21:39:10.433Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T21:39:10.433Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T21:39:10.551Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T21:39:10.547Z] $ docker exec 463c78ade38691424c714247c83d766a977452d491c241f205274feb22a9c9fa ssh-agent [2023-04-18T21:39:10.667Z] SSH_AUTH_SOCK=/tmp/ssh-fBPNMqWRI6O3/agent.33 [2023-04-18T21:39:10.667Z] SSH_AGENT_PID=39 [2023-04-18T21:39:10.672Z] Running ssh-add (command line suppressed) [2023-04-18T21:39:10.766Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6585027816001152177.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6585027816001152177.key) [2023-04-18T21:39:10.787Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T21:39:11.074Z] + git semver bump pre [2023-04-18T21:39:11.334Z] 2023-04-18 21:39:11,247 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-18T21:39:11.334Z] 2023-04-18 21:39:11,247 [bump_version] DEBUG bumping version:3.0.0-dev.29 on axis:pre with prefix:dev [2023-04-18T21:39:11.334Z] 2023-04-18 21:39:11,247 [bump_version] DEBUG bumped version:3.0.0-dev.30 [2023-04-18T21:39:11.334Z] 2023-04-18 21:39:11,247 [write_version] DEBUG write version:3.0.0-dev.30 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-04-18T21:39:11.334Z] 2023-04-18 21:39:11,247 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-18T21:39:11.334Z] 2023-04-18 21:39:11,247 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-18T21:39:11.334Z] 2023-04-18 21:39:11,249 [execute] INFO git cat-file --batch-check [2023-04-18T21:39:11.334Z] 2023-04-18 21:39:11,249 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T21:39:11.334Z] 2023-04-18 21:39:11,253 [execute] INFO git cat-file --batch [2023-04-18T21:39:11.334Z] 2023-04-18 21:39:11,254 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T21:39:11.334Z] 2023-04-18 21:39:11,260 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-18T21:39:11.334Z] 3.0.0-dev.30 [Pipeline] } [2023-04-18T21:39:11.338Z] $ docker exec --env ******** --env ******** 463c78ade38691424c714247c83d766a977452d491c241f205274feb22a9c9fa ssh-agent -k [2023-04-18T21:39:11.442Z] unset SSH_AUTH_SOCK; [2023-04-18T21:39:11.442Z] unset SSH_AGENT_PID; [2023-04-18T21:39:11.443Z] echo Agent pid 39 killed; [2023-04-18T21:39:11.458Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T21:39:11.757Z] + git semver [Pipeline] } [2023-04-18T21:39:12.022Z] $ docker stop --time=1 463c78ade38691424c714247c83d766a977452d491c241f205274feb22a9c9fa [2023-04-18T21:39:13.305Z] $ docker rm -f --volumes 463c78ade38691424c714247c83d766a977452d491c241f205274feb22a9c9fa [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T21:39:13.646Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T21:39:13.646Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:39:13.944Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T21:39:13.944Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T21:39:14.020Z] prd-ubuntu20.04-docker-8c-8g-8998 does not seem to be running inside a container [2023-04-18T21:39:14.046Z] $ 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-04-18T21:39:14.390Z] $ docker top 086d616b210bc89cffedb34394a7ce8ecae90b95acd86e4a7566aae2ebf79f9a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T21:39:14.490Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T21:39:14.490Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T21:39:14.596Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T21:39:14.593Z] $ docker exec 086d616b210bc89cffedb34394a7ce8ecae90b95acd86e4a7566aae2ebf79f9a ssh-agent [2023-04-18T21:39:14.709Z] SSH_AUTH_SOCK=/tmp/ssh-N7YjA5iUqwPN/agent.32 [2023-04-18T21:39:14.709Z] SSH_AGENT_PID=38 [2023-04-18T21:39:14.713Z] Running ssh-add (command line suppressed) [2023-04-18T21:39:14.815Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10610778236778572187.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10610778236778572187.key) [2023-04-18T21:39:14.834Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T21:39:15.120Z] + git semver push [2023-04-18T21:39:15.378Z] 2023-04-18 21:39:15,298 [run_push] DEBUG push [2023-04-18T21:39:15.378Z] 2023-04-18 21:39:15,299 [execute] INFO git cat-file --batch-check [2023-04-18T21:39:15.378Z] 2023-04-18 21:39:15,299 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T21:39:15.378Z] 2023-04-18 21:39:15,304 [execute] INFO git rev-list 886861a95d05be95b6634d82207d5aa1931046fe -- [2023-04-18T21:39:15.378Z] 2023-04-18 21:39:15,304 [execute] DEBUG Popen(['git', 'rev-list', '886861a95d05be95b6634d82207d5aa1931046fe', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-18T21:39:15.378Z] 2023-04-18 21:39:15,314 [execute] INFO git fetch -v origin [2023-04-18T21:39:15.378Z] 2023-04-18 21:39:15,314 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-04-18T21:39:15.947Z] 2023-04-18 21:39:15,814 [run_push] DEBUG no remote changes detected [2023-04-18T21:39:15.947Z] 2023-04-18 21:39:15,815 [execute] INFO git push origin semver [2023-04-18T21:39:15.947Z] 2023-04-18 21:39:15,816 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-18T21:39:16.883Z] 2023-04-18 21:39:16,551 [run_push] DEBUG push all version tags [2023-04-18T21:39:16.883Z] 2023-04-18 21:39:16,552 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-04-18T21:39:16.883Z] 2023-04-18 21:39:16,553 [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-04-18T21:39:17.452Z] 2023-04-18 21:39:17,265 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-18T21:39:17.452Z] 3.0.0-dev.30 [Pipeline] } [2023-04-18T21:39:17.454Z] $ docker exec --env ******** --env ******** 086d616b210bc89cffedb34394a7ce8ecae90b95acd86e4a7566aae2ebf79f9a ssh-agent -k [2023-04-18T21:39:17.553Z] unset SSH_AUTH_SOCK; [2023-04-18T21:39:17.553Z] unset SSH_AGENT_PID; [2023-04-18T21:39:17.553Z] echo Agent pid 38 killed; [2023-04-18T21:39:17.570Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T21:39:17.880Z] + git semver [Pipeline] } [2023-04-18T21:39:18.146Z] $ docker stop --time=1 086d616b210bc89cffedb34394a7ce8ecae90b95acd86e4a7566aae2ebf79f9a [2023-04-18T21:39:19.421Z] $ docker rm -f --volumes 086d616b210bc89cffedb34394a7ce8ecae90b95acd86e4a7566aae2ebf79f9a [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-04-18T21:39:20.011Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-04-18T21:39:20.011Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-04-18T21:39:20.011Z] total 16 [2023-04-18T21:39:20.011Z] drwxr-xr-x 3 root root 4096 Apr 18 21:29 . [2023-04-18T21:39:20.011Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 21:39 .. [2023-04-18T21:39:20.011Z] drwxr-xr-x 2 root root 4096 Apr 18 21:29 cost [2023-04-18T21:39:20.011Z] -rw-r--r-- 1 root root 87 Apr 18 21:29 cost.csv [2023-04-18T21:39:20.011Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-04-18T21:39:20.012Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-04-18T21:39:20.012Z] total 16 [2023-04-18T21:39:20.012Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 21:29 . [2023-04-18T21:39:20.012Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 21:39 .. [2023-04-18T21:39:20.012Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 21:29 cost [2023-04-18T21:39:20.012Z] -rw-r--r-- 1 jenkins jenkins 87 Apr 18 21:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-18T21:39:20.308Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T21:39:21.541Z] ---> package-listing.sh [2023-04-18T21:39:21.541Z] ++ facter osfamily [2023-04-18T21:39:21.541Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-18T21:39:21.541Z] + OS_FAMILY=debian [2023-04-18T21:39:21.541Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-04-18T21:39:21.541Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-18T21:39:21.541Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-18T21:39:21.541Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-18T21:39:21.541Z] + PACKAGES=/tmp/packages_start.txt [2023-04-18T21:39:21.541Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-04-18T21:39:21.541Z] + PACKAGES=/tmp/packages_end.txt [2023-04-18T21:39:21.541Z] + case "${OS_FAMILY}" in [2023-04-18T21:39:21.541Z] + dpkg -l [2023-04-18T21:39:21.541Z] + grep '^ii' [2023-04-18T21:39:21.541Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-18T21:39:21.541Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-18T21:39:21.541Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-18T21:39:21.541Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-04-18T21:39:21.541Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-04-18T21:39:21.541Z] + 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-04-18T21:39:21.552Z] 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-04-18T21:39:21.968Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T21:39:22.306Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T21:39:22.306Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T21:39:22.376Z] prd-ubuntu20.04-docker-8c-8g-8998 does not seem to be running inside a container [2023-04-18T21:39:22.398Z] $ 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-04-18T21:39:22.633Z] $ docker top d7349667772a3c37f6b2ec569fa64ccb0c6fe0f54e1b9c29933e43d0f424e851 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T21:39:22.981Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-18T21:39:23.264Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-18T21:39:23.549Z] + ls /var/log/sa-host [2023-04-18T21:39:23.549Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T21:39:23.694Z] provisioning config files... [2023-04-18T21:39:23.703Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18139921961983867749tmp [Pipeline] { [Pipeline] echo [2023-04-18T21:39:23.718Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T21:39:23.997Z] ---> create-netrc.sh [Pipeline] } [2023-04-18T21:39:24.004Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-18T21:39:24.335Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-18T21:39:24.344Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T21:39:24.622Z] ---> sudo-logs.sh [2023-04-18T21:39:24.622Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-18T21:39:24.652Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T21:39:24.931Z] ---> job-cost.sh [2023-04-18T21:39:24.931Z] lf-activate-venv: SKIPPING [2023-04-18T21:39:24.931Z] DEBUG: total: 0.2199999988079071 [2023-04-18T21:39:24.931Z] INFO: Retrieving Stack Cost... [2023-04-18T21:39:25.227Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T21:39:25.639Z] INFO: Archiving Costs [Pipeline] echo [2023-04-18T21:39:25.649Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T21:39:25.929Z] ---> logs-deploy.sh [2023-04-18T21:39:25.929Z] lf-activate-venv: SKIPPING [2023-04-18T21:39:25.929Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/95 [2023-04-18T21:39:25.929Z] INFO: archiving workspace using pattern(s): [2023-04-18T21:39:26.865Z] Archives upload complete. [2023-04-18T21:39:27.126Z] INFO: archiving logs to Nexus